@progress/kendo-angular-treelist 17.0.0-develop.3 → 17.0.0-develop.31

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 (384) hide show
  1. package/README.md +48 -19
  2. package/binding-directives/base-binding.directive.d.ts +1 -1
  3. package/binding-directives/flat-binding.directive.d.ts +1 -1
  4. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  5. package/column-menu/column-chooser.component.d.ts +1 -1
  6. package/column-menu/column-list.component.d.ts +1 -1
  7. package/column-menu/column-menu-chooser.component.d.ts +1 -1
  8. package/column-menu/column-menu-filter.component.d.ts +1 -1
  9. package/column-menu/column-menu-item-base.d.ts +1 -1
  10. package/column-menu/column-menu-item.component.d.ts +1 -1
  11. package/column-menu/column-menu.component.d.ts +1 -1
  12. package/column-resizing/column-handle.directive.d.ts +1 -1
  13. package/column-resizing/column-resize.interface.d.ts +3 -3
  14. package/column-resizing/table.directive.d.ts +1 -1
  15. package/columns/checkbox-column.component.d.ts +1 -1
  16. package/columns/column-base.d.ts +1 -1
  17. package/columns/column.component.d.ts +1 -1
  18. package/columns/sort-settings.d.ts +2 -2
  19. package/columns/span-column.component.d.ts +13 -13
  20. package/common/create-form-group.d.ts +1 -1
  21. package/common/provider.service.d.ts +0 -1
  22. package/common/remove-confirmation.d.ts +1 -1
  23. package/data/treelist-item.interface.d.ts +1 -1
  24. package/directives.d.ts +7 -4
  25. package/dragdrop/context-types.d.ts +1 -1
  26. package/dragdrop/draggable-column.directive.d.ts +1 -1
  27. package/dragdrop/drop-target.directive.d.ts +1 -1
  28. package/editing/add-command-tool.directive.d.ts +38 -0
  29. package/editing/add-command.directive.d.ts +1 -1
  30. package/editing/cancel-command.directive.d.ts +1 -1
  31. package/editing/cancel-event-args.interface.d.ts +1 -1
  32. package/editing/edit-command.directive.d.ts +1 -1
  33. package/editing/edit.service.d.ts +3 -3
  34. package/editing/remove-command.directive.d.ts +1 -1
  35. package/editing/save-command.directive.d.ts +1 -1
  36. package/editing-directives/create-form-group-args.interface.d.ts +1 -1
  37. package/editing-directives/editing-directive-base.d.ts +1 -1
  38. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  39. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  40. package/editing-directives/row-editing-directive-base.d.ts +0 -1
  41. package/editing-directives/template-editing.directive.d.ts +1 -2
  42. package/{esm2020 → esm2022}/binding-directives/base-binding.directive.mjs +17 -13
  43. package/{esm2020 → esm2022}/binding-directives/data-bound-tree-component.mjs +3 -3
  44. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +29 -21
  45. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +26 -19
  46. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +27 -19
  47. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +28 -16
  48. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  49. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +28 -25
  50. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +23 -22
  51. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  52. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  53. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +67 -42
  54. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  55. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +8 -6
  56. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  57. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +49 -25
  58. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +23 -9
  59. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  60. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +21 -14
  61. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  62. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  63. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +27 -12
  64. package/{esm2020 → esm2022}/columns/column-base.mjs +140 -72
  65. package/{esm2020 → esm2022}/columns/column-group.component.mjs +24 -20
  66. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  67. package/{esm2020 → esm2022}/columns/column.component.mjs +56 -38
  68. package/{esm2020 → esm2022}/columns/columns-container.mjs +14 -13
  69. package/{esm2020 → esm2022}/columns/command-column.component.mjs +11 -9
  70. package/{esm2020 → esm2022}/columns/rowreorder-column.component.mjs +13 -12
  71. package/{esm2020 → esm2022}/columns/span-column.component.mjs +64 -29
  72. package/{esm2020 → esm2022}/common/column-info.service.mjs +8 -9
  73. package/esm2022/common/dom-events.service.mjs +24 -0
  74. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  75. package/{esm2020 → esm2022}/common/option-changes.service.mjs +5 -7
  76. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  77. package/{esm2020 → esm2022}/common/provider.service.mjs +8 -6
  78. package/{esm2020 → esm2022}/common/single-popup.service.mjs +19 -8
  79. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  80. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  81. package/{esm2020 → esm2022}/data/data.collection.mjs +45 -23
  82. package/{esm2020 → esm2022}/directives.mjs +8 -2
  83. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  84. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  85. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  86. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  87. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  88. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  89. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  90. package/esm2022/editing/add-command-tool.directive.mjs +63 -0
  91. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +10 -6
  92. package/{esm2020 → esm2022}/editing/base-command.directive.mjs +9 -8
  93. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +10 -6
  94. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +20 -4
  95. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +10 -6
  96. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  97. package/{esm2020 → esm2022}/editing/edit.service.mjs +18 -13
  98. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +10 -6
  99. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +10 -6
  100. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -7
  101. package/{esm2020 → esm2022}/editing-directives/flat-edit.service.mjs +1 -0
  102. package/{esm2020 → esm2022}/editing-directives/hierarchy-edit.service.mjs +1 -0
  103. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +8 -3
  104. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +8 -3
  105. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +3 -3
  106. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +9 -3
  107. package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
  108. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +10 -9
  109. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  110. package/{esm2020 → esm2022}/excel/excel.component.mjs +71 -22
  111. package/{esm2020 → esm2022}/excel/excel.module.mjs +5 -4
  112. package/{esm2020 → esm2022}/excel/excel.service.mjs +7 -8
  113. package/{esm2020 → esm2022}/expand-state/expand-event.mjs +12 -0
  114. package/{esm2020 → esm2022}/expand-state/expand-state.service.mjs +5 -7
  115. package/{esm2020 → esm2022}/expand-state/expandable-tree-component.mjs +3 -3
  116. package/{esm2020 → esm2022}/expand-state/expandable.directive.mjs +23 -19
  117. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +18 -7
  118. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +31 -24
  119. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +15 -13
  120. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +5 -4
  121. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +11 -10
  122. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  123. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +54 -34
  124. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  125. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  126. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
  127. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
  128. package/esm2022/filtering/cell/row-filtering.module.mjs +77 -0
  129. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -18
  130. package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -39
  131. package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
  132. package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
  133. package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +21 -13
  134. package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +11 -8
  135. package/{esm2020 → esm2022}/filtering/filter.service.mjs +7 -9
  136. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +22 -15
  137. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +21 -5
  138. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +22 -21
  139. package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +28 -16
  140. package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +4 -3
  141. package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +9 -7
  142. package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
  143. package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +20 -8
  144. package/esm2022/filtering/menu/filter-menu.module.mjs +80 -0
  145. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  146. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
  147. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
  148. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +12 -5
  149. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
  150. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  151. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  152. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  153. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  154. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  155. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  156. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  157. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  158. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  159. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  160. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  161. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  169. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  170. package/{esm2020 → esm2022}/filtering/shared-filtering.module.mjs +18 -18
  171. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  172. package/{esm2020 → esm2022}/index.mjs +3 -0
  173. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  174. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  175. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  176. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  177. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  178. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  179. package/esm2022/localization/messages.mjs +410 -0
  180. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
  181. package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
  182. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  183. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
  184. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  185. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
  186. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
  187. package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
  188. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  189. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
  190. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  191. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +44 -24
  192. package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
  193. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  194. package/{esm2020 → esm2022}/pager/pager-context.service.mjs +6 -4
  195. package/{esm2020 → esm2022}/pager/pager-element.component.mjs +24 -16
  196. package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
  197. package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
  198. package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +14 -9
  199. package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +19 -9
  200. package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
  201. package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +6 -5
  202. package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
  203. package/{esm2020 → esm2022}/pager/pager.component.mjs +84 -70
  204. package/esm2022/pager/pager.module.mjs +43 -0
  205. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  206. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  207. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  208. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  209. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
  210. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +6 -5
  211. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  212. package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
  213. package/esm2022/rendering/body.module.mjs +41 -0
  214. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  215. package/{esm2020 → esm2022}/rendering/cell.component.mjs +41 -25
  216. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
  217. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  218. package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
  219. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
  220. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +11 -6
  221. package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
  222. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  223. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +47 -28
  224. package/{esm2020 → esm2022}/rendering/header/header.module.mjs +4 -4
  225. package/{esm2020 → esm2022}/rendering/list.component.mjs +80 -40
  226. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  227. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +45 -19
  228. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  229. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  230. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
  231. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
  232. package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
  233. package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
  234. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
  235. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
  236. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  237. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  238. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
  239. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  240. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
  241. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
  242. package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
  243. package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
  244. package/{esm2020 → esm2022}/selection/selection.service.mjs +15 -14
  245. package/{esm2020 → esm2022}/shared.module.mjs +4 -4
  246. package/{esm2020 → esm2022}/treelist.component.mjs +474 -394
  247. package/esm2022/treelist.module.mjs +178 -0
  248. package/excel/excel-command-tool.directive.d.ts +41 -0
  249. package/excel/excel.component.d.ts +1 -1
  250. package/excel/excel.module.d.ts +3 -2
  251. package/expand-state/expandable.directive.d.ts +1 -1
  252. package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +4012 -2474
  253. package/filtering/base-filter-cell.component.d.ts +5 -1
  254. package/filtering/boolean-filter.component.d.ts +2 -7
  255. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  256. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  257. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  258. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  259. package/filtering/cell/filter-cell.component.d.ts +1 -1
  260. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  261. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  262. package/filtering/date-filter.component.d.ts +2 -11
  263. package/filtering/filter-host.directive.d.ts +2 -2
  264. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  265. package/filtering/filter-input.directive.d.ts +1 -1
  266. package/filtering/filter-row.component.d.ts +1 -2
  267. package/filtering/filterable.d.ts +1 -1
  268. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  269. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  270. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  271. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  272. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  273. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  274. package/filtering/menu/filter-menu.component.d.ts +1 -4
  275. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  276. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  277. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  278. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  279. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  280. package/filtering/numeric-filter.component.d.ts +2 -11
  281. package/filtering/operators/filter-operator.base.d.ts +1 -1
  282. package/filtering/string-filter.component.d.ts +2 -11
  283. package/index.d.ts +3 -0
  284. package/layout/resizable.directive.d.ts +1 -1
  285. package/localization/messages.d.ts +1 -1
  286. package/navigation/focusable.directive.d.ts +1 -1
  287. package/navigation/logical-cell.directive.d.ts +1 -1
  288. package/navigation/logical-row.directive.d.ts +1 -1
  289. package/package.json +27 -32
  290. package/pager/pager-context.service.d.ts +1 -1
  291. package/pager/pager-next-buttons.component.d.ts +1 -1
  292. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  293. package/pager/pager-page-sizes.component.d.ts +1 -1
  294. package/pager/pager-settings.d.ts +1 -1
  295. package/pager/pager.component.d.ts +1 -1
  296. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  297. package/pdf/pdf-margin.interface.d.ts +1 -1
  298. package/pdf/pdf.component.d.ts +1 -7
  299. package/pdf/pdf.module.d.ts +3 -2
  300. package/rendering/body.module.d.ts +6 -5
  301. package/rendering/cell.component.d.ts +2 -1
  302. package/rendering/common/col-group.component.d.ts +1 -1
  303. package/rendering/common/row-class.d.ts +2 -2
  304. package/rendering/common/spacer.component.d.ts +1 -1
  305. package/rendering/header/header.component.d.ts +1 -1
  306. package/rendering/list.component.d.ts +1 -1
  307. package/rendering/table-body.component.d.ts +1 -1
  308. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  309. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  310. package/row-reordering/types.d.ts +1 -1
  311. package/schematics/ngAdd/index.js +3 -3
  312. package/scrolling/scroll-sync.service.d.ts +1 -1
  313. package/scrolling/scroller.service.d.ts +1 -1
  314. package/scrolling/scrollmode.d.ts +1 -1
  315. package/selection/is-selected.d.ts +1 -1
  316. package/selection/selectable.directive.d.ts +1 -1
  317. package/treelist.component.d.ts +1 -1
  318. package/treelist.module.d.ts +67 -65
  319. package/utils.d.ts +1 -1
  320. package/esm2020/common/dom-events.service.mjs +0 -26
  321. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
  322. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
  323. package/esm2020/localization/messages.mjs +0 -138
  324. package/esm2020/pager/pager.module.mjs +0 -43
  325. package/esm2020/rendering/body.module.mjs +0 -40
  326. package/esm2020/treelist.module.mjs +0 -176
  327. package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
  328. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  329. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  330. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  331. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  332. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  333. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  334. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  335. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  336. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  337. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  338. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  339. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  340. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  341. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  342. /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
  343. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  344. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  345. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  346. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  347. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  348. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  349. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  350. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  351. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  352. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  353. /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
  354. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  355. /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
  356. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  357. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  358. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  359. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  360. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  361. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  362. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  363. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  364. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  365. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  366. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  367. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  368. /package/{esm2020 → esm2022}/pager/pager-settings.mjs +0 -0
  369. /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
  370. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  371. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  372. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  373. /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
  374. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  375. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  376. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  377. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  378. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  379. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  380. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  381. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  382. /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
  383. /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
  384. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -32,13 +32,10 @@ const stringOperators = localizeOperators({
32
32
  * @hidden
33
33
  */
34
34
  export class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
35
- constructor(filterService, column, localization) {
36
- super(filterService);
37
- this.localization = localization;
38
- this.showOperators = true;
39
- this.defaultOperators = stringOperators(this.localization);
40
- this.column = column;
41
- }
35
+ localization;
36
+ showOperators = true;
37
+ column;
38
+ data;
42
39
  set valueField(value) {
43
40
  this._valueField = value;
44
41
  }
@@ -51,6 +48,13 @@ export class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
51
48
  get currentOperator() {
52
49
  return this.currentFilter ? this.currentFilter.operator : "contains";
53
50
  }
51
+ _valueField;
52
+ constructor(filterService, column, localization) {
53
+ super(filterService);
54
+ this.localization = localization;
55
+ this.defaultOperators = stringOperators(this.localization);
56
+ this.column = column;
57
+ }
54
58
  /**
55
59
  * @hidden
56
60
  */
@@ -59,9 +63,8 @@ export class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
59
63
  const columnName = this.column.title || this.column.field;
60
64
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
61
65
  }
62
- }
63
- AutoCompleteFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ColumnComponent }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
64
- AutoCompleteFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AutoCompleteFilterCellComponent, isStandalone: true, selector: "kendo-treelist-autocomplete-filter-cell", inputs: { showOperators: "showOperators", column: "column", filter: "filter", data: "data", valueField: "valueField" }, usesInheritance: true, ngImport: i0, template: `
66
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.ColumnComponent }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
67
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AutoCompleteFilterCellComponent, isStandalone: true, selector: "kendo-treelist-autocomplete-filter-cell", inputs: { showOperators: "showOperators", column: "column", data: "data", valueField: "valueField" }, usesInheritance: true, ngImport: i0, template: `
65
68
  <kendo-treelist-filter-wrapper-cell
