datatables.net-bm 1.13.1 → 1.13.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.
@@ -1,4 +1,10 @@
1
1
  @charset "UTF-8";
2
+ :root {
3
+ --dt-row-selected: 0, 209, 178;
4
+ --dt-row-selected-text: 255, 255, 255;
5
+ --dt-row-selected-link: 9, 10, 11;
6
+ }
7
+
2
8
  table.dataTable td.dt-control {
3
9
  text-align: center;
4
10
  cursor: pointer;
@@ -86,9 +92,9 @@ table.dataTable thead > tr > td:active {
86
92
  outline: none;
87
93
  }
88
94
 
89
- div.dataTables_scrollBody table.dataTable thead > tr > th:before, div.dataTables_scrollBody table.dataTable thead > tr > th:after,
90
- div.dataTables_scrollBody table.dataTable thead > tr > td:before,
91
- div.dataTables_scrollBody table.dataTable thead > tr > td:after {
95
+ div.dataTables_scrollBody > table.dataTable > thead > tr > th:before, div.dataTables_scrollBody > table.dataTable > thead > tr > th:after,
96
+ div.dataTables_scrollBody > table.dataTable > thead > tr > td:before,
97
+ div.dataTables_scrollBody > table.dataTable > thead > tr > td:after {
92
98
  display: none;
93
99
  }
94
100
 
@@ -114,7 +120,8 @@ div.dataTables_processing > div:last-child > div {
114
120
  width: 13px;
115
121
  height: 13px;
116
122
  border-radius: 50%;
117
- background: rgba(0, 209, 178, 0.9);
123
+ background: #00d1b2;
124
+ background: rgb(var(--dt-row-selected));
118
125
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
119
126
  }
120
127
  div.dataTables_processing > div:last-child > div:nth-child(1) {
@@ -270,23 +277,28 @@ table.dataTable > tbody > tr {
270
277
  background-color: transparent;
271
278
  }
272
279
  table.dataTable > tbody > tr.selected > * {
273
- box-shadow: inset 0 0 0 9999px rgba(0, 209, 178, 0.9);
280
+ box-shadow: inset 0 0 0 9999px #00d1b2;
281
+ box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
274
282
  color: white;
283
+ color: rgb(var(--dt-row-selected-text));
275
284
  }
276
285
  table.dataTable > tbody > tr.selected a {
277
286
  color: #090a0b;
287
+ color: rgb(var(--dt-row-selected-link));
278
288
  }
279
289
  table.dataTable.is-striped > tbody > tr.odd > * {
280
290
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019);
281
291
  }
282
292
  table.dataTable.is-striped > tbody > tr.odd.selected > * {
283
293
  box-shadow: inset 0 0 0 9999px rgba(0, 209, 178, 0.919);
294
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.919);
284
295
  }
285
296
  table.dataTable.is-hoverable > tbody > tr:hover > * {
286
297
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.39);
287
298
  }
288
299
  table.dataTable.is-hoverable > tbody > tr.selected:hover > * {
289
300
  box-shadow: inset 0 0 0 9999px #00d1b2;
301
+ box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 1.29);
290
302
  }
291
303
 
