@progress/kendo-react-grid 9.3.1 → 9.4.0-develop.10
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 +80 -1043
- package/GridClientContextReader.js +9 -0
- package/GridClientContextReader.mjs +31 -0
- package/GridClientWrapper.js +9 -0
- package/GridClientWrapper.mjs +793 -0
- package/GridColumn.js +1 -1
- package/GridColumn.mjs +4 -5
- package/GridComponent.js +8 -0
- package/GridComponent.mjs +594 -0
- package/GridSearchBox.js +8 -0
- package/GridSearchBox.mjs +35 -0
- package/GridState.js +9 -0
- package/GridState.mjs +99 -0
- package/GridToolbar.js +1 -1
- package/GridToolbar.mjs +5 -6
- package/GridWatermarkOverlay.js +9 -0
- package/{GridNoRecords.js → GridWatermarkOverlay.mjs} +8 -1
- package/StatusBar.js +1 -1
- package/StatusBar.mjs +24 -25
- 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 +22 -34
- package/cells/GridDetailCell.js +1 -1
- package/cells/GridDetailCell.mjs +12 -20
- package/cells/GridDetailHierarchyCell.js +1 -1
- package/cells/GridDetailHierarchyCell.mjs +6 -7
- package/cells/GridEditCell.js +1 -1
- package/cells/GridEditCell.mjs +22 -131
- package/cells/GridFilterCell.js +2 -1
- package/cells/GridGroupCell.js +1 -1
- package/cells/GridGroupCell.mjs +60 -96
- package/cells/GridHierarchyCell.js +1 -1
- package/cells/GridHierarchyCell.mjs +22 -62
- package/cells/GridRowReorderCell.js +8 -0
- package/cells/GridRowReorderCell.mjs +41 -0
- package/cells/GridSelectionCell.js +1 -1
- package/cells/GridSelectionCell.mjs +18 -37
- package/cells/client/DetailCellContainer.js +9 -0
- package/cells/client/DetailCellContainer.mjs +26 -0
- package/cells/client/GridCellContainer.js +9 -0
- package/cells/client/GridCellContainer.mjs +68 -0
- package/cells/client/GridEditCellContainer.js +9 -0
- package/cells/client/GridEditCellContainer.mjs +60 -0
- package/cells/client/GridEditCellEditor.js +9 -0
- package/cells/client/GridEditCellEditor.mjs +81 -0
- package/cells/client/GridGroupCellContainer.js +9 -0
- package/cells/client/GridGroupCellContainer.mjs +87 -0
- package/cells/client/GridGroupCellToggle.js +9 -0
- package/cells/client/GridGroupCellToggle.mjs +52 -0
- package/cells/client/GridHierarchyCellContainer.js +9 -0
- package/cells/client/GridHierarchyCellContainer.mjs +63 -0
- package/cells/client/GridHierarchyCellToggle.js +9 -0
- package/cells/client/GridHierarchyCellToggle.mjs +43 -0
- package/cells/client/GridRowReorderContainer.js +9 -0
- package/cells/client/GridRowReorderContainer.mjs +24 -0
- package/cells/client/GridSelectionCellContainer.js +9 -0
- package/cells/client/GridSelectionCellContainer.mjs +60 -0
- package/cells/client/GridSelectionCellInput.js +9 -0
- package/cells/client/GridSelectionCellInput.mjs +43 -0
- package/codemods/index.js +8 -0
- package/columnMenu/GridColumnMenuCheckboxFilter.js +2 -1
- 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 +26 -37
- package/columnMenu/GridColumnMenuWrapper.js +2 -1
- package/components/GridContainerElementContainer.js +9 -0
- package/components/GridContainerElementContainer.mjs +21 -0
- package/components/GridCustomCellClientContainer.js +9 -0
- package/components/GridCustomCellClientContainer.mjs +28 -0
- package/components/GridDragClue.js +9 -0
- package/components/GridDragClue.mjs +18 -0
- package/components/GridDraggableRowsContainer.js +9 -0
- package/components/GridDraggableRowsContainer.mjs +127 -0
- package/components/GridDropClue.js +9 -0
- package/components/GridDropClue.mjs +18 -0
- package/components/GridElementContainer.js +9 -0
- package/components/GridElementContainer.mjs +22 -0
- package/components/GridLoader.js +9 -0
- package/components/GridLoader.mjs +22 -0
- package/components/PagerContainer.js +9 -0
- package/components/PagerContainer.mjs +23 -0
- package/components/VirtualScrollHeightContainer.js +9 -0
- package/components/VirtualScrollHeightContainer.mjs +17 -0
- package/components/colGroup/GridColGroup.js +9 -0
- package/components/colGroup/GridColGroup.mjs +25 -0
- package/components/icons/reorder-row-svg.js +9 -0
- package/components/icons/reorder-row-svg.mjs +14 -0
- package/components/noRecords/GridNoRecords.js +9 -0
- package/{GridNoRecords.mjs → components/noRecords/GridNoRecords.mjs} +6 -6
- package/components/noRecords/GridNoRecordsContainer.js +9 -0
- package/components/noRecords/GridNoRecordsContainer.mjs +30 -0
- package/components/table/GridTable.js +9 -0
- package/components/table/GridTable.mjs +28 -0
- package/components/table/GridTableBody.js +9 -0
- package/components/table/GridTableBody.mjs +21 -0
- package/components/table/GridTableScrollable.js +9 -0
- package/components/table/GridTableScrollable.mjs +37 -0
- package/components/utils.js +8 -0
- package/components/utils.mjs +25 -0
- package/constants/index.js +1 -1
- package/constants/index.mjs +0 -1
- package/contextMenu/GridContextMenu.js +9 -0
- package/contextMenu/GridContextMenu.mjs +191 -0
- package/contextMenu/enums.js +8 -0
- package/contextMenu/enums.mjs +12 -0
- 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/Footer.mjs +22 -21
- package/footer/FooterCell.js +8 -0
- package/footer/FooterCell.mjs +42 -0
- package/footer/FooterRow.js +1 -1
- package/footer/FooterRow.mjs +10 -40
- package/footer/client/FooterCellContainer.js +9 -0
- package/footer/client/FooterCellContainer.mjs +26 -0
- package/header/FilterRow.js +1 -1
- package/header/FilterRow.mjs +57 -55
- package/header/GridHeaderCell.js +2 -1
- package/header/GridHeaderCell.mjs +11 -11
- package/header/GridHeaderSelectionCell.js +2 -1
- package/header/GridHeaderSelectionCell.mjs +10 -9
- package/header/GroupPanel.js +2 -1
- package/header/GroupPanel.mjs +36 -32
- package/header/Header.js +2 -1
- package/header/Header.mjs +35 -33
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +96 -126
- package/header/client/GridFilterCellContainer.js +9 -0
- package/header/client/GridFilterCellContainer.mjs +38 -0
- package/header/client/GridFilterCellElementContainer.js +9 -0
- package/header/client/GridFilterCellElementContainer.mjs +21 -0
- package/header/client/GridHeaderCellContainer.js +9 -0
- package/header/client/GridHeaderCellContainer.mjs +54 -0
- package/header/client/GridHeaderCellElementContainer.js +9 -0
- package/header/client/GridHeaderCellElementContainer.mjs +28 -0
- package/header/client/GridHeaderRowContainer.js +9 -0
- package/header/client/GridHeaderRowContainer.mjs +35 -0
- package/header/client/GridHeaderRowReorderCell.js +9 -0
- package/header/client/GridHeaderRowReorderCell.mjs +13 -0
- package/header/client/HeaderCellResizer.js +9 -0
- package/header/client/HeaderCellResizer.mjs +25 -0
- package/header/client/HeaderRowDraggable.js +9 -0
- package/header/client/HeaderRowDraggable.mjs +30 -0
- package/index.d.mts +601 -25
- package/index.d.ts +601 -25
- package/index.js +1 -1
- package/index.mjs +46 -39
- package/messages/index.js +1 -1
- package/messages/index.mjs +76 -81
- package/messages/messagesMap.js +8 -0
- package/messages/messagesMap.mjs +18 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -3
- package/package.json +27 -11
- 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 +42 -20
- package/sortCommon.js +8 -0
- package/sortCommon.mjs +27 -0
- package/{interfaces/GridSortSettings.js → utils/_clientModule.js} +2 -1
- package/{interfaces/GridSortSettings.mjs → utils/_clientModule.mjs} +3 -2
- package/utils/_serverModule.js +8 -0
- package/utils/_serverModule.mjs +12 -0
- package/utils/index.js +1 -1
- package/utils/index.mjs +213 -102
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 G=require("./Grid.js"),a=require("./GridColumn.js"),C=require("./columnMenu/GridColumnMenuWrapper.js"),s=require("./columnMenu/GridColumnMenuGroup.js"),l=require("./columnMenu/GridColumnMenuSort.js"),t=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("./cells/GridCell.js"),I=require("./cells/GridEditCell.js"),q=require("./cells/GridGroupCell.js"),S=require("./cells/GridHierarchyCell.js"),F=require("./cells/GridFilterCell.js"),D=require("./header/GridHeaderCell.js"),E=require("./cells/GridSelectionCell.js"),R=require("./rows/GridDetailRow.js"),T=require("./rows/GridRow.js"),P=require("./GridToolbar.js"),x=require("./components/noRecords/GridNoRecords.js"),_=require("./columnMenu/GridColumnMenuItem.js"),h=require("./columnMenu/GridColumnMenuItemContent.js"),N=require("./columnMenu/GridColumnMenuItemGroup.js"),o=require("./constants/index.js"),i=require("@progress/kendo-react-data-tools"),b=require("./drag/CommonDragLogic.js"),r=require("./filterCommon.js"),e=require("./messages/index.js"),n=require("./StatusBar.js"),u=require("./contextMenu/GridContextMenu.js"),d=require("./contextMenu/enums.js"),B=require("./GridSearchBox.js");exports.Grid=G.Grid;exports.GridColumn=a.GridColumn;exports.GridColumnMenuWrapper=C.GridColumnMenuWrapper;exports.GridColumnMenuGroup=s.GridColumnMenuGroup;exports.GridColumnMenuSort=l.GridColumnMenuSort;exports.isColumnMenuSortActive=l.isColumnMenuSortActive;exports.GridColumnMenuFilter=t.GridColumnMenuFilter;exports.filterGroupByField=t.filterGroupByField;exports.isColumnMenuFilterActive=t.isColumnMenuFilterActive;exports.rootFilterOrDefault=t.rootFilterOrDefault;exports.GridColumnMenuFilterUI=m.GridColumnMenuFilterUI;exports.GridColumnMenuFilterCell=c.GridColumnMenuFilterCell;exports.GridColumnMenuCheckboxFilter=M.GridColumnMenuCheckboxFilter;exports.GridColumnMenuColumnsList=g.GridColumnMenuColumnsList;exports.GridCell=p.GridCell;exports.GridEditCell=I.GridEditCell;exports.GridGroupCell=q.GridGroupCell;exports.GridHierarchyCell=S.GridHierarchyCell;exports.GridFilterCell=F.GridFilterCell;exports.GridHeaderCell=D.GridHeaderCell;exports.GridSelectionCell=E.GridSelectionCell;exports.GridDetailRow=R.GridDetailRow;exports.GridRow=T.GridRow;exports.GridToolbar=P.GridToolbar;exports.GridNoRecords=x.GridNoRecords;exports.GridColumnMenuItem=_.GridColumnMenuItem;exports.GridColumnMenuItemContent=h.GridColumnMenuItemContent;exports.GridColumnMenuItemGroup=N.GridColumnMenuItemGroup;exports.GRID_COL_INDEX_ATTRIBUTE=o.GRID_COL_INDEX_ATTRIBUTE;exports.GRID_PREVENT_SELECTION_ELEMENT=o.GRID_PREVENT_SELECTION_ELEMENT;exports.GRID_ROW_INDEX_ATTRIBUTE=o.GRID_ROW_INDEX_ATTRIBUTE;Object.defineProperty(exports,"getSelectedState",{enumerable:!0,get:()=>i.getSelectedState});Object.defineProperty(exports,"getSelectedStateFromKeyDown",{enumerable:!0,get:()=>i.getSelectedStateFromKeyDown});Object.defineProperty(exports,"setSelectedState",{enumerable:!0,get:()=>i.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=n.StatusBar;exports.getStatusData=n.getStatusData;exports.leafColumns=n.leafColumns;exports.GridContextMenu=u.GridContextMenu;exports.contextMenuItemsMap=u.contextMenuItemsMap;exports.GridContextMenuAnchorPart=d.GridContextMenuAnchorPart;exports.GridContextMenuItemNames=d.GridContextMenuItemNames;exports.GridSearchBox=B.GridSearchBox;
|
package/index.mjs
CHANGED
|
@@ -5,86 +5,93 @@
|
|
|
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
|
-
import { GridColumn as
|
|
9
|
+
import { GridColumn as m } from "./GridColumn.mjs";
|
|
11
10
|
import { GridColumnMenuWrapper as i } from "./columnMenu/GridColumnMenuWrapper.mjs";
|
|
12
|
-
import { GridColumnMenuGroup as
|
|
13
|
-
import { GridColumnMenuSort as u, isColumnMenuSortActive as
|
|
14
|
-
import { GridColumnMenuFilter as
|
|
15
|
-
import { GridColumnMenuFilterUI as
|
|
16
|
-
import { GridColumnMenuFilterCell as
|
|
17
|
-
import { GridColumnMenuCheckboxFilter as
|
|
11
|
+
import { GridColumnMenuGroup as p } from "./columnMenu/GridColumnMenuGroup.mjs";
|
|
12
|
+
import { GridColumnMenuSort as u, isColumnMenuSortActive as x } from "./columnMenu/GridColumnMenuSort.mjs";
|
|
13
|
+
import { GridColumnMenuFilter as f, filterGroupByField as C, isColumnMenuFilterActive as G, rootFilterOrDefault as g } from "./columnMenu/GridColumnMenuFilter.mjs";
|
|
14
|
+
import { GridColumnMenuFilterUI as M } from "./columnMenu/GridColumnMenuFilterUI.mjs";
|
|
15
|
+
import { GridColumnMenuFilterCell as I } from "./columnMenu/GridColumnMenuFilterCell.mjs";
|
|
16
|
+
import { GridColumnMenuCheckboxFilter as D } from "./columnMenu/GridColumnMenuCheckboxFilter.mjs";
|
|
18
17
|
import { GridColumnMenuColumnsList as F } from "./columnMenu/GridColumnMenuColumnsList.mjs";
|
|
19
18
|
import { GridCell as T } from "./cells/GridCell.mjs";
|
|
20
|
-
import { GridEditCell as
|
|
21
|
-
import { GridGroupCell as
|
|
19
|
+
import { GridEditCell as _ } from "./cells/GridEditCell.mjs";
|
|
20
|
+
import { GridGroupCell as h } from "./cells/GridGroupCell.mjs";
|
|
22
21
|
import { GridHierarchyCell as B } from "./cells/GridHierarchyCell.mjs";
|
|
23
|
-
import { GridFilterCell as
|
|
22
|
+
import { GridFilterCell as O } from "./cells/GridFilterCell.mjs";
|
|
24
23
|
import { GridHeaderCell as b } from "./header/GridHeaderCell.mjs";
|
|
25
24
|
import { GridSelectionCell as y } from "./cells/GridSelectionCell.mjs";
|
|
26
25
|
import { GridDetailRow as H } from "./rows/GridDetailRow.mjs";
|
|
27
26
|
import { GridRow as W } from "./rows/GridRow.mjs";
|
|
28
27
|
import { GridToolbar as k } from "./GridToolbar.mjs";
|
|
29
|
-
import { GridNoRecords as j } from "./GridNoRecords.mjs";
|
|
28
|
+
import { GridNoRecords as j } from "./components/noRecords/GridNoRecords.mjs";
|
|
30
29
|
import { GridColumnMenuItem as z } from "./columnMenu/GridColumnMenuItem.mjs";
|
|
31
30
|
import { GridColumnMenuItemContent as Q } from "./columnMenu/GridColumnMenuItemContent.mjs";
|
|
32
31
|
import { GridColumnMenuItemGroup as Z } from "./columnMenu/GridColumnMenuItemGroup.mjs";
|
|
33
32
|
import { GRID_COL_INDEX_ATTRIBUTE as rr, GRID_PREVENT_SELECTION_ELEMENT as er, GRID_ROW_INDEX_ATTRIBUTE as or } from "./constants/index.mjs";
|
|
34
|
-
import { getSelectedState as
|
|
35
|
-
import { CommonDragLogic as
|
|
36
|
-
import { booleanFilterValues as ur, cellBoolDropdownChange as
|
|
37
|
-
import { messages as gr, pagerFirstPage as sr, pagerInfo as
|
|
33
|
+
import { getSelectedState as mr, getSelectedStateFromKeyDown as lr, setSelectedState as ir } from "@progress/kendo-react-data-tools";
|
|
34
|
+
import { CommonDragLogic as pr } from "./drag/CommonDragLogic.mjs";
|
|
35
|
+
import { booleanFilterValues as ur, cellBoolDropdownChange as xr, cellInputChange as dr, cellOperatorChange as fr, operators as Cr } from "./filterCommon.mjs";
|
|
36
|
+
import { messages as gr, pagerFirstPage as sr, pagerInfo as Mr, pagerItemPerPage as cr, pagerLastPage as Ir, pagerNextPage as Sr, pagerPreviousPage as Dr } from "./messages/index.mjs";
|
|
38
37
|
import { StatusBar as Fr, getStatusData as Rr, leafColumns as Tr } from "./StatusBar.mjs";
|
|
38
|
+
import { GridContextMenu as _r, contextMenuItemsMap as Nr } from "./contextMenu/GridContextMenu.mjs";
|
|
39
|
+
import { GridContextMenuAnchorPart as Lr, GridContextMenuItemNames as Br } from "./contextMenu/enums.mjs";
|
|
40
|
+
import { GridSearchBox as Or } from "./GridSearchBox.mjs";
|
|
39
41
|
export {
|
|
40
42
|
rr as GRID_COL_INDEX_ATTRIBUTE,
|
|
41
43
|
er as GRID_PREVENT_SELECTION_ELEMENT,
|
|
42
44
|
or as GRID_ROW_INDEX_ATTRIBUTE,
|
|
43
45
|
o as Grid,
|
|
44
46
|
T as GridCell,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
m as GridColumn,
|
|
48
|
+
D as GridColumnMenuCheckboxFilter,
|
|
47
49
|
F as GridColumnMenuColumnsList,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
f as GridColumnMenuFilter,
|
|
51
|
+
I as GridColumnMenuFilterCell,
|
|
52
|
+
M as GridColumnMenuFilterUI,
|
|
53
|
+
p as GridColumnMenuGroup,
|
|
52
54
|
z as GridColumnMenuItem,
|
|
53
55
|
Q as GridColumnMenuItemContent,
|
|
54
56
|
Z as GridColumnMenuItemGroup,
|
|
55
57
|
u as GridColumnMenuSort,
|
|
56
58
|
i as GridColumnMenuWrapper,
|
|
57
|
-
|
|
59
|
+
pr as GridCommonDragLogic,
|
|
60
|
+
_r as GridContextMenu,
|
|
61
|
+
Lr as GridContextMenuAnchorPart,
|
|
62
|
+
Br as GridContextMenuItemNames,
|
|
58
63
|
H as GridDetailRow,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
_ as GridEditCell,
|
|
65
|
+
O as GridFilterCell,
|
|
66
|
+
h as GridGroupCell,
|
|
62
67
|
b as GridHeaderCell,
|
|
63
68
|
B as GridHierarchyCell,
|
|
64
69
|
j as GridNoRecords,
|
|
65
70
|
W as GridRow,
|
|
71
|
+
Or as GridSearchBox,
|
|
66
72
|
y as GridSelectionCell,
|
|
67
73
|
k as GridToolbar,
|
|
68
74
|
Fr as StatusBar,
|
|
69
75
|
ur as booleanFilterValues,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
mr as
|
|
76
|
+
xr as cellBoolDropdownChange,
|
|
77
|
+
dr as cellInputChange,
|
|
78
|
+
fr as cellOperatorChange,
|
|
79
|
+
Nr as contextMenuItemsMap,
|
|
80
|
+
C as filterGroupByField,
|
|
81
|
+
mr as getSelectedState,
|
|
82
|
+
lr as getSelectedStateFromKeyDown,
|
|
76
83
|
Rr as getStatusData,
|
|
77
84
|
gr as gridMessages,
|
|
78
85
|
G as isColumnMenuFilterActive,
|
|
79
|
-
|
|
86
|
+
x as isColumnMenuSortActive,
|
|
80
87
|
Tr as leafColumns,
|
|
81
|
-
|
|
88
|
+
Cr as operators,
|
|
82
89
|
sr as pagerFirstPage,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
90
|
+
Mr as pagerInfo,
|
|
91
|
+
cr as pagerItemPerPage,
|
|
92
|
+
Ir as pagerLastPage,
|
|
93
|
+
Sr as pagerNextPage,
|
|
94
|
+
Dr as pagerPreviousPage,
|
|
88
95
|
g as rootFilterOrDefault,
|
|
89
96
|
ir as setSelectedState
|
|
90
97
|
};
|
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;
|
package/messages/index.mjs
CHANGED
|
@@ -5,44 +5,45 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
[T]: "Expand detail row",
|
|
8
|
+
const e = "grid.noRecords", r = "grid.pagerInfo", t = "grid.pagerFirstPage", o = "grid.pagerPreviousPage", a = "grid.pagerNextPage", i = "grid.pagerLastPage", l = "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", h = "grid.filterApplyButton", A = "grid.filterClearButton", P = "grid.filterResetButton", m = "grid.filterSubmitButton", I = "grid.filterTitle", O = "grid.sortAscending", C = "grid.sortDescending", b = "grid.searchPlaceholder", L = "grid.searchboxPlaceholder", S = "grid.filterCheckAll", E = "grid.filterChooseOperator", x = "grid.filterSelectAll", R = "grid.filterSelectedItems", B = "grid.sortAriaLabel", q = "grid.filterAriaLabel", w = "grid.groupPanelAriaLabel", y = "grid.groupExpand", G = "grid.groupCollapse", N = "grid.detailExpand", D = "grid.detailCollapse", F = "grid.selectRow", T = "grid.gridAriaLabel", v = "grid.gridRowReorderAriaLabel", k = {
|
|
9
|
+
[N]: "Expand detail row",
|
|
11
10
|
[D]: "Collapse detail row",
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
11
|
+
[y]: "Expand group",
|
|
12
|
+
[G]: "Collapse Group",
|
|
13
|
+
[e]: "No records available",
|
|
14
|
+
[p]: "Drag a column header and drop it here to group by that column",
|
|
15
|
+
[h]: "Apply",
|
|
16
|
+
[A]: "Clear",
|
|
17
|
+
[P]: "Reset",
|
|
18
|
+
[m]: "Filter",
|
|
19
|
+
[I]: "Filter",
|
|
20
|
+
[O]: "Sort Ascending",
|
|
21
|
+
[C]: "Sort Descending",
|
|
22
|
+
[B]: "Sortable",
|
|
23
|
+
[c]: "Group Column",
|
|
24
|
+
[u]: "Ungroup Column",
|
|
25
|
+
[f]: "Column menu",
|
|
26
|
+
[l]: "items per page",
|
|
27
|
+
[r]: "{0} - {1} of {2} items",
|
|
28
|
+
[t]: "Go to the first page",
|
|
29
|
+
[o]: "Go to the previous page",
|
|
30
|
+
[a]: "Go to the next page",
|
|
31
|
+
[i]: "Go to the last page",
|
|
32
|
+
[g]: "Page",
|
|
33
|
+
[s]: "Page size",
|
|
34
|
+
[n]: "of",
|
|
35
|
+
[d]: "{0}",
|
|
36
|
+
[b]: "Search",
|
|
37
|
+
[L]: "Search...",
|
|
38
|
+
[S]: "Check All",
|
|
39
|
+
[E]: "Choose Operator",
|
|
40
|
+
[R]: "selected items",
|
|
41
|
+
[x]: "Select All",
|
|
42
|
+
[q]: "Filter",
|
|
43
|
+
[w]: "Group panel",
|
|
44
|
+
[T]: "Table",
|
|
45
|
+
[v]: "Drag row",
|
|
46
|
+
[F]: "Select Row",
|
|
46
47
|
"grid.filterEqOperator": "Is equal to",
|
|
47
48
|
"grid.filterNotEqOperator": "Is not equal to",
|
|
48
49
|
"grid.filterIsNullOperator": "Is null",
|
|
@@ -67,50 +68,44 @@ const o = "grid.noRecords", a = "grid.pagerInfo", i = "grid.pagerFirstPage", l =
|
|
|
67
68
|
"grid.filterAndLogic": "And",
|
|
68
69
|
"grid.filterOrLogic": "Or"
|
|
69
70
|
};
|
|
70
|
-
function U(r) {
|
|
71
|
-
const e = r.replace(
|
|
72
|
-
/^pager\.([a-z])/,
|
|
73
|
-
(k, t) => "grid.pager" + t.toUpperCase()
|
|
74
|
-
);
|
|
75
|
-
return { messageKey: e, defaultMessage: z[e] };
|
|
76
|
-
}
|
|
77
71
|
export {
|
|
78
|
-
|
|
72
|
+
f as columnMenu,
|
|
79
73
|
D as detailCollapse,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
74
|
+
N as detailExpand,
|
|
75
|
+
h as filterApplyButton,
|
|
76
|
+
q as filterAriaLabel,
|
|
77
|
+
S as filterCheckAll,
|
|
78
|
+
E as filterChooseOperator,
|
|
79
|
+
A as filterClearButton,
|
|
80
|
+
P as filterResetButton,
|
|
81
|
+
x as filterSelectAll,
|
|
82
|
+
R as filterSelectedItems,
|
|
83
|
+
m as filterSubmitButton,
|
|
84
|
+
I as filterTitle,
|
|
85
|
+
T as gridAriaLabel,
|
|
86
|
+
v as gridRowReorderAriaLabel,
|
|
87
|
+
G as groupCollapse,
|
|
88
|
+
c as groupColumn,
|
|
89
|
+
y as groupExpand,
|
|
90
|
+
w as groupPanelAriaLabel,
|
|
91
|
+
p as groupPanelEmpty,
|
|
92
|
+
k as messages,
|
|
93
|
+
e as noRecords,
|
|
94
|
+
t as pagerFirstPage,
|
|
95
|
+
r as pagerInfo,
|
|
96
|
+
l as pagerItemPerPage,
|
|
97
|
+
i as pagerLastPage,
|
|
98
|
+
a as pagerNextPage,
|
|
99
|
+
n as pagerOf,
|
|
100
|
+
g as pagerPage,
|
|
101
|
+
s as pagerPageSizeAriaLabel,
|
|
102
|
+
o as pagerPreviousPage,
|
|
103
|
+
d as pagerTotalPages,
|
|
104
|
+
b as searchPlaceholder,
|
|
105
|
+
L as searchboxPlaceholder,
|
|
106
|
+
F as selectRow,
|
|
107
|
+
B as sortAriaLabel,
|
|
108
|
+
O as sortAscending,
|
|
109
|
+
C as sortDescending,
|
|
110
|
+
u as ungroupColumn
|
|
116
111
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.js");function t(a){const e=a.replace(/^pager\.([a-z])/,(g,s)=>"grid.pager"+s.toUpperCase());return{messageKey:e,defaultMessage:r.messages[e]}}exports.pagerMessagesMap=t;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { messages as r } from "./index.mjs";
|
|
9
|
+
function t(a) {
|
|
10
|
+
const e = a.replace(
|
|
11
|
+
/^pager\.([a-z])/,
|
|
12
|
+
(p, s) => "grid.pager" + s.toUpperCase()
|
|
13
|
+
);
|
|
14
|
+
return { messageKey: e, defaultMessage: r[e] };
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
t as pagerMessagesMap
|
|
18
|
+
};
|
package/package-metadata.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={name:"@progress/kendo-react-grid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1738310232,version:"9.4.0-develop.10",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -5,14 +5,13 @@
|
|
|
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
|
const e = {
|
|
10
9
|
name: "@progress/kendo-react-grid",
|
|
11
10
|
productName: "KendoReact",
|
|
12
11
|
productCode: "KENDOUIREACT",
|
|
13
12
|
productCodes: ["KENDOUIREACT"],
|
|
14
|
-
publishDate:
|
|
15
|
-
version: "9.
|
|
13
|
+
publishDate: 1738310232,
|
|
14
|
+
version: "9.4.0-develop.10",
|
|
16
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
17
16
|
};
|
|
18
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-grid",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0-develop.10",
|
|
4
4
|
"description": "React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -28,15 +28,17 @@
|
|
|
28
28
|
"@progress/kendo-data-query": "^1.0.0",
|
|
29
29
|
"@progress/kendo-drawing": "^1.21.2",
|
|
30
30
|
"@progress/kendo-licensing": "^1.3.4",
|
|
31
|
-
"@progress/kendo-react-animation": "9.
|
|
32
|
-
"@progress/kendo-react-buttons": "9.
|
|
33
|
-
"@progress/kendo-react-common": "9.
|
|
34
|
-
"@progress/kendo-react-data-tools": "9.
|
|
35
|
-
"@progress/kendo-react-dateinputs": "9.
|
|
36
|
-
"@progress/kendo-react-
|
|
37
|
-
"@progress/kendo-react-
|
|
38
|
-
"@progress/kendo-react-
|
|
39
|
-
"@progress/kendo-react-
|
|
31
|
+
"@progress/kendo-react-animation": "9.4.0-develop.10",
|
|
32
|
+
"@progress/kendo-react-buttons": "9.4.0-develop.10",
|
|
33
|
+
"@progress/kendo-react-common": "9.4.0-develop.10",
|
|
34
|
+
"@progress/kendo-react-data-tools": "9.4.0-develop.10",
|
|
35
|
+
"@progress/kendo-react-dateinputs": "9.4.0-develop.10",
|
|
36
|
+
"@progress/kendo-react-indicators": "9.4.0-develop.10",
|
|
37
|
+
"@progress/kendo-react-dropdowns": "9.4.0-develop.10",
|
|
38
|
+
"@progress/kendo-react-inputs": "9.4.0-develop.10",
|
|
39
|
+
"@progress/kendo-react-intl": "9.4.0-develop.10",
|
|
40
|
+
"@progress/kendo-react-popup": "9.4.0-develop.10",
|
|
41
|
+
"@progress/kendo-react-layout": "9.4.0-develop.10",
|
|
40
42
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
41
43
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
42
44
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -65,10 +67,24 @@
|
|
|
65
67
|
"@progress": {
|
|
66
68
|
"friendlyName": "Grid",
|
|
67
69
|
"framework": "KendoReact",
|
|
70
|
+
"migrations": {
|
|
71
|
+
"options": {
|
|
72
|
+
"parser": "tsx",
|
|
73
|
+
"pattern": "*.{t,j}sx"
|
|
74
|
+
},
|
|
75
|
+
"codemods": {
|
|
76
|
+
"10": [
|
|
77
|
+
{
|
|
78
|
+
"description": "Applying codemods for version 10",
|
|
79
|
+
"file": "codemods/v10/index.js"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
68
84
|
"package": {
|
|
69
85
|
"productName": "KendoReact",
|
|
70
86
|
"productCode": "KENDOUIREACT",
|
|
71
|
-
"publishDate":
|
|
87
|
+
"publishDate": 1738310232,
|
|
72
88
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
73
89
|
}
|
|
74
90
|
},
|
|
@@ -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 u=({buttonCount:e=10,info:r=!0,type:t="numeric",pageSizes:o=void 0,previousNext:i=!0,responsive:a=void 0,navigatable:l=void 0,pageSizeValue:n=void 0})=>({buttonCount:e,info:r,pageSizes:o===!0?[5,10,20]:o||void 0,previousNext:i,responsive:a!==!1,navigatable:l!==!1,type:t,pageSizeValue:n}),s=e=>u(e===!0?{}:e);exports.normalize=s;
|
|
@@ -5,24 +5,23 @@
|
|
|
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
|
const s = ({
|
|
10
9
|
buttonCount: e = 10,
|
|
11
|
-
info:
|
|
12
|
-
type:
|
|
13
|
-
pageSizes:
|
|
10
|
+
info: r = !0,
|
|
11
|
+
type: i = "numeric",
|
|
12
|
+
pageSizes: o = void 0,
|
|
14
13
|
previousNext: t = !0,
|
|
15
14
|
responsive: a = void 0,
|
|
16
15
|
navigatable: l = void 0,
|
|
17
16
|
pageSizeValue: n = void 0
|
|
18
17
|
}) => ({
|
|
19
18
|
buttonCount: e,
|
|
20
|
-
info:
|
|
21
|
-
pageSizes:
|
|
19
|
+
info: r,
|
|
20
|
+
pageSizes: o === !0 ? [5, 10, 20] : o || void 0,
|
|
22
21
|
previousNext: t,
|
|
23
22
|
responsive: a !== !1,
|
|
24
23
|
navigatable: l !== !1,
|
|
25
|
-
type:
|
|
24
|
+
type: i,
|
|
26
25
|
pageSizeValue: n
|
|
27
26
|
}), u = (e) => s(e === !0 ? {} : e);
|
|
28
27
|
export {
|
package/rows/GridDetailRow.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=t=>null;exports.GridDetailRow=e;
|
package/rows/GridDetailRow.mjs
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
const r = (e) => null;
|
|
8
|
+
const o = (r) => null;
|
|
10
9
|
export {
|
|
11
|
-
|
|
10
|
+
o as GridDetailRow
|
|
12
11
|
};
|
package/rows/GridRow.js
CHANGED
|
@@ -5,4 +5,5 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use client";
|
|
8
|
+
"use client";
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),a=require("@progress/kendo-react-common"),C=require("../constants/index.js"),k=require("../GridClientWrapper.js");function O(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,t.get?t:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const d=O(v),T=e=>{var g;const r=d.useContext(k.GridContext),{reorderRowDropTargetRef:o,reorderRowDragTargetRef:t,activeDragRowDataItemRef:R}=r,{rowType:i,isAltRow:w,isInEdit:f,isSelected:b}=e,c=a.useUnstyled(),D=c&&c.uGrid?c.uGrid:a.uGrid,m=a.classNames(D.tr({selected:b,isHeader:i==="groupHeader",isFooter:i==="groupFooter",isMaster:i!=="groupHeader"&&i!=="groupFooter",isAltRow:w,isInEdit:f})),l=d.useRef(null),y=n=>{if(e.isRowReorderable&&R.current){const x=n.originalEvent.target;o.current=x.closest(".k-table-row")}},I=()=>{t.current&&e.isRowReorderable&&(t.current.style.userSelect="")};a.useDroppable(l,{onDragOver:y,onDrop:I});const s={onClick:n=>r.rowClick(n,e.dataItem),onDoubleClick:n=>r.rowDblClick(n,e.dataItem)},u=d.createElement("tr",{ref:l,id:e.id,...s,className:m,style:{height:e.rowHeight?e.rowHeight+"px":"",visibility:e.isHidden?"hidden":"",userSelect:(g=t==null?void 0:t.current)==null?void 0:g.style.userSelect},role:"row","aria-rowindex":e.ariaRowIndex,"absolute-row-index":e.absoluteRowIndex,key:e.absoluteRowIndex,[C.GRID_ROW_INDEX_ATTRIBUTE]:e.rowType==="data"?e.dataIndex:void 0},e.children);return e.render?e.render.call(void 0,u,{...e,...s}):u};exports.GridRow=T;
|