@progress/kendo-angular-treelist 13.0.0-develop.2 → 13.0.0-develop.20

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 (196) hide show
  1. package/binding-directives/base-binding.directive.d.ts +5 -1
  2. package/binding-directives/data-bound-tree-component.d.ts +9 -0
  3. package/binding-directives/flat-binding.directive.d.ts +14 -3
  4. package/binding-directives/hierarchy-binding.directive.d.ts +12 -3
  5. package/column-menu/column-chooser.component.d.ts +10 -6
  6. package/column-menu/column-menu-chooser.component.d.ts +6 -10
  7. package/column-menu/column-menu-filter.component.d.ts +6 -10
  8. package/column-menu/column-menu-item-content-template.directive.d.ts +1 -1
  9. package/column-menu/column-menu-item.component.d.ts +8 -6
  10. package/column-menu/column-menu-lock.component.d.ts +5 -11
  11. package/column-menu/column-menu-settings.interface.d.ts +7 -10
  12. package/column-menu/column-menu-sort.component.d.ts +5 -11
  13. package/column-menu/column-menu.component.d.ts +1 -1
  14. package/column-menu/column-menu.service.d.ts +1 -1
  15. package/column-resizing/column-resize.interface.d.ts +1 -1
  16. package/columns/checkbox-column.component.d.ts +1 -1
  17. package/columns/column-base.d.ts +4 -0
  18. package/columns/column-group.component.d.ts +9 -6
  19. package/columns/column.component.d.ts +16 -66
  20. package/columns/command-column.component.d.ts +13 -15
  21. package/columns/rowreorder-column.component.d.ts +19 -0
  22. package/columns/span-column.component.d.ts +10 -81
  23. package/data/change-event-args.interface.d.ts +2 -2
  24. package/data/data.collection.d.ts +6 -0
  25. package/dragdrop/column-reorder-config.d.ts +1 -1
  26. package/editing/add-command.directive.d.ts +1 -1
  27. package/editing/cancel-command.directive.d.ts +1 -1
  28. package/editing/edit-command.directive.d.ts +1 -1
  29. package/editing/edit-event-args.interface.d.ts +1 -1
  30. package/editing/edit-template.directive.d.ts +11 -0
  31. package/editing/remove-command.directive.d.ts +1 -1
  32. package/editing/remove-event-args.interface.d.ts +1 -1
  33. package/editing/save-command.directive.d.ts +1 -1
  34. package/editing/save-event-args.interface.d.ts +1 -1
  35. package/esm2020/binding-directives/base-binding.directive.mjs +9 -3
  36. package/esm2020/binding-directives/flat-binding.directive.mjs +56 -6
  37. package/esm2020/binding-directives/hierarchy-binding.directive.mjs +46 -6
  38. package/esm2020/column-menu/column-chooser.component.mjs +10 -6
  39. package/esm2020/column-menu/column-menu-chooser.component.mjs +8 -12
  40. package/esm2020/column-menu/column-menu-filter.component.mjs +6 -10
  41. package/esm2020/column-menu/column-menu-item-content-template.directive.mjs +1 -1
  42. package/esm2020/column-menu/column-menu-item.component.mjs +9 -7
  43. package/esm2020/column-menu/column-menu-lock.component.mjs +5 -11
  44. package/esm2020/column-menu/column-menu-sort.component.mjs +5 -11
  45. package/esm2020/column-menu/column-menu.component.mjs +2 -2
  46. package/esm2020/column-menu/column-menu.service.mjs +1 -1
  47. package/esm2020/columns/checkbox-column.component.mjs +1 -1
  48. package/esm2020/columns/column-base.mjs +4 -0
  49. package/esm2020/columns/column-group.component.mjs +9 -6
  50. package/esm2020/columns/column.component.mjs +16 -39
  51. package/esm2020/columns/command-column.component.mjs +13 -15
  52. package/esm2020/columns/rowreorder-column.component.mjs +47 -0
  53. package/esm2020/columns/span-column.component.mjs +10 -81
  54. package/esm2020/data/data.collection.mjs +41 -28
  55. package/esm2020/editing/add-command.directive.mjs +2 -2
  56. package/esm2020/editing/base-command.directive.mjs +1 -1
  57. package/esm2020/editing/cancel-command.directive.mjs +2 -2
  58. package/esm2020/editing/edit-command.directive.mjs +2 -2
  59. package/esm2020/editing/edit-template.directive.mjs +11 -0
  60. package/esm2020/editing/remove-command.directive.mjs +2 -2
  61. package/esm2020/editing/save-command.directive.mjs +2 -2
  62. package/esm2020/excel/excel-command.directive.mjs +2 -2
  63. package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +12 -1
  64. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +29 -12
  65. package/esm2020/filtering/cell/date-filter-cell.component.mjs +23 -12
  66. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +36 -1
  67. package/esm2020/filtering/cell/filter-cell-wrapper.component.mjs +3 -1
  68. package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +25 -13
  69. package/esm2020/filtering/cell/string-filter-cell.component.mjs +26 -14
  70. package/esm2020/filtering/date-filter.component.mjs +6 -1
  71. package/esm2020/filtering/filter-input.directive.mjs +29 -3
  72. package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +33 -19
  73. package/esm2020/filtering/menu/date-filter-menu-input.component.mjs +1 -1
  74. package/esm2020/filtering/menu/date-filter-menu.component.mjs +12 -12
  75. package/esm2020/filtering/menu/filter-menu.component.mjs +1 -1
  76. package/esm2020/filtering/menu/numeric-filter-menu-input.component.mjs +1 -1
  77. package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +12 -12
  78. package/esm2020/filtering/menu/string-filter-menu-input.component.mjs +19 -8
  79. package/esm2020/filtering/menu/string-filter-menu.component.mjs +15 -0
  80. package/esm2020/filtering/numeric-filter.component.mjs +4 -1
  81. package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +2 -5
  82. package/esm2020/filtering/operators/after-filter-operator.component.mjs +2 -5
  83. package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +2 -5
  84. package/esm2020/filtering/operators/before-filter-operator.component.mjs +3 -6
  85. package/esm2020/filtering/operators/contains-filter-operator.component.mjs +1 -4
  86. package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +1 -4
  87. package/esm2020/filtering/operators/eq-filter-operator.component.mjs +1 -4
  88. package/esm2020/filtering/operators/gt-filter-operator.component.mjs +1 -4
  89. package/esm2020/filtering/operators/gte-filter-operator.component.mjs +1 -4
  90. package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +1 -4
  91. package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +1 -4
  92. package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +1 -4
  93. package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +1 -4
  94. package/esm2020/filtering/operators/lt-filter-operator.component.mjs +2 -5
  95. package/esm2020/filtering/operators/lte-filter-operator.component.mjs +1 -4
  96. package/esm2020/filtering/operators/neq-filter-operator.component.mjs +1 -4
  97. package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +1 -4
  98. package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +1 -4
  99. package/esm2020/filtering/string-filter.component.mjs +2 -1
  100. package/esm2020/index.mjs +2 -0
  101. package/esm2020/localization/custom-messages.component.mjs +1 -1
  102. package/esm2020/localization/messages.mjs +13 -1
  103. package/esm2020/package-metadata.mjs +2 -2
  104. package/esm2020/pager/pager-element.component.mjs +17 -0
  105. package/esm2020/pager/pager-next-buttons.component.mjs +8 -11
  106. package/esm2020/pager/pager-numeric-buttons.component.mjs +1 -1
  107. package/esm2020/pager/pager-page-sizes.component.mjs +1 -1
  108. package/esm2020/pager/pager-prev-buttons.component.mjs +8 -11
  109. package/esm2020/pager/pager-template.directive.mjs +1 -1
  110. package/esm2020/pdf/pdf-command.directive.mjs +2 -2
  111. package/esm2020/pdf/pdf-margin.component.mjs +9 -0
  112. package/esm2020/rendering/cell-template.directive.mjs +1 -1
  113. package/esm2020/rendering/cell.component.mjs +73 -20
  114. package/esm2020/rendering/common/spacer.component.mjs +1 -1
  115. package/esm2020/rendering/constants.mjs +4 -0
  116. package/esm2020/rendering/header/header.component.mjs +6 -1
  117. package/esm2020/rendering/list.component.mjs +20 -18
  118. package/esm2020/rendering/table-body.component.mjs +5 -3
  119. package/esm2020/row-reordering/flat-reorder.service.mjs +48 -0
  120. package/esm2020/row-reordering/hierarchical-reorder.service.mjs +55 -0
  121. package/esm2020/row-reordering/row-reorder.service.mjs +220 -0
  122. package/esm2020/row-reordering/types.mjs +5 -0
  123. package/esm2020/row-reordering/utils.mjs +129 -0
  124. package/esm2020/shared.module.mjs +8 -3
  125. package/esm2020/treelist.component.mjs +229 -321
  126. package/esm2020/treelist.module.mjs +71 -66
  127. package/excel/excel-command.directive.d.ts +1 -1
  128. package/excel/excel-export-data.interface.d.ts +1 -1
  129. package/excel/excel.component.d.ts +9 -8
  130. package/fesm2015/progress-kendo-angular-treelist.mjs +1434 -832
  131. package/fesm2020/progress-kendo-angular-treelist.mjs +1426 -833
  132. package/filtering/cell/autocomplete-filter-cell.component.d.ts +4 -0
  133. package/filtering/cell/boolean-filter-cell.component.d.ts +19 -11
  134. package/filtering/cell/date-filter-cell.component.d.ts +15 -11
  135. package/filtering/cell/filter-cell-operators.component.d.ts +29 -1
  136. package/filtering/cell/numeric-filter-cell.component.d.ts +17 -12
  137. package/filtering/cell/string-filter-cell.component.d.ts +16 -11
  138. package/filtering/date-filter.component.d.ts +7 -11
  139. package/filtering/filter-input.directive.d.ts +7 -1
  140. package/filtering/menu/boolean-filter-menu.component.d.ts +19 -13
  141. package/filtering/menu/date-filter-menu.component.d.ts +12 -12
  142. package/filtering/menu/numeric-filter-menu.component.d.ts +12 -12
  143. package/filtering/menu/string-filter-menu-input.component.d.ts +4 -0
  144. package/filtering/menu/string-filter-menu.component.d.ts +15 -0
  145. package/filtering/numeric-filter.component.d.ts +4 -1
  146. package/filtering/operators/after-eq-filter-operator.component.d.ts +4 -0
  147. package/filtering/operators/after-filter-operator.component.d.ts +4 -0
  148. package/filtering/operators/before-eq-filter-operator.component.d.ts +4 -0
  149. package/filtering/operators/before-filter-operator.component.d.ts +4 -0
  150. package/filtering/operators/contains-filter-operator.component.d.ts +1 -4
  151. package/filtering/operators/ends-with-filter-operator.component.d.ts +1 -4
  152. package/filtering/operators/eq-filter-operator.component.d.ts +1 -4
  153. package/filtering/operators/gte-filter-operator.component.d.ts +1 -4
  154. package/filtering/operators/is-empty-filter-operator.component.d.ts +1 -4
  155. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +1 -4
  156. package/filtering/operators/is-not-null-filter-operator.component.d.ts +1 -4
  157. package/filtering/operators/isnull-filter-operator.component.d.ts +1 -4
  158. package/filtering/operators/lt-filter-operator.component.d.ts +4 -0
  159. package/filtering/operators/neq-filter-operator.component.d.ts +1 -4
  160. package/filtering/operators/not-contains-filter-operator.component.d.ts +1 -4
  161. package/filtering/operators/starts-with-filter-operator.component.d.ts +1 -4
  162. package/filtering/string-filter.component.d.ts +2 -1
  163. package/index.d.ts +2 -0
  164. package/localization/custom-messages.component.d.ts +1 -1
  165. package/localization/messages.d.ts +42 -2
  166. package/navigation/navigation-cell.interface.d.ts +1 -4
  167. package/navigation/navigation-row.interface.d.ts +1 -4
  168. package/package.json +16 -15
  169. package/pager/pager-element.component.d.ts +9 -0
  170. package/pager/pager-next-buttons.component.d.ts +0 -3
  171. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  172. package/pager/pager-prev-buttons.component.d.ts +0 -3
  173. package/pager/pager-settings.d.ts +1 -15
  174. package/pager/pager-template.directive.d.ts +1 -1
  175. package/pdf/pdf-command.directive.d.ts +1 -1
  176. package/pdf/pdf-margin.component.d.ts +9 -0
  177. package/rendering/cell-template.directive.d.ts +1 -1
  178. package/rendering/cell.component.d.ts +10 -1
  179. package/rendering/common/spacer.component.d.ts +1 -1
  180. package/rendering/constants.d.ts +4 -0
  181. package/rendering/header/header.component.d.ts +1 -0
  182. package/row-reordering/flat-reorder.service.d.ts +16 -0
  183. package/row-reordering/hierarchical-reorder.service.d.ts +16 -0
  184. package/row-reordering/row-reorder.service.d.ts +61 -0
  185. package/row-reordering/types.d.ts +39 -0
  186. package/row-reordering/utils.d.ts +85 -0
  187. package/schematics/ngAdd/index.js +3 -3
  188. package/scrolling/content-scroll-event.d.ts +1 -1
  189. package/scrolling/scroll-bottom-event.d.ts +1 -1
  190. package/scrolling/scroll-request.service.d.ts +6 -0
  191. package/selection/selectable-settings.d.ts +5 -15
  192. package/selection/selectable.directive.d.ts +1 -1
  193. package/selection/selection-change-event.d.ts +1 -1
  194. package/shared.module.d.ts +5 -4
  195. package/treelist.component.d.ts +66 -289
  196. package/treelist.module.d.ts +68 -66