292
304
  div.dataTables_wrapper div.dataTables_length label {
@@ -1,3 +1,3 @@
1
- table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:before{height:1em;width:1em;margin-top:-9px;display:inline-block;color:white;border:.15em solid white;border-radius:1em;box-shadow:0 0 .2em #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:"Courier New",Courier,monospace;line-height:1em;content:"+";background-color:#31b131}table.dataTable tr.dt-hasChild td.dt-control:before{content:"-";background-color:#d33333}table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting_asc_disabled,table.dataTable thead>tr>th.sorting_desc_disabled,table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting_asc_disabled,table.dataTable thead>tr>td.sorting_desc_disabled{cursor:pointer;position:relative;padding-right:26px}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after{position:absolute;display:block;opacity:.125;right:10px;line-height:9px;font-size:.8em}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:before{bottom:50%;content:"▲"}table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:after{top:50%;content:"▼"}table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:after{opacity:.6}table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting_asc_disabled:before{display:none}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}div.dataTables_scrollBody table.dataTable thead>tr>th:before,div.dataTables_scrollBody table.dataTable thead>tr>th:after,div.dataTables_scrollBody table.dataTable thead>tr>td:before,div.dataTables_scrollBody table.dataTable thead>tr>td:after{display:none}div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:2px}div.dataTables_processing>div:last-child{position:relative;width:80px;height:15px;margin:1em auto}div.dataTables_processing>div:last-child>div{position:absolute;top:0;width:13px;height:13px;border-radius:50%;background:rgba(0, 209, 178, 0.9);animation-timing-function:cubic-bezier(0, 1, 1, 0)}div.dataTables_processing>div:last-child>div:nth-child(1){left:8px;animation:datatables-loader-1 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(2){left:8px;animation:datatables-loader-2 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(3){left:32px;animation:datatables-loader-2 .6s infinite}div.dataTables_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.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{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 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}/*! DataTables Bulma integration
1
+ :root{--dt-row-selected: 0, 209, 178;--dt-row-selected-text: 255, 255, 255;--dt-row-selected-link: 9, 10, 11}table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:before{height:1em;width:1em;margin-top:-9px;display:inline-block;color:white;border:.15em solid white;border-radius:1em;box-shadow:0 0 .2em #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:"Courier New",Courier,monospace;line-height:1em;content:"+";background-color:#31b131}table.dataTable tr.dt-hasChild td.dt-control:before{content:"-";background-color:#d33333}table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting_asc_disabled,table.dataTable thead>tr>th.sorting_desc_disabled,table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting_asc_disabled,table.dataTable thead>tr>td.sorting_desc_disabled{cursor:pointer;position:relative;padding-right:26px}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after{position:absolute;display:block;opacity:.125;right:10px;line-height:9px;font-size:.8em}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:before{bottom:50%;content:"▲"}table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:after{top:50%;content:"▼"}table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:after{opacity:.6}table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting_asc_disabled:before{display:none}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}div.dataTables_scrollBody>table.dataTable>thead>tr>th:before,div.dataTables_scrollBody>table.dataTable>thead>tr>th:after,div.dataTables_scrollBody>table.dataTable>thead>tr>td:before,div.dataTables_scrollBody>table.dataTable>thead>tr>td:after{display:none}div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:2px}div.dataTables_processing>div:last-child{position:relative;width:80px;height:15px;margin:1em auto}div.dataTables_processing>div:last-child>div{position:absolute;top:0;width:13px;height:13px;border-radius:50%;background:#00d1b2;background:rgb(var(--dt-row-selected));animation-timing-function:cubic-bezier(0, 1, 1, 0)}div.dataTables_processing>div:last-child>div:nth-child(1){left:8px;animation:datatables-loader-1 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(2){left:8px;animation:datatables-loader-2 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(3){left:32px;animation:datatables-loader-2 .6s infinite}div.dataTables_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.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{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 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}/*! DataTables Bulma integration
2
2
  * ©2020 SpryMedia Ltd - datatables.net/license
3
- */table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.table.is-striped>tbody>tr:nth-child(2n){background-color:transparent}table.dataTable>tbody>tr{background-color:transparent}table.dataTable>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 209, 178, 0.9);color:white}table.dataTable>tbody>tr.selected a{color:#090a0b}table.dataTable.is-striped>tbody>tr.odd>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.019)}table.dataTable.is-striped>tbody>tr.odd.selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 209, 178, 0.919)}table.dataTable.is-hoverable>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.39)}table.dataTable.is-hoverable>tbody>tr.selected:hover>*{box-shadow:inset 0 0 0 9999px #00d1b2}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length div{vertical-align:middle}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block;vertical-align:middle}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;width:auto;vertical-align:middle}div.dataTables_wrapper div.dataTables_info{padding-top:.5em}div.dataTables_wrapper div.dataTables_paginate ul{justify-content:flex-end;list-style:none;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}
3
+ */table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.table.is-striped>tbody>tr:nth-child(2n){background-color:transparent}table.dataTable>tbody>tr{background-color:transparent}table.dataTable>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px #00d1b2;box-shadow:inset 0 0 0 9999px rgb(var(--dt-row-selected));color:white;color:rgb(var(--dt-row-selected-text))}table.dataTable>tbody>tr.selected a{color:#090a0b;color:rgb(var(--dt-row-selected-link))}table.dataTable.is-striped>tbody>tr.odd>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.019)}table.dataTable.is-striped>tbody>tr.odd.selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 209, 178, 0.919);box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.919)}table.dataTable.is-hoverable>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.39)}table.dataTable.is-hoverable>tbody>tr.selected:hover>*{box-shadow:inset 0 0 0 9999px #00d1b2;box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 1.29)}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length div{vertical-align:middle}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block;vertical-align:middle}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;width:auto;vertical-align:middle}div.dataTables_wrapper div.dataTables_info{padding-top:.5em}div.dataTables_wrapper div.dataTables_paginate ul{justify-content:flex-end;list-style:none;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}
@@ -28,7 +28,6 @@
28
28
  require('datatables.net')(root, $);
29
29
  }
30
30
 
31
-
32
31
  return factory( $, root, root.document );
33
32
  };
