@progress/kendo-angular-dropdowns 7.2.4 → 11.0.0-develop.100

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 (176) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +4 -4
  3. package/README.md +8 -8
  4. package/autocomplete/autocomplete.component.d.ts +6 -1
  5. package/autocomplete/autocomplete.module.d.ts +1 -1
  6. package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
  7. package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
  8. package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
  9. package/comboboxes/combobox-column/util.d.ts +1 -1
  10. package/comboboxes/combobox.component.d.ts +10 -1
  11. package/comboboxes/combobox.module.d.ts +1 -1
  12. package/comboboxes/multicolumncombobox.component.d.ts +1 -1
  13. package/common/constants/error-messages.d.ts +1 -1
  14. package/common/constants/touch-enabled.d.ts +1 -1
  15. package/common/data.service.d.ts +1 -1
  16. package/common/disabled-items/disabled-items.service.d.ts +1 -1
  17. package/common/disabled-items/item-disabled.d.ts +1 -1
  18. package/common/filter-input.directive.d.ts +1 -1
  19. package/common/filtering/filter-settings.d.ts +1 -1
  20. package/common/filtering/filter.directive.d.ts +1 -1
  21. package/common/filtering/filterable-component.d.ts +1 -1
  22. package/common/list-item.directive.d.ts +1 -1
  23. package/common/list.component.d.ts +1 -1
  24. package/common/localization/custom-messages.component.d.ts +1 -1
  25. package/common/localization/localized-messages.directive.d.ts +1 -1
  26. package/common/localization/messages.d.ts +1 -1
  27. package/common/models/checkboxes-settings.d.ts +1 -1
  28. package/common/models/direction.d.ts +1 -1
  29. package/common/models/fillmode.d.ts +1 -1
  30. package/common/models/list-type.d.ts +1 -1
  31. package/common/models/page-change-event.d.ts +1 -1
  32. package/common/models/popup-settings.d.ts +1 -1
  33. package/common/models/preventable-event.d.ts +1 -1
  34. package/common/models/remove-tag-event.d.ts +1 -1
  35. package/common/models/rounded.d.ts +1 -1
  36. package/common/models/size.d.ts +1 -1
  37. package/common/models/virtualization-settings.d.ts +1 -1
  38. package/common/navigation/navigation-action.d.ts +1 -1
  39. package/common/navigation/navigation.service.d.ts +1 -1
  40. package/common/searchbar.component.d.ts +1 -1
  41. package/common/selection/selectable.directive.d.ts +1 -1
  42. package/common/selection/selection.service.d.ts +1 -1
  43. package/common/shared-directives.module.d.ts +1 -1
  44. package/common/shared.module.d.ts +3 -2
  45. package/common/taglist.component.d.ts +6 -1
  46. package/common/templates/custom-item-template.directive.d.ts +1 -1
  47. package/common/templates/fixed-group-template.directive.d.ts +1 -1
  48. package/common/templates/footer-template.directive.d.ts +1 -1
  49. package/common/templates/group-tag-template.directive.d.ts +1 -1
  50. package/common/templates/group-template.directive.d.ts +1 -1
  51. package/common/templates/header-template.directive.d.ts +1 -1
  52. package/common/templates/item-template.directive.d.ts +1 -1
  53. package/common/templates/no-data-template.directive.d.ts +1 -1
  54. package/common/templates/tag-template.directive.d.ts +1 -1
  55. package/common/templates/template-context.directive.d.ts +1 -1
  56. package/common/templates/value-template.directive.d.ts +1 -1
  57. package/common/util.d.ts +16 -1
  58. package/dropdownlist/dropdownlist.component.d.ts +10 -1
  59. package/dropdownlist/dropdownlist.module.d.ts +1 -1
  60. package/dropdowns.module.d.ts +1 -1
  61. package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
  62. package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
  63. package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
  64. package/dropdowntrees/checked-state/checkable-settings.d.ts +1 -1
  65. package/dropdowntrees/checked-state/checked-item.d.ts +1 -1
  66. package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
  67. package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
  68. package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
  69. package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
  70. package/dropdowntrees/dropdowntree.component.d.ts +22 -2
  71. package/dropdowntrees/dropdowntrees.module.d.ts +1 -1
  72. package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
  73. package/dropdowntrees/lookup/lookup.d.ts +1 -1
  74. package/dropdowntrees/lookup/lookup.service.d.ts +1 -1
  75. package/dropdowntrees/multiselecttree.component.d.ts +18 -2
  76. package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
  77. package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
  78. package/{esm2015/autocomplete/autocomplete.component.js → esm2020/autocomplete/autocomplete.component.mjs} +31 -15
  79. package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
  80. package/{esm2015/comboboxes/combobox-column/column-cell-template.directive.js → esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs} +5 -5
  81. package/{esm2015/comboboxes/combobox-column/column-header-template.directive.js → esm2020/comboboxes/combobox-column/column-header-template.directive.mjs} +5 -5
  82. package/{esm2015/comboboxes/combobox-column/combobox-column.component.js → esm2020/comboboxes/combobox-column/combobox-column.component.mjs} +4 -4
  83. package/{esm2015/comboboxes/combobox-column/util.js → esm2020/comboboxes/combobox-column/util.mjs} +1 -1
  84. package/{esm2015/comboboxes/combobox.component.js → esm2020/comboboxes/combobox.component.mjs} +50 -18
  85. package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
  86. package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +37 -15
  87. package/{esm2015/common/constants/error-messages.js → esm2020/common/constants/error-messages.mjs} +1 -1
  88. package/{esm2015/common/constants/touch-enabled.js → esm2020/common/constants/touch-enabled.mjs} +1 -1
  89. package/{esm2015/common/data.service.js → esm2020/common/data.service.mjs} +5 -5
  90. package/{esm2015/common/disabled-items/disabled-items.service.js → esm2020/common/disabled-items/disabled-items.service.mjs} +5 -4
  91. package/{esm2015/common/models/fillmode.js → esm2020/common/disabled-items/item-disabled.mjs} +1 -1
  92. package/{esm2015/common/filter-input.directive.js → esm2020/common/filter-input.directive.mjs} +5 -5
  93. package/{esm2015/common/disabled-items/item-disabled.js → esm2020/common/filtering/filter-settings.mjs} +1 -1
  94. package/{esm2015/common/filtering/filter.directive.js → esm2020/common/filtering/filter.directive.mjs} +5 -4
  95. package/{esm2015/common/filtering/filterable-component.js → esm2020/common/filtering/filterable-component.mjs} +1 -1
  96. package/{esm2015/common/list-item.directive.js → esm2020/common/list-item.directive.mjs} +5 -5
  97. package/{esm2015/common/list.component.js → esm2020/common/list.component.mjs} +21 -10
  98. package/{esm2015/common/localization/custom-messages.component.js → esm2020/common/localization/custom-messages.component.mjs} +5 -4
  99. package/{esm2015/common/localization/localized-messages.directive.js → esm2020/common/localization/localized-messages.directive.mjs} +5 -4
  100. package/{esm2015/common/localization/messages.js → esm2020/common/localization/messages.mjs} +4 -4
  101. package/{esm2015/common/models/checkboxes-settings.js → esm2020/common/models/checkboxes-settings.mjs} +1 -1
  102. package/{esm2015/common/filtering/filter-settings.js → esm2020/common/models/direction.mjs} +1 -1
  103. package/{esm2015/common/models/direction.js → esm2020/common/models/fillmode.mjs} +1 -1
  104. package/esm2020/common/models/list-type.mjs +5 -0
  105. package/esm2020/common/models/page-change-event.mjs +5 -0
  106. package/esm2020/common/models/popup-settings.mjs +5 -0
  107. package/{esm2015/common/models/preventable-event.js → esm2020/common/models/preventable-event.mjs} +1 -1
  108. package/{esm2015/common/models/remove-tag-event.js → esm2020/common/models/remove-tag-event.mjs} +1 -1
  109. package/esm2020/common/models/rounded.mjs +5 -0
  110. package/esm2020/common/models/size.mjs +5 -0
  111. package/{esm2015/common/models/virtualization-settings.js → esm2020/common/models/virtualization-settings.mjs} +2 -2
  112. package/{esm2015/common/navigation/navigation-action.js → esm2020/common/navigation/navigation-action.mjs} +1 -1
  113. package/{esm2015/common/navigation/navigation.service.js → esm2020/common/navigation/navigation.service.mjs} +6 -4
  114. package/{esm2015/common/searchbar.component.js → esm2020/common/searchbar.component.mjs} +10 -6
  115. package/{esm2015/common/selection/selectable.directive.js → esm2020/common/selection/selectable.directive.mjs} +5 -4
  116. package/{esm2015/common/selection/selection.service.js → esm2020/common/selection/selection.service.mjs} +8 -7
  117. package/{esm2015/common/shared-directives.module.js → esm2020/common/shared-directives.module.mjs} +5 -5
  118. package/{esm2015/common/shared.module.js → esm2020/common/shared.module.mjs} +10 -9
  119. package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +28 -14
  120. package/{esm2015/common/templates/custom-item-template.directive.js → esm2020/common/templates/custom-item-template.directive.mjs} +5 -5
  121. package/{esm2015/common/templates/fixed-group-template.directive.js → esm2020/common/templates/fixed-group-template.directive.mjs} +5 -5
  122. package/{esm2015/common/templates/footer-template.directive.js → esm2020/common/templates/footer-template.directive.mjs} +5 -5
  123. package/{esm2015/common/templates/group-tag-template.directive.js → esm2020/common/templates/group-tag-template.directive.mjs} +5 -5
  124. package/{esm2015/common/templates/group-template.directive.js → esm2020/common/templates/group-template.directive.mjs} +5 -5
  125. package/{esm2015/common/templates/header-template.directive.js → esm2020/common/templates/header-template.directive.mjs} +5 -5
  126. package/{esm2015/common/templates/item-template.directive.js → esm2020/common/templates/item-template.directive.mjs} +5 -5
  127. package/{esm2015/common/templates/no-data-template.directive.js → esm2020/common/templates/no-data-template.directive.mjs} +5 -5
  128. package/{esm2015/common/templates/tag-template.directive.js → esm2020/common/templates/tag-template.directive.mjs} +5 -5
  129. package/{esm2015/common/templates/template-context.directive.js → esm2020/common/templates/template-context.directive.mjs} +5 -5
  130. package/{esm2015/common/templates/value-template.directive.js → esm2020/common/templates/value-template.directive.mjs} +5 -5
  131. package/{esm2015/common/util.js → esm2020/common/util.mjs} +27 -1
  132. package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +60 -33
  133. package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs} +5 -5
  134. package/{esm2015/dropdowns.module.js → esm2020/dropdowns.module.mjs} +5 -5
  135. package/{esm2015/dropdowntrees/checked-state/base-check.directive.js → esm2020/dropdowntrees/checked-state/base-check.directive.mjs} +6 -6
  136. package/{esm2015/dropdowntrees/checked-state/check-all.directive.js → esm2020/dropdowntrees/checked-state/check-all.directive.mjs} +7 -6
  137. package/{esm2015/dropdowntrees/checked-state/check.directive.js → esm2020/dropdowntrees/checked-state/check.directive.mjs} +7 -6
  138. package/esm2020/dropdowntrees/checked-state/checkable-settings.mjs +5 -0
  139. package/esm2020/dropdowntrees/checked-state/checked-item.mjs +5 -0
  140. package/{esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs} +7 -7
  141. package/{esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs} +7 -7
  142. package/{esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs} +7 -7
  143. package/{esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs} +7 -7
  144. package/{esm2015/dropdowntrees/dropdowntree.component.js → esm2020/dropdowntrees/dropdowntree.component.mjs} +141 -62
  145. package/{esm2015/dropdowntrees/dropdowntrees.module.js → esm2020/dropdowntrees/dropdowntrees.module.mjs} +5 -5
  146. package/{esm2015/dropdowntrees/expanded-state/expand.directive.js → esm2020/dropdowntrees/expanded-state/expand.directive.mjs} +5 -5
  147. package/{esm2015/dropdowntrees/lookup/lookup.js → esm2020/dropdowntrees/lookup/lookup.mjs} +1 -1
  148. package/{esm2015/dropdowntrees/lookup/lookup.service.js → esm2020/dropdowntrees/lookup/lookup.service.mjs} +4 -4
  149. package/{esm2015/dropdowntrees/multiselecttree.component.js → esm2020/dropdowntrees/multiselecttree.component.mjs} +127 -44
  150. package/{esm2015/dropdowntrees/summary-tag/summary-tag.directive.js → esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs} +5 -4
  151. package/{esm2015/dropdowntrees/templates/node-template.directive.js → esm2020/dropdowntrees/templates/node-template.directive.mjs} +5 -5
  152. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  153. package/{esm2015/multiselect/multiselect.component.js → esm2020/multiselect/multiselect.component.mjs} +51 -19
  154. package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs} +5 -5
  155. package/{esm2015/multiselect/summary-tag.directive.js → esm2020/multiselect/summary-tag.directive.mjs} +6 -6
  156. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  157. package/{esm2015/kendo-angular-dropdowns.js → esm2020/progress-kendo-angular-dropdowns.mjs} +2 -2
  158. package/fesm2015/progress-kendo-angular-dropdowns.mjs +14976 -0
  159. package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +677 -364
  160. package/{main.d.ts → index.d.ts} +2 -1
  161. package/multiselect/multiselect.component.d.ts +10 -1
  162. package/multiselect/multiselect.module.d.ts +1 -1
  163. package/multiselect/summary-tag.directive.d.ts +1 -1
  164. package/package-metadata.d.ts +1 -1
  165. package/package.json +33 -58
  166. package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
  167. package/schematics/ngAdd/index.js +4 -6
  168. package/bundles/kendo-angular-dropdowns.umd.js +0 -5
  169. package/esm2015/common/models/list-type.js +0 -5
  170. package/esm2015/common/models/page-change-event.js +0 -5
  171. package/esm2015/common/models/popup-settings.js +0 -5
  172. package/esm2015/common/models/rounded.js +0 -5
  173. package/esm2015/common/models/size.js +0 -5
  174. package/esm2015/dropdowntrees/checked-state/checkable-settings.js +0 -5
  175. package/esm2015/dropdowntrees/checked-state/checked-item.js +0 -5
  176. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { Directive, EventEmitter, Input, Output } from '@angular/core';
