datatables.net 2.0.2 → 2.0.4
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 +199 -709
- package/js/dataTables.min.js +2 -2
- package/js/dataTables.min.mjs +2 -2
- package/js/dataTables.mjs +198 -708
- package/package.json +1 -1
- package/types/types.d.ts +135 -180
package/package.json
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -1593,7 +1593,7 @@ export interface ApiCell<T> {
|
|
|
1593
1593
|
(rowSelector: RowSelector<T>, columnSelector: ColumnSelector, modifier?: ApiSelectorModifier): ApiCellMethods<T>;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
export interface ApiCellMethods<T> extends Omit<Api<T>, 'render'> {
|
|
1596
|
+
export interface ApiCellMethods<T> extends Omit<Api<T>, 'render' | 'select'> {
|
|
1597
1597
|
/**
|
|
1598
1598
|
* Get the DataTables cached data for the selected cell
|
|
1599
1599
|
*
|
|
@@ -1677,7 +1677,7 @@ export interface ApiCells<T> {
|
|
|
1677
1677
|
(rowSelector: RowSelector<T>, columnSelector: ColumnSelector, modifier?: ApiSelectorModifier): ApiCellsMethods<T>;
|
|
1678
1678
|
}
|
|
1679
1679
|
|
|
1680
|
-
export interface ApiCellsMethods<T> extends Omit<Api<T>, 'data' | 'render'> {
|
|
1680
|
+
export interface ApiCellsMethods<T> extends Omit<Api<T>, 'data' | 'render' | 'select'> {
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Get the DataTables cached data for the selected cells
|
|
1683
1683
|
*
|
|
@@ -2312,7 +2312,7 @@ export interface ApiRow<T> {
|
|
|
2312
2312
|
add(data: any[] | object): ApiRowMethods<T>;
|
|
2313
2313
|
}
|
|
2314
2314
|
|
|
2315
|
-
export interface ApiRowMethods<T> extends Omit<Api<T>, 'data'> {
|
|
2315
|
+
export interface ApiRowMethods<T> extends Omit<Api<T>, 'data' | 'select'> {
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Get the DataTables cached data for the selected row(s)
|
|
2318
2318
|
*
|
|
@@ -2406,7 +2406,7 @@ export interface ApiRows<T> {
|
|
|
2406
2406
|
add(data: T[]): ApiRowsMethods<T>;
|
|
2407
2407
|
}
|
|
2408
2408
|
|
|
2409
|
-
export interface ApiRowsMethods<T> extends Api<T> {
|
|
2409
|
+
export interface ApiRowsMethods<T> extends Omit<Api<T>, 'select'> {
|
|
2410
2410
|
/**
|
|
2411
2411
|
* Get the DataTables cached data for the selected row(s)
|
|
2412
2412
|
*
|
|
@@ -3004,182 +3004,137 @@ export interface DataTablesStaticExtButtons {
|
|
|
3004
3004
|
* that these all use legacy Hungarian notation.
|
|
3005
3005
|
*/
|
|
3006
3006
|
export interface ExtClassesSettings {
|
|
3007
|
-
/**
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
/**
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
/**
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
/**
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
/**
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
* dataTables_scroll
|
|
3139
|
-
*/
|
|
3140
|
-
sScrollWrapper?: string;
|
|
3141
|
-
|
|
3142
|
-
/**
|
|
3143
|
-
* Default Value:
|
|
3144
|
-
* dt-scroll-head
|
|
3145
|
-
*/
|
|
3146
|
-
sScrollHead?: string;
|
|
3147
|
-
|
|
3148
|
-
/**
|
|
3149
|
-
* Default Value:
|
|
3150
|
-
* dt-scroll-headInner
|
|
3151
|
-
*/
|
|
3152
|
-
sScrollHeadInner?: string;
|
|
3153
|
-
|
|
3154
|
-
/**
|
|
3155
|
-
* Default Value:
|
|
3156
|
-
* dt-scroll-body
|
|
3157
|
-
*/
|
|
3158
|
-
sScrollBody?: string;
|
|
3159
|
-
|
|
3160
|
-
/**
|
|
3161
|
-
* Default Value:
|
|
3162
|
-
* dt-scroll-foot
|
|
3163
|
-
*/
|
|
3164
|
-
sScrollFoot?: string;
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* Default Value:
|
|
3168
|
-
* dt-scroll-footInner
|
|
3169
|
-
*/
|
|
3170
|
-
sScrollFootInner?: string;
|
|
3171
|
-
|
|
3172
|
-
sHeaderTH?: string;
|
|
3173
|
-
sFooterTH?: string;
|
|
3174
|
-
sSortJUIAsc?: string;
|
|
3175
|
-
sSortJUIDesc?: string;
|
|
3176
|
-
sSortJUI?: string;
|
|
3177
|
-
sSortJUIAscAllowed?: string;
|
|
3178
|
-
sSortJUIDescAllowed?: string;
|
|
3179
|
-
sSortJUIWrapper?: string;
|
|
3180
|
-
sSortIcon?: string;
|
|
3181
|
-
sJUIHeader?: string;
|
|
3182
|
-
sJUIFooter?: string;
|
|
3007
|
+
/** Class to apply to the container for all DataTables controlled elements */
|
|
3008
|
+
container: string;
|
|
3009
|
+
|
|
3010
|
+
/** Empty row classes */
|
|
3011
|
+
empty: {
|
|
3012
|
+
/** Empty row class */
|
|
3013
|
+
row: string;
|
|
3014
|
+
};
|
|
3015
|
+
|
|
3016
|
+
/** Info feature classes */
|
|
3017
|
+
info: {
|
|
3018
|
+
/** Container `<div>` class */
|
|
3019
|
+
container: string;
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
/** Length feature classes */
|
|
3023
|
+
length: {
|
|
3024
|
+
/** Container `<div>` class */
|
|
3025
|
+
container: string;
|
|
3026
|
+
|
|
3027
|
+
/** Applied to the `<select>` element */
|
|
3028
|
+
select: string;
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
/** Table header cell ordering classes */
|
|
3032
|
+
order: {
|
|
3033
|
+
/** Applied if a column can sort asc */
|
|
3034
|
+
canAsc: string;
|
|
3035
|
+
|
|
3036
|
+
/** Applied if a column can sort desc */
|
|
3037
|
+
canDesc: string;
|
|
3038
|
+
|
|
3039
|
+
/** Applied if a column is sorting asc */
|
|
3040
|
+
isAsc: string;
|
|
3041
|
+
|
|
3042
|
+
/** Applied if a column is sorting desc */
|
|
3043
|
+
isDesc: string;
|
|
3044
|
+
|
|
3045
|
+
/** Applied if there is no sorting available on a column */
|
|
3046
|
+
none: string;
|
|
3047
|
+
|
|
3048
|
+
/** Position class */
|
|
3049
|
+
position: string;
|
|
3050
|
+
};
|
|
3051
|
+
|
|
3052
|
+
/** Processing indicator classes */
|
|
3053
|
+
processing: {
|
|
3054
|
+
/** Container `<div>` class */
|
|
3055
|
+
container: string;
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
/** Classes for scrolling tables (`scrollX` / `scrollY`) */
|
|
3059
|
+
scrolling: {
|
|
3060
|
+
/** Body table wrapper `<div>` */
|
|
3061
|
+
body: string;
|
|
3062
|
+
|
|
3063
|
+
/** Applied to the wrapper for all scrolling elements */
|
|
3064
|
+
container: string;
|
|
3065
|
+
|
|
3066
|
+
/** Scrolling footer classes */
|
|
3067
|
+
footer: {
|
|
3068
|
+
/** Applied to the footer container `<div>` */
|
|
3069
|
+
self: string;
|
|
3070
|
+
|
|
3071
|
+
/** Applied to the inner footer `<div>` */
|
|
3072
|
+
inner: string;
|
|
3073
|
+
};
|
|
3074
|
+
|
|
3075
|
+
/** Scrolling header classes */
|
|
3076
|
+
header: {
|
|
3077
|
+
/** Applied to the header container `<div>` */
|
|
3078
|
+
self: string;
|
|
3079
|
+
|
|
3080
|
+
/** Applied to the inner header `<div>` */
|
|
3081
|
+
inner: string;
|
|
3082
|
+
}
|
|
3083
|
+
};
|
|
3084
|
+
|
|
3085
|
+
/** Search feature classes */
|
|
3086
|
+
search: {
|
|
3087
|
+
/** Applied to the search container `<div>` */
|
|
3088
|
+
container: string;
|
|
3089
|
+
|
|
3090
|
+
/** Class to add to `<input>` element */
|
|
3091
|
+
input: string;
|
|
3092
|
+
};
|
|
3093
|
+
|
|
3094
|
+
/** Class to add to the `<table>` when DataTables is initialised on it */
|
|
3095
|
+
table: string;
|
|
3096
|
+
|
|
3097
|
+
/** Table body classes */
|
|
3098
|
+
tbody: {
|
|
3099
|
+
/** Applied to all cells in the table body */
|
|
3100
|
+
cell: string;
|
|
3101
|
+
|
|
3102
|
+
/** Applied to all `tr` element in the table body */
|
|
3103
|
+
row: string;
|
|
3104
|
+
};
|
|
3105
|
+
|
|
3106
|
+
/** Table header classes */
|
|
3107
|
+
thead: {
|
|
3108
|
+
/** Applied to `td`/`th` elements in the table header */
|
|
3109
|
+
cell: string;
|
|
3110
|
+
|
|
3111
|
+
/** Applied to `tr` elements in the table header */
|
|
3112
|
+
row: string;
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
/** Table footer classes */
|
|
3116
|
+
tfoot: {
|
|
3117
|
+
/** Applied to `td`/`th` elements in the footer */
|
|
3118
|
+
cell: string;
|
|
3119
|
+
|
|
3120
|
+
/** Applied to `tr` elements in the footer */
|
|
3121
|
+
row: string;
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
/** Paging feature classes */
|
|
3125
|
+
paging: {
|
|
3126
|
+
/** Button shows the current page */
|
|
3127
|
+
active: string;
|
|
3128
|
+
|
|
3129
|
+
/** Applied to all buttons */
|
|
3130
|
+
button: string;
|
|
3131
|
+
|
|
3132
|
+
/** Container class */
|
|
3133
|
+
container: string;
|
|
3134
|
+
|
|
3135
|
+
/** Button unavailable class */
|
|
3136
|
+
disabled: string;
|
|
3137
|
+
};
|
|
3183
3138
|
}
|
|
3184
3139
|
|
|
3185
3140
|
|