@@ -28,6 +28,10 @@ export declare class AutoCompleteFilterCellComponent extends BaseFilterCellCompo
28
28
  }>;
29
29
  private _valueField;
30
30
  constructor(filterService: FilterService, column: ColumnComponent, localization: LocalizationService);
31
+ /**
32
+ * @hidden
33
+ */
34
+ get columnLabel(): string;
31
35
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteFilterCellComponent, never>;
32
36
  static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteFilterCellComponent, "kendo-treelist-autocomplete-filter-cell", never, { "showOperators": "showOperators"; "column": "column"; "filter": "filter"; "data": "data"; "valueField": "valueField"; }, {}, never, never>;
33
37
  }
@@ -9,24 +9,32 @@ import { BooleanFilterComponent } from '../boolean-filter.component';
9
9
  import * as i0 from "@angular/core";
10
10
  /**
11
11
  * Represents a Boolean filter-cell component.
12
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-default-filter-operator).
12
13
  *
13
14
  * @example
14
- *
15
- * ```html-no-run
16
- * <kendo-treelist-column field="ProductName" title="Product Name">
17
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
18
- * <kendo-treelist-boolean-filter-cell
19
- * [column]="column"
20
- * [filter]="filter">
21
- * </kendo-treelist-boolean-filter-cell>
22
- * </ng-template>
23
- * </kendo-treelist-column>
24
- * ```
15
+ * ```html
16
+ * <kendo-treelist-column field="ProductName" title="Product Name">
17
+ * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
18
+ * <kendo-treelist-boolean-filter-cell
19
+ * [column]="column"
20
+ * [filter]="filter">
21
+ * </kendo-treelist-boolean-filter-cell>
22
+ * </ng-template>
23
+ * </kendo-treelist-column>
24
+ * ```
25
25
  */
