jquery-datatables 1.10.13 → 1.10.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -3
  3. data/Rakefile +1 -1
  4. data/app/assets/javascripts/datatables/dataTables.bootstrap2.js +162 -0
  5. data/app/assets/javascripts/datatables/dataTables.bootstrap4.js +7 -7
  6. data/app/assets/javascripts/datatables/dataTables.semanticui.js +2 -2
  7. data/app/assets/javascripts/datatables/extensions/AutoFill/dataTables.autoFill.js +104 -13
  8. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.colVis.js +17 -9
  9. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.flash.js +41 -15
  10. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.html5.js +48 -18
  11. data/app/assets/javascripts/datatables/extensions/Buttons/buttons.print.js +29 -13
  12. data/app/assets/javascripts/datatables/extensions/Buttons/dataTables.buttons.js +46 -5
  13. data/app/assets/javascripts/datatables/extensions/ColReorder/dataTables.colReorder.js +37 -19
  14. data/app/assets/javascripts/datatables/extensions/KeyTable/dataTables.keyTable.js +65 -37
  15. data/app/assets/javascripts/datatables/extensions/RowGroup/dataTables.rowGroup.js +386 -0
  16. data/app/assets/javascripts/datatables/extensions/Select/dataTables.select.js +24 -14
  17. data/app/assets/javascripts/datatables/jquery.dataTables.js +48 -10
  18. data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +7 -7
  19. data/app/assets/stylesheets/datatables/dataTables.bootstrap2.css +178 -0
  20. data/app/assets/stylesheets/datatables/dataTables.bootstrap4.css +1 -0
  21. data/app/assets/stylesheets/datatables/dataTables.foundation.css +8 -6
  22. data/app/assets/stylesheets/datatables/dataTables.jqueryui.css +6 -5
  23. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap.css +56 -0
  24. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.bootstrap4.css +56 -0
  25. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.dataTables.css +56 -0
  26. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.foundation.css +60 -0
  27. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.jqueryui.css +56 -0
  28. data/app/assets/stylesheets/datatables/extensions/Buttons/buttons.semanticui.css +57 -0
  29. data/app/assets/stylesheets/datatables/extensions/Buttons/mixins.scss +47 -0
  30. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap.css +4 -0
  31. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.bootstrap4.css +4 -0
  32. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.dataTables.css +4 -0
  33. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.foundation.css +4 -0
  34. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.jqueryui.css +4 -0
  35. data/app/assets/stylesheets/datatables/extensions/RowGroup/rowGroup.semanticui.css +4 -0
  36. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap.css +7 -7
  37. data/app/assets/stylesheets/datatables/extensions/Select/select.bootstrap4.css +7 -7
  38. data/app/assets/stylesheets/datatables/extensions/Select/select.dataTables.css +7 -7
  39. data/app/assets/stylesheets/datatables/extensions/Select/select.foundation.css +7 -7
  40. data/app/assets/stylesheets/datatables/extensions/Select/select.jqueryui.css +7 -7
  41. data/app/assets/stylesheets/datatables/extensions/Select/select.semanticui.css +7 -7
  42. data/app/assets/stylesheets/datatables/jquery.dataTables.css +14 -11
  43. data/lib/generators/jquery/datatables/templates/bootstrap2.css.tt +15 -0
  44. data/lib/generators/jquery/datatables/templates/bootstrap2.js.tt +22 -0
  45. data/lib/jquery-datatables/version.rb +1 -1
  46. metadata +14 -3
@@ -69,7 +69,9 @@ table.dataTable thead > tr > td:active {
69
69
  }
70
70
  table.dataTable thead .sorting,
71
71
  table.dataTable thead .sorting_asc,
