@anguless/angulux 22.5.0 → 22.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/fesm2022/anguless-angulux-api.mjs +22 -22
  2. package/fesm2022/anguless-angulux-autofocus.mjs +7 -7
  3. package/fesm2022/anguless-angulux-avatar.mjs +10 -10
  4. package/fesm2022/anguless-angulux-avatargroup.mjs +10 -10
  5. package/fesm2022/anguless-angulux-badge.mjs +13 -13
  6. package/fesm2022/anguless-angulux-base.mjs +3 -3
  7. package/fesm2022/anguless-angulux-basecomponent.mjs +13 -11
  8. package/fesm2022/anguless-angulux-basecomponent.mjs.map +1 -1
  9. package/fesm2022/anguless-angulux-baseeditableholder.mjs +3 -3
  10. package/fesm2022/anguless-angulux-baseinput.mjs +3 -3
  11. package/fesm2022/anguless-angulux-basemodelholder.mjs +3 -3
  12. package/fesm2022/anguless-angulux-bind.mjs +34 -16
  13. package/fesm2022/anguless-angulux-bind.mjs.map +1 -1
  14. package/fesm2022/anguless-angulux-button.mjs +19 -19
  15. package/fesm2022/anguless-angulux-card.mjs +10 -10
  16. package/fesm2022/anguless-angulux-chart.mjs +10 -10
  17. package/fesm2022/anguless-angulux-checkbox.mjs +10 -10
  18. package/fesm2022/anguless-angulux-chip.mjs +10 -10
  19. package/fesm2022/anguless-angulux-colorpicker.mjs +10 -10
  20. package/fesm2022/anguless-angulux-config.mjs +6 -6
  21. package/fesm2022/anguless-angulux-confirmdialog.mjs +10 -10
  22. package/fesm2022/anguless-angulux-datepicker.mjs +10 -10
  23. package/fesm2022/anguless-angulux-dialog.mjs +10 -10
  24. package/fesm2022/anguless-angulux-divider.mjs +10 -10
  25. package/fesm2022/anguless-angulux-drawer.mjs +10 -10
  26. package/fesm2022/anguless-angulux-fileupload.mjs +13 -13
  27. package/fesm2022/anguless-angulux-fluid.mjs +10 -10
  28. package/fesm2022/anguless-angulux-focustrap.mjs +7 -7
  29. package/fesm2022/anguless-angulux-iconfield.mjs +10 -10
  30. package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +3 -3
  31. package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +3 -3
  32. package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +3 -3
  33. package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +3 -3
  34. package/fesm2022/anguless-angulux-icons-angledown.mjs +3 -3
  35. package/fesm2022/anguless-angulux-icons-angleleft.mjs +3 -3
  36. package/fesm2022/anguless-angulux-icons-angleright.mjs +3 -3
  37. package/fesm2022/anguless-angulux-icons-angleup.mjs +3 -3
  38. package/fesm2022/anguless-angulux-icons-arrowdown.mjs +3 -3
  39. package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +3 -3
  40. package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +3 -3
  41. package/fesm2022/anguless-angulux-icons-arrowleft.mjs +3 -3
  42. package/fesm2022/anguless-angulux-icons-arrowright.mjs +3 -3
  43. package/fesm2022/anguless-angulux-icons-arrowup.mjs +3 -3
  44. package/fesm2022/anguless-angulux-icons-ban.mjs +3 -3
  45. package/fesm2022/anguless-angulux-icons-bars.mjs +3 -3
  46. package/fesm2022/anguless-angulux-icons-baseicon.mjs +6 -6
  47. package/fesm2022/anguless-angulux-icons-blank.mjs +3 -3
  48. package/fesm2022/anguless-angulux-icons-calendar.mjs +3 -3
  49. package/fesm2022/anguless-angulux-icons-caretleft.mjs +3 -3
  50. package/fesm2022/anguless-angulux-icons-caretright.mjs +3 -3
  51. package/fesm2022/anguless-angulux-icons-check.mjs +3 -3
  52. package/fesm2022/anguless-angulux-icons-chevrondown.mjs +3 -3
  53. package/fesm2022/anguless-angulux-icons-chevronleft.mjs +3 -3
  54. package/fesm2022/anguless-angulux-icons-chevronright.mjs +3 -3
  55. package/fesm2022/anguless-angulux-icons-chevronup.mjs +3 -3
  56. package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +3 -3
  57. package/fesm2022/anguless-angulux-icons-eye.mjs +3 -3
  58. package/fesm2022/anguless-angulux-icons-eyeslash.mjs +3 -3
  59. package/fesm2022/anguless-angulux-icons-filter.mjs +3 -3
  60. package/fesm2022/anguless-angulux-icons-filterfill.mjs +3 -3
  61. package/fesm2022/anguless-angulux-icons-filterslash.mjs +3 -3
  62. package/fesm2022/anguless-angulux-icons-home.mjs +3 -3
  63. package/fesm2022/anguless-angulux-icons-infocircle.mjs +3 -3
  64. package/fesm2022/anguless-angulux-icons-minus.mjs +3 -3
  65. package/fesm2022/anguless-angulux-icons-pencil.mjs +3 -3
  66. package/fesm2022/anguless-angulux-icons-plus.mjs +3 -3
  67. package/fesm2022/anguless-angulux-icons-refresh.mjs +3 -3
  68. package/fesm2022/anguless-angulux-icons-search.mjs +3 -3
  69. package/fesm2022/anguless-angulux-icons-searchminus.mjs +3 -3
  70. package/fesm2022/anguless-angulux-icons-searchplus.mjs +3 -3
  71. package/fesm2022/anguless-angulux-icons-sortalt.mjs +3 -3
  72. package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +3 -3
  73. package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +3 -3
  74. package/fesm2022/anguless-angulux-icons-spinner.mjs +3 -3
  75. package/fesm2022/anguless-angulux-icons-star.mjs +3 -3
  76. package/fesm2022/anguless-angulux-icons-starfill.mjs +3 -3
  77. package/fesm2022/anguless-angulux-icons-thlarge.mjs +3 -3
  78. package/fesm2022/anguless-angulux-icons-times.mjs +3 -3
  79. package/fesm2022/anguless-angulux-icons-timescircle.mjs +3 -3
  80. package/fesm2022/anguless-angulux-icons-trash.mjs +3 -3
  81. package/fesm2022/anguless-angulux-icons-undo.mjs +3 -3
  82. package/fesm2022/anguless-angulux-icons-upload.mjs +3 -3
  83. package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +3 -3
  84. package/fesm2022/anguless-angulux-icons-windowminimize.mjs +3 -3
  85. package/fesm2022/anguless-angulux-iftalabel.mjs +10 -10
  86. package/fesm2022/anguless-angulux-inputicon.mjs +10 -10
  87. package/fesm2022/anguless-angulux-inputnumber.mjs +10 -10
  88. package/fesm2022/anguless-angulux-inputtext.mjs +10 -10
  89. package/fesm2022/anguless-angulux-menu.mjs +16 -16
  90. package/fesm2022/anguless-angulux-message.mjs +10 -10
  91. package/fesm2022/anguless-angulux-motion.mjs +13 -13
  92. package/fesm2022/anguless-angulux-multiselect.mjs +13 -13
  93. package/fesm2022/anguless-angulux-overlay.mjs +10 -10
  94. package/fesm2022/anguless-angulux-paginator.mjs +10 -10
  95. package/fesm2022/anguless-angulux-password.mjs +16 -16
  96. package/fesm2022/anguless-angulux-popover.mjs +10 -10
  97. package/fesm2022/anguless-angulux-progressbar.mjs +10 -10
  98. package/fesm2022/anguless-angulux-progressspinner.mjs +10 -10
  99. package/fesm2022/anguless-angulux-radiobutton.mjs +13 -13
  100. package/fesm2022/anguless-angulux-ripple.mjs +10 -10
  101. package/fesm2022/anguless-angulux-scroller.mjs +10 -10
  102. package/fesm2022/anguless-angulux-select.mjs +13 -13
  103. package/fesm2022/anguless-angulux-selectbutton.mjs +10 -10
  104. package/fesm2022/anguless-angulux-skeleton.mjs +10 -10
  105. package/fesm2022/anguless-angulux-splitbutton.mjs +10 -10
  106. package/fesm2022/anguless-angulux-table.mjs +85 -85
  107. package/fesm2022/anguless-angulux-tabs.mjs +34 -34
  108. package/fesm2022/anguless-angulux-tag.mjs +10 -10
  109. package/fesm2022/anguless-angulux-textarea.mjs +10 -10
  110. package/fesm2022/anguless-angulux-tieredmenu.mjs +13 -13
  111. package/fesm2022/anguless-angulux-timeline.mjs +10 -10
  112. package/fesm2022/anguless-angulux-toast.mjs +13 -13
  113. package/fesm2022/anguless-angulux-togglebutton.mjs +10 -10
  114. package/fesm2022/anguless-angulux-toggleswitch.mjs +10 -10
  115. package/fesm2022/anguless-angulux-tooltip.mjs +10 -10
  116. package/fesm2022/anguless-angulux-treetable.mjs +58 -58
  117. package/fesm2022/anguless-angulux-usestyle.mjs +3 -3
  118. package/package.json +1 -1
  119. package/types/anguless-angulux-api.d.ts +6 -6
  120. package/types/anguless-angulux-avatar.d.ts +1 -1
  121. package/types/anguless-angulux-avatargroup.d.ts +1 -1
  122. package/types/anguless-angulux-badge.d.ts +1 -1
  123. package/types/anguless-angulux-base.d.ts +1 -1
  124. package/types/anguless-angulux-basecomponent.d.ts +8 -6
  125. package/types/anguless-angulux-bind.d.ts +10 -5
  126. package/types/anguless-angulux-button.d.ts +1 -1
  127. package/types/anguless-angulux-card.d.ts +1 -1
  128. package/types/anguless-angulux-chart.d.ts +1 -1
  129. package/types/anguless-angulux-checkbox.d.ts +1 -1
  130. package/types/anguless-angulux-chip.d.ts +1 -1
  131. package/types/anguless-angulux-colorpicker.d.ts +1 -1
  132. package/types/anguless-angulux-config.d.ts +2 -2
  133. package/types/anguless-angulux-confirmdialog.d.ts +1 -1
  134. package/types/anguless-angulux-datepicker.d.ts +1 -1
  135. package/types/anguless-angulux-dialog.d.ts +1 -1
  136. package/types/anguless-angulux-divider.d.ts +1 -1
  137. package/types/anguless-angulux-drawer.d.ts +1 -1
  138. package/types/anguless-angulux-fileupload.d.ts +1 -1
  139. package/types/anguless-angulux-fluid.d.ts +1 -1
  140. package/types/anguless-angulux-iconfield.d.ts +1 -1
  141. package/types/anguless-angulux-icons-baseicon.d.ts +1 -1
  142. package/types/anguless-angulux-iftalabel.d.ts +1 -1
  143. package/types/anguless-angulux-inputicon.d.ts +1 -1
  144. package/types/anguless-angulux-inputnumber.d.ts +1 -1
  145. package/types/anguless-angulux-inputtext.d.ts +1 -1
  146. package/types/anguless-angulux-menu.d.ts +1 -1
  147. package/types/anguless-angulux-message.d.ts +1 -1
  148. package/types/anguless-angulux-motion.d.ts +1 -1
  149. package/types/anguless-angulux-multiselect.d.ts +1 -1
  150. package/types/anguless-angulux-overlay.d.ts +1 -1
  151. package/types/anguless-angulux-paginator.d.ts +1 -1
  152. package/types/anguless-angulux-password.d.ts +1 -1
  153. package/types/anguless-angulux-popover.d.ts +1 -1
  154. package/types/anguless-angulux-progressbar.d.ts +1 -1
  155. package/types/anguless-angulux-progressspinner.d.ts +1 -1
  156. package/types/anguless-angulux-radiobutton.d.ts +2 -2
  157. package/types/anguless-angulux-ripple.d.ts +1 -1
  158. package/types/anguless-angulux-scroller.d.ts +1 -1
  159. package/types/anguless-angulux-select.d.ts +1 -1
  160. package/types/anguless-angulux-selectbutton.d.ts +1 -1
  161. package/types/anguless-angulux-skeleton.d.ts +1 -1
  162. package/types/anguless-angulux-splitbutton.d.ts +1 -1
  163. package/types/anguless-angulux-table.d.ts +2 -2
  164. package/types/anguless-angulux-tabs.d.ts +5 -5
  165. package/types/anguless-angulux-tag.d.ts +1 -1
  166. package/types/anguless-angulux-textarea.d.ts +1 -1
  167. package/types/anguless-angulux-tieredmenu.d.ts +1 -1
  168. package/types/anguless-angulux-timeline.d.ts +1 -1
  169. package/types/anguless-angulux-toast.d.ts +1 -1
  170. package/types/anguless-angulux-togglebutton.d.ts +1 -1
  171. package/types/anguless-angulux-toggleswitch.d.ts +1 -1
  172. package/types/anguless-angulux-tooltip.d.ts +1 -1
  173. package/types/anguless-angulux-treetable.d.ts +2 -2
  174. package/types/anguless-angulux-usestyle.d.ts +1 -1
