@progress/kendo-react-grid 13.3.0-develop.9 → 13.4.0-develop.1
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/BasePDFExport.d.ts +31 -0
- package/Grid.d.ts +129 -0
- package/GridClientContextReader.d.ts +17 -0
- package/GridClientWrapper.d.ts +32 -0
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +21 -25
- package/GridColumn.d.ts +51 -0
- package/GridComponent.d.ts +14 -0
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +35 -35
- package/GridPdfExportButton.d.ts +18 -0
- package/GridSearchBox.d.ts +27 -0
- package/GridState.d.ts +30 -0
- package/GridToolbar.d.ts +48 -0
- package/ScrollMode.d.ts +8 -0
- package/StatusBar.d.ts +59 -0
- package/VirtualScroll.d.ts +45 -0
- package/cells/GridDetailHierarchyCell.d.ts +16 -0
- package/cells/GridFilterCell.d.ts +10 -0
- package/cells/GridFilterCell.mjs +4 -4
- package/cells/datacell/GridCell.d.ts +15 -0
- package/cells/datacell/GridCellServer.d.ts +15 -0
- package/cells/datacell/GridCellServerContainer.d.ts +11 -0
- package/cells/datacell/useCellClientTdProps.d.ts +69 -0
- package/cells/datacell/utils.d.ts +20 -0
- package/cells/detailcell/GridDetailCell.d.ts +23 -0
- package/cells/detailcell/GridDetailCellServer.d.ts +11 -0
- package/cells/detailcell/GridDetailCellServerContainer.d.ts +12 -0
- package/cells/detailcell/useDetailCellClientTdProps.d.ts +23 -0
- package/cells/detailcell/utils.d.ts +19 -0
- package/cells/editcell/GridEditCell.d.ts +15 -0
- package/cells/editcell/GridEditCellEditor.d.ts +11 -0
- package/cells/editcell/GridEditCellServer.d.ts +15 -0
- package/cells/editcell/GridEditCellServerContainer.d.ts +11 -0
- package/cells/editcell/useEditCellClientTdProps.d.ts +25 -0
- package/cells/editcell/utils.d.ts +19 -0
- package/cells/groupcell/GridGroupCell.d.ts +15 -0
- package/cells/groupcell/GridGroupCellServer.d.ts +15 -0
- package/cells/groupcell/GridGroupCellServerContainer.d.ts +12 -0
- package/cells/groupcell/GridGroupCellToggle.d.ts +13 -0
- package/cells/groupcell/useGroupCellClientTdProps.d.ts +41 -0
- package/cells/groupcell/utils.d.ts +22 -0
- package/cells/hierarchycell/GridHierarchyCell.d.ts +15 -0
- package/cells/hierarchycell/GridHierarchyCellServer.d.ts +15 -0
- package/cells/hierarchycell/GridHierarchyCellServerContainer.d.ts +11 -0
- package/cells/hierarchycell/GridHierarchyCellToggle.d.ts +13 -0
- package/cells/hierarchycell/GridHierarchyCellToggle.mjs +2 -2
- package/cells/hierarchycell/useHierarchyCellClientTdProps.d.ts +32 -0
- package/cells/hierarchycell/utils.d.ts +20 -0
- package/cells/hooks.d.ts +25 -0
- package/cells/rowreordercell/GridRowReorderCell.d.ts +15 -0
- package/cells/rowreordercell/GridRowReorderCellServer.d.ts +15 -0
- package/cells/rowreordercell/GridRowReorderCellServerContainer.d.ts +11 -0
- package/cells/rowreordercell/useRowReorderCellClientTdProps.d.ts +27 -0
- package/cells/rowreordercell/utils.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCell.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCellInput.d.ts +13 -0
- package/cells/selectioncell/GridSelectionCellServer.d.ts +15 -0
- package/cells/selectioncell/GridSelectionCellServerContainer.d.ts +11 -0
- package/cells/selectioncell/useSelectionCellClientTdProps.d.ts +25 -0
- package/cells/selectioncell/utils.d.ts +25 -0
- package/codemods/v11/cell-render.js +2 -9
- package/codemods/v11/column-cell.js +2 -9
- package/codemods/v11/column-filter-cell.js +2 -9
- package/codemods/v11/column-footer-cell.js +2 -9
- package/codemods/v11/column-header-cell.js +2 -9
- package/codemods/v11/detail-expand-state.js +2 -9
- package/codemods/v11/edit-state.js +2 -9
- package/codemods/v11/filter-cell-render.js +2 -9
- package/codemods/v11/group-expand-state.js +2 -9
- package/codemods/v11/header-cell-render.js +2 -9
- package/codemods/v11/index.js +0 -7
- package/codemods/v11/row-render.js +2 -9
- package/codemods/v11/selection-state.js +2 -9
- package/codemods/v11/utils.js +2 -9
- package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +58 -0
- package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +0 -1
- package/columnMenu/GridColumnMenuColumnsChooser.d.ts +30 -0
- package/columnMenu/GridColumnMenuColumnsList.d.ts +34 -0
- package/columnMenu/GridColumnMenuFilter.d.ts +101 -0
- package/columnMenu/GridColumnMenuFilterCell.d.ts +29 -0
- package/columnMenu/GridColumnMenuFilterUI.d.ts +13 -0
- package/columnMenu/GridColumnMenuGroup.d.ts +61 -0
- package/columnMenu/GridColumnMenuGroup.mjs +3 -3
- package/columnMenu/GridColumnMenuItem.d.ts +48 -0
- package/columnMenu/GridColumnMenuItemContent.d.ts +22 -0
- package/columnMenu/GridColumnMenuItemGroup.d.ts +18 -0
- package/columnMenu/GridColumnMenuSort.d.ts +67 -0
- package/columnMenu/GridColumnMenuWrapper.d.ts +33 -0
- package/columnMenu/GridColumnMenuWrapper.mjs +5 -5
- package/columnMenu/adaptiveContent/GridActionSheetFooter.d.ts +26 -0
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.d.ts +27 -0
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +4 -4
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.d.ts +32 -0
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +3 -3
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.d.ts +12 -0
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnMenu.mjs +4 -4
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +27 -0
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +8 -8
- package/columnMenu/adaptiveContext/GridColumnMenuAdaptiveContext.d.ts +23 -0
- package/components/GridContainerElementContainer.d.ts +12 -0
- package/components/GridDragClue.d.ts +12 -0
- package/components/GridDraggableRowsContainer.d.ts +20 -0
- package/components/GridDropClue.d.ts +12 -0
- package/components/GridEditDialog.d.ts +22 -0
- package/components/GridEditDialog.mjs +1 -1
- package/components/GridElementContainer.d.ts +14 -0
- package/components/GridLoader.d.ts +17 -0
- package/components/PagerContainer.d.ts +12 -0
- package/components/VirtualScrollHeightContainer.d.ts +12 -0
- package/components/colGroup/GridColGroup.d.ts +12 -0
- package/components/icons/reorder-row-svg.d.ts +12 -0
- package/components/noRecords/GridNoRecords.d.ts +31 -0
- package/components/noRecords/GridNoRecordsContainer.d.ts +15 -0
- package/components/noRecords/GridNoRecordsContainer.mjs +1 -1
- package/components/table/GridTable.d.ts +12 -0
- package/components/table/GridTableBody.d.ts +12 -0
- package/components/table/GridTableScrollable.d.ts +12 -0
- package/components/utils.d.ts +21 -0
- package/constants/index.d.ts +15 -0
- package/constants/index.mjs +2 -2
- package/contextMenu/GridContextMenu.d.ts +205 -0
- package/contextMenu/GridContextMenu.mjs +19 -19
- package/contextMenu/enums.d.ts +36 -0
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnDraggable.d.ts +26 -0
- package/drag/ColumnResize.d.ts +47 -0
- package/drag/CommonDragLogic.d.ts +50 -0
- package/drag/GroupingIndicator.d.ts +26 -0
- package/drag/GroupingIndicator.js +1 -1
- package/drag/GroupingIndicator.mjs +20 -20
- package/filterCommon.d.ts +86 -0
- package/footer/Footer.d.ts +38 -0
- package/footer/Footer.js +1 -1
- package/footer/Footer.mjs +9 -9
- package/footer/FooterCell.d.ts +19 -0
- package/footer/FooterRow.d.ts +23 -0
- package/footer/client/FooterCellContainer.d.ts +12 -0
- package/header/FilterRow.d.ts +35 -0
- package/header/GridHeaderCell.d.ts +48 -0
- package/header/GridHeaderSelectionCell.d.ts +13 -0
- package/header/GroupPanel.d.ts +23 -0
- package/header/GroupPanel.js +1 -1
- package/header/GroupPanel.mjs +11 -11
- package/header/Header.d.ts +44 -0
- package/header/Header.js +1 -1
- package/header/Header.mjs +1 -1
- package/header/HeaderRow.d.ts +45 -0
- package/header/client/GridFilterCellContainer.d.ts +12 -0
- package/header/client/GridFilterCellElementContainer.d.ts +12 -0
- package/header/client/GridHeaderCellContainer.d.ts +12 -0
- package/header/client/GridHeaderCellElementContainer.d.ts +12 -0
- package/header/client/GridHeaderRowContainer.d.ts +16 -0
- package/header/client/GridHeaderRowReorderCell.d.ts +12 -0
- package/header/client/HeaderCellResizer.d.ts +11 -0
- package/header/client/HeaderRowDraggable.d.ts +11 -0
- package/index.d.mts +84 -5356
- package/index.d.ts +84 -5356
- package/interfaces/ColumnType.d.ts +13 -0
- package/interfaces/CompositeHighlightDescriptor.d.ts +29 -0
- package/interfaces/GridAIAssistantCommand.d.ts +110 -0
- package/interfaces/GridAICommands.d.ts +60 -0
- package/interfaces/GridCellProps.d.ts +112 -0
- package/interfaces/GridCellRenderModel.d.ts +15 -0
- package/interfaces/GridCellsSettings.d.ts +366 -0
- package/interfaces/GridColSpanProps.d.ts +21 -0
- package/interfaces/GridColumnChildrenProps.d.ts +18 -0
- package/interfaces/GridColumnMenuBaseProps.d.ts +21 -0
- package/interfaces/GridColumnMenuColumnProps.d.ts +32 -0
- package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +22 -0
- package/interfaces/GridColumnMenuFilterBaseProps.d.ts +31 -0
- package/interfaces/GridColumnMenuFilterUIProps.d.ts +38 -0
- package/interfaces/GridColumnMenuGroupBaseProps.d.ts +26 -0
- package/interfaces/GridColumnMenuProps.d.ts +24 -0
- package/interfaces/GridColumnMenuSortBaseProps.d.ts +27 -0
- package/interfaces/GridColumnProps.d.ts +230 -0
- package/interfaces/GridColumnState.d.ts +52 -0
- package/interfaces/GridDataType.d.ts +12 -0
- package/interfaces/GridDetailExpandableSettings.d.ts +11 -0
- package/interfaces/GridDetailRowProps.d.ts +20 -0
- package/interfaces/GridEditDialogProps.d.ts +30 -0
- package/interfaces/GridEditableSettings.d.ts +16 -0
- package/interfaces/GridFilterCellProps.d.ts +67 -0
- package/interfaces/GridFilterOperator.d.ts +13 -0
- package/interfaces/GridFilterOperators.d.ts +56 -0
- package/interfaces/GridFooterCellProps.d.ts +29 -0
- package/interfaces/GridGroupExpandableSettings.d.ts +22 -0
- package/interfaces/GridGroupableSettings.d.ts +25 -0
- package/interfaces/GridHeaderCellProps.d.ts +23 -0
- package/interfaces/GridHighlightDescriptor.d.ts +16 -0
- package/interfaces/GridNoRecordsProps.d.ts +16 -0
- package/interfaces/GridProps.d.ts +1083 -0
- package/interfaces/GridReorderDropDir.d.ts +11 -0
- package/interfaces/GridRowProps.d.ts +75 -0
- package/interfaces/GridRowReorderSettings.d.ts +25 -0
- package/interfaces/GridRowSpannableSettings.d.ts +21 -0
- package/interfaces/GridRowType.d.ts +16 -0
- package/interfaces/GridRowsSettings.d.ts +57 -0
- package/interfaces/GridSelectableSettings.d.ts +25 -0
- package/interfaces/GridSortSettings.d.ts +26 -0
- package/interfaces/GridStackedLayoutSettings.d.ts +60 -0
- package/interfaces/GridToolbarProps.d.ts +17 -0
- package/interfaces/VirtualScrollInterface.d.ts +29 -0
- package/interfaces/events.d.ts +357 -0
- package/interfaces/index.d.ts +15 -0
- package/messages/index.d.ts +365 -0
- package/messages/messagesMap.d.ts +14 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +17 -17
- package/paging/GridPagerSettings.d.ts +89 -0
- package/paging/Page.d.ts +20 -0
- package/rows/GridDetailRow.d.ts +41 -0
- package/rows/GridDetailRowRenderer.d.ts +48 -0
- package/rows/GridRow.d.ts +13 -0
- package/rows/GridRowRenderer.d.ts +47 -0
- package/sortCommon.d.ts +20 -0
- package/stacked/GridStackedCell.d.ts +67 -0
- package/stacked/GridStackedDetailToggle.d.ts +20 -0
- package/stacked/GridStackedDetailToggle.mjs +2 -2
- package/stacked/GridStackedRow.d.ts +214 -0
- package/stacked/StackedModeComponents.d.ts +45 -0
- package/stacked/StackedModeRow.d.ts +46 -0
- package/toolbar-tools/GridToolbarAIAssistant.d.ts +246 -0
- package/toolbar-tools/GridToolbarCheckboxFilter.d.ts +89 -0
- package/toolbar-tools/GridToolbarCheckboxFilter.js +1 -1
- package/toolbar-tools/GridToolbarCheckboxFilter.mjs +0 -1
- package/toolbar-tools/GridToolbarColumnsChooser.d.ts +55 -0
- package/toolbar-tools/GridToolbarFilter.d.ts +72 -0
- package/toolbar-tools/GridToolbarFilter.mjs +5 -5
- package/toolbar-tools/GridToolbarGroup.d.ts +55 -0
- package/toolbar-tools/GridToolbarSeparator.d.ts +21 -0
- package/toolbar-tools/GridToolbarSort.d.ts +55 -0
- package/toolbar-tools/GridToolbarSpacer.d.ts +21 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.d.ts +35 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarCheckboxFilter.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.d.ts +33 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarColumnChooser.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.d.ts +34 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.mjs +3 -3
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +26 -0
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +27 -0
- package/toolbar-tools/adaptiveContext/GridToolbarAdaptiveContext.d.ts +23 -0
- package/toolbar-tools/ai-tool/GridAIPrompt.d.ts +160 -0
- package/utils/GridContext.d.ts +12 -0
- package/utils/_clientModule.d.ts +11 -0
- package/utils/_serverModule.d.ts +12 -0
- package/utils/handleAIResponse.d.ts +221 -0
- package/utils/index.d.ts +185 -0
- package/utils/index.js +1 -1
- package/utils/index.mjs +2 -2
- package/utils/premium.d.ts +31 -0
- package/utils/virtualColumns.d.ts +18 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { SortDescriptor } from '@progress/kendo-data-query';
|
|
9
|
+
import { GridColumnMenuSortBaseProps } from '../interfaces/GridColumnMenuSortBaseProps.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Can be used to check if sorting is applied to a specific field ([see example](https://www.telerik.com/kendo-react-ui/components/grid/columns/column-menu#toc-styling-the-column-menu-icon)). Useful for creating active sort indicators.
|
|
13
|
+
*/
|
|
14
|
+
export declare const isColumnMenuSortActive: (field: string, sort?: SortDescriptor[]) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The props of the GridColumnMenuSort component.
|
|
17
|
+
*/
|
|
18
|
+
export interface GridColumnMenuSortProps extends GridColumnMenuSortBaseProps {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx-no-run
|
|
23
|
+
* const ColumnMenu = (props) => {
|
|
24
|
+
* return (
|
|
25
|
+
* <div>
|
|
26
|
+
* <GridColumnMenuSort {...props} />
|
|
27
|
+
* </div>
|
|
28
|
+
* );
|
|
29
|
+
* };
|
|
30
|
+
*
|
|
31
|
+
* const initialState = {
|
|
32
|
+
* take: 10,
|
|
33
|
+
* skip: 0
|
|
34
|
+
* };
|
|
35
|
+
*
|
|
36
|
+
* const App = () => {
|
|
37
|
+
* const [dataState, setDataState] = useState(initialState);
|
|
38
|
+
* const [result, setResult] = useState(process(products.slice(0), initialState));
|
|
39
|
+
*
|
|
40
|
+
* const dataStateChange = (event) => {
|
|
41
|
+
* setDataState(event.dataState);
|
|
42
|
+
* setResult(process(products.slice(0), event.dataState));
|
|
43
|
+
* };
|
|
44
|
+
*
|
|
45
|
+
* return (
|
|
46
|
+
* <div>
|
|
47
|
+
* <div>
|
|
48
|
+
* <Grid
|
|
49
|
+
* data={result}
|
|
50
|
+
* {...dataState}
|
|
51
|
+
* onDataStateChange={dataStateChange}
|
|
52
|
+
* sortable={true}
|
|
53
|
+
* pageable={true}
|
|
54
|
+
* >
|
|
55
|
+
* <Column field="ProductID" title="Product ID" columnMenu={ColumnMenu} />
|
|
56
|
+
* <Column field="ProductName" />
|
|
57
|
+
* </Grid>
|
|
58
|
+
* <br />
|
|
59
|
+
* </div>
|
|
60
|
+
* </div>
|
|
61
|
+
* );
|
|
62
|
+
* };
|
|
63
|
+
*
|
|
64
|
+
* export default App;
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare const GridColumnMenuSort: (props: GridColumnMenuSortProps) => React.JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { GridColumnMenuProps } from '../interfaces/GridColumnMenuProps.js';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-react-common';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* The props of the GridColumnMenuWrapper component.
|
|
13
|
+
*/
|
|
14
|
+
export interface GridColumnMenuWrapperProps extends GridColumnMenuProps {
|
|
15
|
+
/**
|
|
16
|
+
* The component to be rendered as content of the Grid column menu.
|
|
17
|
+
*/
|
|
18
|
+
columnMenu?: React.ComponentType<GridColumnMenuProps> | null;
|
|
19
|
+
/**
|
|
20
|
+
* The icon that overrides the default(three vertical dots) icon displayed in the column menu of each column.
|
|
21
|
+
*/
|
|
22
|
+
columnMenuIcon?: SVGIcon;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export interface ColumnMenuStateProps {
|
|
28
|
+
show: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The GridColumnMenuWrapper component.
|
|
32
|
+
*/
|
|
33
|
+
export declare const GridColumnMenuWrapper: (props: GridColumnMenuWrapperProps) => React.JSX.Element;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"use client";
|
|
9
9
|
import * as t from "react";
|
|
10
10
|
import { Popup as V } from "@progress/kendo-react-popup";
|
|
11
|
-
import {
|
|
11
|
+
import { useDocument as _, Navigation as H, classNames as q, IconWrap as D, TABBABLE_ELEMENTS as J, getActiveElement as Q } from "@progress/kendo-react-common";
|
|
12
12
|
import { moreVerticalIcon as U } from "@progress/kendo-svg-icons";
|
|
13
13
|
import { columnMenu as b, messages as X } from "../messages/index.mjs";
|
|
14
14
|
import { useLocalization as Y } from "@progress/kendo-react-intl";
|
|
@@ -16,9 +16,9 @@ import { GridContext as Z } from "../utils/GridContext.mjs";
|
|
|
16
16
|
import { GridColumnMenuAdaptiveProvider as O } from "./adaptiveContext/GridColumnMenuAdaptiveContext.mjs";
|
|
17
17
|
import { GridAdaptiveColumnMenu as j } from "./adaptiveContent/GridAdaptiveColumnMenu.mjs";
|
|
18
18
|
import ee from "react-dom";
|
|
19
|
-
const ne = [".k-columnmenu-item-content", ".k-filter-menu-container"].map((r) =>
|
|
19
|
+
const ne = [".k-columnmenu-item-content", ".k-filter-menu-container"].map((r) => J.map((c) => `${r} ${c}`)), te = [[".k-tabstrip-items"], [".k-columnmenu-item"], ...ne], de = (r) => {
|
|
20
20
|
var y;
|
|
21
|
-
const c = t.useContext(Z), [d, M] = t.useState(!1), s = t.useRef(null), i = t.useRef(null), l = t.useRef(null), h = t.useRef(0), A =
|
|
21
|
+
const c = t.useContext(Z), [d, M] = t.useState(!1), s = t.useRef(null), i = t.useRef(null), l = t.useRef(null), h = t.useRef(0), A = _(s), { columnMenu: a, ...p } = r, { column: u, columnMenuIcon: g, navigatable: C } = r, T = Y(), w = u.title || u.field, S = w ? `${w} ` : "", x = "#", N = (n) => {
|
|
22
22
|
const e = Q(document);
|
|
23
23
|
clearTimeout(h.current), h.current = window.setTimeout(() => {
|
|
24
24
|
!c.mobileMode && e && n.relatedTarget !== s.current && i.current && !i.current.contains(e) && m();
|
|
@@ -65,7 +65,7 @@ const ne = [".k-columnmenu-item-content", ".k-filter-menu-container"].map((r) =>
|
|
|
65
65
|
},
|
|
66
66
|
[]
|
|
67
67
|
), k = t.useCallback((n, e) => !e || !Array.isArray(e) ? !1 : e.some((o) => o.field === n), []), W = t.useMemo(() => u.field && (v(u.field, c.filter) || k(u.field, c.group)), [u.field, c.filter, c.group, v, k]);
|
|
68
|
-
return t.useEffect(() => (E && i.current && (l.current = new
|
|
68
|
+
return t.useEffect(() => (E && i.current && (l.current = new H({
|
|
69
69
|
tabIndex: 0,
|
|
70
70
|
root: i,
|
|
71
71
|
selectors: te,
|
|
@@ -78,7 +78,7 @@ const ne = [".k-columnmenu-item-content", ".k-filter-menu-container"].map((r) =>
|
|
|
78
78
|
}), [E]), /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
|
|
79
79
|
"a",
|
|
80
80
|
{
|
|
81
|
-
className:
|
|
81
|
+
className: q("k-grid-header-menu k-grid-column-menu", {
|
|
82
82
|
"k-active": W
|
|
83
83
|
}),
|
|
84
84
|
ref: s,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
type GridActionSheetFooterProps = {
|
|
14
|
+
onApply?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
15
|
+
onReset?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
16
|
+
submitMessage?: string;
|
|
17
|
+
resetMessage?: string;
|
|
18
|
+
submitIcon?: SVGIcon;
|
|
19
|
+
resetIcon?: SVGIcon;
|
|
20
|
+
submitDisabled?: boolean;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const GridActionSheetFooterContent: (props: GridActionSheetFooterProps) => React.JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
type GridAdaptiveCheckboxFilterProps = {
|
|
13
|
+
onBackView?: () => void;
|
|
14
|
+
handleClose?: () => void;
|
|
15
|
+
isAllSelected?: () => boolean;
|
|
16
|
+
handleCheckBoxChange?: (event: any, value: any) => void;
|
|
17
|
+
clear: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
18
|
+
submit?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
19
|
+
currentData: any;
|
|
20
|
+
uniqueFilterValues: any;
|
|
21
|
+
searchBox?: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export declare const GridAdaptiveCheckboxFilter: (props: GridAdaptiveCheckboxFilterProps) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"use client";
|
|
9
9
|
import e from "react";
|
|
10
10
|
import S from "react-dom";
|
|
11
|
-
import { adaptiveColumnMenuCheckboxFilterTitle as i, messages as c, filterCheckAll as r, filterSelectedItems as m,
|
|
11
|
+
import { adaptiveColumnMenuCheckboxFilterTitle as i, messages as c, filterCheckAll as r, filterSelectedItems as m, filterClearButton as s, filterSubmitButton as u } from "../../messages/index.mjs";
|
|
12
12
|
import { GridContext as b } from "../../utils/GridContext.mjs";
|
|
13
13
|
import { ActionSheetHeader as x, ActionSheetContent as M, ActionSheetFooter as N } from "@progress/kendo-react-layout";
|
|
14
14
|
import { Button as h } from "@progress/kendo-react-buttons";
|
|
@@ -65,10 +65,10 @@ const H = (t) => {
|
|
|
65
65
|
onApply: t.submit,
|
|
66
66
|
onReset: t.clear,
|
|
67
67
|
submitMessage: l.toLanguageString(
|
|
68
|
-
|
|
69
|
-
c[
|
|
68
|
+
u,
|
|
69
|
+
c[u]
|
|
70
70
|
),
|
|
71
|
-
resetMessage: l.toLanguageString(
|
|
71
|
+
resetMessage: l.toLanguageString(s, c[s])
|
|
72
72
|
}
|
|
73
73
|
))),
|
|
74
74
|
k.current.current
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
import { TextBoxChangeEvent } from '@progress/kendo-react-inputs';
|
|
10
|
+
import { GridColumnState } from '../../index.js';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
type GridAdaptiveColumnChooserProps = {
|
|
15
|
+
onBackView?: () => void;
|
|
16
|
+
handleClose?: () => void;
|
|
17
|
+
onSelectAll?: () => void;
|
|
18
|
+
onFilter?: (event: TextBoxChangeEvent) => void;
|
|
19
|
+
onApply?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
20
|
+
onReset?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
21
|
+
onCheckChange?: (checked: boolean, id: string) => void;
|
|
22
|
+
filter?: string;
|
|
23
|
+
allSelected?: boolean;
|
|
24
|
+
checkedCount?: number;
|
|
25
|
+
filtered?: GridColumnState[];
|
|
26
|
+
selectedColumns?: Record<string, boolean>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
*/
|
|
31
|
+
export declare const GridAdaptiveColumnChooser: (props: GridAdaptiveColumnChooserProps) => React.JSX.Element;
|
|
32
|
+
export {};
|
|
@@ -10,7 +10,7 @@ import e from "react";
|
|
|
10
10
|
import M from "react-dom";
|
|
11
11
|
import { GridContext as N } from "../../utils/GridContext.mjs";
|
|
12
12
|
import { chevronRightIcon as A, chevronLeftIcon as y, xIcon as I, searchIcon as w } from "@progress/kendo-svg-icons";
|
|
13
|
-
import { adaptiveColumnMenuChooserTitle as r, messages as a, adaptiveColumnMenuChooserSubTitle as m, filterSelectAll as s, columnMenuColumnChooserSelectedItems as u,
|
|
13
|
+
import { adaptiveColumnMenuChooserTitle as r, messages as a, adaptiveColumnMenuChooserSubTitle as m, filterSelectAll as s, columnMenuColumnChooserSelectedItems as u, filterApplyButton as d, filterResetButton as h } from "../../messages/index.mjs";
|
|
14
14
|
import { Button as f } from "@progress/kendo-react-buttons";
|
|
15
15
|
import { useLocalization as B } from "@progress/kendo-react-intl";
|
|
16
16
|
import { TextBox as L, Checkbox as g, InputPrefix as R } from "@progress/kendo-react-inputs";
|
|
@@ -78,8 +78,8 @@ const Y = (t) => {
|
|
|
78
78
|
{
|
|
79
79
|
onApply: t.onApply,
|
|
80
80
|
onReset: t.onReset,
|
|
81
|
-
resetMessage: o.toLanguageString(
|
|
82
|
-
submitMessage: o.toLanguageString(
|
|
81
|
+
resetMessage: o.toLanguageString(h, a[h]),
|
|
82
|
+
submitMessage: o.toLanguageString(d, a[d])
|
|
83
83
|
}
|
|
84
84
|
))),
|
|
85
85
|
k.current.current
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridAdaptiveColumnMenu: (props: any) => React.JSX.Element;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("@progress/kendo-react-layout"),m=require("@progress/kendo-react-common"),d=require("../../utils/GridContext.js"),v=require("@progress/kendo-react-buttons"),h=require("@progress/kendo-svg-icons"),C=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("@progress/kendo-react-layout"),m=require("@progress/kendo-react-common"),d=require("../../utils/GridContext.js"),v=require("@progress/kendo-react-buttons"),h=require("@progress/kendo-svg-icons"),C=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),k=require("@progress/kendo-react-intl"),i=require("../../messages/index.js"),f=n=>{const a=e.useContext(d.GridContext),{actionSheetRef:c,firstViewRef:s,secondViewRef:r}=e.useContext(C.GridColumnMenuAdaptiveContext),o=m.useAdaptiveModeContext(),l=k.useLocalization(),u={animation:!0,navigatable:!1,navigatableElements:[],expand:n.computedShow,animationStyles:o&&a.adaptiveColumnMenuRef<=o.small?{top:0,width:"100%",height:"100%"}:void 0,className:"k-adaptive-actionsheet",position:o&&a.adaptiveColumnMenuRef<=o.small?"fullscreen":void 0};return e.createElement(t.ActionSheet,{...u,ref:c,style:{"--kendo-actionsheet-view-current":1},onClose:()=>{n.closeMenu()}},e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:s,style:{transitionDuration:"500ms",transitionProperty:"transform"}},e.createElement(t.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},a.adaptiveTitle||l.toLanguageString(i.columnMenu,i.messages[i.columnMenu]))),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(v.Button,{svgIcon:h.xIcon,onClick:n.closeMenu})))),e.createElement(t.ActionSheetContent,null,e.createElement("div",{className:"k-column-menu k-column-menu-lg"},n.children))),e.createElement(t.ActionSheetView,{className:"k-actionsheet-view-animated",ref:r,style:{transitionDuration:"500ms",transitionProperty:"transform"}}))};exports.GridAdaptiveColumnMenu=f;
|
|
@@ -16,7 +16,7 @@ import { GridColumnMenuAdaptiveContext as E } from "../adaptiveContext/GridColum
|
|
|
16
16
|
import { useLocalization as g } from "@progress/kendo-react-intl";
|
|
17
17
|
import { columnMenu as i, messages as k } from "../../messages/index.mjs";
|
|
18
18
|
const G = (t) => {
|
|
19
|
-
const o = e.useContext(p), { actionSheetRef: r, firstViewRef:
|
|
19
|
+
const o = e.useContext(p), { actionSheetRef: r, firstViewRef: m, secondViewRef: s } = e.useContext(E), n = v(), l = g(), c = {
|
|
20
20
|
animation: !0,
|
|
21
21
|
navigatable: !1,
|
|
22
22
|
navigatableElements: [],
|
|
@@ -39,20 +39,20 @@ const G = (t) => {
|
|
|
39
39
|
a,
|
|
40
40
|
{
|
|
41
41
|
className: "k-actionsheet-view-animated",
|
|
42
|
-
ref:
|
|
42
|
+
ref: m,
|
|
43
43
|
style: {
|
|
44
44
|
transitionDuration: "500ms",
|
|
45
45
|
transitionProperty: "transform"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
/* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-titlebar-group" }, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ e.createElement("div", { className: "k-text-center" }, o.adaptiveTitle ||
|
|
48
|
+
/* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-titlebar-group" }, /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-title" }, /* @__PURE__ */ e.createElement("div", { className: "k-text-center" }, o.adaptiveTitle || l.toLanguageString(i, k[i]))), /* @__PURE__ */ e.createElement("div", { className: "k-actionsheet-actions" }, /* @__PURE__ */ e.createElement(h, { svgIcon: C, onClick: t.closeMenu })))),
|
|
49
49
|
/* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement("div", { className: "k-column-menu k-column-menu-lg" }, t.children))
|
|
50
50
|
),
|
|
51
51
|
/* @__PURE__ */ e.createElement(
|
|
52
52
|
a,
|
|
53
53
|
{
|
|
54
54
|
className: "k-actionsheet-view-animated",
|
|
55
|
-
ref:
|
|
55
|
+
ref: s,
|
|
56
56
|
style: {
|
|
57
57
|
transitionDuration: "500ms",
|
|
58
58
|
transitionProperty: "transform"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
import { GridColumnMenuFilterUIProps } from '../../interfaces/GridColumnMenuFilterUIProps.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
type GridAdaptiveFilterMenuProps = {
|
|
14
|
+
FilterUI?: React.ComponentType<GridColumnMenuFilterUIProps>;
|
|
15
|
+
filterUIProps?: GridColumnMenuFilterUIProps;
|
|
16
|
+
adaptiveTitle: string;
|
|
17
|
+
isFilterValid: boolean;
|
|
18
|
+
onBackView: () => void;
|
|
19
|
+
handleClose: () => void;
|
|
20
|
+
submit: (event: React.SyntheticEvent<any>) => void;
|
|
21
|
+
clear: (event: React.SyntheticEvent<any>) => void;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export declare const GridAdaptiveFilterMenu: (props: GridAdaptiveFilterMenuProps) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -12,9 +12,9 @@ import { ActionSheetHeader as h, ActionSheetContent as E, ActionSheetFooter as g
|
|
|
12
12
|
import { Button as i } from "@progress/kendo-react-buttons";
|
|
13
13
|
import { useLocalization as v } from "@progress/kendo-react-intl";
|
|
14
14
|
import { GridColumnMenuAdaptiveContext as I } from "../adaptiveContext/GridColumnMenuAdaptiveContext.mjs";
|
|
15
|
-
import { chevronRightIcon as k, chevronLeftIcon as C, xIcon as S,
|
|
15
|
+
import { chevronRightIcon as k, chevronLeftIcon as C, xIcon as S, filterIcon as b, filterClearIcon as F } from "@progress/kendo-svg-icons";
|
|
16
16
|
import { GridColumnMenuFilterUI as M } from "../GridColumnMenuFilterUI.mjs";
|
|
17
|
-
import {
|
|
17
|
+
import { filterClearButton as a, messages as c, filterSubmitButton as l } from "../../messages/index.mjs";
|
|
18
18
|
import { GridContext as x } from "../../utils/GridContext.mjs";
|
|
19
19
|
import { GridActionSheetFooterContent as A } from "./GridActionSheetFooter.mjs";
|
|
20
20
|
const z = (t) => {
|
|
@@ -53,16 +53,16 @@ const z = (t) => {
|
|
|
53
53
|
{
|
|
54
54
|
onApply: t.submit,
|
|
55
55
|
onReset: t.clear,
|
|
56
|
-
resetIcon:
|
|
57
|
-
submitIcon:
|
|
56
|
+
resetIcon: F,
|
|
57
|
+
submitIcon: b,
|
|
58
58
|
submitMessage: o.toLanguageString(
|
|
59
|
-
a,
|
|
60
|
-
c[a]
|
|
61
|
-
),
|
|
62
|
-
resetMessage: o.toLanguageString(
|
|
63
59
|
l,
|
|
64
60
|
c[l]
|
|
65
61
|
),
|
|
62
|
+
resetMessage: o.toLanguageString(
|
|
63
|
+
a,
|
|
64
|
+
c[a]
|
|
65
|
+
),
|
|
66
66
|
submitDisabled: !t.isFilterValid
|
|
67
67
|
}
|
|
68
68
|
)))),
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridColumnMenuAdaptiveContext: React.Context<any>;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
type GridColumnMenuAdaptiveProviderProps = {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const GridColumnMenuAdaptiveProvider: (props: GridColumnMenuAdaptiveProviderProps) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridContainerElementContainer: (props: any) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridDragClue: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const dropIndicatorStyles: any;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare const hintClueStyles: any;
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export declare const GridReorderableRowsContainer: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridDropClue: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
import { ExtendedColumnProps } from '../GridColumn.js';
|
|
10
|
+
import { GridEditDialogProps as CustomEditDialogProps } from '../interfaces/GridEditDialogProps.js';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export type GridEditDialogProps = {
|
|
15
|
+
columns?: ExtendedColumnProps[];
|
|
16
|
+
dataItem?: any;
|
|
17
|
+
customEditDialog?: (props: CustomEditDialogProps) => React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const GridEditDialog: (props: GridEditDialogProps) => React.JSX.Element;
|
|
@@ -14,7 +14,7 @@ import { Label as v, Error as b } from "@progress/kendo-react-labels";
|
|
|
14
14
|
import { useLocalization as W } from "@progress/kendo-react-intl";
|
|
15
15
|
import { DatePicker as j } from "@progress/kendo-react-dateinputs";
|
|
16
16
|
import { useAdaptiveModeContext as q } from "@progress/kendo-react-common";
|
|
17
|
-
import {
|
|
17
|
+
import { cancelIcon as D, saveIcon as N, xIcon as H } from "@progress/kendo-svg-icons";
|
|
18
18
|
import { TextBox as J, Checkbox as K, NumericTextBox as P } from "@progress/kendo-react-inputs";
|
|
19
19
|
import { TABLE_PREVENT_SELECTION_ELEMENT as p } from "@progress/kendo-react-data-tools";
|
|
20
20
|
import { Dialog as Q, DialogActionsBar as U } from "@progress/kendo-react-dialogs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridElementContainer: (props: {
|
|
13
|
+
children: React.ReactElement<any>;
|
|
14
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
type GridLoaderProps = {
|
|
10
|
+
loader?: React.ReactNode;
|
|
11
|
+
showLoader?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export declare const GridLoader: (props: GridLoaderProps) => React.JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const PagerContainer: (props: any) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const VirtualScrollHeightContainer: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const GridColGroup: (props: any) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { default as React } from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const ReorderRowIcon: () => React.JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 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 { GridNoRecordsProps } from '../../interfaces/GridNoRecordsProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the GridNoRecords component. The component is rendered when the `data` property of the Grid is empty or `null`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* const App = () => {
|
|
16
|
+
* return (
|
|
17
|
+
* <Grid data={[]}>
|
|
18
|
+
* <GridNoRecords>There is no data available</GridNoRecords>
|
|
19
|
+
* <GridColumn field="id" />
|
|
20
|
+
* <GridColumn field="name" />
|
|
21
|
+
* </Grid>
|
|
22
|
+
* );
|
|
23
|
+
* };
|
|
24
|
+
*
|
|
25
|
+
* export default App;
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const GridNoRecords: {
|
|
29
|
+
(props: GridNoRecordsProps): React.JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|