@progress/kendo-react-grid 9.4.0-develop.2 → 9.4.0-develop.21
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/Grid.js +1 -1
- package/Grid.mjs +4 -5
- package/GridClientContextReader.js +2 -1
- package/GridClientContextReader.mjs +15 -14
- package/GridClientWrapper.js +2 -1
- package/GridClientWrapper.mjs +508 -421
- package/GridColumn.js +1 -1
- package/GridColumn.mjs +4 -5
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +342 -306
- package/GridSearchBox.js +8 -0
- package/GridSearchBox.mjs +35 -0
- package/GridState.js +2 -1
- package/GridState.mjs +79 -67
- package/GridToolbar.js +1 -1
- package/GridToolbar.mjs +5 -6
- package/GridWatermarkOverlay.js +2 -1
- package/GridWatermarkOverlay.mjs +2 -2
- package/NOTICE.txt +40 -51
- package/StatusBar.js +1 -1
- package/StatusBar.mjs +0 -1
- package/VirtualScroll.js +1 -1
- package/VirtualScroll.mjs +0 -1
- package/VirtualScrollFixed.js +1 -1
- package/VirtualScrollFixed.mjs +9 -10
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +25 -23
- package/cells/GridDetailCell.js +1 -1
- package/cells/GridDetailCell.mjs +5 -6
- package/cells/GridDetailHierarchyCell.js +1 -1
- package/cells/GridDetailHierarchyCell.mjs +4 -5
- package/cells/GridEditCell.js +1 -1
- package/cells/GridEditCell.mjs +6 -7
- package/cells/GridFilterCell.js +2 -1
- package/cells/GridGroupCell.js +1 -1
- package/cells/GridGroupCell.mjs +11 -12
- package/cells/GridHierarchyCell.js +1 -1
- package/cells/GridHierarchyCell.mjs +7 -8
- package/cells/GridRowReorderCell.js +1 -1
- package/cells/GridRowReorderCell.mjs +3 -4
- package/cells/GridSelectionCell.js +1 -1
- package/cells/GridSelectionCell.mjs +12 -13
- package/cells/client/DetailCellContainer.js +2 -1
- package/cells/client/DetailCellContainer.mjs +2 -2
- package/cells/client/GridCellContainer.js +2 -1
- package/cells/client/GridEditCellContainer.js +2 -1
- package/cells/client/GridEditCellEditor.js +2 -1
- package/cells/client/GridEditCellEditor.mjs +14 -14
- package/cells/client/GridGroupCellContainer.js +2 -1
- package/cells/client/GridGroupCellContainer.mjs +39 -39
- package/cells/client/GridGroupCellToggle.js +2 -1
- package/cells/client/GridGroupCellToggle.mjs +3 -3
- package/cells/client/GridHierarchyCellContainer.js +2 -1
- package/cells/client/GridHierarchyCellToggle.js +2 -1
- package/cells/client/GridHierarchyCellToggle.mjs +15 -15
- package/cells/client/GridRowReorderContainer.js +2 -1
- package/cells/client/GridRowReorderContainer.mjs +14 -8
- package/cells/client/GridSelectionCellContainer.js +2 -1
- package/cells/client/GridSelectionCellInput.js +2 -1
- package/cells/client/GridSelectionCellInput.mjs +3 -3
- package/columnMenu/GridColumnMenuCheckboxFilter.js +2 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +56 -55
- package/columnMenu/GridColumnMenuColumnsChooser.js +9 -0
- package/columnMenu/GridColumnMenuColumnsChooser.mjs +82 -0
- package/columnMenu/GridColumnMenuColumnsList.js +2 -1
- package/columnMenu/GridColumnMenuColumnsList.mjs +16 -16
- package/columnMenu/GridColumnMenuFilter.js +2 -1
- package/columnMenu/GridColumnMenuFilterCell.js +2 -1
- package/columnMenu/GridColumnMenuFilterCell.mjs +3 -3
- package/columnMenu/GridColumnMenuFilterUI.js +2 -1
- package/columnMenu/GridColumnMenuGroup.js +2 -1
- package/columnMenu/GridColumnMenuGroup.mjs +5 -5
- package/columnMenu/GridColumnMenuItem.js +2 -1
- package/columnMenu/GridColumnMenuItem.mjs +2 -2
- package/columnMenu/GridColumnMenuItemContent.js +2 -1
- package/columnMenu/GridColumnMenuItemContent.mjs +4 -4
- package/columnMenu/GridColumnMenuItemGroup.js +2 -1
- package/columnMenu/GridColumnMenuItemGroup.mjs +4 -4
- package/columnMenu/GridColumnMenuSort.js +2 -1
- package/columnMenu/GridColumnMenuSort.mjs +8 -8
- package/columnMenu/GridColumnMenuWrapper.js +2 -1
- package/components/GridContainerElementContainer.js +2 -1
- package/components/GridCustomCellClientContainer.js +2 -1
- package/components/GridCustomCellClientContainer.mjs +2 -2
- package/components/GridDragClue.js +2 -1
- package/components/GridDragClue.mjs +5 -5
- package/components/GridDraggableRowsContainer.js +2 -1
- package/components/GridDropClue.js +2 -1
- package/components/GridDropClue.mjs +5 -5
- package/components/GridElementContainer.js +2 -1
- package/components/GridElementContainer.mjs +6 -6
- package/components/GridLoader.js +9 -0
- package/components/GridLoader.mjs +22 -0
- package/components/PagerContainer.js +2 -1
- package/components/PagerContainer.mjs +4 -4
- package/components/VirtualScrollHeightContainer.js +2 -1
- package/components/VirtualScrollHeightContainer.mjs +2 -2
- package/components/colGroup/GridColGroup.js +2 -1
- package/components/colGroup/GridColGroup.mjs +5 -5
- package/components/icons/reorder-row-svg.js +2 -1
- package/components/icons/reorder-row-svg.mjs +2 -2
- package/components/noRecords/GridNoRecords.js +2 -1
- package/components/noRecords/GridNoRecords.mjs +5 -5
- package/components/noRecords/GridNoRecordsContainer.js +2 -1
- package/components/noRecords/GridNoRecordsContainer.mjs +4 -4
- package/components/table/GridTable.js +2 -1
- package/components/table/GridTable.mjs +4 -4
- package/components/table/GridTableBody.js +2 -1
- package/components/table/GridTableBody.mjs +2 -2
- package/components/table/GridTableScrollable.js +2 -1
- package/components/table/GridTableScrollable.mjs +6 -6
- package/components/utils.js +1 -1
- package/components/utils.mjs +0 -1
- package/constants/index.js +1 -1
- package/constants/index.mjs +0 -1
- package/contextMenu/GridContextMenu.js +2 -1
- package/contextMenu/GridContextMenu.mjs +3 -3
- package/contextMenu/enums.js +1 -1
- package/contextMenu/enums.mjs +0 -1
- package/dist/cdn/js/kendo-react-grid.js +8 -1
- package/drag/ColumnDraggable.js +2 -1
- package/drag/ColumnDraggable.mjs +7 -7
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +0 -1
- package/drag/CommonDragLogic.js +1 -1
- package/drag/CommonDragLogic.mjs +0 -1
- package/drag/GroupingIndicator.js +2 -1
- package/drag/GroupingIndicator.mjs +11 -11
- package/filterCommon.js +1 -1
- package/filterCommon.mjs +4 -5
- package/footer/Footer.js +2 -1
- package/footer/FooterCell.js +1 -1
- package/footer/FooterCell.mjs +3 -4
- package/footer/FooterRow.js +1 -1
- package/footer/FooterRow.mjs +6 -7
- package/footer/client/FooterCellContainer.js +2 -1
- package/footer/client/FooterCellContainer.mjs +5 -5
- package/header/FilterRow.js +1 -1
- package/header/FilterRow.mjs +41 -43
- package/header/GridHeaderCell.js +2 -1
- package/header/GridHeaderCell.mjs +4 -4
- package/header/GridHeaderSelectionCell.js +2 -1
- package/header/GroupPanel.js +2 -1
- package/header/Header.js +2 -1
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +33 -35
- package/header/client/GridFilterCellContainer.js +2 -1
- package/header/client/GridFilterCellContainer.mjs +7 -7
- package/header/client/GridFilterCellElementContainer.js +2 -1
- package/header/client/GridHeaderCellContainer.js +2 -1
- package/header/client/GridHeaderCellContainer.mjs +20 -18
- package/header/client/GridHeaderCellElementContainer.js +2 -1
- package/header/client/GridHeaderCellElementContainer.mjs +10 -10
- package/header/client/GridHeaderRowContainer.js +2 -1
- package/header/client/GridHeaderRowReorderCell.js +2 -1
- package/header/client/GridHeaderRowReorderCell.mjs +2 -2
- package/header/client/HeaderCellResizer.js +2 -1
- package/header/client/HeaderRowDraggable.js +2 -1
- package/index.d.mts +214 -8
- package/index.d.ts +214 -8
- package/index.js +1 -1
- package/index.mjs +71 -68
- package/messages/index.js +1 -1
- package/messages/index.mjs +38 -37
- package/messages/messagesMap.js +1 -1
- package/messages/messagesMap.mjs +2 -3
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -3
- package/package.json +13 -12
- package/paging/GridPagerSettings.js +1 -1
- package/paging/GridPagerSettings.mjs +6 -7
- package/rows/GridDetailRow.js +1 -1
- package/rows/GridDetailRow.mjs +2 -3
- package/rows/GridRow.js +2 -1
- package/rows/GridRow.mjs +45 -45
- package/sortCommon.js +8 -0
- package/{interfaces/GridSortSettings.mjs → sortCommon.mjs} +0 -1
- package/utils/_clientModule.js +2 -1
- package/utils/_clientModule.mjs +2 -2
- package/utils/_serverModule.js +1 -1
- package/utils/_serverModule.mjs +0 -1
- package/utils/index.js +1 -1
- package/utils/index.mjs +138 -129
- package/interfaces/GridSortSettings.js +0 -8
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
9
|
import { CellProps } from '@progress/kendo-react-data-tools';
|
|
10
|
-
import { ClipboardDataEvent } from '@progress/kendo-react-data-tools';
|
|
11
10
|
import { ClipboardSettings } from '@progress/kendo-react-data-tools';
|
|
12
11
|
import { ColumnBaseProps } from '@progress/kendo-react-data-tools';
|
|
13
12
|
import { ColumnSortSettings } from '@progress/kendo-react-data-tools';
|
|
@@ -22,13 +21,16 @@ import { FilterOperator } from '@progress/kendo-react-data-tools';
|
|
|
22
21
|
import { getSelectedState } from '@progress/kendo-react-data-tools';
|
|
23
22
|
import { getSelectedStateFromKeyDown } from '@progress/kendo-react-data-tools';
|
|
24
23
|
import { GridClassStructure } from '@progress/kendo-react-common';
|
|
24
|
+
import { GridClipboardEvent } from '@progress/kendo-react-data-tools';
|
|
25
25
|
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
26
26
|
import { GroupExpandDescriptor } from '@progress/kendo-react-data-tools';
|
|
27
27
|
import { GroupState } from '@progress/kendo-react-data-tools';
|
|
28
28
|
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
29
29
|
import { HeaderThElementProps } from '@progress/kendo-react-data-tools';
|
|
30
|
+
import { IntlService } from '@progress/kendo-react-intl';
|
|
30
31
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
31
32
|
import { KendoReactComponentBaseProps } from '@progress/kendo-react-common';
|
|
33
|
+
import { LocalizationService } from '@progress/kendo-react-intl';
|
|
32
34
|
import { MenuItemModel } from '@progress/kendo-react-layout';
|
|
33
35
|
import { MenuSelectEvent } from '@progress/kendo-react-layout';
|
|
34
36
|
import { NavigatableSettings } from '@progress/kendo-react-data-tools';
|
|
@@ -38,6 +40,7 @@ import { PagerProps } from '@progress/kendo-react-data-tools';
|
|
|
38
40
|
import { PagerTargetEvent } from '@progress/kendo-react-data-tools';
|
|
39
41
|
import * as React_2 from 'react';
|
|
40
42
|
import { ReactElement } from 'react';
|
|
43
|
+
import { SearchField } from '@progress/kendo-react-data-tools';
|
|
41
44
|
import { SelectDescriptor } from '@progress/kendo-react-data-tools';
|
|
42
45
|
import { setSelectedState } from '@progress/kendo-react-data-tools';
|
|
43
46
|
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
@@ -53,6 +56,8 @@ import { TableKeyDownEvent } from '@progress/kendo-react-data-tools';
|
|
|
53
56
|
import { TableSelectableMode } from '@progress/kendo-react-data-tools';
|
|
54
57
|
import { TableSelectableSettings } from '@progress/kendo-react-data-tools';
|
|
55
58
|
import { TableSelectionChangeEvent } from '@progress/kendo-react-data-tools';
|
|
59
|
+
import { TextBoxChangeEvent } from '@progress/kendo-react-inputs';
|
|
60
|
+
import { TextBoxProps } from '@progress/kendo-react-inputs';
|
|
56
61
|
|
|
57
62
|
/**
|
|
58
63
|
* The value of the filter operators displayed in the boolean filter menu.
|
|
@@ -247,6 +252,7 @@ declare interface ExtendedColumnProps extends GridColumnProps {
|
|
|
247
252
|
isAccessible: boolean;
|
|
248
253
|
/** @hidden _internal usage only */
|
|
249
254
|
_type?: 'edit' | 'expand';
|
|
255
|
+
rowSpannable?: Required<GridRowSpannableSettings>;
|
|
250
256
|
}
|
|
251
257
|
|
|
252
258
|
/**
|
|
@@ -300,7 +306,7 @@ export declare const GRID_PREVENT_SELECTION_ELEMENT = "data-prevent-selection";
|
|
|
300
306
|
/** The attribute required by the Grid selection on Grid `tr` elements. */
|
|
301
307
|
export declare const GRID_ROW_INDEX_ATTRIBUTE = "data-grid-row-index";
|
|
302
308
|
|
|
303
|
-
export declare const GridCell: (props: GridCellProps) => JSX_2.Element;
|
|
309
|
+
export declare const GridCell: (props: GridCellProps) => JSX_2.Element | null;
|
|
304
310
|
|
|
305
311
|
/**
|
|
306
312
|
* Represents the `GridCellBaseOptions` object that are passed to the handler.
|
|
@@ -401,6 +407,15 @@ export declare interface GridCellProps extends Omit<CellProps, 'onChange' | 'ren
|
|
|
401
407
|
columnPosition: any;
|
|
402
408
|
/** @hidden */
|
|
403
409
|
group?: GroupState;
|
|
410
|
+
/** @hidden */
|
|
411
|
+
localization?: LocalizationService;
|
|
412
|
+
/** @hidden */
|
|
413
|
+
intl?: IntlService;
|
|
414
|
+
/** @hidden */
|
|
415
|
+
_rowSpan?: {
|
|
416
|
+
count: number | null;
|
|
417
|
+
value: any;
|
|
418
|
+
};
|
|
404
419
|
}
|
|
405
420
|
|
|
406
421
|
/**
|
|
@@ -544,6 +559,31 @@ export declare interface GridColumnMenuColumnProps {
|
|
|
544
559
|
id?: string;
|
|
545
560
|
}
|
|
546
561
|
|
|
562
|
+
/**
|
|
563
|
+
* Represents the KendoReact GridColumnMenuColumnsChooser component.
|
|
564
|
+
*/
|
|
565
|
+
export declare const GridColumnMenuColumnsChooser: React_2.FunctionComponent<GridColumnMenuColumnsChooserProps>;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* The props passed to the ColumnMenu ColumnsChooser component.
|
|
569
|
+
*/
|
|
570
|
+
declare interface GridColumnMenuColumnsChooserBaseProps extends GridColumnMenuBaseProps {
|
|
571
|
+
/**
|
|
572
|
+
* The columns state of the KendoReact GridColumnMenuColumnsChooser component.
|
|
573
|
+
*/
|
|
574
|
+
columnsState?: GridColumnState[];
|
|
575
|
+
/**
|
|
576
|
+
* The method that will be called when the new columns state is applied.
|
|
577
|
+
*/
|
|
578
|
+
onColumnsStateChange?: Function;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* The props of the GridColumnMenuColumnsChooser component.
|
|
583
|
+
*/
|
|
584
|
+
export declare interface GridColumnMenuColumnsChooserProps extends GridColumnMenuColumnsChooserBaseProps {
|
|
585
|
+
}
|
|
586
|
+
|
|
547
587
|
/**
|
|
548
588
|
* Represents the KendoReact GridColumnMenuColumnsList component.
|
|
549
589
|
*/
|
|
@@ -871,7 +911,7 @@ declare interface GridColumnMenuItemProps {
|
|
|
871
911
|
/**
|
|
872
912
|
* The props which the ColumnMenu passes to its children.
|
|
873
913
|
*/
|
|
874
|
-
export declare interface GridColumnMenuProps extends GridColumnMenuFilterBaseProps, GridColumnMenuSortBaseProps, GridColumnMenuGroupBaseProps {
|
|
914
|
+
export declare interface GridColumnMenuProps extends GridColumnMenuFilterBaseProps, GridColumnMenuSortBaseProps, GridColumnMenuGroupBaseProps, GridColumnMenuColumnsChooserBaseProps {
|
|
875
915
|
navigatable?: boolean;
|
|
876
916
|
show?: boolean;
|
|
877
917
|
}
|
|
@@ -1087,6 +1127,10 @@ export declare interface GridColumnProps extends Omit<ColumnBaseProps, 'cell'> {
|
|
|
1087
1127
|
* @default "data"
|
|
1088
1128
|
*/
|
|
1089
1129
|
columnType?: GridColumnType;
|
|
1130
|
+
/**
|
|
1131
|
+
* Defines if the cells of the column should be spanned when their values are the same.
|
|
1132
|
+
*/
|
|
1133
|
+
rowSpannable?: boolean | GridRowSpannableSettings;
|
|
1090
1134
|
}
|
|
1091
1135
|
|
|
1092
1136
|
/**
|
|
@@ -1160,12 +1204,52 @@ export declare interface GridColumnResizeEvent {
|
|
|
1160
1204
|
declare interface GridColumnSortSettings extends ColumnSortSettings {
|
|
1161
1205
|
}
|
|
1162
1206
|
|
|
1207
|
+
/**
|
|
1208
|
+
* Represents the object of the `onColumnsStateChange` Grid event.
|
|
1209
|
+
*/
|
|
1210
|
+
export declare interface GridColumnsStateChangeEvent {
|
|
1211
|
+
/**
|
|
1212
|
+
* An event target.
|
|
1213
|
+
*/
|
|
1214
|
+
target: GridHandle;
|
|
1215
|
+
/**
|
|
1216
|
+
* The columns state collection.
|
|
1217
|
+
*/
|
|
1218
|
+
columnsState: GridColumnState[];
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* The state of the GridColumn
|
|
1223
|
+
*/
|
|
1224
|
+
export declare interface GridColumnState {
|
|
1225
|
+
/**
|
|
1226
|
+
* The id of the column.
|
|
1227
|
+
*/
|
|
1228
|
+
id: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* The field of the column.
|
|
1231
|
+
*/
|
|
1232
|
+
field?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* The title of the column.
|
|
1235
|
+
*/
|
|
1236
|
+
title?: string;
|
|
1237
|
+
/**
|
|
1238
|
+
* The value indicating whether a column is visible or not.
|
|
1239
|
+
*/
|
|
1240
|
+
hidden?: boolean;
|
|
1241
|
+
/**
|
|
1242
|
+
* A collection of child states.
|
|
1243
|
+
*/
|
|
1244
|
+
children?: GridColumnState[];
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1163
1247
|
/**
|
|
1164
1248
|
* Sets the column type.
|
|
1165
1249
|
*
|
|
1166
1250
|
* @default "data"
|
|
1167
1251
|
*/
|
|
1168
|
-
export declare type GridColumnType = 'data' | 'reorder' | '
|
|
1252
|
+
export declare type GridColumnType = 'data' | 'reorder' | 'checkbox';
|
|
1169
1253
|
|
|
1170
1254
|
/**
|
|
1171
1255
|
* @hidden
|
|
@@ -1389,6 +1473,20 @@ export declare interface GridCustomHeaderCellProps extends GridHeaderCellProps {
|
|
|
1389
1473
|
index?: number;
|
|
1390
1474
|
}
|
|
1391
1475
|
|
|
1476
|
+
/**
|
|
1477
|
+
* The properties of the default Grid Row.
|
|
1478
|
+
*/
|
|
1479
|
+
export declare interface GridCustomRowProps extends GridRowProps {
|
|
1480
|
+
/**
|
|
1481
|
+
* The props and attributes that are applied to the tr element by default.
|
|
1482
|
+
*/
|
|
1483
|
+
trProps?: React.HTMLAttributes<HTMLTableRowElement> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* The default children of the table row.
|
|
1486
|
+
*/
|
|
1487
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1392
1490
|
/**
|
|
1393
1491
|
* Represents the object of the `onDataStateChange` Grid event.
|
|
1394
1492
|
*/
|
|
@@ -1904,6 +2002,7 @@ export declare const gridMessages: {
|
|
|
1904
2002
|
"grid.pagerOf": string;
|
|
1905
2003
|
"grid.pagerTotalPages": string;
|
|
1906
2004
|
"grid.searchPlaceholder": string;
|
|
2005
|
+
"grid.searchboxPlaceholder": string;
|
|
1907
2006
|
"grid.filterCheckAll": string;
|
|
1908
2007
|
"grid.filterChooseOperator": string;
|
|
1909
2008
|
"grid.filterSelectedItems": string;
|
|
@@ -2065,6 +2164,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2065
2164
|
/** @hidden */
|
|
2066
2165
|
autoProcessData?: boolean | {
|
|
2067
2166
|
filter?: boolean;
|
|
2167
|
+
search?: boolean;
|
|
2068
2168
|
sort?: boolean;
|
|
2069
2169
|
group?: boolean;
|
|
2070
2170
|
page?: boolean;
|
|
@@ -2082,6 +2182,10 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2082
2182
|
* Sets a set of custom components that the Grid will render instead of the built-in cell.
|
|
2083
2183
|
*/
|
|
2084
2184
|
cells?: GridCellsSettings;
|
|
2185
|
+
/**
|
|
2186
|
+
* Sets a set of custom components that the Grid will render instead of the built-in row.
|
|
2187
|
+
*/
|
|
2188
|
+
rows?: GridRowsSettings;
|
|
2085
2189
|
/**
|
|
2086
2190
|
* Sets the data of the Grid ([see example]({% slug paging_grid %})). If you use paging, the `data` option has to contain only the items for the current page. It takes values of type null, any or [DataResult]({% slug api_kendo-data-query_dataresult%})
|
|
2087
2191
|
*/
|
|
@@ -2095,9 +2199,9 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2095
2199
|
*/
|
|
2096
2200
|
clipboard?: ClipboardSettings | boolean;
|
|
2097
2201
|
/**
|
|
2098
|
-
* Fires when clipboard support is enabled and the one of the actions 'copy'. The event accepts type [
|
|
2202
|
+
* Fires when clipboard support is enabled and the one of the actions 'copy'. The event accepts type [GridClipboardEvent]({% slug api_data-tools_gridclipboardevent %}). Only fired when the Grid is run as a client component.
|
|
2099
2203
|
*/
|
|
2100
|
-
onClipboard?: (event:
|
|
2204
|
+
onClipboard?: (event: GridClipboardEvent) => void;
|
|
2101
2205
|
/**
|
|
2102
2206
|
* Fires when the sorting of the Grid is changed ([see example]({% slug sorting_grid %})). You have to handle the event yourself and sort the data.
|
|
2103
2207
|
*/
|
|
@@ -2126,6 +2230,14 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2126
2230
|
* Fires when the Grid filter is modified through the UI ([more information and examples]({% slug filtering_grid %})). You have to handle the event yourself and filter the data.
|
|
2127
2231
|
*/
|
|
2128
2232
|
onFilterChange?: (event: GridFilterChangeEvent) => void;
|
|
2233
|
+
/**
|
|
2234
|
+
* Specifies if the loader of the Grid will be displayed.
|
|
2235
|
+
*/
|
|
2236
|
+
showLoader?: boolean;
|
|
2237
|
+
/**
|
|
2238
|
+
* A custom component that the Grid will render instead of the built-in loader.
|
|
2239
|
+
*/
|
|
2240
|
+
loader?: React.ReactNode;
|
|
2129
2241
|
/**
|
|
2130
2242
|
* Fires when the user reorders a row.
|
|
2131
2243
|
*/
|
|
@@ -2226,7 +2338,7 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2226
2338
|
/**
|
|
2227
2339
|
* The Grid selectable settings.
|
|
2228
2340
|
*/
|
|
2229
|
-
selectable?: GridSelectableSettings;
|
|
2341
|
+
selectable?: boolean | GridSelectableSettings;
|
|
2230
2342
|
/**
|
|
2231
2343
|
* Specifies the name of the field which will provide a:
|
|
2232
2344
|
* - Boolean representation of the selected state of the item ([see example]({% slug selection_grid %})) for row selection
|
|
@@ -2286,6 +2398,22 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2286
2398
|
* Specifies a React element that will be cloned and rendered inside the detail rows of the currently expanded items ([see example]({% slug hierarchy_grid %})). An item will be rendered as expanded if the value of its `expandField` is `true`.
|
|
2287
2399
|
*/
|
|
2288
2400
|
detail?: null | ComponentType<GridDetailRowProps>;
|
|
2401
|
+
/**
|
|
2402
|
+
* The [descriptor]({% slug api_kendo-data-query_compositefilterdescriptor %}) by which the data is searched. Its first FilterDescriptor populates the GridSearchBox.
|
|
2403
|
+
*/
|
|
2404
|
+
search?: CompositeFilterDescriptor;
|
|
2405
|
+
/**
|
|
2406
|
+
* The [descriptor]({% slug api_kendo-data-query_compositefilterdescriptor %}) by which the data is searched by default. Its first FilterDescriptor populates the GridSearchBox.
|
|
2407
|
+
*/
|
|
2408
|
+
defaultSearch?: CompositeFilterDescriptor;
|
|
2409
|
+
/**
|
|
2410
|
+
* Defines the fields of the data that are filtered by the GridSearchBox.
|
|
2411
|
+
*/
|
|
2412
|
+
searchFields?: (string | SearchField)[];
|
|
2413
|
+
/**
|
|
2414
|
+
* Fires when the search value of the GridSearchBox is changed.
|
|
2415
|
+
*/
|
|
2416
|
+
onSearchChange?: (event: GridSearchChangeEvent) => void;
|
|
2289
2417
|
/**
|
|
2290
2418
|
* Represents the `style` HTML attribute.
|
|
2291
2419
|
*/
|
|
@@ -2398,6 +2526,22 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2398
2526
|
* @hidden
|
|
2399
2527
|
*/
|
|
2400
2528
|
unstyled?: GridClassStructure;
|
|
2529
|
+
/**
|
|
2530
|
+
* @hidden
|
|
2531
|
+
*/
|
|
2532
|
+
rowSpannable?: boolean | GridRowSpannableSettings;
|
|
2533
|
+
/**
|
|
2534
|
+
* @hidden
|
|
2535
|
+
*/
|
|
2536
|
+
columnsState?: GridColumnState[];
|
|
2537
|
+
/**
|
|
2538
|
+
* @hidden
|
|
2539
|
+
*/
|
|
2540
|
+
defaultColumnsState?: GridColumnState[];
|
|
2541
|
+
/**
|
|
2542
|
+
* Fires when the columns state of the Grid is changed.
|
|
2543
|
+
*/
|
|
2544
|
+
onColumnsStateChange?: (event: GridColumnsStateChangeEvent) => void;
|
|
2401
2545
|
}
|
|
2402
2546
|
|
|
2403
2547
|
/**
|
|
@@ -2474,6 +2618,10 @@ export declare interface GridRowProps extends KendoReactComponentBaseProps {
|
|
|
2474
2618
|
* A function for overriding the default rendering of the row.
|
|
2475
2619
|
*/
|
|
2476
2620
|
render?: (row: React.ReactElement<HTMLTableRowElement>, props: GridRowProps) => React.ReactNode;
|
|
2621
|
+
/**
|
|
2622
|
+
* Sets a set of rows components that the Grid will render instead of the built-in row.
|
|
2623
|
+
*/
|
|
2624
|
+
rows?: GridRowsSettings;
|
|
2477
2625
|
/**
|
|
2478
2626
|
* The index to be applied to the `aria-rowindex` attribute.
|
|
2479
2627
|
*/
|
|
@@ -2545,6 +2693,42 @@ export declare type GridRowReorderSettings = {
|
|
|
2545
2693
|
dragClue?: string | ((dataItem: any) => React.ReactNode);
|
|
2546
2694
|
};
|
|
2547
2695
|
|
|
2696
|
+
/**
|
|
2697
|
+
* Represents the settings for the row-spanning functionality of the Grid.
|
|
2698
|
+
*
|
|
2699
|
+
* @example
|
|
2700
|
+
*
|
|
2701
|
+
* ```tsx
|
|
2702
|
+
* <Grid
|
|
2703
|
+
* data={data}
|
|
2704
|
+
* rowSpannable={{
|
|
2705
|
+
* enabled: true,
|
|
2706
|
+
* valueGetter: (dataItem, field) => `${dataItem['id']} - ${dataItem[field]}`,
|
|
2707
|
+
* }}
|
|
2708
|
+
* />
|
|
2709
|
+
* ```
|
|
2710
|
+
*/
|
|
2711
|
+
export declare type GridRowSpannableSettings = {
|
|
2712
|
+
/**
|
|
2713
|
+
* Determines if the row-spanning functionality is enabled or disabled
|
|
2714
|
+
*/
|
|
2715
|
+
enabled?: boolean;
|
|
2716
|
+
/**
|
|
2717
|
+
* A function that returns the value of the cell that should span the row.
|
|
2718
|
+
* The value could be combined from multiple fields of the dataItem to create a unique identifier and prevent the cell from being row-spanned.
|
|
2719
|
+
*/
|
|
2720
|
+
valueGetter?: (dataItem: any, field: string) => any;
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* The settings of the rows prop options.
|
|
2725
|
+
*/
|
|
2726
|
+
export declare interface GridRowsSettings {
|
|
2727
|
+
groupHeader?: ComponentType<GridCustomRowProps>;
|
|
2728
|
+
data?: ComponentType<GridCustomRowProps>;
|
|
2729
|
+
groupFooter?: ComponentType<GridCustomRowProps>;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2548
2732
|
/**
|
|
2549
2733
|
* The type of the GridRow component.
|
|
2550
2734
|
*
|
|
@@ -2555,6 +2739,28 @@ export declare type GridRowReorderSettings = {
|
|
|
2555
2739
|
*/
|
|
2556
2740
|
export declare type GridRowType = 'groupFooter' | 'groupHeader' | 'data';
|
|
2557
2741
|
|
|
2742
|
+
/**
|
|
2743
|
+
* Represents the properties of the KendoReact GridSearchBox component.
|
|
2744
|
+
*/
|
|
2745
|
+
export declare const GridSearchBox: (props: GridSearchBoxProps) => JSX_2.Element;
|
|
2746
|
+
|
|
2747
|
+
export declare interface GridSearchBoxChangeEvent extends TextBoxChangeEvent {
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
export declare interface GridSearchBoxProps extends TextBoxProps {
|
|
2751
|
+
onChange?: (event: GridSearchBoxChangeEvent) => void;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* Represents the object of the `onSearchChange` Grid event.
|
|
2756
|
+
*/
|
|
2757
|
+
export declare interface GridSearchChangeEvent extends GridEvent {
|
|
2758
|
+
/**
|
|
2759
|
+
* The new search based on the user action.
|
|
2760
|
+
*/
|
|
2761
|
+
search: CompositeFilterDescriptor;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2558
2764
|
/**
|
|
2559
2765
|
* Represents the available selection modes.
|
|
2560
2766
|
*/
|
|
@@ -2589,7 +2795,7 @@ export declare interface GridSelectionChangeEvent extends GridEvent, TableSelect
|
|
|
2589
2795
|
*
|
|
2590
2796
|
* @hidden
|
|
2591
2797
|
*/
|
|
2592
|
-
select
|
|
2798
|
+
select: SelectDescriptor;
|
|
2593
2799
|
/**
|
|
2594
2800
|
* The dataItem from which the selection starts(Valid for scenarios without checkbox selection).
|
|
2595
2801
|
*/
|
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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./Grid.js"),G=require("./GridColumn.js"),a=require("./columnMenu/GridColumnMenuWrapper.js"),s=require("./columnMenu/GridColumnMenuGroup.js"),l=require("./columnMenu/GridColumnMenuSort.js"),o=require("./columnMenu/GridColumnMenuFilter.js"),m=require("./columnMenu/GridColumnMenuFilterUI.js"),c=require("./columnMenu/GridColumnMenuFilterCell.js"),M=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),g=require("./columnMenu/GridColumnMenuColumnsList.js"),p=require("./columnMenu/GridColumnMenuColumnsChooser.js"),I=require("./cells/GridCell.js"),q=require("./cells/GridEditCell.js"),S=require("./cells/GridGroupCell.js"),F=require("./cells/GridHierarchyCell.js"),D=require("./cells/GridFilterCell.js"),E=require("./header/GridHeaderCell.js"),R=require("./cells/GridSelectionCell.js"),T=require("./rows/GridDetailRow.js"),P=require("./rows/GridRow.js"),h=require("./GridToolbar.js"),x=require("./components/noRecords/GridNoRecords.js"),_=require("./columnMenu/GridColumnMenuItem.js"),N=require("./columnMenu/GridColumnMenuItemContent.js"),b=require("./columnMenu/GridColumnMenuItemGroup.js"),t=require("./constants/index.js"),n=require("@progress/kendo-react-data-tools"),B=require("./drag/CommonDragLogic.js"),r=require("./filterCommon.js"),e=require("./messages/index.js"),i=require("./StatusBar.js"),u=require("./contextMenu/GridContextMenu.js"),d=require("./contextMenu/enums.js"),L=require("./GridSearchBox.js");exports.Grid=C.Grid;exports.GridColumn=G.GridColumn;exports.GridColumnMenuWrapper=a.GridColumnMenuWrapper;exports.GridColumnMenuGroup=s.GridColumnMenuGroup;exports.GridColumnMenuSort=l.GridColumnMenuSort;exports.isColumnMenuSortActive=l.isColumnMenuSortActive;exports.GridColumnMenuFilter=o.GridColumnMenuFilter;exports.filterGroupByField=o.filterGroupByField;exports.isColumnMenuFilterActive=o.isColumnMenuFilterActive;exports.rootFilterOrDefault=o.rootFilterOrDefault;exports.GridColumnMenuFilterUI=m.GridColumnMenuFilterUI;exports.GridColumnMenuFilterCell=c.GridColumnMenuFilterCell;exports.GridColumnMenuCheckboxFilter=M.GridColumnMenuCheckboxFilter;exports.GridColumnMenuColumnsList=g.GridColumnMenuColumnsList;exports.GridColumnMenuColumnsChooser=p.GridColumnMenuColumnsChooser;exports.GridCell=I.GridCell;exports.GridEditCell=q.GridEditCell;exports.GridGroupCell=S.GridGroupCell;exports.GridHierarchyCell=F.GridHierarchyCell;exports.GridFilterCell=D.GridFilterCell;exports.GridHeaderCell=E.GridHeaderCell;exports.GridSelectionCell=R.GridSelectionCell;exports.GridDetailRow=T.GridDetailRow;exports.GridRow=P.GridRow;exports.GridToolbar=h.GridToolbar;exports.GridNoRecords=x.GridNoRecords;exports.GridColumnMenuItem=_.GridColumnMenuItem;exports.GridColumnMenuItemContent=N.GridColumnMenuItemContent;exports.GridColumnMenuItemGroup=b.GridColumnMenuItemGroup;exports.GRID_COL_INDEX_ATTRIBUTE=t.GRID_COL_INDEX_ATTRIBUTE;exports.GRID_PREVENT_SELECTION_ELEMENT=t.GRID_PREVENT_SELECTION_ELEMENT;exports.GRID_ROW_INDEX_ATTRIBUTE=t.GRID_ROW_INDEX_ATTRIBUTE;Object.defineProperty(exports,"getSelectedState",{enumerable:!0,get:()=>n.getSelectedState});Object.defineProperty(exports,"getSelectedStateFromKeyDown",{enumerable:!0,get:()=>n.getSelectedStateFromKeyDown});Object.defineProperty(exports,"setSelectedState",{enumerable:!0,get:()=>n.setSelectedState});exports.GridCommonDragLogic=B.CommonDragLogic;exports.booleanFilterValues=r.booleanFilterValues;exports.cellBoolDropdownChange=r.cellBoolDropdownChange;exports.cellInputChange=r.cellInputChange;exports.cellOperatorChange=r.cellOperatorChange;exports.operators=r.operators;exports.gridMessages=e.messages;exports.pagerFirstPage=e.pagerFirstPage;exports.pagerInfo=e.pagerInfo;exports.pagerItemPerPage=e.pagerItemPerPage;exports.pagerLastPage=e.pagerLastPage;exports.pagerNextPage=e.pagerNextPage;exports.pagerPreviousPage=e.pagerPreviousPage;exports.StatusBar=i.StatusBar;exports.getStatusData=i.getStatusData;exports.leafColumns=i.leafColumns;exports.GridContextMenu=u.GridContextMenu;exports.contextMenuItemsMap=u.contextMenuItemsMap;exports.GridContextMenuAnchorPart=d.GridContextMenuAnchorPart;exports.GridContextMenuItemNames=d.GridContextMenuItemNames;exports.GridSearchBox=L.GridSearchBox;
|
package/index.mjs
CHANGED
|
@@ -5,92 +5,95 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
9
8
|
import { Grid as o } from "./Grid.mjs";
|
|
10
9
|
import { GridColumn as m } from "./GridColumn.mjs";
|
|
11
10
|
import { GridColumnMenuWrapper as i } from "./columnMenu/GridColumnMenuWrapper.mjs";
|
|
12
11
|
import { GridColumnMenuGroup as p } from "./columnMenu/GridColumnMenuGroup.mjs";
|
|
13
12
|
import { GridColumnMenuSort as a, isColumnMenuSortActive as x } from "./columnMenu/GridColumnMenuSort.mjs";
|
|
14
|
-
import { GridColumnMenuFilter as
|
|
13
|
+
import { GridColumnMenuFilter as C, filterGroupByField as f, isColumnMenuFilterActive as G, rootFilterOrDefault as s } from "./columnMenu/GridColumnMenuFilter.mjs";
|
|
15
14
|
import { GridColumnMenuFilterUI as M } from "./columnMenu/GridColumnMenuFilterUI.mjs";
|
|
16
15
|
import { GridColumnMenuFilterCell as I } from "./columnMenu/GridColumnMenuFilterCell.mjs";
|
|
17
|
-
import { GridColumnMenuCheckboxFilter as
|
|
16
|
+
import { GridColumnMenuCheckboxFilter as D } from "./columnMenu/GridColumnMenuCheckboxFilter.mjs";
|
|
18
17
|
import { GridColumnMenuColumnsList as F } from "./columnMenu/GridColumnMenuColumnsList.mjs";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
18
|
+
import { GridColumnMenuColumnsChooser as T } from "./columnMenu/GridColumnMenuColumnsChooser.mjs";
|
|
19
|
+
import { GridCell as _ } from "./cells/GridCell.mjs";
|
|
20
|
+
import { GridEditCell as N } from "./cells/GridEditCell.mjs";
|
|
21
|
+
import { GridGroupCell as B } from "./cells/GridGroupCell.mjs";
|
|
22
|
+
import { GridHierarchyCell as O } from "./cells/GridHierarchyCell.mjs";
|
|
23
|
+
import { GridFilterCell as b } from "./cells/GridFilterCell.mjs";
|
|
24
|
+
import { GridHeaderCell as y } from "./header/GridHeaderCell.mjs";
|
|
25
|
+
import { GridSelectionCell as H } from "./cells/GridSelectionCell.mjs";
|
|
26
|
+
import { GridDetailRow as W } from "./rows/GridDetailRow.mjs";
|
|
27
|
+
import { GridRow as k } from "./rows/GridRow.mjs";
|
|
28
|
+
import { GridToolbar as j } from "./GridToolbar.mjs";
|
|
29
|
+
import { GridNoRecords as z } from "./components/noRecords/GridNoRecords.mjs";
|
|
30
|
+
import { GridColumnMenuItem as Q } from "./columnMenu/GridColumnMenuItem.mjs";
|
|
31
|
+
import { GridColumnMenuItemContent as Z } from "./columnMenu/GridColumnMenuItemContent.mjs";
|
|
32
|
+
import { GridColumnMenuItemGroup as rr } from "./columnMenu/GridColumnMenuItemGroup.mjs";
|
|
33
|
+
import { GRID_COL_INDEX_ATTRIBUTE as or, GRID_PREVENT_SELECTION_ELEMENT as tr, GRID_ROW_INDEX_ATTRIBUTE as mr } from "./constants/index.mjs";
|
|
34
|
+
import { getSelectedState as ir, getSelectedStateFromKeyDown as nr, setSelectedState as pr } from "@progress/kendo-react-data-tools";
|
|
35
|
+
import { CommonDragLogic as ar } from "./drag/CommonDragLogic.mjs";
|
|
36
|
+
import { booleanFilterValues as dr, cellBoolDropdownChange as Cr, cellInputChange as fr, cellOperatorChange as Gr, operators as sr } from "./filterCommon.mjs";
|
|
37
|
+
import { messages as Mr, pagerFirstPage as cr, pagerInfo as Ir, pagerItemPerPage as Sr, pagerLastPage as Dr, pagerNextPage as Er, pagerPreviousPage as Fr } from "./messages/index.mjs";
|
|
38
|
+
import { StatusBar as Tr, getStatusData as Pr, leafColumns as _r } from "./StatusBar.mjs";
|
|
39
|
+
import { GridContextMenu as Nr, contextMenuItemsMap as Lr } from "./contextMenu/GridContextMenu.mjs";
|
|
40
|
+
import { GridContextMenuAnchorPart as Ar, GridContextMenuItemNames as Or } from "./contextMenu/enums.mjs";
|
|
41
|
+
import { GridSearchBox as br } from "./GridSearchBox.mjs";
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
or as GRID_COL_INDEX_ATTRIBUTE,
|
|
44
|
+
tr as GRID_PREVENT_SELECTION_ELEMENT,
|
|
45
|
+
mr as GRID_ROW_INDEX_ATTRIBUTE,
|
|
45
46
|
o as Grid,
|
|
46
|
-
|
|
47
|
+
_ as GridCell,
|
|
47
48
|
m as GridColumn,
|
|
48
|
-
|
|
49
|
+
D as GridColumnMenuCheckboxFilter,
|
|
50
|
+
T as GridColumnMenuColumnsChooser,
|
|
49
51
|
F as GridColumnMenuColumnsList,
|
|
50
|
-
|
|
52
|
+
C as GridColumnMenuFilter,
|
|
51
53
|
I as GridColumnMenuFilterCell,
|
|
52
54
|
M as GridColumnMenuFilterUI,
|
|
53
55
|
p as GridColumnMenuGroup,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
Q as GridColumnMenuItem,
|
|
57
|
+
Z as GridColumnMenuItemContent,
|
|
58
|
+
rr as GridColumnMenuItemGroup,
|
|
57
59
|
a as GridColumnMenuSort,
|
|
58
60
|
i as GridColumnMenuWrapper,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
61
|
+
ar as GridCommonDragLogic,
|
|
62
|
+
Nr as GridContextMenu,
|
|
63
|
+
Ar as GridContextMenuAnchorPart,
|
|
64
|
+
Or as GridContextMenuItemNames,
|
|
65
|
+
W as GridDetailRow,
|
|
66
|
+
N as GridEditCell,
|
|
67
|
+
b as GridFilterCell,
|
|
68
|
+
B as GridGroupCell,
|
|
69
|
+
y as GridHeaderCell,
|
|
70
|
+
O as GridHierarchyCell,
|
|
71
|
+
z as GridNoRecords,
|
|
72
|
+
k as GridRow,
|
|
73
|
+
br as GridSearchBox,
|
|
74
|
+
H as GridSelectionCell,
|
|
75
|
+
j as GridToolbar,
|
|
76
|
+
Tr as StatusBar,
|
|
77
|
+
dr as booleanFilterValues,
|
|
78
|
+
Cr as cellBoolDropdownChange,
|
|
79
|
+
fr as cellInputChange,
|
|
80
|
+
Gr as cellOperatorChange,
|
|
81
|
+
Lr as contextMenuItemsMap,
|
|
82
|
+
f as filterGroupByField,
|
|
83
|
+
ir as getSelectedState,
|
|
84
|
+
nr as getSelectedStateFromKeyDown,
|
|
85
|
+
Pr as getStatusData,
|
|
86
|
+
Mr as gridMessages,
|
|
84
87
|
G as isColumnMenuFilterActive,
|
|
85
88
|
x as isColumnMenuSortActive,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
_r as leafColumns,
|
|
90
|
+
sr as operators,
|
|
91
|
+
cr as pagerFirstPage,
|
|
92
|
+
Ir as pagerInfo,
|
|
93
|
+
Sr as pagerItemPerPage,
|
|
94
|
+
Dr as pagerLastPage,
|
|
95
|
+
Er as pagerNextPage,
|
|
96
|
+
Fr as pagerPreviousPage,
|
|
94
97
|
s as rootFilterOrDefault,
|
|
95
|
-
|
|
98
|
+
pr as setSelectedState
|
|
96
99
|
};
|
package/messages/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
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="grid.noRecords",r="grid.pagerInfo",t="grid.pagerFirstPage",o="grid.pagerPreviousPage",a="grid.pagerNextPage",l="grid.pagerLastPage",i="grid.pagerItemsPerPage",g="grid.pagerPage",s="grid.pagerPageSizeAriaLabel",n="grid.pagerOf",d="grid.pagerTotalPages",p="grid.groupPanelEmpty",c="grid.groupColumn",u="grid.ungroupColumn",f="grid.columnMenu",P="grid.filterApplyButton",A="grid.filterClearButton",h="grid.filterResetButton",m="grid.filterSubmitButton",b="grid.filterTitle",C="grid.sortAscending",I="grid.sortDescending",O="grid.searchPlaceholder",L="grid.searchboxPlaceholder",S="grid.filterCheckAll",E="grid.filterChooseOperator",R="grid.filterSelectAll",x="grid.filterSelectedItems",B="grid.sortAriaLabel",y="grid.filterAriaLabel",w="grid.groupPanelAriaLabel",q="grid.groupExpand",N="grid.groupCollapse",G="grid.detailExpand",T="grid.detailCollapse",D="grid.selectRow",F="grid.gridAriaLabel",v="grid.gridRowReorderAriaLabel",k={[G]:"Expand detail row",[T]:"Collapse detail row",[q]:"Expand group",[N]:"Collapse Group",[e]:"No records available",[p]:"Drag a column header and drop it here to group by that column",[P]:"Apply",[A]:"Clear",[h]:"Reset",[m]:"Filter",[b]:"Filter",[C]:"Sort Ascending",[I]:"Sort Descending",[B]:"Sortable",[c]:"Group Column",[u]:"Ungroup Column",[f]:"Column menu",[i]:"items per page",[r]:"{0} - {1} of {2} items",[t]:"Go to the first page",[o]:"Go to the previous page",[a]:"Go to the next page",[l]:"Go to the last page",[g]:"Page",[s]:"Page size",[n]:"of",[d]:"{0}",[O]:"Search",[L]:"Search...",[S]:"Check All",[E]:"Choose Operator",[x]:"selected items",[R]:"Select All",[y]:"Filter",[w]:"Group panel",[F]:"Table",[v]:"Drag row",[D]:"Select Row","grid.filterEqOperator":"Is equal to","grid.filterNotEqOperator":"Is not equal to","grid.filterIsNullOperator":"Is null","grid.filterIsNotNullOperator":"Is not null","grid.filterIsEmptyOperator":"Is empty","grid.filterIsNotEmptyOperator":"Is not empty","grid.filterStartsWithOperator":"Starts with","grid.filterContainsOperator":"Contains","grid.filterNotContainsOperator":"Does not contain","grid.filterEndsWithOperator":"Ends with","grid.filterGteOperator":"Is greater than or equal to","grid.filterGtOperator":"Is greater than","grid.filterLteOperator":"Is less than or equal to","grid.filterLtOperator":"Is less than","grid.filterIsTrue":"Is true","grid.filterIsFalse":"Is false","grid.filterBooleanAll":"(All)","grid.filterAfterOrEqualOperator":"Is after or equal to","grid.filterAfterOperator":"Is after","grid.filterBeforeOperator":"Is before","grid.filterBeforeOrEqualOperator":"Is before or equal to","grid.filterAndLogic":"And","grid.filterOrLogic":"Or"};exports.columnMenu=f;exports.detailCollapse=T;exports.detailExpand=G;exports.filterApplyButton=P;exports.filterAriaLabel=y;exports.filterCheckAll=S;exports.filterChooseOperator=E;exports.filterClearButton=A;exports.filterResetButton=h;exports.filterSelectAll=R;exports.filterSelectedItems=x;exports.filterSubmitButton=m;exports.filterTitle=b;exports.gridAriaLabel=F;exports.gridRowReorderAriaLabel=v;exports.groupCollapse=N;exports.groupColumn=c;exports.groupExpand=q;exports.groupPanelAriaLabel=w;exports.groupPanelEmpty=p;exports.messages=k;exports.noRecords=e;exports.pagerFirstPage=t;exports.pagerInfo=r;exports.pagerItemPerPage=i;exports.pagerLastPage=l;exports.pagerNextPage=a;exports.pagerOf=n;exports.pagerPage=g;exports.pagerPageSizeAriaLabel=s;exports.pagerPreviousPage=o;exports.pagerTotalPages=d;exports.searchPlaceholder=O;exports.searchboxPlaceholder=L;exports.selectRow=D;exports.sortAriaLabel=B;exports.sortAscending=C;exports.sortDescending=I;exports.ungroupColumn=u;
|