@progress/kendo-angular-grid 19.3.0-develop.8 → 19.3.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.
Files changed (102) hide show
  1. package/columns/columns-container.d.ts +2 -0
  2. package/common/data-layout-mode.d.ts +21 -0
  3. package/common/grid-col-size.d.ts +13 -0
  4. package/common/provider.service.d.ts +2 -0
  5. package/common/toolbar-tool-base.directive.d.ts +2 -1
  6. package/data/data-mapping.service.d.ts +3 -1
  7. package/directives.d.ts +7 -4
  8. package/editing/toolbar-editing-tool-base.directive.d.ts +3 -2
  9. package/editing-directives/editing-directive-base.d.ts +3 -0
  10. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  11. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  12. package/editing-directives/template-editing.directive.d.ts +1 -1
  13. package/esm2022/column-menu/column-chooser.component.mjs +1 -1
  14. package/esm2022/column-menu/column-list.component.mjs +8 -7
  15. package/esm2022/column-menu/column-menu-item.directive.mjs +1 -1
  16. package/esm2022/columns/column-base.mjs +4 -4
  17. package/esm2022/columns/column.component.mjs +1 -1
  18. package/esm2022/columns/columns-container.mjs +3 -0
  19. package/esm2022/common/column-info.service.mjs +1 -1
  20. package/esm2022/common/data-layout-mode.mjs +5 -0
  21. package/esm2022/common/grid-col-size.mjs +5 -0
  22. package/esm2022/common/provider.service.mjs +1 -0
  23. package/esm2022/common/toolbar-tool-base.directive.mjs +6 -2
  24. package/esm2022/data/data-mapping.service.mjs +14 -3
  25. package/esm2022/directives.mjs +8 -1
  26. package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +5 -0
  27. package/esm2022/editing-directives/editing-directive-base.mjs +17 -2
  28. package/esm2022/editing-directives/in-cell-editing.directive.mjs +5 -3
  29. package/esm2022/editing-directives/reactive-editing.directive.mjs +1 -1
  30. package/esm2022/editing-directives/template-editing.directive.mjs +1 -1
  31. package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -2
  32. package/esm2022/filtering/filter-row.component.mjs +5 -2
  33. package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +1 -1
  34. package/esm2022/grid.component.mjs +191 -39
  35. package/esm2022/grid.module.mjs +103 -100
  36. package/esm2022/grouping/group-header.component.mjs +39 -4
  37. package/esm2022/grouping/group-panel.component.mjs +13 -8
  38. package/esm2022/highlight/highlight-item.mjs +5 -0
  39. package/esm2022/highlight/highlight.directive.mjs +132 -0
  40. package/esm2022/index.mjs +4 -0
  41. package/esm2022/localization/messages.mjs +57 -3
  42. package/esm2022/navigation/navigation-cursor.mjs +7 -1
  43. package/esm2022/navigation/navigation-metadata.mjs +3 -1
  44. package/esm2022/navigation/navigation.service.mjs +168 -16
  45. package/esm2022/navigation/toolbar-tool-name.mjs +2 -1
  46. package/esm2022/package-metadata.mjs +2 -2
  47. package/esm2022/pdf/export-element.mjs +14 -5
  48. package/esm2022/pdf/pdf.component.mjs +3 -1
  49. package/esm2022/rendering/cell.component.mjs +466 -188
  50. package/esm2022/rendering/common/col-group.component.mjs +21 -7
  51. package/esm2022/rendering/details-expand.directive.mjs +5 -2
  52. package/esm2022/rendering/footer/footer.component.mjs +117 -54
  53. package/esm2022/rendering/header/header.component.mjs +13 -9
  54. package/esm2022/rendering/list.component.mjs +19 -12
  55. package/esm2022/rendering/loading-template.directive.mjs +1 -0
  56. package/esm2022/rendering/table-body.component.mjs +394 -174
  57. package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +305 -0
  58. package/esm2022/rendering/toolbar/tools/ai-assistant/ai-tool.directive.mjs +273 -0
  59. package/esm2022/rendering/toolbar/tools/ai-assistant/utils.mjs +74 -0
  60. package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +5 -4
  61. package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +11 -9
  62. package/esm2022/rendering/toolbar/tools/select-all-command-tool.directive.mjs +93 -0
  63. package/esm2022/row-reordering/row-reorder.service.mjs +2 -2
  64. package/esm2022/row-reordering/utils.mjs +6 -4
  65. package/esm2022/selection/cell-selection.service.mjs +6 -3
  66. package/esm2022/selection/pair-set.mjs +87 -10
  67. package/esm2022/selection/selection-checkbox.directive.mjs +1 -1
  68. package/esm2022/selection/selection.directive.mjs +1 -1
  69. package/fesm2022/progress-kendo-angular-grid.mjs +2583 -639
  70. package/filtering/filter-row.component.d.ts +1 -0
  71. package/grid.component.d.ts +29 -1
  72. package/grid.module.d.ts +102 -99
  73. package/grouping/group-header.component.d.ts +1 -0
  74. package/grouping/group-panel.component.d.ts +1 -1
  75. package/highlight/highlight-item.d.ts +17 -0
  76. package/highlight/highlight.directive.d.ts +56 -0
  77. package/index.d.ts +8 -1
  78. package/localization/messages.d.ts +39 -3
  79. package/navigation/focus-group.d.ts +1 -1
  80. package/navigation/navigation-metadata.d.ts +2 -1
  81. package/navigation/navigation.service.d.ts +6 -0
  82. package/navigation/toolbar-tool-name.d.ts +1 -0
  83. package/package.json +22 -21
  84. package/rendering/cell.component.d.ts +30 -15
  85. package/rendering/common/col-group.component.d.ts +5 -0
  86. package/rendering/details-expand.directive.d.ts +5 -2
  87. package/rendering/footer/footer.component.d.ts +4 -1
  88. package/rendering/header/header.component.d.ts +1 -0
  89. package/rendering/list.component.d.ts +4 -1
  90. package/rendering/loading-template.directive.d.ts +1 -0
  91. package/rendering/table-body.component.d.ts +3 -1
  92. package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +49 -0
  93. package/rendering/toolbar/tools/ai-assistant/ai-tool.directive.d.ts +115 -0
  94. package/rendering/toolbar/tools/ai-assistant/utils.d.ts +131 -0
  95. package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +0 -1
  96. package/rendering/toolbar/tools/select-all-command-tool.directive.d.ts +36 -0
  97. package/row-reordering/row-reorder.service.d.ts +1 -1
  98. package/row-reordering/utils.d.ts +1 -1
  99. package/schematics/ngAdd/index.js +4 -4
  100. package/selection/cell-selection.service.d.ts +1 -0
  101. package/selection/pair-set.d.ts +36 -8
  102. package/selection/selection.directive.d.ts +1 -1
