@anguless/angulux 22.4.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 (188) 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 +20 -14
  10. package/fesm2022/anguless-angulux-baseeditableholder.mjs.map +1 -1
  11. package/fesm2022/anguless-angulux-baseinput.mjs +3 -3
  12. package/fesm2022/anguless-angulux-basemodelholder.mjs +104 -4
  13. package/fesm2022/anguless-angulux-basemodelholder.mjs.map +1 -1
  14. package/fesm2022/anguless-angulux-bind.mjs +34 -16
  15. package/fesm2022/anguless-angulux-bind.mjs.map +1 -1
  16. package/fesm2022/anguless-angulux-button.mjs +19 -19
  17. package/fesm2022/anguless-angulux-card.mjs +10 -10
  18. package/fesm2022/anguless-angulux-chart.mjs +10 -10
  19. package/fesm2022/anguless-angulux-checkbox.mjs +12 -12
  20. package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
  21. package/fesm2022/anguless-angulux-chip.mjs +10 -10
  22. package/fesm2022/anguless-angulux-colorpicker.mjs +10 -10
  23. package/fesm2022/anguless-angulux-config.mjs +6 -6
  24. package/fesm2022/anguless-angulux-confirmdialog.mjs +10 -10
  25. package/fesm2022/anguless-angulux-datepicker.mjs +14 -14
  26. package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
  27. package/fesm2022/anguless-angulux-dialog.mjs +10 -10
  28. package/fesm2022/anguless-angulux-divider.mjs +10 -10
  29. package/fesm2022/anguless-angulux-drawer.mjs +10 -10
  30. package/fesm2022/anguless-angulux-fileupload.mjs +13 -13
  31. package/fesm2022/anguless-angulux-fluid.mjs +10 -10
  32. package/fesm2022/anguless-angulux-focustrap.mjs +7 -7
  33. package/fesm2022/anguless-angulux-iconfield.mjs +10 -10
  34. package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +3 -3
  35. package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +3 -3
  36. package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +3 -3
  37. package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +3 -3
  38. package/fesm2022/anguless-angulux-icons-angledown.mjs +3 -3
  39. package/fesm2022/anguless-angulux-icons-angleleft.mjs +3 -3
  40. package/fesm2022/anguless-angulux-icons-angleright.mjs +3 -3
  41. package/fesm2022/anguless-angulux-icons-angleup.mjs +3 -3
  42. package/fesm2022/anguless-angulux-icons-arrowdown.mjs +3 -3
  43. package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +3 -3
  44. package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +3 -3
  45. package/fesm2022/anguless-angulux-icons-arrowleft.mjs +3 -3
  46. package/fesm2022/anguless-angulux-icons-arrowright.mjs +3 -3
  47. package/fesm2022/anguless-angulux-icons-arrowup.mjs +3 -3
  48. package/fesm2022/anguless-angulux-icons-ban.mjs +3 -3
  49. package/fesm2022/anguless-angulux-icons-bars.mjs +3 -3
  50. package/fesm2022/anguless-angulux-icons-baseicon.mjs +6 -6
  51. package/fesm2022/anguless-angulux-icons-blank.mjs +3 -3
  52. package/fesm2022/anguless-angulux-icons-calendar.mjs +3 -3
  53. package/fesm2022/anguless-angulux-icons-caretleft.mjs +3 -3
  54. package/fesm2022/anguless-angulux-icons-caretright.mjs +3 -3
  55. package/fesm2022/anguless-angulux-icons-check.mjs +3 -3
  56. package/fesm2022/anguless-angulux-icons-chevrondown.mjs +3 -3
  57. package/fesm2022/anguless-angulux-icons-chevronleft.mjs +3 -3
  58. package/fesm2022/anguless-angulux-icons-chevronright.mjs +3 -3
  59. package/fesm2022/anguless-angulux-icons-chevronup.mjs +3 -3
  60. package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +3 -3
  61. package/fesm2022/anguless-angulux-icons-eye.mjs +3 -3
  62. package/fesm2022/anguless-angulux-icons-eyeslash.mjs +3 -3
  63. package/fesm2022/anguless-angulux-icons-filter.mjs +3 -3
  64. package/fesm2022/anguless-angulux-icons-filterfill.mjs +3 -3
  65. package/fesm2022/anguless-angulux-icons-filterslash.mjs +3 -3
  66. package/fesm2022/anguless-angulux-icons-home.mjs +3 -3
  67. package/fesm2022/anguless-angulux-icons-infocircle.mjs +3 -3
  68. package/fesm2022/anguless-angulux-icons-minus.mjs +3 -3
  69. package/fesm2022/anguless-angulux-icons-pencil.mjs +3 -3
  70. package/fesm2022/anguless-angulux-icons-plus.mjs +3 -3
  71. package/fesm2022/anguless-angulux-icons-refresh.mjs +3 -3
  72. package/fesm2022/anguless-angulux-icons-search.mjs +3 -3
  73. package/fesm2022/anguless-angulux-icons-searchminus.mjs +3 -3
  74. package/fesm2022/anguless-angulux-icons-searchplus.mjs +3 -3
  75. package/fesm2022/anguless-angulux-icons-sortalt.mjs +3 -3
  76. package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +3 -3
  77. package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +3 -3
  78. package/fesm2022/anguless-angulux-icons-spinner.mjs +3 -3
  79. package/fesm2022/anguless-angulux-icons-star.mjs +3 -3
  80. package/fesm2022/anguless-angulux-icons-starfill.mjs +3 -3
  81. package/fesm2022/anguless-angulux-icons-thlarge.mjs +3 -3
  82. package/fesm2022/anguless-angulux-icons-times.mjs +3 -3
  83. package/fesm2022/anguless-angulux-icons-timescircle.mjs +3 -3
  84. package/fesm2022/anguless-angulux-icons-trash.mjs +3 -3
  85. package/fesm2022/anguless-angulux-icons-undo.mjs +3 -3
  86. package/fesm2022/anguless-angulux-icons-upload.mjs +3 -3
  87. package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +3 -3
  88. package/fesm2022/anguless-angulux-icons-windowminimize.mjs +3 -3
  89. package/fesm2022/anguless-angulux-iftalabel.mjs +10 -10
  90. package/fesm2022/anguless-angulux-inputicon.mjs +10 -10
  91. package/fesm2022/anguless-angulux-inputnumber.mjs +12 -12
  92. package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
  93. package/fesm2022/anguless-angulux-inputtext.mjs +15 -19
  94. package/fesm2022/anguless-angulux-inputtext.mjs.map +1 -1
  95. package/fesm2022/anguless-angulux-menu.mjs +16 -16
  96. package/fesm2022/anguless-angulux-message.mjs +10 -10
  97. package/fesm2022/anguless-angulux-motion.mjs +13 -13
  98. package/fesm2022/anguless-angulux-multiselect.mjs +15 -15
  99. package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
  100. package/fesm2022/anguless-angulux-overlay.mjs +10 -10
  101. package/fesm2022/anguless-angulux-paginator.mjs +10 -10
  102. package/fesm2022/anguless-angulux-password.mjs +19 -18
  103. package/fesm2022/anguless-angulux-password.mjs.map +1 -1
  104. package/fesm2022/anguless-angulux-popover.mjs +10 -10
  105. package/fesm2022/anguless-angulux-progressbar.mjs +10 -10
  106. package/fesm2022/anguless-angulux-progressspinner.mjs +10 -10
  107. package/fesm2022/anguless-angulux-radiobutton.mjs +15 -15
  108. package/fesm2022/anguless-angulux-radiobutton.mjs.map +1 -1
  109. package/fesm2022/anguless-angulux-ripple.mjs +10 -10
  110. package/fesm2022/anguless-angulux-scroller.mjs +10 -10
  111. package/fesm2022/anguless-angulux-select.mjs +19 -19
  112. package/fesm2022/anguless-angulux-select.mjs.map +1 -1
  113. package/fesm2022/anguless-angulux-selectbutton.mjs +10 -10
  114. package/fesm2022/anguless-angulux-skeleton.mjs +10 -10
  115. package/fesm2022/anguless-angulux-splitbutton.mjs +10 -10
  116. package/fesm2022/anguless-angulux-table.mjs +85 -85
  117. package/fesm2022/anguless-angulux-tabs.mjs +34 -34
  118. package/fesm2022/anguless-angulux-tag.mjs +10 -10
  119. package/fesm2022/anguless-angulux-textarea.mjs +15 -19
  120. package/fesm2022/anguless-angulux-textarea.mjs.map +1 -1
  121. package/fesm2022/anguless-angulux-tieredmenu.mjs +13 -13
  122. package/fesm2022/anguless-angulux-timeline.mjs +10 -10
  123. package/fesm2022/anguless-angulux-toast.mjs +13 -13
  124. package/fesm2022/anguless-angulux-togglebutton.mjs +10 -10
  125. package/fesm2022/anguless-angulux-toggleswitch.mjs +12 -12
  126. package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
  127. package/fesm2022/anguless-angulux-tooltip.mjs +10 -10
  128. package/fesm2022/anguless-angulux-treetable.mjs +58 -58
  129. package/fesm2022/anguless-angulux-usestyle.mjs +3 -3
  130. package/package.json +1 -1
  131. package/types/anguless-angulux-api.d.ts +6 -6
  132. package/types/anguless-angulux-avatar.d.ts +1 -1
  133. package/types/anguless-angulux-avatargroup.d.ts +1 -1
  134. package/types/anguless-angulux-badge.d.ts +1 -1
  135. package/types/anguless-angulux-base.d.ts +1 -1
  136. package/types/anguless-angulux-basecomponent.d.ts +8 -6
  137. package/types/anguless-angulux-baseeditableholder.d.ts +15 -3
  138. package/types/anguless-angulux-basemodelholder.d.ts +47 -0
  139. package/types/anguless-angulux-bind.d.ts +10 -5
  140. package/types/anguless-angulux-button.d.ts +1 -1
  141. package/types/anguless-angulux-card.d.ts +1 -1
  142. package/types/anguless-angulux-chart.d.ts +1 -1
  143. package/types/anguless-angulux-checkbox.d.ts +1 -1
  144. package/types/anguless-angulux-chip.d.ts +1 -1
  145. package/types/anguless-angulux-colorpicker.d.ts +1 -1
  146. package/types/anguless-angulux-config.d.ts +2 -2
  147. package/types/anguless-angulux-confirmdialog.d.ts +1 -1
  148. package/types/anguless-angulux-datepicker.d.ts +1 -1
  149. package/types/anguless-angulux-dialog.d.ts +1 -1
  150. package/types/anguless-angulux-divider.d.ts +1 -1
  151. package/types/anguless-angulux-drawer.d.ts +1 -1
  152. package/types/anguless-angulux-fileupload.d.ts +1 -1
  153. package/types/anguless-angulux-fluid.d.ts +1 -1
  154. package/types/anguless-angulux-iconfield.d.ts +1 -1
  155. package/types/anguless-angulux-icons-baseicon.d.ts +1 -1
  156. package/types/anguless-angulux-iftalabel.d.ts +1 -1
  157. package/types/anguless-angulux-inputicon.d.ts +1 -1
  158. package/types/anguless-angulux-inputnumber.d.ts +1 -1
  159. package/types/anguless-angulux-inputtext.d.ts +4 -2
  160. package/types/anguless-angulux-menu.d.ts +1 -1
  161. package/types/anguless-angulux-message.d.ts +1 -1
  162. package/types/anguless-angulux-motion.d.ts +1 -1
  163. package/types/anguless-angulux-multiselect.d.ts +1 -1
  164. package/types/anguless-angulux-overlay.d.ts +1 -1
  165. package/types/anguless-angulux-paginator.d.ts +1 -1
  166. package/types/anguless-angulux-password.d.ts +1 -1
  167. package/types/anguless-angulux-popover.d.ts +1 -1
  168. package/types/anguless-angulux-progressbar.d.ts +1 -1
  169. package/types/anguless-angulux-progressspinner.d.ts +1 -1
  170. package/types/anguless-angulux-radiobutton.d.ts +2 -2
  171. package/types/anguless-angulux-ripple.d.ts +1 -1
  172. package/types/anguless-angulux-scroller.d.ts +1 -1
  173. package/types/anguless-angulux-select.d.ts +1 -1
  174. package/types/anguless-angulux-selectbutton.d.ts +1 -1
  175. package/types/anguless-angulux-skeleton.d.ts +1 -1
  176. package/types/anguless-angulux-splitbutton.d.ts +1 -1
  177. package/types/anguless-angulux-table.d.ts +2 -2
  178. package/types/anguless-angulux-tabs.d.ts +5 -5
  179. package/types/anguless-angulux-tag.d.ts +1 -1
  180. package/types/anguless-angulux-textarea.d.ts +4 -2
  181. package/types/anguless-angulux-tieredmenu.d.ts +1 -1
  182. package/types/anguless-angulux-timeline.d.ts +1 -1
  183. package/types/anguless-angulux-toast.d.ts +1 -1
  184. package/types/anguless-angulux-togglebutton.d.ts +1 -1
  185. package/types/anguless-angulux-toggleswitch.d.ts +1 -1
  186. package/types/anguless-angulux-tooltip.d.ts +1 -1
  187. package/types/anguless-angulux-treetable.d.ts +2 -2
  188. package/types/anguless-angulux-usestyle.d.ts +1 -1
