datatables.net-bs 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/License.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright SpryMedia Limited and other contributors
4
+ http://datatables.net
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
package/Readme.md CHANGED
@@ -1,6 +1,6 @@
1
- # DataTables for jQuery with styling for [Bootstrap](http://getbootstrap.com/)
1
+ # DataTables for jQuery with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/)
2
2
 
3
- This package contains distribution files required to style [DataTables library](https://datatables.net) for [jQuery](http://jquery.com/) with styling for [Bootstrap](http://getbootstrap.com/).
3
+ This package contains distribution files required to style [DataTables library](https://datatables.net) for [jQuery](http://jquery.com/) with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/).
4
4
 
5
5
  DataTables is a table enhancing library which adds features such as paging, ordering, search, scrolling and many more to a static HTML page. A comprehensive API is also available that can be used to manipulate the table. Please refer to the [DataTables web-site](//datatables.net) for a full range of documentation and examples.
6
6
 
@@ -17,11 +17,17 @@ For inclusion of this library using a standard `<script>` tag, rather than using
17
17
  npm install datatables.net-bs
18
18
  ```
19
19
 
20
+ ES3 Syntax
20
21
  ```
21
22
  var $ = require( 'jquery' );
22
23
  require( 'datatables.net-bs' )( window, $ );
23
24
  ```
24
25
 
26
+ ES6 Syntax
27
+ ```
28
+ import 'datatables.net-bs'
29
+ ```
30
+
25
31
  ### bower
26
32
 
27
33
  ```
@@ -32,7 +38,7 @@ bower install --save datatables.net-bs
32
38
 
33
39
  ## Documentation
34
40
 
35
- Full documentation of the DataTables options, API and plug-in interface are available on the DOCS_LINK. The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.
41
+ Full documentation of the DataTables options, API and plug-in interface are available on the [website](https://datatables.net/reference/index). The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.
36
42
 
37
43
 
38
44
  ## Bug / Support
@@ -48,3 +54,4 @@ If you are thinking of contributing code to DataTables, first of all, thank you!
48
54
  ## License
49
55
 
50
56
  This software is released under the [MIT license](//datatables.net/license). You are free to use, modify and distribute this software, but all copyright information must remain.
57
+
@@ -1,60 +1,478 @@
1
- table.dataTable {
2
- clear: both;
3
- margin-top: 6px !important;
4
- margin-bottom: 6px !important;
5
- max-width: none !important;
6
- border-collapse: separate !important;
7
- }
8
- table.dataTable td,
9
- table.dataTable th {
10
- -webkit-box-sizing: content-box;
11
- box-sizing: content-box;
1
+ @charset "UTF-8";
2
+ :root {
3
+ --dt-row-selected: 0, 136, 204;
4
+ --dt-row-selected-text: 255, 255, 255;
5
+ --dt-row-selected-link: 9, 10, 11;
6
+ --dt-row-stripe: 0, 0, 0;
7
+ --dt-row-hover: 0, 0, 0;
8
+ --dt-column-ordering: 0, 0, 0;
9
+ --dt-html-background: white;
10
+ }
11
+ :root.dark {
12
+ --dt-html-background: rgb(33, 37, 41);
13
+ }
14
+
15
+ table.dataTable td.dt-control {
16
+ text-align: center;
17
+ cursor: pointer;
18
+ }
19
+ table.dataTable td.dt-control:before {
20
+ display: inline-block;
21
+ box-sizing: border-box;
22
+ content: "";
23
+ border-top: 5px solid transparent;
24
+ border-left: 10px solid rgba(0, 0, 0, 0.5);
25
+ border-bottom: 5px solid transparent;
26
+ border-right: 0px solid transparent;
27
+ }
28
+ table.dataTable tr.dt-hasChild td.dt-control:before {
29
+ border-top: 10px solid rgba(0, 0, 0, 0.5);
30
+ border-left: 5px solid transparent;
31
+ border-bottom: 0px solid transparent;
32
+ border-right: 5px solid transparent;
33
+ }
34
+
35
+ html.dark table.dataTable td.dt-control:before,
36
+ :root[data-bs-theme=dark] table.dataTable td.dt-control:before,
37
+ :root[data-theme=dark] table.dataTable td.dt-control:before {
38
+ border-left-color: rgba(255, 255, 255, 0.5);
39
+ }
40
+ html.dark table.dataTable tr.dt-hasChild td.dt-control:before,
41
+ :root[data-bs-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before,
42
+ :root[data-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before {
43
+ border-top-color: rgba(255, 255, 255, 0.5);
44
+ border-left-color: transparent;
45
+ }
46
+
47
+ div.dt-scroll {
48
+ width: 100%;
49
+ }
50
+
51
+ div.dt-scroll-body thead tr,
52
+ div.dt-scroll-body tfoot tr {
53
+ height: 0;
54
+ }
55
+ div.dt-scroll-body thead tr th, div.dt-scroll-body thead tr td,
56
+ div.dt-scroll-body tfoot tr th,
57
+ div.dt-scroll-body tfoot tr td {
58
+ height: 0 !important;
59
+ padding-top: 0px !important;
60
+ padding-bottom: 0px !important;
61
+ border-top-width: 0px !important;
62
+ border-bottom-width: 0px !important;
63
+ }
64
+ div.dt-scroll-body thead tr th div.dt-scroll-sizing, div.dt-scroll-body thead tr td div.dt-scroll-sizing,
65
+ div.dt-scroll-body tfoot tr th div.dt-scroll-sizing,
66
+ div.dt-scroll-body tfoot tr td div.dt-scroll-sizing {
67
+ height: 0 !important;
68
+ overflow: hidden !important;
69
+ }
70
+
71
+ table.dataTable thead > tr > th:active,
72
+ table.dataTable thead > tr > td:active {
73
+ outline: none;
74
+ }
75
+ table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
76
+ table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
77
+ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
78
+ position: absolute;
79
+ display: block;
80
+ bottom: 50%;
81
+ content: "▲";
82
+ content: "▲"/"";
83
+ }
84
+ table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
85
+ table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
86
+ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
87
+ position: absolute;
88
+ display: block;
89
+ top: 50%;
90
+ content: "▼";
91
+ content: "▼"/"";
92
+ }
93
+ table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc,
94
+ table.dataTable thead > tr > td.dt-orderable-asc,
95
+ table.dataTable thead > tr > td.dt-orderable-desc,
96
+ table.dataTable thead > tr > td.dt-ordering-asc,
97
+ table.dataTable thead > tr > td.dt-ordering-desc {
98
+ position: relative;
99
+ padding-right: 30px;
100
+ }
101
+ table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order,
102
+ table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order,
103
+ table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order,
104
+ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order,
105
+ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
106
+ position: absolute;
107
+ right: 12px;
108
+ top: 0;
109
+ bottom: 0;
110
+ width: 12px;
111
+ }
112
+ table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
113
+ table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
114
+ table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:after,
115
+ table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:before,
116
+ table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
117
+ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before,
118
+ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:after,
119
+ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:before,
120
+ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
121
+ left: 0;
122
+ opacity: 0.125;
123
+ line-height: 9px;
124
+ font-size: 0.8em;
125
+ }
126
+ table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc,
127
+ table.dataTable thead > tr > td.dt-orderable-asc,
128
+ table.dataTable thead > tr > td.dt-orderable-desc {
129
+ cursor: pointer;
130
+ }
131
+ table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover,
132
+ table.dataTable thead > tr > td.dt-orderable-asc:hover,
133
+ table.dataTable thead > tr > td.dt-orderable-desc:hover {
134
+ outline: 2px solid rgba(0, 0, 0, 0.05);
135
+ outline-offset: -2px;
136
+ }
137
+ table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
138
+ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before,
139
+ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
140
+ opacity: 0.6;
141
+ }
142
+ table.dataTable thead > tr > th.sorting_desc_disabled span.dt-column-order:after, table.dataTable thead > tr > th.sorting_asc_disabled span.dt-column-order:before,
143
+ table.dataTable thead > tr > td.sorting_desc_disabled span.dt-column-order:after,
144
+ table.dataTable thead > tr > td.sorting_asc_disabled span.dt-column-order:before {
145
+ display: none;
146
+ }
147
+ table.dataTable thead > tr > th:active,
148
+ table.dataTable thead > tr > td:active {
149
+ outline: none;
150
+ }
151
+
152
+ div.dt-scroll-body > table.dataTable > thead > tr > th,
153
+ div.dt-scroll-body > table.dataTable > thead > tr > td {
154
+ overflow: hidden;
12
155
  }
13
- table.dataTable td.dataTables_empty,
14
- table.dataTable th.dataTables_empty {
156
+
157
+ :root.dark table.dataTable thead > tr > th.dt-orderable-asc:hover, :root.dark table.dataTable thead > tr > th.dt-orderable-desc:hover,
158
+ :root.dark table.dataTable thead > tr > td.dt-orderable-asc:hover,
159
+ :root.dark table.dataTable thead > tr > td.dt-orderable-desc:hover,
160
+ :root[data-bs-theme=dark] table.dataTable thead > tr > th.dt-orderable-asc:hover,
161
+ :root[data-bs-theme=dark] table.dataTable thead > tr > th.dt-orderable-desc:hover,
162
+ :root[data-bs-theme=dark] table.dataTable thead > tr > td.dt-orderable-asc:hover,
163
+ :root[data-bs-theme=dark] table.dataTable thead > tr > td.dt-orderable-desc:hover {
164
+ outline: 2px solid rgba(255, 255, 255, 0.05);
165
+ }
166
+
167
+ div.dt-processing {
168
+ position: absolute;
169
+ top: 50%;
170
+ left: 50%;
171
+ width: 200px;
172
+ margin-left: -100px;
173
+ margin-top: -22px;
174
+ text-align: center;
175
+ padding: 2px;
176
+ z-index: 10;
177
+ }
178
+ div.dt-processing > div:last-child {
179
+ position: relative;
180
+ width: 80px;
181
+ height: 15px;
182
+ margin: 1em auto;
183
+ }
184
+ div.dt-processing > div:last-child > div {
185
+ position: absolute;
186
+ top: 0;
187
+ width: 13px;
188
+ height: 13px;
189
+ border-radius: 50%;
190
+ background: rgb(0, 136, 204);
191
+ background: rgb(var(--dt-row-selected));
192
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
193
+ }
194
+ div.dt-processing > div:last-child > div:nth-child(1) {
195
+ left: 8px;
196
+ animation: datatables-loader-1 0.6s infinite;
197
+ }
198
+ div.dt-processing > div:last-child > div:nth-child(2) {
199
+ left: 8px;
200
+ animation: datatables-loader-2 0.6s infinite;
201
+ }
202
+ div.dt-processing > div:last-child > div:nth-child(3) {
203
+ left: 32px;
204
+ animation: datatables-loader-2 0.6s infinite;
205
+ }
206
+ div.dt-processing > div:last-child > div:nth-child(4) {
207
+ left: 56px;
208
+ animation: datatables-loader-3 0.6s infinite;
209
+ }
210
+
211
+ @keyframes datatables-loader-1 {
212
+ 0% {
213
+ transform: scale(0);
214
+ }
215
+ 100% {
216
+ transform: scale(1);
217
+ }
218
+ }
219
+ @keyframes datatables-loader-3 {
220
+ 0% {
221
+ transform: scale(1);
222
+ }
223
+ 100% {
224
+ transform: scale(0);
225
+ }
226
+ }
227
+ @keyframes datatables-loader-2 {
228
+ 0% {
229
+ transform: translate(0, 0);
230
+ }
231
+ 100% {
232
+ transform: translate(24px, 0);
233
+ }
234
+ }
235
+ table.dataTable.nowrap th, table.dataTable.nowrap td {
236
+ white-space: nowrap;
237
+ }
238
+ table.dataTable th,
239
+ table.dataTable td {
240
+ box-sizing: border-box;
241
+ }
242
+ table.dataTable th.dt-left,
243
+ table.dataTable td.dt-left {
244
+ text-align: left;
245
+ }
246
+ table.dataTable th.dt-center,
247
+ table.dataTable td.dt-center {
15
248
  text-align: center;
16
249
  }
17
- table.dataTable.nowrap th,
18
- table.dataTable.nowrap td {
250
+ table.dataTable th.dt-right,
251
+ table.dataTable td.dt-right {
252
+ text-align: right;
253
+ }
254
+ table.dataTable th.dt-justify,
255
+ table.dataTable td.dt-justify {
256
+ text-align: justify;
257
+ }
258
+ table.dataTable th.dt-nowrap,
259
+ table.dataTable td.dt-nowrap {
19
260
  white-space: nowrap;
20
261
  }
262
+ table.dataTable th.dt-empty,
263
+ table.dataTable td.dt-empty {
264
+ text-align: center;
265
+ vertical-align: top;
266
+ }
267
+ table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date,
268
+ table.dataTable td.dt-type-numeric,
269
+ table.dataTable td.dt-type-date {
270
+ text-align: right;
271
+ }
272
+ table.dataTable thead th,
273
+ table.dataTable thead td,
274
+ table.dataTable tfoot th,
275
+ table.dataTable tfoot td {
276
+ text-align: left;
277
+ }
278
+ table.dataTable thead th.dt-head-left,
279
+ table.dataTable thead td.dt-head-left,
280
+ table.dataTable tfoot th.dt-head-left,
281
+ table.dataTable tfoot td.dt-head-left {
282
+ text-align: left;
283
+ }
284
+ table.dataTable thead th.dt-head-center,
285
+ table.dataTable thead td.dt-head-center,
286
+ table.dataTable tfoot th.dt-head-center,
287
+ table.dataTable tfoot td.dt-head-center {
288
+ text-align: center;
289
+ }
290
+ table.dataTable thead th.dt-head-right,
291
+ table.dataTable thead td.dt-head-right,
292
+ table.dataTable tfoot th.dt-head-right,
293
+ table.dataTable tfoot td.dt-head-right {
294
+ text-align: right;
295
+ }
296
+ table.dataTable thead th.dt-head-justify,
297
+ table.dataTable thead td.dt-head-justify,
298
+ table.dataTable tfoot th.dt-head-justify,
299
+ table.dataTable tfoot td.dt-head-justify {
300
+ text-align: justify;
301
+ }
302
+ table.dataTable thead th.dt-head-nowrap,
303
+ table.dataTable thead td.dt-head-nowrap,
304
+ table.dataTable tfoot th.dt-head-nowrap,
305
+ table.dataTable tfoot td.dt-head-nowrap {
306
+ white-space: nowrap;
307
+ }
308
+ table.dataTable tbody th.dt-body-left,
309
+ table.dataTable tbody td.dt-body-left {
310
+ text-align: left;
311
+ }
312
+ table.dataTable tbody th.dt-body-center,
313
+ table.dataTable tbody td.dt-body-center {
314
+ text-align: center;
315
+ }
316
+ table.dataTable tbody th.dt-body-right,
317
+ table.dataTable tbody td.dt-body-right {
318
+ text-align: right;
319
+ }
320
+ table.dataTable tbody th.dt-body-justify,
321
+ table.dataTable tbody td.dt-body-justify {
322
+ text-align: justify;
323
+ }
324
+ table.dataTable tbody th.dt-body-nowrap,
325
+ table.dataTable tbody td.dt-body-nowrap {
326
+ white-space: nowrap;
327
+ }
328
+
329
+ table.table.dataTable {
330
+ clear: both;
331
+ margin-top: 0;
332
+ margin-bottom: 0;
333
+ max-width: none;
334
+ }
335
+ table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) {
336
+ background-color: transparent;
337
+ }
338
+ table.table.dataTable > tbody > tr {
339
+ background-color: transparent;
340
+ }
341
+ table.table.dataTable > tbody > tr.selected > * {
342
+ box-shadow: inset 0 0 0 9999px rgb(0, 136, 204);
343
+ box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
344
+ color: rgb(255, 255, 255);
345
+ color: rgb(var(--dt-row-selected-text));
346
+ }
347
+ table.table.dataTable > tbody > tr.selected a {
348
+ color: rgb(9, 10, 11);
349
+ color: rgb(var(--dt-row-selected-link));
350
+ }
351
+ table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
352
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.05);
353
+ }
354
+ table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1).selected > * {
355
+ box-shadow: inset 0 0 0 9999px rgba(0, 136, 204, 0.95);
356
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95);
357
+ }
358
+ table.table.dataTable.table-hover > tbody > tr:hover > * {
359
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.075);
360
+ }
361
+ table.table.dataTable.table-hover > tbody > tr.selected:hover > * {
362
+ box-shadow: inset 0 0 0 9999px rgba(0, 136, 204, 0.975);
363
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.975);
364
+ }
365
+
366
+ div.dt-container div.dt-layout-row {
367
+ display: flex;
368
+ justify-content: space-between;
369
+ align-items: center;
370
+ width: 100%;
371
+ margin: 0.75em 0;
372
+ }
373
+ div.dt-container div.dt-layout-row div.dt-layout-cell {
374
+ display: flex;
375
+ justify-content: space-between;
376
+ align-items: center;
377
+ }
378
+ div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
379
+ justify-content: flex-start;
380
+ margin-right: auto;
381
+ }
382
+ div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
383
+ justify-content: flex-end;
384
+ margin-left: auto;
385
+ }
386
+ div.dt-container div.dt-layout-row div.dt-layout-cell:empty {
387
+ display: none;
388
+ }
389
+
390
+ @media screen and (max-width: 767px) {
391
+ div.dt-container div.dt-layout-row:not(.dt-layout-table) {
392
+ display: block;
393
+ }
394
+ div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell {
395
+ display: block;
396
+ text-align: center;
397
+ }
398
+ div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell > * {
399
+ margin: 0.5em 0;
400
+ }
401
+ div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell.dt-layout-start {
402
+ margin-right: 0;
403
+ }
404
+ div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell.dt-layout-end {
405
+ margin-left: 0;
406
+ }
407
+ }
408
+ div.dt-container div.dt-layout-start > *:not(:last-child) {
409
+ margin-right: 1em;
410
+ }
411
+ div.dt-container div.dt-layout-end > *:not(:first-child) {
412
+ margin-left: 1em;
413
+ }
414
+ div.dt-container div.dt-layout-full {
415
+ width: 100%;
416
+ }
417
+ div.dt-container div.dt-layout-full > *:only-child {
418
+ margin-left: auto;
419
+ margin-right: auto;
420
+ }
421
+ div.dt-container div.dt-layout-table > div {
422
+ display: block !important;
423
+ }
21
424
 
