mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
version bump
This commit is contained in:
parent
d8abaadc29
commit
6f524ccef6
72
README.md
72
README.md
@ -82,6 +82,43 @@ If you would like to contribute, please...
|
||||
|
||||
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
|
||||
|
||||
#### <a name="v2.21.3">Version 2.21.3</a> (3/26/2015)
|
||||
|
||||
* Core
|
||||
* Fix icon targeting for class names
|
||||
* Modified sort initiation method. A "click" event can now be triggered on a header to initiate a sort - [issue #849](https://github.com/Mottie/tablesorter/pull/849). Thanks [johnjameswhitman](https://github.com/johnjameswhitman).
|
||||
* General code cleanup; mostly changing `tagName` to `nodeName`.
|
||||
* Modified, then removed all references to `config.$extraTables` and `config.$extraHeaders` as it was causing a memory leak.
|
||||
* Docs
|
||||
* Update jQuery to v1.11.2.
|
||||
* Update Bootstrap to v3.3.4.
|
||||
* Grunt Build
|
||||
* Add custom build file name. See [issue #829](https://github.com/Mottie/tablesorter/issues/829).
|
||||
* The default custom build file name is now "jquery.tablesorter.custom-widgets.js".
|
||||
* See the [Customize wiki page](https://github.com/Mottie/tablesorter/wiki/Customize#custom-build) for more details.
|
||||
* Filter
|
||||
* Make "disabled" a modifiable class name - modify it in `$.tablesorter.css.filterDisabled`.
|
||||
* Select2 filter formatter now escapes forward slashes.
|
||||
* Output:
|
||||
* Minor code tweak.
|
||||
* Pager:
|
||||
* Make `pagerUpdate` method page parameter optional. It was previously required or the page would reset to `0`.
|
||||
* Remove "refreshComplete" bind on destroy. Fixes [issue #854](https://github.com/Mottie/tablesorter/issues/854).
|
||||
* Resizable:
|
||||
* Major overhaul of this widget to now make it compatible with the stickyHeaders widget.
|
||||
* Sadly, it still doesn't work properly with the updated scroller widget; it's on my to-do list!
|
||||
* Scroller:
|
||||
* Added fixed column support! Fixes issues [#135](https://github.com/Mottie/tablesorter/issues/135), [#689](https://github.com/Mottie/tablesorter/issues/689), [#763](https://github.com/Mottie/tablesorter/issues/763) and [https://github.com/Mottie/tablesorter/issues/804](#804).
|
||||
* Check out the third table in the [scroller widget demo](http://mottie.github.io/tablesorter/docs/example-widget-scroller.html#group) - change the slider to adjust the number of fixed columns.
|
||||
* Storage:
|
||||
* Add option (`widgetOptions.storage_useSessionStorage`) to allow switching from local to session storage. Fixes [#851](https://github.com/Mottie/tablesorter/issues/851).
|
||||
* Add a bunch of other storage widget options including `storage_tableId`, `storage_group`, `storage_fixedUrl` and `storage_page`. See the [documentation on how they might be useful](http://mottie.github.io/tablesorter/docs/#widget-storage-fixed-url).
|
||||
* Deprecated `config.fixedUrl` in favor of the `widgetOptions.storage_fixedUrl` option.
|
||||
* Themes
|
||||
* Add "hover" class to all hover definitions (for the scroller widget mostly).
|
||||
* Remove filter element offsetting margins.
|
||||
* Target `background-color` instead of `background`. Fixes [issue #853](https://github.com/Mottie/tablesorter/issues/853).
|
||||
|
||||
#### <a name="v2.21.2">Version 2.21.2</a> (3/13/2015)
|
||||
|
||||
* Core: get accurate column count. Fixes [issue #840](https://github.com/Mottie/tablesorter/issues/840).
|
||||
@ -109,38 +146,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
|
||||
* Add UMD wrapper to built "jquery.tablesorter.widgets.js" file. Thanks to [nburlett](https://github.com/nburlett) ([pull #837](https://github.com/Mottie/tablesorter/pull/837))!
|
||||
* Scroller
|
||||
* Properly adjust column widths; fixes [issue #836](https://github.com/Mottie/tablesorter/issues/836).
|
||||
|
||||
#### <a name="v2.21.0">Version 2.21.0</a> (3/5/2015)
|
||||
|
||||
* Core
|
||||
* Plan to manually update vesion number.
|
||||
* Optimizations: replace arrays using `$.each` with for loops. Fixes [issue #827](https://github.com/Mottie/tablesorter/issues/827).
|
||||
* Add `$.tablesorter.addInstanceMethods` function.
|
||||
* This allows one to define config object instance methods ([docs](http://mottie.github.io/tablesorter/docs/#variable-instanceMethods)).
|
||||
* Thanks to [prijutme4ty](https://github.com/prijutme4ty) for contributing!
|
||||
* Add `config.$headerIndexed` option ([docs](http://mottie.github.io/tablesorter/docs/#variable-header-indexed)).
|
||||
* Docs
|
||||
* Update link in readme.
|
||||
* Add contributing information.
|
||||
* Update download method information.
|
||||
* Build/Testing
|
||||
* Move jshint to "grunt test" task.
|
||||
* Attempt to make nested callbacks more stable.
|
||||
* Clean up testing & made more stable, by [prijutme4ty](https://github.com/prijutme4ty).
|
||||
* ColumnSelector
|
||||
* Add more debug logging.
|
||||
* Filter
|
||||
* Add more debug logging.
|
||||
* Add `config` parameter to `filter_functions`.
|
||||
* Add "widget-filter-type-insideRange.js" filter type; this filter type allows searching for a value that is within a range ([demo](http://mottie.github.io/tablesorter/docs/example-parsers-date-range.html)).
|
||||
* External filters can now set initial values; this includes match-any-column inputs.
|
||||
* Extend filterFormatter functions - fixes an issue where HTML5 & jQuery ui filterFormatters override the function definitions.
|
||||
* Output
|
||||
* Add `output_includeFooter` option.
|
||||
* Pager
|
||||
* Add more debug logging.
|
||||
* Scroller
|
||||
* Add missing `tfoot` rows. Fixes [issue #825](https://github.com/Mottie/tablesorter/issues/825).
|
||||
* StickyHeaders
|
||||
* Now works properly with a full-height wrapper. Fixes [issue #564](https://github.com/Mottie/tablesorter/issues/564).
|
||||
* Add stickyHeader hidden class name & modal demo links. Fixes [issue #832](https://github.com/Mottie/tablesorter/issues/832).
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* tablesorter (FORK) pager plugin
|
||||
* updated 3/5/2015 (v2.21.0)
|
||||
* updated 3/26/2015 (v2.21.3)
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* custom pager controls (beta) for TableSorter 9/15/2014 (v2.17.8)
|
||||
* custom pager controls (beta) for TableSorter 9/15/2014 (v2.17.8) - updated 3/26/2015 (v2.21.3)
|
||||
initialize custom pager script BEFORE initializing tablesorter/tablesorter pager
|
||||
custom pager looks like this:
|
||||
1 | 2 … 5 | 6 | 7 … 99 | 100
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"version": "2.21.2",
|
||||
"version": "2.21.3",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.2.6"
|
||||
},
|
||||
|
File diff suppressed because one or more lines are too long
4
dist/js/jquery.tablesorter.js
vendored
4
dist/js/jquery.tablesorter.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.21.2 *//*
|
||||
/*! TableSorter (FORK) v2.21.3 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.21.2';
|
||||
ts.version = '2.21.3';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
4
dist/js/jquery.tablesorter.min.js
vendored
4
dist/js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
12
dist/js/jquery.tablesorter.widgets.js
vendored
12
dist/js/jquery.tablesorter.widgets.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) widgets - updated 03-25-2015 (v2.21.2)*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-26-2015 (v2.21.3)*/
|
||||
/* Includes: storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
@ -10,7 +10,7 @@
|
||||
}
|
||||
}(function($) {
|
||||
|
||||
/*! Widget: storage */
|
||||
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window, document) {
|
||||
'use strict';
|
||||
|
||||
@ -100,7 +100,7 @@ ts.storage = function(table, key, value, options) {
|
||||
|
||||
})(jQuery, window, document);
|
||||
|
||||
/*! Widget: uitheme */
|
||||
/*! Widget: uitheme - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
@ -365,7 +365,7 @@ ts.addWidget({
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: filter - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: filter - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
@ -1688,7 +1688,7 @@ ts.setFilters = function(table, filter, apply, skipFirst) {
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: stickyHeaders - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.4.3+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
@ -1960,7 +1960,7 @@ ts.addWidget({
|
||||
|
||||
})(jQuery, window);
|
||||
|
||||
/*! Widget: resizable - updated 3/25/2015 (v2.21.3) */
|
||||
/*! Widget: resizable - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
|
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
5
dist/js/parsers/parser-input-select.min.js
vendored
5
dist/js/parsers/parser-input-select.min.js
vendored
@ -1,5 +1,2 @@
|
||||
/*! input & select parsers for jQuery 1.7+ & tablesorter 2.7.11+
|
||||
* Updated 3/5/2015 (v2.21.0)
|
||||
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
|
||||
*/
|
||||
/*! parser: input & select - updated 3/26/2015 (v2.21.3) */
|
||||
!function(a){"use strict";var b=function(){};a.tablesorter.addParser({id:"inputs",is:function(){return!1},format:function(b,c,d){return a(d).find("input").val()||b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"checkbox",is:function(){return!1},format:function(b,c,d,e){var f=a(d),g=c.config.widgetOptions,h=g.group_checkbox?g.group_checkbox:["checked","unchecked"],i=f.find('input[type="checkbox"]'),j=i.length?i[0].checked:"";return f.closest("tr").toggleClass("checked-"+e,j),i.length?h[j?0:1]:b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"select",is:function(){return!1},format:function(b,c,d){return a(d).find("select").val()||b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"select-text",is:function(){return!1},format:function(b,c,d){var e=a(d).find("select");return e.length?e.find("option:selected").text()||"":b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"textarea",is:function(){return!1},format:function(b,c,d){return a(d).find("textarea").val()||b},parsed:!0,type:"text"}),a(function(){a("table").on("tablesorter-initialized",function(){var c=function(b){b&&a(":focus").blur()};a(this).children("tbody").on("mouseleave",function(a){c("TBODY"===a.target.nodeName)}).on("focus","select, input, textarea",function(){a(this).data("ts-original-value",this.value)}).on("blur","input, textarea",function(){this.value=a(this).data("ts-original-value")}).on("change keyup","select, input, textarea",function(d){if(27===d.which)return void(this.value=a(this).data("ts-original-value"));if("change"===d.type||"keyup"===d.type&&13===d.which&&("INPUT"===d.target.nodeName||"TEXTAREA"===d.target.nodeName&&d.altKey)){var e,f=a(d.target),g=f.closest("td"),h=g.closest("table"),i=g[0].cellIndex,j=h[0].config||!1,k=j&&j.$headers&&j.$headers.eq(i);if(!j||k&&k.length&&(k.hasClass("parser-false")||k.hasClass("sorter-false")&&k.hasClass("filter-false")))return c();(f.val()!==f.data("ts-original-value")||"checkbox"===d.target.type)&&(f.data("ts-original-value",f.val()),h.trigger("updateCell",[f.closest("td"),e,function(){b(d,h,f)}]))}})})})}(jQuery);
|
4
dist/js/widgets/widget-build-table.min.js
vendored
4
dist/js/widgets/widget-build-table.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,4 +1,2 @@
|
||||
/*! Filter widget select2 formatter function - updated 2/7/2015 (v2.19.0)
|
||||
* requires: jQuery 1.7.2+, tableSorter (FORK) 2.16+, filter widget 2.16+ and select2 v3.4.6+ plugin
|
||||
*/
|
||||
/*! Widget: Filter formatter function select2 - updated 3/26/2015 (v2.21.3) */
|
||||
!function(a){"use strict";var b=a.tablesorter||{};b.filterFormatter=b.filterFormatter||{},b.filterFormatter.select2=function(c,d,e){var f,g,h=a.extend({cellText:"",match:!0,value:"",multiple:!0,width:"100%"},e),i=c.closest("table")[0].config,j=i.widgetOptions,k=a('<input class="filter" type="hidden">').appendTo(c).bind("change"+i.namespace+"filter",function(){var a=this.value;a=a.replace(/[/()$^]/g,"").split("|"),c.find(".select2").select2("val",a),q()}),l=i.$headerIndexed[d],m=l.hasClass(j.filter_onlyAvail),n=[],o=h.match?"":"^",p=h.match?"":"$",q=function(){var b=!1,d=c.find(".select2").select2("val")||h.value||"";a.isArray(d)&&(b=!0,d=d.join("\x00")),d=d.replace(/[-[\]{}()*+?.,/\\^$|#\s]/g,"\\$&"),b&&(d=d.split("\x00")),k.val(a.isArray(d)&&d.length&&""!==d.join("")?"/("+o+(d||[]).join(p+"|"+o)+p+")/":"").trigger("search").end().find(".select2").select2("val",d),n.length&&n.find(".select2").select2("val",d)},r=function(){g=[],f=b.filter.getOptionSource(i.$table[0],d,m)||[],a.each(f,function(a,b){g.push({id:b,text:b})}),h.data=g};return l.toggleClass("filter-match",h.match),h.cellText&&c.prepend("<label>"+h.cellText+"</label>"),h.ajax&&!a.isEmptyObject(h.ajax)||h.data||(r(),m&&i.$table.bind("filterEnd",function(){r(),c.add(n).find(".select2").select2(h)})),a('<input class="select2 select2-'+d+'" type="hidden" />').val(h.value).appendTo(c).select2(h).bind("change",function(){q()}),i.$table.bind("filterFomatterUpdate",function(){var a=i.$table.data("lastSearch")[d]||"";a=a.replace(/^\/\(\^?/,"").replace(/\$\|\^/g,"|").replace(/\$?\)\/$/g,"").split("|"),c.find(".select2").select2("val",a),q(),b.filter.formatterUpdated(c,d)}),i.$table.bind("stickyHeadersInit",function(){n=i.widgetOptions.$sticky.find(".tablesorter-filter-row").children().eq(d).empty(),a('<input class="select2 select2-'+d+'" type="hidden">').val(h.value).appendTo(n).select2(h).bind("change",function(){c.find(".select2").select2("val",n.find(".select2").select2("val")),q()}),h.cellText&&n.prepend("<label>"+h.cellText+"</label>")}),i.$table.bind("filterReset",function(){c.find(".select2").select2("val",h.value||""),setTimeout(function(){q()},0)}),q(),k}}(jQuery);
|
2
dist/js/widgets/widget-filter.min.js
vendored
2
dist/js/widgets/widget-filter.min.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/widgets/widget-output.min.js
vendored
1
dist/js/widgets/widget-output.min.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/widgets/widget-pager.min.js
vendored
1
dist/js/widgets/widget-pager.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-resizable.min.js
vendored
2
dist/js/widgets/widget-resizable.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-scroller.min.js
vendored
2
dist/js/widgets/widget-scroller.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-stickyHeaders.min.js
vendored
2
dist/js/widgets/widget-stickyHeaders.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-storage.min.js
vendored
2
dist/js/widgets/widget-storage.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! Widget: storage */
|
||||
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
||||
!function(a,b,c){"use strict";var d=a.tablesorter=a.tablesorter||{};d.storage=function(e,f,g,h){e=a(e)[0];var i,j,k,l=!1,m={},n=e.config,o=n&&n.widgetOptions,p=h&&h.useSessionStorage||o&&o.storage_useSessionStorage?"sessionStorage":"localStorage",q=a(e),r=h&&h.id||q.attr(h&&h.group||o&&o.storage_group||"data-table-group")||o&&o.storage_tableId||e.id||a(".tablesorter").index(q),s=h&&h.url||q.attr(h&&h.page||o&&o.storage_page||"data-table-page")||o&&o.storage_fixedUrl||n&&n.fixedUrl||b.location.pathname;if(p in b)try{b[p].setItem("_tmptest","temp"),l=!0,b[p].removeItem("_tmptest")}catch(t){n&&n.debug&&d.log(p+" is not supported in this browser")}return a.parseJSON&&(l?m=a.parseJSON(b[p][f]||"null")||{}:(j=c.cookie.split(/[;\s|=]/),i=a.inArray(f,j)+1,m=0!==i?a.parseJSON(j[i]||"null")||{}:{})),(g||""===g)&&b.JSON&&JSON.hasOwnProperty("stringify")?(m[s]||(m[s]={}),m[s][r]=g,l?b[p][f]=JSON.stringify(m):(k=new Date,k.setTime(k.getTime()+31536e6),c.cookie=f+"="+JSON.stringify(m).replace(/\"/g,'"')+"; expires="+k.toGMTString()+"; path=/"),void 0):m&&m[s]?m[s][r]:""}}(jQuery,window,document);
|
2
dist/js/widgets/widget-uitheme.min.js
vendored
2
dist/js/widgets/widget-uitheme.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! Widget: uitheme */
|
||||
/*! Widget: uitheme - updated 3/26/2015 (v2.21.3) */
|
||||
!function(a){"use strict";var b=a.tablesorter=a.tablesorter||{};b.themes={bootstrap:{table:"table table-bordered table-striped",caption:"caption",header:"bootstrap-header",sortNone:"",sortAsc:"",sortDesc:"",active:"",hover:"",icons:"",iconSortNone:"bootstrap-icon-unsorted",iconSortAsc:"icon-chevron-up glyphicon glyphicon-chevron-up",iconSortDesc:"icon-chevron-down glyphicon glyphicon-chevron-down",filterRow:"",footerRow:"",footerCells:"",even:"",odd:""},jui:{table:"ui-widget ui-widget-content ui-corner-all",caption:"ui-widget-content",header:"ui-widget-header ui-corner-all ui-state-default",sortNone:"",sortAsc:"",sortDesc:"",active:"ui-state-active",hover:"ui-state-hover",icons:"ui-icon",iconSortNone:"ui-icon-carat-2-n-s",iconSortAsc:"ui-icon-carat-1-n",iconSortDesc:"ui-icon-carat-1-s",filterRow:"",footerRow:"",footerCells:"",even:"ui-widget-content",odd:"ui-state-default"}},a.extend(b.css,{wrapper:"tablesorter-wrapper"}),b.addWidget({id:"uitheme",priority:10,format:function(c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q,r=b.themes,s=d.$table.add(a(d.namespace+"_extra_table")),t=d.$headers.add(a(d.namespace+"_extra_headers")),u=d.theme||"jui",v=r[u]||{},w=a.trim([v.sortNone,v.sortDesc,v.sortAsc,v.active].join(" ")),x=a.trim([v.iconSortNone,v.iconSortDesc,v.iconSortAsc].join(" "));for(d.debug&&(i=new Date),s.hasClass("tablesorter-"+u)&&d.theme===d.appliedTheme&&e.uitheme_applied||(e.uitheme_applied=!0,n=r[d.appliedTheme]||{},q=!a.isEmptyObject(n),o=q?[n.sortNone,n.sortDesc,n.sortAsc,n.active].join(" "):"",p=q?[n.iconSortNone,n.iconSortDesc,n.iconSortAsc].join(" "):"",q&&(e.zebra[0]=a.trim(" "+e.zebra[0].replace(" "+n.even,"")),e.zebra[1]=a.trim(" "+e.zebra[1].replace(" "+n.odd,"")),d.$tbodies.children().removeClass([n.even,n.odd].join(" "))),v.even&&(e.zebra[0]+=" "+v.even),v.odd&&(e.zebra[1]+=" "+v.odd),s.children("caption").removeClass(n.caption||"").addClass(v.caption),l=s.removeClass((d.appliedTheme?"tablesorter-"+(d.appliedTheme||""):"")+" "+(n.table||"")).addClass("tablesorter-"+u+" "+(v.table||"")).children("tfoot"),d.appliedTheme=d.theme,l.length&&l.children("tr").removeClass(n.footerRow||"").addClass(v.footerRow).children("th, td").removeClass(n.footerCells||"").addClass(v.footerCells),t.removeClass((q?[n.header,n.hover,o].join(" "):"")||"").addClass(v.header).not(".sorter-false").unbind("mouseenter.tsuitheme mouseleave.tsuitheme").bind("mouseenter.tsuitheme mouseleave.tsuitheme",function(b){a(this)["mouseenter"===b.type?"addClass":"removeClass"](v.hover||"")}),t.each(function(){var c=a(this);c.find("."+b.css.wrapper).length||c.wrapInner('<div class="'+b.css.wrapper+'" style="position:relative;height:100%;width:100%"></div>')}),d.cssIcon&&t.find("."+b.css.icon).removeClass(q?[n.icons,p].join(" "):"").addClass(v.icons||""),s.hasClass("hasFilters")&&s.children("thead").children("."+b.css.filterRow).removeClass(q?n.filterRow||"":"").addClass(v.filterRow||"")),f=0;f<d.columns;f++)j=d.$headers.add(a(d.namespace+"_extra_headers")).not(".sorter-false").filter('[data-column="'+f+'"]'),k=b.css.icon?j.find("."+b.css.icon):a(),m=t.not(".sorter-false").filter('[data-column="'+f+'"]:last'),m.length&&(j.removeClass(w),k.removeClass(x),m[0].sortDisabled?k.removeClass(v.icons||""):(g=v.sortNone,h=v.iconSortNone,m.hasClass(b.css.sortAsc)?(g=[v.sortAsc,v.active].join(" "),h=v.iconSortAsc):m.hasClass(b.css.sortDesc)&&(g=[v.sortDesc,v.active].join(" "),h=v.iconSortDesc),j.addClass(g),k.addClass(h||"")));d.debug&&b.benchmark("Applying "+u+" theme",i)},remove:function(a,c,d,e){if(d.uitheme_applied){var f=c.$table,g=c.appliedTheme||"jui",h=b.themes[g]||b.themes.jui,i=f.children("thead").children(),j=h.sortNone+" "+h.sortDesc+" "+h.sortAsc,k=h.iconSortNone+" "+h.iconSortDesc+" "+h.iconSortAsc;f.removeClass("tablesorter-"+g+" "+h.table),d.uitheme_applied=!1,e||(f.find(b.css.header).removeClass(h.header),i.unbind("mouseenter.tsuitheme mouseleave.tsuitheme").removeClass(h.hover+" "+j+" "+h.active).filter("."+b.css.filterRow).removeClass(h.filterRow),i.find("."+b.css.icon).removeClass(h.icons+" "+k))}}})}(jQuery);
|
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.21.2 *//*
|
||||
/*! TableSorter (FORK) v2.21.3 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.21.2';
|
||||
ts.version = '2.21.3';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-25-2015 (v2.21.2)*/
|
||||
/*! tablesorter (FORK) widgets - updated 03-26-2015 (v2.21.3)*/
|
||||
/* Includes: storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
@ -16,7 +16,7 @@
|
||||
}
|
||||
}(function($) {
|
||||
|
||||
/*! Widget: storage */
|
||||
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window, document) {
|
||||
'use strict';
|
||||
|
||||
@ -106,7 +106,7 @@ ts.storage = function(table, key, value, options) {
|
||||
|
||||
})(jQuery, window, document);
|
||||
|
||||
/*! Widget: uitheme */
|
||||
/*! Widget: uitheme - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
@ -371,7 +371,7 @@ ts.addWidget({
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: filter - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: filter - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
@ -1694,7 +1694,7 @@ ts.setFilters = function(table, filter, apply, skipFirst) {
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: stickyHeaders - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.4.3+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
@ -1966,7 +1966,7 @@ ts.addWidget({
|
||||
|
||||
})(jQuery, window);
|
||||
|
||||
/*! Widget: resizable - updated 3/25/2015 (v2.21.3) */
|
||||
/*! Widget: resizable - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*! input & select parsers for jQuery 1.7+ & tablesorter 2.7.11+
|
||||
* Updated 3/5/2015 (v2.21.0)
|
||||
/*! parser: input & select - updated 3/26/2015 (v2.21.3) *//*
|
||||
* for jQuery 1.7+ & tablesorter 2.7.11+
|
||||
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
|
||||
*/
|
||||
/*jshint browser: true, jquery:true, unused:false */
|
||||
|
@ -1,4 +1,5 @@
|
||||
/*! Build Table widget for tableSorter v2.16.0; updated 2/7/2015 (v2.19.0)
|
||||
/*! Widget: Build Table - updated 3/26/2015 (v2.21.3) *//*
|
||||
* for tableSorter v2.16.0+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Filter widget select2 formatter function - updated 2/7/2015 (v2.19.0)
|
||||
/*! Widget: Filter formatter function select2 - updated 3/26/2015 (v2.21.3) *//*
|
||||
* requires: jQuery 1.7.2+, tableSorter (FORK) 2.16+, filter widget 2.16+ and select2 v3.4.6+ plugin
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: filter - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: filter - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Output widget for TableSorter 3/5/2015 (v2.21.0)
|
||||
/*! Widget: Output - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* Modified from:
|
||||
* HTML Table to CSV: http://www.kunalbabre.com/projects/table2CSV.php (License unknown?)
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* Pager widget for TableSorter 3/5/2015 (v2.21.0) - requires jQuery 1.7+ */
|
||||
/*! Widget: Pager - updated 3/26/2015 (v2.21.3) */
|
||||
/* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($){
|
||||
"use strict";
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: resizable - updated 3/25/2015 (v2.21.3) */
|
||||
/*! Widget: resizable - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: scroller - updated 3/25/2015 (v2.21.3) *//*
|
||||
/*! Widget: scroller - updated 3/26/2015 (v2.21.3) *//*
|
||||
Copyright (C) 2011 T. Connell & Associates, Inc.
|
||||
|
||||
Dual-licensed under the MIT and GPL licenses
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: stickyHeaders - updated 3/5/2015 (v2.21.0) *//*
|
||||
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.4.3+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: storage */
|
||||
/*! Widget: storage - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($, window, document) {
|
||||
'use strict';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: uitheme */
|
||||
/*! Widget: uitheme - updated 3/26/2015 (v2.21.3) */
|
||||
;(function ($) {
|
||||
'use strict';
|
||||
var ts = $.tablesorter = $.tablesorter || {};
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.21.2",
|
||||
"version": "2.21.3",
|
||||
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
|
||||
"author": {
|
||||
"name": "Christian Bach",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.21.2",
|
||||
"version": "2.21.3",
|
||||
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
|
||||
"author": {
|
||||
"name": "Christian Bach",
|
||||
|
Loading…
Reference in New Issue
Block a user