26
26
  export declare class BooleanFilterCellComponent extends BooleanFilterComponent {
27
27
  private cd;
28
28
  constructor(filterService: FilterService, localization: LocalizationService, cd: ChangeDetectorRef);
29
29
  protected localizationChange(): void;
30
+ /**
31
+ * @hidden
32
+ */
33
+ messageFor(token: string): string;
34
+ /**
35
+ * @hidden
36
+ */
37
+ get columnLabel(): string;
30
38
  static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterCellComponent, never>;
31
39
  static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterCellComponent, "kendo-treelist-boolean-filter-cell", never, {}, {}, never, never>;
32
40
  }
@@ -11,26 +11,30 @@ import * as i0 from "@angular/core";
11
11
  *
12
12
  * @example
13
13
  *
14
- * ```html-no-run
15
- * <kendo-treelist-column field="OrderDate" title="Order Date">
16
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
17
- * <kendo-treelist-date-filter-cell
18
- * [showOperators]="false"
19
- * [column]="column"
20
- * [filter]="filter">
21
- * </kendo-treelist-date-filter-cell>
22
- * </ng-template>
23
- * </kendo-treelist-column>
24
- * ```
14
+ * ```html
15
+ * <kendo-treelist-column field="OrderDate">
16
+ * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
17
+ * <kendo-treelist-date-filter-cell
18
+ * [column]="column"
19
+ * [filter]="filter">
20
+ * </kendo-treelist-date-filter-cell>
21
+ * </ng-template>
22
+ * </kendo-treelist-column>
23
+ * ```
25
24
  */
