datatables.net-bm 1.12.1 → 1.13.0

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.
@@ -51,7 +51,7 @@ table.dataTable thead > tr > td.sorting_desc_disabled:after {
51
51
  opacity: 0.125;
52
52
  right: 10px;
53
53
  line-height: 9px;
54
- font-size: 0.9em;
54
+ font-size: 0.8em;
55
55
  }
56
56
  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,
57
57
  table.dataTable thead > tr > td.sorting:before,
@@ -60,7 +60,7 @@ table.dataTable thead > tr > td.sorting_desc:before,
60
60
  table.dataTable thead > tr > td.sorting_asc_disabled:before,
61
61
  table.dataTable thead > tr > td.sorting_desc_disabled:before {
62
62
  bottom: 50%;
63
- content: "";
63
+ content: "";
64
64
  }
65
65
  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,
66
66
  table.dataTable thead > tr > td.sorting:after,
@@ -69,7 +69,7 @@ table.dataTable thead > tr > td.sorting_desc:after,
69
69
  table.dataTable thead > tr > td.sorting_asc_disabled:after,
70
70
  table.dataTable thead > tr > td.sorting_desc_disabled:after {
71
71
  top: 50%;
72
- content: "";
72
+ content: "";
73
73
  }
74
74
  table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:after,
75
75
  table.dataTable thead > tr > td.sorting_asc:before,
@@ -273,6 +273,9 @@ table.dataTable > tbody > tr.selected > * {
273
273
  box-shadow: inset 0 0 0 9999px rgba(0, 209, 178, 0.9);
274
274
  color: white;
275
275
  }
276
+ table.dataTable > tbody > tr.selected a {
277
+ color: #090a0b;
278
+ }
276
279
  table.dataTable.is-striped > tbody > tr.odd > * {
277
280
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019);
278
281
  }
@@ -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:.9em}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
+ 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
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.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 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}
@@ -1,3 +1,4 @@
1
+
1
2
  /*! DataTables Bulma integration
2
3
  * ©2020 SpryMedia Ltd - datatables.net/license
3
4
  */
@@ -13,16 +14,22 @@
13
14
  // CommonJS
14
15
  module.exports = function (root, $) {
15
16
  if ( ! root ) {
17
+ // CommonJS environments without a window global must pass a
18
+ // root. This will give an error otherwise
16
19
  root = window;
17
20
  }
18
21
 
19
- if ( ! $ || ! $.fn.dataTable ) {
20
- // Require DataTables, which attaches to jQuery, including
21
- // jQuery if needed and have a $ property so we can access the
22
- // jQuery object that is used
23
- $ = require('datatables.net')(root, $).$;
22
+ if ( ! $ ) {
23
+ $ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window
24
+ require('jquery') :
25
+ require('jquery')( root );
26
+ }
27
+
28
+ if ( ! $.fn.dataTable ) {
29
+ require('datatables.net')(root, $);
24
30
  }
25
31
 
32
+
26
33
  return factory( $, root, root.document );
27
34
  };
28
35
  }
@@ -35,6 +42,7 @@
35
42
  var DataTable = $.fn.dataTable;
36
43
 
37
44
 
45
+
38
46
  /* Set the defaults for DataTables initialisation */
39
47
  $.extend( true, DataTable.defaults, {
40
48
  dom:
@@ -64,7 +72,7 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
64
72
  var classes = settings.oClasses;
65
73
  var lang = settings.oLanguage.oPaginate;
66
74
  var aria = settings.oLanguage.oAria.paginate || {};
67
- var btnDisplay, btnClass, counter=0;
75
+ var btnDisplay, btnClass;
68
76
 
69
77
  var attach = function( container, buttons ) {
70
78
  var i, ien, node, button, tag, disabled;
@@ -136,7 +144,7 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
136
144
  'href': '#',
137
145
  'aria-controls': settings.sTableId,
138
146
  'aria-label': aria[ button ],
139
- 'data-dt-idx': counter,
147
+ 'data-dt-idx': button,
140
148
  'tabindex': settings.iTabIndex,
141
149
  'class': 'pagination-link ' + btnClass,
142
150
  'disabled': disabled
@@ -148,8 +156,6 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
148
156
  settings.oApi._fnBindAction(
149
157
  node, {action: button}, clickHandler
150
158
  );
151
-
152
- counter++;
153
159
  }
154
160
  }
155
161
  }
@@ -195,6 +201,5 @@ $(document).on( 'init.dt', function (e, ctx) {
195
201
  } );
196
202
 
197
203
 
198
-
199
204
  return DataTable;
200
205
  }));