22
- div.dataTables_wrapper div.dataTables_length label {
425
+ @media screen and (max-width: 767px) {
426
+ div.dt-container div.dt-layout-start > *:not(:last-child) {
427
+ margin-right: 0;
428
+ }
429
+ div.dt-container div.dt-layout-end > *:not(:first-child) {
430
+ margin-left: 0;
431
+ }
432
+ }
433
+ div.dt-container div.dt-layout-row {
434
+ width: auto;
435
+ }
436
+ div.dt-container div.dt-layout-row div.dt-layout-cell {
437
+ padding-left: 15px;
438
+ padding-right: 15px;
439
+ }
440
+ div.dt-container div.dt-length label {
23
441
  font-weight: normal;
24
442
  text-align: left;
25
443
  white-space: nowrap;
444
+ margin-bottom: 0;
26
445
  }
27
- div.dataTables_wrapper div.dataTables_length select {
28
- width: 75px;
446
+ div.dt-container div.dt-length select {
29
447
  display: inline-block;
448
+ margin-right: 0.5em;
449
+ width: auto;
30
450
  }
31
- div.dataTables_wrapper div.dataTables_filter {
32
- text-align: right;
33
- }
34
- div.dataTables_wrapper div.dataTables_filter label {
451
+ div.dt-container div.dt-search label {
35
452
  font-weight: normal;
36
453
  white-space: nowrap;
37
454
  text-align: left;
455
+ margin-bottom: 0;
38
456
  }
39
- div.dataTables_wrapper div.dataTables_filter input {
457
+ div.dt-container div.dt-search input {
40
458
  margin-left: 0.5em;
41
459
  display: inline-block;
42
460
  width: auto;
43
461
  }
44
- div.dataTables_wrapper div.dataTables_info {
45
- padding-top: 8px;
462
+ div.dt-container div.dt-info {
46
463
  white-space: nowrap;
47
464
  }
48
- div.dataTables_wrapper div.dataTables_paginate {
465
+ div.dt-container div.dt-paging {
49
466
  margin: 0;
50
- white-space: nowrap;
51
- text-align: right;
52
467
  }
53
- div.dataTables_wrapper div.dataTables_paginate ul.pagination {
54
- margin: 2px 0;
55
- white-space: nowrap;
468
+ div.dt-container div.dt-paging ul.pagination {
469
+ margin: 0;
470
+ flex-wrap: wrap;
471
+ }
472
+ div.dt-container div.dt-paging ul.pagination li {
473
+ display: inline-block;
56
474
  }
57
- div.dataTables_wrapper div.dataTables_processing {
475
+ div.dt-container div.dt-processing {
58
476
  position: absolute;
59
477
  top: 50%;
60
478
  left: 50%;
@@ -64,121 +482,69 @@ div.dataTables_wrapper div.dataTables_processing {
64
482
  text-align: center;
65
483
  padding: 1em 0;
66
484
  }
67
-
68
- table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
69
- table.dataTable thead > tr > td.sorting_asc,
70
- table.dataTable thead > tr > td.sorting_desc,
71
- table.dataTable thead > tr > td.sorting {
72
- padding-right: 30px;
485
+ div.dt-container div.dt-scroll-body {
486
+ border-bottom: 1px solid #ddd;
73
487
  }
74
- table.dataTable thead > tr > th:active,
75
- table.dataTable thead > tr > td:active {
76
- outline: none;
77
- }
78
- table.dataTable thead .sorting,
79
- table.dataTable thead .sorting_asc,
80
- table.dataTable thead .sorting_desc,
81
- table.dataTable thead .sorting_asc_disabled,
82
- table.dataTable thead .sorting_desc_disabled {
83
- cursor: pointer;
84
- position: relative;
85
- }
86
- table.dataTable thead .sorting:after,
87
- table.dataTable thead .sorting_asc:after,
88
- table.dataTable thead .sorting_desc:after,
89
- table.dataTable thead .sorting_asc_disabled:after,
90
- table.dataTable thead .sorting_desc_disabled:after {
91
- position: absolute;
92
- bottom: 8px;
93
- right: 8px;
94
- display: block;
95
- font-family: 'Glyphicons Halflings';
96
- opacity: 0.5;
97
- }
98
- table.dataTable thead .sorting:after {
99
- opacity: 0.2;
100
- content: "\e150";
101
- /* sort */
102
- }
103
- table.dataTable thead .sorting_asc:after {
104
- content: "\e155";
105
- /* sort-by-attributes */
106
- }
107
- table.dataTable thead .sorting_desc:after {
108
- content: "\e156";
109
- /* sort-by-attributes-alt */
110
- }
111
- table.dataTable thead .sorting_asc_disabled:after,
112
- table.dataTable thead .sorting_desc_disabled:after {
113
- color: #eee;
488
+ div.dt-container div.dt-scroll-body table,
489
+ div.dt-container div.dt-scroll-body tbody > tr:last-child > * {
490
+ border-bottom: none;
114
491
  }
115
492
 
116
- div.dataTables_scrollHead table.dataTable {
493
+ div.dt-scroll-head table.dataTable {
117
494
  margin-bottom: 0 !important;
118
495
  }
119
496
 
120
- div.dataTables_scrollBody table {
497
+ div.dt-scroll-body > table {
121
498
  border-top: none;
122
499
  margin-top: 0 !important;
123
500
  margin-bottom: 0 !important;
124
501
  }
125
- div.dataTables_scrollBody table thead .sorting:after,
126
- div.dataTables_scrollBody table thead .sorting_asc:after,
127
- div.dataTables_scrollBody table thead .sorting_desc:after {
502
+ div.dt-scroll-body > table > thead .sorting:after,
503
+ div.dt-scroll-body > table > thead .sorting_asc:after,
504
+ div.dt-scroll-body > table > thead .sorting_desc:after {
128
505
  display: none;
129
506
  }
130
- div.dataTables_scrollBody table tbody tr:first-child th,
131
- div.dataTables_scrollBody table tbody tr:first-child td {
507
+ div.dt-scroll-body > table > tbody > tr:first-child > th,
508
+ div.dt-scroll-body > table > tbody > tr:first-child > td {
132
509
  border-top: none;
133
510
  }
134
511
 
135
- div.dataTables_scrollFoot table {
512
+ div.dt-scroll-foot > .dt-scroll-footInner {
513
+ box-sizing: content-box;
514
+ }
515
+ div.dt-scroll-foot > .dt-scroll-footInner > table {
136
516
  margin-top: 0 !important;
137
517
  border-top: none;
138
518
  }
139
519
 
140
520
  @media screen and (max-width: 767px) {
141
- div.dataTables_wrapper div.dataTables_length,
142
- div.dataTables_wrapper div.dataTables_filter,
143
- div.dataTables_wrapper div.dataTables_info,
144
- div.dataTables_wrapper div.dataTables_paginate {
521
+ div.dt-container div.dt-length,
522
+ div.dt-container div.dt-search,
523
+ div.dt-container div.dt-info,
524
+ div.dt-container div.dt-paging {
145
525
  text-align: center;
146
526
  }
527
+ div.dt-container div.row {
528
+ margin-bottom: 0;
529
+ }
530
+ div.dt-container div.row > * {
531
+ margin-bottom: 0.75rem;
532
+ }
147
533
  }
148
534
  table.dataTable.table-condensed > thead > tr > th {
149
535
  padding-right: 20px;
150
536
  }
151
- table.dataTable.table-condensed .sorting:after,
152
- table.dataTable.table-condensed .sorting_asc:after,
153
- table.dataTable.table-condensed .sorting_desc:after {
154
- top: 6px;
155
- right: 6px;
156
- }
157
-
158
- table.table-bordered.dataTable th,
159
- table.table-bordered.dataTable td {
160
- border-left-width: 0;
161
- }
162
- table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
163
- table.table-bordered.dataTable td:last-child,
164
- table.table-bordered.dataTable td:last-child {
165
- border-right-width: 0;
166
- }
167
- table.table-bordered.dataTable tbody th,
168
- table.table-bordered.dataTable tbody td {
169
- border-bottom-width: 0;
170
- }
171
537
 
172
- div.dataTables_scrollHead table.table-bordered {
538
+ div.dt-scroll-head table.table-bordered {
173
539
  border-bottom-width: 0;
174
540
  }
175
541
 
176
- div.table-responsive > div.dataTables_wrapper > div.row {
542
+ div.table-responsive > div.dt-container > div.row {
177
543
  margin: 0;
178
544
  }
179
- div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
545
+ div.table-responsive > div.dt-container > div.row > div[class^=col-]:first-child {
180
546
  padding-left: 0;
181
547
  }
182
- div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
548
+ div.table-responsive > div.dt-container > div.row > div[class^=col-]:last-child {
183
549
  padding-right: 0;
184
550
  }
@@ -0,0 +1 @@
1
+ :root{--dt-row-selected: 0, 136, 204;--dt-row-selected-text: 255, 255, 255;--dt-row-selected-link: 9, 10, 11;--dt-row-stripe: 0, 0, 0;--dt-row-hover: 0, 0, 0;--dt-column-ordering: 0, 0, 0;--dt-html-background: white}:root.dark{--dt-html-background: rgb(33, 37, 41)}table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:before{display:inline-block;box-sizing:border-box;content:"";border-top:5px solid transparent;border-left:10px solid rgba(0, 0, 0, 0.5);border-bottom:5px solid transparent;border-right:0px solid transparent}table.dataTable tr.dt-hasChild td.dt-control:before{border-top:10px solid rgba(0, 0, 0, 0.5);border-left:5px solid transparent;border-bottom:0px solid transparent;border-right:5px solid transparent}html.dark table.dataTable td.dt-control:before,:root[data-bs-theme=dark] table.dataTable td.dt-control:before,:root[data-theme=dark] table.dataTable td.dt-control:before{border-left-color:rgba(255, 255, 255, 0.5)}html.dark table.dataTable tr.dt-hasChild td.dt-control:before,:root[data-bs-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before,:root[data-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before{border-top-color:rgba(255, 255, 255, 0.5);border-left-color:transparent}div.dt-scroll{width:100%}div.dt-scroll-body thead tr,div.dt-scroll-body tfoot tr{height:0}div.dt-scroll-body thead tr th,div.dt-scroll-body thead tr td,div.dt-scroll-body tfoot tr th,div.dt-scroll-body tfoot tr td{height:0 !important;padding-top:0px !important;padding-bottom:0px !important;border-top-width:0px !important;border-bottom-width:0px !important}div.dt-scroll-body thead tr th div.dt-scroll-sizing,div.dt-scroll-body thead tr td div.dt-scroll-sizing,div.dt-scroll-body tfoot tr th div.dt-scroll-sizing,div.dt-scroll-body tfoot tr td div.dt-scroll-sizing{height:0 !important;overflow:hidden !important}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before{position:absolute;display:block;bottom:50%;content:"▲";content:"▲"/""}table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{position:absolute;display:block;top:50%;content:"▼";content:"▼"/""}table.dataTable thead>tr>th.dt-orderable-asc,table.dataTable thead>tr>th.dt-orderable-desc,table.dataTable thead>tr>th.dt-ordering-asc,table.dataTable thead>tr>th.dt-ordering-desc,table.dataTable thead>tr>td.dt-orderable-asc,table.dataTable thead>tr>td.dt-orderable-desc,table.dataTable thead>tr>td.dt-ordering-asc,table.dataTable thead>tr>td.dt-ordering-desc{position:relative;padding-right:30px}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order{position:absolute;right:12px;top:0;bottom:0;width:12px}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:after,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:before,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{left:0;opacity:.125;line-height:9px;font-size:.8em}table.dataTable thead>tr>th.dt-orderable-asc,table.dataTable thead>tr>th.dt-orderable-desc,table.dataTable thead>tr>td.dt-orderable-asc,table.dataTable thead>tr>td.dt-orderable-desc{cursor:pointer}table.dataTable thead>tr>th.dt-orderable-asc:hover,table.dataTable thead>tr>th.dt-orderable-desc:hover,table.dataTable thead>tr>td.dt-orderable-asc:hover,table.dataTable thead>tr>td.dt-orderable-desc:hover{outline:2px solid rgba(0, 0, 0, 0.05);outline-offset:-2px}table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{opacity:.6}table.dataTable thead>tr>th.sorting_desc_disabled span.dt-column-order:after,table.dataTable thead>tr>th.sorting_asc_disabled span.dt-column-order:before,table.dataTable thead>tr>td.sorting_desc_disabled span.dt-column-order:after,table.dataTable thead>tr>td.sorting_asc_disabled span.dt-column-order:before{display:none}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}div.dt-scroll-body>table.dataTable>thead>tr>th,div.dt-scroll-body>table.dataTable>thead>tr>td{overflow:hidden}:root.dark table.dataTable thead>tr>th.dt-orderable-asc:hover,:root.dark table.dataTable thead>tr>th.dt-orderable-desc:hover,:root.dark table.dataTable thead>tr>td.dt-orderable-asc:hover,:root.dark table.dataTable thead>tr>td.dt-orderable-desc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-asc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-desc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-asc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-desc:hover{outline:2px solid rgba(255, 255, 255, 0.05)}div.dt-processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-22px;text-align:center;padding:2px;z-index:10}div.dt-processing>div:last-child{position:relative;width:80px;height:15px;margin:1em auto}div.dt-processing>div:last-child>div{position:absolute;top:0;width:13px;height:13px;border-radius:50%;background:rgb(0, 136, 204);background:rgb(var(--dt-row-selected));animation-timing-function:cubic-bezier(0, 1, 1, 0)}div.dt-processing>div:last-child>div:nth-child(1){left:8px;animation:datatables-loader-1 .6s infinite}div.dt-processing>div:last-child>div:nth-child(2){left:8px;animation:datatables-loader-2 .6s infinite}div.dt-processing>div:last-child>div:nth-child(3){left:32px;animation:datatables-loader-2 .6s infinite}div.dt-processing>div:last-child>div:nth-child(4){left:56px;animation:datatables-loader-3 .6s infinite}@keyframes datatables-loader-1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes datatables-loader-3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes datatables-loader-2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable th,table.dataTable td{box-sizing:border-box}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable th.dt-empty,table.dataTable td.dt-empty{text-align:center;vertical-align:top}table.dataTable th.dt-type-numeric,table.dataTable th.dt-type-date,table.dataTable td.dt-type-numeric,table.dataTable td.dt-type-date{text-align:right}table.dataTable thead th,table.dataTable thead td,table.dataTable tfoot th,table.dataTable tfoot td{text-align:left}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.table.dataTable{clear:both;margin-top:0;margin-bottom:0;max-width:none}table.table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1){background-color:transparent}table.table.dataTable>tbody>tr{background-color:transparent}table.table.dataTable>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px rgb(0, 136, 204);box-shadow:inset 0 0 0 9999px rgb(var(--dt-row-selected));color:rgb(255, 255, 255);color:rgb(var(--dt-row-selected-text))}table.table.dataTable>tbody>tr.selected a{color:rgb(9, 10, 11);color:rgb(var(--dt-row-selected-link))}table.table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.05)}table.table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1).selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 136, 204, 0.95);box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95)}table.table.dataTable.table-hover>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.075)}table.table.dataTable.table-hover>tbody>tr.selected:hover>*{box-shadow:inset 0 0 0 9999px rgba(0, 136, 204, 0.975);box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.975)}div.dt-container div.dt-layout-row{display:flex;justify-content:space-between;align-items:center;width:100%;margin:.75em 0}div.dt-container div.dt-layout-row div.dt-layout-cell{display:flex;justify-content:space-between;align-items:center}div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start{justify-content:flex-start;margin-right:auto}div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end{justify-content:flex-end;margin-left:auto}div.dt-container div.dt-layout-row div.dt-layout-cell:empty{display:none}@media screen and (max-width: 767px){div.dt-container div.dt-layout-row:not(.dt-layout-table){display:block}div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell{display:block;text-align:center}div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell>*{margin:.5em 0}div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell.dt-layout-start{margin-right:0}div.dt-container div.dt-layout-row:not(.dt-layout-table) div.dt-layout-cell.dt-layout-end{margin-left:0}}div.dt-container div.dt-layout-start>*:not(:last-child){margin-right:1em}div.dt-container div.dt-layout-end>*:not(:first-child){margin-left:1em}div.dt-container div.dt-layout-full{width:100%}div.dt-container div.dt-layout-full>*:only-child{margin-left:auto;margin-right:auto}div.dt-container div.dt-layout-table>div{display:block !important}@media screen and (max-width: 767px){div.dt-container div.dt-layout-start>*:not(:last-child){margin-right:0}div.dt-container div.dt-layout-end>*:not(:first-child){margin-left:0}}div.dt-container div.dt-layout-row{width:auto}div.dt-container div.dt-layout-row div.dt-layout-cell{padding-left:15px;padding-right:15px}div.dt-container div.dt-length label{font-weight:normal;text-align:left;white-space:nowrap;margin-bottom:0}div.dt-container div.dt-length select{display:inline-block;margin-right:.5em;width:auto}div.dt-container div.dt-search label{font-weight:normal;white-space:nowrap;text-align:left;margin-bottom:0}div.dt-container div.dt-search input{margin-left:.5em;display:inline-block;width:auto}div.dt-container div.dt-info{white-space:nowrap}div.dt-container div.dt-paging{margin:0}div.dt-container div.dt-paging ul.pagination{margin:0;flex-wrap:wrap}div.dt-container div.dt-paging ul.pagination li{display:inline-block}div.dt-container div.dt-processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}div.dt-container div.dt-scroll-body{border-bottom:1px solid #ddd}div.dt-container div.dt-scroll-body table,div.dt-container div.dt-scroll-body tbody>tr:last-child>*{border-bottom:none}div.dt-scroll-head table.dataTable{margin-bottom:0 !important}div.dt-scroll-body>table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dt-scroll-body>table>thead .sorting:after,div.dt-scroll-body>table>thead .sorting_asc:after,div.dt-scroll-body>table>thead .sorting_desc:after{display:none}div.dt-scroll-body>table>tbody>tr:first-child>th,div.dt-scroll-body>table>tbody>tr:first-child>td{border-top:none}div.dt-scroll-foot>.dt-scroll-footInner{box-sizing:content-box}div.dt-scroll-foot>.dt-scroll-footInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dt-container div.dt-length,div.dt-container div.dt-search,div.dt-container div.dt-info,div.dt-container div.dt-paging{text-align:center}div.dt-container div.row{margin-bottom:0}div.dt-container div.row>*{margin-bottom:.75rem}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}div.dt-scroll-head table.table-bordered{border-bottom-width:0}div.table-responsive>div.dt-container>div.row{margin:0}div.table-responsive>div.dt-container>div.row>div[class^=col-]:first-child{padding-left:0}div.table-responsive>div.dt-container>div.row>div[class^=col-]:last-child{padding-right:0}
@@ -1,15 +1,7 @@
1
1
  /*! DataTables Bootstrap 3 integration
2
- * ©2011-2015 SpryMedia Ltd - datatables.net/license
2
+ * © SpryMedia Ltd - datatables.net/license
3
3
  */
4
4
 
5
- /**
6
- * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and
7
- * DataTables 1.10 or newer.
8
- *
9
- * This file sets the defaults and adds options to DataTables to style its
10
- * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
11
- * for further information.
12
- */
13
5
  (function( factory ){
14
6
  if ( typeof define === 'function' && define.amd ) {
15
7
  // AMD
@@ -19,162 +11,108 @@
19
11
  }
20
12
  else if ( typeof exports === 'object' ) {
21
13
  // CommonJS
22
- module.exports = function (root, $) {
23
- if ( ! root ) {
24
- root = window;
14
+ var jq = require('jquery');
15
+ var cjsRequires = function (root, $) {
16
+ if ( ! $.fn.dataTable ) {
17
+ require('datatables.net')(root, $);
25
18
  }
19
+ };
26
20
 
27
- if ( ! $ || ! $.fn.dataTable ) {
28
- // Require DataTables, which attaches to jQuery, including
29
- // jQuery if needed and have a $ property so we can access the
30
- // jQuery object that is used
31
- $ = require('datatables.net')(root, $).$;
32
- }
21
+ if (typeof window === 'undefined') {
22
+ module.exports = function (root, $) {
23
+ if ( ! root ) {
24
+ // CommonJS environments without a window global must pass a
25
+ // root. This will give an error otherwise
26
+ root = window;
27
+ }
33
28
 
34
- return factory( $, root, root.document );
35
- };
29
+ if ( ! $ ) {
30
+ $ = jq( root );
31
+ }
32
+
33
+ cjsRequires( root, $ );
34
+ return factory( $, root, root.document );
35
+ };
36
+ }
37
+ else {
38
+ cjsRequires( window, jq );
39
+ module.exports = factory( jq, window, window.document );
40
+ }
36
41
  }
37
42
  else {
38
43
  // Browser
39
44
  factory( jQuery, window, document );
40
45
  }
41
- }(function( $, window, document, undefined ) {
46
+ }(function( $, window, document ) {
42
47
  'use strict';
43
48
  var DataTable = $.fn.dataTable;
44
49
 
45
50
 
51
+
52
+ /**
53
+ * DataTables integration for Bootstrap 3.
54
+ *
55
+ * This file sets the defaults and adds options to DataTables to style its
56
+ * controls using Bootstrap. See https://datatables.net/manual/styling/bootstrap
57
+ * for further information.
58
+ */
59
+
46
60
  /* Set the defaults for DataTables initialisation */
47
61
  $.extend( true, DataTable.defaults, {
48
- dom:
49
- "<'row'<'col-sm-6'l><'col-sm-6'f>>" +
50
- "<'row'<'col-sm-12'tr>>" +
51
- "<'row'<'col-sm-5'i><'col-sm-7'p>>",
52
62
  renderer: 'bootstrap'
53
63
  } );
54
64
 
55
65
 
56
66
  /* Default class modification */
57
- $.extend( DataTable.ext.classes, {
58
- sWrapper: "dataTables_wrapper form-inline dt-bootstrap",
59
- sFilterInput: "form-control input-sm",
60
- sLengthSelect: "form-control input-sm",
61
- sProcessing: "dataTables_processing panel panel-default"
67
+ $.extend( true, DataTable.ext.classes, {
68
+ container: "dt-container form-inline dt-bootstrap",
69
+ search: {
70
+ input: "form-control input-sm"
71
+ },
72
+ length: {
73
+ select: "form-control input-sm"
74
+ },
75
+ processing: {
76
+ container: "dt-processing panel panel-default"
77
+ },
78
+ layout: {
79
+ row: 'row dt-layout-row',
80
+ cell: 'dt-layout-cell',
81
+ tableCell: 'col-12',
82
+ start: 'dt-layout-start col-sm-6',
83
+ end: 'dt-layout-end col-sm-6',
84
+ full: 'dt-layout-full col-sm-12'
85
+ }
62
86
  } );
63
87
 
64
-
65
88
  /* Bootstrap paging button renderer */
66
- DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
67
- var api = new DataTable.Api( settings );
68
- var classes = settings.oClasses;
69
- var lang = settings.oLanguage.oPaginate;
70
- var aria = settings.oLanguage.oAria.paginate || {};
71
- var btnDisplay, btnClass, counter=0;
72
-
73
- var attach = function( container, buttons ) {
74
- var i, ien, node, button;
75
- var clickHandler = function ( e ) {
76
- e.preventDefault();
77
- if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
78
- api.page( e.data.action ).draw( 'page' );
79
- }
80
- };
81
-
82
- for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
83
- button = buttons[i];
84
-
85
- if ( $.isArray( button ) ) {
86
- attach( container, button );
87
- }
88
- else {
89
- btnDisplay = '';
90
- btnClass = '';
91
-
92
- switch ( button ) {
93
- case 'ellipsis':
94
- btnDisplay = '&#x2026;';
95
- btnClass = 'disabled';
96
- break;
97
-
98
- case 'first':
99
- btnDisplay = lang.sFirst;
100
- btnClass = button + (page > 0 ?
101
- '' : ' disabled');
102
- break;
103
-
104
- case 'previous':
105
- btnDisplay = lang.sPrevious;
106
- btnClass = button + (page > 0 ?
107
- '' : ' disabled');
108
- break;
109
-
110
- case 'next':
111
- btnDisplay = lang.sNext;
112
- btnClass = button + (page < pages-1 ?
113
- '' : ' disabled');
114
- break;
115
-
116
- case 'last':
117
- btnDisplay = lang.sLast;
118
- btnClass = button + (page < pages-1 ?
119
- '' : ' disabled');
120
- break;
121
-
122
- default:
123
- btnDisplay = button + 1;
124
- btnClass = page === button ?
125
- 'active' : '';
126
- break;
127
- }
89
+ DataTable.ext.renderer.pagingButton.bootstrap = function (settings, buttonType, content, active, disabled) {
90
+ var btnClasses = ['dt-paging-button', 'page-item'];
128
91
 
129
- if ( btnDisplay ) {
130
- node = $('<li>', {
131
- 'class': classes.sPageButton+' '+btnClass,
132
- 'id': idx === 0 && typeof button === 'string' ?
133
- settings.sTableId +'_'+ button :
134
- null
135
- } )
136
- .append( $('<a>', {
137
- 'href': '#',
138
- 'aria-controls': settings.sTableId,
139
- 'aria-label': aria[ button ],
140
- 'data-dt-idx': counter,
141
- 'tabindex': settings.iTabIndex
142
- } )
143
- .html( btnDisplay )
144
- )
145
- .appendTo( container );
146
-
147
- settings.oApi._fnBindAction(
148
- node, {action: button}, clickHandler
149
- );
150
-
151
- counter++;
152
- }
153
- }
154
- }
155
- };
156
-
157
- // IE9 throws an 'unknown error' if document.activeElement is used
158
- // inside an iframe or frame.
159
- var activeEl;
92
+ if (active) {
93
+ btnClasses.push('active');
94
+ }
160
95
 
161
- try {
162
- // Because this approach is destroying and recreating the paging
163
- // elements, focus is lost on the select button which is bad for
164
- // accessibility. So we want to restore focus once the draw has
165
- // completed
166
- activeEl = $(host).find(document.activeElement).data('dt-idx');
96
+ if (disabled) {
97
+ btnClasses.push('disabled')
167
98
  }
168
- catch (e) {}
169
99
 
170
- attach(
171
- $(host).empty().html('<ul class="pagination"/>').children('ul'),
172
- buttons
173
- );
100
+ var li = $('<li>').addClass(btnClasses.join(' '));
101
+ var a = $('<a>', {
102
+ 'href': disabled ? null : '#',
103
+ 'class': 'page-link'
104
+ })
105
+ .html(content)
106
+ .appendTo(li);
107
+
108
+ return {
109
+ display: li,
110
+ clicker: a
111
+ };
112
+ };
174
113
 
175
- if ( activeEl !== undefined ) {
176
- $(host).find( '[data-dt-idx='+activeEl+']' ).focus();
177
- }
114
+ DataTable.ext.renderer.pagingContainer.bootstrap = function (settings, buttonEls) {
115
+ return $('<ul/>').addClass('pagination').append(buttonEls);
178
116
  };
179
117
 
180
118
 
@@ -0,0 +1,4 @@
1
+ /*! DataTables Bootstrap 3 integration
2
+ * © SpryMedia Ltd - datatables.net/license
3
+ */
4
+ !function(n){var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(t,e){return t=t||window,e=e||o(t),a(t,e),n(e,0,t.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(d,t,e){"use strict";var n=d.fn.dataTable;return d.extend(!0,n.defaults,{renderer:"bootstrap"}),d.extend(!0,n.ext.classes,{container:"dt-container form-inline dt-bootstrap",search:{input:"form-control input-sm"},length:{select:"form-control input-sm"},processing:{container:"dt-processing panel panel-default"},layout:{row:"row dt-layout-row",cell:"dt-layout-cell",tableCell:"col-12",start:"dt-layout-start col-sm-6",end:"dt-layout-end col-sm-6",full:"dt-layout-full col-sm-12"}}),n.ext.renderer.pagingButton.bootstrap=function(t,e,n,o,a){var r=["dt-paging-button","page-item"],o=(o&&r.push("active"),a&&r.push("disabled"),d("<li>").addClass(r.join(" ")));return{display:o,clicker:d("<a>",{href:a?null:"#",class:"page-link"}).html(n).appendTo(o)}},n.ext.renderer.pagingContainer.bootstrap=function(t,e){return d("<ul/>").addClass("pagination").append(e)},n});
@@ -0,0 +1,4 @@
1
+ /*! DataTables Bootstrap 3 integration
2
+ * © SpryMedia Ltd - datatables.net/license
3
+ */
4
+ import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$.extend(!0,DataTable.defaults,{renderer:"bootstrap"}),$.extend(!0,DataTable.ext.classes,{container:"dt-container form-inline dt-bootstrap",search:{input:"form-control input-sm"},length:{select:"form-control input-sm"},processing:{container:"dt-processing panel panel-default"},layout:{row:"row dt-layout-row",cell:"dt-layout-cell",tableCell:"col-12",start:"dt-layout-start col-sm-6",end:"dt-layout-end col-sm-6",full:"dt-layout-full col-sm-12"}}),DataTable.ext.renderer.pagingButton.bootstrap=function(t,a,e,l,n){var o=["dt-paging-button","page-item"],l=(l&&o.push("active"),n&&o.push("disabled"),$("<li>").addClass(o.join(" ")));return{display:l,clicker:$("<a>",{href:n?null:"#",class:"page-link"}).html(e).appendTo(l)}},DataTable.ext.renderer.pagingContainer.bootstrap=function(t,a){return $("<ul/>").addClass("pagination").append(a)};export default DataTable;
@@ -0,0 +1,79 @@
1
+ /*! DataTables Bootstrap 3 integration
2
+ * © SpryMedia Ltd - datatables.net/license
3
+ */
4
+
5
+ import jQuery from 'jquery';
6
+ import DataTable from 'datatables.net';
7
+
8
+ // Allow reassignment of the $ variable
9
+ let $ = jQuery;
10
+
11
+
12
+ /**
13
+ * DataTables integration for Bootstrap 3.
14
+ *
15
+ * This file sets the defaults and adds options to DataTables to style its
16
+ * controls using Bootstrap. See https://datatables.net/manual/styling/bootstrap
17
+ * for further information.
18
+ */
19
+
20
+ /* Set the defaults for DataTables initialisation */
21
+ $.extend( true, DataTable.defaults, {
22
+ renderer: 'bootstrap'
23
+ } );
24
+
25
+
26
+ /* Default class modification */
27
+ $.extend( true, DataTable.ext.classes, {
28
+ container: "dt-container form-inline dt-bootstrap",
29
+ search: {
30
+ input: "form-control input-sm"
31
+ },
32
+ length: {
33
+ select: "form-control input-sm"
34
+ },
35
+ processing: {
36
+ container: "dt-processing panel panel-default"
37
+ },
38
+ layout: {
39
+ row: 'row dt-layout-row',
40
+ cell: 'dt-layout-cell',
41
+ tableCell: 'col-12',
42
+ start: 'dt-layout-start col-sm-6',
43
+ end: 'dt-layout-end col-sm-6',
44
+ full: 'dt-layout-full col-sm-12'
45
+ }
46
+ } );
47
+
48
+ /* Bootstrap paging button renderer */
49
+ DataTable.ext.renderer.pagingButton.bootstrap = function (settings, buttonType, content, active, disabled) {
50
+ var btnClasses = ['dt-paging-button', 'page-item'];
51
+
52
+ if (active) {
53
+ btnClasses.push('active');
54
+ }
55
+
56
+ if (disabled) {
57
+ btnClasses.push('disabled')
58
+ }
59
+
60
+ var li = $('<li>').addClass(btnClasses.join(' '));
61
+ var a = $('<a>', {
62
+ 'href': disabled ? null : '#',
63
+ 'class': 'page-link'
64
+ })
65
+ .html(content)
66
+ .appendTo(li);
67
+
68
+ return {
69
+ display: li,
70
+ clicker: a
71
+ };
72
+ };
73
+
74
+ DataTable.ext.renderer.pagingContainer.bootstrap = function (settings, buttonEls) {
75
+ return $('<ul/>').addClass('pagination').append(buttonEls);
76
+ };
77
+
78
+
79
+ export default DataTable;
package/package.json CHANGED
@@ -1,32 +1,46 @@
1
1
  {
2
2
  "name": "datatables.net-bs",
3
- "version": "2.1.1",
4
- "description": "DataTables for jQuery with styling for [Bootstrap](http://getbootstrap.com/)",
5
- "files": [
6
- "js/dataTables.bootstrap.js",
7
- "css/dataTables.bootstrap.css"
8
- ],
3
+ "description": "DataTables for jQuery with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/)",
9
4
  "main": "js/dataTables.bootstrap.js",
5
+ "module": "js/dataTables.bootstrap.mjs",
10
6
  "style": "css/dataTables.bootstrap.css",
7
+ "types": "./types/dataTables.bootstrap.d.ts",
8
+ "version": "2.1.3",
9
+ "files": [
10
+ "css/**/*.css",
11
+ "js/**/*.js",
12
+ "js/**/*.mjs",
13
+ "types/**/*.d.ts"
14
+ ],
11
15
  "keywords": [
12
- "filter",
13
- "sort",
14
- "DataTables",
16
+ "Bootstrap",
17
+ "Datatables",
15
18
  "jQuery",
16
19
  "table",
17
- "Bootstrap"
20
+ "filter",
21
+ "sort"
22
+ ],
23
+ "dependencies": {
24
+ "datatables.net": "2.1.3",
25
+ "jquery": ">=1.7"
26
+ },
27
+ "moduleType": [
28
+ "globals",
29
+ "amd",
30
+ "node"
31
+ ],
32
+ "ignore": [
33
+ "composer.json",
34
+ "datatables.json",
35
+ "package.json"
18
36
  ],
19
- "homepage": "https://datatables.net",
20
- "bugs": "https://datatables.net/forums",
21
- "license": "MIT",
22
37
  "author": {
23
38
  "name": "SpryMedia Ltd",
24
39
  "url": "http://datatables.net"
25
40
  },
26
- "dependencies": {
27
- "jquery": ">=1.7",
28
- "datatables.net": ">=1.10.9"
29
- },
41
+ "homepage": "https://datatables.net",
42
+ "bugs": "https://datatables.net/forums",
43
+ "license": "MIT",
30
44
  "repository": {
31
45
  "type": "git",
32
46
  "url": "https://github.com/DataTables/Dist-DataTables-Bootstrap.git"
@@ -0,0 +1,5 @@
1
+
2
+ import DataTable from 'datatables.net';
3
+
4
+ export default DataTable;
5
+ export * from 'datatables.net';