6
+ import { TreeViewComponent } from '@progress/kendo-angular-treeview';
6
7
  import { Subscription } from 'rxjs';
7
8
  import { filter } from 'rxjs/operators';
8
9
  import { fetchDescendentNodes, isPresent } from '../../common/util';
@@ -35,10 +36,10 @@ export class CheckDirective extends BaseCheckDirective {
35
36
  this.treeView.isChecked = this.getCheckedState.bind(this);
36
37
  }
37
38
  ngOnChanges(changes) {
38
- if (isPresent(changes.checkable)) {
39
+ if (isPresent(changes['checkable'])) {
39
40
  this.toggleCheckOnClick();
40
41
  }
41
- if (isPresent(changes.checkedItems)) {
42
+ if (isPresent(changes['checkedItems'])) {
42
43
  this.updateItems();
43
44
  }
44
45
  }
@@ -136,9 +137,9 @@ export class CheckDirective extends BaseCheckDirective {
136
137
  return false;
137
138
  }
138
139
  }
139
- CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckDirective, deps: [{ token: i1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
140
- CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckDirective, decorators: [{
140
+ CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: i1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
141
+ CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
142
143
  type: Directive,
143
144
  args: [{
144
145
  selector: '[kendoMultiSelectTreeCheckable]'
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -1,10 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { Directive, Input } from '@angular/core';
6
6
  import { isChanged } from '@progress/kendo-angular-common';
7
- import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
7
+ import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-treeview";
10
10
  /**
@@ -23,15 +23,15 @@ export class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
23
23
  }
24
24
  ngOnChanges(changes) {
25
25
  if (isChanged('nodes', changes, false)) {
26
- this.dropDownTree.nodes = changes.nodes.currentValue;
27
- super.nodes = changes.nodes.currentValue;
26
+ this.dropDownTree.nodes = changes['nodes'].currentValue;
27
+ super.nodes = changes['nodes'].currentValue;
28
28
  }
29
29
  super.ngOnChanges(changes);
30
30
  }
31
31
  }
32
- DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
- DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
32
+ DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
+ DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[kendoDropDownTreeFlatBinding]'
@@ -1,10 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { Directive, Input } from '@angular/core';
6
6
  import { isChanged } from '@progress/kendo-angular-common';
7
- import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
7
+ import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
8
8
  import { getter } from '@progress/kendo-common';
9
9
  import * as i0 from "@angular/core";
10
10
  import * as i1 from "@progress/kendo-angular-treeview";
@@ -45,15 +45,15 @@ export class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirec
45
45
  }
46
46
  ngOnChanges(changes) {
47
47
  if (isChanged('nodes', changes, false)) {
48
- this.dropDownTree.nodes = changes.nodes.currentValue;
49
- super.nodes = changes.nodes.currentValue;
48
+ this.dropDownTree.nodes = changes['nodes'].currentValue;
49
+ super.nodes = changes['nodes'].currentValue;
50
50
  }
51
51
  super.ngOnChanges(changes);
52
52
  }
53
53
  }
54
- DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
55
- DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
54
+ DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
55
+ DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
57
57
  type: Directive,
58
58
  args: [{
59
59
  selector: '[kendoDropDownTreeHierarchyBinding]'
@@ -1,10 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { Directive, Input } from '@angular/core';
6
6
  import { isChanged } from '@progress/kendo-angular-common';
7
- import { FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
7
+ import { DataBoundComponent, FlatDataBindingDirective } from '@progress/kendo-angular-treeview';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-treeview";
10
10
  /**
@@ -23,15 +23,15 @@ export class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirectiv
23
23
  }
24
24
  ngOnChanges(changes) {
25
25
  if (isChanged('nodes', changes, false)) {
26
- this.multiSelectTree.nodes = changes.nodes.currentValue;
27
- super.nodes = changes.nodes.currentValue;
26
+ this.multiSelectTree.nodes = changes['nodes'].currentValue;
27
+ super.nodes = changes['nodes'].currentValue;
28
28
  }
29
29
  super.ngOnChanges(changes);
30
30
  }
31
31
  }
32
- MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
- MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
32
+ MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
+ MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[kendoMultiSelectTreeFlatBinding]'
@@ -1,10 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { Directive, Input } from '@angular/core';
6
6
  import { isChanged } from '@progress/kendo-angular-common';
7
- import { HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
7
+ import { DataBoundComponent, HierarchyBindingDirective } from '@progress/kendo-angular-treeview';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "@progress/kendo-angular-treeview";
10
10
  /**
@@ -23,15 +23,15 @@ export class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDi
23
23
  }
24
24
  ngOnChanges(changes) {
25
25
  if (isChanged('nodes', changes, false)) {
26
- this.multiSelectTree.nodes = changes.nodes.currentValue;
27
- super.nodes = changes.nodes.currentValue;
26
+ this.multiSelectTree.nodes = changes['nodes'].currentValue;
27
+ super.nodes = changes['nodes'].currentValue;
28
28
  }
29
29
  super.ngOnChanges(changes);
30
30
  }
31
31
  }
32
- MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
- MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
32
+ MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
33
+ MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[kendoMultiSelectTreeHierarchyBinding]'
@@ -1,10 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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 { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output, ViewChild, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener } from '@angular/core';
5
+ import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostBinding, Input, Output, NgZone, Renderer2, TemplateRef, ViewChild, ChangeDetectorRef, ContentChild, forwardRef, ViewContainerRef, isDevMode, Optional, Inject, HostListener, Injector } from '@angular/core';
6
6
  import { anyChanged, guid, hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
7
- import { DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
7
+ import { PopupService } from '@progress/kendo-angular-popup';
8
+ import { TreeViewComponent, DataBoundComponent, ExpandableComponent } from '@progress/kendo-angular-treeview';
8
9
  import { getter } from '@progress/kendo-common';
9
10
  import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
10
11
  import { DataService } from '../common/data.service';
@@ -13,27 +14,29 @@ import { NavigationService } from '../common/navigation/navigation.service';
13
14
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
14
15
  import { SelectionService } from '../common/selection/selection.service';
15
16
  import { PreventableEvent } from '../common/models/preventable-event';
16
- import { getFillModeClass, getRoundedClass, getSizeClass, inDropDown, isArray, isPresent, isUntouched, noop } from '../common/util';
17
+ import { getFillModeClass, getRoundedClass, getSearchableItems, getSizeClass, inDropDown, isArray, isLetter, isPresent, isUntouched, noop } from '../common/util';
17
18
  import { NoDataTemplateDirective } from '../common/templates/no-data-template.directive';
18
- import { of } from 'rxjs';
19
- import { tap } from 'rxjs/operators';
19
+ import { of, Subject, Subscription } from 'rxjs';
20
+ import { debounceTime, tap } from 'rxjs/operators';
20
21
  import { HeaderTemplateDirective } from '../common/templates/header-template.directive';
21
22
  import { FooterTemplateDirective } from '../common/templates/footer-template.directive';
22
23
  import { NodeTemplateDirective } from './templates/node-template.directive';
23
24
  import { DropDownTreeMessages } from '../common/constants/error-messages';
24
25
  import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
25
26
  import { ValueTemplateDirective } from '../common/templates/value-template.directive';
27
+ import { caretAltDownIcon, searchIcon, xIcon } from '@progress/kendo-svg-icons';
26
28
  import * as i0 from "@angular/core";
27
29
  import * as i1 from "@progress/kendo-angular-popup";
28
30
  import * as i2 from "../common/navigation/navigation.service";
29
31
  import * as i3 from "@progress/kendo-angular-l10n";
30
- import * as i4 from "@progress/kendo-angular-treeview";
31
- import * as i5 from "../common/localization/localized-messages.directive";
32
- import * as i6 from "@angular/common";
33
- import * as i7 from "../common/templates/template-context.directive";
34
- import * as i8 from "@angular/forms";
35
- import * as i9 from "../common/filter-input.directive";
36
- import * as i10 from "@progress/kendo-angular-common";
32
+ import * as i4 from "@progress/kendo-angular-icons";
33
+ import * as i5 from "@progress/kendo-angular-treeview";
34
+ import * as i6 from "../common/localization/localized-messages.directive";
35
+ import * as i7 from "@angular/common";
36
+ import * as i8 from "../common/templates/template-context.directive";
37
+ import * as i9 from "@angular/forms";
38
+ import * as i10 from "../common/filter-input.directive";
39
+ import * as i11 from "@progress/kendo-angular-common";
37
40
  const DEFAULT_POPUP_SETTINGS = { animate: true };
38
41
  const hasChildren = () => false;
39
42
  const fetchChildren = () => of([]);
@@ -56,6 +59,18 @@ export class DropDownTreeComponent {
56
59
  this.cdr = cdr;
57
60
  this.localization = localization;
58
61
  this.touchEnabled = touchEnabled;
62
+ /**
63
+ * @hidden
64
+ */
65
+ this.searchIcon = searchIcon;
66
+ /**
67
+ * @hidden
68
+ */
69
+ this.caretAltDownIcon = caretAltDownIcon;
70
+ /**
71
+ * @hidden
72
+ */
73
+ this.xIcon = xIcon;
59
74
  this.hostClasses = true;
60
75
  this.role = 'combobox';
61
76
  this.ariaHasPopup = 'tree';
@@ -197,7 +212,10 @@ export class DropDownTreeComponent {
197
212
  this._size = 'medium';
198
213
  this._rounded = 'medium';
199
214
  this._fillMode = 'solid';
200
- this.subscriptions = [];
215
+ this._searchableNodes = [];
216
+ this._typedValue = '';
217
+ this.printableCharacters = new Subject();
218
+ this.subs = new Subscription();
201
219
  this.onTouchedCallback = noop;
202
220
  this.onChangeCallback = noop;
203
221
  this.direction = localization.rtl ? 'rtl' : 'ltr';
@@ -251,6 +269,9 @@ export class DropDownTreeComponent {
251
269
  if (this.disabled || this.readonly) {
252
270
  return;
253
271
  }
272
+ if (isLetter(event.key)) {
273
+ this.printableCharacters.next(event.key);
274
+ }
254
275
  const eventData = event;
255
276
  this.navigationService.process({
256
277
  originalEvent: eventData
@@ -497,12 +518,23 @@ export class DropDownTreeComponent {
497
518
  */
498
519
  get formControl() {
499
520
  const ngControl = this.injector.get(NgControl, null);
500
- return (ngControl === null || ngControl === void 0 ? void 0 : ngControl.control) || null;
521
+ return ngControl?.control || null;
501
522
  }
502
523
  ngOnInit() {
524
+ this.subs.add(this.printableCharacters.pipe(tap((char) => {
525
+ this._typedValue += char;
526
+ const itemToFocus = this._searchableNodes.find((node) => {
527
+ return node.text.toLowerCase().indexOf(this._typedValue) === 0;
528
+ });
529
+ this.treeview.focus(itemToFocus?.index);
530
+ const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
531
+ htmlItem?.scrollIntoView();
532
+ }), debounceTime(1000)).subscribe(() => {
533
+ this._typedValue = '';
534
+ }));
503
535
  this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
504
536
  this.assignAriaDescribedBy();
505
- this.subscriptions.push(this.localization
537
+ this.subs.add(this.localization
506
538
  .changes.subscribe(({ rtl }) => {
507
539
  this.direction = rtl ? 'rtl' : 'ltr';
508
540
  this.cdr.markForCheck();
@@ -605,7 +637,7 @@ export class DropDownTreeComponent {
605
637
  focusItemAt(index) {
606
638
  if (this.treeview) {
607
639
  const lookup = this.treeview.itemLookup(index);
608
- let isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
640
+ const isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
609
641
  if (!isItemDisabled) {
610
642
  this.treeview.focus(index);
611
643
  }
@@ -756,7 +788,7 @@ export class DropDownTreeComponent {
756
788
  * @hidden
757
789
  */
758
790
  get buttonClasses() {
759
- return this.loading ? 'k-i-loading k-input-loading-icon' : 'k-i-caret-alt-down';
791
+ return this.loading ? 'k-i-loading k-input-loading-icon' : null;
760
792
  }
761
793
  /**
762
794
  * @hidden
@@ -801,6 +833,16 @@ export class DropDownTreeComponent {
801
833
  }
802
834
  return null;
803
835
  }
836
+ /**
837
+ * @hidden
838
+ */
839
+ onChildrenLoaded() {
840
+ setTimeout(() => {
841
+ if (this.popupRef) {
842
+ this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
843
+ }
844
+ });
845
+ }
804
846
  /**
805
847
  * @hidden
806
848
  *
@@ -857,6 +899,7 @@ export class DropDownTreeComponent {
857
899
  this.popupRef.popupOpen.subscribe(() => {
858
900
  this.cdr.detectChanges();
859
901
  this.opened.emit();
902
+ this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
860
903
  });
861
904
  this.popupRef.popupClose.subscribe(() => {
862
905
  this.closed.emit();
@@ -898,33 +941,41 @@ export class DropDownTreeComponent {
898
941
  this.selectedKeys = [];
899
942
  }
900
943
  subscribeEvents() {
901
- this.subscriptions.push(this.navigationService.open.subscribe((event) => {
902
- event.originalEvent.preventDefault();
903
- this.togglePopup(true);
904
- }), this.navigationService.close.subscribe((event) => {
905
- event.originalEvent.preventDefault();
906
- this.togglePopup(false);
907
- this.focus();
908
- }), this.navigationService.enter
909
- .pipe(tap((event) => event.originalEvent.preventDefault()))
910
- .subscribe(() => this.togglePopup(true)), this.navigationService.esc
911
- .subscribe(() => this.handleEscape()), this.navigationService.tab.subscribe(() => this.focus()), this.navigationService.down.subscribe((event) => {
912
- if (!this.treeview) {
913
- return;
914
- }
915
- event.originalEvent.preventDefault();
916
- if (!this.treeview.isActive) {
917
- this.treeview.focus();
918
- }
919
- }), this.navigationService.up.subscribe((event) => {
920
- if (!this.treeview) {
921
- return;
922
- }
923
- event.originalEvent.preventDefault();
924
- if (this.filterable && this.treeview['navigationService']['activeIndex'] === '0') {
925
- this.filterInput.nativeElement.focus();
926
- }
927
- }));
944
+ [
945
+ this.navigationService.open.subscribe((event) => {
946
+ event.originalEvent.preventDefault();
947
+ this.togglePopup(true);
948
+ }),
949
+ this.navigationService.close.subscribe((event) => {
950
+ event.originalEvent.preventDefault();
951
+ this.togglePopup(false);
952
+ this.focus();
953
+ }),
954
+ this.navigationService.enter
955
+ .pipe(tap((event) => event.originalEvent.preventDefault()))
956
+ .subscribe(() => this.togglePopup(true)),
957
+ this.navigationService.esc
958
+ .subscribe(() => this.handleEscape()),
959
+ this.navigationService.tab.subscribe(() => this.focus()),
960
+ this.navigationService.down.subscribe((event) => {
961
+ if (!this.treeview) {
962
+ return;
963
+ }
964
+ event.originalEvent.preventDefault();
965
+ if (!this.treeview.isActive) {
966
+ this.treeview.focus();
967
+ }
968
+ }),
969
+ this.navigationService.up.subscribe((event) => {
970
+ if (!this.treeview) {
971
+ return;
972
+ }
973
+ event.originalEvent.preventDefault();
974
+ if (this.filterable && this.treeview['navigationService']['activeIndex'] === '0') {
975
+ this.filterInput.nativeElement.focus();
976
+ }
977
+ })
978
+ ].forEach(sub => this.subs.add(sub));
928
979
  }
929
980
  subscribeTouchEvents() {
930
981
  if (!isDocumentAvailable() || !this.touchEnabled) {
@@ -963,7 +1014,7 @@ export class DropDownTreeComponent {
963
1014
  }
964
1015
  }
965
1016
  unsubscribeEvents() {
966
- this.subscriptions.forEach(sub => sub.unsubscribe());
1017
+ this.subs.unsubscribe();
967
1018
  this.unSubscribeFocusEvents();
968
1019
  if (this.touchstartDisposeHandler) {
969
1020
  this.touchstartDisposeHandler();
@@ -994,8 +1045,8 @@ export class DropDownTreeComponent {
994
1045
  }
995
1046
  }
996
1047
  }
997
- DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
998
- DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "attr.readonly": "this.isReadonly" } }, providers: [
1048
+ DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1049
+ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "attr.readonly": "this.isReadonly" } }, providers: [
999
1050
  DataService,
1000
1051
  SelectionService,
1001
1052
  NavigationService,
@@ -1056,7 +1107,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1056
1107
  [attr.title]="messageFor('clearTitle')"
1057
1108
  (click)="clearValue($event)"
1058
1109
  >
1059
- <span class="k-icon k-i-x"></span>
1110
+ <kendo-icon-wrapper
1111
+ class="k-icon"
1112
+ name="x"
1113
+ [svgIcon]="xIcon"
1114
+ >
1115
+ </kendo-icon-wrapper>
1060
1116
  </span>
1061
1117
  <button
1062
1118
  tabindex="-1"
@@ -1066,10 +1122,13 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1066
1122
  [ngClass]="selectButtonClasses"
1067
1123
  [attr.aria-label]="messageFor('selectButtonText')"
1068
1124
  >
1069
- <span
1070
- class="k-button-icon k-icon"
1071
- [ngClass]="buttonClasses"
1072
- ></span>
1125
+ <span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1126
+ <kendo-icon-wrapper
1127
+ *ngIf="!loading"
1128
+ name="caret-alt-down"
1129
+ [svgIcon]="caretAltDownIcon"
1130
+ >
1131
+ </kendo-icon-wrapper>
1073
1132
  </button>
1074
1133
  <ng-template #popupTemplate>
1075
1134
  <span
@@ -1081,7 +1140,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1081
1140
  [ngClass]="filterInputClasses"
1082
1141
  >
1083
1142
  <span class="k-input-prefix">
1084
- <span class="k-input-icon k-icon k-i-search"></span>
1143
+ <kendo-icon-wrapper
1144
+ class="k-icon"
1145
+ name="search"
1146
+ [svgIcon]="searchIcon"
1147
+ >
1148
+ </kendo-icon-wrapper>
1085
1149
  </span>
1086
1150
  <input
1087
1151
  #filterInput
@@ -1135,6 +1199,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1135
1199
  (selectionChange)="onSelectionChange($event)"
1136
1200
  (expand)="nodeExpand.emit($event)"
1137
1201
  (collapse)="nodeCollapse.emit($event)"
1202
+ (childrenLoaded)="onChildrenLoaded()"
1138
1203
  >
1139
1204
  </kendo-treeview>
1140
1205
  <!--footer template-->
@@ -1157,8 +1222,8 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
1157
1222
  </div>
1158
1223
  </ng-template>
1159
1224
  <ng-container #container></ng-container>
1160
- `, isInline: true, components: [{ type: i4.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i5.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i9.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreeComponent, decorators: [{
1225
+ `, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i5.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i6.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i11.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i5.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1226
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
1162
1227
  type: Component,
1163
1228
  args: [{
1164
1229
  exportAs: 'kendoDropDownTree',
@@ -1225,7 +1290,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1225
1290
  [attr.title]="messageFor('clearTitle')"
1226
1291
  (click)="clearValue($event)"
1227
1292
  >
1228
- <span class="k-icon k-i-x"></span>
1293
+ <kendo-icon-wrapper
1294
+ class="k-icon"
1295
+ name="x"
1296
+ [svgIcon]="xIcon"
1297
+ >
1298
+ </kendo-icon-wrapper>
1229
1299
  </span>
1230
1300
  <button
1231
1301
  tabindex="-1"
@@ -1235,10 +1305,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1235
1305
  [ngClass]="selectButtonClasses"
1236
1306
  [attr.aria-label]="messageFor('selectButtonText')"
1237
1307
  >
1238
- <span
1239
- class="k-button-icon k-icon"
1240
- [ngClass]="buttonClasses"
1241
- ></span>
1308
+ <span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1309
+ <kendo-icon-wrapper
1310
+ *ngIf="!loading"
1311
+ name="caret-alt-down"
1312
+ [svgIcon]="caretAltDownIcon"
1313
+ >
1314
+ </kendo-icon-wrapper>
1242
1315
  </button>
1243
1316
  <ng-template #popupTemplate>
1244
1317
  <span
@@ -1250,7 +1323,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1250
1323
  [ngClass]="filterInputClasses"
1251
1324
  >
1252
1325
  <span class="k-input-prefix">
1253
- <span class="k-input-icon k-icon k-i-search"></span>
1326
+ <kendo-icon-wrapper
1327
+ class="k-icon"
1328
+ name="search"
1329
+ [svgIcon]="searchIcon"
1330
+ >
1331
+ </kendo-icon-wrapper>
1254
1332
  </span>
1255
1333
  <input
1256
1334
  #filterInput
@@ -1304,6 +1382,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1304
1382
  (selectionChange)="onSelectionChange($event)"
1305
1383
  (expand)="nodeExpand.emit($event)"
1306
1384
  (collapse)="nodeCollapse.emit($event)"
1385
+ (childrenLoaded)="onChildrenLoaded()"
1307
1386
  >
1308
1387
  </kendo-treeview>
1309
1388
  <!--footer template-->
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
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
5
  import { NgModule } from '@angular/core';
@@ -32,8 +32,8 @@ const DROPDOWNTREE_DIRECTIVES = [
32
32
  */
33
33
  export class DropDownTreesModule {
34
34
  }
35
- DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
- DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
35
+ DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
37
37
  MultiSelectTreeComponent,
38
38
  DropDownTreeFlatBindingDirective,
39
39
  DropDownTreeHierarchyBindingDirective,
@@ -50,8 +50,8 @@ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
50
50
  DropDownTreesExpandDirective,
51
51
  NodeTemplateDirective,
52
52
  MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
53
- DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DropDownTreesModule, decorators: [{
53
+ DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, decorators: [{
55
55
  type: NgModule,
56
56
  args: [{
57
57
  declarations: [DROPDOWNTREE_DIRECTIVES],