34
33
  }
@@ -140,9 +139,12 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
140
139
  null
141
140
  } )
142
141
  .append( $('<' + tag + '>', {
143
- 'href': '#',
142
+ 'href': disabled ? null : '#',
144
143
  'aria-controls': settings.sTableId,
144
+ 'aria-disabled': disabled ? 'true' : null,
145
145
  'aria-label': aria[ button ],
146
+ 'aria-role': 'link',
147
+ 'aria-current': btnClass === 'is-current' ? 'page' : null,
146
148
  'data-dt-idx': button,
147
149
  'tabindex': settings.iTabIndex,
148
150
  'class': 'pagination-link ' + btnClass,
@@ -1,4 +1,4 @@
1
1
  /*! DataTables Bulma integration
2
2
  * ©2020 SpryMedia Ltd - datatables.net/license
3
3
  */
4
- !function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,a){return e=e||window,(a=a||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net")(e,a),t(a,0,e.document)}:t(jQuery,window,document)}(function(v,e,i,s){"use strict";var r=v.fn.dataTable;return v.extend(!0,r.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>",renderer:"bulma"}),v.extend(r.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"}),r.ext.renderer.pageButton.bulma=function(d,e,c,a,u,f){function p(e,a){for(var t,n,i,s,r=function(e){e.preventDefault(),v(e.currentTarget.firstChild).attr("disabled")||m.page()==e.data.action||m.page(e.data.action).draw("page")},l=0,o=a.length;l<o;l++)if(n=a[l],Array.isArray(n))p(e,n);else{switch(g=b="",s=!(i="a"),n){case"ellipsis":b="&#x2026;",g="pagination-link",s=!0,i="span";break;case"first":b=w.sFirst,g=n,s=u<=0;break;case"previous":b=w.sPrevious,g=n,s=u<=0;break;case"next":b=w.sNext,g=n,s=f-1<=u;break;case"last":b=w.sLast,g=n,s=f-1<=u;break;default:b=n+1,g=u===n?"is-current":""}b&&(t=v("<li>",{id:0===c&&"string"==typeof n?d.sTableId+"_"+n:null}).append(v("<"+i+">",{href:"#","aria-controls":d.sTableId,"aria-label":x[n],"data-dt-idx":n,tabindex:d.iTabIndex,class:"pagination-link "+g,disabled:s}).html(b)).appendTo(e),d.oApi._fnBindAction(t,{action:n},r))}}var b,g,t,m=new r.Api(d),w=(d.oClasses,d.oLanguage.oPaginate),x=d.oLanguage.oAria.paginate||{};try{t=v(e).find(i.activeElement).data("dt-idx")}catch(e){}var n=v('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');v(e).empty().append(n),p(n.find("ul"),a),t!==s&&v(e).find("[data-dt-idx="+t+"]").trigger("focus")},v(i).on("init.dt",function(e,a){"dt"===e.namespace&&(e=new v.fn.dataTable.Api(a),v("div.dataTables_length select",e.table().container()).wrap('<div class="select">'))}),r});
4
+ !function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return t(a,window,document)}):"object"==typeof exports?module.exports=function(a,e){return a=a||window,(e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(a))).fn.dataTable||require("datatables.net")(a,e),t(e,0,a.document)}:t(jQuery,window,document)}(function(v,a,i,r){"use strict";var s=v.fn.dataTable;return v.extend(!0,s.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>",renderer:"bulma"}),v.extend(s.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"}),s.ext.renderer.pageButton.bulma=function(d,a,u,e,c,p){function f(a,e){for(var t,n,i,r,s=function(a){a.preventDefault(),v(a.currentTarget.firstChild).attr("disabled")||m.page()==a.data.action||m.page(a.data.action).draw("page")},l=0,o=e.length;l<o;l++)if(n=e[l],Array.isArray(n))f(a,n);else{switch(g=b="",r=!(i="a"),n){case"ellipsis":b="&#x2026;",g="pagination-link",r=!0,i="span";break;case"first":b=w.sFirst,g=n,r=c<=0;break;case"previous":b=w.sPrevious,g=n,r=c<=0;break;case"next":b=w.sNext,g=n,r=p-1<=c;break;case"last":b=w.sLast,g=n,r=p-1<=c;break;default:b=n+1,g=c===n?"is-current":""}b&&(t=v("<li>",{id:0===u&&"string"==typeof n?d.sTableId+"_"+n:null}).append(v("<"+i+">",{href:r?null:"#","aria-controls":d.sTableId,"aria-disabled":r?"true":null,"aria-label":x[n],"aria-role":"link","aria-current":"is-current"===g?"page":null,"data-dt-idx":n,tabindex:d.iTabIndex,class:"pagination-link "+g,disabled:r}).html(b)).appendTo(a),d.oApi._fnBindAction(t,{action:n},s))}}var b,g,t,m=new s.Api(d),w=(d.oClasses,d.oLanguage.oPaginate),x=d.oLanguage.oAria.paginate||{};try{t=v(a).find(i.activeElement).data("dt-idx")}catch(a){}var n=v('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');v(a).empty().append(n),f(n.find("ul"),e),t!==r&&v(a).find("[data-dt-idx="+t+"]").trigger("focus")},v(i).on("init.dt",function(a,e){"dt"===a.namespace&&(a=new v.fn.dataTable.Api(e),v("div.dataTables_length select",a.table().container()).wrap('<div class="select">'))}),s});
@@ -1,4 +1,4 @@
1
1
  /*! DataTables Bulma integration
2
2
  * ©2020 SpryMedia Ltd - datatables.net/license
3
3
  */
