@aeris-ui/core 22.0.0-alpha.6 → 22.0.0-alpha.8
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.
- package/README.md +2 -2
- package/fesm2022/aeris-ui-core-accordion.mjs +14 -14
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +47 -40
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +9 -9
- package/fesm2022/aeris-ui-core-badge.mjs +10 -10
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +14 -14
- package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
- package/fesm2022/aeris-ui-core-button.mjs +39 -57
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-carousel.mjs +14 -14
- package/fesm2022/aeris-ui-core-cascade-select.mjs +39 -30
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +5 -5
- package/fesm2022/aeris-ui-core-checkbox.mjs +24 -21
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +11 -11
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-color-picker.mjs +30 -28
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +23 -27
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +45 -43
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +44 -40
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +15 -18
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +25 -23
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +33 -30
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-drawer.mjs +28 -29
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +23 -23
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +22 -19
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +54 -31
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +31 -26
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +32 -32
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +27 -19
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +11 -11
- package/fesm2022/aeris-ui-core-input-group.mjs +28 -21
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +25 -24
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +41 -29
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +30 -30
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +32 -31
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-mega-menu.mjs +8 -8
- package/fesm2022/aeris-ui-core-menu.mjs +24 -27
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +17 -17
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +12 -12
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +17 -17
- package/fesm2022/aeris-ui-core-multi-select.mjs +45 -39
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-organization-chart.mjs +11 -11
- package/fesm2022/aeris-ui-core-paginator.mjs +5 -5
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +17 -17
- package/fesm2022/aeris-ui-core-password.mjs +52 -46
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-popover.mjs +28 -29
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +16 -11
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +8 -8
- package/fesm2022/aeris-ui-core-radio-button.mjs +24 -21
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +14 -16
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +5 -5
- package/fesm2022/aeris-ui-core-scroll-top.mjs +5 -5
- package/fesm2022/aeris-ui-core-select.mjs +75 -67
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +44 -54
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +48 -24
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +97 -45
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +8 -8
- package/fesm2022/aeris-ui-core-stepper.mjs +14 -14
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +29 -23
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +14 -14
- package/fesm2022/aeris-ui-core-textarea.mjs +37 -35
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +28 -16
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +4 -4
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +15 -18
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
- package/fesm2022/aeris-ui-core-toast.mjs +26 -15
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +24 -21
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +18 -18
- package/fesm2022/aeris-ui-core-tooltip.mjs +13 -19
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +45 -39
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +26 -20
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +14 -14
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +49 -15
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +28 -16
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +3 -3
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +12 -16
- package/styles/controls.css +1 -1
- package/types/aeris-ui-core-auto-complete.d.ts +6 -4
- package/types/aeris-ui-core-badge.d.ts +4 -3
- package/types/aeris-ui-core-button.d.ts +13 -16
- package/types/aeris-ui-core-cascade-select.d.ts +6 -3
- package/types/aeris-ui-core-checkbox.d.ts +5 -4
- package/types/aeris-ui-core-color-picker.d.ts +5 -4
- package/types/aeris-ui-core-compare.d.ts +3 -4
- package/types/aeris-ui-core-confirm-dialog.d.ts +13 -13
- package/types/aeris-ui-core-confirm-popup.d.ts +13 -13
- package/types/aeris-ui-core-context-menu.d.ts +4 -5
- package/types/aeris-ui-core-date-picker.d.ts +5 -4
- package/types/aeris-ui-core-dialog.d.ts +4 -5
- package/types/aeris-ui-core-drawer.d.ts +4 -5
- package/types/aeris-ui-core-dynamic-dialog.d.ts +9 -9
- package/types/aeris-ui-core-editor.d.ts +5 -4
- package/types/aeris-ui-core-filter-service.d.ts +1 -1
- package/types/aeris-ui-core-form-field.d.ts +6 -4
- package/types/aeris-ui-core-galleria.d.ts +2 -2
- package/types/aeris-ui-core-icon-field.d.ts +3 -1
- package/types/aeris-ui-core-input-group.d.ts +22 -20
- package/types/aeris-ui-core-input-mask.d.ts +5 -4
- package/types/aeris-ui-core-input-number.d.ts +5 -4
- package/types/aeris-ui-core-input-otp.d.ts +5 -4
- package/types/aeris-ui-core-input-text.d.ts +7 -5
- package/types/aeris-ui-core-menu.d.ts +4 -5
- package/types/aeris-ui-core-menubar.d.ts +5 -4
- package/types/aeris-ui-core-message.d.ts +3 -2
- package/types/aeris-ui-core-multi-select.d.ts +6 -4
- package/types/aeris-ui-core-password.d.ts +5 -4
- package/types/aeris-ui-core-popover.d.ts +4 -5
- package/types/aeris-ui-core-progress-bar.d.ts +1 -0
- package/types/aeris-ui-core-radio-button.d.ts +5 -4
- package/types/aeris-ui-core-rating.d.ts +3 -4
- package/types/aeris-ui-core-select.d.ts +6 -4
- package/types/aeris-ui-core-slider.d.ts +5 -4
- package/types/aeris-ui-core-speed-dial.d.ts +4 -4
- package/types/aeris-ui-core-split-button.d.ts +21 -16
- package/types/aeris-ui-core-table.d.ts +3 -1
- package/types/aeris-ui-core-textarea.d.ts +8 -5
- package/types/aeris-ui-core-theme-builder.d.ts +42 -15
- package/types/aeris-ui-core-theming.d.ts +1 -1
- package/types/aeris-ui-core-tiered-menu.d.ts +4 -5
- package/types/aeris-ui-core-toast.d.ts +4 -2
- package/types/aeris-ui-core-toggle-switch.d.ts +5 -4
- package/types/aeris-ui-core-tooltip.d.ts +3 -3
- package/types/aeris-ui-core-tree-select.d.ts +6 -4
- package/types/aeris-ui-core-tree-table.d.ts +3 -1
- package/types/aeris-ui-core.d.ts +16 -4
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, TemplateRef, Directive, ElementRef, viewChild, signal, model, input, booleanAttribute, output, contentChild,
|
|
3
|
+
import { inject, TemplateRef, Directive, ElementRef, viewChild, signal, model, input, booleanAttribute, computed, output, contentChild, forwardRef, Component } from '@angular/core';
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
-
import { ɵAerisAppendTo as _AerisAppendTo } from '@aeris-ui/core';
|
|
5
|
+
import { ɵAerisAppendTo as _AerisAppendTo, ɵaerisDisplayInvalid as _aerisDisplayInvalid } from '@aeris-ui/core';
|
|
6
6
|
|
|
7
7
|
class AerisPasswordHeaderTemplate {
|
|
8
8
|
template = inject(TemplateRef);
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
10
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordHeaderTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordHeaderTemplate, isStandalone: true, selector: "ng-template[aerisPasswordHeader]", ngImport: i0 });
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordHeaderTemplate, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{ selector: 'ng-template[aerisPasswordHeader]' }]
|
|
15
15
|
}] });
|
|
16
16
|
class AerisPasswordFeedbackTemplate {
|
|
17
17
|
template = inject(TemplateRef);
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
19
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordFeedbackTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFeedback]", ngImport: i0 });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFeedbackTemplate, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{ selector: 'ng-template[aerisPasswordFeedback]' }]
|
|
24
24
|
}] });
|
|
25
25
|
class AerisPasswordFooterTemplate {
|
|
26
26
|
template = inject(TemplateRef);
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFooterTemplate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.6", type: AerisPasswordFooterTemplate, isStandalone: true, selector: "ng-template[aerisPasswordFooter]", ngImport: i0 });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordFooterTemplate, decorators: [{
|
|
31
31
|
type: Directive,
|
|
32
32
|
args: [{ selector: 'ng-template[aerisPasswordFooter]' }]
|
|
33
33
|
}] });
|
|
@@ -51,7 +51,11 @@ const evaluateAerisPassword = (value, minLength) => {
|
|
|
51
51
|
}
|
|
52
52
|
const score = scoreFor(requirements.filter((requirement) => requirement.met).length);
|
|
53
53
|
const strength = score === 1 ? 'weak' : score === 2 ? 'medium' : 'strong';
|
|
54
|
-
const label = strength === 'weak'
|
|
54
|
+
const label = strength === 'weak'
|
|
55
|
+
? 'Weak password'
|
|
56
|
+
: strength === 'medium'
|
|
57
|
+
? 'Medium password'
|
|
58
|
+
: 'Strong password';
|
|
55
59
|
return { score, strength, label, requirements };
|
|
56
60
|
};
|
|
57
61
|
let passwordId = 0;
|
|
@@ -88,10 +92,10 @@ class AerisPasswordComponent {
|
|
|
88
92
|
...(ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []));
|
|
89
93
|
ariaLabel = input('', /* @ts-ignore */
|
|
90
94
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
91
|
-
|
|
92
|
-
...(ngDevMode ? [{ debugName: "
|
|
93
|
-
|
|
94
|
-
...(ngDevMode ? [{ debugName: "
|
|
95
|
+
ariaLabelledBy = input('', /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
97
|
+
ariaDescribedBy = input('', /* @ts-ignore */
|
|
98
|
+
...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []));
|
|
95
99
|
size = input('md', /* @ts-ignore */
|
|
96
100
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
97
101
|
appearance = input('outline', /* @ts-ignore */
|
|
@@ -104,6 +108,10 @@ class AerisPasswordComponent {
|
|
|
104
108
|
readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
105
109
|
required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
106
110
|
invalid = input(false, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
111
|
+
touched = input(null, /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
|
|
113
|
+
displayInvalid = computed(() => _aerisDisplayInvalid(this.invalid(), this.touched()), /* @ts-ignore */
|
|
114
|
+
...(ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []));
|
|
107
115
|
fluid = input(false, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
108
116
|
toggleMask = input(true, { ...(ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
109
117
|
feedback = input(true, { ...(ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
@@ -117,7 +125,6 @@ class AerisPasswordComponent {
|
|
|
117
125
|
...(ngDevMode ? [{ debugName: "hidePasswordAriaLabel" }] : /* istanbul ignore next */ []));
|
|
118
126
|
strengthEvaluator = input(evaluateAerisPassword, /* @ts-ignore */
|
|
119
127
|
...(ngDevMode ? [{ debugName: "strengthEvaluator" }] : /* istanbul ignore next */ []));
|
|
120
|
-
valueInput = output();
|
|
121
128
|
visibilityChanged = output();
|
|
122
129
|
focused = output();
|
|
123
130
|
blurred = output();
|
|
@@ -137,16 +144,10 @@ class AerisPasswordComponent {
|
|
|
137
144
|
...(ngDevMode ? [{ debugName: "strengthResult" }] : /* istanbul ignore next */ []));
|
|
138
145
|
feedbackVisible = computed(() => this.feedback() && this.hasFocus() && !this.effectiveDisabled(), /* @ts-ignore */
|
|
139
146
|
...(ngDevMode ? [{ debugName: "feedbackVisible" }] : /* istanbul ignore next */ []));
|
|
140
|
-
showClearButton = computed(() => this.clearable() &&
|
|
141
|
-
this.value().length > 0 &&
|
|
142
|
-
!this.effectiveDisabled() &&
|
|
143
|
-
!this.readonly(), /* @ts-ignore */
|
|
147
|
+
showClearButton = computed(() => this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(), /* @ts-ignore */
|
|
144
148
|
...(ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []));
|
|
145
149
|
resolvedAriaDescribedby = computed(() => {
|
|
146
|
-
const ids = [
|
|
147
|
-
this.ariaDescribedby(),
|
|
148
|
-
this.feedbackVisible() ? this.feedbackId : '',
|
|
149
|
-
].filter(Boolean);
|
|
150
|
+
const ids = [this.ariaDescribedBy(), this.feedbackVisible() ? this.feedbackId : ''].filter(Boolean);
|
|
150
151
|
return ids.length ? ids.join(' ') : null;
|
|
151
152
|
}, /* @ts-ignore */
|
|
152
153
|
...(ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []));
|
|
@@ -208,7 +209,6 @@ class AerisPasswordComponent {
|
|
|
208
209
|
if (this.value() === value)
|
|
209
210
|
return;
|
|
210
211
|
this.value.set(value);
|
|
211
|
-
this.valueInput.emit(value);
|
|
212
212
|
this.onChange(value);
|
|
213
213
|
}
|
|
214
214
|
setVisible(visible) {
|
|
@@ -217,8 +217,8 @@ class AerisPasswordComponent {
|
|
|
217
217
|
this.visible.set(visible);
|
|
218
218
|
this.visibilityChanged.emit(visible);
|
|
219
219
|
}
|
|
220
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
221
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
220
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AerisPasswordComponent, isStandalone: true, selector: "aeris-password", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, viewportMargin: { classPropertyName: "viewportMargin", publicName: "viewportMargin", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedBy: { classPropertyName: "ariaDescribedBy", publicName: "ariaDescribedBy", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, toggleMask: { classPropertyName: "toggleMask", publicName: "toggleMask", isSignal: true, isRequired: false, transformFunction: null }, feedback: { classPropertyName: "feedback", publicName: "feedback", isSignal: true, isRequired: false, transformFunction: null }, showRequirements: { classPropertyName: "showRequirements", publicName: "showRequirements", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, clearButtonAriaLabel: { classPropertyName: "clearButtonAriaLabel", publicName: "clearButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, showPasswordAriaLabel: { classPropertyName: "showPasswordAriaLabel", publicName: "showPasswordAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, hidePasswordAriaLabel: { classPropertyName: "hidePasswordAriaLabel", publicName: "hidePasswordAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, strengthEvaluator: { classPropertyName: "strengthEvaluator", publicName: "strengthEvaluator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", visible: "visibleChange", visibilityChanged: "visibilityChanged", focused: "focused", blurred: "blurred", touch: "touch" }, host: { properties: { "attr.data-fluid": "fluid() || null" } }, providers: [
|
|
222
222
|
{
|
|
223
223
|
provide: NG_VALUE_ACCESSOR,
|
|
224
224
|
useExisting: forwardRef(() => AerisPasswordComponent),
|
|
@@ -229,7 +229,7 @@ class AerisPasswordComponent {
|
|
|
229
229
|
class="aeris-password"
|
|
230
230
|
[attr.data-size]="size()"
|
|
231
231
|
[attr.data-appearance]="appearance()"
|
|
232
|
-
[attr.data-invalid]="
|
|
232
|
+
[attr.data-invalid]="displayInvalid() || null"
|
|
233
233
|
[attr.data-disabled]="effectiveDisabled() || null"
|
|
234
234
|
[attr.data-readonly]="readonly() || null"
|
|
235
235
|
[attr.data-fluid]="fluid() || null"
|
|
@@ -245,14 +245,14 @@ class AerisPasswordComponent {
|
|
|
245
245
|
[placeholder]="placeholder()"
|
|
246
246
|
[autocomplete]="autocomplete()"
|
|
247
247
|
[minLength]="minLength()"
|
|
248
|
-
[
|
|
248
|
+
[attr.maxlength]="maxLength() ?? null"
|
|
249
249
|
[disabled]="effectiveDisabled()"
|
|
250
250
|
[readOnly]="readonly()"
|
|
251
251
|
[required]="required()"
|
|
252
252
|
[attr.aria-label]="ariaLabel() || null"
|
|
253
|
-
[attr.aria-labelledby]="
|
|
253
|
+
[attr.aria-labelledby]="ariaLabelledBy() || null"
|
|
254
254
|
[attr.aria-describedby]="resolvedAriaDescribedby()"
|
|
255
|
-
[attr.aria-invalid]="
|
|
255
|
+
[attr.aria-invalid]="displayInvalid() || null"
|
|
256
256
|
(input)="handleInput($event)"
|
|
257
257
|
(focus)="handleFocus($event)"
|
|
258
258
|
(blur)="handleInputBlur($event)"
|
|
@@ -265,7 +265,9 @@ class AerisPasswordComponent {
|
|
|
265
265
|
class="aeris-password__action aeris-password__clear"
|
|
266
266
|
[attr.aria-label]="clearButtonAriaLabel()"
|
|
267
267
|
(click)="clear()"
|
|
268
|
-
|
|
268
|
+
>
|
|
269
|
+
<span aria-hidden="true"></span>
|
|
270
|
+
</button>
|
|
269
271
|
}
|
|
270
272
|
@if (toggleMask()) {
|
|
271
273
|
<button
|
|
@@ -315,7 +317,7 @@ class AerisPasswordComponent {
|
|
|
315
317
|
[ngTemplateOutletContext]="{
|
|
316
318
|
$implicit: strengthResult(),
|
|
317
319
|
result: strengthResult(),
|
|
318
|
-
value: value()
|
|
320
|
+
value: value(),
|
|
319
321
|
}"
|
|
320
322
|
/>
|
|
321
323
|
} @else {
|
|
@@ -327,7 +329,8 @@ class AerisPasswordComponent {
|
|
|
327
329
|
class="aeris-password__meter"
|
|
328
330
|
[attr.data-strength]="strengthResult().strength"
|
|
329
331
|
aria-hidden="true"
|
|
330
|
-
|
|
332
|
+
><span></span><span></span><span></span
|
|
333
|
+
></span>
|
|
331
334
|
|
|
332
335
|
@if (showRequirements()) {
|
|
333
336
|
<span class="aeris-password__requirements">
|
|
@@ -348,16 +351,16 @@ class AerisPasswordComponent {
|
|
|
348
351
|
</span>
|
|
349
352
|
}
|
|
350
353
|
</span>
|
|
351
|
-
`, isInline: true, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #
|
|
354
|
+
`, isInline: true, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #2c432c)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #2c432c);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #2c432c) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-danger, #c81e2a) 18%,transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f2f0ec)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.5rem;height:1.5rem;display:grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-password__action:hover,.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #2c432c);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__visibility svg{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;vector-effect:non-scaling-stroke}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29;font-size:.8125rem}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #555555);line-height:1.5}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:.8125rem}.aeris-password__strength-row>span{color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:99px;background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border, #deddd7);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}.aeris-password__requirements>span[data-met] i:after{position:absolute;top:.2rem;left:.2rem;width:.35rem;height:.2rem;border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;content:\"\";transform:rotate(-45deg)}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: _AerisAppendTo, selector: "[aerisInternalAppendTo]", inputs: ["aerisInternalAppendTo", "aerisInternalAppendToDefault", "aerisInternalAppendToAnchor", "aerisInternalAppendToOffset", "aerisInternalAppendToMatchWidth", "aerisInternalAppendToPlacement", "aerisInternalAppendToAlignment", "aerisInternalAppendToCollisionPadding", "aerisInternalAppendToPositionSelf"], outputs: ["aerisInternalAppendToOutside"] }] });
|
|
352
355
|
}
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AerisPasswordComponent, decorators: [{
|
|
354
357
|
type: Component,
|
|
355
358
|
args: [{ selector: 'aeris-password', imports: [NgTemplateOutlet, _AerisAppendTo], template: `
|
|
356
359
|
<span
|
|
357
360
|
class="aeris-password"
|
|
358
361
|
[attr.data-size]="size()"
|
|
359
362
|
[attr.data-appearance]="appearance()"
|
|
360
|
-
[attr.data-invalid]="
|
|
363
|
+
[attr.data-invalid]="displayInvalid() || null"
|
|
361
364
|
[attr.data-disabled]="effectiveDisabled() || null"
|
|
362
365
|
[attr.data-readonly]="readonly() || null"
|
|
363
366
|
[attr.data-fluid]="fluid() || null"
|
|
@@ -373,14 +376,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
373
376
|
[placeholder]="placeholder()"
|
|
374
377
|
[autocomplete]="autocomplete()"
|
|
375
378
|
[minLength]="minLength()"
|
|
376
|
-
[
|
|
379
|
+
[attr.maxlength]="maxLength() ?? null"
|
|
377
380
|
[disabled]="effectiveDisabled()"
|
|
378
381
|
[readOnly]="readonly()"
|
|
379
382
|
[required]="required()"
|
|
380
383
|
[attr.aria-label]="ariaLabel() || null"
|
|
381
|
-
[attr.aria-labelledby]="
|
|
384
|
+
[attr.aria-labelledby]="ariaLabelledBy() || null"
|
|
382
385
|
[attr.aria-describedby]="resolvedAriaDescribedby()"
|
|
383
|
-
[attr.aria-invalid]="
|
|
386
|
+
[attr.aria-invalid]="displayInvalid() || null"
|
|
384
387
|
(input)="handleInput($event)"
|
|
385
388
|
(focus)="handleFocus($event)"
|
|
386
389
|
(blur)="handleInputBlur($event)"
|
|
@@ -393,7 +396,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
393
396
|
class="aeris-password__action aeris-password__clear"
|
|
394
397
|
[attr.aria-label]="clearButtonAriaLabel()"
|
|
395
398
|
(click)="clear()"
|
|
396
|
-
|
|
399
|
+
>
|
|
400
|
+
<span aria-hidden="true"></span>
|
|
401
|
+
</button>
|
|
397
402
|
}
|
|
398
403
|
@if (toggleMask()) {
|
|
399
404
|
<button
|
|
@@ -443,7 +448,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
443
448
|
[ngTemplateOutletContext]="{
|
|
444
449
|
$implicit: strengthResult(),
|
|
445
450
|
result: strengthResult(),
|
|
446
|
-
value: value()
|
|
451
|
+
value: value(),
|
|
447
452
|
}"
|
|
448
453
|
/>
|
|
449
454
|
} @else {
|
|
@@ -455,7 +460,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
455
460
|
class="aeris-password__meter"
|
|
456
461
|
[attr.data-strength]="strengthResult().strength"
|
|
457
462
|
aria-hidden="true"
|
|
458
|
-
|
|
463
|
+
><span></span><span></span><span></span
|
|
464
|
+
></span>
|
|
459
465
|
|
|
460
466
|
@if (showRequirements()) {
|
|
461
467
|
<span class="aeris-password__requirements">
|
|
@@ -484,8 +490,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
484
490
|
},
|
|
485
491
|
], host: {
|
|
486
492
|
'[attr.data-fluid]': 'fluid() || null',
|
|
487
|
-
}, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #
|
|
488
|
-
}], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['passwordInput', { isSignal: true }] }], feedbackPanel: [{ type: i0.ViewChild, args: ['feedbackPanel', { isSignal: true }] }], feedbackPortal: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _AerisAppendTo), { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], viewportMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewportMargin", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }],
|
|
493
|
+
}, styles: [":host{position:relative;display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-password{--_height: var(--aeris-control-height, 2.625rem);--_font-size: .875rem;position:relative;display:block;width:100%;color:var(--aeris-text, #222222);font-family:inherit}.aeris-password[data-size=xs]{--_height: 1.875rem;--_font-size: .75rem}.aeris-password[data-size=sm]{--_height: 2.25rem;--_font-size: .8125rem}.aeris-password[data-size=lg]{--_height: 3rem;--_font-size: .9375rem}.aeris-password__field{position:relative;display:block}.aeris-password input{width:100%;height:var(--_height);padding:.5rem 5rem .5rem .75rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));outline:0;background:var(--aeris-surface, #fff);color:inherit;font:inherit;font-size:var(--_font-size);box-shadow:none;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.aeris-password:not(:has(.aeris-password__actions button)) input{padding-inline-end:.75rem}.aeris-password[data-appearance=filled] input{border-color:transparent;background:var(--aeris-surface-2, #f2f0ec)}.aeris-password input:hover:not(:disabled,:read-only){border-color:var(--aeris-focus, #2c432c)}.aeris-password input:focus-visible{border-color:var(--aeris-focus, #2c432c);box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-focus, #2c432c) 20%,transparent)}.aeris-password[data-invalid] input,.aeris-password input:user-invalid{border-color:var(--aeris-danger, #c81e2a)}.aeris-password[data-invalid] input:focus-visible,.aeris-password input:user-invalid:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--aeris-danger, #c81e2a) 18%,transparent)}.aeris-password[data-disabled]{opacity:var(--aeris-disabled-opacity, .5)}.aeris-password[data-readonly] input{background:var(--aeris-surface-2, #f2f0ec)}.aeris-password__actions{position:absolute;top:50%;right:.4375rem;display:flex;align-items:center;gap:.125rem;transform:translateY(-50%)}.aeris-password__action{width:1.5rem;height:1.5rem;display:grid;place-items:center;padding:0;border:0;border-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-password__action:hover,.aeris-password__action:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-password__action:focus-visible{outline:2px solid var(--aeris-focus, #2c432c);outline-offset:1px}.aeris-password__clear>span{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);background:currentColor;-webkit-mask:var(--aeris-icon-close) center/100% 100% no-repeat;mask:var(--aeris-icon-close) center/100% 100% no-repeat}.aeris-password__visibility svg{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75;vector-effect:non-scaling-stroke}.aeris-password__feedback{position:absolute;z-index:80;top:calc(100% + .4375rem);right:0;left:0;display:grid;gap:.75rem;min-width:min(19rem,100vw - 2rem);padding:.875rem;border:1px solid var(--aeris-border);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:0 1rem 2.5rem #1f231b29;font-size:.8125rem}.aeris-password__header,.aeris-password__footer{color:var(--aeris-text-2, #555555);line-height:1.5}.aeris-password__strength-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.aeris-password__strength-row strong{font-size:.8125rem}.aeris-password__strength-row>span{color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__meter{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem}.aeris-password__meter>span{height:.25rem;border-radius:99px;background:var(--aeris-surface-3, #e7e5df)}.aeris-password__meter[data-strength=weak]>span:first-child{background:var(--aeris-danger, #c81e2a)}.aeris-password__meter[data-strength=medium]>span:nth-child(-n+2){background:var(--aeris-warning, #c38600)}.aeris-password__meter[data-strength=strong]>span{background:var(--aeris-success, #557542)}.aeris-password__requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem .75rem}.aeris-password__requirements>span{display:flex;align-items:center;gap:.375rem;color:var(--aeris-text-2, #555555);font-size:.75rem}.aeris-password__requirements i{position:relative;width:.875rem;height:.875rem;flex:0 0 auto;border:1px solid var(--aeris-border, #deddd7);border-radius:50%}.aeris-password__requirements>span[data-met]{color:var(--aeris-success, #557542)}.aeris-password__requirements>span[data-met] i{border-color:currentColor;background:color-mix(in srgb,currentColor 12%,transparent)}.aeris-password__requirements>span[data-met] i:after{position:absolute;top:.2rem;left:.2rem;width:.35rem;height:.2rem;border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;content:\"\";transform:rotate(-45deg)}@media(max-width:30rem){.aeris-password__feedback{min-width:100%}.aeris-password__requirements{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.aeris-password input{transition:none}}\n"] }]
|
|
494
|
+
}], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['passwordInput', { isSignal: true }] }], feedbackPanel: [{ type: i0.ViewChild, args: ['feedbackPanel', { isSignal: true }] }], feedbackPortal: [{ type: i0.ViewChild, args: [i0.forwardRef(() => _AerisAppendTo), { isSignal: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], appendTo: [{ type: i0.Input, args: [{ isSignal: true, alias: "appendTo", required: false }] }], viewportMargin: [{ type: i0.Input, args: [{ isSignal: true, alias: "viewportMargin", required: false }] }], inputId: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputId", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaDescribedBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaDescribedBy", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], appearance: [{ type: i0.Input, args: [{ isSignal: true, alias: "appearance", required: false }] }], minLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minLength", required: false }] }], maxLength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxLength", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], toggleMask: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleMask", required: false }] }], feedback: [{ type: i0.Input, args: [{ isSignal: true, alias: "feedback", required: false }] }], showRequirements: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRequirements", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], clearButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearButtonAriaLabel", required: false }] }], showPasswordAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPasswordAriaLabel", required: false }] }], hidePasswordAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidePasswordAriaLabel", required: false }] }], strengthEvaluator: [{ type: i0.Input, args: [{ isSignal: true, alias: "strengthEvaluator", required: false }] }], visibilityChanged: [{ type: i0.Output, args: ["visibilityChanged"] }], focused: [{ type: i0.Output, args: ["focused"] }], blurred: [{ type: i0.Output, args: ["blurred"] }], touch: [{ type: i0.Output, args: ["touch"] }], headerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordHeaderTemplate), { isSignal: true }] }], feedbackTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordFeedbackTemplate), { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => AerisPasswordFooterTemplate), { isSignal: true }] }] } });
|
|
489
495
|
const AerisPassword = [
|
|
490
496
|
AerisPasswordComponent,
|
|
491
497
|
AerisPasswordHeaderTemplate,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-password.mjs","sources":["../../../projects/aeris-ui/password/aeris-password.ts","../../../projects/aeris-ui/password/aeris-ui-core-password.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n forwardRef,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ɵAerisAppendTo, type AerisAppendTo, type AerisOverlayCollisionPadding } from '@aeris-ui/core';\n\nexport type AerisPasswordSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type AerisPasswordAppearance = 'outline' | 'filled';\nexport type AerisPasswordStrength = 'empty' | 'weak' | 'medium' | 'strong';\n\nexport interface AerisPasswordRequirement {\n readonly label: string;\n readonly met: boolean;\n}\n\nexport interface AerisPasswordStrengthResult {\n readonly score: 0 | 1 | 2 | 3;\n readonly strength: AerisPasswordStrength;\n readonly label: string;\n readonly requirements: readonly AerisPasswordRequirement[];\n}\n\nexport type AerisPasswordStrengthEvaluator = (\n value: string,\n minLength: number,\n) => AerisPasswordStrengthResult;\n\ninterface PasswordFeedbackContext {\n readonly $implicit: AerisPasswordStrengthResult;\n readonly result: AerisPasswordStrengthResult;\n readonly value: string;\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordHeader]' })\nexport class AerisPasswordHeaderTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordFeedback]' })\nexport class AerisPasswordFeedbackTemplate {\n readonly template = inject<TemplateRef<PasswordFeedbackContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordFooter]' })\nexport class AerisPasswordFooterTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\nconst scoreFor = (metCount: number): 0 | 1 | 2 | 3 => {\n if (metCount <= 2) return 1;\n if (metCount <= 4) return 2;\n return 3;\n};\n\nexport const evaluateAerisPassword: AerisPasswordStrengthEvaluator = (\n value,\n minLength,\n) => {\n const requirements: readonly AerisPasswordRequirement[] = [\n { label: `At least ${minLength} characters`, met: value.length >= minLength },\n { label: 'One uppercase letter', met: /[A-Z]/.test(value) },\n { label: 'One lowercase letter', met: /[a-z]/.test(value) },\n { label: 'One number', met: /\\d/.test(value) },\n { label: 'One symbol', met: /[^A-Za-z0-9\\s]/.test(value) },\n ];\n\n if (!value) {\n return { score: 0, strength: 'empty', label: 'Enter a password', requirements };\n }\n\n const score = scoreFor(requirements.filter((requirement) => requirement.met).length);\n const strength = score === 1 ? 'weak' : score === 2 ? 'medium' : 'strong';\n const label = strength === 'weak' ? 'Weak password' : strength === 'medium' ? 'Medium password' : 'Strong password';\n return { score, strength, label, requirements };\n};\n\nlet passwordId = 0;\n\n@Component({\n selector: 'aeris-password',\n imports: [NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n <span\n class=\"aeris-password\"\n [attr.data-size]=\"size()\"\n [attr.data-appearance]=\"appearance()\"\n [attr.data-invalid]=\"invalid() || null\"\n [attr.data-disabled]=\"effectiveDisabled() || null\"\n [attr.data-readonly]=\"readonly() || null\"\n [attr.data-fluid]=\"fluid() || null\"\n (focusout)=\"handleFocusOut($event)\"\n >\n <span class=\"aeris-password__field\">\n <input\n #passwordInput\n [id]=\"resolvedInputId()\"\n [type]=\"visible() ? 'text' : 'password'\"\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [autocomplete]=\"autocomplete()\"\n [minLength]=\"minLength()\"\n [maxLength]=\"maxLength() ?? null\"\n [disabled]=\"effectiveDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n [attr.aria-describedby]=\"resolvedAriaDescribedby()\"\n [attr.aria-invalid]=\"invalid() || null\"\n (input)=\"handleInput($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleInputBlur($event)\"\n />\n\n <span class=\"aeris-password__actions\">\n @if (showClearButton()) {\n <button\n type=\"button\"\n class=\"aeris-password__action aeris-password__clear\"\n [attr.aria-label]=\"clearButtonAriaLabel()\"\n (click)=\"clear()\"\n ><span aria-hidden=\"true\"></span></button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"aeris-password__action aeris-password__visibility\"\n [attr.aria-label]=\"visible() ? hidePasswordAriaLabel() : showPasswordAriaLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"toggleVisibility()\"\n >\n @if (visible()) {\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\">\n <path d=\"M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z\" />\n <circle cx=\"12\" cy=\"12\" r=\"2.75\" />\n </svg>\n } @else {\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\">\n <path d=\"M9.4 6.4A10.6 10.6 0 0 1 12 6c6 0 9.5 6 9.5 6a15 15 0 0 1-2.8 3.4\" />\n <path d=\"M14.6 17.6a10.6 10.6 0 0 1-2.6.4c-6 0-9.5-6-9.5-6a15 15 0 0 1 2.8-3.4\" />\n <path d=\"M10.1 10.1a2.7 2.7 0 0 0 3.8 3.8\" />\n <path d=\"M4 4l16 16\" />\n </svg>\n }\n </button>\n }\n </span>\n </span>\n\n @if (feedbackVisible()) {\n <span\n #feedbackPanel\n class=\"aeris-password__feedback\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToAnchor]=\"passwordInput\"\n [aerisInternalAppendToMatchWidth]=\"true\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n [id]=\"feedbackId\"\n >\n @if (headerTemplate(); as header) {\n <span class=\"aeris-password__header\">\n <ng-container [ngTemplateOutlet]=\"header.template\" />\n </span>\n }\n\n @if (feedbackTemplate(); as customFeedback) {\n <ng-container\n [ngTemplateOutlet]=\"customFeedback.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: strengthResult(),\n result: strengthResult(),\n value: value()\n }\"\n />\n } @else {\n <span class=\"aeris-password__strength-row\">\n <strong role=\"status\" aria-live=\"polite\">{{ strengthResult().label }}</strong>\n <span>{{ strengthResult().score }}/3</span>\n </span>\n <span\n class=\"aeris-password__meter\"\n [attr.data-strength]=\"strengthResult().strength\"\n aria-hidden=\"true\"\n ><span></span><span></span><span></span></span>\n\n @if (showRequirements()) {\n <span class=\"aeris-password__requirements\">\n @for (requirement of strengthResult().requirements; track requirement.label) {\n <span [attr.data-met]=\"requirement.met || null\">\n <i aria-hidden=\"true\"></i>{{ requirement.label }}\n </span>\n }\n </span>\n }\n }\n\n @if (footerTemplate(); as footer) {\n <span class=\"aeris-password__footer\">\n <ng-container [ngTemplateOutlet]=\"footer.template\" />\n </span>\n }\n </span>\n }\n </span>\n `,\n styleUrl: './aeris-password.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisPasswordComponent),\n multi: true,\n },\n ],\n host: {\n '[attr.data-fluid]': 'fluid() || null',\n },\n})\nexport class AerisPasswordComponent implements ControlValueAccessor {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('passwordInput');\n private readonly feedbackPanel = viewChild<ElementRef<HTMLElement>>('feedbackPanel');\n private readonly feedbackPortal = viewChild(ɵAerisAppendTo);\n private readonly generatedId = `aeris-password-${++passwordId}`;\n private readonly formDisabled = signal(false);\n private readonly hasFocus = signal(false);\n private onChange: (value: string) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n readonly value = model('');\n readonly visible = model(false);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly inputId = input('');\n readonly name = input('');\n readonly placeholder = input('');\n readonly autocomplete = input('current-password');\n readonly ariaLabel = input('');\n readonly ariaLabelledby = input('');\n readonly ariaDescribedby = input('');\n readonly size = input<AerisPasswordSize>('md');\n readonly appearance = input<AerisPasswordAppearance>('outline');\n readonly minLength = input(8);\n readonly maxLength = input<number>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly readonly = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly toggleMask = input(true, { transform: booleanAttribute });\n readonly feedback = input(true, { transform: booleanAttribute });\n readonly showRequirements = input(true, { transform: booleanAttribute });\n readonly clearable = input(false, { transform: booleanAttribute });\n readonly clearButtonAriaLabel = input('Clear password');\n readonly showPasswordAriaLabel = input('Show password');\n readonly hidePasswordAriaLabel = input('Hide password');\n readonly strengthEvaluator = input<AerisPasswordStrengthEvaluator>(evaluateAerisPassword);\n\n readonly valueInput = output<string>();\n readonly visibilityChanged = output<boolean>();\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly feedbackId = `${this.generatedId}-feedback`;\n protected readonly headerTemplate = contentChild(AerisPasswordHeaderTemplate);\n protected readonly feedbackTemplate = contentChild(AerisPasswordFeedbackTemplate);\n protected readonly footerTemplate = contentChild(AerisPasswordFooterTemplate);\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly strengthResult = computed(() =>\n this.strengthEvaluator()(this.value(), this.minLength()),\n );\n protected readonly feedbackVisible = computed(\n () => this.feedback() && this.hasFocus() && !this.effectiveDisabled(),\n );\n protected readonly showClearButton = computed(\n () =>\n this.clearable() &&\n this.value().length > 0 &&\n !this.effectiveDisabled() &&\n !this.readonly(),\n );\n protected readonly resolvedAriaDescribedby = computed(() => {\n const ids = [\n this.ariaDescribedby(),\n this.feedbackVisible() ? this.feedbackId : '',\n ].filter(Boolean);\n return ids.length ? ids.join(' ') : null;\n });\n\n writeValue(value: unknown): void {\n this.value.set(typeof value === 'string' ? value : value == null ? '' : String(value));\n }\n\n registerOnChange(callback: (value: string) => void): void {\n this.onChange = callback;\n }\n\n registerOnTouched(callback: () => void): void {\n this.onTouched = callback;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n\n focus(options?: FocusOptions): void {\n this.inputElement()?.nativeElement.focus(options);\n }\n\n clear(): void {\n if (this.effectiveDisabled() || this.readonly()) return;\n this.setValue('');\n this.focus();\n }\n\n show(): void {\n this.setVisible(true);\n }\n\n hide(): void {\n this.setVisible(false);\n }\n\n toggleVisibility(): void {\n if (this.effectiveDisabled()) return;\n this.setVisible(!this.visible());\n queueMicrotask(() => this.focus());\n }\n\n protected handleInput(event: Event): void {\n this.setValue((event.target as HTMLInputElement).value);\n }\n\n protected handleFocus(event: FocusEvent): void {\n this.hasFocus.set(true);\n this.focused.emit(event);\n }\n\n protected handleInputBlur(event: FocusEvent): void {\n this.blurred.emit(event);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n const nextTarget = event.relatedTarget;\n if (\n nextTarget instanceof Node &&\n (this.host.nativeElement.contains(nextTarget) ||\n this.feedbackPanel()?.nativeElement.contains(nextTarget))\n ) return;\n this.feedbackPortal()?.restore();\n this.hasFocus.set(false);\n this.touch.emit();\n this.onTouched();\n }\n\n private setValue(value: string): void {\n if (this.value() === value) return;\n this.value.set(value);\n this.valueInput.emit(value);\n this.onChange(value);\n }\n\n private setVisible(visible: boolean): void {\n if (this.visible() === visible) return;\n this.visible.set(visible);\n this.visibilityChanged.emit(visible);\n }\n}\n\nexport const AerisPassword = [\n AerisPasswordComponent,\n AerisPasswordHeaderTemplate,\n AerisPasswordFeedbackTemplate,\n AerisPasswordFooterTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo"],"mappings":";;;;;;MAgDa,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAAoB,WAAW,CAAC;uGAD/C,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kCAAkC,EAAE;;MAM9C,6BAA6B,CAAA;AAC/B,IAAA,QAAQ,GAAG,MAAM,CAAuC,WAAW,CAAC;uGADlE,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBADzC,SAAS;mBAAC,EAAE,QAAQ,EAAE,oCAAoC,EAAE;;MAMhD,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAAoB,WAAW,CA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AA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACzB,6BAA6B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAC/B,2BAA2B,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;AAwGvE,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,2BAA2B;IAC3B,6BAA6B;IAC7B,2BAA2B;;;ACrY7B;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-password.mjs","sources":["../../../projects/aeris-ui/password/aeris-password.ts","../../../projects/aeris-ui/password/aeris-ui-core-password.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n forwardRef,\n inject,\n input,\n model,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ɵaerisDisplayInvalid } from '@aeris-ui/core';\nimport {\n ɵAerisAppendTo,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\n\nexport type AerisPasswordSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type AerisPasswordAppearance = 'outline' | 'filled';\nexport type AerisPasswordStrength = 'empty' | 'weak' | 'medium' | 'strong';\n\nexport interface AerisPasswordRequirement {\n readonly label: string;\n readonly met: boolean;\n}\n\nexport interface AerisPasswordStrengthResult {\n readonly score: 0 | 1 | 2 | 3;\n readonly strength: AerisPasswordStrength;\n readonly label: string;\n readonly requirements: readonly AerisPasswordRequirement[];\n}\n\nexport type AerisPasswordStrengthEvaluator = (\n value: string,\n minLength: number,\n) => AerisPasswordStrengthResult;\n\ninterface PasswordFeedbackContext {\n readonly $implicit: AerisPasswordStrengthResult;\n readonly result: AerisPasswordStrengthResult;\n readonly value: string;\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordHeader]' })\nexport class AerisPasswordHeaderTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordFeedback]' })\nexport class AerisPasswordFeedbackTemplate {\n readonly template = inject<TemplateRef<PasswordFeedbackContext>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisPasswordFooter]' })\nexport class AerisPasswordFooterTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\nconst scoreFor = (metCount: number): 0 | 1 | 2 | 3 => {\n if (metCount <= 2) return 1;\n if (metCount <= 4) return 2;\n return 3;\n};\n\nexport const evaluateAerisPassword: AerisPasswordStrengthEvaluator = (value, minLength) => {\n const requirements: readonly AerisPasswordRequirement[] = [\n { label: `At least ${minLength} characters`, met: value.length >= minLength },\n { label: 'One uppercase letter', met: /[A-Z]/.test(value) },\n { label: 'One lowercase letter', met: /[a-z]/.test(value) },\n { label: 'One number', met: /\\d/.test(value) },\n { label: 'One symbol', met: /[^A-Za-z0-9\\s]/.test(value) },\n ];\n\n if (!value) {\n return { score: 0, strength: 'empty', label: 'Enter a password', requirements };\n }\n\n const score = scoreFor(requirements.filter((requirement) => requirement.met).length);\n const strength = score === 1 ? 'weak' : score === 2 ? 'medium' : 'strong';\n const label =\n strength === 'weak'\n ? 'Weak password'\n : strength === 'medium'\n ? 'Medium password'\n : 'Strong password';\n return { score, strength, label, requirements };\n};\n\nlet passwordId = 0;\n\n@Component({\n selector: 'aeris-password',\n imports: [NgTemplateOutlet, ɵAerisAppendTo],\n template: `\n <span\n class=\"aeris-password\"\n [attr.data-size]=\"size()\"\n [attr.data-appearance]=\"appearance()\"\n [attr.data-invalid]=\"displayInvalid() || null\"\n [attr.data-disabled]=\"effectiveDisabled() || null\"\n [attr.data-readonly]=\"readonly() || null\"\n [attr.data-fluid]=\"fluid() || null\"\n (focusout)=\"handleFocusOut($event)\"\n >\n <span class=\"aeris-password__field\">\n <input\n #passwordInput\n [id]=\"resolvedInputId()\"\n [type]=\"visible() ? 'text' : 'password'\"\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [autocomplete]=\"autocomplete()\"\n [minLength]=\"minLength()\"\n [attr.maxlength]=\"maxLength() ?? null\"\n [disabled]=\"effectiveDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy() || null\"\n [attr.aria-describedby]=\"resolvedAriaDescribedby()\"\n [attr.aria-invalid]=\"displayInvalid() || null\"\n (input)=\"handleInput($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleInputBlur($event)\"\n />\n\n <span class=\"aeris-password__actions\">\n @if (showClearButton()) {\n <button\n type=\"button\"\n class=\"aeris-password__action aeris-password__clear\"\n [attr.aria-label]=\"clearButtonAriaLabel()\"\n (click)=\"clear()\"\n >\n <span aria-hidden=\"true\"></span>\n </button>\n }\n @if (toggleMask()) {\n <button\n type=\"button\"\n class=\"aeris-password__action aeris-password__visibility\"\n [attr.aria-label]=\"visible() ? hidePasswordAriaLabel() : showPasswordAriaLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"toggleVisibility()\"\n >\n @if (visible()) {\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\">\n <path d=\"M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z\" />\n <circle cx=\"12\" cy=\"12\" r=\"2.75\" />\n </svg>\n } @else {\n <svg aria-hidden=\"true\" viewBox=\"0 0 24 24\">\n <path d=\"M9.4 6.4A10.6 10.6 0 0 1 12 6c6 0 9.5 6 9.5 6a15 15 0 0 1-2.8 3.4\" />\n <path d=\"M14.6 17.6a10.6 10.6 0 0 1-2.6.4c-6 0-9.5-6-9.5-6a15 15 0 0 1 2.8-3.4\" />\n <path d=\"M10.1 10.1a2.7 2.7 0 0 0 3.8 3.8\" />\n <path d=\"M4 4l16 16\" />\n </svg>\n }\n </button>\n }\n </span>\n </span>\n\n @if (feedbackVisible()) {\n <span\n #feedbackPanel\n class=\"aeris-password__feedback\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToAnchor]=\"passwordInput\"\n [aerisInternalAppendToMatchWidth]=\"true\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n [id]=\"feedbackId\"\n >\n @if (headerTemplate(); as header) {\n <span class=\"aeris-password__header\">\n <ng-container [ngTemplateOutlet]=\"header.template\" />\n </span>\n }\n\n @if (feedbackTemplate(); as customFeedback) {\n <ng-container\n [ngTemplateOutlet]=\"customFeedback.template\"\n [ngTemplateOutletContext]=\"{\n $implicit: strengthResult(),\n result: strengthResult(),\n value: value(),\n }\"\n />\n } @else {\n <span class=\"aeris-password__strength-row\">\n <strong role=\"status\" aria-live=\"polite\">{{ strengthResult().label }}</strong>\n <span>{{ strengthResult().score }}/3</span>\n </span>\n <span\n class=\"aeris-password__meter\"\n [attr.data-strength]=\"strengthResult().strength\"\n aria-hidden=\"true\"\n ><span></span><span></span><span></span\n ></span>\n\n @if (showRequirements()) {\n <span class=\"aeris-password__requirements\">\n @for (requirement of strengthResult().requirements; track requirement.label) {\n <span [attr.data-met]=\"requirement.met || null\">\n <i aria-hidden=\"true\"></i>{{ requirement.label }}\n </span>\n }\n </span>\n }\n }\n\n @if (footerTemplate(); as footer) {\n <span class=\"aeris-password__footer\">\n <ng-container [ngTemplateOutlet]=\"footer.template\" />\n </span>\n }\n </span>\n }\n </span>\n `,\n styleUrl: './aeris-password.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisPasswordComponent),\n multi: true,\n },\n ],\n host: {\n '[attr.data-fluid]': 'fluid() || null',\n },\n})\nexport class AerisPasswordComponent implements ControlValueAccessor {\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('passwordInput');\n private readonly feedbackPanel = viewChild<ElementRef<HTMLElement>>('feedbackPanel');\n private readonly feedbackPortal = viewChild(ɵAerisAppendTo);\n private readonly generatedId = `aeris-password-${++passwordId}`;\n private readonly formDisabled = signal(false);\n private readonly hasFocus = signal(false);\n private onChange: (value: string) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n readonly value = model('');\n readonly visible = model(false);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly inputId = input('');\n readonly name = input('');\n readonly placeholder = input('');\n readonly autocomplete = input('current-password');\n readonly ariaLabel = input('');\n readonly ariaLabelledBy = input('');\n readonly ariaDescribedBy = input('');\n readonly size = input<AerisPasswordSize>('md');\n readonly appearance = input<AerisPasswordAppearance>('outline');\n readonly minLength = input(8);\n readonly maxLength = input<number>();\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly readonly = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly touched = input<boolean | null>(null);\n protected readonly displayInvalid = computed(() =>\n ɵaerisDisplayInvalid(this.invalid(), this.touched()),\n );\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly toggleMask = input(true, { transform: booleanAttribute });\n readonly feedback = input(true, { transform: booleanAttribute });\n readonly showRequirements = input(true, { transform: booleanAttribute });\n readonly clearable = input(false, { transform: booleanAttribute });\n readonly clearButtonAriaLabel = input('Clear password');\n readonly showPasswordAriaLabel = input('Show password');\n readonly hidePasswordAriaLabel = input('Hide password');\n readonly strengthEvaluator = input<AerisPasswordStrengthEvaluator>(evaluateAerisPassword);\n\n readonly visibilityChanged = output<boolean>();\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly feedbackId = `${this.generatedId}-feedback`;\n protected readonly headerTemplate = contentChild(AerisPasswordHeaderTemplate);\n protected readonly feedbackTemplate = contentChild(AerisPasswordFeedbackTemplate);\n protected readonly footerTemplate = contentChild(AerisPasswordFooterTemplate);\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly strengthResult = computed(() =>\n this.strengthEvaluator()(this.value(), this.minLength()),\n );\n protected readonly feedbackVisible = computed(\n () => this.feedback() && this.hasFocus() && !this.effectiveDisabled(),\n );\n protected readonly showClearButton = computed(\n () =>\n this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(),\n );\n protected readonly resolvedAriaDescribedby = computed(() => {\n const ids = [this.ariaDescribedBy(), this.feedbackVisible() ? this.feedbackId : ''].filter(\n Boolean,\n );\n return ids.length ? ids.join(' ') : null;\n });\n\n writeValue(value: unknown): void {\n this.value.set(typeof value === 'string' ? value : value == null ? '' : String(value));\n }\n\n registerOnChange(callback: (value: string) => void): void {\n this.onChange = callback;\n }\n\n registerOnTouched(callback: () => void): void {\n this.onTouched = callback;\n }\n\n setDisabledState(disabled: boolean): void {\n this.formDisabled.set(disabled);\n }\n\n focus(options?: FocusOptions): void {\n this.inputElement()?.nativeElement.focus(options);\n }\n\n clear(): void {\n if (this.effectiveDisabled() || this.readonly()) return;\n this.setValue('');\n this.focus();\n }\n\n show(): void {\n this.setVisible(true);\n }\n\n hide(): void {\n this.setVisible(false);\n }\n\n toggleVisibility(): void {\n if (this.effectiveDisabled()) return;\n this.setVisible(!this.visible());\n queueMicrotask(() => this.focus());\n }\n\n protected handleInput(event: Event): void {\n this.setValue((event.target as HTMLInputElement).value);\n }\n\n protected handleFocus(event: FocusEvent): void {\n this.hasFocus.set(true);\n this.focused.emit(event);\n }\n\n protected handleInputBlur(event: FocusEvent): void {\n this.blurred.emit(event);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n const nextTarget = event.relatedTarget;\n if (\n nextTarget instanceof Node &&\n (this.host.nativeElement.contains(nextTarget) ||\n this.feedbackPanel()?.nativeElement.contains(nextTarget))\n )\n return;\n this.feedbackPortal()?.restore();\n this.hasFocus.set(false);\n this.touch.emit();\n this.onTouched();\n }\n\n private setValue(value: string): void {\n if (this.value() === value) return;\n this.value.set(value);\n this.onChange(value);\n }\n\n private setVisible(visible: boolean): void {\n if (this.visible() === visible) return;\n this.visible.set(visible);\n this.visibilityChanged.emit(visible);\n }\n}\n\nexport const AerisPassword = [\n AerisPasswordComponent,\n AerisPasswordHeaderTemplate,\n AerisPasswordFeedbackTemplate,\n AerisPasswordFooterTemplate,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵAerisAppendTo","ɵaerisDisplayInvalid"],"mappings":";;;;;;MAqDa,2BAA2B,CAAA;AAC7B,IAAA,QAAQ,GAAG,MAAM,CAAoB,WAAW,CAAC;uGAD/C,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,SAAS;mBAAC,EAAE,QAAQ,EAAE,kCAAkC,EAAE;;MAM9C,6BAA6B,CAAA;AAC/B,IAAA,QAAQ,GAAG,MAAM,CAAuC,WAAW,CAAC;uGADlE,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAA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