@@ -141,6 +141,42 @@ export declare class GridMessages extends ComponentMessages {
141
141
  * [See example](slug:globalization_grid#toc-custom-messages).
142
142
  */
143
143
  booleanFilterCellLabel: string;
144
+ /**
145
+ * The text of the AI Assistant Apply button.
146
+ */
147
+ aiAssistantApplyButtonText: string;
148
+ /**
149
+ * The text of the AI Assistant toolbar tool.
150
+ */
151
+ aiAssistantToolbarToolText: string;
152
+ /**
153
+ * The text of the AI Assistant Window title.
154
+ */
155
+ aiAssistantWindowTitle: string;
156
+ /**
157
+ * The title of the AI Assistant Window close button.
158
+ */
159
+ aiAssistantWindowCloseTitle: string;
160
+ /**
161
+ * The title of the AI Assistant Prompt Output Card.
162
+ */
163
+ aiAssistantOutputCardTitle: string;
164
+ /**
165
+ * The success message dispayed in the AI Assistant Prompt Output Card's body.
166
+ */
167
+ aiAssistantOutputCardBodyContent: string;
168
+ /**
169
+ * The title of the AI Assistant Window maximize button.
170
+ */
171
+ aiAssistantWindowMaximizeTitle: string;
172
+ /**
173
+ * The title of the AI Assistant Window minimize button.
174
+ */
175
+ aiAssistantWindowMinimizeTitle: string;
176
+ /**
177
+ * The title of the AI Assistant Window restore button.
178
+ */
179
+ aiAssistantWindowRestoreTitle: string;
144
180
  /**
145
181
  * Sets the text for the `Equal` (**Is equal to**) filter operator.
146
182
  */
@@ -382,11 +418,11 @@ export declare class GridMessages extends ComponentMessages {
382
418
  */
383
419
  columnsReset: string;
384
420
  /**
385
- * Sets the title for the expand icon of detail rows.
421
+ * Sets the title for the expand icon of detail rows. Applies also to the expand button text in stacked mode.
386
422
  */
387
423
  detailExpand: string;
388
424
  /**
389
- * Sets the title for the collapse icon of detail rows.
425
+ * Sets the title for the collapse icon of detail rows. Applies also to the collapse button text in stacked mode.
390
426
  */
391
427
  detailCollapse: string;
392
428
  /**
@@ -537,5 +573,5 @@ export declare class GridMessages extends ComponentMessages {
537
573
  */
538
574
  externalEditingCancelText: string;
539
575
  static ɵfac: i0.ɵɵFactoryDeclaration<GridMessages, never>;
540
- 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; }; "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; }; "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; }; }, {}, never, never, false, never>;
576
+ 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; }; "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; }; }, {}, never, never, false, never>;
541
577
  }
