@progress/kendo-angular-grid 21.0.0-develop.9 → 21.0.0
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/codemods/utils.js +485 -327
- package/codemods/v20/grid-kendogridgroupbinding.js +6 -6
- package/codemods/v21/grid-gridtoolbaraiopenevent.js +14 -0
- package/codemods/v21/grid-gridtoolbaraipromptrequestevent.js +14 -0
- package/codemods/v21/grid-gridtoolbaraipromptsettings.js +14 -0
- package/codemods/v21/grid-gridtoolbarairequestoptions.js +14 -0
- package/codemods/v21/grid-gridtoolbarairesponseerrorevent.js +14 -0
- package/codemods/v21/grid-gridtoolbaraiwindowsettings.js +14 -0
- package/column-menu/column-chooser.component.d.ts +0 -1
- package/common/id.service.d.ts +1 -0
- package/common/provider.service.d.ts +4 -0
- package/esm2022/column-menu/column-chooser.component.mjs +2 -7
- package/esm2022/columns/column-base.mjs +1 -1
- package/esm2022/common/id.service.mjs +3 -0
- package/esm2022/common/provider.service.mjs +2 -0
- package/esm2022/dragdrop/drag-hint.service.mjs +6 -2
- package/esm2022/excel/excel.component.mjs +13 -2
- package/esm2022/grid.component.mjs +18 -0
- package/esm2022/localization/messages.mjs +19 -1
- package/esm2022/navigation/navigation.service.mjs +47 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf.component.mjs +6 -0
- package/esm2022/rendering/list.component.mjs +16 -5
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +538 -29
- package/esm2022/rendering/toolbar/tools/ai-assistant/models.mjs +2 -2
- package/esm2022/row-reordering/row-reorder.service.mjs +28 -0
- package/excel/excel.component.d.ts +6 -2
- package/fesm2022/progress-kendo-angular-grid.mjs +698 -49
- package/localization/messages.d.ts +13 -1
- package/navigation/navigation.service.d.ts +1 -0
- package/package.json +58 -25
- package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +26 -5
- package/rendering/toolbar/tools/ai-assistant/ai-tool.directive.d.ts +8 -8
- package/rendering/toolbar/tools/ai-assistant/models.d.ts +65 -33
- package/row-reordering/row-reorder.service.d.ts +10 -1
- package/schematics/ngAdd/index.js +7 -7
|
@@ -165,6 +165,18 @@ export declare class GridMessages extends ComponentMessages {
|
|
|
165
165
|
* The success message dispayed in the AI Assistant Prompt Output Card's body.
|
|
166
166
|
*/
|
|
167
167
|
aiAssistantOutputCardBodyContent: string;
|
|
168
|
+
/**
|
|
169
|
+
* The message shown when AI selection requires the Grid selectable option.
|
|
170
|
+
*/
|
|
171
|
+
aiAssistantSelectionNotEnabled: string;
|
|
172
|
+
/**
|
|
173
|
+
* The message shown when AI selection requires row selection mode.
|
|
174
|
+
*/
|
|
175
|
+
aiAssistantSelectionRowModeRequired: string;
|
|
176
|
+
/**
|
|
177
|
+
* The message shown when AI selection requires cell selection mode.
|
|
178
|
+
*/
|
|
179
|
+
aiAssistantSelectionCellModeRequired: string;
|
|
168
180
|
/**
|
|
169
181
|
* The title of the AI Assistant Window maximize button.
|
|
170
182
|
*/
|
|
@@ -603,5 +615,5 @@ export declare class GridMessages extends ComponentMessages {
|
|
|
603
615
|
*/
|
|
604
616
|
multiCheckboxFilterSelectedItemsCount: string;
|
|
605
617
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridMessages, never>;
|
|
606
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GridMessages, "kendo-grid-messages-base", never, { "groupPanelEmpty": { "alias": "groupPanelEmpty"; "required": false; }; "noRecords": { "alias": "noRecords"; "required": false; }; "pagerLabel": { "alias": "pagerLabel"; "required": false; }; "pagerFirstPage": { "alias": "pagerFirstPage"; "required": false; }; "pagerLastPage": { "alias": "pagerLastPage"; "required": false; }; "pagerPreviousPage": { "alias": "pagerPreviousPage"; "required": false; }; "pagerNextPage": { "alias": "pagerNextPage"; "required": false; }; "pagerPage": { "alias": "pagerPage"; "required": false; }; "pagerItemsPerPage": { "alias": "pagerItemsPerPage"; "required": false; }; "pagerOf": { "alias": "pagerOf"; "required": false; }; "pagerItems": { "alias": "pagerItems"; "required": false; }; "pagerPageNumberInputTitle": { "alias": "pagerPageNumberInputTitle"; "required": false; }; "pagerInputLabel": { "alias": "pagerInputLabel"; "required": false; }; "pagerSelectPage": { "alias": "pagerSelectPage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterInputLabel": { "alias": "filterInputLabel"; "required": false; }; "filterMenuTitle": { "alias": "filterMenuTitle"; "required": false; }; "filterMenuOperatorsDropDownLabel": { "alias": "filterMenuOperatorsDropDownLabel"; "required": false; }; "filterMenuLogicDropDownLabel": { "alias": "filterMenuLogicDropDownLabel"; "required": false; }; "filterCellOperatorLabel": { "alias": "filterCellOperatorLabel"; "required": false; }; "booleanFilterCellLabel": { "alias": "booleanFilterCellLabel"; "required": false; }; "aiAssistantApplyButtonText": { "alias": "aiAssistantApplyButtonText"; "required": false; }; "aiAssistantToolbarToolText": { "alias": "aiAssistantToolbarToolText"; "required": false; }; "aiAssistantWindowTitle": { "alias": "aiAssistantWindowTitle"; "required": false; }; "aiAssistantWindowCloseTitle": { "alias": "aiAssistantWindowCloseTitle"; "required": false; }; "aiAssistantOutputCardTitle": { "alias": "aiAssistantOutputCardTitle"; "required": false; }; "aiAssistantOutputCardBodyContent": { "alias": "aiAssistantOutputCardBodyContent"; "required": false; }; "aiAssistantWindowMaximizeTitle": { "alias": "aiAssistantWindowMaximizeTitle"; "required": false; }; "aiAssistantWindowMinimizeTitle": { "alias": "aiAssistantWindowMinimizeTitle"; "required": false; }; "aiAssistantWindowRestoreTitle": { "alias": "aiAssistantWindowRestoreTitle"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterIsNullOperator": { "alias": "filterIsNullOperator"; "required": false; }; "filterIsNotNullOperator": { "alias": "filterIsNotNullOperator"; "required": false; }; "filterIsEmptyOperator": { "alias": "filterIsEmptyOperator"; "required": false; }; "filterIsNotEmptyOperator": { "alias": "filterIsNotEmptyOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterGteOperator": { "alias": "filterGteOperator"; "required": false; }; "filterGtOperator": { "alias": "filterGtOperator"; "required": false; }; "filterLteOperator": { "alias": "filterLteOperator"; "required": false; }; "filterLtOperator": { "alias": "filterLtOperator"; "required": false; }; "filterIsTrue": { "alias": "filterIsTrue"; "required": false; }; "filterIsFalse": { "alias": "filterIsFalse"; "required": false; }; "filterBooleanAll": { "alias": "filterBooleanAll"; "required": false; }; "adaptiveFilterOperatorsTitle": { "alias": "adaptiveFilterOperatorsTitle"; "required": false; }; "filterAfterOrEqualOperator": { "alias": "filterAfterOrEqualOperator"; "required": false; }; "filterAfterOperator": { "alias": "filterAfterOperator"; "required": false; }; "filterBeforeOperator": { "alias": "filterBeforeOperator"; "required": false; }; "filterBeforeOrEqualOperator": { "alias": "filterBeforeOrEqualOperator"; "required": false; }; "filterFilterButton": { "alias": "filterFilterButton"; "required": false; }; "filterClearButton": { "alias": "filterClearButton"; "required": false; }; "adaptiveCloseButtonTitle": { "alias": "adaptiveCloseButtonTitle"; "required": false; }; "adaptiveBackButtonTitle": { "alias": "adaptiveBackButtonTitle"; "required": false; }; "filterAndLogic": { "alias": "filterAndLogic"; "required": false; }; "filterOrLogic": { "alias": "filterOrLogic"; "required": false; }; "filterToolbarToolText": { "alias": "filterToolbarToolText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "gridLabel": { "alias": "gridLabel"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "setColumnPosition": { "alias": "setColumnPosition"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnChooserSelectedColumnsCount": { "alias": "columnChooserSelectedColumnsCount"; "required": false; }; "columnsSubtitle": { "alias": "columnsSubtitle"; "required": false; }; "adaptiveFilterTitle": { "alias": "adaptiveFilterTitle"; "required": false; }; "adaptiveSortTitle": { "alias": "adaptiveSortTitle"; "required": false; }; "adaptiveGroupTitle": { "alias": "adaptiveGroupTitle"; "required": false; }; "filterClearAllButton": { "alias": "filterClearAllButton"; "required": false; }; "groupClearButton": { "alias": "groupClearButton"; "required": false; }; "sortClearButton": { "alias": "sortClearButton"; "required": false; }; "sortDoneButton": { "alias": "sortDoneButton"; "required": false; }; "groupDoneButton": { "alias": "groupDoneButton"; "required": false; }; "lock": { "alias": "lock"; "required": false; }; "unlock": { "alias": "unlock"; "required": false; }; "stick": { "alias": "stick"; "required": false; }; "unstick": { "alias": "unstick"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sortAscending": { "alias": "sortAscending"; "required": false; }; "sortDescending": { "alias": "sortDescending"; "required": false; }; "autosizeThisColumn": { "alias": "autosizeThisColumn"; "required": false; }; "autosizeAllColumns": { "alias": "autosizeAllColumns"; "required": false; }; "sortedAscending": { "alias": "sortedAscending"; "required": false; }; "sortedDescending": { "alias": "sortedDescending"; "required": false; }; "sortedDefault": { "alias": "sortedDefault"; "required": false; }; "sortToolbarToolText": { "alias": "sortToolbarToolText"; "required": false; }; "columnsApply": { "alias": "columnsApply"; "required": false; }; "columnsReset": { "alias": "columnsReset"; "required": false; }; "detailExpand": { "alias": "detailExpand"; "required": false; }; "detailCollapse": { "alias": "detailCollapse"; "required": false; }; "filterDateToday": { "alias": "filterDateToday"; "required": false; }; "filterDateToggle": { "alias": "filterDateToggle"; "required": false; }; "filterNumericDecrement": { "alias": "filterNumericDecrement"; "required": false; }; "filterNumericIncrement": { "alias": "filterNumericIncrement"; "required": false; }; "selectionCheckboxLabel": { "alias": "selectionCheckboxLabel"; "required": false; }; "selectAllCheckboxLabel": { "alias": "selectAllCheckboxLabel"; "required": false; }; "groupCollapse": { "alias": "groupCollapse"; "required": false; }; "groupExpand": { "alias": "groupExpand"; "required": false; }; "topToolbarLabel": { "alias": "topToolbarLabel"; "required": false; }; "bottomToolbarLabel": { "alias": "bottomToolbarLabel"; "required": false; }; "editToolbarToolText": { "alias": "editToolbarToolText"; "required": false; }; "saveToolbarToolText": { "alias": "saveToolbarToolText"; "required": false; }; "addToolbarToolText": { "alias": "addToolbarToolText"; "required": false; }; "cancelToolbarToolText": { "alias": "cancelToolbarToolText"; "required": false; }; "removeToolbarToolText": { "alias": "removeToolbarToolText"; "required": false; }; "excelExportToolbarToolText": { "alias": "excelExportToolbarToolText"; "required": false; }; "pdfExportToolbarToolText": { "alias": "pdfExportToolbarToolText"; "required": false; }; "groupPanelLabel": { "alias": "groupPanelLabel"; "required": false; }; "dragRowHandleLabel": { "alias": "dragRowHandleLabel"; "required": false; }; "columnMenuFilterTabTitle": { "alias": "columnMenuFilterTabTitle"; "required": false; }; "columnMenuGeneralTabTitle": { "alias": "columnMenuGeneralTabTitle"; "required": false; }; "columnMenuColumnsTabTitle": { "alias": "columnMenuColumnsTabTitle"; "required": false; }; "groupChipMenuPrevious": { "alias": "groupChipMenuPrevious"; "required": false; }; "groupChipMenuNext": { "alias": "groupChipMenuNext"; "required": false; }; "groupToolbarToolText": { "alias": "groupToolbarToolText"; "required": false; }; "formValidationErrorText": { "alias": "formValidationErrorText"; "required": false; }; "removeConfirmationDialogTitle": { "alias": "removeConfirmationDialogTitle"; "required": false; }; "removeConfirmationDialogContent": { "alias": "removeConfirmationDialogContent"; "required": false; }; "removeConfirmationDialogConfirmText": { "alias": "removeConfirmationDialogConfirmText"; "required": false; }; "removeConfirmationDialogRejectText": { "alias": "removeConfirmationDialogRejectText"; "required": false; }; "externalEditingTitle": { "alias": "externalEditingTitle"; "required": false; }; "externalEditingAddTitle": { "alias": "externalEditingAddTitle"; "required": false; }; "externalEditingSaveText": { "alias": "externalEditingSaveText"; "required": false; }; "externalEditingCancelText": { "alias": "externalEditingCancelText"; "required": false; }; "multiCheckboxFilterSearchPlaceholder": { "alias": "multiCheckboxFilterSearchPlaceholder"; "required": false; }; "multiCheckboxFilterSelectAllLabel": { "alias": "multiCheckboxFilterSelectAllLabel"; "required": false; }; "multiCheckboxFilterSelectedItemsCount": { "alias": "multiCheckboxFilterSelectedItemsCount"; "required": false; }; }, {}, never, never, false, never>;
|
|
618
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GridMessages, "kendo-grid-messages-base", never, { "groupPanelEmpty": { "alias": "groupPanelEmpty"; "required": false; }; "noRecords": { "alias": "noRecords"; "required": false; }; "pagerLabel": { "alias": "pagerLabel"; "required": false; }; "pagerFirstPage": { "alias": "pagerFirstPage"; "required": false; }; "pagerLastPage": { "alias": "pagerLastPage"; "required": false; }; "pagerPreviousPage": { "alias": "pagerPreviousPage"; "required": false; }; "pagerNextPage": { "alias": "pagerNextPage"; "required": false; }; "pagerPage": { "alias": "pagerPage"; "required": false; }; "pagerItemsPerPage": { "alias": "pagerItemsPerPage"; "required": false; }; "pagerOf": { "alias": "pagerOf"; "required": false; }; "pagerItems": { "alias": "pagerItems"; "required": false; }; "pagerPageNumberInputTitle": { "alias": "pagerPageNumberInputTitle"; "required": false; }; "pagerInputLabel": { "alias": "pagerInputLabel"; "required": false; }; "pagerSelectPage": { "alias": "pagerSelectPage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterInputLabel": { "alias": "filterInputLabel"; "required": false; }; "filterMenuTitle": { "alias": "filterMenuTitle"; "required": false; }; "filterMenuOperatorsDropDownLabel": { "alias": "filterMenuOperatorsDropDownLabel"; "required": false; }; "filterMenuLogicDropDownLabel": { "alias": "filterMenuLogicDropDownLabel"; "required": false; }; "filterCellOperatorLabel": { "alias": "filterCellOperatorLabel"; "required": false; }; "booleanFilterCellLabel": { "alias": "booleanFilterCellLabel"; "required": false; }; "aiAssistantApplyButtonText": { "alias": "aiAssistantApplyButtonText"; "required": false; }; "aiAssistantToolbarToolText": { "alias": "aiAssistantToolbarToolText"; "required": false; }; "aiAssistantWindowTitle": { "alias": "aiAssistantWindowTitle"; "required": false; }; "aiAssistantWindowCloseTitle": { "alias": "aiAssistantWindowCloseTitle"; "required": false; }; "aiAssistantOutputCardTitle": { "alias": "aiAssistantOutputCardTitle"; "required": false; }; "aiAssistantOutputCardBodyContent": { "alias": "aiAssistantOutputCardBodyContent"; "required": false; }; "aiAssistantSelectionNotEnabled": { "alias": "aiAssistantSelectionNotEnabled"; "required": false; }; "aiAssistantSelectionRowModeRequired": { "alias": "aiAssistantSelectionRowModeRequired"; "required": false; }; "aiAssistantSelectionCellModeRequired": { "alias": "aiAssistantSelectionCellModeRequired"; "required": false; }; "aiAssistantWindowMaximizeTitle": { "alias": "aiAssistantWindowMaximizeTitle"; "required": false; }; "aiAssistantWindowMinimizeTitle": { "alias": "aiAssistantWindowMinimizeTitle"; "required": false; }; "aiAssistantWindowRestoreTitle": { "alias": "aiAssistantWindowRestoreTitle"; "required": false; }; "filterEqOperator": { "alias": "filterEqOperator"; "required": false; }; "filterNotEqOperator": { "alias": "filterNotEqOperator"; "required": false; }; "filterIsNullOperator": { "alias": "filterIsNullOperator"; "required": false; }; "filterIsNotNullOperator": { "alias": "filterIsNotNullOperator"; "required": false; }; "filterIsEmptyOperator": { "alias": "filterIsEmptyOperator"; "required": false; }; "filterIsNotEmptyOperator": { "alias": "filterIsNotEmptyOperator"; "required": false; }; "filterStartsWithOperator": { "alias": "filterStartsWithOperator"; "required": false; }; "filterContainsOperator": { "alias": "filterContainsOperator"; "required": false; }; "filterNotContainsOperator": { "alias": "filterNotContainsOperator"; "required": false; }; "filterEndsWithOperator": { "alias": "filterEndsWithOperator"; "required": false; }; "filterGteOperator": { "alias": "filterGteOperator"; "required": false; }; "filterGtOperator": { "alias": "filterGtOperator"; "required": false; }; "filterLteOperator": { "alias": "filterLteOperator"; "required": false; }; "filterLtOperator": { "alias": "filterLtOperator"; "required": false; }; "filterIsTrue": { "alias": "filterIsTrue"; "required": false; }; "filterIsFalse": { "alias": "filterIsFalse"; "required": false; }; "filterBooleanAll": { "alias": "filterBooleanAll"; "required": false; }; "adaptiveFilterOperatorsTitle": { "alias": "adaptiveFilterOperatorsTitle"; "required": false; }; "filterAfterOrEqualOperator": { "alias": "filterAfterOrEqualOperator"; "required": false; }; "filterAfterOperator": { "alias": "filterAfterOperator"; "required": false; }; "filterBeforeOperator": { "alias": "filterBeforeOperator"; "required": false; }; "filterBeforeOrEqualOperator": { "alias": "filterBeforeOrEqualOperator"; "required": false; }; "filterFilterButton": { "alias": "filterFilterButton"; "required": false; }; "filterClearButton": { "alias": "filterClearButton"; "required": false; }; "adaptiveCloseButtonTitle": { "alias": "adaptiveCloseButtonTitle"; "required": false; }; "adaptiveBackButtonTitle": { "alias": "adaptiveBackButtonTitle"; "required": false; }; "filterAndLogic": { "alias": "filterAndLogic"; "required": false; }; "filterOrLogic": { "alias": "filterOrLogic"; "required": false; }; "filterToolbarToolText": { "alias": "filterToolbarToolText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "gridLabel": { "alias": "gridLabel"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "setColumnPosition": { "alias": "setColumnPosition"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnChooserSelectedColumnsCount": { "alias": "columnChooserSelectedColumnsCount"; "required": false; }; "columnsSubtitle": { "alias": "columnsSubtitle"; "required": false; }; "adaptiveFilterTitle": { "alias": "adaptiveFilterTitle"; "required": false; }; "adaptiveSortTitle": { "alias": "adaptiveSortTitle"; "required": false; }; "adaptiveGroupTitle": { "alias": "adaptiveGroupTitle"; "required": false; }; "filterClearAllButton": { "alias": "filterClearAllButton"; "required": false; }; "groupClearButton": { "alias": "groupClearButton"; "required": false; }; "sortClearButton": { "alias": "sortClearButton"; "required": false; }; "sortDoneButton": { "alias": "sortDoneButton"; "required": false; }; "groupDoneButton": { "alias": "groupDoneButton"; "required": false; }; "lock": { "alias": "lock"; "required": false; }; "unlock": { "alias": "unlock"; "required": false; }; "stick": { "alias": "stick"; "required": false; }; "unstick": { "alias": "unstick"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sortAscending": { "alias": "sortAscending"; "required": false; }; "sortDescending": { "alias": "sortDescending"; "required": false; }; "autosizeThisColumn": { "alias": "autosizeThisColumn"; "required": false; }; "autosizeAllColumns": { "alias": "autosizeAllColumns"; "required": false; }; "sortedAscending": { "alias": "sortedAscending"; "required": false; }; "sortedDescending": { "alias": "sortedDescending"; "required": false; }; "sortedDefault": { "alias": "sortedDefault"; "required": false; }; "sortToolbarToolText": { "alias": "sortToolbarToolText"; "required": false; }; "columnsApply": { "alias": "columnsApply"; "required": false; }; "columnsReset": { "alias": "columnsReset"; "required": false; }; "detailExpand": { "alias": "detailExpand"; "required": false; }; "detailCollapse": { "alias": "detailCollapse"; "required": false; }; "filterDateToday": { "alias": "filterDateToday"; "required": false; }; "filterDateToggle": { "alias": "filterDateToggle"; "required": false; }; "filterNumericDecrement": { "alias": "filterNumericDecrement"; "required": false; }; "filterNumericIncrement": { "alias": "filterNumericIncrement"; "required": false; }; "selectionCheckboxLabel": { "alias": "selectionCheckboxLabel"; "required": false; }; "selectAllCheckboxLabel": { "alias": "selectAllCheckboxLabel"; "required": false; }; "groupCollapse": { "alias": "groupCollapse"; "required": false; }; "groupExpand": { "alias": "groupExpand"; "required": false; }; "topToolbarLabel": { "alias": "topToolbarLabel"; "required": false; }; "bottomToolbarLabel": { "alias": "bottomToolbarLabel"; "required": false; }; "editToolbarToolText": { "alias": "editToolbarToolText"; "required": false; }; "saveToolbarToolText": { "alias": "saveToolbarToolText"; "required": false; }; "addToolbarToolText": { "alias": "addToolbarToolText"; "required": false; }; "cancelToolbarToolText": { "alias": "cancelToolbarToolText"; "required": false; }; "removeToolbarToolText": { "alias": "removeToolbarToolText"; "required": false; }; "excelExportToolbarToolText": { "alias": "excelExportToolbarToolText"; "required": false; }; "pdfExportToolbarToolText": { "alias": "pdfExportToolbarToolText"; "required": false; }; "groupPanelLabel": { "alias": "groupPanelLabel"; "required": false; }; "dragRowHandleLabel": { "alias": "dragRowHandleLabel"; "required": false; }; "columnMenuFilterTabTitle": { "alias": "columnMenuFilterTabTitle"; "required": false; }; "columnMenuGeneralTabTitle": { "alias": "columnMenuGeneralTabTitle"; "required": false; }; "columnMenuColumnsTabTitle": { "alias": "columnMenuColumnsTabTitle"; "required": false; }; "groupChipMenuPrevious": { "alias": "groupChipMenuPrevious"; "required": false; }; "groupChipMenuNext": { "alias": "groupChipMenuNext"; "required": false; }; "groupToolbarToolText": { "alias": "groupToolbarToolText"; "required": false; }; "formValidationErrorText": { "alias": "formValidationErrorText"; "required": false; }; "removeConfirmationDialogTitle": { "alias": "removeConfirmationDialogTitle"; "required": false; }; "removeConfirmationDialogContent": { "alias": "removeConfirmationDialogContent"; "required": false; }; "removeConfirmationDialogConfirmText": { "alias": "removeConfirmationDialogConfirmText"; "required": false; }; "removeConfirmationDialogRejectText": { "alias": "removeConfirmationDialogRejectText"; "required": false; }; "externalEditingTitle": { "alias": "externalEditingTitle"; "required": false; }; "externalEditingAddTitle": { "alias": "externalEditingAddTitle"; "required": false; }; "externalEditingSaveText": { "alias": "externalEditingSaveText"; "required": false; }; "externalEditingCancelText": { "alias": "externalEditingCancelText"; "required": false; }; "multiCheckboxFilterSearchPlaceholder": { "alias": "multiCheckboxFilterSearchPlaceholder"; "required": false; }; "multiCheckboxFilterSelectAllLabel": { "alias": "multiCheckboxFilterSelectAllLabel"; "required": false; }; "multiCheckboxFilterSelectedItemsCount": { "alias": "multiCheckboxFilterSelectedItemsCount"; "required": false; }; }, {}, never, never, false, never>;
|
|
607
619
|
}
|
|
@@ -126,6 +126,7 @@ export declare class NavigationService implements OnDestroy {
|
|
|
126
126
|
private handleMultipleArrowRowSelection;
|
|
127
127
|
private calculateRowspanOffset;
|
|
128
128
|
private get isStackedMode();
|
|
129
|
+
private handleRowReorderKeyboard;
|
|
129
130
|
private handleStackedKeydown;
|
|
130
131
|
stackedFocusedCellIndex: number;
|
|
131
132
|
tableCellEntered: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "21.0.0
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -35,13 +35,45 @@
|
|
|
35
35
|
"file": "codemods/v20/grid-kendogridgroupbinding.js",
|
|
36
36
|
"prompt": "true"
|
|
37
37
|
}
|
|
38
|
+
],
|
|
39
|
+
"21": [
|
|
40
|
+
{
|
|
41
|
+
"description": "Rename GridToolbarAIOpenEvent interface to GridAIAssistantOpenEvent",
|
|
42
|
+
"file": "codemods/v21/grid-gridtoolbaraiopenevent.js",
|
|
43
|
+
"prompt": "true"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"description": "Rename GridToolbarAIRequestOptions interface to GridAIRequestOptions",
|
|
47
|
+
"file": "codemods/v21/grid-gridtoolbarairequestoptions.js",
|
|
48
|
+
"prompt": "true"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"description": "Rename GridToolbarAIWindowSettings interface to GridAIAssistantWindowSettings",
|
|
52
|
+
"file": "codemods/v21/grid-gridtoolbaraiwindowsettings.js",
|
|
53
|
+
"prompt": "true"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"description": "Rename GridToolbarAIPromptRequestEvent interface to GridAIAssistantRequestEvent",
|
|
57
|
+
"file": "codemods/v21/grid-gridtoolbaraipromptrequestevent.js",
|
|
58
|
+
"prompt": "true"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"description": "Rename GridToolbarAIResponseErrorEvent interface to GridAIAssistantResponseErrorEvent",
|
|
62
|
+
"file": "codemods/v21/grid-gridtoolbarairesponseerrorevent.js",
|
|
63
|
+
"prompt": "true"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"description": "Rename GridToolbarAIPromptSettings interface to GridAIAssistantPromptSettings",
|
|
67
|
+
"file": "codemods/v21/grid-gridtoolbaraipromptsettings.js",
|
|
68
|
+
"prompt": "true"
|
|
69
|
+
}
|
|
38
70
|
]
|
|
39
71
|
}
|
|
40
72
|
},
|
|
41
73
|
"package": {
|
|
42
74
|
"productName": "Kendo UI for Angular",
|
|
43
75
|
"productCode": "KENDOUIANGULAR",
|
|
44
|
-
"publishDate":
|
|
76
|
+
"publishDate": 1762934613,
|
|
45
77
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
46
78
|
}
|
|
47
79
|
},
|
|
@@ -54,34 +86,35 @@
|
|
|
54
86
|
"@progress/kendo-data-query": "^1.0.0",
|
|
55
87
|
"@progress/kendo-drawing": "^1.21.0",
|
|
56
88
|
"@progress/kendo-licensing": "^1.7.0",
|
|
57
|
-
"@progress/kendo-angular-buttons": "21.0.0
|
|
58
|
-
"@progress/kendo-angular-common": "21.0.0
|
|
59
|
-
"@progress/kendo-angular-dateinputs": "21.0.0
|
|
60
|
-
"@progress/kendo-angular-layout": "21.0.0
|
|
61
|
-
"@progress/kendo-angular-navigation": "21.0.0
|
|
62
|
-
"@progress/kendo-angular-dropdowns": "21.0.0
|
|
63
|
-
"@progress/kendo-angular-excel-export": "21.0.0
|
|
64
|
-
"@progress/kendo-angular-icons": "21.0.0
|
|
65
|
-
"@progress/kendo-angular-indicators": "21.0.0
|
|
66
|
-
"@progress/kendo-angular-inputs": "21.0.0
|
|
67
|
-
"@progress/kendo-angular-conversational-ui": "21.0.0
|
|
68
|
-
"@progress/kendo-angular-intl": "21.0.0
|
|
69
|
-
"@progress/kendo-angular-l10n": "21.0.0
|
|
70
|
-
"@progress/kendo-angular-label": "21.0.0
|
|
71
|
-
"@progress/kendo-angular-menu": "21.0.0
|
|
72
|
-
"@progress/kendo-angular-pager": "21.0.0
|
|
73
|
-
"@progress/kendo-angular-pdf-export": "21.0.0
|
|
74
|
-
"@progress/kendo-angular-popup": "21.0.0
|
|
75
|
-
"@progress/kendo-angular-toolbar": "21.0.0
|
|
76
|
-
"@progress/kendo-angular-upload": "21.0.0
|
|
77
|
-
"@progress/kendo-angular-utils": "21.0.0
|
|
89
|
+
"@progress/kendo-angular-buttons": "21.0.0",
|
|
90
|
+
"@progress/kendo-angular-common": "21.0.0",
|
|
91
|
+
"@progress/kendo-angular-dateinputs": "21.0.0",
|
|
92
|
+
"@progress/kendo-angular-layout": "21.0.0",
|
|
93
|
+
"@progress/kendo-angular-navigation": "21.0.0",
|
|
94
|
+
"@progress/kendo-angular-dropdowns": "21.0.0",
|
|
95
|
+
"@progress/kendo-angular-excel-export": "21.0.0",
|
|
96
|
+
"@progress/kendo-angular-icons": "21.0.0",
|
|
97
|
+
"@progress/kendo-angular-indicators": "21.0.0",
|
|
98
|
+
"@progress/kendo-angular-inputs": "21.0.0",
|
|
99
|
+
"@progress/kendo-angular-conversational-ui": "21.0.0",
|
|
100
|
+
"@progress/kendo-angular-intl": "21.0.0",
|
|
101
|
+
"@progress/kendo-angular-l10n": "21.0.0",
|
|
102
|
+
"@progress/kendo-angular-label": "21.0.0",
|
|
103
|
+
"@progress/kendo-angular-menu": "21.0.0",
|
|
104
|
+
"@progress/kendo-angular-pager": "21.0.0",
|
|
105
|
+
"@progress/kendo-angular-pdf-export": "21.0.0",
|
|
106
|
+
"@progress/kendo-angular-popup": "21.0.0",
|
|
107
|
+
"@progress/kendo-angular-toolbar": "21.0.0",
|
|
108
|
+
"@progress/kendo-angular-upload": "21.0.0",
|
|
109
|
+
"@progress/kendo-angular-utils": "21.0.0",
|
|
78
110
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
79
111
|
},
|
|
80
112
|
"dependencies": {
|
|
81
113
|
"tslib": "^2.3.1",
|
|
82
|
-
"@progress/kendo-angular-schematics": "21.0.0
|
|
114
|
+
"@progress/kendo-angular-schematics": "21.0.0",
|
|
83
115
|
"@progress/kendo-common": "^1.0.1",
|
|
84
|
-
"@progress/kendo-file-saver": "^1.0.0"
|
|
116
|
+
"@progress/kendo-file-saver": "^1.0.0",
|
|
117
|
+
"node-html-parser": "^7.0.1"
|
|
85
118
|
},
|
|
86
119
|
"schematics": "./schematics/collection.json",
|
|
87
120
|
"module": "fesm2022/progress-kendo-angular-grid.mjs",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnDestroy, AfterViewInit } from '@angular/core';
|
|
5
|
+
import { OnDestroy, AfterViewInit, NgZone } from '@angular/core';
|
|
6
6
|
import { AIPromptComponent, PromptRequestEvent } from '@progress/kendo-angular-conversational-ui';
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
8
|
import { ContextService } from './../../../../common/provider.service';
|
|
9
9
|
import { ColumnInfoService } from './../../../../common/column-info.service';
|
|
10
10
|
import { AIAssistantToolbarDirective } from './ai-tool.directive';
|
|
11
|
-
import {
|
|
11
|
+
import { GridAIAssistantPromptSettings, GridAIRequestOptions } from './models';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
@@ -17,11 +17,12 @@ export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
|
|
|
17
17
|
private http;
|
|
18
18
|
private ctx;
|
|
19
19
|
private columnInfoService;
|
|
20
|
+
private zone;
|
|
20
21
|
aiPrompt: AIPromptComponent;
|
|
21
22
|
activeView: number;
|
|
22
23
|
requestUrl: string;
|
|
23
|
-
requestOptions:
|
|
24
|
-
aiPromptSettings:
|
|
24
|
+
requestOptions: GridAIRequestOptions;
|
|
25
|
+
aiPromptSettings: GridAIAssistantPromptSettings;
|
|
25
26
|
aiToolDirective: AIAssistantToolbarDirective;
|
|
26
27
|
streaming: boolean;
|
|
27
28
|
disabledGenerateButton: boolean;
|
|
@@ -30,8 +31,10 @@ export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
|
|
|
30
31
|
private currentRequestSubscription;
|
|
31
32
|
private loadingOutput;
|
|
32
33
|
private columns;
|
|
34
|
+
private leafColumns;
|
|
35
|
+
private columnsTree;
|
|
33
36
|
private idCounter;
|
|
34
|
-
constructor(http: HttpClient, ctx: ContextService, columnInfoService: ColumnInfoService);
|
|
37
|
+
constructor(http: HttpClient, ctx: ContextService, columnInfoService: ColumnInfoService, zone: NgZone);
|
|
35
38
|
ngAfterViewInit(): void;
|
|
36
39
|
ngOnDestroy(): void;
|
|
37
40
|
message(message: string): string;
|
|
@@ -43,8 +46,26 @@ export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
|
|
|
43
46
|
private deleteLoadingOutput;
|
|
44
47
|
private unsubscribeCurrentRequest;
|
|
45
48
|
private processArrayResponse;
|
|
49
|
+
private processCommands;
|
|
50
|
+
private runExportWithFileName;
|
|
51
|
+
private processPageCommand;
|
|
52
|
+
private processPageSizeCommand;
|
|
53
|
+
private emitGridPageChange;
|
|
54
|
+
private ensurePageSizeOption;
|
|
55
|
+
private getCurrentPageSizeValue;
|
|
56
|
+
private getTotalItemsCount;
|
|
57
|
+
private getSelectionInstance;
|
|
58
|
+
private updateLastMessage;
|
|
59
|
+
private getHighlightItems;
|
|
60
|
+
private processSelectionResponse;
|
|
61
|
+
private mapHighlightItemsToSelection;
|
|
62
|
+
private applySelectionState;
|
|
63
|
+
private replaceQuotedColumnId;
|
|
64
|
+
private isColumnCommand;
|
|
65
|
+
private getColumnReplacement;
|
|
46
66
|
private processHighlightResponse;
|
|
47
67
|
private processFilterResponse;
|
|
68
|
+
private changeColumnPosition;
|
|
48
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
|
|
49
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
50
71
|
}
|
|
@@ -8,7 +8,7 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
|
8
8
|
import { ContextService } from '../../../../common/provider.service';
|
|
9
9
|
import { ToolbarToolBase } from '../../../../common/toolbar-tool-base.directive';
|
|
10
10
|
import { WindowService } from '@progress/kendo-angular-dialog';
|
|
11
|
-
import {
|
|
11
|
+
import { GridAIAssistantPromptSettings, GridAIAssistantWindowSettings, GridAIRequestOptions, GridAIAssistantResponseSuccessEvent, GridAIAssistantResponseErrorEvent, GridAIAssistantRequestEvent, GridAIAssistantOpenEvent } from './models';
|
|
12
12
|
import { PromptOutput } from '@progress/kendo-angular-conversational-ui';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
@@ -43,15 +43,15 @@ export declare class AIAssistantToolbarDirective extends ToolbarToolBase impleme
|
|
|
43
43
|
*
|
|
44
44
|
* @default { headers: new HttpHeaders({ 'Content-Type': 'application/json' }), role: 'user', method: 'POST', responseType: 'json', withCredentials: false }
|
|
45
45
|
*/
|
|
46
|
-
requestOptions?:
|
|
46
|
+
requestOptions?: GridAIRequestOptions;
|
|
47
47
|
/**
|
|
48
48
|
* Configures the initial settings for the AI Assistant Window when opened.
|
|
49
49
|
*/
|
|
50
|
-
aiWindowSettings:
|
|
50
|
+
aiWindowSettings: GridAIAssistantWindowSettings;
|
|
51
51
|
/**
|
|
52
52
|
* Configures the initial settings for the AI Prompt component that the AI Assistant Window component uses when opened.
|
|
53
53
|
*/
|
|
54
|
-
aiPromptSettings:
|
|
54
|
+
aiPromptSettings: GridAIAssistantPromptSettings;
|
|
55
55
|
/**
|
|
56
56
|
* Determines whether to close the AI Assistant Window automatically after a successful request.
|
|
57
57
|
* @default true
|
|
@@ -67,7 +67,7 @@ export declare class AIAssistantToolbarDirective extends ToolbarToolBase impleme
|
|
|
67
67
|
* - When you provide a `requestUrl`, you can handle the event to modify the request options.
|
|
68
68
|
* - When you do not provide a `requestUrl`, you can handle the event to perform an entirely custom request.
|
|
69
69
|
*/
|
|
70
|
-
promptRequest: EventEmitter<
|
|
70
|
+
promptRequest: EventEmitter<GridAIAssistantRequestEvent>;
|
|
71
71
|
/**
|
|
72
72
|
* Emits an event when the user clicks the cancel button.
|
|
73
73
|
*/
|
|
@@ -76,12 +76,12 @@ export declare class AIAssistantToolbarDirective extends ToolbarToolBase impleme
|
|
|
76
76
|
* Emits an event when the AI Assistant tool completes the AI request successfully.
|
|
77
77
|
* The event contains the response from the AI service and is preventable to allow stopping the default response handling.
|
|
78
78
|
*/
|
|
79
|
-
responseSuccess: EventEmitter<
|
|
79
|
+
responseSuccess: EventEmitter<GridAIAssistantResponseSuccessEvent>;
|
|
80
80
|
/**
|
|
81
81
|
* Emits an event when the AI Assistant tool completes the AI request with an error.
|
|
82
82
|
* The event contains the error response from the AI service and is preventable to allow stopping the default error handling.
|
|
83
83
|
*/
|
|
84
|
-
responseError: EventEmitter<
|
|
84
|
+
responseError: EventEmitter<GridAIAssistantResponseErrorEvent>;
|
|
85
85
|
/**
|
|
86
86
|
* Emits an event when the AI Assistant tool closes.
|
|
87
87
|
*/
|
|
@@ -89,7 +89,7 @@ export declare class AIAssistantToolbarDirective extends ToolbarToolBase impleme
|
|
|
89
89
|
/**
|
|
90
90
|
* Emits an event when the AI Assistant tool opens.
|
|
91
91
|
*/
|
|
92
|
-
open: EventEmitter<
|
|
92
|
+
open: EventEmitter<GridAIAssistantOpenEvent>;
|
|
93
93
|
tableWizardIcon: SVGIcon;
|
|
94
94
|
emitOpenClose: boolean;
|
|
95
95
|
promptOutputs: PromptOutput[];
|
|
@@ -10,23 +10,36 @@ import { CompositeFilterDescriptor, FilterDescriptor, GroupDescriptor, SortDescr
|
|
|
10
10
|
/**
|
|
11
11
|
* Interface representing all configuration options of the AI Assistant Window.
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface GridAIAssistantWindowSettings extends Omit<WindowSettings, 'content'> {
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Interface representing all configuration options of the AI Assistant Prompt.
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface GridAIAssistantPromptSettings extends Omit<AIPromptSettings, 'promptCommands'> {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Descriptor for a Grid column sent in the AI request.
|
|
22
|
+
*/
|
|
23
|
+
export interface GridAIRequestColumnDescriptor {
|
|
24
|
+
/** The field name bound to the column. */
|
|
25
|
+
field?: string;
|
|
26
|
+
/** Unique identifier for the column. */
|
|
27
|
+
id: string;
|
|
28
|
+
/** Header text of group columns. */
|
|
29
|
+
header?: string;
|
|
30
|
+
/** Nested child columns for grouped or span columns. */
|
|
31
|
+
columns?: GridAIRequestColumnDescriptor[];
|
|
32
|
+
/** Optional type marker for special columns without a `field`. */
|
|
33
|
+
type?: 'checkbox' | 'command';
|
|
19
34
|
}
|
|
20
35
|
/**
|
|
21
36
|
* Represents the data sent in the AI request from the Grid Toolbar AI Assistant.
|
|
22
37
|
*/
|
|
23
|
-
export interface
|
|
38
|
+
export interface GridAIRequestData {
|
|
24
39
|
/**
|
|
25
|
-
* The columns of the grid, each represented by its field.
|
|
40
|
+
* The columns of the grid, each represented by its field, id, header, and nested columns (if any).
|
|
26
41
|
*/
|
|
27
|
-
columns: Array<
|
|
28
|
-
field: string;
|
|
29
|
-
}>;
|
|
42
|
+
columns: Array<GridAIRequestColumnDescriptor>;
|
|
30
43
|
/**
|
|
31
44
|
* The prompt message to be sent to the AI service.
|
|
32
45
|
*/
|
|
@@ -49,6 +62,8 @@ export interface GridToolbarAIRequestData {
|
|
|
49
62
|
};
|
|
50
63
|
}
|
|
51
64
|
/**
|
|
65
|
+
* @hidden
|
|
66
|
+
*
|
|
52
67
|
* Represents a composite highlight descriptor for a grid.
|
|
53
68
|
* It contains a map of cell identifiers to their highlight status,
|
|
54
69
|
* an array of filter descriptors, and the logical operator used to combine the filters.
|
|
@@ -70,34 +85,51 @@ export interface CompositeHighlightDescriptor {
|
|
|
70
85
|
logic: 'and' | 'or';
|
|
71
86
|
}
|
|
72
87
|
/**
|
|
73
|
-
*
|
|
88
|
+
* @hidden
|
|
89
|
+
*
|
|
90
|
+
* The possible command type string values returned by the AI service.
|
|
74
91
|
*/
|
|
75
|
-
export
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
* The filter descriptors applied to the grid.
|
|
86
|
-
*/
|
|
92
|
+
export type GridAICommandType = 'GridSort' | 'GridClearSort' | 'GridFilter' | 'GridClearFilter' | 'GridGroup' | 'GridClearGroup' | 'GridHighlight' | 'GridClearHighlight' | 'GridSelect' | 'GridClearSelect' | 'GridColumnResize' | 'GridColumnReorder' | 'GridColumnShow' | 'GridColumnHide' | 'GridColumnLock' | 'GridColumnUnlock' | 'GridPage' | 'GridPageSize' | 'GridExportExcel' | 'GridExportPDF';
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*
|
|
96
|
+
* AI command interface.
|
|
97
|
+
*/
|
|
98
|
+
export interface GridAICommand {
|
|
99
|
+
type: GridAICommandType;
|
|
100
|
+
message: string;
|
|
101
|
+
sort?: SortDescriptor;
|
|
87
102
|
filter?: CompositeFilterDescriptor;
|
|
103
|
+
group?: GroupDescriptor;
|
|
104
|
+
highlight?: CompositeHighlightDescriptor;
|
|
105
|
+
select?: CompositeHighlightDescriptor;
|
|
106
|
+
size?: number | string;
|
|
107
|
+
position?: number;
|
|
108
|
+
page?: number;
|
|
109
|
+
pageSize?: number;
|
|
110
|
+
fileName?: string;
|
|
111
|
+
id?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @hidden
|
|
115
|
+
*
|
|
116
|
+
* Represents the response from the AI request in the Grid Toolbar AI Assistant.
|
|
117
|
+
* The response is an ordered array of commands that must be executed sequentially.
|
|
118
|
+
*/
|
|
119
|
+
export interface GridAIResponse {
|
|
88
120
|
/**
|
|
89
|
-
*
|
|
121
|
+
* Ordered array of commands that must be executed sequentially.
|
|
90
122
|
*/
|
|
91
|
-
|
|
123
|
+
commands: Array<GridAICommand>;
|
|
92
124
|
/**
|
|
93
|
-
*
|
|
125
|
+
* Optional human-readable message returned by the AI service about the overall response.
|
|
94
126
|
*/
|
|
95
|
-
|
|
127
|
+
message?: string;
|
|
96
128
|
}
|
|
97
129
|
/**
|
|
98
130
|
* Configuration options for the HTTP request.
|
|
99
131
|
*/
|
|
100
|
-
export interface
|
|
132
|
+
export interface GridAIRequestOptions {
|
|
101
133
|
/**
|
|
102
134
|
* HTTP headers to include with the request.
|
|
103
135
|
*/
|
|
@@ -134,21 +166,21 @@ export interface GridToolbarAIRequestOptions {
|
|
|
134
166
|
/**
|
|
135
167
|
* @hidden
|
|
136
168
|
*/
|
|
137
|
-
export declare const DEFAULT_AI_REQUEST_OPTIONS:
|
|
169
|
+
export declare const DEFAULT_AI_REQUEST_OPTIONS: GridAIRequestOptions;
|
|
138
170
|
/**
|
|
139
171
|
* Represents the event data when the AI Assistant request completes successfully.
|
|
140
172
|
*/
|
|
141
|
-
export declare class
|
|
173
|
+
export declare class GridAIAssistantResponseSuccessEvent extends PreventableEvent {
|
|
142
174
|
/**
|
|
143
175
|
* The HTTP response from the AI service.
|
|
144
176
|
*/
|
|
145
|
-
response: HttpResponse<
|
|
146
|
-
constructor(response: HttpResponse<
|
|
177
|
+
response: HttpResponse<any>;
|
|
178
|
+
constructor(response: HttpResponse<any>);
|
|
147
179
|
}
|
|
148
180
|
/**
|
|
149
181
|
* Represents the event data when the AI Assistant request completes with an error.
|
|
150
182
|
*/
|
|
151
|
-
export declare class
|
|
183
|
+
export declare class GridAIAssistantResponseErrorEvent extends PreventableEvent {
|
|
152
184
|
/**
|
|
153
185
|
* The HTTP error response from the AI service.
|
|
154
186
|
*/
|
|
@@ -158,14 +190,14 @@ export declare class GridToolbarAIResponseErrorEvent extends PreventableEvent {
|
|
|
158
190
|
/**
|
|
159
191
|
* Represents the event data when the AI Assistant request is initiated.
|
|
160
192
|
*/
|
|
161
|
-
export interface
|
|
162
|
-
requestData:
|
|
193
|
+
export interface GridAIAssistantRequestEvent {
|
|
194
|
+
requestData: GridAIRequestData;
|
|
163
195
|
isRetry: boolean;
|
|
164
196
|
}
|
|
165
197
|
/**
|
|
166
198
|
* Represents the event data when the AI Assistant window is opened.
|
|
167
199
|
*/
|
|
168
|
-
export interface
|
|
200
|
+
export interface GridAIAssistantOpenEvent {
|
|
169
201
|
aiWindow: WindowComponent;
|
|
170
202
|
aiPrompt: AIPromptComponent;
|
|
171
203
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DragTargetPressEvent, DragTargetDragEvent, DropTargetEvent } from '@progress/kendo-angular-utils';
|
|
6
6
|
import { EventEmitter, Renderer2 } from '@angular/core';
|
|
7
|
-
import { RowReorderEvent } from './types';
|
|
7
|
+
import { DropPosition, RowReorderEvent } from './types';
|
|
8
8
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
9
|
import { ColumnList } from '../columns/column-list';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -41,6 +41,15 @@ export declare class RowReorderService {
|
|
|
41
41
|
get hintSVGIcon(): SVGIcon;
|
|
42
42
|
getDefaultHintText(columns: ColumnList, data: any[]): string;
|
|
43
43
|
getDraggedRow(data: any): any;
|
|
44
|
+
/**
|
|
45
|
+
* Triggers row reordering programmatically via keyboard shortcut.
|
|
46
|
+
* @param dragRowIndex - The index of the row to move
|
|
47
|
+
* @param dropRowIndex - The index of the target row
|
|
48
|
+
* @param dropPosition - The position relative to the target row ('before' or 'after')
|
|
49
|
+
* @param data - The data array
|
|
50
|
+
*/
|
|
51
|
+
reorderViaKeyboard(dragRowIndex: number, dropRowIndex: number, dropPosition: DropPosition, data: Array<any>): void;
|
|
52
|
+
private createVirtualRowElement;
|
|
44
53
|
private rowReorderArgs;
|
|
45
54
|
private getDragRowPerElement;
|
|
46
55
|
private createDropIndicator;
|
|
@@ -5,19 +5,19 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
5
5
|
function default_1(options) {
|
|
6
6
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
7
7
|
// peer deps of the dropdowns
|
|
8
|
-
'@progress/kendo-angular-treeview': '21.0.0
|
|
9
|
-
'@progress/kendo-angular-navigation': '21.0.0
|
|
8
|
+
'@progress/kendo-angular-treeview': '21.0.0',
|
|
9
|
+
'@progress/kendo-angular-navigation': '21.0.0',
|
|
10
10
|
// peer dependency of kendo-angular-inputs
|
|
11
|
-
'@progress/kendo-angular-dialog': '21.0.0
|
|
11
|
+
'@progress/kendo-angular-dialog': '21.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-icons
|
|
13
13
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
14
14
|
// peer dependency of kendo-angular-layout
|
|
15
|
-
'@progress/kendo-angular-progressbar': '21.0.0
|
|
15
|
+
'@progress/kendo-angular-progressbar': '21.0.0',
|
|
16
16
|
// transitive peer dependencies from toolbar
|
|
17
|
-
'@progress/kendo-angular-indicators': '21.0.0
|
|
17
|
+
'@progress/kendo-angular-indicators': '21.0.0',
|
|
18
18
|
// transitive peer dependencies from conversational-ui
|
|
19
|
-
'@progress/kendo-angular-menu': '21.0.0
|
|
20
|
-
'@progress/kendo-angular-upload': '21.0.0
|
|
19
|
+
'@progress/kendo-angular-menu': '21.0.0',
|
|
20
|
+
'@progress/kendo-angular-upload': '21.0.0'
|
|
21
21
|
} });
|
|
22
22
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
23
23
|
}
|