@progress/kendo-angular-grid 21.4.1 → 22.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 (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,198 +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 { MenuTabbingService } from './menu-tabbing.service';
6
- import { Component, Input, HostBinding } from '@angular/core';
7
- import { StringFilterComponent } from '../string-filter.component';
8
- import { FilterService } from '../filter.service';
9
- import { setFilter, logicOperators } from '../base-filter-cell.component';
10
- import { ContextService } from '../../common/provider.service';
11
- import { FilterMenuDropDownListDirective } from './filter-menu-dropdownlist.directive';
12
- import { StringFilterMenuInputComponent } from './string-filter-menu-input.component';
13
- import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
14
- import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
15
- import * as i0 from "@angular/core";
16
- import * as i1 from "../../common/provider.service";
17
- /**
18
- * Represents a string-filter menu component.
19
- * Use this component to filter string values in the Grid.
20
- * [See example](slug:filter_menu#toc-built-in-filter-menu-components).
21
- *
22
- * @example
23
- * ```html
24
- * <kendo-grid-column field="ProductName">
25
- * <ng-template kendoGridFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
26
- * <kendo-grid-string-filter-menu
27
- * [column]="column"
28
- * [filter]="filter"
29
- * [filterService]="filterService">
30
- * </kendo-grid-string-filter-menu>
31
- * </ng-template>
32
- * </kendo-grid-column>
33
- * ```
34
- * @remarks
35
- * Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link ContainsFilterOperatorComponent}, {@link DoesNotContainFilterOperatorComponent}, {@link StartsWithFilterOperatorComponent}, {@link EndsWithFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}, {@link IsEmptyFilterOperatorComponent}, {@link IsNotEmptyFilterOperatorComponent}.
36
- */
37
- export class StringFilterMenuComponent extends StringFilterComponent {
38
- ctx;
39
- logicOperators = [];
40
- /**
41
- * @hidden
42
- */
43
- get hostClasses() {
44
- return false;
45
- }
46
- /**
47
- * The current menu filter.
48
- * @type {CompositeFilterDescriptor}
49
- */
50
- filter = { filters: [], logic: "and" };
51
- /**
52
- * Determines if the inputs for the second criteria are displayed.
53
- * @default true
54
- */
55
- extra = true;
56
- /**
57
- * Sets to `FilterService` instance that handles changes in the filter descriptor.
58
- */
59
- filterService;
60
- /**
61
- * The placeholder text for the filter input.
62
- * @type {string}
63
- */
64
- placeholder;
65
- /**
66
- * Sets the placeholder text for the second filter input.
67
- * Applies when `extra` is set to `true`.
68
- * @type {string}
69
- */
70
- extraPlaceholder;
71
- /**
72
- * @hidden
73
- */
74
- menuTabbingService;
75
- constructor(ctx) {
76
- super(null, ctx);
77
- this.ctx = ctx;
78
- this.logicOperators = logicOperators(this.ctx.localization);
79
- }
80
- get firstFilter() {
81
- return setFilter(0, this.filter, (this.column || {}).field, this.operator);
82
- }
83
- get secondFilter() {
84
- return setFilter(1, this.filter, (this.column || {}).field, this.operator);
85
- }
86
- logicChange(value) {
87
- this.filter.logic = value;
88
- }
89
- get filterMenuDropDownLabel() {
90
- const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
91
- const columnName = this.column ? this.column.title || this.column.field : '';
92
- return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
93
- }
94
- localizationChange() {
95
- this.logicOperators = logicOperators(this.ctx.localization);
96
- super.localizationChange();
97
- }
98
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterMenuComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
99
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: StringFilterMenuComponent, isStandalone: true, selector: "kendo-grid-string-filter-menu", inputs: { filter: "filter", extra: "extra", filterService: "filterService", placeholder: "placeholder", extraPlaceholder: "extraPlaceholder", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: `
100
- <kendo-grid-string-filter-menu-input
101
- [currentFilter]="firstFilter"
102
- [operators]="operators"
103
- [filterService]="filterService"
104
- [column]="column"
105
- [filter]="filter"
106
- [isFirstDropDown]="true"
107
- [placeholder]="placeholder"
108
- [menuTabbingService]="menuTabbingService">
109
- </kendo-grid-string-filter-menu-input>
110
- @if (extra) {
111
- <kendo-dropdownlist
112
- kendoFilterMenuDropDown
113
- [adaptiveTitle]="ctx.localization.get('adaptiveFilterOperatorsTitle')"
114
- [adaptiveMode]="ctx.grid?.adaptiveMode"
115
- [size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
116
- [filterMenuDropDownLabel]="filterMenuDropDownLabel"
117
- class="k-filter-and"
118
- [data]="logicOperators"
119
- [valuePrimitive]="true" (valueChange)="logicChange($event)"
120
- [value]="filter?.logic"
121
- textField="text"
122
- valueField="value">
123
- </kendo-dropdownlist>
124
- }
125
- @if (extra) {
126
- <kendo-grid-string-filter-menu-input
127
- [operators]="operators"
128
- [currentFilter]="secondFilter"
129
- [filterService]="filterService"
130
- [column]="column"
131
- [filter]="filter"
132
- [placeholder]="extraPlaceholder"
133
- [menuTabbingService]="menuTabbingService">
134
- </kendo-grid-string-filter-menu-input>
135
- }
136
- `, isInline: true, dependencies: [{ kind: "component", type: StringFilterMenuInputComponent, selector: "kendo-grid-string-filter-menu-input", inputs: ["operators", "column", "filter", "operator", "currentFilter", "filterService", "isFirstDropDown", "menuTabbingService", "placeholder"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: ["filterMenuDropDownLabel"] }] });
137
- }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterMenuComponent, decorators: [{
139
- type: Component,
140
- args: [{
141
- selector: 'kendo-grid-string-filter-menu',
142
- template: `
143
- <kendo-grid-string-filter-menu-input
144
- [currentFilter]="firstFilter"
145
- [operators]="operators"
146
- [filterService]="filterService"
147
- [column]="column"
148
- [filter]="filter"
149
- [isFirstDropDown]="true"
150
- [placeholder]="placeholder"
151
- [menuTabbingService]="menuTabbingService">
152
- </kendo-grid-string-filter-menu-input>
153
- @if (extra) {
154
- <kendo-dropdownlist
155
- kendoFilterMenuDropDown
156
- [adaptiveTitle]="ctx.localization.get('adaptiveFilterOperatorsTitle')"
157
- [adaptiveMode]="ctx.grid?.adaptiveMode"
158
- [size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
159
- [filterMenuDropDownLabel]="filterMenuDropDownLabel"
160
- class="k-filter-and"
161
- [data]="logicOperators"
162
- [valuePrimitive]="true" (valueChange)="logicChange($event)"
163
- [value]="filter?.logic"
164
- textField="text"
165
- valueField="value">
166
- </kendo-dropdownlist>
167
- }
168
- @if (extra) {
169
- <kendo-grid-string-filter-menu-input
170
- [operators]="operators"
171
- [currentFilter]="secondFilter"
172
- [filterService]="filterService"
173
- [column]="column"
174
- [filter]="filter"
175
- [placeholder]="extraPlaceholder"
176
- [menuTabbingService]="menuTabbingService">
177
- </kendo-grid-string-filter-menu-input>
178
- }
179
- `,
180
- standalone: true,
181
- imports: [StringFilterMenuInputComponent, DropDownListComponent, FilterMenuDropDownListDirective]
182
- }]
183
- }], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { hostClasses: [{
184
- type: HostBinding,
185
- args: ['class.k-filtercell']
186
- }], filter: [{
187
- type: Input
188
- }], extra: [{
189
- type: Input
190
- }], filterService: [{
191
- type: Input
192
- }], placeholder: [{
193
- type: Input
194
- }], extraPlaceholder: [{
195
- type: Input
196
- }], menuTabbingService: [{
197
- type: Input
198
- }] } });
@@ -1,324 +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, Input, EventEmitter, Output, ViewChild } from '@angular/core';
6
- import { filterBy } from '@progress/kendo-data-query';
7
- import { CheckBoxComponent, TextBoxComponent, TextBoxPrefixTemplateDirective } from '@progress/kendo-angular-inputs';
8
- import { IconWrapperComponent } from '@progress/kendo-angular-icons';
9
- import { searchIcon } from '@progress/kendo-svg-icons';
10
- import { ContextService } from '../common/provider.service';
11
- import { LocalDataChangesService } from '../editing/local-data-changes.service';
12
- import { FormatPipe } from '../rendering/common/format.pipe';
13
- import { isPresent, replaceMessagePlaceholder } from '@progress/kendo-angular-common';
14
- import { FilterInputDirective } from './filter-input.directive';
15
- import * as i0 from "@angular/core";
16
- import * as i1 from "../common/provider.service";
17
- import * as i2 from "../editing/local-data-changes.service";
18
- /**
19
- * @hidden
20
- */
21
- export class MultiCheckboxFilterComponent {
22
- ctx;
23
- dataChangesService;
24
- column;
25
- filterChange = new EventEmitter();
26
- filterInput;
27
- constructor(ctx, dataChangesService) {
28
- this.ctx = ctx;
29
- this.dataChangesService = dataChangesService;
30
- }
31
- listData = [];
32
- searchIcon = searchIcon;
33
- showSelectAll = true;
34
- currentlySelected = new Set();
35
- isSearched = false;
36
- currentFilter;
37
- filterChangeSub;
38
- baseListData = [];
39
- ngOnInit() {
40
- this.initializeData();
41
- this.currentFilter = this.ctx.grid?.filter ?? this.emptyFilter();
42
- this.updateSelectionFromFilter();
43
- if (this.currentFilter) {
44
- this.filterChange.emit(this.currentFilter);
45
- }
46
- }
47
- ngAfterViewInit() {
48
- if (this.filterInput) {
49
- this.filterChangeSub = this.filterInput.change.subscribe(this.onSearch.bind(this));
50
- }
51
- }
52
- ngOnDestroy() {
53
- if (this.filterChangeSub) {
54
- this.filterChangeSub.unsubscribe();
55
- this.filterChangeSub = null;
56
- }
57
- }
58
- isItemSelected(item) {
59
- return this.currentlySelected.has(item);
60
- }
61
- onSearch(value) {
62
- const searchValue = value;
63
- this.isSearched = searchValue.length > 0;
64
- this.showSelectAll = !this.isSearched;
65
- if (!searchValue) {
66
- this.listData = [...this.baseListData];
67
- }
68
- else {
69
- this.listData = filterBy(this.baseListData, { operator: 'contains', value: searchValue });
70
- }
71
- }
72
- handleCheckBoxChange(checkedState, value, selectAllChecked) {
73
- const field = this.column?.field;
74
- if (!field) {
75
- return;
76
- }
77
- if (!this.currentFilter) {
78
- this.currentFilter = this.emptyFilter();
79
- }
80
- const newFilter = this.currentFilter;
81
- const filters = [...newFilter.filters];
82
- const compositeIndex = this.getCompositeFilterIndex(newFilter);
83
- let fieldFilters = [];
84
- if (compositeIndex !== -1 && filters[compositeIndex].filters && !selectAllChecked) {
85
- fieldFilters = [...filters[compositeIndex].filters];
86
- }
87
- if (checkedState && selectAllChecked) {
88
- this.listData.forEach(item => {
89
- if (!fieldFilters.some(f => f.value === item)) {
90
- fieldFilters.push({ field, operator: 'eq', value: item });
91
- }
92
- });
93
- }
94
- else if (!checkedState && selectAllChecked) {
95
- fieldFilters = [];
96
- }
97
- else if (checkedState) {
98
- if (!fieldFilters.some(f => f.value === value)) {
99
- fieldFilters.push({ field, operator: 'eq', value });
100
- }
101
- }
102
- else {
103
- const idx = fieldFilters.findIndex(f => f.value === value);
104
- if (idx > -1) {
105
- fieldFilters.splice(idx, 1);
106
- }
107
- }
108
- if (fieldFilters.length === 0) {
109
- if (compositeIndex !== -1) {
110
- filters.splice(compositeIndex, 1);
111
- }
112
- }
113
- else {
114
- const block = { logic: 'or', filters: fieldFilters };
115
- if (compositeIndex !== -1) {
116
- filters[compositeIndex] = block;
117
- }
118
- else {
119
- filters.push(block);
120
- }
121
- }
122
- newFilter.logic = 'and';
123
- newFilter.filters = filters;
124
- this.currentFilter = newFilter;
125
- this.updateSelectionFromFilter();
126
- this.filterChange.emit(this.currentFilter);
127
- }
128
- get filteredGridData() {
129
- return filterBy(this.gridData, this.ctx.grid?.filter);
130
- }
131
- get selectAllChecked() {
132
- if (!this.listData || this.listData.length === 0) {
133
- return false;
134
- }
135
- const total = this.listData.length;
136
- const selectedInView = this.listData.filter(i => this.currentlySelected.has(i)).length;
137
- if (selectedInView === 0) {
138
- return false;
139
- }
140
- if (selectedInView === total) {
141
- return true;
142
- }
143
- return 'indeterminate';
144
- }
145
- get gridData() {
146
- let data = [];
147
- const isLocalData = isPresent(this.ctx?.dataBindingDirective);
148
- if (isPresent(this.normalizedFilterVariant.data)) {
149
- data = this.normalizedFilterVariant.data;
150
- }
151
- else if (isLocalData) {
152
- data = this.dataChangesService.data;
153
- }
154
- else {
155
- data = this.ctx.grid?.flatData;
156
- }
157
- return data || [];
158
- }
159
- get normalizedFilterVariant() {
160
- const defaultMultiCheckboxSettings = { variant: 'multiCheckbox', search: true };
161
- if (typeof this.column?.filterVariant === 'string') {
162
- return {
163
- variant: this.column.filterVariant,
164
- search: true
165
- };
166
- }
167
- return Object.assign(defaultMultiCheckboxSettings, this.column?.filterVariant);
168
- }
169
- get selectedItemsMessage() {
170
- const localizationMsg = this.messageFor('multiCheckboxFilterSelectedItemsCount') || '';
171
- return replaceMessagePlaceholder(localizationMsg, 'selectedItemsCount', this.currentlySelected.size.toString());
172
- }
173
- messageFor(key) {
174
- return this.ctx.localization.get(key);
175
- }
176
- getUniqueDateValues(data) {
177
- return data.reduce((acc, current) => {
178
- const value = current[this.column.field];
179
- if (value instanceof Date && acc.findIndex(d => d.getTime() === value.getTime()) === -1) {
180
- acc.push(value);
181
- }
182
- return acc;
183
- }, []);
184
- }
185
- initializeData() {
186
- if (!this.column) {
187
- this.baseListData = [];
188
- return;
189
- }
190
- const isDate = this.column.filter === 'date';
191
- if (isDate) {
192
- const dates = this.getUniqueDateValues(this.gridData);
193
- const sortedDates = [...dates].sort((a, b) => a - b);
194
- this.baseListData = sortedDates;
195
- }
196
- else {
197
- const field = this.column.field;
198
- const mapped = this.gridData.map(item => item?.[field]);
199
- this.baseListData = [...new Set(mapped)].sort((a, b) => {
200
- if (a > b) {
201
- return 1;
202
- }
203
- if (a < b) {
204
- return -1;
205
- }
206
- return 0;
207
- });
208
- }
209
- this.listData = [...this.baseListData];
210
- }
211
- emptyFilter() { return { filters: [], logic: 'and' }; }
212
- getCompositeFilterIndex(filter) {
213
- const field = this.column?.field;
214
- return filter.filters.findIndex((f) => f.filters?.length && f.filters[0].field === field);
215
- }
216
- updateSelectionFromFilter() {
217
- this.currentlySelected.clear();
218
- if (!this.currentFilter || !this.column?.field) {
219
- return;
220
- }
221
- const idx = this.getCompositeFilterIndex(this.currentFilter);
222
- if (idx === -1) {
223
- return;
224
- }
225
- const block = this.currentFilter.filters[idx];
226
- if (block && Array.isArray(block.filters)) {
227
- block.filters.forEach((f) => {
228
- if (f.field === this.column.field && f.operator === 'eq') {
229
- this.currentlySelected.add(f.value);
230
- }
231
- });
232
- }
233
- }
234
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiCheckboxFilterComponent, deps: [{ token: i1.ContextService }, { token: i2.LocalDataChangesService }], target: i0.ɵɵFactoryTarget.Component });
235
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: MultiCheckboxFilterComponent, isStandalone: true, selector: "kendo-grid-multicheckbox-filter", inputs: { column: "column" }, outputs: { filterChange: "filterChange" }, viewQueries: [{ propertyName: "filterInput", first: true, predicate: FilterInputDirective, descendants: true }], ngImport: i0, template: `
236
- @if (normalizedFilterVariant.search) {
237
- <kendo-textbox
238
- kendoFilterInput
239
- class="k-searchbox"
240
- [placeholder]="messageFor('multiCheckboxFilterSearchPlaceholder')">
241
- <ng-template kendoTextBoxPrefixTemplate>
242
- <kendo-icon-wrapper innerCssClass="k-input-icon" name="search" [svgIcon]="searchIcon"></kendo-icon-wrapper>
243
- </ng-template>
244
- </kendo-textbox>
245
- }
246
- <ul class="k-reset k-multicheck-wrap">
247
- @if (showSelectAll) {
248
- <li class="k-item k-check-all-wrap">
249
- <label class="k-label k-checkbox-label" role="option">
250
- <kendo-checkbox
251
- [checkedState]="selectAllChecked"
252
- (checkedStateChange)="handleCheckBoxChange($event, null, true)">
253
- </kendo-checkbox>
254
- <span>{{ messageFor('multiCheckboxFilterSelectAllLabel') }}</span>
255
- </label>
256
- </li>
257
- }
258
- @for (item of listData; track item) {
259
- <li class="k-item">
260
- <label class="k-label k-checkbox-label" role="option">
261
- <kendo-checkbox
262
- [checkedState]="isItemSelected(item)"
263
- (checkedStateChange)="handleCheckBoxChange($event, item)">
264
- </kendo-checkbox>
265
- <span>{{ item | format: column.format }}</span>
266
- </label>
267
- </li>
268
- }
269
- </ul>
270
- <div class="k-filter-selected-items">{{selectedItemsMessage}}</div>
271
- `, isInline: true, dependencies: [{ kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: FormatPipe, name: "format" }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }] });
272
- }
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MultiCheckboxFilterComponent, decorators: [{
274
- type: Component,
275
- args: [{
276
- selector: 'kendo-grid-multicheckbox-filter',
277
- template: `
278
- @if (normalizedFilterVariant.search) {
279
- <kendo-textbox
280
- kendoFilterInput
281
- class="k-searchbox"
282
- [placeholder]="messageFor('multiCheckboxFilterSearchPlaceholder')">
283
- <ng-template kendoTextBoxPrefixTemplate>
284
- <kendo-icon-wrapper innerCssClass="k-input-icon" name="search" [svgIcon]="searchIcon"></kendo-icon-wrapper>
285
- </ng-template>
286
- </kendo-textbox>
287
- }
288
- <ul class="k-reset k-multicheck-wrap">
289
- @if (showSelectAll) {
290
- <li class="k-item k-check-all-wrap">
291
- <label class="k-label k-checkbox-label" role="option">
292
- <kendo-checkbox
293
- [checkedState]="selectAllChecked"
294
- (checkedStateChange)="handleCheckBoxChange($event, null, true)">
295
- </kendo-checkbox>
296
- <span>{{ messageFor('multiCheckboxFilterSelectAllLabel') }}</span>
297
- </label>
298
- </li>
299
- }
300
- @for (item of listData; track item) {
301
- <li class="k-item">
302
- <label class="k-label k-checkbox-label" role="option">
303
- <kendo-checkbox
304
- [checkedState]="isItemSelected(item)"
305
- (checkedStateChange)="handleCheckBoxChange($event, item)">
306
- </kendo-checkbox>
307
- <span>{{ item | format: column.format }}</span>
308
- </label>
309
- </li>
310
- }
311
- </ul>
312
- <div class="k-filter-selected-items">{{selectedItemsMessage}}</div>
313
- `,
314
- standalone: true,
315
- imports: [CheckBoxComponent, TextBoxComponent, TextBoxPrefixTemplateDirective, IconWrapperComponent, FormatPipe, FilterInputDirective]
316
- }]
317
- }], ctorParameters: () => [{ type: i1.ContextService }, { type: i2.LocalDataChangesService }], propDecorators: { column: [{
318
- type: Input
319
- }], filterChange: [{
320
- type: Output
321
- }], filterInput: [{
322
- type: ViewChild,
323
- args: [FilterInputDirective]
324
- }] } });
@@ -1,145 +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
- // eslint-disable no-access-missing-member
6
- import { Directive, Input } from '@angular/core';
7
- import { ColumnComponent } from '../columns/column.component';
8
- import { FilterService } from './filter.service';
9
- import { BaseFilterCellComponent, localizeOperators } from './base-filter-cell.component';
10
- import { isNullOrEmptyString, extractFormat } from '../utils';
11
- import { toJSON } from './operators/filter-operator.base';
12
- import { ContextService } from '../common/provider.service';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "./filter.service";
15
- import * as i2 from "../common/provider.service";
16
- const numericOperators = localizeOperators({
17
- "filterEqOperator": "eq",
18
- "filterNotEqOperator": "neq",
19
- "filterGteOperator": "gte",
20
- "filterGtOperator": "gt",
21
- "filterLteOperator": "lte",
22
- "filterLtOperator": "lt",
23
- "filterIsNullOperator": "isnull",
24
- "filterIsNotNullOperator": "isnotnull"
25
- });
26
- /**
27
- * @hidden
28
- * Represents a base numeric filter component.
29
- */
30
- export class NumericFilterComponent extends BaseFilterCellComponent {
31
- ctx;
32
- /**
33
- * Specifies the column for this filter.
34
- * @type {ColumnComponent}
35
- */
36
- column;
37
- /**
38
- * Sets the default filter operator.
39
- * @type {string}
40
- * @default 'eq'
41
- */
42
- operator = "eq";
43
- /**
44
- * Sets the value used to increment or decrement the component value.
45
- * @type {numeric}
46
- * @default 1
47
- */
48
- step = 1;
49
- /**
50
- * Sets the smallest valid value.
51
- * @type {number}
52
- */
53
- min;
54
- /**
55
- * Sets the greatest valid value.
56
- * @type {number}
57
- */
58
- max;
59
- /**
60
- * When `true`, shows the **Up** and **Down** spin buttons.
61
- * @type {boolean}
62
- * @default true
63
- */
64
- spinners = true;
65
- /**
66
- * Sets the number precision for the value when focused.
67
- * If the user enters a number with greater precision, the value is rounded.
68
- * @type {number}
69
- */
70
- decimals;
71
- /**
72
- * Gets the number format used when the component is not focused.
73
- * Uses `column.format` if set.
74
- */
75
- get format() {
76
- return !isNullOrEmptyString(this._format) ? this._format : this.columnFormat;
77
- }
78
- set format(value) {
79
- this._format = value;
80
- }
81
- /**
82
- * Gets the current filter for the column field.
83
- * @readonly
84
- * @type {FilterDescriptor}
85
- */
86
- get currentFilter() {
87
- return this.filterByField(this.column.field);
88
- }
89
- /**
90
- * Gets the current filter operator for the column field.
91
- * @readonly
92
- * @type {string}
93
- */
94
- get currentOperator() {
95
- return this.currentFilter ? this.currentFilter.operator : this.operator;
96
- }
97
- get columnFormat() {
98
- return this.column && !isNullOrEmptyString(this.column.format) ?
99
- extractFormat(this.column.format) : "n2";
100
- }
101
- _format;
102
- subscription;
103
- constructor(filterService, ctx) {
104
- super(filterService);
105
- this.ctx = ctx;
106
- this.defaultOperators = numericOperators(this.ctx.localization);
107
- }
108
- ngOnInit() {
109
- this.subscription = this.ctx.localization.changes.subscribe(this.localizationChange.bind(this));
110
- }
111
- ngOnDestroy() {
112
- if (this.subscription) {
113
- this.subscription.unsubscribe();
114
- }
115
- super.ngOnDestroy();
116
- }
117
- localizationChange() {
118
- this.defaultOperators = numericOperators(this.ctx.localization);
119
- if (this.operatorList.length) {
120
- this.operators = toJSON(this.operatorList.toArray());
121
- }
122
- }
123
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
124
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: NumericFilterComponent, inputs: { column: "column", operator: "operator", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format" }, usesInheritance: true, ngImport: i0 });
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterComponent, decorators: [{
127
- type: Directive,
128
- args: [{}]
129
- }], ctorParameters: () => [{ type: i1.FilterService }, { type: i2.ContextService }], propDecorators: { column: [{
130
- type: Input
131
- }], operator: [{
132
- type: Input
133
- }], step: [{
134
- type: Input
135
- }], min: [{
136
- type: Input
137
- }], max: [{
138
- type: Input
139
- }], spinners: [{
140
- type: Input
141
- }], decimals: [{
142
- type: Input
143
- }], format: [{
144
- type: Input
145
- }] } });