@@ -63,10 +63,10 @@ class ToastStyle extends BaseStyle {
63
63
  style = style;
64
64
  classes = classes;
65
65
  inlineStyles = inlineStyles;
66
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
67
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastStyle });
66
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
67
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastStyle });
68
68
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastStyle, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastStyle, decorators: [{
70
70
  type: Injectable
71
71
  }] });
72
72
  /**
@@ -212,8 +212,8 @@ class ToastItem extends BaseComponent {
212
212
  [this.message?.severity]: this.message?.severity
213
213
  });
214
214
  }
215
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
216
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: ToastItem, isStandalone: true, selector: "agl-toastItem", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: false, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, template: { classPropertyName: "template", publicName: "template", isSignal: false, isRequired: false, transformFunction: null }, headlessTemplate: { classPropertyName: "headlessTemplate", publicName: "headlessTemplate", isSignal: false, isRequired: false, transformFunction: null }, showTransformOptions: { classPropertyName: "showTransformOptions", publicName: "showTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransformOptions: { classPropertyName: "hideTransformOptions", publicName: "hideTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, clearAll: { classPropertyName: "clearAll", publicName: "clearAll", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAnimationStart: "onAnimationStart", onAnimationEnd: "onAnimationEnd", onClose: "onClose" }, providers: [ToastStyle], usesInheritance: true, ngImport: i0, template: `
215
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
216
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.2", type: ToastItem, isStandalone: true, selector: "agl-toastItem", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: false, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, template: { classPropertyName: "template", publicName: "template", isSignal: false, isRequired: false, transformFunction: null }, headlessTemplate: { classPropertyName: "headlessTemplate", publicName: "headlessTemplate", isSignal: false, isRequired: false, transformFunction: null }, showTransformOptions: { classPropertyName: "showTransformOptions", publicName: "showTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransformOptions: { classPropertyName: "hideTransformOptions", publicName: "hideTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, clearAll: { classPropertyName: "clearAll", publicName: "clearAll", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onAnimationStart: "onAnimationStart", onAnimationEnd: "onAnimationEnd", onClose: "onClose" }, providers: [ToastStyle], usesInheritance: true, ngImport: i0, template: `
217
217
  <div
218
218
  #container
219
219
  [aglMotion]="visible()"
@@ -291,7 +291,7 @@ class ToastItem extends BaseComponent {
291
291
  </div>
292
292
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: ExclamationTriangleIcon, selector: "[data-p-icon=\"exclamation-triangle\"]" }, { kind: "component", type: InfoCircleIcon, selector: "[data-p-icon=\"info-circle\"]" }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: TimesCircleIcon, selector: "[data-p-icon=\"times-circle\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i2.MotionDirective, selector: "[aglMotion]", inputs: ["aglMotion", "aglMotionName", "aglMotionType", "aglMotionSafe", "aglMotionDisabled", "aglMotionAppear", "aglMotionEnter", "aglMotionLeave", "aglMotionDuration", "aglMotionHideStrategy", "aglMotionEnterFromClass", "aglMotionEnterToClass", "aglMotionEnterActiveClass", "aglMotionLeaveFromClass", "aglMotionLeaveToClass", "aglMotionLeaveActiveClass", "aglMotionOptions"], outputs: ["aglMotionOnBeforeEnter", "aglMotionOnEnter", "aglMotionOnAfterEnter", "aglMotionOnEnterCancelled", "aglMotionOnBeforeLeave", "aglMotionOnLeave", "aglMotionOnAfterLeave", "aglMotionOnLeaveCancelled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
293
293
  }
294
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastItem, decorators: [{
294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastItem, decorators: [{
295
295
  type: Component,
296
296
  args: [{
297
297
  selector: 'agl-toastItem',
@@ -661,8 +661,8 @@ class Toast extends BaseComponent {
661
661
  [this.position]: this.position
662
662
  });
663
663
  }
664
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Toast, deps: [], target: i0.ɵɵFactoryTarget.Component });
665
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Toast, isStandalone: true, selector: "agl-toast", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: false, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: false, isRequired: false, transformFunction: null }, preventOpenDuplicates: { classPropertyName: "preventOpenDuplicates", publicName: "preventOpenDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showTransformOptions: { classPropertyName: "showTransformOptions", publicName: "showTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransformOptions: { classPropertyName: "hideTransformOptions", publicName: "hideTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, breakpoints: { classPropertyName: "breakpoints", publicName: "breakpoints", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.data-p": "dataP" } }, providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }], queries: [{ propertyName: "template", first: true, predicate: ["message"], descendants: true, isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i3.Bind }], ngImport: i0, template: `
664
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Toast, deps: [], target: i0.ɵɵFactoryTarget.Component });
665
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.2", type: Toast, isStandalone: true, selector: "agl-toast", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: false, isRequired: false, transformFunction: null }, autoZIndex: { classPropertyName: "autoZIndex", publicName: "autoZIndex", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, baseZIndex: { classPropertyName: "baseZIndex", publicName: "baseZIndex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: false, isRequired: false, transformFunction: null }, preventOpenDuplicates: { classPropertyName: "preventOpenDuplicates", publicName: "preventOpenDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, preventDuplicates: { classPropertyName: "preventDuplicates", publicName: "preventDuplicates", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showTransformOptions: { classPropertyName: "showTransformOptions", publicName: "showTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransformOptions: { classPropertyName: "hideTransformOptions", publicName: "hideTransformOptions", isSignal: false, isRequired: false, transformFunction: null }, showTransitionOptions: { classPropertyName: "showTransitionOptions", publicName: "showTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, hideTransitionOptions: { classPropertyName: "hideTransitionOptions", publicName: "hideTransitionOptions", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, breakpoints: { classPropertyName: "breakpoints", publicName: "breakpoints", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { onClose: "onClose" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.data-p": "dataP" } }, providers: [ToastStyle, { provide: TOAST_INSTANCE, useExisting: Toast }, { provide: PARENT_INSTANCE, useExisting: Toast }], queries: [{ propertyName: "template", first: true, predicate: ["message"], descendants: true, isSignal: true }, { propertyName: "headlessTemplate", first: true, predicate: ["headless"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i3.Bind }], ngImport: i0, template: `
666
666
  <agl-toastItem
667
667
  *ngFor="let msg of messages; let i = index"
668
668
  [message]="msg"
@@ -680,7 +680,7 @@ class Toast extends BaseComponent {
680
680
  ></agl-toastItem>
681
681
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ToastItem, selector: "agl-toastItem", inputs: ["message", "index", "life", "template", "headlessTemplate", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "motionOptions", "clearAll"], outputs: ["onAnimationStart", "onAnimationEnd", "onClose"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
682
682
  }
683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Toast, decorators: [{
683
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Toast, decorators: [{
684
684
  type: Component,
685
685
  args: [{
686
686
  selector: 'agl-toast',
@@ -748,11 +748,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
748
748
  type: Output
749
749
  }], template: [{ type: i0.ContentChild, args: ['message', { isSignal: true }] }], headlessTemplate: [{ type: i0.ContentChild, args: ['headless', { isSignal: true }] }] } });
750
750
  class ToastModule {
751
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
752
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ToastModule, imports: [Toast, SharedModule], exports: [Toast, SharedModule] });
753
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastModule, imports: [Toast, SharedModule, SharedModule] });
751
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
752
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ToastModule, imports: [Toast, SharedModule], exports: [Toast, SharedModule] });
753
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastModule, imports: [Toast, SharedModule, SharedModule] });
754
754
  }
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToastModule, decorators: [{
755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToastModule, decorators: [{
756
756
  type: NgModule,
757
757
  args: [{
758
758
  imports: [Toast, SharedModule],
@@ -48,10 +48,10 @@ class ToggleButtonStyle extends BaseStyle {
48
48
  name = 'togglebutton';
49
49
  style = style;
50
50
  classes = classes;
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
52
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonStyle });
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
52
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonStyle });
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonStyle, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonStyle, decorators: [{
55
55
  type: Injectable
56
56
  }] });
57
57
  /**
@@ -256,8 +256,8 @@ class ToggleButton extends BaseEditableHolder {
256
256
  [this.size]: this.size
257
257
  });
258
258
  }
259
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButton, deps: null, target: i0.ɵɵFactoryTarget.Component });
260
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: ToggleButton, isStandalone: true, selector: "agl-toggleButton, agl-togglebutton, agl-toggle-button", inputs: { onLabel: { classPropertyName: "onLabel", publicName: "onLabel", isSignal: false, isRequired: false, transformFunction: null }, offLabel: { classPropertyName: "offLabel", publicName: "offLabel", isSignal: false, isRequired: false, transformFunction: null }, onIcon: { classPropertyName: "onIcon", publicName: "onIcon", isSignal: false, isRequired: false, transformFunction: null }, offIcon: { classPropertyName: "offIcon", publicName: "offIcon", 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 }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, allowEmpty: { classPropertyName: "allowEmpty", publicName: "allowEmpty", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange" }, host: { listeners: { "keydown": "onKeyDown($event)", "click": "toggle($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.aria-labelledby": "ariaLabelledBy", "attr.aria-label": "ariaLabel", "attr.aria-pressed": "checked ? \"true\" : \"false\"", "attr.aria-invalid": "$invalid() || undefined", "attr.role": "\"button\"", "attr.tabindex": "tabindex !== undefined ? tabindex : (!$disabled() ? 0 : -1)", "attr.data-pc-name": "'togglebutton'", "attr.data-p-checked": "active", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [TOGGLEBUTTON_VALUE_ACCESSOR, ToggleButtonStyle, { provide: TOGGLEBUTTON_INSTANCE, useExisting: ToggleButton }, { provide: PARENT_INSTANCE, useExisting: ToggleButton }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Ripple }, { directive: i2.Bind }], ngImport: i0, template: `<span [class]="cx('content')" [aglBind]="ptm('content')" [attr.data-p]="dataP">
259
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButton, deps: null, target: i0.ɵɵFactoryTarget.Component });
260
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.2", type: ToggleButton, isStandalone: true, selector: "agl-toggleButton, agl-togglebutton, agl-toggle-button", inputs: { onLabel: { classPropertyName: "onLabel", publicName: "onLabel", isSignal: false, isRequired: false, transformFunction: null }, offLabel: { classPropertyName: "offLabel", publicName: "offLabel", isSignal: false, isRequired: false, transformFunction: null }, onIcon: { classPropertyName: "onIcon", publicName: "onIcon", isSignal: false, isRequired: false, transformFunction: null }, offIcon: { classPropertyName: "offIcon", publicName: "offIcon", 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 }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, allowEmpty: { classPropertyName: "allowEmpty", publicName: "allowEmpty", isSignal: false, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange" }, host: { listeners: { "keydown": "onKeyDown($event)", "click": "toggle($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "attr.aria-labelledby": "ariaLabelledBy", "attr.aria-label": "ariaLabel", "attr.aria-pressed": "checked ? \"true\" : \"false\"", "attr.aria-invalid": "$invalid() || undefined", "attr.role": "\"button\"", "attr.tabindex": "tabindex !== undefined ? tabindex : (!$disabled() ? 0 : -1)", "attr.data-pc-name": "'togglebutton'", "attr.data-p-checked": "active", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [TOGGLEBUTTON_VALUE_ACCESSOR, ToggleButtonStyle, { provide: TOGGLEBUTTON_INSTANCE, useExisting: ToggleButton }, { provide: PARENT_INSTANCE, useExisting: ToggleButton }], queries: [{ propertyName: "iconTemplate", first: true, predicate: ["icon"], isSignal: true }, { propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Ripple }, { directive: i2.Bind }], ngImport: i0, template: `<span [class]="cx('content')" [aglBind]="ptm('content')" [attr.data-p]="dataP">
261
261
  <ng-container *ngTemplateOutlet="contentTemplate(); context: { $implicit: checked }"></ng-container>
262
262
  @if (!contentTemplate()) {
263
263
  @if (!iconTemplate()) {
@@ -271,7 +271,7 @@ class ToggleButton extends BaseEditableHolder {
271
271
  }
272
272
  </span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i2.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButton, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButton, decorators: [{
275
275
  type: Component,
276
276
  args: [{
277
277
  selector: 'agl-toggleButton, agl-togglebutton, agl-toggle-button',
@@ -345,11 +345,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
345
345
  type: Output
346
346
  }], iconTemplate: [{ type: i0.ContentChild, args: ['icon', { ...{ descendants: false }, isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }] } });
347
347
  class ToggleButtonModule {
348
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
349
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonModule, imports: [ToggleButton, SharedModule], exports: [ToggleButton, SharedModule] });
350
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonModule, imports: [ToggleButton, SharedModule, SharedModule] });
348
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
349
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonModule, imports: [ToggleButton, SharedModule], exports: [ToggleButton, SharedModule] });
350
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonModule, imports: [ToggleButton, SharedModule, SharedModule] });
351
351
  }
352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleButtonModule, decorators: [{
352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleButtonModule, decorators: [{
353
353
  type: NgModule,
354
354
  args: [{
355
355
  imports: [ToggleButton, SharedModule],
@@ -42,10 +42,10 @@ class ToggleSwitchStyle extends BaseStyle {
42
42
  style = style;
43
43
  classes = classes;
44
44
  inlineStyles = inlineStyles;
45
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
46
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchStyle });
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
46
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchStyle });
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchStyle, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchStyle, decorators: [{
49
49
  type: Injectable
50
50
  }] });
51
51
  /**
@@ -198,8 +198,8 @@ class ToggleSwitch extends BaseEditableHolder {
198
198
  invalid: this.$invalid()
199
199
  });
200
200
  }
201
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
202
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: ToggleSwitch, isStandalone: true, selector: "agl-toggleswitch, agl-toggleSwitch, agl-toggle-switch", inputs: { styleClass: { classPropertyName: "styleClass", publicName: "styleClass", 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 }, readonly: { classPropertyName: "readonly", publicName: "readonly", 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 }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute } }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.data-p-checked": "checked()", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [TOGGLESWITCH_VALUE_ACCESSOR, ToggleSwitchStyle, { provide: TOGGLESWITCH_INSTANCE, useExisting: ToggleSwitch }, { provide: PARENT_INSTANCE, useExisting: ToggleSwitch }], queries: [{ propertyName: "handleTemplate", first: true, predicate: ["handle"], isSignal: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
201
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
202
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.2", type: ToggleSwitch, isStandalone: true, selector: "agl-toggleswitch, agl-toggleSwitch, agl-toggle-switch", inputs: { styleClass: { classPropertyName: "styleClass", publicName: "styleClass", 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 }, readonly: { classPropertyName: "readonly", publicName: "readonly", 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 }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute } }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.data-p-checked": "checked()", "attr.data-p-disabled": "$disabled()", "attr.data-p": "dataP" } }, providers: [TOGGLESWITCH_VALUE_ACCESSOR, ToggleSwitchStyle, { provide: TOGGLESWITCH_INSTANCE, useExisting: ToggleSwitch }, { provide: PARENT_INSTANCE, useExisting: ToggleSwitch }], queries: [{ propertyName: "handleTemplate", first: true, predicate: ["handle"], isSignal: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
203
203
  <input
204
204
  #input
205
205
  [attr.id]="inputId"
@@ -207,7 +207,7 @@ class ToggleSwitch extends BaseEditableHolder {
207
207
  role="switch"
208
208
  [class]="cx('input')"
209
209
  [checked]="checked()"
210
- [attr.required]="required() ? '' : undefined"
210
+ [attr.required]="$required() ? '' : undefined"
211
211
  [attr.disabled]="$disabled() ? '' : undefined"
212
212
  [attr.aria-invalid]="$invalid() || undefined"
213
213
  [attr.aria-checked]="checked()"
@@ -229,7 +229,7 @@ class ToggleSwitch extends BaseEditableHolder {
229
229
  </div>
230
230
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { 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 });
231
231
  }
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitch, decorators: [{
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitch, decorators: [{
233
233
  type: Component,
234
234
  args: [{
235
235
  selector: 'agl-toggleswitch, agl-toggleSwitch, agl-toggle-switch',
@@ -243,7 +243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
243
243
  role="switch"
244
244
  [class]="cx('input')"
245
245
  [checked]="checked()"
246
- [attr.required]="required() ? '' : undefined"
246
+ [attr.required]="$required() ? '' : undefined"
247
247
  [attr.disabled]="$disabled() ? '' : undefined"
248
248
  [attr.aria-invalid]="$invalid() || undefined"
249
249
  [attr.aria-checked]="checked()"
@@ -307,11 +307,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
307
307
  args: ['click', ['$event']]
308
308
  }] } });
309
309
  class ToggleSwitchModule {
310
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
311
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchModule, imports: [ToggleSwitch, SharedModule], exports: [ToggleSwitch, SharedModule] });
312
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchModule, imports: [ToggleSwitch, SharedModule, SharedModule] });
310
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
311
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchModule, imports: [ToggleSwitch, SharedModule], exports: [ToggleSwitch, SharedModule] });
312
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchModule, imports: [ToggleSwitch, SharedModule, SharedModule] });
313
313
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ToggleSwitchModule, decorators: [{
314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: ToggleSwitchModule, decorators: [{
315
315
  type: NgModule,
316
316
  args: [{
317
317
  imports: [ToggleSwitch, SharedModule],
@@ -1 +1 @@
1
- {"version":3,"file":"anguless-angulux-toggleswitch.mjs","sources":["../../src/toggleswitch/style/toggleswitchstyle.ts","../../src/toggleswitch/toggleswitch.ts","../../src/toggleswitch/anguless-angulux-toggleswitch.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as toggleswitch_style } from '@anguless/angulux-styles/toggleswitch';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst style = /*css*/ `\n ${toggleswitch_style}\n\n agl-toggleswitch.ng-invalid.ng-dirty > .p-toggleswitch-slider {\n border-color: dt('toggleswitch.invalid.border.color');\n }\n`;\n\nconst inlineStyles = {\n root: { position: 'relative' }\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-toggleswitch p-component',\n {\n 'p-toggleswitch p-component': true,\n 'p-toggleswitch-checked': instance.checked(),\n 'p-disabled': instance.$disabled(),\n 'p-invalid': instance.$invalid()\n }\n ],\n\n input: 'p-toggleswitch-input',\n slider: 'p-toggleswitch-slider',\n handle: 'p-toggleswitch-handle'\n};\n\n@Injectable()\nexport class ToggleSwitchStyle extends BaseStyle {\n name = 'toggleswitch';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * ToggleSwitch is used to select a boolean value.\n *\n * @module toggleswitchstyle\n *\n */\nexport enum ToggleSwitchClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toggleswitch',\n /**\n * Class name of the input element\n */\n input = 'p-toggleswitch-input',\n /**\n * Class name of the slider element\n */\n slider = 'p-toggleswitch-slider'\n}\n\nexport interface ToggleSwitchStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n contentChild, ElementRef,\n EventEmitter,\n forwardRef,\n HostListener,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n numberAttribute,\n Output,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { SharedModule } from '@anguless/angulux/api';\nimport { AutoFocus } from '@anguless/angulux/autofocus';\nimport { PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { BaseEditableHolder } from '@anguless/angulux/baseeditableholder';\nimport { Bind, BindModule } from '@anguless/angulux/bind';\nimport { ToggleSwitchChangeEvent, ToggleSwitchHandleTemplateContext, ToggleSwitchPassThrough } from '@anguless/angulux/types/toggleswitch';\nimport { ToggleSwitchStyle } from './style/toggleswitchstyle';\n\nconst TOGGLESWITCH_INSTANCE = new InjectionToken<ToggleSwitch>('TOGGLESWITCH_INSTANCE');\n\nexport const TOGGLESWITCH_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ToggleSwitch),\n multi: true\n};\n/**\n * ToggleSwitch is used to select a boolean value.\n * @group Components\n */\n@Component({\n selector: 'agl-toggleswitch, agl-toggleSwitch, agl-toggle-switch',\n standalone: true,\n imports: [CommonModule, AutoFocus, SharedModule, BindModule],\n template: `\n <input\n #input\n [attr.id]=\"inputId\"\n type=\"checkbox\"\n role=\"switch\"\n [class]=\"cx('input')\"\n [checked]=\"checked()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [attr.aria-invalid]=\"$invalid() || undefined\"\n [attr.aria-checked]=\"checked()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.name]=\"name()\"\n [attr.tabindex]=\"tabindex\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [aglAutoFocus]=\"autofocus\"\n [aglBind]=\"ptm('input')\"\n />\n <div [class]=\"cx('slider')\" [aglBind]=\"ptm('slider')\" [attr.data-p]=\"dataP\">\n <div [class]=\"cx('handle')\" [aglBind]=\"ptm('handle')\" [attr.data-p]=\"dataP\">\n @if (handleTemplate()) {\n <ng-container *ngTemplateOutlet=\"handleTemplate(); context: { checked: checked() }\" />\n }\n </div>\n </div>\n `,\n providers: [TOGGLESWITCH_VALUE_ACCESSOR, ToggleSwitchStyle, { provide: TOGGLESWITCH_INSTANCE, useExisting: ToggleSwitch }, { provide: PARENT_INSTANCE, useExisting: ToggleSwitch }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p-checked]': 'checked()',\n '[attr.data-p-disabled]': '$disabled()',\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class ToggleSwitch extends BaseEditableHolder<ToggleSwitchPassThrough> {\n componentName = 'ToggleSwitch';\n\n $pcToggleSwitch: ToggleSwitch | undefined = inject(TOGGLESWITCH_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number | undefined;\n /**\n * Identifier of the input element.\n * @group Props\n */\n @Input() inputId: string | undefined;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean | undefined;\n /**\n * Value in checked state.\n * @group Props\n */\n @Input() trueValue: any = true;\n /**\n * Value in unchecked state.\n * @group Props\n */\n @Input() falseValue: any = false;\n /**\n * Used to define a string that autocomplete attribute the current element.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Specifies the size of the component.\n * @defaultValue undefined\n * @group Props\n */\n size = input<'large' | 'small' | undefined>();\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Callback to invoke when the on value change.\n * @param {ToggleSwitchChangeEvent} event - Custom change event.\n * @group Emits\n */\n @Output() onChange: EventEmitter<ToggleSwitchChangeEvent> = new EventEmitter<ToggleSwitchChangeEvent>();\n\n @ViewChild('input') input!: ElementRef;\n /**\n * Custom handle template.\n * @param {ToggleSwitchHandleTemplateContext} context - handle context.\n * @see {@link ToggleSwitchHandleTemplateContext}\n * @group Templates\n */\n handleTemplate = contentChild<TemplateRef<ToggleSwitchHandleTemplateContext>>('handle', { descendants: false });\n\n focused: boolean = false;\n\n _componentStyle = inject(ToggleSwitchStyle);\n\n @HostListener('click', ['$event'])\n onHostClick(event: MouseEvent) {\n this.onClick(event);\n }\n\n onClick(event: Event) {\n if (!this.$disabled() && !this.readonly) {\n this.writeModelValue(this.checked() ? this.falseValue : this.trueValue);\n\n this.onModelChange(this.modelValue());\n this.onChange.emit({\n originalEvent: event,\n checked: this.modelValue()\n });\n\n this.input.nativeElement.focus();\n }\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n checked() {\n return this.modelValue() === this.trueValue;\n }\n\n /**\n * @override\n *\n * @see {@link BaseEditableHolder.writeControlValue}\n * Writes the value to the control.\n */\n writeControlValue(value: any, setModelValue: (value: any) => void): void {\n setModelValue(value);\n this.cd.markForCheck();\n }\n\n get dataP() {\n return this.cn({\n checked: this.checked(),\n disabled: this.$disabled(),\n invalid: this.$invalid()\n });\n }\n}\n\n@NgModule({\n imports: [ToggleSwitch, SharedModule],\n exports: [ToggleSwitch, SharedModule]\n})\nexport class ToggleSwitchModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["toggleswitch_style"],"mappings":";;;;;;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;MAChBA,OAAkB;;;;;CAKvB;AAED,MAAM,YAAY,GAAG;AACjB,IAAA,IAAI,EAAE,EAAE,QAAQ,EAAE,UAAU;CAC/B;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,4BAA4B;AAC5B,QAAA;AACI,YAAA,4BAA4B,EAAE,IAAI;AAClC,YAAA,wBAAwB,EAAE,QAAQ,CAAC,OAAO,EAAE;AAC5C,YAAA,YAAY,EAAE,QAAQ,CAAC,SAAS,EAAE;AAClC,YAAA,WAAW,EAAE,QAAQ,CAAC,QAAQ;AACjC;AACJ,KAAA;AAED,IAAA,KAAK,EAAE,sBAAsB;AAC7B,IAAA,MAAM,EAAE,uBAAuB;AAC/B,IAAA,MAAM,EAAE;CACX;AAGK,MAAO,iBAAkB,SAAQ,SAAS,CAAA;IAC5C,IAAI,GAAG,cAAc;IAErB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;IAEjB,YAAY,GAAG,YAAY;uGAPlB,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAjB,iBAAiB,EAA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AAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY;AACvC,iBAAA;;;AC/ND;;AAEG;;;;"}
1
+ {"version":3,"file":"anguless-angulux-toggleswitch.mjs","sources":["../../src/toggleswitch/style/toggleswitchstyle.ts","../../src/toggleswitch/toggleswitch.ts","../../src/toggleswitch/anguless-angulux-toggleswitch.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as toggleswitch_style } from '@anguless/angulux-styles/toggleswitch';\nimport { BaseStyle } from '@anguless/angulux/base';\n\nconst style = /*css*/ `\n ${toggleswitch_style}\n\n agl-toggleswitch.ng-invalid.ng-dirty > .p-toggleswitch-slider {\n border-color: dt('toggleswitch.invalid.border.color');\n }\n`;\n\nconst inlineStyles = {\n root: { position: 'relative' }\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-toggleswitch p-component',\n {\n 'p-toggleswitch p-component': true,\n 'p-toggleswitch-checked': instance.checked(),\n 'p-disabled': instance.$disabled(),\n 'p-invalid': instance.$invalid()\n }\n ],\n\n input: 'p-toggleswitch-input',\n slider: 'p-toggleswitch-slider',\n handle: 'p-toggleswitch-handle'\n};\n\n@Injectable()\nexport class ToggleSwitchStyle extends BaseStyle {\n name = 'toggleswitch';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * ToggleSwitch is used to select a boolean value.\n *\n * @module toggleswitchstyle\n *\n */\nexport enum ToggleSwitchClasses {\n /**\n * Class name of the root element\n */\n root = 'p-toggleswitch',\n /**\n * Class name of the input element\n */\n input = 'p-toggleswitch-input',\n /**\n * Class name of the slider element\n */\n slider = 'p-toggleswitch-slider'\n}\n\nexport interface ToggleSwitchStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n contentChild, ElementRef,\n EventEmitter,\n forwardRef,\n HostListener,\n inject,\n InjectionToken,\n input,\n Input,\n NgModule,\n numberAttribute,\n Output,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { SharedModule } from '@anguless/angulux/api';\nimport { AutoFocus } from '@anguless/angulux/autofocus';\nimport { PARENT_INSTANCE } from '@anguless/angulux/basecomponent';\nimport { BaseEditableHolder } from '@anguless/angulux/baseeditableholder';\nimport { Bind, BindModule } from '@anguless/angulux/bind';\nimport { ToggleSwitchChangeEvent, ToggleSwitchHandleTemplateContext, ToggleSwitchPassThrough } from '@anguless/angulux/types/toggleswitch';\nimport { ToggleSwitchStyle } from './style/toggleswitchstyle';\n\nconst TOGGLESWITCH_INSTANCE = new InjectionToken<ToggleSwitch>('TOGGLESWITCH_INSTANCE');\n\nexport const TOGGLESWITCH_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ToggleSwitch),\n multi: true\n};\n/**\n * ToggleSwitch is used to select a boolean value.\n * @group Components\n */\n@Component({\n selector: 'agl-toggleswitch, agl-toggleSwitch, agl-toggle-switch',\n standalone: true,\n imports: [CommonModule, AutoFocus, SharedModule, BindModule],\n template: `\n <input\n #input\n [attr.id]=\"inputId\"\n type=\"checkbox\"\n role=\"switch\"\n [class]=\"cx('input')\"\n [checked]=\"checked()\"\n [attr.required]=\"$required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [attr.aria-invalid]=\"$invalid() || undefined\"\n [attr.aria-checked]=\"checked()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.name]=\"name()\"\n [attr.tabindex]=\"tabindex\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [aglAutoFocus]=\"autofocus\"\n [aglBind]=\"ptm('input')\"\n />\n <div [class]=\"cx('slider')\" [aglBind]=\"ptm('slider')\" [attr.data-p]=\"dataP\">\n <div [class]=\"cx('handle')\" [aglBind]=\"ptm('handle')\" [attr.data-p]=\"dataP\">\n @if (handleTemplate()) {\n <ng-container *ngTemplateOutlet=\"handleTemplate(); context: { checked: checked() }\" />\n }\n </div>\n </div>\n `,\n providers: [TOGGLESWITCH_VALUE_ACCESSOR, ToggleSwitchStyle, { provide: TOGGLESWITCH_INSTANCE, useExisting: ToggleSwitch }, { provide: PARENT_INSTANCE, useExisting: ToggleSwitch }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.data-p-checked]': 'checked()',\n '[attr.data-p-disabled]': '$disabled()',\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class ToggleSwitch extends BaseEditableHolder<ToggleSwitchPassThrough> {\n componentName = 'ToggleSwitch';\n\n $pcToggleSwitch: ToggleSwitch | undefined = inject(TOGGLESWITCH_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number | undefined;\n /**\n * Identifier of the input element.\n * @group Props\n */\n @Input() inputId: string | undefined;\n /**\n * When present, it specifies that the component cannot be edited.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) readonly: boolean | undefined;\n /**\n * Value in checked state.\n * @group Props\n */\n @Input() trueValue: any = true;\n /**\n * Value in unchecked state.\n * @group Props\n */\n @Input() falseValue: any = false;\n /**\n * Used to define a string that autocomplete attribute the current element.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Specifies the size of the component.\n * @defaultValue undefined\n * @group Props\n */\n size = input<'large' | 'small' | undefined>();\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Callback to invoke when the on value change.\n * @param {ToggleSwitchChangeEvent} event - Custom change event.\n * @group Emits\n */\n @Output() onChange: EventEmitter<ToggleSwitchChangeEvent> = new EventEmitter<ToggleSwitchChangeEvent>();\n\n @ViewChild('input') input!: ElementRef;\n /**\n * Custom handle template.\n * @param {ToggleSwitchHandleTemplateContext} context - handle context.\n * @see {@link ToggleSwitchHandleTemplateContext}\n * @group Templates\n */\n handleTemplate = contentChild<TemplateRef<ToggleSwitchHandleTemplateContext>>('handle', { descendants: false });\n\n focused: boolean = false;\n\n _componentStyle = inject(ToggleSwitchStyle);\n\n @HostListener('click', ['$event'])\n onHostClick(event: MouseEvent) {\n this.onClick(event);\n }\n\n onClick(event: Event) {\n if (!this.$disabled() && !this.readonly) {\n this.writeModelValue(this.checked() ? this.falseValue : this.trueValue);\n\n this.onModelChange(this.modelValue());\n this.onChange.emit({\n originalEvent: event,\n checked: this.modelValue()\n });\n\n this.input.nativeElement.focus();\n }\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n checked() {\n return this.modelValue() === this.trueValue;\n }\n\n /**\n * @override\n *\n * @see {@link BaseEditableHolder.writeControlValue}\n * Writes the value to the control.\n */\n writeControlValue(value: any, setModelValue: (value: any) => void): void {\n setModelValue(value);\n this.cd.markForCheck();\n }\n\n get dataP() {\n return this.cn({\n checked: this.checked(),\n disabled: this.$disabled(),\n invalid: this.$invalid()\n });\n }\n}\n\n@NgModule({\n imports: [ToggleSwitch, SharedModule],\n exports: [ToggleSwitch, SharedModule]\n})\nexport class ToggleSwitchModule {}\n","/**\n * Generated bundle index. Do not edit.\n */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,EAAA,EAAA,GAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA;sBAM7G,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;MAwDxB,kBAAkB,CAAA;uGAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YA3IlB,YAAY,EAwIG,YAAY,CAAA,EAAA,OAAA,EAAA,CAxI3B,YAAY,EAyIG,YAAY,CAAA,EAAA,CAAA;AAE3B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAE3B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY;AACvC,iBAAA;;;AC/ND;;AAEG;;;;"}
@@ -18,10 +18,10 @@ class TooltipStyle extends BaseStyle {
18
18
  name = 'tooltip';
19
19
  style = style;
20
20
  classes = classes;
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
22
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipStyle });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
22
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipStyle });
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipStyle, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipStyle, decorators: [{
25
25
  type: Injectable
26
26
  }] });
