@exhaustive-ui/core 22.0.0-alpha.9 → 22.0.0-rc.2

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 (250) hide show
  1. package/fesm2022/exhaustive-ui-core-accordion.mjs +5 -5
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-api.mjs +3 -3
  4. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +25 -14
  6. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-avatar.mjs +2 -2
  8. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-avatargroup.mjs +2 -2
  10. package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-badge.mjs +12 -3
  12. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-basecomponent.mjs +34 -4
  14. package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-baseeditableholder.mjs +4 -2
  16. package/fesm2022/exhaustive-ui-core-baseeditableholder.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-blockui.mjs +9 -2
  18. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +13 -6
  20. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-button.mjs +35 -13
  22. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-card.mjs +2 -6
  24. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-carousel.mjs +9 -4
  26. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +12 -11
  28. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-chart.mjs +2 -2
  30. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-checkbox.mjs +2 -2
  32. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-chip.mjs +2 -2
  34. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +2 -2
  36. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-config.mjs +3 -1
  38. package/fesm2022/exhaustive-ui-core-config.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +65 -26
  40. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +28 -5
  42. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +15 -8
  44. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-dataview.mjs +2 -2
  46. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-datepicker.mjs +188 -95
  48. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-dialog.mjs +31 -13
  50. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-divider.mjs +2 -2
  52. package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-dock.mjs +2 -2
  54. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-dom.mjs +3 -1
  56. package/fesm2022/exhaustive-ui-core-dom.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-drawer.mjs +24 -6
  58. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +9 -5
  60. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-editor.mjs +2 -2
  62. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-fieldset.mjs +4 -4
  64. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-fileupload.mjs +25 -14
  66. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +2 -2
  68. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-focustrap.mjs +0 -2
  70. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-galleria.mjs +5 -5
  72. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-iconfield.mjs +18 -3
  74. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-image.mjs +12 -4
  76. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +2 -2
  78. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-inplace.mjs +3 -3
  80. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +11 -2
  82. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +2 -2
  84. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-inputicon.mjs +2 -2
  86. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-inputmask.mjs +31 -7
  88. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +85 -25
  90. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-inputotp.mjs +9 -3
  92. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-inputtext.mjs +8 -9
  94. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +27 -17
  96. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-knob.mjs +2 -2
  98. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-listbox.mjs +17 -6
  100. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-megamenu.mjs +4 -3
  102. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-menu.mjs +15 -4
  104. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-menubar.mjs +64 -15
  106. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-message.mjs +2 -4
  108. package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-metergroup.mjs +7 -7
  110. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-multiselect.mjs +38 -27
  112. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-orderlist.mjs +19 -6
  114. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +2 -2
  116. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-overlay.mjs +6 -4
  118. package/fesm2022/exhaustive-ui-core-overlay.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +4 -4
  120. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-paginator.mjs +12 -5
  122. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-panel.mjs +9 -11
  124. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +43 -15
  126. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-password.mjs +93 -25
  128. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-picklist.mjs +33 -12
  130. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-popover.mjs +27 -8
  132. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-progressbar.mjs +5 -5
  134. package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-progressspinner.mjs +2 -2
  136. package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-radiobutton.mjs +8 -3
  138. package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-rating.mjs +2 -2
  140. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-scroller.mjs +14 -4
  142. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +2 -2
  144. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +11 -3
  146. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-select.mjs +102 -29
  148. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +13 -7
  150. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-skeleton.mjs +2 -2
  152. package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-slider.mjs +18 -5
  154. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-speeddial.mjs +2 -2
  156. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +9 -5
  158. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-splitter.mjs +29 -8
  160. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-stepper.mjs +8 -4
  162. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-steps.mjs +2 -2
  164. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-table.mjs +535 -203
  166. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-tabs.mjs +44 -8
  168. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-tag.mjs +2 -2
  170. package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
  171. package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
  172. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  173. package/fesm2022/exhaustive-ui-core-textarea.mjs +9 -4
  174. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  175. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +31 -16
  176. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  177. package/fesm2022/exhaustive-ui-core-timeline.mjs +2 -2
  178. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  179. package/fesm2022/exhaustive-ui-core-toast.mjs +17 -5
  180. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  181. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +11 -4
  182. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  183. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +2 -4
  184. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  185. package/fesm2022/exhaustive-ui-core-toolbar.mjs +2 -2
  186. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  187. package/fesm2022/exhaustive-ui-core-tooltip.mjs +5 -1
  188. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  189. package/fesm2022/exhaustive-ui-core-tree.mjs +30 -11
  190. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  191. package/fesm2022/exhaustive-ui-core-treeselect.mjs +53 -6
  192. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  193. package/fesm2022/exhaustive-ui-core-treetable.mjs +93 -21
  194. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  195. package/fesm2022/exhaustive-ui-core-usestyle.mjs +49 -0
  196. package/fesm2022/exhaustive-ui-core-usestyle.mjs.map +1 -1
  197. package/fesm2022/exhaustive-ui-core-utils.mjs +2 -1
  198. package/fesm2022/exhaustive-ui-core-utils.mjs.map +1 -1
  199. package/package.json +5 -5
  200. package/schematics/migrate-from-primeflex/index.js +4 -2
  201. package/schematics/migrate-from-primeflex/schema.json +5 -0
  202. package/schematics/utils/package-json.js +17 -0
  203. package/schematics/utils/primeflex.js +45 -10
  204. package/schematics/utils/versions.json +8 -8
  205. package/types/exhaustive-ui-core-api.d.ts +6 -0
  206. package/types/exhaustive-ui-core-autocomplete.d.ts +2 -0
  207. package/types/exhaustive-ui-core-badge.d.ts +1 -0
  208. package/types/exhaustive-ui-core-basecomponent.d.ts +16 -0
  209. package/types/exhaustive-ui-core-breadcrumb.d.ts +7 -1
  210. package/types/exhaustive-ui-core-button.d.ts +12 -1
  211. package/types/exhaustive-ui-core-cascadeselect.d.ts +2 -1
  212. package/types/exhaustive-ui-core-chart.d.ts +2 -2
  213. package/types/exhaustive-ui-core-confirmdialog.d.ts +17 -5
  214. package/types/exhaustive-ui-core-confirmpopup.d.ts +4 -0
  215. package/types/exhaustive-ui-core-datepicker.d.ts +10 -2
  216. package/types/exhaustive-ui-core-dialog.d.ts +2 -0
  217. package/types/exhaustive-ui-core-drawer.d.ts +1 -0
  218. package/types/exhaustive-ui-core-fileupload.d.ts +4 -0
  219. package/types/exhaustive-ui-core-iconfield.d.ts +1 -2
  220. package/types/exhaustive-ui-core-image.d.ts +6 -1
  221. package/types/exhaustive-ui-core-inputnumber.d.ts +8 -0
  222. package/types/exhaustive-ui-core-keyfilter.d.ts +1 -0
  223. package/types/exhaustive-ui-core-megamenu.d.ts +1 -0
  224. package/types/exhaustive-ui-core-menu.d.ts +2 -0
  225. package/types/exhaustive-ui-core-menubar.d.ts +6 -0
  226. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  227. package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
  228. package/types/exhaustive-ui-core-orderlist.d.ts +11 -1
  229. package/types/exhaustive-ui-core-paginator.d.ts +1 -0
  230. package/types/exhaustive-ui-core-panelmenu.d.ts +7 -0
  231. package/types/exhaustive-ui-core-password.d.ts +9 -1
  232. package/types/exhaustive-ui-core-picklist.d.ts +8 -3
  233. package/types/exhaustive-ui-core-popover.d.ts +3 -0
  234. package/types/exhaustive-ui-core-select.d.ts +13 -1
  235. package/types/exhaustive-ui-core-selectbutton.d.ts +3 -0
  236. package/types/exhaustive-ui-core-splitbutton.d.ts +2 -1
  237. package/types/exhaustive-ui-core-splitter.d.ts +7 -1
  238. package/types/exhaustive-ui-core-stepper.d.ts +3 -2
  239. package/types/exhaustive-ui-core-table.d.ts +34 -4
  240. package/types/exhaustive-ui-core-tabs.d.ts +4 -0
  241. package/types/exhaustive-ui-core-tieredmenu.d.ts +2 -0
  242. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -0
  243. package/types/exhaustive-ui-core-tree.d.ts +2 -0
  244. package/types/exhaustive-ui-core-treeselect.d.ts +12 -1
  245. package/types/exhaustive-ui-core-treetable.d.ts +22 -2
  246. package/types/exhaustive-ui-core-types-chart.d.ts +21 -1
  247. package/types/exhaustive-ui-core-types-confirmdialog.d.ts +1 -3
  248. package/types/exhaustive-ui-core-types-table.d.ts +1 -1
  249. package/types/exhaustive-ui-core-types-treetable.d.ts +2 -2
  250. package/types/exhaustive-ui-core-usestyle.d.ts +17 -0
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/password';
2
2
  import * as i2 from '@angular/common';