26
25
  export declare class DateFilterCellComponent extends DateFilterComponent {
27
26
  protected localization: LocalizationService;
28
27
  /**
29
28
  * Determines if the drop-down filter operators will be displayed. The default value is `true`.
30
29
  * @type {boolean}
30
+ * @default true
31
31
  */
32
32
  showOperators: boolean;
33
33
  constructor(filterService: FilterService, localization: LocalizationService);
34
+ /**
35
+ * @hidden
36
+ */
37
+ get columnLabel(): string;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DateFilterCellComponent, never>;
35
39
  static ɵcmp: i0.ɵɵComponentDeclaration<DateFilterCellComponent, "kendo-treelist-date-filter-cell", never, { "showOperators": "showOperators"; }, {}, never, never>;
36
40
  }
@@ -6,9 +6,24 @@ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
6
6
  import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
7
7
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
8
  import { SVGIcon } from '@progress/kendo-svg-icons';
9
+ import { ColumnComponent } from '../../columns/column.component';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
12
  * Represents a component which accommodates the filter operators.
13
+ *
14
+ * @example
15
+ * ```html
16
+ * <kendo-treelist ...>
17
+ * <kendo-treelist-column field="ProductName">
18
+ * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
19
+ * <input />
20
+ * <kendo-treelist-filter-cell-operators
21
+ * [operators]="[{text: 'Equals', value: 'eq'}]">
22
+ * </kendo-treelist-filter-cell-operators>
23
+ * </ng-template>
24
+ * </kendo-treelist-column>
25
+ * </kendo-treelist>
26
+ * ```
12
27
  */