27
27
  /**
@@ -765,10 +765,10 @@ class Tooltip extends BaseComponent {
765
765
  this.documentEscapeListener();
766
766
  }
767
767
  }
768
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Tooltip, deps: [{ token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
769
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: Tooltip, isStandalone: true, selector: "[aglTooltip]", inputs: { tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: false, isRequired: false, transformFunction: null }, positionStyle: { classPropertyName: "positionStyle", publicName: "positionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, tooltipZIndex: { classPropertyName: "tooltipZIndex", publicName: "tooltipZIndex", isSignal: false, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: false, isRequired: false, transformFunction: numberAttribute }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: false, isRequired: false, transformFunction: numberAttribute }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: false, isRequired: false, transformFunction: numberAttribute }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, content: { classPropertyName: "content", publicName: "aglTooltip", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: false, isRequired: false, transformFunction: null }, tooltipOptions: { classPropertyName: "tooltipOptions", publicName: "tooltipOptions", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, ptTooltip: { classPropertyName: "ptTooltip", publicName: "ptTooltip", isSignal: true, isRequired: false, transformFunction: null }, pTooltipPT: { classPropertyName: "pTooltipPT", publicName: "pTooltipPT", isSignal: true, isRequired: false, transformFunction: null }, pTooltipUnstyled: { classPropertyName: "pTooltipUnstyled", publicName: "pTooltipUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TooltipStyle, { provide: TOOLTIP_INSTANCE, useExisting: Tooltip }, { provide: PARENT_INSTANCE, useExisting: Tooltip }], usesInheritance: true, ngImport: i0 });
768
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Tooltip, deps: [{ token: i0.NgZone }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
769
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.2.2", type: Tooltip, isStandalone: true, selector: "[aglTooltip]", inputs: { tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipEvent: { classPropertyName: "tooltipEvent", publicName: "tooltipEvent", isSignal: false, isRequired: false, transformFunction: null }, positionStyle: { classPropertyName: "positionStyle", publicName: "positionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, tooltipZIndex: { classPropertyName: "tooltipZIndex", publicName: "tooltipZIndex", isSignal: false, isRequired: false, transformFunction: null }, escape: { classPropertyName: "escape", publicName: "escape", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: false, isRequired: false, transformFunction: numberAttribute }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: false, isRequired: false, transformFunction: numberAttribute }, life: { classPropertyName: "life", publicName: "life", isSignal: false, isRequired: false, transformFunction: numberAttribute }, positionTop: { classPropertyName: "positionTop", publicName: "positionTop", isSignal: false, isRequired: false, transformFunction: numberAttribute }, positionLeft: { classPropertyName: "positionLeft", publicName: "positionLeft", isSignal: false, isRequired: false, transformFunction: numberAttribute }, autoHide: { classPropertyName: "autoHide", publicName: "autoHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, fitContent: { classPropertyName: "fitContent", publicName: "fitContent", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, hideOnEscape: { classPropertyName: "hideOnEscape", publicName: "hideOnEscape", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showOnEllipsis: { classPropertyName: "showOnEllipsis", publicName: "showOnEllipsis", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, content: { classPropertyName: "content", publicName: "aglTooltip", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "tooltipDisabled", isSignal: false, isRequired: false, transformFunction: null }, tooltipOptions: { classPropertyName: "tooltipOptions", publicName: "tooltipOptions", isSignal: false, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, ptTooltip: { classPropertyName: "ptTooltip", publicName: "ptTooltip", isSignal: true, isRequired: false, transformFunction: null }, pTooltipPT: { classPropertyName: "pTooltipPT", publicName: "pTooltipPT", isSignal: true, isRequired: false, transformFunction: null }, pTooltipUnstyled: { classPropertyName: "pTooltipUnstyled", publicName: "pTooltipUnstyled", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TooltipStyle, { provide: TOOLTIP_INSTANCE, useExisting: Tooltip }, { provide: PARENT_INSTANCE, useExisting: Tooltip }], usesInheritance: true, ngImport: i0 });
770
770
  }
771
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Tooltip, decorators: [{
771
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: Tooltip, decorators: [{
772
772
  type: Directive,
773
773
  args: [{
774
774
  selector: '[aglTooltip]',
@@ -825,11 +825,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
825
825
  type: Input
826
826
  }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], ptTooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "ptTooltip", required: false }] }], pTooltipPT: [{ type: i0.Input, args: [{ isSignal: true, alias: "pTooltipPT", required: false }] }], pTooltipUnstyled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pTooltipUnstyled", required: false }] }] } });
827
827
  class TooltipModule {
828
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
829
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: TooltipModule, imports: [Tooltip, BindModule], exports: [Tooltip, BindModule] });
830
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipModule, imports: [BindModule, BindModule] });
828
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
829
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.2", ngImport: i0, type: TooltipModule, imports: [Tooltip, BindModule], exports: [Tooltip, BindModule] });
830
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipModule, imports: [BindModule, BindModule] });
831
831
  }
832
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TooltipModule, decorators: [{
832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImport: i0, type: TooltipModule, decorators: [{
833
833
  type: NgModule,
834
834
  args: [{
835
835
  imports: [Tooltip, BindModule],