@progress/kendo-angular-treelist 21.4.1-develop.1 → 22.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/binding-directives/base-binding.directive.d.ts +1 -1
  2. package/column-menu/column-menu-item-base.d.ts +1 -1
  3. package/columns/column-base.d.ts +1 -1
  4. package/editing-directives/editing-directive-base.d.ts +1 -1
  5. package/editing-directives/row-editing-directive-base.d.ts +1 -1
  6. package/fesm2022/progress-kendo-angular-treelist.mjs +519 -519
  7. package/filtering/base-filter-cell.component.d.ts +1 -1
  8. package/filtering/boolean-filter.component.d.ts +1 -1
  9. package/filtering/date-filter.component.d.ts +1 -1
  10. package/filtering/filter-host.directive.d.ts +1 -1
  11. package/filtering/filter-input-wrapper.component.d.ts +1 -1
  12. package/filtering/numeric-filter.component.d.ts +1 -1
  13. package/filtering/operators/filter-operator.base.d.ts +1 -1
  14. package/filtering/string-filter.component.d.ts +1 -1
  15. package/localization/messages.d.ts +1 -1
  16. package/package.json +23 -31
  17. package/schematics/ngAdd/index.js +3 -3
  18. package/esm2022/binding-directives/base-binding.directive.mjs +0 -180
  19. package/esm2022/binding-directives/data-bound-tree-component.mjs +0 -18
  20. package/esm2022/binding-directives/flat-binding.directive.mjs +0 -130
  21. package/esm2022/binding-directives/hierarchy-binding.directive.mjs +0 -109
  22. package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +0 -45
  23. package/esm2022/column-menu/column-chooser.component.mjs +0 -221
  24. package/esm2022/column-menu/column-list-kb-nav.service.mjs +0 -40
  25. package/esm2022/column-menu/column-list.component.mjs +0 -380
  26. package/esm2022/column-menu/column-locked-change-event.mjs +0 -21
  27. package/esm2022/column-menu/column-menu-autosize-all.component.mjs +0 -78
  28. package/esm2022/column-menu/column-menu-autosize.component.mjs +0 -86
  29. package/esm2022/column-menu/column-menu-chooser.component.mjs +0 -164
  30. package/esm2022/column-menu/column-menu-container.component.mjs +0 -58
  31. package/esm2022/column-menu/column-menu-expandable-item.interface.mjs +0 -5
  32. package/esm2022/column-menu/column-menu-filter.component.mjs +0 -141
  33. package/esm2022/column-menu/column-menu-item-base.mjs +0 -41
  34. package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +0 -43
  35. package/esm2022/column-menu/column-menu-item.component.mjs +0 -329
  36. package/esm2022/column-menu/column-menu-item.directive.mjs +0 -147
  37. package/esm2022/column-menu/column-menu-lock.component.mjs +0 -112
  38. package/esm2022/column-menu/column-menu-settings.interface.mjs +0 -5
  39. package/esm2022/column-menu/column-menu-sort.component.mjs +0 -115
  40. package/esm2022/column-menu/column-menu-template.directive.mjs +0 -47
  41. package/esm2022/column-menu/column-menu.component.mjs +0 -470
  42. package/esm2022/column-menu/column-menu.service.mjs +0 -70
  43. package/esm2022/column-menu/column-visibility-change-event.mjs +0 -19
  44. package/esm2022/column-menu/utils.mjs +0 -44
  45. package/esm2022/column-resizing/column-handle.directive.mjs +0 -226
  46. package/esm2022/column-resizing/column-resize.interface.mjs +0 -5
  47. package/esm2022/column-resizing/column-resizing.service.mjs +0 -143
  48. package/esm2022/column-resizing/table.directive.mjs +0 -130
  49. package/esm2022/columns/checkbox-column.component.mjs +0 -88
  50. package/esm2022/columns/column-base.mjs +0 -319
  51. package/esm2022/columns/column-common.mjs +0 -73
  52. package/esm2022/columns/column-group.component.mjs +0 -115
  53. package/esm2022/columns/column-list.mjs +0 -94
  54. package/esm2022/columns/column.component.mjs +0 -165
  55. package/esm2022/columns/columns-container.mjs +0 -90
  56. package/esm2022/columns/command-column.component.mjs +0 -77
  57. package/esm2022/columns/rowreorder-column.component.mjs +0 -57
  58. package/esm2022/columns/sort-settings.mjs +0 -17
  59. package/esm2022/columns/span-column.component.mjs +0 -201
  60. package/esm2022/common/cell-click-event-args.interface.mjs +0 -5
  61. package/esm2022/common/column-info.service.mjs +0 -54
  62. package/esm2022/common/create-form-group.mjs +0 -5
  63. package/esm2022/common/default-track-by.mjs +0 -13
  64. package/esm2022/common/dom-events.service.mjs +0 -24
  65. package/esm2022/common/error-messages.mjs +0 -15
  66. package/esm2022/common/filter-descriptor-differ.mjs +0 -69
  67. package/esm2022/common/filter-operator.interface.mjs +0 -5
  68. package/esm2022/common/id.service.mjs +0 -34
  69. package/esm2022/common/option-changes.service.mjs +0 -24
  70. package/esm2022/common/pager-settings.mjs +0 -19
  71. package/esm2022/common/preventable-event.mjs +0 -28
  72. package/esm2022/common/provider.service.mjs +0 -34
  73. package/esm2022/common/remove-confirmation.mjs +0 -5
  74. package/esm2022/common/single-popup.service.mjs +0 -132
  75. package/esm2022/common/sort.service.mjs +0 -14
  76. package/esm2022/data/change-event-args.interface.mjs +0 -5
  77. package/esm2022/data/change-notification.service.mjs +0 -30
  78. package/esm2022/data/data-item.interface.mjs +0 -5
  79. package/esm2022/data/data.collection.mjs +0 -503
  80. package/esm2022/data/treelist-item.interface.mjs +0 -5
  81. package/esm2022/directives.mjs +0 -291
  82. package/esm2022/dragdrop/column-reorder-config.mjs +0 -5
  83. package/esm2022/dragdrop/column-reorder-event.mjs +0 -31
  84. package/esm2022/dragdrop/column-reorder.service.mjs +0 -20
  85. package/esm2022/dragdrop/common.mjs +0 -69
  86. package/esm2022/dragdrop/context-types.mjs +0 -5
  87. package/esm2022/dragdrop/drag-and-drop.service.mjs +0 -65
  88. package/esm2022/dragdrop/drag-hint.service.mjs +0 -137
  89. package/esm2022/dragdrop/draggable-column.directive.mjs +0 -141
  90. package/esm2022/dragdrop/drop-cue.service.mjs +0 -46
  91. package/esm2022/dragdrop/drop-target.directive.mjs +0 -71
  92. package/esm2022/editing/add-command-tool.directive.mjs +0 -60
  93. package/esm2022/editing/add-command.directive.mjs +0 -96
  94. package/esm2022/editing/add-event-args.interface.mjs +0 -5
  95. package/esm2022/editing/base-command.directive.mjs +0 -95
  96. package/esm2022/editing/cancel-command.directive.mjs +0 -97
  97. package/esm2022/editing/cancel-event-args.interface.mjs +0 -5
  98. package/esm2022/editing/cell-close-event.mjs +0 -34
  99. package/esm2022/editing/edit-command.directive.mjs +0 -96
  100. package/esm2022/editing/edit-event-args.interface.mjs +0 -5
  101. package/esm2022/editing/edit-template.directive.mjs +0 -45
  102. package/esm2022/editing/edit.service.mjs +0 -174
  103. package/esm2022/editing/remove-command.directive.mjs +0 -96
  104. package/esm2022/editing/remove-event-args.interface.mjs +0 -5
  105. package/esm2022/editing/save-command.directive.mjs +0 -96
  106. package/esm2022/editing/save-event-args.interface.mjs +0 -5
  107. package/esm2022/editing-directives/create-form-group-args.interface.mjs +0 -5
  108. package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
  109. package/esm2022/editing-directives/editing-directive-base.mjs +0 -137
  110. package/esm2022/editing-directives/flat-edit.service.mjs +0 -52
  111. package/esm2022/editing-directives/hierarchy-edit.service.mjs +0 -48
  112. package/esm2022/editing-directives/in-cell-editing.directive.mjs +0 -89
  113. package/esm2022/editing-directives/local-edit.service.mjs +0 -28
  114. package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -61
  115. package/esm2022/editing-directives/row-editing-directive-base.mjs +0 -39
  116. package/esm2022/editing-directives/template-editing.directive.mjs +0 -68
  117. package/esm2022/editing-directives/utils.mjs +0 -41
  118. package/esm2022/excel/excel-command-tool.directive.mjs +0 -64
  119. package/esm2022/excel/excel-command.directive.mjs +0 -97
  120. package/esm2022/excel/excel-export-data.interface.mjs +0 -5
  121. package/esm2022/excel/excel-export-event.mjs +0 -15
  122. package/esm2022/excel/excel.component.mjs +0 -277
  123. package/esm2022/excel/excel.module.mjs +0 -45
  124. package/esm2022/excel/excel.service.mjs +0 -34
  125. package/esm2022/expand-state/expand-event.mjs +0 -30
  126. package/esm2022/expand-state/expand-state.service.mjs +0 -38
  127. package/esm2022/expand-state/expandable-tree-component.mjs +0 -18
  128. package/esm2022/expand-state/expandable.directive.mjs +0 -119
  129. package/esm2022/filtering/base-filter-cell.component.mjs +0 -172
  130. package/esm2022/filtering/boolean-filter.component.mjs +0 -91
  131. package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +0 -113
  132. package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +0 -107
  133. package/esm2022/filtering/cell/date-filter-cell.component.mjs +0 -132
  134. package/esm2022/filtering/cell/filter-cell-component.factory.mjs +0 -19
  135. package/esm2022/filtering/cell/filter-cell-host.directive.mjs +0 -33
  136. package/esm2022/filtering/cell/filter-cell-operators.component.mjs +0 -235
  137. package/esm2022/filtering/cell/filter-cell-template.directive.mjs +0 -46
  138. package/esm2022/filtering/cell/filter-cell-wrapper.component.mjs +0 -74
  139. package/esm2022/filtering/cell/filter-cell.component.mjs +0 -91
  140. package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +0 -143
  141. package/esm2022/filtering/cell/string-filter-cell.component.mjs +0 -115
  142. package/esm2022/filtering/date-filter.component.mjs +0 -176
  143. package/esm2022/filtering/filter-component.interface.mjs +0 -5
  144. package/esm2022/filtering/filter-host.directive.mjs +0 -56
  145. package/esm2022/filtering/filter-input-wrapper.component.mjs +0 -119
  146. package/esm2022/filtering/filter-input.directive.mjs +0 -114
  147. package/esm2022/filtering/filter-row.component.mjs +0 -79
  148. package/esm2022/filtering/filter.service.mjs +0 -42
  149. package/esm2022/filtering/filterable.mjs +0 -16
  150. package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +0 -168
  151. package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +0 -174
  152. package/esm2022/filtering/menu/date-filter-menu.component.mjs +0 -207
  153. package/esm2022/filtering/menu/filter-menu-component.factory.mjs +0 -19
  154. package/esm2022/filtering/menu/filter-menu-container.component.mjs +0 -299
  155. package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +0 -44
  156. package/esm2022/filtering/menu/filter-menu-host.directive.mjs +0 -46
  157. package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +0 -136
  158. package/esm2022/filtering/menu/filter-menu-template.directive.mjs +0 -43
  159. package/esm2022/filtering/menu/filter-menu.component.mjs +0 -202
  160. package/esm2022/filtering/menu/filter-radio-button.directive.mjs +0 -34
  161. package/esm2022/filtering/menu/menu-tabbing.service.mjs +0 -22
  162. package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +0 -152
  163. package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +0 -224
  164. package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +0 -105
  165. package/esm2022/filtering/menu/string-filter-menu.component.mjs +0 -183
  166. package/esm2022/filtering/numeric-filter.component.mjs +0 -144
  167. package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +0 -72
  168. package/esm2022/filtering/operators/after-filter-operator.component.mjs +0 -72
  169. package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +0 -72
  170. package/esm2022/filtering/operators/before-filter-operator.component.mjs +0 -72
  171. package/esm2022/filtering/operators/contains-filter-operator.component.mjs +0 -64
  172. package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +0 -64
  173. package/esm2022/filtering/operators/eq-filter-operator.component.mjs +0 -112
  174. package/esm2022/filtering/operators/filter-operator.base.mjs +0 -98
  175. package/esm2022/filtering/operators/gt-filter-operator.component.mjs +0 -63
  176. package/esm2022/filtering/operators/gte-filter-operator.component.mjs +0 -63
  177. package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +0 -64
  178. package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +0 -64
  179. package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +0 -112
  180. package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +0 -112
  181. package/esm2022/filtering/operators/lt-filter-operator.component.mjs +0 -63
  182. package/esm2022/filtering/operators/lte-filter-operator.component.mjs +0 -63
  183. package/esm2022/filtering/operators/neq-filter-operator.component.mjs +0 -112
  184. package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +0 -64
  185. package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +0 -64
  186. package/esm2022/filtering/string-filter.component.mjs +0 -89
  187. package/esm2022/index.mjs +0 -146
  188. package/esm2022/layout/browser-support.service.mjs +0 -85
  189. package/esm2022/layout/resizable.directive.mjs +0 -83
  190. package/esm2022/layout/resize.service.mjs +0 -29
  191. package/esm2022/layout/responsive.service.mjs +0 -34
  192. package/esm2022/layout/row-sync.mjs +0 -47
  193. package/esm2022/localization/custom-messages.component.mjs +0 -53
  194. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  195. package/esm2022/localization/messages.mjs +0 -510
  196. package/esm2022/navigation/default-focusable-element.mjs +0 -47
  197. package/esm2022/navigation/focus-group.mjs +0 -105
  198. package/esm2022/navigation/focus-root.mjs +0 -50
  199. package/esm2022/navigation/focusable-element.interface.mjs +0 -5
  200. package/esm2022/navigation/focusable.directive.mjs +0 -174
  201. package/esm2022/navigation/item-map.mjs +0 -59
  202. package/esm2022/navigation/logical-cell.directive.mjs +0 -187
  203. package/esm2022/navigation/logical-cell.interface.mjs +0 -5
  204. package/esm2022/navigation/logical-row.directive.mjs +0 -135
  205. package/esm2022/navigation/logical-row.interface.mjs +0 -5
  206. package/esm2022/navigation/model-cell.mjs +0 -37
  207. package/esm2022/navigation/navigation-cell.interface.mjs +0 -5
  208. package/esm2022/navigation/navigation-change.interface.mjs +0 -5
  209. package/esm2022/navigation/navigation-cursor.mjs +0 -176
  210. package/esm2022/navigation/navigation-metadata.mjs +0 -31
  211. package/esm2022/navigation/navigation-mode.mjs +0 -5
  212. package/esm2022/navigation/navigation-model.mjs +0 -126
  213. package/esm2022/navigation/navigation-row.interface.mjs +0 -5
  214. package/esm2022/navigation/navigation.service.mjs +0 -695
  215. package/esm2022/navigation/treelist-focusable-element.mjs +0 -28
  216. package/esm2022/package-metadata.mjs +0 -16
  217. package/esm2022/pdf/export-element.mjs +0 -129
  218. package/esm2022/pdf/pdf-command-tool.directive.mjs +0 -68
  219. package/esm2022/pdf/pdf-command.directive.mjs +0 -101
  220. package/esm2022/pdf/pdf-export-event.mjs +0 -18
  221. package/esm2022/pdf/pdf-margin.component.mjs +0 -33
  222. package/esm2022/pdf/pdf-margin.interface.mjs +0 -5
  223. package/esm2022/pdf/pdf-template.directive.mjs +0 -45
  224. package/esm2022/pdf/pdf.component.mjs +0 -269
  225. package/esm2022/pdf/pdf.module.mjs +0 -48
  226. package/esm2022/pdf/pdf.service.mjs +0 -40
  227. package/esm2022/pdf/treelist-query.mjs +0 -45
  228. package/esm2022/progress-kendo-angular-treelist.mjs +0 -8
  229. package/esm2022/rendering/cell-template.directive.mjs +0 -49
  230. package/esm2022/rendering/cell.component.mjs +0 -383
  231. package/esm2022/rendering/common/col-group.component.mjs +0 -39
  232. package/esm2022/rendering/common/dom-queries.mjs +0 -158
  233. package/esm2022/rendering/common/field-accessor.pipe.mjs +0 -48
  234. package/esm2022/rendering/common/level-items.pipe.mjs +0 -30
  235. package/esm2022/rendering/common/loading.component.mjs +0 -42
  236. package/esm2022/rendering/common/row-class.mjs +0 -5
  237. package/esm2022/rendering/common/spacer.component.mjs +0 -61
  238. package/esm2022/rendering/constants.mjs +0 -28
  239. package/esm2022/rendering/footer-template.directive.mjs +0 -45
  240. package/esm2022/rendering/header/header-template.directive.mjs +0 -45
  241. package/esm2022/rendering/header/header.component.mjs +0 -978
  242. package/esm2022/rendering/header/select-all-checkbox.directive.mjs +0 -90
  243. package/esm2022/rendering/list.component.mjs +0 -850
  244. package/esm2022/rendering/no-records-template.directive.mjs +0 -40
  245. package/esm2022/rendering/table-body.component.mjs +0 -665
  246. package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +0 -77
  247. package/esm2022/rendering/toolbar/toolbar-navigation.service.mjs +0 -54
  248. package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +0 -58
  249. package/esm2022/rendering/toolbar/toolbar.component.mjs +0 -110
  250. package/esm2022/row-reordering/flat-reorder.service.mjs +0 -48
  251. package/esm2022/row-reordering/hierarchical-reorder.service.mjs +0 -55
  252. package/esm2022/row-reordering/row-reorder.service.mjs +0 -273
  253. package/esm2022/row-reordering/types.mjs +0 -5
  254. package/esm2022/row-reordering/utils.mjs +0 -128
  255. package/esm2022/scrolling/content-scroll-event.mjs +0 -5
  256. package/esm2022/scrolling/row-height.service.mjs +0 -30
  257. package/esm2022/scrolling/scroll-bottom-event.mjs +0 -5
  258. package/esm2022/scrolling/scroll-request.service.mjs +0 -21
  259. package/esm2022/scrolling/scroll-sync.service.mjs +0 -80
  260. package/esm2022/scrolling/scroller.service.mjs +0 -112
  261. package/esm2022/scrolling/scrollmode.mjs +0 -5
  262. package/esm2022/scrolling/suspend.service.mjs +0 -17
  263. package/esm2022/selection/is-selected.mjs +0 -5
  264. package/esm2022/selection/marquee.directive.mjs +0 -196
  265. package/esm2022/selection/selectable-settings.mjs +0 -5
  266. package/esm2022/selection/selectable.directive.mjs +0 -223
  267. package/esm2022/selection/selection-change-event.mjs +0 -28
  268. package/esm2022/selection/selection-state.mjs +0 -104
  269. package/esm2022/selection/selection.service.mjs +0 -264
  270. package/esm2022/treelist.component.mjs +0 -3111
  271. package/esm2022/treelist.module.mjs +0 -183
  272. package/esm2022/utils.mjs +0 -113