4
- import $ from"jquery";import DataTable from"datatables.net";$.extend(!0,DataTable.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>",renderer:"bulma"}),$.extend(DataTable.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"}),DataTable.ext.renderer.pageButton.bulma=function(d,a,c,e,p,u){function f(a,e){function t(a){a.preventDefault(),$(a.currentTarget.firstChild).attr("disabled")||g.page()==a.data.action||g.page(a.data.action).draw("page")}for(var n,i,l,s,r=0,o=e.length;r<o;r++)if(i=e[r],Array.isArray(i))f(a,i);else{switch(m=b="",s=!(l="a"),i){case"ellipsis":b="&#x2026;",m="pagination-link",s=!0,l="span";break;case"first":b=T.sFirst,m=i,s=p<=0;break;case"previous":b=T.sPrevious,m=i,s=p<=0;break;case"next":b=T.sNext,m=i,s=u-1<=p;break;case"last":b=T.sLast,m=i,s=u-1<=p;break;default:b=i+1,m=p===i?"is-current":""}b&&(n=$("<li>",{id:0===c&&"string"==typeof i?d.sTableId+"_"+i:null}).append($("<"+l+">",{href:"#","aria-controls":d.sTableId,"aria-label":v[i],"data-dt-idx":i,tabindex:d.iTabIndex,class:"pagination-link "+m,disabled:s}).html(b)).appendTo(a),d.oApi._fnBindAction(n,{action:i},t))}}var b,m,t,g=new DataTable.Api(d),T=(d.oClasses,d.oLanguage.oPaginate),v=d.oLanguage.oAria.paginate||{};try{t=$(a).find(document.activeElement).data("dt-idx")}catch(a){}var n=$('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');$(a).empty().append(n),f(n.find("ul"),e),void 0!==t&&$(a).find("[data-dt-idx="+t+"]").trigger("focus")},$(document).on("init.dt",function(a,e){"dt"===a.namespace&&(a=new $.fn.dataTable.Api(e),$("div.dataTables_length select",a.table().container()).wrap('<div class="select">'))});export default DataTable;
4
+ import $ from"jquery";import DataTable from"datatables.net";$.extend(!0,DataTable.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>",renderer:"bulma"}),$.extend(DataTable.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"}),DataTable.ext.renderer.pageButton.bulma=function(d,a,c,e,u,p){function f(a,e){function t(a){a.preventDefault(),$(a.currentTarget.firstChild).attr("disabled")||m.page()==a.data.action||m.page(a.data.action).draw("page")}for(var n,i,l,s,r=0,o=e.length;r<o;r++)if(i=e[r],Array.isArray(i))f(a,i);else{switch(g=b="",s=!(l="a"),i){case"ellipsis":b="&#x2026;",g="pagination-link",s=!0,l="span";break;case"first":b=T.sFirst,g=i,s=u<=0;break;case"previous":b=T.sPrevious,g=i,s=u<=0;break;case"next":b=T.sNext,g=i,s=p-1<=u;break;case"last":b=T.sLast,g=i,s=p-1<=u;break;default:b=i+1,g=u===i?"is-current":""}b&&(n=$("<li>",{id:0===c&&"string"==typeof i?d.sTableId+"_"+i:null}).append($("<"+l+">",{href:s?null:"#","aria-controls":d.sTableId,"aria-disabled":s?"true":null,"aria-label":v[i],"aria-role":"link","aria-current":"is-current"===g?"page":null,"data-dt-idx":i,tabindex:d.iTabIndex,class:"pagination-link "+g,disabled:s}).html(b)).appendTo(a),d.oApi._fnBindAction(n,{action:i},t))}}var b,g,t,m=new DataTable.Api(d),T=(d.oClasses,d.oLanguage.oPaginate),v=d.oLanguage.oAria.paginate||{};try{t=$(a).find(document.activeElement).data("dt-idx")}catch(a){}var n=$('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');$(a).empty().append(n),f(n.find("ul"),e),void 0!==t&&$(a).find("[data-dt-idx="+t+"]").trigger("focus")},$(document).on("init.dt",function(a,e){"dt"===a.namespace&&(a=new $.fn.dataTable.Api(e),$("div.dataTables_length select",a.table().container()).wrap('<div class="select">'))});export default DataTable;
@@ -105,9 +105,12 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
105
105
  null
