mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Merge branch 'master' of https://github.com/Mottie/tablesorter
This commit is contained in:
commit
8a06d32906
3
AUTHORS
3
AUTHORS
@ -83,5 +83,8 @@ Federico-G <federicogasior@hotmail.com>
|
||||
Lars <lars.bodtke@live.de>
|
||||
Alex Weissman <alex@alexanderweissman.com>
|
||||
Andrew Murphy <aavmurphy@users.noreply.github.com>
|
||||
adamz01h <adamz01h@gmail.com>
|
||||
Chris Wisdo <chris@gnaritas.com>
|
||||
larsbonczek <44197504+larsbonczek@users.noreply.github.com>
|
||||
|
||||
# Generated by tools/authors.sh
|
||||
|
64
Gruntfile.js
64
Gruntfile.js
@ -32,29 +32,30 @@ module.exports = function( grunt ) {
|
||||
parserSuffix: '.js'
|
||||
},
|
||||
wrapperUMD: {
|
||||
// tablesorter core
|
||||
coreBanner: '(function(factory) {\n' +
|
||||
" if (typeof define === 'function' && define.amd) {\n" +
|
||||
" define(['jquery'], factory);\n" +
|
||||
" } else if (typeof module === 'object' && typeof module.exports === 'object') {\n" +
|
||||
" module.exports = factory(require('jquery'));\n" +
|
||||
' } else {\n' +
|
||||
' factory(jQuery);\n' +
|
||||
' }\n' +
|
||||
'}(function(jQuery) {\n\n',
|
||||
// tablesorter core, widgets & parsers
|
||||
coreBanner: '(function(factory){' +
|
||||
"if (typeof define === 'function' && define.amd){" +
|
||||
"define(['jquery'], factory);" +
|
||||
"} else if (typeof module === 'object' && typeof module.exports === 'object'){" +
|
||||
"module.exports = factory(require('jquery'));" +
|
||||
'} else {' +
|
||||
'factory(jQuery);' +
|
||||
'}' +
|
||||
'}(function(jQuery){\n',
|
||||
// widgets wrapper & combined wrapper - may need a separate entry when this wrapper is redefined to make
|
||||
// widgets a dependency of the core (see https://github.com/Mottie/tablesorter/issues/855)
|
||||
banner: '<%= pkg.banner %>/* Includes widgets ( <%= pkg.selectedWidgets %> <%= pkg.selectedParsers %>) */\n' +
|
||||
'(function(factory) {\n' +
|
||||
" if (typeof define === 'function' && define.amd) {\n" +
|
||||
" define(['jquery'], factory);\n" +
|
||||
" } else if (typeof module === 'object' && typeof module.exports === 'object') {\n" +
|
||||
" module.exports = factory(require('jquery'));\n" +
|
||||
' } else {\n' +
|
||||
' factory(jQuery);\n' +
|
||||
' }\n' +
|
||||
'}(function(jQuery) {\n\n',
|
||||
footer: '\nreturn jQuery.tablesorter;\n}));\n'
|
||||
'(function(factory){' +
|
||||
"if (typeof define === 'function' && define.amd){" +
|
||||
"define(['jquery'], factory);" +
|
||||
"} else if (typeof module === 'object' && typeof module.exports === 'object'){" +
|
||||
"module.exports = factory(require('jquery'));" +
|
||||
'} else {' +
|
||||
'factory(jQuery);' +
|
||||
'}' +
|
||||
'}(function(jQuery) {\n',
|
||||
footer: 'return jQuery.tablesorter;}));\n',
|
||||
footerMain: 'return jQuery;}));\n'
|
||||
},
|
||||
noModBanner: '/*** This file is dynamically generated ***\n' +
|
||||
'█████▄ ▄████▄ █████▄ ▄████▄ ██████ ███████▄ ▄████▄ █████▄ ██ ██████ ██ ██\n' +
|
||||
@ -284,6 +285,10 @@ module.exports = function( grunt ) {
|
||||
report: 'gzip'
|
||||
},
|
||||
allFiles: {
|
||||
options: {
|
||||
banner: defaults.wrapperUMD.coreBanner,
|
||||
footer: defaults.wrapperUMD.footerMain
|
||||
},
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: './js/', // Src matches are relative to this path.
|
||||
@ -293,7 +298,7 @@ module.exports = function( grunt ) {
|
||||
'!_test-*.js',
|
||||
'!**/_test-*.js',
|
||||
'!*.min.js',
|
||||
'!**/semver.js'
|
||||
'!**/semver*.js',
|
||||
],
|
||||
dest: 'dist/js/',
|
||||
ext: '.min.js', // Dist files will have this extension.
|
||||
@ -313,9 +318,26 @@ module.exports = function( grunt ) {
|
||||
}]
|
||||
},
|
||||
pageraddon: {
|
||||
options: {
|
||||
banner: defaults.wrapperUMD.coreBanner,
|
||||
footer: defaults.wrapperUMD.footerMain
|
||||
},
|
||||
files: {
|
||||
'dist/js/extras/jquery.tablesorter.pager.min.js': [ 'addons/pager/*.js' ]
|
||||
}
|
||||
},
|
||||
// Semver doesn't need a wrapper
|
||||
semver: {
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: './js/', // Src matches are relative to this path.
|
||||
src: [
|
||||
'**/semver-mod.js',
|
||||
],
|
||||
dest: 'dist/js/',
|
||||
ext: '.min.js', // Dist files will have this extension.
|
||||
extDot: 'last' // Extensions in filenames begin after this dot
|
||||
}]
|
||||
}
|
||||
},
|
||||
|
||||
|
80
README.md
80
README.md
@ -1,6 +1,6 @@
|
||||
tablesorter (FORK) 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. This 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.
|
||||
|
||||
[![Bower Version][bower-image]][bower-url] [![NPM Version][npm-image]][npm-url] [![devDependency Status][david-dev-image]][david-dev-url] [![zenhub-image]][zenhub-url]
|
||||
[![NPM Version][npm-image]][npm-url] [![devDependency Status][david-dev-image]][david-dev-url] [![zenhub-image]][zenhub-url]
|
||||
|
||||
### Notice!
|
||||
|
||||
@ -15,7 +15,7 @@ tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THE
|
||||
|
||||
### Questions?
|
||||
|
||||
[![irc-image]][irc-url] [![gitter-image]][gitter-url] [![stackoverflow-image]][stackoverflow-url]
|
||||
[![irc-image]][irc-url] [![slack-image]][slack-url] [![stackoverflow-image]][stackoverflow-url]
|
||||
|
||||
* Check the [FAQ](https://github.com/Mottie/tablesorter/wiki/FAQ) page.
|
||||
* Search the [main documentation](https://mottie.github.io/tablesorter/docs/) (click the menu button in the upper left corner).
|
||||
@ -88,15 +88,13 @@ If you would like to contribute, please...
|
||||
[npm-image]: https://img.shields.io/npm/v/tablesorter.svg
|
||||
[david-dev-url]: https://david-dm.org/Mottie/tablesorter?type=dev
|
||||
[david-dev-image]: https://img.shields.io/david/dev/Mottie/tablesorter.svg
|
||||
[bower-url]: http://bower.io/search/?q=jquery.tablesorter
|
||||
[bower-image]: https://img.shields.io/bower/v/jquery.tablesorter.svg
|
||||
[zenhub-url]: https://zenhub.io
|
||||
[zenhub-image]: https://cdn.rawgit.com/Mottie/tablesorter/master/docs/img/zenhub-badge.svg
|
||||
|
||||
[irc-url]: https://kiwiirc.com/client/irc.freenode.net#tablesorter
|
||||
[irc-image]: https://img.shields.io/badge/irc-%23tablesorter-yellowgreen.svg
|
||||
[gitter-url]: https://gitter.im/Mottie/tablesorter
|
||||
[gitter-image]: https://img.shields.io/badge/GITTER-join%20chat-yellowgreen.svg
|
||||
[slack-url]: https://join.slack.com/t/tablesorter/shared_invite/enQtNDc2NTczODg0NjkzLWRmYzE2NjIzNjM2ZWE1NzkyNzFkNjM4NjY0OTIyOTM3NDRmNWRhMjgxMTk5MjFhNzM3NWIzMWU1ZTc1NTZlOGE
|
||||
[slack-image]: https://img.shields.io/badge/Slack-join%20chat-yellowgreen.svg
|
||||
[stackoverflow-url]: http://stackoverflow.com/questions/tagged/tablesorter
|
||||
[stackoverflow-image]: https://img.shields.io/badge/stackoverflow-tablesorter-blue.svg
|
||||
|
||||
@ -104,57 +102,39 @@ If you would like to contribute, please...
|
||||
|
||||
View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes).
|
||||
|
||||
#### <a name="v2.30.3">Version 2.30.3</a> (2018-03-30)
|
||||
#### <a name="v2.31.2">Version 2.31.2</a> (2019-12-01)
|
||||
|
||||
* Core:
|
||||
* Use indexed headers. Fixes [issue #1524](https://github.com/Mottie/tablesorter/issues/1524).
|
||||
* Column selector:
|
||||
* Fix scroller widget compatibility. See [issue #1682](https://github.com/Mottie/tablesorter/issues/1682).
|
||||
* Filter:
|
||||
* Update select2 regexp. See [issue #1497](https://github.com/Mottie/tablesorter/issues/1497). Fixed in [PR #1677](https://github.com/Mottie/tablesorter/pull/1677); thanks [@cwisdo](https://github.com/cwisdo)!
|
||||
* Prevent search on enter if filters are unchanged. See [issue #1631](https://github.com/Mottie/tablesorter/issues/1631). Fixed in [PR #1642](https://github.com/Mottie/tablesorter/pull/1642); thanks [@larsbonczek](https://github.com/larsbonczek)!
|
||||
* Math
|
||||
* Add math ignore to cells; it was documented, but not added previously. See [issue #1526](https://github.com/Mottie/tablesorter/issues/1526).
|
||||
* Docs:
|
||||
* Remove link preload because it isn't supported in Firefox.
|
||||
* Various fixes.
|
||||
* Updated trigger sort page. See [issue #1641](https://github.com/Mottie/tablesorter/issues/1641).
|
||||
* Remove invalid widget option. See [issue #1581](https://github.com/Mottie/tablesorter/issues/1581).
|
||||
|
||||
#### <a name="v2.30.2">Version 2.30.2</a> (2018-03-26)
|
||||
#### <a name="v2.31.1">Version 2.31.1</a> (2018-11-20)
|
||||
|
||||
* Core:
|
||||
* Allow passing headers from multiple rows. See [issue #1116](https://github.com/Mottie/tablesorter/issues/1116).
|
||||
* Use local `$` inside of IIFE. Fixes [issue #1542](https://github.com/Mottie/tablesorter/issues/1542).
|
||||
* Build:
|
||||
* Use local `$` inside of IIFE. Fixes [issue #1542](https://github.com/Mottie/tablesorter/issues/1542).
|
||||
* Pager:
|
||||
* Use local `$` inside of IIFE. Fixes [issue #1542](https://github.com/Mottie/tablesorter/issues/1542).
|
||||
* Resizable:
|
||||
* Adjust handle position for jQuery v3.3.0+. Fixes [issue #1544](https://github.com/Mottie/tablesorter/issues/1544).
|
||||
* Vertical Group:
|
||||
* Fix border css for last row.
|
||||
* Parser:
|
||||
* Input-select: Fix TypeError `hasSticky` is undefined. See [issue #1534](https://github.com/Mottie/tablesorter/issues/1534) & [PR #1535](https://github.com/Mottie/tablesorter/pull/1535); thanks [@adamz01h](https://github.com/adamz01h).
|
||||
* Docs
|
||||
* Improve load time.
|
||||
* Update incorrect default. See [issue #1510](https://github.com/Mottie/tablesorter/issues/1510).
|
||||
* Replace whitespace with symbols.
|
||||
* Store sortList on init. Fixes [issue #1585](https://github.com/Mottie/tablesorter/issues/1585).
|
||||
* Math:
|
||||
* Add math_textAttr. See [issue #1601](https://github.com/Mottie/tablesorter/issues/1601).
|
||||
* Readme:
|
||||
* Remove bower, gitter & add Slack.
|
||||
* Meta:
|
||||
* Update dependencies.
|
||||
|
||||
#### <a name="v2.30.1">Version 2.30.1</a> (2018-03-19)
|
||||
#### <a name="v2.31.0">Version 2.31.0</a> (2018-08-27)
|
||||
|
||||
* Core:
|
||||
* Only validate options while debugging. Closes [issue #1528](https://github.com/Mottie/tablesorter/issues/1528)
|
||||
* Pager:
|
||||
* Show all rows, not pages. Fixes [issue #1529](https://github.com/Mottie/tablesorter/issues/1529)
|
||||
* SaveSort:
|
||||
* Fix JS error. See [issue #1525](https://github.com/Mottie/tablesorter/issues/1525)
|
||||
|
||||
#### <a name="v2.30.0">Version 2.30.0</a> (2018-03-18)
|
||||
|
||||
* Core:
|
||||
* [Debug](https://mottie.github.io/tablesorter/docs/#debug) now allows you to debug components separately; set to `true` as usual, or set to `'core filter'` to only show the core and filter widget debug logs.
|
||||
* Change pager `removeRows` check. Fixes issues [#1525](https://github.com/Mottie/tablesorter/issues/1525) & [#1466](https://github.com/Mottie/tablesorter/issues/1466).
|
||||
* Filter:
|
||||
* Make `onlyAvail` work with showProcessing. Fixes [issue #1518](https://github.com/Mottie/tablesorter/issues/1518).
|
||||
* Escape quotes in select options. See [issue #1527](https://github.com/Mottie/tablesorter/issues/1527).
|
||||
* Pager:
|
||||
* Change pager `removeRows` check. Fixes issues [#1525](https://github.com/Mottie/tablesorter/issues/1525) & [#1466](https://github.com/Mottie/tablesorter/issues/1466).
|
||||
* Global:
|
||||
* Add editor eslint & fix issues. File versions were not updated for this change!
|
||||
* Editable:
|
||||
* Add nbsp to empty cells. Fixes [issue #1570](https://github.com/Mottie/tablesorter/issues/1570).
|
||||
* Docs:
|
||||
* Update Bootstrap v4.0.0.
|
||||
* Adjust (accordion) link position.
|
||||
* Fix scroller fixed column border alignment.
|
||||
* Add filter `getOptionSource` function. See [issue #671](https://github.com/Mottie/tablesorter/issues/671).
|
||||
* Add built-in parsers demo. See [issue #1571](https://github.com/Mottie/tablesorter/issues/1571).
|
||||
* Pager:
|
||||
* Change default ajaxProcessing function. See [issue #1580](https://github.com/Mottie/tablesorter/issues/1580).
|
||||
* Build:
|
||||
* Update build to UMD wrap widgets, parsers & extras (necessitates a minor version bump).
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* tablesorter (FORK) pager plugin
|
||||
* updated 2018-03-26 (v2.30.2)
|
||||
* updated 2018-08-27 (v2.31.0)
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($) {
|
||||
@ -52,7 +52,7 @@
|
||||
// ],
|
||||
// [ "header1", "header2", ... "headerN" ] // optional
|
||||
// ]
|
||||
ajaxProcessing: function( /* ajax */ ) { return [ 0, [], null ]; },
|
||||
ajaxProcessing: function(data) { return data; },
|
||||
|
||||
// output default: '{page}/{totalPages}'
|
||||
// possible variables: {size}, {page}, {totalPages}, {filteredPages}, {startRow},
|
||||
|
@ -35,8 +35,7 @@ Test out these customization files live
|
||||
Pink hsl(297, 100%, 33%)
|
||||
Purple hsl(257, 51%, 48%)
|
||||
Red hsl(5, 100%, 40%)
|
||||
|
||||
*/
|
||||
*/
|
||||
@headerBackground : hsl(32, 50%, 30%);
|
||||
@borderAndBackground : #cdcdcd;
|
||||
@headerTextColor : #eee;
|
||||
@ -166,9 +165,9 @@ Test out these customization files live
|
||||
padding: @overallPadding;
|
||||
}
|
||||
|
||||
.dark-row th, .dark-row td, caption.dark-row {
|
||||
background-color: darken( @headerBackground, 10% );
|
||||
}
|
||||
.dark-row th, .dark-row td, caption.dark-row {
|
||||
background-color: darken( @headerBackground, 10% );
|
||||
}
|
||||
|
||||
tbody td, tfoot th, tfoot td {
|
||||
padding: @overallPadding;
|
||||
|
@ -117,7 +117,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-blackice > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-blue > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
.caption {
|
||||
.tablesorter-bootstrap > .caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-bootstrap > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@ -185,4 +185,4 @@ caption {
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
background-color: #e6bf99;
|
||||
}
|
||||
}
|
||||
|
@ -106,7 +106,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
.caption {
|
||||
.tablesorter-bootstrap > .caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
.tablesorter-bootstrap:not(.table-dark) .caption {
|
||||
.tablesorter-bootstrap:not(.table-dark) > .caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-dark > caption {
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ Default Theme
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-default > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-dropbox > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-green > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-grey > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -137,7 +137,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-ice > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
.tablesorter-jui caption {
|
||||
.tablesorter-jui > caption {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
.caption {
|
||||
.tablesorter-materialize > .caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
2
dist/css/filter.formatter.min.css
vendored
2
dist/css/filter.formatter.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter .tablesorter-filter-row td{text-align:center;font-size:.9em;font-weight:400}.tablesorter .ui-slider,.tablesorter input.range{width:90%;margin:2px auto 2px auto;font-size:.8em}.tablesorter .ui-slider{top:12px}.tablesorter .ui-slider .ui-slider-handle{width:.9em;height:.9em}.tablesorter .ui-datepicker{font-size:.8em}.tablesorter .ui-slider-horizontal{height:.5em}.tablesorter .value-popup:after{content:attr(data-value);position:absolute;bottom:14px;left:-7px;min-width:18px;height:12px;background-color:#444;background-image:-webkit-gradient(linear,left top,left bottom,from(#444),to(#999));background-image:-webkit-linear-gradient(top,#444,#999);background-image:-moz-linear-gradient(top,#444,#999);background-image:-o-linear-gradient(top,#444,#999);background-image:linear-gradient(to bottom,#444,#999);-webkit-border-radius:3px;border-radius:3px;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 0 4px 0 #777;box-shadow:0 0 4px 0 #777;border:#444 1px solid;color:#fff;font:1em/1.1em Arial,Sans-Serif;padding:1px;text-align:center}.tablesorter .value-popup:before{content:"";position:absolute;width:0;height:0;border-top:8px solid #777;border-left:8px solid transparent;border-right:8px solid transparent;top:-8px;left:50%;margin-left:-8px;margin-top:-1px}.tablesorter .dateFrom,.tablesorter .dateTo{width:80px;margin:2px 5px}.tablesorter .button{width:14px;height:14px;background:#fcfff4;background:-webkit-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-moz-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-o-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-ms-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);margin:1px 5px 1px 1px;-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;-webkit-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);position:relative;top:3px;display:inline-block}.tablesorter .button label{cursor:pointer;position:absolute;width:10px;height:10px;-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;left:2px;top:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);background:#45484d;background:-webkit-linear-gradient(top,#222 0,#45484d 100%);background:-moz-linear-gradient(top,#222 0,#45484d 100%);background:-o-linear-gradient(top,#222 0,#45484d 100%);background:-ms-linear-gradient(top,#222 0,#45484d 100%);background:linear-gradient(top,#222 0,#45484d 100%)}.tablesorter .button label:after{opacity:0;content:'';position:absolute;width:8px;height:8px;background:#55f;background:-webkit-linear-gradient(top,#aaf 0,#55f 100%);background:-moz-linear-gradient(top,#aaf 0,#55f 100%);background:-o-linear-gradient(top,#aaf 0,#55f 100%);background:-ms-linear-gradient(top,#aaf 0,#55f 100%);background:linear-gradient(top,#aaf 0,#55f 100%);-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;top:1px;left:1px;-webkit-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5)}.tablesorter .button label:hover::after{opacity:.3}.tablesorter .button input[type=checkbox]{visibility:hidden}.tablesorter .button input[type=checkbox]:checked+label:after{opacity:1}.tablesorter .colorpicker{width:30px;height:18px}.tablesorter .ui-spinner-input{width:100px;height:18px}.tablesorter .currentColor,.tablesorter .ui-spinner{position:relative}.tablesorter input.number{position:relative}.tablesorter .tablesorter-filter-row.hideme td *{height:1px;min-height:0;border:0;padding:0;margin:0;/* don't use visibility: hidden because it disables tabbing */opacity:0}
|
||||
.tablesorter .tablesorter-filter-row td{text-align:center;font-size:.9em;font-weight:400}.tablesorter .ui-slider,.tablesorter input.range{width:90%;margin:2px auto 2px auto;font-size:.8em}.tablesorter .ui-slider{top:12px}.tablesorter .ui-slider .ui-slider-handle{width:.9em;height:.9em}.tablesorter .ui-datepicker{font-size:.8em}.tablesorter .ui-slider-horizontal{height:.5em}.tablesorter .value-popup:after{content:attr(data-value);position:absolute;bottom:14px;left:-7px;min-width:18px;height:12px;background-color:#444;background-image:-webkit-gradient(linear,left top,left bottom,from(#444),to(#999));background-image:-webkit-linear-gradient(top,#444,#999);background-image:-moz-linear-gradient(top,#444,#999);background-image:-o-linear-gradient(top,#444,#999);background-image:linear-gradient(to bottom,#444,#999);-webkit-border-radius:3px;border-radius:3px;-webkit-background-clip:padding-box;background-clip:padding-box;-webkit-box-shadow:0 0 4px 0 #777;box-shadow:0 0 4px 0 #777;border:#444 1px solid;color:#fff;font:1em/1.1em Arial,Sans-Serif;padding:1px;text-align:center}.tablesorter .value-popup:before{content:"";position:absolute;width:0;height:0;border-top:8px solid #777;border-left:8px solid transparent;border-right:8px solid transparent;top:-8px;left:50%;margin-left:-8px;margin-top:-1px}.tablesorter .dateFrom,.tablesorter .dateTo{width:80px;margin:2px 5px}.tablesorter .button{width:14px;height:14px;background:#fcfff4;background:-webkit-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-moz-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-o-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:-ms-linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);background:linear-gradient(top,#fcfff4 0,#dfe5d7 40%,#b3bead 100%);margin:1px 5px 1px 1px;-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;-webkit-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);position:relative;top:3px;display:inline-block}.tablesorter .button label{cursor:pointer;position:absolute;width:10px;height:10px;-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;left:2px;top:2px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,1);background:#45484d;background:-webkit-linear-gradient(top,#222 0,#45484d 100%);background:-moz-linear-gradient(top,#222 0,#45484d 100%);background:-o-linear-gradient(top,#222 0,#45484d 100%);background:-ms-linear-gradient(top,#222 0,#45484d 100%);background:linear-gradient(top,#222 0,#45484d 100%)}.tablesorter .button label:after{opacity:0;content:'';position:absolute;width:8px;height:8px;background:#55f;background:-webkit-linear-gradient(top,#aaf 0,#55f 100%);background:-moz-linear-gradient(top,#aaf 0,#55f 100%);background:-o-linear-gradient(top,#aaf 0,#55f 100%);background:-ms-linear-gradient(top,#aaf 0,#55f 100%);background:linear-gradient(top,#aaf 0,#55f 100%);-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;top:1px;left:1px;-webkit-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5);box-shadow:inset 0 1px 1px #fff,0 1px 3px rgba(0,0,0,.5)}.tablesorter .button label:hover::after{opacity:.3}.tablesorter .button input[type=checkbox]{visibility:hidden}.tablesorter .button input[type=checkbox]:checked+label:after{opacity:1}.tablesorter .colorpicker{width:30px;height:18px}.tablesorter .ui-spinner-input{width:100px;height:18px}.tablesorter .currentColor,.tablesorter .ui-spinner{position:relative}.tablesorter input.number{position:relative}.tablesorter .tablesorter-filter-row.hideme td *{height:1px;min-height:0;border:0;padding:0;margin:0;opacity:0}
|
2
dist/css/jquery.tablesorter.pager.min.css
vendored
2
dist/css/jquery.tablesorter.pager.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter-pager{padding:5px}td.tablesorter-pager{background-color:#e6eeee;margin:0}.tablesorter-pager img{vertical-align:middle;margin-right:2px;cursor:pointer}.tablesorter-pager .pagedisplay{padding:0 5px 0 5px;width:auto;white-space:nowrap;text-align:center}.tablesorter-pager select{margin:0;padding:0}.tablesorter-pager.disabled{display:none}.tablesorter-pager .disabled{/* visibility: hidden */opacity:.5;cursor:default}
|
||||
.tablesorter-pager{padding:5px}td.tablesorter-pager{background-color:#e6eeee;margin:0}.tablesorter-pager img{vertical-align:middle;margin-right:2px;cursor:pointer}.tablesorter-pager .pagedisplay{padding:0 5px 0 5px;width:auto;white-space:nowrap;text-align:center}.tablesorter-pager select{margin:0;padding:0}.tablesorter-pager.disabled{display:none}.tablesorter-pager .disabled{opacity:.5;cursor:default}
|
9
dist/css/less/metro.less
vendored
9
dist/css/less/metro.less
vendored
@ -35,8 +35,7 @@ Test out these customization files live
|
||||
Pink hsl(297, 100%, 33%)
|
||||
Purple hsl(257, 51%, 48%)
|
||||
Red hsl(5, 100%, 40%)
|
||||
|
||||
*/
|
||||
*/
|
||||
@headerBackground : hsl(32, 50%, 30%);
|
||||
@borderAndBackground : #cdcdcd;
|
||||
@headerTextColor : #eee;
|
||||
@ -166,9 +165,9 @@ Test out these customization files live
|
||||
padding: @overallPadding;
|
||||
}
|
||||
|
||||
.dark-row th, .dark-row td, caption.dark-row {
|
||||
background-color: darken( @headerBackground, 10% );
|
||||
}
|
||||
.dark-row th, .dark-row td, caption.dark-row {
|
||||
background-color: darken( @headerBackground, 10% );
|
||||
}
|
||||
|
||||
tbody td, tfoot th, tfoot td {
|
||||
padding: @overallPadding;
|
||||
|
2
dist/css/theme.blackice.min.css
vendored
2
dist/css/theme.blackice.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter-blackice{width:100%;margin-right:auto;margin-left:auto;font:11px/18px Arial,Sans-serif;text-align:left;background-color:#000;border-collapse:collapse;border-spacing:0}.tablesorter-blackice th,.tablesorter-blackice thead td{padding:4px;font:13px/20px Arial,Sans-serif;font-weight:700;color:#e5e5e5;text-align:left;text-shadow:0 1px 0 rgba(0,0,0,.7);background-color:#111;border:1px solid #232323}.tablesorter-blackice .header,.tablesorter-blackice .tablesorter-header{padding:4px 20px 4px 4px;cursor:pointer;background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat}.tablesorter-blackice .headerSortUp,.tablesorter-blackice .tablesorter-headerAsc,.tablesorter-blackice .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);color:#fff}.tablesorter-blackice .headerSortDown,.tablesorter-blackice .tablesorter-headerDesc,.tablesorter-blackice .tablesorter-headerSortDown{color:#fff;background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7)}.tablesorter-blackice thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-blackice tfoot .tablesorter-headerAsc,.tablesorter-blackice tfoot .tablesorter-headerDesc,.tablesorter-blackice tfoot .tablesorter-headerSortDown,.tablesorter-blackice tfoot .tablesorter-headerSortUp{background-image:none}.tablesorter-blackice td{padding:4px;color:#ccc;vertical-align:top;background-color:#333;border:1px solid #232323}.tablesorter-blackice tbody>tr.even:hover>td,.tablesorter-blackice tbody>tr.hover>td,.tablesorter-blackice tbody>tr.odd:hover>td,.tablesorter-blackice tbody>tr:hover>td{background-color:#000}.tablesorter-blackice .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-blackice tr.odd>td{background-color:#333}.tablesorter-blackice tr.even>td{background-color:#393939}.tablesorter-blackice td.primary,.tablesorter-blackice tr.odd td.primary{background-color:#2f3a40}.tablesorter-blackice tr.even td.primary{background-color:#3f4a50}.tablesorter-blackice td.secondary,.tablesorter-blackice tr.odd td.secondary{background-color:#3f4a50}.tablesorter-blackice tr.even td.secondary{background-color:#4f5a60}.tablesorter-blackice td.tertiary,.tablesorter-blackice tr.odd td.tertiary{background-color:#4f5a60}.tablesorter-blackice tr.even td.tertiary{background-color:#5a646b}caption{background-color:#fff}.tablesorter-blackice .tablesorter-filter-row{background-color:#222}.tablesorter-blackice .tablesorter-filter-row td{background-color:#222;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-blackice .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-blackice .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-blackice .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;/* don't use visibility: hidden because it disables tabbing */opacity:0}.tablesorter-blackice input.tablesorter-filter,.tablesorter-blackice select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
||||
.tablesorter-blackice{width:100%;margin-right:auto;margin-left:auto;font:11px/18px Arial,Sans-serif;text-align:left;background-color:#000;border-collapse:collapse;border-spacing:0}.tablesorter-blackice th,.tablesorter-blackice thead td{padding:4px;font:13px/20px Arial,Sans-serif;font-weight:700;color:#e5e5e5;text-align:left;text-shadow:0 1px 0 rgba(0,0,0,.7);background-color:#111;border:1px solid #232323}.tablesorter-blackice .header,.tablesorter-blackice .tablesorter-header{padding:4px 20px 4px 4px;cursor:pointer;background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat}.tablesorter-blackice .headerSortUp,.tablesorter-blackice .tablesorter-headerAsc,.tablesorter-blackice .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);color:#fff}.tablesorter-blackice .headerSortDown,.tablesorter-blackice .tablesorter-headerDesc,.tablesorter-blackice .tablesorter-headerSortDown{color:#fff;background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7)}.tablesorter-blackice thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-blackice tfoot .tablesorter-headerAsc,.tablesorter-blackice tfoot .tablesorter-headerDesc,.tablesorter-blackice tfoot .tablesorter-headerSortDown,.tablesorter-blackice tfoot .tablesorter-headerSortUp{background-image:none}.tablesorter-blackice td{padding:4px;color:#ccc;vertical-align:top;background-color:#333;border:1px solid #232323}.tablesorter-blackice tbody>tr.even:hover>td,.tablesorter-blackice tbody>tr.hover>td,.tablesorter-blackice tbody>tr.odd:hover>td,.tablesorter-blackice tbody>tr:hover>td{background-color:#000}.tablesorter-blackice .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-blackice tr.odd>td{background-color:#333}.tablesorter-blackice tr.even>td{background-color:#393939}.tablesorter-blackice td.primary,.tablesorter-blackice tr.odd td.primary{background-color:#2f3a40}.tablesorter-blackice tr.even td.primary{background-color:#3f4a50}.tablesorter-blackice td.secondary,.tablesorter-blackice tr.odd td.secondary{background-color:#3f4a50}.tablesorter-blackice tr.even td.secondary{background-color:#4f5a60}.tablesorter-blackice td.tertiary,.tablesorter-blackice tr.odd td.tertiary{background-color:#4f5a60}.tablesorter-blackice tr.even td.tertiary{background-color:#5a646b}.tablesorter-blackice>caption{background-color:#fff}.tablesorter-blackice .tablesorter-filter-row{background-color:#222}.tablesorter-blackice .tablesorter-filter-row td{background-color:#222;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-blackice .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-blackice .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-blackice .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;opacity:0}.tablesorter-blackice input.tablesorter-filter,.tablesorter-blackice select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
2
dist/css/theme.blue.css
vendored
2
dist/css/theme.blue.css
vendored
@ -154,7 +154,7 @@
|
||||
}
|
||||
|
||||
/* caption */
|
||||
caption {
|
||||
.tablesorter-blue > caption {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
2
dist/css/theme.blue.min.css
vendored
2
dist/css/theme.blue.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.bootstrap.min.css
vendored
2
dist/css/theme.bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.bootstrap_2.min.css
vendored
2
dist/css/theme.bootstrap_2.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.bootstrap_3.min.css
vendored
2
dist/css/theme.bootstrap_3.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.bootstrap_4.min.css
vendored
2
dist/css/theme.bootstrap_4.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.dark.min.css
vendored
2
dist/css/theme.dark.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter-dark{width:100%;font:11px/18px Arial,Sans-serif;color:#ccc;text-align:left;background-color:#000;border-spacing:0}.tablesorter-dark th,.tablesorter-dark thead td{padding:4px;font:12px/20px Arial,Sans-serif;font-weight:700;color:#fff;background-color:#000;border-collapse:collapse}.tablesorter-dark thead th{border-bottom:#333 2px solid}.tablesorter-dark .header,.tablesorter-dark .tablesorter-header{padding:4px 20px 4px 4px;cursor:pointer;background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat}.tablesorter-dark thead .headerSortUp,.tablesorter-dark thead .tablesorter-headerAsc,.tablesorter-dark thead .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);border-bottom:#888 1px solid}.tablesorter-dark thead .headerSortDown,.tablesorter-dark thead .tablesorter-headerDesc,.tablesorter-dark thead .tablesorter-headerSortDown{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);border-bottom:#888 1px solid}.tablesorter-dark thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-dark tfoot .tablesorter-headerAsc,.tablesorter-dark tfoot .tablesorter-headerDesc,.tablesorter-dark tfoot .tablesorter-headerSortDown,.tablesorter-dark tfoot .tablesorter-headerSortUp{border-top:#888 1px solid;background-image:none}.tablesorter-dark td{padding:4px;background-color:#000;border-bottom:#333 1px solid;color:#ccc}.tablesorter-dark tbody>tr.even:hover>td,.tablesorter-dark tbody>tr.hover>td,.tablesorter-dark tbody>tr.odd:hover>td,.tablesorter-dark tbody>tr:hover>td{background-color:#000}.tablesorter-dark .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-dark tr.odd>td{background-color:#202020}.tablesorter-dark tr.even>td{background-color:#101010}.tablesorter-dark td.primary,.tablesorter-dark tr.odd td.primary{background-color:#0a0a0a}.tablesorter-dark tr.even td.primary{background-color:#050505}.tablesorter-dark td.secondary,.tablesorter-dark tr.odd td.secondary{background-color:#0f0f0f}.tablesorter-dark tr.even td.secondary{background-color:#0a0a0a}.tablesorter-dark td.tertiary,.tablesorter-dark tr.odd td.tertiary{background-color:#191919}.tablesorter-dark tr.even td.tertiary{background-color:#0f0f0f}caption{background-color:#202020}.tablesorter-dark .tablesorter-filter-row{background-color:#202020}.tablesorter-dark .tablesorter-filter-row td{background-color:#202020;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-dark .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-dark .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-dark .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;/* don't use visibility: hidden because it disables tabbing */opacity:0}.tablesorter-dark input.tablesorter-filter,.tablesorter-dark select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#111;border:1px solid #222;color:#ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
||||
.tablesorter-dark{width:100%;font:11px/18px Arial,Sans-serif;color:#ccc;text-align:left;background-color:#000;border-spacing:0}.tablesorter-dark th,.tablesorter-dark thead td{padding:4px;font:12px/20px Arial,Sans-serif;font-weight:700;color:#fff;background-color:#000;border-collapse:collapse}.tablesorter-dark thead th{border-bottom:#333 2px solid}.tablesorter-dark .header,.tablesorter-dark .tablesorter-header{padding:4px 20px 4px 4px;cursor:pointer;background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAAP///////yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat}.tablesorter-dark thead .headerSortUp,.tablesorter-dark thead .tablesorter-headerAsc,.tablesorter-dark thead .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);border-bottom:#888 1px solid}.tablesorter-dark thead .headerSortDown,.tablesorter-dark thead .tablesorter-headerDesc,.tablesorter-dark thead .tablesorter-headerSortDown{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAAP///////yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);border-bottom:#888 1px solid}.tablesorter-dark thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-dark tfoot .tablesorter-headerAsc,.tablesorter-dark tfoot .tablesorter-headerDesc,.tablesorter-dark tfoot .tablesorter-headerSortDown,.tablesorter-dark tfoot .tablesorter-headerSortUp{border-top:#888 1px solid;background-image:none}.tablesorter-dark td{padding:4px;background-color:#000;border-bottom:#333 1px solid;color:#ccc}.tablesorter-dark tbody>tr.even:hover>td,.tablesorter-dark tbody>tr.hover>td,.tablesorter-dark tbody>tr.odd:hover>td,.tablesorter-dark tbody>tr:hover>td{background-color:#000}.tablesorter-dark .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-dark tr.odd>td{background-color:#202020}.tablesorter-dark tr.even>td{background-color:#101010}.tablesorter-dark td.primary,.tablesorter-dark tr.odd td.primary{background-color:#0a0a0a}.tablesorter-dark tr.even td.primary{background-color:#050505}.tablesorter-dark td.secondary,.tablesorter-dark tr.odd td.secondary{background-color:#0f0f0f}.tablesorter-dark tr.even td.secondary{background-color:#0a0a0a}.tablesorter-dark td.tertiary,.tablesorter-dark tr.odd td.tertiary{background-color:#191919}.tablesorter-dark tr.even td.tertiary{background-color:#0f0f0f}.tablesorter-dark>caption{background-color:#202020}.tablesorter-dark .tablesorter-filter-row{background-color:#202020}.tablesorter-dark .tablesorter-filter-row td{background-color:#202020;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-dark .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-dark .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-dark .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;opacity:0}.tablesorter-dark input.tablesorter-filter,.tablesorter-dark select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#111;border:1px solid #222;color:#ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
2
dist/css/theme.default.min.css
vendored
2
dist/css/theme.default.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter-default{width:100%;font:12px/18px Arial,Sans-serif;color:#333;background-color:#fff;border-spacing:0;margin:10px 0 15px;text-align:left}.tablesorter-default th,.tablesorter-default thead td{font-weight:700;color:#000;background-color:#fff;border-collapse:collapse;border-bottom:#ccc 2px solid;padding:0}.tablesorter-default tfoot td,.tablesorter-default tfoot th{border:0}.tablesorter-default .header,.tablesorter-default .tablesorter-header{background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat;cursor:pointer;white-space:normal;padding:4px 20px 4px 4px}.tablesorter-default thead .headerSortUp,.tablesorter-default thead .tablesorter-headerAsc,.tablesorter-default thead .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);border-bottom:#000 2px solid}.tablesorter-default thead .headerSortDown,.tablesorter-default thead .tablesorter-headerDesc,.tablesorter-default thead .tablesorter-headerSortDown{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);border-bottom:#000 2px solid}.tablesorter-default thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-default tfoot .tablesorter-headerAsc,.tablesorter-default tfoot .tablesorter-headerDesc,.tablesorter-default tfoot .tablesorter-headerSortDown,.tablesorter-default tfoot .tablesorter-headerSortUp{border-top:#000 2px solid}.tablesorter-default td{background-color:#fff;border-bottom:#ccc 1px solid;padding:4px;vertical-align:top}.tablesorter-default tbody>tr.even:hover>td,.tablesorter-default tbody>tr.hover>td,.tablesorter-default tbody>tr.odd:hover>td,.tablesorter-default tbody>tr:hover>td{background-color:#fff;color:#000}.tablesorter-default .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-default tr.odd>td{background-color:#dfdfdf}.tablesorter-default tr.even>td{background-color:#efefef}.tablesorter-default tr.odd td.primary{background-color:#bfbfbf}.tablesorter-default td.primary,.tablesorter-default tr.even td.primary{background-color:#d9d9d9}.tablesorter-default tr.odd td.secondary{background-color:#d9d9d9}.tablesorter-default td.secondary,.tablesorter-default tr.even td.secondary{background-color:#e6e6e6}.tablesorter-default tr.odd td.tertiary{background-color:#e6e6e6}.tablesorter-default td.tertiary,.tablesorter-default tr.even td.tertiary{background-color:#f2f2f2}caption{background-color:#fff}.tablesorter-default .tablesorter-filter-row{background-color:#eee}.tablesorter-default .tablesorter-filter-row td{background-color:#eee;border-bottom:#ccc 1px solid;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-default .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-default .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-default .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;/* don't use visibility: hidden because it disables tabbing */opacity:0}.tablesorter-default input.tablesorter-filter,.tablesorter-default select.tablesorter-filter{width:95%;height:auto;margin:4px auto;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
||||
.tablesorter-default{width:100%;font:12px/18px Arial,Sans-serif;color:#333;background-color:#fff;border-spacing:0;margin:10px 0 15px;text-align:left}.tablesorter-default th,.tablesorter-default thead td{font-weight:700;color:#000;background-color:#fff;border-collapse:collapse;border-bottom:#ccc 2px solid;padding:0}.tablesorter-default tfoot td,.tablesorter-default tfoot th{border:0}.tablesorter-default .header,.tablesorter-default .tablesorter-header{background-image:url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);background-position:center right;background-repeat:no-repeat;cursor:pointer;white-space:normal;padding:4px 20px 4px 4px}.tablesorter-default thead .headerSortUp,.tablesorter-default thead .tablesorter-headerAsc,.tablesorter-default thead .tablesorter-headerSortUp{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);border-bottom:#000 2px solid}.tablesorter-default thead .headerSortDown,.tablesorter-default thead .tablesorter-headerDesc,.tablesorter-default thead .tablesorter-headerSortDown{background-image:url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);border-bottom:#000 2px solid}.tablesorter-default thead .sorter-false{background-image:none;cursor:default;padding:4px}.tablesorter-default tfoot .tablesorter-headerAsc,.tablesorter-default tfoot .tablesorter-headerDesc,.tablesorter-default tfoot .tablesorter-headerSortDown,.tablesorter-default tfoot .tablesorter-headerSortUp{border-top:#000 2px solid}.tablesorter-default td{background-color:#fff;border-bottom:#ccc 1px solid;padding:4px;vertical-align:top}.tablesorter-default tbody>tr.even:hover>td,.tablesorter-default tbody>tr.hover>td,.tablesorter-default tbody>tr.odd:hover>td,.tablesorter-default tbody>tr:hover>td{background-color:#fff;color:#000}.tablesorter-default .tablesorter-processing{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-default tr.odd>td{background-color:#dfdfdf}.tablesorter-default tr.even>td{background-color:#efefef}.tablesorter-default tr.odd td.primary{background-color:#bfbfbf}.tablesorter-default td.primary,.tablesorter-default tr.even td.primary{background-color:#d9d9d9}.tablesorter-default tr.odd td.secondary{background-color:#d9d9d9}.tablesorter-default td.secondary,.tablesorter-default tr.even td.secondary{background-color:#e6e6e6}.tablesorter-default tr.odd td.tertiary{background-color:#e6e6e6}.tablesorter-default td.tertiary,.tablesorter-default tr.even td.tertiary{background-color:#f2f2f2}.tablesorter-default>caption{background-color:#fff}.tablesorter-default .tablesorter-filter-row{background-color:#eee}.tablesorter-default .tablesorter-filter-row td{background-color:#eee;border-bottom:#ccc 1px solid;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-default .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-default .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-default .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;opacity:0}.tablesorter-default input.tablesorter-filter,.tablesorter-default select.tablesorter-filter{width:95%;height:auto;margin:4px auto;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
2
dist/css/theme.dropbox.min.css
vendored
2
dist/css/theme.dropbox.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.green.min.css
vendored
2
dist/css/theme.green.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.grey.min.css
vendored
2
dist/css/theme.grey.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.ice.min.css
vendored
2
dist/css/theme.ice.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.jui.min.css
vendored
2
dist/css/theme.jui.min.css
vendored
@ -1 +1 @@
|
||||
.tablesorter-jui{width:100%;border-collapse:separate;border-spacing:2px;margin:10px 0 15px;padding:5px;font-size:.8em}.tablesorter-jui tfoot td,.tablesorter-jui tfoot th,.tablesorter-jui thead td,.tablesorter-jui thead th{position:relative;background-repeat:no-repeat;background-position:right center;font-weight:700!important;border-width:1px!important;text-align:left;padding:8px}.tablesorter-jui .header,.tablesorter-jui .tablesorter-header{cursor:pointer;white-space:normal}.tablesorter-jui .tablesorter-header-inner{padding-right:20px}.tablesorter-jui thead tr th .ui-icon{position:absolute;right:3px;top:50%;margin-top:-8px}.tablesorter-jui thead .sorter-false{cursor:default}.tablesorter-jui thead tr .sorter-false .ui-icon{display:none}.tablesorter-jui tfoot td,.tablesorter-jui tfoot th{font-weight:400!important;font-size:.9em;padding:2px}.tablesorter-jui td{padding:4px;vertical-align:top}.tablesorter-jui tbody>tr.hover>td,.tablesorter-jui tbody>tr:hover>td{opacity:.7}.tablesorter-jui .tablesorter-processing .tablesorter-header-inner{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-jui tr.ui-state-default{background-image:none;font-weight:400}.tablesorter-jui .tablesorter-processing{background-color:#ddd;background-color:rgba(255,255,255,.8)}.tablesorter-jui caption{border:0}.tablesorter-jui .tablesorter-filter-row{background-color:transparent}.tablesorter-jui .tablesorter-filter-row td{background-color:transparent;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-jui .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-jui .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-jui .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;/* don't use visibility: hidden because it disables tabbing */opacity:0}.tablesorter-jui input.tablesorter-filter,.tablesorter-jui select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
||||
.tablesorter-jui{width:100%;border-collapse:separate;border-spacing:2px;margin:10px 0 15px;padding:5px;font-size:.8em}.tablesorter-jui tfoot td,.tablesorter-jui tfoot th,.tablesorter-jui thead td,.tablesorter-jui thead th{position:relative;background-repeat:no-repeat;background-position:right center;font-weight:700!important;border-width:1px!important;text-align:left;padding:8px}.tablesorter-jui .header,.tablesorter-jui .tablesorter-header{cursor:pointer;white-space:normal}.tablesorter-jui .tablesorter-header-inner{padding-right:20px}.tablesorter-jui thead tr th .ui-icon{position:absolute;right:3px;top:50%;margin-top:-8px}.tablesorter-jui thead .sorter-false{cursor:default}.tablesorter-jui thead tr .sorter-false .ui-icon{display:none}.tablesorter-jui tfoot td,.tablesorter-jui tfoot th{font-weight:400!important;font-size:.9em;padding:2px}.tablesorter-jui td{padding:4px;vertical-align:top}.tablesorter-jui tbody>tr.hover>td,.tablesorter-jui tbody>tr:hover>td{opacity:.7}.tablesorter-jui .tablesorter-processing .tablesorter-header-inner{background-position:center center!important;background-repeat:no-repeat!important;background-image:url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=)!important}.tablesorter-jui tr.ui-state-default{background-image:none;font-weight:400}.tablesorter-jui .tablesorter-processing{background-color:#ddd;background-color:rgba(255,255,255,.8)}.tablesorter-jui>caption{border:0}.tablesorter-jui .tablesorter-filter-row{background-color:transparent}.tablesorter-jui .tablesorter-filter-row td{background-color:transparent;line-height:normal;text-align:center;-webkit-transition:line-height .1s ease;-moz-transition:line-height .1s ease;-o-transition:line-height .1s ease;transition:line-height .1s ease}.tablesorter-jui .tablesorter-filter-row .disabled{opacity:.5;cursor:not-allowed}.tablesorter-jui .tablesorter-filter-row.hideme td{padding:2px;margin:0;line-height:0;cursor:pointer}.tablesorter-jui .tablesorter-filter-row.hideme *{height:1px;min-height:0;border:0;padding:0;margin:0;opacity:0}.tablesorter-jui input.tablesorter-filter,.tablesorter-jui select.tablesorter-filter{width:98%;height:auto;margin:0;padding:4px;background-color:#fff;border:1px solid #bbb;color:#333;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:height .1s ease;-moz-transition:height .1s ease;-o-transition:height .1s ease;transition:height .1s ease}.tablesorter .filtered{display:none}.tablesorter .tablesorter-errorRow td{text-align:center;cursor:pointer;background-color:#e6bf99}
|
2
dist/css/theme.materialize.min.css
vendored
2
dist/css/theme.materialize.min.css
vendored
File diff suppressed because one or more lines are too long
2
dist/css/theme.metro-dark.min.css
vendored
2
dist/css/theme.metro-dark.min.css
vendored
File diff suppressed because one or more lines are too long
7
dist/js/extras/jquery.dragtable.mod.min.js
vendored
7
dist/js/extras/jquery.dragtable.mod.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/extras/jquery.metadata.min.js
vendored
4
dist/js/extras/jquery.metadata.min.js
vendored
@ -1 +1,3 @@
|
||||
!function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/(\{.*\})/,single:"metadata"},setType:function(t,e){this.defaults.type=t,this.defaults.name=e},get:function(elem,opts){var data,m,e,attr,settings=$.extend({},this.defaults,opts);if(settings.single.length||(settings.single="metadata"),data=$.data(elem,settings.single))return data;if(data="{}","class"===settings.type)(m=settings.cre.exec(elem.className))&&(data=m[1]);else if("elem"===settings.type){if(!elem.getElementsByTagName)return;e=elem.getElementsByTagName(settings.name),e.length&&(data=$.trim(e[0].innerHTML))}else void 0!==elem.getAttribute&&(attr=elem.getAttribute(settings.name))&&(data=attr);return data.indexOf("{")<0&&(data="{"+data+"}"),data=eval("("+data+")"),$.data(elem,settings.single,data),data}}}),$.fn.metadata=function(t){return $.metadata.get(this[0],t)}}(jQuery);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
!function($){$.extend({metadata:{defaults:{type:"class",name:"metadata",cre:/(\{.*\})/,single:"metadata"},setType:function(t,e){this.defaults.type=t,this.defaults.name=e},get:function(elem,opts){var data,m,e,attr,settings=$.extend({},this.defaults,opts);if(settings.single.length||(settings.single="metadata"),data=$.data(elem,settings.single),data)return data;if(data="{}","class"===settings.type)m=settings.cre.exec(elem.className),m&&(data=m[1]);else if("elem"===settings.type){if(!elem.getElementsByTagName)return;e=elem.getElementsByTagName(settings.name),e.length&&(data=$.trim(e[0].innerHTML))}else void 0!==elem.getAttribute&&(attr=elem.getAttribute(settings.name),attr&&(data=attr));return data.indexOf("{")<0&&(data="{"+data+"}"),data=eval("("+data+")"),$.data(elem,settings.single,data),data}}}),$.fn.metadata=function(t){return $.metadata.get(this[0],t)}}(jQuery);return jQuery;}));
|
||||
|
File diff suppressed because one or more lines are too long
2
dist/js/extras/semver-mod.min.js
vendored
2
dist/js/extras/semver-mod.min.js
vendored
File diff suppressed because one or more lines are too long
93
dist/js/jquery.tablesorter.combined.js
vendored
93
dist/js/jquery.tablesorter.combined.js
vendored
@ -1,16 +1,7 @@
|
||||
/*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
|
||||
/*! tablesorter (FORK) - updated 2019-12-01 (v2.31.2)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
factory(jQuery);
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
/*! TableSorter (FORK) v2.30.3 *//*
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery) {
|
||||
/*! TableSorter (FORK) v2.31.2 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +25,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.30.3',
|
||||
version : '2.31.2',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
@ -331,6 +322,8 @@
|
||||
ts.applyWidget( table, true );
|
||||
// if user has supplied a sort list to constructor
|
||||
if ( c.sortList.length > 0 ) {
|
||||
// save sortList before any sortAppend is added
|
||||
c.last.sortList = c.sortList;
|
||||
ts.sortOn( c, c.sortList, {}, !c.initWidgets );
|
||||
} else {
|
||||
ts.setHeadersCss( c );
|
||||
@ -518,10 +511,13 @@
|
||||
return;
|
||||
}
|
||||
downTarget = null;
|
||||
$cell = ts.getClosest( $( this ), '.' + ts.css.header );
|
||||
// prevent sort being triggered on form elements
|
||||
if ( ts.regex.formElements.test( e.target.nodeName ) ||
|
||||
// nosort class name, or elements within a nosort container
|
||||
$target.hasClass( c.cssNoSort ) || $target.parents( '.' + c.cssNoSort ).length > 0 ||
|
||||
// disabled cell directly clicked
|
||||
$cell.hasClass( 'sorter-false' ) ||
|
||||
// elements within a button
|
||||
$target.parents( 'button' ).length > 0 ) {
|
||||
return !c.cancelSelection;
|
||||
@ -529,10 +525,9 @@
|
||||
if ( c.delayInit && ts.isEmptyObject( c.cache ) ) {
|
||||
ts.buildCache( c );
|
||||
}
|
||||
$cell = ts.getClosest( $( this ), '.' + ts.css.header );
|
||||
// use column index from data-attribute or index of current row; fixes #1116
|
||||
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ];
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ][0];
|
||||
if ( cell && !cell.sortDisabled ) {
|
||||
ts.initSort( c, cell, e );
|
||||
}
|
||||
@ -603,10 +598,11 @@
|
||||
// this may get updated numerous times if there are multiple rows
|
||||
c.sortVars[ column ] = {
|
||||
count : -1, // set to -1 because clicking on the header automatically adds one
|
||||
order: tmp ?
|
||||
order : tmp ?
|
||||
( c.sortReset ? [ 1, 0, 2 ] : [ 1, 0 ] ) : // desc, asc, unsorted
|
||||
( c.sortReset ? [ 0, 1, 2 ] : [ 0, 1 ] ), // asc, desc, unsorted
|
||||
lockedOrder : false
|
||||
lockedOrder : false,
|
||||
sortedBy : ''
|
||||
};
|
||||
tmp = ts.getData( $elem, configHeaders, 'lockedOrder' ) || false;
|
||||
if ( typeof tmp !== 'undefined' && tmp !== false ) {
|
||||
@ -1206,6 +1202,11 @@
|
||||
txt += ts.language[ nextSort === 0 ? 'nextAsc' : nextSort === 1 ? 'nextDesc' : 'nextNone' ];
|
||||
}
|
||||
$header.attr( 'aria-label', txt );
|
||||
if (vars.sortedBy) {
|
||||
$header.attr( 'data-sortedBy', vars.sortedBy );
|
||||
} else {
|
||||
$header.removeAttr('data-sortedBy');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -1560,6 +1561,7 @@
|
||||
len = c.$headers.length,
|
||||
th = ts.getClosest( $( cell ), 'th, td' ),
|
||||
col = parseInt( th.attr( 'data-column' ), 10 ),
|
||||
sortedBy = event.type === 'mouseup' ? 'user' : event.type,
|
||||
order = c.sortVars[ col ].order;
|
||||
th = th[0];
|
||||
// Only call sortStart if sorting is enabled
|
||||
@ -1580,6 +1582,9 @@
|
||||
}
|
||||
// user only wants to sort on one column
|
||||
if ( notMultiSort ) {
|
||||
$.each( c.sortVars, function( i ) {
|
||||
c.sortVars[ i ].sortedBy = '';
|
||||
});
|
||||
// flush the sort list
|
||||
c.sortList = [];
|
||||
c.last.sortList = [];
|
||||
@ -1588,6 +1593,7 @@
|
||||
for ( indx = 0; indx < arry.length; indx++ ) {
|
||||
if ( arry[ indx ][ 0 ] !== col ) {
|
||||
c.sortList[ c.sortList.length ] = arry[ indx ];
|
||||
c.sortVars[ arry[ indx ][ 0 ] ].sortedBy = 'sortForce';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1595,12 +1601,14 @@
|
||||
dir = order[ c.sortVars[ col ].count ];
|
||||
if ( dir < 2 ) {
|
||||
c.sortList[ c.sortList.length ] = [ col, dir ];
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
// add other columns if header spans across multiple
|
||||
if ( th.colSpan > 1 ) {
|
||||
for ( indx = 1; indx < th.colSpan; indx++ ) {
|
||||
c.sortList[ c.sortList.length ] = [ col + indx, dir ];
|
||||
// update count on columns in colSpan
|
||||
c.sortVars[ col + indx ].count = $.inArray( dir, order );
|
||||
c.sortVars[ col + indx ].sortedBy = sortedBy;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1612,6 +1620,7 @@
|
||||
// the user has clicked on an already sorted column
|
||||
if ( ts.isValueInArray( col, c.sortList ) >= 0 ) {
|
||||
// reverse the sorting direction
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
for ( indx = 0; indx < c.sortList.length; indx++ ) {
|
||||
tmp = c.sortList[ indx ];
|
||||
if ( tmp[ 0 ] === col ) {
|
||||
@ -1626,6 +1635,7 @@
|
||||
} else {
|
||||
// add column to sort list array
|
||||
dir = order[ c.sortVars[ col ].count ];
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
if ( dir < 2 ) {
|
||||
c.sortList[ c.sortList.length ] = [ col, dir ];
|
||||
// add other columns if header spans across multiple
|
||||
@ -1634,6 +1644,7 @@
|
||||
c.sortList[ c.sortList.length ] = [ col + indx, dir ];
|
||||
// update count on columns in colSpan
|
||||
c.sortVars[ col + indx ].count = $.inArray( dir, order );
|
||||
c.sortVars[ col + indx ].sortedBy = sortedBy;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1669,6 +1680,7 @@
|
||||
}
|
||||
}
|
||||
c.sortList[ c.sortList.length ] = [ arry[ indx ][ 0 ], dir ];
|
||||
c.sortVars[ arry[ indx ][ 0 ] ].sortedBy = 'sortAppend';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1754,7 +1766,7 @@
|
||||
sort = sorter[ col ]( x[ col ], y[ col ], dir, col, table );
|
||||
} else {
|
||||
// fall back to natural sort
|
||||
sort = ts[ 'sortNatural' + ( dir ? 'Asc' : 'Desc' ) ]( a[ col ], b[ col ], col, c );
|
||||
sort = ts[ 'sortNatural' + ( dir ? 'Asc' : 'Desc' ) ]( a[ col ] || '', b[ col ] || '', col, c );
|
||||
}
|
||||
}
|
||||
if ( sort ) { return sort; }
|
||||
@ -1800,8 +1812,12 @@
|
||||
},
|
||||
|
||||
sortOn : function( c, list, callback, init ) {
|
||||
var table = c.table;
|
||||
var indx,
|
||||
table = c.table;
|
||||
c.$table.triggerHandler( 'sortStart', table );
|
||||
for (indx = 0; indx < c.columns; indx++) {
|
||||
c.sortVars[ indx ].sortedBy = ts.isValueInArray( indx, list ) > -1 ? 'sorton' : '';
|
||||
}
|
||||
// update header count index
|
||||
ts.updateHeaderSortCount( c, list );
|
||||
// set css for headers
|
||||
@ -1824,13 +1840,14 @@
|
||||
|
||||
sortReset : function( c, callback ) {
|
||||
c.sortList = [];
|
||||
ts.setHeadersCss( c );
|
||||
ts.multisort( c );
|
||||
ts.appendCache( c );
|
||||
var indx;
|
||||
for (indx = 0; indx < c.columns; indx++) {
|
||||
c.sortVars[ indx ].count = -1;
|
||||
c.sortVars[ indx ].sortedBy = '';
|
||||
}
|
||||
ts.setHeadersCss( c );
|
||||
ts.multisort( c );
|
||||
ts.appendCache( c );
|
||||
if ( $.isFunction( callback ) ) {
|
||||
callback( c.table );
|
||||
}
|
||||
@ -1848,20 +1865,20 @@
|
||||
// Natural sort - https://github.com/overset/javascript-natural-sort (date sorting removed)
|
||||
sortNatural : function( a, b ) {
|
||||
if ( a === b ) { return 0; }
|
||||
a = a.toString();
|
||||
b = b.toString();
|
||||
a = ( a || '' ).toString();
|
||||
b = ( b || '' ).toString();
|
||||
var aNum, bNum, aFloat, bFloat, indx, max,
|
||||
regex = ts.regex;
|
||||
// first try and sort Hex codes
|
||||
if ( regex.hex.test( b ) ) {
|
||||
aNum = parseInt( ( a || '' ).match( regex.hex ), 16 );
|
||||
bNum = parseInt( ( b || '' ).match( regex.hex ), 16 );
|
||||
aNum = parseInt( a.match( regex.hex ), 16 );
|
||||
bNum = parseInt( b.match( regex.hex ), 16 );
|
||||
if ( aNum < bNum ) { return -1; }
|
||||
if ( aNum > bNum ) { return 1; }
|
||||
}
|
||||
// chunk/tokenize
|
||||
aNum = ( a || '' ).replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
bNum = ( b || '' ).replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
aNum = a.replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
bNum = b.replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
max = Math.max( aNum.length, bNum.length );
|
||||
// natural sorting through split numeric strings and default strings
|
||||
for ( indx = 0; indx < max; indx++ ) {
|
||||
@ -4180,7 +4197,7 @@
|
||||
event.preventDefault();
|
||||
// init search with no delay
|
||||
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
|
||||
tsf.searching( table, eventType !== 'keypress', true, column );
|
||||
tsf.searching( table, eventType !== 'keypress' || event.which === tskeyCodes.enter, true, column );
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -4255,12 +4272,14 @@
|
||||
}
|
||||
// return if the last search is the same; but filter === false when updating the search
|
||||
// see example-widget-filter.html filter toggle buttons
|
||||
if ( tsf.equalFilters(c, c.lastSearch, currentFilters) && filter !== false ) {
|
||||
return;
|
||||
} else if ( filter === false ) {
|
||||
// force filter refresh
|
||||
c.lastCombinedFilter = '';
|
||||
c.lastSearch = [];
|
||||
if ( tsf.equalFilters(c, c.lastSearch, currentFilters) ) {
|
||||
if ( filter !== false ) {
|
||||
return;
|
||||
} else {
|
||||
// force filter refresh
|
||||
c.lastCombinedFilter = '';
|
||||
c.lastSearch = [];
|
||||
}
|
||||
}
|
||||
// define filter inside it is false
|
||||
filters = filters || [];
|
||||
@ -6071,6 +6090,4 @@
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
||||
return jQuery.tablesorter;
|
||||
}));
|
||||
return jQuery.tablesorter;}));
|
||||
|
6
dist/js/jquery.tablesorter.combined.min.js
vendored
6
dist/js/jquery.tablesorter.combined.min.js
vendored
File diff suppressed because one or more lines are too long
75
dist/js/jquery.tablesorter.js
vendored
75
dist/js/jquery.tablesorter.js
vendored
@ -1,14 +1,5 @@
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
factory(jQuery);
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
/*! TableSorter (FORK) v2.30.3 *//*
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
/*! TableSorter (FORK) v2.31.2 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -32,7 +23,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.30.3',
|
||||
version : '2.31.2',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
@ -329,6 +320,8 @@
|
||||
ts.applyWidget( table, true );
|
||||
// if user has supplied a sort list to constructor
|
||||
if ( c.sortList.length > 0 ) {
|
||||
// save sortList before any sortAppend is added
|
||||
c.last.sortList = c.sortList;
|
||||
ts.sortOn( c, c.sortList, {}, !c.initWidgets );
|
||||
} else {
|
||||
ts.setHeadersCss( c );
|
||||
@ -516,10 +509,13 @@
|
||||
return;
|
||||
}
|
||||
downTarget = null;
|
||||
$cell = ts.getClosest( $( this ), '.' + ts.css.header );
|
||||
// prevent sort being triggered on form elements
|
||||
if ( ts.regex.formElements.test( e.target.nodeName ) ||
|
||||
// nosort class name, or elements within a nosort container
|
||||
$target.hasClass( c.cssNoSort ) || $target.parents( '.' + c.cssNoSort ).length > 0 ||
|
||||
// disabled cell directly clicked
|
||||
$cell.hasClass( 'sorter-false' ) ||
|
||||
// elements within a button
|
||||
$target.parents( 'button' ).length > 0 ) {
|
||||
return !c.cancelSelection;
|
||||
@ -527,10 +523,9 @@
|
||||
if ( c.delayInit && ts.isEmptyObject( c.cache ) ) {
|
||||
ts.buildCache( c );
|
||||
}
|
||||
$cell = ts.getClosest( $( this ), '.' + ts.css.header );
|
||||
// use column index from data-attribute or index of current row; fixes #1116
|
||||
c.last.clickedIndex = $cell.attr( 'data-column' ) || $cell.index();
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ];
|
||||
cell = c.$headerIndexed[ c.last.clickedIndex ][0];
|
||||
if ( cell && !cell.sortDisabled ) {
|
||||
ts.initSort( c, cell, e );
|
||||
}
|
||||
@ -601,10 +596,11 @@
|
||||
// this may get updated numerous times if there are multiple rows
|
||||
c.sortVars[ column ] = {
|
||||
count : -1, // set to -1 because clicking on the header automatically adds one
|
||||
order: tmp ?
|
||||
order : tmp ?
|
||||
( c.sortReset ? [ 1, 0, 2 ] : [ 1, 0 ] ) : // desc, asc, unsorted
|
||||
( c.sortReset ? [ 0, 1, 2 ] : [ 0, 1 ] ), // asc, desc, unsorted
|
||||
lockedOrder : false
|
||||
lockedOrder : false,
|
||||
sortedBy : ''
|
||||
};
|
||||
tmp = ts.getData( $elem, configHeaders, 'lockedOrder' ) || false;
|
||||
if ( typeof tmp !== 'undefined' && tmp !== false ) {
|
||||
@ -1204,6 +1200,11 @@
|
||||
txt += ts.language[ nextSort === 0 ? 'nextAsc' : nextSort === 1 ? 'nextDesc' : 'nextNone' ];
|
||||
}
|
||||
$header.attr( 'aria-label', txt );
|
||||
if (vars.sortedBy) {
|
||||
$header.attr( 'data-sortedBy', vars.sortedBy );
|
||||
} else {
|
||||
$header.removeAttr('data-sortedBy');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -1558,6 +1559,7 @@
|
||||
len = c.$headers.length,
|
||||
th = ts.getClosest( $( cell ), 'th, td' ),
|
||||
col = parseInt( th.attr( 'data-column' ), 10 ),
|
||||
sortedBy = event.type === 'mouseup' ? 'user' : event.type,
|
||||
order = c.sortVars[ col ].order;
|
||||
th = th[0];
|
||||
// Only call sortStart if sorting is enabled
|
||||
@ -1578,6 +1580,9 @@
|
||||
}
|
||||
// user only wants to sort on one column
|
||||
if ( notMultiSort ) {
|
||||
$.each( c.sortVars, function( i ) {
|
||||
c.sortVars[ i ].sortedBy = '';
|
||||
});
|
||||
// flush the sort list
|
||||
c.sortList = [];
|
||||
c.last.sortList = [];
|
||||
@ -1586,6 +1591,7 @@
|
||||
for ( indx = 0; indx < arry.length; indx++ ) {
|
||||
if ( arry[ indx ][ 0 ] !== col ) {
|
||||
c.sortList[ c.sortList.length ] = arry[ indx ];
|
||||
c.sortVars[ arry[ indx ][ 0 ] ].sortedBy = 'sortForce';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1593,12 +1599,14 @@
|
||||
dir = order[ c.sortVars[ col ].count ];
|
||||
if ( dir < 2 ) {
|
||||
c.sortList[ c.sortList.length ] = [ col, dir ];
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
// add other columns if header spans across multiple
|
||||
if ( th.colSpan > 1 ) {
|
||||
for ( indx = 1; indx < th.colSpan; indx++ ) {
|
||||
c.sortList[ c.sortList.length ] = [ col + indx, dir ];
|
||||
// update count on columns in colSpan
|
||||
c.sortVars[ col + indx ].count = $.inArray( dir, order );
|
||||
c.sortVars[ col + indx ].sortedBy = sortedBy;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1610,6 +1618,7 @@
|
||||
// the user has clicked on an already sorted column
|
||||
if ( ts.isValueInArray( col, c.sortList ) >= 0 ) {
|
||||
// reverse the sorting direction
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
for ( indx = 0; indx < c.sortList.length; indx++ ) {
|
||||
tmp = c.sortList[ indx ];
|
||||
if ( tmp[ 0 ] === col ) {
|
||||
@ -1624,6 +1633,7 @@
|
||||
} else {
|
||||
// add column to sort list array
|
||||
dir = order[ c.sortVars[ col ].count ];
|
||||
c.sortVars[ col ].sortedBy = sortedBy;
|
||||
if ( dir < 2 ) {
|
||||
c.sortList[ c.sortList.length ] = [ col, dir ];
|
||||
// add other columns if header spans across multiple
|
||||
@ -1632,6 +1642,7 @@
|
||||
c.sortList[ c.sortList.length ] = [ col + indx, dir ];
|
||||
// update count on columns in colSpan
|
||||
c.sortVars[ col + indx ].count = $.inArray( dir, order );
|
||||
c.sortVars[ col + indx ].sortedBy = sortedBy;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1667,6 +1678,7 @@
|
||||
}
|
||||
}
|
||||
c.sortList[ c.sortList.length ] = [ arry[ indx ][ 0 ], dir ];
|
||||
c.sortVars[ arry[ indx ][ 0 ] ].sortedBy = 'sortAppend';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1752,7 +1764,7 @@
|
||||
sort = sorter[ col ]( x[ col ], y[ col ], dir, col, table );
|
||||
} else {
|
||||
// fall back to natural sort
|
||||
sort = ts[ 'sortNatural' + ( dir ? 'Asc' : 'Desc' ) ]( a[ col ], b[ col ], col, c );
|
||||
sort = ts[ 'sortNatural' + ( dir ? 'Asc' : 'Desc' ) ]( a[ col ] || '', b[ col ] || '', col, c );
|
||||
}
|
||||
}
|
||||
if ( sort ) { return sort; }
|
||||
@ -1798,8 +1810,12 @@
|
||||
},
|
||||
|
||||
sortOn : function( c, list, callback, init ) {
|
||||
var table = c.table;
|
||||
var indx,
|
||||
table = c.table;
|
||||
c.$table.triggerHandler( 'sortStart', table );
|
||||
for (indx = 0; indx < c.columns; indx++) {
|
||||
c.sortVars[ indx ].sortedBy = ts.isValueInArray( indx, list ) > -1 ? 'sorton' : '';
|
||||
}
|
||||
// update header count index
|
||||
ts.updateHeaderSortCount( c, list );
|
||||
// set css for headers
|
||||
@ -1822,13 +1838,14 @@
|
||||
|
||||
sortReset : function( c, callback ) {
|
||||
c.sortList = [];
|
||||
ts.setHeadersCss( c );
|
||||
ts.multisort( c );
|
||||
ts.appendCache( c );
|
||||
var indx;
|
||||
for (indx = 0; indx < c.columns; indx++) {
|
||||
c.sortVars[ indx ].count = -1;
|
||||
c.sortVars[ indx ].sortedBy = '';
|
||||
}
|
||||
ts.setHeadersCss( c );
|
||||
ts.multisort( c );
|
||||
ts.appendCache( c );
|
||||
if ( $.isFunction( callback ) ) {
|
||||
callback( c.table );
|
||||
}
|
||||
@ -1846,20 +1863,20 @@
|
||||
// Natural sort - https://github.com/overset/javascript-natural-sort (date sorting removed)
|
||||
sortNatural : function( a, b ) {
|
||||
if ( a === b ) { return 0; }
|
||||
a = a.toString();
|
||||
b = b.toString();
|
||||
a = ( a || '' ).toString();
|
||||
b = ( b || '' ).toString();
|
||||
var aNum, bNum, aFloat, bFloat, indx, max,
|
||||
regex = ts.regex;
|
||||
// first try and sort Hex codes
|
||||
if ( regex.hex.test( b ) ) {
|
||||
aNum = parseInt( ( a || '' ).match( regex.hex ), 16 );
|
||||
bNum = parseInt( ( b || '' ).match( regex.hex ), 16 );
|
||||
aNum = parseInt( a.match( regex.hex ), 16 );
|
||||
bNum = parseInt( b.match( regex.hex ), 16 );
|
||||
if ( aNum < bNum ) { return -1; }
|
||||
if ( aNum > bNum ) { return 1; }
|
||||
}
|
||||
// chunk/tokenize
|
||||
aNum = ( a || '' ).replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
bNum = ( b || '' ).replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
aNum = a.replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
bNum = b.replace( regex.chunk, '\\0$1\\0' ).replace( regex.chunks, '' ).split( '\\0' );
|
||||
max = Math.max( aNum.length, bNum.length );
|
||||
// natural sorting through split numeric strings and default strings
|
||||
for ( indx = 0; indx < max; indx++ ) {
|
||||
@ -2896,6 +2913,4 @@
|
||||
});
|
||||
|
||||
})( jQuery );
|
||||
|
||||
return jQuery.tablesorter;
|
||||
}));
|
||||
return jQuery.tablesorter;}));
|
||||
|
2
dist/js/jquery.tablesorter.min.js
vendored
2
dist/js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
33
dist/js/jquery.tablesorter.widgets.js
vendored
33
dist/js/jquery.tablesorter.widgets.js
vendored
@ -1,15 +1,6 @@
|
||||
/*! tablesorter (FORK) - updated 2018-04-30 (v2.30.3)*/
|
||||
/*! tablesorter (FORK) - updated 2019-12-01 (v2.31.2)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
factory(jQuery);
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery) {
|
||||
/*! Widget: storage - updated 2018-03-18 (v2.30.0) */
|
||||
/*global JSON:false */
|
||||
;(function ($, window, document) {
|
||||
@ -1291,7 +1282,7 @@
|
||||
event.preventDefault();
|
||||
// init search with no delay
|
||||
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
|
||||
tsf.searching( table, eventType !== 'keypress', true, column );
|
||||
tsf.searching( table, eventType !== 'keypress' || event.which === tskeyCodes.enter, true, column );
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -1366,12 +1357,14 @@
|
||||
}
|
||||
// return if the last search is the same; but filter === false when updating the search
|
||||
// see example-widget-filter.html filter toggle buttons
|
||||
if ( tsf.equalFilters(c, c.lastSearch, currentFilters) && filter !== false ) {
|
||||
return;
|
||||
} else if ( filter === false ) {
|
||||
// force filter refresh
|
||||
c.lastCombinedFilter = '';
|
||||
c.lastSearch = [];
|
||||
if ( tsf.equalFilters(c, c.lastSearch, currentFilters) ) {
|
||||
if ( filter !== false ) {
|
||||
return;
|
||||
} else {
|
||||
// force filter refresh
|
||||
c.lastCombinedFilter = '';
|
||||
c.lastSearch = [];
|
||||
}
|
||||
}
|
||||
// define filter inside it is false
|
||||
filters = filters || [];
|
||||
@ -3182,6 +3175,4 @@
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
||||
return jQuery.tablesorter;
|
||||
}));
|
||||
return jQuery.tablesorter;}));
|
||||
|
6
dist/js/jquery.tablesorter.widgets.min.js
vendored
6
dist/js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
15
dist/js/parsers/parser-date-extract.min.js
vendored
15
dist/js/parsers/parser-date-extract.min.js
vendored
@ -1,6 +1,11 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: Extract out date - updated 10/26/2014 (v2.18.0) */
|
||||
!function(e){"use strict";var t={usLong:/[A-Z]{3,10}\.?\s+\d{1,2},?\s+(?:\d{4})(?:\s+\d{1,2}:\d{2}(?::\d{2})?(?:\s+[AP]M)?)?/i,mdy:/(\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,dmy:/(\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,dmyreplace:/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,ymd:/(\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,ymdreplace:/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/};/*! extract US Long Date */
|
||||
e.tablesorter.addParser({id:"extractUSLongDate",is:function(){return!1},format:function(e){var r,a=e?e.match(t.usLong):e;return a?(r=new Date(a[0]),r instanceof Date&&isFinite(r)?r.getTime():e):e},type:"numeric"}),/*! extract MMDDYYYY */
|
||||
e.tablesorter.addParser({id:"extractMMDDYYYY",is:function(){return!1},format:function(e){var r,a=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(t.mdy):e;return a?(r=new Date(a[0]),r instanceof Date&&isFinite(r)?r.getTime():e):e},type:"numeric"}),/*! extract DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"extractDDMMYYYY",is:function(){return!1},format:function(e){var r,a=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(t.dmy):e;return a?(r=new Date(a[0].replace(t.dmyreplace,"$2/$1/$3")),r instanceof Date&&isFinite(r)?r.getTime():e):e},type:"numeric"}),/*! extract YYYYMMDD */
|
||||
e.tablesorter.addParser({id:"extractYYYYMMDD",is:function(){return!1},format:function(e){var r,a=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(t.ymd):e;return a?(r=new Date(a[0].replace(t.ymdreplace,"$2/$3/$1")),r instanceof Date&&isFinite(r)?r.getTime():e):e},type:"numeric"})}(jQuery);
|
||||
!function(e){"use strict";var a=/[A-Z]{3,10}\.?\s+\d{1,2},?\s+(?:\d{4})(?:\s+\d{1,2}:\d{2}(?::\d{2})?(?:\s+[AP]M)?)?/i,n=/(\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,i=/(\d{1,2}[\/\s]\d{1,2}[\/\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,s=/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{4})/,d=/(\d{4}[\/\s]\d{1,2}[\/\s]\d{1,2}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/i,c=/(\d{4})[\/\s](\d{1,2})[\/\s](\d{1,2})/;
|
||||
/*! extract US Long Date */e.tablesorter.addParser({id:"extractUSLongDate",is:function(){return!1},format:function(e){var t,r=e?e.match(a):e;return r&&(t=new Date(r[0]))instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"}),
|
||||
/*! extract MMDDYYYY */
|
||||
e.tablesorter.addParser({id:"extractMMDDYYYY",is:function(){return!1},format:function(e){var t,r=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(n):e;return r&&(t=new Date(r[0]))instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"}),
|
||||
/*! extract DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"extractDDMMYYYY",is:function(){return!1},format:function(e){var t,r=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(i):e;return r&&(t=new Date(r[0].replace(s,"$2/$1/$3")))instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"}),
|
||||
/*! extract YYYYMMDD */
|
||||
e.tablesorter.addParser({id:"extractYYYYMMDD",is:function(){return!1},format:function(e){var t,r=e?e.replace(/\s+/g," ").replace(/[\-.,]/g,"/").match(d):e;return r&&(t=new Date(r[0].replace(c,"$2/$3/$1")))instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-date-iso8601.min.js
vendored
4
dist/js/parsers/parser-date-iso8601.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: ISO-8601 date - updated 10/26/2014 (v2.18.0) */
|
||||
!function(e){"use strict";var t=/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/;e.tablesorter.addParser({id:"iso8601date",is:function(e){return!!e&&e.match(t)},format:function(e){var r=e?e.match(t):e;if(r){var s=new Date(r[1],0,1);return r[3]&&s.setMonth(r[3]-1),r[5]&&s.setDate(r[5]),r[7]&&s.setHours(r[7]),r[8]&&s.setMinutes(r[8]),r[10]&&s.setSeconds(r[10]),r[12]&&s.setMilliseconds(1e3*Number("0."+r[12])),s.getTime()}return e},type:"numeric"})}(jQuery);
|
||||
!function(e){"use strict";var s=/^([0-9]{4})(-([0-9]{2})(-([0-9]{2})(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?$/;e.tablesorter.addParser({id:"iso8601date",is:function(e){return!!e&&e.match(s)},format:function(e){var t=e?e.match(s):e;if(t){var r=new Date(t[1],0,1);return t[3]&&r.setMonth(t[3]-1),t[5]&&r.setDate(t[5]),t[7]&&r.setHours(t[7]),t[8]&&r.setMinutes(t[8]),t[10]&&r.setSeconds(t[10]),t[12]&&r.setMilliseconds(1e3*Number("0."+t[12])),r.getTime()}return e},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-date-month.min.js
vendored
4
dist/js/parsers/parser-date-month.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: Month - updated 11/22/2015 (v2.24.6) */
|
||||
!function(e){"use strict";var t=e.tablesorter;t.dates||(t.dates={}),t.dates.months||(t.dates.months={}),t.dates.months.en={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},t.addParser({id:"month",is:function(){return!1},format:function(e,n,a,r){if(e){var o,s,i=n.config,u=i.globalize&&(i.globalize[r]||i.globalize)||{},c=t.dates.months[u.lang||"en"];i.ignoreCase&&(e=e.toLowerCase());for(s in c)if("string"==typeof s&&(o=c[s],i.ignoreCase&&(o=o.toLowerCase()),e.match(o)))return parseInt(s,10)}return e},type:"numeric"})}(jQuery);
|
||||
!function(){"use strict";var c=jQuery.tablesorter;c.dates||(c.dates={}),c.dates.months||(c.dates.months={}),c.dates.months.en={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},c.addParser({id:"month",is:function(){return!1},format:function(e,t,n,a){if(e){var r,o,s=t.config,i=s.globalize&&(s.globalize[a]||s.globalize)||{},u=c.dates.months[i.lang||"en"];for(o in s.ignoreCase&&(e=e.toLowerCase()),u)if("string"==typeof o&&(r=u[o],s.ignoreCase&&(r=r.toLowerCase()),e.match(r)))return parseInt(o,10)}return e},type:"numeric"})}();return jQuery;}));
|
||||
|
15
dist/js/parsers/parser-date-range.min.js
vendored
15
dist/js/parsers/parser-date-range.min.js
vendored
@ -1,6 +1,11 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: date ranges -updated 11/22/2015 (v2.24.6) */
|
||||
!function(e){"use strict";var t,r=e.tablesorter,a={mdy:/(\d{1,2}[-\s]\d{1,2}[-\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,dmy:/(\d{1,2}[-\s]\d{1,2}[-\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,dmyreplace:/(\d{1,2})[-\s](\d{1,2})[-\s](\d{4})/,ymd:/(\d{4}[-\s]\d{1,2}[-\s]\d{1,2}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,ymdreplace:/(\d{4})[-\s](\d{1,2})[-\s](\d{1,2})/,overall_dMMMyyyy:/(\d{1,2}\s+\w+\s+\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s\w+)?)?)/g,matches_dMMMyyyy:/(\d{1,2})\s+(\w+)\s+(\d{4})/};/*! date-range MMDDYYYY */
|
||||
e.tablesorter.addParser({id:"date-range-mdy",is:function(){return!1},format:function(e){var t,r,n,s,d=[];if(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(a.mdy),s=r&&r.length){for(n=0;n<s;n++)t=new Date(r[n]),d.push(t instanceof Date&&isFinite(t)?t.getTime():r[n]);return d.sort().join(" - ")}return e},type:"text"}),/*! date-range DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"date-range-dmy",is:function(){return!1},format:function(e){var t,r,n,s,d=[];if(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(a.dmy),s=r&&r.length){for(n=0;n<s;n++)t=new Date((""+r[n]).replace(a.dmyreplace,"$2/$1/$3")),d.push(t instanceof Date&&isFinite(t)?t.getTime():r[n]);return d.sort().join(" - ")}return e},type:"text"}),/*! date-range DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"date-range-ymd",is:function(){return!1},format:function(e){var t,r,n,s,d=[];if(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(a.ymd),s=r&&r.length){for(n=0;n<s;n++)t=new Date((""+r[n]).replace(a.ymdreplace,"$2/$3/$1")),d.push(t instanceof Date&&isFinite(t)?t.getTime():r[n]);return d.sort().join(" - ")}return e},type:"text"}),r.dates||(r.dates={}),r.dates.months||(r.dates.months={}),r.dates.months.en={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},t=function(e,t,a){var n,s,d=t.globalize&&(t.globalize[a]||t.globalize)||{},i=r.dates.months[d.lang||"en"];t.ignoreCase&&(e=e.toLowerCase());for(s in i)if("string"==typeof s&&(n=i[s],t.ignoreCase&&(n=n.toLowerCase()),e.match(n)))return parseInt(s,10);return e},/*! date-range "dd MMM yyyy - dd MMM yyyy" */
|
||||
r.addParser({id:"date-range-dMMMyyyy",is:function(){return!1},format:function(e,n,s,d){var i,o,c,y,l=[],g=e.replace(/\s+/g," ").match(a.overall_dMMMyyyy),m=g&&g.length;if(m){for(y=0;y<m;y++)i="",(c=g[y].match(a.matches_dMMMyyyy))&&c.length>=4&&(c.shift(),o=t(c[1],n.config,d),isNaN(o)||(g[y]=g[y].replace(c[1],o)),i=new Date((""+g[y]).replace(r.regex.shortDateXXY,"$3/$2/$1"))),l.push(i instanceof Date&&isFinite(i)?i.getTime():g[y]);return l.sort().join(" - ")}return e},type:"text"})}(jQuery);
|
||||
!function(e){"use strict";var u,f=e.tablesorter,i=/(\d{1,2}[-\s]\d{1,2}[-\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,d=/(\d{1,2}[-\s]\d{1,2}[-\s]\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,o=/(\d{1,2})[-\s](\d{1,2})[-\s](\d{4})/,c=/(\d{4}[-\s]\d{1,2}[-\s]\d{1,2}(\s+\d{1,2}:\d{2}(:\d{2})?(\s+[AP]M)?)?)/gi,g=/(\d{4})[-\s](\d{1,2})[-\s](\d{1,2})/,l=/(\d{1,2}\s+\w+\s+\d{4}(\s+\d{1,2}:\d{2}(:\d{2})?(\s\w+)?)?)/g,p=/(\d{1,2})\s+(\w+)\s+(\d{4})/;
|
||||
/*! date-range MMDDYYYY */e.tablesorter.addParser({id:"date-range-mdy",is:function(){return!1},format:function(e){var t,r,a,n,s=[];if(n=(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(i))&&r.length){for(a=0;a<n;a++)t=new Date(r[a]),s.push(t instanceof Date&&isFinite(t)?t.getTime():r[a]);return s.sort().join(" - ")}return e},type:"text"}),
|
||||
/*! date-range DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"date-range-dmy",is:function(){return!1},format:function(e){var t,r,a,n,s=[];if(n=(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(d))&&r.length){for(a=0;a<n;a++)t=new Date((""+r[a]).replace(o,"$2/$1/$3")),s.push(t instanceof Date&&isFinite(t)?t.getTime():r[a]);return s.sort().join(" - ")}return e},type:"text"}),
|
||||
/*! date-range DDMMYYYY */
|
||||
e.tablesorter.addParser({id:"date-range-ymd",is:function(){return!1},format:function(e){var t,r,a,n,s=[];if(n=(r=e.replace(/\s+/g," ").replace(/[\/\-.,]/g,"-").match(c))&&r.length){for(a=0;a<n;a++)t=new Date((""+r[a]).replace(g,"$2/$3/$1")),s.push(t instanceof Date&&isFinite(t)?t.getTime():r[a]);return s.sort().join(" - ")}return e},type:"text"}),f.dates||(f.dates={}),f.dates.months||(f.dates.months={}),f.dates.months.en={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},u=function(e,t,r){var a,n,s=t.globalize&&(t.globalize[r]||t.globalize)||{},i=f.dates.months[s.lang||"en"];for(n in t.ignoreCase&&(e=e.toLowerCase()),i)if("string"==typeof n&&(a=i[n],t.ignoreCase&&(a=a.toLowerCase()),e.match(a)))return parseInt(n,10);return e},
|
||||
/*! date-range "dd MMM yyyy - dd MMM yyyy" */
|
||||
f.addParser({id:"date-range-dMMMyyyy",is:function(){return!1},format:function(e,t,r,a){var n,s,i,d,o=[],c=e.replace(/\s+/g," ").match(l),g=c&&c.length;if(g){for(d=0;d<g;d++)n="",(i=c[d].match(p))&&4<=i.length&&(i.shift(),s=u(i[1],t.config,a),isNaN(s)||(c[d]=c[d].replace(i[1],s)),n=new Date((""+c[d]).replace(f.regex.shortDateXXY,"$3/$2/$1"))),o.push(n instanceof Date&&isFinite(n)?n.getTime():c[d]);return o.sort().join(" - ")}return e},type:"text"})}(jQuery);return jQuery;}));
|
||||
|
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: two digit year - updated 11/26/2016 (v2.28.0) */
|
||||
!function(e){"use strict";var t=e.tablesorter,r=(new Date).getFullYear();t.defaults.dataRange="",t.dates||(t.dates={}),t.dates.regxxxxyy=/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{2})/,t.dates.regyyxxxx=/(\d{2})[\/\s](\d{1,2})[\/\s](\d{1,2})/,t.formatDate=function(e,t,a,n){if(e){var d,s,i=e.replace(/\s+/g," ").replace(/[-.,]/g,"/").replace(t,a),u=new Date(i);if(u instanceof Date&&isFinite(u)){for(d=u.getFullYear(),s=n&&n.config.dateRange||50;r-d>s;)d+=100;return u.setFullYear(d)}}return e},e.tablesorter.addParser({id:"ddmmyy",is:function(){return!1},format:function(e,r){return t.formatDate(e,t.dates.regxxxxyy,"$2/$1/19$3",r)},type:"numeric"}),e.tablesorter.addParser({id:"mmddyy",is:function(){return!1},format:function(e,r){return t.formatDate(e,t.dates.regxxxxyy,"$1/$2/19$3",r)},type:"numeric"}),e.tablesorter.addParser({id:"yymmdd",is:function(){return!1},format:function(e,r){return t.formatDate(e,t.dates.regyyxxxx,"$2/$3/19$1",r)},type:"numeric"})}(jQuery);
|
||||
!function(e){"use strict";var r=e.tablesorter,u=(new Date).getFullYear();r.defaults.dataRange="",r.dates||(r.dates={}),r.dates.regxxxxyy=/(\d{1,2})[\/\s](\d{1,2})[\/\s](\d{2})/,r.dates.regyyxxxx=/(\d{2})[\/\s](\d{1,2})[\/\s](\d{1,2})/,r.formatDate=function(e,t,r,a){if(e){var n,d,s=e.replace(/\s+/g," ").replace(/[-.,]/g,"/").replace(t,r),i=new Date(s);if(i instanceof Date&&isFinite(i)){for(n=i.getFullYear(),d=a&&a.config.dateRange||50;d<u-n;)n+=100;return i.setFullYear(n)}}return e},e.tablesorter.addParser({id:"ddmmyy",is:function(){return!1},format:function(e,t){return r.formatDate(e,r.dates.regxxxxyy,"$2/$1/19$3",t)},type:"numeric"}),e.tablesorter.addParser({id:"mmddyy",is:function(){return!1},format:function(e,t){return r.formatDate(e,r.dates.regxxxxyy,"$1/$2/19$3",t)},type:"numeric"}),e.tablesorter.addParser({id:"yymmdd",is:function(){return!1},format:function(e,t){return r.formatDate(e,r.dates.regyyxxxx,"$2/$3/19$1",t)},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-date-weekday.min.js
vendored
4
dist/js/parsers/parser-date-weekday.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: weekday - updated 11/22/2015 (v2.24.6) */
|
||||
!function(e){"use strict";var t=e.tablesorter;t.dates||(t.dates={}),t.dates.weekdays||(t.dates.weekdays={}),t.dates.weekdays.en={sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},t.dates.weekStartList={sun:"1995",mon:"1996",fri:"1999",sat:"2000"},t.dates.weekdaysXref=["sun","mon","tue","wed","thu","fri","sat"],t.addParser({id:"weekday",is:function(){return!1},format:function(a,r,n,s){if(a){var i,d,o,u=r.config,f=u.globalize&&(u.globalize[s]||u.globalize)||{},w=t.dates.weekdays[f.lang||"en"],y=t.dates.weekdaysXref;u.ignoreCase&&(a=a.toLowerCase());for(d in w)if("string"==typeof d&&(i=w[d],u.ignoreCase&&(i=i.toLowerCase()),a.match(i)))return o=e.inArray(d,y),o>-1?o:a}return a},type:"numeric"}),t.addParser({id:"weekday-index",is:function(){return!1},format:function(e,a){if(e){var r=a.config,n=new Date(e);if(n instanceof Date&&isFinite(n))return new Date("1/"+(n.getDay()+1)+"/"+t.dates.weekStartList[r.weekStarts||"sun"])}return e},type:"numeric"})}(jQuery);
|
||||
!function(w){"use strict";var y=w.tablesorter;y.dates||(y.dates={}),y.dates.weekdays||(y.dates.weekdays={}),y.dates.weekdays.en={sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},y.dates.weekStartList={sun:"1995",mon:"1996",fri:"1999",sat:"2000"},y.dates.weekdaysXref=["sun","mon","tue","wed","thu","fri","sat"],y.addParser({id:"weekday",is:function(){return!1},format:function(e,t,a,r){if(e){var n,s,i,d=t.config,o=d.globalize&&(d.globalize[r]||d.globalize)||{},u=y.dates.weekdays[o.lang||"en"],f=y.dates.weekdaysXref;for(s in d.ignoreCase&&(e=e.toLowerCase()),u)if("string"==typeof s&&(n=u[s],d.ignoreCase&&(n=n.toLowerCase()),e.match(n)))return-1<(i=w.inArray(s,f))?i:e}return e},type:"numeric"}),y.addParser({id:"weekday-index",is:function(){return!1},format:function(e,t){if(e){var a=t.config,r=new Date(e);if(r instanceof Date&&isFinite(r))return new Date("1/"+(r.getDay()+1)+"/"+y.dates.weekStartList[a.weekStarts||"sun"])}return e},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
9
dist/js/parsers/parser-date.min.js
vendored
9
dist/js/parsers/parser-date.min.js
vendored
@ -1,4 +1,7 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: dates - updated 5/24/2017 (v2.28.11) */
|
||||
!function(e){"use strict";/*! Sugar (https://sugarjs.com/docs/#/DateParsing) */
|
||||
e.tablesorter.addParser({id:"sugar",is:function(){return!1},format:function(e){var t=Date.create||Sugar.Date.create,r=t?t(e):e?new Date(e):e;return r instanceof Date&&isFinite(r)?r.getTime():e},type:"numeric"}),/*! Datejs (http://www.datejs.com/) */
|
||||
e.tablesorter.addParser({id:"datejs",is:function(){return!1},format:function(e){var t=Date.parse?Date.parse(e):e?new Date(e):e;return t instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"})}(jQuery);
|
||||
!function(e){"use strict";
|
||||
/*! Sugar (https://sugarjs.com/docs/#/DateParsing) */e.tablesorter.addParser({id:"sugar",is:function(){return!1},format:function(e){var t=Date.create||Sugar.Date.create,r=t?t(e):e?new Date(e):e;return r instanceof Date&&isFinite(r)?r.getTime():e},type:"numeric"}),
|
||||
/*! Datejs (http://www.datejs.com/) */
|
||||
e.tablesorter.addParser({id:"datejs",is:function(){return!1},format:function(e){var t=Date.parse?Date.parse(e):e?new Date(e):e;return t instanceof Date&&isFinite(t)?t.getTime():e},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
7
dist/js/parsers/parser-duration.min.js
vendored
7
dist/js/parsers/parser-duration.min.js
vendored
@ -1,3 +1,6 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: duration & countdown - updated 2/7/2015 (v2.19.0) */
|
||||
!function(e){"use strict";e.tablesorter.addParser({id:"duration",is:function(){return!1},format:function(e,r){var t,n,s=r.config,i="",o="",a=s.durationLength||4,u=new Array(a+1).join("0"),d=(s.durationLabels||"(?:years|year|y),(?:days|day|d),(?:hours|hour|h),(?:minutes|minute|min|m),(?:seconds|second|sec|s)").split(/\s*,\s*/),c=d.length;if(!s.durationRegex){for(t=0;t<c;t++)i+="(?:(\\d+)\\s*"+d[t]+"\\s*)?";s.durationRegex=new RegExp(i,"i")}for(n=(s.usNumberFormat?e.replace(/,/g,""):e.replace(/(\d)(?:\.|\s*)(\d)/g,"$1$2")).match(s.durationRegex),t=1;t<c+1;t++)o+=(u+(n[t]||0)).slice(-a);return o},type:"text"}),/*! Countdown parser ( hh:mm:ss ) */
|
||||
e.tablesorter.addParser({id:"countdown",is:function(){return!1},format:function(e,r){for(var t=r.config.durationLength||4,n=new Array(t+1).join("0"),s=e.split(/\s*:\s*/),i=s.length,o=[];i;)o.push((n+(s[--i]||0)).slice(-t));return o.length?o.reverse().join(""):e},type:"text"})}(jQuery);
|
||||
!function(e){"use strict";e.tablesorter.addParser({id:"duration",is:function(){return!1},format:function(e,r){var t,n,s=r.config,i="",o="",a=s.durationLength||4,u=new Array(a+1).join("0"),d=(s.durationLabels||"(?:years|year|y),(?:days|day|d),(?:hours|hour|h),(?:minutes|minute|min|m),(?:seconds|second|sec|s)").split(/\s*,\s*/),c=d.length;if(!s.durationRegex){for(t=0;t<c;t++)i+="(?:(\\d+)\\s*"+d[t]+"\\s*)?";s.durationRegex=new RegExp(i,"i")}for(n=(s.usNumberFormat?e.replace(/,/g,""):e.replace(/(\d)(?:\.|\s*)(\d)/g,"$1$2")).match(s.durationRegex),t=1;t<c+1;t++)o+=(u+(n[t]||0)).slice(-a);return o},type:"text"}),
|
||||
/*! Countdown parser ( hh:mm:ss ) */
|
||||
e.tablesorter.addParser({id:"countdown",is:function(){return!1},format:function(e,r){for(var t=r.config.durationLength||4,n=new Array(t+1).join("0"),s=e.split(/\s*:\s*/),i=s.length,o=[];i;)o.push((n+(s[--i]||0)).slice(-t));return o.length?o.reverse().join(""):e},type:"text"})}(jQuery);return jQuery;}));
|
||||
|
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: distance */
|
||||
!function(t){"use strict";var e=t.tablesorter;e.symbolRegex=/[\u215b\u215c\u215d\u215e\u00bc\u00bd\u00be]/g,e.processFractions=function(r,s){if(r){var a,n=0;r=t.trim(r.replace(/\"/,"")),/\s/.test(r)&&(n=e.formatFloat(r.split(" ")[0],s),r=t.trim(r.substring(r.indexOf(" "),r.length))),/\//g.test(r)?(a=r.split("/"),r=n+parseInt(a[0],10)/parseInt(a[1]||1,10)):e.symbolRegex.test(r)&&(r=n+r.replace(e.symbolRegex,function(t){return{"⅛":".125","⅜":".375","⅝":".625","⅞":".875","¼":".25","½":".5","¾":".75"}[t]}))}return r||0},t.tablesorter.addParser({id:"distance",is:function(){return!1},format:function(t,r){if(""===t)return"";var s=/^\s*\S*(\s+\S+)?\s*\'/.test(t)?t.split(/\'/):[0,t],a=e.processFractions(s[0],r),n=e.processFractions(s[1],r);return/[\'\"]/.test(t)?parseFloat(a)+(parseFloat(n)/12||0):parseFloat(a)+parseFloat(n)},type:"numeric"})}(jQuery);
|
||||
!function(a){"use strict";var n=a.tablesorter;n.symbolRegex=/[\u215b\u215c\u215d\u215e\u00bc\u00bd\u00be]/g,n.processFractions=function(t,e){if(t){var r,s=0;t=a.trim(t.replace(/\"/,"")),/\s/.test(t)&&(s=n.formatFloat(t.split(" ")[0],e),t=a.trim(t.substring(t.indexOf(" "),t.length))),/\//g.test(t)?(r=t.split("/"),t=s+parseInt(r[0],10)/parseInt(r[1]||1,10)):n.symbolRegex.test(t)&&(t=s+t.replace(n.symbolRegex,function(t){return{"⅛":".125","⅜":".375","⅝":".625","⅞":".875","¼":".25","½":".5","¾":".75"}[t]}))}return t||0},a.tablesorter.addParser({id:"distance",is:function(){return!1},format:function(t,e){if(""===t)return"";var r=/^\s*\S*(\s+\S+)?\s*\'/.test(t)?t.split(/\'/):[0,t],s=n.processFractions(r[0],e),a=n.processFractions(r[1],e);return/[\'\"]/.test(t)?parseFloat(s)+(parseFloat(a)/12||0):parseFloat(s)+parseFloat(a)},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-file-type.min.js
vendored
4
dist/js/parsers/parser-file-type.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: filetype - updated 11/10/2015 (v2.24.4) */
|
||||
!function(t){"use strict";t.tablesorter.fileTypes={separator:"|",equivalents:{"3D Image":"3dm|3ds|dwg|max|obj",Audio:"aif|aac|ape|flac|la|m4a|mid|midi|mp2|mp3|ogg|ra|raw|rm|wav|wma",Compressed:"7z|bin|cab|cbr|gz|gzip|iso|lha|lz|rar|tar|tgz|zip|zipx|zoo",Database:"csv|dat|db|dbf|json|ldb|mdb|myd|pdb|sql|tsv|wdb|wmdb|xlr|xls|xlsx|xml",Development:"asm|c|class|cls|cpp|cc|cs|cxx|cbp|cs|dba|fla|h|java|lua|pl|py|pyc|pyo|sh|sln|r|rb|vb",Document:"doc|docx|odt|ott|pages|pdf|rtf|tex|wpd|wps|wrd|wri",Executable:"apk|app|com|exe|gadget|lnk|msi",Fonts:"eot|fnt|fon|otf|ttf|woff",Icons:"ani|cur|icns|ico",Images:"bmp|gif|jpg|jpeg|jpe|jp2|pic|png|psd|tga|tif|tiff|wmf|webp",Presentation:"pps|ppt",Published:"chp|epub|lit|pub|ppp|fm|mobi",Script:"as|bat|cgi|cmd|jar|js|lua|scpt|scptd|sh|vbs|vb|wsf",Styles:"css|less|sass",Text:"info|log|md|markdown|nfo|tex|text|txt",Vectors:"awg|ai|eps|cdr|ps|svg",Video:"asf|avi|flv|m4v|mkv|mov|mp4|mpe|mpeg|mpg|ogg|rm|rv|swf|vob|wmv",Web:"asp|aspx|cer|cfm|htm|html|php|url|xhtml"}},t.tablesorter.addParser({id:"filetype",is:function(){return!1},format:function(e,s){var a,p=s.config.widgetOptions,r=p.group_separator||"-",i=e.lastIndexOf("."),o=t.tablesorter.fileTypes.separator,n=t.tablesorter.fileTypes.matching,c=t.tablesorter.fileTypes.equivalents;if(n||(a=[],t.each(c,function(t,e){a.push(e)}),n=t.tablesorter.fileTypes.matching=o+a.join(o)+o),i>=0&&(a=o+e.substring(i+1,e.length)+o,n.indexOf(a)>=0))for(i in c)if((o+c[i]+o).indexOf(a)>=0)return i+("/"!==r.toString().charAt(0)?p.group_separator:"-")+e;return e},type:"text"}),t.tablesorter.addParser({id:"file-extension",is:function(){return!1},format:function(t){var e,s=t.split(".");return s.length?(e=s.pop(),s.unshift(e),s.join(".")):t},type:"text"})}(jQuery);
|
||||
!function(c){"use strict";c.tablesorter.fileTypes={separator:"|",equivalents:{"3D Image":"3dm|3ds|dwg|max|obj",Audio:"aif|aac|ape|flac|la|m4a|mid|midi|mp2|mp3|ogg|ra|raw|rm|wav|wma",Compressed:"7z|bin|cab|cbr|gz|gzip|iso|lha|lz|rar|tar|tgz|zip|zipx|zoo",Database:"csv|dat|db|dbf|json|ldb|mdb|myd|pdb|sql|tsv|wdb|wmdb|xlr|xls|xlsx|xml",Development:"asm|c|class|cls|cpp|cc|cs|cxx|cbp|cs|dba|fla|h|java|lua|pl|py|pyc|pyo|sh|sln|r|rb|vb",Document:"doc|docx|odt|ott|pages|pdf|rtf|tex|wpd|wps|wrd|wri",Executable:"apk|app|com|exe|gadget|lnk|msi",Fonts:"eot|fnt|fon|otf|ttf|woff",Icons:"ani|cur|icns|ico",Images:"bmp|gif|jpg|jpeg|jpe|jp2|pic|png|psd|tga|tif|tiff|wmf|webp",Presentation:"pps|ppt",Published:"chp|epub|lit|pub|ppp|fm|mobi",Script:"as|bat|cgi|cmd|jar|js|lua|scpt|scptd|sh|vbs|vb|wsf",Styles:"css|less|sass",Text:"info|log|md|markdown|nfo|tex|text|txt",Vectors:"awg|ai|eps|cdr|ps|svg",Video:"asf|avi|flv|m4v|mkv|mov|mp4|mpe|mpeg|mpg|ogg|rm|rv|swf|vob|wmv",Web:"asp|aspx|cer|cfm|htm|html|php|url|xhtml"}},c.tablesorter.addParser({id:"filetype",is:function(){return!1},format:function(t,e){var s,a=e.config.widgetOptions,p=a.group_separator||"-",r=t.lastIndexOf("."),i=c.tablesorter.fileTypes.separator,o=c.tablesorter.fileTypes.matching,n=c.tablesorter.fileTypes.equivalents;if(o||(s=[],c.each(n,function(t,e){s.push(e)}),o=c.tablesorter.fileTypes.matching=i+s.join(i)+i),0<=r&&(s=i+t.substring(r+1,t.length)+i,0<=o.indexOf(s)))for(r in n)if(0<=(i+n[r]+i).indexOf(s))return r+("/"!==p.toString().charAt(0)?a.group_separator:"-")+t;return t},type:"text"}),c.tablesorter.addParser({id:"file-extension",is:function(){return!1},format:function(t){var e,s=t.split(".");return s.length?(e=s.pop(),s.unshift(e),s.join(".")):t},type:"text"})}(jQuery);return jQuery;}));
|
||||
|
9
dist/js/parsers/parser-globalize.min.js
vendored
9
dist/js/parsers/parser-globalize.min.js
vendored
@ -1,4 +1,7 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: jQuery Globalize - updated 11/2/2015 (v2.24.1) */
|
||||
!function(e){"use strict";/*! jQuery Globalize date parser (https://github.com/jquery/globalize#date-module) */
|
||||
e.tablesorter.addParser({id:"globalize-date",is:function(){return!1},format:function(e,l,a,o){var r,i,t=l.config,n=t.globalize&&(t.globalize[o]||t.globalize)||{};return Globalize&&(r="object"==typeof n.Globalize?n.Globalize:Globalize(n.lang||"en"),n.Globalize||(n.Globalize=r)),i=r&&r.dateParser?r.dateParser(n)(e):e?new Date(e):e,i instanceof Date&&isFinite(i)?i.getTime():e},type:"numeric"}),/*! jQuery Globalize number parser (https://github.com/jquery/globalize#number-module) */
|
||||
e.tablesorter.addParser({id:"globalize-number",is:function(){return!1},format:function(l,a,o,r){var i,t,n=a.config,b=n.globalize&&(n.globalize[r]||n.globalize)||{};return Globalize&&(i="object"==typeof b.Globalize?b.Globalize:Globalize(b.lang||"en"),b.Globalize||(b.Globalize=i)),t=i&&i.numberParser?i.numberParser(b)(l):l?e.tablesorter.formatFloat((l||"").replace(/[^\w,. \-()]/g,""),a):l,l&&"number"==typeof t?t:l},type:"numeric"})}(jQuery);
|
||||
!function(b){"use strict";
|
||||
/*! jQuery Globalize date parser (https://github.com/jquery/globalize#date-module) */b.tablesorter.addParser({id:"globalize-date",is:function(){return!1},format:function(e,l,a,o){var r,i,t=l.config,n=t.globalize&&(t.globalize[o]||t.globalize)||{};return Globalize&&(r="object"==typeof n.Globalize?n.Globalize:Globalize(n.lang||"en"),n.Globalize||(n.Globalize=r)),(i=r&&r.dateParser?r.dateParser(n)(e):e?new Date(e):e)instanceof Date&&isFinite(i)?i.getTime():e},type:"numeric"}),
|
||||
/*! jQuery Globalize number parser (https://github.com/jquery/globalize#number-module) */
|
||||
b.tablesorter.addParser({id:"globalize-number",is:function(){return!1},format:function(e,l,a,o){var r,i,t=l.config,n=t.globalize&&(t.globalize[o]||t.globalize)||{};return Globalize&&(r="object"==typeof n.Globalize?n.Globalize:Globalize(n.lang||"en"),n.Globalize||(n.Globalize=r)),i=r&&r.numberParser?r.numberParser(n)(e):e?b.tablesorter.formatFloat((e||"").replace(/[^\w,. \-()]/g,""),l):e,e&&"number"==typeof i?i:e},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-huge-numbers.min.js
vendored
4
dist/js/parsers/parser-huge-numbers.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: hugeNumbers - updated 3/1/2016 (v2.25.5) */
|
||||
!function(e){"use strict";e.tablesorter.addParser({id:"hugeNumbers",is:function(){return!1},format:function(e){return e.replace(/\B(?=(\d{12})+(?!\d))/g,",")},type:"text"})}(jQuery);
|
||||
!function(){"use strict";jQuery.tablesorter.addParser({id:"hugeNumbers",is:function(){return!1},format:function(e){return e.replace(/\B(?=(\d{12})+(?!\d))/g,",")},type:"text"})}();return jQuery;}));
|
||||
|
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: ignoreArticles - updated 9/15/2014 (v2.17.8) */
|
||||
!function(e){"use strict";var r=e.tablesorter;r.ignoreArticles={en:"the, a, an",de:"der, die, das, des, dem, den, ein, eine, einer, eines, einem, einen",nl:"de, het, de, een",es:"el, la, lo, los, las, un, una, unos, unas",pt:"o, a, os, as, um, uma, uns, umas",fr:"le, la, l'_, les, un, une, des",it:"il, lo, la, l'_, i, gli, le, un', uno, una, un",hu:"a, az, egy"},r.addParser({id:"ignoreArticles",is:function(){return!1},format:function(s,a,n,i){var t,l,d,o=a.config,g=s||"";return o.headers&&o.headers[i]&&o.headers[i].ignoreArticlesRegex||(o.headers||(o.headers={}),o.headers[i]||(o.headers[i]={}),d=r.getData(o.$headers.eq(i),r.getColumnData(a,o.headers,i),"ignoreArticles"),t=(r.ignoreArticles[d]||"the, a, an")+"",o.headers[i].ignoreArticlesRegex=new RegExp("^("+e.trim(t.split(/\s*\,\s*/).join("\\s|")+"\\s").replace("_\\s","")+")","i"),l=r.getData(o.$headers.eq(i),r.getColumnData(a,o.headers,i),"ignoreArticlesExcept"),o.headers[i].ignoreArticlesRegex2=""!==l?new RegExp("^("+l.replace(/\s/g,"\\s")+")","i"):""),t=o.headers[i].ignoreArticlesRegex,!t.test(g)||(l=o.headers[i].ignoreArticlesRegex2)&&l.test(g)?g:g.replace(t,"")},type:"text"})}(jQuery);
|
||||
!function(o){"use strict";var g=o.tablesorter;g.ignoreArticles={en:"the, a, an",de:"der, die, das, des, dem, den, ein, eine, einer, eines, einem, einen",nl:"de, het, de, een",es:"el, la, lo, los, las, un, una, unos, unas",pt:"o, a, os, as, um, uma, uns, umas",fr:"le, la, l'_, les, un, une, des",it:"il, lo, la, l'_, i, gli, le, un', uno, una, un",hu:"a, az, egy"},g.addParser({id:"ignoreArticles",is:function(){return!1},format:function(e,r,s,a){var n,i,t,l=r.config,d=e||"";return l.headers&&l.headers[a]&&l.headers[a].ignoreArticlesRegex||(l.headers||(l.headers={}),l.headers[a]||(l.headers[a]={}),t=g.getData(l.$headers.eq(a),g.getColumnData(r,l.headers,a),"ignoreArticles"),n=(g.ignoreArticles[t]||"the, a, an")+"",l.headers[a].ignoreArticlesRegex=new RegExp("^("+o.trim(n.split(/\s*\,\s*/).join("\\s|")+"\\s").replace("_\\s","")+")","i"),i=g.getData(l.$headers.eq(a),g.getColumnData(r,l.headers,a),"ignoreArticlesExcept"),l.headers[a].ignoreArticlesRegex2=""!==i?new RegExp("^("+i.replace(/\s/g,"\\s")+")","i"):""),!(n=l.headers[a].ignoreArticlesRegex).test(d)||(i=l.headers[a].ignoreArticlesRegex2)&&i.test(d)?d:d.replace(n,"")},type:"text"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-image.min.js
vendored
4
dist/js/parsers/parser-image.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: image - new 7/17/2014 (v2.17.5) */
|
||||
!function(t){"use strict";t.tablesorter.addParser({id:"image",is:function(){return!1},format:function(r,e,i){return t(i).find("img").attr(e.config.imgAttr||"alt")||r},parsed:!0,type:"text"})}(jQuery);
|
||||
!function(i){"use strict";i.tablesorter.addParser({id:"image",is:function(){return!1},format:function(t,r,e){return i(e).find("img").attr(r.config.imgAttr||"alt")||t},parsed:!0,type:"text"})}(jQuery);return jQuery;}));
|
||||
|
6
dist/js/parsers/parser-input-select.min.js
vendored
6
dist/js/parsers/parser-input-select.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/parsers/parser-leading-zeros.min.js
vendored
4
dist/js/parsers/parser-leading-zeros.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: leading zeros - updated 4/2/2017 (v2.28.6) */
|
||||
!function(e){"use strict";var t=e.tablesorter;t.addParser({id:"leadingZeros",is:function(){return!1},format:function(e,r){var n=(e||"").replace(t.regex.nondigit,""),a=t.formatFloat(n,r),i=a.toString();return isNaN(a)||a!=n||n.length===i.length||(a-=1e-10*(e.length-i.length)),a},type:"number"})}(jQuery);
|
||||
!function(){"use strict";var i=jQuery.tablesorter;i.addParser({id:"leadingZeros",is:function(){return!1},format:function(e,t){var r=(e||"").replace(i.regex.nondigit,""),n=i.formatFloat(r,t),a=n.toString();return isNaN(n)||n!=r||r.length===a.length||(n-=1e-10*(e.length-a.length)),n},type:"number"})}();return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-metric.min.js
vendored
4
dist/js/parsers/parser-metric.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: metric */
|
||||
!function(e){"use strict";var t={"Y|Yotta|yotta":[1e24,Math.pow(1024,8)],"Z|Zetta|zetta":[1e21,Math.pow(1024,7)],"E|Exa|exa":[1e18,Math.pow(1024,6)],"P|Peta|peta":[1e15,Math.pow(1024,5)],"T|Tera|tera":[1e12,Math.pow(1024,4)],"G|Giga|giga":[1e9,Math.pow(1024,3)],"M|Mega|mega":[1e6,Math.pow(1024,2)],"k|Kilo|kilo":[1e3,1024],"h|hecto":[100,100],"da|deka":[10,10],"d|deci":[.1,.1],"c|centi":[.01,.01],"m|milli":[.001,.001],"µ|micro":[1e-6,1e-6],"n|nano":[1e-9,1e-9],"p|pico":[1e-12,1e-12],"f|femto":[1e-15,1e-15],"a|atto":[1e-18,1e-18],"z|zepto":[1e-21,1e-21],"y|yocto":[1e-24,1e-24]},a=/^[b|bit|byte|o|octet]/i;e.tablesorter.addParser({id:"metric",is:function(){return!1},format:function(o,r,i,c){var n,m,p,d,s="m|meter",h=e.tablesorter.formatFloat(o.replace(/[^\w,. \-()]/g,""),r),f=r.config.$headerIndexed[c],l=f.data("metric");if(l||(n=(f.attr("data-metric-name")||s).split("|"),p=f.attr("data-metric-name-full")||"",d=f.attr("data-metric-name-abbr")||"",l=[p||n[1]||n[0].substring(1),d||n[0]],m=a.test(l.join("")),l[2]=new RegExp("(\\d+)(\\s+)?([Zz]etta|[Ee]xa|[Pp]eta|[Tt]era|[Gg]iga|[Mm]ega|kilo|hecto|deka|deci|centi|milli|micro|nano|pico|femto|atto|zepto|yocto)("+((""===p?"":p+"|"+d)||(m?l[0].toLowerCase()+"|"+l[0].toUpperCase():l[0])+"|"+(m?l[1].toLowerCase()+"|"+l[1].toUpperCase():l[1]))+")"),l[3]=new RegExp("(\\d+)(\\s+)?(Z|E|P|T|G|M|k|h|da|d|c|m|µ|n|p|f|a|z|y)("+(d||(m?l[1].toLowerCase()+"|"+l[1].toUpperCase():l[1]))+")"),f.data("metric",l)),n=o.match(l[2])||o.match(l[3]))for(s in t)if(n[3].match(s))return m=a.test(n[4])?1:0,h*t[s][m];return h},type:"numeric"})}(jQuery);
|
||||
!function(h){"use strict";var f={"Y|Yotta|yotta":[1e24,Math.pow(1024,8)],"Z|Zetta|zetta":[1e21,Math.pow(1024,7)],"E|Exa|exa":[1e18,Math.pow(1024,6)],"P|Peta|peta":[1e15,Math.pow(1024,5)],"T|Tera|tera":[1e12,Math.pow(1024,4)],"G|Giga|giga":[1e9,Math.pow(1024,3)],"M|Mega|mega":[1e6,Math.pow(1024,2)],"k|Kilo|kilo":[1e3,1024],"h|hecto":[100,100],"da|deka":[10,10],"d|deci":[.1,.1],"c|centi":[.01,.01],"m|milli":[.001,.001],"µ|micro":[1e-6,1e-6],"n|nano":[1e-9,1e-9],"p|pico":[1e-12,1e-12],"f|femto":[1e-15,1e-15],"a|atto":[1e-18,1e-18],"z|zepto":[1e-21,1e-21],"y|yocto":[1e-24,1e-24]},l=/^[b|bit|byte|o|octet]/i;h.tablesorter.addParser({id:"metric",is:function(){return!1},format:function(e,t,a,o){var r,i,c,n,m="m|meter",p=h.tablesorter.formatFloat(e.replace(/[^\w,. \-()]/g,""),t),d=t.config.$headerIndexed[o],s=d.data("metric");if(s||(r=(d.attr("data-metric-name")||m).split("|"),c=d.attr("data-metric-name-full")||"",n=d.attr("data-metric-name-abbr")||"",s=[c||r[1]||r[0].substring(1),n||r[0]],i=l.test(s.join("")),s[2]=new RegExp("(\\d+)(\\s+)?([Zz]etta|[Ee]xa|[Pp]eta|[Tt]era|[Gg]iga|[Mm]ega|kilo|hecto|deka|deci|centi|milli|micro|nano|pico|femto|atto|zepto|yocto)("+((""===c?"":c+"|"+n)||(i?s[0].toLowerCase()+"|"+s[0].toUpperCase():s[0])+"|"+(i?s[1].toLowerCase()+"|"+s[1].toUpperCase():s[1]))+")"),s[3]=new RegExp("(\\d+)(\\s+)?(Z|E|P|T|G|M|k|h|da|d|c|m|µ|n|p|f|a|z|y)("+(n||(i?s[1].toLowerCase()+"|"+s[1].toUpperCase():s[1]))+")"),d.data("metric",s)),r=e.match(s[2])||e.match(s[3]))for(m in f)if(r[3].match(m))return i=l.test(r[4])?1:0,p*f[m][i];return p},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-named-numbers.min.js
vendored
4
dist/js/parsers/parser-named-numbers.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: namedNumbers - updated 10/26/2014 (v2.18.0) */
|
||||
!function(e){"use strict";var i,n,t={negative:["negative","minus"],numbers:{zero:0,one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12,thirteen:13,fourteen:14,fifteen:15,sixteen:16,seventeen:17,eighteen:18,nineteen:19,twenty:20,thirty:30,forty:40,fourty:40,fifty:50,sixty:60,seventy:70,eighty:80,ninety:90},hundred:"hundred",powers:{thousand:1e3,million:1e6,billion:1e9,trillion:1e12,quadrillion:1e15,quintillion:1e18,sextillion:1e21,septillion:1e24,octillion:1e27,nonillion:1e30,decillion:1e33,undecillion:1e36,duodecillion:1e39,tredecillion:1e42,quattuordecillion:1e45,quindecillion:1e48,sexdecillion:1e51,septendecillion:1e54,octodecillion:1e57,novemdecillion:1e60,vigintillion:1e63,unvigintillion:1e66,duovigintillion:1e69,trevigintillion:1e72,quattuorvigintillion:1e75,quinvigintillion:1e78,sexvigintillion:1e81,septenvigintillion:1e84,octovigintillion:1e87,novemvigintillion:1e90,trigintillion:1e93,untrigintillion:1e96,duotrigintillion:1e99,googl:1e100}},l=new RegExp("("+t.negative.join("|")+")"),o=function(l,o){var r=l.replace(/[,."']/g,""),u=e.tablesorter.formatFloat(l||"",o),s=t.powers.hasOwnProperty(r)?t.powers[r]:null;null!==(u="number"==typeof u?u:t.numbers.hasOwnProperty(r)?t.numbers[r]:null)?n+=u:r===t.hundred?n*=100:null!==s&&(i+=n*s,n=0)};e.tablesorter.addParser({id:"namedNumbers",is:function(){return!1},format:function(r,u){i=0,n=0;var s,a=(r||"").split(/[\s-]+/),d=a.length;for(s=0;s<d;s++)o(a[s].toLowerCase(),u);return i=(i+n)*(r.match(l)?-1:1),i||t.numbers.hasOwnProperty(r)?i:e.tablesorter.formatFloat(r||"",u)},type:"numeric"})}(jQuery);
|
||||
!function(d){"use strict";var g,v,c={negative:["negative","minus"],numbers:{zero:0,one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12,thirteen:13,fourteen:14,fifteen:15,sixteen:16,seventeen:17,eighteen:18,nineteen:19,twenty:20,thirty:30,forty:40,fourty:40,fifty:50,sixty:60,seventy:70,eighty:80,ninety:90},hundred:"hundred",powers:{thousand:1e3,million:1e6,billion:1e9,trillion:1e12,quadrillion:1e15,quintillion:1e18,sextillion:1e21,septillion:1e24,octillion:1e27,nonillion:1e30,decillion:1e33,undecillion:1e36,duodecillion:1e39,tredecillion:1e42,quattuordecillion:1e45,quindecillion:1e48,sexdecillion:1e51,septendecillion:1e54,octodecillion:1e57,novemdecillion:1e60,vigintillion:1e63,unvigintillion:1e66,duovigintillion:1e69,trevigintillion:1e72,quattuorvigintillion:1e75,quinvigintillion:1e78,sexvigintillion:1e81,septenvigintillion:1e84,octovigintillion:1e87,novemvigintillion:1e90,trigintillion:1e93,untrigintillion:1e96,duotrigintillion:1e99,googl:1e100}},f=new RegExp("("+c.negative.join("|")+")");d.tablesorter.addParser({id:"namedNumbers",is:function(){return!1},format:function(e,i){v=g=0;var n,t,l,o,r,u,s=(e||"").split(/[\s-]+/),a=s.length;for(n=0;n<a;n++)t=s[n].toLowerCase(),l=i,r=void 0,o=t.replace(/[,."']/g,""),r=d.tablesorter.formatFloat(t||"",l),u=c.powers.hasOwnProperty(o)?c.powers[o]:null,null!==(r="number"==typeof r?r:c.numbers.hasOwnProperty(o)?c.numbers[o]:null)?v+=r:o===c.hundred?v*=100:null!==u&&(g+=v*u,v=0);return(g=(g+v)*(e.match(f)?-1:1))||c.numbers.hasOwnProperty(e)?g:d.tablesorter.formatFloat(e||"",i)},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
12
dist/js/parsers/parser-network.min.js
vendored
12
dist/js/parsers/parser-network.min.js
vendored
@ -1,5 +1,9 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: network - updated 2018-01-10 (v2.29.3) */
|
||||
!function(d){"use strict";var e,t,a=d.tablesorter;/*! IPv6 Address parser (WIP) */
|
||||
d.extend(a.regex,{},{ipv4Validate:/((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})/,ipv4Extract:/([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/,ipv6Validate:/^\s*((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/i}),a.defaults.ipv6HexFormat=!1,a.addParser({id:"ipv6Address",is:function(d){return a.regex.ipv6Validate.test(d)},format:function(d,e){var t,r,i,f,s,n=!!e&&("boolean"==typeof e?e:e&&e.config.ipv6HexFormat||!1),p="",o="";if(d=d.replace(/\s*/g,""),a.regex.ipv4Validate.test(d)){for(f=d.match(a.regex.ipv4Extract),r="",t=1;t<f.length;t++)r+=("00"+parseInt(f[t],10).toString(16)).slice(-2)+(2===t?":":"");d=d.replace(a.regex.ipv4Extract,r)}if(-1===d.indexOf("::"))p=d;else{for(i=d.split("::"),s=0,t=0;t<i.length;t++)s+=i[t].split(":").length;for(p+=i[0]+":",t=0;t<8-s;t++)p+="0000:";p+=i[1]}for(f=p.split(":"),t=0;t<8;t++)f[t]=n?("0000"+f[t]).slice(-4):("00000"+(parseInt(f[t],16)||0)).slice(-5),o+=7!==t?f[t]+":":f[t];return o},type:"text"}),t=function(d){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(d)},e=function(d){var e,t=d?d.split("."):"",a=[],r=t.length;for(e=0;e<r;e++)a.push(("000"+t[e]).slice(-3));return d?a.join("."):d},/*! Parser: ipv4Address (a.k.a. ipAddress) */
|
||||
a.addParser({id:"ipAddress",is:t,format:e,type:"text"}),a.addParser({id:"ipv4Address",is:t,format:e,type:"text"}),/*! Parser: MAC address */
|
||||
a.addParser({id:"MAC",is:function(){return!1},format:function(d){var e,t,a=[],r=(d||"").replace(/[:.-]/g,"").match(/\w{2}/g);if(r){for(t=r.length,e=0;e<t;e++)a.push(("000"+parseInt(r[e],16)).slice(-3));return a.join(".")}return d},type:"text"})}(jQuery);
|
||||
!function(d){"use strict";var e,t,o=d.tablesorter;
|
||||
/*! IPv6 Address parser (WIP) */d.extend(o.regex,{},{ipv4Validate:/((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})/,ipv4Extract:/([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/,ipv6Validate:/^\s*((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/i}),o.defaults.ipv6HexFormat=!1,o.addParser({id:"ipv6Address",is:function(d){return o.regex.ipv6Validate.test(d)},format:function(d,e){var t,a,r,i,f,s=!!e&&("boolean"==typeof e?e:e&&e.config.ipv6HexFormat||!1),n="",p="";if(d=d.replace(/\s*/g,""),o.regex.ipv4Validate.test(d)){for(i=d.match(o.regex.ipv4Extract),a="",t=1;t<i.length;t++)a+=("00"+parseInt(i[t],10).toString(16)).slice(-2)+(2===t?":":"");d=d.replace(o.regex.ipv4Extract,a)}if(-1===d.indexOf("::"))n=d;else{for(r=d.split("::"),t=f=0;t<r.length;t++)f+=r[t].split(":").length;for(n+=r[0]+":",t=0;t<8-f;t++)n+="0000:";n+=r[1]}for(i=n.split(":"),t=0;t<8;t++)i[t]=s?("0000"+i[t]).slice(-4):("00000"+(parseInt(i[t],16)||0)).slice(-5),p+=7!==t?i[t]+":":i[t];return p},type:"text"}),t=function(d){return/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(d)},e=function(d){var e,t=d?d.split("."):"",a=[],r=t.length;for(e=0;e<r;e++)a.push(("000"+t[e]).slice(-3));return d?a.join("."):d},
|
||||
/*! Parser: ipv4Address (a.k.a. ipAddress) */
|
||||
o.addParser({id:"ipAddress",is:t,format:e,type:"text"}),o.addParser({id:"ipv4Address",is:t,format:e,type:"text"}),
|
||||
/*! Parser: MAC address */
|
||||
o.addParser({id:"MAC",is:function(){return!1},format:function(d){var e,t,a=[],r=(d||"").replace(/[:.-]/g,"").match(/\w{2}/g);if(r){for(t=r.length,e=0;e<t;e++)a.push(("000"+parseInt(r[e],16)).slice(-3));return a.join(".")}return d},type:"text"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/parsers/parser-roman.min.js
vendored
4
dist/js/parsers/parser-roman.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Parser: roman - updated 6/28/MMXIV (v2.17.3) */
|
||||
!function(r){"use strict";var t=/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/i,e=/\b([MCDLXVI]+\b)/gi,n={I:1,V:5,X:10,L:50,C:100,D:500,M:1e3};r.tablesorter.addParser({id:"roman",is:function(){return!1},format:function(r){var e,i=r.toUpperCase().split(""),a=0;if(!r||!t.test(r))return r;for(;i.length;)a+=(e=n[i.shift()])*(e<n[i[0]]?-1:1);return a},type:"numeric"}),r.tablesorter.addParser({id:"roman-ignore",is:function(){return!1},format:function(i,a,o,s){var u,f,c=a.config,p=r.isArray(c.roman_ignore)?c.roman_ignore[s]:0,m=(isNaN(p)?r.trim(i.replace(p,"")):r.trim(i.substring(0,i.length-p))).match(e),l=0;if(!t.test(m))return i;for(m=(f=m[0]).toUpperCase().split("");m.length;)(u=n[m.shift()])&&(l+=u*(u<n[m[0]]?-1:1));return l?i.replace(f,l):i},type:"text"}),r.tablesorter.addParser({id:"roman-extract",is:function(){return!1},format:function(i){var a,o=r.grep(i.split(/\b/),function(r){return t.test(r)?r:""}).join("").match(e),s=0;if(!(o?t.test(o):0))return i;for(o=o[0].toUpperCase().split("");o.length;)(a=n[o.shift()])&&(s+=a*(a<n[o[0]]?-1:1));return s||i},type:"numeric"})}(jQuery);
|
||||
!function(c){"use strict";var p=/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/i,m=/\b([MCDLXVI]+\b)/gi,l={I:1,V:5,X:10,L:50,C:100,D:500,M:1e3};c.tablesorter.addParser({id:"roman",is:function(){return!1},format:function(r){var t,e=r.toUpperCase().split(""),n=0;if(!r||!p.test(r))return r;for(;e.length;)n+=(t=l[e.shift()])*(t<l[e[0]]?-1:1);return n},type:"numeric"}),c.tablesorter.addParser({id:"roman-ignore",is:function(){return!1},format:function(r,t,e,n){var i,a,o=t.config,s=c.isArray(o.roman_ignore)?o.roman_ignore[n]:0,u=(isNaN(s)?c.trim(r.replace(s,"")):c.trim(r.substring(0,r.length-s))).match(m),f=0;if(!p.test(u))return r;for(u=(a=u[0]).toUpperCase().split("");u.length;)(i=l[u.shift()])&&(f+=i*(i<l[u[0]]?-1:1));return f?r.replace(a,f):r},type:"text"}),c.tablesorter.addParser({id:"roman-extract",is:function(){return!1},format:function(r){var t,e=c.grep(r.split(/\b/),function(r){return p.test(r)?r:""}).join("").match(m),n=0;if(!(e?p.test(e):0))return r;for(e=e[0].toUpperCase().split("");e.length;)(t=l[e.shift()])&&(n+=t*(t<l[e[0]]?-1:1));return n||r},type:"numeric"})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-alignChar.min.js
vendored
4
dist/js/widgets/widget-alignChar.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: alignChar - updated 2/7/2015 (v2.19.0) */
|
||||
!function(n){"use strict";var a=n.tablesorter;a.alignChar={init:function(i,t,r){t.$headers.filter("["+r.alignChar_charAttrib+"]").each(function(){var e=n(this),l={column:this.column,align:e.attr(r.alignChar_charAttrib),alignIndex:parseInt(e.attr(r.alignChar_indexAttrib)||0,10),adjust:parseFloat(e.attr(r.alignChar_adjustAttrib))||0};l.regex=new RegExp("\\"+l.align,"g"),void 0!==l.align&&(r.alignChar_savedVars[this.column]=l,a.alignChar.setup(i,t,r,l))})},setup:function(a,i,t,r){if(!n.isEmptyObject(i.cache)){var e,l,h,g,o,s,d,c,u,f,m,p,C,w,b=[],_=[];for(e=0;e<i.$tbodies.length;e++)for(f=(d=i.cache[e]).normalized.length,l=0;l<f;l++){if(w=d.row?d.row[l]:d.normalized[l][i.columns].$row,c=w.find("td").eq(r.column).text().replace(/[ ]/g," "),(u=(c.match(r.regex)||[]).length)>0&&r.alignIndex>0)for(g=Math.min(r.alignIndex,u),h=0,s=0,o=0;h++<g;)s=(o=c.indexOf(r.align,o+1))<0?s:o;else s=c.indexOf(r.align);s>=0?(b.push(c.substring(0,s)||""),_.push(c.substring(s,c.length)||"")):(b.push(u>=1&&r.alignIndex>=u?"":c||""),_.push(u>=1&&r.alignIndex>=u?c||"":""))}for(m=n.extend([],b).sort(function(n,a){return a.length-n.length})[0],p=n.extend([],_).sort(function(n,a){return a.length-n.length})[0],r.width=r.width||Math.floor(m.length/(m.length+p.length)*100)+r.adjust,m="min-width:"+r.width+"%",p="min-width:"+(100-r.width)+"%",e=0;e<i.$tbodies.length;e++)for(f=(d=i.cache[e]).normalized.length,l=0;l<f;l++)C=n(t.alignChar_wrap).length?n(t.alignChar_wrap).html(r.align)[0].outerHTML:r.align,w=d.row?d.row[l]:d.normalized[l][i.columns].$row,o=_[l].slice(r.align.length),w.find("td").eq(r.column).html('<span class="ts-align-wrap"><span class="ts-align-left" style="'+m+'">'+b[l]+'</span><span class="ts-align-right" style="'+p+'">'+(o.length?C+o:"")+"</span></span>");t.alignChar_initialized=!0}},remove:function(a,i,t){if(!n.isEmptyObject(i.cache)){var r,e,l,h,g;for(r=0;r<i.$tbodies.length;r++)for(l=(h=i.cache[r]).normalized.length,e=0;e<l;e++)(g=(h.row?h.row[e]:h.normalized[e][i.columns].$row).find("td").eq(t)).html(g.text().replace(/\s/g," "))}}},a.addWidget({id:"alignChar",priority:100,options:{alignChar_wrap:"",alignChar_charAttrib:"data-align-char",alignChar_indexAttrib:"data-align-index",alignChar_adjustAttrib:"data-align-adjust"},init:function(n,i,t,r){r.alignChar_initialized=!1,r.alignChar_savedVars=[],a.alignChar.init(n,t,r),t.$table.on("pagerEnd refreshAlign",function(){t.$headers.filter("["+r.alignChar_charAttrib+"]").each(function(){a.alignChar.remove(n,t,this.column)}),a.alignChar.init(n,t,r)})},format:function(n,a,i){i.alignChar_initialized||a.$table.triggerHandler("refreshAlign")},remove:function(n,i,t,r){r||(i.$headers.filter("["+t.alignChar_charAttrib+"]").each(function(){a.alignChar.remove(n,i,this.column)}),t.alignChar_initialized=!1)}})}(jQuery);
|
||||
!function(_){"use strict";var e=_.tablesorter;e.alignChar={init:function(i,t,r){t.$headers.filter("["+r.alignChar_charAttrib+"]").each(function(){var n=_(this),a={column:this.column,align:n.attr(r.alignChar_charAttrib),alignIndex:parseInt(n.attr(r.alignChar_indexAttrib)||0,10),adjust:parseFloat(n.attr(r.alignChar_adjustAttrib))||0};a.regex=new RegExp("\\"+a.align,"g"),void 0!==a.align&&(r.alignChar_savedVars[this.column]=a,e.alignChar.setup(i,t,r,a))})},setup:function(n,a,i,t){if(!_.isEmptyObject(a.cache)){var r,e,l,h,g,o,s,d,c,u,f,m,p,C,w=[],b=[];for(r=0;r<a.$tbodies.length;r++)for(u=(s=a.cache[r]).normalized.length,e=0;e<u;e++){if(0<(c=((d=(C=s.row?s.row[e]:s.normalized[e][a.columns].$row).find("td").eq(t.column).text().replace(/[ ]/g," ")).match(t.regex)||[]).length)&&0<t.alignIndex)for(h=Math.min(t.alignIndex,c),g=o=l=0;l++<h;)o=(g=d.indexOf(t.align,g+1))<0?o:g;else o=d.indexOf(t.align);0<=o?(w.push(d.substring(0,o)||""),b.push(d.substring(o,d.length)||"")):(w.push(1<=c&&t.alignIndex>=c?"":d||""),b.push(1<=c&&t.alignIndex>=c&&d||""))}for(f=_.extend([],w).sort(function(n,a){return a.length-n.length})[0],m=_.extend([],b).sort(function(n,a){return a.length-n.length})[0],t.width=t.width||Math.floor(f.length/(f.length+m.length)*100)+t.adjust,f="min-width:"+t.width+"%",m="min-width:"+(100-t.width)+"%",r=0;r<a.$tbodies.length;r++)for(u=(s=a.cache[r]).normalized.length,e=0;e<u;e++)p=_(i.alignChar_wrap).length?_(i.alignChar_wrap).html(t.align)[0].outerHTML:t.align,C=s.row?s.row[e]:s.normalized[e][a.columns].$row,g=b[e].slice(t.align.length),C.find("td").eq(t.column).html('<span class="ts-align-wrap"><span class="ts-align-left" style="'+f+'">'+w[e]+'</span><span class="ts-align-right" style="'+m+'">'+(g.length?p+g:"")+"</span></span>");i.alignChar_initialized=!0}},remove:function(n,a,i){var t,r,e,l,h;if(!_.isEmptyObject(a.cache))for(t=0;t<a.$tbodies.length;t++)for(e=(l=a.cache[t]).normalized.length,r=0;r<e;r++)(h=(l.row?l.row[r]:l.normalized[r][a.columns].$row).find("td").eq(i)).html(h.text().replace(/\s/g," "))}},e.addWidget({id:"alignChar",priority:100,options:{alignChar_wrap:"",alignChar_charAttrib:"data-align-char",alignChar_indexAttrib:"data-align-index",alignChar_adjustAttrib:"data-align-adjust"},init:function(n,a,i,t){t.alignChar_initialized=!1,t.alignChar_savedVars=[],e.alignChar.init(n,i,t),i.$table.on("pagerEnd refreshAlign",function(){i.$headers.filter("["+t.alignChar_charAttrib+"]").each(function(){e.alignChar.remove(n,i,this.column)}),e.alignChar.init(n,i,t)})},format:function(n,a,i){i.alignChar_initialized||a.$table.triggerHandler("refreshAlign")},remove:function(n,a,i,t){t||(a.$headers.filter("["+i.alignChar_charAttrib+"]").each(function(){e.alignChar.remove(n,a,this.column)}),i.alignChar_initialized=!1)}})}(jQuery);return 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
4
dist/js/widgets/widget-chart.min.js
vendored
4
dist/js/widgets/widget-chart.min.js
vendored
@ -1 +1,3 @@
|
||||
!function(t){"use strict";var e=t.tablesorter,a=[],r=[],o=[],s=[],n=[],c=[],i=[],h=[],l=e.chart={nonDigit:/[^\d,.\-()]/g,init:function(t,e){t.$table.off(e.chart_event).on(e.chart_event,function(){if(this.hasInitialized){var t=this.config;l.getCols(t,t.widgetOptions),l.getData(t,t.widgetOptions)}})},getCols:function(r,o){var s;for(a=[],c=[],h=[],s=0;s<r.columns;s++)o.chart_useSelector&&e.hasWidget(r.table,"columnSelector")&&!r.selector.auto?(r.selector.states[s]&&t.inArray(s,o.chart_ignoreColumns)<0||s===o.chart_labelCol||s===o.chart_sort[0][0])&&a.push(s):(t.inArray(s,o.chart_ignoreColumns)<0||s===o.chart_labelCol||s===o.chart_sort[0][0])&&a.push(s)},getData:function(e,a){l.getHeaders(e,a),l.getRows(e,a),s=[r],t.each(o,function(t,e){s.push(e)}),e.chart={data:s,categories:n,series:c,category:i,dataset:h}},getHeaders:function(e,o){var s;c=[],h=[],(r=[]).push(e.headerContent[o.chart_labelCol]),t.each(a,function(t,a){if(a===o.chart_labelCol)return!0;s=e.headerContent[a],r.push(s),c.push({name:s,data:[]}),h.push({seriesname:s,data:[]})})},getRows:function(a,r){var s=a.cache[0].normalized,u=[];o=[],n=[],i=[],t.each(s,function(e,o){var s,n,c=o[a.columns].$row,i=c.children("th,td"),h=[];if(/v/i.test(r.chart_incRows)&&c.is(":visible")||/f/i.test(r.chart_incRows)&&!c.hasClass(r.filter_filteredRow||"filtered")||!/(v|f)/i.test(r.chart_incRows)){for(s=0;s<a.columns;s++)t.inArray(e,r.chart_parsed)>=0?h.push(o[s]):(n=i[s].getAttribute(a.textAttribute)||i[s].textContent||i.eq(s).text(),h.push(t.trim(n)));u.push(h)}}),u.sort(function(t,a){return 1===r.chart_sort[0][1]?e.sortNatural(a[r.chart_sort[0][0]],t[r.chart_sort[0][0]]):e.sortNatural(t[r.chart_sort[0][0]],a[r.chart_sort[0][0]])}),t.each(u,function(s,u){var _,f=0,d=[],g=u[r.chart_labelCol];d.push(""+g),t.each(u,function(o,s){var u;if(o===r.chart_labelCol)return n.push(s),i.push({label:s}),!0;_=!1,r.chart_useSelector&&e.hasWidget(a.table,"columnSelector")&&!a.selector.auto?a.selector.states[o]&&t.inArray(o,r.chart_ignoreColumns)<0&&(_=""+s):t.inArray(o,r.chart_ignoreColumns)<0&&(_=""+s),!1!==_&&(/s/i.test(""+r.chart_layout[o])?(d.push(_),c[f].data.push(_),h[f].data.push(_)):(u=e.formatFloat(_.replace(l.nonDigit,""),a.table),u=isNaN(u)?_:u,d.push(u),c[f].data.push(u),h[f].data.push({value:u})),f++)}),o.push(d)})},remove:function(t,e){t.$table.off(e.chart_event)}};e.addWidget({id:"chart",options:{chart_incRows:"filtered",chart_useSelector:!1,chart_ignoreColumns:[],chart_parsed:[],chart_layout:{0:"string"},chart_labelCol:0,chart_sort:[[0,0]],chart_event:"chartData"},init:function(t,e,a,r){l.init(a,r)},remove:function(t,e,a){l.remove(e,a)}})}(jQuery);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
!function(l){"use strict";var n=l.tablesorter,s=[],c=[],u=[],a=[],_=[],f=[],d=[],g=[],p=n.chart={nonDigit:/[^\d,.\-()]/g,init:function(t,e){t.$table.off(e.chart_event).on(e.chart_event,function(){if(this.hasInitialized){var t=this.config;p.getCols(t,t.widgetOptions),p.getData(t,t.widgetOptions)}})},getCols:function(t,e){var a;for(s=[],f=[],g=[],a=0;a<t.columns;a++)e.chart_useSelector&&n.hasWidget(t.table,"columnSelector")&&!t.selector.auto?(t.selector.states[a]&&l.inArray(a,e.chart_ignoreColumns)<0||a===e.chart_labelCol||a===e.chart_sort[0][0])&&s.push(a):(l.inArray(a,e.chart_ignoreColumns)<0||a===e.chart_labelCol||a===e.chart_sort[0][0])&&s.push(a)},getData:function(t,e){p.getHeaders(t,e),p.getRows(t,e),a=[c],l.each(u,function(t,e){a.push(e)}),t.chart={data:a,categories:_,series:f,category:d,dataset:g}},getHeaders:function(a,r){var o;f=[],g=[],(c=[]).push(a.headerContent[r.chart_labelCol]),l.each(s,function(t,e){if(e===r.chart_labelCol)return!0;o=a.headerContent[e],c.push(o),f.push({name:o,data:[]}),g.push({seriesname:o,data:[]})})},getRows:function(c,i){var t=c.cache[0].normalized,h=[];u=[],_=[],d=[],l.each(t,function(t,e){var a,r,o=e[c.columns].$row,s=o.children("th,td"),n=[];if(/v/i.test(i.chart_incRows)&&o.is(":visible")||/f/i.test(i.chart_incRows)&&!o.hasClass(i.filter_filteredRow||"filtered")||!/(v|f)/i.test(i.chart_incRows)){for(a=0;a<c.columns;a++)0<=l.inArray(t,i.chart_parsed)?n.push(e[a]):(r=s[a].getAttribute(c.textAttribute)||s[a].textContent||s.eq(a).text(),n.push(l.trim(r)));h.push(n)}}),h.sort(function(t,e){return 1===i.chart_sort[0][1]?n.sortNatural(e[i.chart_sort[0][0]],t[i.chart_sort[0][0]]):n.sortNatural(t[i.chart_sort[0][0]],e[i.chart_sort[0][0]])}),l.each(h,function(t,e){var r,o=0,s=[],a=e[i.chart_labelCol];s.push(""+a),l.each(e,function(t,e){var a;if(t===i.chart_labelCol)return _.push(e),d.push({label:e}),!0;r=!1,i.chart_useSelector&&n.hasWidget(c.table,"columnSelector")&&!c.selector.auto?c.selector.states[t]&&l.inArray(t,i.chart_ignoreColumns)<0&&(r=""+e):l.inArray(t,i.chart_ignoreColumns)<0&&(r=""+e),!1!==r&&(/s/i.test(""+i.chart_layout[t])?(s.push(r),f[o].data.push(r),g[o].data.push(r)):(a=n.formatFloat(r.replace(p.nonDigit,""),c.table),a=isNaN(a)?r:a,s.push(a),f[o].data.push(a),g[o].data.push({value:a})),o++)}),u.push(s)})},remove:function(t,e){t.$table.off(e.chart_event)}};n.addWidget({id:"chart",options:{chart_incRows:"filtered",chart_useSelector:!1,chart_ignoreColumns:[],chart_parsed:[],chart_layout:{0:"string"},chart_labelCol:0,chart_sort:[[0,0]],chart_event:"chartData"},init:function(t,e,a,r){p.init(a,r)},remove:function(t,e,a){p.remove(e,a)}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-columnSelector.min.js
vendored
4
dist/js/widgets/widget-columnSelector.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-columns.min.js
vendored
4
dist/js/widgets/widget-columns.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: columns - updated 5/24/2017 (v2.28.11) */
|
||||
!function(e){"use strict";var r=e.tablesorter||{};r.addWidget({id:"columns",priority:65,options:{columns:["primary","secondary","tertiary"]},format:function(o,t,s){var n,i,a,d,l,c,h,f,m=t.$table,y=t.$tbodies,u=t.sortList,p=u.length,b=s&&s.columns||["primary","secondary","tertiary"],v=b.length-1;for(h=b.join(" "),i=0;i<y.length;i++)(a=(n=r.processTbody(o,y.eq(i),!0)).children("tr")).each(function(){if(l=e(this),"none"!==this.style.display&&(c=l.children().removeClass(h),u&&u[0]&&(c.eq(u[0][0]).addClass(b[0]),p>1)))for(f=1;f<p;f++)c.eq(u[f][0]).addClass(b[f]||b[v])}),r.processTbody(o,n,!1);if(d=!1!==s.columns_thead?["thead tr"]:[],!1!==s.columns_tfoot&&d.push("tfoot tr"),d.length&&(a=m.find(d.join(",")).children().removeClass(h),p))for(f=0;f<p;f++)a.filter('[data-column="'+u[f][0]+'"]').addClass(b[f]||b[v])},remove:function(o,t,s){var n,i,a=t.$tbodies,d=(s.columns||["primary","secondary","tertiary"]).join(" ");for(t.$headers.removeClass(d),t.$table.children("tfoot").children("tr").children("th, td").removeClass(d),n=0;n<a.length;n++)(i=r.processTbody(o,a.eq(n),!0)).children("tr").each(function(){e(this).children().removeClass(d)}),r.processTbody(o,i,!1)}})}(jQuery);
|
||||
!function(b){"use strict";var v=b.tablesorter||{};v.addWidget({id:"columns",priority:65,options:{columns:["primary","secondary","tertiary"]},format:function(e,r,o){var t,s,n,i,a,d,l,c,h=r.$table,f=r.$tbodies,m=r.sortList,y=m.length,u=o&&o.columns||["primary","secondary","tertiary"],p=u.length-1;for(l=u.join(" "),s=0;s<f.length;s++)(n=(t=v.processTbody(e,f.eq(s),!0)).children("tr")).each(function(){if(a=b(this),"none"!==this.style.display&&(d=a.children().removeClass(l),m&&m[0]&&(d.eq(m[0][0]).addClass(u[0]),1<y)))for(c=1;c<y;c++)d.eq(m[c][0]).addClass(u[c]||u[p])}),v.processTbody(e,t,!1);if(i=!1!==o.columns_thead?["thead tr"]:[],!1!==o.columns_tfoot&&i.push("tfoot tr"),i.length&&(n=h.find(i.join(",")).children().removeClass(l),y))for(c=0;c<y;c++)n.filter('[data-column="'+m[c][0]+'"]').addClass(u[c]||u[p])},remove:function(e,r,o){var t,s,n=r.$tbodies,i=(o.columns||["primary","secondary","tertiary"]).join(" ");for(r.$headers.removeClass(i),r.$table.children("tfoot").children("tr").children("th, td").removeClass(i),t=0;t<n.length;t++)(s=v.processTbody(e,n.eq(t),!0)).children("tr").each(function(){b(this).children().removeClass(i)}),v.processTbody(e,s,!1)}})}(jQuery);return jQuery;}));
|
||||
|
@ -1,2 +1,4 @@
|
||||
/*! Widget: cssStickyHeaders - updated 5/24/2017 (v2.28.11) */
|
||||
!function(e,t){"use strict";var s=e.tablesorter;s.addWidget({id:"cssStickyHeaders",priority:10,options:{cssStickyHeaders_offset:0,cssStickyHeaders_addCaption:!1,cssStickyHeaders_attachTo:null,cssStickyHeaders_filteredToTop:!0},init:function(i,a,r,c){var d,o,n=r.$table,l=e(c.cssStickyHeaders_attachTo),p="ActiveXObject"in t||t.navigator.userAgent.indexOf("Edge")>-1,h=r.namespace+"cssstickyheader ",f=n.children("thead"),g=n.children("caption"),k=l.length?l:e(t),y=n.parent().closest("table."+s.css.table),H=y.length&&s.hasWidget(y[0],"cssStickyHeaders")?y.children("thead"):[],S=parseInt(n.css("border-top-width"),10)||0,b=n.height(),u=c.cssStickyHeaders_addCaption,_=!1,m=!1,C=function(e,t){var s=0===t?"":"translate(0px,"+t+"px)";e.css({transform:s,"-ms-transform":s,"-webkit-transform":s})};g.length&&(g.hide(),m=n.height()===b,g.show(),d=n.offset().top,C(g,20),_=n.offset().top!==d,C(g,0)),k.unbind("scroll resize ".split(" ").join(h).replace(/\s+/g," ")).bind("scroll resize ".split(" ").join(h),function(){c=r.widgetOptions,_&&(C(g,0),o=n.offset().top),k.scrollTop()<g.outerHeight(!0)&&(b=n.height());var e=l.length?l.offset().top:k.scrollTop(),t=(g.outerHeight(!0)||0)+(parseInt(n.css("padding-top"),10)||0)+(parseInt(n.css("border-spacing"),10)||0),s=b+(m&&c.cssStickyHeaders_addCaption?t:0)-f.height()-(n.children("tfoot").height()||0)-(c.cssStickyHeaders_addCaption?t:m?0:t),i=H.length?H.height():0,a=H.length?p?y.data("cssStickyHeaderBottom")+i:H.offset().top+i-k.scrollTop():0,d=_?o:n.offset().top,h=e-(m?d-(c.cssStickyHeaders_addCaption?t:0):d)+a+S+(c.cssStickyHeaders_offset||0)-(c.cssStickyHeaders_addCaption?m?t:0:t),T=h>0&&h<=s?h:0,v=p?f.children().children():f;p&&r.$table.data("cssStickyHeaderBottom",(H.length?i:0)-(c.cssStickyHeaders_addCaption?t:0)),c.cssStickyHeaders_addCaption&&(v=v.add(g)),u!==c.cssStickyHeaders_addCaption&&((u=c.cssStickyHeaders_addCaption)||C(g,0)),C(v,T)}),n.unbind(("filterEnd"+h).replace(/\s+/g," ")).bind("filterEnd"+h,function(){c.cssStickyHeaders_filteredToTop&&t.scrollTo(0,n.position().top)})},remove:function(s,i,a,r){if(!r){var c=i.namespace+"cssstickyheader ";e(t).unbind("scroll resize ".split(" ").join(c).replace(/\s+/g," ")),i.$table.unbind("filterEnd scroll resize ".split(" ").join(c).replace(/\s+/g," ")).add(i.$table.children("thead").children().children()).children("thead, caption").css({transform:"","-ms-transform":"","-webkit-transform":""})}}})}(jQuery,window);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: cssStickyHeaders - updated 6/16/2018 (v2.30.6) */
|
||||
!function(d,o){"use strict";var s=d.tablesorter;function a(r,l){function p(e,t){var s=0===t?"":"translate(0px,"+t+"px)";e.css({transform:s,"-ms-transform":s,"-webkit-transform":s})}var e,h,f=r.$table,g=d(l.cssStickyHeaders_attachTo),k="ActiveXObject"in o||-1<o.navigator.userAgent.indexOf("Edge"),t=r.namespace+"cssstickyheader ",y=f.children("thead"),H=f.children("caption"),u=g.length?g:d(o),S=f.parent().closest("table."+s.css.table),b=S.length&&s.hasWidget(S[0],"cssStickyHeaders")?S.children("thead"):[],m=parseInt(f.css("border-top-width"),10)||0,_=f.height(),C=l.cssStickyHeaders_addCaption,T=!1,v=!1;H.length&&(H.hide(),v=f.height()===_,H.show(),e=f.offset().top,p(H,20),T=f.offset().top!==e,p(H,0)),u.unbind("scroll resize ".split(" ").join(t).replace(/\s+/g," ")).bind("scroll resize ".split(" ").join(t),function(){l=r.widgetOptions,T&&(p(H,0),h=f.offset().top),u.scrollTop()<H.outerHeight(!0)&&(_=f.height());var e=g.length?g.offset().top:u.scrollTop(),t=(H.outerHeight(!0)||0)+(parseInt(f.css("padding-top"),10)||0)+(parseInt(f.css("border-spacing"),10)||0),s=_+(v&&l.cssStickyHeaders_addCaption?t:0)-y.height()-(f.children("tfoot").height()||0)-(l.cssStickyHeaders_addCaption?t:v?0:t),i=b.length?b.height():0,a=b.length?k?S.data("cssStickyHeaderBottom")+i:b.offset().top+i-u.scrollTop():0,d=T?h:f.offset().top,o=e-(v?d-(l.cssStickyHeaders_addCaption?t:0):d)+a+m+(l.cssStickyHeaders_offset||0)-(l.cssStickyHeaders_addCaption?v?t:0:t),c=0<o&&o<=s?o:0,n=k?y.children().children():y;k&&r.$table.data("cssStickyHeaderBottom",(b.length?i:0)-(l.cssStickyHeaders_addCaption?t:0)),l.cssStickyHeaders_addCaption&&(n=n.add(H)),C!==l.cssStickyHeaders_addCaption&&((C=l.cssStickyHeaders_addCaption)||p(H,0)),p(n,c)}),f.unbind("filterEnd updateComplete ".split(" ").join(t).replace(/\s+/g," ")).bind("filterEnd"+t,function(){l.cssStickyHeaders_filteredToTop&&o.scrollTo(0,f.position().top)}).bind("updateComplete"+t,function(){a(r,r.widgetOptions)})}s.addWidget({id:"cssStickyHeaders",priority:10,options:{cssStickyHeaders_offset:0,cssStickyHeaders_addCaption:!1,cssStickyHeaders_attachTo:null,cssStickyHeaders_filteredToTop:!0},init:function(e,t,s,i){a(s,i)},remove:function(e,t,s,i){if(!i){var a=t.namespace+"cssstickyheader ";d(o).unbind("scroll resize ".split(" ").join(a).replace(/\s+/g," ")),t.$table.unbind("filterEnd scroll resize updateComplete ".split(" ").join(a).replace(/\s+/g," ")).add(t.$table.children("thead").children().children()).children("thead, caption").css({transform:"","-ms-transform":"","-webkit-transform":""})}}})}(jQuery,window);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-currentSort.min.js
vendored
4
dist/js/widgets/widget-currentSort.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: currentSort - 7/31/2016 (v2.27.0) */
|
||||
!function(t){"use strict";var r=t.tablesorter;r.currentSortLanguage={0:"asc",1:"desc",2:"unsorted"},r.currentSort={init:function(t){t.$table.on("sortEnd.tscurrentSort",function(){r.currentSort.update(this.config)})},update:function(t){if(t){var n,o=t.widgetOptions,e=r.currentSortLanguage,c=e[2],u=Array.apply(null,Array(t.columns)).map(String.prototype.valueOf,c),a=t.sortList,i=a.length;for(n=0;n<i;n++)u[a[n][0]]=e[a[n][1]];t.currentSort=u,"function"==typeof o.currentSort_callback&&o.currentSort_callback(t,u)}}},r.addWidget({id:"currentSort",options:{currentSort_callback:null},init:function(t,n,o,e){r.currentSort.init(o,e)},remove:function(t,r){r.$table.off("sortEnd.tscurrentSort")}})}(jQuery);
|
||||
!function(){"use strict";var i=jQuery.tablesorter;i.currentSortLanguage={0:"asc",1:"desc",2:"unsorted"},i.currentSort={init:function(t){t.$table.on("sortEnd.tscurrentSort",function(){i.currentSort.update(this.config)})},update:function(t){if(t){var r,n=t.widgetOptions,o=i.currentSortLanguage,e=o[2],c=Array.apply(null,Array(t.columns)).map(String.prototype.valueOf,e),u=t.sortList,a=u.length;for(r=0;r<a;r++)c[u[r][0]]=o[u[r][1]];t.currentSort=c,"function"==typeof n.currentSort_callback&&n.currentSort_callback(t,c)}}},i.addWidget({id:"currentSort",options:{currentSort_callback:null},init:function(t,r,n,o){i.currentSort.init(n,o)},remove:function(t,r){r.$table.off("sortEnd.tscurrentSort")}})}();return jQuery;}));
|
||||
|
6
dist/js/widgets/widget-editable.min.js
vendored
6
dist/js/widgets/widget-editable.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,2 +1,4 @@
|
||||
/*! Widget: filter, select2 formatter function - updated 1/18/2018 (v2.29.4) */
|
||||
!function(e){"use strict";var t=e.tablesorter||{};t.filterFormatter=t.filterFormatter||{},t.filterFormatter.select2=function(l,c,i){var a,n,s=e.extend({cellText:"",match:!0,value:"",multiple:!0,width:"100%"},i),d=l.addClass("select2col"+c).closest("table")[0].config,r=d.widgetOptions,o=e('<input class="filter" type="hidden">').appendTo(l).bind("change"+d.namespace+"filter",function(){var e=v(this.value);d.$table.find(".select2col"+c+" .select2").select2("val",e),g()}),f=d.$headerIndexed[c],p=f.hasClass(r.filter_onlyAvail),u=s.match?"":"^",b=s.match?"":"$",$=r.filter_ignoreCase?"i":"",v=function(e){return e.replace(/^\/\(\^?/,"").replace(/\$\|\^/g,"|").replace(/\$?\)\/i?$/g,"").replace(/\\/g,"").split("|")},g=function(){var i=!1,a=d.$table.find(".select2col"+c+" .select2").select2("val")||s.value||"";e.isArray(a)&&(i=!0,a=a.join("\0")),a=a.replace(/[-[\]{}()*+?.,/\\^$|#\s]/g,"\\$&"),i&&(a=a.split("\0")),t.isEmptyObject(l.find(".select2").data())||(o.val(e.isArray(a)&&a.length&&""!==a.join("")?"/("+u+(a||[]).join(b+"|"+u)+b+")/"+$:"").trigger("search"),l.find(".select2").select2("val",a),d.widgetOptions.$sticky&&d.widgetOptions.$sticky.find(".select2col"+c+" .select2").select2("val",a))},h=function(){n=[],a=t.filter.getOptionSource(d.$table[0],c,p)||[],e.each(a,function(e,t){n.push({id:""+t.parsed,text:t.text})}),s.data=n};return f.toggleClass("filter-match",s.match),s.cellText&&l.prepend("<label>"+s.cellText+"</label>"),s.ajax&&!e.isEmptyObject(s.ajax)||s.data||(h(),d.$table.bind("filterEnd",function(){h(),d.$table.find(".select2col"+c).add(d.widgetOptions.$sticky&&d.widgetOptions.$sticky.find(".select2col"+c)).find(".select2").select2(s)})),e('<input class="select2 select2-'+c+'" type="hidden" />').val(s.value).appendTo(l).select2(s).bind("change",function(){g()}),d.$table.bind("filterFomatterUpdate",function(){var e=v(d.$table.data("lastSearch")[c]||"");(l=d.$table.find(".select2col"+c)).find(".select2").select2("val",e),g(),t.filter.formatterUpdated(l,c)}),d.$table.bind("stickyHeadersInit",function(){var t=d.widgetOptions.$sticky.find(".select2col"+c).empty();e('<input class="select2 select2-'+c+'" type="hidden">').val(s.value).appendTo(t).select2(s).bind("change",function(){d.$table.find(".select2col"+c).find(".select2").select2("val",d.widgetOptions.$sticky.find(".select2col"+c+" .select2").select2("val")),g()}),s.cellText&&t.prepend("<label>"+s.cellText+"</label>")}),d.$table.bind("filterReset",function(){d.$table.find(".select2col"+c).find(".select2").select2("val",s.value||""),setTimeout(function(){g()},0)}),g(),o}}(jQuery);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: filter, select2 formatter function - updated 12/1/2019 (v2.31.2) */
|
||||
!function(g){"use strict";var h=g.tablesorter||{};h.filterFormatter=h.filterFormatter||{},h.filterFormatter.select2=function(i,c,e){function t(){a=[],l=h.filter.getOptionSource(s.$table[0],c,f)||[],g.each(l,function(e,t){a.push({id:""+t.parsed,text:t.text})}),n.data=a}var l,a,n=g.extend({cellText:"",match:!0,value:"",multiple:!0,width:"100%"},e),s=i.addClass("select2col"+c).closest("table")[0].config,d=s.widgetOptions,r=g('<input class="filter" type="hidden">').appendTo(i).bind("change"+s.namespace+"filter",function(){var e=v(this.value);s.$table.find(".select2col"+c+" .select2").select2("val",e),$()}),o=s.$headerIndexed[c],f=o.hasClass(d.filter_onlyAvail),p=n.match?"":"^",u=n.match?"":"$",b=d.filter_ignoreCase?"i":"",v=function(e){return e.replace(/^\/\(\^?/,"").replace(/\$\|\^/g,"|").replace(/\$?\)\/i?$/g,"").replace(/\\/g,"").split("|")},$=function(){var e=!1,t=s.$table.find(".select2col"+c+" .select2").select2("val")||n.value||"";g.isArray(t)&&(e=!0,t=t.join("\0"));var l=t.replace(/[-[\]{}()*+?.,/\\^$|#]/g,"\\$&");e&&(t=t.split("\0"),l=l.split("\0")),h.isEmptyObject(i.find(".select2").data())||(r.val(g.isArray(l)&&l.length&&""!==l.join("")?"/("+p+(l||[]).join(u+"|"+p)+u+")/"+b:"").trigger("search"),i.find(".select2").select2("val",t),s.widgetOptions.$sticky&&s.widgetOptions.$sticky.find(".select2col"+c+" .select2").select2("val",t))};return o.toggleClass("filter-match",n.match),n.cellText&&i.prepend("<label>"+n.cellText+"</label>"),n.ajax&&!g.isEmptyObject(n.ajax)||n.data||(t(),s.$table.bind("filterEnd",function(){t(),s.$table.find(".select2col"+c).add(s.widgetOptions.$sticky&&s.widgetOptions.$sticky.find(".select2col"+c)).find(".select2").select2(n)})),g('<input class="select2 select2-'+c+'" type="hidden" />').val(n.value).appendTo(i).select2(n).bind("change",function(){$()}),s.$table.bind("filterFomatterUpdate",function(){var e=v(s.$table.data("lastSearch")[c]||"");(i=s.$table.find(".select2col"+c)).find(".select2").select2("val",e),$(),h.filter.formatterUpdated(i,c)}),s.$table.bind("stickyHeadersInit",function(){var e=s.widgetOptions.$sticky.find(".select2col"+c).empty();g('<input class="select2 select2-'+c+'" type="hidden">').val(n.value).appendTo(e).select2(n).bind("change",function(){s.$table.find(".select2col"+c).find(".select2").select2("val",s.widgetOptions.$sticky.find(".select2col"+c+" .select2").select2("val")),$()}),n.cellText&&e.prepend("<label>"+n.cellText+"</label>")}),s.$table.bind("filterReset",function(){s.$table.find(".select2col"+c).find(".select2").select2("val",n.value||""),setTimeout(function(){$()},0)}),$(),r}}(jQuery);return jQuery;}));
|
||||
|
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: filter, insideRange filter type - updated 12/10/2015 (v2.25.0) */
|
||||
!function(t){"use strict";var e=/\d+/,r=/\s+-\s+/,i=function(t){return isNaN(t)?t:parseFloat(t)};t.tablesorter.filter.types.insideRange=function(t,n){if(!n.anyMatch&&e.test(n.iFilter)&&r.test(n.iExact)){var a,s,l,u,c=n.index,f=n.$cells[c],o=n.iExact.split(r),p=t.parsers[n.index]&&t.parsers[n.index].format;return o&&o.length<2||"function"!=typeof p?null:(l=i(p(o[0],t.table,f,c)),u=i(p(o[1],t.table,f,c)),s=i(p(n.iFilter,t.table,f,c)),u<l&&(a=u,u=l,l=a),l<=s&&s<=u)}return null}}(jQuery);
|
||||
!function(){"use strict";function f(t){return isNaN(t)?t:parseFloat(t)}var t=jQuery.tablesorter,o=/\d+/,p=/\s+-\s+/;t.filter.types.insideRange=function(t,e){if(!e.anyMatch&&o.test(e.iFilter)&&p.test(e.iExact)){var r,i,n,a,s=e.index,l=e.$cells[s],u=e.iExact.split(p),c=t.parsers[e.index]&&t.parsers[e.index].format;return u&&u.length<2||"function"!=typeof c?null:(n=f(c(u[0],t.table,l,s)),(a=f(c(u[1],t.table,l,s)))<n&&(r=a,a=n,n=r),n<=(i=f(c(e.iFilter,t.table,l,s)))&&i<=a)}return null}}();return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-filter.min.js
vendored
4
dist/js/widgets/widget-filter.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-formatter.min.js
vendored
4
dist/js/widgets/widget-formatter.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: formatter - 2/9/2015 (v2.19.1) */
|
||||
!function(t){"use strict";var e=t.tablesorter;e.formatter={init:function(t){var o=t.widgetOptions.formatter_event+" pagerComplete updateComplete ".split(" ").join(".tsformatter ");t.$table.off(o.replace(/\s+/g," ")).on(o,function(){e.formatter.setup(t)}),e.formatter.setup(t)},setup:function(o){if(!t.isEmptyObject(o.cache)){var r,n,i,a,l,c,f,s=o.widgetOptions,m={config:o,wo:s},d=[],u=[];for(f=0;f<o.columns;f++)u[f]=o.$headerIndexed[f],d[f]=e.getColumnData(o.table,s.formatter_column,f)||!1;for(n=0;n<o.$tbodies.length;n++){for(r=e.processTbody(o.table,o.$tbodies.eq(n),!0),c=(a=o.cache[n]).normalized.length,i=0;i<c;i++)for(m.$row=a.normalized[i][o.columns].$row,m.$cells=m.$row.children("th, td"),f=0;f<o.columns;f++)d[f]&&(m.columnIndex=f,m.$header=u[f],m.$cell=m.$cells.eq(f),l=m.$cell[0],m.text=l.getAttribute(o.textAttribute)||l.textContent||m.$cell.text(),l.innerHTML=d[f](m.text,m));e.processTbody(o.table,r,!1)}}}},e.addWidget({id:"formatter",priority:100,options:{formatter_column:{},formatter_event:"applyFormatter"},init:function(t){e.formatter.init(t.config)}})}(jQuery);
|
||||
!function(d){"use strict";var u=d.tablesorter;u.formatter={init:function(t){var e=t.widgetOptions.formatter_event+" pagerComplete updateComplete ".split(" ").join(".tsformatter ");t.$table.off(e.replace(/\s+/g," ")).on(e,function(){u.formatter.setup(t)}),u.formatter.setup(t)},setup:function(t){if(!d.isEmptyObject(t.cache)){var e,o,r,n,i,a,l,c=t.widgetOptions,f={config:t,wo:c},s=[],m=[];for(l=0;l<t.columns;l++)m[l]=t.$headerIndexed[l],s[l]=u.getColumnData(t.table,c.formatter_column,l)||!1;for(o=0;o<t.$tbodies.length;o++){for(e=u.processTbody(t.table,t.$tbodies.eq(o),!0),a=(n=t.cache[o]).normalized.length,r=0;r<a;r++)for(f.$row=n.normalized[r][t.columns].$row,f.$cells=f.$row.children("th, td"),l=0;l<t.columns;l++)s[l]&&(f.columnIndex=l,f.$header=m[l],f.$cell=f.$cells.eq(l),i=f.$cell[0],f.text=i.getAttribute(t.textAttribute)||i.textContent||f.$cell.text(),i.innerHTML=s[l](f.text,f));u.processTbody(t.table,e,!1)}}}},u.addWidget({id:"formatter",priority:100,options:{formatter_column:{},formatter_event:"applyFormatter"},init:function(t){u.formatter.init(t.config)}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-grouping.min.js
vendored
4
dist/js/widgets/widget-grouping.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-headerTitles.min.js
vendored
4
dist/js/widgets/widget-headerTitles.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: headerTitles - updated 11/10/2015 (v2.24.4) */
|
||||
!function(e){"use strict";var t=e.tablesorter;t.addWidget({id:"headerTitles",options:{headerTitle_useAria:!1,headerTitle_tooltip:"",headerTitle_cur_text:[" sort: A - Z"," sort: Z - A","ly unsorted"],headerTitle_cur_numeric:[" sort: 0 - 9"," sort: 9 - 0","ly unsorted"],headerTitle_nxt_text:[" sort: A - Z"," sort: Z - A","remove sort"],headerTitle_nxt_numeric:[" sort: 0 - 9"," sort: 9 - 0","remove sort"],headerTitle_output_sorted:"current{current}; activate to {next}",headerTitle_output_unsorted:"current{current}; activate to {next} ",headerTitle_output_nosort:"No sort available",headerTitle_type:[],headerTitle_callback:null},init:function(t,r,a,o){a.$table.on("refreshHeaderTitle",function(){r.format(t,a,o)}),e.isArray(o.headerTitle_tooltip)?a.$headers.each(function(){e(this).addClass(o.headerTitle_tooltip[this.column]||"")}):""!==o.headerTitle_tooltip&&a.$headers.addClass(o.headerTitle_tooltip)},format:function(r,a,o){var s;a.$headers.each(function(){var r=e(this),i=parseInt(r.attr("data-column"),10),l=o.headerTitle_type[i]||a.parsers[i].type||"text",d=r.hasClass(t.css.sortAsc)?0:r.hasClass(t.css.sortDesc)?1:2,n=a.sortVars[i].order[(a.sortVars[i].count+1)%(a.sortReset?3:2)];o.headerTitle_useAria?s=r.attr("aria-label")||o.headerTitle_output_nosort||"":(s=(o.headerTitle_prefix||"")+(r.hasClass("sorter-false")?o.headerTitle_output_nosort:t.isValueInArray(i,a.sortList)>=0?o.headerTitle_output_sorted:o.headerTitle_output_unsorted),s=s.replace(/\{(current|next|name)\}/gi,function(e){return{"{name}":r.text(),"{current}":o["headerTitle_cur_"+l][d]||"","{next}":o["headerTitle_nxt_"+l][n]||""}[e.toLowerCase()]})),r.attr("title",e.isFunction(o.headerTitle_callback)?o.headerTitle_callback(r,s):s)})},remove:function(t,r,a){r.$headers.attr("title",""),r.$table.off("refreshHeaderTitle"),e.isArray(a.headerTitle_tooltip)?r.$headers.each(function(){e(this).removeClass(a.headerTitle_tooltip[this.column]||"")}):""!==a.headerTitle_tooltip&&r.$headers.removeClass(a.headerTitle_tooltip)}})}(jQuery);
|
||||
!function(d){"use strict";var n=d.tablesorter;n.addWidget({id:"headerTitles",options:{headerTitle_useAria:!1,headerTitle_tooltip:"",headerTitle_cur_text:[" sort: A - Z"," sort: Z - A","ly unsorted"],headerTitle_cur_numeric:[" sort: 0 - 9"," sort: 9 - 0","ly unsorted"],headerTitle_nxt_text:[" sort: A - Z"," sort: Z - A","remove sort"],headerTitle_nxt_numeric:[" sort: 0 - 9"," sort: 9 - 0","remove sort"],headerTitle_output_sorted:"current{current}; activate to {next}",headerTitle_output_unsorted:"current{current}; activate to {next} ",headerTitle_output_nosort:"No sort available",headerTitle_type:[],headerTitle_callback:null},init:function(e,t,r,a){r.$table.on("refreshHeaderTitle",function(){t.format(e,r,a)}),d.isArray(a.headerTitle_tooltip)?r.$headers.each(function(){d(this).addClass(a.headerTitle_tooltip[this.column]||"")}):""!==a.headerTitle_tooltip&&r.$headers.addClass(a.headerTitle_tooltip)},format:function(e,s,i){var l;s.$headers.each(function(){var t=d(this),e=parseInt(t.attr("data-column"),10),r=i.headerTitle_type[e]||s.parsers[e].type||"text",a=t.hasClass(n.css.sortAsc)?0:t.hasClass(n.css.sortDesc)?1:2,o=s.sortVars[e].order[(s.sortVars[e].count+1)%(s.sortReset?3:2)];l=i.headerTitle_useAria?t.attr("aria-label")||i.headerTitle_output_nosort||"":(l=(i.headerTitle_prefix||"")+(t.hasClass("sorter-false")?i.headerTitle_output_nosort:0<=n.isValueInArray(e,s.sortList)?i.headerTitle_output_sorted:i.headerTitle_output_unsorted)).replace(/\{(current|next|name)\}/gi,function(e){return{"{name}":t.text(),"{current}":i["headerTitle_cur_"+r][a]||"","{next}":i["headerTitle_nxt_"+r][o]||""}[e.toLowerCase()]}),t.attr("title",d.isFunction(i.headerTitle_callback)?i.headerTitle_callback(t,l):l)})},remove:function(e,t,r){t.$headers.attr("title",""),t.$table.off("refreshHeaderTitle"),d.isArray(r.headerTitle_tooltip)?t.$headers.each(function(){d(this).removeClass(r.headerTitle_tooltip[this.column]||"")}):""!==r.headerTitle_tooltip&&t.$headers.removeClass(r.headerTitle_tooltip)}})}(jQuery);return jQuery;}));
|
||||
|
21
dist/js/widgets/widget-lazyload.min.js
vendored
21
dist/js/widgets/widget-lazyload.min.js
vendored
@ -1,5 +1,8 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: lazyload (BETA) - 4/1/2016 (v2.25.7) */
|
||||
!function(t,e){"use strict";var o=t.tablesorter;o.lazyload={init:function(l,a){"scrollstop"!==a.lazyload_event||o.addScrollStopDone||(o.addScrollStop(),o.addScrollStopDone=!0,t.event.special.scrollstop.latency=a.lazyload_latency||250),o.lazyload.update(l,a);var i=l.namespace+"lazyload ",n=[a.lazyload_update,"pagerUpdate",a.columnSelector_updated||"columnUpdate",""].join(i);l.$table.on(n,function(){o.lazyload.update(l,l.widgetOptions)}).on("filterEnd"+i,function(){t(e).scroll()})},update:function(o,l){var a=(/(\.|#)/.test(l.lazyload_imageClass)?"":".")+l.lazyload_imageClass;o.$table.find(a).lazyload({threshold:l.lazyload_threshold,failure_limit:l.lazyload_failure_limit,event:l.lazyload_event,effect:l.lazyload_effect,container:l.lazyload_container,data_attribute:l.lazyload_data_attribute,skip_invisible:l.lazyload_skip_invisible,appear:l.lazyload_appear,load:l.lazyload_load,placeholder:l.lazyload_placeholder}),setTimeout(function(){t(e).scroll()},1)},remove:function(t){t.$table.off(t.namespace+"lazyload")}},o.addWidget({id:"lazyload",options:{lazyload_imageClass:"lazy",lazyload_update:"lazyloadUpdate",lazyload_latency:250,lazyload_threshold:0,lazyload_failure_limit:0,lazyload_event:"scrollstop",lazyload_effect:"show",lazyload_container:e,lazyload_data_attribute:"original",lazyload_skip_invisible:!0,lazyload_appear:null,lazyload_load:null,lazyload_placeholder:"data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="},init:function(t,e,l,a){o.lazyload.init(l,a)},remove:function(t,e,l){o.lazyload.remove(e,l)}}),o.addScrollStop=function(){var e=t.event.dispatch||t.event.handle,o=t.event.special,l="D"+ +new Date,a="D"+(+new Date+1);o.scrollstart={setup:function(a){var i,n=t.extend({latency:o.scrollstop.latency},a),r=function(t){var o=this,l=arguments;i?clearTimeout(i):(t.type="scrollstart",e.apply(o,l)),i=setTimeout(function(){i=null},n.latency)};t(this).bind("scroll",r).data(l,r)},teardown:function(){t(this).unbind("scroll",t(this).data(l))}},o.scrollstop={latency:250,setup:function(l){var i,n=t.extend({latency:o.scrollstop.latency},l),r=function(t){var o=this,l=arguments;i&&clearTimeout(i),i=setTimeout(function(){i=null,t.type="scrollstop",e.apply(o,l)},n.latency)};t(this).bind("scroll",r).data(a,r)},teardown:function(){t(this).unbind("scroll",t(this).data(a))}}}}(jQuery,window),/*!
|
||||
!function(r,o){"use strict";var n=r.tablesorter;n.lazyload={init:function(t,e){"scrollstop"!==e.lazyload_event||n.addScrollStopDone||(n.addScrollStop(),n.addScrollStopDone=!0,r.event.special.scrollstop.latency=e.lazyload_latency||250),n.lazyload.update(t,e);var l=t.namespace+"lazyload ",a=[e.lazyload_update,"pagerUpdate",e.columnSelector_updated||"columnUpdate",""].join(l);t.$table.on(a,function(){n.lazyload.update(t,t.widgetOptions)}).on("filterEnd"+l,function(){r(o).scroll()})},update:function(t,e){var l=(/(\.|#)/.test(e.lazyload_imageClass)?"":".")+e.lazyload_imageClass;t.$table.find(l).lazyload({threshold:e.lazyload_threshold,failure_limit:e.lazyload_failure_limit,event:e.lazyload_event,effect:e.lazyload_effect,container:e.lazyload_container,data_attribute:e.lazyload_data_attribute,skip_invisible:e.lazyload_skip_invisible,appear:e.lazyload_appear,load:e.lazyload_load,placeholder:e.lazyload_placeholder}),setTimeout(function(){r(o).scroll()},1)},remove:function(t){t.$table.off(t.namespace+"lazyload")}},n.addWidget({id:"lazyload",options:{lazyload_imageClass:"lazy",lazyload_update:"lazyloadUpdate",lazyload_latency:250,lazyload_threshold:0,lazyload_failure_limit:0,lazyload_event:"scrollstop",lazyload_effect:"show",lazyload_container:o,lazyload_data_attribute:"original",lazyload_skip_invisible:!0,lazyload_appear:null,lazyload_load:null,lazyload_placeholder:"data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="},init:function(t,e,l,a){n.lazyload.init(l,a)},remove:function(t,e,l){n.lazyload.remove(e,l)}}),n.addScrollStop=function(){var n=r.event.dispatch||r.event.handle,i=r.event.special,o="D"+ +new Date,l="D"+(+new Date+1);i.scrollstart={setup:function(t){function e(t){var e=arguments;l?clearTimeout(l):(t.type="scrollstart",n.apply(this,e)),l=setTimeout(function(){l=null},a.latency)}var l,a=r.extend({latency:i.scrollstop.latency},t);r(this).bind("scroll",e).data(o,e)},teardown:function(){r(this).unbind("scroll",r(this).data(o))}},i.scrollstop={latency:250,setup:function(t){function e(t){var e=this,l=arguments;a&&clearTimeout(a),a=setTimeout(function(){a=null,t.type="scrollstop",n.apply(e,l)},o.latency)}var a,o=r.extend({latency:i.scrollstop.latency},t);r(this).bind("scroll",e).data(l,e)},teardown:function(){r(this).unbind("scroll",r(this).data(l))}}}}(jQuery,window),
|
||||
/*!
|
||||
* Lazy Load - jQuery plugin for lazy loading images
|
||||
*
|
||||
* Copyright (c) 2007-2015 Mika Tuupola
|
||||
@ -13,18 +16,4 @@
|
||||
* Version: 1.9.7
|
||||
*
|
||||
*/
|
||||
function(t,e,o,l){var a=t(e);t.fn.lazyload=function(l){function i(){var e=0;r.each(function(){var o=t(this);if(!d.skip_invisible||o.is(":visible"))if(t.abovethetop(this,d)||t.leftofbegin(this,d));else if(t.belowthefold(this,d)||t.rightoffold(this,d)){if(++e>d.failure_limit)return!1}else o.trigger("appear"),e=0})}var n,r=this,d={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="};/*!
|
||||
* Lazy Load - jQuery plugin for lazy loading images
|
||||
*
|
||||
* Copyright (c) 2007-2015 Mika Tuupola
|
||||
*
|
||||
* Licensed under the MIT license:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Project home:
|
||||
* http://www.appelsiini.net/projects/lazyload
|
||||
*
|
||||
* Version: 1.9.7
|
||||
*
|
||||
*/
|
||||
return l&&(void 0!==l.failurelimit&&(l.failure_limit=l.failurelimit,delete l.failurelimit),void 0!==l.effectspeed&&(l.effect_speed=l.effectspeed,delete l.effectspeed),t.extend(d,l)),n=void 0===d.container||d.container===e?a:t(d.container),0===d.event.indexOf("scroll")&&n.bind(d.event,function(){return i()}),this.each(function(){var e=this,o=t(e);e.loaded=!1,void 0!==o.attr("src")&&!1!==o.attr("src")||o.is("img")&&o.attr("src",d.placeholder),o.one("appear",function(){if(!this.loaded){if(d.appear){var l=r.length;d.appear.call(e,l,d)}t("<img />").bind("load",function(){var l=o.attr("data-"+d.data_attribute);o.hide(),o.is("img")?o.attr("src",l):o.css("background-image",'url("'+l+'")'),o[d.effect](d.effect_speed),e.loaded=!0;var a=t.grep(r,function(t){return!t.loaded});if(r=t(a),d.load){var i=r.length;d.load.call(e,i,d)}}).attr("src",o.attr("data-"+d.data_attribute))}}),0!==d.event.indexOf("scroll")&&o.bind(d.event,function(){e.loaded||o.trigger("appear")})}),a.bind("resize",function(){i()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&a.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&r.each(function(){t(this).trigger("appear")})}),t(o).ready(function(){i()}),this},t.belowthefold=function(o,l){return(void 0===l.container||l.container===e?(e.innerHeight?e.innerHeight:a.height())+a.scrollTop():t(l.container).offset().top+t(l.container).height())<=t(o).offset().top-l.threshold},t.rightoffold=function(o,l){return(void 0===l.container||l.container===e?a.width()+a.scrollLeft():t(l.container).offset().left+t(l.container).width())<=t(o).offset().left-l.threshold},t.abovethetop=function(o,l){return(void 0===l.container||l.container===e?a.scrollTop():t(l.container).offset().top)>=t(o).offset().top+l.threshold+t(o).height()},t.leftofbegin=function(o,l){return(void 0===l.container||l.container===e?a.scrollLeft():t(l.container).offset().left)>=t(o).offset().left+l.threshold+t(o).width()},t.inviewport=function(e,o){return!(t.rightoffold(e,o)||t.leftofbegin(e,o)||t.belowthefold(e,o)||t.abovethetop(e,o))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document);
|
||||
function(r,a,o,d){var f=r(a);r.fn.lazyload=function(t){var e,n=this,i={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:a,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="};function l(){var e=0;n.each(function(){var t=r(this);if((!i.skip_invisible||t.is(":visible"))&&!r.abovethetop(this,i)&&!r.leftofbegin(this,i))if(r.belowthefold(this,i)||r.rightoffold(this,i)){if(++e>i.failure_limit)return!1}else t.trigger("appear"),e=0})}return t&&(d!==t.failurelimit&&(t.failure_limit=t.failurelimit,delete t.failurelimit),d!==t.effectspeed&&(t.effect_speed=t.effectspeed,delete t.effectspeed),r.extend(i,t)),e=i.container===d||i.container===a?f:r(i.container),0===i.event.indexOf("scroll")&&e.bind(i.event,function(){return l()}),this.each(function(){var a=this,o=r(a);a.loaded=!1,o.attr("src")!==d&&!1!==o.attr("src")||o.is("img")&&o.attr("src",i.placeholder),o.one("appear",function(){if(!this.loaded){if(i.appear){var t=n.length;i.appear.call(a,t,i)}r("<img />").bind("load",function(){var t=o.attr("data-"+i.data_attribute);o.hide(),o.is("img")?o.attr("src",t):o.css("background-image",'url("'+t+'")'),o[i.effect](i.effect_speed),a.loaded=!0;var e=r.grep(n,function(t){return!t.loaded});if(n=r(e),i.load){var l=n.length;i.load.call(a,l,i)}}).attr("src",o.attr("data-"+i.data_attribute))}}),0!==i.event.indexOf("scroll")&&o.bind(i.event,function(){a.loaded||o.trigger("appear")})}),f.bind("resize",function(){l()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&f.bind("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&n.each(function(){r(this).trigger("appear")})}),r(o).ready(function(){l()}),this},r.belowthefold=function(t,e){return(e.container===d||e.container===a?(a.innerHeight?a.innerHeight:f.height())+f.scrollTop():r(e.container).offset().top+r(e.container).height())<=r(t).offset().top-e.threshold},r.rightoffold=function(t,e){return(e.container===d||e.container===a?f.width()+f.scrollLeft():r(e.container).offset().left+r(e.container).width())<=r(t).offset().left-e.threshold},r.abovethetop=function(t,e){return(e.container===d||e.container===a?f.scrollTop():r(e.container).offset().top)>=r(t).offset().top+e.threshold+r(t).height()},r.leftofbegin=function(t,e){return(e.container===d||e.container===a?f.scrollLeft():r(e.container).offset().left)>=r(t).offset().left+e.threshold+r(t).width()},r.inviewport=function(t,e){return!(r.rightoffold(t,e)||r.leftofbegin(t,e)||r.belowthefold(t,e)||r.abovethetop(t,e))},r.extend(r.expr[":"],{"below-the-fold":function(t){return r.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!r.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return r.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!r.rightoffold(t,{threshold:0})},"in-viewport":function(t){return r.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!r.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return r.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!r.rightoffold(t,{threshold:0})}})}(jQuery,window,document);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-mark.min.js
vendored
4
dist/js/widgets/widget-mark.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: mark.js - updated 9/23/2016 (v2.27.7) */
|
||||
!function(e){"use strict";var t=e.tablesorter;t.mark={init:function(r){if("function"==typeof e.fn.mark){var n,a=r.widgetOptions.mark_tsUpdate;r.$table.on("filterEnd.tsmark pagerComplete.tsmark"+(a?" "+a:""),function(e,n){t.mark.update(r,e.type===a?n:"")}),n="(?:<|=|>|\\||\"|\\'|\\s+(?:&&|-|"+(t.language.and||"and")+"|"+(t.language.or||"or")+"|"+(t.language.to||"to")+")\\s+)",t.mark.regex.filter=new RegExp(n,"gim")}else console.warn('Widget-mark not initialized: missing "jquery.mark.js"')},regex:{mark:/^mark_(.+)$/,pure:/^\/((?:\\\/|[^\/])+)\/([mig]{0,3})?$/},checkRegex:function(e){if(e instanceof RegExp){var t="".match(e);return null===t||t.length<5}return!1},cleanMatches:function(e){for(var t=[],r=e&&e.length||0;r--;)""!==e[r]&&(t[t.length]=e[r]);return t},ignoreColumns:function(t){for(var r=t.widgetOptions,n=t.columns,a=[];n--;)(r.mark_tsIgnore[n]||e(t.$headerIndexed[n]).hasClass("mark-ignore"))&&(a[a.length]=":nth-child("+(n+1)+")");return a.length?":not("+a.join(",")+")":""},update:function(r,n){var a={},i=r.widgetOptions,o=t.mark.regex,l=r.$table.find("tbody tr").unmark().not("."+(r.widgetOptions.filter_filteredRow||"filtered"));n=n||e.tablesorter.getFilters(r.$table),e.each(r.widgetOptions,function(e,t){var r=e.match(o.mark);r&&void 0!==r[1]&&(a[r[1]]=t)}),e.each(n,function(n,g){if(g&&!e(r.$headerIndexed[n]).hasClass("mark-ignore")&&!i.mark_tsIgnore[n]){var m=null,s=g,c=!1,d=n===r.columns?t.mark.ignoreColumns(r):":nth-child("+(n+1)+")";if(o.pure.test(g)){".*"===(s=o.pure.exec(g))[1]&&(s[1]="");try{m=new RegExp(s[1],"gim"),s=new RegExp(s[1],s[2])}catch(e){s=null}return void(t.mark.checkRegex(m)&&l.children(d).markRegExp(s,a))}0===g.indexOf("~")?(c=!0,s=g.replace(/~/g,"").split("")):(g.indexOf("?")>-1&&(c=!0,g=g.replace(/\?/g,"\\S{1}")),g.indexOf("*")>-1&&(c=!0,g=g.replace(/\*/g,"\\S*")),s=g.split(o.filter)),c&&s&&s.length?(s=new RegExp(t.mark.cleanMatches(s).join(".*"),"gm"),t.mark.checkRegex(s)&&l.children(d).markRegExp(s,a)):l.children(d).mark(t.mark.cleanMatches(s),a)}})}},t.addWidget({id:"mark",options:{mark_tsUpdate:"markUpdate",mark_tsIgnore:{}},init:function(e,r,n,a){t.mark.init(n,a)},remove:function(e,t){var r=t.widgetOptions.mark_tsUpdate;t.$table.off("filterEnd.tsmark pagerComplete.tsmark"+(r?" "+r:""))}})}(jQuery);
|
||||
!function(c){"use strict";var d=c.tablesorter;d.mark={init:function(r){if("function"==typeof c.fn.mark){var e,n=r.widgetOptions.mark_tsUpdate;r.$table.on("filterEnd.tsmark pagerComplete.tsmark"+(n?" "+n:""),function(e,t){d.mark.update(r,e.type===n?t:"")}),e="(?:<|=|>|\\||\"|\\'|\\s+(?:&&|-|"+(d.language.and||"and")+"|"+(d.language.or||"or")+"|"+(d.language.to||"to")+")\\s+)",d.mark.regex.filter=new RegExp(e,"gim")}else console.warn('Widget-mark not initialized: missing "jquery.mark.js"')},regex:{mark:/^mark_(.+)$/,pure:/^\/((?:\\\/|[^\/])+)\/([mig]{0,3})?$/},checkRegex:function(e){if(e instanceof RegExp){var t="".match(e);return null===t||t.length<5}return!1},cleanMatches:function(e){for(var t=[],r=e&&e.length||0;r--;)""!==e[r]&&(t[t.length]=e[r]);return t},ignoreColumns:function(e){for(var t=e.widgetOptions,r=e.columns,n=[];r--;)(t.mark_tsIgnore[r]||c(e.$headerIndexed[r]).hasClass("mark-ignore"))&&(n[n.length]=":nth-child("+(r+1)+")");return n.length?":not("+n.join(",")+")":""},update:function(o,e){var l={},g=o.widgetOptions,m=d.mark.regex,s=o.$table.find("tbody tr").unmark().not("."+(o.widgetOptions.filter_filteredRow||"filtered"));e=e||c.tablesorter.getFilters(o.$table),c.each(o.widgetOptions,function(e,t){var r=e.match(m.mark);r&&void 0!==r[1]&&(l[r[1]]=t)}),c.each(e,function(e,t){if(t&&!c(o.$headerIndexed[e]).hasClass("mark-ignore")&&!g.mark_tsIgnore[e]){var r=null,n=t,a=!1,i=e===o.columns?d.mark.ignoreColumns(o):":nth-child("+(e+1)+")";if(m.pure.test(t)){".*"===(n=m.pure.exec(t))[1]&&(n[1]="");try{r=new RegExp(n[1],"gim"),n=new RegExp(n[1],n[2])}catch(e){n=null}return void(d.mark.checkRegex(r)&&s.children(i).markRegExp(n,l))}n=0===t.indexOf("~")?(a=!0,t.replace(/~/g,"").split("")):(-1<t.indexOf("?")&&(a=!0,t=t.replace(/\?/g,"\\S{1}")),-1<t.indexOf("*")&&(a=!0,t=t.replace(/\*/g,"\\S*")),t.split(m.filter)),a&&n&&n.length?(n=new RegExp(d.mark.cleanMatches(n).join(".*"),"gm"),d.mark.checkRegex(n)&&s.children(i).markRegExp(n,l)):s.children(i).mark(d.mark.cleanMatches(n),l)}})}},d.addWidget({id:"mark",options:{mark_tsUpdate:"markUpdate",mark_tsIgnore:{}},init:function(e,t,r,n){d.mark.init(r,n)},remove:function(e,t){var r=t.widgetOptions.mark_tsUpdate;t.$table.off("filterEnd.tsmark pagerComplete.tsmark"+(r?" "+r:""))}})}(jQuery);return jQuery;}));
|
||||
|
6
dist/js/widgets/widget-math.min.js
vendored
6
dist/js/widgets/widget-math.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-output.min.js
vendored
4
dist/js/widgets/widget-output.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/js/widgets/widget-pager.min.js
vendored
6
dist/js/widgets/widget-pager.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-print.min.js
vendored
4
dist/js/widgets/widget-print.min.js
vendored
@ -1 +1,3 @@
|
||||
!function(t){"use strict";var e=t.tablesorter,i=e.printTable={event:"printTable",basicStyle:"table, tr, td, th { border : solid 1px black; border-collapse : collapse; } td, th { padding: 2px; }",popupStyle:"width=500,height=300,scrollbars=1,resizable=1",init:function(t){t.$table.unbind(i.event).bind(i.event,function(){return i.process(t,t.widgetOptions),!1})},process:function(n,r){var o,a,l=t("<div/>").append(n.$table.clone()),p=i.basicStyle+"table { width: 100%; }."+(e.css.filterRow||"tablesorter-filter-row")+", ."+(r.filter_filteredRow||"filtered")+" { display: none; }."+(e.css.header||"tablesorter-header")+" { background-image: none !important; }@media print { .print_widget_hidden { display: none; } }";l.find("["+r.print_dataAttrib+"]").each(function(){(o=t(this)).text(o.attr(r.print_dataAttrib))}),a="data-"+(r.lazyload_data_attribute||"original"),l.find("img["+a+"]").each(function(){(o=t(this)).attr("src",o.attr(a))}),/^f/i.test(r.print_rows)?p+="tbody tr:not(."+(r.filter_filteredRow||"filtered")+") { display: table-row !important; }":/^a/i.test(r.print_rows)?p+="tbody tr { display: table-row !important; }":/^[.#:\[]/.test(r.print_rows)&&(p+="tbody tr"+r.print_rows+" { display: table-row !important; }"),/s/i.test(r.print_columns)&&n.selector&&e.hasWidget(n.table,"columnSelector")?p+=r.columnSelector_mediaquery&&n.selector.auto?"":n.selector.$style.text():/a/i.test(r.print_columns)&&(p+="td, th { display: table-cell !important; }"),p+=r.print_extraCSS,t.isFunction(r.print_callback)?r.print_callback(n,l,p):i.printOutput(n,l.html(),p)},printOutput:function(t,n,r){var o=t.widgetOptions,a=e.language,l=window.open("",o.print_title,i.popupStyle),p=o.print_title||t.$table.find("caption").text()||t.$table[0].id||document.title||"table",s=o.print_now?"":'<div class="print_widget_hidden"><a href="javascript:window.print();"><button type="button">'+a.button_print+'</button></a> <a href="javascript:window.close();"><button type="button">'+a.button_close+"</button></a><hr></div>";return l.document.write("<html><head><title>"+p+"</title>"+(o.print_styleSheet?'<link rel="stylesheet" href="'+o.print_styleSheet+'">':"")+"<style>"+r+"</style></head><body>"+s+n+"</body></html>"),l.document.close(),o.print_now&&setTimeout(function(){l.print(),l.close()},10),!0},remove:function(t){t.$table.off(i.event)}};e.language.button_close="Close",e.language.button_print="Print",e.addWidget({id:"print",options:{print_title:"",print_dataAttrib:"data-name",print_rows:"filtered",print_columns:"selected",print_extraCSS:"",print_styleSheet:"",print_now:!0,print_callback:null},init:function(t,e,n){i.init(n)},remove:function(t,e){i.remove(e)}})}(jQuery);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
!function(a){"use strict";var p=a.tablesorter,s=p.printTable={event:"printTable",basicStyle:"table, tr, td, th { border : solid 1px black; border-collapse : collapse; } td, th { padding: 2px; }",popupStyle:"width=500,height=300,scrollbars=1,resizable=1",init:function(t){t.$table.unbind(s.event).bind(s.event,function(){return s.process(t,t.widgetOptions),!1})},process:function(t,e){var i,n,r=a("<div/>").append(t.$table.clone()),o=s.basicStyle+"table { width: 100%; }."+(p.css.filterRow||"tablesorter-filter-row")+", ."+(e.filter_filteredRow||"filtered")+" { display: none; }."+(p.css.header||"tablesorter-header")+" { background-image: none !important; }@media print { .print_widget_hidden { display: none; } }";r.find("["+e.print_dataAttrib+"]").each(function(){(i=a(this)).text(i.attr(e.print_dataAttrib))}),n="data-"+(e.lazyload_data_attribute||"original"),r.find("img["+n+"]").each(function(){(i=a(this)).attr("src",i.attr(n))}),/^f/i.test(e.print_rows)?o+="tbody tr:not(."+(e.filter_filteredRow||"filtered")+") { display: table-row !important; }":/^a/i.test(e.print_rows)?o+="tbody tr { display: table-row !important; }":/^[.#:\[]/.test(e.print_rows)&&(o+="tbody tr"+e.print_rows+" { display: table-row !important; }"),/s/i.test(e.print_columns)&&t.selector&&p.hasWidget(t.table,"columnSelector")?o+=e.columnSelector_mediaquery&&t.selector.auto?"":t.selector.$style.text():/a/i.test(e.print_columns)&&(o+="td, th { display: table-cell !important; }"),o+=e.print_extraCSS,a.isFunction(e.print_callback)?e.print_callback(t,r,o):s.printOutput(t,r.html(),o)},printOutput:function(t,e,i){var n=t.widgetOptions,r=p.language,o=window.open("",n.print_title,s.popupStyle),a=n.print_title||t.$table.find("caption").text()||t.$table[0].id||document.title||"table",l=n.print_now?"":'<div class="print_widget_hidden"><a href="javascript:window.print();"><button type="button">'+r.button_print+'</button></a> <a href="javascript:window.close();"><button type="button">'+r.button_close+"</button></a><hr></div>";return o.document.write("<html><head><title>"+a+"</title>"+(n.print_styleSheet?'<link rel="stylesheet" href="'+n.print_styleSheet+'">':"")+"<style>"+i+"</style></head><body>"+l+e+"</body></html>"),o.document.close(),n.print_now&&setTimeout(function(){o.print(),o.close()},10),!0},remove:function(t){t.$table.off(s.event)}};p.language.button_close="Close",p.language.button_print="Print",p.addWidget({id:"print",options:{print_title:"",print_dataAttrib:"data-name",print_rows:"filtered",print_columns:"selected",print_extraCSS:"",print_styleSheet:"",print_now:!0,print_callback:null},init:function(t,e,i){s.init(i)},remove:function(t,e){s.remove(e)}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-reflow.min.js
vendored
4
dist/js/widgets/widget-reflow.min.js
vendored
@ -1 +1,3 @@
|
||||
!function(e){"use strict";var t=e.tablesorter,l={init:function(t,o,r){var a,s=r.reflow_dataAttrib,i=r.reflow_headerAttrib,n=[];o.$table.addClass(r.reflow_className).off("refresh.tsreflow updateComplete.tsreflow2").on("refresh.tsreflow updateComplete.tsreflow2",function(){l.init(t,o,r)}),o.$headers.each(function(){a=e(this),n.push(e.trim(a.attr(i)||a.text()))}),o.$tbodies.children().each(function(){e(this).children().each(function(t){e(this).attr(s,n[t])})})},init2:function(o,r,a){var s,i,n,f,c,d,u=r.columns,h=a.reflow2_headerAttrib,w=[];for(r.$table.addClass(a.reflow2_className).off("refresh.tsreflow2 updateComplete.tsreflow2").on("refresh.tsreflow2 updateComplete.tsreflow2",function(){l.init2(o,r,a)}),n=0;n<u;n++)(f=r.$headers.filter('[data-column="'+n+'"]')).length>1?(c=[],f.each(function(){(s=e(this)).hasClass(a.reflow2_classIgnore)||c.push(s.attr(h)||s.text())})):c=[f.attr(h)||f.text()],w.push(c);c='<b class="'+r.selectorRemove.slice(1)+" "+a.reflow2_labelClass,r.$tbodies.children().each(function(){(i=t.processTbody(o,e(this),!0)).children().each(function(t){for(s=e(this),d=w[t].length,n=d-1;n>=0;)s.prepend(c+(0===n&&d>1?" "+a.reflow2_labelTop:"")+'">'+w[t][n]+"</b>"),n--}),t.processTbody(o,i,!1)})},remove:function(e,t,l){t.$table.removeClass(l.reflow_className)},remove2:function(e,t,l){t.$table.removeClass(l.reflow2_className)}};t.addWidget({id:"reflow",options:{reflow_className:"ui-table-reflow",reflow_headerAttrib:"data-name",reflow_dataAttrib:"data-title"},init:function(e,t,o,r){l.init(e,o,r)},remove:function(e,t,o){l.remove(e,t,o)}}),t.addWidget({id:"reflow2",options:{reflow2_className:"ui-table-reflow",reflow2_classIgnore:"ui-table-reflow-ignore",reflow2_headerAttrib:"data-name",reflow2_labelClass:"ui-table-cell-label",reflow2_labelTop:"ui-table-cell-label-top"},init:function(e,t,o,r){l.init2(e,o,r)},remove:function(e,t,o){l.remove2(e,t,o)}})}(jQuery);
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
!function(u){"use strict";var h=u.tablesorter,w={init:function(e,t,l){var o,r=l.reflow_dataAttrib,a=l.reflow_headerAttrib,s=[];t.$table.addClass(l.reflow_className).off("refresh.tsreflow updateComplete.tsreflow2").on("refresh.tsreflow updateComplete.tsreflow2",function(){w.init(e,t,l)}),t.$headers.each(function(){o=u(this),s.push(u.trim(o.attr(a)||o.text()))}),t.$tbodies.children().each(function(){u(this).children().each(function(e){u(this).attr(r,s[e])})})},init2:function(e,t,l){var o,r,a,s,i,n,f=t.columns,c=l.reflow2_headerAttrib,d=[];for(t.$table.addClass(l.reflow2_className).off("refresh.tsreflow2 updateComplete.tsreflow2").on("refresh.tsreflow2 updateComplete.tsreflow2",function(){w.init2(e,t,l)}),a=0;a<f;a++)1<(s=t.$headers.filter('[data-column="'+a+'"]')).length?(i=[],s.each(function(){(o=u(this)).hasClass(l.reflow2_classIgnore)||i.push(o.attr(c)||o.text())})):i=[s.attr(c)||s.text()],d.push(i);i='<b class="'+t.selectorRemove.slice(1)+" "+l.reflow2_labelClass,t.$tbodies.children().each(function(){(r=h.processTbody(e,u(this),!0)).children().each(function(e){for(o=u(this),n=d[e].length,a=n-1;0<=a;)o.prepend(i+(0===a&&1<n?" "+l.reflow2_labelTop:"")+'">'+d[e][a]+"</b>"),a--}),h.processTbody(e,r,!1)})},remove:function(e,t,l){t.$table.removeClass(l.reflow_className)},remove2:function(e,t,l){t.$table.removeClass(l.reflow2_className)}};h.addWidget({id:"reflow",options:{reflow_className:"ui-table-reflow",reflow_headerAttrib:"data-name",reflow_dataAttrib:"data-title"},init:function(e,t,l,o){w.init(e,l,o)},remove:function(e,t,l){w.remove(e,t,l)}}),h.addWidget({id:"reflow2",options:{reflow2_className:"ui-table-reflow",reflow2_classIgnore:"ui-table-reflow-ignore",reflow2_headerAttrib:"data-name",reflow2_labelClass:"ui-table-cell-label",reflow2_labelTop:"ui-table-cell-label-top"},init:function(e,t,l,o){w.init2(e,l,o)},remove:function(e,t,l){w.remove2(e,t,l)}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-repeatheaders.min.js
vendored
4
dist/js/widgets/widget-repeatheaders.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: repeatHeaders - updated 9/23/2016 (v2.27.7) */
|
||||
!function(e){"use strict";e.tablesorter.addWidget({id:"repeatHeaders",priority:10,options:{rowsToSkip:4},format:function(r,t,a){var o,d,i,s,n="";if(!a.repeatHeaders){for(n='<tr class="repeated-header '+t.selectorRemove.slice(1)+'">',o=0;o<t.columns;o++)n+="<th>"+e.trim(t.$headers.eq(o).html())+"</th>";a.repeatHeaders=n+"</tr>"}for(s=a&&a.rowsToSkip||4,t.$table.find("tr.repeated-header").remove(),i=(d=t.$tbodies.find("tr")).length,o=s;o<i;o+=s)d.eq(o).before(a.repeatHeaders)},remove:function(e,r,t){t.repeatHeaders="",r.$table.find("tr.repeated-header").remove()}})}(jQuery);
|
||||
!function(n){"use strict";n.tablesorter.addWidget({id:"repeatHeaders",priority:10,options:{rowsToSkip:4},format:function(e,r,t){var a,o,d,i,s="";if(!t.repeatHeaders){for(s='<tr class="repeated-header '+r.selectorRemove.slice(1)+'">',a=0;a<r.columns;a++)s+="<th>"+n.trim(r.$headers.eq(a).html())+"</th>";t.repeatHeaders=s+"</tr>"}for(i=t&&t.rowsToSkip||4,r.$table.find("tr.repeated-header").remove(),d=(o=r.$tbodies.find("tr")).length,a=i;a<d;a+=i)o.eq(a).before(t.repeatHeaders)},remove:function(e,r,t){t.repeatHeaders="",r.$table.find("tr.repeated-header").remove()}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-resizable.min.js
vendored
4
dist/js/widgets/widget-resizable.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-saveSort.min.js
vendored
4
dist/js/widgets/widget-saveSort.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: saveSort - updated 2018-03-19 (v2.30.1) */
|
||||
!function(t){"use strict";function s(s){var o=r.storage(s.table,"tablesorter-savesort");return o&&o.hasOwnProperty("sortList")&&t.isArray(o.sortList)?o.sortList:[]}function o(t,o){return(o||s(t)).join(",")!==t.sortList.join(",")}var r=t.tablesorter||{};r.addWidget({id:"saveSort",priority:20,options:{saveSort:!0},init:function(t,s,o,r){s.format(t,o,r,!0)},format:function(t,a,e,i){var n,l=a.$table,v=!1!==e.saveSort,g={sortList:a.sortList},S=r.debug(a,"saveSort");S&&(n=new Date),l.hasClass("hasSaveSort")?v&&t.hasInitialized&&r.storage&&o(a)&&(r.storage(t,"tablesorter-savesort",g),S&&console.log("saveSort >> Saving last sort: "+a.sortList+r.benchmark(n))):(l.addClass("hasSaveSort"),g="",r.storage&&(g=s(a),S&&console.log('saveSort >> Last sort loaded: "'+g+'"'+r.benchmark(n)),l.bind("saveSortReset",function(s){s.stopPropagation(),r.storage(t,"tablesorter-savesort","")})),i&&g&&g.length>0?a.sortList=g:t.hasInitialized&&g&&g.length>0&&o(a,g)&&r.sortOn(a,g))},remove:function(t,s){s.$table.removeClass("hasSaveSort"),r.storage&&r.storage(t,"tablesorter-savesort","")}})}(jQuery);
|
||||
!function(o){"use strict";var v=o.tablesorter||{};function g(t){var s=v.storage(t.table,"tablesorter-savesort");return s&&s.hasOwnProperty("sortList")&&o.isArray(s.sortList)?s.sortList:[]}function S(t,s){return(s||g(t)).join(",")!==t.sortList.join(",")}v.addWidget({id:"saveSort",priority:20,options:{saveSort:!0},init:function(t,s,o,r){s.format(t,o,r,!0)},format:function(s,t,o,r){var a,e=t.$table,i=!1!==o.saveSort,n={sortList:t.sortList},l=v.debug(t,"saveSort");l&&(a=new Date),e.hasClass("hasSaveSort")?i&&s.hasInitialized&&v.storage&&S(t)&&(v.storage(s,"tablesorter-savesort",n),l&&console.log("saveSort >> Saving last sort: "+t.sortList+v.benchmark(a))):(e.addClass("hasSaveSort"),n="",v.storage&&(n=g(t),l&&console.log('saveSort >> Last sort loaded: "'+n+'"'+v.benchmark(a)),e.bind("saveSortReset",function(t){t.stopPropagation(),v.storage(s,"tablesorter-savesort","")})),r&&n&&0<n.length?t.sortList=n:s.hasInitialized&&n&&0<n.length&&S(t,n)&&v.sortOn(t,n))},remove:function(t,s){s.$table.removeClass("hasSaveSort"),v.storage&&v.storage(t,"tablesorter-savesort","")}})}(jQuery);return jQuery;}));
|
||||
|
6
dist/js/widgets/widget-scroller.min.js
vendored
6
dist/js/widgets/widget-scroller.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-sort2Hash.min.js
vendored
4
dist/js/widgets/widget-sort2Hash.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: sort2Hash (BETA) - updated 9/27/2017 (v2.29.0) */
|
||||
!function(e){"use strict";var t=e.tablesorter||{},a=t.sort2Hash={init:function(r,o){var s,n,i,h,l=r.table,d=r.pager,c=t.hasWidget(l,"saveSort"),H=a.decodeHash(r,o,"sort");(H&&!c||H&&c&&o.sort2Hash_overrideSaveSort)&&a.convertString2Sort(r,o,H),t.hasWidget(r.table,"pager")&&(n=parseInt(a.decodeHash(r,o,"page"),10),i=d.page=n<0?0:n>d.totalPages?d.totalPages-1:n,h=d.size=parseInt(a.decodeHash(r,o,"size"),10)),t.hasWidget(l,"filter")&&(s=a.decodeHash(r,o,"filter"))&&(s=s.split(o.sort2Hash_separator),r.$table.one("tablesorter-ready",function(){setTimeout(function(){r.$table.one("filterEnd",function(){e(this).triggerHandler("pageAndSize",[i,h])}),(n=t.filter.equalFilters?t.filter.equalFilters(r,r.lastSearch,s):(r.lastSearch||[]).join("")!==(s||[]).join(""))||e.tablesorter.setFilters(l,s,!0)},100)})),s||r.$table.one("tablesorter-ready",function(){r.$table.triggerHandler("pageAndSize",[i,h])}),r.$table.on("sortEnd.sort2hash filterEnd.sort2hash pagerComplete.sort2Hash",function(){this.hasInitialized&&a.setHash(this.config,this.config.widgetOptions)})},getTableId:function(t,a){return a.sort2Hash_tableId||t.table.id||"table"+e("table").index(t.$table)},regexEscape:function(e){return e.replace(/([\.\^\$\*\+\-\?\(\)\[\]\{\}\\\|])/g,"\\$1")},convertString2Sort:function(e,t,r){for(var o,s,n,i,h,l,d=r.split(t.sort2Hash_separator),c=0,H=d.length,g=[];c<H;){if(s=d[c++],i=parseInt(s,10),isNaN(i)||i>e.columns)for(o=new RegExp("("+a.regexEscape(s)+")","i"),h=0;h<e.columns;h++)l=e.$headerIndexed[h],o.test(l.attr(t.sort2Hash_headerTextAttr))&&(s=h,h=e.columns);n=d[c++],void 0!==s&&void 0!==n&&(isNaN(n)&&(n=n.indexOf(t.sort2Hash_directionText[1])>-1?1:0),g.push([s,n]))}g.length&&(e.sortList=g)},convertSort2String:function(t,a){var r,o,s,n,i=[],h=t.sortList||[],l=h.length;for(r=0;r<l;r++)s=h[r][0],o=e.trim(t.$headerIndexed[s].attr(a.sort2Hash_headerTextAttr)),i.push(""!==o?encodeURIComponent(o):s),n=a.sort2Hash_directionText[h[r][1]],i.push(n);return i.join(a.sort2Hash_separator)},convertFilter2String:function(t,a){var r,o,s,n,i=[],h=t.sortList||[],l=h.length;for(r=0;r<l;r++)s=h[r][0],s=void 0!==(o=e.trim(t.$headerIndexed[s].attr(a.sort2Hash_headerTextAttr)))?encodeURIComponent(o):s,i.push(s),n=a.sort2Hash_directionText[h[r][1]],i.push(n);return i.join(a.sort2Hash_separator)},getParam:function(e,t,r){t||(t=window.location.hash);var o=new RegExp("[\\?&]"+a.regexEscape(e)+"=([^&#]*)"),s=o.exec(t);return r?o:null===s?"":decodeURIComponent(s[1])},removeParam:function(e,t){t||(t=window.location.hash);var r,o=a.getParam(e,t,!0),s=[],n=t.split("&"),i=n.length;for(r=0;r<i;r++)o.test("&"+n[r])||s.push(n[r]);return s.length?s.join("&"):""},encodeHash:function(e,t,r,o,s){var n=!1,i=a.getTableId(e,t);return"function"==typeof t.sort2Hash_encodeHash&&(n=t.sort2Hash_encodeHash(e,i,r,o,s||o)),!1===n&&(n="&"+r+"["+i+"]="+o),n},decodeHash:function(e,t,r){var o=!1,s=a.getTableId(e,t);return"function"==typeof t.sort2Hash_decodeHash&&(o=t.sort2Hash_decodeHash(e,s,r)),!1===o&&(o=a.getParam(r+"["+s+"]")),o||""},cleanHash:function(e,t,r,o){var s=!1,n=a.getTableId(e,t);return"function"==typeof t.sort2Hash_cleanHash&&(s=t.sort2Hash_cleanHash(e,n,r,o)),!1===s&&(s=a.removeParam(r+"["+n+"]",o)),s||""},setHash:function(r,o){var s="",n=window.location.hash,i=t.hasWidget(r.table,"pager"),h=t.hasWidget(r.table,"filter"),l=a.convertSort2String(r,o),d=h&&""!==r.lastSearch.join("")?r.lastSearch:[],c=encodeURIComponent(d.join(r.widgetOptions.sort2Hash_separator)),H={sort:l?a.encodeHash(r,o,"sort",l,r.sortList):"",page:i?a.encodeHash(r,o,"page",r.pager.page+1):"",size:i?a.encodeHash(r,o,"size",r.pager.size):"",filter:c?a.encodeHash(r,o,"filter",c,d):""};e.each(H,function(e,t){n=a.cleanHash(r,o,e,n),s+=t});var g=o.sort2Hash_hash,p=((window.location.hash||"").replace(g,"").length?n:g)+s;if(o.sort2Hash_replaceHistory){var u=window.location.href.split(g)[0];p[0]!==g&&(p=g+p),window.location.replace(u+p)}else window.location.hash=p}};t.addWidget({id:"sort2Hash",priority:60,options:{sort2Hash_hash:"#",sort2Hash_separator:"-",sort2Hash_headerTextAttr:"data-header",sort2Hash_directionText:[0,1],sort2Hash_overrideSaveSort:!1,sort2Hash_replaceHistory:!1,sort2Hash_tableId:null,sort2Hash_encodeHash:null,sort2Hash_decodeHash:null,sort2Hash_cleanHash:null},init:function(e,t,r,o){a.init(r,o)},remove:function(e,t){t.$table.off(".sort2hash")}})}(jQuery);
|
||||
!function(g){"use strict";var p=g.tablesorter||{},u=p.sort2Hash={init:function(e,t){var a,r,o,s,n=e.table,i=e.pager,h=p.hasWidget(n,"saveSort"),l=u.decodeHash(e,t,"sort");(l&&!h||l&&h&&t.sort2Hash_overrideSaveSort)&&u.convertString2Sort(e,t,l),p.hasWidget(e.table,"pager")&&(r=parseInt(u.decodeHash(e,t,"page"),10),o=i.page=r<0?0:r>i.totalPages?i.totalPages-1:r,s=i.size=parseInt(u.decodeHash(e,t,"size"),10)),p.hasWidget(n,"filter")&&(a=u.decodeHash(e,t,"filter"))&&(a=a.split(t.sort2Hash_separator),e.$table.one("tablesorter-ready",function(){setTimeout(function(){e.$table.one("filterEnd",function(){g(this).triggerHandler("pageAndSize",[o,s])}),(r=p.filter.equalFilters?p.filter.equalFilters(e,e.lastSearch,a):(e.lastSearch||[]).join("")!==(a||[]).join(""))||g.tablesorter.setFilters(n,a,!0)},100)})),a||e.$table.one("tablesorter-ready",function(){e.$table.triggerHandler("pageAndSize",[o,s])}),e.$table.on("sortEnd.sort2hash filterEnd.sort2hash pagerComplete.sort2Hash",function(){this.hasInitialized&&u.setHash(this.config,this.config.widgetOptions)})},getTableId:function(e,t){return t.sort2Hash_tableId||e.table.id||"table"+g("table").index(e.$table)},regexEscape:function(e){return e.replace(/([\.\^\$\*\+\-\?\(\)\[\]\{\}\\\|])/g,"\\$1")},convertString2Sort:function(e,t,a){for(var r,o,s,n,i,h,l=a.split(t.sort2Hash_separator),d=0,c=l.length,H=[];d<c;){if(o=l[d++],n=parseInt(o,10),isNaN(n)||n>e.columns)for(r=new RegExp("("+u.regexEscape(o)+")","i"),i=0;i<e.columns;i++)h=e.$headerIndexed[i],r.test(h.attr(t.sort2Hash_headerTextAttr))&&(o=i,i=e.columns);s=l[d++],void 0!==o&&void 0!==s&&(isNaN(s)&&(s=-1<s.indexOf(t.sort2Hash_directionText[1])?1:0),H.push([o,s]))}H.length&&(e.sortList=H)},convertSort2String:function(e,t){var a,r,o,s,n=[],i=e.sortList||[],h=i.length;for(a=0;a<h;a++)o=i[a][0],r=g.trim(e.$headerIndexed[o].attr(t.sort2Hash_headerTextAttr)),n.push(""!==r?encodeURIComponent(r):o),s=t.sort2Hash_directionText[i[a][1]],n.push(s);return n.join(t.sort2Hash_separator)},convertFilter2String:function(e,t){var a,r,o,s,n=[],i=e.sortList||[],h=i.length;for(a=0;a<h;a++)o=i[a][0],o=void 0!==(r=g.trim(e.$headerIndexed[o].attr(t.sort2Hash_headerTextAttr)))?encodeURIComponent(r):o,n.push(o),s=t.sort2Hash_directionText[i[a][1]],n.push(s);return n.join(t.sort2Hash_separator)},getParam:function(e,t,a){t=t||window.location.hash;var r=new RegExp("[\\?&]"+u.regexEscape(e)+"=([^&#]*)"),o=r.exec(t);return a?r:null===o?"":decodeURIComponent(o[1])},removeParam:function(e,t){t=t||window.location.hash;var a,r=u.getParam(e,t,!0),o=[],s=t.split("&"),n=s.length;for(a=0;a<n;a++)r.test("&"+s[a])||o.push(s[a]);return o.length?o.join("&"):""},encodeHash:function(e,t,a,r,o){var s=!1,n=u.getTableId(e,t);return"function"==typeof t.sort2Hash_encodeHash&&(s=t.sort2Hash_encodeHash(e,n,a,r,o||r)),!1===s&&(s="&"+a+"["+n+"]="+r),s},decodeHash:function(e,t,a){var r=!1,o=u.getTableId(e,t);return"function"==typeof t.sort2Hash_decodeHash&&(r=t.sort2Hash_decodeHash(e,o,a)),!1===r&&(r=u.getParam(a+"["+o+"]")),r||""},cleanHash:function(e,t,a,r){var o=!1,s=u.getTableId(e,t);return"function"==typeof t.sort2Hash_cleanHash&&(o=t.sort2Hash_cleanHash(e,s,a,r)),!1===o&&(o=u.removeParam(a+"["+s+"]",r)),o||""},setHash:function(a,r){var o="",s=window.location.hash,e=p.hasWidget(a.table,"pager"),t=p.hasWidget(a.table,"filter"),n=u.convertSort2String(a,r),i=t&&""!==a.lastSearch.join("")?a.lastSearch:[],h=encodeURIComponent(i.join(a.widgetOptions.sort2Hash_separator)),l={sort:n?u.encodeHash(a,r,"sort",n,a.sortList):"",page:e?u.encodeHash(a,r,"page",a.pager.page+1):"",size:e?u.encodeHash(a,r,"size",a.pager.size):"",filter:h?u.encodeHash(a,r,"filter",h,i):""};g.each(l,function(e,t){s=u.cleanHash(a,r,e,s),o+=t});var d=r.sort2Hash_hash,c=((window.location.hash||"").replace(d,"").length?s:d)+o;if(r.sort2Hash_replaceHistory){var H=window.location.href.split(d)[0];c[0]!==d&&(c=d+c),window.location.replace(H+c)}else window.location.hash=c}};p.addWidget({id:"sort2Hash",priority:60,options:{sort2Hash_hash:"#",sort2Hash_separator:"-",sort2Hash_headerTextAttr:"data-header",sort2Hash_directionText:[0,1],sort2Hash_overrideSaveSort:!1,sort2Hash_replaceHistory:!1,sort2Hash_tableId:null,sort2Hash_encodeHash:null,sort2Hash_decodeHash:null,sort2Hash_cleanHash:null},init:function(e,t,a,r){u.init(a,r)},remove:function(e,t){t.$table.off(".sort2hash")}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-sortTbodies.min.js
vendored
4
dist/js/widgets/widget-sortTbodies.min.js
vendored
@ -1,6 +1,8 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! tablesorter tbody sorting widget (BETA) - 11/26/2016 (v2.28.0)
|
||||
* Requires tablesorter v2.22.2+ and jQuery 1.4+
|
||||
* by Rob Garrison
|
||||
* Contributors: Chris Rogers
|
||||
*/
|
||||
!function(t){"use strict";var o=t.tablesorter;o.sortTbodies={init:function(r,e){var s,n,i,d,a,b=r.namespace+"sortTbody",l=r.$table.children("tbody"),c=l.length;for(e.sortTbody_original_serverSideSorting=r.serverSideSorting,e.sortTbody_original_cssInfoBlock=r.cssInfoBlock,r.cssInfoBlock=e.sortTbody_noSort,o.sortTbodies.setTbodies(r,e),s=0;s<c;s++)l.eq(s).attr("data-ts-original-order",s);for(r.$table.unbind("sortBegin updateComplete ".split(" ").join(b+" ")).bind("sortBegin"+b,function(){o.sortTbodies.sorter(r)}).bind("updateComplete"+b,function(){o.sortTbodies.setTbodies(r,e),o.updateCache(r,null,r.$tbodies)}).bind("sortEnd",function(){var o=e.sortTbody_primaryRow;e.sortTbody_lockHead&&o&&r.$table.find(o).each(function(){t(this).parents("tbody").prepend(this)})}),(t.isEmptyObject(r.parsers)||r.$tbodies.length!==l.length)&&(o.sortTbodies.setTbodies(r,e),o.updateCache(r,null,r.$tbodies)),c=(a=l.children("tr")).length,s=0;s<r.columns;s++){if(d=0,"numeric"===r.parsers[s].type)for(n=0;n<c;n++)i=o.getParsedText(r,a.eq(n).children()[s],s),d=Math.max(Math.abs(i)||0,d);r.$headerIndexed[s].attr("data-ts-col-max-value",d)}},setTbodies:function(t,o){t.$tbodies=t.$table.children("tbody").not("."+o.sortTbody_noSort)},sorter:function(r){var e=r.$table,s=r.widgetOptions;if(!0!==s.sortTbody_busy){s.sortTbody_busy=!0;var n=e.children("tbody").not("."+s.sortTbody_noSort),i=s.sortTbody_primaryRow||"tr:eq(0)",d=r.sortList||[],a=d.length;a&&(r.serverSideSorting=!s.sortTbody_sortRows,n.sort(function(e,s){var n,b,l,c,y,T,p,f,u,g,h,_,m=r.table,S=r.parsers,v=r.textSorter||"",$=t(e),x=t(s),q=$.find(i).children("td, th"),B=x.find(i).children("td, th");for(n=0;n<a;n++){if(p=d[n][0],f=d[n][1],l=0===f,b=o.getElementText(r,q.eq(p),p),u=S[p].format(b,m,q[p],p),b=o.getElementText(r,B.eq(p),p),g=S[p].format(b,m,B[p],p),r.sortStable&&u===g&&1===a)return $.attr("data-ts-original-order")-x.attr("data-ts-original-order");if(c=/n/i.test(S&&S[p]?S[p].type||"":""),c&&r.strings[p]?(y=r.$headerIndexed[p].attr("data-ts-col-max-value")||1.79e308,c="boolean"==typeof o.string[r.strings[p]]?(l?1:-1)*(o.string[r.strings[p]]?-1:1):r.strings[p]?o.string[r.strings[p]]||0:0,T=r.numberSorter?r.numberSorter(u,g,l,y,m):o["sortNumeric"+(l?"Asc":"Desc")](u,g,c,y,p,r)):(h=l?u:g,_=l?g:u,T="function"==typeof v?v(h,_,l,p,m):"object"==typeof v&&v.hasOwnProperty(p)?v[p](h,_,l,p,m):o["sortNatural"+(l?"Asc":"Desc")](u,g,p,r)),T)return T}return $.attr("data-ts-original-order")-x.attr("data-ts-original-order")}),o.sortTbodies.restoreTbodies(r,s,n),s.sortTbody_busy=!1)}},restoreTbodies:function(t,o,r){var e,s,n,i,d,a,b,l=t.$table,c=!0,y=0;if(l.hide(),r.appendTo(l),s=l.children("tbody"),i=s.length,e=s.filter("."+o.sortTbody_noSort).appendTo(l),d=e.length)for(;c&&y<d;){for(c=!1,a=0;a<d;a++)(b=(b=parseInt(e.eq(a).attr("data-ts-original-order"),10))>=i?i:b<0?0:b)!==e.eq(a).index()&&(c=!0,n=e.eq(a).detach(),b>=i?n.appendTo(l):0===b?n.prependTo(l):n.insertBefore(l.children("tbody:eq("+b+")")));y++}l.show()}},o.addWidget({id:"sortTbody",priority:40,options:{sortTbody_lockHead:!1,sortTbody_primaryRow:null,sortTbody_sortRows:!1,sortTbody_noSort:"tablesorter-no-sort-tbody"},init:function(t,r,e,s){o.sortTbodies.init(e,s)},remove:function(t,o,r){o.$table.unbind("sortBegin updateComplete ".split(" ").join(o.namespace+"sortTbody ")),o.serverSideSorting=r.sortTbody_original_serverSideSorting,o.cssInfoBlock=r.sortTbody_original_cssInfoBlock}})}(jQuery);
|
||||
!function(x){"use strict";var q=x.tablesorter;q.sortTbodies={init:function(o,r){var t,e,s,n,i,d=o.namespace+"sortTbody",a=o.$table.children("tbody"),b=a.length;for(r.sortTbody_original_serverSideSorting=o.serverSideSorting,r.sortTbody_original_cssInfoBlock=o.cssInfoBlock,o.cssInfoBlock=r.sortTbody_noSort,q.sortTbodies.setTbodies(o,r),t=0;t<b;t++)a.eq(t).attr("data-ts-original-order",t);for(o.$table.unbind("sortBegin updateComplete ".split(" ").join(d+" ")).bind("sortBegin"+d,function(){q.sortTbodies.sorter(o)}).bind("updateComplete"+d,function(){q.sortTbodies.setTbodies(o,r),q.updateCache(o,null,o.$tbodies)}).bind("sortEnd",function(){var t=r.sortTbody_primaryRow;r.sortTbody_lockHead&&t&&o.$table.find(t).each(function(){x(this).parents("tbody").prepend(this)})}),!x.isEmptyObject(o.parsers)&&o.$tbodies.length===a.length||(q.sortTbodies.setTbodies(o,r),q.updateCache(o,null,o.$tbodies)),b=(i=a.children("tr")).length,t=0;t<o.columns;t++){if(n=0,"numeric"===o.parsers[t].type)for(e=0;e<b;e++)s=q.getParsedText(o,i.eq(e).children()[t],t),n=Math.max(Math.abs(s)||0,n);o.$headerIndexed[t].attr("data-ts-col-max-value",n)}},setTbodies:function(t,o){t.$tbodies=t.$table.children("tbody").not("."+o.sortTbody_noSort)},sorter:function(m){var t=m.$table,o=m.widgetOptions;if(!0!==o.sortTbody_busy){o.sortTbody_busy=!0;var r=t.children("tbody").not("."+o.sortTbody_noSort),S=o.sortTbody_primaryRow||"tr:eq(0)",v=m.sortList||[],$=v.length;$&&(m.serverSideSorting=!o.sortTbody_sortRows,r.sort(function(t,o){var r,e,s,n,i,d,a,b,l,c,y,T=m.table,p=m.parsers,f=m.textSorter||"",u=x(t),g=x(o),h=u.find(S).children("td, th"),_=g.find(S).children("td, th");for(r=0;r<$;r++){if(a=v[r][0],s=0===v[r][1],e=q.getElementText(m,h.eq(a),a),b=p[a].format(e,T,h[a],a),e=q.getElementText(m,_.eq(a),a),l=p[a].format(e,T,_[a],a),m.sortStable&&b===l&&1===$)return u.attr("data-ts-original-order")-g.attr("data-ts-original-order");if(d=(n=/n/i.test(p&&p[a]&&p[a].type||""))&&m.strings[a]?(i=m.$headerIndexed[a].attr("data-ts-col-max-value")||179e306,n="boolean"==typeof q.string[m.strings[a]]?(s?1:-1)*(q.string[m.strings[a]]?-1:1):m.strings[a]&&q.string[m.strings[a]]||0,m.numberSorter?m.numberSorter(b,l,s,i,T):q["sortNumeric"+(s?"Asc":"Desc")](b,l,n,i,a,m)):(c=s?b:l,y=s?l:b,"function"==typeof f?f(c,y,s,a,T):"object"==typeof f&&f.hasOwnProperty(a)?f[a](c,y,s,a,T):q["sortNatural"+(s?"Asc":"Desc")](b,l,a,m)))return d}return u.attr("data-ts-original-order")-g.attr("data-ts-original-order")}),q.sortTbodies.restoreTbodies(m,o,r),o.sortTbody_busy=!1)}},restoreTbodies:function(t,o,r){var e,s,n,i,d,a,b,l=t.$table,c=!0,y=0;if(l.hide(),r.appendTo(l),i=(s=l.children("tbody")).length,d=(e=s.filter("."+o.sortTbody_noSort).appendTo(l)).length)for(;c&&y<d;){for(c=!1,a=0;a<d;a++)(b=i<=(b=parseInt(e.eq(a).attr("data-ts-original-order"),10))?i:b<0?0:b)!==e.eq(a).index()&&(c=!0,n=e.eq(a).detach(),i<=b?n.appendTo(l):0===b?n.prependTo(l):n.insertBefore(l.children("tbody:eq("+b+")")));y++}l.show()}},q.addWidget({id:"sortTbody",priority:40,options:{sortTbody_lockHead:!1,sortTbody_primaryRow:null,sortTbody_sortRows:!1,sortTbody_noSort:"tablesorter-no-sort-tbody"},init:function(t,o,r,e){q.sortTbodies.init(r,e)},remove:function(t,o,r){o.$table.unbind("sortBegin updateComplete ".split(" ").join(o.namespace+"sortTbody ")),o.serverSideSorting=r.sortTbody_original_serverSideSorting,o.cssInfoBlock=r.sortTbody_original_cssInfoBlock}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-staticRow.min.js
vendored
4
dist/js/widgets/widget-staticRow.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! widget: staticRow - updated 10/31/2015 (v2.24.0) */
|
||||
!function(t){"use strict";var e=t.tablesorter,i=function(e){var i,a,s,o,n,c=e.config;c&&(a=c.widgetOptions,c.$tbodies.each(function(){i=t(this).children(),n=i.length,i.filter(a.staticRow_class).each(function(){i=t(this),void 0!==(o=i.data(a.staticRow_index))?(s=parseFloat(o),o=/%/.test(o)?Math.round(s/100*n):s):o=i.index(),i.data(a.staticRow_data,o)})}))};e.addWidget({id:"staticRow",options:{staticRow_class:".static",staticRow_data:"static-index",staticRow_index:"row-index",staticRow_event:"staticRowsRefresh"},init:function(t,a,s,o){i(t),s.$table.unbind(("updateComplete.tsstaticrows "+o.staticRow_event).replace(/\s+/g," ")).bind("updateComplete.tsstaticrows "+o.staticRow_event,function(){i(t),e.applyWidget(t)})},format:function(e,i,a){var s,o,n,c,d,r,l,p;i.$tbodies.each(function(){for(d=t.tablesorter.processTbody(e,t(this),!0),r=!0,n=0,l=d.children(a.staticRow_class),c=d.children("tr").length-1,p=l.length;r&&n<p;)r=!1,l.each(function(){s=t(this).data(a.staticRow_data),(s=s>=c?c:s<0?0:s)!==t(this).index()&&(r=!0,o=t(this).detach(),s>=c?o.appendTo(d):0===s?o.prependTo(d):o.insertBefore(d.find("tr:eq("+s+")")))}),n++;t.tablesorter.processTbody(e,d,!1)}),i.$table.triggerHandler("staticRowsComplete",e)},remove:function(t,e,i){e.$table.unbind(("updateComplete.tsstaticrows "+i.staticRow_event).replace(/\s+/g," "))}})}(jQuery);
|
||||
!function(p){"use strict";function s(t){var e,i,a,s,o,n=t.config;n&&(i=n.widgetOptions,n.$tbodies.each(function(){e=p(this).children(),o=e.length,e.filter(i.staticRow_class).each(function(){e=p(this),s=void 0!==(s=e.data(i.staticRow_index))?(a=parseFloat(s),/%/.test(s)?Math.round(a/100*o):a):e.index(),e.data(i.staticRow_data,s)})}))}var o=p.tablesorter;o.addWidget({id:"staticRow",options:{staticRow_class:".static",staticRow_data:"static-index",staticRow_index:"row-index",staticRow_event:"staticRowsRefresh"},init:function(t,e,i,a){s(t),i.$table.unbind(("updateComplete.tsstaticrows "+a.staticRow_event).replace(/\s+/g," ")).bind("updateComplete.tsstaticrows "+a.staticRow_event,function(){s(t),o.applyWidget(t)})},format:function(t,e,i){var a,s,o,n,c,d,r,l;e.$tbodies.each(function(){for(c=p.tablesorter.processTbody(t,p(this),!0),d=!0,o=0,r=c.children(i.staticRow_class),n=c.children("tr").length-1,l=r.length;d&&o<l;)d=!1,r.each(function(){a=p(this).data(i.staticRow_data),(a=n<=a?n:a<0?0:a)!==p(this).index()&&(d=!0,s=p(this).detach(),n<=a?s.appendTo(c):0===a?s.prependTo(c):s.insertBefore(c.find("tr:eq("+a+")")))}),o++;p.tablesorter.processTbody(t,c,!1)}),e.$table.triggerHandler("staticRowsComplete",t)},remove:function(t,e,i){e.$table.unbind(("updateComplete.tsstaticrows "+i.staticRow_event).replace(/\s+/g," "))}})}(jQuery);return jQuery;}));
|
||||
|
4
dist/js/widgets/widget-stickyHeaders.min.js
vendored
4
dist/js/widgets/widget-stickyHeaders.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/widgets/widget-storage.min.js
vendored
4
dist/js/widgets/widget-storage.min.js
vendored
@ -1,2 +1,4 @@
|
||||
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){
|
||||
|
||||
/*! Widget: storage - updated 2018-03-18 (v2.30.0) */
|
||||
!function(e,t,r){"use strict";var o=e.tablesorter||{};e.extend(!0,o.defaults,{fixedUrl:"",widgetOptions:{storage_fixedUrl:"",storage_group:"",storage_page:"",storage_storageType:"",storage_tableId:"",storage_useSessionStorage:""}}),o.storage=function(s,a,i,g){var n,p,l,d=!1,u={},S=(s=e(s)[0]).config,c=S&&S.widgetOptions,_=o.debug(S,"storage"),f=(g&&g.storageType||c&&c.storage_storageType).toString().charAt(0).toLowerCase(),m=f?"":g&&g.useSessionStorage||c&&c.storage_useSessionStorage,y=e(s),O=g&&g.id||y.attr(g&&g.group||c&&c.storage_group||"data-table-group")||c&&c.storage_tableId||s.id||e(".tablesorter").index(y),w=g&&g.url||y.attr(g&&g.page||c&&c.storage_page||"data-table-page")||c&&c.storage_fixedUrl||S&&S.fixedUrl||t.location.pathname;if("c"!==f&&(f="s"===f||m?"sessionStorage":"localStorage")in t)try{t[f].setItem("_tmptest","temp"),d=!0,t[f].removeItem("_tmptest")}catch(e){console.warn(f+" is not supported in this browser")}if(_&&console.log("Storage >> Using",d?f:"cookies"),e.parseJSON&&(d?u=e.parseJSON(t[f][a]||"null")||{}:(p=r.cookie.split(/[;\s|=]/),u=0!==(n=e.inArray(a,p)+1)?e.parseJSON(p[n]||"null")||{}:{})),void 0===i||!t.JSON||!JSON.hasOwnProperty("stringify"))return u&&u[w]?u[w][O]:"";u[w]||(u[w]={}),u[w][O]=i,d?t[f][a]=JSON.stringify(u):((l=new Date).setTime(l.getTime()+31536e6),r.cookie=a+"="+JSON.stringify(u).replace(/\"/g,'"')+"; expires="+l.toGMTString()+"; path=/")}}(jQuery,window,document);
|
||||
!function(m,y,O){"use strict";var w=m.tablesorter||{};m.extend(!0,w.defaults,{fixedUrl:"",widgetOptions:{storage_fixedUrl:"",storage_group:"",storage_page:"",storage_storageType:"",storage_tableId:"",storage_useSessionStorage:""}}),w.storage=function(e,t,r,o){var s,a,i,g=!1,n={},p=(e=m(e)[0]).config,l=p&&p.widgetOptions,d=w.debug(p,"storage"),u=(o&&o.storageType||l&&l.storage_storageType).toString().charAt(0).toLowerCase(),S=u?"":o&&o.useSessionStorage||l&&l.storage_useSessionStorage,c=m(e),_=o&&o.id||c.attr(o&&o.group||l&&l.storage_group||"data-table-group")||l&&l.storage_tableId||e.id||m(".tablesorter").index(c),f=o&&o.url||c.attr(o&&o.page||l&&l.storage_page||"data-table-page")||l&&l.storage_fixedUrl||p&&p.fixedUrl||y.location.pathname;if("c"!==u&&(u="s"===u||S?"sessionStorage":"localStorage")in y)try{y[u].setItem("_tmptest","temp"),g=!0,y[u].removeItem("_tmptest")}catch(e){console.warn(u+" is not supported in this browser")}if(d&&console.log("Storage >> Using",g?u:"cookies"),m.parseJSON&&(n=g?m.parseJSON(y[u][t]||"null")||{}:(a=O.cookie.split(/[;\s|=]/),0!==(s=m.inArray(t,a)+1)&&m.parseJSON(a[s]||"null")||{})),void 0===r||!y.JSON||!JSON.hasOwnProperty("stringify"))return n&&n[f]?n[f][_]:"";n[f]||(n[f]={}),n[f][_]=r,g?y[u][t]=JSON.stringify(n):((i=new Date).setTime(i.getTime()+31536e6),O.cookie=t+"="+JSON.stringify(n).replace(/\"/g,'"')+"; expires="+i.toGMTString()+"; path=/")}}(jQuery,window,document);return jQuery;}));
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user