66
69
  [column]="column"
67
70
  [filter]="filter"
@@ -76,7 +79,8 @@ AutoCompleteFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
76
79
  </kendo-autocomplete>
77
80
  </kendo-treelist-filter-wrapper-cell>
78
81
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "component", type: AutoCompleteComponent, selector: "kendo-autocomplete", inputs: ["highlightFirst", "showStickyHeader", "focusableId", "data", "value", "valueField", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "clearButton", "suggest", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoAutoComplete"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }] });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoCompleteFilterCellComponent, decorators: [{
82
+ }
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteFilterCellComponent, decorators: [{
80
84
  type: Component,
81
85
  args: [{
82
86
  selector: 'kendo-treelist-autocomplete-filter-cell',
@@ -102,8 +106,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
102
106
  type: Input
103
107
  }], column: [{
104
108
  type: Input
105
- }], filter: [{
106
- type: Input
107
109
  }], data: [{
108
110
  type: Input
109
111
  }], valueField: [{
@@ -30,6 +30,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
30
30
  * ```
31
31
  */
32
32
  export class BooleanFilterCellComponent extends BooleanFilterComponent {
33
+ cd;
33
34
  constructor(filterService, localization, cd) {
34
35
  super(filterService, localization);
35
36
  this.cd = cd;
@@ -52,9 +53,8 @@ export class BooleanFilterCellComponent extends BooleanFilterComponent {
52
53
  const columnName = this.column.title || this.column.field;
53
54
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
54
55
  }
55
- }
56
- BooleanFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
57
- BooleanFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BooleanFilterCellComponent, isStandalone: true, selector: "kendo-treelist-boolean-filter-cell", usesInheritance: true, ngImport: i0, template: `
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
57
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BooleanFilterCellComponent, isStandalone: true, selector: "kendo-treelist-boolean-filter-cell", usesInheritance: true, ngImport: i0, template: `
58
58
  <kendo-treelist-filter-wrapper-cell
59
59
  [column]="column"
60
60
  [filter]="filter"
@@ -73,7 +73,8 @@ BooleanFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
73
73
  </kendo-dropdownlist>
74
74
  </kendo-treelist-filter-wrapper-cell>
75
75
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "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: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }] });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BooleanFilterCellComponent, decorators: [{
76
+ }
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BooleanFilterCellComponent, decorators: [{
77
78
  type: Component,
78
79
  args: [{
79
80
  selector: 'kendo-treelist-boolean-filter-cell',
@@ -30,15 +30,16 @@ import * as i2 from "@progress/kendo-angular-l10n";
30
30
  * ```
31
31
  */
32
32
  export class DateFilterCellComponent extends DateFilterComponent {
33
+ localization;
34
+ /**
35
+ * Determines if the drop-down filter operators will be displayed. The default value is `true`.
36
+ * @type {boolean}
37
+ * @default true
38
+ */
39
+ showOperators = true;
33
40
  constructor(filterService, localization) {
34
41
  super(filterService, localization);
35
42
  this.localization = localization;
36
- /**
37
- * Determines if the drop-down filter operators will be displayed. The default value is `true`.
38
- * @type {boolean}
39
- * @default true
40
- */
41
- this.showOperators = true;
42
43
  }
43
44
  /**
44
45
  * @hidden
@@ -48,9 +49,8 @@ export class DateFilterCellComponent extends DateFilterComponent {
48
49
  const columnName = this.column.title || this.column.field;
49
50
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
50
51
  }
51
- }
52
- DateFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
53
- DateFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateFilterCellComponent, isStandalone: true, selector: "kendo-treelist-date-filter-cell", inputs: { showOperators: "showOperators" }, usesInheritance: true, ngImport: i0, template: `
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DateFilterCellComponent, isStandalone: true, selector: "kendo-treelist-date-filter-cell", inputs: { showOperators: "showOperators" }, usesInheritance: true, ngImport: i0, template: `
54
54
  <kendo-treelist-filter-wrapper-cell
55
55
  [column]="column"
56
56
  [filter]="filter"
@@ -75,7 +75,8 @@ DateFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
75
75
  </kendo-datepicker>
76
76
  </kendo-treelist-filter-wrapper-cell>
77
77
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "component", type: DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }] });
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateFilterCellComponent, decorators: [{
78
+ }
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DateFilterCellComponent, decorators: [{
79
80
  type: Component,
80
81
  args: [{
81
82
  selector: 'kendo-treelist-date-filter-cell',
@@ -21,10 +21,10 @@ export class FilterCellHostDirective extends FilterHostDirective {
21
21
  }
22
22
  return StringFilterCellComponent;
23
23
  }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellHostDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterCellHostDirective, isStandalone: true, selector: "[kendoFilterCellHost]", usesInheritance: true, ngImport: i0 });
24
26
  }
25
- FilterCellHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellHostDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Directive });
26
- FilterCellHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterCellHostDirective, isStandalone: true, selector: "[kendoFilterCellHost]", usesInheritance: true, ngImport: i0 });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellHostDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellHostDirective, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: '[kendoFilterCellHost]',
@@ -32,41 +32,61 @@ import * as i1 from "@progress/kendo-angular-l10n";
32
32
  * ```
33
33
  */
34
34
  export class FilterCellOperatorsComponent {
35
- constructor(localization) {
36
- this.localization = localization;
37
- this.clearText = 'Clear';
38
- this.filterClearIcon = filterClearIcon;
39
- /**
40
- * @hidden
41
- */
42
- this.filterSVGIcon = filterIcon;
43
- /**
44
- * The filter operators that will be displayed.
45
- */
46
- this.operators = [];
47
- /**
48
- * Determines if the list of operators will be displayed.
49
- * @type {boolean}
50
- * @default true
51
- */
52
- this.showOperators = true;
53
- /**
54
- * Fires when the operator is selected.
55
- * @type {EventEmitter<string>}
56
- */
57
- this.valueChange = new EventEmitter();
58
- /**
59
- * Fires when the **Clear** button is clicked.
60
- * @type {EventEmitter<{}>}
61
- */
62
- this.clear = new EventEmitter();
63
- }
35
+ localization;
36
+ clearText = 'Clear';
37
+ filterClearIcon = filterClearIcon;
38
+ /**
39
+ * @hidden
40
+ */
41
+ filterSVGIcon = filterIcon;
64
42
  /**
65
43
  * @hidden
66
44
  */
67
45
  get hostClasses() {
68
46
  return true;
69
47
  }
48
+ /**
49
+ * @hidden
50
+ */
51
+ dropdown;
52
+ /**
53
+ * The filter operators that will be displayed.
54
+ */
55
+ operators = [];
56
+ /**
57
+ * Determines if the **Clear** button will be displayed.
58
+ * @type {boolean}
59
+ */
60
+ showButton;
61
+ /**
62
+ * Determines if the list of operators will be displayed.
63
+ * @type {boolean}
64
+ * @default true
65
+ */
66
+ showOperators = true;
67
+ /**
68
+ * The selected operator.
69
+ * @type {string}
70
+ */
71
+ value;
72
+ /**
73
+ * The TreeList column which the filter operators are associated with.
74
+ */
75
+ column;
76
+ /**
77
+ * Fires when the operator is selected.
78
+ * @type {EventEmitter<string>}
79
+ */
80
+ valueChange = new EventEmitter();
81
+ /**
82
+ * Fires when the **Clear** button is clicked.
83
+ * @type {EventEmitter<{}>}
84
+ */
85
+ clear = new EventEmitter();
86
+ subscription;
87
+ constructor(localization) {
88
+ this.localization = localization;
89
+ }
70
90
  /**
71
91
  * @hidden
72
92
  */
@@ -122,9 +142,8 @@ export class FilterCellOperatorsComponent {
122
142
  messageFor(token) {
123
143
  return this.localization.get(token);
124
144
  }
125
- }
126
- FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
127
- FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterCellOperatorsComponent, isStandalone: true, selector: "kendo-treelist-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: `
145
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
146
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterCellOperatorsComponent, isStandalone: true, selector: "kendo-treelist-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: `
128
147
  <kendo-dropdownlist
129
148
  #dropdown
130
149
  *ngIf="showOperators"
@@ -152,8 +171,9 @@ FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
152
171
  (click)="clearClick()"
153
172
  (keydown)="clearKeydown($event)">
154
173
  </button>
155
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "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: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
174
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "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: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { 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"] }] });
175
+ }
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
157
177
  type: Component,