@@ -13,7 +13,7 @@ export declare class FocusGroup implements OnDestroy {
13
13
  private root;
14
14
  private active;
15
15
  private children;
16
- private get focusableChildren();
16
+ get focusableChildren(): FocusableElement[];
17
17
  get isActive(): boolean;
18
18
  constructor(root: FocusRoot);
19
19
  ngOnDestroy(): void;
@@ -15,6 +15,7 @@ export declare class NavigationMetadata {
15
15
  gridElement: ElementRef;
16
16
  virtualColumns: boolean;
17
17
  columns: any;
18
+ isStacked: boolean;
18
19
  get maxLogicalRowIndex(): number;
19
- constructor(dataRows: number, headerRows: number, isVirtual: boolean, hasPager: boolean, hasDetailTemplate: boolean, gridElement: ElementRef, virtualColumns: boolean, columns: any);
20
+ constructor(dataRows: number, headerRows: number, isVirtual: boolean, hasPager: boolean, hasDetailTemplate: boolean, gridElement: ElementRef, virtualColumns: boolean, columns: any, isStacked: boolean);
20
21
  }
@@ -124,6 +124,12 @@ export declare class NavigationService implements OnDestroy {
124
124
  private handleMultipleArrowCellSelection;
125
125
  private handleMultipleArrowRowSelection;
126
126
  private calculateRowspanOffset;
127
+ private get isStackedMode();
128
+ private handleStackedKeydown;
129
+ stackedFocusedCellIndex: number;
130
+ tableCellEntered: boolean;
131
+ stackedCellEntered: boolean;
132
+ private handleStackedTabNavigation;
127
133
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
128
134
  static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
129
135
  }
@@ -14,4 +14,5 @@ export declare const ToolbarToolName: {
14
14
  columns: string;
15
15
  excelExport: string;
16
16
  pdfExport: string;
17
+ aiAssistant: string;
17
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-grid",
3
- "version": "19.3.0-develop.8",
3
+ "version": "19.3.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",
@@ -26,7 +26,7 @@
26
26
  "package": {
27
27
  "productName": "Kendo UI for Angular",
28
28
  "productCode": "KENDOUIANGULAR",
29
- "publishDate": 1752479411,
29
+ "publishDate": 1755030618,
30
30
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
31
31
  }
32
32
  },
@@ -38,29 +38,30 @@
38
38
  "@angular/platform-browser": "16 - 20",
39
39
  "@progress/kendo-data-query": "^1.0.0",
40
40
  "@progress/kendo-drawing": "^1.21.0",
41
- "@progress/kendo-licensing": "^1.5.0",
42
- "@progress/kendo-angular-buttons": "19.3.0-develop.8",
43
- "@progress/kendo-angular-common": "19.3.0-develop.8",
44
- "@progress/kendo-angular-dateinputs": "19.3.0-develop.8",
45
- "@progress/kendo-angular-layout": "19.3.0-develop.8",
46
- "@progress/kendo-angular-navigation": "19.3.0-develop.8",
47
- "@progress/kendo-angular-dropdowns": "19.3.0-develop.8",
48
- "@progress/kendo-angular-excel-export": "19.3.0-develop.8",
49
- "@progress/kendo-angular-icons": "19.3.0-develop.8",
50
- "@progress/kendo-angular-inputs": "19.3.0-develop.8",
51
- "@progress/kendo-angular-intl": "19.3.0-develop.8",
52
- "@progress/kendo-angular-l10n": "19.3.0-develop.8",
53
- "@progress/kendo-angular-label": "19.3.0-develop.8",
54
- "@progress/kendo-angular-pager": "19.3.0-develop.8",
55
- "@progress/kendo-angular-pdf-export": "19.3.0-develop.8",
56
- "@progress/kendo-angular-popup": "19.3.0-develop.8",
57
- "@progress/kendo-angular-toolbar": "19.3.0-develop.8",
58
- "@progress/kendo-angular-utils": "19.3.0-develop.8",
41
+ "@progress/kendo-licensing": "^1.7.0",
42
+ "@progress/kendo-angular-buttons": "19.3.0",
43
+ "@progress/kendo-angular-common": "19.3.0",
44
+ "@progress/kendo-angular-dateinputs": "19.3.0",
45
+ "@progress/kendo-angular-layout": "19.3.0",
46
+ "@progress/kendo-angular-navigation": "19.3.0",
47
+ "@progress/kendo-angular-dropdowns": "19.3.0",
48
+ "@progress/kendo-angular-excel-export": "19.3.0",
49
+ "@progress/kendo-angular-icons": "19.3.0",
50
+ "@progress/kendo-angular-inputs": "19.3.0",
51
+ "@progress/kendo-angular-conversational-ui": "19.3.0",
52
+ "@progress/kendo-angular-intl": "19.3.0",
53
+ "@progress/kendo-angular-l10n": "19.3.0",
54
+ "@progress/kendo-angular-label": "19.3.0",
55
+ "@progress/kendo-angular-pager": "19.3.0",
56
+ "@progress/kendo-angular-pdf-export": "19.3.0",
57
+ "@progress/kendo-angular-popup": "19.3.0",
58
+ "@progress/kendo-angular-toolbar": "19.3.0",
59
+ "@progress/kendo-angular-utils": "19.3.0",
59
60
  "rxjs": "^6.5.3 || ^7.0.0"
60
61
  },
