@exhaustive-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.11

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 (118) hide show
  1. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +5 -5
  2. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-basecomponent.mjs +6 -1
  4. package/fesm2022/exhaustive-ui-core-basecomponent.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +11 -4
  6. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-card.mjs +0 -4
  8. package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +5 -5
  10. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  12. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +11 -9
  13. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  14. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +18 -1
  15. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  16. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -4
  17. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  18. package/fesm2022/exhaustive-ui-core-datepicker.mjs +42 -7
  19. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  20. package/fesm2022/exhaustive-ui-core-dialog.mjs +2 -1
  21. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  22. package/fesm2022/exhaustive-ui-core-drawer.mjs +11 -2
  23. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  24. package/fesm2022/exhaustive-ui-core-fieldset.mjs +2 -2
  25. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  26. package/fesm2022/exhaustive-ui-core-fileupload.mjs +22 -11
  27. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  28. package/fesm2022/exhaustive-ui-core-iconfield.mjs +16 -1
  29. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  30. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +9 -0
  31. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  32. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +54 -21
  33. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  34. package/fesm2022/exhaustive-ui-core-inputtext.mjs +6 -5
  35. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  36. package/fesm2022/exhaustive-ui-core-listbox.mjs +4 -2
  37. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  38. package/fesm2022/exhaustive-ui-core-megamenu.mjs +1 -0
  39. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  40. package/fesm2022/exhaustive-ui-core-menu.mjs +2 -2
  41. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  42. package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
  43. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  44. package/fesm2022/exhaustive-ui-core-multiselect.mjs +25 -14
  45. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  46. package/fesm2022/exhaustive-ui-core-orderlist.mjs +9 -2
  47. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  48. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
  49. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  50. package/fesm2022/exhaustive-ui-core-paginator.mjs +4 -1
  51. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  52. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +7 -1
  53. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  54. package/fesm2022/exhaustive-ui-core-password.mjs +34 -14
  55. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  56. package/fesm2022/exhaustive-ui-core-picklist.mjs +4 -4
  57. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  58. package/fesm2022/exhaustive-ui-core-popover.mjs +26 -7
  59. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  60. package/fesm2022/exhaustive-ui-core-select.mjs +20 -14
  61. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  62. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +10 -6
  63. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  64. package/fesm2022/exhaustive-ui-core-slider.mjs +7 -3
  65. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  66. package/fesm2022/exhaustive-ui-core-splitter.mjs +5 -0
  67. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  68. package/fesm2022/exhaustive-ui-core-stepper.mjs +3 -0
  69. package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-table.mjs +97 -65
  71. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-tabs.mjs +37 -7
  73. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +2 -1
  75. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-toast.mjs +12 -1
  77. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +9 -2
  79. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +0 -2
  81. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
  83. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-treeselect.mjs +15 -3
  85. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-treetable.mjs +4 -0
  87. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  88. package/package.json +5 -5
  89. package/schematics/utils/versions.json +8 -8
  90. package/types/exhaustive-ui-core-api.d.ts +4 -0
  91. package/types/exhaustive-ui-core-basecomponent.d.ts +1 -0
  92. package/types/exhaustive-ui-core-breadcrumb.d.ts +7 -1
  93. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  94. package/types/exhaustive-ui-core-chart.d.ts +2 -2
  95. package/types/exhaustive-ui-core-confirmdialog.d.ts +3 -2
  96. package/types/exhaustive-ui-core-confirmpopup.d.ts +4 -0
  97. package/types/exhaustive-ui-core-datepicker.d.ts +2 -1
  98. package/types/exhaustive-ui-core-drawer.d.ts +1 -0
  99. package/types/exhaustive-ui-core-fileupload.d.ts +4 -0
  100. package/types/exhaustive-ui-core-iconfield.d.ts +1 -2
  101. package/types/exhaustive-ui-core-inputnumber.d.ts +8 -0
  102. package/types/exhaustive-ui-core-megamenu.d.ts +1 -0
  103. package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
  104. package/types/exhaustive-ui-core-orderlist.d.ts +6 -1
  105. package/types/exhaustive-ui-core-password.d.ts +7 -1
  106. package/types/exhaustive-ui-core-popover.d.ts +3 -0
  107. package/types/exhaustive-ui-core-select.d.ts +1 -0
  108. package/types/exhaustive-ui-core-selectbutton.d.ts +3 -0
  109. package/types/exhaustive-ui-core-splitter.d.ts +1 -0
  110. package/types/exhaustive-ui-core-stepper.d.ts +3 -2
  111. package/types/exhaustive-ui-core-table.d.ts +8 -1
  112. package/types/exhaustive-ui-core-tabs.d.ts +3 -0
  113. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -0
  114. package/types/exhaustive-ui-core-treeselect.d.ts +6 -1
  115. package/types/exhaustive-ui-core-types-chart.d.ts +21 -1
  116. package/types/exhaustive-ui-core-types-confirmdialog.d.ts +1 -3
  117. package/types/exhaustive-ui-core-types-table.d.ts +1 -1
  118. package/types/exhaustive-ui-core-types-treetable.d.ts +2 -2
@@ -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) {
@@ -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
@@ -914,7 +932,7 @@ class Password extends BaseInput {
914
932
  }), /* @ts-ignore */
915
933
  ...(ngDevMode ? [{ debugName: "overlayDataP" }] : /* istanbul ignore next */ []));