@@ -108,10 +108,10 @@ class BaseInput extends BaseEditableHolder {
108
108
  get hasFluid() {
109
109
  return this.fluid() ?? !!this.pcFluid;
110
110
  }
111
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BaseInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
112
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: BaseInput, isStandalone: true, inputs: { fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, inputSize: { classPropertyName: "inputSize", publicName: "inputSize", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
111
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BaseInput, deps: null, target: i0.ɵɵFactoryTarget.Directive });
112
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.2", type: BaseInput, isStandalone: true, inputs: { fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, inputSize: { classPropertyName: "inputSize", publicName: "inputSize", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BaseInput, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BaseInput, decorators: [{
115
115
  type: Directive,
116
116
  args: [{ standalone: true }]
117
117
  }], propDecorators: { fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], inputSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputSize", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }] } });
@@ -111,10 +111,10 @@ class BaseModelHolder extends BaseComponent {
111
111
  read();
112
112
  this._ngControlEvents = bound.events.subscribe(read);
113
113
  }
114
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BaseModelHolder, deps: null, target: i0.ɵɵFactoryTarget.Directive });
115
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: BaseModelHolder, isStandalone: true, usesInheritance: true, ngImport: i0 });
114
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BaseModelHolder, deps: null, target: i0.ɵɵFactoryTarget.Directive });
115
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.2", type: BaseModelHolder, isStandalone: true, usesInheritance: true, ngImport: i0 });
116
116
  }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BaseModelHolder, decorators: [{
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BaseModelHolder, decorators: [{
118
118
  type: Directive,
119
119
  args: [{ standalone: true }]
120
120
  }] });