13
28
  export declare class FilterCellOperatorsComponent implements OnInit, OnDestroy {
14
29
  protected localization: LocalizationService;
@@ -37,6 +52,7 @@ export declare class FilterCellOperatorsComponent implements OnInit, OnDestroy {
37
52
  /**
38
53
  * Determines if the list of operators will be displayed.
39
54
  * @type {boolean}
55
+ * @default true
40
56
  */
41
57
  showOperators: boolean;
42
58
  /**
@@ -44,6 +60,10 @@ export declare class FilterCellOperatorsComponent implements OnInit, OnDestroy {
44
60
  * @type {string}
45
61
  */
46
62
  value: string;
63
+ /**
64
+ * @hidden
65
+ */
66
+ column: ColumnComponent;
47
67
  /**
48
68
  * Fires when the operator is selected.
49
69
  * @type {EventEmitter<string>}
@@ -74,6 +94,14 @@ export declare class FilterCellOperatorsComponent implements OnInit, OnDestroy {
74
94
  dropdownKeydown(args: KeyboardEvent): void;
75
95
  ngOnInit(): void;
76
96
  ngOnDestroy(): void;
97
+ /**
98
+ * @hidden
99
+ */
100
+ get columnLabel(): string;
101
+ /**
102
+ * @hidden
103
+ */
104
+ messageFor(token: string): string;
77
105
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterCellOperatorsComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterCellOperatorsComponent, "kendo-treelist-filter-cell-operators", never, { "operators": "operators"; "showButton": "showButton"; "showOperators": "showOperators"; "value": "value"; }, { "valueChange": "valueChange"; "clear": "clear"; }, never, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterCellOperatorsComponent, "kendo-treelist-filter-cell-operators", never, { "operators": "operators"; "showButton": "showButton"; "showOperators": "showOperators"; "value": "value"; "column": "column"; }, { "valueChange": "valueChange"; "clear": "clear"; }, never, never>;
79
107
  }
@@ -10,32 +10,37 @@ import * as i0 from "@angular/core";
10
10
  * Represents a numeric filter cell.
11
11
  *
12
12
  * @example
13
- * ```html-no-run
14
- * <kendo-treelist-column field="ProductName" title="Product Name">
15
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
16
- * <kendo-treelist-numeric-filter-cell
17
- * [column]="column"
18
- * [filter]="filter">
19
- * </kendo-treelist-numeric-filter-cell>
20
- * </ng-template>
21
- * </kendo-treelist-column>
22
- * ```
13
+ * ```html
14
+ * <kendo-treelist-column field="ProductName" title="Product Name">
15
+ * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
16
+ * <kendo-treelist-numeric-filter-cell
17
+ * [column]="column"
18
+ * [filter]="filter">
19
+ * </kendo-treelist-numeric-filter-cell>
20
+ * </ng-template>
21
+ * </kendo-treelist-column>
22
+ * ```
23
23
  */
24
24
  export declare class NumericFilterCellComponent extends NumericFilterComponent {
25
25
  protected localization: LocalizationService;
26
26
  /**
27
27
  * Determines the delay time (in milliseconds) before the filter value is submitted.
28
- * A value of `0` indicates no delay. The default value is `500`.
28
+ * A value of `0` indicates no delay.
29
29
  * @type {boolean}
30
+ * @default 500
30
31
  */
31
32
  filterDelay: number;
32
33
  /**
33
34
  * Determines if the drop-down filter operators will be displayed.
34
- * The default value is `true`.
35
35
  * @type {boolean}
36
+ * @default true
36
37
  */
37
38
  showOperators: boolean;
38
39
  constructor(filterService: FilterService, localization: LocalizationService);
40
+ /**
41
+ * @hidden
42
+ */
43
+ get columnLabel(): string;
39
44
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericFilterCellComponent, never>;
40
45
  static ɵcmp: i0.ɵɵComponentDeclaration<NumericFilterCellComponent, "kendo-treelist-numeric-filter-cell", never, { "filterDelay": "filterDelay"; "showOperators": "showOperators"; }, {}, never, never>;
41
46
  }
@@ -12,32 +12,37 @@ import * as i0 from "@angular/core";
12
12
  *
13
13
  * @example
14
14
  *
15
- * ```html-no-run
16
- * <kendo-treelist-column field="ProductName" title="Product Name">
17
- * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
18
- * <kendo-treelist-string-filter-cell
19
- * [showOperators]="false"
20
- * [column]="column"
21
- * [filter]="filter">
22
- * </kendo-treelist-string-filter-cell>
23
- * </ng-template>
24
- * </kendo-treelist-column>
25
- * ```
15
+ * ```html
16
+ * <kendo-treelist-column field="ProductName">
17
+ * <ng-template kendoTreeListFilterCellTemplate let-filter let-column="column">
18
+ * <kendo-treelist-string-filter-cell
19
+ * [column]="column"
20
+ * [filter]="filter">
21
+ * </kendo-treelist-string-filter-cell>
22
+ * </ng-template>
23
+ * </kendo-treelist-column>
24
+ * ```
26
25
  */
27
26
  export declare class StringFilterCellComponent extends StringFilterComponent {
28
27
  /**
29
28
  * Determines the delay time (in milliseconds) before the filter value is submitted.
30
29
  * A value of `0` indicates no delay. The default value is `500`.
31
30
  * @type {boolean}
31
+ * @default 500
32
32
  */
33
33
  filterDelay: number;
34
34
  /**
35
35
  * Determines if the drop-down filter operators will be displayed.
36
36
  * The default value is `true`.
37
37
  * @type {boolean}
38
+ * @default true
38
39
  */
39
40
  showOperators: boolean;
40
41
  constructor(filterService: FilterService, localization: LocalizationService);
42
+ /**
43
+ * @hidden
44
+ */
45
+ get columnLabel(): string;
41
46
  static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterCellComponent, never>;
42
47
  static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterCellComponent, "kendo-treelist-string-filter-cell", never, { "filterDelay": "filterDelay"; "showOperators": "showOperators"; }, {}, never, never>;
43
48
  }
@@ -29,6 +29,7 @@ export declare class DateFilterComponent extends BaseFilterCellComponent impleme
29
29
  /**
30
30
  * The default filter operator. Defaults to `contains`.
31
31
  * @type {string}
32
+ * @default 'gte'
32
33
  */
33
34
  operator: string;
34
35
  /**
@@ -62,16 +63,7 @@ export declare class DateFilterComponent extends BaseFilterCellComponent impleme
62
63
  max: Date;
63
64
  /**
64
65
  * Defines the descriptions of the format sections in the input field.
65
- * * `wide`&mdash;Displays the full description of the format section. For example, turns `MM` into `month`.
66
- * Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
67
- * * `narrow`&mdash;Displays the narrow description of the format section. For example, turns `MM` into `mo.`.
68
- * Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
69
- * * `short`&mdash;Displays the short description of the format section. For example, turns `MM` into `mo.`.
70
- * Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
71
- * * `formatPattern`&mdash;Directly displays the format section.
72
- * * [`CustomFormatPlaceholder`]({% slug api_dateinputs_dateinputcustomformatplaceholder %})&mdash;
73
- * An object that defines the description of the format sections.
74
- * For example, `{ day: 'd.', month: 'M.', year: 'y', hour: 'h.' }`.
66
+ * [See possible format options](slug:placeholders_dateinput#toc-format-sections-description).
75
67
  */
76
68
  formatPlaceholder: DateInputFormatPlaceholder;
77
69
  /**
@@ -82,19 +74,23 @@ export declare class DateFilterComponent extends BaseFilterCellComponent impleme
82
74
  * Defines the active view that the calendar initially renders.
83
75
  * By default, the active view is `month`.
84
76
  *
85
- * > You have to set `activeView` within the `topView`-`bottomView` range.
77
+ * You have to set `activeView` within the `topView`-`bottomView` range.
78
+ * @default 'month'
86
79
  */
87
80
  activeView: CalendarView;
88
81
  /**
89
82
  * Defines the bottommost calendar view, to which the user can navigate.
83
+ * @default 'month'
90
84
  */
91
85
  bottomView: CalendarView;
92
86
  /**
93
87
  * Defines the topmost calendar view, to which the user can navigate.
88
+ * @default 'century'
94
89
  */
95
90
  topView: CalendarView;
96
91
  /**
97
92
  * Determines whether to display a week number column in the `month` view of the Calendar.
93
+ * @default false
98
94
  */
99
95
  weekNumber: boolean;
100
96
  private get columnFormat();
@@ -9,9 +9,14 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export declare class FilterInputDirective implements AfterViewInit, OnDestroy, OnChanges {
12
+ private element;
13
+ private renderer;
12
14
  change: EventEmitter<string>;
13
15
  composing: boolean;
16
+ kendoInput: any;
14
17
  filterDelay: number;
18
+ columnLabel: string;
19
+ column: any;
15
20
  set value(value: string);
16
21
  set disabled(value: boolean);
17
22
  private accessor;
@@ -24,6 +29,7 @@ export declare class FilterInputDirective implements AfterViewInit, OnDestroy, O
24
29
  ngOnDestroy(): void;
25
30
  private subscribeChanges;
26
31
  private unsubscribeChanges;
32
+ private addAriaAttributes;
27
33
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputDirective, [{ self: true; }, null, null, null]>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputDirective, "[kendoFilterInput]", never, { "filterDelay": "filterDelay"; "value": "value"; }, {}, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputDirective, "[kendoFilterInput]", never, { "filterDelay": "filterDelay"; "columnLabel": "columnLabel"; "column": "column"; "value": "value"; }, {}, ["kendoInput"]>;
29
35
  }
@@ -2,33 +2,35 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, Renderer2 } from '@angular/core';
5
6
  import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
