@progress/kendo-angular-grid 21.4.1 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/column-menu/column-menu-item-base.d.ts +1 -1
  2. package/columns/column-base.d.ts +1 -1
  3. package/common/toolbar-tool-base.directive.d.ts +1 -1
  4. package/editing/toolbar-editing-tool-base.directive.d.ts +1 -1
  5. package/editing-directives/editing-directive-base.d.ts +1 -1
  6. package/editing-directives/row-editing-directive-base.d.ts +1 -1
  7. package/fesm2022/progress-kendo-angular-grid.mjs +666 -666
  8. package/filtering/base-filter-cell.component.d.ts +1 -1
  9. package/filtering/boolean-filter.component.d.ts +1 -1
  10. package/filtering/date-filter.component.d.ts +1 -1
  11. package/filtering/filter-host.directive.d.ts +1 -1
  12. package/filtering/filter-input-wrapper.component.d.ts +1 -1
  13. package/filtering/numeric-filter.component.d.ts +1 -1
  14. package/filtering/operators/filter-operator.base.d.ts +1 -1
  15. package/filtering/string-filter.component.d.ts +1 -1
  16. package/localization/messages.d.ts +1 -1
  17. package/package.json +28 -36
  18. package/schematics/ngAdd/index.js +7 -7
  19. package/selection/selection-default.d.ts +1 -1
  20. package/esm2022/adaptiveness/adaptive-mode.mjs +0 -5
  21. package/esm2022/adaptiveness/adaptive-renderer.component.mjs +0 -1270
  22. package/esm2022/aggregates/aggregate-types.mjs +0 -5
  23. package/esm2022/aggregates/selection-aggregate.service.mjs +0 -200
  24. package/esm2022/aggregates/status-bar-template.directive.mjs +0 -30
  25. package/esm2022/aggregates/status-bar.component.mjs +0 -70
  26. package/esm2022/column-menu/column-chooser-content.component.mjs +0 -318
  27. package/esm2022/column-menu/column-chooser.component.mjs +0 -230
  28. package/esm2022/column-menu/column-list-kb-nav.service.mjs +0 -40
  29. package/esm2022/column-menu/column-list.component.mjs +0 -478
  30. package/esm2022/column-menu/column-locked-change-event.mjs +0 -19
  31. package/esm2022/column-menu/column-menu-autosize-all.component.mjs +0 -89
  32. package/esm2022/column-menu/column-menu-autosize.component.mjs +0 -97
  33. package/esm2022/column-menu/column-menu-chooser.component.mjs +0 -151
  34. package/esm2022/column-menu/column-menu-container.component.mjs +0 -67
  35. package/esm2022/column-menu/column-menu-expandable-item.interface.mjs +0 -5
  36. package/esm2022/column-menu/column-menu-filter.component.mjs +0 -152
  37. package/esm2022/column-menu/column-menu-item-base.mjs +0 -44
  38. package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +0 -45
  39. package/esm2022/column-menu/column-menu-item.component.mjs +0 -514
  40. package/esm2022/column-menu/column-menu-item.directive.mjs +0 -164
  41. package/esm2022/column-menu/column-menu-lock.component.mjs +0 -118
  42. package/esm2022/column-menu/column-menu-position.component.mjs +0 -196
  43. package/esm2022/column-menu/column-menu-settings.interface.mjs +0 -5
  44. package/esm2022/column-menu/column-menu-sort.component.mjs +0 -119
  45. package/esm2022/column-menu/column-menu-stick.component.mjs +0 -120
  46. package/esm2022/column-menu/column-menu-template.directive.mjs +0 -47
  47. package/esm2022/column-menu/column-menu.component.mjs +0 -839
  48. package/esm2022/column-menu/column-menu.service.mjs +0 -71
  49. package/esm2022/column-menu/column-sticky-change-event.mjs +0 -19
  50. package/esm2022/column-menu/column-visibility-change-event.mjs +0 -19
  51. package/esm2022/column-menu/utils.mjs +0 -52
  52. package/esm2022/column-resizing/column-handle.directive.mjs +0 -499
  53. package/esm2022/column-resizing/column-resize.interface.mjs +0 -5
  54. package/esm2022/column-resizing/column-resizing.service.mjs +0 -214
  55. package/esm2022/column-resizing/table.directive.mjs +0 -141
  56. package/esm2022/columns/cell-rowspan.mjs +0 -5
  57. package/esm2022/columns/checkbox-column.component.mjs +0 -106
  58. package/esm2022/columns/column-base.mjs +0 -432
  59. package/esm2022/columns/column-common.mjs +0 -73
  60. package/esm2022/columns/column-group.component.mjs +0 -135
  61. package/esm2022/columns/column-list.mjs +0 -94
  62. package/esm2022/columns/column.component.mjs +0 -198
  63. package/esm2022/columns/columns-container.mjs +0 -101
  64. package/esm2022/columns/command-column.component.mjs +0 -80
  65. package/esm2022/columns/reorder-column.component.mjs +0 -114
  66. package/esm2022/columns/sort-settings.mjs +0 -18
  67. package/esm2022/columns/span-column.component.mjs +0 -195
  68. package/esm2022/common/adaptiveness.service.mjs +0 -72
  69. package/esm2022/common/cell-click-event-args.interface.mjs +0 -5
  70. package/esm2022/common/clipboard-types.mjs +0 -5
  71. package/esm2022/common/clipboard.directive.mjs +0 -197
  72. package/esm2022/common/clipboard.service.mjs +0 -221
  73. package/esm2022/common/column-info.service.mjs +0 -92
  74. package/esm2022/common/create-form-group.mjs +0 -5
  75. package/esm2022/common/data-layout-mode.mjs +0 -5
  76. package/esm2022/common/default-track-by.mjs +0 -13
  77. package/esm2022/common/dom-events.service.mjs +0 -27
  78. package/esm2022/common/error-messages.mjs +0 -64
  79. package/esm2022/common/event-emitter.mjs +0 -39
  80. package/esm2022/common/fetch-data-callback.mjs +0 -5
  81. package/esm2022/common/field-datatype.mjs +0 -5
  82. package/esm2022/common/filter-descriptor-differ.mjs +0 -69
  83. package/esm2022/common/filter-operator.interface.mjs +0 -5
  84. package/esm2022/common/grid-col-size.mjs +0 -5
  85. package/esm2022/common/id.service.mjs +0 -59
  86. package/esm2022/common/pager-settings.mjs +0 -20
  87. package/esm2022/common/preventable-event.mjs +0 -24
  88. package/esm2022/common/provider.service.mjs +0 -42
  89. package/esm2022/common/remove-confirmation.mjs +0 -5
  90. package/esm2022/common/resizable-settings.mjs +0 -9
  91. package/esm2022/common/single-popup.service.mjs +0 -158
  92. package/esm2022/common/size-options.mjs +0 -5
  93. package/esm2022/common/sort.service.mjs +0 -14
  94. package/esm2022/common/toolbar-tool-base.directive.mjs +0 -85
  95. package/esm2022/constants.mjs +0 -16
  96. package/esm2022/data/change-event-args.interface.mjs +0 -5
  97. package/esm2022/data/change-notification.service.mjs +0 -30
  98. package/esm2022/data/data-item.interface.mjs +0 -5
  99. package/esm2022/data/data-mapping.service.mjs +0 -136
  100. package/esm2022/data/data.collection.mjs +0 -87
  101. package/esm2022/data/data.iterators.mjs +0 -221
  102. package/esm2022/data/grid-item.interface.mjs +0 -5
  103. package/esm2022/data/group-footer-item.interface.mjs +0 -5
  104. package/esm2022/data/group-item.interface.mjs +0 -5
  105. package/esm2022/databinding.directive.mjs +0 -233
  106. package/esm2022/directives.mjs +0 -504
  107. package/esm2022/dragdrop/column-reorder-config.mjs +0 -5
  108. package/esm2022/dragdrop/column-reorder-event.mjs +0 -31
  109. package/esm2022/dragdrop/column-reorder.service.mjs +0 -20
  110. package/esm2022/dragdrop/common.mjs +0 -69
  111. package/esm2022/dragdrop/context-types.mjs +0 -5
  112. package/esm2022/dragdrop/drag-and-drop.service.mjs +0 -65
  113. package/esm2022/dragdrop/drag-hint.service.mjs +0 -137
  114. package/esm2022/dragdrop/draggable-column.directive.mjs +0 -137
  115. package/esm2022/dragdrop/drop-cue.service.mjs +0 -46
  116. package/esm2022/dragdrop/drop-target.directive.mjs +0 -71
  117. package/esm2022/editing/add-command-tool.directive.mjs +0 -59
  118. package/esm2022/editing/add-command.directive.mjs +0 -93
  119. package/esm2022/editing/add-event-args.interface.mjs +0 -5
  120. package/esm2022/editing/cancel-command-tool.directive.mjs +0 -64
  121. package/esm2022/editing/cancel-command.directive.mjs +0 -127
  122. package/esm2022/editing/cancel-event-args.interface.mjs +0 -5
  123. package/esm2022/editing/cell-close-event.mjs +0 -38
  124. package/esm2022/editing/edit-command-tool.directive.mjs +0 -60
  125. package/esm2022/editing/edit-command.directive.mjs +0 -124
  126. package/esm2022/editing/edit-event-args.interface.mjs +0 -5
  127. package/esm2022/editing/edit-row-options.interface.mjs +0 -5
  128. package/esm2022/editing/edit-template.directive.mjs +0 -43
  129. package/esm2022/editing/edit.service.mjs +0 -182
  130. package/esm2022/editing/form/dialog-form.component.mjs +0 -102
  131. package/esm2022/editing/form/form-formfield.component.mjs +0 -188
  132. package/esm2022/editing/form/form.component.mjs +0 -169
  133. package/esm2022/editing/form/index.mjs +0 -8
  134. package/esm2022/editing/form/models.mjs +0 -5
  135. package/esm2022/editing/local-data-changes.service.mjs +0 -18
  136. package/esm2022/editing/remove-command-tool.directive.mjs +0 -61
  137. package/esm2022/editing/remove-command.directive.mjs +0 -123
  138. package/esm2022/editing/remove-event-args.interface.mjs +0 -5
  139. package/esm2022/editing/save-command-tool.directive.mjs +0 -65
  140. package/esm2022/editing/save-command.directive.mjs +0 -126
  141. package/esm2022/editing/save-event-args.interface.mjs +0 -5
  142. package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +0 -99
  143. package/esm2022/editing-directives/create-form-group-args.interface.mjs +0 -5
  144. package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
  145. package/esm2022/editing-directives/editing-directive-base.mjs +0 -167
  146. package/esm2022/editing-directives/external-editing.directive.mjs +0 -151
  147. package/esm2022/editing-directives/in-cell-editing.directive.mjs +0 -97
  148. package/esm2022/editing-directives/local-edit.service.mjs +0 -64
  149. package/esm2022/editing-directives/local-row-edit.service.mjs +0 -13
  150. package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -60
  151. package/esm2022/editing-directives/row-editing-directive-base.mjs +0 -53
  152. package/esm2022/editing-directives/template-editing.directive.mjs +0 -72
  153. package/esm2022/editing-directives/utils.mjs +0 -18
  154. package/esm2022/excel/excel-command-tool.directive.mjs +0 -58
  155. package/esm2022/excel/excel-command.directive.mjs +0 -98
  156. package/esm2022/excel/excel-export-event.mjs +0 -18
  157. package/esm2022/excel/excel.component.mjs +0 -223
  158. package/esm2022/excel/excel.module.mjs +0 -45
  159. package/esm2022/excel/excel.service.mjs +0 -29
  160. package/esm2022/filtering/base-filter-cell.component.mjs +0 -174
  161. package/esm2022/filtering/boolean-filter.component.mjs +0 -83
  162. package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +0 -114
  163. package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +0 -113
  164. package/esm2022/filtering/cell/date-filter-cell.component.mjs +0 -141
  165. package/esm2022/filtering/cell/filter-cell-component.factory.mjs +0 -19
  166. package/esm2022/filtering/cell/filter-cell-host.directive.mjs +0 -33
  167. package/esm2022/filtering/cell/filter-cell-operators.component.mjs +0 -242
  168. package/esm2022/filtering/cell/filter-cell-template.directive.mjs +0 -46
  169. package/esm2022/filtering/cell/filter-cell-wrapper.component.mjs +0 -74
  170. package/esm2022/filtering/cell/filter-cell.component.mjs +0 -91
  171. package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +0 -155
  172. package/esm2022/filtering/cell/string-filter-cell.component.mjs +0 -127
  173. package/esm2022/filtering/date-filter.component.mjs +0 -172
  174. package/esm2022/filtering/filter-component.interface.mjs +0 -5
  175. package/esm2022/filtering/filter-host.directive.mjs +0 -58
  176. package/esm2022/filtering/filter-input-wrapper.component.mjs +0 -119
  177. package/esm2022/filtering/filter-input.directive.mjs +0 -123
  178. package/esm2022/filtering/filter-row.component.mjs +0 -131
  179. package/esm2022/filtering/filter.service.mjs +0 -44
  180. package/esm2022/filtering/filterable.mjs +0 -16
  181. package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +0 -167
  182. package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +0 -179
  183. package/esm2022/filtering/menu/date-filter-menu.component.mjs +0 -212
  184. package/esm2022/filtering/menu/filter-menu-component.factory.mjs +0 -19
  185. package/esm2022/filtering/menu/filter-menu-container.component.mjs +0 -418
  186. package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +0 -44
  187. package/esm2022/filtering/menu/filter-menu-host.directive.mjs +0 -46
  188. package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +0 -158
  189. package/esm2022/filtering/menu/filter-menu-template.directive.mjs +0 -48
  190. package/esm2022/filtering/menu/filter-menu.component.mjs +0 -221
  191. package/esm2022/filtering/menu/filter-radio-button.directive.mjs +0 -34
  192. package/esm2022/filtering/menu/menu-tabbing.service.mjs +0 -22
  193. package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +0 -184
  194. package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +0 -230
  195. package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +0 -107
  196. package/esm2022/filtering/menu/string-filter-menu.component.mjs +0 -198
  197. package/esm2022/filtering/multicheckbox-filter.component.mjs +0 -324
  198. package/esm2022/filtering/numeric-filter.component.mjs +0 -145
  199. package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +0 -72
  200. package/esm2022/filtering/operators/after-filter-operator.component.mjs +0 -72
  201. package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +0 -72
  202. package/esm2022/filtering/operators/before-filter-operator.component.mjs +0 -72
  203. package/esm2022/filtering/operators/contains-filter-operator.component.mjs +0 -63
  204. package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +0 -63
  205. package/esm2022/filtering/operators/eq-filter-operator.component.mjs +0 -111
  206. package/esm2022/filtering/operators/filter-operator.base.mjs +0 -101
  207. package/esm2022/filtering/operators/gt-filter-operator.component.mjs +0 -63
  208. package/esm2022/filtering/operators/gte-filter-operator.component.mjs +0 -63
  209. package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +0 -63
  210. package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +0 -63
  211. package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +0 -110
  212. package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +0 -110
  213. package/esm2022/filtering/operators/lt-filter-operator.component.mjs +0 -63
  214. package/esm2022/filtering/operators/lte-filter-operator.component.mjs +0 -63
  215. package/esm2022/filtering/operators/neq-filter-operator.component.mjs +0 -110
  216. package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +0 -63
  217. package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +0 -63
  218. package/esm2022/filtering/string-filter.component.mjs +0 -90
  219. package/esm2022/grid.component.mjs +0 -4598
  220. package/esm2022/grid.module.mjs +0 -241
  221. package/esm2022/grouping/group-footer-template.directive.mjs +0 -44
  222. package/esm2022/grouping/group-header-column-template.directive.mjs +0 -45
  223. package/esm2022/grouping/group-header-template.directive.mjs +0 -46
  224. package/esm2022/grouping/group-header.component.mjs +0 -351
  225. package/esm2022/grouping/group-info.service.mjs +0 -43
  226. package/esm2022/grouping/group-key.interface.mjs +0 -5
  227. package/esm2022/grouping/group-panel.component.mjs +0 -487
  228. package/esm2022/grouping/group-rows-args.interface.mjs +0 -5
  229. package/esm2022/grouping/group-settings.mjs +0 -5
  230. package/esm2022/grouping/groups.service.mjs +0 -69
  231. package/esm2022/grouping/utils.mjs +0 -14
  232. package/esm2022/highlight/highlight-item.mjs +0 -5
  233. package/esm2022/highlight/highlight.directive.mjs +0 -132
  234. package/esm2022/index.mjs +0 -221
  235. package/esm2022/layout/browser-support.service.mjs +0 -94
  236. package/esm2022/layout/resizable.directive.mjs +0 -83
  237. package/esm2022/layout/resize.service.mjs +0 -29
  238. package/esm2022/layout/responsive.service.mjs +0 -34
  239. package/esm2022/layout/row-sync.mjs +0 -47
  240. package/esm2022/layout/sizing-options.service.mjs +0 -18
  241. package/esm2022/localization/custom-messages.component.mjs +0 -54
  242. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  243. package/esm2022/localization/messages.mjs +0 -895
  244. package/esm2022/navigation/default-focusable-element.mjs +0 -50
  245. package/esm2022/navigation/focus-group.mjs +0 -73
  246. package/esm2022/navigation/focus-root.mjs +0 -50
  247. package/esm2022/navigation/focusable-element.interface.mjs +0 -5
  248. package/esm2022/navigation/focusable.directive.mjs +0 -150
  249. package/esm2022/navigation/grid-focusable-element.mjs +0 -28
  250. package/esm2022/navigation/item-map.mjs +0 -59
  251. package/esm2022/navigation/logical-cell.directive.mjs +0 -224
  252. package/esm2022/navigation/logical-cell.interface.mjs +0 -5
  253. package/esm2022/navigation/logical-row.directive.mjs +0 -131
  254. package/esm2022/navigation/logical-row.interface.mjs +0 -5
  255. package/esm2022/navigation/navigable-settings.mjs +0 -5
  256. package/esm2022/navigation/navigation-cell.interface.mjs +0 -5
  257. package/esm2022/navigation/navigation-change.interface.mjs +0 -5
  258. package/esm2022/navigation/navigation-cursor.mjs +0 -224
  259. package/esm2022/navigation/navigation-metadata.mjs +0 -35
  260. package/esm2022/navigation/navigation-mode.mjs +0 -5
  261. package/esm2022/navigation/navigation-model.mjs +0 -138
  262. package/esm2022/navigation/navigation-row.interface.mjs +0 -5
  263. package/esm2022/navigation/navigation.service.mjs +0 -998
  264. package/esm2022/navigation/toolbar-tool-name.mjs +0 -18
  265. package/esm2022/package-metadata.mjs +0 -16
  266. package/esm2022/pdf/export-element.mjs +0 -135
  267. package/esm2022/pdf/grid-query.mjs +0 -45
  268. package/esm2022/pdf/pdf-command-tool.directive.mjs +0 -60
  269. package/esm2022/pdf/pdf-command.directive.mjs +0 -98
  270. package/esm2022/pdf/pdf-export-event.mjs +0 -16
  271. package/esm2022/pdf/pdf-margin.component.mjs +0 -38
  272. package/esm2022/pdf/pdf-margin.interface.mjs +0 -5
  273. package/esm2022/pdf/pdf-template.directive.mjs +0 -43
  274. package/esm2022/pdf/pdf.component.mjs +0 -331
  275. package/esm2022/pdf/pdf.module.mjs +0 -47
  276. package/esm2022/pdf/pdf.service.mjs +0 -42
  277. package/esm2022/progress-kendo-angular-grid.mjs +0 -8
  278. package/esm2022/rendering/cell-loading.template.directive.mjs +0 -39
  279. package/esm2022/rendering/cell-template.directive.mjs +0 -44
  280. package/esm2022/rendering/cell.component.mjs +0 -717
  281. package/esm2022/rendering/common/cell-context.mjs +0 -13
  282. package/esm2022/rendering/common/col-group.component.mjs +0 -98
  283. package/esm2022/rendering/common/dom-queries.mjs +0 -162
  284. package/esm2022/rendering/common/field-accessor.pipe.mjs +0 -48
  285. package/esm2022/rendering/common/format.pipe.mjs +0 -37
  286. package/esm2022/rendering/common/loading.component.mjs +0 -60
  287. package/esm2022/rendering/common/row-args.mjs +0 -5
  288. package/esm2022/rendering/common/row-class.mjs +0 -5
  289. package/esm2022/rendering/common/spacer.component.mjs +0 -62
  290. package/esm2022/rendering/constants.mjs +0 -20
  291. package/esm2022/rendering/details/detail-collapse-event.mjs +0 -27
  292. package/esm2022/rendering/details/detail-expand-event.mjs +0 -27
  293. package/esm2022/rendering/details/detail-template.directive.mjs +0 -61
  294. package/esm2022/rendering/details/details.service.mjs +0 -56
  295. package/esm2022/rendering/details-expand.directive.mjs +0 -136
  296. package/esm2022/rendering/footer/footer-template.directive.mjs +0 -48
  297. package/esm2022/rendering/footer/footer.component.mjs +0 -266
  298. package/esm2022/rendering/grid-table.directive.mjs +0 -52
  299. package/esm2022/rendering/groups-expand.directive.mjs +0 -149
  300. package/esm2022/rendering/header/header-template.directive.mjs +0 -45
  301. package/esm2022/rendering/header/header.component.mjs +0 -1055
  302. package/esm2022/rendering/list.component.mjs +0 -1176
  303. package/esm2022/rendering/loading-template.directive.mjs +0 -38
  304. package/esm2022/rendering/no-records-template.directive.mjs +0 -38
  305. package/esm2022/rendering/rowspan.service.mjs +0 -24
  306. package/esm2022/rendering/table-body.component.mjs +0 -1250
  307. package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +0 -83
  308. package/esm2022/rendering/toolbar/toolbar-navigation.service.mjs +0 -58
  309. package/esm2022/rendering/toolbar/toolbar-position.mjs +0 -5
  310. package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +0 -55
  311. package/esm2022/rendering/toolbar/toolbar.component.mjs +0 -159
  312. package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +0 -272
  313. package/esm2022/rendering/toolbar/tools/ai-assistant/ai-request-response.service.mjs +0 -624
  314. package/esm2022/rendering/toolbar/tools/ai-assistant/ai-tool.directive.mjs +0 -273
  315. package/esm2022/rendering/toolbar/tools/ai-assistant/models.mjs +0 -43
  316. package/esm2022/rendering/toolbar/tools/ai-assistant/utils.mjs +0 -92
  317. package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +0 -238
  318. package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +0 -219
  319. package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +0 -151
  320. package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +0 -223
  321. package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +0 -208
  322. package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +0 -451
  323. package/esm2022/rendering/toolbar/tools/select-all-command-tool.directive.mjs +0 -93
  324. package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +0 -222
  325. package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +0 -245
  326. package/esm2022/row-reordering/drag-handle-template.directive.mjs +0 -44
  327. package/esm2022/row-reordering/drag-hint-template.directive.mjs +0 -42
  328. package/esm2022/row-reordering/row-reorder.service.mjs +0 -280
  329. package/esm2022/row-reordering/types.mjs +0 -5
  330. package/esm2022/row-reordering/utils.mjs +0 -88
  331. package/esm2022/scrolling/content-scroll-event.mjs +0 -5
  332. package/esm2022/scrolling/row-height.service.mjs +0 -55
  333. package/esm2022/scrolling/scroll-bottom-event.mjs +0 -5
  334. package/esm2022/scrolling/scroll-request.service.mjs +0 -24
  335. package/esm2022/scrolling/scroll-sync.service.mjs +0 -80
  336. package/esm2022/scrolling/scroller.service.mjs +0 -254
  337. package/esm2022/scrolling/scrollmode.mjs +0 -5
  338. package/esm2022/scrolling/suspend.service.mjs +0 -17
  339. package/esm2022/selection/cell-selection.service.mjs +0 -349
  340. package/esm2022/selection/marquee.directive.mjs +0 -188
  341. package/esm2022/selection/pair-set.mjs +0 -158
  342. package/esm2022/selection/selectall-checkbox.directive.mjs +0 -143
  343. package/esm2022/selection/selection-checkbox.directive.mjs +0 -132
  344. package/esm2022/selection/selection-default.mjs +0 -208
  345. package/esm2022/selection/selection.directive.mjs +0 -53
  346. package/esm2022/selection/selection.service.mjs +0 -466
  347. package/esm2022/selection/types.mjs +0 -5
  348. package/esm2022/state-management/grid-state.models.mjs +0 -26
  349. package/esm2022/state-management/redo-command-tool.mjs +0 -74
  350. package/esm2022/state-management/undo-command-tool.mjs +0 -74
  351. package/esm2022/state-management/undo-redo.directive.mjs +0 -249
  352. package/esm2022/state-management/undo-redo.service.mjs +0 -21
  353. package/esm2022/state-management/undo-redo.stack.mjs +0 -238
  354. package/esm2022/utils.mjs +0 -216
