@progress/kendo-react-data-tools 9.4.0-develop.9 → 9.4.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/NOTICE.txt +40 -51
- package/clipboard/common.js +5 -5
- package/clipboard/common.mjs +81 -45
- package/dist/cdn/js/kendo-react-datatools.js +1 -1
- package/index.d.mts +106 -10
- package/index.d.ts +106 -10
- package/index.js +1 -1
- package/index.mjs +170 -157
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/utils/data-operations.js +1 -1
- package/utils/data-operations.mjs +82 -66
package/index.d.mts
CHANGED
|
@@ -18,6 +18,11 @@ import * as React_2 from 'react';
|
|
|
18
18
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
19
19
|
import { SVGIcon } from '@progress/kendo-react-common';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const addHeaders: (initialData: string, cols: string[], event: ClipboardDataEvent) => string;
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* Represents the base object of the `onPageChange` event. It is usually used
|
|
23
28
|
* in custom pager scenarios in cases when we don't need any of the events or the target.
|
|
@@ -199,7 +204,7 @@ export declare interface ClipboardData {
|
|
|
199
204
|
}
|
|
200
205
|
|
|
201
206
|
/**
|
|
202
|
-
* Represents the object of the `
|
|
207
|
+
* Represents the object of the `ClipboardDataEvent` event.
|
|
203
208
|
*/
|
|
204
209
|
export declare interface ClipboardDataEvent {
|
|
205
210
|
/**
|
|
@@ -214,6 +219,10 @@ export declare interface ClipboardDataEvent {
|
|
|
214
219
|
* All the Grid columns. It takes value of type of [ColumnBaseProps]({% slug api_data-tools_columnbaseprops %})<[CellProps]({% slug api_data-tools_cellprops %})>[]
|
|
215
220
|
*/
|
|
216
221
|
columns: ColumnBaseProps[];
|
|
222
|
+
/**
|
|
223
|
+
* Passes the dataItemKey prop in the clipboard action.
|
|
224
|
+
*/
|
|
225
|
+
dataItemKey: string;
|
|
217
226
|
/**
|
|
218
227
|
* Passes the clipboard prop copyHeaders value in the clipboard action.
|
|
219
228
|
*/
|
|
@@ -227,9 +236,13 @@ export declare interface ClipboardDataEvent {
|
|
|
227
236
|
*/
|
|
228
237
|
newLineDelimiter?: string;
|
|
229
238
|
/**
|
|
230
|
-
*
|
|
239
|
+
* This is the item that is clicked if the action is raised from the contextMenu.
|
|
231
240
|
*/
|
|
232
|
-
|
|
241
|
+
dataItem?: any;
|
|
242
|
+
/**
|
|
243
|
+
* This is the column field that is clicked if the action is raised from the contextMenu.
|
|
244
|
+
*/
|
|
245
|
+
field?: string;
|
|
233
246
|
}
|
|
234
247
|
|
|
235
248
|
/**
|
|
@@ -652,6 +665,9 @@ export declare interface ColumnSortSettings {
|
|
|
652
665
|
allowUnsort?: boolean;
|
|
653
666
|
}
|
|
654
667
|
|
|
668
|
+
/** @hidden */
|
|
669
|
+
export declare const combineFilters: (first?: CompositeFilterDescriptor, second?: CompositeFilterDescriptor) => CompositeFilterDescriptor | undefined;
|
|
670
|
+
|
|
655
671
|
/**
|
|
656
672
|
* @hidden
|
|
657
673
|
*/
|
|
@@ -761,7 +777,9 @@ export declare type DetailExpandAction = {
|
|
|
761
777
|
payload: boolean;
|
|
762
778
|
};
|
|
763
779
|
|
|
764
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* The descriptor used to define the expanded state of the detail-row.
|
|
782
|
+
*/
|
|
765
783
|
export declare type DetailExpandDescriptor = {
|
|
766
784
|
[id: string]: boolean;
|
|
767
785
|
};
|
|
@@ -844,9 +862,7 @@ export declare type EditAction = {
|
|
|
844
862
|
|
|
845
863
|
/**
|
|
846
864
|
* The `edit` descriptor used to identify which data-items are in edit mode.
|
|
847
|
-
* TODO: uncomment
|
|
848
865
|
*
|
|
849
|
-
* @hidden
|
|
850
866
|
* @example
|
|
851
867
|
* ```ts
|
|
852
868
|
* const data = [
|
|
@@ -1234,6 +1250,21 @@ export declare function flatData(data: any[], getChildren: (dataItem: any) => an
|
|
|
1234
1250
|
/** @hidden */
|
|
1235
1251
|
export declare const flatToTree: (flat: GroupState[]) => GroupExpandDescriptor[];
|
|
1236
1252
|
|
|
1253
|
+
/**
|
|
1254
|
+
* @hidden
|
|
1255
|
+
*/
|
|
1256
|
+
export declare const getClipboardData: (event: ClipboardDataEvent, copiedItems: ClipboardItem_2[]) => string;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* @hidden
|
|
1260
|
+
*/
|
|
1261
|
+
export declare const getClipboardItemsToPaste: (args: PopulateClipboardArgs, clipboardText: string) => string[][];
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @hidden
|
|
1265
|
+
*/
|
|
1266
|
+
export declare const getClipboardText: (copiedItems: ClipboardItem_2[], event: ClipboardDataEvent) => string;
|
|
1267
|
+
|
|
1237
1268
|
/** @hidden */
|
|
1238
1269
|
export declare const getColumnIndex: (element: HTMLTableCellElement) => number | undefined;
|
|
1239
1270
|
|
|
@@ -1273,12 +1304,40 @@ export declare function getIndex(event: any, parent: HTMLTableRowElement | HTMLD
|
|
|
1273
1304
|
*/
|
|
1274
1305
|
export declare const getItemPath: (tree: any[], level: number[], subItemsField?: string) => any[];
|
|
1275
1306
|
|
|
1307
|
+
/**
|
|
1308
|
+
* @hidden
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const getItemsToPaste: (args: PopulateClipboardArgs, clipboardText: string) => any[][];
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* @hidden
|
|
1314
|
+
*/
|
|
1315
|
+
export declare const getItemsToUpdateOnPaste: (args: PopulateClipboardArgs, selectedItems: ClipboardItem_2[], dataLength: number, dataItemKey: string) => any[];
|
|
1316
|
+
|
|
1276
1317
|
/** @hidden */
|
|
1277
1318
|
export declare const getOffset: (offsetParent: any) => any;
|
|
1278
1319
|
|
|
1320
|
+
/**
|
|
1321
|
+
* @hidden
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const getPastedItems: (args: PopulateClipboardArgs, clipboardText: string) => ClipboardItem_2[];
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* @hidden
|
|
1327
|
+
*/
|
|
1328
|
+
export declare const getPreviouslyCopiedItemsData: (previousCopiedItems?: ClipboardItem_2[]) => any[][];
|
|
1329
|
+
|
|
1279
1330
|
/** @hidden */
|
|
1280
1331
|
export declare const getRowIndex: (element: HTMLTableRowElement) => number | undefined;
|
|
1281
1332
|
|
|
1333
|
+
/** @hidden */
|
|
1334
|
+
export declare const getSearchFromString: (search: CompositeFilterDescriptor, value: string) => CompositeFilterDescriptor;
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* @hidden
|
|
1338
|
+
*/
|
|
1339
|
+
export declare const getSelectedItems: (args: PopulateClipboardArgs) => ClipboardItem_2[];
|
|
1340
|
+
|
|
1282
1341
|
/**
|
|
1283
1342
|
* Get selected state from the component selection event.
|
|
1284
1343
|
*
|
|
@@ -1314,6 +1373,15 @@ export declare const getSelectedStateFromKeyDown: (options: {
|
|
|
1314
1373
|
/** @hidden */
|
|
1315
1374
|
export declare const getSelectionOptions: (selectable?: boolean | TableSelectableSettings) => Required<TableSelectableSettings>;
|
|
1316
1375
|
|
|
1376
|
+
/** @hidden */
|
|
1377
|
+
export declare const getStringFromSearch: (search: CompositeFilterDescriptor | undefined) => string;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Represents the object of the `GridClipboardEvent` event.
|
|
1381
|
+
*/
|
|
1382
|
+
export declare interface GridClipboardEvent extends ClipboardDataEvent, ClipboardData {
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1317
1385
|
/**
|
|
1318
1386
|
* @hidden
|
|
1319
1387
|
*/
|
|
@@ -1361,7 +1429,9 @@ export declare type GroupExpandAction = {
|
|
|
1361
1429
|
group: GroupState;
|
|
1362
1430
|
};
|
|
1363
1431
|
|
|
1364
|
-
/**
|
|
1432
|
+
/**
|
|
1433
|
+
* The descriptor used to define the expanded state of a group.
|
|
1434
|
+
*/
|
|
1365
1435
|
export declare type GroupExpandDescriptor = {
|
|
1366
1436
|
value: any;
|
|
1367
1437
|
field: string;
|
|
@@ -1569,6 +1639,11 @@ export declare const isInNonSelectable: (target: HTMLElement | null) => boolean;
|
|
|
1569
1639
|
*/
|
|
1570
1640
|
export declare function isRtl(element: HTMLElement | null): boolean;
|
|
1571
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* @hidden
|
|
1644
|
+
*/
|
|
1645
|
+
export declare const itemToString: (item: any, cols: string[]) => string | null;
|
|
1646
|
+
|
|
1572
1647
|
/**
|
|
1573
1648
|
* @hidden
|
|
1574
1649
|
*/
|
|
@@ -1954,7 +2029,7 @@ export declare interface PagerTargetEvent {
|
|
|
1954
2029
|
*/
|
|
1955
2030
|
export declare interface PopulateClipboardArgs {
|
|
1956
2031
|
/**
|
|
1957
|
-
* Represents the object of the `
|
|
2032
|
+
* Represents the base object of the `ClipboardDataEvent` event.
|
|
1958
2033
|
*/
|
|
1959
2034
|
event: ClipboardDataEvent;
|
|
1960
2035
|
/**
|
|
@@ -1975,6 +2050,10 @@ export declare interface PopulateClipboardArgs {
|
|
|
1975
2050
|
* Passes subItemsField that will be used in grouping cases.
|
|
1976
2051
|
*/
|
|
1977
2052
|
subItemsField?: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Previous copied items.
|
|
2055
|
+
*/
|
|
2056
|
+
previousCopiedItems?: ClipboardItem_2[];
|
|
1978
2057
|
}
|
|
1979
2058
|
|
|
1980
2059
|
/**
|
|
@@ -2005,8 +2084,25 @@ export declare const relativeContextElement: (element: any) => any;
|
|
|
2005
2084
|
export declare const removeItems: (data: any[], subItemsField: string, condition: (item: any) => boolean) => any[];
|
|
2006
2085
|
|
|
2007
2086
|
/**
|
|
2008
|
-
*
|
|
2009
|
-
|
|
2087
|
+
* Represents the SearchField that configures the way a data field is searched.
|
|
2088
|
+
*/
|
|
2089
|
+
export declare interface SearchField {
|
|
2090
|
+
/**
|
|
2091
|
+
* The name of the searched field.
|
|
2092
|
+
*/
|
|
2093
|
+
field: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* The string operator that will be used for search.
|
|
2096
|
+
*/
|
|
2097
|
+
operator?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* Defines if the search is case sensitive.
|
|
2100
|
+
*/
|
|
2101
|
+
ignoreCase?: boolean;
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* The descriptor used to define the selected state of a data-item.
|
|
2010
2106
|
*/
|
|
2011
2107
|
export declare type SelectDescriptor = {
|
|
2012
2108
|
[id: string]: boolean | number[];
|
package/index.d.ts
CHANGED
|
@@ -18,6 +18,11 @@ import * as React_2 from 'react';
|
|
|
18
18
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
19
19
|
import { SVGIcon } from '@progress/kendo-react-common';
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export declare const addHeaders: (initialData: string, cols: string[], event: ClipboardDataEvent) => string;
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* Represents the base object of the `onPageChange` event. It is usually used
|
|
23
28
|
* in custom pager scenarios in cases when we don't need any of the events or the target.
|
|
@@ -199,7 +204,7 @@ export declare interface ClipboardData {
|
|
|
199
204
|
}
|
|
200
205
|
|
|
201
206
|
/**
|
|
202
|
-
* Represents the object of the `
|
|
207
|
+
* Represents the object of the `ClipboardDataEvent` event.
|
|
203
208
|
*/
|
|
204
209
|
export declare interface ClipboardDataEvent {
|
|
205
210
|
/**
|
|
@@ -214,6 +219,10 @@ export declare interface ClipboardDataEvent {
|
|
|
214
219
|
* All the Grid columns. It takes value of type of [ColumnBaseProps]({% slug api_data-tools_columnbaseprops %})<[CellProps]({% slug api_data-tools_cellprops %})>[]
|
|
215
220
|
*/
|
|
216
221
|
columns: ColumnBaseProps[];
|
|
222
|
+
/**
|
|
223
|
+
* Passes the dataItemKey prop in the clipboard action.
|
|
224
|
+
*/
|
|
225
|
+
dataItemKey: string;
|
|
217
226
|
/**
|
|
218
227
|
* Passes the clipboard prop copyHeaders value in the clipboard action.
|
|
219
228
|
*/
|
|
@@ -227,9 +236,13 @@ export declare interface ClipboardDataEvent {
|
|
|
227
236
|
*/
|
|
228
237
|
newLineDelimiter?: string;
|
|
229
238
|
/**
|
|
230
|
-
*
|
|
239
|
+
* This is the item that is clicked if the action is raised from the contextMenu.
|
|
231
240
|
*/
|
|
232
|
-
|
|
241
|
+
dataItem?: any;
|
|
242
|
+
/**
|
|
243
|
+
* This is the column field that is clicked if the action is raised from the contextMenu.
|
|
244
|
+
*/
|
|
245
|
+
field?: string;
|
|
233
246
|
}
|
|
234
247
|
|
|
235
248
|
/**
|
|
@@ -652,6 +665,9 @@ export declare interface ColumnSortSettings {
|
|
|
652
665
|
allowUnsort?: boolean;
|
|
653
666
|
}
|
|
654
667
|
|
|
668
|
+
/** @hidden */
|
|
669
|
+
export declare const combineFilters: (first?: CompositeFilterDescriptor, second?: CompositeFilterDescriptor) => CompositeFilterDescriptor | undefined;
|
|
670
|
+
|
|
655
671
|
/**
|
|
656
672
|
* @hidden
|
|
657
673
|
*/
|
|
@@ -761,7 +777,9 @@ export declare type DetailExpandAction = {
|
|
|
761
777
|
payload: boolean;
|
|
762
778
|
};
|
|
763
779
|
|
|
764
|
-
/**
|
|
780
|
+
/**
|
|
781
|
+
* The descriptor used to define the expanded state of the detail-row.
|
|
782
|
+
*/
|
|
765
783
|
export declare type DetailExpandDescriptor = {
|
|
766
784
|
[id: string]: boolean;
|
|
767
785
|
};
|
|
@@ -844,9 +862,7 @@ export declare type EditAction = {
|
|
|
844
862
|
|
|
845
863
|
/**
|
|
846
864
|
* The `edit` descriptor used to identify which data-items are in edit mode.
|
|
847
|
-
* TODO: uncomment
|
|
848
865
|
*
|
|
849
|
-
* @hidden
|
|
850
866
|
* @example
|
|
851
867
|
* ```ts
|
|
852
868
|
* const data = [
|
|
@@ -1234,6 +1250,21 @@ export declare function flatData(data: any[], getChildren: (dataItem: any) => an
|
|
|
1234
1250
|
/** @hidden */
|
|
1235
1251
|
export declare const flatToTree: (flat: GroupState[]) => GroupExpandDescriptor[];
|
|
1236
1252
|
|
|
1253
|
+
/**
|
|
1254
|
+
* @hidden
|
|
1255
|
+
*/
|
|
1256
|
+
export declare const getClipboardData: (event: ClipboardDataEvent, copiedItems: ClipboardItem_2[]) => string;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* @hidden
|
|
1260
|
+
*/
|
|
1261
|
+
export declare const getClipboardItemsToPaste: (args: PopulateClipboardArgs, clipboardText: string) => string[][];
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @hidden
|
|
1265
|
+
*/
|
|
1266
|
+
export declare const getClipboardText: (copiedItems: ClipboardItem_2[], event: ClipboardDataEvent) => string;
|
|
1267
|
+
|
|
1237
1268
|
/** @hidden */
|
|
1238
1269
|
export declare const getColumnIndex: (element: HTMLTableCellElement) => number | undefined;
|
|
1239
1270
|
|
|
@@ -1273,12 +1304,40 @@ export declare function getIndex(event: any, parent: HTMLTableRowElement | HTMLD
|
|
|
1273
1304
|
*/
|
|
1274
1305
|
export declare const getItemPath: (tree: any[], level: number[], subItemsField?: string) => any[];
|
|
1275
1306
|
|
|
1307
|
+
/**
|
|
1308
|
+
* @hidden
|
|
1309
|
+
*/
|
|
1310
|
+
export declare const getItemsToPaste: (args: PopulateClipboardArgs, clipboardText: string) => any[][];
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* @hidden
|
|
1314
|
+
*/
|
|
1315
|
+
export declare const getItemsToUpdateOnPaste: (args: PopulateClipboardArgs, selectedItems: ClipboardItem_2[], dataLength: number, dataItemKey: string) => any[];
|
|
1316
|
+
|
|
1276
1317
|
/** @hidden */
|
|
1277
1318
|
export declare const getOffset: (offsetParent: any) => any;
|
|
1278
1319
|
|
|
1320
|
+
/**
|
|
1321
|
+
* @hidden
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const getPastedItems: (args: PopulateClipboardArgs, clipboardText: string) => ClipboardItem_2[];
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* @hidden
|
|
1327
|
+
*/
|
|
1328
|
+
export declare const getPreviouslyCopiedItemsData: (previousCopiedItems?: ClipboardItem_2[]) => any[][];
|
|
1329
|
+
|
|
1279
1330
|
/** @hidden */
|
|
1280
1331
|
export declare const getRowIndex: (element: HTMLTableRowElement) => number | undefined;
|
|
1281
1332
|
|
|
1333
|
+
/** @hidden */
|
|
1334
|
+
export declare const getSearchFromString: (search: CompositeFilterDescriptor, value: string) => CompositeFilterDescriptor;
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* @hidden
|
|
1338
|
+
*/
|
|
1339
|
+
export declare const getSelectedItems: (args: PopulateClipboardArgs) => ClipboardItem_2[];
|
|
1340
|
+
|
|
1282
1341
|
/**
|
|
1283
1342
|
* Get selected state from the component selection event.
|
|
1284
1343
|
*
|
|
@@ -1314,6 +1373,15 @@ export declare const getSelectedStateFromKeyDown: (options: {
|
|
|
1314
1373
|
/** @hidden */
|
|
1315
1374
|
export declare const getSelectionOptions: (selectable?: boolean | TableSelectableSettings) => Required<TableSelectableSettings>;
|
|
1316
1375
|
|
|
1376
|
+
/** @hidden */
|
|
1377
|
+
export declare const getStringFromSearch: (search: CompositeFilterDescriptor | undefined) => string;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Represents the object of the `GridClipboardEvent` event.
|
|
1381
|
+
*/
|
|
1382
|
+
export declare interface GridClipboardEvent extends ClipboardDataEvent, ClipboardData {
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1317
1385
|
/**
|
|
1318
1386
|
* @hidden
|
|
1319
1387
|
*/
|
|
@@ -1361,7 +1429,9 @@ export declare type GroupExpandAction = {
|
|
|
1361
1429
|
group: GroupState;
|
|
1362
1430
|
};
|
|
1363
1431
|
|
|
1364
|
-
/**
|
|
1432
|
+
/**
|
|
1433
|
+
* The descriptor used to define the expanded state of a group.
|
|
1434
|
+
*/
|
|
1365
1435
|
export declare type GroupExpandDescriptor = {
|
|
1366
1436
|
value: any;
|
|
1367
1437
|
field: string;
|
|
@@ -1569,6 +1639,11 @@ export declare const isInNonSelectable: (target: HTMLElement | null) => boolean;
|
|
|
1569
1639
|
*/
|
|
1570
1640
|
export declare function isRtl(element: HTMLElement | null): boolean;
|
|
1571
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* @hidden
|
|
1644
|
+
*/
|
|
1645
|
+
export declare const itemToString: (item: any, cols: string[]) => string | null;
|
|
1646
|
+
|
|
1572
1647
|
/**
|
|
1573
1648
|
* @hidden
|
|
1574
1649
|
*/
|
|
@@ -1954,7 +2029,7 @@ export declare interface PagerTargetEvent {
|
|
|
1954
2029
|
*/
|
|
1955
2030
|
export declare interface PopulateClipboardArgs {
|
|
1956
2031
|
/**
|
|
1957
|
-
* Represents the object of the `
|
|
2032
|
+
* Represents the base object of the `ClipboardDataEvent` event.
|
|
1958
2033
|
*/
|
|
1959
2034
|
event: ClipboardDataEvent;
|
|
1960
2035
|
/**
|
|
@@ -1975,6 +2050,10 @@ export declare interface PopulateClipboardArgs {
|
|
|
1975
2050
|
* Passes subItemsField that will be used in grouping cases.
|
|
1976
2051
|
*/
|
|
1977
2052
|
subItemsField?: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* Previous copied items.
|
|
2055
|
+
*/
|
|
2056
|
+
previousCopiedItems?: ClipboardItem_2[];
|
|
1978
2057
|
}
|
|
1979
2058
|
|
|
1980
2059
|
/**
|
|
@@ -2005,8 +2084,25 @@ export declare const relativeContextElement: (element: any) => any;
|
|
|
2005
2084
|
export declare const removeItems: (data: any[], subItemsField: string, condition: (item: any) => boolean) => any[];
|
|
2006
2085
|
|
|
2007
2086
|
/**
|
|
2008
|
-
*
|
|
2009
|
-
|
|
2087
|
+
* Represents the SearchField that configures the way a data field is searched.
|
|
2088
|
+
*/
|
|
2089
|
+
export declare interface SearchField {
|
|
2090
|
+
/**
|
|
2091
|
+
* The name of the searched field.
|
|
2092
|
+
*/
|
|
2093
|
+
field: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* The string operator that will be used for search.
|
|
2096
|
+
*/
|
|
2097
|
+
operator?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* Defines if the search is case sensitive.
|
|
2100
|
+
*/
|
|
2101
|
+
ignoreCase?: boolean;
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* The descriptor used to define the selected state of a data-item.
|
|
2010
2106
|
*/
|
|
2011
2107
|
export declare type SelectDescriptor = {
|
|
2012
2108
|
[id: string]: boolean | number[];
|
package/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./pager/Pager.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./pager/Pager.js"),g=require("./drag/ColumnResize.js"),p=require("./drag/ColumnResizer.js"),_=require("./drag/CommonDragLogic.js"),D=require("./drag/DragClue.js"),N=require("./drag/DropClue.js"),e=require("./utils/data-operations.js"),u=require("./utils/group-operations.js"),F=require("./navigation/hooks.js"),t=require("./navigation/constants.js"),b=require("./navigation/NavigatableSettings.js"),O=require("./navigation/TableKeyboardNavigation.js"),I=require("./navigation/TableKeyboardNavigationContext.js"),S=require("./navigation/utils.js"),R=require("./selection/TableSelection.js"),s=require("./selection/constants.js"),o=require("./selection/utils.js"),q=require("./editing/utils.js"),d=require("./editing/editReducer.js"),B=require("./detail-expansion/utils.js"),C=require("./detail-expansion/expandReducer.js"),a=require("./group-expansion/groupExpandReducer.js"),x=require("./clipboard/clipboard.service.js"),r=require("./clipboard/common.js"),L=require("./filteringCells/FilterComponent.js"),M=require("./filteringCells/BooleanFilter.js"),K=require("./filteringCells/DateFilter.js"),y=require("./filteringCells/NumericFilter.js"),v=require("./filteringCells/TextFilter.js"),P=require("./header/ColumnProps.js"),c=require("./header/FilterRow.js"),H=require("./header/Header.js"),V=require("./header/HeaderCell.js"),Y=require("./header/HeaderRow.js"),f=require("./header/HeaderSelectionCell.js"),U=require("./header/SortSettings.js"),n=require("./header/utils/index.js"),G=require("./header/HeaderThElement.js"),h=require("./header/HeaderTdElement.js"),w=require("./virtualization/columns.js"),z=require("./filter/filters/TextFilter.js"),X=require("./filter/filters/NumericFilter.js"),$=require("./filter/filters/DateFilter.js"),W=require("./filter/filters/BooleanFilter.js"),Z=require("./filter/filters/EnumFilter.js"),j=require("./filter/Expression.js"),T=require("./filter/Filter.js"),k=require("./filter/Group.js"),m=require("./filter/operators.js"),i=require("./columnmenu/ColumnMenu.js"),E=require("./columnmenu/ColumnMenuFilterForm.js"),J=require("./columnmenu/ColumnMenuFilterLogic.js"),l=require("./columnmenu/ColumnMenuFilters.js"),Q=require("./columnmenu/ColumnMenuItem.js"),ee=require("./columnmenu/ColumnMenuOperators.js");exports.Pager=A.Pager;exports.ColumnResize=g.ColumnResize;exports.ColumnResizer=p.ColumnResizer;exports.CommonDragLogic=_.CommonDragLogic;exports.DragClue=D.DragClue;exports.DropClue=N.DropClue;exports.combineFilters=e.combineFilters;exports.createDataTree=e.createDataTree;exports.extendDataItem=e.extendDataItem;exports.filterBy=e.filterBy;exports.flatData=e.flatData;exports.getItemPath=e.getItemPath;exports.getSearchFromString=e.getSearchFromString;exports.getStringFromSearch=e.getStringFromSearch;exports.modifySubItems=e.modifySubItems;exports.moveTreeItem=e.moveTreeItem;exports.orderBy=e.orderBy;exports.removeItems=e.removeItems;exports.treeToFlat=e.treeToFlat;exports.getGroupIds=u.getGroupIds;exports.setExpandedState=u.setExpandedState;exports.setGroupIds=u.setGroupIds;exports.useTableKeyboardNavigation=F.useTableKeyboardNavigation;exports.KEYBOARD_NAV_CANCEL_BUTTON_CLASS=t.KEYBOARD_NAV_CANCEL_BUTTON_CLASS;exports.KEYBOARD_NAV_DATA_BODY=t.KEYBOARD_NAV_DATA_BODY;exports.KEYBOARD_NAV_DATA_HEADER=t.KEYBOARD_NAV_DATA_HEADER;exports.KEYBOARD_NAV_DATA_ID=t.KEYBOARD_NAV_DATA_ID;exports.KEYBOARD_NAV_DATA_LEVEL=t.KEYBOARD_NAV_DATA_LEVEL;exports.KEYBOARD_NAV_DATA_SCOPE=t.KEYBOARD_NAV_DATA_SCOPE;exports.KEYBOARD_NAV_DATA_ZONE=t.KEYBOARD_NAV_DATA_ZONE;exports.KEYBOARD_NAV_EDIT_BUTTON_CLASS=t.KEYBOARD_NAV_EDIT_BUTTON_CLASS;exports.KEYBOARD_NAV_FILTER_COL_SUFFIX=t.KEYBOARD_NAV_FILTER_COL_SUFFIX;exports.tableKeyboardNavigationBodyAttributes=t.tableKeyboardNavigationBodyAttributes;exports.tableKeyboardNavigationHeaderAttributes=t.tableKeyboardNavigationHeaderAttributes;exports.tableKeyboardNavigationScopeAttributes=t.tableKeyboardNavigationScopeAttributes;exports.NavigatableMode=b.NavigatableMode;exports.tableKeyboardNavigation=O.tableKeyboardNavigation;exports.TableKeyboardNavigationContext=I.TableKeyboardNavigationContext;exports.tableKeyboardNavigationTools=S.tableKeyboardNavigationTools;exports.TableSelection=R.TableSelection;exports.TABLE_COL_INDEX_ATTRIBUTE=s.TABLE_COL_INDEX_ATTRIBUTE;exports.TABLE_PREVENT_SELECTION_ELEMENT=s.TABLE_PREVENT_SELECTION_ELEMENT;exports.TABLE_ROW_INDEX_ATTRIBUTE=s.TABLE_ROW_INDEX_ATTRIBUTE;exports.closestTagName=o.closestTagName;exports.getColumnIndex=o.getColumnIndex;exports.getOffset=o.getOffset;exports.getRowIndex=o.getRowIndex;exports.getSelectedState=o.getSelectedState;exports.getSelectedStateFromKeyDown=o.getSelectedStateFromKeyDown;exports.getSelectionOptions=o.getSelectionOptions;exports.isInNonSelectable=o.isInNonSelectable;exports.relativeContextElement=o.relativeContextElement;exports.setSelectedState=o.setSelectedState;exports.getEditableOptions=q.getEditableOptions;exports.EDIT_ACTION=d.EDIT_ACTION;exports.editReducer=d.editReducer;exports.getDetailExpandableOptions=B.getDetailExpandableOptions;exports.DETAIL_EXPAND_ACTION=C.DETAIL_EXPAND_ACTION;exports.detailExpandReducer=C.detailExpandReducer;exports.GROUP_EXPAND_ACTION=a.GROUP_EXPAND_ACTION;exports.findGroupExpand=a.findGroupExpand;exports.flatToTree=a.flatToTree;exports.getGroupExpandableOptions=a.getGroupExpandableOptions;exports.groupExpandReducer=a.groupExpandReducer;exports.isExpanded=a.isExpanded;exports.ClipboardService=x.ClipboardService;exports.ClipboardActionType=r.ClipboardActionType;exports.addHeaders=r.addHeaders;exports.getClipboardData=r.getClipboardData;exports.getClipboardItemsToPaste=r.getClipboardItemsToPaste;exports.getClipboardText=r.getClipboardText;exports.getItemsToPaste=r.getItemsToPaste;exports.getItemsToUpdateOnPaste=r.getItemsToUpdateOnPaste;exports.getPastedItems=r.getPastedItems;exports.getPreviouslyCopiedItemsData=r.getPreviouslyCopiedItemsData;exports.getSelectedItems=r.getSelectedItems;exports.itemToString=r.itemToString;exports.populateClipboardData=r.populateClipboardData;exports.createFilterComponent=L.createFilterComponent;exports.BooleanFilterCell=M.BooleanFilterCell;exports.DateFilterCell=K.DateFilterCell;exports.NumericFilterCell=y.NumericFilterCell;exports.TextFilterCell=v.TextFilterCell;exports.ColumnDefaultProps=P.ColumnDefaultProps;exports.FILTER_ROW_CLASS=c.FILTER_ROW_CLASS;exports.FilterRow=c.FilterRow;exports.Header=H.Header;exports.HeaderCell=V.HeaderCell;exports.HeaderRow=Y.HeaderRow;exports.HeaderSelectionCell=f.HeaderSelectionCell;exports.normalize=U.normalize;exports.getIndex=n.getIndex;exports.isRtl=n.isRtl;exports.mapColumns=n.mapColumns;exports.nextColumn=n.nextColumn;exports.readColumns=n.readColumns;exports.updateLeft=n.updateLeft;exports.updateRight=n.updateRight;exports.HeaderThElement=G.HeaderThElement;exports.HeaderTdElement=h.HeaderTdElement;exports.tableColumnsVirtualization=w.tableColumnsVirtualization;exports.TextFilter=z.TextFilter;exports.NumericFilter=X.NumericFilter;exports.DateFilter=$.DateFilter;exports.BooleanFilter=W.BooleanFilter;exports.EnumFilter=Z.EnumFilter;exports.Expression=j.Expression;exports.Filter=T.Filter;exports.selectors=T.selectors;exports.Group=k.Group;exports.Operators=m.Operators;exports.stringOperator=m.stringOperator;exports.unaryOperator=m.unaryOperator;exports.ColumnMenuBooleanColumn=i.ColumnMenuBooleanColumn;exports.ColumnMenuDateColumn=i.ColumnMenuDateColumn;exports.ColumnMenuNumericColumn=i.ColumnMenuNumericColumn;exports.ColumnMenuTextColumn=i.ColumnMenuTextColumn;exports.ColumnMenuFilterForm=E.ColumnMenuFilterForm;exports.ColumnMenuForm=E.ColumnMenuForm;exports.ColumnMenuFilterLogic=J.ColumnMenuFilterLogic;exports.ColumnMenuBooleanFilter=l.ColumnMenuBooleanFilter;exports.ColumnMenuDateFilter=l.ColumnMenuDateFilter;exports.ColumnMenuNumericFilter=l.ColumnMenuNumericFilter;exports.ColumnMenuTextFilter=l.ColumnMenuTextFilter;exports.ColumnMenuItem=Q.ColumnMenuItem;exports.ColumnMenuOperators=ee.ColumnMenuOperators;
|