@ntlab/ntjs-assets 2.22.0 → 2.24.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.
- package/assets/js/DataTables/DataTables/css/dataTables.bootstrap5.css +4 -5
- package/assets/js/DataTables/DataTables/css/dataTables.dataTables.css +4 -5
- package/assets/js/DataTables/DataTables/js/dataTables.js +44 -12
- package/assets/js/DataTables/DataTables/js/dataTables.min.js +2 -2
- package/assets/js/DataTables/Extensions/SearchBuilder/js/dataTables.searchBuilder.js +39 -19
- package/assets/js/DataTables/Extensions/SearchBuilder/js/dataTables.searchBuilder.min.js +2 -2
- package/assets/js/cdn.json +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
:root {
|
|
3
2
|
--dt-row-selected: 13, 110, 253;
|
|
4
3
|
--dt-row-selected-text: 255, 255, 255;
|
|
@@ -81,8 +80,8 @@ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
|
|
|
81
80
|
position: absolute;
|
|
82
81
|
display: block;
|
|
83
82
|
bottom: 50%;
|
|
84
|
-
content: "
|
|
85
|
-
content: "
|
|
83
|
+
content: "\25B2";
|
|
84
|
+
content: "\25B2"/"";
|
|
86
85
|
}
|
|
87
86
|
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,
|
|
88
87
|
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
|
|
@@ -90,8 +89,8 @@ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
|
|
|
90
89
|
position: absolute;
|
|
91
90
|
display: block;
|
|
92
91
|
top: 50%;
|
|
93
|
-
content: "
|
|
94
|
-
content: "
|
|
92
|
+
content: "\25BC";
|
|
93
|
+
content: "\25BC"/"";
|
|
95
94
|
}
|
|
96
95
|
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,
|
|
97
96
|
table.dataTable thead > tr > td.dt-orderable-asc,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
:root {
|
|
3
2
|
--dt-row-selected: 13, 110, 253;
|
|
4
3
|
--dt-row-selected-text: 255, 255, 255;
|
|
@@ -81,8 +80,8 @@ table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
|
|
|
81
80
|
position: absolute;
|
|
82
81
|
display: block;
|
|
83
82
|
bottom: 50%;
|
|
84
|
-
content: "
|
|
85
|
-
content: "
|
|
83
|
+
content: "\25B2";
|
|
84
|
+
content: "\25B2"/"";
|
|
86
85
|
}
|
|
87
86
|
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,
|
|
88
87
|
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
|
|
@@ -90,8 +89,8 @@ table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
|
|
|
90
89
|
position: absolute;
|
|
91
90
|
display: block;
|
|
92
91
|
top: 50%;
|
|
93
|
-
content: "
|
|
94
|
-
content: "
|
|
92
|
+
content: "\25BC";
|
|
93
|
+
content: "\25BC"/"";
|
|
95
94
|
}
|
|
96
95
|
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,
|
|
97
96
|
table.dataTable thead > tr > td.dt-orderable-asc,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! DataTables 2.2.
|
|
1
|
+
/*! DataTables 2.2.2
|
|
2
2
|
* © SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
4
|
|
|
@@ -5544,6 +5544,15 @@
|
|
|
5544
5544
|
// This flag allows the above to be satisfied.
|
|
5545
5545
|
var first = $(settings.nTableWrapper).is(':visible');
|
|
5546
5546
|
|
|
5547
|
+
// Use an empty div to attach the observer so it isn't impacted by height changes
|
|
5548
|
+
var resizer = $('<div>')
|
|
5549
|
+
.css({
|
|
5550
|
+
width: '100%',
|
|
5551
|
+
height: 0
|
|
5552
|
+
})
|
|
5553
|
+
.addClass('dt-autosize')
|
|
5554
|
+
.appendTo(settings.nTableWrapper);
|
|
5555
|
+
|
|
5547
5556
|
settings.resizeObserver = new ResizeObserver(function (e) {
|
|
5548
5557
|
if (first) {
|
|
5549
5558
|
first = false;
|
|
@@ -5553,7 +5562,7 @@
|
|
|
5553
5562
|
}
|
|
5554
5563
|
});
|
|
5555
5564
|
|
|
5556
|
-
settings.resizeObserver.observe(
|
|
5565
|
+
settings.resizeObserver.observe(resizer[0]);
|
|
5557
5566
|
}
|
|
5558
5567
|
else {
|
|
5559
5568
|
// For old browsers, the best we can do is listen for a window resize
|
|
@@ -5885,10 +5894,14 @@
|
|
|
5885
5894
|
displayMaster = oSettings.aiDisplayMaster,
|
|
5886
5895
|
aSort;
|
|
5887
5896
|
|
|
5897
|
+
// Make sure the columns all have types defined
|
|
5898
|
+
_fnColumnTypes(oSettings);
|
|
5899
|
+
|
|
5888
5900
|
// Allow a specific column to be sorted, which will _not_ alter the display
|
|
5889
5901
|
// master
|
|
5890
5902
|
if (col !== undefined) {
|
|
5891
5903
|
var srcCol = oSettings.aoColumns[col];
|
|
5904
|
+
|
|
5892
5905
|
aSort = [{
|
|
5893
5906
|
src: col,
|
|
5894
5907
|
col: col,
|
|
@@ -9832,12 +9845,14 @@
|
|
|
9832
9845
|
// Function to run either once the table becomes ready or
|
|
9833
9846
|
// immediately if it is already ready.
|
|
9834
9847
|
return this.tables().every(function () {
|
|
9848
|
+
var api = this;
|
|
9849
|
+
|
|
9835
9850
|
if (this.context[0]._bInitComplete) {
|
|
9836
|
-
fn.call(
|
|
9851
|
+
fn.call(api);
|
|
9837
9852
|
}
|
|
9838
9853
|
else {
|
|
9839
9854
|
this.on('init.dt.DT', function () {
|
|
9840
|
-
fn.call(
|
|
9855
|
+
fn.call(api);
|
|
9841
9856
|
});
|
|
9842
9857
|
}
|
|
9843
9858
|
} );
|
|
@@ -9893,20 +9908,37 @@
|
|
|
9893
9908
|
jqTable.append( tfoot );
|
|
9894
9909
|
}
|
|
9895
9910
|
|
|
9911
|
+
// Clean up the header
|
|
9912
|
+
$(thead).find('span.dt-column-order').remove();
|
|
9913
|
+
$(thead).find('span.dt-column-title').each(function () {
|
|
9914
|
+
var title = $(this).html();
|
|
9915
|
+
$(this).parent().append(title);
|
|
9916
|
+
$(this).remove();
|
|
9917
|
+
});
|
|
9918
|
+
|
|
9896
9919
|
settings.colgroup.remove();
|
|
9897
9920
|
|
|
9898
9921
|
settings.aaSorting = [];
|
|
9899
9922
|
settings.aaSortingFixed = [];
|
|
9900
9923
|
_fnSortingClasses( settings );
|
|
9901
9924
|
|
|
9925
|
+
$(jqTable).find('th, td').removeClass(
|
|
9926
|
+
$.map(DataTable.ext.type.className, function (v) {
|
|
9927
|
+
return v;
|
|
9928
|
+
}).join(' ')
|
|
9929
|
+
);
|
|
9930
|
+
|
|
9902
9931
|
$('th, td', thead)
|
|
9903
9932
|
.removeClass(
|
|
9933
|
+
orderClasses.none + ' ' +
|
|
9904
9934
|
orderClasses.canAsc + ' ' +
|
|
9905
9935
|
orderClasses.canDesc + ' ' +
|
|
9906
9936
|
orderClasses.isAsc + ' ' +
|
|
9907
9937
|
orderClasses.isDesc
|
|
9908
9938
|
)
|
|
9909
|
-
.css('width', '')
|
|
9939
|
+
.css('width', '')
|
|
9940
|
+
.removeAttr('data-dt-column')
|
|
9941
|
+
.removeAttr('aria-sort');
|
|
9910
9942
|
|
|
9911
9943
|
// Add the TR elements back into the table in their original order
|
|
9912
9944
|
jqTbody.children().detach();
|
|
@@ -9994,7 +10026,7 @@
|
|
|
9994
10026
|
* @type string
|
|
9995
10027
|
* @default Version number
|
|
9996
10028
|
*/
|
|
9997
|
-
DataTable.version = "2.2.
|
|
10029
|
+
DataTable.version = "2.2.2";
|
|
9998
10030
|
|
|
9999
10031
|
/**
|
|
10000
10032
|
* Private data store, containing all of the settings objects that are
|
|
@@ -13035,16 +13067,16 @@
|
|
|
13035
13067
|
cell.removeAttr('aria-sort');
|
|
13036
13068
|
}
|
|
13037
13069
|
|
|
13038
|
-
cell.attr('aria-label', orderable
|
|
13039
|
-
? col.ariaTitle + ctx.api.i18n('oAria.orderable' + ariaType)
|
|
13040
|
-
: col.ariaTitle
|
|
13041
|
-
);
|
|
13042
|
-
|
|
13043
13070
|
// Make the headers tab-able for keyboard navigation
|
|
13044
13071
|
if (orderable) {
|
|
13045
13072
|
var orderSpan = cell.find('.dt-column-order');
|
|
13046
13073
|
|
|
13047
|
-
orderSpan
|
|
13074
|
+
orderSpan
|
|
13075
|
+
.attr('role', 'button')
|
|
13076
|
+
.attr('aria-label', orderable
|
|
13077
|
+
? col.ariaTitle + ctx.api.i18n('oAria.orderable' + ariaType)
|
|
13078
|
+
: col.ariaTitle
|
|
13079
|
+
);
|
|
13048
13080
|
|
|
13049
13081
|
if (tabIndex !== -1) {
|
|
13050
13082
|
orderSpan.attr('tabindex', tabIndex);
|