@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,242 +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, Output, EventEmitter, HostBinding, ViewChild } from '@angular/core';
6
- import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
7
- import { Keys, replaceMessagePlaceholder } from '@progress/kendo-angular-common';
8
- import { SizingOptionsService } from '../../layout/sizing-options.service';
9
- import { filterClearIcon, filterIcon } from '@progress/kendo-svg-icons';
10
- import { ContextService } from '../../common/provider.service';
11
- import { ColumnComponent } from '../../columns/column.component';
12
- import { FocusableDirective } from '../../navigation/focusable.directive';
13
- import { ButtonComponent } from '@progress/kendo-angular-buttons';
14
- import * as i0 from "@angular/core";
15
- import * as i1 from "../../common/provider.service";
16
- import * as i2 from "../../layout/sizing-options.service";
17
- /**
18
- * Represents a component that displays filter operators.
19
- * Use this component to show a drop-down list of filter operators and a clear button.
20
- *
21
- * @example
22
- * ```html
23
- * <kendo-grid [data]="gridData">
24
- * <kendo-grid-column field="ProductName">
25
- * <ng-template kendoGridFilterCellTemplate let-filter let-column="column">
26
- * <input />
27
- * <kendo-grid-filter-cell-operators
28
- * [operators]="[{text: 'Equals', value: 'eq'}]">
29
- * </kendo-grid-filter-cell-operators>
30
- * </ng-template>
31
- * </kendo-grid-column>
32
- * <kendo-grid>
33
- * ```
34
- */
35
- export class FilterCellOperatorsComponent {
36
- ctx;
37
- sizing;
38
- clearText = 'Clear';
39
- filterClearIcon = filterClearIcon;
40
- /**
41
- * @hidden
42
- */
43
- filterSVGIcon = filterIcon;
44
- /**
45
- * @hidden
46
- */
47
- size = 'medium';
48
- /**
49
- * @hidden
50
- */
51
- get hostClasses() {
52
- return true;
53
- }
54
- /**
55
- * @hidden
56
- */
57
- dropdown;
58
- /**
59
- * Specifies the filter operators to display.
60
- * @type {Array<{ text: string, value: string }>}
61
- */
62
- operators = [];
63
- /**
64
- * Determines if the **Clear** button is displayed.
65
- * @type {boolean}
66
- */
67
- showButton;
68
- /**
69
- * Determines if the list of operators is displayed.
70
- * @type {boolean}
71
- * @default true
72
- */
73
- showOperators = true;
74
- /**
75
- * Represents the selected operator value.
76
- * @type {string}
77
- */
78
- value;
79
- /**
80
- * Sets the column instance for which the filter operators are displayed.
81
- * @type {ColumnComponent}
82
- */
83
- column;
84
- /**
85
- * Fires when the operator value changes.
86
- * @type {EventEmitter<string>}
87
- */
88
- valueChange = new EventEmitter();
89
- /**
90
- * Fires when the **Clear** button is clicked.
91
- * @type {EventEmitter<undefined>}
92
- */
93
- clear = new EventEmitter();
94
- subs;
95
- constructor(ctx, sizing) {
96
- this.ctx = ctx;
97
- this.sizing = sizing;
98
- }
99
- /**
100
- * @hidden
101
- */
102
- onChange(dataItem) {
103
- this.valueChange.emit(dataItem);
104
- }
105
- /**
106
- * @hidden
107
- */
108
- clearClick() {
109
- this.clear.emit();
110
- return false;
111
- }
112
- /**
113
- * @hidden
114
- */
115
- clearKeydown(args) {
116
- if (args.code === Keys.Enter || args.code === Keys.NumpadEnter || args.code === Keys.Space) {
117
- this.clear.emit();
118
- }
119
- }
120
- /**
121
- * @hidden
122
- */
123
- dropdownKeydown(args) {
124
- if (args.defaultPrevented) {
125
- return;
126
- }
127
- if ((args.code === Keys.Enter || args.code === Keys.NumpadEnter) && !this.dropdown.isOpen) {
128
- this.dropdown.toggle(true);
129
- args.preventDefault();
130
- }
131
- }
132
- ngOnInit() {
133
- this.subs = this.ctx.localization.changes.subscribe(() => this.clearText = this.ctx.localization.get('filterClearButton'));
134
- this.subs.add(this.sizing.changes.subscribe((size) => this.size = size));
135
- }
136
- ngOnDestroy() {
137
- if (this.subs) {
138
- this.subs.unsubscribe();
139
- }
140
- }
141
- /**
142
- * @hidden
143
- */
144
- get columnLabel() {
145
- const localizationMsg = this.ctx.localization.get('filterCellOperatorLabel') || '';
146
- const columnName = this.column.title || this.column.field;
147
- return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
148
- }
149
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.ContextService }, { token: i2.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
150
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FilterCellOperatorsComponent, isStandalone: true, selector: "kendo-grid-filter-cell-operators", inputs: { operators: "operators", showButton: "showButton", showOperators: "showOperators", value: "value", column: "column" }, outputs: { valueChange: "valueChange", clear: "clear" }, host: { properties: { "class.k-filtercell-operator": "this.hostClasses" } }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true }], ngImport: i0, template: `
151
- @if (showOperators) {
152
- <kendo-dropdownlist
153
- #dropdown
154
- kendoGridFocusable
155
- [attr.aria-label]="column && columnLabel"
156
- [data]="operators"
157
- class="k-dropdown-operator"
158
- (valueChange)="onChange($event)"
159
- [value]="value"
160
- icon="filter"
161
- [svgIcon]="filterSVGIcon"
162
- [valuePrimitive]="true"
163
- textField="text"
164
- [popupSettings]="{ width: 'auto' }"
165
- valueField="value"
166
- [size]="size"
167
- (keydown)="dropdownKeydown($event)">
168
- </kendo-dropdownlist>
169
- }
170
- @if (showButton) {
171
- <button type="button"
172
- kendoButton
173
- kendoGridFocusable
174
- icon="filter-clear"
175
- [svgIcon]="filterClearIcon"
176
- [title]="clearText"
177
- [size]="size"
178
- (click)="clearClick()"
179
- (keydown)="clearKeydown($event)"></button>
180
- }
181
- `, isInline: true, dependencies: [{ 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: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
182
- }
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
184
- type: Component,
185
- args: [{
186
- selector: 'kendo-grid-filter-cell-operators',
187
- template: `
188
- @if (showOperators) {
189
- <kendo-dropdownlist
190
- #dropdown
191
- kendoGridFocusable
192
- [attr.aria-label]="column && columnLabel"
193
- [data]="operators"
194
- class="k-dropdown-operator"
195
- (valueChange)="onChange($event)"
196
- [value]="value"
197
- icon="filter"
198
- [svgIcon]="filterSVGIcon"
199
- [valuePrimitive]="true"
200
- textField="text"
201
- [popupSettings]="{ width: 'auto' }"
202
- valueField="value"
203
- [size]="size"
204
- (keydown)="dropdownKeydown($event)">
205
- </kendo-dropdownlist>
206
- }
207
- @if (showButton) {
208
- <button type="button"
209
- kendoButton
210
- kendoGridFocusable
211
- icon="filter-clear"
212
- [svgIcon]="filterClearIcon"
213
- [title]="clearText"
214
- [size]="size"
215
- (click)="clearClick()"
216
- (keydown)="clearKeydown($event)"></button>
217
- }
218
- `,
219
- standalone: true,
220
- imports: [DropDownListComponent, FocusableDirective, ButtonComponent]
221
- }]
222
- }], ctorParameters: () => [{ type: i1.ContextService }, { type: i2.SizingOptionsService }], propDecorators: { hostClasses: [{
223
- type: HostBinding,
224
- args: ['class.k-filtercell-operator']
225
- }], dropdown: [{
226
- type: ViewChild,
227
- args: ['dropdown', { static: false }]
228
- }], operators: [{
229
- type: Input
230
- }], showButton: [{
231
- type: Input
232
- }], showOperators: [{
233
- type: Input
234
- }], value: [{
235
- type: Input
236
- }], column: [{
237
- type: Input
238
- }], valueChange: [{
239
- type: Output
240
- }], clear: [{
241
- type: Output
242
- }] } });
@@ -1,46 +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 { Directive, TemplateRef, Optional } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents the filter-cell template directive.
9
- * Use this directive to customize the content of the filter cell.
10
- * To define the filter cell template, nest an `<ng-template>` tag with the
11
- * `kendoGridFilterCellTemplate` directive inside a `<kendo-grid-column>` tag ([see example]({% slug filter_row %}#toc-custom-filters)).
12
- *
13
- * The template context is set to the current data item and the following additional fields are passed:
14
- * - `column`&mdash;Defines an instance of the [`ColumnComponent`]({% slug api_grid_columncomponent %}) option. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
15
- * - `filter`&mdash;The provided filter descriptors. Use it as an alias for a template variable by utilizing the `let-filter="filter"` syntax.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-grid-column field="CategoryID" title="Category">
20
- * <ng-template kendoGridFilterCellTemplate
21
- * let-column="column"
22
- * let-filter="filter"
23
- * >
24
- * ...
25
- * </ng-template>
26
- * ...
27
- * </kendo-grid-column>
28
- * ```
29
- */
30
- export class FilterCellTemplateDirective {
31
- templateRef;
32
- constructor(templateRef) {
33
- this.templateRef = templateRef;
34
- }
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
36
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: FilterCellTemplateDirective, isStandalone: true, selector: "[kendoGridFilterCellTemplate]", ngImport: i0 });
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellTemplateDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: '[kendoGridFilterCellTemplate]',
42
- standalone: true
43
- }]
44
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
45
- type: Optional
46
- }] }] });
@@ -1,74 +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, HostBinding } from '@angular/core';
6
- import { FilterService } from '../filter.service';
7
- import { isPresent, isNullOrEmptyString } from '../../utils';
8
- import { FilterInputWrapperComponent } from "../filter-input-wrapper.component";
9
- import { FilterCellOperatorsComponent } from './filter-cell-operators.component';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "../filter.service";
12
- const EMPTY_FILTER_OPERATORS = ['isnull', 'isnotnull', 'isempty', 'isnotempty'];
13
- /**
14
- * @hidden
15
- */
16
- export class FilterCellWrapperComponent extends FilterInputWrapperComponent {
17
- get hostClasses() {
18
- return true;
19
- }
20
- get overrideBaseClasses() {
21
- return false;
22
- }
23
- showOperators = true;
24
- get showButton() {
25
- const filter = this.currentFilter;
26
- return isPresent(filter) && (!isNullOrEmptyString(filter.value) ||
27
- EMPTY_FILTER_OPERATORS.indexOf(String(filter.operator)) >= 0);
28
- }
29
- constructor(filterService) {
30
- super(filterService);
31
- }
32
- filterChange(filter) {
33
- this.applyFilter(filter);
34
- }
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellWrapperComponent, deps: [{ token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
36
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FilterCellWrapperComponent, isStandalone: true, selector: "kendo-grid-filter-wrapper-cell", inputs: { showOperators: "showOperators" }, host: { properties: { "class.k-filtercell-wrapper": "this.hostClasses", "class.k-filtercell": "this.overrideBaseClasses" } }, usesInheritance: true, ngImport: i0, template: `
37
- <ng-content></ng-content>
38
- <kendo-grid-filter-cell-operators
39
- [showOperators]="showOperators"
40
- [column]="column"
41
- [operators]="operators"
42
- (clear)="onClear()"
43
- [showButton]="showButton"
44
- [(value)]="currentOperator">
45
- </kendo-grid-filter-cell-operators>
46
- `, isInline: true, dependencies: [{ kind: "component", type: FilterCellOperatorsComponent, selector: "kendo-grid-filter-cell-operators", inputs: ["operators", "showButton", "showOperators", "value", "column"], outputs: ["valueChange", "clear"] }] });
47
- }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellWrapperComponent, decorators: [{
49
- type: Component,
50
- args: [{
51
- selector: 'kendo-grid-filter-wrapper-cell',
52
- template: `
53
- <ng-content></ng-content>
54
- <kendo-grid-filter-cell-operators
55
- [showOperators]="showOperators"
56
- [column]="column"
57
- [operators]="operators"
58
- (clear)="onClear()"
59
- [showButton]="showButton"
60
- [(value)]="currentOperator">
61
- </kendo-grid-filter-cell-operators>
62
- `,
63
- standalone: true,
64
- imports: [FilterCellOperatorsComponent]
65
- }]
66
- }], ctorParameters: () => [{ type: i1.FilterService }], propDecorators: { hostClasses: [{
67
- type: HostBinding,
68
- args: ['class.k-filtercell-wrapper']
69
- }], overrideBaseClasses: [{
70
- type: HostBinding,
71
- args: ['class.k-filtercell']
72
- }], showOperators: [{
73
- type: Input
74
- }] } });
@@ -1,91 +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, HostBinding, Input } from '@angular/core';
6
- import { ColumnComponent } from '../../columns/column.component';
7
- import { isPresent, isNullOrEmptyString } from '../../utils';
8
- import { cloneFilters } from '../../common/filter-descriptor-differ';
9
- import { FilterCellHostDirective } from './filter-cell-host.directive';
10
- import { NgTemplateOutlet } from '@angular/common';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * @hidden
14
- */
15
- export class FilterCellComponent {
16
- hostRole = 'gridcell';
17
- column;
18
- get filter() {
19
- return this._filter;
20
- }
21
- set filter(value) {
22
- this._filter = cloneFilters(value);
23
- }
24
- size = 'medium';
25
- _templateContext = {};
26
- _filter;
27
- get templateContext() {
28
- this._templateContext.column = this.column;
29
- this._templateContext.filter = this.filter;
30
- this._templateContext['$implicit'] = this.filter;
31
- return this._templateContext;
32
- }
33
- get hasTemplate() {
34
- return isPresent(this.column.filterCellTemplateRef);
35
- }
36
- get isFilterable() {
37
- return isPresent(this.column) && !isNullOrEmptyString(this.column.field) && this.column.filterable;
38
- }
39
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
40
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FilterCellComponent, isStandalone: true, selector: "[kendoGridFilterCell]", inputs: { column: "column", filter: "filter", size: "size" }, host: { properties: { "attr.role": "this.hostRole" } }, ngImport: i0, template: `
41
- @if (isFilterable) {
42
- @switch (hasTemplate) {
43
- @case (false) {
44
- <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>
45
- }
46
- @case (true) {
47
- @if (column.filterCellTemplateRef) {
48
- <ng-template
49
- [ngTemplateOutlet]="column.filterCellTemplateRef"
50
- [ngTemplateOutletContext]="templateContext">
51
- </ng-template>
52
- }
53
- }
54
- }
55
- }
56
- `, isInline: true, dependencies: [{ kind: "directive", type: FilterCellHostDirective, selector: "[kendoFilterCellHost]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
57
- }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FilterCellComponent, decorators: [{
59
- type: Component,
60
- args: [{
61
- selector: '[kendoGridFilterCell]',
62
- template: `
63
- @if (isFilterable) {
64
- @switch (hasTemplate) {
65
- @case (false) {
66
- <ng-container kendoFilterCellHost [column]="column" [filter]="filter"></ng-container>
67
- }
68
- @case (true) {
69
- @if (column.filterCellTemplateRef) {
70
- <ng-template
71
- [ngTemplateOutlet]="column.filterCellTemplateRef"
72
- [ngTemplateOutletContext]="templateContext">
73
- </ng-template>
74
- }
75
- }
76
- }
77
- }
78
- `,
79
- standalone: true,
80
- imports: [FilterCellHostDirective, NgTemplateOutlet]
81
- }]
82
- }], propDecorators: { hostRole: [{
83
- type: HostBinding,
84
- args: ['attr.role']
85
- }], column: [{
86
- type: Input
87
- }], filter: [{
88
- type: Input
89
- }], size: [{
90
- type: Input
91
- }] } });
@@ -1,155 +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 } from '@angular/core';
6
- import { FilterService } from '../filter.service';
7
- import { NumericFilterComponent } from '../numeric-filter.component';
8
- import { SizingOptionsService } from '../../layout/sizing-options.service';
9
- import { ContextService } from '../../common/provider.service';
10
- import { FilterInputDirective } from '../filter-input.directive';
11
- import { FocusableDirective } from '../../navigation/focusable.directive';
12
- import { FilterCellWrapperComponent } from './filter-cell-wrapper.component';
13
- import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent } from '@progress/kendo-angular-inputs';
14
- import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
15
- import * as i0 from "@angular/core";
16
- import * as i1 from "../filter.service";
17
- import * as i2 from "../../common/provider.service";
18
- import * as i3 from "../../layout/sizing-options.service";
19
- /**
20
- * Represents a filter cell component for filtering of numeric columns.
21
- * See the article about the [built-in filter components](slug:filter_row#toc-built-in-filter-row-components).
22
- *
23
- * @example
24
- * ```html
25
- * <kendo-grid-column field="UnitPrice">
26
- * <ng-template kendoGridFilterCellTemplate let-filter let-column="column">
27
- * <kendo-grid-numeric-filter-cell
28
- * [column]="column"
29
- * [filter]="filter">
30
- * </kendo-grid-numeric-filter-cell>
31
- * </ng-template>
32
- * </kendo-grid-column>
33
- * ```
34
- * @remarks
35
- * Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link GreaterFilterOperatorComponent}, {@link GreaterOrEqualToFilterOperatorComponent}, {@link LessFilterOperatorComponent}, {@link LessOrEqualToFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}.
36
- */
37
- export class NumericFilterCellComponent extends NumericFilterComponent {
38
- ctx;
39
- /**
40
- * Sets the delay time in milliseconds before the filter value is submitted.
41
- * A value of `0` means no delay.
42
- * @type {number}
43
- * @default 500
44
- */
45
- filterDelay = 500;
46
- /**
47
- * Determines if the drop-down filter operators are displayed.
48
- * @type {boolean}
49
- * @default true
50
- */
51
- showOperators = true;
52
- /**
53
- * The placeholder text for the filter input.
54
- * @type {string}
55
- */
56
- placeholder;
57
- subs;
58
- constructor(filterService, ctx, sizingService) {
59
- super(filterService, ctx);
60
- this.ctx = ctx;
61
- this.subs = sizingService.changes.subscribe((size) => this.size = size);
62
- }
63
- ngOnDestroy() {
64
- this.subs && this.subs.unsubscribe();
65
- }
66
- /**
67
- * @hidden
68
- */
69
- messageFor(key) {
70
- return this.ctx.localization.get(key);
71
- }
72
- /**
73
- * @hidden
74
- */
75
- get columnLabel() {
76
- const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
77
- const columnName = this.column.title || this.column.field;
78
- return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
79
- }
80
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ContextService }, { token: i3.SizingOptionsService }], target: i0.ɵɵFactoryTarget.Component });
81
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NumericFilterCellComponent, isStandalone: true, selector: "kendo-grid-numeric-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators", placeholder: "placeholder" }, usesInheritance: true, ngImport: i0, template: `
82
- <kendo-grid-filter-wrapper-cell
83
- [column]="column"
84
- [filter]="filter"
85
- [operators]="operators"
86
- [defaultOperator]="operator"
87
- [showOperators]="showOperators"
88
- >
89
- <kendo-numerictextbox
90
- kendoGridFocusable
91
- kendoFilterInput
92
- [columnLabel]="columnLabel"
93
- [filterDelay]="filterDelay"
94
- [autoCorrect]="true"
95
- [value]="currentFilter?.value"
96
- [format]="format"
97
- [decimals]="decimals"
98
- [spinners]="spinners"
99
- [min]="min"
100
- [max]="max"
101
- [size]="size"
102
- [step]="step"
103
- [placeholder]="placeholder">
104
- <kendo-numerictextbox-messages
105
- [increment]="messageFor('filterNumericIncrement')"
106
- [decrement]="messageFor('filterNumericDecrement')"
107
- ></kendo-numerictextbox-messages>
108
- </kendo-numerictextbox>
109
- </kendo-grid-filter-wrapper-cell>
110
- `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-grid-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }] });
111
- }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterCellComponent, decorators: [{
113
- type: Component,
114
- args: [{
115
- selector: 'kendo-grid-numeric-filter-cell',
116
- template: `
117
- <kendo-grid-filter-wrapper-cell
118
- [column]="column"
119
- [filter]="filter"
120
- [operators]="operators"
121
- [defaultOperator]="operator"
122
- [showOperators]="showOperators"
123
- >
124
- <kendo-numerictextbox
125
- kendoGridFocusable
126
- kendoFilterInput
127
- [columnLabel]="columnLabel"
128
- [filterDelay]="filterDelay"
129
- [autoCorrect]="true"
130
- [value]="currentFilter?.value"
131
- [format]="format"
132
- [decimals]="decimals"
133
- [spinners]="spinners"
134
- [min]="min"
135
- [max]="max"
136
- [size]="size"
137
- [step]="step"
138
- [placeholder]="placeholder">
139
- <kendo-numerictextbox-messages
140
- [increment]="messageFor('filterNumericIncrement')"
141
- [decrement]="messageFor('filterNumericDecrement')"
142
- ></kendo-numerictextbox-messages>
143
- </kendo-numerictextbox>
144
- </kendo-grid-filter-wrapper-cell>
145
- `,
146
- standalone: true,
147
- imports: [FilterCellWrapperComponent, NumericTextBoxComponent, FocusableDirective, FilterInputDirective, NumericTextBoxCustomMessagesComponent]
148
- }]
149
- }], ctorParameters: () => [{ type: i1.FilterService }, { type: i2.ContextService }, { type: i3.SizingOptionsService }], propDecorators: { filterDelay: [{
150
- type: Input
151
- }], showOperators: [{
152
- type: Input
153
- }], placeholder: [{
154
- type: Input
155
- }] } });