916
934
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Password, deps: [], target: i0.ɵɵFactoryTarget.Component });
917
- 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: `
918
936
  <input
919
937
  #input
920
938
  [attr.label]="label()"
@@ -936,6 +954,7 @@ class Password extends BaseInput {
936
954
  [attr.minlength]="minlength()"
937
955
  [attr.required]="required() ? '' : undefined"
938
956
  [attr.disabled]="$disabled() ? '' : undefined"
957
+ [attr.readonly]="readonly() ? '' : undefined"
939
958
  [invalid]="invalid()"
940
959
  (input)="onInput($event)"
941
960
  (focus)="onInputFocus($event)"
@@ -945,7 +964,7 @@ class Password extends BaseInput {
945
964
  [pt]="ptm('pcInputText')"
946
965
  [unstyled]="unstyled()"
947
966
  />
948
- @if (showClear() && value() != null) {
967
+ @if (showClear() && value() != null && !readonly()) {
949
968
  @if (!clearIconTemplate() && !_clearIconTemplate()) {
950
969
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear()" [pBind]="ptm('clearIcon')" />
951
970
  }
@@ -1044,6 +1063,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1044
1063
  [attr.minlength]="minlength()"
1045
1064
  [attr.required]="required() ? '' : undefined"
1046
1065
  [attr.disabled]="$disabled() ? '' : undefined"
1066
+ [attr.readonly]="readonly() ? '' : undefined"
1047
1067
  [invalid]="invalid()"
1048
1068
  (input)="onInput($event)"
1049
1069
  (focus)="onInputFocus($event)"
@@ -1053,7 +1073,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1053
1073
  [pt]="ptm('pcInputText')"
1054
1074
  [unstyled]="unstyled()"
1055
1075
  />
1056
- @if (showClear() && value() != null) {
1076
+ @if (showClear() && value() != null && !readonly()) {
1057
1077
  @if (!clearIconTemplate() && !_clearIconTemplate()) {
1058
1078
  <svg data-p-icon="times" [class]="cx('clearIcon')" (click)="clear()" [pBind]="ptm('clearIcon')" />
1059
1079
  }
@@ -1134,7 +1154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1134
1154
  },
1135
1155
  hostDirectives: [Bind]
1136
1156
  }]
1137
- }], 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 }] }] } });
1138
1158
  class PasswordModule {
1139
1159
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1140
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] });
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-password.mjs","sources":["../../src/password/style/passwordstyle.ts","../../src/password/password.ts","../../src/password/exhaustive-ui-core-password.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as password_style } from '@exhaustive-ui/styles/password';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n${password_style}\n\n/* For Exhaustive */\n.p-password-overlay {\n min-width: 100%;\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext {\n border-color: dt('inputtext.invalid.border.color');\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext:enabled:focus {\n border-color: dt('inputtext.focus.border.color');\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext::placeholder {\n color: dt('inputtext.invalid.placeholder.color');\n}\n\n.p-password-fluid-directive {\n width: 100%;\n}\n\n/* Animations */\n.p-password-enter {\n animation: p-animate-password-enter 300ms cubic-bezier(.19,1,.22,1);\n}\n\n.p-password-leave {\n animation: p-animate-password-leave 300ms cubic-bezier(.19,1,.22,1);\n}\n\n@keyframes p-animate-password-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n}\n\n@keyframes p-animate-password-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n}\n`;\n\nconst inlineStyles = {\n root: ({ instance }) => ({ position: instance.$appendTo() === 'self' ? 'relative' : undefined }),\n overlay: { position: 'absolute' }\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-password p-component p-inputwrapper',\n {\n 'p-inputwrapper-filled': instance.$filled(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-inputwrapper-focus': instance.focused(),\n 'p-password-fluid': instance.hasFluid\n }\n ],\n rootDirective: ({ instance }) => [\n 'p-password p-inputtext p-component p-inputwrapper',\n {\n 'p-inputwrapper-filled': instance.$filled(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-password-fluid-directive': instance.hasFluid()\n }\n ],\n pcInputText: 'p-password-input',\n maskIcon: 'p-password-toggle-mask-icon p-password-mask-icon',\n unmaskIcon: 'p-password-toggle-mask-icon p-password-unmask-icon',\n overlay: 'p-password-overlay p-component',\n content: 'p-password-content',\n meter: 'p-password-meter',\n meterLabel: ({ instance }) => `p-password-meter-label ${instance.meter() ? 'p-password-meter-' + instance.meter().strength : ''}`,\n meterText: 'p-password-meter-text',\n clearIcon: 'p-password-clear-icon'\n};\n\n@Injectable()\nexport class PasswordStyle extends BaseStyle {\n name = 'password';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Password displays strength indicator for password fields.\n *\n * [Live Demo](https://exhaustive-ui.com/password/)\n *\n * @module passwordstyle\n *\n */\n\nexport enum PasswordClasses {\n /**\n * Class name of the root element\n */\n root = 'p-password',\n /**\n * Class name of the pt input element\n */\n pcInputText = 'p-password-input',\n /**\n * Class name of the mask icon element\n */\n maskIcon = 'p-password-mask-icon',\n /**\n * Class name of the unmask icon element\n */\n unmaskIcon = 'p-password-unmask-icon',\n /**\n * Class name of the overlay element\n */\n overlay = 'p-password-overlay',\n /**\n * Class name of the meter element\n */\n meter = 'p-password-meter',\n /**\n * Class name of the meter label element\n */\n meterLabel = 'p-password-meter-label',\n /**\n * Class name of the meter text element\n */\n meterText = 'p-password-meter-text',\n /**\n * Class name of the clear icon\n */\n clearIcon = 'p-password-clear-icon'\n}\n\nexport interface PasswordStyle extends BaseStyle {}\n","import { CommonModule, isPlatformBrowser } from '@angular/common';\nimport {\n afterEveryRender,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n effect,\n ElementRef,\n forwardRef,\n HostListener,\n inject,\n InjectionToken,\n input,\n NgModule,\n NgZone,\n numberAttribute,\n Pipe,\n PipeTransform,\n signal,\n TemplateRef,\n untracked,\n ViewEncapsulation,\n viewChild,\n contentChild,\n contentChildren,\n output\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { MotionOptions } from '@exhaustive-ui/motion';\nimport { absolutePosition, addClass, hasClass, isTouchDevice, removeClass } from '@exhaustive-ui/utils';\nimport { OverlayOptions, OverlayService, PrimeTemplate, SharedModule, TranslationKeys } from '@exhaustive-ui/core/api';\nimport { AutoFocus } from '@exhaustive-ui/core/autofocus';\nimport { PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { BaseEditableHolder } from '@exhaustive-ui/core/baseeditableholder';\nimport { BaseInput } from '@exhaustive-ui/core/baseinput';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { ConnectedOverlayScrollHandler, DomHandler } from '@exhaustive-ui/core/dom';\nimport { Fluid } from '@exhaustive-ui/core/fluid';\nimport { EyeIcon, EyeSlashIcon, TimesIcon } from '@exhaustive-ui/core/icons';\nimport { InputText } from '@exhaustive-ui/core/inputtext';\nimport { Overlay } from '@exhaustive-ui/core/overlay';\nimport { Nullable, VoidListener } from '@exhaustive-ui/core/ts-helpers';\nimport type { PasswordIconTemplateContext, PasswordPassThrough } from '@exhaustive-ui/core/types/password';\nimport { Subscription } from 'rxjs';\nimport { PasswordStyle } from './style/passwordstyle';\n\nconst PASSWORD_DIRECTIVE_INSTANCE = new InjectionToken<PasswordDirective>('PASSWORD_DIRECTIVE_INSTANCE');\n\nconst PASSWORD_INSTANCE = new InjectionToken<Password>('PASSWORD_INSTANCE');\n\ntype Meter = {\n strength: string;\n width: string;\n};\n/**\n * Password directive.\n * @group Components\n */\n@Directive({\n selector: '[pPassword]',\n host: {\n '[class]': \"cx('rootDirective')\"\n },\n providers: [PasswordStyle, { provide: PASSWORD_DIRECTIVE_INSTANCE, useExisting: PasswordDirective }, { provide: PARENT_INSTANCE, useExisting: PasswordDirective }],\n hostDirectives: [Bind]\n})\nexport class PasswordDirective extends BaseEditableHolder {\n zone = inject(NgZone);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcPasswordDirective: PasswordDirective | undefined = inject(PASSWORD_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n /**\n * Used to pass attributes to DOM elements inside the Password component.\n * @defaultValue undefined\n * @group Props\n */\n pPasswordPT = input<PasswordPassThrough | undefined>();\n /**\n * Indicates whether the component should be rendered without styles.\n * @defaultValue undefined\n * @group Props\n */\n pPasswordUnstyled = input<boolean | undefined>();\n /**\n * Text to prompt password entry. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n promptLabel = input<string>('Enter a password');\n /**\n * Text for a weak password. Defaults to PrimeNG I18N API configuration.\n * @group Props\n */\n weakLabel = input<string>('Weak');\n /**\n * Text for a medium password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n mediumLabel = input<string>('Medium');\n /**\n * Text for a strong password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n strongLabel = input<string>('Strong');\n /**\n * Whether to show the strength indicator or not.\n * @group Props\n */\n feedback = input<boolean, unknown>(true, { transform: booleanAttribute });\n /**\n * Sets the visibility of the password field.\n * @defaultValue false\n * @type boolean\n * @group Props\n */\n showPassword = input<boolean | undefined>();\n /**\n * Specifies the input variant of the component.\n * @defaultValue 'outlined'\n * @group Props\n */\n variant = input<'filled' | 'outlined' | undefined>();\n /**\n * Spans 100% width of the container when enabled.\n * @defaultValue false\n * @group Props\n */\n fluid = input(undefined, { transform: booleanAttribute });\n /**\n * Specifies the size of the component.\n * @defaultValue undefined\n * @group Props\n */\n size = input<'large' | 'small' | undefined>(undefined, { alias: 'pSize' });\n\n pcFluid: Fluid | null = inject(Fluid, { optional: true, host: true, skipSelf: true });\n\n $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant());\n\n readonly hasFluid = computed(() => this.fluid() ?? !!this.pcFluid);\n\n panel = signal<Nullable<HTMLDivElement>>(undefined);\n\n meter = signal<Nullable<HTMLDivElement>>(undefined);\n\n info = signal<Nullable<HTMLDivElement>>(undefined);\n\n content = signal<Nullable<HTMLDivElement>>(undefined);\n\n label = signal<Nullable<HTMLLabelElement>>(undefined);\n\n scrollHandler = signal<Nullable<ConnectedOverlayScrollHandler>>(undefined);\n\n documentResizeListener = signal<VoidListener>(undefined);\n\n _componentStyle = inject(PasswordStyle);\n\n constructor() {\n super();\n\n effect(() => {\n const pt = this.pPasswordPT();\n pt && this.directivePT.set(pt);\n });\n\n effect(() => {\n this.pPasswordUnstyled() && this.directiveUnstyled.set(this.pPasswordUnstyled());\n });\n\n effect(() => {\n const show = this.showPassword();\n if (show !== undefined) {\n untracked(() => (this.el.nativeElement.type = show ? 'text' : 'password'));\n }\n });\n\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n @HostListener('input', ['$event'])\n onInput(e: Event) {\n this.writeModelValue(this.el.nativeElement.value);\n }\n\n createPanel() {\n if (isPlatformBrowser(this.platformId)) {\n const panel = this.renderer.createElement('div');\n this.renderer.addClass(panel, 'p-password-overlay');\n this.renderer.addClass(panel, 'p-component');\n this.panel.set(panel);\n\n const content = this.renderer.createElement('div');\n this.renderer.addClass(content, 'p-password-content');\n this.renderer.appendChild(panel, content);\n this.content.set(content);\n\n const meter = this.renderer.createElement('div');\n this.renderer.addClass(meter, 'p-password-meter');\n this.renderer.appendChild(content, meter);\n this.meter.set(meter);\n\n const label = this.renderer.createElement('div');\n this.renderer.addClass(label, 'p-password-meter-label');\n this.renderer.appendChild(meter, label);\n this.label.set(label);\n\n const info = this.renderer.createElement('div');\n this.renderer.addClass(info, 'p-password-meter-text');\n this.renderer.setProperty(info, 'textContent', this.promptLabel());\n this.renderer.appendChild(content, info);\n this.info.set(info);\n\n this.renderer.setStyle(panel, 'minWidth', `${this.el.nativeElement.offsetWidth}px`);\n this.renderer.appendChild(document.body, panel);\n this.updateMeter();\n }\n }\n\n showOverlay() {\n if (this.feedback()) {\n if (!this.panel()) {\n this.createPanel();\n }\n\n const panel = this.panel()!;\n this.renderer.setStyle(panel, 'zIndex', String(++DomHandler.zindex));\n this.renderer.setStyle(panel, 'display', 'block');\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n addClass(this.panel()!, 'p-connected-overlay-visible');\n this.bindScrollListener();\n this.bindDocumentResizeListener();\n }, 1);\n });\n absolutePosition(panel, this.el.nativeElement);\n }\n }\n\n hideOverlay() {\n const panel = this.panel();\n if (this.feedback() && panel) {\n addClass(panel, 'p-connected-overlay-hidden');\n removeClass(panel, 'p-connected-overlay-visible');\n this.unbindScrollListener();\n this.unbindDocumentResizeListener();\n\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n this.onDestroy();\n }, 150);\n });\n }\n }\n\n @HostListener('focus')\n onFocus() {\n this.showOverlay();\n }\n\n @HostListener('blur')\n onBlur() {\n this.hideOverlay();\n }\n\n labelSignal = signal('');\n\n @HostListener('keyup', ['$event'])\n onKeyup(e: Event) {\n if (this.feedback()) {\n let value = (e.target as HTMLInputElement).value,\n label: string | null = null,\n meterPos: string | null = null;\n\n if (value.length === 0) {\n label = this.promptLabel();\n meterPos = '0px 0px';\n } else {\n var score = this.testStrength(value);\n\n if (score < 30) {\n label = this.weakLabel();\n meterPos = '0px -10px';\n } else if (score >= 30 && score < 80) {\n label = this.mediumLabel();\n meterPos = '0px -20px';\n } else if (score >= 80) {\n label = this.strongLabel();\n meterPos = '0px -30px';\n }\n\n this.labelSignal.set(label!);\n this.updateMeter();\n }\n\n const panel = this.panel();\n if (!panel || !hasClass(panel, 'p-connected-overlay-visible')) {\n this.showOverlay();\n }\n\n const meter = this.meter();\n if (meter) {\n this.renderer.setStyle(meter, 'backgroundPosition', meterPos);\n }\n\n const info = this.info();\n if (info) {\n info.textContent = label;\n }\n }\n }\n\n updateMeter() {\n const meter = this.meter();\n const info = this.info();\n if (this.labelSignal() && meter && info) {\n const label = this.labelSignal();\n const strengthClass = this.strengthClass(label.toLowerCase());\n const width = this.getWidth(label.toLowerCase());\n\n this.renderer.addClass(meter, strengthClass);\n this.renderer.setStyle(meter, 'width', width);\n info.textContent = label;\n }\n }\n\n getWidth(label: string) {\n return label === 'weak' ? '33.33%' : label === 'medium' ? '66.66%' : label === 'strong' ? '100%' : '';\n }\n\n strengthClass(label) {\n return `p-password-meter${label ? `-${label}` : ''}`;\n }\n\n testStrength(str: string) {\n let grade: number = 0;\n let val: Nullable<RegExpMatchArray>;\n\n val = str.match('[0-9]');\n grade += this.normalize(val ? val.length : 1 / 4, 1) * 25;\n\n val = str.match('[a-zA-Z]');\n grade += this.normalize(val ? val.length : 1 / 2, 3) * 10;\n\n val = str.match('[!@#$%^&*?_~.,;=]');\n grade += this.normalize(val ? val.length : 1 / 6, 1) * 35;\n\n val = str.match('[A-Z]');\n grade += this.normalize(val ? val.length : 1 / 6, 1) * 30;\n\n grade *= str.length / 8;\n\n return grade > 100 ? 100 : grade;\n }\n\n normalize(x: number, y: number) {\n let diff = x - y;\n\n if (diff <= 0) return x / y;\n else return 1 + 0.5 * (x / (x + y / 4));\n }\n\n bindScrollListener() {\n if (!this.scrollHandler()) {\n this.scrollHandler.set(\n new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {\n if (hasClass(this.panel()!, 'p-connected-overlay-visible')) {\n this.hideOverlay();\n }\n })\n );\n }\n\n this.scrollHandler()!.bindScrollListener();\n }\n\n unbindScrollListener() {\n const scrollHandler = this.scrollHandler();\n if (scrollHandler) {\n scrollHandler.unbindScrollListener();\n }\n }\n\n bindDocumentResizeListener() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.documentResizeListener()) {\n const window = this.document.defaultView as Window;\n this.documentResizeListener.set(this.renderer.listen(window, 'resize', this.onWindowResize.bind(this)));\n }\n }\n }\n\n unbindDocumentResizeListener() {\n const documentResizeListener = this.documentResizeListener();\n if (documentResizeListener) {\n documentResizeListener();\n this.documentResizeListener.set(null);\n }\n }\n\n onWindowResize() {\n if (!isTouchDevice()) {\n this.hideOverlay();\n }\n }\n\n onDestroy() {\n const panel = this.panel();\n if (panel) {\n const scrollHandler = this.scrollHandler();\n if (scrollHandler) {\n scrollHandler.destroy();\n this.scrollHandler.set(null);\n }\n\n this.unbindDocumentResizeListener();\n\n this.renderer.removeChild(this.document.body, panel);\n this.panel.set(null);\n this.meter.set(null);\n this.info.set(null);\n }\n }\n}\n\ntype Mapper<T, G> = (item: T, ...args: any[]) => G;\n\n@Pipe({\n name: 'mapper',\n pure: true\n})\nexport class MapperPipe implements PipeTransform {\n public transform<T, G>(value: T, mapper: Mapper<T, G>, ...args: unknown[]): G {\n return mapper(value, ...args);\n }\n}\n\nexport const Password_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Password),\n multi: true\n};\n/**\n * Password displays strength indicator for password fields.\n * @group Components\n */\n@Component({\n selector: 'p-password',\n imports: [CommonModule, InputText, AutoFocus, TimesIcon, EyeSlashIcon, EyeIcon, Overlay, SharedModule, BindModule],\n template: `\n <input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n pInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked() ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value()\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [pAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n @if (showClear() && value() != null) {\n @if (!clearIconTemplate() && !_clearIconTemplate()) {\n <svg data-p-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [pBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [pBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate()\"></ng-template>\n </span>\n }\n\n @if (toggleMask()) {\n @if (unmasked()) {\n @if (!hideIconTemplate() && !_hideIconTemplate()) {\n <svg\n data-p-icon=\"eyeslash\"\n [class]=\"cx('maskIcon')\"\n [pBind]=\"ptm('maskIcon')\"\n (click)=\"onMaskToggle()\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"maskToggleAriaLabel()\"\n (keydown.enter)=\"onMaskToggleKeydown($event)\"\n (keydown.space)=\"onMaskToggleKeydown($event)\"\n />\n }\n @if (hideIconTemplate() || _hideIconTemplate()) {\n <span (click)=\"onMaskToggle()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"maskToggleAriaLabel()\" (keydown.enter)=\"onMaskToggleKeydown($event)\" (keydown.space)=\"onMaskToggleKeydown($event)\" [pBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate(); context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked()) {\n @if (!showIconTemplate() && !_showIconTemplate()) {\n <svg\n data-p-icon=\"eye\"\n [class]=\"cx('unmaskIcon')\"\n [pBind]=\"ptm('unmaskIcon')\"\n (click)=\"onMaskToggle()\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"maskToggleAriaLabel()\"\n (keydown.enter)=\"onMaskToggleKeydown($event)\"\n (keydown.space)=\"onMaskToggleKeydown($event)\"\n />\n }\n @if (showIconTemplate() || _showIconTemplate()) {\n <span (click)=\"onMaskToggle()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"maskToggleAriaLabel()\" (keydown.enter)=\"onMaskToggleKeydown($event)\" (keydown.space)=\"onMaskToggleKeydown($event)\" [pBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate(); context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n }\n\n <p-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [pBind]=\"ptm('overlay')\" [attr.data-p]=\"overlayDataP()\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate()\"></ng-container>\n @if (contentTemplate() || _contentTemplate()) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate()\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [pBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [pBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter()?.width ?? '' }\" [pBind]=\"ptm('meterLabel')\" [attr.data-p]=\"meterDataP()\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [pBind]=\"ptm('meterText')\">{{ infoText() }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate()\"></ng-container>\n </div>\n </ng-template>\n </p-overlay>\n `,\n providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': \"cx('root')\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'containerDataP()'\n },\n hostDirectives: [Bind]\n})\nexport class Password extends BaseInput<PasswordPassThrough> {\n componentName = 'Password';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcPassword: Password | undefined = inject(PASSWORD_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n ariaLabel = input<string | undefined>();\n /**\n * Specifies one or more IDs in the DOM that labels the input field.\n * @group Props\n */\n ariaLabelledBy = input<string | undefined>();\n /**\n * Label of the input for accessibility.\n * @group Props\n */\n label = input<string | undefined>();\n /**\n * Text to prompt password entry. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n promptLabel = input<string | undefined>();\n /**\n * Regex value for medium regex.\n * @group Props\n */\n mediumRegex = input<string>('^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})');\n /**\n * Regex value for strong regex.\n * @group Props\n */\n strongRegex = input<string>('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})');\n /**\n * Text for a weak password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n weakLabel = input<string | undefined>();\n /**\n * Text for a medium password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n mediumLabel = input<string | undefined>();\n /**\n * Text for a strong password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n strongLabel = input<string | undefined>();\n /**\n * Identifier of the accessible input element.\n * @group Props\n */\n inputId = input<string | undefined>();\n /**\n * Whether to show the strength indicator or not.\n * @group Props\n */\n feedback = input<boolean, unknown>(true, { transform: booleanAttribute });\n /**\n * Whether to show an icon to display the password as plain text.\n * @group Props\n */\n toggleMask = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Style class of the input field.\n * @group Props\n */\n inputStyleClass = input<string | undefined>();\n /**\n * Inline style of the input field.\n * @group Props\n */\n inputStyle = input<{ [klass: string]: any } | null | undefined>();\n /**\n * Specify automated assistance in filling out password by browser.\n * @group Props\n */\n autocomplete = input<string | undefined>();\n /**\n * Advisory information to display on input.\n * @group Props\n */\n placeholder = input<string | undefined>();\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n autofocus = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n tabindex = input<number | undefined, unknown>(undefined, { transform: numberAttribute });\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @defaultValue 'self'\n * @group Props\n */\n appendTo = input<HTMLElement | ElementRef | TemplateRef<any> | 'self' | 'body' | null | undefined | any>('self');\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n /**\n * Whether to use overlay API feature. The properties of overlay API can be used like an object in it.\n * @group Props\n */\n overlayOptions = input<OverlayOptions | undefined>();\n /**\n * Callback to invoke when the component receives focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onFocus = output<Event>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onBlur = output<Event>();\n /**\n * Callback to invoke when clear button is clicked.\n * @group Emits\n */\n readonly onClear = output<any>();\n\n readonly input = viewChild.required<ElementRef>('input');\n\n /**\n * Custom template of content.\n * @group Templates\n */\n readonly contentTemplate = contentChild<Nullable<TemplateRef<void>>>('content', { descendants: false });\n\n /**\n * Custom template of footer.\n * @group Templates\n */\n readonly footerTemplate = contentChild<Nullable<TemplateRef<void>>>('footer', { descendants: false });\n\n /**\n * Custom template of header.\n * @group Templates\n */\n readonly headerTemplate = contentChild<Nullable<TemplateRef<void>>>('header', { descendants: false });\n\n /**\n * Custom template of clear icon.\n * @group Templates\n */\n readonly clearIconTemplate = contentChild<Nullable<TemplateRef<void>>>('clearicon', { descendants: false });\n\n /**\n * Custom template of hide icon.\n * @param {PasswordIconTemplateContext} context - icon context.\n * @see {@link PasswordIconTemplateContext}\n * @group Templates\n */\n readonly hideIconTemplate = contentChild<Nullable<TemplateRef<PasswordIconTemplateContext>>>('hideicon', { descendants: false });\n\n /**\n * Custom template of show icon.\n * @param {PasswordIconTemplateContext} context - icon context.\n * @see {@link PasswordIconTemplateContext}\n * @group Templates\n */\n readonly showIconTemplate = contentChild<Nullable<TemplateRef<PasswordIconTemplateContext>>>('showicon', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo());\n\n readonly _contentTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => !['header', 'footer', 'clearicon', 'hideicon', 'showicon'].includes(item.getType()))\n .at(-1)?.template\n );\n\n readonly _footerTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'footer')\n .at(-1)?.template\n );\n\n readonly _headerTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'header')\n .at(-1)?.template\n );\n\n readonly _clearIconTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'clearicon')\n .at(-1)?.template\n );\n\n readonly _hideIconTemplate = computed<TemplateRef<PasswordIconTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'hideicon')\n .at(-1)?.template\n );\n\n readonly _showIconTemplate = computed<TemplateRef<PasswordIconTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'showicon')\n .at(-1)?.template\n );\n\n overlayVisible = signal<boolean>(false);\n\n meter = signal<Nullable<Meter>>(undefined);\n\n infoText = signal<Nullable<string>>(undefined);\n\n focused = signal<boolean>(false);\n\n unmasked = signal<boolean>(false);\n\n mediumCheckRegExp = computed(() => new RegExp(this.mediumRegex()));\n\n strongCheckRegExp = computed(() => new RegExp(this.strongRegex()));\n\n value = signal<Nullable<string>>(null);\n\n translationSubscription = signal<Nullable<Subscription>>(undefined);\n\n _componentStyle = inject(PasswordStyle);\n\n overlayService = inject(OverlayService);\n\n onInit() {\n this.infoText.set(this.promptText());\n this.translationSubscription.set(\n this.config.translationObserver.subscribe(() => {\n this.updateUI(this.value() || '');\n })\n );\n }\n\n onInput(event: Event) {\n this.value.set((event.target as HTMLInputElement).value);\n this.onModelChange(this.value());\n }\n\n onInputFocus(event: Event) {\n this.focused.set(true);\n if (this.feedback()) {\n this.overlayVisible.set(true);\n }\n\n this.onFocus.emit(event);\n }\n\n onInputBlur(event: Event) {\n this.focused.set(false);\n if (this.feedback()) {\n this.overlayVisible.set(false);\n }\n\n this.onModelTouched();\n this.onBlur.emit(event);\n }\n\n onKeyUp(event: KeyboardEvent) {\n if (this.feedback()) {\n let value = (event.target as HTMLInputElement).value;\n this.updateUI(value);\n\n if (event.code === 'Escape') {\n this.overlayVisible() && this.overlayVisible.set(false);\n\n return;\n }\n\n if (!this.overlayVisible()) {\n this.overlayVisible.set(true);\n }\n }\n }\n\n updateUI(value: string) {\n let label = null;\n let meter: { strength: string; width: string } | null = null;\n\n switch (this.testStrength(value)) {\n case 1:\n label = this.weakText();\n meter = {\n strength: 'weak',\n width: '33.33%'\n };\n break;\n\n case 2:\n label = this.mediumText();\n meter = {\n strength: 'medium',\n width: '66.66%'\n };\n break;\n\n case 3:\n label = this.strongText();\n meter = {\n strength: 'strong',\n width: '100%'\n };\n break;\n\n default:\n label = this.promptText();\n meter = null;\n break;\n }\n\n this.meter.set(meter);\n this.infoText.set(label);\n }\n\n onMaskToggle() {\n this.unmasked.update((unmasked) => !unmasked);\n }\n\n onMaskToggleKeydown(event: Event) {\n event.preventDefault();\n this.onMaskToggle();\n }\n\n maskToggleAriaLabel() {\n const aria = this.config.translation.aria as Record<string, string | undefined> | undefined;\n return this.unmasked() ? (aria?.['passwordHide'] ?? 'Hide Password') : (aria?.['passwordShow'] ?? 'Show Password');\n }\n\n onOverlayClick(event: Event) {\n this.overlayService.add({\n originalEvent: event,\n target: this.el.nativeElement\n });\n }\n\n testStrength(str: string) {\n let level = 0;\n\n if (this.strongCheckRegExp().test(str)) level = 3;\n else if (this.mediumCheckRegExp().test(str)) level = 2;\n else if (str.length) level = 1;\n\n return level;\n }\n\n promptText() {\n return this.promptLabel() || this.getTranslation(TranslationKeys.PASSWORD_PROMPT);\n }\n\n weakText() {\n return this.weakLabel() || this.getTranslation(TranslationKeys.WEAK);\n }\n\n mediumText() {\n return this.mediumLabel() || this.getTranslation(TranslationKeys.MEDIUM);\n }\n\n strongText() {\n return this.strongLabel() || this.getTranslation(TranslationKeys.STRONG);\n }\n\n getTranslation(option: string) {\n return this.config.getTranslation(option);\n }\n\n clear() {\n this.value.set(null);\n this.onModelChange(this.value());\n this.writeValue(this.value());\n this.onClear.emit(undefined);\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 if (value === undefined) this.value.set(null);\n else this.value.set(value);\n\n if (this.feedback()) this.updateUI(this.value() || '');\n setModelValue(this.value());\n }\n\n onDestroy() {\n const translationSubscription = this.translationSubscription();\n if (translationSubscription) {\n translationSubscription.unsubscribe();\n }\n }\n\n containerDataP = computed(() =>\n this.cn({\n fluid: this.hasFluid\n })\n );\n\n meterDataP = computed(() =>\n this.cn({\n [this.meter()?.strength as string]: this.meter()?.strength\n })\n );\n\n overlayDataP = computed(() =>\n this.cn({\n ['overlay-' + this.$appendTo()]: 'overlay-' + this.$appendTo()\n })\n );\n}\n\n@NgModule({\n imports: [Password, PasswordDirective, SharedModule, BindModule],\n exports: [PasswordDirective, Password, SharedModule, BindModule]\n})\nexport class PasswordModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["password_style"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;EACpBA,OAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Cf;AAED,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,SAAS,EAAE,KAAK,MAAM,GAAG,UAAU,GAAG,SAAS,EAAE,CAAC;AAChG,IAAA,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU;CAClC;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,uCAAuC;AACvC,QAAA;AACI,YAAA,uBAAuB,EAAE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AmQzC,cAAc,CAAA;uGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,OAAA,EAAA,CA1bd,QAAQ,EA/eR,iBAAiB,EAs6Ba,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CAt6BtD,iBAAiB,EA+ejB,QAAQ,EAwbsB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;wGAEtD,cAAc,EAAA,OAAA,EAAA,CAHb,QAAQ,EAAqB,YAAY,EAAE,UAAU,EACxB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;;2FAEtD,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,CAAC;oBAChE,OAAO,EAAE,CAAC,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU;AAClE,iBAAA;;;AC5+BD;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-password.mjs","sources":["../../src/password/style/passwordstyle.ts","../../src/password/password.ts","../../src/password/exhaustive-ui-core-password.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style as password_style } from '@exhaustive-ui/styles/password';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst style = /*css*/ `\n${password_style}\n\n/* For Exhaustive */\n.p-password-overlay {\n min-width: 100%;\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext {\n border-color: dt('inputtext.invalid.border.color');\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext:enabled:focus {\n border-color: dt('inputtext.focus.border.color');\n}\n\np-password.ng-invalid.ng-dirty .p-inputtext::placeholder {\n color: dt('inputtext.invalid.placeholder.color');\n}\n\n.p-password-fluid-directive {\n width: 100%;\n}\n\n/* Animations */\n.p-password-enter {\n animation: p-animate-password-enter 300ms cubic-bezier(.19,1,.22,1);\n}\n\n.p-password-leave {\n animation: p-animate-password-leave 300ms cubic-bezier(.19,1,.22,1);\n}\n\n@keyframes p-animate-password-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n}\n\n@keyframes p-animate-password-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n}\n`;\n\nconst inlineStyles = {\n root: ({ instance }) => ({ position: instance.$appendTo() === 'self' ? 'relative' : undefined }),\n overlay: { position: 'absolute' }\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-password p-component p-inputwrapper',\n {\n 'p-inputwrapper-filled': instance.$filled(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-inputwrapper-focus': instance.focused(),\n 'p-password-fluid': instance.hasFluid\n }\n ],\n rootDirective: ({ instance }) => [\n 'p-password p-inputtext p-component p-inputwrapper',\n {\n 'p-inputwrapper-filled': instance.$filled(),\n 'p-variant-filled': instance.$variant() === 'filled',\n 'p-password-fluid-directive': instance.hasFluid()\n }\n ],\n pcInputText: 'p-password-input',\n maskIcon: 'p-password-toggle-mask-icon p-password-mask-icon',\n unmaskIcon: 'p-password-toggle-mask-icon p-password-unmask-icon',\n overlay: 'p-password-overlay p-component',\n content: 'p-password-content',\n meter: 'p-password-meter',\n meterLabel: ({ instance }) => `p-password-meter-label ${instance.meter() ? 'p-password-meter-' + instance.meter().strength : ''}`,\n meterText: 'p-password-meter-text',\n clearIcon: 'p-password-clear-icon'\n};\n\n@Injectable()\nexport class PasswordStyle extends BaseStyle {\n name = 'password';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Password displays strength indicator for password fields.\n *\n * [Live Demo](https://exhaustive-ui.com/password/)\n *\n * @module passwordstyle\n *\n */\n\nexport enum PasswordClasses {\n /**\n * Class name of the root element\n */\n root = 'p-password',\n /**\n * Class name of the pt input element\n */\n pcInputText = 'p-password-input',\n /**\n * Class name of the mask icon element\n */\n maskIcon = 'p-password-mask-icon',\n /**\n * Class name of the unmask icon element\n */\n unmaskIcon = 'p-password-unmask-icon',\n /**\n * Class name of the overlay element\n */\n overlay = 'p-password-overlay',\n /**\n * Class name of the meter element\n */\n meter = 'p-password-meter',\n /**\n * Class name of the meter label element\n */\n meterLabel = 'p-password-meter-label',\n /**\n * Class name of the meter text element\n */\n meterText = 'p-password-meter-text',\n /**\n * Class name of the clear icon\n */\n clearIcon = 'p-password-clear-icon'\n}\n\nexport interface PasswordStyle extends BaseStyle {}\n","import { CommonModule, isPlatformBrowser } from '@angular/common';\nimport {\n afterEveryRender,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n Directive,\n effect,\n ElementRef,\n forwardRef,\n HostListener,\n inject,\n InjectionToken,\n input,\n NgModule,\n NgZone,\n numberAttribute,\n Pipe,\n PipeTransform,\n signal,\n TemplateRef,\n untracked,\n ViewEncapsulation,\n viewChild,\n contentChild,\n contentChildren,\n output\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { MotionOptions } from '@exhaustive-ui/motion';\nimport { absolutePosition, addClass, hasClass, isTouchDevice, removeClass } from '@exhaustive-ui/utils';\nimport { OverlayOptions, OverlayService, PrimeTemplate, SharedModule, TranslationKeys } from '@exhaustive-ui/core/api';\nimport { AutoFocus } from '@exhaustive-ui/core/autofocus';\nimport { PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { BaseEditableHolder } from '@exhaustive-ui/core/baseeditableholder';\nimport { BaseInput } from '@exhaustive-ui/core/baseinput';\nimport { Bind, BindModule } from '@exhaustive-ui/core/bind';\nimport { ConnectedOverlayScrollHandler, DomHandler } from '@exhaustive-ui/core/dom';\nimport { Fluid } from '@exhaustive-ui/core/fluid';\nimport { EyeIcon, EyeSlashIcon, TimesIcon } from '@exhaustive-ui/core/icons';\nimport { InputText } from '@exhaustive-ui/core/inputtext';\nimport { Overlay } from '@exhaustive-ui/core/overlay';\nimport { Nullable, VoidListener } from '@exhaustive-ui/core/ts-helpers';\nimport type { PasswordIconTemplateContext, PasswordPassThrough } from '@exhaustive-ui/core/types/password';\nimport { Subscription } from 'rxjs';\nimport { PasswordStyle } from './style/passwordstyle';\n\nconst PASSWORD_DIRECTIVE_INSTANCE = new InjectionToken<PasswordDirective>('PASSWORD_DIRECTIVE_INSTANCE');\n\nconst PASSWORD_INSTANCE = new InjectionToken<Password>('PASSWORD_INSTANCE');\n\ntype Meter = {\n strength: string;\n width: string;\n};\n/**\n * Password directive.\n * @group Components\n */\n@Directive({\n selector: '[pPassword]',\n host: {\n '[class]': \"cx('rootDirective')\"\n },\n providers: [PasswordStyle, { provide: PASSWORD_DIRECTIVE_INSTANCE, useExisting: PasswordDirective }, { provide: PARENT_INSTANCE, useExisting: PasswordDirective }],\n hostDirectives: [Bind]\n})\nexport class PasswordDirective extends BaseEditableHolder {\n zone = inject(NgZone);\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcPasswordDirective: PasswordDirective | undefined = inject(PASSWORD_DIRECTIVE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n /**\n * Used to pass attributes to DOM elements inside the Password component.\n * @defaultValue undefined\n * @group Props\n */\n pPasswordPT = input<PasswordPassThrough | undefined>();\n /**\n * Indicates whether the component should be rendered without styles.\n * @defaultValue undefined\n * @group Props\n */\n pPasswordUnstyled = input<boolean | undefined>();\n /**\n * Text to prompt password entry. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n promptLabel = input<string>('Enter a password');\n /**\n * Text for a weak password. Defaults to PrimeNG I18N API configuration.\n * @group Props\n */\n weakLabel = input<string>('Weak');\n /**\n * Text for a medium password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n mediumLabel = input<string>('Medium');\n /**\n * Text for a strong password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n strongLabel = input<string>('Strong');\n /**\n * Whether to show the strength indicator or not.\n * @group Props\n */\n feedback = input<boolean, unknown>(true, { transform: booleanAttribute });\n /**\n * Sets the visibility of the password field.\n * @defaultValue false\n * @type boolean\n * @group Props\n */\n showPassword = input<boolean | undefined>();\n /**\n * Specifies the input variant of the component.\n * @defaultValue 'outlined'\n * @group Props\n */\n variant = input<'filled' | 'outlined' | undefined>();\n /**\n * Spans 100% width of the container when enabled.\n * @defaultValue false\n * @group Props\n */\n fluid = input(undefined, { transform: booleanAttribute });\n /**\n * Specifies the size of the component.\n * @defaultValue undefined\n * @group Props\n */\n size = input<'large' | 'small' | undefined>(undefined, { alias: 'pSize' });\n\n pcFluid: Fluid | null = inject(Fluid, { optional: true, host: true, skipSelf: true });\n\n $variant = computed(() => this.variant() || this.config.inputStyle() || this.config.inputVariant());\n\n readonly hasFluid = computed(() => this.fluid() ?? !!this.pcFluid);\n\n panel = signal<Nullable<HTMLDivElement>>(undefined);\n\n meter = signal<Nullable<HTMLDivElement>>(undefined);\n\n info = signal<Nullable<HTMLDivElement>>(undefined);\n\n content = signal<Nullable<HTMLDivElement>>(undefined);\n\n label = signal<Nullable<HTMLLabelElement>>(undefined);\n\n scrollHandler = signal<Nullable<ConnectedOverlayScrollHandler>>(undefined);\n\n documentResizeListener = signal<VoidListener>(undefined);\n\n _componentStyle = inject(PasswordStyle);\n\n constructor() {\n super();\n\n effect(() => {\n const pt = this.pPasswordPT();\n pt && this.directivePT.set(pt);\n });\n\n effect(() => {\n this.pPasswordUnstyled() && this.directiveUnstyled.set(this.pPasswordUnstyled());\n });\n\n effect(() => {\n const show = this.showPassword();\n if (show !== undefined) {\n untracked(() => (this.el.nativeElement.type = show ? 'text' : 'password'));\n }\n });\n\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n @HostListener('input', ['$event'])\n onInput(e: Event) {\n this.writeModelValue(this.el.nativeElement.value);\n }\n\n createPanel() {\n if (isPlatformBrowser(this.platformId)) {\n const panel = this.renderer.createElement('div');\n this.renderer.addClass(panel, 'p-password-overlay');\n this.renderer.addClass(panel, 'p-component');\n this.panel.set(panel);\n\n const content = this.renderer.createElement('div');\n this.renderer.addClass(content, 'p-password-content');\n this.renderer.appendChild(panel, content);\n this.content.set(content);\n\n const meter = this.renderer.createElement('div');\n this.renderer.addClass(meter, 'p-password-meter');\n this.renderer.appendChild(content, meter);\n this.meter.set(meter);\n\n const label = this.renderer.createElement('div');\n this.renderer.addClass(label, 'p-password-meter-label');\n this.renderer.appendChild(meter, label);\n this.label.set(label);\n\n const info = this.renderer.createElement('div');\n this.renderer.addClass(info, 'p-password-meter-text');\n this.renderer.setProperty(info, 'textContent', this.promptLabel());\n this.renderer.appendChild(content, info);\n this.info.set(info);\n\n this.renderer.setStyle(panel, 'minWidth', `${this.el.nativeElement.offsetWidth}px`);\n this.renderer.appendChild(document.body, panel);\n this.updateMeter();\n }\n }\n\n showOverlay() {\n if (this.feedback()) {\n if (!this.panel()) {\n this.createPanel();\n }\n\n const panel = this.panel()!;\n this.renderer.setStyle(panel, 'zIndex', String(++DomHandler.zindex));\n this.renderer.setStyle(panel, 'display', 'block');\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n addClass(this.panel()!, 'p-connected-overlay-visible');\n this.bindScrollListener();\n this.bindDocumentResizeListener();\n }, 1);\n });\n absolutePosition(panel, this.el.nativeElement);\n }\n }\n\n hideOverlay() {\n const panel = this.panel();\n if (this.feedback() && panel) {\n addClass(panel, 'p-connected-overlay-hidden');\n removeClass(panel, 'p-connected-overlay-visible');\n this.unbindScrollListener();\n this.unbindDocumentResizeListener();\n\n this.zone.runOutsideAngular(() => {\n setTimeout(() => {\n this.onDestroy();\n }, 150);\n });\n }\n }\n\n @HostListener('focus')\n onFocus() {\n this.showOverlay();\n }\n\n @HostListener('blur')\n onBlur() {\n this.hideOverlay();\n }\n\n labelSignal = signal('');\n\n strength = signal<'weak' | 'medium' | 'strong' | null>(null);\n\n @HostListener('keyup', ['$event'])\n onKeyup(e: Event) {\n if (this.feedback()) {\n let value = (e.target as HTMLInputElement).value,\n label: string | null = null,\n meterPos: string | null = null;\n\n let strength: 'weak' | 'medium' | 'strong' | null = null;\n\n if (value.length === 0) {\n label = this.promptLabel();\n meterPos = '0px 0px';\n } else {\n var score = this.testStrength(value);\n\n if (score < 30) {\n label = this.weakLabel();\n meterPos = '0px -10px';\n strength = 'weak';\n } else if (score >= 30 && score < 80) {\n label = this.mediumLabel();\n meterPos = '0px -20px';\n strength = 'medium';\n } else if (score >= 80) {\n label = this.strongLabel();\n meterPos = '0px -30px';\n strength = 'strong';\n }\n }\n\n this.labelSignal.set(label!);\n this.strength.set(strength);\n this.updateMeter();\n\n const panel = this.panel();\n if (!panel || !hasClass(panel, 'p-connected-overlay-visible')) {\n this.showOverlay();\n }\n\n const meter = this.meter();\n if (meter) {\n this.renderer.setStyle(meter, 'backgroundPosition', meterPos);\n }\n\n const info = this.info();\n if (info) {\n info.textContent = label;\n }\n }\n }\n\n updateMeter() {\n const meterLabel = this.label();\n const info = this.info();\n if (this.labelSignal() && meterLabel && info) {\n // The strength comes from the score, not from the (possibly translated) label text,\n // and is drawn on the meter label like the p-password component does.\n const strength = this.strength();\n\n ['weak', 'medium', 'strong'].forEach((level) => this.renderer.removeClass(meterLabel, this.strengthClass(level)));\n if (strength) {\n this.renderer.addClass(meterLabel, this.strengthClass(strength));\n this.renderer.setStyle(meterLabel, 'width', this.getWidth(strength));\n } else {\n this.renderer.removeStyle(meterLabel, 'width');\n }\n info.textContent = this.labelSignal();\n }\n }\n\n getWidth(label: string) {\n return label === 'weak' ? '33.33%' : label === 'medium' ? '66.66%' : label === 'strong' ? '100%' : '';\n }\n\n strengthClass(label) {\n return `p-password-meter${label ? `-${label}` : ''}`;\n }\n\n testStrength(str: string) {\n let grade: number = 0;\n let val: Nullable<RegExpMatchArray>;\n\n val = str.match('[0-9]');\n grade += this.normalize(val ? val.length : 1 / 4, 1) * 25;\n\n val = str.match('[a-zA-Z]');\n grade += this.normalize(val ? val.length : 1 / 2, 3) * 10;\n\n val = str.match('[!@#$%^&*?_~.,;=]');\n grade += this.normalize(val ? val.length : 1 / 6, 1) * 35;\n\n val = str.match('[A-Z]');\n grade += this.normalize(val ? val.length : 1 / 6, 1) * 30;\n\n grade *= str.length / 8;\n\n return grade > 100 ? 100 : grade;\n }\n\n normalize(x: number, y: number) {\n let diff = x - y;\n\n if (diff <= 0) return x / y;\n else return 1 + 0.5 * (x / (x + y / 4));\n }\n\n bindScrollListener() {\n if (!this.scrollHandler()) {\n this.scrollHandler.set(\n new ConnectedOverlayScrollHandler(this.el.nativeElement, () => {\n if (hasClass(this.panel()!, 'p-connected-overlay-visible')) {\n this.hideOverlay();\n }\n })\n );\n }\n\n this.scrollHandler()!.bindScrollListener();\n }\n\n unbindScrollListener() {\n const scrollHandler = this.scrollHandler();\n if (scrollHandler) {\n scrollHandler.unbindScrollListener();\n }\n }\n\n bindDocumentResizeListener() {\n if (isPlatformBrowser(this.platformId)) {\n if (!this.documentResizeListener()) {\n const window = this.document.defaultView as Window;\n this.documentResizeListener.set(this.renderer.listen(window, 'resize', this.onWindowResize.bind(this)));\n }\n }\n }\n\n unbindDocumentResizeListener() {\n const documentResizeListener = this.documentResizeListener();\n if (documentResizeListener) {\n documentResizeListener();\n this.documentResizeListener.set(null);\n }\n }\n\n onWindowResize() {\n if (!isTouchDevice()) {\n this.hideOverlay();\n }\n }\n\n onDestroy() {\n const panel = this.panel();\n if (panel) {\n const scrollHandler = this.scrollHandler();\n if (scrollHandler) {\n scrollHandler.destroy();\n this.scrollHandler.set(null);\n }\n\n this.unbindDocumentResizeListener();\n\n this.renderer.removeChild(this.document.body, panel);\n this.panel.set(null);\n this.meter.set(null);\n this.info.set(null);\n }\n }\n}\n\ntype Mapper<T, G> = (item: T, ...args: any[]) => G;\n\n@Pipe({\n name: 'mapper',\n pure: true\n})\nexport class MapperPipe implements PipeTransform {\n public transform<T, G>(value: T, mapper: Mapper<T, G>, ...args: unknown[]): G {\n return mapper(value, ...args);\n }\n}\n\nexport const Password_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Password),\n multi: true\n};\n/**\n * Password displays strength indicator for password fields.\n * @group Components\n */\n@Component({\n selector: 'p-password',\n imports: [CommonModule, InputText, AutoFocus, TimesIcon, EyeSlashIcon, EyeIcon, Overlay, SharedModule, BindModule],\n template: `\n <input\n #input\n [attr.label]=\"label()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledBy]=\"ariaLabelledBy()\"\n [attr.id]=\"inputId()\"\n [attr.tabindex]=\"tabindex()\"\n pInputText\n [pSize]=\"size()\"\n [ngStyle]=\"inputStyle()\"\n [class]=\"cn(cx('pcInputText'), inputStyleClass())\"\n [attr.type]=\"unmasked() ? 'text' : 'password'\"\n [attr.placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [value]=\"value()\"\n [variant]=\"$variant()\"\n [attr.name]=\"name()\"\n [attr.maxlength]=\"maxlength()\"\n [attr.minlength]=\"minlength()\"\n [attr.required]=\"required() ? '' : undefined\"\n [attr.disabled]=\"$disabled() ? '' : undefined\"\n [attr.readonly]=\"readonly() ? '' : undefined\"\n [invalid]=\"invalid()\"\n (input)=\"onInput($event)\"\n (focus)=\"onInputFocus($event)\"\n (blur)=\"onInputBlur($event)\"\n (keyup)=\"onKeyUp($event)\"\n [pAutoFocus]=\"autofocus()\"\n [pt]=\"ptm('pcInputText')\"\n [unstyled]=\"unstyled()\"\n />\n @if (showClear() && value() != null && !readonly()) {\n @if (!clearIconTemplate() && !_clearIconTemplate()) {\n <svg data-p-icon=\"times\" [class]=\"cx('clearIcon')\" (click)=\"clear()\" [pBind]=\"ptm('clearIcon')\" />\n }\n <span (click)=\"clear()\" [class]=\"cx('clearIcon')\" [pBind]=\"ptm('clearIcon')\">\n <ng-template *ngTemplateOutlet=\"clearIconTemplate() || _clearIconTemplate()\"></ng-template>\n </span>\n }\n\n @if (toggleMask()) {\n @if (unmasked()) {\n @if (!hideIconTemplate() && !_hideIconTemplate()) {\n <svg\n data-p-icon=\"eyeslash\"\n [class]=\"cx('maskIcon')\"\n [pBind]=\"ptm('maskIcon')\"\n (click)=\"onMaskToggle()\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"maskToggleAriaLabel()\"\n (keydown.enter)=\"onMaskToggleKeydown($event)\"\n (keydown.space)=\"onMaskToggleKeydown($event)\"\n />\n }\n @if (hideIconTemplate() || _hideIconTemplate()) {\n <span (click)=\"onMaskToggle()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"maskToggleAriaLabel()\" (keydown.enter)=\"onMaskToggleKeydown($event)\" (keydown.space)=\"onMaskToggleKeydown($event)\" [pBind]=\"ptm('maskIcon')\">\n <ng-template *ngTemplateOutlet=\"hideIconTemplate() || _hideIconTemplate(); context: { class: cx('maskIcon') }\"></ng-template>\n </span>\n }\n }\n @if (!unmasked()) {\n @if (!showIconTemplate() && !_showIconTemplate()) {\n <svg\n data-p-icon=\"eye\"\n [class]=\"cx('unmaskIcon')\"\n [pBind]=\"ptm('unmaskIcon')\"\n (click)=\"onMaskToggle()\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"maskToggleAriaLabel()\"\n (keydown.enter)=\"onMaskToggleKeydown($event)\"\n (keydown.space)=\"onMaskToggleKeydown($event)\"\n />\n }\n @if (showIconTemplate() || _showIconTemplate()) {\n <span (click)=\"onMaskToggle()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"maskToggleAriaLabel()\" (keydown.enter)=\"onMaskToggleKeydown($event)\" (keydown.space)=\"onMaskToggleKeydown($event)\" [pBind]=\"ptm('unmaskIcon')\">\n <ng-template *ngTemplateOutlet=\"showIconTemplate() || _showIconTemplate(); context: { class: cx('unmaskIcon') }\"></ng-template>\n </span>\n }\n }\n }\n\n <p-overlay #overlay [hostAttrSelector]=\"$attrSelector\" [(visible)]=\"overlayVisible\" [options]=\"overlayOptions()\" [target]=\"'@parent'\" [appendTo]=\"$appendTo()\" [unstyled]=\"unstyled()\" [pt]=\"ptm('pcOverlay')\" [motionOptions]=\"motionOptions()\">\n <ng-template #content>\n <div [class]=\"cx('overlay')\" [style]=\"sx('overlay')\" (click)=\"onOverlayClick($event)\" [pBind]=\"ptm('overlay')\" [attr.data-p]=\"overlayDataP()\">\n <ng-container *ngTemplateOutlet=\"headerTemplate() || _headerTemplate()\"></ng-container>\n @if (contentTemplate() || _contentTemplate()) {\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate()\"></ng-container>\n } @else {\n <div [class]=\"cx('content')\" [pBind]=\"ptm('content')\">\n <div [class]=\"cx('meter')\" [pBind]=\"ptm('meter')\">\n <div [class]=\"cx('meterLabel')\" [ngStyle]=\"{ width: meter()?.width ?? '' }\" [pBind]=\"ptm('meterLabel')\" [attr.data-p]=\"meterDataP()\"></div>\n </div>\n <div [class]=\"cx('meterText')\" [pBind]=\"ptm('meterText')\">{{ infoText() }}</div>\n </div>\n }\n <ng-container *ngTemplateOutlet=\"footerTemplate() || _footerTemplate()\"></ng-container>\n </div>\n </ng-template>\n </p-overlay>\n `,\n providers: [Password_VALUE_ACCESSOR, PasswordStyle, { provide: PASSWORD_INSTANCE, useExisting: Password }, { provide: PARENT_INSTANCE, useExisting: Password }],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': \"cx('root')\",\n '[style]': \"sx('root')\",\n '[attr.data-p]': 'containerDataP()'\n },\n hostDirectives: [Bind]\n})\nexport class Password extends BaseInput<PasswordPassThrough> {\n componentName = 'Password';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcPassword: Password | undefined = inject(PASSWORD_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n ariaLabel = input<string | undefined>();\n /**\n * Specifies one or more IDs in the DOM that labels the input field.\n * @group Props\n */\n ariaLabelledBy = input<string | undefined>();\n /**\n * Label of the input for accessibility.\n * @group Props\n */\n label = input<string | undefined>();\n /**\n * Text to prompt password entry. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n promptLabel = input<string | undefined>();\n /**\n * Regex value for medium regex.\n * @group Props\n */\n mediumRegex = input<string>('^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})');\n /**\n * Regex value for strong regex.\n * @group Props\n */\n strongRegex = input<string>('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})');\n /**\n * Text for a weak password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n weakLabel = input<string | undefined>();\n /**\n * Text for a medium password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n mediumLabel = input<string | undefined>();\n /**\n * Text for a strong password. Defaults to Exhaustive I18N API configuration.\n * @group Props\n */\n strongLabel = input<string | undefined>();\n /**\n * Identifier of the accessible input element.\n * @group Props\n */\n inputId = input<string | undefined>();\n /**\n * Whether to show the strength indicator or not.\n * @group Props\n */\n feedback = input<boolean, unknown>(true, { transform: booleanAttribute });\n /**\n * When present, it specifies that an input field is read-only.\n * @group Props\n */\n readonly = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Whether to show an icon to display the password as plain text.\n * @group Props\n */\n toggleMask = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Style class of the input field.\n * @group Props\n */\n inputStyleClass = input<string | undefined>();\n /**\n * Inline style of the input field.\n * @group Props\n */\n inputStyle = input<{ [klass: string]: any } | null | undefined>();\n /**\n * Specify automated assistance in filling out password by browser.\n * @group Props\n */\n autocomplete = input<string | undefined>();\n /**\n * Advisory information to display on input.\n * @group Props\n */\n placeholder = input<string | undefined>();\n /**\n * When enabled, a clear icon is displayed to clear the value.\n * @group Props\n */\n showClear = input<boolean, unknown>(false, { transform: booleanAttribute });\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n autofocus = input<boolean | undefined, unknown>(undefined, { transform: booleanAttribute });\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n tabindex = input<number | undefined, unknown>(undefined, { transform: numberAttribute });\n /**\n * Target element to attach the overlay, valid values are \"body\" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]=\"mydiv\" for a div element having #mydiv as variable name).\n * @defaultValue 'self'\n * @group Props\n */\n appendTo = input<HTMLElement | ElementRef | TemplateRef<any> | 'self' | 'body' | null | undefined | any>('self');\n /**\n * The motion options.\n * @group Props\n */\n motionOptions = input<MotionOptions | undefined>(undefined);\n /**\n * Whether to use overlay API feature. The properties of overlay API can be used like an object in it.\n * @group Props\n */\n overlayOptions = input<OverlayOptions | undefined>();\n /**\n * Callback to invoke when the component receives focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onFocus = output<Event>();\n /**\n * Callback to invoke when the component loses focus.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onBlur = output<Event>();\n /**\n * Callback to invoke when clear button is clicked.\n * @group Emits\n */\n readonly onClear = output<any>();\n\n readonly input = viewChild.required<ElementRef>('input');\n\n /**\n * Custom template of content.\n * @group Templates\n */\n readonly contentTemplate = contentChild<Nullable<TemplateRef<void>>>('content', { descendants: false });\n\n /**\n * Custom template of footer.\n * @group Templates\n */\n readonly footerTemplate = contentChild<Nullable<TemplateRef<void>>>('footer', { descendants: false });\n\n /**\n * Custom template of header.\n * @group Templates\n */\n readonly headerTemplate = contentChild<Nullable<TemplateRef<void>>>('header', { descendants: false });\n\n /**\n * Custom template of clear icon.\n * @group Templates\n */\n readonly clearIconTemplate = contentChild<Nullable<TemplateRef<void>>>('clearicon', { descendants: false });\n\n /**\n * Custom template of hide icon.\n * @param {PasswordIconTemplateContext} context - icon context.\n * @see {@link PasswordIconTemplateContext}\n * @group Templates\n */\n readonly hideIconTemplate = contentChild<Nullable<TemplateRef<PasswordIconTemplateContext>>>('hideicon', { descendants: false });\n\n /**\n * Custom template of show icon.\n * @param {PasswordIconTemplateContext} context - icon context.\n * @see {@link PasswordIconTemplateContext}\n * @group Templates\n */\n readonly showIconTemplate = contentChild<Nullable<TemplateRef<PasswordIconTemplateContext>>>('showicon', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n $appendTo = computed(() => this.appendTo() || this.config.overlayAppendTo());\n\n readonly _contentTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => !['header', 'footer', 'clearicon', 'hideicon', 'showicon'].includes(item.getType()))\n .at(-1)?.template\n );\n\n readonly _footerTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'footer')\n .at(-1)?.template\n );\n\n readonly _headerTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'header')\n .at(-1)?.template\n );\n\n readonly _clearIconTemplate = computed<TemplateRef<void> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'clearicon')\n .at(-1)?.template\n );\n\n readonly _hideIconTemplate = computed<TemplateRef<PasswordIconTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'hideicon')\n .at(-1)?.template\n );\n\n readonly _showIconTemplate = computed<TemplateRef<PasswordIconTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'showicon')\n .at(-1)?.template\n );\n\n overlayVisible = signal<boolean>(false);\n\n meter = signal<Nullable<Meter>>(undefined);\n\n infoText = signal<Nullable<string>>(undefined);\n\n focused = signal<boolean>(false);\n\n unmasked = signal<boolean>(false);\n\n mediumCheckRegExp = computed(() => new RegExp(this.mediumRegex()));\n\n strongCheckRegExp = computed(() => new RegExp(this.strongRegex()));\n\n value = signal<Nullable<string>>(null);\n\n translationSubscription = signal<Nullable<Subscription>>(undefined);\n\n _componentStyle = inject(PasswordStyle);\n\n overlayService = inject(OverlayService);\n\n onInit() {\n this.infoText.set(this.promptText());\n this.translationSubscription.set(\n this.config.translationObserver.subscribe(() => {\n this.updateUI(this.value() || '');\n })\n );\n }\n\n onInput(event: Event) {\n this.value.set((event.target as HTMLInputElement).value);\n this.onModelChange(this.value());\n }\n\n onInputFocus(event: Event) {\n this.focused.set(true);\n if (this.feedback()) {\n this.overlayVisible.set(true);\n }\n\n this.onFocus.emit(event);\n }\n\n onInputBlur(event: Event) {\n this.focused.set(false);\n if (this.feedback()) {\n this.overlayVisible.set(false);\n }\n\n this.onModelTouched();\n this.onBlur.emit(event);\n }\n\n onKeyUp(event: KeyboardEvent) {\n if (this.feedback()) {\n let value = (event.target as HTMLInputElement).value;\n this.updateUI(value);\n\n if (event.code === 'Escape') {\n this.overlayVisible() && this.overlayVisible.set(false);\n\n return;\n }\n\n if (!this.overlayVisible()) {\n this.overlayVisible.set(true);\n }\n }\n }\n\n updateUI(value: string) {\n let label = null;\n let meter: { strength: string; width: string } | null = null;\n\n switch (this.testStrength(value)) {\n case 1:\n label = this.weakText();\n meter = {\n strength: 'weak',\n width: '33.33%'\n };\n break;\n\n case 2:\n label = this.mediumText();\n meter = {\n strength: 'medium',\n width: '66.66%'\n };\n break;\n\n case 3:\n label = this.strongText();\n meter = {\n strength: 'strong',\n width: '100%'\n };\n break;\n\n default:\n label = this.promptText();\n meter = null;\n break;\n }\n\n this.meter.set(meter);\n this.infoText.set(label);\n }\n\n onMaskToggle() {\n this.unmasked.update((unmasked) => !unmasked);\n }\n\n onMaskToggleKeydown(event: Event) {\n event.preventDefault();\n this.onMaskToggle();\n }\n\n maskToggleAriaLabel() {\n const aria = this.config.translation.aria as Record<string, string | undefined> | undefined;\n return this.unmasked() ? (aria?.['passwordHide'] ?? 'Hide Password') : (aria?.['passwordShow'] ?? 'Show Password');\n }\n\n onOverlayClick(event: Event) {\n this.overlayService.add({\n originalEvent: event,\n target: this.el.nativeElement\n });\n }\n\n testStrength(str: string) {\n let level = 0;\n\n if (this.strongCheckRegExp().test(str)) level = 3;\n else if (this.mediumCheckRegExp().test(str)) level = 2;\n else if (str.length) level = 1;\n\n return level;\n }\n\n promptText() {\n return this.promptLabel() || this.getTranslation(TranslationKeys.PASSWORD_PROMPT);\n }\n\n weakText() {\n return this.weakLabel() || this.getTranslation(TranslationKeys.WEAK);\n }\n\n mediumText() {\n return this.mediumLabel() || this.getTranslation(TranslationKeys.MEDIUM);\n }\n\n strongText() {\n return this.strongLabel() || this.getTranslation(TranslationKeys.STRONG);\n }\n\n getTranslation(option: string) {\n return this.config.getTranslation(option);\n }\n\n clear() {\n this.value.set(null);\n this.onModelChange(this.value());\n this.writeValue(this.value());\n this.onClear.emit(undefined);\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 if (value === undefined) this.value.set(null);\n else this.value.set(value);\n\n if (this.feedback()) this.updateUI(this.value() || '');\n setModelValue(this.value());\n }\n\n onDestroy() {\n const translationSubscription = this.translationSubscription();\n if (translationSubscription) {\n translationSubscription.unsubscribe();\n }\n }\n\n containerDataP = computed(() =>\n this.cn({\n fluid: this.hasFluid\n })\n );\n\n meterDataP = computed(() =>\n this.cn({\n [this.meter()?.strength as string]: this.meter()?.strength\n })\n );\n\n overlayDataP = computed(() =>\n this.cn({\n ['overlay-' + this.$appendTo()]: 'overlay-' + this.$appendTo()\n })\n );\n}\n\n@NgModule({\n imports: [Password, PasswordDirective, SharedModule, BindModule],\n exports: [PasswordDirective, Password, SharedModule, BindModule]\n})\nexport class PasswordModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["password_style"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,KAAK,WAAW;EACpBA,OAAc;;;;;;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AAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,OAAA,EAAA,CA/bd,QAAQ,EA7fR,iBAAiB,EAy7Ba,YAAY,EAAE,UAAU,CAAA,EAAA,OAAA,EAAA,CAz7BtD,iBAAiB,EA6fjB,QAAQ,EA6bsB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;wGAEtD,cAAc,EAAA,OAAA,EAAA,CAHb,QAAQ,EAAqB,YAAY,EAAE,UAAU,EACxB,YAAY,EAAE,UAAU,CAAA,EAAA,CAAA;;2FAEtD,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,CAAC;oBAChE,OAAO,EAAE,CAAC,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU;AAClE,iBAAA;;;AC//BD;;AAEG;;;;"}
@@ -1390,7 +1390,7 @@ class PickList extends BaseComponent {
1390
1390
  <div [class]="cx('sourceListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('sourceListContainer')">
1391
1391
  <p-listbox
1392
1392
  #sourcelist
1393
- [ariaLabel]="sourceAriaLabel()"
1393
+ [ariaLabel]="sourceAriaLabel() ?? sourceHeader()"
1394
1394
  [multiple]="true"
1395
1395
  [options]="sourceOptions()"
1396
1396
  [ngModel]="selectedItemsSource()"
@@ -1553,7 +1553,7 @@ class PickList extends BaseComponent {
1553
1553
  <div [class]="cx('targetListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('targetListContainer')">
1554
1554
  <p-listbox
1555
1555
  #targetlist
1556
- [ariaLabel]="targetAriaLabel()"
1556
+ [ariaLabel]="targetAriaLabel() ?? targetHeader()"
1557
1557
  [multiple]="true"
1558
1558
  [options]="targetOptions()"
1559
1559
  [ngModel]="selectedItemsTarget()"
@@ -1800,7 +1800,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1800
1800
  <div [class]="cx('sourceListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('sourceListContainer')">
1801
1801
  <p-listbox
1802
1802
  #sourcelist
1803
- [ariaLabel]="sourceAriaLabel()"
1803
+ [ariaLabel]="sourceAriaLabel() ?? sourceHeader()"
1804
1804
  [multiple]="true"
1805
1805
  [options]="sourceOptions()"
1806
1806
  [ngModel]="selectedItemsSource()"
@@ -1963,7 +1963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
1963
1963
  <div [class]="cx('targetListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('targetListContainer')">
1964
1964
  <p-listbox
1965
1965
  #targetlist
1966
- [ariaLabel]="targetAriaLabel()"
1966
+ [ariaLabel]="targetAriaLabel() ?? targetHeader()"
1967
1967
  [multiple]="true"
1968
1968
  [options]="targetOptions()"
1969
1969
  [ngModel]="selectedItemsTarget()"