@progress/kendo-angular-grid 24.2.2-develop.9 → 25.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/fesm2022/progress-kendo-angular-grid.mjs +711 -711
  2. package/index.d.ts +14651 -272
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +29 -29
  5. package/schematics/ngAdd/index.js +7 -7
  6. package/adaptiveness/adaptive-mode.d.ts +0 -8
  7. package/adaptiveness/adaptive-renderer.component.d.ts +0 -89
  8. package/aggregates/aggregate-types.d.ts +0 -58
  9. package/aggregates/selection-aggregate.service.d.ts +0 -43
  10. package/aggregates/status-bar-template.directive.d.ts +0 -21
  11. package/aggregates/status-bar.component.d.ts +0 -23
  12. package/column-menu/column-chooser-content.component.d.ts +0 -61
  13. package/column-menu/column-chooser.component.d.ts +0 -86
  14. package/column-menu/column-list-kb-nav.service.d.ts +0 -22
  15. package/column-menu/column-list.component.d.ts +0 -78
  16. package/column-menu/column-locked-change-event.d.ts +0 -18
  17. package/column-menu/column-menu-autosize-all.component.d.ts +0 -48
  18. package/column-menu/column-menu-autosize.component.d.ts +0 -52
  19. package/column-menu/column-menu-chooser.component.d.ts +0 -73
  20. package/column-menu/column-menu-container.component.d.ts +0 -21
  21. package/column-menu/column-menu-expandable-item.interface.d.ts +0 -14
  22. package/column-menu/column-menu-filter.component.d.ts +0 -76
  23. package/column-menu/column-menu-item-base.d.ts +0 -34
  24. package/column-menu/column-menu-item-content-template.directive.d.ts +0 -34
  25. package/column-menu/column-menu-item.component.d.ts +0 -140
  26. package/column-menu/column-menu-item.directive.d.ts +0 -76
  27. package/column-menu/column-menu-lock.component.d.ts +0 -55
  28. package/column-menu/column-menu-position.component.d.ts +0 -89
  29. package/column-menu/column-menu-settings.interface.d.ts +0 -58
  30. package/column-menu/column-menu-sort.component.d.ts +0 -50
  31. package/column-menu/column-menu-stick.component.d.ts +0 -57
  32. package/column-menu/column-menu-template.directive.d.ts +0 -36
  33. package/column-menu/column-menu.component.d.ts +0 -189
  34. package/column-menu/column-menu.service.d.ts +0 -64
  35. package/column-menu/column-sticky-change-event.d.ts +0 -18
  36. package/column-menu/column-visibility-change-event.d.ts +0 -18
  37. package/column-menu/utils.d.ts +0 -44
  38. package/column-resizing/column-handle.directive.d.ts +0 -60
  39. package/column-resizing/column-resize.interface.d.ts +0 -75
  40. package/column-resizing/column-resizing.service.d.ts +0 -43
  41. package/column-resizing/table.directive.d.ts +0 -34
  42. package/columns/cell-rowspan.d.ts +0 -14
  43. package/columns/checkbox-column.component.d.ts +0 -53
  44. package/columns/column-base.d.ts +0 -322
  45. package/columns/column-common.d.ts +0 -53
  46. package/columns/column-group.component.d.ts +0 -75
  47. package/columns/column-list.d.ts +0 -21
  48. package/columns/column.component.d.ts +0 -112
  49. package/columns/columns-container.d.ts +0 -31
  50. package/columns/command-column.component.d.ts +0 -41
  51. package/columns/pin-column.component.d.ts +0 -45
  52. package/columns/reorder-column.component.d.ts +0 -64
  53. package/columns/sort-settings.d.ts +0 -80
  54. package/columns/span-column.component.d.ts +0 -122
  55. package/common/adaptiveness.service.d.ts +0 -50
  56. package/common/cell-click-event-args.interface.d.ts +0 -44
  57. package/common/clipboard-types.d.ts +0 -98
  58. package/common/clipboard.directive.d.ts +0 -53
  59. package/common/clipboard.service.d.ts +0 -28
  60. package/common/column-info.service.d.ts +0 -38
  61. package/common/create-form-group.d.ts +0 -12
  62. package/common/data-layout-mode.d.ts +0 -24
  63. package/common/default-track-by.d.ts +0 -9
  64. package/common/dom-events.service.d.ts +0 -24
  65. package/common/error-messages.d.ts +0 -20
  66. package/common/event-emitter.d.ts +0 -13
  67. package/common/fetch-data-callback.d.ts +0 -14
  68. package/common/field-datatype.d.ts +0 -9
  69. package/common/filter-descriptor-differ.d.ts +0 -13
  70. package/common/filter-operator.interface.d.ts +0 -11
  71. package/common/grid-col-size.d.ts +0 -13
  72. package/common/id.service.d.ts +0 -24
  73. package/common/pager-settings.d.ts +0 -105
  74. package/common/preventable-event.d.ts +0 -20
  75. package/common/provider.service.d.ts +0 -41
  76. package/common/remove-confirmation.d.ts +0 -21
  77. package/common/resizable-settings.d.ts +0 -26
  78. package/common/single-popup.service.d.ts +0 -64
  79. package/common/size-options.d.ts +0 -9
  80. package/common/sort.service.d.ts +0 -13
  81. package/common/toolbar-tool-base.directive.d.ts +0 -27
  82. package/constants.d.ts +0 -16
  83. package/csv/csv-command-tool.directive.d.ts +0 -38
  84. package/csv/csv-command.directive.d.ts +0 -38
  85. package/csv/csv-export-event.d.ts +0 -15
  86. package/csv/csv.component.d.ts +0 -132
  87. package/csv/csv.module.d.ts +0 -32
  88. package/csv/csv.service.d.ts +0 -16
  89. package/data/change-event-args.interface.d.ts +0 -44
  90. package/data/change-notification.service.d.ts +0 -18
  91. package/data/data-item.interface.d.ts +0 -34
  92. package/data/data-mapping.service.d.ts +0 -48
  93. package/data/data.collection.d.ts +0 -47
  94. package/data/data.iterators.d.ts +0 -85
  95. package/data/grid-item.interface.d.ts +0 -16
  96. package/data/group-footer-item.interface.d.ts +0 -31
  97. package/data/group-item.interface.d.ts +0 -30
  98. package/databinding.directive.d.ts +0 -124
  99. package/directives.d.ts +0 -285
  100. package/dragdrop/column-reorder-config.d.ts +0 -13
  101. package/dragdrop/column-reorder-event.d.ts +0 -27
  102. package/dragdrop/column-reorder.service.d.ts +0 -15
  103. package/dragdrop/common.d.ts +0 -38
  104. package/dragdrop/context-types.d.ts +0 -17
  105. package/dragdrop/drag-and-drop.service.d.ts +0 -23
  106. package/dragdrop/drag-hint.service.d.ts +0 -34
  107. package/dragdrop/draggable-column.directive.d.ts +0 -39
  108. package/dragdrop/drop-cue.service.d.ts +0 -18
  109. package/dragdrop/drop-target.directive.d.ts +0 -26
  110. package/editing/add-command-tool.directive.d.ts +0 -38
  111. package/editing/add-command.directive.d.ts +0 -34
  112. package/editing/add-event-args.interface.d.ts +0 -10
  113. package/editing/cancel-command-tool.directive.d.ts +0 -38
  114. package/editing/cancel-command.directive.d.ts +0 -54
  115. package/editing/cancel-event-args.interface.d.ts +0 -16
  116. package/editing/cell-close-event.d.ts +0 -37
  117. package/editing/edit-command-tool.directive.d.ts +0 -39
  118. package/editing/edit-command.directive.d.ts +0 -53
  119. package/editing/edit-event-args.interface.d.ts +0 -26
  120. package/editing/edit-row-options.interface.d.ts +0 -24
  121. package/editing/edit-template.directive.d.ts +0 -32
  122. package/editing/edit.service.d.ts +0 -71
  123. package/editing/form/dialog-form.component.d.ts +0 -27
  124. package/editing/form/form-formfield.component.d.ts +0 -24
  125. package/editing/form/form.component.d.ts +0 -28
  126. package/editing/form/index.d.ts +0 -8
  127. package/editing/form/models.d.ts +0 -202
  128. package/editing/local-data-changes.service.d.ts +0 -15
  129. package/editing/remove-command-tool.directive.d.ts +0 -40
  130. package/editing/remove-command.directive.d.ts +0 -51
  131. package/editing/remove-event-args.interface.d.ts +0 -11
  132. package/editing/save-command-tool.directive.d.ts +0 -39
  133. package/editing/save-command.directive.d.ts +0 -53
  134. package/editing/save-event-args.interface.d.ts +0 -16
  135. package/editing/toolbar-editing-tool-base.directive.d.ts +0 -30
  136. package/editing-directives/create-form-group-args.interface.d.ts +0 -10
  137. package/editing-directives/edit-service.interface.d.ts +0 -33
  138. package/editing-directives/editing-directive-base.d.ts +0 -63
  139. package/editing-directives/external-editing.directive.d.ts +0 -55
  140. package/editing-directives/in-cell-editing.directive.d.ts +0 -41
  141. package/editing-directives/local-edit.service.d.ts +0 -22
  142. package/editing-directives/local-row-edit.service.d.ts +0 -11
  143. package/editing-directives/reactive-editing.directive.d.ts +0 -32
  144. package/editing-directives/row-editing-directive-base.d.ts +0 -25
  145. package/editing-directives/template-editing.directive.d.ts +0 -36
  146. package/editing-directives/utils.d.ts +0 -9
  147. package/excel/excel-command-tool.directive.d.ts +0 -38
  148. package/excel/excel-command.directive.d.ts +0 -38
  149. package/excel/excel-export-event.d.ts +0 -15
  150. package/excel/excel.component.d.ts +0 -90
  151. package/excel/excel.module.d.ts +0 -33
  152. package/excel/excel.service.d.ts +0 -16
  153. package/filtering/base-filter-cell.component.d.ts +0 -81
  154. package/filtering/boolean-filter.component.d.ts +0 -47
  155. package/filtering/cell/autocomplete-filter-cell.component.d.ts +0 -33
  156. package/filtering/cell/boolean-filter-cell.component.d.ts +0 -44
  157. package/filtering/cell/date-filter-cell.component.d.ts +0 -51
  158. package/filtering/cell/filter-cell-component.factory.d.ts +0 -12
  159. package/filtering/cell/filter-cell-host.directive.d.ts +0 -17
  160. package/filtering/cell/filter-cell-operators.component.d.ts +0 -117
  161. package/filtering/cell/filter-cell-template.directive.d.ts +0 -35
  162. package/filtering/cell/filter-cell-wrapper.component.d.ts +0 -21
  163. package/filtering/cell/filter-cell.component.d.ts +0 -25
  164. package/filtering/cell/numeric-filter-cell.component.d.ts +0 -61
  165. package/filtering/cell/string-filter-cell.component.d.ts +0 -56
  166. package/filtering/date-filter.component.d.ts +0 -104
  167. package/filtering/filter-component.interface.d.ts +0 -13
  168. package/filtering/filter-host.directive.d.ts +0 -35
  169. package/filtering/filter-input-wrapper.component.d.ts +0 -39
  170. package/filtering/filter-input.directive.d.ts +0 -35
  171. package/filtering/filter-row.component.d.ts +0 -34
  172. package/filtering/filter.service.d.ts +0 -34
  173. package/filtering/filterable.d.ts +0 -56
  174. package/filtering/menu/boolean-filter-menu.component.d.ts +0 -76
  175. package/filtering/menu/date-filter-menu-input.component.d.ts +0 -49
  176. package/filtering/menu/date-filter-menu.component.d.ts +0 -64
  177. package/filtering/menu/filter-menu-component.factory.d.ts +0 -12
  178. package/filtering/menu/filter-menu-container.component.d.ts +0 -88
  179. package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +0 -19
  180. package/filtering/menu/filter-menu-host.directive.d.ts +0 -22
  181. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +0 -53
  182. package/filtering/menu/filter-menu-template.directive.d.ts +0 -37
  183. package/filtering/menu/filter-menu.component.d.ts +0 -63
  184. package/filtering/menu/filter-radio-button.directive.d.ts +0 -19
  185. package/filtering/menu/menu-tabbing.service.d.ts +0 -18
  186. package/filtering/menu/numeric-filter-menu-input.component.d.ts +0 -73
  187. package/filtering/menu/numeric-filter-menu.component.d.ts +0 -82
  188. package/filtering/menu/string-filter-menu-input.component.d.ts +0 -32
  189. package/filtering/menu/string-filter-menu.component.d.ts +0 -78
  190. package/filtering/multicheckbox-filter.component.d.ts +0 -50
  191. package/filtering/numeric-filter.component.d.ts +0 -85
  192. package/filtering/operators/after-eq-filter-operator.component.d.ts +0 -49
  193. package/filtering/operators/after-filter-operator.component.d.ts +0 -49
  194. package/filtering/operators/before-eq-filter-operator.component.d.ts +0 -49
  195. package/filtering/operators/before-filter-operator.component.d.ts +0 -49
  196. package/filtering/operators/contains-filter-operator.component.d.ts +0 -42
  197. package/filtering/operators/ends-with-filter-operator.component.d.ts +0 -42
  198. package/filtering/operators/eq-filter-operator.component.d.ts +0 -90
  199. package/filtering/operators/filter-operator.base.d.ts +0 -44
  200. package/filtering/operators/gt-filter-operator.component.d.ts +0 -42
  201. package/filtering/operators/gte-filter-operator.component.d.ts +0 -42
  202. package/filtering/operators/is-empty-filter-operator.component.d.ts +0 -42
  203. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +0 -42
  204. package/filtering/operators/is-not-null-filter-operator.component.d.ts +0 -89
  205. package/filtering/operators/isnull-filter-operator.component.d.ts +0 -89
  206. package/filtering/operators/lt-filter-operator.component.d.ts +0 -42
  207. package/filtering/operators/lte-filter-operator.component.d.ts +0 -42
  208. package/filtering/operators/neq-filter-operator.component.d.ts +0 -89
  209. package/filtering/operators/not-contains-filter-operator.component.d.ts +0 -42
  210. package/filtering/operators/starts-with-filter-operator.component.d.ts +0 -42
  211. package/filtering/string-filter.component.d.ts +0 -48
  212. package/grid.component.d.ts +0 -1156
  213. package/grid.module.d.ts +0 -179
  214. package/grouping/group-footer-template.directive.d.ts +0 -33
  215. package/grouping/group-header-column-template.directive.d.ts +0 -34
  216. package/grouping/group-header-template.directive.d.ts +0 -35
  217. package/grouping/group-header.component.d.ts +0 -52
  218. package/grouping/group-info.service.d.ts +0 -21
  219. package/grouping/group-key.interface.d.ts +0 -29
  220. package/grouping/group-panel.component.d.ts +0 -75
  221. package/grouping/group-rows-args.interface.d.ts +0 -23
  222. package/grouping/group-settings.d.ts +0 -38
  223. package/grouping/groups.service.d.ts +0 -36
  224. package/grouping/sticky-groups/models.d.ts +0 -24
  225. package/grouping/sticky-groups/sticky-group-container.component.d.ts +0 -114
  226. package/grouping/sticky-groups/sticky-groups-utils.d.ts +0 -71
  227. package/grouping/sticky-groups/sticky-groups.service.d.ts +0 -132
  228. package/grouping/utils.d.ts +0 -10
  229. package/highlight/highlight-item.d.ts +0 -17
  230. package/highlight/highlight.directive.d.ts +0 -62
  231. package/layout/resizable.directive.d.ts +0 -28
  232. package/layout/resize.service.d.ts +0 -18
  233. package/layout/responsive.service.d.ts +0 -20
  234. package/layout/row-sync.d.ts +0 -8
  235. package/layout/sizing-options.service.d.ts +0 -15
  236. package/localization/custom-messages.component.d.ts +0 -28
  237. package/localization/localized-messages.directive.d.ts +0 -16
  238. package/localization/messages.d.ts +0 -744
  239. package/navigation/default-focusable-element.d.ts +0 -22
  240. package/navigation/focus-group.d.ts +0 -35
  241. package/navigation/focus-root.d.ts +0 -25
  242. package/navigation/focusable-element.interface.d.ts +0 -37
  243. package/navigation/focusable.directive.d.ts +0 -73
  244. package/navigation/grid-focusable-element.d.ts +0 -18
  245. package/navigation/item-map.d.ts +0 -19
  246. package/navigation/logical-cell.directive.d.ts +0 -59
  247. package/navigation/logical-cell.interface.d.ts +0 -20
  248. package/navigation/logical-row.directive.d.ts +0 -36
  249. package/navigation/logical-row.interface.d.ts +0 -13
  250. package/navigation/navigable-settings.d.ts +0 -31
  251. package/navigation/navigation-cell.interface.d.ts +0 -52
  252. package/navigation/navigation-change.interface.d.ts +0 -13
  253. package/navigation/navigation-cursor.d.ts +0 -50
  254. package/navigation/navigation-metadata.d.ts +0 -24
  255. package/navigation/navigation-mode.d.ts +0 -43
  256. package/navigation/navigation-model.d.ts +0 -27
  257. package/navigation/navigation-row.interface.d.ts +0 -36
  258. package/navigation/navigation.service.d.ts +0 -156
  259. package/navigation/skip-cell-navigation.d.ts +0 -12
  260. package/navigation/toolbar-tool-name.d.ts +0 -19
  261. package/package-metadata.d.ts +0 -9
  262. package/pdf/export-element.d.ts +0 -11
  263. package/pdf/grid-query.d.ts +0 -26
  264. package/pdf/pdf-command-tool.directive.d.ts +0 -39
  265. package/pdf/pdf-command.directive.d.ts +0 -38
  266. package/pdf/pdf-export-event.d.ts +0 -14
  267. package/pdf/pdf-margin.component.d.ts +0 -29
  268. package/pdf/pdf-margin.interface.d.ts +0 -11
  269. package/pdf/pdf-template.directive.d.ts +0 -32
  270. package/pdf/pdf.component.d.ts +0 -94
  271. package/pdf/pdf.module.d.ts +0 -35
  272. package/pdf/pdf.service.d.ts +0 -25
  273. package/rendering/cell-loading.template.directive.d.ts +0 -28
  274. package/rendering/cell-template.directive.d.ts +0 -33
  275. package/rendering/cell.component.d.ts +0 -107
  276. package/rendering/common/cell-context.d.ts +0 -26
  277. package/rendering/common/col-group.component.d.ts +0 -31
  278. package/rendering/common/dom-queries.d.ts +0 -64
  279. package/rendering/common/field-accessor.pipe.d.ts +0 -18
  280. package/rendering/common/format.pipe.d.ts +0 -17
  281. package/rendering/common/loading.component.d.ts +0 -19
  282. package/rendering/common/row-args.d.ts +0 -19
  283. package/rendering/common/row-class.d.ts +0 -60
  284. package/rendering/common/spacer.component.d.ts +0 -37
  285. package/rendering/constants.d.ts +0 -20
  286. package/rendering/details/detail-collapse-event.d.ts +0 -24
  287. package/rendering/details/detail-expand-event.d.ts +0 -24
  288. package/rendering/details/detail-template.directive.d.ts +0 -49
  289. package/rendering/details/details.service.d.ts +0 -28
  290. package/rendering/details-expand.directive.d.ts +0 -71
  291. package/rendering/footer/footer-template.directive.d.ts +0 -37
  292. package/rendering/footer/footer.component.d.ts +0 -42
  293. package/rendering/grid-table.directive.d.ts +0 -19
  294. package/rendering/groups-expand.directive.d.ts +0 -59
  295. package/rendering/header/header-template.directive.d.ts +0 -34
  296. package/rendering/header/header.component.d.ts +0 -142
  297. package/rendering/list.component.d.ts +0 -263
  298. package/rendering/loading-template.directive.d.ts +0 -29
  299. package/rendering/no-records-template.directive.d.ts +0 -27
  300. package/rendering/rowspan.service.d.ts +0 -14
  301. package/rendering/table-body.component.d.ts +0 -135
  302. package/rendering/toolbar/toolbar-focusable.directive.d.ts +0 -41
  303. package/rendering/toolbar/toolbar-navigation.service.d.ts +0 -23
  304. package/rendering/toolbar/toolbar-position.d.ts +0 -22
  305. package/rendering/toolbar/toolbar-template.directive.d.ts +0 -37
  306. package/rendering/toolbar/toolbar.component.d.ts +0 -36
  307. package/rendering/toolbar/tools/ai-assistant/ai-assistant.component.d.ts +0 -50
  308. package/rendering/toolbar/tools/ai-assistant/ai-request-response.service.d.ts +0 -61
  309. package/rendering/toolbar/tools/ai-assistant/ai-tool.directive.d.ts +0 -115
  310. package/rendering/toolbar/tools/ai-assistant/models.d.ts +0 -203
  311. package/rendering/toolbar/tools/ai-assistant/utils.d.ts +0 -28
  312. package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +0 -81
  313. package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +0 -64
  314. package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +0 -42
  315. package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +0 -52
  316. package/rendering/toolbar/tools/group-command-tool.directive.d.ts +0 -53
  317. package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +0 -61
  318. package/rendering/toolbar/tools/select-all-command-tool.directive.d.ts +0 -36
  319. package/rendering/toolbar/tools/smartbox/models.d.ts +0 -71
  320. package/rendering/toolbar/tools/smartbox/search.service.d.ts +0 -32
  321. package/rendering/toolbar/tools/smartbox/smartbox-component/common.d.ts +0 -38
  322. package/rendering/toolbar/tools/smartbox/smartbox-component/models.d.ts +0 -177
  323. package/rendering/toolbar/tools/smartbox/smartbox-component/smartbox.component.d.ts +0 -157
  324. package/rendering/toolbar/tools/smartbox/smartbox-history-item.template.d.ts +0 -29
  325. package/rendering/toolbar/tools/smartbox/smartbox-suggestion.template.d.ts +0 -29
  326. package/rendering/toolbar/tools/smartbox/smartbox-tool.component.d.ts +0 -120
  327. package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +0 -62
  328. package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +0 -57
  329. package/row-pinning/pinned-row-tracking.service.d.ts +0 -64
  330. package/row-pinning/row-pin-container.component.d.ts +0 -56
  331. package/row-pinning/row-pin.service.d.ts +0 -28
  332. package/row-pinning/types.d.ts +0 -42
  333. package/row-reordering/drag-handle-template.directive.d.ts +0 -33
  334. package/row-reordering/drag-hint-template.directive.d.ts +0 -31
  335. package/row-reordering/row-reorder.service.d.ts +0 -69
  336. package/row-reordering/types.d.ts +0 -48
  337. package/row-reordering/utils.d.ts +0 -78
  338. package/scrolling/content-scroll-event.d.ts +0 -37
  339. package/scrolling/row-height.service.d.ts +0 -18
  340. package/scrolling/scroll-bottom-event.d.ts +0 -14
  341. package/scrolling/scroll-request.service.d.ts +0 -47
  342. package/scrolling/scroll-sync.service.d.ts +0 -35
  343. package/scrolling/scroller.service.d.ts +0 -76
  344. package/scrolling/scrollmode.d.ts +0 -18
  345. package/scrolling/suspend.service.d.ts +0 -13
  346. package/selection/cell-selection.service.d.ts +0 -74
  347. package/selection/marquee.directive.d.ts +0 -38
  348. package/selection/pair-set.d.ts +0 -78
  349. package/selection/selectall-checkbox.directive.d.ts +0 -60
  350. package/selection/selection-checkbox.directive.d.ts +0 -52
  351. package/selection/selection-default.d.ts +0 -89
  352. package/selection/selection.directive.d.ts +0 -35
  353. package/selection/selection.service.d.ts +0 -79
  354. package/selection/types.d.ts +0 -174
  355. package/state-management/grid-state.models.d.ts +0 -71
  356. package/state-management/redo-command-tool.d.ts +0 -46
  357. package/state-management/undo-command-tool.d.ts +0 -46
  358. package/state-management/undo-redo.directive.d.ts +0 -73
  359. package/state-management/undo-redo.service.d.ts +0 -17
  360. package/state-management/undo-redo.stack.d.ts +0 -106
  361. package/utils.d.ts +0 -119
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Lets you customize the item shown when the Grid has no data.
9
- * Place an `<ng-template>` tag with the `kendoGridNoRecordsTemplate` directive inside `<kendo-grid>` to define the no-records template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/no-records-template)).
10
- *
11
- * @example
12
- * ```html
13
- * <kendo-grid [data]="data">
14
- * <ng-template kendoGridNoRecordsTemplate>
15
- * There are no products. <a href="#" (click)="refresh()">Click here to refresh.</a>
16
- * </ng-template>
17
- * <kendo-grid-column field="ProductID"></kendo-grid-column>
18
- * <kendo-grid-column field="ProductName"></kendo-grid-column>
19
- * </kendo-grid>
20
- * ```
21
- */
22
- export declare class NoRecordsTemplateDirective {
23
- templateRef: TemplateRef<any>;
24
- constructor(templateRef: TemplateRef<any>);
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NoRecordsTemplateDirective, [{ optional: true; }]>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<NoRecordsTemplateDirective, "[kendoGridNoRecordsTemplate]", never, {}, {}, never, never, true, never>;
27
- }
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare class RowspanService {
9
- private skipCells;
10
- addCells(rowIndex: number, colIndex: number, rowspan: number): void;
11
- reset(): void;
12
- shouldSkip(rowIndex: number, colIndex: number): boolean;
13
- private cellExists;
14
- }
@@ -1,135 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SimpleChange, NgZone, Renderer2, ElementRef, OnInit, OnDestroy, OnChanges, DoCheck, TrackByFunction, TemplateRef } from '@angular/core';
6
- import { GroupDescriptor } from '@progress/kendo-data-query';
7
- import { ColumnBase } from '../columns/column-base';
8
- import { DetailTemplateDirective } from './details/detail-template.directive';
9
- import { GroupsService } from '../grouping/groups.service';
10
- import { ChangeNotificationService } from '../data/change-notification.service';
11
- import { NoRecordsTemplateDirective } from './no-records-template.directive';
12
- import { EditService } from '../editing/edit.service';
13
- import { RowClassFn, RowStickyFn } from './common/row-class';
14
- import { SelectableSettings } from '../selection/types';
15
- import { DomEventsService } from '../common/dom-events.service';
16
- import { SelectionService } from "../selection/selection.service";
17
- import { ColumnInfoService } from "../common/column-info.service";
18
- import { FilterableSettings } from '../filtering/filterable';
19
- import { NavigationService } from '../navigation/navigation.service';
20
- import { GridItem } from '../data/grid-item.interface';
21
- import { DetailsService } from './details/details.service';
22
- import { CellSelectionService } from '../selection/cell-selection.service';
23
- import { SVGIcon } from '@progress/kendo-svg-icons';
24
- import { ContextService } from '../common/provider.service';
25
- import { ColumnsContainer } from '../columns/columns-container';
26
- import { RowArgs } from './common/row-args';
27
- import * as i0 from "@angular/core";
28
- /**
29
- * @hidden
30
- */
31
- export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges, DoCheck {
32
- detailsService: DetailsService;
33
- groupsService: GroupsService;
34
- private changeNotification;
35
- editService: EditService;
36
- private ctx;
37
- private ngZone;
38
- private renderer;
39
- private element;
40
- private domEvents;
41
- selectionService: SelectionService;
42
- cellSelectionService: CellSelectionService;
43
- private columnInfoService;
44
- private navigationService;
45
- columns: Array<ColumnBase>;
46
- allColumns: Array<ColumnBase>;
47
- groups: Array<GroupDescriptor>;
48
- detailTemplate: DetailTemplateDirective;
49
- noRecordsTemplate: NoRecordsTemplateDirective;
50
- rowsToRender: Array<GridItem & {
51
- showDetailRow?: boolean;
52
- cells?: any[];
53
- isExpanded?: boolean;
54
- showDataItem?: boolean;
55
- isHighlighted?: boolean;
56
- }>;
57
- skip: number;
58
- selectable: SelectableSettings | boolean;
59
- filterable: FilterableSettings;
60
- noRecordsText: string;
61
- isLocked: boolean;
62
- isLoading: boolean;
63
- isVirtual: boolean;
64
- cellLoadingTemplate: TemplateRef<any>;
65
- skipGroupDecoration: boolean;
66
- lockedColumnsCount: number;
67
- totalColumnsCount: number;
68
- virtualColumns: boolean;
69
- trackBy: TrackByFunction<GridItem>;
70
- rowSticky: RowStickyFn;
71
- totalColumns: ColumnsContainer;
72
- rowClass: RowClassFn;
73
- rowHeight: number;
74
- detailRowHeight: number;
75
- isPinContainer: boolean;
76
- pinPosition: 'top' | 'bottom' | null;
77
- hostClass: boolean;
78
- groupHeaderSlaveCellsCount: number;
79
- groupHeaderColumns: any[];
80
- private cachedDataRows;
81
- private clickSubscription;
82
- private touchSubscription;
83
- private l10nSubscription;
84
- private cellKeydownSubscription;
85
- private clickTimeout;
86
- private minusIcon;
87
- private plusIcon;
88
- constructor(detailsService: DetailsService, groupsService: GroupsService, changeNotification: ChangeNotificationService, editService: EditService, ctx: ContextService, ngZone: NgZone, renderer: Renderer2, element: ElementRef, domEvents: DomEventsService, selectionService: SelectionService, cellSelectionService: CellSelectionService, columnInfoService: ColumnInfoService, navigationService: NavigationService);
89
- get newDataItem(): any;
90
- unlockedColumnsCount(item?: any): number;
91
- isAriaSelected(item: any, column: ColumnBase): string;
92
- toggleRow(index: number, dataItem: any): boolean;
93
- detailButtonIconName(viewItem: any): string;
94
- detailButtonSvgIcon(viewItem: any): SVGIcon;
95
- detailButtonTitle(viewItem: any): any;
96
- isOdd(item: any): boolean;
97
- isSelectable(args: RowArgs): boolean;
98
- isRowSelected(item: any): boolean;
99
- isRowSelectable(args: RowArgs): boolean;
100
- trackByWrapper(index: number, item: GridItem): any;
101
- trackByColumns(index: number, item: any): any;
102
- ngDoCheck(): void;
103
- ngAfterViewChecked(): void;
104
- ngOnChanges(changes: {
105
- [propertyName: string]: SimpleChange;
106
- }): void;
107
- logicalRowIndex(rowIndex: number): number;
108
- addRowLogicalIndex(): number;
109
- logicalColIndex(column: any): number;
110
- ngOnInit(): void;
111
- ngOnDestroy(): void;
112
- isEditingCell(index: number, column: any): boolean;
113
- isEditingRow(index: number): boolean;
114
- isRowPinned(dataItem: any): boolean;
115
- get isStackedMode(): boolean;
116
- get hasGroupHeaderColumn(): boolean;
117
- get columnsContainer(): any;
118
- get columnsSpan(): number;
119
- get allColumnsSpan(): number;
120
- get colSpan(): number;
121
- get footerColumns(): ColumnBase[];
122
- addStickyColumnStyles(column: ColumnBase): {
123
- [key: string]: any;
124
- };
125
- resizeHandler(): void;
126
- get hasDetailTemplate(): boolean;
127
- private clickHandler;
128
- private emitCellClick;
129
- private cellKeydownHandler;
130
- private cellClickArgs;
131
- private eventTarget;
132
- private applyStickyRowsStyling;
133
- static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent, never>;
134
- static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent, "[kendoGridTableBody]", never, { "columns": { "alias": "columns"; "required": false; }; "allColumns": { "alias": "allColumns"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "noRecordsTemplate": { "alias": "noRecordsTemplate"; "required": false; }; "rowsToRender": { "alias": "rowsToRender"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "noRecordsText": { "alias": "noRecordsText"; "required": false; }; "isLocked": { "alias": "isLocked"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "isVirtual": { "alias": "isVirtual"; "required": false; }; "cellLoadingTemplate": { "alias": "cellLoadingTemplate"; "required": false; }; "skipGroupDecoration": { "alias": "skipGroupDecoration"; "required": false; }; "lockedColumnsCount": { "alias": "lockedColumnsCount"; "required": false; }; "totalColumnsCount": { "alias": "totalColumnsCount"; "required": false; }; "virtualColumns": { "alias": "virtualColumns"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; "rowSticky": { "alias": "rowSticky"; "required": false; }; "totalColumns": { "alias": "totalColumns"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "detailRowHeight": { "alias": "detailRowHeight"; "required": false; }; "isPinContainer": { "alias": "isPinContainer"; "required": false; }; "pinPosition": { "alias": "pinPosition"; "required": false; }; }, {}, never, never, true, never>;
135
- }
@@ -1,41 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef } from '@angular/core';
6
- import { ContextService } from '../../common/provider.service';
7
- import { ToolbarPosition } from './toolbar-position';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Adds keyboard navigation support to toolbar elements in the Grid.
11
- *
12
- * Apply this directive to toolbar elements that should be focusable and navigable with the keyboard.
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-toolbar>
17
- * <button kendoGridToolbarFocusable>Button</button>
18
- * </kendo-toolbar>
19
- * ```
20
- *
21
- * @remarks
22
- * This directive is related to accessibility.
23
- */
24
- export declare class GridToolbarFocusableDirective {
25
- private host;
26
- private ctx;
27
- /**
28
- * @hidden
29
- */
30
- get element(): HTMLElement;
31
- /**
32
- * @hidden
33
- */
34
- get toolbarPosition(): ToolbarPosition;
35
- constructor(host: ElementRef, ctx: ContextService);
36
- ngAfterViewInit(): void;
37
- ngOnDestroy(): void;
38
- private get isToolbarNavigable();
39
- static ɵfac: i0.ɵɵFactoryDeclaration<GridToolbarFocusableDirective, never>;
40
- static ɵdir: i0.ɵɵDirectiveDeclaration<GridToolbarFocusableDirective, " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] ", never, {}, {}, never, never, true, never>;
41
- }
@@ -1,23 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Renderer2 } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class GridToolbarNavigationService {
11
- private renderer;
12
- toolbarElement: HTMLElement;
13
- navigableElements: any[];
14
- currentActiveIndex: number;
15
- private defaultFocusableSelector;
16
- constructor(renderer: Renderer2);
17
- notify(): void;
18
- private findNavigableElements;
19
- focus(): void;
20
- updateFocus(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<GridToolbarNavigationService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<GridToolbarNavigationService>;
23
- }
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Configures the `position` property for the Grid Toolbar Template. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#setting-the-toolbar-position).
7
- *
8
- * The possible values are:
9
- * * `top`&mdash;Shows the Toolbar at the top of the Grid.
10
- * * `bottom`&mdash;Shows the Toolbar at the bottom of the Grid.
11
- * * `both`&mdash;Shows the Toolbar at the top and bottom of the Grid.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-grid>
16
- * <ng-template kendoGridToolbarTemplate position="bottom" let-position="position">
17
- * <button (click)="onClick()">Custom action</button>
18
- * </ng-template>
19
- * </kendo-grid>
20
- * ```
21
- */
22
- export type ToolbarPosition = 'top' | 'bottom' | 'both';
@@ -1,37 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents the toolbar template of the Grid.
9
- *
10
- * The template context provides:
11
- * - `position`&mdash;The position where the toolbar template renders. Possible values: `top`, `bottom`, and `both`.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-grid [data]="gridData" style="height: 200px">
16
- * <ng-template kendoGridToolbarTemplate [position]="position" let-position="position">
17
- * <button (click)="onClick()">Custom action</button>
18
- * </ng-template>
19
- * <kendo-grid-column field="ProductName">
20
- * </kendo-grid-column>
21
- * </kendo-grid>
22
- * ```
23
- */
24
- export declare class ToolbarTemplateDirective {
25
- templateRef: TemplateRef<any>;
26
- _position: 'top' | 'bottom' | 'both';
27
- /**
28
- * Sets the position of the toolbar. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#setting-the-toolbar-position)).
29
- *
30
- * @default 'top'
31
- */
32
- set position(position: 'top' | 'bottom' | 'both');
33
- get position(): 'top' | 'bottom' | 'both';
34
- constructor(templateRef: TemplateRef<any>);
35
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarTemplateDirective, [{ optional: true; }]>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarTemplateDirective, "[kendoGridToolbarTemplate]", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
37
- }
@@ -1,36 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef, ElementRef } from '@angular/core';
6
- import { GridSize } from '../../common/size-options';
7
- import { ContextService } from './../../common/provider.service';
8
- import { ToolbarPosition } from './toolbar-position';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare class ToolbarComponent {
14
- private ctx;
15
- private wrapper;
16
- context: any;
17
- role: string;
18
- hostClasses: boolean;
19
- get sizeSmallClass(): boolean;
20
- get sizeMediumClass(): boolean;
21
- set position(value: ToolbarPosition);
22
- set size(size: GridSize);
23
- get size(): GridSize;
24
- clickHandler(ev: MouseEvent): void;
25
- arrowLeftListener(): void;
26
- arrowRightListener(): void;
27
- homeKeyListener(e: KeyboardEvent): void;
28
- endKeyListener(e: KeyboardEvent): void;
29
- navigable: boolean;
30
- get toolbarTemplateRef(): TemplateRef<any>;
31
- private _size;
32
- private navigationService;
33
- constructor(ctx: ContextService, wrapper: ElementRef);
34
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "kendo-grid-toolbar", never, { "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; }, {}, never, never, true, never>;
36
- }
@@ -1,50 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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 { GridAIAssistantPromptSettings, GridAIRequestOptions } from './models';
12
- import { GridAIRequestResponseService } from './ai-request-response.service';
13
- import * as i0 from "@angular/core";
14
- /**
15
- * @hidden
16
- */
17
- export declare class AiAssistantComponent implements OnDestroy, AfterViewInit {
18
- private http;
19
- private ctx;
20
- private columnInfoService;
21
- private aiRequestResponseService;
22
- aiPrompt: AIPromptComponent;
23
- activeView: number;
24
- requestUrl: string;
25
- requestOptions: GridAIRequestOptions;
26
- aiPromptSettings: GridAIAssistantPromptSettings;
27
- aiToolDirective: AIAssistantToolbarDirective;
28
- streaming: boolean;
29
- disabledGenerateButton: boolean;
30
- private lastMessage;
31
- private requestData;
32
- private currentRequestSubscription;
33
- private loadingOutput;
34
- private columns;
35
- private leafColumns;
36
- private idCounter;
37
- constructor(http: HttpClient, ctx: ContextService, columnInfoService: ColumnInfoService, aiRequestResponseService: GridAIRequestResponseService);
38
- ngAfterViewInit(): void;
39
- ngOnDestroy(): void;
40
- message(message: string): string;
41
- cancelRequest(): void;
42
- onPromptRequest(ev: PromptRequestEvent): void;
43
- private sendPromptRequest;
44
- private processResponse;
45
- private handleError;
46
- private deleteLoadingOutput;
47
- private unsubscribeCurrentRequest;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<AiAssistantComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<AiAssistantComponent, "ng-component", never, {}, {}, never, never, true, never>;
50
- }
@@ -1,61 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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 } from '@angular/core';
6
- import { ColumnInfoService } from './../../../../common/column-info.service';
7
- import { ContextService } from './../../../../common/provider.service';
8
- import { GridAICommand } from './models';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- *
13
- * Service that builds AI requests and processes AI responses for the Grid.
14
- * Used internally by both the Grid component and the AI Assistant tool.
15
- */
16
- export declare class GridAIRequestResponseService {
17
- private ctx;
18
- private columnInfoService;
19
- private zone;
20
- constructor(ctx: ContextService, columnInfoService: ColumnInfoService, zone: NgZone);
21
- /**
22
- * Builds the request body for the AI service based on the Grid's column structure.
23
- * Returns a column descriptor tree that includes column metadata for the AI service.
24
- */
25
- buildRequestBody(promptMessage: string, role?: string): any;
26
- /**
27
- * Builds a nested column descriptor tree based on the Grid's column structure.
28
- * Includes root columns and their nested children (for ColumnGroup and SpanColumn).
29
- */
30
- private buildColumnDescriptors;
31
- /**
32
- * Processes AI response commands and applies them to the Grid.
33
- * Returns an array of display messages for each command.
34
- */
35
- processCommands(commands: GridAICommand[], columns: {
36
- field: string;
37
- }[], leafColumns: any[]): string[];
38
- private executeCommands;
39
- private processArrayResponse;
40
- private runExportWithFileName;
41
- private processPageCommand;
42
- private processPageSizeCommand;
43
- private emitGridPageChange;
44
- private ensurePageSizeOption;
45
- private getCurrentPageSizeValue;
46
- private getTotalItemsCount;
47
- private getSelectionInstance;
48
- private updateLastMessage;
49
- private isColumnCommand;
50
- private getColumnReplacement;
51
- private replaceQuotedColumnId;
52
- private getHighlightItems;
53
- private processSelectionResponse;
54
- private mapHighlightItemsToSelection;
55
- private applySelectionState;
56
- private processHighlightResponse;
57
- private processFilterResponse;
58
- private changeColumnPosition;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<GridAIRequestResponseService, never>;
60
- static ɵprov: i0.ɵɵInjectableDeclaration<GridAIRequestResponseService>;
61
- }
@@ -1,115 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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 { GridAIAssistantPromptSettings, GridAIAssistantWindowSettings, GridAIRequestOptions, GridAIAssistantResponseSuccessEvent, GridAIAssistantResponseErrorEvent, GridAIAssistantRequestEvent, GridAIAssistantOpenEvent } from './models';
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?: GridAIRequestOptions;
47
- /**
48
- * Configures the initial settings for the AI Assistant Window when opened.
49
- */
50
- aiWindowSettings: GridAIAssistantWindowSettings;
51
- /**
52
- * Configures the initial settings for the AI Prompt component that the AI Assistant Window component uses when opened.
53
- */
54
- aiPromptSettings: GridAIAssistantPromptSettings;
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<GridAIAssistantRequestEvent>;
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<GridAIAssistantResponseSuccessEvent>;
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<GridAIAssistantResponseErrorEvent>;
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<GridAIAssistantOpenEvent>;
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
- }