@@ -1,214 +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 { Injectable, EventEmitter } from '@angular/core';
6
- import { zip } from 'rxjs';
7
- import { take } from 'rxjs/operators';
8
- import { leafColumns } from '../columns/column-common';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- const isLocked = column => column.parent ? isLocked(column.parent) : !!column.locked;
14
- /**
15
- * @hidden
16
- */
17
- const resizeArgs = (column, extra) => Object.assign({
18
- columns: leafColumns([column]),
19
- locked: isLocked(column)
20
- }, extra);
21
- /**
22
- * @hidden
23
- */
24
- const measure = (col, gridEl) => {
25
- const rowIndex = col.level + 1;
26
- const selector = `tr[aria-rowindex="${rowIndex}"] > th[aria-colindex="${col.leafIndex + 1}"], tr[aria-rowindex="${rowIndex}"] > th[data-kendo-grid-column-index="${col.leafIndex}"]`;
27
- const headerCell = gridEl.querySelector(selector);
28
- if (headerCell) {
29
- const headerCellWidth = headerCell.offsetWidth;
30
- if (headerCellWidth > 0) {
31
- return headerCellWidth;
32
- }
33
- }
34
- return 0;
35
- };
36
- /**
37
- * @hidden
38
- */
39
- export class ColumnResizingService {
40
- changes = new EventEmitter();
41
- adjacentColumn;
42
- areColumnsReordered = false;
43
- isShiftPressed = false;
44
- originalWidth;
45
- draggedGroupColumn;
46
- resizedColumns;
47
- autoFitResize = false;
48
- column;
49
- tables = [];
50
- batch = null;
51
- start(column) {
52
- this.trackColumns(column);
53
- const columns = (this.column.isColumnGroup ? [column] : [])
54
- .concat(leafColumns([column]));
55
- this.changes.emit({
56
- columns: columns,
57
- locked: isLocked(this.column),
58
- type: 'start'
59
- });
60
- }
61
- resizeColumns(deltaPercent) {
62
- const action = resizeArgs(this.column, {
63
- deltaPercent,
64
- type: 'resizeColumn'
65
- });
66
- this.changes.emit(action);
67
- }
68
- resizeTable(column, delta) {
69
- const action = resizeArgs(column, {
70
- delta,
71
- type: 'resizeTable'
72
- });
73
- this.changes.emit(action);
74
- }
75
- resizedColumn(state) {
76
- this.resizedColumns.push(state);
77
- }
78
- end() {
79
- this.changes.emit({
80
- columns: [],
81
- resizedColumns: this.resizedColumns,
82
- type: 'end'
83
- });
84
- this.restoreInitialMaxMinWidths();
85
- this.adjacentColumn = null;
86
- this.draggedGroupColumn = null;
87
- this.autoFitResize = false;
88
- }
89
- registerTable(tableMetadata) {
90
- this.tables.push(tableMetadata);
91
- const unregisterTable = () => {
92
- this.tables.splice(this.tables.indexOf(tableMetadata), 1);
93
- };
94
- return unregisterTable;
95
- }
96
- measureColumns(info) {
97
- if (this.batch !== null) {
98
- this.batch.push(...info);
99
- }
100
- else {
101
- this.autoFitBatch(info, () => this.end());
102
- }
103
- }
104
- autoFit(...columns) {
105
- const nonLockedColumns = columns.filter(column => !column.isLocked);
106
- this.autoFitStart(nonLockedColumns);
107
- this.autoFitBatch(this.batch, () => {
108
- if (nonLockedColumns.length < columns.length) {
109
- const lockedColumns = columns.filter(column => column.isLocked);
110
- this.autoFitStart(lockedColumns);
111
- this.autoFitBatch(this.batch, () => this.end());
112
- }
113
- else {
114
- this.end();
115
- }
116
- });
117
- }
118
- autoFitToGrid(gridEl, scrollbarWidth, ...columns) {
119
- const gridWidth = gridEl.clientWidth - scrollbarWidth - 1;
120
- if (gridWidth <= 0) {
121
- return;
122
- }
123
- const columnsWidths = columns.map(c => measure(c, gridEl));
124
- const totalColumnsWidth = columnsWidths.reduce((sum, w) => sum + w, 0);
125
- if (totalColumnsWidth === 0 || Math.abs(totalColumnsWidth - gridWidth) <= 1) {
126
- return;
127
- }
128
- this.start(columns[0]);
129
- const calculateNewWidths = (columnsWidths) => {
130
- const totalWidth = columnsWidths.reduce((s, w) => s + w, 0);
131
- const nonZeroColumns = columnsWidths.filter(w => w > 0).length;
132
- const diff = (gridWidth - totalWidth) / nonZeroColumns;
133
- const newWidths = columnsWidths.slice();
134
- newWidths.forEach((w, i) => {
135
- newWidths[i] = Math.max(0, w + diff);
136
- });
137
- return newWidths;
138
- };
139
- let newWidths = calculateNewWidths(columnsWidths);
140
- const newTotal = newWidths.reduce((s, w) => s + w, 0);
141
- if (newTotal !== gridWidth) {
142
- newWidths = calculateNewWidths(newWidths);
143
- }
144
- columns.forEach((col, idx) => {
145
- const oldWidth = columnsWidths[idx];
146
- const newWidth = newWidths[idx];
147
- col.width = newWidth;
148
- this.resizedColumn({ column: col, oldWidth, newWidth });
149
- });
150
- const totalNew = newWidths.reduce((s, w) => s + w, 0);
151
- const tableDelta = totalNew - totalColumnsWidth;
152
- if (tableDelta < 0) {
153
- this.resizeTable(columns[0], tableDelta);
154
- }
155
- this.end();
156
- }
157
- trackColumns(column) {
158
- this.resizedColumns = [];
159
- this.column = column;
160
- }
161
- autoFitStart(columns) {
162
- this.batch = [];
163
- this.resizedColumns = [];
164
- if (columns.length === 0) {
165
- return;
166
- }
167
- const locked = columns[0].isLocked;
168
- this.changes.emit({
169
- type: 'start',
170
- columns,
171
- locked
172
- });
173
- this.changes.emit({
174
- type: 'triggerAutoFit',
175
- columns,
176
- locked
177
- });
178
- }
179
- autoFitBatch(info, onComplete) {
180
- const locked = info.length > 0 ? info[0].column.isLocked : false;
181
- const observables = this.tables
182
- .filter(table => table.locked === locked)
183
- .map(table => table.autoFit(info));
184
- zip(...observables)
185
- .pipe(take(1))
186
- .subscribe(widths => {
187
- this.changes.emit({
188
- columns: info.map(i => i.column),
189
- type: 'autoFitComplete',
190
- widths,
191
- locked
192
- });
193
- if (onComplete) {
194
- onComplete();
195
- }
196
- });
197
- this.batch = null;
198
- }
199
- restoreInitialMaxMinWidths() {
200
- if (this.adjacentColumn) {
201
- this.adjacentColumn.maxResizableWidth = this.adjacentColumn.initialMaxResizableWidth;
202
- this.adjacentColumn.minResizableWidth = this.adjacentColumn.initialMinResizableWidth;
203
- }
204
- if (this.column) {
205
- this.column.maxResizableWidth = this.column.initialMaxResizableWidth;
206
- this.column.minResizableWidth = this.column.initialMinResizableWidth;
207
- }
208
- }
209
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColumnResizingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
210
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColumnResizingService });
211
- }
212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ColumnResizingService, decorators: [{
213
- type: Injectable
214
- }] });
@@ -1,141 +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 { ChangeDetectorRef, Directive, ElementRef, HostBinding, Input, NgZone, Renderer2 } from '@angular/core';
6
- import { Observable } from 'rxjs';
7
- import { resizableColumns } from '../columns/column-common';
8
- import { ColumnResizingService } from './column-resizing.service';
9
- import { filter, tap, map, switchMap, bufferCount } from 'rxjs/operators';
10
- import { ContextService } from '../common/provider.service';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "./column-resizing.service";
13
- import * as i2 from "../common/provider.service";
14
- /**
15
- * @hidden
16
- */
17
- const columnsToResize = ({ columns }) => Math.max(1, resizableColumns(columns).filter(c => !c.isColumnGroup).length);
18
- /**
19
- * @hidden
20
- */
21
- const row = selector => element => element.querySelector(selector);
22
- /**
23
- * @hidden
24
- */
25
- const headerRow = index => element => element.querySelectorAll('thead>tr')[index];
26
- /**
27
- * @hidden
28
- */
29
- const cell = (index, selector = 'td') => element => element.querySelectorAll(`${selector}:not(.k-group-cell):not(.k-hierarchy-cell)`)[index];
30
- /**
31
- * @hidden
32
- */
33
- const offsetWidth = element => element.offsetWidth;
34
- /**
35
- * @hidden
36
- */
37
- const pipe = (...fns) => data => fns.reduce((state, fn) => state ? fn(state) : 0, data);
38
- /**
39
- * @hidden
40
- */
41
- export class TableDirective {
42
- element;
43
- renderer;
44
- service;
45
- zone;
46
- cdr;
47
- ctx;
48
- locked = false;
49
- virtualColumns;
50
- get minWidth() {
51
- return this.firstResize ? 0 : null;
52
- }
53
- firstResize = false;
54
- subscription;
55
- autoFitSubscription;
56
- constructor(element, renderer, service, zone, cdr, ctx) {
57
- this.element = element;
58
- this.renderer = renderer;
59
- this.service = service;
60
- this.zone = zone;
61
- this.cdr = cdr;
62
- this.ctx = ctx;
63
- }
64
- ngOnInit() {
65
- const obs = this.service
66
- .changes.pipe(filter(e => this.locked === e.locked));
67
- this.subscription = obs.pipe(filter(e => e.type === 'start'), tap(this.initState.bind(this)), map(columnsToResize), switchMap((take) => obs.pipe(filter(e => e.type === 'resizeTable'), map(e => e.delta), bufferCount(take)))).subscribe(this.resize.bind(this));
68
- this.autoFitSubscription = this.service
69
- .registerTable({
70
- autoFit: this.autoFitObservable.bind(this),
71
- locked: this.locked
72
- });
73
- }
74
- ngOnDestroy() {
75
- if (this.subscription) {
76
- this.subscription.unsubscribe();
77
- }
78
- if (this.autoFitSubscription) {
79
- this.autoFitSubscription();
80
- this.autoFitSubscription = null;
81
- }
82
- }
83
- initState() {
84
- this.firstResize = true;
85
- const constrainedWithVirtualColumns = this.ctx.grid?.resizable === 'constrained' && this.virtualColumns;
86
- if ((!this.virtualColumns || this.locked) || constrainedWithVirtualColumns) {
87
- this.service.originalWidth = offsetWidth(this.element.nativeElement);
88
- }
89
- }
90
- resize(deltas) {
91
- const constrainedModeNoShift = this.ctx.grid?.resizable === 'constrained' && !this.service.isShiftPressed;
92
- const unconstrainedModeShift = (this.ctx.grid?.resizable === true || this.ctx.grid?.resizable === 'unconstrained') && this.service.isShiftPressed;
93
- const isConstrainedMode = constrainedModeNoShift || unconstrainedModeShift;
94
- if (isConstrainedMode && !this.service.autoFitResize) {
95
- this.renderer.setStyle(this.element.nativeElement, 'width', this.service.originalWidth + 'px');
96
- }
97
- else if (!this.virtualColumns || this.locked) {
98
- const delta = deltas.reduce((sum, item) => sum + item, 0);
99
- const width = this.service.originalWidth + delta;
100
- this.renderer.setStyle(this.element.nativeElement, 'width', width + 'px');
101
- }
102
- this.cdr.detectChanges();
103
- }
104
- autoFitObservable(columnInfo) {
105
- return Observable.create(observer => {
106
- this.zone.runOutsideAngular(() => {
107
- this.renderer.addClass(this.element.nativeElement, 'k-autofitting');
108
- this.cdr.detectChanges();
109
- const widths = columnInfo.map(this.measureColumn.bind(this));
110
- this.renderer.removeClass(this.element.nativeElement, 'k-autofitting');
111
- observer.next(widths);
112
- });
113
- });
114
- }
115
- measureColumn(info) {
116
- const dom = this.element.nativeElement;
117
- const header = pipe(headerRow(info.level), cell(info.headerIndex, 'th'), offsetWidth)(dom);
118
- let data = 0;
119
- if (!info.isParentSpan || (info.isParentSpan && info.isLastInSpan)) {
120
- data = pipe(row('tbody>tr:not(.k-grouping-row):not(.k-grid-norecords)'), cell(info.index), offsetWidth)(dom);
121
- }
122
- const footer = pipe(row('tfoot>tr'), cell(info.index), offsetWidth)(dom);
123
- return Math.max(header, data, footer);
124
- }
125
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
126
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: TableDirective, isStandalone: true, selector: "[kendoGridResizableTable]", inputs: { locked: "locked", virtualColumns: "virtualColumns" }, host: { properties: { "style.min-width": "this.minWidth" } }, ngImport: i0 });
127
- }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TableDirective, decorators: [{
129
- type: Directive,
130
- args: [{
131
- selector: '[kendoGridResizableTable]',
132
- standalone: true
133
- }]
134
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ColumnResizingService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i2.ContextService }], propDecorators: { locked: [{
135
- type: Input
136
- }], virtualColumns: [{
137
- type: Input
138
- }], minWidth: [{
139
- type: HostBinding,
140
- args: ['style.min-width']
141
- }] } });
@@ -1,5 +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
- export {};
@@ -1,106 +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 { Component, forwardRef, ContentChild, SkipSelf, Host, Optional, Input } from '@angular/core';
6
- import { ColumnBase } from './column-base';
7
- import { CellTemplateDirective } from '../rendering/cell-template.directive';
8
- import { IdService } from '../common/id.service';
9
- import { SelectionService } from '../selection/selection.service';
10
- import { CellSelectionService } from '../selection/cell-selection.service';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "../selection/selection.service";
13
- import * as i2 from "../selection/cell-selection.service";
14
- import * as i3 from "./column-base";
15
- import * as i4 from "../common/id.service";
16
- /**
17
- * Represents the checkbox column for selecting rows in the Grid. [See example](slug:grid_row_selection#toc-select-all-checkbox).
18
- *
19
- * Use this column to add checkboxes for row selection.
20
- *
21
- * @example
22
- * ```html
23
- * <kendo-grid [selectable]="{enabled: true, checkboxOnly: true}">
24
- * <kendo-grid-checkbox-column title="Select"></kendo-grid-checkbox-column>
25
- * <kendo-grid-column field="ID"></kendo-grid-column>
26
- * </kendo-grid>
27
- * ```
28
- */
29
- export class CheckboxColumnComponent extends ColumnBase {
30
- selectionService;
31
- cellSelectionService;
32
- parent;
33
- /**
34
- * Shows a select-all `kendoGridSelectAllCheckbox` checkbox in the header.
35
- */
36
- showSelectAll;
37
- /**
38
- * Shows checkboxes for rows marked as non-selectable. By default, these checkboxes are visible and disabled.
39
- */
40
- showDisabledCheckbox = true;
41
- /*
42
- * @hidden
43
- */
44
- isCheckboxColumn = true;
45
- template;
46
- constructor(selectionService, cellSelectionService, parent, idService) {
47
- super(parent, idService);
48
- this.selectionService = selectionService;
49
- this.cellSelectionService = cellSelectionService;
50
- this.parent = parent;
51
- }
52
- get templateRef() {
53
- return this.template ? this.template.templateRef : undefined;
54
- }
55
- /**
56
- * @hidden
57
- */
58
- rowSelectable(rowIdx) {
59
- return !this.selectionService.nonSelectableRows.has(rowIdx) && !this.cellSelectionService.nonSelectableRows.has(rowIdx);
60
- }
61
- /**
62
- * Defines a function to determine the rowspan of each column cell.
63
- */
64
- set cellRowspan(cellRowspan) {
65
- super.cellRowspan = cellRowspan;
66
- }
67
- get cellRowspan() {
68
- return super.cellRowspan;
69
- }
70
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckboxColumnComponent, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i3.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i4.IdService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
71
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CheckboxColumnComponent, isStandalone: true, selector: "kendo-grid-checkbox-column", inputs: { showSelectAll: "showSelectAll", showDisabledCheckbox: "showDisabledCheckbox" }, providers: [
72
- {
73
- provide: ColumnBase,
74
- useExisting: forwardRef(() => CheckboxColumnComponent)
75
- }
76
- ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
77
- }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CheckboxColumnComponent, decorators: [{
79
- type: Component,
80
- args: [{
81
- providers: [
82
- {
83
- provide: ColumnBase,
84
- useExisting: forwardRef(() => CheckboxColumnComponent)
85
- }
86
- ],
87
- selector: 'kendo-grid-checkbox-column',
88
- template: ``,
89
- standalone: true
90
- }]
91
- }], ctorParameters: () => [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i3.ColumnBase, decorators: [{
92
- type: SkipSelf
93
- }, {
94
- type: Host
95
- }, {
96
- type: Optional
97
- }] }, { type: i4.IdService, decorators: [{
98
- type: Optional
99
- }] }], propDecorators: { showSelectAll: [{
100
- type: Input
101
- }], showDisabledCheckbox: [{
102
- type: Input
103
- }], template: [{
104
- type: ContentChild,
105
- args: [CellTemplateDirective, { static: false }]
106
- }] } });