@aeris-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.12
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 +35 -3
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +34 -32
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +119 -50
- 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 +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs +18 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +42 -24
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +417 -14
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +191 -19
- 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 +81 -19
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +165 -46
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +171 -36
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +191 -22
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +702 -27
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-code-block.mjs +57 -7
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1223 -503
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +61 -34
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +68 -38
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +46 -38
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +94 -43
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1186 -650
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +157 -71
- 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 +751 -77
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +14 -6
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +847 -202
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +204 -68
- 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-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +5 -5
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
- package/fesm2022/aeris-ui-core-galleria.mjs +472 -123
- 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 +12 -12
- package/fesm2022/aeris-ui-core-inplace.mjs +56 -14
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +17 -17
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +61 -8
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +191 -28
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
- package/fesm2022/aeris-ui-core-input-text.mjs +102 -26
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +59 -16
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +95 -52
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +103 -34
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +48 -14
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +33 -15
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +283 -65
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +191 -35
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +48 -14
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +300 -61
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +21 -29
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +166 -65
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +528 -56
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +504 -72
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +75 -21
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +24 -6
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +119 -19
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +6 -6
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs +59 -12
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +206 -87
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +3 -3
- package/fesm2022/aeris-ui-core-speed-dial.mjs +34 -13
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +26 -11
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +35 -20
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +23 -17
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +945 -106
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +81 -19
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +89 -28
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +202 -126
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +8 -8
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +94 -43
- 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-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +73 -44
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +916 -44
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +252 -61
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +493 -124
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +165 -27
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +632 -12
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +29 -1
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +32 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +8 -9
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +8 -21
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +6 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +64 -91
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +7 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +11 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +81 -10
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/aeris.css +35 -12
- package/styles/controls.css +149 -11
- package/tools/aeris-theme.mjs +3 -3
- package/tools/aeris-theme.schema.json +13 -11
- package/types/aeris-ui-core-auto-complete.d.ts +12 -0
- package/types/aeris-ui-core-block-ui.d.ts +1 -0
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +116 -3
- package/types/aeris-ui-core-button.d.ts +52 -4
- package/types/aeris-ui-core-carousel.d.ts +12 -0
- package/types/aeris-ui-core-cascade-select.d.ts +18 -0
- package/types/aeris-ui-core-chart.d.ts +26 -10
- package/types/aeris-ui-core-checkbox.d.ts +36 -2
- package/types/aeris-ui-core-chip.d.ts +196 -1
- package/types/aeris-ui-core-code-block.d.ts +13 -4
- package/types/aeris-ui-core-color-picker.d.ts +117 -15
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +6 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +9 -1
- package/types/aeris-ui-core-context-menu.d.ts +6 -0
- package/types/aeris-ui-core-date-picker.d.ts +90 -20
- package/types/aeris-ui-core-dialog.d.ts +15 -2
- package/types/aeris-ui-core-drawer.d.ts +105 -4
- package/types/aeris-ui-core-dynamic-dialog.d.ts +6 -2
- package/types/aeris-ui-core-editor.d.ts +8 -1
- package/types/aeris-ui-core-file-upload.d.ts +18 -0
- package/types/aeris-ui-core-galleria.d.ts +48 -0
- package/types/aeris-ui-core-inplace.d.ts +6 -0
- package/types/aeris-ui-core-input-mask.d.ts +8 -1
- package/types/aeris-ui-core-input-number.d.ts +20 -1
- package/types/aeris-ui-core-input-text.d.ts +11 -1
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +6 -0
- package/types/aeris-ui-core-menu.d.ts +6 -0
- package/types/aeris-ui-core-menubar.d.ts +16 -0
- package/types/aeris-ui-core-message.d.ts +6 -0
- package/types/aeris-ui-core-meter-group.d.ts +6 -0
- package/types/aeris-ui-core-multi-select.d.ts +30 -0
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +24 -0
- package/types/aeris-ui-core-organization-chart.d.ts +6 -0
- package/types/aeris-ui-core-paginator.d.ts +37 -1
- package/types/aeris-ui-core-password.d.ts +18 -0
- package/types/aeris-ui-core-pick-list.d.ts +54 -0
- package/types/aeris-ui-core-popover.d.ts +80 -5
- package/types/aeris-ui-core-progress-bar.d.ts +6 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +6 -0
- package/types/aeris-ui-core-radio-button.d.ts +24 -2
- package/types/aeris-ui-core-rating.d.ts +1 -1
- package/types/aeris-ui-core-scroll-top.d.ts +7 -0
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +12 -0
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- package/types/aeris-ui-core-splitter.d.ts +3 -4
- package/types/aeris-ui-core-table.d.ts +144 -11
- package/types/aeris-ui-core-tabs.d.ts +12 -0
- package/types/aeris-ui-core-textarea.d.ts +11 -1
- package/types/aeris-ui-core-theme-builder.d.ts +31 -296
- package/types/aeris-ui-core-tiered-menu.d.ts +6 -0
- package/types/aeris-ui-core-toast.d.ts +8 -2
- package/types/aeris-ui-core-toolbar.d.ts +213 -3
- package/types/aeris-ui-core-tree-select.d.ts +30 -0
- package/types/aeris-ui-core-tree-table.d.ts +75 -14
- package/types/aeris-ui-core-tree.d.ts +24 -0
- package/types/aeris-ui-core.d.ts +140 -3
|
@@ -7,7 +7,7 @@ var AerisInputOtpSeparatorTemplate = class AerisInputOtpSeparatorTemplate {
|
|
|
7
7
|
template = inject(TemplateRef);
|
|
8
8
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
9
|
minVersion: "12.0.0",
|
|
10
|
-
version: "22.2.
|
|
10
|
+
version: "22.2.4",
|
|
11
11
|
ngImport: i0,
|
|
12
12
|
type: AerisInputOtpSeparatorTemplate,
|
|
13
13
|
deps: [],
|
|
@@ -15,7 +15,7 @@ var AerisInputOtpSeparatorTemplate = class AerisInputOtpSeparatorTemplate {
|
|
|
15
15
|
});
|
|
16
16
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
17
17
|
minVersion: "14.0.0",
|
|
18
|
-
version: "22.2.
|
|
18
|
+
version: "22.2.4",
|
|
19
19
|
type: AerisInputOtpSeparatorTemplate,
|
|
20
20
|
isStandalone: true,
|
|
21
21
|
selector: "ng-template[aerisInputOtpSeparator]",
|
|
@@ -24,7 +24,7 @@ var AerisInputOtpSeparatorTemplate = class AerisInputOtpSeparatorTemplate {
|
|
|
24
24
|
};
|
|
25
25
|
i0.ɵɵngDeclareClassMetadata({
|
|
26
26
|
minVersion: "12.0.0",
|
|
27
|
-
version: "22.2.
|
|
27
|
+
version: "22.2.4",
|
|
28
28
|
ngImport: i0,
|
|
29
29
|
type: AerisInputOtpSeparatorTemplate,
|
|
30
30
|
decorators: [{
|
|
@@ -241,7 +241,7 @@ var AerisInputOtpComponent = class AerisInputOtpComponent {
|
|
|
241
241
|
}
|
|
242
242
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
243
243
|
minVersion: "12.0.0",
|
|
244
|
-
version: "22.2.
|
|
244
|
+
version: "22.2.4",
|
|
245
245
|
ngImport: i0,
|
|
246
246
|
type: AerisInputOtpComponent,
|
|
247
247
|
deps: [],
|
|
@@ -249,7 +249,7 @@ var AerisInputOtpComponent = class AerisInputOtpComponent {
|
|
|
249
249
|
});
|
|
250
250
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
251
251
|
minVersion: "17.0.0",
|
|
252
|
-
version: "22.2.
|
|
252
|
+
version: "22.2.4",
|
|
253
253
|
type: AerisInputOtpComponent,
|
|
254
254
|
isStandalone: true,
|
|
255
255
|
selector: "aeris-input-otp",
|
|
@@ -499,7 +499,7 @@ var AerisInputOtpComponent = class AerisInputOtpComponent {
|
|
|
499
499
|
};
|
|
500
500
|
i0.ɵɵngDeclareClassMetadata({
|
|
501
501
|
minVersion: "12.0.0",
|
|
502
|
-
version: "22.2.
|
|
502
|
+
version: "22.2.4",
|
|
503
503
|
ngImport: i0,
|
|
504
504
|
type: AerisInputOtpComponent,
|
|
505
505
|
decorators: [{
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component, Directive, booleanAttribute, computed, forwardRef, input, model, output, signal, viewChild } from "@angular/core";
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
4
|
-
import { ɵaerisDisplayInvalid } from "@aeris-ui/core";
|
|
3
|
+
import { Component, Directive, booleanAttribute, computed, forwardRef, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { COMPOSITION_BUFFER_MODE, NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
5
|
+
import { ɵAerisIcon, ɵaerisDisplayInvalid } from "@aeris-ui/core";
|
|
5
6
|
var AerisInputTextDirective = class AerisInputTextDirective {
|
|
6
7
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
7
8
|
appearance = input("outline", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
@@ -17,7 +18,7 @@ var AerisInputTextDirective = class AerisInputTextDirective {
|
|
|
17
18
|
displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
|
|
18
19
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19
20
|
minVersion: "12.0.0",
|
|
20
|
-
version: "22.2.
|
|
21
|
+
version: "22.2.4",
|
|
21
22
|
ngImport: i0,
|
|
22
23
|
type: AerisInputTextDirective,
|
|
23
24
|
deps: [],
|
|
@@ -25,7 +26,7 @@ var AerisInputTextDirective = class AerisInputTextDirective {
|
|
|
25
26
|
});
|
|
26
27
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
27
28
|
minVersion: "17.1.0",
|
|
28
|
-
version: "22.2.
|
|
29
|
+
version: "22.2.4",
|
|
29
30
|
type: AerisInputTextDirective,
|
|
30
31
|
isStandalone: true,
|
|
31
32
|
selector: "input[aerisInputText]",
|
|
@@ -84,7 +85,7 @@ var AerisInputTextDirective = class AerisInputTextDirective {
|
|
|
84
85
|
};
|
|
85
86
|
i0.ɵɵngDeclareClassMetadata({
|
|
86
87
|
minVersion: "12.0.0",
|
|
87
|
-
version: "22.2.
|
|
88
|
+
version: "22.2.4",
|
|
88
89
|
ngImport: i0,
|
|
89
90
|
type: AerisInputTextDirective,
|
|
90
91
|
decorators: [{
|
|
@@ -149,6 +150,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
149
150
|
});
|
|
150
151
|
let inputTextId = 0;
|
|
151
152
|
var AerisInputTextComponent = class AerisInputTextComponent {
|
|
153
|
+
bufferComposition = inject(COMPOSITION_BUFFER_MODE, { optional: true }) ?? true;
|
|
154
|
+
composing = false;
|
|
155
|
+
clearIconTemplate = input(...ngDevMode ? [void 0, { debugName: "clearIconTemplate" }] : /* istanbul ignore next */ []);
|
|
152
156
|
inputElement = viewChild("textInput", ...ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []);
|
|
153
157
|
generatedId = `aeris-input-text-${++inputTextId}`;
|
|
154
158
|
formDisabled = signal(false, ...ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []);
|
|
@@ -221,8 +225,13 @@ var AerisInputTextComponent = class AerisInputTextComponent {
|
|
|
221
225
|
this.focus();
|
|
222
226
|
}
|
|
223
227
|
handleInput(event) {
|
|
228
|
+
if (this.bufferComposition && (this.composing || event.isComposing)) return;
|
|
224
229
|
this.setValue(event.target.value);
|
|
225
230
|
}
|
|
231
|
+
handleCompositionEnd(event) {
|
|
232
|
+
this.composing = false;
|
|
233
|
+
if (this.bufferComposition) this.handleInput(event);
|
|
234
|
+
}
|
|
226
235
|
handleBlur(event) {
|
|
227
236
|
this.touch.emit();
|
|
228
237
|
this.onTouched();
|
|
@@ -235,7 +244,7 @@ var AerisInputTextComponent = class AerisInputTextComponent {
|
|
|
235
244
|
}
|
|
236
245
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
237
246
|
minVersion: "12.0.0",
|
|
238
|
-
version: "22.2.
|
|
247
|
+
version: "22.2.4",
|
|
239
248
|
ngImport: i0,
|
|
240
249
|
type: AerisInputTextComponent,
|
|
241
250
|
deps: [],
|
|
@@ -243,11 +252,18 @@ var AerisInputTextComponent = class AerisInputTextComponent {
|
|
|
243
252
|
});
|
|
244
253
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
245
254
|
minVersion: "17.0.0",
|
|
246
|
-
version: "22.2.
|
|
255
|
+
version: "22.2.4",
|
|
247
256
|
type: AerisInputTextComponent,
|
|
248
257
|
isStandalone: true,
|
|
249
258
|
selector: "aeris-input-text",
|
|
250
259
|
inputs: {
|
|
260
|
+
clearIconTemplate: {
|
|
261
|
+
classPropertyName: "clearIconTemplate",
|
|
262
|
+
publicName: "clearIconTemplate",
|
|
263
|
+
isSignal: true,
|
|
264
|
+
isRequired: false,
|
|
265
|
+
transformFunction: null
|
|
266
|
+
},
|
|
251
267
|
value: {
|
|
252
268
|
classPropertyName: "value",
|
|
253
269
|
publicName: "value",
|
|
@@ -425,6 +441,8 @@ var AerisInputTextComponent = class AerisInputTextComponent {
|
|
|
425
441
|
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
426
442
|
[attr.aria-describedby]="ariaDescribedBy()"
|
|
427
443
|
(input)="handleInput($event)"
|
|
444
|
+
(compositionstart)="composing = true"
|
|
445
|
+
(compositionend)="handleCompositionEnd($event)"
|
|
428
446
|
(focus)="focused.emit($event)"
|
|
429
447
|
(blur)="handleBlur($event)"
|
|
430
448
|
/>
|
|
@@ -435,37 +453,72 @@ var AerisInputTextComponent = class AerisInputTextComponent {
|
|
|
435
453
|
[attr.aria-label]="clearButtonAriaLabel()"
|
|
436
454
|
(click)="clear()"
|
|
437
455
|
>
|
|
438
|
-
|
|
456
|
+
@if (clearIconTemplate(); as customIcon) {
|
|
457
|
+
<span
|
|
458
|
+
class="aeris-input-text-component__clear-mark"
|
|
459
|
+
aria-hidden="true"
|
|
460
|
+
data-aeris-custom-icon
|
|
461
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
462
|
+
/></span>
|
|
463
|
+
} @else {
|
|
464
|
+
<span
|
|
465
|
+
aerisInternalIcon="close"
|
|
466
|
+
class="aeris-input-text-component__clear-mark"
|
|
467
|
+
aria-hidden="true"
|
|
468
|
+
></span>
|
|
469
|
+
}
|
|
439
470
|
</button>
|
|
440
471
|
}
|
|
441
472
|
</span>
|
|
442
473
|
`,
|
|
443
474
|
isInline: true,
|
|
444
|
-
styles: [":host{display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-input-text-component__field{position:relative;display:block;width:100%}.aeris-input-text-component__field input{padding-inline-end:2.625rem}.aeris-input-text-component__field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.aeris-input-text-component__clear{position:absolute;top:50%;right:.4375rem;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, #454545);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-input-text-component__clear:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-input-text-component__clear:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-input-text-component__clear-mark{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}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"],
|
|
445
|
-
dependencies: [
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
"
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
"
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
475
|
+
styles: [":host{display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-input-text-component__field{position:relative;display:block;width:100%}.aeris-input-text-component__field input{padding-inline-end:2.625rem}.aeris-input-text-component__field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.aeris-input-text-component__clear{position:absolute;top:50%;right:.4375rem;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, #454545);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-input-text-component__clear:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-input-text-component__clear:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-input-text-component__clear-mark{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}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}\n"],
|
|
476
|
+
dependencies: [
|
|
477
|
+
{
|
|
478
|
+
kind: "component",
|
|
479
|
+
type: ɵAerisIcon,
|
|
480
|
+
selector: "span[aerisInternalIcon]",
|
|
481
|
+
inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
kind: "directive",
|
|
485
|
+
type: NgTemplateOutlet,
|
|
486
|
+
selector: "[ngTemplateOutlet]",
|
|
487
|
+
inputs: [
|
|
488
|
+
"ngTemplateOutletContext",
|
|
489
|
+
"ngTemplateOutlet",
|
|
490
|
+
"ngTemplateOutletInjector"
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
kind: "directive",
|
|
495
|
+
type: AerisInputTextDirective,
|
|
496
|
+
selector: "input[aerisInputText]",
|
|
497
|
+
inputs: [
|
|
498
|
+
"size",
|
|
499
|
+
"appearance",
|
|
500
|
+
"invalid",
|
|
501
|
+
"touched",
|
|
502
|
+
"fluid"
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
]
|
|
457
506
|
});
|
|
458
507
|
};
|
|
459
508
|
i0.ɵɵngDeclareClassMetadata({
|
|
460
509
|
minVersion: "12.0.0",
|
|
461
|
-
version: "22.2.
|
|
510
|
+
version: "22.2.4",
|
|
462
511
|
ngImport: i0,
|
|
463
512
|
type: AerisInputTextComponent,
|
|
464
513
|
decorators: [{
|
|
465
514
|
type: Component,
|
|
466
515
|
args: [{
|
|
467
516
|
selector: "aeris-input-text",
|
|
468
|
-
imports: [
|
|
517
|
+
imports: [
|
|
518
|
+
ɵAerisIcon,
|
|
519
|
+
NgTemplateOutlet,
|
|
520
|
+
AerisInputTextDirective
|
|
521
|
+
],
|
|
469
522
|
template: `
|
|
470
523
|
<span class="aeris-input-text-component__field">
|
|
471
524
|
<input
|
|
@@ -489,6 +542,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
489
542
|
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
490
543
|
[attr.aria-describedby]="ariaDescribedBy()"
|
|
491
544
|
(input)="handleInput($event)"
|
|
545
|
+
(compositionstart)="composing = true"
|
|
546
|
+
(compositionend)="handleCompositionEnd($event)"
|
|
492
547
|
(focus)="focused.emit($event)"
|
|
493
548
|
(blur)="handleBlur($event)"
|
|
494
549
|
/>
|
|
@@ -499,7 +554,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
499
554
|
[attr.aria-label]="clearButtonAriaLabel()"
|
|
500
555
|
(click)="clear()"
|
|
501
556
|
>
|
|
502
|
-
|
|
557
|
+
@if (clearIconTemplate(); as customIcon) {
|
|
558
|
+
<span
|
|
559
|
+
class="aeris-input-text-component__clear-mark"
|
|
560
|
+
aria-hidden="true"
|
|
561
|
+
data-aeris-custom-icon
|
|
562
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
563
|
+
/></span>
|
|
564
|
+
} @else {
|
|
565
|
+
<span
|
|
566
|
+
aerisInternalIcon="close"
|
|
567
|
+
class="aeris-input-text-component__clear-mark"
|
|
568
|
+
aria-hidden="true"
|
|
569
|
+
></span>
|
|
570
|
+
}
|
|
503
571
|
</button>
|
|
504
572
|
}
|
|
505
573
|
</span>
|
|
@@ -510,10 +578,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
510
578
|
multi: true
|
|
511
579
|
}],
|
|
512
580
|
host: { "[attr.data-fluid]": "fluid() || null" },
|
|
513
|
-
styles: [":host{display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-input-text-component__field{position:relative;display:block;width:100%}.aeris-input-text-component__field input{padding-inline-end:2.625rem}.aeris-input-text-component__field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.aeris-input-text-component__clear{position:absolute;top:50%;right:.4375rem;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, #454545);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-input-text-component__clear:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-input-text-component__clear:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-input-text-component__clear-mark{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}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}\n"]
|
|
581
|
+
styles: [":host{display:inline-block;max-width:100%;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-input-text-component__field{position:relative;display:block;width:100%}.aeris-input-text-component__field input{padding-inline-end:2.625rem}.aeris-input-text-component__field input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.aeris-input-text-component__clear{position:absolute;top:50%;right:.4375rem;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, #454545);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-input-text-component__clear:hover{background:var(--aeris-surface-2, #f3f3f3);color:var(--aeris-text, #111111)}}.aeris-input-text-component__clear:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid var(--aeris-focus, #111111);outline-offset:1px}.aeris-input-text-component__clear-mark{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}@media(pointer:coarse){input{font-size:var(--aeris-mobile-input-font-size, 1rem)}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}\n"]
|
|
514
582
|
}]
|
|
515
583
|
}],
|
|
516
584
|
propDecorators: {
|
|
585
|
+
clearIconTemplate: [{
|
|
586
|
+
type: i0.Input,
|
|
587
|
+
args: [{
|
|
588
|
+
isSignal: true,
|
|
589
|
+
alias: "clearIconTemplate",
|
|
590
|
+
required: false
|
|
591
|
+
}]
|
|
592
|
+
}],
|
|
517
593
|
inputElement: [{
|
|
518
594
|
type: i0.ViewChild,
|
|
519
595
|
args: ["textInput", { isSignal: true }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-input-text.mjs","names":[],"sources":["../../../projects/aeris-ui/input-text/aeris-input-text.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n Directive,\n booleanAttribute,\n computed,\n forwardRef,\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';\n\nexport type AerisInputTextSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type AerisInputTextAppearance = 'outline' | 'filled';\n\n/** @deprecated Use AerisInputTextSize instead. */\nexport type AerisControlSize = AerisInputTextSize;\n\n@Directive({\n selector: 'input[aerisInputText]',\n host: {\n class: 'aeris-input-text',\n '[class.aeris-input-text--xs]': 'size() === \"xs\"',\n '[class.aeris-input-text--sm]': 'size() === \"sm\"',\n '[class.aeris-input-text--md]': 'size() === \"md\"',\n '[class.aeris-input-text--lg]': 'size() === \"lg\"',\n '[class.aeris-input-text--filled]': 'appearance() === \"filled\"',\n '[class.aeris-input-text--invalid]': 'displayInvalid()',\n '[class.aeris-input-text--fluid]': 'fluid()',\n '[attr.aria-invalid]': 'displayInvalid() || null',\n },\n})\nexport class AerisInputTextDirective {\n readonly size = input<AerisInputTextSize>('md');\n readonly appearance = input<AerisInputTextAppearance>('outline');\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly touched = input<boolean | null>(null);\n readonly fluid = input(false, { transform: booleanAttribute });\n protected readonly displayInvalid = computed(() =>\n ɵaerisDisplayInvalid(this.invalid(), this.touched()),\n );\n}\n\nlet inputTextId = 0;\n\n@Component({\n selector: 'aeris-input-text',\n imports: [AerisInputTextDirective],\n template: `\n <span class=\"aeris-input-text-component__field\">\n <input\n #textInput\n aerisInputText\n [id]=\"resolvedInputId()\"\n [type]=\"type()\"\n [name]=\"name()\"\n [placeholder]=\"placeholder()\"\n [autocomplete]=\"autocomplete()\"\n [value]=\"value()\"\n [size]=\"size()\"\n [appearance]=\"appearance()\"\n [invalid]=\"invalid()\"\n [touched]=\"touched()\"\n [disabled]=\"effectiveDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n fluid\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-describedby]=\"ariaDescribedBy()\"\n (input)=\"handleInput($event)\"\n (focus)=\"focused.emit($event)\"\n (blur)=\"handleBlur($event)\"\n />\n @if (showClearButton()) {\n <button\n type=\"button\"\n class=\"aeris-input-text-component__clear\"\n [attr.aria-label]=\"clearButtonAriaLabel()\"\n (click)=\"clear()\"\n >\n <span class=\"aeris-input-text-component__clear-mark\" aria-hidden=\"true\"></span>\n </button>\n }\n </span>\n `,\n styleUrl: './aeris-input-text-component.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisInputTextComponent),\n multi: true,\n },\n ],\n host: {\n '[attr.data-fluid]': 'fluid() || null',\n },\n})\nexport class AerisInputTextComponent implements ControlValueAccessor {\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('textInput');\n private readonly generatedId = `aeris-input-text-${++inputTextId}`;\n private readonly formDisabled = signal(false);\n private onChange: (value: string) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n readonly value = model('');\n readonly inputId = input('');\n readonly type = input('text');\n readonly name = input('');\n readonly placeholder = input('');\n readonly autocomplete = input('off');\n readonly ariaLabel = input<string>();\n readonly ariaLabelledBy = input<string>();\n readonly ariaDescribedBy = input<string>();\n readonly size = input<AerisInputTextSize>('md');\n readonly appearance = input<AerisInputTextAppearance>('outline');\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly touched = input<boolean | null>(null);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly readonly = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly clearable = input(false, { transform: booleanAttribute });\n readonly clearButtonAriaLabel = input('Clear value');\n\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly showClearButton = computed(\n () =>\n this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(),\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 reset(): void {\n this.setValue('');\n }\n\n clear(): void {\n if (this.effectiveDisabled() || this.readonly()) return;\n this.setValue('');\n this.focus();\n }\n\n protected handleInput(event: Event): void {\n this.setValue((event.target as HTMLInputElement).value);\n }\n\n protected handleBlur(event: FocusEvent): void {\n this.touch.emit();\n this.onTouched();\n this.blurred.emit(event);\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\nexport const AerisInputText = [AerisInputTextDirective, AerisInputTextComponent] as const;\n"],"mappings":";;;;AAoCA,IAAa,0BAAb,MAAa,wBAAuB;CACzB,OAAO,MAA0B,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACtC,aAAa,MAAgC,WAAU,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CACvD,UAAU,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,UAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACpD,UAAU,MAAsB,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CACrC,QAAQ,MAAM,OAAK;EAAA,GAAA,YAAA,EAAA,WAAA,QAAA,+BAAA,CAAA;EAAI,WAAW;CAAgB,CAAA;CACxC,iBAAiB,eAClC,qBAAqB,KAAK,QAAO,GAAI,KAAK,QAAO,CAAE,GACpD,GAAA,YAAA,CAAA,EAAA,WAAA,iBAAA,CAAA,+BAAA,CAAA,CAAA;CARU,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAuB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAvB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,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AAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAoFrF,MAAa,iBAAiB,CAAC,yBAAyB,uBAAuB"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-input-text.mjs","names":[],"sources":["../../../projects/aeris-ui/input-text/aeris-input-text.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ElementRef,\n Directive,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n inject,\n model,\n output,\n signal,\n viewChild,\n TemplateRef,\n} from '@angular/core';\nimport { COMPOSITION_BUFFER_MODE, ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ɵAerisIcon, ɵaerisDisplayInvalid } from '@aeris-ui/core';\n\nexport type AerisInputTextSize = 'xs' | 'sm' | 'md' | 'lg';\nexport type AerisInputTextAppearance = 'outline' | 'filled';\n\n/** @deprecated Use AerisInputTextSize instead. */\nexport type AerisControlSize = AerisInputTextSize;\n\n@Directive({\n selector: 'input[aerisInputText]',\n host: {\n class: 'aeris-input-text',\n '[class.aeris-input-text--xs]': 'size() === \"xs\"',\n '[class.aeris-input-text--sm]': 'size() === \"sm\"',\n '[class.aeris-input-text--md]': 'size() === \"md\"',\n '[class.aeris-input-text--lg]': 'size() === \"lg\"',\n '[class.aeris-input-text--filled]': 'appearance() === \"filled\"',\n '[class.aeris-input-text--invalid]': 'displayInvalid()',\n '[class.aeris-input-text--fluid]': 'fluid()',\n '[attr.aria-invalid]': 'displayInvalid() || null',\n },\n})\nexport class AerisInputTextDirective {\n readonly size = input<AerisInputTextSize>('md');\n readonly appearance = input<AerisInputTextAppearance>('outline');\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly touched = input<boolean | null>(null);\n readonly fluid = input(false, { transform: booleanAttribute });\n protected readonly displayInvalid = computed(() =>\n ɵaerisDisplayInvalid(this.invalid(), this.touched()),\n );\n}\n\nlet inputTextId = 0;\n\n@Component({\n selector: 'aeris-input-text',\n imports: [ɵAerisIcon, NgTemplateOutlet, AerisInputTextDirective],\n template: `\n <span class=\"aeris-input-text-component__field\">\n <input\n #textInput\n aerisInputText\n [id]=\"resolvedInputId()\"\n [type]=\"type()\"\n [name]=\"name()\"\n [placeholder]=\"placeholder()\"\n [autocomplete]=\"autocomplete()\"\n [value]=\"value()\"\n [size]=\"size()\"\n [appearance]=\"appearance()\"\n [invalid]=\"invalid()\"\n [touched]=\"touched()\"\n [disabled]=\"effectiveDisabled()\"\n [readOnly]=\"readonly()\"\n [required]=\"required()\"\n fluid\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledBy()\"\n [attr.aria-describedby]=\"ariaDescribedBy()\"\n (input)=\"handleInput($event)\"\n (compositionstart)=\"composing = true\"\n (compositionend)=\"handleCompositionEnd($event)\"\n (focus)=\"focused.emit($event)\"\n (blur)=\"handleBlur($event)\"\n />\n @if (showClearButton()) {\n <button\n type=\"button\"\n class=\"aeris-input-text-component__clear\"\n [attr.aria-label]=\"clearButtonAriaLabel()\"\n (click)=\"clear()\"\n >\n @if (clearIconTemplate(); as customIcon) {\n <span\n class=\"aeris-input-text-component__clear-mark\"\n aria-hidden=\"true\"\n data-aeris-custom-icon\n ><ng-container [ngTemplateOutlet]=\"customIcon\"\n /></span>\n } @else {\n <span\n aerisInternalIcon=\"close\"\n class=\"aeris-input-text-component__clear-mark\"\n aria-hidden=\"true\"\n ></span>\n }\n </button>\n }\n </span>\n `,\n styleUrl: './aeris-input-text-component.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AerisInputTextComponent),\n multi: true,\n },\n ],\n host: {\n '[attr.data-fluid]': 'fluid() || null',\n },\n})\nexport class AerisInputTextComponent implements ControlValueAccessor {\n private readonly bufferComposition = inject(COMPOSITION_BUFFER_MODE, { optional: true }) ?? true;\n protected composing = false;\n readonly clearIconTemplate = input<TemplateRef<void>>();\n\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('textInput');\n private readonly generatedId = `aeris-input-text-${++inputTextId}`;\n private readonly formDisabled = signal(false);\n private onChange: (value: string) => void = () => undefined;\n private onTouched: () => void = () => undefined;\n\n readonly value = model('');\n readonly inputId = input('');\n readonly type = input('text');\n readonly name = input('');\n readonly placeholder = input('');\n readonly autocomplete = input('off');\n readonly ariaLabel = input<string>();\n readonly ariaLabelledBy = input<string>();\n readonly ariaDescribedBy = input<string>();\n readonly size = input<AerisInputTextSize>('md');\n readonly appearance = input<AerisInputTextAppearance>('outline');\n readonly invalid = input(false, { transform: booleanAttribute });\n readonly touched = input<boolean | null>(null);\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly readonly = input(false, { transform: booleanAttribute });\n readonly required = input(false, { transform: booleanAttribute });\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly clearable = input(false, { transform: booleanAttribute });\n readonly clearButtonAriaLabel = input('Clear value');\n\n readonly focused = output<FocusEvent>();\n readonly blurred = output<FocusEvent>();\n readonly touch = output<void>();\n\n protected readonly resolvedInputId = computed(() => this.inputId() || this.generatedId);\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.formDisabled());\n protected readonly showClearButton = computed(\n () =>\n this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(),\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 reset(): void {\n this.setValue('');\n }\n\n clear(): void {\n if (this.effectiveDisabled() || this.readonly()) return;\n this.setValue('');\n this.focus();\n }\n\n protected handleInput(event: Event): void {\n if (this.bufferComposition && (this.composing || (event as InputEvent).isComposing)) return;\n this.setValue((event.target as HTMLInputElement).value);\n }\n\n protected handleCompositionEnd(event: CompositionEvent): void {\n this.composing = false;\n if (this.bufferComposition) this.handleInput(event);\n }\n\n protected handleBlur(event: FocusEvent): void {\n this.touch.emit();\n this.onTouched();\n this.blurred.emit(event);\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\nexport const AerisInputText = [AerisInputTextDirective, AerisInputTextComponent] as const;\n"],"mappings":";;;;;AAuCA,IAAa,0BAAb,MAAa,wBAAuB;CACzB,OAAO,MAA0B,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACtC,aAAa,MAAgC,WAAU,GAAA,YAAA,CAAA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AA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,SAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AA0FrF,MAAa,iBAAiB,CAAC,yBAAyB,uBAAuB"}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Component, Directive, computed, input } from "@angular/core";
|
|
3
|
+
const KEY_LABELS = {
|
|
4
|
+
command: ["⌘", "Command"],
|
|
5
|
+
control: ["⌃", "Control"],
|
|
6
|
+
shift: ["⇧", "Shift"],
|
|
7
|
+
option: ["⌥", "Option"],
|
|
8
|
+
alt: ["Alt", "Alt"],
|
|
9
|
+
meta: ["Meta", "Meta"],
|
|
10
|
+
win: ["Win", "Windows"],
|
|
11
|
+
help: ["?", "Help"],
|
|
12
|
+
enter: ["↵", "Enter"],
|
|
13
|
+
backspace: ["⌫", "Backspace"],
|
|
14
|
+
delete: ["⌦", "Delete"],
|
|
15
|
+
escape: ["Esc", "Escape"],
|
|
16
|
+
tab: ["⇥", "Tab"],
|
|
17
|
+
space: ["␣", "Space"],
|
|
18
|
+
capsLock: ["⇪", "Caps Lock"],
|
|
19
|
+
arrowUp: ["↑", "Arrow Up"],
|
|
20
|
+
arrowDown: ["↓", "Arrow Down"],
|
|
21
|
+
arrowLeft: ["←", "Arrow Left"],
|
|
22
|
+
arrowRight: ["→", "Arrow Right"],
|
|
23
|
+
pageUp: ["⇞", "Page Up"],
|
|
24
|
+
pageDown: ["⇟", "Page Down"],
|
|
25
|
+
home: ["↖", "Home"],
|
|
26
|
+
end: ["↘", "End"],
|
|
27
|
+
fn: ["Fn", "Function"]
|
|
28
|
+
};
|
|
29
|
+
var AerisKbdKey = class AerisKbdKey {
|
|
30
|
+
key = input.required({
|
|
31
|
+
...ngDevMode ? { debugName: "key" } : /* istanbul ignore next */ {},
|
|
32
|
+
alias: "aerisKbdKey"
|
|
33
|
+
});
|
|
34
|
+
label = computed(() => KEY_LABELS[this.key()], ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
36
|
+
minVersion: "12.0.0",
|
|
37
|
+
version: "22.2.4",
|
|
38
|
+
ngImport: i0,
|
|
39
|
+
type: AerisKbdKey,
|
|
40
|
+
deps: [],
|
|
41
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
42
|
+
});
|
|
43
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
44
|
+
minVersion: "17.1.0",
|
|
45
|
+
version: "22.2.4",
|
|
46
|
+
type: AerisKbdKey,
|
|
47
|
+
isStandalone: true,
|
|
48
|
+
selector: "span[aerisKbdKey]",
|
|
49
|
+
inputs: { key: {
|
|
50
|
+
classPropertyName: "key",
|
|
51
|
+
publicName: "aerisKbdKey",
|
|
52
|
+
isSignal: true,
|
|
53
|
+
isRequired: true,
|
|
54
|
+
transformFunction: null
|
|
55
|
+
} },
|
|
56
|
+
host: { classAttribute: "aeris-kbd__key" },
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
template: `
|
|
59
|
+
<span aria-hidden="true">{{ label()[0] }}</span>
|
|
60
|
+
<span class="aeris-kbd__readable" [textContent]="label()[1] + ' '"></span>
|
|
61
|
+
`,
|
|
62
|
+
isInline: true
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
66
|
+
minVersion: "12.0.0",
|
|
67
|
+
version: "22.2.4",
|
|
68
|
+
ngImport: i0,
|
|
69
|
+
type: AerisKbdKey,
|
|
70
|
+
decorators: [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{
|
|
73
|
+
selector: "span[aerisKbdKey]",
|
|
74
|
+
host: { class: "aeris-kbd__key" },
|
|
75
|
+
template: `
|
|
76
|
+
<span aria-hidden="true">{{ label()[0] }}</span>
|
|
77
|
+
<span class="aeris-kbd__readable" [textContent]="label()[1] + ' '"></span>
|
|
78
|
+
`
|
|
79
|
+
}]
|
|
80
|
+
}],
|
|
81
|
+
propDecorators: { key: [{
|
|
82
|
+
type: i0.Input,
|
|
83
|
+
args: [{
|
|
84
|
+
isSignal: true,
|
|
85
|
+
alias: "aerisKbdKey",
|
|
86
|
+
required: true
|
|
87
|
+
}]
|
|
88
|
+
}] }
|
|
89
|
+
});
|
|
90
|
+
var AerisKbdContent = class AerisKbdContent {
|
|
91
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
92
|
+
minVersion: "12.0.0",
|
|
93
|
+
version: "22.2.4",
|
|
94
|
+
ngImport: i0,
|
|
95
|
+
type: AerisKbdContent,
|
|
96
|
+
deps: [],
|
|
97
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
98
|
+
});
|
|
99
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
100
|
+
minVersion: "14.0.0",
|
|
101
|
+
version: "22.2.4",
|
|
102
|
+
type: AerisKbdContent,
|
|
103
|
+
isStandalone: true,
|
|
104
|
+
selector: "span[aerisKbdContent]",
|
|
105
|
+
host: { classAttribute: "aeris-kbd__content" },
|
|
106
|
+
ngImport: i0
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
110
|
+
minVersion: "12.0.0",
|
|
111
|
+
version: "22.2.4",
|
|
112
|
+
ngImport: i0,
|
|
113
|
+
type: AerisKbdContent,
|
|
114
|
+
decorators: [{
|
|
115
|
+
type: Directive,
|
|
116
|
+
args: [{
|
|
117
|
+
selector: "span[aerisKbdContent]",
|
|
118
|
+
host: { class: "aeris-kbd__content" }
|
|
119
|
+
}]
|
|
120
|
+
}]
|
|
121
|
+
});
|
|
122
|
+
var AerisKbd = class AerisKbd {
|
|
123
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
124
|
+
variant = input("filled", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
125
|
+
keys = input([], ...ngDevMode ? [{ debugName: "keys" }] : /* istanbul ignore next */ []);
|
|
126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
127
|
+
minVersion: "12.0.0",
|
|
128
|
+
version: "22.2.4",
|
|
129
|
+
ngImport: i0,
|
|
130
|
+
type: AerisKbd,
|
|
131
|
+
deps: [],
|
|
132
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
133
|
+
});
|
|
134
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
135
|
+
minVersion: "17.0.0",
|
|
136
|
+
version: "22.2.4",
|
|
137
|
+
type: AerisKbd,
|
|
138
|
+
isStandalone: true,
|
|
139
|
+
selector: "kbd[aerisKbd]",
|
|
140
|
+
inputs: {
|
|
141
|
+
size: {
|
|
142
|
+
classPropertyName: "size",
|
|
143
|
+
publicName: "size",
|
|
144
|
+
isSignal: true,
|
|
145
|
+
isRequired: false,
|
|
146
|
+
transformFunction: null
|
|
147
|
+
},
|
|
148
|
+
variant: {
|
|
149
|
+
classPropertyName: "variant",
|
|
150
|
+
publicName: "variant",
|
|
151
|
+
isSignal: true,
|
|
152
|
+
isRequired: false,
|
|
153
|
+
transformFunction: null
|
|
154
|
+
},
|
|
155
|
+
keys: {
|
|
156
|
+
classPropertyName: "keys",
|
|
157
|
+
publicName: "keys",
|
|
158
|
+
isSignal: true,
|
|
159
|
+
isRequired: false,
|
|
160
|
+
transformFunction: null
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
host: {
|
|
164
|
+
properties: {
|
|
165
|
+
"attr.data-size": "size()",
|
|
166
|
+
"attr.data-variant": "variant()"
|
|
167
|
+
},
|
|
168
|
+
classAttribute: "aeris-kbd"
|
|
169
|
+
},
|
|
170
|
+
ngImport: i0,
|
|
171
|
+
template: `
|
|
172
|
+
@for (key of keys(); track $index) {
|
|
173
|
+
<span [aerisKbdKey]="key"></span>
|
|
174
|
+
}
|
|
175
|
+
<ng-content />
|
|
176
|
+
`,
|
|
177
|
+
isInline: true,
|
|
178
|
+
dependencies: [{
|
|
179
|
+
kind: "component",
|
|
180
|
+
type: AerisKbdKey,
|
|
181
|
+
selector: "span[aerisKbdKey]",
|
|
182
|
+
inputs: ["aerisKbdKey"]
|
|
183
|
+
}]
|
|
184
|
+
});
|
|
185
|
+
};
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
187
|
+
minVersion: "12.0.0",
|
|
188
|
+
version: "22.2.4",
|
|
189
|
+
ngImport: i0,
|
|
190
|
+
type: AerisKbd,
|
|
191
|
+
decorators: [{
|
|
192
|
+
type: Component,
|
|
193
|
+
args: [{
|
|
194
|
+
selector: "kbd[aerisKbd]",
|
|
195
|
+
imports: [AerisKbdKey],
|
|
196
|
+
host: {
|
|
197
|
+
class: "aeris-kbd",
|
|
198
|
+
"[attr.data-size]": "size()",
|
|
199
|
+
"[attr.data-variant]": "variant()"
|
|
200
|
+
},
|
|
201
|
+
template: `
|
|
202
|
+
@for (key of keys(); track $index) {
|
|
203
|
+
<span [aerisKbdKey]="key"></span>
|
|
204
|
+
}
|
|
205
|
+
<ng-content />
|
|
206
|
+
`
|
|
207
|
+
}]
|
|
208
|
+
}],
|
|
209
|
+
propDecorators: {
|
|
210
|
+
size: [{
|
|
211
|
+
type: i0.Input,
|
|
212
|
+
args: [{
|
|
213
|
+
isSignal: true,
|
|
214
|
+
alias: "size",
|
|
215
|
+
required: false
|
|
216
|
+
}]
|
|
217
|
+
}],
|
|
218
|
+
variant: [{
|
|
219
|
+
type: i0.Input,
|
|
220
|
+
args: [{
|
|
221
|
+
isSignal: true,
|
|
222
|
+
alias: "variant",
|
|
223
|
+
required: false
|
|
224
|
+
}]
|
|
225
|
+
}],
|
|
226
|
+
keys: [{
|
|
227
|
+
type: i0.Input,
|
|
228
|
+
args: [{
|
|
229
|
+
isSignal: true,
|
|
230
|
+
alias: "keys",
|
|
231
|
+
required: false
|
|
232
|
+
}]
|
|
233
|
+
}]
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
const AerisKbdModule = [
|
|
237
|
+
AerisKbd,
|
|
238
|
+
AerisKbdKey,
|
|
239
|
+
AerisKbdContent
|
|
240
|
+
];
|
|
241
|
+
export { AerisKbd, AerisKbdContent, AerisKbdKey, AerisKbdModule };
|
|
242
|
+
|
|
243
|
+
//# sourceMappingURL=aeris-ui-core-kbd.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-kbd.mjs","names":[],"sources":["../../../projects/aeris-ui/kbd/aeris-kbd.ts"],"sourcesContent":["import { Component, Directive, computed, input } from '@angular/core';\n\nexport type AerisKbdSize = 'sm' | 'md' | 'lg';\nexport type AerisKbdVariant = 'filled' | 'ghost';\n\nconst KEY_LABELS = {\n command: ['⌘', 'Command'],\n control: ['⌃', 'Control'],\n shift: ['⇧', 'Shift'],\n option: ['⌥', 'Option'],\n alt: ['Alt', 'Alt'],\n meta: ['Meta', 'Meta'],\n win: ['Win', 'Windows'],\n help: ['?', 'Help'],\n enter: ['↵', 'Enter'],\n backspace: ['⌫', 'Backspace'],\n delete: ['⌦', 'Delete'],\n escape: ['Esc', 'Escape'],\n tab: ['⇥', 'Tab'],\n space: ['␣', 'Space'],\n capsLock: ['⇪', 'Caps Lock'],\n arrowUp: ['↑', 'Arrow Up'],\n arrowDown: ['↓', 'Arrow Down'],\n arrowLeft: ['←', 'Arrow Left'],\n arrowRight: ['→', 'Arrow Right'],\n pageUp: ['⇞', 'Page Up'],\n pageDown: ['⇟', 'Page Down'],\n home: ['↖', 'Home'],\n end: ['↘', 'End'],\n fn: ['Fn', 'Function'],\n} as const;\n\nexport type AerisKbdKeyValue = keyof typeof KEY_LABELS;\n\n/** A standard key symbol with a readable text equivalent. */\n@Component({\n selector: 'span[aerisKbdKey]',\n host: { class: 'aeris-kbd__key' },\n template: `\n <span aria-hidden=\"true\">{{ label()[0] }}</span>\n <span class=\"aeris-kbd__readable\" [textContent]=\"label()[1] + ' '\"></span>\n `,\n})\nexport class AerisKbdKey {\n readonly key = input.required<AerisKbdKeyValue>({ alias: 'aerisKbdKey' });\n protected readonly label = computed(() => KEY_LABELS[this.key()]);\n}\n\n/** Optional main-key styling inside a combined shortcut. */\n@Directive({\n selector: 'span[aerisKbdContent]',\n host: { class: 'aeris-kbd__content' },\n})\nexport class AerisKbdContent {}\n\n/** Presentation for native keyboard-input markup; does not register shortcuts. */\n@Component({\n selector: 'kbd[aerisKbd]',\n imports: [AerisKbdKey],\n host: {\n class: 'aeris-kbd',\n '[attr.data-size]': 'size()',\n '[attr.data-variant]': 'variant()',\n },\n template: `\n @for (key of keys(); track $index) {\n <span [aerisKbdKey]=\"key\"></span>\n }\n <ng-content />\n `,\n})\nexport class AerisKbd {\n readonly size = input<AerisKbdSize>('md');\n readonly variant = input<AerisKbdVariant>('filled');\n readonly keys = input<readonly AerisKbdKeyValue[]>([]);\n}\n\nexport const AerisKbdModule = [AerisKbd, AerisKbdKey, AerisKbdContent] as const;\n"],"mappings":";;AAKA,MAAM,aAAa;CACjB,SAAS,CAAC,KAAK,SAAS;CACxB,SAAS,CAAC,KAAK,SAAS;CACxB,OAAO,CAAC,KAAK,OAAO;CACpB,QAAQ,CAAC,KAAK,QAAQ;CACtB,KAAK,CAAC,OAAO,KAAK;CAClB,MAAM,CAAC,QAAQ,MAAM;CACrB,KAAK,CAAC,OAAO,SAAS;CACtB,MAAM,CAAC,KAAK,MAAM;CAClB,OAAO,CAAC,KAAK,OAAO;CACpB,WAAW,CAAC,KAAK,WAAW;CAC5B,QAAQ,CAAC,KAAK,QAAQ;CACtB,QAAQ,CAAC,OAAO,QAAQ;CACxB,KAAK,CAAC,KAAK,KAAK;CAChB,OAAO,CAAC,KAAK,OAAO;CACpB,UAAU,CAAC,KAAK,WAAW;CAC3B,SAAS,CAAC,KAAK,UAAU;CACzB,WAAW,CAAC,KAAK,YAAY;CAC7B,WAAW,CAAC,KAAK,YAAY;CAC7B,YAAY,CAAC,KAAK,aAAa;CAC/B,QAAQ,CAAC,KAAK,SAAS;CACvB,UAAU,CAAC,KAAK,WAAW;CAC3B,MAAM,CAAC,KAAK,MAAM;CAClB,KAAK,CAAC,KAAK,KAAK;CAChB,IAAI,CAAC,MAAM,UAAU;AACb;AAaV,IAAa,cAAb,MAAa,YAAW;CACb,MAAM,MAAM,SAAQ;EAAA,GAAA,YAAA,EAAA,WAAA,MAAA,+BAAA,CAAA;EAAqB,OAAO;CAAa,CAAA;CACnD,QAAQ,eAAe,WAAW,KAAK,IAAG,IAAI,GAAA,YAAA,CAAA,EAAA,WAAA,QA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
@@ -161,7 +161,7 @@ var AerisKeyFilterDirective = class AerisKeyFilterDirective {
|
|
|
161
161
|
}
|
|
162
162
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
163
163
|
minVersion: "12.0.0",
|
|
164
|
-
version: "22.2.
|
|
164
|
+
version: "22.2.4",
|
|
165
165
|
ngImport: i0,
|
|
166
166
|
type: AerisKeyFilterDirective,
|
|
167
167
|
deps: [],
|
|
@@ -169,7 +169,7 @@ var AerisKeyFilterDirective = class AerisKeyFilterDirective {
|
|
|
169
169
|
});
|
|
170
170
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
171
171
|
minVersion: "17.1.0",
|
|
172
|
-
version: "22.2.
|
|
172
|
+
version: "22.2.4",
|
|
173
173
|
type: AerisKeyFilterDirective,
|
|
174
174
|
isStandalone: true,
|
|
175
175
|
selector: "input[aerisKeyFilter], textarea[aerisKeyFilter]",
|
|
@@ -214,7 +214,7 @@ var AerisKeyFilterDirective = class AerisKeyFilterDirective {
|
|
|
214
214
|
};
|
|
215
215
|
i0.ɵɵngDeclareClassMetadata({
|
|
216
216
|
minVersion: "12.0.0",
|
|
217
|
-
version: "22.2.
|
|
217
|
+
version: "22.2.4",
|
|
218
218
|
ngImport: i0,
|
|
219
219
|
type: AerisKeyFilterDirective,
|
|
220
220
|
decorators: [{
|