6
7
  import { FilterService } from '../filter.service';
7
8
  import { LocalizationService } from '@progress/kendo-angular-l10n';
8
9
  import { BooleanFilterComponent } from '../boolean-filter.component';
9
10
  import * as i0 from "@angular/core";
10
11
  /**
11
- * Represents a Boolean-filter menu component.
12
+ * Represents a Boolean-filter menu component. [See example](slug:columnmenu_treelist#toc-customizing-the-content).
12
13
  *
13
14
  * @example
14
- * ```html-no-run
15
- * <kendo-treelist-column field="Discontinued" title="Discontinued">
16
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
17
- * <kendo-treelist-boolean-filter-menu
18
- * [column]="column"
19
- * [filter]="filter"
20
- * [filterService]="filterService"
21
- * >
22
- * </kendo-treelist-boolean-filter-menu>
23
- * </ng-template>
24
- * </kendo-treelist-column>
15
+ * ```html
16
+ * <kendo-treelist-column field="Discontinued" title="Discontinued">
17
+ * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
18
+ * <kendo-treelist-boolean-filter-menu
19
+ * [column]="column"
20
+ * [filter]="filter"
21
+ * [filterService]="filterService">
22
+ * </kendo-treelist-boolean-filter-menu>
23
+ * </ng-template>
24
+ * </kendo-treelist-column>
25
25
  * ```
26
26
  */