158
178
  args: [{
159
179
  selector: 'kendo-treelist-filter-cell-operators',
@@ -13,13 +13,14 @@ import * as i0 from "@angular/core";
13
13
  * - `cellContext`&mdash;An object used to pass context information to built-in directives.
14
14
  */
15
15
  export class FilterCellTemplateDirective {
16
+ templateRef;
16
17
  constructor(templateRef) {
17
18
  this.templateRef = templateRef;
18
19
  }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterCellTemplateDirective, isStandalone: true, selector: "[kendoTreeListFilterCellTemplate]", ngImport: i0 });
19
22
  }
20
- FilterCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
- FilterCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterCellTemplateDirective, isStandalone: true, selector: "[kendoTreeListFilterCellTemplate]", ngImport: i0 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellTemplateDirective, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellTemplateDirective, decorators: [{
23
24
  type: Directive,
24
25
  args: [{
25
26
  selector: '[kendoTreeListFilterCellTemplate]',
@@ -14,27 +14,26 @@ const EMPTY_FILTER_OPERATORS = ['isnull', 'isnotnull', 'isempty', 'isnotempty'];
14
14
  * @hidden
15
15
  */
16
16
  export class FilterCellWrapperComponent extends FilterInputWrapperComponent {
17
- constructor(filterService) {
18
- super(filterService);
19
- this.showOperators = true;
20
- }
21
17
  get hostClasses() {
22
18
  return true;
23
19
  }
24
20
  get overrideBaseClasses() {
25
21
  return false;
26
22
  }
23
+ showOperators = true;
27
24
  get showButton() {
28
25
  const filter = this.currentFilter;
29
26
  return isPresent(filter) && (!isNullOrEmptyString(filter.value) ||
30
27
  EMPTY_FILTER_OPERATORS.indexOf(String(filter.operator)) >= 0);
31
28
  }
29
+ constructor(filterService) {
30
+ super(filterService);
31
+ }
32
32
  filterChange(filter) {
33
33
  this.applyFilter(filter);
34
34
  }
35
- }
36
- FilterCellWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellWrapperComponent, deps: [{ token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
37
- FilterCellWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterCellWrapperComponent, isStandalone: true, selector: "kendo-treelist-filter-wrapper-cell", inputs: { showOperators: "showOperators" }, host: { properties: { "class.k-filtercell-wrapper": "this.hostClasses", "class.k-filtercell": "this.overrideBaseClasses" } }, usesInheritance: true, ngImport: i0, template: `
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellWrapperComponent, deps: [{ token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
36
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterCellWrapperComponent, isStandalone: true, selector: "kendo-treelist-filter-wrapper-cell", inputs: { showOperators: "showOperators" }, host: { properties: { "class.k-filtercell-wrapper": "this.hostClasses", "class.k-filtercell": "this.overrideBaseClasses" } }, usesInheritance: true, ngImport: i0, template: `
38
37
  <ng-content></ng-content>
39
38
  <kendo-treelist-filter-cell-operators
40
39
  [showOperators]="showOperators"
@@ -45,7 +44,8 @@ FilterCellWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
45
44
  [(value)]="currentOperator">
46
45
  </kendo-treelist-filter-cell-operators>
47
46
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellOperatorsComponent, selector: "kendo-treelist-filter-cell-operators", inputs: ["operators", "showButton", "showOperators", "value", "column"], outputs: ["valueChange", "clear"] }] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellWrapperComponent, decorators: [{
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellWrapperComponent, decorators: [{
49
49
  type: Component,
50
50
  args: [{
51
51
  selector: 'kendo-treelist-filter-wrapper-cell',
@@ -15,16 +15,19 @@ import * as i1 from "../../navigation/focus-group";
15
15
  * @hidden
16
16
  */
17
17
  export class FilterCellComponent {
18
- constructor(focusGroup) {
19
- this.focusGroup = focusGroup;
20
- this._templateContext = {};
21
- }
18
+ focusGroup;
19
+ column;
22
20
  get filter() {
23
21
  return this._filter;
24
22
  }
25
23
  set filter(value) {
26
24
  this._filter = cloneFilters(value);
27
25
  }
26
+ _templateContext = {};
27
+ _filter;
28
+ constructor(focusGroup) {
29
+ this.focusGroup = focusGroup;
30
+ }
28
31
  get templateContext() {
29
32
  this._templateContext.$implicit = this.filter;
30
33
  this._templateContext.column = this.column;
@@ -38,9 +41,8 @@ export class FilterCellComponent {
38
41
  get isFilterable() {
39
42
  return isPresent(this.column) && !isNullOrEmptyString(this.column.field) && this.column.filterable;
40
43
  }
41
- }
42
- FilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellComponent, deps: [{ token: i1.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
43
- FilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FilterCellComponent, isStandalone: true, selector: "[kendoTreeListFilterCell]", inputs: { column: "column", filter: "filter" }, ngImport: i0, template: `
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellComponent, deps: [{ token: i1.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
45
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FilterCellComponent, isStandalone: true, selector: "[kendoTreeListFilterCell]", inputs: { column: "column", filter: "filter" }, ngImport: i0, template: `
44
46
  <ng-container *ngIf="isFilterable">
45
47
  <ng-container [ngSwitch]="hasTemplate">
46
48
  <ng-container *ngSwitchCase="false">
@@ -56,7 +58,8 @@ FilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
56
58
  </ng-container>
57
59
  </ng-container>
58
60
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: FilterCellHostDirective, selector: "[kendoFilterCellHost]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterCellComponent, decorators: [{
61
+ }
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCellComponent, decorators: [{
60
63
  type: Component,
61
64
  args: [{
62
65
  selector: '[kendoTreeListFilterCell]',
@@ -30,22 +30,28 @@ import * as i2 from "@progress/kendo-angular-l10n";
30
30
  * ```
31
31
  */
32
32
  export class NumericFilterCellComponent extends NumericFilterComponent {
33
+ localization;
34
+ /**
35
+ * Determines the delay time (in milliseconds) before the filter value is submitted.
36
+ * A value of `0` indicates no delay.
37
+ * @type {boolean}
38
+ * @default 500
39
+ */
40
+ filterDelay = 500;
41
+ /**
42
+ * Determines if the drop-down filter operators will be displayed.
43
+ * @type {boolean}
44
+ * @default true
45
+ */
46
+ showOperators = true;
47
+ /**
48
+ * The placeholder text for the filter input.
49
+ * @type {string}
50
+ */
51
+ placeholder;
33
52
  constructor(filterService, localization) {
34
53
  super(filterService, localization);
35
54
  this.localization = localization;
36
- /**
37
- * Determines the delay time (in milliseconds) before the filter value is submitted.
38
- * A value of `0` indicates no delay.
39
- * @type {boolean}
40
- * @default 500
41
- */
42
- this.filterDelay = 500;
43
- /**
44
- * Determines if the drop-down filter operators will be displayed.
45
- * @type {boolean}
46
- * @default true
47
- */
48
- this.showOperators = true;
49
55
  }
50
56
  /**
51
57
  * @hidden
@@ -55,9 +61,8 @@ export class NumericFilterCellComponent extends NumericFilterComponent {
55
61
  const columnName = this.column.title || this.column.field;
56
62
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
57
63
  }
58
- }
59
- NumericFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
60
- NumericFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NumericFilterCellComponent, isStandalone: true, selector: "kendo-treelist-numeric-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators", placeholder: "placeholder" }, usesInheritance: true, ngImport: i0, template: `
64
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumericFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
65
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: NumericFilterCellComponent, isStandalone: true, selector: "kendo-treelist-numeric-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators", placeholder: "placeholder" }, usesInheritance: true, ngImport: i0, template: `
61
66
  <kendo-treelist-filter-wrapper-cell
62
67
  [column]="column"
63
68
  [filter]="filter"
@@ -81,7 +86,8 @@ NumericFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
81
86
  </kendo-numerictextbox>
82
87
  </kendo-treelist-filter-wrapper-cell>
83
88
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-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: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }] });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumericFilterCellComponent, decorators: [{
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NumericFilterCellComponent, decorators: [{
85
91
  type: Component,
86
92
  args: [{
87
93
  selector: 'kendo-treelist-numeric-filter-cell',
@@ -0,0 +1,77 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from '@angular/core';
6
+ import { NumericFilterCellComponent } from './numeric-filter-cell.component';
7
+ import { StringFilterCellComponent } from './string-filter-cell.component';
8
+ import { BooleanFilterCellComponent } from './boolean-filter-cell.component';
9
+ import { DateFilterCellComponent } from './date-filter-cell.component';
10
+ import { ROW_FILTER_EXPORTS } from '../../directives';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "../filter-row.component";
13
+ import * as i2 from "./filter-cell.component";
14
+ import * as i3 from "./filter-cell-template.directive";
15
+ import * as i4 from "./string-filter-cell.component";
16
+ import * as i5 from "./numeric-filter-cell.component";
17
+ import * as i6 from "./autocomplete-filter-cell.component";
18
+ import * as i7 from "./boolean-filter-cell.component";
19
+ import * as i8 from "./filter-cell-host.directive";
20
+ import * as i9 from "./filter-cell-wrapper.component";
21
+ import * as i10 from "./date-filter-cell.component";
22
+ import * as i11 from "./filter-cell-operators.component";
23
+ import * as i12 from "../operators/contains-filter-operator.component";
24
+ import * as i13 from "../operators/not-contains-filter-operator.component";
25
+ import * as i14 from "../operators/ends-with-filter-operator.component";
26
+ import * as i15 from "../operators/eq-filter-operator.component";
27
+ import * as i16 from "../operators/is-empty-filter-operator.component";
28
+ import * as i17 from "../operators/is-not-empty-filter-operator.component";
29
+ import * as i18 from "../operators/is-not-null-filter-operator.component";
30
+ import * as i19 from "../operators/isnull-filter-operator.component";
31
+ import * as i20 from "../operators/neq-filter-operator.component";
32
+ import * as i21 from "../operators/starts-with-filter-operator.component";
33
+ import * as i22 from "../operators/gt-filter-operator.component";
34
+ import * as i23 from "../operators/gte-filter-operator.component";
35
+ import * as i24 from "../operators/lt-filter-operator.component";
36
+ import * as i25 from "../operators/lte-filter-operator.component";
37
+ import * as i26 from "../operators/after-filter-operator.component";
38
+ import * as i27 from "../operators/after-eq-filter-operator.component";
39
+ import * as i28 from "../operators/before-eq-filter-operator.component";
40
+ import * as i29 from "../operators/before-filter-operator.component";
41
+ import * as i30 from "../filter-input.directive";
42
+ import * as i31 from "../../columns/column.component";
43
+ import * as i32 from "../../columns/column-group.component";
44
+ import * as i33 from "../../navigation/logical-cell.directive";
45
+ import * as i34 from "../../navigation/logical-row.directive";
46
+ import * as i35 from "../../navigation/focusable.directive";
47
+ import * as i36 from "../../rendering/common/col-group.component";
48
+ import * as i37 from "../../layout/resizable.directive";
49
+ import * as i38 from "@progress/kendo-angular-common";
50
+ import * as i39 from "../../rendering/common/field-accessor.pipe";
51
+ import * as i40 from "../../columns/span-column.component";
52
+ import * as i41 from "../../rendering/common/loading.component";
53
+ import * as i42 from "../../columns/checkbox-column.component";
54
+ import * as i43 from "../../columns/rowreorder-column.component";
55
+ const ENTRY_COMPONENTS = [
56
+ StringFilterCellComponent,
57
+ NumericFilterCellComponent,
58
+ BooleanFilterCellComponent,
59
+ DateFilterCellComponent
60
+ ];
61
+ // IMPORTANT: NgModule export kept for backwards compatibility
62
+ /**
63
+ * @hidden
64
+ * @deprecated
65
+ */
66
+ export class RowFilterModule {
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
68
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: RowFilterModule, imports: [i1.FilterRowComponent, i2.FilterCellComponent, i3.FilterCellTemplateDirective, i4.StringFilterCellComponent, i5.NumericFilterCellComponent, i6.AutoCompleteFilterCellComponent, i7.BooleanFilterCellComponent, i8.FilterCellHostDirective, i9.FilterCellWrapperComponent, i10.DateFilterCellComponent, i11.FilterCellOperatorsComponent, i12.ContainsFilterOperatorComponent, i13.DoesNotContainFilterOperatorComponent, i14.EndsWithFilterOperatorComponent, i15.EqualFilterOperatorComponent, i16.IsEmptyFilterOperatorComponent, i17.IsNotEmptyFilterOperatorComponent, i18.IsNotNullFilterOperatorComponent, i19.IsNullFilterOperatorComponent, i20.NotEqualFilterOperatorComponent, i21.StartsWithFilterOperatorComponent, i22.GreaterFilterOperatorComponent, i23.GreaterOrEqualToFilterOperatorComponent, i24.LessFilterOperatorComponent, i25.LessOrEqualToFilterOperatorComponent, i26.AfterFilterOperatorComponent, i27.AfterEqFilterOperatorComponent, i28.BeforeEqFilterOperatorComponent, i29.BeforeFilterOperatorComponent, i30.FilterInputDirective, i31.ColumnComponent, i32.ColumnGroupComponent, i33.LogicalCellDirective, i34.LogicalRowDirective, i35.FocusableDirective, i36.ColGroupComponent, i37.ResizableContainerDirective, i38.TemplateContextDirective, i39.FieldAccessorPipe, i40.SpanColumnComponent, i41.LoadingComponent, i11.FilterCellOperatorsComponent, i42.CheckboxColumnComponent, i43.RowReorderColumnComponent], exports: [i1.FilterRowComponent, i2.FilterCellComponent, i3.FilterCellTemplateDirective, i4.StringFilterCellComponent, i5.NumericFilterCellComponent, i6.AutoCompleteFilterCellComponent, i7.BooleanFilterCellComponent, i8.FilterCellHostDirective, i9.FilterCellWrapperComponent, i10.DateFilterCellComponent, i11.FilterCellOperatorsComponent, i12.ContainsFilterOperatorComponent, i13.DoesNotContainFilterOperatorComponent, i14.EndsWithFilterOperatorComponent, i15.EqualFilterOperatorComponent, i16.IsEmptyFilterOperatorComponent, i17.IsNotEmptyFilterOperatorComponent, i18.IsNotNullFilterOperatorComponent, i19.IsNullFilterOperatorComponent, i20.NotEqualFilterOperatorComponent, i21.StartsWithFilterOperatorComponent, i22.GreaterFilterOperatorComponent, i23.GreaterOrEqualToFilterOperatorComponent, i24.LessFilterOperatorComponent, i25.LessOrEqualToFilterOperatorComponent, i26.AfterFilterOperatorComponent, i27.AfterEqFilterOperatorComponent, i28.BeforeEqFilterOperatorComponent, i29.BeforeFilterOperatorComponent, i30.FilterInputDirective, i31.ColumnComponent, i32.ColumnGroupComponent, i33.LogicalCellDirective, i34.LogicalRowDirective, i35.FocusableDirective, i36.ColGroupComponent, i37.ResizableContainerDirective, i38.TemplateContextDirective, i39.FieldAccessorPipe, i40.SpanColumnComponent, i41.LoadingComponent, i11.FilterCellOperatorsComponent, i42.CheckboxColumnComponent, i43.RowReorderColumnComponent] });
69
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowFilterModule, imports: [i4.StringFilterCellComponent, i5.NumericFilterCellComponent, i6.AutoCompleteFilterCellComponent, i7.BooleanFilterCellComponent, i9.FilterCellWrapperComponent, i10.DateFilterCellComponent, i11.FilterCellOperatorsComponent, i11.FilterCellOperatorsComponent] });
70
+ }
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowFilterModule, decorators: [{
72
+ type: NgModule,
73
+ args: [{
74
+ exports: [...ROW_FILTER_EXPORTS],
75
+ imports: [...ROW_FILTER_EXPORTS]
76
+ }]
77
+ }] });
@@ -32,22 +32,27 @@ import * as i3 from "@angular/forms";
32
32
  * ```
33
33
  */
34
34
  export class StringFilterCellComponent extends StringFilterComponent {
35
+ /**
36
+ * Determines the delay time (in milliseconds) before the filter value is submitted.
37
+ * A value of `0` indicates no delay. The default value is `500`.
38
+ * @type {boolean}
39
+ * @default 500
40
+ */
41
+ filterDelay = 500;
42
+ /**
43
+ * Determines if the drop-down filter operators will be displayed.
44
+ * The default value is `true`.
45
+ * @type {boolean}
46
+ * @default true
47
+ */
48
+ showOperators = true;
49
+ /**
50
+ * The placeholder text for the filter input.
51
+ * @type {string}
52
+ */
53
+ placeholder;
35
54
  constructor(filterService, localization) {
36
55
  super(filterService, localization);
37
- /**
38
- * Determines the delay time (in milliseconds) before the filter value is submitted.
39
- * A value of `0` indicates no delay. The default value is `500`.
40
- * @type {boolean}
41
- * @default 500
42
- */
43
- this.filterDelay = 500;
44
- /**
45
- * Determines if the drop-down filter operators will be displayed.
46
- * The default value is `true`.
47
- * @type {boolean}
48
- * @default true
49
- */
50
- this.showOperators = true;
51
56
  }
52
57
  /**
53
58
  * @hidden
@@ -57,9 +62,8 @@ export class StringFilterCellComponent extends StringFilterComponent {
57
62
  const columnName = this.column.title || this.column.field;
58
63
  return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
59
64
  }
60
- }
61
- StringFilterCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
62
- StringFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StringFilterCellComponent, isStandalone: true, selector: "kendo-treelist-string-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators", placeholder: "placeholder" }, usesInheritance: true, ngImport: i0, template: `
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterCellComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StringFilterCellComponent, isStandalone: true, selector: "kendo-treelist-string-filter-cell", inputs: { filterDelay: "filterDelay", showOperators: "showOperators", placeholder: "placeholder" }, usesInheritance: true, ngImport: i0, template: `
63
67
  <kendo-treelist-filter-wrapper-cell
64
68
  [column]="column"
65
69
  [filter]="filter"
@@ -76,7 +80,8 @@ StringFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
76
80
  [ngModel]="currentFilter?.value" />
77
81
  </kendo-treelist-filter-wrapper-cell>
78
82
  `, isInline: true, dependencies: [{ kind: "component", type: FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "column", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StringFilterCellComponent, decorators: [{
83
+ }
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StringFilterCellComponent, decorators: [{
80
85
  type: Component,
81
86
  args: [{
82
87
  selector: 'kendo-treelist-string-filter-cell',