61
62
  "dependencies": {
62
63
  "tslib": "^2.3.1",
63
- "@progress/kendo-angular-schematics": "19.3.0-develop.8",
64
+ "@progress/kendo-angular-schematics": "19.3.0",
64
65
  "@progress/kendo-common": "^1.0.1",
65
66
  "@progress/kendo-file-saver": "^1.0.0"
66
67
  },
@@ -4,12 +4,16 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { DoCheck, TemplateRef } from '@angular/core';
6
6
  import { EditService } from '../editing/edit.service';
7
+ import { CommandColumnComponent } from '../columns/command-column.component';
7
8
  import { ColumnComponent } from '../columns/column.component';
8
9
  import { FormGroup } from '@angular/forms';
9
10
  import { CellContext } from './common/cell-context';
10
11
  import { IdService } from '../common/id.service';
11
12
  import { SVGIcon } from '@progress/kendo-svg-icons';
12
13
  import { ContextService } from '../common/provider.service';
14
+ import { DetailTemplateDirective } from './details/detail-template.directive';
15
+ import { DetailsService } from './details/details.service';
16
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
13
17
  import * as i0 from "@angular/core";
14
18
  /**
15
19
  * @hidden
@@ -18,48 +22,59 @@ export declare class CellComponent implements DoCheck {
18
22
  private editService;
19
23
  private idService;
20
24
  private ctx;
25
+ private detailsService;
26
+ private localization;
21
27
  private cellContext;
22
28
  get commandCellClass(): boolean;
23
29
  get dragHandleCellClass(): boolean;
24
30
  get dragRowHandleLabel(): string;
25
31
  column: any;
32
+ columns: Array<any>;
26
33
  columnIndex: number;
27
34
  isNew: boolean;
28
35
  isLoading: boolean;
29
36
  isVirtual: boolean;
30
37
  loadingTemplate: TemplateRef<any>;
38
+ detailTemplate: DetailTemplateDirective;
39
+ item: any;
31
40
  set rowIndex(index: number);
32
41
  get rowIndex(): number;
33
42
  dataItem: any;
34
43
  reorderIcon: SVGIcon;
35
- get isEdited(): boolean;
44
+ minusIcon: SVGIcon;
45
+ plusIcon: SVGIcon;
46
+ detailButtonIconName(viewItem: any): string;
47
+ detailButtonSvgIcon(viewItem: any): SVGIcon;
48
+ detailButtonText(viewItem: any): string;
49
+ toggleRow(index: number, dataItem: any): boolean;
50
+ get stackedRowClass(): any;
51
+ get stackedRowStyle(): any;
52
+ isEdited(column?: any): boolean;
36
53
  get showLoading(): boolean;
37
54
  get formGroup(): FormGroup;
38
- get templateContext(): any;
39
- get editTemplateContext(): any;
55
+ getTemplateContext(column?: any): any;
56
+ get isStackedLayoutMode(): boolean;
57
+ getEditTemplateContext(column?: any): any;
40
58
  get rowReorderTemplateContext(): any;
41
59
  get format(): any;
42
- get isBoundColumn(): boolean;
43
- get isCheckboxColumn(): boolean;
60
+ isBoundColumn(column?: any): boolean;
61
+ isCheckboxColumn(column?: any): boolean;
44
62
  get selectionCheckboxId(): string;
45
63
  get selectionCheckboxLabel(): string;
46
64
  get isSpanColumn(): boolean;
47
65
  get children(): ColumnComponent[];
48
- get isRowReorderColumn(): boolean;
49
- get isRowSelectable(): boolean;
66
+ isRowReorderColumn(column?: any): boolean;
67
+ isRowSelectable(column?: any): boolean;
50
68
  private _rowIndex;
51
- private get isColumnEditable();
69
+ private isColumnEditable;
52
70
  private _templateContext;
53
71
  private _editTemplateContext;
54
72
  private _rowReorderTemplateContext;
55
- constructor(editService: EditService, idService: IdService, ctx: ContextService, cellContext: CellContext);
73
+ constructor(editService: EditService, idService: IdService, ctx: ContextService, detailsService: DetailsService, localization: LocalizationService, cellContext: CellContext);
56
74
  ngDoCheck(): void;
57
- ngOnChanges(): void;
58
- ngAfterContentChecked(): void;
59
- private isCommand;
75
+ isCommand(column: any): column is CommandColumnComponent;
60
76
  private isFieldEditable;
61
77
  private updateCellContext;
62
- private updateTemplateContext;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, [null, null, null, { optional: true; }]>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "[kendoGridCell]", never, { "column": { "alias": "column"; "required": false; }; "columnIndex": { "alias": "columnIndex"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isVirtual": { "alias": "isVirtual"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; }, {}, never, never, true, never>;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, [null, null, null, null, null, { optional: true; }]>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<CellComponent, "[kendoGridCell]", never, { "column": { "alias": "column"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "columnIndex": { "alias": "columnIndex"; "required": false; }; "isNew": { "alias": "isNew"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isVirtual": { "alias": "isVirtual"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "item": { "alias": "item"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; }, {}, never, never, true, never>;
65
80
  }
@@ -6,16 +6,21 @@ import { GroupDescriptor, SortDescriptor } from '@progress/kendo-data-query';
6
6
  import { ColumnComponent } from '../../columns/column.component';
7
7
  import { DetailTemplateDirective } from '../details/detail-template.directive';
8
8
  import { ColumnBase } from "../../columns/column-base";
9
+ import { ContextService } from '../../common/provider.service';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
12
13
  */