@@ -1,7 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, signal, computed, effect, Directive, NgModule } from '@angular/core';
2
+ import { input, signal, computed, inject, effect, SecurityContext, Directive, NgModule } from '@angular/core';
3
+ import { DomSanitizer } from '@angular/platform-browser';
3
4
  import { cn, equals } from '@anguless/angulux-utils';
4
5
 
6
+ /** Keys whose value the browser parses as markup. Compared lowercased. */
7
+ const HTML_KEYS = new Set(['innerhtml', 'outerhtml', 'srcdoc']);
8
+ /** Keys whose value the browser follows as a URL. Compared lowercased. */
9
+ const URL_KEYS = new Set(['href', 'src', 'action', 'formaction', 'xlink:href']);
5
10
  /**
6
11
  * Bind directive provides dynamic attribute, property, and event listener binding functionality.
7
12
  * @group Components
@@ -12,11 +17,14 @@ class Bind {
12
17
  /**
13
18
  * Dynamic attributes, properties, and event listeners to be applied to the host element.
14
19
  *
15
- * TRUSTED INPUT ONLY. Every key is applied to the DOM as given — set as an attribute, and
16
- * additionally assigned to the element property of the same name when one exists. No
17
- * sanitizer runs on either path, so a key such as `innerHTML` writes markup and an `on*`
18
- * key can install a handler. This is the mechanism the passthrough API is built on; it is
19
- * safe only for values you control, and never for values that reached you from a user.
20
+ * Each key is set as an attribute, and also assigned to the element property of the same
21
+ * name when one exists. Values that the browser would parse as markup (`innerHTML`,
22
+ * `outerHTML`, `srcdoc`) or follow as a URL (`href`, `src`, `action`, `formaction`,
23
+ * `xlink:href`) go through Angular's sanitizer first, exactly as they would in a template
24
+ * binding. To write such a value unsanitized on purpose, pass a value from
25
+ * `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl`. An `on*` key installs
26
+ * a listener when its value is a function; any other `on*` value is ignored, because as an
27
+ * attribute it would be script.
20
28
  * @group Props
21
29
  */