27
27
  export declare class BooleanFilterMenuComponent extends BooleanFilterComponent {
28
+ protected renderer: Renderer2;
28
29
  /**
29
30
  * @hidden
30
31
  */
31
32
  get hostClasses(): boolean;
33
+ inputElem: ElementRef;
32
34
  /**
33
35
  * The current menu filter.
34
36
  * @type {CompositeFilterDescriptor}
@@ -39,7 +41,7 @@ export declare class BooleanFilterMenuComponent extends BooleanFilterComponent {
39
41
  */
40
42
  filterService: FilterService;
41
43
  idPrefix: string;
42
- constructor(localization: LocalizationService);
44
+ constructor(renderer: Renderer2, localization: LocalizationService);
43
45
  /**
44
46
  * @hidden
45
47
  */
@@ -52,6 +54,10 @@ export declare class BooleanFilterMenuComponent extends BooleanFilterComponent {
52
54
  * @hidden
53
55
  */
54
56
  isSelected(radioValue: any): boolean;
57
+ /**
58
+ * @hidden
59
+ */
60
+ columnLabel(): void;
55
61
  static ɵfac: i0.ɵɵFactoryDeclaration<BooleanFilterMenuComponent, never>;
56
62
  static ɵcmp: i0.ɵɵComponentDeclaration<BooleanFilterMenuComponent, "kendo-treelist-boolean-filter-menu", never, { "filter": "filter"; "filterService": "filterService"; }, {}, never, never>;
57
63
  }
@@ -12,18 +12,17 @@ import * as i0 from "@angular/core";
12
12
  * Represents a date-filter menu component.
13
13
  *
14
14
  * @example
15
- * ```html-no-run
16
- * <kendo-treelist-column field="OrderDate" title="Order Date">
17
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
18
- * <kendo-treelist-date-filter-menu
19
- * [column]="column"
20
- * [filter]="filter"
21
- * [filterService]="filterService"
22
- * >
23
- * </kendo-treelist-date-filter-menu>
24
- * </ng-template>
25
- * </kendo-treelist-column>
26
- * ```
15
+ * ```html
16
+ * <kendo-treelist-column field="OrderDate" title="Order Date">
17
+ * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
18
+ * <kendo-treelist-date-filter-menu
19
+ * [column]="column"
20
+ * [filter]="filter"
21
+ * [filterService]="filterService">
22
+ * </kendo-treelist-date-filter-menu>
23
+ * </ng-template>
24
+ * </kendo-treelist-column>
25
+ * ```
27
26
  */
28
27
  export declare class DateFilterMenuComponent extends DateFilterComponent {
29
28
  logicOperators: Array<{
@@ -46,6 +45,7 @@ export declare class DateFilterMenuComponent extends DateFilterComponent {
46
45
  filter: CompositeFilterDescriptor;
47
46
  /**
48
47
  * Determines if the inputs of second criteria will be displayed.
48
+ * @default true
49
49
  */
50
50
  extra: boolean;
51
51
  /**
@@ -12,18 +12,17 @@ import * as i0 from "@angular/core";
12
12
  * Represents a numeric-filter menu component.
13
13
  *
14
14
  * @example
15
- * ```html-no-run
16
- * <kendo-treelist-column field="UnitPrice" title="Unit Price">
17
- * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
18
- * <kendo-treelist-numeric-filter-menu
19
- * [column]="column"
20
- * [filter]="filter"
21
- * [filterService]="filterService"
22
- * >
23
- * </kendo-treelist-numeric-filter-menu>
24
- * </ng-template>
25
- * </kendo-treelist-column>
26
- * ```
15
+ * ```html
16
+ * <kendo-treelist-column field="UnitPrice">
17
+ * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
18
+ * <kendo-treelist-numeric-filter-menu
19
+ * [column]="column"
20
+ * [filter]="filter"
21
+ * [filterService]="filterService">
22
+ * </kendo-treelist-numeric-filter-menu>
23
+ * </ng-template>
24
+ * </kendo-treelist-column>
25
+ * ```
27
26
  */
28
27
  export declare class NumericFilterMenuComponent extends NumericFilterComponent {
29
28
  logicOperators: Array<{
@@ -46,6 +45,7 @@ export declare class NumericFilterMenuComponent extends NumericFilterComponent {
46
45
  filter: CompositeFilterDescriptor;
47
46
  /**
48
47
  * Determines if the inputs of second criteria will displayed.
48
+ * @default true
49
49
  */
50
50
  extra: boolean;
51
51
  /**
@@ -5,11 +5,13 @@
5
5
  import { FilterDescriptor, CompositeFilterDescriptor } from '@progress/kendo-data-query';
6
6
  import { ColumnComponent } from "../../columns/column.component";
7
7
  import { FilterService } from '../filter.service';
8
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * @hidden
11
12
  */
12
13
  export declare class StringFilterMenuInputComponent {
14
+ private localization;
13
15
  operators: Array<{
14
16
  text: string;
15
17
  value: string;
@@ -19,6 +21,8 @@ export declare class StringFilterMenuInputComponent {
19
21
  operator: string;
20
22
  currentFilter: FilterDescriptor;
21
23
  filterService: FilterService;
24
+ constructor(localization: LocalizationService);
25
+ get columnLabel(): string;
22
26
  static ɵfac: i0.ɵɵFactoryDeclaration<StringFilterMenuInputComponent, never>;
23
27
  static ɵcmp: i0.ɵɵComponentDeclaration<StringFilterMenuInputComponent, "kendo-treelist-string-filter-menu-input", never, { "operators": "operators"; "column": "column"; "filter": "filter"; "operator": "operator"; "currentFilter": "currentFilter"; "filterService": "filterService"; }, {}, never, never>;
24
28
  }
@@ -11,6 +11,20 @@ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * Represents a string-filter menu component.
13
13
  * ([see example]({% slug builtinfiltertemplate_treelist %}#toc-configuration-components-for-filter-templates)).
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-treelist-column field="name">
18
+ * <ng-template kendoTreeListFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
19
+ * <kendo-treelist-string-filter-menu
20
+ * [column]="column"
21
+ * [filter]="filter"
22
+ * [filterService]="filterService">
23
+ * </kendo-treelist-string-filter-menu>
24
+ * </ng-template>
25
+ * </kendo-treelist-column>
26
+ * ```
27
+ *
14
28
  */
15
29
  export declare class StringFilterMenuComponent extends StringFilterComponent {
16
30
  logicOperators: Array<{
@@ -33,6 +47,7 @@ export declare class StringFilterMenuComponent extends StringFilterComponent {
33
47
  filter: CompositeFilterDescriptor;
34
48
  /**
35
49
  * Determines if the inputs of second criteria will displayed.
50
+ * @default true
36
51
  */
37
52
  extra: boolean;
38
53
  /**
@@ -26,13 +26,15 @@ export declare abstract class NumericFilterComponent extends BaseFilterCellCompo
26
26
  */
27
27
  filter: CompositeFilterDescriptor;
28
28
  /**
29
- * The default filter operator. Defaults to `eq`.
29
+ * The default filter operator.
30
30
  * @type {string}
31
+ * @default 'eq'
31
32
  */
32
33
  operator: string;
33
34
  /**
34
35
  * Specifies the value that is used to increment or decrement the component value.
35
36
  * @type {numeric}
37
+ * @default 1
36
38
  */
37
39
  step: number;
38
40
  /**
@@ -48,6 +50,7 @@ export declare abstract class NumericFilterComponent extends BaseFilterCellCompo
48
50
  /**
49
51
  * Specifies whether the **Up** and **Down** spin buttons will be rendered.
50
52
  * @type {boolean}
53
+ * @default true
51
54
  */
52
55
  spinners: boolean;
53
56
  /**
@@ -5,6 +5,10 @@
5
5
  import { FilterOperatorBase } from './filter-operator.base';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the `GreaterOrEqualTo` (**Is after or equal to**) date filter operator.
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
11
+ */
8
12
  export declare class AfterEqFilterOperatorComponent extends FilterOperatorBase {
9
13
  constructor(localization: LocalizationService);
10
14
  /**
@@ -5,6 +5,10 @@
5
5
  import { FilterOperatorBase } from './filter-operator.base';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the `Greater` (**Is after**) date filter operator.
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
11
+ */
8
12
  export declare class AfterFilterOperatorComponent extends FilterOperatorBase {
9
13
  constructor(localization: LocalizationService);
10
14
  /**
@@ -5,6 +5,10 @@
5
5
  import { FilterOperatorBase } from './filter-operator.base';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the `LessOrEqualTo` (**Is before or equal to**) date filter operator.
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
11
+ */
8
12
  export declare class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
9
13
  constructor(localization: LocalizationService);
10
14
  /**
@@ -5,6 +5,10 @@
5
5
  import { FilterOperatorBase } from './filter-operator.base';
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the `Less than` (**Is before**) date filter operator.
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
11
+ */
8
12
  export declare class BeforeFilterOperatorComponent extends FilterOperatorBase {
9
13
  constructor(localization: LocalizationService);
10
14
  /**
@@ -7,10 +7,7 @@ import { FilterOperatorBase } from './filter-operator.base';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Represents the `Contains` (**Contains**) filter operator.
10
- *
11
- * For more information and examples, refer to:
12
- * * [Setting the default filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-default-filter-operator)
13
- * * [Setting the order of the filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-order-of-the-filter-operators)
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
14
11
  */
15
12
  export declare class ContainsFilterOperatorComponent extends FilterOperatorBase {
16
13
  constructor(localization: LocalizationService);
@@ -7,10 +7,7 @@ import { FilterOperatorBase } from './filter-operator.base';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Represents the `EndsWith` (**Ends with**) string filter operator.
10
- *
11
- * For more information and examples, refer to:
12
- * * [Setting the default filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-default-filter-operator)
13
- * * [Setting the order of the filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-order-of-the-filter-operators)
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
14
11
  */
15
12
  export declare class EndsWithFilterOperatorComponent extends FilterOperatorBase {
16
13
  constructor(localization: LocalizationService);
@@ -7,10 +7,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Represents the `Equal` (**Is equal to**) filter operator.
10
- *
11
- * For more information and examples, refer to:
12
- * * [Setting the default filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-default-filter-operator)
13
- * * [Setting the order of the filter operators]({% slug builtinfiltertemplate_treelist %}#toc-setting-the-order-of-the-filter-operators)
10
+ * [See example](slug:builtinfiltertemplate_treelist#toc-setting-the-order-of-the-filter-operators).
14
11
  */
15
12
  export declare class EqualFilterOperatorComponent extends FilterOperatorBase {
16
13
  constructor(localization: LocalizationService);