@anguless/angulux 22.0.0-rc.0 → 22.2.0

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 (182) hide show
  1. package/README.md +291 -0
  2. package/fesm2022/anguless-angulux-api.mjs +40 -82
  3. package/fesm2022/anguless-angulux-api.mjs.map +1 -1
  4. package/fesm2022/anguless-angulux-autofocus.mjs +7 -7
  5. package/fesm2022/anguless-angulux-avatar.mjs +10 -10
  6. package/fesm2022/anguless-angulux-avatargroup.mjs +10 -10
  7. package/fesm2022/anguless-angulux-badge.mjs +13 -13
  8. package/fesm2022/anguless-angulux-base.mjs +3 -3
  9. package/fesm2022/anguless-angulux-basecomponent.mjs +6 -6
  10. package/fesm2022/anguless-angulux-baseeditableholder.mjs +3 -3
  11. package/fesm2022/anguless-angulux-baseinput.mjs +3 -3
  12. package/fesm2022/anguless-angulux-basemodelholder.mjs +3 -3
  13. package/fesm2022/anguless-angulux-bind.mjs +7 -7
  14. package/fesm2022/anguless-angulux-button.mjs +43 -74
  15. package/fesm2022/anguless-angulux-button.mjs.map +1 -1
  16. package/fesm2022/anguless-angulux-card.mjs +42 -102
  17. package/fesm2022/anguless-angulux-card.mjs.map +1 -1
  18. package/fesm2022/anguless-angulux-chart.mjs +10 -10
  19. package/fesm2022/anguless-angulux-checkbox.mjs +18 -38
  20. package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
  21. package/fesm2022/anguless-angulux-chip.mjs +20 -40
  22. package/fesm2022/anguless-angulux-chip.mjs.map +1 -1
  23. package/fesm2022/anguless-angulux-colorpicker.mjs +10 -10
  24. package/fesm2022/anguless-angulux-config.mjs +6 -6
  25. package/fesm2022/anguless-angulux-confirmdialog.mjs +52 -117
  26. package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
  27. package/fesm2022/anguless-angulux-datepicker.mjs +104 -212
  28. package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
  29. package/fesm2022/anguless-angulux-dialog.mjs +50 -114
  30. package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
  31. package/fesm2022/anguless-angulux-divider.mjs +10 -10
  32. package/fesm2022/anguless-angulux-dom.mjs +7 -0
  33. package/fesm2022/anguless-angulux-dom.mjs.map +1 -1
  34. package/fesm2022/anguless-angulux-drawer.mjs +34 -82
  35. package/fesm2022/anguless-angulux-drawer.mjs.map +1 -1
  36. package/fesm2022/anguless-angulux-fileupload.mjs +83 -159
  37. package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -1
  38. package/fesm2022/anguless-angulux-fluid.mjs +10 -10
  39. package/fesm2022/anguless-angulux-focustrap.mjs +7 -7
  40. package/fesm2022/anguless-angulux-iconfield.mjs +10 -10
  41. package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +3 -3
  42. package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +3 -3
  43. package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +3 -3
  44. package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +3 -3
  45. package/fesm2022/anguless-angulux-icons-angledown.mjs +3 -3
  46. package/fesm2022/anguless-angulux-icons-angleleft.mjs +3 -3
  47. package/fesm2022/anguless-angulux-icons-angleright.mjs +3 -3
  48. package/fesm2022/anguless-angulux-icons-angleup.mjs +3 -3
  49. package/fesm2022/anguless-angulux-icons-arrowdown.mjs +3 -3
  50. package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +3 -3
  51. package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +3 -3
  52. package/fesm2022/anguless-angulux-icons-arrowleft.mjs +3 -3
  53. package/fesm2022/anguless-angulux-icons-arrowright.mjs +3 -3
  54. package/fesm2022/anguless-angulux-icons-arrowup.mjs +3 -3
  55. package/fesm2022/anguless-angulux-icons-ban.mjs +3 -3
  56. package/fesm2022/anguless-angulux-icons-bars.mjs +3 -3
  57. package/fesm2022/anguless-angulux-icons-baseicon.mjs +6 -6
  58. package/fesm2022/anguless-angulux-icons-blank.mjs +3 -3
  59. package/fesm2022/anguless-angulux-icons-calendar.mjs +3 -3
  60. package/fesm2022/anguless-angulux-icons-caretleft.mjs +3 -3
  61. package/fesm2022/anguless-angulux-icons-caretright.mjs +3 -3
  62. package/fesm2022/anguless-angulux-icons-check.mjs +3 -3
  63. package/fesm2022/anguless-angulux-icons-chevrondown.mjs +3 -3
  64. package/fesm2022/anguless-angulux-icons-chevronleft.mjs +3 -3
  65. package/fesm2022/anguless-angulux-icons-chevronright.mjs +3 -3
  66. package/fesm2022/anguless-angulux-icons-chevronup.mjs +3 -3
  67. package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +3 -3
  68. package/fesm2022/anguless-angulux-icons-eye.mjs +3 -3
  69. package/fesm2022/anguless-angulux-icons-eyeslash.mjs +3 -3
  70. package/fesm2022/anguless-angulux-icons-filter.mjs +3 -3
  71. package/fesm2022/anguless-angulux-icons-filterfill.mjs +3 -3
  72. package/fesm2022/anguless-angulux-icons-filterslash.mjs +3 -3
  73. package/fesm2022/anguless-angulux-icons-home.mjs +3 -3
  74. package/fesm2022/anguless-angulux-icons-infocircle.mjs +3 -3
  75. package/fesm2022/anguless-angulux-icons-minus.mjs +3 -3
  76. package/fesm2022/anguless-angulux-icons-pencil.mjs +3 -3
  77. package/fesm2022/anguless-angulux-icons-plus.mjs +3 -3
  78. package/fesm2022/anguless-angulux-icons-refresh.mjs +3 -3
  79. package/fesm2022/anguless-angulux-icons-search.mjs +3 -3
  80. package/fesm2022/anguless-angulux-icons-searchminus.mjs +3 -3
  81. package/fesm2022/anguless-angulux-icons-searchplus.mjs +3 -3
  82. package/fesm2022/anguless-angulux-icons-sortalt.mjs +3 -3
  83. package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +3 -3
  84. package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +3 -3
  85. package/fesm2022/anguless-angulux-icons-spinner.mjs +3 -3
  86. package/fesm2022/anguless-angulux-icons-star.mjs +3 -3
  87. package/fesm2022/anguless-angulux-icons-starfill.mjs +3 -3
  88. package/fesm2022/anguless-angulux-icons-thlarge.mjs +3 -3
  89. package/fesm2022/anguless-angulux-icons-times.mjs +3 -3
  90. package/fesm2022/anguless-angulux-icons-timescircle.mjs +3 -3
  91. package/fesm2022/anguless-angulux-icons-trash.mjs +3 -3
  92. package/fesm2022/anguless-angulux-icons-undo.mjs +3 -3
  93. package/fesm2022/anguless-angulux-icons-upload.mjs +3 -3
  94. package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +3 -3
  95. package/fesm2022/anguless-angulux-icons-windowminimize.mjs +3 -3
  96. package/fesm2022/anguless-angulux-inputicon.mjs +10 -10
  97. package/fesm2022/anguless-angulux-inputnumber.mjs +38 -69
  98. package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
  99. package/fesm2022/anguless-angulux-inputtext.mjs +10 -10
  100. package/fesm2022/anguless-angulux-menu.mjs +44 -90
  101. package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
  102. package/fesm2022/anguless-angulux-message.mjs +30 -61
  103. package/fesm2022/anguless-angulux-message.mjs.map +1 -1
  104. package/fesm2022/anguless-angulux-motion.mjs +13 -13
  105. package/fesm2022/anguless-angulux-multiselect.mjs +103 -248
  106. package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
  107. package/fesm2022/anguless-angulux-overlay.mjs +18 -39
  108. package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
  109. package/fesm2022/anguless-angulux-paginator.mjs +57 -103
  110. package/fesm2022/anguless-angulux-paginator.mjs.map +1 -1
  111. package/fesm2022/anguless-angulux-password.mjs +49 -104
  112. package/fesm2022/anguless-angulux-password.mjs.map +1 -1
  113. package/fesm2022/anguless-angulux-popover.mjs +16 -33
  114. package/fesm2022/anguless-angulux-popover.mjs.map +1 -1
  115. package/fesm2022/anguless-angulux-progressbar.mjs +18 -37
  116. package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -1
  117. package/fesm2022/anguless-angulux-progressspinner.mjs +10 -10
  118. package/fesm2022/anguless-angulux-radiobutton.mjs +13 -13
  119. package/fesm2022/anguless-angulux-ripple.mjs +10 -10
  120. package/fesm2022/anguless-angulux-scroller.mjs +36 -77
  121. package/fesm2022/anguless-angulux-scroller.mjs.map +1 -1
  122. package/fesm2022/anguless-angulux-select.mjs +85 -225
  123. package/fesm2022/anguless-angulux-select.mjs.map +1 -1
  124. package/fesm2022/anguless-angulux-selectbutton.mjs +18 -35
  125. package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
  126. package/fesm2022/anguless-angulux-skeleton.mjs +10 -10
  127. package/fesm2022/anguless-angulux-splitbutton.mjs +23 -50
  128. package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -1
  129. package/fesm2022/anguless-angulux-table.mjs +332 -638
  130. package/fesm2022/anguless-angulux-table.mjs.map +1 -1
  131. package/fesm2022/anguless-angulux-tabs.mjs +47 -71
  132. package/fesm2022/anguless-angulux-tabs.mjs.map +1 -1
  133. package/fesm2022/anguless-angulux-tag.mjs +20 -37
  134. package/fesm2022/anguless-angulux-tag.mjs.map +1 -1
  135. package/fesm2022/anguless-angulux-textarea.mjs +10 -10
  136. package/fesm2022/anguless-angulux-tieredmenu.mjs +28 -55
  137. package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -1
  138. package/fesm2022/anguless-angulux-timeline.mjs +24 -55
  139. package/fesm2022/anguless-angulux-timeline.mjs.map +1 -1
  140. package/fesm2022/anguless-angulux-toast.mjs +24 -49
  141. package/fesm2022/anguless-angulux-toast.mjs.map +1 -1
  142. package/fesm2022/anguless-angulux-togglebutton.mjs +23 -50
  143. package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -1
  144. package/fesm2022/anguless-angulux-toggleswitch.mjs +18 -38
  145. package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
  146. package/fesm2022/anguless-angulux-tooltip.mjs +10 -10
  147. package/fesm2022/anguless-angulux-treetable.mjs +229 -428
  148. package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
  149. package/fesm2022/anguless-angulux-usestyle.mjs +3 -3
  150. package/package.json +6 -6
  151. package/types/anguless-angulux-api.d.ts +17 -21
  152. package/types/anguless-angulux-button.d.ts +6 -12
  153. package/types/anguless-angulux-card.d.ts +8 -17
  154. package/types/anguless-angulux-checkbox.d.ts +4 -8
  155. package/types/anguless-angulux-chip.d.ts +4 -8
  156. package/types/anguless-angulux-confirmdialog.d.ts +19 -29
  157. package/types/anguless-angulux-datepicker.d.ts +27 -42
  158. package/types/anguless-angulux-dialog.d.ts +10 -20
  159. package/types/anguless-angulux-drawer.d.ts +8 -16
  160. package/types/anguless-angulux-fileupload.d.ts +27 -38
  161. package/types/anguless-angulux-inputnumber.d.ts +6 -12
  162. package/types/anguless-angulux-menu.d.ts +27 -39
  163. package/types/anguless-angulux-message.d.ts +6 -12
  164. package/types/anguless-angulux-multiselect.d.ts +20 -41
  165. package/types/anguless-angulux-overlay.d.ts +4 -7
  166. package/types/anguless-angulux-paginator.d.ts +17 -25
  167. package/types/anguless-angulux-password.d.ts +30 -38
  168. package/types/anguless-angulux-popover.d.ts +4 -7
  169. package/types/anguless-angulux-progressbar.d.ts +4 -8
  170. package/types/anguless-angulux-scroller.d.ts +7 -13
  171. package/types/anguless-angulux-select.d.ts +16 -49
  172. package/types/anguless-angulux-selectbutton.d.ts +4 -8
  173. package/types/anguless-angulux-splitbutton.d.ts +17 -21
  174. package/types/anguless-angulux-table.d.ts +42 -93
  175. package/types/anguless-angulux-tabs.d.ts +4 -9
  176. package/types/anguless-angulux-tag.d.ts +4 -8
  177. package/types/anguless-angulux-tieredmenu.d.ts +5 -9
  178. package/types/anguless-angulux-timeline.d.ts +5 -11
  179. package/types/anguless-angulux-toast.d.ts +22 -26
  180. package/types/anguless-angulux-togglebutton.d.ts +5 -11
  181. package/types/anguless-angulux-toggleswitch.d.ts +4 -8
  182. package/types/anguless-angulux-treetable.d.ts +40 -62