22
30
  aglBind = input(undefined, /* @ts-ignore */
@@ -30,6 +38,7 @@ class Bind {
30
38
  classes = computed(() => cn(this.attrs()?.class), /* @ts-ignore */
31
39
  ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
32
40
  listeners = [];
41
+ sanitizer = inject(DomSanitizer);
33
42
  constructor(el, renderer) {
34
43
  this.el = el;
35
44
  this.renderer = renderer;
@@ -48,11 +57,15 @@ class Bind {
48
57
  // remove attr
49
58
  this.renderer.removeAttribute(this.el.nativeElement, key);
50
59
  }
60
+ else if (key.startsWith('on')) {
61
+ // a non-function handler would be an inline script attribute; never write it
62
+ }
51
63
  else {
52
- // attr & prop fallback
53
- this.renderer.setAttribute(this.el.nativeElement, key, value.toString());
64
+ // attr & prop fallback, through the sanitizer where the browser would execute
65
+ const safe = this.sanitize(key, value);
66
+ this.renderer.setAttribute(this.el.nativeElement, key, String(safe));
54
67
  if (key in this.el.nativeElement) {
55
- this.el.nativeElement[key] = value;
68
+ this.el.nativeElement[key] = safe;
56
69
  }
57
70
  }
58
71
  }
@@ -66,14 +79,19 @@ class Bind {
66
79
  this._attrs.set(attrs);
67
80
  }
68
81
  }
82
+ sanitize(key, value) {
83
+ const name = key.toLowerCase();
84
+ const context = HTML_KEYS.has(name) ? SecurityContext.HTML : URL_KEYS.has(name) ? SecurityContext.URL : null;
85
+ return context === null ? value : (this.sanitizer.sanitize(context, value) ?? '');
86
+ }
69
87
  clearListeners() {
70
88
  this.listeners.forEach(({ unlisten }) => unlisten());
71
89
  this.listeners = [];
72
90
  }
73
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Bind, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
74
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: Bind, isStandalone: true, selector: "[aglBind]", inputs: { aglBind: { classPropertyName: "aglBind", publicName: "aglBind", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "styles()", "class": "classes()" } }, ngImport: i0 });
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Bind, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
92
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.2", type: Bind, isStandalone: true, selector: "[aglBind]", inputs: { aglBind: { classPropertyName: "aglBind", publicName: "aglBind", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "styles()", "class": "classes()" } }, ngImport: i0 });
75
93
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Bind, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Bind, decorators: [{
77
95
  type: Directive,
78
96
  args: [{
79
97
  selector: '[aglBind]',
@@ -85,11 +103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
85
103
  }]
86
104
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { aglBind: [{ type: i0.Input, args: [{ isSignal: true, alias: "aglBind", required: false }] }] } });
87
105
  class BindModule {
88
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BindModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
89
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: BindModule, imports: [Bind], exports: [Bind] });
90
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BindModule });
106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BindModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
107
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: BindModule, imports: [Bind], exports: [Bind] });
108
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BindModule });
91
109
  }
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: BindModule, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: BindModule, decorators: [{
93
111
  type: NgModule,
94
112
  args: [{
95
113
  imports: [Bind],
@@ -1 +1 @@
1
- {"version":3,"file":"anguless-angulux-bind.mjs","sources":["../../src/bind/bind.ts","../../src/bind/anguless-angulux-bind.ts"],"sourcesContent":["import { computed, Directive, effect, ElementRef, input, NgModule, Renderer2, signal } from '@angular/core';\nimport { cn, equals } from '@anguless/angulux-utils';\n\n/**\n * Bind directive provides dynamic attribute, property, and event listener binding functionality.\n * @group Components\n */\n@Directive({\n selector: '[aglBind]',\n standalone: true,\n host: {\n '[style]': 'styles()',\n '[class]': 'classes()'\n }\n})\nexport class Bind {\n /**\n * Dynamic attributes, properties, and event listeners to be applied to the host element.\n *\n * TRUSTED INPUT ONLY. Every key is applied to the DOM as given — set as an attribute, and\n * additionally assigned to the element property of the same name when one exists. No\n * sanitizer runs on either path, so a key such as `innerHTML` writes markup and an `on*`\n * key can install a handler. This is the mechanism the passthrough API is built on; it is\n * safe only for values you control, and never for values that reached you from a user.\n * @group Props\n */\n aglBind = input<{ [key: string]: any } | undefined>(undefined);\n\n private _attrs = signal<{ [key: string]: any } | undefined>(undefined);\n private attrs = computed(() => this._attrs() || this.aglBind());\n\n styles = computed(() => this.attrs()?.style);\n classes = computed(() => cn(this.attrs()?.class));\n\n private listeners: { eventName: string; unlisten: () => void }[] = [];\n\n constructor(\n private el: ElementRef,\n private renderer: Renderer2\n ) {\n effect(() => {\n const { style, class: className, ...rest } = this.attrs() || {};\n\n for (const [key, value] of Object.entries(rest)) {\n if (key.startsWith('on') && typeof value === 'function') {\n const eventName = key.slice(2).toLowerCase();\n\n // add listener if not already added\n if (!this.listeners.some((l) => l.eventName === eventName)) {\n const unlisten = this.renderer.listen(this.el.nativeElement, eventName, value);\n this.listeners.push({ eventName, unlisten });\n }\n } else if (value === null || value === undefined) {\n // remove attr\n this.renderer.removeAttribute(this.el.nativeElement, key);\n } else {\n // attr & prop fallback\n this.renderer.setAttribute(this.el.nativeElement, key, value.toString());\n if (key in this.el.nativeElement) {\n (this.el.nativeElement as any)[key] = value;\n }\n }\n }\n });\n }\n\n ngOnDestroy() {\n this.clearListeners();\n }\n\n public setAttrs(attrs: { [key: string]: any } | undefined) {\n if (!equals(this._attrs(), attrs)) {\n this._attrs.set(attrs);\n }\n }\n\n private clearListeners() {\n this.listeners.forEach(({ unlisten }) => unlisten());\n this.listeners = [];\n }\n}\n\n@NgModule({\n imports: [Bind],\n exports: [Bind]\n})\nexport class BindModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"anguless-angulux-bind.mjs","sources":["../../src/bind/bind.ts","../../src/bind/anguless-angulux-bind.ts"],"sourcesContent":["import { computed, Directive, effect, ElementRef, inject, input, NgModule, Renderer2, SecurityContext, signal } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { cn, equals } from '@anguless/angulux-utils';\n\n/** Keys whose value the browser parses as markup. Compared lowercased. */\nconst HTML_KEYS = new Set(['innerhtml', 'outerhtml', 'srcdoc']);\n\n/** Keys whose value the browser follows as a URL. Compared lowercased. */\nconst URL_KEYS = new Set(['href', 'src', 'action', 'formaction', 'xlink:href']);\n\n/**\n * Bind directive provides dynamic attribute, property, and event listener binding functionality.\n * @group Components\n */\n@Directive({\n selector: '[aglBind]',\n standalone: true,\n host: {\n '[style]': 'styles()',\n '[class]': 'classes()'\n }\n})\nexport class Bind {\n /**\n * Dynamic attributes, properties, and event listeners to be applied to the host element.\n *\n * Each key is set as an attribute, and also assigned to the element property of the same\n * name when one exists. Values that the browser would parse as markup (`innerHTML`,\n * `outerHTML`, `srcdoc`) or follow as a URL (`href`, `src`, `action`, `formaction`,\n * `xlink:href`) go through Angular's sanitizer first, exactly as they would in a template\n * binding. To write such a value unsanitized on purpose, pass a value from\n * `DomSanitizer.bypassSecurityTrustHtml` or `bypassSecurityTrustUrl`. An `on*` key installs\n * a listener when its value is a function; any other `on*` value is ignored, because as an\n * attribute it would be script.\n * @group Props\n */\n aglBind = input<{ [key: string]: any } | undefined>(undefined);\n\n private _attrs = signal<{ [key: string]: any } | undefined>(undefined);\n private attrs = computed(() => this._attrs() || this.aglBind());\n\n styles = computed(() => this.attrs()?.style);\n classes = computed(() => cn(this.attrs()?.class));\n\n private listeners: { eventName: string; unlisten: () => void }[] = [];\n\n private sanitizer = inject(DomSanitizer);\n\n constructor(\n private el: ElementRef,\n private renderer: Renderer2\n ) {\n effect(() => {\n const { style, class: className, ...rest } = this.attrs() || {};\n\n for (const [key, value] of Object.entries(rest)) {\n if (key.startsWith('on') && typeof value === 'function') {\n const eventName = key.slice(2).toLowerCase();\n\n // add listener if not already added\n if (!this.listeners.some((l) => l.eventName === eventName)) {\n const unlisten = this.renderer.listen(this.el.nativeElement, eventName, value);\n this.listeners.push({ eventName, unlisten });\n }\n } else if (value === null || value === undefined) {\n // remove attr\n this.renderer.removeAttribute(this.el.nativeElement, key);\n } else if (key.startsWith('on')) {\n // a non-function handler would be an inline script attribute; never write it\n } else {\n // attr & prop fallback, through the sanitizer where the browser would execute\n const safe = this.sanitize(key, value);\n this.renderer.setAttribute(this.el.nativeElement, key, String(safe));\n if (key in this.el.nativeElement) {\n (this.el.nativeElement as any)[key] = safe;\n }\n }\n }\n });\n }\n\n ngOnDestroy() {\n this.clearListeners();\n }\n\n public setAttrs(attrs: { [key: string]: any } | undefined) {\n if (!equals(this._attrs(), attrs)) {\n this._attrs.set(attrs);\n }\n }\n\n private sanitize(key: string, value: unknown): unknown {\n const name = key.toLowerCase();\n const context = HTML_KEYS.has(name) ? SecurityContext.HTML : URL_KEYS.has(name) ? SecurityContext.URL : null;\n return context === null ? value : (this.sanitizer.sanitize(context, value as string) ?? '');\n }\n\n private clearListeners() {\n this.listeners.forEach(({ unlisten }) => unlisten());\n this.listeners = [];\n }\n}\n\n@NgModule({\n imports: [Bind],\n exports: [Bind]\n})\nexport class BindModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;AAIA;AACA,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AAE/D;AACA,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAE/E;;;AAGG;MASU,IAAI,CAAA;AA2BD,IAAA,EAAA;AACA,IAAA,QAAA;AA3BZ;;;;;;;;;;;;AAYG;IACH,OAAO,GAAG,KAAK,CAAqC,SAAS;gFAAC;IAEtD,MAAM,GAAG,MAAM,CAAqC,SAAS;+EAAC;AAC9D,IAAA,KAAK,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE;8EAAC;IAE/D,MAAM,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,EAAE,KAAK;+EAAC;AAC5C,IAAA,OAAO,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,KAAK,CAAC;gFAAC;IAEzC,SAAS,GAAkD,EAAE;AAE7D,IAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;IAExC,WAAA,CACY,EAAc,EACd,QAAmB,EAAA;QADnB,IAAA,CAAA,EAAE,GAAF,EAAE;QACF,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAEhB,MAAM,CAAC,MAAK;AACR,YAAA,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE;AAE/D,YAAA,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;AAC7C,gBAAA,IAAI,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;oBACrD,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;;AAG5C,oBAAA,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,EAAE;AACxD,wBAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE,KAAK,CAAC;wBAC9E,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;oBAChD;gBACJ;qBAAO,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;;AAE9C,oBAAA,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,GAAG,CAAC;gBAC7D;AAAO,qBAAA,IAAI,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;;gBAEjC;qBAAO;;oBAEH,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,KAAK,CAAC;AACtC,oBAAA,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;oBACpE,IAAI,GAAG,IAAI,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE;wBAC7B,IAAI,CAAC,EAAE,CAAC,aAAqB,CAAC,GAAG,CAAC,GAAG,IAAI;oBAC9C;gBACJ;YACJ;AACJ,QAAA,CAAC,CAAC;IACN;IAEA,WAAW,GAAA;QACP,IAAI,CAAC,cAAc,EAAE;IACzB;AAEO,IAAA,QAAQ,CAAC,KAAyC,EAAA;QACrD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE;AAC/B,YAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC;QAC1B;IACJ;IAEQ,QAAQ,CAAC,GAAW,EAAE,KAAc,EAAA;AACxC,QAAA,MAAM,IAAI,GAAG,GAAG,CAAC,WAAW,EAAE;AAC9B,QAAA,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC,GAAG,GAAG,IAAI;QAC5G,OAAO,OAAO,KAAK,IAAI,GAAG,KAAK,IAAI,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAe,CAAC,IAAI,EAAE,CAAC;IAC/F;IAEQ,cAAc,GAAA;AAClB,QAAA,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;AACpD,QAAA,IAAI,CAAC,SAAS,GAAG,EAAE;IACvB;uGA9ES,IAAI,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAJ,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,WAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAJ,IAAI,EAAA,UAAA,EAAA,CAAA;kBARhB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,WAAW;AACrB,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,UAAU;AACrB,wBAAA,SAAS,EAAE;AACd;AACJ,iBAAA;;MAsFY,UAAU,CAAA;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAV,UAAU,EAAA,OAAA,EAAA,CArFV,IAAI,CAAA,EAAA,OAAA,EAAA,CAAJ,IAAI,CAAA,EAAA,CAAA;wGAqFJ,UAAU,EAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,IAAI,CAAC;oBACf,OAAO,EAAE,CAAC,IAAI;AACjB,iBAAA;;;AC1GD;;AAEG;;;;"}
@@ -60,10 +60,10 @@ class ButtonStyle extends BaseStyle {
60
60
  name = 'button';
61
61
  style = style;
62
62
  classes = classes;
63
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
64
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonStyle });
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
64
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonStyle });
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonStyle, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonStyle, decorators: [{
67
67
  type: Injectable
68
68
  }] });
69
69
  /**
@@ -144,10 +144,10 @@ class ButtonLabel extends BaseComponent {
144
144
  onAfterViewChecked() {
145
145
  this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
146
146
  }
147
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
148
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: ButtonLabel, isStandalone: true, selector: "[aglButtonLabel]", inputs: { ptButtonLabel: { classPropertyName: "ptButtonLabel", publicName: "ptButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelPT: { classPropertyName: "pButtonLabelPT", publicName: "pButtonLabelPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelUnstyled: { classPropertyName: "pButtonLabelUnstyled", publicName: "pButtonLabelUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-label": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
147
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive });
148
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.2", type: ButtonLabel, isStandalone: true, selector: "[aglButtonLabel]", inputs: { ptButtonLabel: { classPropertyName: "ptButtonLabel", publicName: "ptButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelPT: { classPropertyName: "pButtonLabelPT", publicName: "pButtonLabelPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonLabelUnstyled: { classPropertyName: "pButtonLabelUnstyled", publicName: "pButtonLabelUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-label": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_LABEL_INSTANCE, useExisting: ButtonLabel }, { provide: PARENT_INSTANCE, useExisting: ButtonLabel }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
149
149
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonLabel, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonLabel, decorators: [{
151
151
  type: Directive,
152
152
  args: [{
153
153
  selector: '[aglButtonLabel]',
@@ -198,10 +198,10 @@ class ButtonIcon extends BaseComponent {
198
198
  onAfterViewChecked() {
199
199
  this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
200
200
  }
201
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
202
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: ButtonIcon, isStandalone: true, selector: "[aglButtonIcon]", inputs: { ptButtonIcon: { classPropertyName: "ptButtonIcon", publicName: "ptButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, pButtonIconPT: { classPropertyName: "pButtonIconPT", publicName: "pButtonIconPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
201
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
202
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.2", type: ButtonIcon, isStandalone: true, selector: "[aglButtonIcon]", inputs: { ptButtonIcon: { classPropertyName: "ptButtonIcon", publicName: "ptButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, pButtonIconPT: { classPropertyName: "pButtonIconPT", publicName: "pButtonIconPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon": "!$unstyled() && true" } }, providers: [ButtonStyle, { provide: BUTTON_ICON_INSTANCE, useExisting: ButtonIcon }, { provide: PARENT_INSTANCE, useExisting: ButtonIcon }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
203
203
  }
204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonIcon, decorators: [{
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonIcon, decorators: [{
205
205
  type: Directive,
206
206
  args: [{
207
207
  selector: '[aglButtonIcon]',
@@ -540,10 +540,10 @@ class ButtonDirective extends BaseComponent {
540
540
  onDestroy() {
541
541
  this.initialized = false;
542
542
  }
543
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
544
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.1", type: ButtonDirective, isStandalone: true, selector: "[aglButton]", inputs: { ptButtonDirective: { classPropertyName: "ptButtonDirective", publicName: "ptButtonDirective", isSignal: true, isRequired: false, transformFunction: null }, pButtonPT: { classPropertyName: "pButtonPT", publicName: "pButtonPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null }, hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon-only": "!$unstyled() && isIconOnly()", "class.p-button-text": " !$unstyled() && isTextButton()" } }, providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }], queries: [{ propertyName: "iconSignal", first: true, predicate: ButtonIcon, descendants: true, isSignal: true }, { propertyName: "labelSignal", first: true, predicate: ButtonLabel, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
543
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
544
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.2.2", type: ButtonDirective, isStandalone: true, selector: "[aglButton]", inputs: { ptButtonDirective: { classPropertyName: "ptButtonDirective", publicName: "ptButtonDirective", isSignal: true, isRequired: false, transformFunction: null }, pButtonPT: { classPropertyName: "pButtonPT", publicName: "pButtonPT", isSignal: true, isRequired: false, transformFunction: null }, pButtonUnstyled: { classPropertyName: "pButtonUnstyled", publicName: "pButtonUnstyled", isSignal: true, isRequired: false, transformFunction: null }, hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null } }, host: { properties: { "class.p-button-icon-only": "!$unstyled() && isIconOnly()", "class.p-button-text": " !$unstyled() && isTextButton()" } }, providers: [ButtonStyle, { provide: BUTTON_DIRECTIVE_INSTANCE, useExisting: ButtonDirective }, { provide: PARENT_INSTANCE, useExisting: ButtonDirective }], queries: [{ propertyName: "iconSignal", first: true, predicate: ButtonIcon, descendants: true, isSignal: true }, { propertyName: "labelSignal", first: true, predicate: ButtonLabel, descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
545
545
  }
546
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonDirective, decorators: [{
546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonDirective, decorators: [{
547
547
  type: Directive,
548
548
  args: [{
549
549
  selector: '[aglButton]',
@@ -807,8 +807,8 @@ class Button extends BaseComponent {
807
807
  'icon-only': this.hasIcon && !this.label && !this.badge
808
808
  });
809
809
  }
810
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Button, deps: null, target: i0.ɵɵFactoryTarget.Component });
811
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Button, isStandalone: true, selector: "agl-button", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, link: { classPropertyName: "link", publicName: "link", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, badgeClass: { classPropertyName: "badgeClass", publicName: "badgeClass", isSignal: false, isRequired: false, transformFunction: null }, badgeSeverity: { classPropertyName: "badgeSeverity", publicName: "badgeSeverity", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur" }, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
810
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Button, deps: null, target: i0.ɵɵFactoryTarget.Component });
811
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.2", type: Button, isStandalone: true, selector: "agl-button", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, badge: { classPropertyName: "badge", publicName: "badge", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, plain: { classPropertyName: "plain", publicName: "plain", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, outlined: { classPropertyName: "outlined", publicName: "outlined", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, link: { classPropertyName: "link", publicName: "link", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: false, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, badgeClass: { classPropertyName: "badgeClass", publicName: "badgeClass", isSignal: false, isRequired: false, transformFunction: null }, badgeSeverity: { classPropertyName: "badgeSeverity", publicName: "badgeSeverity", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: false, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: false, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick", onFocus: "onFocus", onBlur: "onBlur" }, providers: [ButtonStyle, { provide: BUTTON_INSTANCE, useExisting: Button }, { provide: PARENT_INSTANCE, useExisting: Button }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: ["icon"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
812
812
  <button
813
813
  [attr.type]="type || buttonProps?.type"
814
814
  [attr.aria-label]="ariaLabel || buttonProps?.ariaLabel"
@@ -857,7 +857,7 @@ class Button extends BaseComponent {
857
857
  </button>
858
858
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[aglRipple]" }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i3.Badge, selector: "agl-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
859
859
  }
860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Button, decorators: [{
860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Button, decorators: [{
861
861
  type: Component,
862
862
  args: [{
863
863
  selector: 'agl-button',
@@ -986,11 +986,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
986
986
  type: Output
987
987
  }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { isSignal: true }] }], loadingIconTemplate: [{ type: i0.ContentChild, args: ['loadingicon', { isSignal: true }] }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { isSignal: true }] }] } });
988
988
  class ButtonModule {
989
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
990
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ButtonModule, imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon], exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule] });
991
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonModule, imports: [CommonModule, Button, SharedModule, SharedModule] });
989
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
990
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ButtonModule, imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon], exports: [ButtonDirective, Button, ButtonLabel, ButtonIcon, SharedModule] });
991
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonModule, imports: [CommonModule, Button, SharedModule, SharedModule] });
992
992
  }
993
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ButtonModule, decorators: [{
993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ButtonModule, decorators: [{
994
994
  type: NgModule,
995
995
  args: [{
996
996
  imports: [CommonModule, ButtonDirective, Button, SharedModule, ButtonLabel, ButtonIcon],
@@ -32,10 +32,10 @@ class CardStyle extends BaseStyle {
32
32
  name = 'card';
33
33
  style = style;
34
34
  classes = classes;
35
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
36
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardStyle });
35
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
36
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardStyle });
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardStyle, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardStyle, decorators: [{
39
39
  type: Injectable
40
40
  }] });
41
41
  /**
@@ -160,8 +160,8 @@ class Card extends BaseComponent {
160
160
  getBlockableElement() {
161
161
  return this.el.nativeElement;
162
162
  }
163
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Card, deps: null, target: i0.ɵɵFactoryTarget.Component });
164
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Card, isStandalone: true, selector: "agl-card", inputs: { header: "header", subheader: "subheader", style: "style", styleClass: "styleClass" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "_style()" } }, providers: [CardStyle, { provide: CARD_INSTANCE, useExisting: Card }, { provide: PARENT_INSTANCE, useExisting: Card }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "titleTemplate", first: true, predicate: ["title"], isSignal: true }, { propertyName: "subtitleTemplate", first: true, predicate: ["subtitle"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
163
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Card, deps: null, target: i0.ɵɵFactoryTarget.Component });
164
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.2", type: Card, isStandalone: true, selector: "agl-card", inputs: { header: "header", subheader: "subheader", style: "style", styleClass: "styleClass" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "_style()" } }, providers: [CardStyle, { provide: CARD_INSTANCE, useExisting: Card }, { provide: PARENT_INSTANCE, useExisting: Card }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "titleTemplate", first: true, predicate: ["title"], isSignal: true }, { propertyName: "subtitleTemplate", first: true, predicate: ["subtitle"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
165
165
  <div [aglBind]="ptm('header')" [class]="cx('header')" *ngIf="headerTemplate()">
166
166
  <ng-container *ngTemplateOutlet="headerTemplate()"></ng-container>
167
167
  </div>
@@ -184,7 +184,7 @@ class Card extends BaseComponent {
184
184
  </div>
185
185
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
186
186
  }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Card, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Card, decorators: [{
188
188
  type: Component,
189
189
  args: [{
190
190
  selector: 'agl-card',
@@ -231,11 +231,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
231
231
  type: Input
232
232
  }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], titleTemplate: [{ type: i0.ContentChild, args: ['title', { ...{ descendants: false }, isSignal: true }] }], subtitleTemplate: [{ type: i0.ContentChild, args: ['subtitle', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }] } });
233
233
  class CardModule {
234
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
235
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: CardModule, imports: [Card, SharedModule, BindModule], exports: [Card, SharedModule, BindModule] });
236
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardModule, imports: [Card, SharedModule, BindModule, SharedModule, BindModule] });
234
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
235
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: CardModule, imports: [Card, SharedModule, BindModule], exports: [Card, SharedModule, BindModule] });
236
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardModule, imports: [Card, SharedModule, BindModule, SharedModule, BindModule] });
237
237
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CardModule, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CardModule, decorators: [{
239
239
  type: NgModule,
240
240
  args: [{
241
241
  imports: [Card, SharedModule, BindModule],
@@ -18,10 +18,10 @@ class ChartStyle extends BaseStyle {
18
18
  name = 'chart';
19
19
  classes = classes;
20
20
  inlineStyles = inlineStyles;
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
22
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartStyle });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
22
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartStyle });
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartStyle, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartStyle, decorators: [{
25
25
  type: Injectable
26
26
  }] });
27
27
  /**
@@ -186,8 +186,8 @@ class UIChart extends BaseComponent {
186
186
  this.chart = null;
187
187
  }
188
188
  }
189
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UIChart, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
190
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: UIChart, isStandalone: true, selector: "agl-chart", inputs: { type: "type", plugins: "plugins", width: "width", height: "height", responsive: ["responsive", "responsive", booleanAttribute], ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", data: "data", options: "options" }, outputs: { onDataSelect: "onDataSelect" }, host: { properties: { "class": "cx('root')", "style": "sx('root')" } }, providers: [ChartStyle, { provide: CHART_INSTANCE, useExisting: UIChart }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: UIChart, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.2.2", type: UIChart, isStandalone: true, selector: "agl-chart", inputs: { type: "type", plugins: "plugins", width: "width", height: "height", responsive: ["responsive", "responsive", booleanAttribute], ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", data: "data", options: "options" }, outputs: { onDataSelect: "onDataSelect" }, host: { properties: { "class": "cx('root')", "style": "sx('root')" } }, providers: [ChartStyle, { provide: CHART_INSTANCE, useExisting: UIChart }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
191
191
  <canvas
192
192
  role="img"
193
193
  [attr.aria-label]="ariaLabel"
@@ -199,7 +199,7 @@ class UIChart extends BaseComponent {
199
199
  ></canvas>
200
200
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
201
201
  }
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UIChart, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: UIChart, decorators: [{
203
203
  type: Component,
204
204
  args: [{
205
205
  selector: 'agl-chart',
@@ -248,11 +248,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
248
248
  type: Output
249
249
  }] } });
250
250
  class ChartModule {
251
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
252
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ChartModule, imports: [UIChart, SharedModule], exports: [UIChart, SharedModule] });
253
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartModule, imports: [UIChart, SharedModule, SharedModule] });
251
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
252
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ChartModule, imports: [UIChart, SharedModule], exports: [UIChart, SharedModule] });
253
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartModule, imports: [UIChart, SharedModule, SharedModule] });
254
254
  }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChartModule, decorators: [{
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChartModule, decorators: [{
256
256
  type: NgModule,
257
257
  args: [{
258
258
  imports: [UIChart, SharedModule],
@@ -45,10 +45,10 @@ class CheckboxStyle extends BaseStyle {
45
45
  name = 'checkbox';
46
46
  style = style;
47
47
  classes = classes;
48
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
49
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxStyle });
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
49
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxStyle });
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxStyle, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxStyle, decorators: [{
52
52
  type: Injectable
53
53
  }] });
54
54
  /**
@@ -295,8 +295,8 @@ class Checkbox extends BaseEditableHolder {
295
295
  [this.size()]: this.size()
296
296
  });
297
297
  }
298
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Checkbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
299
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Checkbox, isStandalone: true, selector: "agl-checkbox, agl-checkBox, agl-check-box", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, binary: { classPropertyName: "binary", publicName: "binary", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: false, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, formControl: { classPropertyName: "formControl", publicName: "formControl", isSignal: false, isRequired: false, transformFunction: null }, checkboxIcon: { classPropertyName: "checkboxIcon", publicName: "checkboxIcon", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, trueValue: { classPropertyName: "trueValue", publicName: "trueValue", isSignal: false, isRequired: false, transformFunction: null }, falseValue: { classPropertyName: "falseValue", publicName: "falseValue", isSignal: false, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p-highlight": "checked", "attr.data-p-checked": "checked", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [CHECKBOX_VALUE_ACCESSOR, CheckboxStyle, { provide: CHECKBOX_INSTANCE, useExisting: Checkbox }, { provide: PARENT_INSTANCE, useExisting: Checkbox }], queries: [{ propertyName: "checkboxIconTemplate", first: true, predicate: ["icon"], isSignal: true }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
298
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Checkbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
299
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.2", type: Checkbox, isStandalone: true, selector: "agl-checkbox, agl-checkBox, agl-check-box", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, binary: { classPropertyName: "binary", publicName: "binary", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, inputClass: { classPropertyName: "inputClass", publicName: "inputClass", isSignal: false, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, formControl: { classPropertyName: "formControl", publicName: "formControl", isSignal: false, isRequired: false, transformFunction: null }, checkboxIcon: { classPropertyName: "checkboxIcon", publicName: "checkboxIcon", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, trueValue: { classPropertyName: "trueValue", publicName: "trueValue", isSignal: false, isRequired: false, transformFunction: null }, falseValue: { classPropertyName: "falseValue", publicName: "falseValue", isSignal: false, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p-highlight": "checked", "attr.data-p-checked": "checked", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [CHECKBOX_VALUE_ACCESSOR, CheckboxStyle, { provide: CHECKBOX_INSTANCE, useExisting: Checkbox }, { provide: PARENT_INSTANCE, useExisting: Checkbox }], queries: [{ propertyName: "checkboxIconTemplate", first: true, predicate: ["icon"], isSignal: true }], viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
300
300
  <input
301
301
  #input
302
302
  [attr.id]="inputId"
@@ -330,7 +330,7 @@ class Checkbox extends BaseEditableHolder {
330
330
  </div>
331
331
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: MinusIcon, selector: "[data-p-icon=\"minus\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
332
332
  }
333
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Checkbox, decorators: [{
333
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Checkbox, decorators: [{
334
334
  type: Component,
335
335
  args: [{
336
336
  selector: 'agl-checkbox, agl-checkBox, agl-check-box',
@@ -431,11 +431,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
431
431
  args: ['input']
432
432
  }], checkboxIconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }] } });
433
433
  class CheckboxModule {
434
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
435
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule], exports: [Checkbox, SharedModule] });
436
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule, SharedModule] });
434
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
435
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule], exports: [Checkbox, SharedModule] });
436
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxModule, imports: [Checkbox, SharedModule, SharedModule] });
437
437
  }
438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CheckboxModule, decorators: [{
438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: CheckboxModule, decorators: [{
439
439
  type: NgModule,
440
440
  args: [{
441
441
  imports: [Checkbox, SharedModule],
@@ -36,10 +36,10 @@ class ChipStyle extends BaseStyle {
36
36
  style = style;
37
37
  classes = classes;
38
38
  inlineStyles = inlineStyles;
39
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
40
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipStyle });
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
40
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipStyle });
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipStyle, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipStyle, decorators: [{
43
43
  type: Injectable
44
44
  }] });
45
45
  /**
@@ -206,8 +206,8 @@ class Chip extends BaseComponent {
206
206
  removable: this.removable
207
207
  });
208
208
  }
209
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Chip, deps: null, target: i0.ɵɵFactoryTarget.Component });
210
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Chip, isStandalone: true, selector: "agl-chip", inputs: { label: "label", icon: "icon", image: "image", alt: "alt", styleClass: "styleClass", disabled: ["disabled", "disabled", booleanAttribute], removable: ["removable", "removable", booleanAttribute], removeIcon: "removeIcon", chipProps: "chipProps" }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.aria-label": "label", "attr.data-p": "dataP" } }, providers: [ChipStyle, { provide: CHIP_INSTANCE, useExisting: Chip }, { provide: PARENT_INSTANCE, useExisting: Chip }], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
209
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Chip, deps: null, target: i0.ɵɵFactoryTarget.Component });
210
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.2", type: Chip, isStandalone: true, selector: "agl-chip", inputs: { label: "label", icon: "icon", image: "image", alt: "alt", styleClass: "styleClass", disabled: ["disabled", "disabled", booleanAttribute], removable: ["removable", "removable", booleanAttribute], removeIcon: "removeIcon", chipProps: "chipProps" }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.aria-label": "label", "attr.data-p": "dataP" } }, providers: [ChipStyle, { provide: CHIP_INSTANCE, useExisting: Chip }, { provide: PARENT_INSTANCE, useExisting: Chip }], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
211
211
  <ng-content></ng-content>
212
212
  <img [aglBind]="ptm('image')" [class]="cx('image')" [src]="image" *ngIf="image; else iconTemplate" (error)="imageError($event)" [alt]="alt" />
213
213
  <ng-template #iconTemplate><span [aglBind]="ptm('icon')" *ngIf="icon" [class]="icon" [ngClass]="cx('icon')"></span></ng-template>
@@ -252,7 +252,7 @@ class Chip extends BaseComponent {
252
252
  </ng-container>
253
253
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TimesCircleIcon, selector: "[data-p-icon=\"times-circle\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
254
254
  }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Chip, decorators: [{
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Chip, decorators: [{
256
256
  type: Component,
257
257
  args: [{
258
258
  selector: 'agl-chip',
@@ -339,11 +339,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
339
339
  type: Input
340
340
  }], removeIconTemplate: [{ type: i0.ContentChild, args: ['removeicon', { ...{ descendants: false }, isSignal: true }] }] } });
341
341
  class ChipModule {
342
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
343
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule], exports: [Chip, SharedModule] });
344
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule, SharedModule] });
342
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
343
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule], exports: [Chip, SharedModule] });
344
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule, SharedModule] });
345
345
  }
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ChipModule, decorators: [{
346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ChipModule, decorators: [{
347
347
  type: NgModule,
348
348
  args: [{
349
349
  imports: [Chip, SharedModule],