@aeris-ui/core 22.0.0-alpha.7 → 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 +1339 -514
- 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 -103
- 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 -112
- 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 +549 -176
- 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 +918 -257
- 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 +1258 -1413
- 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/schematics/runtime/theme-builder/aeris-theme.js +28 -16
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +3 -3
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +12 -16
- package/styles/controls.css +1 -1
- package/types/aeris-ui-core-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 -73
- 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 +265 -115
- 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 +466 -451
- 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,135 +1,408 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from
|
|
4
|
-
import { ɵaerisDisplayInvalid
|
|
5
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
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";
|
|
5
|
+
var AerisInputTextDirective = class AerisInputTextDirective {
|
|
6
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
7
|
+
appearance = input("outline", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
8
|
+
invalid = input(false, {
|
|
9
|
+
...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
|
|
10
|
+
transform: booleanAttribute
|
|
11
|
+
});
|
|
12
|
+
touched = input(null, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
|
|
13
|
+
fluid = input(false, {
|
|
14
|
+
...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
|
|
15
|
+
transform: booleanAttribute
|
|
16
|
+
});
|
|
17
|
+
displayInvalid = computed(() => ɵaerisDisplayInvalid(this.invalid(), this.touched()), ...ngDevMode ? [{ debugName: "displayInvalid" }] : /* istanbul ignore next */ []);
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19
|
+
minVersion: "12.0.0",
|
|
20
|
+
version: "22.2.1",
|
|
21
|
+
ngImport: i0,
|
|
22
|
+
type: AerisInputTextDirective,
|
|
23
|
+
deps: [],
|
|
24
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
25
|
+
});
|
|
26
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
27
|
+
minVersion: "17.1.0",
|
|
28
|
+
version: "22.2.1",
|
|
29
|
+
type: AerisInputTextDirective,
|
|
30
|
+
isStandalone: true,
|
|
31
|
+
selector: "input[aerisInputText]",
|
|
32
|
+
inputs: {
|
|
33
|
+
size: {
|
|
34
|
+
classPropertyName: "size",
|
|
35
|
+
publicName: "size",
|
|
36
|
+
isSignal: true,
|
|
37
|
+
isRequired: false,
|
|
38
|
+
transformFunction: null
|
|
39
|
+
},
|
|
40
|
+
appearance: {
|
|
41
|
+
classPropertyName: "appearance",
|
|
42
|
+
publicName: "appearance",
|
|
43
|
+
isSignal: true,
|
|
44
|
+
isRequired: false,
|
|
45
|
+
transformFunction: null
|
|
46
|
+
},
|
|
47
|
+
invalid: {
|
|
48
|
+
classPropertyName: "invalid",
|
|
49
|
+
publicName: "invalid",
|
|
50
|
+
isSignal: true,
|
|
51
|
+
isRequired: false,
|
|
52
|
+
transformFunction: null
|
|
53
|
+
},
|
|
54
|
+
touched: {
|
|
55
|
+
classPropertyName: "touched",
|
|
56
|
+
publicName: "touched",
|
|
57
|
+
isSignal: true,
|
|
58
|
+
isRequired: false,
|
|
59
|
+
transformFunction: null
|
|
60
|
+
},
|
|
61
|
+
fluid: {
|
|
62
|
+
classPropertyName: "fluid",
|
|
63
|
+
publicName: "fluid",
|
|
64
|
+
isSignal: true,
|
|
65
|
+
isRequired: false,
|
|
66
|
+
transformFunction: null
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
host: {
|
|
70
|
+
properties: {
|
|
71
|
+
"class.aeris-input-text--xs": "size() === \"xs\"",
|
|
72
|
+
"class.aeris-input-text--sm": "size() === \"sm\"",
|
|
73
|
+
"class.aeris-input-text--md": "size() === \"md\"",
|
|
74
|
+
"class.aeris-input-text--lg": "size() === \"lg\"",
|
|
75
|
+
"class.aeris-input-text--filled": "appearance() === \"filled\"",
|
|
76
|
+
"class.aeris-input-text--invalid": "displayInvalid()",
|
|
77
|
+
"class.aeris-input-text--fluid": "fluid()",
|
|
78
|
+
"attr.aria-invalid": "displayInvalid() || null"
|
|
79
|
+
},
|
|
80
|
+
classAttribute: "aeris-input-text"
|
|
81
|
+
},
|
|
82
|
+
ngImport: i0
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
86
|
+
minVersion: "12.0.0",
|
|
87
|
+
version: "22.2.1",
|
|
88
|
+
ngImport: i0,
|
|
89
|
+
type: AerisInputTextDirective,
|
|
90
|
+
decorators: [{
|
|
91
|
+
type: Directive,
|
|
92
|
+
args: [{
|
|
93
|
+
selector: "input[aerisInputText]",
|
|
94
|
+
host: {
|
|
95
|
+
class: "aeris-input-text",
|
|
96
|
+
"[class.aeris-input-text--xs]": "size() === \"xs\"",
|
|
97
|
+
"[class.aeris-input-text--sm]": "size() === \"sm\"",
|
|
98
|
+
"[class.aeris-input-text--md]": "size() === \"md\"",
|
|
99
|
+
"[class.aeris-input-text--lg]": "size() === \"lg\"",
|
|
100
|
+
"[class.aeris-input-text--filled]": "appearance() === \"filled\"",
|
|
101
|
+
"[class.aeris-input-text--invalid]": "displayInvalid()",
|
|
102
|
+
"[class.aeris-input-text--fluid]": "fluid()",
|
|
103
|
+
"[attr.aria-invalid]": "displayInvalid() || null"
|
|
104
|
+
}
|
|
105
|
+
}]
|
|
106
|
+
}],
|
|
107
|
+
propDecorators: {
|
|
108
|
+
size: [{
|
|
109
|
+
type: i0.Input,
|
|
110
|
+
args: [{
|
|
111
|
+
isSignal: true,
|
|
112
|
+
alias: "size",
|
|
113
|
+
required: false
|
|
114
|
+
}]
|
|
115
|
+
}],
|
|
116
|
+
appearance: [{
|
|
117
|
+
type: i0.Input,
|
|
118
|
+
args: [{
|
|
119
|
+
isSignal: true,
|
|
120
|
+
alias: "appearance",
|
|
121
|
+
required: false
|
|
122
|
+
}]
|
|
123
|
+
}],
|
|
124
|
+
invalid: [{
|
|
125
|
+
type: i0.Input,
|
|
126
|
+
args: [{
|
|
127
|
+
isSignal: true,
|
|
128
|
+
alias: "invalid",
|
|
129
|
+
required: false
|
|
130
|
+
}]
|
|
131
|
+
}],
|
|
132
|
+
touched: [{
|
|
133
|
+
type: i0.Input,
|
|
134
|
+
args: [{
|
|
135
|
+
isSignal: true,
|
|
136
|
+
alias: "touched",
|
|
137
|
+
required: false
|
|
138
|
+
}]
|
|
139
|
+
}],
|
|
140
|
+
fluid: [{
|
|
141
|
+
type: i0.Input,
|
|
142
|
+
args: [{
|
|
143
|
+
isSignal: true,
|
|
144
|
+
alias: "fluid",
|
|
145
|
+
required: false
|
|
146
|
+
}]
|
|
147
|
+
}]
|
|
148
|
+
}
|
|
149
|
+
});
|
|
37
150
|
let inputTextId = 0;
|
|
38
|
-
class AerisInputTextComponent {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
151
|
+
var AerisInputTextComponent = class AerisInputTextComponent {
|
|
152
|
+
inputElement = viewChild("textInput", ...ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []);
|
|
153
|
+
generatedId = `aeris-input-text-${++inputTextId}`;
|
|
154
|
+
formDisabled = signal(false, ...ngDevMode ? [{ debugName: "formDisabled" }] : /* istanbul ignore next */ []);
|
|
155
|
+
onChange = () => void 0;
|
|
156
|
+
onTouched = () => void 0;
|
|
157
|
+
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
158
|
+
inputId = input("", ...ngDevMode ? [{ debugName: "inputId" }] : /* istanbul ignore next */ []);
|
|
159
|
+
type = input("text", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
160
|
+
name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
161
|
+
placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
162
|
+
autocomplete = input("off", ...ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []);
|
|
163
|
+
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
164
|
+
ariaLabelledBy = input(...ngDevMode ? [void 0, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
165
|
+
ariaDescribedBy = input(...ngDevMode ? [void 0, { debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
|
|
166
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
167
|
+
appearance = input("outline", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
168
|
+
invalid = input(false, {
|
|
169
|
+
...ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {},
|
|
170
|
+
transform: booleanAttribute
|
|
171
|
+
});
|
|
172
|
+
touched = input(null, ...ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []);
|
|
173
|
+
disabled = input(false, {
|
|
174
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
175
|
+
transform: booleanAttribute
|
|
176
|
+
});
|
|
177
|
+
readonly = input(false, {
|
|
178
|
+
...ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {},
|
|
179
|
+
transform: booleanAttribute
|
|
180
|
+
});
|
|
181
|
+
required = input(false, {
|
|
182
|
+
...ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {},
|
|
183
|
+
transform: booleanAttribute
|
|
184
|
+
});
|
|
185
|
+
fluid = input(false, {
|
|
186
|
+
...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
|
|
187
|
+
transform: booleanAttribute
|
|
188
|
+
});
|
|
189
|
+
clearable = input(false, {
|
|
190
|
+
...ngDevMode ? { debugName: "clearable" } : /* istanbul ignore next */ {},
|
|
191
|
+
transform: booleanAttribute
|
|
192
|
+
});
|
|
193
|
+
clearButtonAriaLabel = input("Clear value", ...ngDevMode ? [{ debugName: "clearButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
194
|
+
focused = output();
|
|
195
|
+
blurred = output();
|
|
196
|
+
touch = output();
|
|
197
|
+
resolvedInputId = computed(() => this.inputId() || this.generatedId, ...ngDevMode ? [{ debugName: "resolvedInputId" }] : /* istanbul ignore next */ []);
|
|
198
|
+
effectiveDisabled = computed(() => this.disabled() || this.formDisabled(), ...ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []);
|
|
199
|
+
showClearButton = computed(() => this.clearable() && this.value().length > 0 && !this.effectiveDisabled() && !this.readonly(), ...ngDevMode ? [{ debugName: "showClearButton" }] : /* istanbul ignore next */ []);
|
|
200
|
+
writeValue(value) {
|
|
201
|
+
this.value.set(typeof value === "string" ? value : value == null ? "" : String(value));
|
|
202
|
+
}
|
|
203
|
+
registerOnChange(callback) {
|
|
204
|
+
this.onChange = callback;
|
|
205
|
+
}
|
|
206
|
+
registerOnTouched(callback) {
|
|
207
|
+
this.onTouched = callback;
|
|
208
|
+
}
|
|
209
|
+
setDisabledState(disabled) {
|
|
210
|
+
this.formDisabled.set(disabled);
|
|
211
|
+
}
|
|
212
|
+
focus(options) {
|
|
213
|
+
this.inputElement()?.nativeElement.focus(options);
|
|
214
|
+
}
|
|
215
|
+
reset() {
|
|
216
|
+
this.setValue("");
|
|
217
|
+
}
|
|
218
|
+
clear() {
|
|
219
|
+
if (this.effectiveDisabled() || this.readonly()) return;
|
|
220
|
+
this.setValue("");
|
|
221
|
+
this.focus();
|
|
222
|
+
}
|
|
223
|
+
handleInput(event) {
|
|
224
|
+
this.setValue(event.target.value);
|
|
225
|
+
}
|
|
226
|
+
handleBlur(event) {
|
|
227
|
+
this.touch.emit();
|
|
228
|
+
this.onTouched();
|
|
229
|
+
this.blurred.emit(event);
|
|
230
|
+
}
|
|
231
|
+
setValue(value) {
|
|
232
|
+
if (this.value() === value) return;
|
|
233
|
+
this.value.set(value);
|
|
234
|
+
this.onChange(value);
|
|
235
|
+
}
|
|
236
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
237
|
+
minVersion: "12.0.0",
|
|
238
|
+
version: "22.2.1",
|
|
239
|
+
ngImport: i0,
|
|
240
|
+
type: AerisInputTextComponent,
|
|
241
|
+
deps: [],
|
|
242
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
243
|
+
});
|
|
244
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
245
|
+
minVersion: "17.0.0",
|
|
246
|
+
version: "22.2.1",
|
|
247
|
+
type: AerisInputTextComponent,
|
|
248
|
+
isStandalone: true,
|
|
249
|
+
selector: "aeris-input-text",
|
|
250
|
+
inputs: {
|
|
251
|
+
value: {
|
|
252
|
+
classPropertyName: "value",
|
|
253
|
+
publicName: "value",
|
|
254
|
+
isSignal: true,
|
|
255
|
+
isRequired: false,
|
|
256
|
+
transformFunction: null
|
|
257
|
+
},
|
|
258
|
+
inputId: {
|
|
259
|
+
classPropertyName: "inputId",
|
|
260
|
+
publicName: "inputId",
|
|
261
|
+
isSignal: true,
|
|
262
|
+
isRequired: false,
|
|
263
|
+
transformFunction: null
|
|
264
|
+
},
|
|
265
|
+
type: {
|
|
266
|
+
classPropertyName: "type",
|
|
267
|
+
publicName: "type",
|
|
268
|
+
isSignal: true,
|
|
269
|
+
isRequired: false,
|
|
270
|
+
transformFunction: null
|
|
271
|
+
},
|
|
272
|
+
name: {
|
|
273
|
+
classPropertyName: "name",
|
|
274
|
+
publicName: "name",
|
|
275
|
+
isSignal: true,
|
|
276
|
+
isRequired: false,
|
|
277
|
+
transformFunction: null
|
|
278
|
+
},
|
|
279
|
+
placeholder: {
|
|
280
|
+
classPropertyName: "placeholder",
|
|
281
|
+
publicName: "placeholder",
|
|
282
|
+
isSignal: true,
|
|
283
|
+
isRequired: false,
|
|
284
|
+
transformFunction: null
|
|
285
|
+
},
|
|
286
|
+
autocomplete: {
|
|
287
|
+
classPropertyName: "autocomplete",
|
|
288
|
+
publicName: "autocomplete",
|
|
289
|
+
isSignal: true,
|
|
290
|
+
isRequired: false,
|
|
291
|
+
transformFunction: null
|
|
292
|
+
},
|
|
293
|
+
ariaLabel: {
|
|
294
|
+
classPropertyName: "ariaLabel",
|
|
295
|
+
publicName: "ariaLabel",
|
|
296
|
+
isSignal: true,
|
|
297
|
+
isRequired: false,
|
|
298
|
+
transformFunction: null
|
|
299
|
+
},
|
|
300
|
+
ariaLabelledBy: {
|
|
301
|
+
classPropertyName: "ariaLabelledBy",
|
|
302
|
+
publicName: "ariaLabelledBy",
|
|
303
|
+
isSignal: true,
|
|
304
|
+
isRequired: false,
|
|
305
|
+
transformFunction: null
|
|
306
|
+
},
|
|
307
|
+
ariaDescribedBy: {
|
|
308
|
+
classPropertyName: "ariaDescribedBy",
|
|
309
|
+
publicName: "ariaDescribedBy",
|
|
310
|
+
isSignal: true,
|
|
311
|
+
isRequired: false,
|
|
312
|
+
transformFunction: null
|
|
313
|
+
},
|
|
314
|
+
size: {
|
|
315
|
+
classPropertyName: "size",
|
|
316
|
+
publicName: "size",
|
|
317
|
+
isSignal: true,
|
|
318
|
+
isRequired: false,
|
|
319
|
+
transformFunction: null
|
|
320
|
+
},
|
|
321
|
+
appearance: {
|
|
322
|
+
classPropertyName: "appearance",
|
|
323
|
+
publicName: "appearance",
|
|
324
|
+
isSignal: true,
|
|
325
|
+
isRequired: false,
|
|
326
|
+
transformFunction: null
|
|
327
|
+
},
|
|
328
|
+
invalid: {
|
|
329
|
+
classPropertyName: "invalid",
|
|
330
|
+
publicName: "invalid",
|
|
331
|
+
isSignal: true,
|
|
332
|
+
isRequired: false,
|
|
333
|
+
transformFunction: null
|
|
334
|
+
},
|
|
335
|
+
touched: {
|
|
336
|
+
classPropertyName: "touched",
|
|
337
|
+
publicName: "touched",
|
|
338
|
+
isSignal: true,
|
|
339
|
+
isRequired: false,
|
|
340
|
+
transformFunction: null
|
|
341
|
+
},
|
|
342
|
+
disabled: {
|
|
343
|
+
classPropertyName: "disabled",
|
|
344
|
+
publicName: "disabled",
|
|
345
|
+
isSignal: true,
|
|
346
|
+
isRequired: false,
|
|
347
|
+
transformFunction: null
|
|
348
|
+
},
|
|
349
|
+
readonly: {
|
|
350
|
+
classPropertyName: "readonly",
|
|
351
|
+
publicName: "readonly",
|
|
352
|
+
isSignal: true,
|
|
353
|
+
isRequired: false,
|
|
354
|
+
transformFunction: null
|
|
355
|
+
},
|
|
356
|
+
required: {
|
|
357
|
+
classPropertyName: "required",
|
|
358
|
+
publicName: "required",
|
|
359
|
+
isSignal: true,
|
|
360
|
+
isRequired: false,
|
|
361
|
+
transformFunction: null
|
|
362
|
+
},
|
|
363
|
+
fluid: {
|
|
364
|
+
classPropertyName: "fluid",
|
|
365
|
+
publicName: "fluid",
|
|
366
|
+
isSignal: true,
|
|
367
|
+
isRequired: false,
|
|
368
|
+
transformFunction: null
|
|
369
|
+
},
|
|
370
|
+
clearable: {
|
|
371
|
+
classPropertyName: "clearable",
|
|
372
|
+
publicName: "clearable",
|
|
373
|
+
isSignal: true,
|
|
374
|
+
isRequired: false,
|
|
375
|
+
transformFunction: null
|
|
376
|
+
},
|
|
377
|
+
clearButtonAriaLabel: {
|
|
378
|
+
classPropertyName: "clearButtonAriaLabel",
|
|
379
|
+
publicName: "clearButtonAriaLabel",
|
|
380
|
+
isSignal: true,
|
|
381
|
+
isRequired: false,
|
|
382
|
+
transformFunction: null
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
outputs: {
|
|
386
|
+
value: "valueChange",
|
|
387
|
+
focused: "focused",
|
|
388
|
+
blurred: "blurred",
|
|
389
|
+
touch: "touch"
|
|
390
|
+
},
|
|
391
|
+
host: { properties: { "attr.data-fluid": "fluid() || null" } },
|
|
392
|
+
providers: [{
|
|
393
|
+
provide: NG_VALUE_ACCESSOR,
|
|
394
|
+
useExisting: forwardRef(() => AerisInputTextComponent),
|
|
395
|
+
multi: true
|
|
396
|
+
}],
|
|
397
|
+
viewQueries: [{
|
|
398
|
+
propertyName: "inputElement",
|
|
399
|
+
first: true,
|
|
400
|
+
predicate: ["textInput"],
|
|
401
|
+
descendants: true,
|
|
402
|
+
isSignal: true
|
|
403
|
+
}],
|
|
404
|
+
ngImport: i0,
|
|
405
|
+
template: `
|
|
133
406
|
<span class="aeris-input-text-component__field">
|
|
134
407
|
<input
|
|
135
408
|
#textInput
|
|
@@ -166,11 +439,34 @@ class AerisInputTextComponent {
|
|
|
166
439
|
</button>
|
|
167
440
|
}
|
|
168
441
|
</span>
|
|
169
|
-
`,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
442
|
+
`,
|
|
443
|
+
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, #555555);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:hover,.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-input-text-component__clear:focus-visible{outline:2px solid var(--aeris-focus, #2c432c);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}\n"],
|
|
445
|
+
dependencies: [{
|
|
446
|
+
kind: "directive",
|
|
447
|
+
type: AerisInputTextDirective,
|
|
448
|
+
selector: "input[aerisInputText]",
|
|
449
|
+
inputs: [
|
|
450
|
+
"size",
|
|
451
|
+
"appearance",
|
|
452
|
+
"invalid",
|
|
453
|
+
"touched",
|
|
454
|
+
"fluid"
|
|
455
|
+
]
|
|
456
|
+
}]
|
|
457
|
+
});
|
|
458
|
+
};
|
|
459
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
460
|
+
minVersion: "12.0.0",
|
|
461
|
+
version: "22.2.1",
|
|
462
|
+
ngImport: i0,
|
|
463
|
+
type: AerisInputTextComponent,
|
|
464
|
+
decorators: [{
|
|
465
|
+
type: Component,
|
|
466
|
+
args: [{
|
|
467
|
+
selector: "aeris-input-text",
|
|
468
|
+
imports: [AerisInputTextDirective],
|
|
469
|
+
template: `
|
|
174
470
|
<span class="aeris-input-text-component__field">
|
|
175
471
|
<input
|
|
176
472
|
#textInput
|
|
@@ -207,21 +503,191 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
207
503
|
</button>
|
|
208
504
|
}
|
|
209
505
|
</span>
|
|
210
|
-
`,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
506
|
+
`,
|
|
507
|
+
providers: [{
|
|
508
|
+
provide: NG_VALUE_ACCESSOR,
|
|
509
|
+
useExisting: forwardRef(() => AerisInputTextComponent),
|
|
510
|
+
multi: true
|
|
511
|
+
}],
|
|
512
|
+
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, #555555);cursor:pointer;transform:translateY(-50%)}.aeris-input-text-component__clear:hover,.aeris-input-text-component__clear:focus-visible{background:var(--aeris-surface-2, #f2f0ec);color:var(--aeris-text, #222222)}.aeris-input-text-component__clear:focus-visible{outline:2px solid var(--aeris-focus, #2c432c);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}\n"]
|
|
514
|
+
}]
|
|
515
|
+
}],
|
|
516
|
+
propDecorators: {
|
|
517
|
+
inputElement: [{
|
|
518
|
+
type: i0.ViewChild,
|
|
519
|
+
args: ["textInput", { isSignal: true }]
|
|
520
|
+
}],
|
|
521
|
+
value: [{
|
|
522
|
+
type: i0.Input,
|
|
523
|
+
args: [{
|
|
524
|
+
isSignal: true,
|
|
525
|
+
alias: "value",
|
|
526
|
+
required: false
|
|
527
|
+
}]
|
|
528
|
+
}, {
|
|
529
|
+
type: i0.Output,
|
|
530
|
+
args: ["valueChange"]
|
|
531
|
+
}],
|
|
532
|
+
inputId: [{
|
|
533
|
+
type: i0.Input,
|
|
534
|
+
args: [{
|
|
535
|
+
isSignal: true,
|
|
536
|
+
alias: "inputId",
|
|
537
|
+
required: false
|
|
538
|
+
}]
|
|
539
|
+
}],
|
|
540
|
+
type: [{
|
|
541
|
+
type: i0.Input,
|
|
542
|
+
args: [{
|
|
543
|
+
isSignal: true,
|
|
544
|
+
alias: "type",
|
|
545
|
+
required: false
|
|
546
|
+
}]
|
|
547
|
+
}],
|
|
548
|
+
name: [{
|
|
549
|
+
type: i0.Input,
|
|
550
|
+
args: [{
|
|
551
|
+
isSignal: true,
|
|
552
|
+
alias: "name",
|
|
553
|
+
required: false
|
|
554
|
+
}]
|
|
555
|
+
}],
|
|
556
|
+
placeholder: [{
|
|
557
|
+
type: i0.Input,
|
|
558
|
+
args: [{
|
|
559
|
+
isSignal: true,
|
|
560
|
+
alias: "placeholder",
|
|
561
|
+
required: false
|
|
562
|
+
}]
|
|
563
|
+
}],
|
|
564
|
+
autocomplete: [{
|
|
565
|
+
type: i0.Input,
|
|
566
|
+
args: [{
|
|
567
|
+
isSignal: true,
|
|
568
|
+
alias: "autocomplete",
|
|
569
|
+
required: false
|
|
570
|
+
}]
|
|
571
|
+
}],
|
|
572
|
+
ariaLabel: [{
|
|
573
|
+
type: i0.Input,
|
|
574
|
+
args: [{
|
|
575
|
+
isSignal: true,
|
|
576
|
+
alias: "ariaLabel",
|
|
577
|
+
required: false
|
|
578
|
+
}]
|
|
579
|
+
}],
|
|
580
|
+
ariaLabelledBy: [{
|
|
581
|
+
type: i0.Input,
|
|
582
|
+
args: [{
|
|
583
|
+
isSignal: true,
|
|
584
|
+
alias: "ariaLabelledBy",
|
|
585
|
+
required: false
|
|
586
|
+
}]
|
|
587
|
+
}],
|
|
588
|
+
ariaDescribedBy: [{
|
|
589
|
+
type: i0.Input,
|
|
590
|
+
args: [{
|
|
591
|
+
isSignal: true,
|
|
592
|
+
alias: "ariaDescribedBy",
|
|
593
|
+
required: false
|
|
594
|
+
}]
|
|
595
|
+
}],
|
|
596
|
+
size: [{
|
|
597
|
+
type: i0.Input,
|
|
598
|
+
args: [{
|
|
599
|
+
isSignal: true,
|
|
600
|
+
alias: "size",
|
|
601
|
+
required: false
|
|
602
|
+
}]
|
|
603
|
+
}],
|
|
604
|
+
appearance: [{
|
|
605
|
+
type: i0.Input,
|
|
606
|
+
args: [{
|
|
607
|
+
isSignal: true,
|
|
608
|
+
alias: "appearance",
|
|
609
|
+
required: false
|
|
610
|
+
}]
|
|
611
|
+
}],
|
|
612
|
+
invalid: [{
|
|
613
|
+
type: i0.Input,
|
|
614
|
+
args: [{
|
|
615
|
+
isSignal: true,
|
|
616
|
+
alias: "invalid",
|
|
617
|
+
required: false
|
|
618
|
+
}]
|
|
619
|
+
}],
|
|
620
|
+
touched: [{
|
|
621
|
+
type: i0.Input,
|
|
622
|
+
args: [{
|
|
623
|
+
isSignal: true,
|
|
624
|
+
alias: "touched",
|
|
625
|
+
required: false
|
|
626
|
+
}]
|
|
627
|
+
}],
|
|
628
|
+
disabled: [{
|
|
629
|
+
type: i0.Input,
|
|
630
|
+
args: [{
|
|
631
|
+
isSignal: true,
|
|
632
|
+
alias: "disabled",
|
|
633
|
+
required: false
|
|
634
|
+
}]
|
|
635
|
+
}],
|
|
636
|
+
readonly: [{
|
|
637
|
+
type: i0.Input,
|
|
638
|
+
args: [{
|
|
639
|
+
isSignal: true,
|
|
640
|
+
alias: "readonly",
|
|
641
|
+
required: false
|
|
642
|
+
}]
|
|
643
|
+
}],
|
|
644
|
+
required: [{
|
|
645
|
+
type: i0.Input,
|
|
646
|
+
args: [{
|
|
647
|
+
isSignal: true,
|
|
648
|
+
alias: "required",
|
|
649
|
+
required: false
|
|
650
|
+
}]
|
|
651
|
+
}],
|
|
652
|
+
fluid: [{
|
|
653
|
+
type: i0.Input,
|
|
654
|
+
args: [{
|
|
655
|
+
isSignal: true,
|
|
656
|
+
alias: "fluid",
|
|
657
|
+
required: false
|
|
658
|
+
}]
|
|
659
|
+
}],
|
|
660
|
+
clearable: [{
|
|
661
|
+
type: i0.Input,
|
|
662
|
+
args: [{
|
|
663
|
+
isSignal: true,
|
|
664
|
+
alias: "clearable",
|
|
665
|
+
required: false
|
|
666
|
+
}]
|
|
667
|
+
}],
|
|
668
|
+
clearButtonAriaLabel: [{
|
|
669
|
+
type: i0.Input,
|
|
670
|
+
args: [{
|
|
671
|
+
isSignal: true,
|
|
672
|
+
alias: "clearButtonAriaLabel",
|
|
673
|
+
required: false
|
|
674
|
+
}]
|
|
675
|
+
}],
|
|
676
|
+
focused: [{
|
|
677
|
+
type: i0.Output,
|
|
678
|
+
args: ["focused"]
|
|
679
|
+
}],
|
|
680
|
+
blurred: [{
|
|
681
|
+
type: i0.Output,
|
|
682
|
+
args: ["blurred"]
|
|
683
|
+
}],
|
|
684
|
+
touch: [{
|
|
685
|
+
type: i0.Output,
|
|
686
|
+
args: ["touch"]
|
|
687
|
+
}]
|
|
688
|
+
}
|
|
689
|
+
});
|
|
220
690
|
const AerisInputText = [AerisInputTextDirective, AerisInputTextComponent];
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Generated bundle index. Do not edit.
|
|
224
|
-
*/
|
|
225
|
-
|
|
226
691
|
export { AerisInputText, AerisInputTextComponent, AerisInputTextDirective };
|
|
227
|
-
|
|
692
|
+
|
|
693
|
+
//# sourceMappingURL=aeris-ui-core-input-text.mjs.map
|