72
- table.dataTable thead .sorting_desc {
72
+ table.dataTable thead .sorting_desc,
73
+ table.dataTable thead .sorting_asc_disabled,
74
+ table.dataTable thead .sorting_desc_disabled {
73
75
  cursor: pointer;
74
76
  }
75
77
  table.dataTable thead .sorting,
@@ -81,19 +83,19 @@ table.dataTable thead .sorting_desc_disabled {
81
83
  background-position: center right;
82
84
  }
83
85
  table.dataTable thead .sorting {
84
- background-image: url("../images/sort_both.png");
86
+ background-image: image-url("datatables/sort_both.png");
85
87
  }
86
88
  table.dataTable thead .sorting_asc {
87
- background-image: url("../images/sort_asc.png");
89
+ background-image: image-url("datatables/sort_asc.png");
88
90
  }
89
91
  table.dataTable thead .sorting_desc {
90
- background-image: url("../images/sort_desc.png");
92
+ background-image: image-url("datatables/sort_desc.png");
91
93
  }
92
94
  table.dataTable thead .sorting_asc_disabled {
93
- background-image: url("../images/sort_asc_disabled.png");
95
+ background-image: image-url("datatables/sort_asc_disabled.png");
94
96
  }
95
97
  table.dataTable thead .sorting_desc_disabled {
96
- background-image: url("../images/sort_desc_disabled.png");
98
+ background-image: image-url("datatables/sort_desc_disabled.png");
97
99
  }
98
100
 
99
101
  div.dataTables_scrollHead table {
@@ -374,11 +374,12 @@ table.dataTable td {
374
374
  *margin-top: -1px;
375
375
  -webkit-overflow-scrolling: touch;
376
376
  }
377
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td {
377
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
378
378
  vertical-align: middle;
379
379
  }
380
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th > div.dataTables_sizing,
381
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td > div.dataTables_sizing {
380
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
381
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
382
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
382
383
  height: 0;
383
384
  overflow: hidden;
384
385
  margin: 0 !important;
@@ -387,8 +388,8 @@ table.dataTable td {
387
388
  .dataTables_wrapper.no-footer .dataTables_scrollBody {
388
389
  border-bottom: 1px solid #111;
389
390
  }
390
- .dataTables_wrapper.no-footer div.dataTables_scrollHead table,
391
- .dataTables_wrapper.no-footer div.dataTables_scrollBody table {
391
+ .dataTables_wrapper.no-footer div.dataTables_scrollHead > table,
392
+ .dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
392
393
  border-bottom: none;
393
394
  }
394
395
  .dataTables_wrapper:after {
@@ -1,3 +1,32 @@
1
+ @keyframes dtb-spinner {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+ @-o-keyframes dtb-spinner {
7
+ 100% {
8
+ -o-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+ @-ms-keyframes dtb-spinner {
13
+ 100% {
14
+ -ms-transform: rotate(360deg);
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @-webkit-keyframes dtb-spinner {
19
+ 100% {
20
+ -webkit-transform: rotate(360deg);
21
+ transform: rotate(360deg);
22
+ }
23
+ }
24
+ @-moz-keyframes dtb-spinner {
25
+ 100% {
26
+ -moz-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
1
30
  div.dt-button-info {
2
31
  position: fixed;
3
32
  top: 50%;
@@ -100,3 +129,30 @@ div.dt-button-background {
100
129
  float: none;
101
130
  }
102
131
  }
132
+ div.dt-buttons button.btn.processing,
133
+ div.dt-buttons div.btn.processing,
134
+ div.dt-buttons a.btn.processing {
135
+ color: rgba(0, 0, 0, 0.2);
136
+ }
137
+ div.dt-buttons button.btn.processing:after,
138
+ div.dt-buttons div.btn.processing:after,
139
+ div.dt-buttons a.btn.processing:after {
140
+ position: absolute;
141
+ top: 50%;
142
+ left: 50%;
143
+ width: 16px;
144
+ height: 16px;
145
+ margin: -8px 0 0 -8px;
146
+ box-sizing: border-box;
147
+ display: block;
148
+ content: ' ';
149
+ border: 2px solid #282828;
150
+ border-radius: 50%;
151
+ border-left-color: transparent;
152
+ border-right-color: transparent;
153
+ animation: dtb-spinner 1500ms infinite linear;
154
+ -o-animation: dtb-spinner 1500ms infinite linear;
155
+ -ms-animation: dtb-spinner 1500ms infinite linear;
156
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
157
+ -moz-animation: dtb-spinner 1500ms infinite linear;
158
+ }
@@ -1,3 +1,32 @@
1
+ @keyframes dtb-spinner {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+ @-o-keyframes dtb-spinner {
7
+ 100% {
8
+ -o-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+ @-ms-keyframes dtb-spinner {
13
+ 100% {
14
+ -ms-transform: rotate(360deg);
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @-webkit-keyframes dtb-spinner {
19
+ 100% {
20
+ -webkit-transform: rotate(360deg);
21
+ transform: rotate(360deg);
22
+ }
23
+ }
24
+ @-moz-keyframes dtb-spinner {
25
+ 100% {
26
+ -moz-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
1
30
  div.dt-button-info {
2
31
  position: fixed;
3
32
  top: 50%;
@@ -161,3 +190,30 @@ div.dt-button-background {
161
190
  float: none;
162
191
  }
163
192
  }
193
+ div.dt-buttons button.btn.processing,
194
+ div.dt-buttons div.btn.processing,
195
+ div.dt-buttons a.btn.processing {
196
+ color: rgba(0, 0, 0, 0.2);
197
+ }
198
+ div.dt-buttons button.btn.processing:after,
199
+ div.dt-buttons div.btn.processing:after,
200
+ div.dt-buttons a.btn.processing:after {
201
+ position: absolute;
202
+ top: 50%;
203
+ left: 50%;
204
+ width: 16px;
205
+ height: 16px;
206
+ margin: -8px 0 0 -8px;
207
+ box-sizing: border-box;
208
+ display: block;
209
+ content: ' ';
210
+ border: 2px solid #282828;
211
+ border-radius: 50%;
212
+ border-left-color: transparent;
213
+ border-right-color: transparent;
214
+ animation: dtb-spinner 1500ms infinite linear;
215
+ -o-animation: dtb-spinner 1500ms infinite linear;
216
+ -ms-animation: dtb-spinner 1500ms infinite linear;
217
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
218
+ -moz-animation: dtb-spinner 1500ms infinite linear;
219
+ }
@@ -1,3 +1,32 @@
1
+ @keyframes dtb-spinner {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+ @-o-keyframes dtb-spinner {
7
+ 100% {
8
+ -o-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+ @-ms-keyframes dtb-spinner {
13
+ 100% {
14
+ -ms-transform: rotate(360deg);
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @-webkit-keyframes dtb-spinner {
19
+ 100% {
20
+ -webkit-transform: rotate(360deg);
21
+ transform: rotate(360deg);
22
+ }
23
+ }
24
+ @-moz-keyframes dtb-spinner {
25
+ 100% {
26
+ -moz-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
1
30
  div.dt-button-info {
2
31
  position: fixed;
3
32
  top: 50%;
@@ -296,3 +325,30 @@ div.dt-button-background {
296
325
  text-align: center;
297
326
  }
298
327
  }
328
+ button.dt-button.processing,
329
+ div.dt-button.processing,
330
+ a.dt-button.processing {
331
+ color: rgba(0, 0, 0, 0.2);
332
+ }
333
+ button.dt-button.processing:after,
334
+ div.dt-button.processing:after,
335
+ a.dt-button.processing:after {
336
+ position: absolute;
337
+ top: 50%;
338
+ left: 50%;
339
+ width: 16px;
340
+ height: 16px;
341
+ margin: -8px 0 0 -8px;
342
+ box-sizing: border-box;
343
+ display: block;
344
+ content: ' ';
345
+ border: 2px solid #282828;
346
+ border-radius: 50%;
347
+ border-left-color: transparent;
348
+ border-right-color: transparent;
349
+ animation: dtb-spinner 1500ms infinite linear;
350
+ -o-animation: dtb-spinner 1500ms infinite linear;
351
+ -ms-animation: dtb-spinner 1500ms infinite linear;
352
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
353
+ -moz-animation: dtb-spinner 1500ms infinite linear;
354
+ }
@@ -1,3 +1,32 @@
1
+ @keyframes dtb-spinner {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+ @-o-keyframes dtb-spinner {
7
+ 100% {
8
+ -o-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+ @-ms-keyframes dtb-spinner {
13
+ 100% {
14
+ -ms-transform: rotate(360deg);
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @-webkit-keyframes dtb-spinner {
19
+ 100% {
20
+ -webkit-transform: rotate(360deg);
21
+ transform: rotate(360deg);
22
+ }
23
+ }
24
+ @-moz-keyframes dtb-spinner {
25
+ 100% {
26
+ -moz-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
1
30
  div.dt-button-info {
2
31
  position: fixed;
3
32
  top: 50%;
@@ -127,3 +156,34 @@ div.button-group.stacked.dropdown-pane a.button {
127
156
  div.button-group.stacked.dropdown-pane a.button:last-child {
128
157
  margin-bottom: 0;
129
158
  }
159
+
160
+ div.dt-buttons button.button.processing,
161
+ div.dt-buttons div.button.processing,
162
+ div.dt-buttons a.button.processing {
163
+ color: rgba(0, 0, 0, 0.2);
164
+ color: rgba(255, 255, 255, 0.2);
165
+ border-top-color: white;
166
+ border-bottom-color: white;
167
+ }
168
+ div.dt-buttons button.button.processing:after,
169
+ div.dt-buttons div.button.processing:after,
170
+ div.dt-buttons a.button.processing:after {
171
+ position: absolute;
172
+ top: 50%;
173
+ left: 50%;
174
+ width: 16px;
175
+ height: 16px;
176
+ margin: -8px 0 0 -8px;
177
+ box-sizing: border-box;
178
+ display: block;
179
+ content: ' ';
180
+ border: 2px solid #282828;
181
+ border-radius: 50%;
182
+ border-left-color: transparent;
183
+ border-right-color: transparent;
184
+ animation: dtb-spinner 1500ms infinite linear;
185
+ -o-animation: dtb-spinner 1500ms infinite linear;
186
+ -ms-animation: dtb-spinner 1500ms infinite linear;
187
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
188
+ -moz-animation: dtb-spinner 1500ms infinite linear;
189
+ }
@@ -1,3 +1,32 @@
1
+ @keyframes dtb-spinner {
2
+ 100% {
3
+ transform: rotate(360deg);
4
+ }
5
+ }
6
+ @-o-keyframes dtb-spinner {
7
+ 100% {
8
+ -o-transform: rotate(360deg);
9
+ transform: rotate(360deg);
10
+ }
11
+ }
12
+ @-ms-keyframes dtb-spinner {
13
+ 100% {
14
+ -ms-transform: rotate(360deg);
15
+ transform: rotate(360deg);
16
+ }
17
+ }
18
+ @-webkit-keyframes dtb-spinner {
19
+ 100% {
20
+ -webkit-transform: rotate(360deg);
21
+ transform: rotate(360deg);
22
+ }
23
+ }
24
+ @-moz-keyframes dtb-spinner {
25
+ 100% {
26
+ -moz-transform: rotate(360deg);
27
+ transform: rotate(360deg);
28
+ }
29
+ }
1
30
  div.dt-button-info {
2
31
  position: fixed;
3
32
  top: 50%;
@@ -160,3 +189,30 @@ div.dt-button-background {
160
189
  text-align: center;
161
190
  }
162
191
  }
192
+ button.dt-button.processing,
193
+ div.dt-button.processing,
194
+ a.dt-button.processing {
195
+ color: rgba(0, 0, 0, 0.2);
196
+ }
197
+ button.dt-button.processing:after,
198
+ div.dt-button.processing:after,
199
+ a.dt-button.processing:after {
200
+ position: absolute;
201
+ top: 50%;
202
+ left: 50%;
203
+ width: 16px;
204
+ height: 16px;
205
+ margin: -8px 0 0 -8px;
206
+ box-sizing: border-box;
207
+ display: block;
208
+ content: ' ';
209
+ border: 2px solid #282828;
210
+ border-radius: 50%;
211
+ border-left-color: transparent;
212
+ border-right-color: transparent;
213
+ animation: dtb-spinner 1500ms infinite linear;
214
+ -o-animation: dtb-spinner 1500ms infinite linear;
215
+ -ms-animation: dtb-spinner 1500ms infinite linear;
216
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
217
+ -moz-animation: dtb-spinner 1500ms infinite linear;
218
+ }
@@ -1,4 +1,33 @@
1
1
  @charset "UTF-8";
2
+ @keyframes dtb-spinner {
3
+ 100% {
4
+ transform: rotate(360deg);
5
+ }
6
+ }
7
+ @-o-keyframes dtb-spinner {
8
+ 100% {
9
+ -o-transform: rotate(360deg);
10
+ transform: rotate(360deg);
11
+ }
12
+ }
13
+ @-ms-keyframes dtb-spinner {
14
+ 100% {
15
+ -ms-transform: rotate(360deg);
16
+ transform: rotate(360deg);
17
+ }
18
+ }
19
+ @-webkit-keyframes dtb-spinner {
20
+ 100% {
21
+ -webkit-transform: rotate(360deg);
22
+ transform: rotate(360deg);
23
+ }
24
+ }
25
+ @-moz-keyframes dtb-spinner {
26
+ 100% {
27
+ -moz-transform: rotate(360deg);
28
+ transform: rotate(360deg);
29
+ }
30
+ }
2
31
  div.dt-button-info {
3
32
  position: fixed;
4
33
  top: 50%;
@@ -112,3 +141,31 @@ div.dt-button-background {
112
141
  float: none;
113
142
  }
114
143
  }
144
+ div.dt-buttons button.button.processing,
145
+ div.dt-buttons div.button.processing,
146
+ div.dt-buttons a.button.processing {
147
+ position: relative;
148
+ color: rgba(0, 0, 0, 0.2);
149
+ }
150
+ div.dt-buttons button.button.processing:after,
151
+ div.dt-buttons div.button.processing:after,
152
+ div.dt-buttons a.button.processing:after {
153
+ position: absolute;
154
+ top: 50%;
155
+ left: 50%;
156
+ width: 16px;
157
+ height: 16px;
158
+ margin: -8px 0 0 -8px;
159
+ box-sizing: border-box;
160
+ display: block;
161
+ content: ' ';
162
+ border: 2px solid #282828;
163
+ border-radius: 50%;
164
+ border-left-color: transparent;
165
+ border-right-color: transparent;
166
+ animation: dtb-spinner 1500ms infinite linear;
167
+ -o-animation: dtb-spinner 1500ms infinite linear;
168
+ -ms-animation: dtb-spinner 1500ms infinite linear;
169
+ -webkit-animation: dtb-spinner 1500ms infinite linear;
170
+ -moz-animation: dtb-spinner 1500ms infinite linear;
171
+ }