13
14
  export declare class ColGroupComponent {
15
+ private ctx;
14
16
  columns: Array<ColumnComponent>;
15
17
  groups: Array<GroupDescriptor>;
16
18
  detailTemplate: DetailTemplateDirective;
17
19
  sort: Array<SortDescriptor>;
20
+ constructor(ctx: ContextService);
21
+ getColumnWidth(column: ColumnBase): string;
18
22
  get columnsToRender(): Array<ColumnBase>;
23
+ get isStacked(): boolean;
19
24
  trackBy(index: number): number;
20
25
  isSorted(column: ColumnComponent): boolean;
21
26
  getColumnComponent(column: ColumnBase): ColumnComponent;
@@ -13,8 +13,11 @@ import * as i0 from "@angular/core";
13
13
  * ([see example](slug:master_detail_expanded_state_grid#toc-built-in-directive))
14
14
  *
15
15
  * @example
16
- * ```typescript
17
- * <kendo-grid [kendoGridExpandDetailsBy]="expandDetailsKey" [expandedDetailKeys]="expandedDetailKeys"></kendo-grid>
16
+ * ```html
17
+ * <kendo-grid
18
+ * [kendoGridExpandDetailsBy]="expandDetailsKey"
19
+ * [expandedDetailKeys]="expandedDetailKeys">
20
+ * </kendo-grid>
18
21
  * ```
19
22
  * @remarks
20
23
  * Applied to: {@link GridComponent}.
@@ -8,12 +8,14 @@ import { DetailTemplateDirective } from '../details/detail-template.directive';
8
8
  import { GroupDescriptor } from '@progress/kendo-data-query';
9
9
  import { ColumnBase } from "../../columns/column-base";
10
10
  import { ColumnsContainer } from '../../columns/columns-container';
11
+ import { ContextService } from '../../common/provider.service';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * @hidden
14
15
  */
15
16
  export declare class FooterComponent {
16
17
  private columnInfoService;
18
+ private ctx;
17
19
  columns: Array<ColumnComponent>;
18
20
  groups: Array<GroupDescriptor>;
19
21
  detailTemplate: DetailTemplateDirective;
@@ -25,7 +27,7 @@ export declare class FooterComponent {
25
27
  get footerClass(): boolean;
26
28
  hostClass: boolean;
27
29
  hostRole: string;
28
- constructor(columnInfoService: ColumnInfoService);
30
+ constructor(columnInfoService: ColumnInfoService, ctx: ContextService);
29
31
  get columnsToRender(): ColumnBase[];
30
32
  get unlockedColumnsCount(): number;
31
33
  trackByIndex(index: number): number;
@@ -34,6 +36,7 @@ export declare class FooterComponent {
34
36
  [key: string]: any;
35
37
  };
36
38
  isColumnGroupComponent(column: ColumnBase): boolean;
39
+ get isStacked(): boolean;
37
40
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
38
41
  static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "[kendoGridFooter]", never, { "columns": { "alias": "columns"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "lockedColumnsCount": { "alias": "lockedColumnsCount"; "required": false; }; "logicalRowIndex": { "alias": "logicalRowIndex"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; "totalColumnsCount": { "alias": "totalColumnsCount"; "required": false; }; }, {}, never, never, true, never>;
39
42
  }
@@ -128,6 +128,7 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
128
128
  sortDescriptor(field: string): SortDescriptor;
129
129
  get columnLevels(): Array<number>;
130
130
  get leafColumns(): ColumnBase[];
131
+ get isStacked(): boolean;
131
132
  private isReorderable;
132
133
  private isGroupable;
133
134
  private attachTargets;
@@ -111,7 +111,6 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
111
111
  private columnsEndIdx;
112
112
  private viewportColumnsWidth;
113
113
  private scrollLeft;
114
- private recalculateRowspan;
115
114
  private observer;
116
115
  get lockedLeafColumns(): QueryList<ColumnBase>;
117
116
  get nonLockedLeafColumns(): QueryList<ColumnBase>;
@@ -139,6 +138,10 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
139
138
  lockedMousewheel(args: any): void;
140
139
  lockedKeydown(args: any): void;
141
140
  updateViewportColumns(range?: any): void;
141
+ /**
142
+ * @hidden
143
+ */
144
+ get isStacked(): boolean;
142
145
  private detailExpand;
143
146
  private attachContainerScroll;
144
147
  private createScroller;
@@ -19,6 +19,7 @@ import * as i0 from "@angular/core";
19
19
  * <kendo-grid-column field="ProductName"></kendo-grid-column>
20
20
  * <kendo-grid-column field="UnitPrice"></kendo-grid-column>
21
21
  * </kendo-grid>
22
+ * ```
22
23
  */
23
24
  export declare class LoadingTemplateDirective {
24
25
  templateRef: TemplateRef<any>;
@@ -52,6 +52,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges,
52
52
  cells?: any[];
53
53
  isExpanded?: boolean;
54
54
  showDataItem?: boolean;
55
+ isHighlighted?: boolean;
55
56
  }>;
56
57
  skip: number;
57
58
  selectable: SelectableSettings | boolean;
@@ -105,6 +106,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges,
105
106
  ngOnDestroy(): void;
106
107
  isEditingCell(index: number, column: any): boolean;
107
108
  isEditingRow(index: number): boolean;
109
+ get isStackedMode(): boolean;
108
110
  get hasGroupHeaderColumn(): boolean;
109
111
  get columnsContainer(): any;
110
112
  get columnsSpan(): number;
@@ -116,7 +118,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges,
116
118
  [key: string]: any;
117
119
  };
118
120
  resizeHandler(): void;
119
- private get hasDetailTemplate();
121
+ get hasDetailTemplate(): boolean;
120
122
  private clickHandler;
121
123
  private emitCellClick;
122
124
  private cellKeydownHandler;
@@ -0,0 +1,49 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { OnDestroy, AfterViewInit } from '@angular/core';
6
+ import { AIPromptComponent, PromptRequestEvent } from '@progress/kendo-angular-conversational-ui';
7
+ import { HttpClient } from '@angular/common/http';
8
+ import { ContextService } from './../../../../common/provider.service';
9
+ import { ColumnInfoService } from './../../../../common/column-info.service';
10
+ import { AIAssistantToolbarDirective } from './ai-tool.directive';
11
+ import { GridToolbarAIPromptSettings, GridToolbarAIRequestOptions } from './utils';
12
+ import * as i0 from "@angular/core";
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
17
+ private http;
18
+ private ctx;
19
+ private columnInfoService;
20
+ aiPrompt: AIPromptComponent;
21
+ activeView: number;
22
+ requestUrl: string;
23
+ requestOptions: GridToolbarAIRequestOptions;
24
+ aiPromptSettings: GridToolbarAIPromptSettings;
25
+ aiToolDirective: AIAssistantToolbarDirective;
26
+ streaming: boolean;
27
+ disabledGenerateButton: boolean;
28
+ private lastMessage;
29
+ private requestData;
30
+ private currentRequestSubscription;
31
+ private loadingOutput;
32
+ private columns;
33
+ private idCounter;
34
+ constructor(http: HttpClient, ctx: ContextService, columnInfoService: ColumnInfoService);
35
+ ngAfterViewInit(): void;
36
+ ngOnDestroy(): void;
37
+ message(message: string): string;
38
+ cancelRequest(): void;
39
+ onPromptRequest(ev: PromptRequestEvent): void;
40
+ private sendPromptRequest;
41
+ private processResponse;
42
+ private handleError;
43
+ private deleteLoadingOutput;
44
+ private unsubscribeCurrentRequest;
45
+ private processArrayResponse;
46
+ private processFilterResponse;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "ng-component", never, {}, {}, never, never, true, never>;
49
+ }
@@ -0,0 +1,115 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgZone, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
6
+ import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
7
+ import { SVGIcon } from '@progress/kendo-svg-icons';
8
+ import { ContextService } from '../../../../common/provider.service';
9
+ import { ToolbarToolBase } from '../../../../common/toolbar-tool-base.directive';
10
+ import { WindowService } from '@progress/kendo-angular-dialog';
11
+ import { GridToolbarAIPromptSettings, GridToolbarAIWindowSettings, GridToolbarAIRequestOptions, GridToolbarAIResponseSuccessEvent, GridToolbarAIResponseErrorEvent, GridToolbarAIPromptRequestEvent, GridToolbarAIOpenEvent } from './utils';
12
+ import { PromptOutput } from '@progress/kendo-angular-conversational-ui';
13
+ import * as i0 from "@angular/core";
14
+ /**
15
+ * Represents an AI Assistant tool of the Grid.
16
+ * Use this directive on any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
17
+ *
18
+ * @example
19
+ * ```html-no-run
20
+ * <kendo-grid>
21
+ * <kendo-toolbar>
22
+ * <kendo-toolbar-button kendoGridAIAssistantTool></kendo-toolbar-button>
23
+ * </kendo-toolbar>
24
+ * </kendo-grid>
25
+ * ```
26
+ * @remarks
27
+ * Applied to: {@link ToolBarButtonComponent}.
28
+ */
29
+ export declare class AIAssistantToolbarDirective extends ToolbarToolBase implements OnInit, AfterViewInit, OnDestroy {
30
+ private windowService;
31
+ host: ToolBarButtonComponent;
32
+ ctx: ContextService;
33
+ zone: NgZone;
34
+ private refresh;
35
+ /**
36
+ * The URL to which the AI Assistant tool sends the AI request.
37
+ * - When you set this property, the AI Assistant tool sends and handles an HTTP request to the provided `requestUrl`. You can handle the `promptRequest` event to modify the request options before the tool sends it.
38
+ * - When you do not set this property, the AI Assistant tool does not send an HTTP request. You should handle the `promptRequest` event to send and handle a custom HTTP request.
39
+ */
40
+ requestUrl?: string;
41
+ /**
42
+ * Configures the request options that the AI Assistant tool sends with the AI request.
43
+ *
44
+ * @default { headers: new HttpHeaders({ 'Content-Type': 'application/json' }), role: 'user', method: 'POST', responseType: 'json', withCredentials: false }
45
+ */
46
+ requestOptions?: GridToolbarAIRequestOptions;
47
+ /**
48
+ * Configures the initial settings for the AI Assistant Window when opened.
49
+ */
50
+ aiWindowSettings: GridToolbarAIWindowSettings;
51
+ /**
52
+ * Configures the initial settings for the AI Prompt component that the AI Assistant Window component uses when opened.
53
+ */
54
+ aiPromptSettings: GridToolbarAIPromptSettings;
55
+ /**
56
+ * Determines whether to close the AI Assistant Window automatically after a successful request.
57
+ * @default true
58
+ */
59
+ autoClose: boolean;
60
+ /**
61
+ * Determines whether to keep the AI Prompt's outputs after closing the AI Assistant Window.
62
+ * @default false
63
+ */
64
+ keepOutputHistory: boolean;
65
+ /**
66
+ * Emits an event before the AI Assistant tool sends the AI request.
67
+ * - When you provide a `requestUrl`, you can handle the event to modify the request options.
68
+ * - When you do not provide a `requestUrl`, you can handle the event to perform an entirely custom request.
69
+ */
70
+ promptRequest: EventEmitter<GridToolbarAIPromptRequestEvent>;
71
+ /**
72
+ * Emits an event when the user clicks the cancel button.
73
+ */
74
+ cancelRequest: EventEmitter<undefined>;
75
+ /**
76
+ * Emits an event when the AI Assistant tool completes the AI request successfully.
77
+ * The event contains the response from the AI service and is preventable to allow stopping the default response handling.
78
+ */
79
+ responseSuccess: EventEmitter<GridToolbarAIResponseSuccessEvent>;
80
+ /**
81
+ * Emits an event when the AI Assistant tool completes the AI request with an error.
82
+ * The event contains the error response from the AI service and is preventable to allow stopping the default error handling.
83
+ */
84
+ responseError: EventEmitter<GridToolbarAIResponseErrorEvent>;
85
+ /**
86
+ * Emits an event when the AI Assistant tool closes.
87
+ */
88
+ close: EventEmitter<undefined>;
89
+ /**
90
+ * Emits an event when the AI Assistant tool opens.
91
+ */
92
+ open: EventEmitter<GridToolbarAIOpenEvent>;
93
+ tableWizardIcon: SVGIcon;
94
+ emitOpenClose: boolean;
95
+ promptOutputs: PromptOutput[];
96
+ private windowRef;
97
+ private subs;
98
+ private defaultAiPromptSettings;
99
+ constructor(windowService: WindowService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService, cdr: ChangeDetectorRef);
100
+ ngOnInit(): void;
101
+ ngAfterViewInit(): void;
102
+ ngOnDestroy(): void;
103
+ /**
104
+ * @hidden
105
+ */
106
+ onClick(): void;
107
+ /**
108
+ * Toggles the AI Assistant window.
109
+ */
110
+ toggleWindow(): void;
111
+ private openWindow;
112
+ private closeWindow;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<AIAssistantToolbarDirective, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AIAssistantToolbarDirective, "[kendoGridAIAssistantTool]", never, { "requestUrl": { "alias": "requestUrl"; "required": false; }; "requestOptions": { "alias": "requestOptions"; "required": false; }; "aiWindowSettings": { "alias": "aiWindowSettings"; "required": false; }; "aiPromptSettings": { "alias": "aiPromptSettings"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "keepOutputHistory": { "alias": "keepOutputHistory"; "required": false; }; }, { "promptRequest": "promptRequest"; "cancelRequest": "cancelRequest"; "responseSuccess": "responseSuccess"; "responseError": "responseError"; "close": "close"; "open": "open"; }, never, never, true, never>;
115
+ }