@@ -2,11 +2,11 @@ export * from '@anguless/angulux/types/select';
2
2
  import * as i1 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, forwardRef, inject, EventEmitter, booleanAttribute, numberAttribute, Output, Input, ChangeDetectionStrategy, Component, input, computed, signal, effect, ContentChildren, ContentChild, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';
5
+ import { Injectable, InjectionToken, forwardRef, inject, EventEmitter, booleanAttribute, numberAttribute, Output, Input, ChangeDetectionStrategy, Component, input, computed, contentChild, signal, effect, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { deepEquals, isNotEmpty, isEmpty, uuid, findSingle, scrollInView, equals, resolveFieldData, focus, isPrintableCharacter, findLastIndex, getFirstFocusableElement, getLastFocusableElement, getFocusableElements } from '@anguless/angulux-utils';
8
8
  import * as i3 from '@anguless/angulux/api';
9
- import { SharedModule, TranslationKeys, AglTemplate } from '@anguless/angulux/api';
9
+ import { SharedModule, TranslationKeys } from '@anguless/angulux/api';
10
10
  import { AutoFocus } from '@anguless/angulux/autofocus';
11
11
  import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
12
12
  import { BaseInput } from '@anguless/angulux/baseinput';
@@ -61,7 +61,7 @@ const classes = {
61
61
  'p-select-label',
62
62
  {
63
63
  'p-placeholder': instance.placeholder() && instance.label() === instance.placeholder(),
64
- 'p-select-label-empty': !instance.editable && !instance.selectedItemTemplate && (instance.label() === undefined || instance.label() === null || instance.label() === 'p-emptylabel' || instance.label().length === 0)
64
+ 'p-select-label-empty': !instance.editable && !instance.selectedItemTemplate() && (instance.label() === undefined || instance.label() === null || instance.label() === 'p-emptylabel' || instance.label().length === 0)
65
65
  }
66
66
  ],
67
67
  clearIcon: 'p-select-clear-icon',
@@ -92,10 +92,10 @@ class SelectStyle extends BaseStyle {
92
92
  name = 'select';
93
93
  style = style;
94
94
  classes = classes;
95
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
96
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectStyle });
95
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
96
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectStyle });
97
97
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectStyle, decorators: [{
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectStyle, decorators: [{
99
99
  type: Injectable
100
100
  }] });