3
3
  import { isPlatformBrowser, CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, NgZone, input, booleanAttribute, computed, signal, effect, untracked, afterEveryRender, HostListener, Directive, Pipe, forwardRef, numberAttribute, output, viewChild, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, InjectionToken, inject, NgZone, input, booleanAttribute, computed, signal, effect, untracked, HostListener, Directive, Pipe, forwardRef, numberAttribute, output, viewChild, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { addClass, absolutePosition, removeClass, hasClass, isTouchDevice } from '@exhaustive-ui/utils';
8
8
  import { PrimeTemplate, OverlayService, TranslationKeys, SharedModule } from '@exhaustive-ui/core/api';
@@ -274,7 +274,7 @@ class PasswordDirective extends BaseEditableHolder {
274
274
  untracked(() => (this.el.nativeElement.type = show ? 'text' : 'password'));
275
275
  }
276
276
  });
277
- afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
277
+ this.bindHostAttrs(this.bindDirectiveInstance, () => this.ptms(['host', 'root']));
278
278
  }
279
279
  onInput(e) {
280
280
  this.writeModelValue(this.el.nativeElement.value);
@@ -347,9 +347,12 @@ class PasswordDirective extends BaseEditableHolder {
347
347
  }
348
348
  labelSignal = signal('', /* @ts-ignore */
349
349
  ...(ngDevMode ? [{ debugName: "labelSignal" }] : /* istanbul ignore next */ []));
350
+ strength = signal(null, /* @ts-ignore */
351
+ ...(ngDevMode ? [{ debugName: "strength" }] : /* istanbul ignore next */ []));
350
352
  onKeyup(e) {
351
353
  if (this.feedback()) {
352
354
  let value = e.target.value, label = null, meterPos = null;
355
+ let strength = null;
353
356
  if (value.length === 0) {
354
357
  label = this.promptLabel();
355
358
  meterPos = '0px 0px';
@@ -359,18 +362,22 @@ class PasswordDirective extends BaseEditableHolder {
359
362
  if (score < 30) {
360
363
  label = this.weakLabel();
361
364
  meterPos = '0px -10px';
365
+ strength = 'weak';
362
366
  }
363
367
  else if (score >= 30 && score < 80) {
364
368
  label = this.mediumLabel();
365
369
  meterPos = '0px -20px';
370
+ strength = 'medium';
366
371
  }
367
372
  else if (score >= 80) {
368
373
  label = this.strongLabel();
369
374
  meterPos = '0px -30px';
375
+ strength = 'strong';
370
376
  }
371
- this.labelSignal.set(label);
372
- this.updateMeter();
373
377
  }
378
+ this.labelSignal.set(label);
379
+ this.strength.set(strength);
380
+ this.updateMeter();
374
381
  const panel = this.panel();
375
382
  if (!panel || !hasClass(panel, 'p-connected-overlay-visible')) {
376
383
  this.showOverlay();
@@ -386,15 +393,21 @@ class PasswordDirective extends BaseEditableHolder {
386
393
  }
387
394
  }
388
395
  updateMeter() {
389
- const meter = this.meter();
396
+ const meterLabel = this.label();
390
397
  const info = this.info();
391
- if (this.labelSignal() && meter && info) {
392
- const label = this.labelSignal();
393
- const strengthClass = this.strengthClass(label.toLowerCase());
394
- const width = this.getWidth(label.toLowerCase());
395
- this.renderer.addClass(meter, strengthClass);
396
- this.renderer.setStyle(meter, 'width', width);
397
- info.textContent = label;
398
+ if (this.labelSignal() && meterLabel && info) {
399
+ // The strength comes from the score, not from the (possibly translated) label text,
400
+ // and is drawn on the meter label like the p-password component does.
401
+ const strength = this.strength();
402
+ ['weak', 'medium', 'strong'].forEach((level) => this.renderer.removeClass(meterLabel, this.strengthClass(level)));
403
+ if (strength) {
404
+ this.renderer.addClass(meterLabel, this.strengthClass(strength));
405
+ this.renderer.setStyle(meterLabel, 'width', this.getWidth(strength));
406
+ }
407
+ else {
408
+ this.renderer.removeStyle(meterLabel, 'width');
409
+ }
410
+ info.textContent = this.labelSignal();
398
411
  }
399
412
  }
400
413
  getWidth(label) {
@@ -530,7 +543,7 @@ class Password extends BaseInput {
530
543
  $pcPassword = inject(PASSWORD_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
531
544
  constructor() {
532
545
  super();
533
- afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
546
+ this.bindHostAttrs(this.bindDirectiveInstance, () => this.ptms(['host', 'root']));
534
547
  }
535
548
  /**
536
549
  * Defines a string that labels the input for accessibility.
@@ -597,6 +610,11 @@ class Password extends BaseInput {
597
610
  * @group Props
598
611
  */
599
612
  feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
613
+ /**
614
+ * When present, it specifies that an input field is read-only.
615
+ * @group Props
616
+ */
617
+ readonly = input(undefined, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
600
618
  /**
601
619
  * Whether to show an icon to display the password as plain text.
602
620
  * @group Props
@@ -835,6 +853,14 @@ class Password extends BaseInput {
835
853
  onMaskToggle() {
836
854
  this.unmasked.update((unmasked) => !unmasked);
837
855
  }
856
+ onMaskToggleKeydown(event) {
857
+ event.preventDefault();
858
+ this.onMaskToggle();
859
+ }
860
+ maskToggleAriaLabel() {
861
+ const aria = this.config.translation.aria;
862
+ return this.unmasked() ? (aria?.['passwordHide'] ?? 'Hide Password') : (aria?.['passwordShow'] ?? 'Show Password');
863
+ }
838
864
  onOverlayClick(event) {
839
865
  this.overlayService.add({
840
866
  originalEvent: event,
@@ -906,7 +932,7 @@ class Password extends BaseInput {
906
932
  }), /* @ts-ignore */
907
933
  ...(ngDevMode ? [{ debugName: "overlayDataP" }] : /* istanbul ignore next */ []));
908
934
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Password, deps: [], target: i0.ɵɵFactoryTarget.Component });
909
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Password, isStandalone: true, selector: "p-password", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, promptLabel: { classPropertyName: "promptLabel", publicName: "promptLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumRegex: { classPropertyName: "mediumRegex", publicName: "mediumRegex", isSignal: true, isRequired: false, transformFunction: null }, strongRegex: { classPropertyName: "strongRegex", publicName: "strongRegex", isSignal: true, isRequired: false, transformFunction: null }, weakLabel: { classPropertyName: "weakLabel", publicName: "weakLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumLabel: { classPropertyName: "mediumLabel", publicName: "mediumLabel", isSignal: true, isRequired: false, transformFunction: null }, strongLabel: { classPropertyName: "strongLabel", publicName: "strongLabel", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, toggleMask: { classPropertyName: "toggleMask", publicName: "toggleMask", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClear: "onClear" }, host: { properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], isSignal: true }, { propertyName: "hideIconTemplate", first: true, predicate: ["hideicon"], isSignal: true }, { propertyName: "showIconTemplate", first: true, predicate: ["showicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
935
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Password, isStandalone: true, selector: "p-password", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, promptLabel: { classPropertyName: "promptLabel", publicName: "promptLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumRegex: { classPropertyName: "mediumRegex", publicName: "mediumRegex", isSignal: true, isRequired: false, transformFunction: null }, strongRegex: { classPropertyName: "strongRegex", publicName: "strongRegex", isSignal: true, isRequired: false, transformFunction: null }, weakLabel: { classPropertyName: "weakLabel", publicName: "weakLabel", isSignal: true, isRequired: false, transformFunction: null }, mediumLabel: { classPropertyName: "mediumLabel", publicName: "mediumLabel", isSignal: true, isRequired: false, transformFunction: null }, strongLabel: { classPropertyName: "strongLabel", publicName: "strongLabel", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, toggleMask: { classPropertyName: "toggleMask", publicName: "toggleMask", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClear: "onClear" }, host: { properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], isSignal: true }, { propertyName: "hideIconTemplate", first: true, predicate: ["hideicon"], isSignal: true }, { propertyName: "showIconTemplate", first: true, predicate: ["showicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
910
936
  <input
911
937
  #input
912
938
  [attr.label]="label()"
@@ -928,6 +954,7 @@ class Password extends BaseInput {
928
954
  [attr.minlength]="minlength()"
929
955
  [attr.required]="required() ? '' : undefined"
930
956
  [attr.disabled]="$disabled() ? '' : undefined"
957
+ [attr.readonly]="readonly() ? '' : undefined"
931
958
  [invalid]="invalid()"
932
959
  (input)="onInput($event)"
933
960
  (focus)="onInputFocus($event)"
@@ -937,7 +964,7 @@ class Password extends BaseInput {
937
964
  [pt]="ptm('pcInputText')"
938
965
  [unstyled]="unstyled()"
939
966
  />
940
- @if (showClear() && value() != null) {
967
+ @if (showClear() && value() != null && !readonly()) {
941
968
  @if (!clearIconTemplate() && !_clearIconTemplate()) {
942
969
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear()" [pBind]="ptm('clearIcon')" />
943
970
  }
@@ -949,20 +976,40 @@ class Password extends BaseInput {
949
976
  @if (toggleMask()) {
950
977
  @if (unmasked()) {
951
978
  @if (!hideIconTemplate() && !_hideIconTemplate()) {
952
- <svg data-p-icon="eyeslash" [class]="cx('maskIcon')" [pBind]="ptm('maskIcon')" (click)="onMaskToggle()" />
979
+ <svg
980
+ data-p-icon="eyeslash"
981
+ [class]="cx('maskIcon')"
982
+ [pBind]="ptm('maskIcon')"
983
+ (click)="onMaskToggle()"
984
+ tabindex="0"
985
+ role="button"
986
+ [attr.aria-label]="maskToggleAriaLabel()"
987
+ (keydown.enter)="onMaskToggleKeydown($event)"
988
+ (keydown.space)="onMaskToggleKeydown($event)"
989
+ />
953
990
  }
954
991
  @if (hideIconTemplate() || _hideIconTemplate()) {
955
- <span (click)="onMaskToggle()" [pBind]="ptm('maskIcon')">
992
+ <span (click)="onMaskToggle()" tabindex="0" role="button" [attr.aria-label]="maskToggleAriaLabel()" (keydown.enter)="onMaskToggleKeydown($event)" (keydown.space)="onMaskToggleKeydown($event)" [pBind]="ptm('maskIcon')">
956
993
  <ng-template *ngTemplateOutlet="hideIconTemplate() || _hideIconTemplate(); context: { class: cx('maskIcon') }"></ng-template>
957
994
  </span>
958
995
  }
959
996
  }
960
997
  @if (!unmasked()) {
961
998
  @if (!showIconTemplate() && !_showIconTemplate()) {
962
- <svg data-p-icon="eye" [class]="cx('unmaskIcon')" [pBind]="ptm('unmaskIcon')" (click)="onMaskToggle()" />
999
+ <svg
1000
+ data-p-icon="eye"
1001
+ [class]="cx('unmaskIcon')"
1002
+ [pBind]="ptm('unmaskIcon')"
1003
+ (click)="onMaskToggle()"
1004
+ tabindex="0"
1005
+ role="button"
1006
+ [attr.aria-label]="maskToggleAriaLabel()"
1007
+ (keydown.enter)="onMaskToggleKeydown($event)"
1008
+ (keydown.space)="onMaskToggleKeydown($event)"
1009
+ />
963
1010
  }
964
1011
  @if (showIconTemplate() || _showIconTemplate()) {
965
- <span (click)="onMaskToggle()" [pBind]="ptm('unmaskIcon')">
1012
+ <span (click)="onMaskToggle()" tabindex="0" role="button" [attr.aria-label]="maskToggleAriaLabel()" (keydown.enter)="onMaskToggleKeydown($event)" (keydown.space)="onMaskToggleKeydown($event)" [pBind]="ptm('unmaskIcon')">
966
1013
  <ng-template *ngTemplateOutlet="showIconTemplate() || _showIconTemplate(); context: { class: cx('unmaskIcon') }"></ng-template>
967
1014
  </span>
968
1015
  }
@@ -1016,6 +1063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1016
1063
  [attr.minlength]="minlength()"
1017
1064
  [attr.required]="required() ? '' : undefined"
1018
1065
  [attr.disabled]="$disabled() ? '' : undefined"
1066
+ [attr.readonly]="readonly() ? '' : undefined"
1019
1067
  [invalid]="invalid()"
1020
1068
  (input)="onInput($event)"
1021
1069
  (focus)="onInputFocus($event)"
@@ -1025,7 +1073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1025
1073
  [pt]="ptm('pcInputText')"
1026
1074
  [unstyled]="unstyled()"
1027
1075
  />
1028
- @if (showClear() && value() != null) {
1076
+ @if (showClear() && value() != null && !readonly()) {
1029
1077
  @if (!clearIconTemplate() && !_clearIconTemplate()) {
1030
1078
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear()" [pBind]="ptm('clearIcon')" />
1031
1079
  }
@@ -1037,20 +1085,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1037
1085
  @if (toggleMask()) {
1038
1086
  @if (unmasked()) {
1039
1087
  @if (!hideIconTemplate() && !_hideIconTemplate()) {
1040
- <svg data-p-icon="eyeslash" [class]="cx('maskIcon')" [pBind]="ptm('maskIcon')" (click)="onMaskToggle()" />
1088
+ <svg
1089
+ data-p-icon="eyeslash"
1090
+ [class]="cx('maskIcon')"
1091
+ [pBind]="ptm('maskIcon')"
1092
+ (click)="onMaskToggle()"
1093
+ tabindex="0"
1094
+ role="button"
1095
+ [attr.aria-label]="maskToggleAriaLabel()"
1096
+ (keydown.enter)="onMaskToggleKeydown($event)"
1097
+ (keydown.space)="onMaskToggleKeydown($event)"
1098
+ />
1041
1099
  }
1042
1100
  @if (hideIconTemplate() || _hideIconTemplate()) {
1043
- <span (click)="onMaskToggle()" [pBind]="ptm('maskIcon')">
1101
+ <span (click)="onMaskToggle()" tabindex="0" role="button" [attr.aria-label]="maskToggleAriaLabel()" (keydown.enter)="onMaskToggleKeydown($event)" (keydown.space)="onMaskToggleKeydown($event)" [pBind]="ptm('maskIcon')">
1044
1102
  <ng-template *ngTemplateOutlet="hideIconTemplate() || _hideIconTemplate(); context: { class: cx('maskIcon') }"></ng-template>
1045
1103
  </span>
1046
1104
  }
1047
1105
  }
1048
1106
  @if (!unmasked()) {
1049
1107
  @if (!showIconTemplate() && !_showIconTemplate()) {
1050
- <svg data-p-icon="eye" [class]="cx('unmaskIcon')" [pBind]="ptm('unmaskIcon')" (click)="onMaskToggle()" />
1108
+ <svg
1109
+ data-p-icon="eye"
1110
+ [class]="cx('unmaskIcon')"
1111
+ [pBind]="ptm('unmaskIcon')"
1112
+ (click)="onMaskToggle()"
1113
+ tabindex="0"
1114
+ role="button"
1115
+ [attr.aria-label]="maskToggleAriaLabel()"
1116
+ (keydown.enter)="onMaskToggleKeydown($event)"
1117
+ (keydown.space)="onMaskToggleKeydown($event)"
1118
+ />
1051
1119
  }
1052
1120
  @if (showIconTemplate() || _showIconTemplate()) {
1053
- <span (click)="onMaskToggle()" [pBind]="ptm('unmaskIcon')">
1121
+ <span (click)="onMaskToggle()" tabindex="0" role="button" [attr.aria-label]="maskToggleAriaLabel()" (keydown.enter)="onMaskToggleKeydown($event)" (keydown.space)="onMaskToggleKeydown($event)" [pBind]="ptm('unmaskIcon')">
1054
1122
  <ng-template *ngTemplateOutlet="showIconTemplate() || _showIconTemplate(); context: { class: cx('unmaskIcon') }"></ng-template>
1055
1123
  </span>
1056
1124
  }
@@ -1086,7 +1154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1086
1154
  },
1087
1155
  hostDirectives: [Bind]
1088
1156
  }]
1089
- }], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], promptLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "promptLabel", required: false }] }], mediumRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumRegex", required: false }] }], strongRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongRegex", required: false }] }], weakLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "weakLabel", required: false }] }], mediumLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumLabel", required: false }] }], strongLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongLabel", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], toggleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleMask", required: false }] }], inputStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyleClass", required: false }] }], inputStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyle", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], overlayOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayOptions", required: false }] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], input: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], hideIconTemplate: [{ type: i0.ContentChild, args: ['hideicon', { ...{ descendants: false }, isSignal: true }] }], showIconTemplate: [{ type: i0.ContentChild, args: ['showicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
1157
+ }], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], promptLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "promptLabel", required: false }] }], mediumRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumRegex", required: false }] }], strongRegex: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongRegex", required: false }] }], weakLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "weakLabel", required: false }] }], mediumLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediumLabel", required: false }] }], strongLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "strongLabel", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], toggleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleMask", required: false }] }], inputStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyleClass", required: false }] }], inputStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyle", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], showClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClear", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], overlayOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayOptions", required: false }] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], onClear: [{ type: i0.Output, args: ["onClear"] }], input: [{ type: i0.ViewChild, args: ['input', { isSignal: true }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], clearIconTemplate: [{ type: i0.ContentChild, args: ['clearicon', { ...{ descendants: false }, isSignal: true }] }], hideIconTemplate: [{ type: i0.ContentChild, args: ['hideicon', { ...{ descendants: false }, isSignal: true }] }], showIconTemplate: [{ type: i0.ContentChild, args: ['showicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
1090
1158
  class PasswordModule {
1091
1159
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1092
1160
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: PasswordModule, imports: [Password, PasswordDirective, SharedModule, BindModule], exports: [PasswordDirective, Password, SharedModule, BindModule] });