diff --git a/features/alphabetSearch/dataTables.alphabetSearch.min.js b/features/alphabetSearch/dataTables.alphabetSearch.min.js index 69ef505..48837fa 100644 --- a/features/alphabetSearch/dataTables.alphabetSearch.min.js +++ b/features/alphabetSearch/dataTables.alphabetSearch.min.js @@ -8,10 +8,14 @@ AlphabetSearch for DataTables v1.0.0 2014 SpryMedia Ltd - datatables.net/license */ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,d,b){a instanceof String&&(a=String(a));for(var c=a.length,e=0;e/g,"").charAt(0).toUpperCase();a[f]?a[f]++:a[f]=1}$('').data("letter","").data("match-count",c.length).html("None").appendTo(b);for(c=0;26>c;c++)f=String.fromCharCode(65+c),$("").data("letter",f).data("match-count",a[f]||0).addClass(a[f]?"":"empty").html(f).appendTo(b);$('
').appendTo(b)} -$.fn.dataTable.Api.register("alphabetSearch()",function(a){this.iterator("table",function(b){b.alphabetSearch=a});return this});$.fn.dataTable.Api.register("alphabetSearch.recalc()",function(d){this.iterator("table",function(b){a(new $.fn.dataTable.Api(b),$("div.alphabet",this.table().container()))});return this});$.fn.dataTable.ext.search.push(function(a,b){return a.alphabetSearch&&b[0].charAt(0)!==a.alphabetSearch?!1:!0});$.fn.dataTable.AlphabetSearch=function(d){var b=new $.fn.dataTable.Api(d), -c=$('
');a(b,c);c.on("click","span",function(){c.find(".active").removeClass("active");$(this).addClass("active");b.alphabetSearch($(this).data("letter")).draw()});c.on("mouseenter","span",function(){c.find("div.alphabetInfo").css({opacity:1,left:$(this).position().left,width:$(this).width()}).html($(this).data("match-count"))}).on("mouseleave","span",function(){c.find("div.alphabetInfo").css("opacity",0)});this.node=function(){return c}};$.fn.DataTable.AlphabetSearch=$.fn.dataTable.AlphabetSearch; -$.fn.dataTable.ext.feature.push({fnInit:function(a){return(new $.fn.dataTable.AlphabetSearch(a)).node()},cFeature:"A"})})(); +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,a,b){c instanceof String&&(c=String(c));for(var e=c.length,d=0;d/g,"").charAt(0):d[g].toString().replace(/<.*?>/g,"").charAt(0).toUpperCase();a[f]?a[f]++:a[f]=1}$('').data("letter","").data("match-count",d.length).html("None").appendTo(b);if(e.numbers)for(d=0;10>d;d++)f=String.fromCharCode(48+d),$("").data("letter",f).data("match-count",a[f]||0).addClass(a[f]? +"":"empty").html(f).appendTo(b);for(d=0;26>d;d++)f=String.fromCharCode(65+d),$("").data("letter",f).data("match-count",a[f]||0).addClass(a[f]?"":"empty").html(f).appendTo(b);if(e.caseSensitive)for(d=0;26>d;d++)f=String.fromCharCode(97+d),$("").data("letter",f).data("match-count",a[f]||0).addClass(a[f]?"":"empty").html(f).appendTo(b);$('
').appendTo(b)}$.fn.dataTable.Api.register("alphabetSearch()",function(a){this.iterator("table",function(b){b.alphabetSearch= +a});return this});$.fn.dataTable.Api.register("alphabetSearch.recalc()",function(a){this.iterator("table",function(b){c(new $.fn.dataTable.Api(b),$("div.alphabet",this.table().container()))});return this});$.fn.dataTable.ext.search.push(function(a,b){if(!a.alphabetSearch)return!0;if(void 0!==a.oInit.alphabet)var e=void 0!==a.oInit.alphabet.column?a.oInit.alphabet.column:0,d=void 0!==a.oInit.alphabet.caseSensitive?a.oInit.alphabet.caseSensitive:!1;else e=0,d=!1;if(d){if(b[e].charAt(0)===a.alphabetSearch)return!0}else if(b[e].charAt(0).toUpperCase()=== +a.alphabetSearch)return!0;return!1});$.fn.dataTable.AlphabetSearch=function(a){var b=new $.fn.dataTable.Api(a),e=$('
');a=$.extend({column:0,caseSensitive:!1,numbers:!1},b.init().alphabet);c(b,e,a);e.on("click","span",function(){e.find(".active").removeClass("active");$(this).addClass("active");b.alphabetSearch($(this).data("letter")).draw()});e.on("mouseenter","span",function(){e.find("div.alphabetInfo").css({opacity:1,left:$(this).position().left,width:$(this).width()}).html($(this).data("match-count"))}).on("mouseleave", +"span",function(){e.find("div.alphabetInfo").css("opacity",0)});this.node=function(){return e}};$.fn.DataTable.AlphabetSearch=$.fn.dataTable.AlphabetSearch;$.fn.dataTable.ext.feature.push({fnInit:function(a){return(new $.fn.dataTable.AlphabetSearch(a)).node()},cFeature:"A"})})(); diff --git a/features/lengthLinks/dataTables.lengthLinks.min.js b/features/lengthLinks/dataTables.lengthLinks.min.js index f78ed05..dd0681b 100644 --- a/features/lengthLinks/dataTables.lengthLinks.min.js +++ b/features/lengthLinks/dataTables.lengthLinks.min.js @@ -21,5 +21,5 @@ Page length control via links for DataTables 2014 SpryMedia Ltd - datatables.net/license */ -(function(k,l,a,m){a.fn.dataTable.LengthLinks=function(d){var c=new a.fn.dataTable.Api(d),f=c.settings()[0],e=a("
").addClass(f.oClasses.sLength),h=null;this.container=function(){return e[0]};e.on("click.dtll","a",function(b){b.preventDefault();c.page.len(1*a(this).data("length")).draw(!1)});c.on("draw",function(){if(c.page.len()!==h){var b=f.aLengthMenu,d=2===b.length&&a.isArray(b[0])?b[1]:b,g=2===b.length&&a.isArray(b[0])?b[0]:b;b=a.map(g,function(b,a){return b==c.page.len()?''+d[a]+"":''+d[a]+""});e.html(f.oLanguage.sLengthMenu.replace("_MENU_",b.join(" | ")));h=c.page.len()}});c.on("destroy",function(){e.off("click.dtll","a")})};a.fn.dataTable.ext.feature.push({fnInit:function(d){return(new a.fn.dataTable.LengthLinks(d)).container()},cFeature:"L",sFeature:"LengthLinks"})})(window,document,jQuery); +(function(n,p,b,q){b.fn.dataTable.LengthLinks=function(f){var c=new b.fn.dataTable.Api(f),g=c.settings()[0],d=b("
").addClass(g.oClasses.sLength),k=null;this.container=function(){return d[0]};d.on("click.dtll","a",function(a){a.preventDefault();c.page.len(1*b(this).data("length")).draw(!1)});c.on("draw",function(){if(c.page.len()!==k){var a=g.aLengthMenu,l=2===a.length&&Array.isArray(a[0])?a[1]:a,h=2===a.length&&Array.isArray(a[0])?a[0]:a;a=b.map(h,function(m,e){return m==c.page.len()?''+l[e]+"":''+l[e]+""});d.html(g.oLanguage.sLengthMenu.replace("_MENU_",a.join(" | ")));k=c.page.len()}});c.on("destroy",function(){d.off("click.dtll","a")})};b.fn.dataTable.ext.feature.push({fnInit:function(f){return(new b.fn.dataTable.LengthLinks(f)).container()},cFeature:"L",sFeature:"LengthLinks"})})(window,document,jQuery); diff --git a/features/pageResize/dataTables.pageResize.min.js b/features/pageResize/dataTables.pageResize.min.js index d1cf3a1..36374ad 100644 --- a/features/pageResize/dataTables.pageResize.min.js +++ b/features/pageResize/dataTables.pageResize.min.js @@ -25,7 +25,7 @@ PageResize for DataTables v1.0.0 2015 SpryMedia Ltd - datatables.net/license */ -(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(d){return b(d,window,document)}):"object"===typeof exports?module.exports=function(d,c){d||(d=window);c&&c.fn.dataTable||(c=require("datatables.net")(d,c).$);return b(c,d,d.document)}:b(jQuery,window,document)})(function(b,d,c,l){var f=function(a,h){var e=a.table();this.s={dt:a,host:b(e.container()).parent(),header:b(e.header()),footer:b(e.footer()),body:b(e.body()),container:b(e.container()),table:b(e.node()), -delta:h};a=this.s.host;"static"===a.css("position")&&a.css("position","relative");this._attach();this._size()};f.prototype={_size:function(){var a=this.s,h=a.dt,e=h.table(),d=b(a.table).offset().top,c=b("tr",a.body);c=c.eq(1").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");c[0].onload=function(){var b=this.contentDocument.body,c=b.offsetHeight;this.contentDocument.defaultView.onresize=function(){var d=b.clientHeight||b.offsetHeight;d!==c&&(c=d,a._size())}};c.appendTo(this.s.host).attr("data","about:blank")}};b.fn.dataTable.PageResize= -f;b.fn.DataTable.PageResize=f;b(c).on("init.dt",function(a,c){"dt"===a.namespace&&(a=new b.fn.dataTable.Api(c),(b(a.table().node()).hasClass("pageResize")||c.oInit.pageResize||b.fn.dataTable.defaults.pageResize)&&new f(a,c.oInit.pageResizeManualDelta))})}); +(function(b){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return b(e,window,document)}):"object"===typeof exports?module.exports=function(e,f){e||(e=window);f&&f.fn.dataTable||(f=require("datatables.net")(e,f).$);return b(f,e,e.document)}:b(jQuery,window,document)})(function(b,e,f,p){var l=function(a,d){var c=a.table();this.s={dt:a,host:b(c.container()).parent(),header:b(c.header()),footer:b(c.footer()),body:b(c.body()),container:b(c.container()),table:b(c.node()), +delta:d};a=this.s.host;"static"===a.css("position")&&a.css("position","relative");this._attach();this._size()};l.prototype={_size:function(){var a=this.s,d=a.dt,c=d.table(),k=b(a.table).offset().top,g=b("tr",a.body);g=g.eq(1").css({position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:-1}).attr("type","text/html");d[0].onload=function(){var c=this.contentDocument.body,k=c.offsetHeight;this.contentDocument.defaultView.onresize=function(){var g=c.clientHeight||c.offsetHeight;g!==k&&(k=g,a._size())}};d.appendTo(this.s.host).attr("data","about:blank")}};b.fn.dataTable.PageResize= +l;b.fn.DataTable.PageResize=l;b(f).on("preInit.dt",function(a,d){"dt"===a.namespace&&(a=new b.fn.dataTable.Api(d),(b(a.table().node()).hasClass("pageResize")||d.oInit.pageResize||b.fn.dataTable.defaults.pageResize)&&new l(a,d.oInit.pageResizeManualDelta))})}); diff --git a/features/rowFill/dataTables.rowFill.min.js b/features/rowFill/dataTables.rowFill.min.js index 322b5af..8020fb9 100644 --- a/features/rowFill/dataTables.rowFill.min.js +++ b/features/rowFill/dataTables.rowFill.min.js @@ -15,5 +15,5 @@ RowFill for DataTables v1.0.0 2018 SpryMedia Ltd - datatables.net/license */ -(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);b&&b.fn.dataTable||(b=require("datatables.net")(a,b).$);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c,a,b,k){var d=function(e,a){a=e.table();this.s={dt:e,body:c(a.body())};this._attach()};d.prototype={_attach:function(){var a=this.s.dt,b=this.s.body;a.on("draw",function(){var e=a.columns(":visible").count(), -d=a.rows({page:"current"}).count(),g="even",h="odd";0===d&&(d=1);0===d%2&&(g="odd",h="even");for(var f=0;f ').addClass(0===f%2?g:h).addClass("dt-rowFill--filler"))})}};c.fn.dataTable.RowFill=d;c.fn.DataTable.RowFill=d;c(b).on("preInit.dt",function(a,b){"dt"===a.namespace&&(a=new c.fn.dataTable.Api(b),(b.oInit.rowFill||c.fn.dataTable.defaults.rowFill)&&new d(a))})}); +(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(c){return a(c,window,document)}):"object"===typeof exports?module.exports=function(c,d){c||(c=window);d&&d.fn.dataTable||(d=require("datatables.net")(c,d).$);return a(d,c,c.document)}:a(jQuery,window,document)})(function(a,c,d,n){var f=function(b,e){e=b.table();this.s={dt:b,body:a(e.body())};this._attach()};f.prototype={_attach:function(){var b=this.s.dt,e=this.s.body;b.on("draw",function(){var m=b.columns(":visible").count(), +g=b.rows({page:"current"}).count(),k="even",l="odd";0===g&&(g=1);0===g%2&&(k="odd",l="even");for(var h=0;h ').addClass(0===h%2?k:l).addClass("dt-rowFill--filler"))})}};a.fn.dataTable.RowFill=f;a.fn.DataTable.RowFill=f;a(d).on("preInit.dt",function(b,e){"dt"===b.namespace&&(b=new a.fn.dataTable.Api(e),(e.oInit.rowFill||a.fn.dataTable.defaults.rowFill)&&new f(b))})}); diff --git a/features/scrollResize/dataTables.scrollResize.min.js b/features/scrollResize/dataTables.scrollResize.min.js index 9c22360..b8fb422 100644 --- a/features/scrollResize/dataTables.scrollResize.min.js +++ b/features/scrollResize/dataTables.scrollResize.min.js @@ -21,7 +21,7 @@ ScrollResize for DataTables v1.0.0 2015 SpryMedia Ltd - datatables.net/license */ -(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,d){b||(b=window);d&&d.fn.dataTable||(d=require("datatables.net")(b,d).$);return a(d,b,b.document)}:a(jQuery,window,document)})(function(a,b,d,k){var g=function(e){var f=this,c=e.table();this.s={dt:e,host:a(c.container()).parent(),header:a(c.header()),footer:a(c.footer()),body:a(c.body()),container:a(c.container()),table:a(c.node())}; -c=this.s.host;"static"===c.css("position")&&c.css("position","relative");e.on("draw",function(){f._size()});this._attach();this._size()};g.prototype={_size:function(){var e=this.s,f=e.dt,c=f.table(),b=a(e.table).offset().top,h=e.host.height(),d=a("div.dataTables_scrollBody",c.container());h=h-b-(e.container.height()-(b+d.height()));a("div.dataTables_scrollBody",c.container()).css({maxHeight:h,height:h});f.fixedColumns&&f.fixedColumns().relayout()},_attach:function(){var e=this,b=a("