101
101
  /**
@@ -226,8 +226,8 @@ class SelectItem extends BaseComponent {
226
226
  }
227
227
  }));
228
228
  }
229
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
230
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.0.8", type: SelectItem, isStandalone: true, selector: "agl-selectItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute], index: "index", scrollerOptions: "scrollerOptions" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, providers: [SelectStyle, { provide: PARENT_INSTANCE, useExisting: SelectItem }], usesInheritance: true, ngImport: i0, template: `
229
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
230
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: SelectItem, isStandalone: true, selector: "agl-selectItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute], index: "index", scrollerOptions: "scrollerOptions" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, providers: [SelectStyle, { provide: PARENT_INSTANCE, useExisting: SelectItem }], usesInheritance: true, ngImport: i0, template: `
231
231
  <li
232
232
  [id]="id"
233
233
  [aglBind]="getPTOptions()"
@@ -255,7 +255,7 @@ class SelectItem extends BaseComponent {
255
255
  </li>
256
256
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Ripple, selector: "[aglRipple]" }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: BlankIcon, selector: "[data-p-icon=\"blank\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.Eager });
257
257
  }
258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectItem, decorators: [{
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectItem, decorators: [{
259
259
  type: Component,
260
260
  args: [{
261
261
  changeDetection: ChangeDetectionStrategy.Eager,
@@ -693,99 +693,67 @@ class Select extends BaseInput {
693
693
  * Custom item template.
694
694
  * @group Templates
695
695
  */
696
- itemTemplate;
696
+ itemTemplate = contentChild('item', { ...(ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {}), descendants: false });
697
697
  /**
698
698
  * Custom group template.
699
699
  * @group Templates
700
700
  */
701
- groupTemplate;
701
+ groupTemplate = contentChild('group', { ...(ngDevMode ? { debugName: "groupTemplate" } : /* istanbul ignore next */ {}), descendants: false });
702
702
  /**
703
703
  * Custom loader template.
704
704
  * @group Templates
705
705
  */
706
- loaderTemplate;
706
+ loaderTemplate = contentChild('loader', { ...(ngDevMode ? { debugName: "loaderTemplate" } : /* istanbul ignore next */ {}), descendants: false });
707
707
  /**
708
708
  * Custom selected item template.
709
709
  * @group Templates
710
710
  */
711
- selectedItemTemplate;
711
+ selectedItemTemplate = contentChild('selectedItem', { ...(ngDevMode ? { debugName: "selectedItemTemplate" } : /* istanbul ignore next */ {}), descendants: false });
712
712
  /**
713
713
  * Custom header template.
714
714
  * @group Templates
715
715
  */