@@ -1,112 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef } from '@angular/core';
6
- import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Represents the `NotEqual` (**Is not equal to**) filter operator for the TreeList.
12
- * Use this operator to filter values that are not equal to a specific value.
13
- * [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
14
- * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
15
- *
16
- * @example
17
- * ```html String Filter Cell
18
- * <kendo-treelist-column field="name" title="Name">
19
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
20
- * <kendo-treelist-string-filter-cell
21
- * [column]="column"
22
- * [filter]="filter">
23
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
24
- * </kendo-treelist-string-filter-cell>
25
- * </ng-template>
26
- * </kendo-treelist-column>
27
- * ```
28
- * ```html Numeric Filter Cell
29
- * <kendo-treelist-column field="yearsService" title="Years Service">
30
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
31
- * <kendo-treelist-numeric-filter-cell
32
- * [column]="column"
33
- * [filter]="filter">
34
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
35
- * </kendo-treelist-numeric-filter-cell>
36
- * </ng-template>
37
- * </kendo-treelist-column>
38
- * ```
39
- * ```html Date Filter Cell
40
- * <kendo-treelist-column field="hireDate">
41
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
42
- * <kendo-treelist-date-filter-cell
43
- * [column]="column"
44
- * [filter]="filter">
45
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
46
- * </kendo-treelist-date-filter-cell>
47
- * </ng-template>
48
- * </kendo-treelist-column>
49
- * ```
50
- *
51
- * @example
52
- * ```html String Filter Menu
53
- * <kendo-treelist-column field="name" title="Name">
54
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
55
- * <kendo-treelist-string-filter-menu
56
- * [column]="column"
57
- * [filter]="filter"
58
- * [filterService]="filterService">
59
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
60
- * </kendo-treelist-string-filter-menu>
61
- * </ng-template>
62
- * </kendo-treelist-column>
63
- * ```
64
- * ```html Numeric Filter Menu
65
- * <kendo-treelist-column field="yearsService" title="Years Service">
66
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
67
- * <kendo-treelist-numeric-filter-menu
68
- * [column]="column"
69
- * [filter]="filter"
70
- * [filterService]="filterService">
71
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
72
- * </kendo-treelist-numeric-filter-menu>
73
- * </ng-template>
74
- * </kendo-treelist-column>
75
- * ```
76
- * ```html Date Filter Menu
77
- * <kendo-treelist-column field="hireDate">
78
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
79
- * <kendo-treelist-date-filter-menu
80
- * [column]="column"
81
- * [filter]="filter"
82
- * [filterService]="filterService">
83
- * <kendo-treelist-filter-neq-operator></kendo-treelist-filter-neq-operator>
84
- * </kendo-treelist-date-filter-menu>
85
- * </ng-template>
86
- * </kendo-treelist-column>
87
- * ```
88
- */
89
- export class NotEqualFilterOperatorComponent extends FilterOperatorBase {
90
- constructor(localization) { super('neq', localization); }
91
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NotEqualFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
92
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NotEqualFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-neq-operator", providers: [
93
- {
94
- provide: FilterOperatorBase,
95
- useExisting: forwardRef(() => NotEqualFilterOperatorComponent)
96
- }
97
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
98
- }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NotEqualFilterOperatorComponent, decorators: [{
100
- type: Component,
101
- args: [{
102
- providers: [
103
- {
104
- provide: FilterOperatorBase,
105
- useExisting: forwardRef(() => NotEqualFilterOperatorComponent)
106
- }
107
- ],
108
- selector: 'kendo-treelist-filter-neq-operator',
109
- template: ``,
110
- standalone: true
111
- }]
112
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,64 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef } from '@angular/core';
6
- import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Represents the `DoesNotContain` (**Does not contain**) filter operator for the TreeList.
12
- * Use this operator to filter values that do not contain a specific substring.
13
- * [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
14
- * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
15
- *
16
- * @example
17
- * ```html Filter Cell
18
- * <kendo-treelist-column field="name" title="Name">
19
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
20
- * <kendo-treelist-string-filter-cell
21
- * [column]="column"
22
- * [filter]="filter">
23
- * <kendo-treelist-filter-not-contains-operator></kendo-treelist-filter-not-contains-operator>
24
- * </kendo-treelist-string-filter-cell>
25
- * </ng-template>
26
- * </kendo-treelist-column>
27
- * ```
28
- * ```html Filter Menu
29
- * <kendo-treelist-column field="name" title="Name">
30
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
31
- * <kendo-treelist-string-filter-menu
32
- * [column]="column"
33
- * [filter]="filter"
34
- * [filterService]="filterService">
35
- * <kendo-treelist-filter-not-contains-operator></kendo-treelist-filter-not-contains-operator>
36
- * </kendo-treelist-string-filter-menu>
37
- * </ng-template>
38
- * </kendo-treelist-column>
39
- * ```
40
- */
41
- export class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
42
- constructor(localization) { super('doesnotcontain', localization); }
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DoesNotContainFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
44
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DoesNotContainFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-not-contains-operator", providers: [
45
- {
46
- provide: FilterOperatorBase,
47
- useExisting: forwardRef(() => DoesNotContainFilterOperatorComponent)
48
- }
49
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DoesNotContainFilterOperatorComponent, decorators: [{
52
- type: Component,
53
- args: [{
54
- providers: [
55
- {
56
- provide: FilterOperatorBase,
57
- useExisting: forwardRef(() => DoesNotContainFilterOperatorComponent)
58
- }
59
- ],
60
- selector: 'kendo-treelist-filter-not-contains-operator',
61
- template: ``,
62
- standalone: true
63
- }]
64
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,64 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef } from '@angular/core';
6
- import { FilterOperatorBase } from './filter-operator.base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * Represents the `StartsWith` (**Starts with**) filter operator for the TreeList.
12
- * Use this operator to filter values that start with a specific substring.
13
- * [See example](slug:filtering_treelist#toc-using-the-built-in-directives).
14
- * For more information and examples, refer to the article on setting [default filter operators](slug:filter_row_treelist#toc-setting-the-default-filter-operator).
15
- *
16
- * @example
17
- * ```html Filter Cell
18
- * <kendo-treelist-column field="name" title="Name">
19
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
20
- * <kendo-treelist-string-filter-cell
21
- * [column]="column"
22
- * [filter]="filter">
23
- * <kendo-treelist-filter-startswith-operator></kendo-treelist-filter-startswith-operator>
24
- * </kendo-treelist-string-filter-cell>
25
- * </ng-template>
26
- * </kendo-treelist-column>
27
- * ```
28
- * ```html Filter Menu
29
- * <kendo-treelist-column field="name" title="Name">
30
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
31
- * <kendo-treelist-string-filter-menu
32
- * [column]="column"
33
- * [filter]="filter"
34
- * [filterService]="filterService">
35
- * <kendo-treelist-filter-startswith-operator></kendo-treelist-filter-startswith-operator>
36
- * </kendo-treelist-string-filter-menu>
37
- * </ng-template>
38
- * </kendo-treelist-column>
39
- * ```
40
- */
41
- export class StartsWithFilterOperatorComponent extends FilterOperatorBase {
42
- constructor(localization) { super('startswith', localization); }
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StartsWithFilterOperatorComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
44
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: StartsWithFilterOperatorComponent, isStandalone: true, selector: "kendo-treelist-filter-startswith-operator", providers: [
45
- {
46
- provide: FilterOperatorBase,
47
- useExisting: forwardRef(() => StartsWithFilterOperatorComponent)
48
- }
49
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StartsWithFilterOperatorComponent, decorators: [{
52
- type: Component,
53
- args: [{
54
- providers: [
55
- {
56
- provide: FilterOperatorBase,
57
- useExisting: forwardRef(() => StartsWithFilterOperatorComponent)
58
- }
59
- ],
60
- selector: 'kendo-treelist-filter-startswith-operator',
61
- template: ``,
62
- standalone: true
63
- }]
64
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,89 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- // eslint-disable no-access-missing-member
6
- import { Directive, Input } from '@angular/core';
7
- import { ColumnComponent } from '../columns/column.component';
8
- import { FilterService } from './filter.service';
9
- import { BaseFilterCellComponent, localizeOperators } from './base-filter-cell.component';
10
- import { LocalizationService } from '@progress/kendo-angular-l10n';
11
- import { toJSON } from './operators/filter-operator.base';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "./filter.service";
14
- import * as i2 from "@progress/kendo-angular-l10n";
15
- const stringOperators = localizeOperators({
16
- "filterEqOperator": "eq",
17
- "filterNotEqOperator": "neq",
18
- "filterContainsOperator": "contains",
19
- "filterNotContainsOperator": "doesnotcontain",
20
- "filterStartsWithOperator": "startswith",
21
- "filterEndsWithOperator": "endswith",
22
- "filterIsNullOperator": "isnull",
23
- "filterIsNotNullOperator": "isnotnull",
24
- "filterIsEmptyOperator": "isempty",
25
- "filterIsNotEmptyOperator": "isnotempty"
26
- });
27
- /**
28
- * Represents a base string filter component for the TreeList.
29
- */
30
- export class StringFilterComponent extends BaseFilterCellComponent {
31
- localization;
32
- /**
33
- * The column with which the filter is associated.
34
- * @type {ColumnComponent}
35
- */
36
- column;
37
- /**
38
- * The default filter operator.
39
- * @type {string}
40
- * @default 'contains'
41
- */
42
- operator = "contains";
43
- /**
44
- * The current filter for the associated column field.
45
- * @readonly
46
- * @type {FilterDescriptor}
47
- */
48
- get currentFilter() {
49
- return this.filterByField((this.column || {}).field);
50
- }
51
- /**
52
- * The current filter operator for the associated column field.
53
- * @readonly
54
- * @type {string}
55
- */
56
- get currentOperator() {
57
- return this.currentFilter ? this.currentFilter.operator : this.operator;
58
- }
59
- subscription;
60
- constructor(filterService, localization) {
61
- super(filterService);
62
- this.localization = localization;
63
- }
64
- ngOnInit() {
65
- this.subscription = this.localization.changes.subscribe(this.localizationChange.bind(this));
66
- }
67
- ngOnDestroy() {
68
- if (this.subscription) {
69
- this.subscription.unsubscribe();
70
- }
71
- super.ngOnDestroy();
72
- }
73
- localizationChange() {
74
- this.defaultOperators = stringOperators(this.localization);
75
- if (this.operatorList.length) {
76
- this.operators = toJSON(this.operatorList.toArray());
77
- }
78
- }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterComponent, deps: [{ token: i1.FilterService }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
80
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: StringFilterComponent, inputs: { column: "column", operator: "operator" }, usesInheritance: true, ngImport: i0 });
81
- }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterComponent, decorators: [{
83
- type: Directive,
84
- args: [{}]
85
- }], ctorParameters: () => [{ type: i1.FilterService }, { type: i2.LocalizationService }], propDecorators: { column: [{
86
- type: Input
87
- }], operator: [{
88
- type: Input
89
- }] } });
package/esm2022/index.mjs DELETED
@@ -1,146 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { TreeListModule } from './treelist.module';
6
- export { TreeListComponent } from './treelist.component';
7
- export { DataBoundTreeComponent } from './binding-directives/data-bound-tree-component';
8
- export { HierarchyBindingDirective } from './binding-directives/hierarchy-binding.directive';
9
- export { FlatBindingDirective } from './binding-directives/flat-binding.directive';
10
- export { ColumnBase } from './columns/column-base';
11
- export { ColumnComponent } from './columns/column.component';
12
- export { CheckboxColumnComponent } from './columns/checkbox-column.component';
13
- export { CommandColumnComponent } from './columns/command-column.component';
14
- export { SpanColumnComponent } from './columns/span-column.component';
15
- export { ColumnGroupComponent } from './columns/column-group.component';
16
- export { ToolbarComponent } from './rendering/toolbar/toolbar.component';
17
- export { ToolbarTemplateDirective } from './rendering/toolbar/toolbar-template.directive';
18
- export { TreeListToolbarFocusableDirective } from './rendering/toolbar/toolbar-focusable.directive';
19
- export { CellTemplateDirective } from './rendering/cell-template.directive';
20
- export { HeaderTemplateDirective } from './rendering/header/header-template.directive';
21
- export { FooterTemplateDirective } from './rendering/footer-template.directive';
22
- export { ResizableContainerDirective } from './layout/resizable.directive';
23
- export { NoRecordsTemplateDirective } from './rendering/no-records-template.directive';
24
- export { FilterService } from './filtering/filter.service';
25
- export { RowReorderService } from './row-reordering/row-reorder.service';
26
- export { FilterCellTemplateDirective } from './filtering/cell/filter-cell-template.directive';
27
- export { FilterCellComponent } from './filtering/cell/filter-cell.component';
28
- export { StringFilterCellComponent } from './filtering/cell/string-filter-cell.component';
29
- export { DateFilterCellComponent } from './filtering/cell/date-filter-cell.component';
30
- export { BaseFilterCellComponent } from './filtering/base-filter-cell.component';
31
- export { FilterMenuTemplateDirective } from './filtering/menu/filter-menu-template.directive';
32
- export { NumericFilterMenuComponent } from './filtering/menu/numeric-filter-menu.component';
33
- export { StringFilterMenuComponent } from './filtering/menu/string-filter-menu.component';
34
- export { DateFilterMenuComponent } from './filtering/menu/date-filter-menu.component';
35
- export { BooleanFilterMenuComponent } from './filtering/menu/boolean-filter-menu.component';
36
- export { BooleanFilterRadioButtonDirective } from './filtering/menu/filter-radio-button.directive';
37
- export { TreeListSpacerComponent } from './rendering/common/spacer.component';
38
- export { BeforeEqFilterOperatorComponent } from './filtering/operators/before-eq-filter-operator.component';
39
- export { BeforeFilterOperatorComponent } from './filtering/operators/before-filter-operator.component';
40
- export { AfterEqFilterOperatorComponent } from './filtering/operators/after-eq-filter-operator.component';
41
- export { AfterFilterOperatorComponent } from './filtering/operators/after-filter-operator.component';
42
- export { ContainsFilterOperatorComponent } from './filtering/operators/contains-filter-operator.component';
43
- export { DoesNotContainFilterOperatorComponent } from './filtering/operators/not-contains-filter-operator.component';
44
- export { EndsWithFilterOperatorComponent } from './filtering/operators/ends-with-filter-operator.component';
45
- export { EqualFilterOperatorComponent } from './filtering/operators/eq-filter-operator.component';
46
- export { IsEmptyFilterOperatorComponent } from './filtering/operators/is-empty-filter-operator.component';
47
- export { IsNotEmptyFilterOperatorComponent } from './filtering/operators/is-not-empty-filter-operator.component';
48
- export { IsNotNullFilterOperatorComponent } from './filtering/operators/is-not-null-filter-operator.component';
49
- export { IsNullFilterOperatorComponent } from './filtering/operators/isnull-filter-operator.component';
50
- export { NotEqualFilterOperatorComponent } from './filtering/operators/neq-filter-operator.component';
51
- export { StartsWithFilterOperatorComponent } from './filtering/operators/starts-with-filter-operator.component';
52
- export { NumericFilterCellComponent } from './filtering/cell/numeric-filter-cell.component';
53
- export { AutoCompleteFilterCellComponent } from './filtering/cell/autocomplete-filter-cell.component';
54
- export { GreaterFilterOperatorComponent } from './filtering/operators/gt-filter-operator.component';
55
- export { GreaterOrEqualToFilterOperatorComponent } from './filtering/operators/gte-filter-operator.component';
56
- export { LessOrEqualToFilterOperatorComponent } from './filtering/operators/lte-filter-operator.component';
57
- export { LessFilterOperatorComponent } from './filtering/operators/lt-filter-operator.component';
58
- export { TemplateEditingDirective } from './editing-directives/template-editing.directive';
59
- export { ReactiveEditingDirective } from './editing-directives/reactive-editing.directive';
60
- export { InCellEditingDirective } from './editing-directives/in-cell-editing.directive';
61
- export { EditTemplateDirective } from './editing/edit-template.directive';
62
- //Workaround for angular/angular#11889
63
- export { ColGroupComponent } from './rendering/common/col-group.component';
64
- export { HeaderComponent } from './rendering/header/header.component';
65
- export { ListComponent } from './rendering/list.component';
66
- export { TableBodyComponent } from './rendering/table-body.component';
67
- export { CustomMessagesComponent } from './localization/custom-messages.component';
68
- export { LoadingComponent } from './rendering/common/loading.component';
69
- //PDF
70
- export { PDFModule } from './pdf/pdf.module';
71
- export { PDFComponent } from './pdf/pdf.component';
72
- export { PDFMarginComponent } from './pdf/pdf-margin.component';
73
- export { PDFService } from './pdf/pdf.service';
74
- export { PDFCommandDirective } from './pdf/pdf-command.directive';
75
- export { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
76
- export { PDFTemplateDirective } from './pdf/pdf-template.directive';
77
- //Excel
78
- export { ExcelModule } from './excel/excel.module';
79
- export { ExcelComponent } from './excel/excel.component';
80
- export { ExcelService } from './excel/excel.service';
81
- export { ExcelExportEvent } from './excel/excel-export-event';
82
- export { ExcelCommandDirective } from './excel/excel-command.directive';
83
- export { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
84
- export { SelectableDirective } from './selection/selectable.directive';
85
- export { SelectionChangeEvent } from './selection/selection-change-event';
86
- export { CellCloseEvent } from './editing/cell-close-event';
87
- export { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
88
- export { SuspendService } from './scrolling/suspend.service';
89
- export { Skip } from './utils';
90
- export { ColumnsContainer } from './columns/columns-container';
91
- export { ColumnReorderEvent } from './dragdrop/column-reorder-event';
92
- export { FocusableDirective } from './navigation/focusable.directive';
93
- export { ColumnVisibilityChangeEvent } from './column-menu/column-visibility-change-event';
94
- export { ColumnMenuComponent } from './column-menu/column-menu.component';
95
- export { ColumnMenuService } from './column-menu/column-menu.service';
96
- export { ColumnMenuItemDirective } from './column-menu/column-menu-item.directive';
97
- export { ColumnInfoService } from './common/column-info.service';
98
- export { SinglePopupService, PopupCloseEvent } from './common/single-popup.service';
99
- export { ExpandEvent } from './expand-state/expand-event';
100
- export { ExpandableDirective } from './expand-state/expandable.directive';
101
- export { ExpandableTreeComponent } from './expand-state/expandable-tree-component';
102
- export { RowReorderColumnComponent } from './columns/rowreorder-column.component';
103
- export * from './row-reordering/types';
104
- // addresses error NG3001: Unsupported private class
105
- export { ColumnMenuTemplateDirective } from './column-menu/column-menu-template.directive';
106
- export { EditCommandDirective } from './editing/edit-command.directive';
107
- export { CancelCommandDirective } from './editing/cancel-command.directive';
108
- export { SaveCommandDirective } from './editing/save-command.directive';
109
- export { RemoveCommandDirective } from './editing/remove-command.directive';
110
- export { AddCommandDirective } from './editing/add-command.directive';
111
- export { EditingDirectiveBase } from './editing-directives/editing-directive-base';
112
- export { RowEditingDirectiveBase } from './editing-directives/row-editing-directive-base';
113
- export { CellComponent } from './rendering/cell.component';
114
- export { ColumnMenuChooserComponent } from './column-menu/column-menu-chooser.component';
115
- export { ColumnMenuFilterComponent } from './column-menu/column-menu-filter.component';
116
- export { ColumnMenuLockComponent } from './column-menu/column-menu-lock.component';
117
- export { ColumnMenuSortComponent } from './column-menu/column-menu-sort.component';
118
- export { ColumnMenuAutoSizeColumnComponent } from './column-menu/column-menu-autosize.component';
119
- export { ColumnMenuAutoSizeAllColumnsComponent } from './column-menu/column-menu-autosize-all.component';
120
- export { ColumnMenuItemContentTemplateDirective } from './column-menu/column-menu-item-content-template.directive';
121
- export { ColumnMenuItemComponent } from './column-menu/column-menu-item.component';
122
- export { FilterMenuContainerComponent } from './filtering/menu/filter-menu-container.component';
123
- export { FilterMenuInputWrapperComponent } from './filtering/menu/filter-menu-input-wrapper.component';
124
- export { StringFilterMenuInputComponent } from './filtering/menu/string-filter-menu-input.component';
125
- export { NumericFilterMenuInputComponent } from './filtering/menu/numeric-filter-menu-input.component';
126
- export { DateFilterMenuInputComponent } from './filtering/menu/date-filter-menu-input.component';
127
- export { FilterMenuHostDirective } from './filtering/menu/filter-menu-host.directive';
128
- export { FilterMenuComponent } from './filtering/menu/filter-menu.component';
129
- export { FilterInputDirective } from './filtering/filter-input.directive';
130
- export { FilterCellWrapperComponent } from './filtering/cell/filter-cell-wrapper.component';
131
- export { FilterCellOperatorsComponent } from './filtering/cell/filter-cell-operators.component';
132
- export { BooleanFilterComponent } from './filtering/boolean-filter.component';
133
- export { BooleanFilterCellComponent } from './filtering/cell/boolean-filter-cell.component';
134
- export { DateFilterComponent } from './filtering/date-filter.component';
135
- export { FilterCellHostDirective } from './filtering/cell/filter-cell-host.directive';
136
- export { ColumnChooserComponent } from './column-menu/column-chooser.component';
137
- export { FilterRowComponent } from './filtering/filter-row.component';
138
- export { ColumnHandleDirective } from './column-resizing/column-handle.directive';
139
- export { LogicalCellDirective } from './navigation/logical-cell.directive';
140
- export { LogicalRowDirective } from './navigation/logical-row.directive';
141
- export { FieldAccessorPipe } from './rendering/common/field-accessor.pipe';
142
- export { TableDirective } from './column-resizing/table.directive';
143
- export { LevelItemsPipe } from './rendering/common/level-items.pipe';
144
- export { BaseCommandDirective } from './editing/base-command.directive';
145
- export { ColumnResizingService } from './column-resizing/column-resizing.service';
146
- export * from './directives';
@@ -1,85 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable, NgZone, ChangeDetectorRef, EventEmitter } from '@angular/core';
6
- import { fromEvent } from 'rxjs';
7
- import { auditTime } from 'rxjs/operators';
8
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
- import * as i0 from "@angular/core";
10
- const canCreateElement = () => isDocumentAvailable() && document.createElement;
11
- let cachedScrollbarWidth = null;
12
- let cachedPixelRatio;
13
- let cachedRtlScrollLeft = null;
14
- function scrollbarWidth() {
15
- if (cachedScrollbarWidth === null && canCreateElement()) {
16
- cachedPixelRatio = window.devicePixelRatio || 1;
17
- const div = document.createElement("div");
18
- div.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block";
19
- div.innerHTML = "&nbsp;";
20
- document.body.appendChild(div);
21
- cachedScrollbarWidth = div.offsetWidth - div.scrollWidth;
22
- document.body.removeChild(div);
23
- }
24
- return cachedScrollbarWidth;
25
- }
26
- function rtlScrollLeft() {
27
- if (cachedRtlScrollLeft === null && canCreateElement()) {
28
- const div = document.createElement("div");
29
- div.style.cssText = "overflow:scroll;zoom:1;clear:both;display:block;width:100px;visibility:hidden;position:absolute;left:-10000px;direction:rtl;";
30
- const innerDiv = document.createElement('div');
31
- innerDiv.style.width = '200px';
32
- innerDiv.style.height = '1px';
33
- div.appendChild(innerDiv);
34
- document.body.appendChild(div);
35
- const initial = div.scrollLeft;
36
- div.scrollLeft = -1;
37
- cachedRtlScrollLeft = div.scrollLeft < 0 ? div.scrollLeft : initial;
38
- document.body.removeChild(div);
39
- }
40
- return cachedRtlScrollLeft;
41
- }
42
- /**
43
- * @hidden
44
- * move to kendo-common
45
- */
46
- export class BrowserSupportService {
47
- zone;
48
- changeDetector;
49
- changes = new EventEmitter();
50
- subscriptions;
51
- constructor(zone, changeDetector) {
52
- this.zone = zone;
53
- this.changeDetector = changeDetector;
54
- if (typeof window !== 'undefined') {
55
- this.zone.runOutsideAngular(() => {
56
- this.subscriptions = fromEvent(window, 'resize').pipe(auditTime(100)).subscribe(() => {
57
- if (cachedPixelRatio !== window.devicePixelRatio) {
58
- zone.run(() => {
59
- cachedScrollbarWidth = null;
60
- this.changes.emit();
61
- this.changeDetector.markForCheck();
62
- });
63
- }
64
- });
65
- });
66
- }
67
- }
68
- ngOnDestroy() {
69
- if (this.subscriptions) {
70
- this.subscriptions.unsubscribe();
71
- this.subscriptions = null;
72
- }
73
- }
74
- get scrollbarWidth() {
75
- return scrollbarWidth();
76
- }
77
- get rtlScrollLeft() {
78
- return rtlScrollLeft();
79
- }
80
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService, deps: [{ token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
81
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService });
82
- }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BrowserSupportService, decorators: [{
84
- type: Injectable
85
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
@@ -1,83 +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, ElementRef, Input, Renderer2 } from '@angular/core';
6
- import { ResizeService } from "./resize.service";
7
- import { ContextService } from './../common/provider.service';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "./resize.service";
10
- import * as i2 from "./../common/provider.service";
11
- /**
12
- * @hidden
13
- */
14
- export class ResizableContainerDirective {
15
- el;
16
- renderer;
17
- resizeService;
18
- ctx;
19
- _lockedWidth;
20
- set lockedWidth(value) {
21
- this._lockedWidth = value;
22
- if (this.enabled) {
23
- this.attachResize();
24
- this.resize();
25
- }
26
- }
27
- set kendoTreeListResizableContainer(enabled) {
28
- const refresh = enabled !== this.enabled;
29
- this.enabled = enabled;
30
- if (refresh) {
31
- this.attachResize();
32
- this.resize();
33
- }
34
- }
35
- enabled = false;
36
- resizeSubscription;
37
- constructor(el, renderer, resizeService, ctx) {
38
- this.el = el;
39
- this.renderer = renderer;
40
- this.resizeService = resizeService;
41
- this.ctx = ctx;
42
- }
43
- ngOnDestroy() {
44
- if (this.resizeSubscription) {
45
- this.resizeSubscription.unsubscribe();
46
- }
47
- }
48
- attachResize() {
49
- if (this.resizeSubscription && !this.enabled) {
50
- this.resizeSubscription.unsubscribe();
51
- this.resizeSubscription = null;
52
- }
53
- if (!this.resizeSubscription && this.enabled) {
54
- this.resizeSubscription = this.resizeService.changes.subscribe(this.resize.bind(this));
55
- }
56
- }
57
- resize() {
58
- if (this.ctx.treelist && this.ctx.treelist.wrapper) {
59
- const containerElement = this.ctx.treelist.wrapper.nativeElement;
60
- const width = Math.max(containerElement.clientWidth - this._lockedWidth, 0);
61
- if (this.enabled && width > 0) {
62
- this.renderer.setStyle(this.el.nativeElement, "width", width + "px");
63
- }
64
- else {
65
- this.renderer.setStyle(this.el.nativeElement, "width", "");
66
- }
67
- }
68
- }
69
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizableContainerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ResizeService }, { token: i2.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
70
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ResizableContainerDirective, isStandalone: true, selector: "[kendoTreeListResizableContainer]", inputs: { lockedWidth: "lockedWidth", kendoTreeListResizableContainer: "kendoTreeListResizableContainer" }, ngImport: i0 });
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResizableContainerDirective, decorators: [{
73
- type: Directive,
74
- args: [{
75
- selector: '[kendoTreeListResizableContainer]',
76
- standalone: true
77
- }]
78
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ResizeService }, { type: i2.ContextService }], propDecorators: { lockedWidth: [{
79
- type: Input,
80
- args: ['lockedWidth']
81
- }], kendoTreeListResizableContainer: [{
82
- type: Input
83
- }] } });