106
106
  } )
107
107
  .append( $('<' + tag + '>', {
108
- 'href': '#',
108
+ 'href': disabled ? null : '#',
109
109
  'aria-controls': settings.sTableId,
110
+ 'aria-disabled': disabled ? 'true' : null,
110
111
  'aria-label': aria[ button ],
112
+ 'aria-role': 'link',
113
+ 'aria-current': btnClass === 'is-current' ? 'page' : null,
111
114
  'data-dt-idx': button,
112
115
  'tabindex': settings.iTabIndex,
113
116
  'class': 'pagination-link ' + btnClass,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "module": "js/dataTables.bulma.mjs",
6
6
  "style": "css/dataTables.bulma.css",
7
7
  "types": "./types/types.d.ts",
8
- "version": "1.13.1",
8
+ "version": "1.13.3",
9
9
  "files": [
10
10
  "css/**/*.css",
11
11
  "js/**/*.js",
package/types/types.d.ts CHANGED
@@ -69,7 +69,7 @@ export type CellIdxWithVisible = {
69
69
  /**
70
70
  * DataTables class
71
71
  */
72
- declare interface DataTables<T> extends ApiStatic {
72
+ declare interface DataTables<T> extends DataTablesStatic {
73
73
  /**
74
74
  * Create a new DataTable
75
75
  * @param selector Selector to pick one or more `<table>` elements
@@ -521,12 +521,16 @@ export interface ConfigColumns {
521
521
  width?: string;
522
522
  }
523
523
 
524
- export interface ConfigColumnDefs extends ConfigColumns {
524
+ export type ConfigColumnDefs = ConfigColumnDefsMultiple | ConfigColumnDefsSingle;
525
+
526
+ export interface ConfigColumnDefsMultiple extends ConfigColumns {
525
527
  /**
526
528
  * Target column(s). Either this or `target` must be specified.
527
529
  */
528
- targets?: string | number | Array<(number | string)>;
530
+ targets: string | number | Array<(number | string)>;
531
+ }
529
532
 
533
+ export interface ConfigColumnDefsSingle extends ConfigColumns {
530
534
  /**
531
535
  * Single column target. Either this or `targets` must be specified. Since: 1.12
532
536
  */
@@ -569,7 +573,10 @@ export interface ConfigSearch {
569
573
  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
570
574
  * API
571
575
  */
576
+
572
577
  export interface Api<T> {
578
+ new(context: any, data: any[]);
579
+
573
580
  /**
574
581
  * API should be array-like
575
582
  */
@@ -951,7 +958,7 @@ export interface Api<T> {
951
958
  * @param tableSelector Table selector.
952
959
  * @returns DataTables API instance with selected table in its context.
953
960
  */
954
- table(tableSelector: any): ApiTableMethods<T> | Api<Array<any>>;
961
+ table(tableSelector?: any): ApiTableMethods<T>;
955
962
 
956
963
  /**
957
964
  * Select tables based on the given selector
@@ -959,7 +966,7 @@ export interface Api<T> {
959
966
  * @param tableSelector Table selector.
960
967
  * @returns DataTables API instance with all tables in the current context.
961
968
  */
962
- tables(tableSelector?: any): ApiTablesMethods<T> | Api<Array<any>>;
969
+ tables(tableSelector?: any): ApiTablesMethods<T>;
963
970
 
964
971
  /**
965
972
  * Convert the API instance to a jQuery object, with the objects from the instance's result set in the jQuery result set.
@@ -2030,7 +2037,7 @@ export interface ApiTablesMethods<T> extends Api<T> {
2030
2037
 
2031
2038
 
2032
2039
 
2033
- export interface ApiStatic {
2040
+ export interface DataTablesStatic {
2034
2041
  /**
2035
2042
  * Check if a table node is a DataTable already or not.
2036
2043
  *
@@ -2047,7 +2054,7 @@ export interface ApiStatic {
2047
2054
  * The options defined here can be used with the `columns.render` initialisation
2048
2055
  * option to provide a display renderer.
2049
2056
  */
2050
- render: ApiStaticRender;
2057
+ render: DataTablesStaticRender;
2051
2058
 
2052
2059
  /**
2053
2060
  * Get all DataTable tables that have been initialised - optionally you can select to get only currently visible tables and / or retrieve the tables as API instances.
@@ -2081,14 +2088,14 @@ export interface ApiStatic {
2081
2088
  /**
2082
2089
  * Utils
2083
2090
  */
2084
- util: ApiStaticUtil;
2091
+ util: DataTablesStaticUtil;
2085
2092
 
2086
2093
  /**
2087
2094
  * Get DataTable API instance
2088
2095
  *
2089
2096
  * @param table Selector string for table
2090
2097
  */
2091
- Api: new (selector: string | Node | Node[] | JQuery) => Api<any>;
2098
+ Api: ApiStatic;
2092
2099
 
2093
2100
  /**
2094
2101
  * Default Settings
@@ -2098,7 +2105,18 @@ export interface ApiStatic {
2098
2105
  /**
2099
2106
  * Default Settings
2100
2107
  */
2101
- ext: ApiStaticExt;
2108
+ ext: DataTablesStaticExt;
2109
+ }
2110
+
2111
+ export interface ApiStatic {
2112
+ /**
2113
+ * Create a new API instance to an existing DataTable. Note that this
2114
+ * does not create a new DataTable.
2115
+ */
2116
+ new (selector: string | Node | Node[] | JQuery): Api<any>;
2117
+
2118
+ register<T=any>(name: string, fn: Function): T;
2119
+ registerPlural<T=any>(name: string, fn: Function): T;
2102
2120
  }
2103
2121
 
2104
2122
  export interface OrderFixed {
@@ -2117,7 +2135,7 @@ export interface OrderFixed {
2117
2135
  post?: any[];
2118
2136
  }
2119
2137
 
2120
- export interface ApiStaticRender {
2138
+ export interface DataTablesStaticRender {
2121
2139
  /**
2122
2140
  * Format an ISO8061 date in auto locale detected format
2123
2141
  */
@@ -2206,7 +2224,7 @@ export interface ApiStaticRender {
2206
2224
  time(from?: string, to?: string, locale?: string, def?: string): ObjectColumnRender;
2207
2225
  }
2208
2226
 
2209
- export interface ApiStaticUtil {
2227
+ export interface DataTablesStaticUtil {
2210
2228
  /**
2211
2229
  * Escape special characters in a regular expression string. Since: 1.10.4
2212
2230
  *
@@ -2314,8 +2332,9 @@ interface CellMetaSettings {
2314
2332
  settings: InternalSettings;
2315
2333
  }
2316
2334
 
2317
- export interface ApiStaticExt {
2335
+ export interface DataTablesStaticExt {
2318
2336
  builder: string;
2337
+ buttons: {[key: string]: object};
2319
2338
  classes: ExtClassesSettings;
2320
2339
  errMode: string;
2321
2340
  feature: any[];
@@ -2324,6 +2343,7 @@ export interface ApiStaticExt {
2324
2343
  legacy: object;
2325
2344
  oApi: object;
2326
2345
  order: object;
2346
+ oSort: object;
2327
2347
  pager: object;
2328
2348
  renderer: object;
2329
2349
  search: any[];