@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,8 @@
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 { Component, forwardRef, Input, Output, EventEmitter, ContentChild, ViewChild, ViewContainerRef, HostBinding, isDevMode, Optional, Inject } from '@angular/core';
5
+ import { Component, forwardRef, ElementRef, TemplateRef, Input, Output, EventEmitter, ContentChild, ViewChild, ViewContainerRef, HostBinding, isDevMode, Optional, Inject, ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { validatePackage } from '@progress/kendo-licensing';
8
8
  import { packageMetadata } from '../package-metadata';
@@ -24,12 +24,15 @@ import { NavigationAction } from '../common/navigation/navigation-action';
24
24
  import { Keys } from '@progress/kendo-angular-common';
25
25
  import { PreventableEvent } from '../common/models/preventable-event';
26
26
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
27
+ import { PopupService } from '@progress/kendo-angular-popup';
27
28
  import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
28
29
  import { ComboBoxMessages } from '../common/constants/error-messages';
29
30
  import { FilterableComponent } from '../common/filtering/filterable-component';
30
31
  import { DataService } from '../common/data.service';
32
+ import { ListComponent } from '../common/list.component';
31
33
  import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
32
34
  import { pointers } from '@progress/kendo-common';
35
+ import { caretAltDownIcon, xIcon } from '@progress/kendo-svg-icons';
33
36
  import * as i0 from "@angular/core";
34
37
  import * as i1 from "@progress/kendo-angular-l10n";
35
38
  import * as i2 from "@progress/kendo-angular-popup";
@@ -38,11 +41,12 @@ import * as i4 from "../common/navigation/navigation.service";
38
41
  import * as i5 from "../common/disabled-items/disabled-items.service";
39
42
  import * as i6 from "../common/data.service";
40
43
  import * as i7 from "../common/searchbar.component";
41
- import * as i8 from "../common/list.component";
42
- import * as i9 from "@progress/kendo-angular-common";
43
- import * as i10 from "../common/localization/localized-messages.directive";
44
- import * as i11 from "@angular/common";
45
- import * as i12 from "../common/templates/template-context.directive";
44
+ import * as i8 from "@progress/kendo-angular-icons";
45
+ import * as i9 from "../common/list.component";
46
+ import * as i10 from "@progress/kendo-angular-common";
47
+ import * as i11 from "../common/localization/localized-messages.directive";
48
+ import * as i12 from "@angular/common";
49
+ import * as i13 from "../common/templates/template-context.directive";
46
50
  /**
47
51
  * @hidden
48
52
  */
@@ -84,6 +88,14 @@ export class ComboBoxComponent {
84
88
  this.cdr = cdr;
85
89
  this.renderer = renderer;
86
90
  this.touchEnabled = touchEnabled;
91
+ /**
92
+ * @hidden
93
+ */
94
+ this.xIcon = xIcon;
95
+ /**
96
+ * @hidden
97
+ */
98
+ this.caretAltDownIcon = caretAltDownIcon;
87
99
  this.selected = [];
88
100
  /**
89
101
  * @hidden
@@ -659,7 +671,7 @@ export class ComboBoxComponent {
659
671
  }
660
672
  ngOnChanges(changes) {
661
673
  const virtual = this.virtual;
662
- const requestInitialData = virtual && changes.data && changes.data.isFirstChange();
674
+ const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
663
675
  if (requestInitialData) {
664
676
  this.pageChange({ skip: 0, take: virtual.pageSize });
665
677
  }
@@ -752,7 +764,7 @@ export class ComboBoxComponent {
752
764
  * @hidden
753
765
  */
754
766
  clearValue(event) {
755
- event === null || event === void 0 ? void 0 : event.stopImmediatePropagation();
767
+ event?.stopImmediatePropagation();
756
768
  if (event) {
757
769
  this.focus();
758
770
  }
@@ -789,7 +801,7 @@ export class ComboBoxComponent {
789
801
  * @hidden
790
802
  */
791
803
  get buttonClasses() {
792
- return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass || 'k-i-caret-alt-down';
804
+ return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
793
805
  }
794
806
  /**
795
807
  * @hidden
@@ -1274,8 +1286,8 @@ export class ComboBoxComponent {
1274
1286
  }
1275
1287
  }
1276
1288
  }
1277
- ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1278
- ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
1289
+ ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1290
+ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
1279
1291
  COMBOBOX_VALUE_ACCESSOR,
1280
1292
  DataService,
1281
1293
  SelectionService,
@@ -1335,7 +1347,11 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1335
1347
  mousedown: preventEventDefault
1336
1348
  }"
1337
1349
  >
1338
- <span class="k-icon k-i-x"></span>
1350
+ <kendo-icon-wrapper
1351
+ name="x"
1352
+ [svgIcon]="xIcon"
1353
+ >
1354
+ </kendo-icon-wrapper>
1339
1355
  </span>
1340
1356
  <button
1341
1357
  #select
@@ -1349,7 +1365,13 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1349
1365
  mousedown: preventEventDefault
1350
1366
  }"
1351
1367
  >
1352
- <span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1368
+ <kendo-icon-wrapper
1369
+ *ngIf="!loading && !iconClass"
1370
+ name="caret-alt-down"
1371
+ [svgIcon]="caretAltDownIcon"
1372
+ >
1373
+ </kendo-icon-wrapper>
1374
+ <span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1353
1375
  </button>
1354
1376
  <ng-template #popupTemplate>
1355
1377
  <!--header template-->
@@ -1399,8 +1421,8 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
1399
1421
  <kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
1400
1422
  </ng-template>
1401
1423
  <ng-container #container></ng-container>
1402
- `, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i10.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
1403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxComponent, decorators: [{
1424
+ `, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i9.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
1425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, decorators: [{
1404
1426
  type: Component,
1405
1427
  args: [{
1406
1428
  exportAs: 'kendoComboBox',
@@ -1466,7 +1488,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1466
1488
  mousedown: preventEventDefault
1467
1489
  }"
1468
1490
  >
1469
- <span class="k-icon k-i-x"></span>
1491
+ <kendo-icon-wrapper
1492
+ name="x"
1493
+ [svgIcon]="xIcon"
1494
+ >
1495
+ </kendo-icon-wrapper>
1470
1496
  </span>
1471
1497
  <button
1472
1498
  #select
@@ -1480,7 +1506,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
1480
1506
  mousedown: preventEventDefault
1481
1507
  }"
1482
1508
  >
1483
- <span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1509
+ <kendo-icon-wrapper
1510
+ *ngIf="!loading && !iconClass"
1511
+ name="caret-alt-down"
1512
+ [svgIcon]="caretAltDownIcon"
1513
+ >
1514
+ </kendo-icon-wrapper>
1515
+ <span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
1484
1516
  </button>
1485
1517
  <ng-template #popupTemplate>
1486
1518
  <!--header 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';
@@ -36,8 +36,8 @@ const COMBOBOX_DIRECTIVES = [
36
36
  */
37
37
  export class ComboBoxModule {
38
38
  }
39
- ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
- ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent,
39
+ ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
+ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent,
41
41
  MultiColumnComboBoxComponent,
42
42
  ComboBoxColumnComponent,
43
43
  ColumnHeaderTemplateDirective,
@@ -46,8 +46,8 @@ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
46
46
  ComboBoxColumnComponent,
47
47
  ColumnHeaderTemplateDirective,
48
48
  ColumnCellTemplateDirective, SharedDirectivesModule] });
49
- ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ComboBoxModule, decorators: [{
49
+ ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, decorators: [{
51
51
  type: NgModule,
52
52
  args: [{
53
53
  declarations: [COMBOBOX_DIRECTIVES],
@@ -1,11 +1,12 @@
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 { Component, ContentChildren, forwardRef, HostBinding, Inject, isDevMode, ViewChild } from '@angular/core';
5
+ import { ChangeDetectorRef, Component, ContentChildren, ElementRef, forwardRef, HostBinding, Inject, isDevMode, NgZone, QueryList, Renderer2, ViewChild } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
8
8
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { PopupService } from '@progress/kendo-angular-popup';
9
10
  import { ComboBoxComponent } from './combobox.component';
10
11
  import { ComboBoxColumnComponent } from './combobox-column/combobox-column.component';
11
12
  import { DataService } from '../common/data.service';
@@ -25,11 +26,12 @@ import * as i4 from "../common/navigation/navigation.service";
25
26
  import * as i5 from "../common/disabled-items/disabled-items.service";
26
27
  import * as i6 from "../common/data.service";
27
28
  import * as i7 from "../common/searchbar.component";
28
- import * as i8 from "../common/list.component";
29
- import * as i9 from "@progress/kendo-angular-common";
30
- import * as i10 from "../common/localization/localized-messages.directive";
31
- import * as i11 from "@angular/common";
32
- import * as i12 from "../common/templates/template-context.directive";
29
+ import * as i8 from "@progress/kendo-angular-icons";
30
+ import * as i9 from "../common/list.component";
31
+ import * as i10 from "@progress/kendo-angular-common";
32
+ import * as i11 from "../common/localization/localized-messages.directive";
33
+ import * as i12 from "@angular/common";
34
+ import * as i13 from "../common/templates/template-context.directive";
33
35
  /**
34
36
  * Represents the [Kendo UI MultiColumnComboBox component for Angular]({% slug overview_multicolumncombobox %}).
35
37
  */
@@ -150,8 +152,8 @@ export class MultiColumnComboBoxComponent extends ComboBoxComponent {
150
152
  });
151
153
  }
152
154
  }
153
- MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
154
- MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
155
+ MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.SelectionService }, { token: i4.NavigationService }, { token: i5.DisabledItemsService }, { token: i6.DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
156
+ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
155
157
  SelectionService,
156
158
  DataService,
157
159
  NavigationService,
@@ -222,7 +224,11 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
222
224
  mousedown: preventEventDefault
223
225
  }"
224
226
  >
225
- <span class="k-icon k-i-x"></span>
227
+ <kendo-icon-wrapper
228
+ name="x"
229
+ [svgIcon]="xIcon"
230
+ >
231
+ </kendo-icon-wrapper>
226
232
  </span>
227
233
 
228
234
  <button
@@ -238,7 +244,13 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
238
244
  mousedown: preventEventDefault
239
245
  }"
240
246
  >
241
- <span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
247
+ <kendo-icon-wrapper
248
+ *ngIf="!loading && !iconClass"
249
+ name="caret-alt-down"
250
+ [svgIcon]="caretAltDownIcon"
251
+ >
252
+ </kendo-icon-wrapper>
253
+ <span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
242
254
  </button>
243
255
 
244
256
  <ng-template #popupTemplate>
@@ -394,8 +406,8 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
394
406
 
395
407
  <!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
396
408
  <ng-container #container></ng-container>
397
- `, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i10.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
409
+ `, isInline: true, components: [{ type: i7.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i9.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
399
411
  type: Component,
400
412
  args: [{
401
413
  providers: [
@@ -471,7 +483,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
471
483
  mousedown: preventEventDefault
472
484
  }"
473
485
  >
474
- <span class="k-icon k-i-x"></span>
486
+ <kendo-icon-wrapper
487
+ name="x"
488
+ [svgIcon]="xIcon"
489
+ >
490
+ </kendo-icon-wrapper>
475
491
  </span>
476
492
 
477
493
  <button
@@ -487,7 +503,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
487
503
  mousedown: preventEventDefault
488
504
  }"
489
505
  >
490
- <span class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
506
+ <kendo-icon-wrapper
507
+ *ngIf="!loading && !iconClass"
508
+ name="caret-alt-down"
509
+ [svgIcon]="caretAltDownIcon"
510
+ >
511
+ </kendo-icon-wrapper>
512
+ <span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
491
513
  </button>
492
514
 
493
515
  <ng-template #popupTemplate>
@@ -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
  /**
@@ -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 { InjectionToken } from '@angular/core';
@@ -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 { Injectable } from '@angular/core';
@@ -52,7 +52,7 @@ export class DataService {
52
52
  * Used to calculate the last item index of each group.
53
53
  */
54
54
  getGroupIndices(data) {
55
- let groupIndices = [];
55
+ const groupIndices = [];
56
56
  for (let i = 0; i <= data.length - 1; i++) {
57
57
  groupIndices[i] = (groupIndices[i - 1] || 0) + data[i].items.length;
58
58
  }
@@ -240,8 +240,8 @@ export class DataService {
240
240
  return flat;
241
241
  }
242
242
  }
243
- DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
244
- DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataService });
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DataService, decorators: [{
243
+ DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
244
+ DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService });
245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, decorators: [{
246
246
  type: Injectable
247
247
  }] });
@@ -1,9 +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 { Injectable } from '@angular/core';
6
6
  import { isPresent } from '../util';
7
+ import { DataService } from '../data.service';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "../data.service";
9
10
  /**
@@ -37,8 +38,8 @@ export class DisabledItemsService {
37
38
  }
38
39
  }
39
40
  }
40
- DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DisabledItemsService, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Injectable });
41
- DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DisabledItemsService });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DisabledItemsService, decorators: [{
41
+ DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, deps: [{ token: i1.DataService }], target: i0.ɵɵFactoryTarget.Injectable });
42
+ DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, decorators: [{
43
44
  type: Injectable
44
45
  }], ctorParameters: function () { return [{ type: i1.DataService }]; } });
@@ -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
  export {};
@@ -1,8 +1,8 @@
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 { Directive, Input } from '@angular/core';
5
+ import { Directive, ElementRef, Input, NgZone } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * @hidden
@@ -21,9 +21,9 @@ export class FilterInputDirective {
21
21
  this.zone.runOutsideAngular(() => setTimeout(fn));
22
22
  }
23
23
  }
24
- FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
25
- FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterInputDirective, decorators: [{
24
+ FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
25
+ FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, decorators: [{
27
27
  type: Directive,
28
28
  args: [{
29
29
  selector: '[filterInput]' // eslint-disable-line
@@ -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
  export {};
@@ -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, Input } from '@angular/core';
6
+ import { FilterableComponent } from './filterable-component';
6
7
  import { getter, isArray, isPresent } from '../util';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "./filterable-component";
@@ -108,9 +109,9 @@ export class FilterDirective {
108
109
  return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
109
110
  }
110
111
  }
111
- FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterDirective, deps: [{ token: i1.FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
112
- FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilterDirective, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterDirective, decorators: [{
112
+ FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, deps: [{ token: i1.FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
113
+ FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterDirective, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, decorators: [{
114
115
  type: Directive,
115
116
  args: [{
116
117
  selector: '[kendoDropDownFilter]'
@@ -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
  /**
@@ -1,8 +1,8 @@
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 { Directive } from '@angular/core';
5
+ import { Directive, ElementRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * @hidden
@@ -12,9 +12,9 @@ export class ListItemDirective {
12
12
  this.element = element;
13
13
  }
14
14
  }
15
- ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
16
- ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListItemDirective, decorators: [{
15
+ ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
16
+ ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  selector: '"li[role=option], li[role=group]"' // eslint-disable-line
@@ -1,13 +1,19 @@
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 { Component, Input, Output, EventEmitter, ViewChildren, ViewChild } from '@angular/core';
5
+ import { Component, Input, Output, EventEmitter, ViewChildren, QueryList, ElementRef, ViewChild, ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
6
6
  import { isChanged } from '@progress/kendo-angular-common';
7
7
  import { ListItemDirective } from './list-item.directive';
8
+ import { ItemTemplateDirective } from './templates/item-template.directive';
9
+ import { GroupTemplateDirective } from './templates/group-template.directive';
10
+ import { FixedGroupTemplateDirective } from './templates/fixed-group-template.directive';
8
11
  import { isPresent, getter, closest, getSizeClass, getRoundedClass } from './util';
12
+ import { SelectionService } from './selection/selection.service';
9
13
  import { fromEvent, merge } from 'rxjs';
10
14
  import { map, tap, auditTime, switchMap, take } from 'rxjs/operators';
15
+ import { DisabledItemsService } from './disabled-items/disabled-items.service';
16
+ import { DataService } from './data.service';
11
17
  import { NavigationAction } from './navigation/navigation-action';
12
18
  import * as i0 from "@angular/core";
13
19
  import * as i1 from "./data.service";
@@ -75,7 +81,7 @@ export class ListComponent {
75
81
  if (this.virtual.pageSize) {
76
82
  return this.virtual.pageSize;
77
83
  }
78
- let size = Math.round(this.height / this.virtual.itemHeight);
84
+ const size = Math.round(this.height / this.virtual.itemHeight);
79
85
  return size;
80
86
  }
81
87
  get scrollHeight() {
@@ -97,7 +103,7 @@ export class ListComponent {
97
103
  if (isChanged('data', changes, false)) {
98
104
  if (this.lastLoaded <= 0) {
99
105
  this.lastLoaded = this.data.length - 1;
100
- this.scrollToFocused = !changes.data.isFirstChange();
106
+ this.scrollToFocused = !changes['data'].isFirstChange();
101
107
  }
102
108
  this.setOverflow();
103
109
  }
@@ -276,7 +282,7 @@ export class ListComponent {
276
282
  }
277
283
  }
278
284
  scrollWithOnePage(action) {
279
- let content = this.content.nativeElement;
285
+ const content = this.content.nativeElement;
280
286
  const contentOffsetHeight = content.clientHeight;
281
287
  if (action === NavigationAction.PageDown) {
282
288
  content.scrollTop += contentOffsetHeight;
@@ -286,7 +292,7 @@ export class ListComponent {
286
292
  }
287
293
  }
288
294
  scrollToIndex(index) {
289
- let content = this.content.nativeElement;
295
+ const content = this.content.nativeElement;
290
296
  let contentScrollTop = content.scrollTop;
291
297
  const itemOffsetTop = index * this.virtual.itemHeight;
292
298
  const itemOffsetHeight = this.virtual.itemHeight;
@@ -305,7 +311,12 @@ export class ListComponent {
305
311
  return;
306
312
  }
307
313
  const nativeElement = item.nativeElement;
308
- let content = this.content.nativeElement, itemOffsetTop = nativeElement.offsetTop, itemOffsetHeight = nativeElement.offsetHeight, contentScrollTop = content.scrollTop, contentOffsetHeight = content.clientHeight, bottomDistance = itemOffsetTop + itemOffsetHeight;
314
+ const content = this.content.nativeElement;
315
+ const itemOffsetTop = nativeElement.offsetTop;
316
+ const itemOffsetHeight = nativeElement.offsetHeight;
317
+ let contentScrollTop = content.scrollTop;
318
+ const contentOffsetHeight = content.clientHeight;
319
+ const bottomDistance = itemOffsetTop + itemOffsetHeight;
309
320
  if (contentScrollTop > itemOffsetTop) {
310
321
  contentScrollTop = itemOffsetTop;
311
322
  }
@@ -371,8 +382,8 @@ export class ListComponent {
371
382
  }
372
383
  }
373
384
  }
374
- ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListComponent, deps: [{ token: i1.DataService }, { token: i0.ElementRef }, { token: i2.SelectionService }, { token: i3.DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
375
- ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
385
+ ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, deps: [{ token: i1.DataService }, { token: i0.ElementRef }, { token: i2.SelectionService }, { token: i3.DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
386
+ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
376
387
  <div *ngIf="dataService.grouped"
377
388
  [class]="listGroupStickyHeaderClass"
378
389
  [ngStyle]="{
@@ -496,7 +507,7 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
496
507
  </div>
497
508
  </div>
498
509
  `, isInline: true, components: [{ type: i4.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i6.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { type: i8.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
499
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ListComponent, decorators: [{
510
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, decorators: [{
500
511
  type: Component,
501
512
  args: [{
502
513
  selector: 'kendo-list',