datatables.net 2.1.7 → 2.1.8
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/js/dataTables.js +5 -8
- package/js/dataTables.min.js +2 -2
- package/js/dataTables.min.mjs +2 -2
- package/js/dataTables.mjs +4 -7
- package/package.json +1 -1
- package/types/types.d.ts +2 -2
package/js/dataTables.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! DataTables 2.1.
|
|
1
|
+
/*! DataTables 2.1.8
|
|
2
2
|
* © SpryMedia Ltd - datatables.net/license
|
|
3
3
|
*/
|
|
4
4
|
|
|
@@ -3194,9 +3194,6 @@ function _fnBuildHead( settings, side )
|
|
|
3194
3194
|
settings.aoFooter = detected;
|
|
3195
3195
|
}
|
|
3196
3196
|
|
|
3197
|
-
// ARIA role for the rows
|
|
3198
|
-
$(target).children('tr').attr('role', 'row');
|
|
3199
|
-
|
|
3200
3197
|
// Every cell needs to be passed through the renderer
|
|
3201
3198
|
$(target).children('tr').children('th, td')
|
|
3202
3199
|
.each( function () {
|
|
@@ -5186,7 +5183,7 @@ function _fnScrollDraw ( settings )
|
|
|
5186
5183
|
// browser support
|
|
5187
5184
|
var firstTr = null;
|
|
5188
5185
|
|
|
5189
|
-
for (i=
|
|
5186
|
+
for (i=settings._iDisplayStart ; i<settings.aiDisplay.length ; i++) {
|
|
5190
5187
|
var idx = settings.aiDisplay[i];
|
|
5191
5188
|
var tr = settings.aoData[idx].nTr;
|
|
5192
5189
|
|
|
@@ -9804,7 +9801,7 @@ _api_register( 'i18n()', function ( token, def, plural ) {
|
|
|
9804
9801
|
* @type string
|
|
9805
9802
|
* @default Version number
|
|
9806
9803
|
*/
|
|
9807
|
-
DataTable.version = "2.1.
|
|
9804
|
+
DataTable.version = "2.1.8";
|
|
9808
9805
|
|
|
9809
9806
|
/**
|
|
9810
9807
|
* Private data store, containing all of the settings objects that are
|
|
@@ -12129,7 +12126,7 @@ function __mlHelper (localeString) {
|
|
|
12129
12126
|
|
|
12130
12127
|
// Add type detection and sorting specific to this date format - we need to be able to identify
|
|
12131
12128
|
// date type columns as such, rather than as numbers in extensions. Hence the need for this.
|
|
12132
|
-
if (! DataTable.ext.type.order[typeName]) {
|
|
12129
|
+
if (! DataTable.ext.type.order[typeName + '-pre']) {
|
|
12133
12130
|
DataTable.type(typeName, {
|
|
12134
12131
|
detect: function (d) {
|
|
12135
12132
|
// The renderer will give the value to type detect as the type!
|
package/package.json
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -3064,7 +3064,7 @@ interface FunctionColumnData {
|
|
|
3064
3064
|
(row: any, type: 'display' | 'sort' | 'filter' | 'type', s: undefined, meta: CellMetaSettings): any;
|
|
3065
3065
|
}
|
|
3066
3066
|
|
|
3067
|
-
interface ObjectColumnData {
|
|
3067
|
+
export interface ObjectColumnData {
|
|
3068
3068
|
_: string | number | FunctionColumnData;
|
|
3069
3069
|
filter?: string | number | FunctionColumnData;
|
|
3070
3070
|
display?: string | number | FunctionColumnData;
|
|
@@ -3072,7 +3072,7 @@ interface ObjectColumnData {
|
|
|
3072
3072
|
sort?: string | number | FunctionColumnData;
|
|
3073
3073
|
}
|
|
3074
3074
|
|
|
3075
|
-
interface ObjectColumnRender {
|
|
3075
|
+
export interface ObjectColumnRender {
|
|
3076
3076
|
_?: string | number | FunctionColumnRender;
|
|
3077
3077
|
filter?: string | number | FunctionColumnRender;
|
|
3078
3078
|
display?: string | number | FunctionColumnRender;
|