jquery-tablesorter 1.24.1 → 1.24.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/lib/jquery-tablesorter/version.rb +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.combined.js +4 -4
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.js +3 -3
- data/vendor/assets/javascripts/jquery-tablesorter/jquery.tablesorter.widgets.js +1 -1
- data/vendor/assets/javascripts/jquery-tablesorter/parsers/parser-network.js +19 -14
- data/vendor/assets/stylesheets/jquery-tablesorter/theme.bootstrap_4.css +33 -34
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a0ca8fe7a2e81da8b9365d3bfefc38dd9d402f132aacdea1560c65ec2f05070b
|
4
|
+
data.tar.gz: 8786486ff4a68e584ad7fb218c566bf43b979574db280bfabb05ac65cbb26f63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebdae9aaceca242a7551dd8f5344a82e03f48d4befa501c7e765dd17dc18207245b85e277ac9aa3e00381d3db8329d7abe34c57292c0be1291879d553e05f89f
|
7
|
+
data.tar.gz: 2c72c63cba8f61f42230ddfdecc41f0b8628e3d192dbe39906b745cfaf7b57816eaf88bdb0943b66099c298b20847717ae2b7ce1cfa0f902ffdb70877c7c34cf
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Simple integration of jQuery tablesorter ([Mottie's fork]) into the asset pipeline.
|
6
6
|
|
7
|
-
Current tablesorter version: 2.29.
|
7
|
+
Current tablesorter version: 2.29.3 (2018-01-10) [documentation]
|
8
8
|
|
9
9
|
Any issue associated with the js/css files, please report to [Mottie's fork].
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated
|
7
|
+
/*! tablesorter (FORK) - updated 01-10-2018 (v2.29.3)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -16,7 +16,7 @@
|
|
16
16
|
}
|
17
17
|
}(function(jQuery) {
|
18
18
|
|
19
|
-
/*! TableSorter (FORK) v2.29.
|
19
|
+
/*! TableSorter (FORK) v2.29.3 *//*
|
20
20
|
* Client-side table sorting with ease!
|
21
21
|
* @requires jQuery v1.2.6+
|
22
22
|
*
|
@@ -40,7 +40,7 @@
|
|
40
40
|
'use strict';
|
41
41
|
var ts = $.tablesorter = {
|
42
42
|
|
43
|
-
version : '2.29.
|
43
|
+
version : '2.29.3',
|
44
44
|
|
45
45
|
parsers : [],
|
46
46
|
widgets : [],
|
@@ -1164,7 +1164,7 @@
|
|
1164
1164
|
if ( $sorted.length ) {
|
1165
1165
|
for ( column = 0; column < $sorted.length; column++ ) {
|
1166
1166
|
if ( !$sorted[ column ].sortDisabled ) {
|
1167
|
-
updateColumnSort( $sorted.eq( column )
|
1167
|
+
updateColumnSort( $sorted.eq( column ), list[ indx ][ 1 ] );
|
1168
1168
|
}
|
1169
1169
|
}
|
1170
1170
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! TableSorter (FORK) v2.29.
|
1
|
+
/*! TableSorter (FORK) v2.29.3 *//*
|
2
2
|
* Client-side table sorting with ease!
|
3
3
|
* @requires jQuery v1.2.6+
|
4
4
|
*
|
@@ -22,7 +22,7 @@
|
|
22
22
|
'use strict';
|
23
23
|
var ts = $.tablesorter = {
|
24
24
|
|
25
|
-
version : '2.29.
|
25
|
+
version : '2.29.3',
|
26
26
|
|
27
27
|
parsers : [],
|
28
28
|
widgets : [],
|
@@ -1146,7 +1146,7 @@
|
|
1146
1146
|
if ( $sorted.length ) {
|
1147
1147
|
for ( column = 0; column < $sorted.length; column++ ) {
|
1148
1148
|
if ( !$sorted[ column ].sortDisabled ) {
|
1149
|
-
updateColumnSort( $sorted.eq( column )
|
1149
|
+
updateColumnSort( $sorted.eq( column ), list[ indx ][ 1 ] );
|
1150
1150
|
}
|
1151
1151
|
}
|
1152
1152
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
5
5
|
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
6
6
|
*/
|
7
|
-
/*! tablesorter (FORK) - updated
|
7
|
+
/*! tablesorter (FORK) - updated 01-10-2018 (v2.29.3)*/
|
8
8
|
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
9
9
|
(function(factory) {
|
10
10
|
if (typeof define === 'function' && define.amd) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Parser: network - updated
|
1
|
+
/*! Parser: network - updated 2018-01-10 (v2.29.3) */
|
2
2
|
/* IPv4, IPv6 and MAC Addresses */
|
3
3
|
/*global jQuery: false */
|
4
4
|
;(function($){
|
@@ -23,6 +23,10 @@
|
|
23
23
|
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
|
24
24
|
});
|
25
25
|
|
26
|
+
// used for internal testing; it's not useful to set this to true because the natural sort algorithm
|
27
|
+
// is set up to only sort solitary hex values ("ffff") vs separated hex values ("ffff.ffff")
|
28
|
+
ts.defaults.ipv6HexFormat = false;
|
29
|
+
|
26
30
|
ts.addParser({
|
27
31
|
id: 'ipv6Address',
|
28
32
|
is: function(s) {
|
@@ -72,10 +76,10 @@
|
|
72
76
|
('00000' + (parseInt(groups[i], 16) || 0)).slice(-5);
|
73
77
|
expandedAddress += ( i != validGroupCount - 1) ? groups[i] + ':' : groups[i];
|
74
78
|
}
|
75
|
-
return
|
79
|
+
return expandedAddress;
|
76
80
|
},
|
77
81
|
// uses natural sort hex compare
|
78
|
-
type: '
|
82
|
+
type: 'text'
|
79
83
|
});
|
80
84
|
|
81
85
|
// ipv4 address
|
@@ -83,14 +87,15 @@
|
|
83
87
|
ipv4Is = function(s) {
|
84
88
|
return (/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/).test(s);
|
85
89
|
};
|
86
|
-
ipv4Format = function(s
|
87
|
-
var i,
|
88
|
-
|
90
|
+
ipv4Format = function(s) {
|
91
|
+
var i,
|
92
|
+
a = s ? s.split('.') : '',
|
93
|
+
r = [],
|
89
94
|
l = a.length;
|
90
95
|
for (i = 0; i < l; i++) {
|
91
|
-
r
|
96
|
+
r.push(('000' + a[i]).slice(-3));
|
92
97
|
}
|
93
|
-
return s ?
|
98
|
+
return s ? r.join('.') : s;
|
94
99
|
};
|
95
100
|
|
96
101
|
/*! Parser: ipv4Address (a.k.a. ipAddress) */
|
@@ -99,13 +104,13 @@
|
|
99
104
|
id: 'ipAddress',
|
100
105
|
is: ipv4Is,
|
101
106
|
format: ipv4Format,
|
102
|
-
type: '
|
107
|
+
type: 'text'
|
103
108
|
});
|
104
109
|
ts.addParser({
|
105
110
|
id: 'ipv4Address',
|
106
111
|
is: ipv4Is,
|
107
112
|
format: ipv4Format,
|
108
|
-
type: '
|
113
|
+
type: 'text'
|
109
114
|
});
|
110
115
|
|
111
116
|
/*! Parser: MAC address */
|
@@ -118,21 +123,21 @@
|
|
118
123
|
},
|
119
124
|
format : function( str ) {
|
120
125
|
var indx, len,
|
121
|
-
mac =
|
126
|
+
mac = [],
|
122
127
|
val = ( str || '' ).replace( /[:.-]/g, '' ).match( /\w{2}/g );
|
123
128
|
if ( val ) {
|
124
129
|
// not assuming all mac addresses in the column will end up with six
|
125
130
|
// groups of two to process, so it's not actually validating the address
|
126
131
|
len = val.length;
|
127
132
|
for ( indx = 0; indx < len; indx++ ) {
|
128
|
-
mac
|
133
|
+
mac.push(( '000' + parseInt( val[ indx ], 16 ) ).slice( -3 ));
|
129
134
|
}
|
130
|
-
return mac;
|
135
|
+
return mac.join('.');
|
131
136
|
}
|
132
137
|
return str;
|
133
138
|
},
|
134
139
|
// uses natural sort hex compare
|
135
|
-
type : '
|
140
|
+
type : 'text'
|
136
141
|
});
|
137
142
|
|
138
143
|
})( jQuery );
|
@@ -20,9 +20,9 @@
|
|
20
20
|
cursor: pointer;
|
21
21
|
white-space: normal;
|
22
22
|
}
|
23
|
-
.tablesorter-bootstrap:not(.table-
|
24
|
-
.tablesorter-bootstrap:not(.table-
|
25
|
-
.tablesorter-bootstrap:not(.table-
|
23
|
+
.tablesorter-bootstrap:not(.table-dark) thead:not(.thead-dark) .tablesorter-header,
|
24
|
+
.tablesorter-bootstrap:not(.table-dark) tfoot th,
|
25
|
+
.tablesorter-bootstrap:not(.table-dark) tfoot td {
|
26
26
|
background-color: #eee;
|
27
27
|
}
|
28
28
|
|
@@ -51,33 +51,33 @@
|
|
51
51
|
}
|
52
52
|
|
53
53
|
/* white icons */
|
54
|
-
.tablesorter-bootstrap thead.thead-
|
55
|
-
.tablesorter-bootstrap.table-
|
54
|
+
.tablesorter-bootstrap thead.thead-dark .tablesorter-headerUnSorted:not(.sorter-false),
|
55
|
+
.tablesorter-bootstrap.table-dark thead .tablesorter-headerUnSorted:not(.sorter-false) {
|
56
56
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE0IDIwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTQgMTNsLTIuNS0yLjVMNyAxNWwtNC41LTQuNUwwIDEzbDcgN3pNMTQgNy41TDExLjUgMTAgNyA1LjUgMi41IDEwIDAgNy41bDctN3oiLz48L3N2Zz4=);
|
57
57
|
}
|
58
|
-
.tablesorter-bootstrap thead.thead-
|
59
|
-
.tablesorter-bootstrap.table-
|
58
|
+
.tablesorter-bootstrap thead.thead-dark .tablesorter-headerAsc,
|
59
|
+
.tablesorter-bootstrap.table-dark thead .tablesorter-headerAsc {
|
60
60
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDE0IDE0Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTQgOS41TDExLjUgMTIgNyA3LjUgMi41IDEyIDAgOS41bDctN3oiLz48L3N2Zz4=);
|
61
61
|
}
|
62
|
-
.tablesorter-bootstrap thead.thead-
|
63
|
-
.tablesorter-bootstrap.table-
|
62
|
+
.tablesorter-bootstrap thead.thead-dark .tablesorter-headerDesc,
|
63
|
+
.tablesorter-bootstrap.table-dark thead .tablesorter-headerDesc {
|
64
64
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDE0IDE0Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTQgNWwtMi41LTIuNS00LjUgNC41LTQuNS00LjVMMCA1IDcgMTJ6Ii8+PC9zdmc+);
|
65
65
|
}
|
66
66
|
|
67
67
|
/* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */
|
68
|
-
.tablesorter-bootstrap:not(.table-
|
69
|
-
.tablesorter-bootstrap:not(.table-
|
68
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.odd > td,
|
69
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.tablesorter-hasChildRow.odd:hover ~ tr.tablesorter-hasChildRow.odd ~ .tablesorter-childRow.odd > td {
|
70
70
|
background-color: #f9f9f9;
|
71
71
|
}
|
72
|
-
.tablesorter-bootstrap:not(.table-
|
73
|
-
.tablesorter-bootstrap:not(.table-
|
74
|
-
.tablesorter-bootstrap:not(.table-
|
75
|
-
.tablesorter-bootstrap:not(.table-
|
76
|
-
.tablesorter-bootstrap:not(.table-
|
72
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.hover > td,
|
73
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.odd:hover > td,
|
74
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.even:hover > td,
|
75
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.tablesorter-hasChildRow.odd:hover ~ .tablesorter-childRow.odd > td,
|
76
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.tablesorter-hasChildRow.even:hover ~ .tablesorter-childRow.even > td {
|
77
77
|
background-color: #f5f5f5;
|
78
78
|
}
|
79
|
-
.tablesorter-bootstrap:not(.table-
|
80
|
-
.tablesorter-bootstrap:not(.table-
|
79
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.even > td,
|
80
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.tablesorter-hasChildRow.even:hover ~ tr.tablesorter-hasChildRow.even ~ .tablesorter-childRow.even > td {
|
81
81
|
background-color: #fff;
|
82
82
|
}
|
83
83
|
|
@@ -89,30 +89,30 @@
|
|
89
89
|
}
|
90
90
|
|
91
91
|
/* Column Widget - column sort colors */
|
92
|
-
.tablesorter-bootstrap:not(.table-
|
92
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.odd td.primary {
|
93
93
|
background-color: #bfbfbf;
|
94
94
|
}
|
95
|
-
.tablesorter-bootstrap:not(.table-
|
96
|
-
.tablesorter-bootstrap:not(.table-
|
95
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr td.primary,
|
96
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.even td.primary {
|
97
97
|
background-color: #d9d9d9;
|
98
98
|
}
|
99
|
-
.tablesorter-bootstrap:not(.table-
|
99
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.odd td.secondary {
|
100
100
|
background-color: #d9d9d9;
|
101
101
|
}
|
102
|
-
.tablesorter-bootstrap:not(.table-
|
103
|
-
.tablesorter-bootstrap:not(.table-
|
102
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr td.secondary,
|
103
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.even td.secondary {
|
104
104
|
background-color: #e6e6e6;
|
105
105
|
}
|
106
|
-
.tablesorter-bootstrap:not(.table-
|
106
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.odd td.tertiary {
|
107
107
|
background-color: #e6e6e6;
|
108
108
|
}
|
109
|
-
.tablesorter-bootstrap:not(.table-
|
110
|
-
.tablesorter-bootstrap:not(.table-
|
109
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr td.tertiary,
|
110
|
+
.tablesorter-bootstrap:not(.table-dark) > tbody > tr.even td.tertiary {
|
111
111
|
background-color: #f2f2f2;
|
112
112
|
}
|
113
113
|
|
114
114
|
/* caption */
|
115
|
-
.tablesorter-bootstrap:not(.table-
|
115
|
+
.tablesorter-bootstrap:not(.table-dark) .caption {
|
116
116
|
background-color: #fff;
|
117
117
|
}
|
118
118
|
|
@@ -129,11 +129,11 @@
|
|
129
129
|
-o-transition: height 0.1s ease;
|
130
130
|
transition: height 0.1s ease;
|
131
131
|
}
|
132
|
-
.tablesorter-bootstrap:not(.table-
|
132
|
+
.tablesorter-bootstrap:not(.table-dark) .tablesorter-filter-row {
|
133
133
|
background-color: #efefef;
|
134
134
|
}
|
135
|
-
.tablesorter-bootstrap:not(.table-
|
136
|
-
.tablesorter-bootstrap:not(.table-
|
135
|
+
.tablesorter-bootstrap:not(.table-dark) .tablesorter-filter-row input.tablesorter-filter,
|
136
|
+
.tablesorter-bootstrap:not(.table-dark) .tablesorter-filter-row select.tablesorter-filter {
|
137
137
|
color: #333;
|
138
138
|
}
|
139
139
|
|
@@ -144,7 +144,7 @@
|
|
144
144
|
transition: height 0.1s ease;
|
145
145
|
}
|
146
146
|
|
147
|
-
.tablesorter-bootstrap:not(.table-
|
147
|
+
.tablesorter-bootstrap:not(.table-dark) .tablesorter-filter-row td {
|
148
148
|
line-height: normal;
|
149
149
|
text-align: center;
|
150
150
|
padding: 4px 6px;
|
@@ -176,13 +176,12 @@
|
|
176
176
|
}
|
177
177
|
|
178
178
|
/* pager plugin */
|
179
|
-
|
180
179
|
.tablesorter-bootstrap .tablesorter-pager .pagedisplay {
|
181
180
|
border: 0;
|
182
181
|
}
|
183
182
|
|
184
183
|
/* ajax error row */
|
185
|
-
.tablesorter:not(.table-
|
184
|
+
.tablesorter:not(.table-dark) .tablesorter-errorRow td {
|
186
185
|
text-align: center;
|
187
186
|
cursor: pointer;
|
188
187
|
background-color: #e6bf99;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-tablesorter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.24.
|
4
|
+
version: 1.24.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Lin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.
|
187
|
+
rubygems_version: 2.7.3
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: Simple integration of jquery-tablesorter (Mottie's fork) into the Rails asset
|