@progress/kendo-react-grid 13.3.0 → 13.4.0-develop.2
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 +6 -6
- 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,55 @@
|
|
|
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 { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
+
export interface GridToolbarSortProps {
|
|
10
|
+
/**
|
|
11
|
+
* Defines the icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/icon)).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* <GridToolbarSort icon="home" />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
icon?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the SVG icon rendered in the GridToolbarSort tool ([see example](https://www.telerik.com/kendo-react-ui/components/common/svgicon)).
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```jsx
|
|
24
|
+
* import { gearIcon } from '@progress/kendo-svg-icons';
|
|
25
|
+
*
|
|
26
|
+
* <GridToolbarSort svgIcon={gearIcon} />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
svgIcon?: SVGIcon;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies if the popup will be displayed.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```jsx
|
|
35
|
+
* <GridToolbarSort show={true} />
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
show?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The method that will be called to close the column menu.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```jsx
|
|
44
|
+
* <GridToolbarSort onCloseMenu={() => console.log('close menu');} />
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
onCloseMenu?: Function;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Represents the GridToolbarSort component.
|
|
51
|
+
*/
|
|
52
|
+
export declare const GridToolbarSort: {
|
|
53
|
+
(props: GridToolbarSortProps): any;
|
|
54
|
+
displayName: string;
|
|
55
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { ToolbarSpacerProps } from '@progress/kendo-react-buttons';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of KendoReact GridToolbarSpacer component.
|
|
12
|
+
*/
|
|
13
|
+
export interface GridToolbarSpacerProps extends ToolbarSpacerProps {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Represents the GridToolbarSpacer component.
|
|
17
|
+
*/
|
|
18
|
+
export declare const GridToolbarSpacer: {
|
|
19
|
+
(props: GridToolbarSpacerProps): React.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { GridColumnState } from '../../interfaces/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
type GridAdaptiveToolbarCheckboxFilterProps = {
|
|
14
|
+
filtered: GridColumnState[];
|
|
15
|
+
computedShow?: boolean;
|
|
16
|
+
expandState?: any;
|
|
17
|
+
currentData: any;
|
|
18
|
+
uniqueFilterValues: any;
|
|
19
|
+
searchBox?: any;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
renderTitle: (column: GridColumnState) => React.ReactNode;
|
|
22
|
+
onBackView?: () => void;
|
|
23
|
+
isAllSelected: () => boolean;
|
|
24
|
+
handleCheckBoxChange: (event: any, value: any) => void;
|
|
25
|
+
clear: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
26
|
+
submit?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
27
|
+
onClose?: () => void;
|
|
28
|
+
onFilterExpand: (event: React.MouseEvent<HTMLElement>, column: GridColumnState) => void;
|
|
29
|
+
handleClearAllFilters: (event: any) => void;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export declare const GridAdaptiveToolbarCheckboxFilter: (props: GridAdaptiveToolbarCheckboxFilterProps) => React.JSX.Element;
|
|
35
|
+
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import e from "react";
|
|
10
|
-
import { adaptiveColumnMenuCheckboxFilterTitle as f, messages as i, filterClearAllButton as k, filterCheckAll as g, filterSelectedItems as v,
|
|
10
|
+
import { adaptiveColumnMenuCheckboxFilterTitle as f, messages as i, filterClearAllButton as k, filterCheckAll as g, filterSelectedItems as v, filterClearButton as E, filterSubmitButton as C } from "../../messages/index.mjs";
|
|
11
11
|
import { GridContext as L } from "../../utils/GridContext.mjs";
|
|
12
12
|
import { ActionSheet as R, ActionSheetView as S, ActionSheetHeader as x, ActionSheetContent as N, ActionSheetFooter as b } from "@progress/kendo-react-layout";
|
|
13
13
|
import { Button as m } from "@progress/kendo-react-buttons";
|
|
@@ -102,8 +102,8 @@ const ae = (t) => {
|
|
|
102
102
|
{
|
|
103
103
|
onApply: t.submit,
|
|
104
104
|
onReset: t.clear,
|
|
105
|
-
submitMessage: l.toLanguageString(
|
|
106
|
-
resetMessage: l.toLanguageString(
|
|
105
|
+
submitMessage: l.toLanguageString(C, i[C]),
|
|
106
|
+
resetMessage: l.toLanguageString(E, i[E])
|
|
107
107
|
}
|
|
108
108
|
))
|
|
109
109
|
)
|
|
@@ -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 { 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 GridAdaptiveToolbarColumnChooserProps = {
|
|
15
|
+
computedShow?: boolean;
|
|
16
|
+
filter?: string;
|
|
17
|
+
filtered?: GridColumnState[];
|
|
18
|
+
selectedColumns?: Record<string, boolean>;
|
|
19
|
+
allSelected?: boolean;
|
|
20
|
+
checkedCount?: number;
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
onApply?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
24
|
+
onReset?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
25
|
+
onFilter?: (event: TextBoxChangeEvent) => void;
|
|
26
|
+
onCheckChange?: (checked: boolean, id: string) => void;
|
|
27
|
+
onSelectAll?: () => void;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export declare const GridAdaptiveToolbarColumnChooser: (props: GridAdaptiveToolbarColumnChooserProps) => React.JSX.Element;
|
|
33
|
+
export {};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import e from "react";
|
|
10
10
|
import { GridContext as x } from "../../utils/GridContext.mjs";
|
|
11
11
|
import { xIcon as b, searchIcon as A } from "@progress/kendo-svg-icons";
|
|
12
|
-
import { adaptiveColumnMenuChooserTitle as m, messages as l, adaptiveColumnMenuChooserSubTitle as r, filterSelectAll as s, columnMenuColumnChooserSelectedItems as d,
|
|
12
|
+
import { adaptiveColumnMenuChooserTitle as m, messages as l, adaptiveColumnMenuChooserSubTitle as r, filterSelectAll as s, columnMenuColumnChooserSelectedItems as d, filterApplyButton as u, filterResetButton as h } from "../../messages/index.mjs";
|
|
13
13
|
import { Button as N } from "@progress/kendo-react-buttons";
|
|
14
14
|
import { useLocalization as p } from "@progress/kendo-react-intl";
|
|
15
15
|
import { TextBox as M, Checkbox as g, InputPrefix as y } from "@progress/kendo-react-inputs";
|
|
@@ -78,8 +78,8 @@ const U = (t) => {
|
|
|
78
78
|
{
|
|
79
79
|
onApply: t.onApply,
|
|
80
80
|
onReset: t.onReset,
|
|
81
|
-
resetMessage: n.toLanguageString(
|
|
82
|
-
submitMessage: n.toLanguageString(
|
|
81
|
+
resetMessage: n.toLanguageString(h, l[h]),
|
|
82
|
+
submitMessage: n.toLanguageString(u, l[u])
|
|
83
83
|
}
|
|
84
84
|
)))
|
|
85
85
|
);
|
|
@@ -0,0 +1,34 @@
|
|
|
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, ComponentType } from 'react';
|
|
9
|
+
import { GridColumnState } from '../../interfaces/index.js';
|
|
10
|
+
import { GridColumnMenuFilterUIProps } from '../../interfaces/GridColumnMenuFilterUIProps.js';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
type GridAdaptiveToolbarFilterProps = {
|
|
15
|
+
filtered: GridColumnState[];
|
|
16
|
+
computedShow?: boolean;
|
|
17
|
+
expandState?: any;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
FilterUI?: ComponentType<GridColumnMenuFilterUIProps> | undefined;
|
|
20
|
+
filterUIProps: any;
|
|
21
|
+
isFilterValid: boolean;
|
|
22
|
+
renderTitle: (column: GridColumnState) => React.ReactNode;
|
|
23
|
+
onBackView?: () => void;
|
|
24
|
+
clear: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
25
|
+
submit?: (event: React.FormEvent<HTMLFormElement>) => void;
|
|
26
|
+
onClose?: () => void;
|
|
27
|
+
onFilterExpand: (event: React.MouseEvent<HTMLElement>, column: GridColumnState) => void;
|
|
28
|
+
handleClearAllFilters: (event: any) => void;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const GridAdaptiveToolbarFilter: (props: GridAdaptiveToolbarFilterProps) => React.JSX.Element;
|
|
34
|
+
export {};
|
|
@@ -14,7 +14,7 @@ import { Button as l } from "@progress/kendo-react-buttons";
|
|
|
14
14
|
import { chevronRightIcon as G, chevronLeftIcon as B, xIcon as C, filterClearIcon as P } from "@progress/kendo-svg-icons";
|
|
15
15
|
import { GridToolbarAdaptiveContext as L } from "../adaptiveContext/GridToolbarAdaptiveContext.mjs";
|
|
16
16
|
import { useLocalization as V } from "@progress/kendo-react-intl";
|
|
17
|
-
import { adaptiveColumnMenuFilterTitle as g, messages as r, filterClearAllButton as S,
|
|
17
|
+
import { adaptiveColumnMenuFilterTitle as g, messages as r, filterClearAllButton as S, filterClearButton as N, filterSubmitButton as x } from "../../messages/index.mjs";
|
|
18
18
|
import { GridColumnMenuItemGroup as T } from "../../columnMenu/GridColumnMenuItemGroup.mjs";
|
|
19
19
|
import { GridColumnMenuFilterUI as U } from "../../columnMenu/GridColumnMenuFilterUI.mjs";
|
|
20
20
|
import { GridColumnMenuItem as z } from "../../columnMenu/GridColumnMenuItem.mjs";
|
|
@@ -86,8 +86,8 @@ const te = (t) => {
|
|
|
86
86
|
{
|
|
87
87
|
onApply: t.submit,
|
|
88
88
|
onReset: t.clear,
|
|
89
|
-
submitMessage: i.toLanguageString(
|
|
90
|
-
resetMessage: i.toLanguageString(
|
|
89
|
+
submitMessage: i.toLanguageString(x, r[x]),
|
|
90
|
+
resetMessage: i.toLanguageString(N, r[N])
|
|
91
91
|
}
|
|
92
92
|
))
|
|
93
93
|
)
|
|
@@ -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 { GridColumnState } from '../../interfaces/GridColumnState.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
type GridAdaptiveToolbarGroupProps = {
|
|
14
|
+
filtered: GridColumnState[];
|
|
15
|
+
computedShow?: boolean;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
isDisabledButton?: boolean;
|
|
18
|
+
toolContent?: React.ReactNode;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onClear?: (event: any) => void;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const GridAdaptiveToolbarGroup: (props: GridAdaptiveToolbarGroupProps) => 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
|
+
import { GridColumnState } from '../../interfaces/GridColumnState.js';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
type GridAdaptiveToolbarSortProps = {
|
|
14
|
+
filtered: GridColumnState[];
|
|
15
|
+
computedShow?: boolean;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
isDisabledButton?: boolean;
|
|
18
|
+
renderTitle: (column: GridColumnState) => React.ReactNode;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onClear?: (event: any) => void;
|
|
21
|
+
handleSorting: (event: any, column: GridColumnState) => void;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export declare const GridAdaptiveToolbarSort: (props: GridAdaptiveToolbarSortProps) => React.JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -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 GridToolbarAdaptiveContext: React.Context<any>;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
type GridToolbarAdaptiveProviderProps = {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const GridToolbarAdaptiveProvider: (props: GridToolbarAdaptiveProviderProps) => React.JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,160 @@
|
|
|
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 { AIPromptOutputInterface, outputViewDefaults, promptViewDefaults, AIPromptCardInterface } from '@progress/kendo-react-conversational-ui';
|
|
9
|
+
import { CustomComponent } from '@progress/kendo-react-common';
|
|
10
|
+
import { ButtonProps, SpeechToTextButtonProps } from '@progress/kendo-react-buttons';
|
|
11
|
+
import { TextAreaProps } from '@progress/kendo-react-inputs';
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
/**
|
|
14
|
+
* Props for the `GridAIPrompt` component, which provides AI-powered prompt and output functionality in a grid toolbar.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <GridAIPrompt
|
|
19
|
+
* promptValue="Summarize this data"
|
|
20
|
+
* outputs={[{ text: "Summary...", ... }]}
|
|
21
|
+
* streaming={true}
|
|
22
|
+
* onPromptRequest={handlePrompt}
|
|
23
|
+
* suggestionsList={["Summarize", "Explain", "Generate chart"]}
|
|
24
|
+
* />
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
interface GridAIPromptProps {
|
|
28
|
+
/**
|
|
29
|
+
* List of AI-generated outputs to display.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* outputs={[{ text: "AI output 1" }, { text: "AI output 2" }]}
|
|
33
|
+
*/
|
|
34
|
+
outputs?: AIPromptOutputInterface[];
|
|
35
|
+
/**
|
|
36
|
+
* Enables the speech-to-text functionality for the input of the GridToolbarAIAssistant.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```jsx
|
|
40
|
+
* <GridToolbarAIAssistant enableSpeechToText={true} />
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
enableSpeechToText?: boolean | SpeechToTextButtonProps;
|
|
44
|
+
/**
|
|
45
|
+
* Indicates whether the prompt is currently streaming or processing.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* streaming={true}
|
|
49
|
+
*/
|
|
50
|
+
streaming?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates whether the prompt is currently loading.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* loading={true}
|
|
56
|
+
*/
|
|
57
|
+
loading?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Configuration for the output card displaying AI results.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* outputCard={{ title: "AI Result", content: "..." }}
|
|
63
|
+
*/
|
|
64
|
+
outputCard?: AIPromptCardInterface;
|
|
65
|
+
/**
|
|
66
|
+
* Current value of the prompt input field.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* promptValue="Describe the selected rows"
|
|
70
|
+
*/
|
|
71
|
+
promptValue?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Placeholder text for the prompt input field.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* promptPlaceHolder="Type your question here..."
|
|
77
|
+
*/
|
|
78
|
+
promptPlaceHolder?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Custom component to render the prompt input field.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* promptInput={CustomTextArea}
|
|
84
|
+
*/
|
|
85
|
+
promptInput?: CustomComponent<TextAreaProps>;
|
|
86
|
+
/**
|
|
87
|
+
* Callback fired when the active view changes.
|
|
88
|
+
*
|
|
89
|
+
* @param viewName The name of the new active view.
|
|
90
|
+
* @example
|
|
91
|
+
* onActiveViewChange={(view) => setActiveView(view)}
|
|
92
|
+
*/
|
|
93
|
+
onActiveViewChange?: (viewName: string) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Custom component to render the generate button.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* generateButton={CustomGenerateButton}
|
|
99
|
+
*/
|
|
100
|
+
generateButton?: CustomComponent<ButtonProps>;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the currently active view.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* activeView="prompt"
|
|
106
|
+
*/
|
|
107
|
+
activeView?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Array of toolbar items to display, can include prompt or output view defaults.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* toolbarItems={[promptViewDefaults, outputViewDefaults]}
|
|
113
|
+
*/
|
|
114
|
+
toolbarItems?: Array<typeof promptViewDefaults | typeof outputViewDefaults>;
|
|
115
|
+
/**
|
|
116
|
+
* Callback fired when the user clicks the Copy button in the output card.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* onCopy={() => copyToClipboard()}
|
|
120
|
+
*/
|
|
121
|
+
onCopy?: () => void;
|
|
122
|
+
/**
|
|
123
|
+
* Callback fired when the user rates the output.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* onOutputRating={() => handleRating()}
|
|
127
|
+
*/
|
|
128
|
+
onOutputRating?: () => void;
|
|
129
|
+
/**
|
|
130
|
+
* Callback fired when the user submits a prompt request.
|
|
131
|
+
*
|
|
132
|
+
* @param prompt The prompt text submitted by the user.
|
|
133
|
+
* @example
|
|
134
|
+
* onPromptRequest={(prompt) => sendPrompt(prompt)}
|
|
135
|
+
*/
|
|
136
|
+
onPromptRequest?: (prompt: string) => void;
|
|
137
|
+
/**
|
|
138
|
+
* List of prompt suggestions to display to the user.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* suggestionsList={["Summarize", "Explain", "Generate chart"]}
|
|
142
|
+
*/
|
|
143
|
+
suggestionsList?: string[];
|
|
144
|
+
/**
|
|
145
|
+
* Callback fired when the user cancels the current operation.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* onCancel={() => cancelPrompt()}
|
|
149
|
+
*/
|
|
150
|
+
onCancel?: () => void;
|
|
151
|
+
/**
|
|
152
|
+
* Callback fired when the user closes the current operation.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* onClose={() => closePrompt()}
|
|
156
|
+
*/
|
|
157
|
+
onClose?: () => void;
|
|
158
|
+
}
|
|
159
|
+
declare const GridAIPrompt: (props: GridAIPromptProps) => React.JSX.Element;
|
|
160
|
+
export { GridAIPrompt, GridAIPromptProps };
|
|
@@ -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 GridContext: React.Context<any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const ClientFragment: () => import("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 ServerFragment: () => React.JSX.Element;
|