@progress/kendo-react-grid 8.2.1-develop.5 → 8.3.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 +336 -341
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +20 -21
- package/cells/GridDetailCell.js +1 -1
- package/cells/GridDetailCell.mjs +14 -13
- package/cells/GridDetailHierarchyCell.js +1 -1
- package/cells/GridDetailHierarchyCell.mjs +7 -3
- package/cells/GridEditCell.js +1 -1
- package/cells/GridEditCell.mjs +26 -28
- package/cells/GridFilterCell.js +1 -1
- package/cells/GridFilterCell.mjs +67 -52
- package/columnMenu/GridColumnMenuColumnsList.js +1 -1
- package/columnMenu/GridColumnMenuColumnsList.mjs +36 -34
- package/columnMenu/GridColumnMenuWrapper.js +1 -1
- package/columnMenu/GridColumnMenuWrapper.mjs +52 -49
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnDraggable.js +1 -1
- package/drag/ColumnDraggable.mjs +17 -15
- package/header/GridHeaderCell.js +1 -1
- package/header/GridHeaderCell.mjs +22 -28
- package/header/GridHeaderSelectionCell.js +1 -1
- package/header/GridHeaderSelectionCell.mjs +3 -3
- package/header/Header.js +1 -1
- package/header/Header.mjs +24 -38
- package/header/HeaderRow.js +1 -1
- package/header/HeaderRow.mjs +83 -77
- package/index.d.mts +10 -16
- package/index.d.ts +10 -16
- package/index.js +1 -1
- package/index.mjs +80 -80
- package/messages/index.js +1 -1
- package/messages/index.mjs +49 -43
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
- package/rows/GridRow.js +1 -1
- package/rows/GridRow.mjs +32 -40
- package/utils/index.js +1 -1
- package/utils/index.mjs +39 -38
package/index.d.mts
CHANGED
|
@@ -20,6 +20,7 @@ import { FilterOperator } from '@progress/kendo-react-data-tools';
|
|
|
20
20
|
import { ForwardRefExoticComponent } from 'react';
|
|
21
21
|
import { getSelectedState } from '@progress/kendo-react-data-tools';
|
|
22
22
|
import { getSelectedStateFromKeyDown } from '@progress/kendo-react-data-tools';
|
|
23
|
+
import { GridClassStructure } from '@progress/kendo-react-common';
|
|
23
24
|
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
24
25
|
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
25
26
|
import { HeaderThElementProps } from '@progress/kendo-react-data-tools';
|
|
@@ -1861,12 +1862,7 @@ export declare interface GridHandle extends Pick<GridClassComponent, keyof GridC
|
|
|
1861
1862
|
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
1862
1863
|
* ```
|
|
1863
1864
|
*/
|
|
1864
|
-
export declare
|
|
1865
|
-
/**
|
|
1866
|
-
* @hidden
|
|
1867
|
-
*/
|
|
1868
|
-
render(): string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
1869
|
-
}
|
|
1865
|
+
export declare const GridHeaderCell: (props: GridHeaderCellProps) => string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
1870
1866
|
|
|
1871
1867
|
/**
|
|
1872
1868
|
* The props of the GridHeaderCell component
|
|
@@ -1944,7 +1940,9 @@ export declare const gridMessages: {
|
|
|
1944
1940
|
"grid.groupCollapse": string;
|
|
1945
1941
|
"grid.noRecords": string;
|
|
1946
1942
|
"grid.groupPanelEmpty": string;
|
|
1943
|
+
"grid.filterApplyButton": string;
|
|
1947
1944
|
"grid.filterClearButton": string;
|
|
1945
|
+
"grid.filterResetButton": string;
|
|
1948
1946
|
"grid.filterSubmitButton": string;
|
|
1949
1947
|
"grid.filterTitle": string;
|
|
1950
1948
|
"grid.sortAscending": string;
|
|
@@ -1967,6 +1965,7 @@ export declare const gridMessages: {
|
|
|
1967
1965
|
"grid.filterCheckAll": string;
|
|
1968
1966
|
"grid.filterChooseOperator": string;
|
|
1969
1967
|
"grid.filterSelectedItems": string;
|
|
1968
|
+
"grid.filterSelectAll": string;
|
|
1970
1969
|
"grid.filterAriaLabel": string;
|
|
1971
1970
|
"grid.groupPanelAriaLabel": string;
|
|
1972
1971
|
"grid.gridAriaLabel": string;
|
|
@@ -2350,10 +2349,6 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2350
2349
|
* Fires when a header cell is about to be rendered. Overrides the default appearance of the header cell.
|
|
2351
2350
|
*/
|
|
2352
2351
|
headerCellRender?: (defaultRendering: React.ReactNode | null, props: GridHeaderCellProps) => React.ReactNode;
|
|
2353
|
-
/**
|
|
2354
|
-
* @hidden
|
|
2355
|
-
*/
|
|
2356
|
-
headerClassName?: string;
|
|
2357
2352
|
/**
|
|
2358
2353
|
* Fires when Grid is scrolled.
|
|
2359
2354
|
*/
|
|
@@ -2408,17 +2403,16 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2408
2403
|
* Sets the `id` property of the top div element of the component.
|
|
2409
2404
|
*/
|
|
2410
2405
|
id?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* @hidden
|
|
2408
|
+
*/
|
|
2409
|
+
unstyled?: GridClassStructure;
|
|
2411
2410
|
}
|
|
2412
2411
|
|
|
2413
2412
|
/**
|
|
2414
2413
|
* The component for each of the items in the `data` property which the Grid renders.
|
|
2415
2414
|
*/
|
|
2416
|
-
export declare
|
|
2417
|
-
/**
|
|
2418
|
-
* @hidden
|
|
2419
|
-
*/
|
|
2420
|
-
render(): string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
2421
|
-
}
|
|
2415
|
+
export declare const GridRow: (props: GridRowProps) => string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
2422
2416
|
|
|
2423
2417
|
/**
|
|
2424
2418
|
* Represents the object of the `onRowClick` Grid event.
|
package/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { FilterOperator } from '@progress/kendo-react-data-tools';
|
|
|
20
20
|
import { ForwardRefExoticComponent } from 'react';
|
|
21
21
|
import { getSelectedState } from '@progress/kendo-react-data-tools';
|
|
22
22
|
import { getSelectedStateFromKeyDown } from '@progress/kendo-react-data-tools';
|
|
23
|
+
import { GridClassStructure } from '@progress/kendo-react-common';
|
|
23
24
|
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
24
25
|
import { HeaderCellBaseProps } from '@progress/kendo-react-data-tools';
|
|
25
26
|
import { HeaderThElementProps } from '@progress/kendo-react-data-tools';
|
|
@@ -1861,12 +1862,7 @@ export declare interface GridHandle extends Pick<GridClassComponent, keyof GridC
|
|
|
1861
1862
|
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
1862
1863
|
* ```
|
|
1863
1864
|
*/
|
|
1864
|
-
export declare
|
|
1865
|
-
/**
|
|
1866
|
-
* @hidden
|
|
1867
|
-
*/
|
|
1868
|
-
render(): string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
1869
|
-
}
|
|
1865
|
+
export declare const GridHeaderCell: (props: GridHeaderCellProps) => string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
1870
1866
|
|
|
1871
1867
|
/**
|
|
1872
1868
|
* The props of the GridHeaderCell component
|
|
@@ -1944,7 +1940,9 @@ export declare const gridMessages: {
|
|
|
1944
1940
|
"grid.groupCollapse": string;
|
|
1945
1941
|
"grid.noRecords": string;
|
|
1946
1942
|
"grid.groupPanelEmpty": string;
|
|
1943
|
+
"grid.filterApplyButton": string;
|
|
1947
1944
|
"grid.filterClearButton": string;
|
|
1945
|
+
"grid.filterResetButton": string;
|
|
1948
1946
|
"grid.filterSubmitButton": string;
|
|
1949
1947
|
"grid.filterTitle": string;
|
|
1950
1948
|
"grid.sortAscending": string;
|
|
@@ -1967,6 +1965,7 @@ export declare const gridMessages: {
|
|
|
1967
1965
|
"grid.filterCheckAll": string;
|
|
1968
1966
|
"grid.filterChooseOperator": string;
|
|
1969
1967
|
"grid.filterSelectedItems": string;
|
|
1968
|
+
"grid.filterSelectAll": string;
|
|
1970
1969
|
"grid.filterAriaLabel": string;
|
|
1971
1970
|
"grid.groupPanelAriaLabel": string;
|
|
1972
1971
|
"grid.gridAriaLabel": string;
|
|
@@ -2350,10 +2349,6 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2350
2349
|
* Fires when a header cell is about to be rendered. Overrides the default appearance of the header cell.
|
|
2351
2350
|
*/
|
|
2352
2351
|
headerCellRender?: (defaultRendering: React.ReactNode | null, props: GridHeaderCellProps) => React.ReactNode;
|
|
2353
|
-
/**
|
|
2354
|
-
* @hidden
|
|
2355
|
-
*/
|
|
2356
|
-
headerClassName?: string;
|
|
2357
2352
|
/**
|
|
2358
2353
|
* Fires when Grid is scrolled.
|
|
2359
2354
|
*/
|
|
@@ -2408,17 +2403,16 @@ export declare interface GridProps extends KendoReactComponentBaseProps {
|
|
|
2408
2403
|
* Sets the `id` property of the top div element of the component.
|
|
2409
2404
|
*/
|
|
2410
2405
|
id?: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* @hidden
|
|
2408
|
+
*/
|
|
2409
|
+
unstyled?: GridClassStructure;
|
|
2411
2410
|
}
|
|
2412
2411
|
|
|
2413
2412
|
/**
|
|
2414
2413
|
* The component for each of the items in the `data` property which the Grid renders.
|
|
2415
2414
|
*/
|
|
2416
|
-
export declare
|
|
2417
|
-
/**
|
|
2418
|
-
* @hidden
|
|
2419
|
-
*/
|
|
2420
|
-
render(): string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
2421
|
-
}
|
|
2415
|
+
export declare const GridRow: (props: GridRowProps) => string | number | boolean | Iterable<React_2.ReactNode> | JSX_2.Element | null | undefined;
|
|
2422
2416
|
|
|
2423
2417
|
/**
|
|
2424
2418
|
* Represents the object of the `onRowClick` Grid event.
|
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Grid.js"),G=require("./GridColumn.js"),a=require("./columnMenu/GridColumnMenuWrapper.js"),C=require("./columnMenu/GridColumnMenuGroup.js"),s=require("./columnMenu/GridColumnMenuSort.js"),o=require("./columnMenu/GridColumnMenuFilter.js"),m=require("./columnMenu/GridColumnMenuFilterUI.js"),c=require("./columnMenu/GridColumnMenuFilterCell.js"),g=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),p=require("./columnMenu/GridColumnMenuColumnsList.js"),M=require("./cells/GridCell.js"),I=require("./cells/GridEditCell.js"),q=require("./cells/GridGroupCell.js"),S=require("./cells/GridHierarchyCell.js"),R=require("./cells/GridFilterCell.js"),D=require("./header/GridHeaderCell.js"),E=require("./cells/GridSelectionCell.js"),F=require("./rows/GridDetailRow.js"),T=require("./rows/GridRow.js"),P=require("./GridToolbar.js"),_=require("./GridNoRecords.js"),b=require("./columnMenu/GridColumnMenuItem.js"),N=require("./columnMenu/GridColumnMenuItemContent.js"),O=require("./columnMenu/GridColumnMenuItemGroup.js"),i=require("./constants/index.js"),t=require("@progress/kendo-react-data-tools"),h=require("./drag/CommonDragLogic.js"),r=require("./filterCommon.js"),n=require("@progress/kendo-react-common"),e=require("./messages/index.js"),l=require("./StatusBar.js"),d=n.withIdHOC(n.withUnstyledHOC(u.Grid));d.displayName="KendoReactGrid";exports.GridClassComponent=u.Grid;exports.GridColumn=G.GridColumn;exports.GridColumnMenuWrapper=a.GridColumnMenuWrapper;exports.GridColumnMenuGroup=C.GridColumnMenuGroup;exports.GridColumnMenuSort=s.GridColumnMenuSort;exports.GridColumnMenuFilter=o.GridColumnMenuFilter;exports.filterGroupByField=o.filterGroupByField;exports.rootFilterOrDefault=o.rootFilterOrDefault;exports.GridColumnMenuFilterUI=m.GridColumnMenuFilterUI;exports.GridColumnMenuFilterCell=c.GridColumnMenuFilterCell;exports.GridColumnMenuCheckboxFilter=g.GridColumnMenuCheckboxFilter;exports.GridColumnMenuColumnsList=p.GridColumnMenuColumnsList;exports.GridCell=M.GridCell;exports.GridEditCell=I.GridEditCell;exports.GridGroupCell=q.GridGroupCell;exports.GridHierarchyCell=S.GridHierarchyCell;exports.GridFilterCell=R.GridFilterCell;exports.GridHeaderCell=D.GridHeaderCell;exports.GridSelectionCell=E.GridSelectionCell;exports.GridDetailRow=F.GridDetailRow;exports.GridRow=T.GridRow;exports.GridToolbar=P.GridToolbar;exports.GridNoRecords=_.GridNoRecords;exports.GridColumnMenuItem=b.GridColumnMenuItem;exports.GridColumnMenuItemContent=N.GridColumnMenuItemContent;exports.GridColumnMenuItemGroup=O.GridColumnMenuItemGroup;exports.GRID_COL_INDEX_ATTRIBUTE=i.GRID_COL_INDEX_ATTRIBUTE;exports.GRID_PREVENT_SELECTION_ELEMENT=i.GRID_PREVENT_SELECTION_ELEMENT;exports.GRID_ROW_INDEX_ATTRIBUTE=i.GRID_ROW_INDEX_ATTRIBUTE;Object.defineProperty(exports,"getSelectedState",{enumerable:!0,get:()=>t.getSelectedState});Object.defineProperty(exports,"getSelectedStateFromKeyDown",{enumerable:!0,get:()=>t.getSelectedStateFromKeyDown});Object.defineProperty(exports,"setSelectedState",{enumerable:!0,get:()=>t.setSelectedState});exports.GridCommonDragLogic=h.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=l.StatusBar;exports.getStatusData=l.getStatusData;exports.leafColumns=l.leafColumns;exports.Grid=d;
|
package/index.mjs
CHANGED
|
@@ -7,86 +7,86 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import { Grid as r } from "./Grid.mjs";
|
|
10
|
-
import { GridColumn as
|
|
11
|
-
import { GridColumnMenuWrapper as
|
|
12
|
-
import { GridColumnMenuGroup as
|
|
13
|
-
import { GridColumnMenuSort as
|
|
14
|
-
import { GridColumnMenuFilter as
|
|
15
|
-
import { GridColumnMenuFilterUI as
|
|
16
|
-
import { GridColumnMenuFilterCell as
|
|
17
|
-
import { GridColumnMenuCheckboxFilter as
|
|
18
|
-
import { GridColumnMenuColumnsList as
|
|
19
|
-
import { GridCell as
|
|
20
|
-
import { GridEditCell as
|
|
21
|
-
import { GridGroupCell as
|
|
22
|
-
import { GridHierarchyCell as
|
|
23
|
-
import { GridFilterCell as
|
|
24
|
-
import { GridHeaderCell as
|
|
25
|
-
import { GridSelectionCell as
|
|
26
|
-
import { GridDetailRow as
|
|
27
|
-
import { GridRow as
|
|
28
|
-
import { GridToolbar as
|
|
29
|
-
import { GridNoRecords as
|
|
30
|
-
import { GridColumnMenuItem as
|
|
31
|
-
import { GridColumnMenuItemContent as
|
|
32
|
-
import { GridColumnMenuItemGroup as
|
|
33
|
-
import { GRID_COL_INDEX_ATTRIBUTE as
|
|
34
|
-
import { getSelectedState as
|
|
35
|
-
import { CommonDragLogic as
|
|
36
|
-
import { booleanFilterValues as
|
|
37
|
-
import { withIdHOC as e } from "@progress/kendo-react-common";
|
|
38
|
-
import { messages as
|
|
39
|
-
import { StatusBar as
|
|
40
|
-
const
|
|
41
|
-
|
|
10
|
+
import { GridColumn as a } from "./GridColumn.mjs";
|
|
11
|
+
import { GridColumnMenuWrapper as d } from "./columnMenu/GridColumnMenuWrapper.mjs";
|
|
12
|
+
import { GridColumnMenuGroup as G } from "./columnMenu/GridColumnMenuGroup.mjs";
|
|
13
|
+
import { GridColumnMenuSort as C } from "./columnMenu/GridColumnMenuSort.mjs";
|
|
14
|
+
import { GridColumnMenuFilter as s, filterGroupByField as g, rootFilterOrDefault as I } from "./columnMenu/GridColumnMenuFilter.mjs";
|
|
15
|
+
import { GridColumnMenuFilterUI as M } from "./columnMenu/GridColumnMenuFilterUI.mjs";
|
|
16
|
+
import { GridColumnMenuFilterCell as E } from "./columnMenu/GridColumnMenuFilterCell.mjs";
|
|
17
|
+
import { GridColumnMenuCheckboxFilter as S } from "./columnMenu/GridColumnMenuCheckboxFilter.mjs";
|
|
18
|
+
import { GridColumnMenuColumnsList as T } from "./columnMenu/GridColumnMenuColumnsList.mjs";
|
|
19
|
+
import { GridCell as N } from "./cells/GridCell.mjs";
|
|
20
|
+
import { GridEditCell as h } from "./cells/GridEditCell.mjs";
|
|
21
|
+
import { GridGroupCell as O } from "./cells/GridGroupCell.mjs";
|
|
22
|
+
import { GridHierarchyCell as y } from "./cells/GridHierarchyCell.mjs";
|
|
23
|
+
import { GridFilterCell as H } from "./cells/GridFilterCell.mjs";
|
|
24
|
+
import { GridHeaderCell as b } from "./header/GridHeaderCell.mjs";
|
|
25
|
+
import { GridSelectionCell as K } 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 $ } from "./GridToolbar.mjs";
|
|
29
|
+
import { GridNoRecords as q } from "./GridNoRecords.mjs";
|
|
30
|
+
import { GridColumnMenuItem as J } from "./columnMenu/GridColumnMenuItem.mjs";
|
|
31
|
+
import { GridColumnMenuItemContent as Y } 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 lr } from "./constants/index.mjs";
|
|
34
|
+
import { getSelectedState as ir, getSelectedStateFromKeyDown as pr, setSelectedState as ar } from "@progress/kendo-react-data-tools";
|
|
35
|
+
import { CommonDragLogic as dr } from "./drag/CommonDragLogic.mjs";
|
|
36
|
+
import { booleanFilterValues as Gr, cellBoolDropdownChange as fr, cellInputChange as Cr, cellOperatorChange as xr, operators as sr } from "./filterCommon.mjs";
|
|
37
|
+
import { withIdHOC as e, withUnstyledHOC as o } from "@progress/kendo-react-common";
|
|
38
|
+
import { messages as Ir, pagerFirstPage as cr, pagerInfo as Mr, pagerItemPerPage as Dr, pagerLastPage as Er, pagerNextPage as Rr, pagerPreviousPage as Sr } from "./messages/index.mjs";
|
|
39
|
+
import { StatusBar as Tr, getStatusData as _r, leafColumns as Nr } from "./StatusBar.mjs";
|
|
40
|
+
const t = e(o(r));
|
|
41
|
+
t.displayName = "KendoReactGrid";
|
|
42
42
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
or as GRID_COL_INDEX_ATTRIBUTE,
|
|
44
|
+
tr as GRID_PREVENT_SELECTION_ELEMENT,
|
|
45
|
+
lr as GRID_ROW_INDEX_ATTRIBUTE,
|
|
46
|
+
t as Grid,
|
|
47
|
+
N as GridCell,
|
|
48
48
|
r as GridClassComponent,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
49
|
+
a as GridColumn,
|
|
50
|
+
S as GridColumnMenuCheckboxFilter,
|
|
51
|
+
T as GridColumnMenuColumnsList,
|
|
52
|
+
s as GridColumnMenuFilter,
|
|
53
|
+
E as GridColumnMenuFilterCell,
|
|
54
|
+
M as GridColumnMenuFilterUI,
|
|
55
|
+
G as GridColumnMenuGroup,
|
|
56
|
+
J as GridColumnMenuItem,
|
|
57
|
+
Y as GridColumnMenuItemContent,
|
|
58
|
+
rr as GridColumnMenuItemGroup,
|
|
59
|
+
C as GridColumnMenuSort,
|
|
60
|
+
d as GridColumnMenuWrapper,
|
|
61
|
+
dr as GridCommonDragLogic,
|
|
62
|
+
W as GridDetailRow,
|
|
63
|
+
h as GridEditCell,
|
|
64
|
+
H as GridFilterCell,
|
|
65
|
+
O as GridGroupCell,
|
|
66
|
+
b as GridHeaderCell,
|
|
67
|
+
y as GridHierarchyCell,
|
|
68
|
+
q as GridNoRecords,
|
|
69
|
+
k as GridRow,
|
|
70
|
+
K as GridSelectionCell,
|
|
71
|
+
$ as GridToolbar,
|
|
72
|
+
Tr as StatusBar,
|
|
73
|
+
Gr as booleanFilterValues,
|
|
74
|
+
fr as cellBoolDropdownChange,
|
|
75
|
+
Cr as cellInputChange,
|
|
76
|
+
xr as cellOperatorChange,
|
|
77
|
+
g as filterGroupByField,
|
|
78
|
+
ir as getSelectedState,
|
|
79
|
+
pr as getSelectedStateFromKeyDown,
|
|
80
|
+
_r as getStatusData,
|
|
81
|
+
Ir as gridMessages,
|
|
82
|
+
Nr as leafColumns,
|
|
83
|
+
sr as operators,
|
|
84
|
+
cr as pagerFirstPage,
|
|
85
|
+
Mr as pagerInfo,
|
|
86
|
+
Dr as pagerItemPerPage,
|
|
87
|
+
Er as pagerLastPage,
|
|
88
|
+
Rr as pagerNextPage,
|
|
89
|
+
Sr as pagerPreviousPage,
|
|
90
|
+
I as rootFilterOrDefault,
|
|
91
|
+
ar as setSelectedState
|
|
92
92
|
};
|
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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r="grid.noRecords",t="grid.pagerInfo",a="grid.pagerFirstPage",o="grid.pagerPreviousPage",
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r="grid.noRecords",t="grid.pagerInfo",a="grid.pagerFirstPage",o="grid.pagerPreviousPage",l="grid.pagerNextPage",i="grid.pagerLastPage",g="grid.pagerItemsPerPage",s="grid.pagerPage",n="grid.pagerPageSizeAriaLabel",p="grid.pagerOf",d="grid.pagerTotalPages",c="grid.groupPanelEmpty",u="grid.groupColumn",f="grid.ungroupColumn",P="grid.columnMenu",m="grid.filterApplyButton",A="grid.filterClearButton",C="grid.filterResetButton",h="grid.filterSubmitButton",I="grid.filterTitle",O="grid.sortAscending",b="grid.sortDescending",L="grid.searchPlaceholder",S="grid.filterCheckAll",E="grid.filterChooseOperator",y="grid.filterSelectAll",B="grid.filterSelectedItems",x="grid.sortAriaLabel",R="grid.filterAriaLabel",q="grid.groupPanelAriaLabel",N="grid.groupExpand",G="grid.groupCollapse",M="grid.detailExpand",T="grid.detailCollapse",w="grid.selectRow",F="grid.gridAriaLabel",v={[M]:"Expand detail row",[T]:"Collapse detail row",[N]:"Expand group",[G]:"Collapse Group",[r]:"No records available",[c]:"Drag a column header and drop it here to group by that column",[m]:"Apply",[A]:"Clear",[C]:"Reset",[h]:"Filter",[I]:"Filter",[O]:"Sort Ascending",[b]:"Sort Descending",[x]:"Sortable",[u]:"Group Column",[f]:"Ungroup Column",[P]:"Column menu",[g]:"items per page",[t]:"{0} - {1} of {2} items",[a]:"Go to the first page",[o]:"Go to the previous page",[l]:"Go to the next page",[i]:"Go to the last page",[s]:"Page",[n]:"Page size",[p]:"of",[d]:"{0}",[L]:"Search",[S]:"Check All",[E]:"Choose Operator",[B]:"selected items",[y]:"Select All",[R]:"Filter",[q]:"Group panel",[F]:"Table",[w]:"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"};function k(D){const e=D.replace(/^pager\.([a-z])/,(U,z)=>"grid.pager"+z.toUpperCase());return{messageKey:e,defaultMessage:v[e]}}exports.columnMenu=P;exports.detailCollapse=T;exports.detailExpand=M;exports.filterApplyButton=m;exports.filterAriaLabel=R;exports.filterCheckAll=S;exports.filterChooseOperator=E;exports.filterClearButton=A;exports.filterResetButton=C;exports.filterSelectAll=y;exports.filterSelectedItems=B;exports.filterSubmitButton=h;exports.filterTitle=I;exports.gridAriaLabel=F;exports.groupCollapse=G;exports.groupColumn=u;exports.groupExpand=N;exports.groupPanelAriaLabel=q;exports.groupPanelEmpty=c;exports.messages=v;exports.noRecords=r;exports.pagerFirstPage=a;exports.pagerInfo=t;exports.pagerItemPerPage=g;exports.pagerLastPage=i;exports.pagerMessagesMap=k;exports.pagerNextPage=l;exports.pagerOf=p;exports.pagerPage=s;exports.pagerPageSizeAriaLabel=n;exports.pagerPreviousPage=o;exports.pagerTotalPages=d;exports.searchPlaceholder=L;exports.selectRow=w;exports.sortAriaLabel=x;exports.sortAscending=O;exports.sortDescending=b;exports.ungroupColumn=f;
|
package/messages/index.mjs
CHANGED
|
@@ -6,22 +6,24 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
const o = "grid.noRecords", a = "grid.pagerInfo", i = "grid.pagerFirstPage", l = "grid.pagerPreviousPage", g = "grid.pagerNextPage", s = "grid.pagerLastPage", n = "grid.pagerItemsPerPage", p = "grid.pagerPage", d = "grid.pagerPageSizeAriaLabel", c = "grid.pagerOf", u = "grid.pagerTotalPages", f = "grid.groupPanelEmpty", m = "grid.groupColumn",
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
9
|
+
const o = "grid.noRecords", a = "grid.pagerInfo", i = "grid.pagerFirstPage", l = "grid.pagerPreviousPage", g = "grid.pagerNextPage", s = "grid.pagerLastPage", n = "grid.pagerItemsPerPage", p = "grid.pagerPage", d = "grid.pagerPageSizeAriaLabel", c = "grid.pagerOf", u = "grid.pagerTotalPages", f = "grid.groupPanelEmpty", m = "grid.groupColumn", A = "grid.ungroupColumn", I = "grid.columnMenu", P = "grid.filterApplyButton", h = "grid.filterClearButton", O = "grid.filterResetButton", C = "grid.filterSubmitButton", b = "grid.filterTitle", E = "grid.sortAscending", L = "grid.sortDescending", S = "grid.searchPlaceholder", y = "grid.filterCheckAll", B = "grid.filterChooseOperator", q = "grid.filterSelectAll", x = "grid.filterSelectedItems", G = "grid.sortAriaLabel", N = "grid.filterAriaLabel", R = "grid.groupPanelAriaLabel", w = "grid.groupExpand", F = "grid.groupCollapse", T = "grid.detailExpand", D = "grid.detailCollapse", M = "grid.selectRow", v = "grid.gridAriaLabel", z = {
|
|
10
|
+
[T]: "Expand detail row",
|
|
11
|
+
[D]: "Collapse detail row",
|
|
12
|
+
[w]: "Expand group",
|
|
13
|
+
[F]: "Collapse Group",
|
|
14
14
|
[o]: "No records available",
|
|
15
15
|
[f]: "Drag a column header and drop it here to group by that column",
|
|
16
|
+
[P]: "Apply",
|
|
16
17
|
[h]: "Clear",
|
|
17
|
-
[O]: "
|
|
18
|
+
[O]: "Reset",
|
|
18
19
|
[C]: "Filter",
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
20
|
+
[b]: "Filter",
|
|
21
|
+
[E]: "Sort Ascending",
|
|
22
|
+
[L]: "Sort Descending",
|
|
23
|
+
[G]: "Sortable",
|
|
22
24
|
[m]: "Group Column",
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
+
[A]: "Ungroup Column",
|
|
26
|
+
[I]: "Column menu",
|
|
25
27
|
[n]: "items per page",
|
|
26
28
|
[a]: "{0} - {1} of {2} items",
|
|
27
29
|
[i]: "Go to the first page",
|
|
@@ -32,14 +34,15 @@ const o = "grid.noRecords", a = "grid.pagerInfo", i = "grid.pagerFirstPage", l =
|
|
|
32
34
|
[d]: "Page size",
|
|
33
35
|
[c]: "of",
|
|
34
36
|
[u]: "{0}",
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[N]: "
|
|
41
|
-
[
|
|
42
|
-
[
|
|
37
|
+
[S]: "Search",
|
|
38
|
+
[y]: "Check All",
|
|
39
|
+
[B]: "Choose Operator",
|
|
40
|
+
[x]: "selected items",
|
|
41
|
+
[q]: "Select All",
|
|
42
|
+
[N]: "Filter",
|
|
43
|
+
[R]: "Group panel",
|
|
44
|
+
[v]: "Table",
|
|
45
|
+
[M]: "Select Row",
|
|
43
46
|
"grid.filterEqOperator": "Is equal to",
|
|
44
47
|
"grid.filterNotEqOperator": "Is not equal to",
|
|
45
48
|
"grid.filterIsNullOperator": "Is null",
|
|
@@ -64,44 +67,47 @@ const o = "grid.noRecords", a = "grid.pagerInfo", i = "grid.pagerFirstPage", l =
|
|
|
64
67
|
"grid.filterAndLogic": "And",
|
|
65
68
|
"grid.filterOrLogic": "Or"
|
|
66
69
|
};
|
|
67
|
-
function
|
|
68
|
-
const e = r.replace(/^pager\.([a-z])/, (
|
|
69
|
-
return { messageKey: e, defaultMessage:
|
|
70
|
+
function U(r) {
|
|
71
|
+
const e = r.replace(/^pager\.([a-z])/, (k, t) => "grid.pager" + t.toUpperCase());
|
|
72
|
+
return { messageKey: e, defaultMessage: z[e] };
|
|
70
73
|
}
|
|
71
74
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
I as columnMenu,
|
|
76
|
+
D as detailCollapse,
|
|
77
|
+
T as detailExpand,
|
|
78
|
+
P as filterApplyButton,
|
|
79
|
+
N as filterAriaLabel,
|
|
80
|
+
y as filterCheckAll,
|
|
81
|
+
B as filterChooseOperator,
|
|
78
82
|
h as filterClearButton,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
O as filterResetButton,
|
|
84
|
+
q as filterSelectAll,
|
|
85
|
+
x as filterSelectedItems,
|
|
86
|
+
C as filterSubmitButton,
|
|
87
|
+
b as filterTitle,
|
|
88
|
+
v as gridAriaLabel,
|
|
89
|
+
F as groupCollapse,
|
|
84
90
|
m as groupColumn,
|
|
85
|
-
|
|
86
|
-
|
|
91
|
+
w as groupExpand,
|
|
92
|
+
R as groupPanelAriaLabel,
|
|
87
93
|
f as groupPanelEmpty,
|
|
88
|
-
|
|
94
|
+
z as messages,
|
|
89
95
|
o as noRecords,
|
|
90
96
|
i as pagerFirstPage,
|
|
91
97
|
a as pagerInfo,
|
|
92
98
|
n as pagerItemPerPage,
|
|
93
99
|
s as pagerLastPage,
|
|
94
|
-
|
|
100
|
+
U as pagerMessagesMap,
|
|
95
101
|
g as pagerNextPage,
|
|
96
102
|
c as pagerOf,
|
|
97
103
|
p as pagerPage,
|
|
98
104
|
d as pagerPageSizeAriaLabel,
|
|
99
105
|
l as pagerPreviousPage,
|
|
100
106
|
u as pagerTotalPages,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
S as searchPlaceholder,
|
|
108
|
+
M as selectRow,
|
|
109
|
+
G as sortAriaLabel,
|
|
110
|
+
E as sortAscending,
|
|
111
|
+
L as sortDescending,
|
|
112
|
+
A as ungroupColumn
|
|
107
113
|
};
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-grid",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1724427707,
|
|
14
14
|
version: "",
|
|
15
15
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-grid",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.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",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@progress/kendo-data-query": "^1.0.0",
|
|
26
26
|
"@progress/kendo-drawing": "^1.20.1",
|
|
27
27
|
"@progress/kendo-licensing": "^1.3.4",
|
|
28
|
-
"@progress/kendo-react-animation": "8.
|
|
29
|
-
"@progress/kendo-react-buttons": "8.
|
|
30
|
-
"@progress/kendo-react-common": "8.
|
|
31
|
-
"@progress/kendo-react-data-tools": "8.
|
|
32
|
-
"@progress/kendo-react-dateinputs": "8.
|
|
33
|
-
"@progress/kendo-react-dropdowns": "8.
|
|
34
|
-
"@progress/kendo-react-inputs": "8.
|
|
35
|
-
"@progress/kendo-react-intl": "8.
|
|
36
|
-
"@progress/kendo-react-popup": "8.
|
|
28
|
+
"@progress/kendo-react-animation": "8.3.0-develop.10",
|
|
29
|
+
"@progress/kendo-react-buttons": "8.3.0-develop.10",
|
|
30
|
+
"@progress/kendo-react-common": "8.3.0-develop.10",
|
|
31
|
+
"@progress/kendo-react-data-tools": "8.3.0-develop.10",
|
|
32
|
+
"@progress/kendo-react-dateinputs": "8.3.0-develop.10",
|
|
33
|
+
"@progress/kendo-react-dropdowns": "8.3.0-develop.10",
|
|
34
|
+
"@progress/kendo-react-inputs": "8.3.0-develop.10",
|
|
35
|
+
"@progress/kendo-react-intl": "8.3.0-develop.10",
|
|
36
|
+
"@progress/kendo-react-popup": "8.3.0-develop.10",
|
|
37
37
|
"@progress/kendo-svg-icons": "^3.0.0",
|
|
38
38
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
39
39
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
package/rows/GridRow.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),r=require("@progress/kendo-react-common"),s=require("../constants/index.js");function g(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const b=g(u),w=e=>{const{rowType:t,isAltRow:i,isInEdit:n,isSelected:a}=e,o=r.useUnstyled(),c=o&&o.uGrid?o.uGrid:r.uGrid,l=r.classNames(c.tr({selected:a,isHeader:t==="groupHeader",isFooter:t==="groupFooter",isMaster:t!=="groupHeader"&&t!=="groupFooter",isAltRow:i,isInEdit:n})),d=b.createElement("tr",{id:e.id,onClick:e.onClick,onDoubleClick:e.onDoubleClick,className:l,style:{height:e.rowHeight?e.rowHeight+"px":"",visibility:e.isHidden?"hidden":""},role:"row","aria-rowindex":e.ariaRowIndex,"absolute-row-index":e.absoluteRowIndex,key:e.absoluteRowIndex,[s.GRID_ROW_INDEX_ATTRIBUTE]:e.rowType==="data"?e.dataIndex:void 0},e.children);return e.render?e.render.call(void 0,d,e):d};exports.GridRow=w;
|