716
- headerTemplate;
716
+ headerTemplate = contentChild('header', { ...(ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
717
717
  /**
718
718
  * Custom filter template.
719
719
  * @group Templates
720
720
  */
721
- filterTemplate;
721
+ filterTemplate = contentChild('filter', { ...(ngDevMode ? { debugName: "filterTemplate" } : /* istanbul ignore next */ {}), descendants: false });
722
722
  /**
723
723
  * Custom footer template.
724
724
  * @group Templates
725
725
  */
726
- footerTemplate;
726
+ footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
727
727
  /**
728
728
  * Custom empty filter template.
729
729
  * @group Templates
730
730
  */
731
- emptyFilterTemplate;
731
+ emptyFilterTemplate = contentChild('emptyfilter', { ...(ngDevMode ? { debugName: "emptyFilterTemplate" } : /* istanbul ignore next */ {}), descendants: false });
732
732
  /**
733
733
  * Custom empty template.
734
734
  * @group Templates
735
735
  */
736
- emptyTemplate;
736
+ emptyTemplate = contentChild('empty', { ...(ngDevMode ? { debugName: "emptyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
737
737
  /**
738
738
  * Custom dropdown icon template.
739
739
  * @group Templates
740
740
  */
741
- dropdownIconTemplate;
741
+ dropdownIconTemplate = contentChild('dropdownicon', { ...(ngDevMode ? { debugName: "dropdownIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
742
742
  /**
743
743
  * Custom loading icon template.
744
744
  * @group Templates
745
745
  */
746
- loadingIconTemplate;
746
+ loadingIconTemplate = contentChild('loadingicon', { ...(ngDevMode ? { debugName: "loadingIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
747
747
  /**
748
748
  * Custom clear icon template.
749
749
  * @group Templates
750
750
  */
751
- clearIconTemplate;
751
+ clearIconTemplate = contentChild('clearicon', { ...(ngDevMode ? { debugName: "clearIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
752
752
  /**
753
753
  * Custom filter icon template.
754
754
  * @group Templates
755
755
  */
756
- filterIconTemplate;
757
- /**
758
- * Custom on icon template.
759
- * @group Templates
760
- */
761
- onIconTemplate;
762
- /**
763
- * Custom off icon template.
764
- * @group Templates
765
- */
766
- offIconTemplate;
767
- /**
768
- * Custom cancel icon template.
769
- * @group Templates
770
- */
771
- cancelIconTemplate;
772
- templates;
773
- _itemTemplate;
774
- _selectedItemTemplate;
775
- _headerTemplate;
776
- _filterTemplate;
777
- _footerTemplate;
778
- _emptyFilterTemplate;
779
- _emptyTemplate;
780
- _groupTemplate;
781
- _loaderTemplate;
782
- _dropdownIconTemplate;
783
- _loadingIconTemplate;
784
- _clearIconTemplate;
785
- _filterIconTemplate;
786
- _cancelIconTemplate;
787
- _onIconTemplate;
788
- _offIconTemplate;
756
+ filterIconTemplate = contentChild('filtericon', { ...(ngDevMode ? { debugName: "filterIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
789
757
  filterOptions;
790
758
  _options = signal(null, /* @ts-ignore */
791
759
  ...(ngDevMode ? [{ debugName: "_options" }] : /* istanbul ignore next */ []));
@@ -924,63 +892,6 @@ class Select extends BaseInput {
924
892
  };
925
893
  }
926
894
  }
927
- onAfterContentInit() {
928
- this.templates.forEach((item) => {
929
- switch (item.getType()) {
930
- case 'item':
931
- this._itemTemplate = item.template;
932
- break;
933
- case 'selectedItem':
934
- this._selectedItemTemplate = item.template;
935
- break;
936
- case 'header':
937
- this._headerTemplate = item.template;
938
- break;
939
- case 'filter':
940
- this._filterTemplate = item.template;
941
- break;
942
- case 'footer':
943
- this._footerTemplate = item.template;
944
- break;
945
- case 'emptyfilter':
946
- this._emptyFilterTemplate = item.template;
947
- break;
948
- case 'empty':
949
- this._emptyTemplate = item.template;
950
- break;
951
- case 'group':
952
- this._groupTemplate = item.template;
953
- break;
954
- case 'loader':
955
- this._loaderTemplate = item.template;
956
- break;
957
- case 'dropdownicon':
958
- this._dropdownIconTemplate = item.template;
959
- break;
960
- case 'loadingicon':
961
- this._loadingIconTemplate = item.template;
962
- break;
963
- case 'clearicon':
964
- this._clearIconTemplate = item.template;
965
- break;
966
- case 'filtericon':
967
- this._filterIconTemplate = item.template;
968
- break;
969
- case 'cancelicon':
970
- this._cancelIconTemplate = item.template;
971
- break;
972
- case 'onicon':
973
- this._onIconTemplate = item.template;
974
- break;
975
- case 'officon':
976
- this._offIconTemplate = item.template;
977
- break;
978
- default:
979
- this._itemTemplate = item.template;
980
- break;
981
- }
982
- });
983
- }
984
895
  onAfterViewChecked() {
985
896
  this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
986
897
  if (this.optionsChanged && this.overlayVisible) {
@@ -1656,7 +1567,7 @@ class Select extends BaseInput {
1656
1567
  clearable: this.showClear,
1657
1568
  disabled: this.$disabled(),
1658
1569
  [this.size()]: this.size(),
1659
- empty: !this.editable && !this.selectedItemTemplate && (!this.label?.() || this.label() === 'p-emptylabel' || this.label()?.length === 0)
1570
+ empty: !this.editable && !this.selectedItemTemplate() && (!this.label?.() || this.label() === 'p-emptylabel' || this.label()?.length === 0)
1660
1571
  });
1661
1572
  }
1662
1573
  get dropdownIconDataP() {
@@ -1669,8 +1580,8 @@ class Select extends BaseInput {
1669
1580
  ['overlay-' + this.$appendTo()]: 'overlay-' + this.$appendTo()
1670
1581
  });
1671
1582
  }
1672
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Select, deps: [{ token: i0.NgZone }, { token: i3.FilterService }], target: i0.ɵɵFactoryTarget.Component });
1673
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: Select, isStandalone: true, selector: "agl-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.id": "id", "attr.data-p": "containerDataP" } }, providers: [SELECT_VALUE_ACCESSOR, SelectStyle, { provide: SELECT_INSTANCE, useExisting: Select }, { provide: PARENT_INSTANCE, useExisting: Select }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "onIconTemplate", first: true, predicate: ["onicon"] }, { propertyName: "offIconTemplate", first: true, predicate: ["officon"] }, { propertyName: "cancelIconTemplate", first: true, predicate: ["cancelicon"] }, { propertyName: "templates", predicate: AglTemplate }], viewQueries: [{ propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.Bind }], ngImport: i0, template: `
1583
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Select, deps: [{ token: i0.NgZone }, { token: i3.FilterService }], target: i0.ɵɵFactoryTarget.Component });
1584
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: Select, isStandalone: true, selector: "agl-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, editable: { classPropertyName: "editable", publicName: "editable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, filterPlaceholder: { classPropertyName: "filterPlaceholder", publicName: "filterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, checkmark: { classPropertyName: "checkmark", publicName: "checkmark", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.id": "id", "attr.data-p": "containerDataP" } }, providers: [SELECT_VALUE_ACCESSOR, SelectStyle, { provide: SELECT_INSTANCE, useExisting: Select }, { provide: PARENT_INSTANCE, useExisting: Select }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "filterTemplate", first: true, predicate: ["filter"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"], isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], isSignal: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], isSignal: true }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"], isSignal: true }], viewQueries: [{ propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.Bind }], ngImport: i0, template: `
1674
1585
  <span
1675
1586
  #focusInput
1676
1587
  [class]="cx('label')"
@@ -1700,8 +1611,8 @@ class Select extends BaseInput {
1700
1611
  [attr.disabled]="$disabled() ? '' : undefined"
1701
1612
  [attr.data-p]="labelDataP"
1702
1613
  >
1703
- <ng-container *ngIf="!selectedItemTemplate && !_selectedItemTemplate; else defaultPlaceholder">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</ng-container>
1704
- <ng-container *ngIf="(selectedItemTemplate || _selectedItemTemplate) && !isSelectedOptionEmpty()" [ngTemplateOutlet]="selectedItemTemplate || _selectedItemTemplate" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
1614
+ <ng-container *ngIf="!selectedItemTemplate(); else defaultPlaceholder">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</ng-container>
1615
+ <ng-container *ngIf="(selectedItemTemplate()) && !isSelectedOptionEmpty()" [ngTemplateOutlet]="selectedItemTemplate()" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
1705
1616
  <ng-template #defaultPlaceholder>
1706
1617
  <span *ngIf="isSelectedOptionEmpty()">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</span>
1707
1618
  </ng-template>
@@ -1735,30 +1646,30 @@ class Select extends BaseInput {
1735
1646
  [attr.data-p]="labelDataP"
1736
1647
  />
1737
1648
  <ng-container *ngIf="isVisibleClearIcon">
1738
- <svg data-p-icon="times" [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="!clearIconTemplate && !_clearIconTemplate" [attr.data-pc-section]="'clearicon'" />
1739
- <span [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="clearIconTemplate || _clearIconTemplate" [attr.data-pc-section]="'clearicon'">
1740
- <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate; context: { class: cx('clearIcon') }"></ng-template>
1649
+ <svg data-p-icon="times" [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="!clearIconTemplate()" [attr.data-pc-section]="'clearicon'" />
1650
+ <span [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="clearIconTemplate()" [attr.data-pc-section]="'clearicon'">
1651
+ <ng-template *ngTemplateOutlet="clearIconTemplate(); context: { class: cx('clearIcon') }"></ng-template>
1741
1652
  </span>
1742
1653
  </ng-container>
1743
1654
 
1744
1655
  <div [class]="cx('dropdown')" [aglBind]="ptm('dropdown')" role="button" aria-label="dropdown trigger" aria-haspopup="listbox" [attr.aria-expanded]="overlayVisible ?? false" [attr.data-pc-section]="'trigger'">
1745
1656
  <ng-container *ngIf="loading; else elseBlock">
1746
- <ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
1747
- <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
1657
+ <ng-container *ngIf="loadingIconTemplate()">
1658
+ <ng-container *ngTemplateOutlet="loadingIconTemplate()"></ng-container>
1748
1659
  </ng-container>
1749
- <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
1660
+ <ng-container *ngIf="!loadingIconTemplate()">
1750
1661
  <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin' + loadingIcon)" [aglBind]="ptm('loadingIcon')" aria-hidden="true"></span>
1751
1662
  <svg data-p-icon="spinner" *ngIf="!loadingIcon" [spin]="true" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')" [attr.aria-hidden]="true" />
1752
1663
  </ng-container>
1753
1664
  </ng-container>
1754
1665
 
1755
1666
  <ng-template #elseBlock>
1756
- <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
1667
+ <ng-container *ngIf="!dropdownIconTemplate()">
1757
1668
  <span [class]="cn(cx('dropdownIcon'), dropdownIcon)" [aglBind]="ptm('dropdownIcon')" *ngIf="dropdownIcon"></span>
1758
1669
  <svg data-p-icon="chevron-down" *ngIf="!dropdownIcon" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')" />
1759
1670
  </ng-container>
1760
- <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')">
1761
- <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate; context: { class: cx('dropdownIcon') }"></ng-template>
1671
+ <span *ngIf="dropdownIconTemplate()" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')">
1672
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate(); context: { class: cx('dropdownIcon') }"></ng-template>
1762
1673
  </span>
1763
1674
  </ng-template>
1764
1675
  </div>
@@ -1790,10 +1701,10 @@ class Select extends BaseInput {
1790
1701
  [aglBind]="ptm('hiddenFirstFocusableEl')"
1791
1702
  >
1792
1703
  </span>
1793
- <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
1704
+ <ng-container *ngTemplateOutlet="headerTemplate()"></ng-container>
1794
1705
  <div [class]="cx('header')" *ngIf="filter" (click)="$event.stopPropagation()" [aglBind]="ptm('header')">
1795
- <ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
1796
- <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
1706
+ <ng-container *ngIf="filterTemplate(); else builtInFilterElement">
1707
+ <ng-container *ngTemplateOutlet="filterTemplate(); context: { options: filterOptions }"></ng-container>
1797
1708
  </ng-container>
1798
1709
  <ng-template #builtInFilterElement>
1799
1710
  <agl-iconfield [pt]="ptm('pcFilterContainer')" [unstyled]="unstyled()">
@@ -1818,9 +1729,9 @@ class Select extends BaseInput {
1818
1729
  [unstyled]="unstyled()"
1819
1730
  />
1820
1731
  <agl-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
1821
- <svg data-p-icon="search" *ngIf="!filterIconTemplate && !_filterIconTemplate" [aglBind]="ptm('filterIcon')" />
1822
- <span *ngIf="filterIconTemplate || _filterIconTemplate" [aglBind]="ptm('filterIcon')">
1823
- <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
1732
+ <svg data-p-icon="search" *ngIf="!filterIconTemplate()" [aglBind]="ptm('filterIcon')" />
1733
+ <span *ngIf="filterIconTemplate()" [aglBind]="ptm('filterIcon')">
1734
+ <ng-template *ngTemplateOutlet="filterIconTemplate()"></ng-template>
1824
1735
  </span>
1825
1736
  </agl-inputicon>
1826
1737
  </agl-iconfield>
@@ -1843,9 +1754,9 @@ class Select extends BaseInput {
1843
1754
  <ng-template #content let-items let-scrollerOptions="options">
1844
1755
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
1845
1756
  </ng-template>
1846
- <ng-container *ngIf="loaderTemplate || _loaderTemplate">
1757
+ <ng-container *ngIf="loaderTemplate()">
1847
1758
  <ng-template #loader let-scrollerOptions="options">
1848
- <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
1759
+ <ng-container *ngTemplateOutlet="loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
1849
1760
  </ng-template>
1850
1761
  </ng-container>
1851
1762
  </agl-scroller>
@@ -1858,8 +1769,8 @@ class Select extends BaseInput {
1858
1769
  <ng-template ngFor let-option [ngForOf]="items" let-i="index">
1859
1770
  <ng-container *ngIf="isOptionGroup(option)">
1860
1771
  <li [class]="cx('optionGroup')" [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('optionGroup')">
1861
- <span *ngIf="!groupTemplate && !_groupTemplate" [class]="cx('optionGroupLabel')" [aglBind]="ptm('optionGroupLabel')">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1862
- <ng-container *ngTemplateOutlet="groupTemplate || _groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
1772
+ <span *ngIf="!groupTemplate()" [class]="cx('optionGroupLabel')" [aglBind]="ptm('optionGroupLabel')">{{ getOptionGroupLabel(option.optionGroup) }}</span>
1773
+ <ng-container *ngTemplateOutlet="groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
1863
1774
  </li>
1864
1775
  </ng-container>
1865
1776
  <ng-container *ngIf="!isOptionGroup(option)">
@@ -1870,7 +1781,7 @@ class Select extends BaseInput {
1870
1781
  [selected]="isSelected(option)"
1871
1782
  [label]="getOptionLabel(option)"
1872
1783
  [disabled]="isOptionDisabled(option)"
1873
- [template]="itemTemplate || _itemTemplate"
1784
+ [template]="itemTemplate()"
1874
1785
  [focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
1875
1786
  [ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
1876
1787
  [ariaSetSize]="ariaSetSize"
@@ -1883,23 +1794,23 @@ class Select extends BaseInput {
1883
1794
  </ng-container>
1884
1795
  </ng-template>
1885
1796
  <li *ngIf="filterValue && isEmpty()" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('emptyMessage')">
1886
- @if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate) {
1797
+ @if (!emptyFilterTemplate() && !emptyTemplate()) {
1887
1798
  {{ emptyFilterMessageLabel }}
1888
1799
  } @else {
1889
- <ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyTemplate"></ng-container>
1800
+ <ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate() || emptyTemplate()"></ng-container>
1890
1801
  }
1891
1802
  </li>
1892
1803
  <li *ngIf="!filterValue && isEmpty()" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('emptyMessage')">
1893
- @if (!emptyTemplate && !_emptyTemplate) {
1804
+ @if (!emptyTemplate()) {
1894
1805
  {{ emptyMessageLabel || emptyFilterMessageLabel }}
1895
1806
  } @else {
1896
- <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
1807
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate()"></ng-container>
1897
1808
  }
1898
1809
  </li>
1899
1810
  </ul>
1900
1811
  </ng-template>
1901
1812
  </div>
1902
- <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
1813
+ <ng-container *ngTemplateOutlet="footerTemplate()"></ng-container>
1903
1814
  <span
1904
1815
  #lastHiddenFocusableEl
1905
1816
  role="presentation"
@@ -1915,7 +1826,7 @@ class Select extends BaseInput {
1915
1826
  </agl-overlay>
1916
1827
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "agl-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark", "index", "scrollerOptions"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "agl-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: Tooltip, selector: "[aglTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "aglTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid"] }, { kind: "component", type: IconField, selector: "agl-iconfield, agl-iconField, agl-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "agl-inputicon, agl-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "component", type: Scroller, selector: "agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1917
1828
  }
1918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Select, decorators: [{
1829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Select, decorators: [{
1919
1830
  type: Component,
1920
1831
  args: [{
1921
1832
  selector: 'agl-select',
@@ -1951,8 +1862,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1951
1862
  [attr.disabled]="$disabled() ? '' : undefined"
1952
1863
  [attr.data-p]="labelDataP"
1953
1864
  >
1954
- <ng-container *ngIf="!selectedItemTemplate && !_selectedItemTemplate; else defaultPlaceholder">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</ng-container>
1955
- <ng-container *ngIf="(selectedItemTemplate || _selectedItemTemplate) && !isSelectedOptionEmpty()" [ngTemplateOutlet]="selectedItemTemplate || _selectedItemTemplate" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
1865
+ <ng-container *ngIf="!selectedItemTemplate(); else defaultPlaceholder">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</ng-container>
1866
+ <ng-container *ngIf="(selectedItemTemplate()) && !isSelectedOptionEmpty()" [ngTemplateOutlet]="selectedItemTemplate()" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
1956
1867
  <ng-template #defaultPlaceholder>
1957
1868
  <span *ngIf="isSelectedOptionEmpty()">{{ label() === 'p-emptylabel' ? '&nbsp;' : label() }}</span>
1958
1869
  </ng-template>
@@ -1986,30 +1897,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
1986
1897
  [attr.data-p]="labelDataP"
1987
1898
  />
1988
1899
  <ng-container *ngIf="isVisibleClearIcon">
1989
- <svg data-p-icon="times" [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="!clearIconTemplate && !_clearIconTemplate" [attr.data-pc-section]="'clearicon'" />
1990
- <span [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="clearIconTemplate || _clearIconTemplate" [attr.data-pc-section]="'clearicon'">
1991
- <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate; context: { class: cx('clearIcon') }"></ng-template>
1900
+ <svg data-p-icon="times" [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="!clearIconTemplate()" [attr.data-pc-section]="'clearicon'" />
1901
+ <span [class]="cx('clearIcon')" [aglBind]="ptm('clearIcon')" (click)="clear($event)" *ngIf="clearIconTemplate()" [attr.data-pc-section]="'clearicon'">
1902
+ <ng-template *ngTemplateOutlet="clearIconTemplate(); context: { class: cx('clearIcon') }"></ng-template>
1992
1903
  </span>
1993
1904
  </ng-container>
1994
1905
 
1995
1906
  <div [class]="cx('dropdown')" [aglBind]="ptm('dropdown')" role="button" aria-label="dropdown trigger" aria-haspopup="listbox" [attr.aria-expanded]="overlayVisible ?? false" [attr.data-pc-section]="'trigger'">
1996
1907
  <ng-container *ngIf="loading; else elseBlock">
1997
- <ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
1998
- <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
1908
+ <ng-container *ngIf="loadingIconTemplate()">
1909
+ <ng-container *ngTemplateOutlet="loadingIconTemplate()"></ng-container>
1999
1910
  </ng-container>
2000
- <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
1911
+ <ng-container *ngIf="!loadingIconTemplate()">
2001
1912
  <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin' + loadingIcon)" [aglBind]="ptm('loadingIcon')" aria-hidden="true"></span>
2002
1913
  <svg data-p-icon="spinner" *ngIf="!loadingIcon" [spin]="true" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')" [attr.aria-hidden]="true" />
2003
1914
  </ng-container>
2004
1915
  </ng-container>
2005
1916
 
2006
1917
  <ng-template #elseBlock>
2007
- <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
1918
+ <ng-container *ngIf="!dropdownIconTemplate()">
2008
1919
  <span [class]="cn(cx('dropdownIcon'), dropdownIcon)" [aglBind]="ptm('dropdownIcon')" *ngIf="dropdownIcon"></span>
2009
1920
  <svg data-p-icon="chevron-down" *ngIf="!dropdownIcon" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')" />
2010
1921
  </ng-container>
2011
- <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')">
2012
- <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate; context: { class: cx('dropdownIcon') }"></ng-template>
1922
+ <span *ngIf="dropdownIconTemplate()" [class]="cx('dropdownIcon')" [aglBind]="ptm('dropdownIcon')">
1923
+ <ng-template *ngTemplateOutlet="dropdownIconTemplate(); context: { class: cx('dropdownIcon') }"></ng-template>
2013
1924
  </span>
2014
1925
  </ng-template>
2015
1926
  </div>
@@ -2041,10 +1952,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2041
1952
  [aglBind]="ptm('hiddenFirstFocusableEl')"
2042
1953
  >
2043
1954
  </span>
2044
- <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
1955
+ <ng-container *ngTemplateOutlet="headerTemplate()"></ng-container>
2045
1956
  <div [class]="cx('header')" *ngIf="filter" (click)="$event.stopPropagation()" [aglBind]="ptm('header')">
2046
- <ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
2047
- <ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
1957
+ <ng-container *ngIf="filterTemplate(); else builtInFilterElement">
1958
+ <ng-container *ngTemplateOutlet="filterTemplate(); context: { options: filterOptions }"></ng-container>
2048
1959
  </ng-container>
2049
1960
  <ng-template #builtInFilterElement>
2050
1961
  <agl-iconfield [pt]="ptm('pcFilterContainer')" [unstyled]="unstyled()">
@@ -2069,9 +1980,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2069
1980
  [unstyled]="unstyled()"
2070
1981
  />
2071
1982
  <agl-inputicon [pt]="ptm('pcFilterIconContainer')" [unstyled]="unstyled()">
2072
- <svg data-p-icon="search" *ngIf="!filterIconTemplate && !_filterIconTemplate" [aglBind]="ptm('filterIcon')" />
2073
- <span *ngIf="filterIconTemplate || _filterIconTemplate" [aglBind]="ptm('filterIcon')">
2074
- <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
1983
+ <svg data-p-icon="search" *ngIf="!filterIconTemplate()" [aglBind]="ptm('filterIcon')" />
1984
+ <span *ngIf="filterIconTemplate()" [aglBind]="ptm('filterIcon')">
1985
+ <ng-template *ngTemplateOutlet="filterIconTemplate()"></ng-template>
2075
1986
  </span>
2076
1987
  </agl-inputicon>
2077
1988
  </agl-iconfield>
@@ -2094,9 +2005,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2094
2005
  <ng-template #content let-items let-scrollerOptions="options">
2095
2006
  <ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
2096
2007
  </ng-template>
2097
- <ng-container *ngIf="loaderTemplate || _loaderTemplate">
2008
+ <ng-container *ngIf="loaderTemplate()">
2098
2009
  <ng-template #loader let-scrollerOptions="options">
2099
- <ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
2010
+ <ng-container *ngTemplateOutlet="loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
2100
2011
  </ng-template>
2101
2012
  </ng-container>
2102
2013
  </agl-scroller>
@@ -2109,8 +2020,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2109
2020
  <ng-template ngFor let-option [ngForOf]="items" let-i="index">
2110
2021
  <ng-container *ngIf="isOptionGroup(option)">
2111
2022
  <li [class]="cx('optionGroup')" [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('optionGroup')">
2112
- <span *ngIf="!groupTemplate && !_groupTemplate" [class]="cx('optionGroupLabel')" [aglBind]="ptm('optionGroupLabel')">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2113
- <ng-container *ngTemplateOutlet="groupTemplate || _groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
2023
+ <span *ngIf="!groupTemplate()" [class]="cx('optionGroupLabel')" [aglBind]="ptm('optionGroupLabel')">{{ getOptionGroupLabel(option.optionGroup) }}</span>
2024
+ <ng-container *ngTemplateOutlet="groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
2114
2025
  </li>
2115
2026
  </ng-container>
2116
2027
  <ng-container *ngIf="!isOptionGroup(option)">
@@ -2121,7 +2032,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2121
2032
  [selected]="isSelected(option)"
2122
2033
  [label]="getOptionLabel(option)"
2123
2034
  [disabled]="isOptionDisabled(option)"
2124
- [template]="itemTemplate || _itemTemplate"
2035
+ [template]="itemTemplate()"
2125
2036
  [focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
2126
2037
  [ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
2127
2038
  [ariaSetSize]="ariaSetSize"
@@ -2134,23 +2045,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2134
2045
  </ng-container>
2135
2046
  </ng-template>
2136
2047
  <li *ngIf="filterValue && isEmpty()" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('emptyMessage')">
2137
- @if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate) {
2048
+ @if (!emptyFilterTemplate() && !emptyTemplate()) {
2138
2049
  {{ emptyFilterMessageLabel }}
2139
2050
  } @else {
2140
- <ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyTemplate"></ng-container>
2051
+ <ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate() || emptyTemplate()"></ng-container>
2141
2052
  }
2142
2053
  </li>
2143
2054
  <li *ngIf="!filterValue && isEmpty()" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option" [aglBind]="ptm('emptyMessage')">
2144
- @if (!emptyTemplate && !_emptyTemplate) {
2055
+ @if (!emptyTemplate()) {
2145
2056
  {{ emptyMessageLabel || emptyFilterMessageLabel }}
2146
2057
  } @else {
2147
- <ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
2058
+ <ng-container #empty *ngTemplateOutlet="emptyTemplate()"></ng-container>
2148
2059
  }
2149
2060
  </li>
2150
2061
  </ul>
2151
2062
  </ng-template>
2152
2063
  </div>
2153
- <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
2064
+ <ng-container *ngTemplateOutlet="footerTemplate()"></ng-container>
2154
2065
  <span
2155
2066
  #lastHiddenFocusableEl
2156
2067
  role="presentation"
@@ -2335,64 +2246,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2335
2246
  }], lastHiddenFocusableElementOnOverlay: [{
2336
2247
  type: ViewChild,
2337
2248
  args: ['lastHiddenFocusableEl']
2338
- }], itemTemplate: [{
2339
- type: ContentChild,
2340
- args: ['item', { descendants: false }]
2341
- }], groupTemplate: [{
2342
- type: ContentChild,
2343
- args: ['group', { descendants: false }]
2344
- }], loaderTemplate: [{
2345
- type: ContentChild,
2346
- args: ['loader', { descendants: false }]
2347
- }], selectedItemTemplate: [{
2348
- type: ContentChild,
2349
- args: ['selectedItem', { descendants: false }]
2350
- }], headerTemplate: [{
2351
- type: ContentChild,
2352
- args: ['header', { descendants: false }]
2353
- }], filterTemplate: [{
2354
- type: ContentChild,
2355
- args: ['filter', { descendants: false }]
2356
- }], footerTemplate: [{
2357
- type: ContentChild,
2358
- args: ['footer', { descendants: false }]
2359
- }], emptyFilterTemplate: [{
2360
- type: ContentChild,
2361
- args: ['emptyfilter', { descendants: false }]
2362
- }], emptyTemplate: [{
2363
- type: ContentChild,
2364
- args: ['empty', { descendants: false }]
2365
- }], dropdownIconTemplate: [{
2366
- type: ContentChild,
2367
- args: ['dropdownicon', { descendants: false }]
2368
- }], loadingIconTemplate: [{
2369
- type: ContentChild,
2370
- args: ['loadingicon', { descendants: false }]
2371
- }], clearIconTemplate: [{
2372
- type: ContentChild,
2373
- args: ['clearicon', { descendants: false }]
2374
- }], filterIconTemplate: [{
2375
- type: ContentChild,
2376
- args: ['filtericon', { descendants: false }]
2377
- }], onIconTemplate: [{
2378
- type: ContentChild,
2379
- args: ['onicon', { descendants: false }]
2380
- }], offIconTemplate: [{
2381
- type: ContentChild,
2382
- args: ['officon', { descendants: false }]
2383
- }], cancelIconTemplate: [{
2384
- type: ContentChild,
2385
- args: ['cancelicon', { descendants: false }]
2386
- }], templates: [{
2387
- type: ContentChildren,
2388
- args: [AglTemplate]
2389
- }] } });
2249
+ }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], groupTemplate: [{ type: i0.ContentChild, args: ['group', { ...{ descendants: false }, isSignal: true }] }], loaderTemplate: [{ type: i0.ContentChild, args: ['loader', { ...{ descendants: false }, isSignal: true }] }], selectedItemTemplate: [{ type: i0.ContentChild, args: ['selectedItem', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], filterTemplate: [{ type: i0.ContentChild, args: ['filter', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], emptyFilterTemplate: [{ type: i0.ContentChild, args: ['emptyfilter', { ...{ descendants: false }, isSignal: true }] }], emptyTemplate: [{ type: i0.ContentChild, args: ['empty', { ...{ descendants: false }, isSignal: true }] }], dropdownIconTemplate: [{ type: i0.ContentChild, args: ['dropdownicon', { ...{ descendants: false }, isSignal: true }] }], loadingIconTemplate: [{ type: i0.ContentChild, args: ['loadingicon', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }] } });
2390
2250
  class SelectModule {
2391
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2392
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: SelectModule, imports: [Select, SharedModule], exports: [Select, SharedModule] });
2393
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectModule, imports: [Select, SharedModule, SharedModule] });
2251
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2252
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: SelectModule, imports: [Select, SharedModule], exports: [Select, SharedModule] });
2253
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectModule, imports: [Select, SharedModule, SharedModule] });
2394
2254
  }
2395
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: SelectModule, decorators: [{
2255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectModule, decorators: [{
2396
2256
  type: NgModule,
2397
2257
  args: [{
2398
2258
  imports: [Select, SharedModule],