@@ -1,15 +1,4 @@
1
- /*!
2
- DataTables Bulma integration
3
- ©2020 SpryMedia Ltd - datatables.net/license
4
- */
5
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var e=a.length,d=0;d<e;d++){var f=a[d];if(b.call(c,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;
6
- $jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
7
- $jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b){var c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]};
8
- $jscomp.polyfill=function(a,b,c,e){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,e):$jscomp.polyfillUnisolated(a,b,c,e))};$jscomp.polyfillUnisolated=function(a,b,c,e){c=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var d=a[e];if(!(d in c))return;c=c[d]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})};
9
- $jscomp.polyfillIsolated=function(a,b,c,e){var d=a.split(".");a=1===d.length;e=d[0];e=!a&&e in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<d.length-1;f++){var k=d[f];if(!(k in e))return;e=e[k]}d=d[d.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,d,{configurable:!0,writable:!0,value:b}):b!==c&&($jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+d,d=
10
- $jscomp.propertyToPolyfillSymbol[d],$jscomp.defineProperty(e,d,{configurable:!0,writable:!0,value:b})))};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(b,c){return $jscomp.findInternal(this,b,c).v}},"es6","es3");
11
- (function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,c){b||(b=window);c&&c.fn.dataTable||(c=require("datatables.net")(b,c).$);return a(c,b,b.document)}:a(jQuery,window,document)})(function(a,b,c,e){var d=a.fn.dataTable;a.extend(!0,d.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>>",
12
- renderer:"bulma"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"});d.ext.renderer.pageButton.bulma=function(f,k,D,E,n,v){var w=new d.Api(f),p=f.oLanguage.oPaginate,F=f.oLanguage.oAria.paginate||{},h,l,x=0,A=function(t,y){var z,G=function(q){q.preventDefault();a(q.currentTarget.firstChild).attr("disabled")||w.page()==q.data.action||w.page(q.data.action).draw("page")};
13
- var u=0;for(z=y.length;u<z;u++){var g=y[u];if(Array.isArray(g))A(t,g);else{l=h="";var r="a";var m=!1;switch(g){case "ellipsis":h="&#x2026;";l="pagination-link";m=!0;r="span";break;case "first":h=p.sFirst;l=g;m=0>=n;break;case "previous":h=p.sPrevious;l=g;m=0>=n;break;case "next":h=p.sNext;l=g;m=n>=v-1;break;case "last":h=p.sLast;l=g;m=n>=v-1;break;default:h=g+1,l=n===g?"is-current":""}h&&(r=a("<li>",{id:0===D&&"string"===typeof g?f.sTableId+"_"+g:null}).append(a("<"+r+">",{href:"#","aria-controls":f.sTableId,
14
- "aria-label":F[g],"data-dt-idx":x,tabindex:f.iTabIndex,"class":"pagination-link "+l,disabled:m}).html(h)).appendTo(t),f.oApi._fnBindAction(r,{action:g},G),x++)}}};try{var B=a(k).find(c.activeElement).data("dt-idx")}catch(t){}var C=a('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');a(k).empty().append(C);A(C.find("ul"),E);B!==e&&a(k).find("[data-dt-idx="+B+"]").trigger("focus")};a(c).on("init.dt",function(f,k){"dt"===f.namespace&&(f=new a.fn.dataTable.Api(k),
15
- a("div.dataTables_length select",f.table().container()).wrap('<div class="select">'))});return d});
1
+ /*! DataTables Bulma integration
2
+ * ©2020 SpryMedia Ltd - datatables.net/license
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});
@@ -0,0 +1,4 @@
1
+ /*! DataTables Bulma integration
2
+ * ©2020 SpryMedia Ltd - datatables.net/license
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;
@@ -0,0 +1,169 @@
1
+
2
+ /*! DataTables Bulma integration
3
+ * ©2020 SpryMedia Ltd - datatables.net/license
4
+ */
5
+
6
+ import $ from 'jquery';
7
+ import DataTable from 'datatables.net';
8
+
9
+
10
+
11
+ /* Set the defaults for DataTables initialisation */
12
+ $.extend( true, DataTable.defaults, {
13
+ dom:
14
+ "<'columns is-gapless is-multiline'" +
15
+ "<'column is-half'l>" +
16
+ "<'column is-half'f>" +
17
+ "<'column is-full'tr>" +
18
+ "<'column is-half'i>" +
19
+ "<'column is-half'p>" +
20
+ ">",
21
+ renderer: 'bulma'
22
+ } );
23
+
24
+
25
+ /* Default class modification */
26
+ $.extend( DataTable.ext.classes, {
27
+ sWrapper: "dataTables_wrapper dt-bulma",
28
+ sFilterInput: "input",
29
+ sLengthSelect: "custom-select custom-select-sm form-control form-control-sm",
30
+ sProcessing: "dataTables_processing card"
31
+ } );
32
+
33
+
34
+ /* Bulma paging button renderer */
35
+ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, buttons, page, pages ) {
36
+ var api = new DataTable.Api( settings );
37
+ var classes = settings.oClasses;
38
+ var lang = settings.oLanguage.oPaginate;
39
+ var aria = settings.oLanguage.oAria.paginate || {};
40
+ var btnDisplay, btnClass;
41
+
42
+ var attach = function( container, buttons ) {
43
+ var i, ien, node, button, tag, disabled;
44
+ var clickHandler = function ( e ) {
45
+ e.preventDefault();
46
+ if ( ! $(e.currentTarget.firstChild).attr('disabled') && api.page() != e.data.action ) {
47
+ api.page( e.data.action ).draw( 'page' );
48
+ }
49
+ };
50
+
51
+ for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
52
+ button = buttons[i];
53
+
54
+ if ( Array.isArray( button ) ) {
55
+ attach( container, button );
56
+ }
57
+ else {
58
+ btnDisplay = '';
59
+ btnClass = '';
60
+ tag = 'a';
61
+ disabled = false;
62
+
63
+ switch ( button ) {
64
+ case 'ellipsis':
65
+ btnDisplay = '&#x2026;';
66
+ btnClass = 'pagination-link';
67
+ disabled = true;
68
+ tag = 'span';
69
+ break;
70
+
71
+ case 'first':
72
+ btnDisplay = lang.sFirst;
73
+ btnClass = button;
74
+ disabled = page <= 0;
75
+ break;
76
+
77
+ case 'previous':
78
+ btnDisplay = lang.sPrevious;
79
+ btnClass = button;
80
+ disabled = page <= 0;
81
+ break;
82
+
83
+ case 'next':
84
+ btnDisplay = lang.sNext;
85
+ btnClass = button;
86
+ disabled = page >= pages - 1;
87
+ break;
88
+
89
+ case 'last':
90
+ btnDisplay = lang.sLast;
91
+ btnClass = button;
92
+ disabled = page >= pages - 1;
93
+ break;
94
+
95
+ default:
96
+ btnDisplay = button + 1;
97
+ btnClass = page === button ?
98
+ 'is-current' : '';
99
+ break;
100
+ }
101
+
102
+ if ( btnDisplay ) {
103
+ node = $('<li>', {
104
+ 'id': idx === 0 && typeof button === 'string' ?
105
+ settings.sTableId +'_'+ button :
106
+ null
107
+ } )
108
+ .append( $('<' + tag + '>', {
109
+ 'href': '#',
110
+ 'aria-controls': settings.sTableId,
111
+ 'aria-label': aria[ button ],
112
+ 'data-dt-idx': button,
113
+ 'tabindex': settings.iTabIndex,
114
+ 'class': 'pagination-link ' + btnClass,
115
+ 'disabled': disabled
116
+ } )
117
+ .html( btnDisplay )
118
+ )
119
+ .appendTo( container );
120
+
121
+ settings.oApi._fnBindAction(
122
+ node, {action: button}, clickHandler
123
+ );
124
+ }
125
+ }
126
+ }
127
+ };
128
+
129
+ // IE9 throws an 'unknown error' if document.activeElement is used
130
+ // inside an iframe or frame.
131
+ var activeEl;
132
+
133
+ try {
134
+ // Because this approach is destroying and recreating the paging
135
+ // elements, focus is lost on the select button which is bad for
136
+ // accessibility. So we want to restore focus once the draw has
137
+ // completed
138
+ activeEl = $(host).find(document.activeElement).data('dt-idx');
139
+ }
140
+ catch (e) {}
141
+
142
+ var nav = $('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');
143
+ $(host).empty().append(nav);
144
+
145
+ attach(nav.find('ul'), buttons);
146
+
147
+ if ( activeEl !== undefined ) {
148
+ $(host).find( '[data-dt-idx='+activeEl+']' ).trigger('focus');
149
+ }
150
+ };
151
+
152
+ // Javascript enhancements on table initialisation
153
+ $(document).on( 'init.dt', function (e, ctx) {
154
+ if ( e.namespace !== 'dt' ) {
155
+ return;
156
+ }
157
+
158
+ var api = new $.fn.dataTable.Api( ctx );
159
+
160
+ // Length menu drop down - needs to be wrapped with a div
161
+ $( 'div.dataTables_length select', api.table().container() ).wrap('<div class="select">');
162
+
163
+ // Filtering input
164
+ // $( 'div.dataTables_filter.ui.input', api.table().container() ).removeClass('input').addClass('form');
165
+ // $( 'div.dataTables_filter input', api.table().container() ).wrap( '<span class="ui input" />' );
166
+ } );
167
+
168
+
169
+ export default DataTable;
package/package.json CHANGED
@@ -2,12 +2,14 @@
2
2
  "name": "datatables.net-bm",
3
3
  "description": "DataTables for jQuery with styling for [Bulma](https://bulma.io/)",
4
4
  "main": "js/dataTables.bulma.js",
5
+ "module": "js/dataTables.bulma.mjs",
5
6
  "style": "css/dataTables.bulma.css",
6
- "types": "./types/dataTables.bulma.d.ts",
7
- "version": "1.12.1",
7
+ "types": "./types/types.d.ts",
8
+ "version": "1.13.0",
8
9
  "files": [
9
10
  "css/**/*.css",
10
11
  "js/**/*.js",
12
+ "js/**/*.mjs",
11
13
  "types/**/*.d.ts",
12
14
  "images/*"
13
15
  ],
@@ -20,7 +22,7 @@
20
22
  "sort"
21
23
  ],
22
24
  "dependencies": {
23
- "datatables.net": ">=1.11.3",
25
+ "datatables.net": ">=1.12.1",
24
26
  "jquery": ">=1.7"
25
27
  },
26
28
  "moduleType": [