@aeris-ui/core 22.0.0-alpha.8 → 22.0.0-alpha.9
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 +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1171 -428
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +205 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +547 -177
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +730 -110
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +690 -353
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +915 -423
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +432 -135
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1313 -683
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +819 -310
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1392 -551
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1447 -744
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +900 -450
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1656 -863
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1066 -355
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1002 -326
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +402 -249
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +934 -572
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1313 -511
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +672 -170
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +1987 -797
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -106
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -114
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +650 -248
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +902 -334
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +667 -253
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +618 -152
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +601 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1032 -495
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +960 -491
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +587 -196
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1550 -552
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +518 -202
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +455 -177
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +329 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +894 -247
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +892 -386
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +545 -177
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +386 -119
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +502 -225
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +204 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1794 -643
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +868 -404
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +800 -329
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +880 -270
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +1984 -865
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +686 -324
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +846 -212
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1256 -1423
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -147
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +885 -465
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +855 -615
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +390 -127
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +623 -345
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1356 -601
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2001 -942
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1103 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +861 -842
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/aeris-ui-core-accordion.d.ts +166 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +71 -31
- package/types/aeris-ui-core-auto-complete.d.ts +326 -149
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -47
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +162 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -64
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +197 -117
- package/types/aeris-ui-core-cascade-select.d.ts +252 -131
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -55
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-color-picker.d.ts +347 -150
- package/types/aeris-ui-core-compare.d.ts +224 -101
- package/types/aeris-ui-core-confirm-dialog.d.ts +441 -249
- package/types/aeris-ui-core-confirm-popup.d.ts +440 -268
- package/types/aeris-ui-core-context-menu.d.ts +262 -150
- package/types/aeris-ui-core-date-picker.d.ts +488 -226
- package/types/aeris-ui-core-dialog.d.ts +288 -121
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -116
- package/types/aeris-ui-core-dynamic-dialog.d.ts +157 -140
- package/types/aeris-ui-core-editor.d.ts +243 -124
- package/types/aeris-ui-core-file-upload.d.ts +366 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +158 -62
- package/types/aeris-ui-core-galleria.d.ts +589 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -34
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -35
- package/types/aeris-ui-core-input-mask.d.ts +194 -71
- package/types/aeris-ui-core-input-number.d.ts +272 -90
- package/types/aeris-ui-core-input-otp.d.ts +190 -82
- package/types/aeris-ui-core-input-text.d.ts +185 -62
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +174 -123
- package/types/aeris-ui-core-menu.d.ts +275 -172
- package/types/aeris-ui-core-menubar.d.ts +272 -160
- package/types/aeris-ui-core-message.d.ts +132 -61
- package/types/aeris-ui-core-meter-group.d.ts +162 -90
- package/types/aeris-ui-core-multi-select.d.ts +435 -187
- package/types/aeris-ui-core-order-list.d.ts +143 -66
- package/types/aeris-ui-core-organization-chart.d.ts +132 -77
- package/types/aeris-ui-core-paginator.d.ts +92 -46
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +257 -108
- package/types/aeris-ui-core-pick-list.d.ts +373 -179
- package/types/aeris-ui-core-popover.d.ts +218 -107
- package/types/aeris-ui-core-progress-bar.d.ts +156 -74
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -51
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +64 -29
- package/types/aeris-ui-core-select.d.ts +474 -226
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -116
- package/types/aeris-ui-core-speed-dial.d.ts +240 -112
- package/types/aeris-ui-core-split-button.d.ts +264 -121
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +183 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +595 -308
- package/types/aeris-ui-core-tabs.d.ts +163 -90
- package/types/aeris-ui-core-textarea.d.ts +261 -81
- package/types/aeris-ui-core-theme-builder.d.ts +463 -475
- package/types/aeris-ui-core-theming.d.ts +42 -49
- package/types/aeris-ui-core-tiered-menu.d.ts +249 -147
- package/types/aeris-ui-core-timeline.d.ts +108 -71
- package/types/aeris-ui-core-toast.d.ts +219 -155
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -52
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -92
- package/types/aeris-ui-core-tree-select.d.ts +359 -179
- package/types/aeris-ui-core-tree-table.d.ts +565 -290
- package/types/aeris-ui-core-tree.d.ts +269 -165
- package/types/aeris-ui-core.d.ts +161 -125
|
@@ -1,230 +1,563 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { NG_VALUE_ACCESSOR } from
|
|
5
|
-
import { ɵAerisAppendTo
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, Directive, ElementRef, TemplateRef, booleanAttribute, computed, contentChild, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
5
|
+
import { ɵAerisAppendTo, ɵaerisDisplayInvalid } from "@aeris-ui/core";
|
|
6
|
+
var AerisPasswordHeaderTemplate = class AerisPasswordHeaderTemplate {
|
|
7
|
+
template = inject(TemplateRef);
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
|
+
minVersion: "12.0.0",
|
|
10
|
+
version: "22.2.1",
|
|
11
|
+
ngImport: i0,
|
|
12
|
+
type: AerisPasswordHeaderTemplate,
|
|
13
|
+
deps: [],
|
|
14
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
15
|
+
});
|
|
16
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
17
|
+
minVersion: "14.0.0",
|
|
18
|
+
version: "22.2.1",
|
|
19
|
+
type: AerisPasswordHeaderTemplate,
|
|
20
|
+
isStandalone: true,
|
|
21
|
+
selector: "ng-template[aerisPasswordHeader]",
|
|
22
|
+
ngImport: i0
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
26
|
+
minVersion: "12.0.0",
|
|
27
|
+
version: "22.2.1",
|
|
28
|
+
ngImport: i0,
|
|
29
|
+
type: AerisPasswordHeaderTemplate,
|
|
30
|
+
decorators: [{
|
|
31
|
+
type: Directive,
|
|
32
|
+
args: [{ selector: "ng-template[aerisPasswordHeader]" }]
|
|
33
|
+
}]
|
|
34
|
+
});
|
|
35
|
+
var AerisPasswordFeedbackTemplate = class AerisPasswordFeedbackTemplate {
|
|
36
|
+
template = inject(TemplateRef);
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
38
|
+
minVersion: "12.0.0",
|
|
39
|
+
version: "22.2.1",
|
|
40
|
+
ngImport: i0,
|
|
41
|
+
type: AerisPasswordFeedbackTemplate,
|
|
42
|
+
deps: [],
|
|
43
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
44
|
+
});
|
|
45
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
46
|
+
minVersion: "14.0.0",
|
|
47
|
+
version: "22.2.1",
|
|
48
|
+
type: AerisPasswordFeedbackTemplate,
|
|
49
|
+
isStandalone: true,
|
|
50
|
+
selector: "ng-template[aerisPasswordFeedback]",
|
|
51
|
+
ngImport: i0
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
55
|
+
minVersion: "12.0.0",
|
|
56
|
+
version: "22.2.1",
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
type: AerisPasswordFeedbackTemplate,
|
|
59
|
+
decorators: [{
|
|
60
|
+
type: Directive,
|
|
61
|
+
args: [{ selector: "ng-template[aerisPasswordFeedback]" }]
|
|
62
|
+
}]
|
|
63
|
+
});
|
|
64
|
+
var AerisPasswordFooterTemplate = class AerisPasswordFooterTemplate {
|
|
65
|
+
template = inject(TemplateRef);
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
67
|
+
minVersion: "12.0.0",
|
|
68
|
+
version: "22.2.1",
|
|
69
|
+
ngImport: i0,
|
|
70
|
+
type: AerisPasswordFooterTemplate,
|
|
71
|
+
deps: [],
|
|
72
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
73
|
+
});
|
|
74
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
75
|
+
minVersion: "14.0.0",
|
|
76
|
+
version: "22.2.1",
|
|
77
|
+
type: AerisPasswordFooterTemplate,
|
|
78
|
+
isStandalone: true,
|
|
79
|
+
selector: "ng-template[aerisPasswordFooter]",
|
|
80
|
+
ngImport: i0
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
84
|
+
minVersion: "12.0.0",
|
|
85
|
+
version: "22.2.1",
|
|
86
|
+
ngImport: i0,
|
|
87
|
+
type: AerisPasswordFooterTemplate,
|
|
88
|
+
decorators: [{
|
|
89
|
+
type: Directive,
|
|
90
|
+
args: [{ selector: "ng-template[aerisPasswordFooter]" }]
|
|
91
|
+
}]
|
|
92
|
+
});
|
|
34
93
|
const scoreFor = (metCount) => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return 2;
|
|
39
|
-
return 3;
|
|
94
|
+
if (metCount <= 2) return 1;
|
|
95
|
+
if (metCount <= 4) return 2;
|
|
96
|
+
return 3;
|
|
40
97
|
};
|
|
41
98
|
const evaluateAerisPassword = (value, minLength) => {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
99
|
+
const requirements = [
|
|
100
|
+
{
|
|
101
|
+
label: `At least ${minLength} characters`,
|
|
102
|
+
met: value.length >= minLength
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: "One uppercase letter",
|
|
106
|
+
met: /[A-Z]/.test(value)
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: "One lowercase letter",
|
|
110
|
+
met: /[a-z]/.test(value)
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: "One number",
|
|
114
|
+
met: /\d/.test(value)
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
label: "One symbol",
|
|
118
|
+
met: /[^A-Za-z0-9\s]/.test(value)
|
|
119
|
+
}
|
|
120
|
+
];
|
|
121
|
+
if (!value) return {
|
|
122
|
+
score: 0,
|
|
123
|
+
strength: "empty",
|
|
124
|
+
label: "Enter a password",
|
|
125
|
+
requirements
|
|
126
|
+
};
|
|
127
|
+
const score = scoreFor(requirements.filter((requirement) => requirement.met).length);
|
|
128
|
+
const strength = score === 1 ? "weak" : score === 2 ? "medium" : "strong";
|
|
129
|
+
return {
|
|
130
|
+
score,
|
|
131
|
+
strength,
|
|
132
|
+
label: strength === "weak" ? "Weak password" : strength === "medium" ? "Medium password" : "Strong password",
|
|
133
|
+
requirements
|
|
134
|
+
};
|
|
60
135
|
};
|
|
61
136
|
let passwordId = 0;
|
|
62
|
-
class AerisPasswordComponent {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
137
|
+
var AerisPasswordComponent = class AerisPasswordComponent {
|
|
138
|
+
host = inject(ElementRef);
|
|
139
|
+
inputElement = viewChild("passwordInput", ...ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []);
|
|
140
|
+
feedbackPanel = viewChild("feedbackPanel", ...ngDevMode ? [{ debugName: "feedbackPanel" }] : /* istanbul ignore next */ []);
|
|
141
|
+
feedbackPortal = viewChild(ɵAerisAppendTo, ...ngDevMode ? [{ debugName: "feedbackPortal" }] : /* istanbul ignore next */ []);
|
|
142
|
+
generatedId = `aeris-password-${++passwordId}`;
|
|
143
|
+
formDisabled = signal(false, ...ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []);
|
|
144
|
+
hasFocus = signal(false, ...ngDevMode ? [{ debugName: "hasFocus" }] : /* istanbul ignore next */ []);
|
|
145
|
+
onChange = () => void 0;
|
|
146
|
+
onTouched = () => void 0;
|
|
147
|
+
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
148
|
+
visible = model(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
149
|
+
appendTo = input(...ngDevMode ? [void 0, { debugName: "appendTo" }] : /* istanbul ignore next */ []);
|
|
150
|
+
viewportMargin = input(8, ...ngDevMode ? [{ debugName: "viewportMargin" }] : /* istanbul ignore next */ []);
|
|
151
|
+
inputId = input("", ...ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []);
|
|
152
|
+
name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
153
|
+
placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
154
|
+
autocomplete = input("current-password", ...ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []);
|
|
155
|
+
ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
156
|
+
ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
157
|
+
ariaDescribedBy = input("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
|
|
158
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
159
|
+
appearance = input("outline", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
160
|
+
minLength = input(8, ...ngDevMode ? [{ debugName: "minLength" }] : /* istanbul ignore next */ []);
|
|
161
|
+
maxLength = input(...ngDevMode ? [void 0, { debugName: "maxLength" }] : /* istanbul ignore next */ []);
|
|
162
|
+
disabled = input(false, {
|
|
163
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
164
|
+
transform: booleanAttribute
|
|
165
|
+
});
|
|
166
|
+
readonly = input(false, {
|
|
167
|
+
...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
|
|
168
|
+
transform: booleanAttribute
|
|
169
|
+
});
|
|
170
|
+
required = input(false, {
|
|
171
|
+
...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
|
|
172
|
+
transform: booleanAttribute
|
|
173
|
+
});
|
|
174
|
+
invalid = input(false, {
|
|
175
|
+
...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
|
|
176
|
+
transform: booleanAttribute
|
|
177
|
+
});
|
|
178
|
+
touched = input(null, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
|
|
179
|
+
displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
|
|
180
|
+
fluid = input(false, {
|
|
181
|
+
...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
|
|
182
|
+
transform: booleanAttribute
|
|
183
|
+
});
|
|
184
|
+
toggleMask = input(true, {
|
|
185
|
+
...ngDevMode ? { debugName: "toggleMask" } : /* istanbul ignore next */ {},
|
|
186
|
+
transform: booleanAttribute
|
|
187
|
+
});
|
|
188
|
+
feedback = input(true, {
|
|
189
|
+
...ngDevMode ? { debugName: "feedback" } : /* istanbul ignore next */ {},
|
|
190
|
+
transform: booleanAttribute
|
|
191
|
+
});
|
|
192
|
+
showRequirements = input(true, {
|
|
193
|
+
...ngDevMode ? { debugName: "showRequirements" } : /* istanbul ignore next */ {},
|
|
194
|
+
transform: booleanAttribute
|
|
195
|
+
});
|
|
196
|
+
clearable = input(false, {
|
|
197
|
+
...ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {},
|
|
198
|
+
transform: booleanAttribute
|
|
199
|
+
});
|
|
200
|
+
clearButtonAriaLabel = input("Clear password", ...ngDevMode ? [{ debugName: "clearButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
201
|
+
showPasswordAriaLabel = input("Show password", ...ngDevMode ? [{ debugName: "showPasswordAriaLabel" }] : /* istanbul ignore next */ []);
|
|
202
|
+
hidePasswordAriaLabel = input("Hide password", ...ngDevMode ? [{ debugName: "hidePasswordAriaLabel" }] : /* istanbul ignore next */ []);
|
|
203
|
+
strengthEvaluator = input(evaluateAerisPassword, ...ngDevMode ? [{ debugName: "strengthEvaluator" }] : /* istanbul ignore next */ []);
|
|
204
|
+
visibilityChanged = output();
|
|
205
|
+
focused = output();
|
|
206
|
+
blurred = output();
|
|
207
|
+
touch = output();
|
|
208
|
+
feedbackId = `${this.generatedId}-feedback`;
|
|
209
|
+
headerTemplate = contentChild(AerisPasswordHeaderTemplate, ...ngDevMode ? [{ debugName: "headerTemplate" }] : /* istanbul ignore next */ []);
|
|
210
|
+
feedbackTemplate = contentChild(AerisPasswordFeedbackTemplate, ...ngDevMode ? [{ debugName: "feedbackTemplate" }] : /* istanbul ignore next */ []);
|
|
211
|
+
footerTemplate = contentChild(AerisPasswordFooterTemplate, ...ngDevMode ? [{ debugName: "footerTemplate" }] : /* istanbul ignore next */ []);
|
|
212
|
+
resolvedInputId = computed(() => this.inputId() || this.generatedId, ...ngDevMode ? [{ debugName: "resolvedInputId" }] : /* istanbul ignore next */ []);
|
|
213
|
+
effectiveDisabled = computed(() => this.disabled() || this.formDisabled(), ...ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []);
|
|
214
|
+
strengthResult = computed(() => this.strengthEvaluator()(this.value(), this.minLength()), ...ngDevMode ? [{ debugName: "strengthResult" }] : /* istanbul ignore next */ []);
|
|
215
|
+
feedbackVisible = computed(() => this.feedback() && this.hasFocus() && !this.effectiveDisabled(), ...ngDevMode ? [{ debugName: "feedbackVisible" }] : /* istanbul ignore next */ []);
|
|
216
|
+
showClearButton = computed(() => this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(), ...ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []);
|
|
217
|
+
resolvedAriaDescribedby = computed(() => {
|
|
218
|
+
const ids = [this.ariaDescribedBy(), this.feedbackVisible() ? this.feedbackId : ""].filter(Boolean);
|
|
219
|
+
return ids.length ? ids.join(" ") : null;
|
|
220
|
+
}, ...ngDevMode ? [{ debugName: "resolvedAriaDescribedby" }] : /* istanbul ignore next */ []);
|
|
221
|
+
writeValue(value) {
|
|
222
|
+
this.value.set(typeof value === "string" ? value : value == null ? "" : String(value));
|
|
223
|
+
}
|
|
224
|
+
registerOnChange(callback) {
|
|
225
|
+
this.onChange = callback;
|
|
226
|
+
}
|
|
227
|
+
registerOnTouched(callback) {
|
|
228
|
+
this.onTouched = callback;
|
|
229
|
+
}
|
|
230
|
+
setDisabledState(disabled) {
|
|
231
|
+
this.formDisabled.set(disabled);
|
|
232
|
+
}
|
|
233
|
+
focus(options) {
|
|
234
|
+
this.inputElement()?.nativeElement.focus(options);
|
|
235
|
+
}
|
|
236
|
+
clear() {
|
|
237
|
+
if (this.effectiveDisabled() || this.readonly()) return;
|
|
238
|
+
this.setValue("");
|
|
239
|
+
this.focus();
|
|
240
|
+
}
|
|
241
|
+
show() {
|
|
242
|
+
this.setVisible(true);
|
|
243
|
+
}
|
|
244
|
+
hide() {
|
|
245
|
+
this.setVisible(false);
|
|
246
|
+
}
|
|
247
|
+
toggleVisibility() {
|
|
248
|
+
if (this.effectiveDisabled()) return;
|
|
249
|
+
this.setVisible(!this.visible());
|
|
250
|
+
queueMicrotask(() => this.focus());
|
|
251
|
+
}
|
|
252
|
+
handleInput(event) {
|
|
253
|
+
this.setValue(event.target.value);
|
|
254
|
+
}
|
|
255
|
+
handleFocus(event) {
|
|
256
|
+
this.hasFocus.set(true);
|
|
257
|
+
this.focused.emit(event);
|
|
258
|
+
}
|
|
259
|
+
handleInputBlur(event) {
|
|
260
|
+
this.blurred.emit(event);
|
|
261
|
+
}
|
|
262
|
+
handleFocusOut(event) {
|
|
263
|
+
const nextTarget = event.relatedTarget;
|
|
264
|
+
if (nextTarget instanceof Node && (this.host.nativeElement.contains(nextTarget) || this.feedbackPanel()?.nativeElement.contains(nextTarget))) return;
|
|
265
|
+
this.feedbackPortal()?.restore();
|
|
266
|
+
this.hasFocus.set(false);
|
|
267
|
+
this.touch.emit();
|
|
268
|
+
this.onTouched();
|
|
269
|
+
}
|
|
270
|
+
setValue(value) {
|
|
271
|
+
if (this.value() === value) return;
|
|
272
|
+
this.value.set(value);
|
|
273
|
+
this.onChange(value);
|
|
274
|
+
}
|
|
275
|
+
setVisible(visible) {
|
|
276
|
+
if (this.visible() === visible) return;
|
|
277
|
+
this.visible.set(visible);
|
|
278
|
+
this.visibilityChanged.emit(visible);
|
|
279
|
+
}
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
281
|
+
minVersion: "12.0.0",
|
|
282
|
+
version: "22.2.1",
|
|
283
|
+
ngImport: i0,
|
|
284
|
+
type: AerisPasswordComponent,
|
|
285
|
+
deps: [],
|
|
286
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
287
|
+
});
|
|
288
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
289
|
+
minVersion: "17.0.0",
|
|
290
|
+
version: "22.2.1",
|
|
291
|
+
type: AerisPasswordComponent,
|
|
292
|
+
isStandalone: true,
|
|
293
|
+
selector: "aeris-password",
|
|
294
|
+
inputs: {
|
|
295
|
+
value: {
|
|
296
|
+
classPropertyName: "value",
|
|
297
|
+
publicName: "value",
|
|
298
|
+
isSignal: true,
|
|
299
|
+
isRequired: false,
|
|
300
|
+
transformFunction: null
|
|
301
|
+
},
|
|
302
|
+
visible: {
|
|
303
|
+
classPropertyName: "visible",
|
|
304
|
+
publicName: "visible",
|
|
305
|
+
isSignal: true,
|
|
306
|
+
isRequired: false,
|
|
307
|
+
transformFunction: null
|
|
308
|
+
},
|
|
309
|
+
appendTo: {
|
|
310
|
+
classPropertyName: "appendTo",
|
|
311
|
+
publicName: "appendTo",
|
|
312
|
+
isSignal: true,
|
|
313
|
+
isRequired: false,
|
|
314
|
+
transformFunction: null
|
|
315
|
+
},
|
|
316
|
+
viewportMargin: {
|
|
317
|
+
classPropertyName: "viewportMargin",
|
|
318
|
+
publicName: "viewportMargin",
|
|
319
|
+
isSignal: true,
|
|
320
|
+
isRequired: false,
|
|
321
|
+
transformFunction: null
|
|
322
|
+
},
|
|
323
|
+
inputId: {
|
|
324
|
+
classPropertyName: "inputId",
|
|
325
|
+
publicName: "inputId",
|
|
326
|
+
isSignal: true,
|
|
327
|
+
isRequired: false,
|
|
328
|
+
transformFunction: null
|
|
329
|
+
},
|
|
330
|
+
name: {
|
|
331
|
+
classPropertyName: "name",
|
|
332
|
+
publicName: "name",
|
|
333
|
+
isSignal: true,
|
|
334
|
+
isRequired: false,
|
|
335
|
+
transformFunction: null
|
|
336
|
+
},
|
|
337
|
+
placeholder: {
|
|
338
|
+
classPropertyName: "placeholder",
|
|
339
|
+
publicName: "placeholder",
|
|
340
|
+
isSignal: true,
|
|
341
|
+
isRequired: false,
|
|
342
|
+
transformFunction: null
|
|
343
|
+
},
|
|
344
|
+
autocomplete: {
|
|
345
|
+
classPropertyName: "autocomplete",
|
|
346
|
+
publicName: "autocomplete",
|
|
347
|
+
isSignal: true,
|
|
348
|
+
isRequired: false,
|
|
349
|
+
transformFunction: null
|
|
350
|
+
},
|
|
351
|
+
ariaLabel: {
|
|
352
|
+
classPropertyName: "ariaLabel",
|
|
353
|
+
publicName: "ariaLabel",
|
|
354
|
+
isSignal: true,
|
|
355
|
+
isRequired: false,
|
|
356
|
+
transformFunction: null
|
|
357
|
+
},
|
|
358
|
+
ariaLabelledBy: {
|
|
359
|
+
classPropertyName: "ariaLabelledBy",
|
|
360
|
+
publicName: "ariaLabelledBy",
|
|
361
|
+
isSignal: true,
|
|
362
|
+
isRequired: false,
|
|
363
|
+
transformFunction: null
|
|
364
|
+
},
|
|
365
|
+
ariaDescribedBy: {
|
|
366
|
+
classPropertyName: "ariaDescribedBy",
|
|
367
|
+
publicName: "ariaDescribedBy",
|
|
368
|
+
isSignal: true,
|
|
369
|
+
isRequired: false,
|
|
370
|
+
transformFunction: null
|
|
371
|
+
},
|
|
372
|
+
size: {
|
|
373
|
+
classPropertyName: "size",
|
|
374
|
+
publicName: "size",
|
|
375
|
+
isSignal: true,
|
|
376
|
+
isRequired: false,
|
|
377
|
+
transformFunction: null
|
|
378
|
+
},
|
|
379
|
+
appearance: {
|
|
380
|
+
classPropertyName: "appearance",
|
|
381
|
+
publicName: "appearance",
|
|
382
|
+
isSignal: true,
|
|
383
|
+
isRequired: false,
|
|
384
|
+
transformFunction: null
|
|
385
|
+
},
|
|
386
|
+
minLength: {
|
|
387
|
+
classPropertyName: "minLength",
|
|
388
|
+
publicName: "minLength",
|
|
389
|
+
isSignal: true,
|
|
390
|
+
isRequired: false,
|
|
391
|
+
transformFunction: null
|
|
392
|
+
},
|
|
393
|
+
maxLength: {
|
|
394
|
+
classPropertyName: "maxLength",
|
|
395
|
+
publicName: "maxLength",
|
|
396
|
+
isSignal: true,
|
|
397
|
+
isRequired: false,
|
|
398
|
+
transformFunction: null
|
|
399
|
+
},
|
|
400
|
+
disabled: {
|
|
401
|
+
classPropertyName: "disabled",
|
|
402
|
+
publicName: "disabled",
|
|
403
|
+
isSignal: true,
|
|
404
|
+
isRequired: false,
|
|
405
|
+
transformFunction: null
|
|
406
|
+
},
|
|
407
|
+
readonly: {
|
|
408
|
+
classPropertyName: "readonly",
|
|
409
|
+
publicName: "readonly",
|
|
410
|
+
isSignal: true,
|
|
411
|
+
isRequired: false,
|
|
412
|
+
transformFunction: null
|
|
413
|
+
},
|
|
414
|
+
required: {
|
|
415
|
+
classPropertyName: "required",
|
|
416
|
+
publicName: "required",
|
|
417
|
+
isSignal: true,
|
|
418
|
+
isRequired: false,
|
|
419
|
+
transformFunction: null
|
|
420
|
+
},
|
|
421
|
+
invalid: {
|
|
422
|
+
classPropertyName: "invalid",
|
|
423
|
+
publicName: "invalid",
|
|
424
|
+
isSignal: true,
|
|
425
|
+
isRequired: false,
|
|
426
|
+
transformFunction: null
|
|
427
|
+
},
|
|
428
|
+
touched: {
|
|
429
|
+
classPropertyName: "touched",
|
|
430
|
+
publicName: "touched",
|
|
431
|
+
isSignal: true,
|
|
432
|
+
isRequired: false,
|
|
433
|
+
transformFunction: null
|
|
434
|
+
},
|
|
435
|
+
fluid: {
|
|
436
|
+
classPropertyName: "fluid",
|
|
437
|
+
publicName: "fluid",
|
|
438
|
+
isSignal: true,
|
|
439
|
+
isRequired: false,
|
|
440
|
+
transformFunction: null
|
|
441
|
+
},
|
|
442
|
+
toggleMask: {
|
|
443
|
+
classPropertyName: "toggleMask",
|
|
444
|
+
publicName: "toggleMask",
|
|
445
|
+
isSignal: true,
|
|
446
|
+
isRequired: false,
|
|
447
|
+
transformFunction: null
|
|
448
|
+
},
|
|
449
|
+
feedback: {
|
|
450
|
+
classPropertyName: "feedback",
|
|
451
|
+
publicName: "feedback",
|
|
452
|
+
isSignal: true,
|
|
453
|
+
isRequired: false,
|
|
454
|
+
transformFunction: null
|
|
455
|
+
},
|
|
456
|
+
showRequirements: {
|
|
457
|
+
classPropertyName: "showRequirements",
|
|
458
|
+
publicName: "showRequirements",
|
|
459
|
+
isSignal: true,
|
|
460
|
+
isRequired: false,
|
|
461
|
+
transformFunction: null
|
|
462
|
+
},
|
|
463
|
+
clearable: {
|
|
464
|
+
classPropertyName: "clearable",
|
|
465
|
+
publicName: "clearable",
|
|
466
|
+
isSignal: true,
|
|
467
|
+
isRequired: false,
|
|
468
|
+
transformFunction: null
|
|
469
|
+
},
|
|
470
|
+
clearButtonAriaLabel: {
|
|
471
|
+
classPropertyName: "clearButtonAriaLabel",
|
|
472
|
+
publicName: "clearButtonAriaLabel",
|
|
473
|
+
isSignal: true,
|
|
474
|
+
isRequired: false,
|
|
475
|
+
transformFunction: null
|
|
476
|
+
},
|
|
477
|
+
showPasswordAriaLabel: {
|
|
478
|
+
classPropertyName: "showPasswordAriaLabel",
|
|
479
|
+
publicName: "showPasswordAriaLabel",
|
|
480
|
+
isSignal: true,
|
|
481
|
+
isRequired: false,
|
|
482
|
+
transformFunction: null
|
|
483
|
+
},
|
|
484
|
+
hidePasswordAriaLabel: {
|
|
485
|
+
classPropertyName: "hidePasswordAriaLabel",
|
|
486
|
+
publicName: "hidePasswordAriaLabel",
|
|
487
|
+
isSignal: true,
|
|
488
|
+
isRequired: false,
|
|
489
|
+
transformFunction: null
|
|
490
|
+
},
|
|
491
|
+
strengthEvaluator: {
|
|
492
|
+
classPropertyName: "strengthEvaluator",
|
|
493
|
+
publicName: "strengthEvaluator",
|
|
494
|
+
isSignal: true,
|
|
495
|
+
isRequired: false,
|
|
496
|
+
transformFunction: null
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
outputs: {
|
|
500
|
+
value: "valueChange",
|
|
501
|
+
visible: "visibleChange",
|
|
502
|
+
visibilityChanged: "visibilityChanged",
|
|
503
|
+
focused: "focused",
|
|
504
|
+
blurred: "blurred",
|
|
505
|
+
touch: "touch"
|
|
506
|
+
},
|
|
507
|
+
host: { properties: { "attr.data-fluid": "fluid() || null" } },
|
|
508
|
+
providers: [{
|
|
509
|
+
provide: NG_VALUE_ACCESSOR,
|
|
510
|
+
useExisting: forwardRef(() => AerisPasswordComponent),
|
|
511
|
+
multi: true
|
|
512
|
+
}],
|
|
513
|
+
queries: [
|
|
514
|
+
{
|
|
515
|
+
propertyName: "headerTemplate",
|
|
516
|
+
first: true,
|
|
517
|
+
predicate: AerisPasswordHeaderTemplate,
|
|
518
|
+
descendants: true,
|
|
519
|
+
isSignal: true
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
propertyName: "feedbackTemplate",
|
|
523
|
+
first: true,
|
|
524
|
+
predicate: AerisPasswordFeedbackTemplate,
|
|
525
|
+
descendants: true,
|
|
526
|
+
isSignal: true
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
propertyName: "footerTemplate",
|
|
530
|
+
first: true,
|
|
531
|
+
predicate: AerisPasswordFooterTemplate,
|
|
532
|
+
descendants: true,
|
|
533
|
+
isSignal: true
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
viewQueries: [
|
|
537
|
+
{
|
|
538
|
+
propertyName: "inputElement",
|
|
539
|
+
first: true,
|
|
540
|
+
predicate: ["passwordInput"],
|
|
541
|
+
descendants: true,
|
|
542
|
+
isSignal: true
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
propertyName: "feedbackPanel",
|
|
546
|
+
first: true,
|
|
547
|
+
predicate: ["feedbackPanel"],
|
|
548
|
+
descendants: true,
|
|
549
|
+
isSignal: true
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
propertyName: "feedbackPortal",
|
|
553
|
+
first: true,
|
|
554
|
+
predicate: ɵAerisAppendTo,
|
|
555
|
+
descendants: true,
|
|
556
|
+
isSignal: true
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
ngImport: i0,
|
|
560
|
+
template: `
|
|
228
561
|
<span
|
|
229
562
|
class="aeris-password"
|
|
230
563
|
[attr.data-size]="size()"
|
|
@@ -351,11 +684,48 @@ class AerisPasswordComponent {
|
|
|
351
684
|
</span>
|
|
352
685
|
}
|
|
353
686
|
</span>
|
|
354
|
-
`,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
687
|
+
`,
|
|
688
|
+
isInline: true,
|
|
689
|
+
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"],
|
|
690
|
+
dependencies: [{
|
|
691
|
+
kind: "directive",
|
|
692
|
+
type: NgTemplateOutlet,
|
|
693
|
+
selector: "[ngTemplateOutlet]",
|
|
694
|
+
inputs: [
|
|
695
|
+
"ngTemplateOutletContext",
|
|
696
|
+
"ngTemplateOutlet",
|
|
697
|
+
"ngTemplateOutletInjector"
|
|
698
|
+
]
|
|
699
|
+
}, {
|
|
700
|
+
kind: "directive",
|
|
701
|
+
type: ɵAerisAppendTo,
|
|
702
|
+
selector: "[aerisInternalAppendTo]",
|
|
703
|
+
inputs: [
|
|
704
|
+
"aerisInternalAppendTo",
|
|
705
|
+
"aerisInternalAppendToDefault",
|
|
706
|
+
"aerisInternalAppendToAnchor",
|
|
707
|
+
"aerisInternalAppendToOffset",
|
|
708
|
+
"aerisInternalAppendToMatchWidth",
|
|
709
|
+
"aerisInternalAppendToPlacement",
|
|
710
|
+
"aerisInternalAppendToAlignment",
|
|
711
|
+
"aerisInternalAppendToCollisionPadding",
|
|
712
|
+
"aerisInternalAppendToPositionSelf"
|
|
713
|
+
],
|
|
714
|
+
outputs: ["aerisInternalAppendToOutside"]
|
|
715
|
+
}]
|
|
716
|
+
});
|
|
717
|
+
};
|
|
718
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
719
|
+
minVersion: "12.0.0",
|
|
720
|
+
version: "22.2.1",
|
|
721
|
+
ngImport: i0,
|
|
722
|
+
type: AerisPasswordComponent,
|
|
723
|
+
decorators: [{
|
|
724
|
+
type: Component,
|
|
725
|
+
args: [{
|
|
726
|
+
selector: "aeris-password",
|
|
727
|
+
imports: [NgTemplateOutlet, ɵAerisAppendTo],
|
|
728
|
+
template: `
|
|
359
729
|
<span
|
|
360
730
|
class="aeris-password"
|
|
361
731
|
[attr.data-size]="size()"
|
|
@@ -482,26 +852,303 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
482
852
|
</span>
|
|
483
853
|
}
|
|
484
854
|
</span>
|
|
485
|
-
`,
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
855
|
+
`,
|
|
856
|
+
providers: [{
|
|
857
|
+
provide: NG_VALUE_ACCESSOR,
|
|
858
|
+
useExisting: forwardRef(() => AerisPasswordComponent),
|
|
859
|
+
multi: true
|
|
860
|
+
}],
|
|
861
|
+
host: { "[attr.data-fluid]": "fluid() || null" },
|
|
862
|
+
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"]
|
|
863
|
+
}]
|
|
864
|
+
}],
|
|
865
|
+
propDecorators: {
|
|
866
|
+
inputElement: [{
|
|
867
|
+
type: i0.ViewChild,
|
|
868
|
+
args: ["passwordInput", { isSignal: true }]
|
|
869
|
+
}],
|
|
870
|
+
feedbackPanel: [{
|
|
871
|
+
type: i0.ViewChild,
|
|
872
|
+
args: ["feedbackPanel", { isSignal: true }]
|
|
873
|
+
}],
|
|
874
|
+
feedbackPortal: [{
|
|
875
|
+
type: i0.ViewChild,
|
|
876
|
+
args: [i0.forwardRef(() => ɵAerisAppendTo), { isSignal: true }]
|
|
877
|
+
}],
|
|
878
|
+
value: [{
|
|
879
|
+
type: i0.Input,
|
|
880
|
+
args: [{
|
|
881
|
+
isSignal: true,
|
|
882
|
+
alias: "value",
|
|
883
|
+
required: false
|
|
884
|
+
}]
|
|
885
|
+
}, {
|
|
886
|
+
type: i0.Output,
|
|
887
|
+
args: ["valueChange"]
|
|
888
|
+
}],
|
|
889
|
+
visible: [{
|
|
890
|
+
type: i0.Input,
|
|
891
|
+
args: [{
|
|
892
|
+
isSignal: true,
|
|
893
|
+
alias: "visible",
|
|
894
|
+
required: false
|
|
895
|
+
}]
|
|
896
|
+
}, {
|
|
897
|
+
type: i0.Output,
|
|
898
|
+
args: ["visibleChange"]
|
|
899
|
+
}],
|
|
900
|
+
appendTo: [{
|
|
901
|
+
type: i0.Input,
|
|
902
|
+
args: [{
|
|
903
|
+
isSignal: true,
|
|
904
|
+
alias: "appendTo",
|
|
905
|
+
required: false
|
|
906
|
+
}]
|
|
907
|
+
}],
|
|
908
|
+
viewportMargin: [{
|
|
909
|
+
type: i0.Input,
|
|
910
|
+
args: [{
|
|
911
|
+
isSignal: true,
|
|
912
|
+
alias: "viewportMargin",
|
|
913
|
+
required: false
|
|
914
|
+
}]
|
|
915
|
+
}],
|
|
916
|
+
inputId: [{
|
|
917
|
+
type: i0.Input,
|
|
918
|
+
args: [{
|
|
919
|
+
isSignal: true,
|
|
920
|
+
alias: "inputId",
|
|
921
|
+
required: false
|
|
922
|
+
}]
|
|
923
|
+
}],
|
|
924
|
+
name: [{
|
|
925
|
+
type: i0.Input,
|
|
926
|
+
args: [{
|
|
927
|
+
isSignal: true,
|
|
928
|
+
alias: "name",
|
|
929
|
+
required: false
|
|
930
|
+
}]
|
|
931
|
+
}],
|
|
932
|
+
placeholder: [{
|
|
933
|
+
type: i0.Input,
|
|
934
|
+
args: [{
|
|
935
|
+
isSignal: true,
|
|
936
|
+
alias: "placeholder",
|
|
937
|
+
required: false
|
|
938
|
+
}]
|
|
939
|
+
}],
|
|
940
|
+
autocomplete: [{
|
|
941
|
+
type: i0.Input,
|
|
942
|
+
args: [{
|
|
943
|
+
isSignal: true,
|
|
944
|
+
alias: "autocomplete",
|
|
945
|
+
required: false
|
|
946
|
+
}]
|
|
947
|
+
}],
|
|
948
|
+
ariaLabel: [{
|
|
949
|
+
type: i0.Input,
|
|
950
|
+
args: [{
|
|
951
|
+
isSignal: true,
|
|
952
|
+
alias: "ariaLabel",
|
|
953
|
+
required: false
|
|
954
|
+
}]
|
|
955
|
+
}],
|
|
956
|
+
ariaLabelledBy: [{
|
|
957
|
+
type: i0.Input,
|
|
958
|
+
args: [{
|
|
959
|
+
isSignal: true,
|
|
960
|
+
alias: "ariaLabelledBy",
|
|
961
|
+
required: false
|
|
962
|
+
}]
|
|
963
|
+
}],
|
|
964
|
+
ariaDescribedBy: [{
|
|
965
|
+
type: i0.Input,
|
|
966
|
+
args: [{
|
|
967
|
+
isSignal: true,
|
|
968
|
+
alias: "ariaDescribedBy",
|
|
969
|
+
required: false
|
|
970
|
+
}]
|
|
971
|
+
}],
|
|
972
|
+
size: [{
|
|
973
|
+
type: i0.Input,
|
|
974
|
+
args: [{
|
|
975
|
+
isSignal: true,
|
|
976
|
+
alias: "size",
|
|
977
|
+
required: false
|
|
978
|
+
}]
|
|
979
|
+
}],
|
|
980
|
+
appearance: [{
|
|
981
|
+
type: i0.Input,
|
|
982
|
+
args: [{
|
|
983
|
+
isSignal: true,
|
|
984
|
+
alias: "appearance",
|
|
985
|
+
required: false
|
|
986
|
+
}]
|
|
987
|
+
}],
|
|
988
|
+
minLength: [{
|
|
989
|
+
type: i0.Input,
|
|
990
|
+
args: [{
|
|
991
|
+
isSignal: true,
|
|
992
|
+
alias: "minLength",
|
|
993
|
+
required: false
|
|
994
|
+
}]
|
|
995
|
+
}],
|
|
996
|
+
maxLength: [{
|
|
997
|
+
type: i0.Input,
|
|
998
|
+
args: [{
|
|
999
|
+
isSignal: true,
|
|
1000
|
+
alias: "maxLength",
|
|
1001
|
+
required: false
|
|
1002
|
+
}]
|
|
1003
|
+
}],
|
|
1004
|
+
disabled: [{
|
|
1005
|
+
type: i0.Input,
|
|
1006
|
+
args: [{
|
|
1007
|
+
isSignal: true,
|
|
1008
|
+
alias: "disabled",
|
|
1009
|
+
required: false
|
|
1010
|
+
}]
|
|
1011
|
+
}],
|
|
1012
|
+
readonly: [{
|
|
1013
|
+
type: i0.Input,
|
|
1014
|
+
args: [{
|
|
1015
|
+
isSignal: true,
|
|
1016
|
+
alias: "readonly",
|
|
1017
|
+
required: false
|
|
1018
|
+
}]
|
|
1019
|
+
}],
|
|
1020
|
+
required: [{
|
|
1021
|
+
type: i0.Input,
|
|
1022
|
+
args: [{
|
|
1023
|
+
isSignal: true,
|
|
1024
|
+
alias: "required",
|
|
1025
|
+
required: false
|
|
1026
|
+
}]
|
|
1027
|
+
}],
|
|
1028
|
+
invalid: [{
|
|
1029
|
+
type: i0.Input,
|
|
1030
|
+
args: [{
|
|
1031
|
+
isSignal: true,
|
|
1032
|
+
alias: "invalid",
|
|
1033
|
+
required: false
|
|
1034
|
+
}]
|
|
1035
|
+
}],
|
|
1036
|
+
touched: [{
|
|
1037
|
+
type: i0.Input,
|
|
1038
|
+
args: [{
|
|
1039
|
+
isSignal: true,
|
|
1040
|
+
alias: "touched",
|
|
1041
|
+
required: false
|
|
1042
|
+
}]
|
|
1043
|
+
}],
|
|
1044
|
+
fluid: [{
|
|
1045
|
+
type: i0.Input,
|
|
1046
|
+
args: [{
|
|
1047
|
+
isSignal: true,
|
|
1048
|
+
alias: "fluid",
|
|
1049
|
+
required: false
|
|
1050
|
+
}]
|
|
1051
|
+
}],
|
|
1052
|
+
toggleMask: [{
|
|
1053
|
+
type: i0.Input,
|
|
1054
|
+
args: [{
|
|
1055
|
+
isSignal: true,
|
|
1056
|
+
alias: "toggleMask",
|
|
1057
|
+
required: false
|
|
1058
|
+
}]
|
|
1059
|
+
}],
|
|
1060
|
+
feedback: [{
|
|
1061
|
+
type: i0.Input,
|
|
1062
|
+
args: [{
|
|
1063
|
+
isSignal: true,
|
|
1064
|
+
alias: "feedback",
|
|
1065
|
+
required: false
|
|
1066
|
+
}]
|
|
1067
|
+
}],
|
|
1068
|
+
showRequirements: [{
|
|
1069
|
+
type: i0.Input,
|
|
1070
|
+
args: [{
|
|
1071
|
+
isSignal: true,
|
|
1072
|
+
alias: "showRequirements",
|
|
1073
|
+
required: false
|
|
1074
|
+
}]
|
|
1075
|
+
}],
|
|
1076
|
+
clearable: [{
|
|
1077
|
+
type: i0.Input,
|
|
1078
|
+
args: [{
|
|
1079
|
+
isSignal: true,
|
|
1080
|
+
alias: "clearable",
|
|
1081
|
+
required: false
|
|
1082
|
+
}]
|
|
1083
|
+
}],
|
|
1084
|
+
clearButtonAriaLabel: [{
|
|
1085
|
+
type: i0.Input,
|
|
1086
|
+
args: [{
|
|
1087
|
+
isSignal: true,
|
|
1088
|
+
alias: "clearButtonAriaLabel",
|
|
1089
|
+
required: false
|
|
1090
|
+
}]
|
|
1091
|
+
}],
|
|
1092
|
+
showPasswordAriaLabel: [{
|
|
1093
|
+
type: i0.Input,
|
|
1094
|
+
args: [{
|
|
1095
|
+
isSignal: true,
|
|
1096
|
+
alias: "showPasswordAriaLabel",
|
|
1097
|
+
required: false
|
|
1098
|
+
}]
|
|
1099
|
+
}],
|
|
1100
|
+
hidePasswordAriaLabel: [{
|
|
1101
|
+
type: i0.Input,
|
|
1102
|
+
args: [{
|
|
1103
|
+
isSignal: true,
|
|
1104
|
+
alias: "hidePasswordAriaLabel",
|
|
1105
|
+
required: false
|
|
1106
|
+
}]
|
|
1107
|
+
}],
|
|
1108
|
+
strengthEvaluator: [{
|
|
1109
|
+
type: i0.Input,
|
|
1110
|
+
args: [{
|
|
1111
|
+
isSignal: true,
|
|
1112
|
+
alias: "strengthEvaluator",
|
|
1113
|
+
required: false
|
|
1114
|
+
}]
|
|
1115
|
+
}],
|
|
1116
|
+
visibilityChanged: [{
|
|
1117
|
+
type: i0.Output,
|
|
1118
|
+
args: ["visibilityChanged"]
|
|
1119
|
+
}],
|
|
1120
|
+
focused: [{
|
|
1121
|
+
type: i0.Output,
|
|
1122
|
+
args: ["focused"]
|
|
1123
|
+
}],
|
|
1124
|
+
blurred: [{
|
|
1125
|
+
type: i0.Output,
|
|
1126
|
+
args: ["blurred"]
|
|
1127
|
+
}],
|
|
1128
|
+
touch: [{
|
|
1129
|
+
type: i0.Output,
|
|
1130
|
+
args: ["touch"]
|
|
1131
|
+
}],
|
|
1132
|
+
headerTemplate: [{
|
|
1133
|
+
type: i0.ContentChild,
|
|
1134
|
+
args: [i0.forwardRef(() => AerisPasswordHeaderTemplate), { isSignal: true }]
|
|
1135
|
+
}],
|
|
1136
|
+
feedbackTemplate: [{
|
|
1137
|
+
type: i0.ContentChild,
|
|
1138
|
+
args: [i0.forwardRef(() => AerisPasswordFeedbackTemplate), { isSignal: true }]
|
|
1139
|
+
}],
|
|
1140
|
+
footerTemplate: [{
|
|
1141
|
+
type: i0.ContentChild,
|
|
1142
|
+
args: [i0.forwardRef(() => AerisPasswordFooterTemplate), { isSignal: true }]
|
|
1143
|
+
}]
|
|
1144
|
+
}
|
|
1145
|
+
});
|
|
495
1146
|
const AerisPassword = [
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
1147
|
+
AerisPasswordComponent,
|
|
1148
|
+
AerisPasswordHeaderTemplate,
|
|
1149
|
+
AerisPasswordFeedbackTemplate,
|
|
1150
|
+
AerisPasswordFooterTemplate
|
|
500
1151
|
];
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* Generated bundle index. Do not edit.
|
|
504
|
-
*/
|
|
505
|
-
|
|
506
1152
|
export { AerisPassword, AerisPasswordComponent, AerisPasswordFeedbackTemplate, AerisPasswordFooterTemplate, AerisPasswordHeaderTemplate, evaluateAerisPassword };
|
|
507
|
-
|
|
1153
|
+
|
|
1154
|
+
//# sourceMappingURL=aeris-ui-core-password.mjs.map
|