@ntlab/ntjs-assets 2.0.41 → 2.0.43
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/js/dataTables.js +17 -12
- package/assets/js/DataTables/DataTables/js/dataTables.min.js +2 -2
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js +12 -5
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js.map +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.min.js +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js +12 -5
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js.map +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.min.js +1 -1
- package/assets/js/cdn.json +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! DataTables 2.1.
|
|
1
|
+
/*! DataTables 2.1.6
|
|
2
2
|
* © SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @summary DataTables
|
|
7
7
|
* @description Paginate, search and order HTML tables
|
|
8
|
-
* @version 2.1.
|
|
8
|
+
* @version 2.1.6
|
|
9
9
|
* @author SpryMedia Ltd
|
|
10
10
|
* @contact www.datatables.net
|
|
11
11
|
* @copyright SpryMedia Ltd.
|
|
@@ -254,6 +254,7 @@
|
|
|
254
254
|
"caption",
|
|
255
255
|
"layout",
|
|
256
256
|
"orderDescReverse",
|
|
257
|
+
"typeDetect",
|
|
257
258
|
[ "iCookieDuration", "iStateDuration" ], // backwards compat
|
|
258
259
|
[ "oSearch", "oPreviousSearch" ],
|
|
259
260
|
[ "aoSearchCols", "aoPreSearchCols" ],
|
|
@@ -477,7 +478,7 @@
|
|
|
477
478
|
} );
|
|
478
479
|
}
|
|
479
480
|
else {
|
|
480
|
-
_fnCallbackFire( oSettings, null, 'i18n', [oSettings]);
|
|
481
|
+
_fnCallbackFire( oSettings, null, 'i18n', [oSettings], true);
|
|
481
482
|
_fnInitialise( oSettings );
|
|
482
483
|
}
|
|
483
484
|
} );
|
|
@@ -1217,7 +1218,7 @@
|
|
|
1217
1218
|
// is essential here
|
|
1218
1219
|
if ( prop2 !== undefined ) {
|
|
1219
1220
|
for ( ; i<ien ; i++ ) {
|
|
1220
|
-
if ( a[ order[i] ][ prop ] ) {
|
|
1221
|
+
if ( a[ order[i] ] && a[ order[i] ][ prop ] ) {
|
|
1221
1222
|
out.push( a[ order[i] ][ prop ][ prop2 ] );
|
|
1222
1223
|
}
|
|
1223
1224
|
}
|
|
@@ -2274,12 +2275,6 @@
|
|
|
2274
2275
|
var i, ien, j, jen, k, ken;
|
|
2275
2276
|
var col, detectedType, cache;
|
|
2276
2277
|
|
|
2277
|
-
// If SSP then we don't have the full data set, so any type detection would be
|
|
2278
|
-
// unreliable and error prone
|
|
2279
|
-
if (_fnDataSource( settings ) === 'ssp') {
|
|
2280
|
-
return;
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
2278
|
// For each column, spin over the data type detection functions, seeing if one matches
|
|
2284
2279
|
for ( i=0, ien=columns.length ; i<ien ; i++ ) {
|
|
2285
2280
|
col = columns[i];
|
|
@@ -2289,6 +2284,12 @@
|
|
|
2289
2284
|
col.sType = col._sManualType;
|
|
2290
2285
|
}
|
|
2291
2286
|
else if ( ! col.sType ) {
|
|
2287
|
+
// With SSP type detection can be unreliable and error prone, so we provide a way
|
|
2288
|
+
// to turn it off.
|
|
2289
|
+
if (! settings.typeDetect) {
|
|
2290
|
+
return;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2292
2293
|
for ( j=0, jen=types.length ; j<jen ; j++ ) {
|
|
2293
2294
|
var typeDetect = types[j];
|
|
2294
2295
|
|
|
@@ -4340,6 +4341,7 @@
|
|
|
4340
4341
|
}
|
|
4341
4342
|
settings.aiDisplay = settings.aiDisplayMaster.slice();
|
|
4342
4343
|
|
|
4344
|
+
_fnColumnTypes(settings);
|
|
4343
4345
|
_fnDraw( settings, true );
|
|
4344
4346
|
_fnInitComplete( settings );
|
|
4345
4347
|
_fnProcessingDisplay( settings, false );
|
|
@@ -9860,7 +9862,7 @@
|
|
|
9860
9862
|
* @type string
|
|
9861
9863
|
* @default Version number
|
|
9862
9864
|
*/
|
|
9863
|
-
DataTable.version = "2.1.
|
|
9865
|
+
DataTable.version = "2.1.6";
|
|
9864
9866
|
|
|
9865
9867
|
/**
|
|
9866
9868
|
* Private data store, containing all of the settings objects that are
|
|
@@ -11960,7 +11962,10 @@
|
|
|
11960
11962
|
colgroup: null,
|
|
11961
11963
|
|
|
11962
11964
|
/** Delay loading of data */
|
|
11963
|
-
deferLoading: null
|
|
11965
|
+
deferLoading: null,
|
|
11966
|
+
|
|
11967
|
+
/** Allow auto type detection */
|
|
11968
|
+
typeDetect: true
|
|
11964
11969
|
};
|
|
11965
11970
|
|
|
11966
11971
|
/**
|