@festo-ui/angular 5.1.0 → 6.0.0-dev.198
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/{esm2020 → esm2022}/lib/components/accordion/accordion-header/accordion-header.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +4 -4
- package/esm2022/lib/components/accordion/accordion-item/accordion-item.component.mjs +148 -0
- package/esm2022/lib/components/accordion/accordion.component.mjs +59 -0
- package/{esm2020 → esm2022}/lib/components/breadcrumb/breadcrumb.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/buttons/button/button.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/buttons/link-button/link-button.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/chips/chip/chip.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/chips/chip-container/chip-container.component.mjs +4 -4
- package/esm2022/lib/components/components.module.mjs +207 -0
- package/{esm2020 → esm2022}/lib/components/loading-indicator/loading-indicator.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/mobile-flyout/mobile-flyout.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/pagination/pagination.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/popovers/legend/legend.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/legend/legend.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/popover/popover.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/popover-content/popover-content.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/popover-content/popover-content.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/popover-menu/popover-menu.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/popover.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/popovers/tooltip/tooltip.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/progress/progress.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/scroll/scrollable.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/search-input/search-input.component.mjs +4 -4
- package/esm2022/lib/components/sidebar-overlay/sidebar-overlay.component.mjs +59 -0
- package/{esm2020 → esm2022}/lib/components/snackbar/snackbar-container.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/snackbar/snackbar-container.directive.mjs +5 -5
- package/esm2022/lib/components/snackbar/snackbar.component.mjs +81 -0
- package/esm2022/lib/components/snackbar/snackbar.module.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/snackbar/snackbar.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/stepper-horizontal/stepper-horizontal.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/stepper-vertical/step-vertical/step-vertical.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/stepper-vertical/stepper-vertical.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/table-header-cell/table-header-cell.directive.mjs +4 -4
- package/esm2022/lib/components/tabs/tab-pane/tab-pane.component.mjs +34 -0
- package/esm2022/lib/components/tabs/tabs.component.mjs +459 -0
- package/{esm2020 → esm2022}/lib/directives/click-outside.directive.mjs +5 -5
- package/{esm2020 → esm2022}/lib/festo-angular.module.mjs +5 -5
- package/esm2022/lib/forms/checkbox/checkbox.component.mjs +154 -0
- package/{esm2020 → esm2022}/lib/forms/color-indicator/color-indicator.component.mjs +4 -4
- package/esm2022/lib/forms/color-picker/color-picker.component.mjs +292 -0
- package/{esm2020 → esm2022}/lib/forms/date-picker/date-picker.component.mjs +12 -12
- package/{esm2020 → esm2022}/lib/forms/date-range-picker/date-range-picker.component.mjs +12 -12
- package/{esm2020 → esm2022}/lib/forms/flatpickr/flatpickr.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/forms/forms.module.mjs +62 -62
- package/esm2022/lib/forms/radio/radio.component.mjs +350 -0
- package/{esm2020 → esm2022}/lib/forms/segment/segment-control/segment-control.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/forms/segment/segment.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/forms/select/chip-text.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/forms/select/select-option/select-option.component.mjs +4 -4
- package/esm2022/lib/forms/select/select.component.mjs +275 -0
- package/esm2022/lib/forms/slider/slider.component.mjs +113 -0
- package/esm2022/lib/forms/switch/switch.component.mjs +121 -0
- package/esm2022/lib/forms/text-area/text-area.component.mjs +187 -0
- package/esm2022/lib/forms/text-editor/text-editor.component.mjs +308 -0
- package/esm2022/lib/forms/text-input/text-input.component.mjs +208 -0
- package/{esm2020 → esm2022}/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/forms/time-picker/time-picker.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/forms/unique-selection-dispatcher.mjs +4 -4
- package/{esm2020 → esm2022}/lib/forms/value-accessor-base.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modals/alert/alert.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modals/confirm/confirm.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/modals/custom-modal/custom-modal.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/modals/image-gallery/image-gallery.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/modals/modal.service.mjs +5 -5
- package/{esm2020 → esm2022}/lib/modals/modals.module.mjs +5 -5
- package/{esm2020 → esm2022}/lib/modals/prompt/prompt.component.mjs +5 -5
- package/{esm2020 → esm2022}/lib/pipes/safe-html.pipe.mjs +5 -5
- package/{fesm2020 → fesm2022}/festo-ui-angular.mjs +512 -520
- package/{fesm2020 → fesm2022}/festo-ui-angular.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/lib/components/buttons/button/button.component.d.ts +1 -1
- package/lib/components/buttons/link-button/link-button.component.d.ts +1 -1
- package/lib/components/chips/chip/chip.component.d.ts +1 -1
- package/lib/components/chips/chip-container/chip-container.component.d.ts +1 -1
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +1 -1
- package/lib/components/mobile-flyout/mobile-flyout-item/mobile-flyout-item.component.d.ts +1 -1
- package/lib/components/mobile-flyout/mobile-flyout-page/mobile-flyout-page.component.d.ts +1 -1
- package/lib/components/pagination/pagination.component.d.ts +1 -1
- package/lib/components/popovers/legend/legend.component.d.ts +1 -1
- package/lib/components/popovers/popover-content/popover-content.component.d.ts +1 -1
- package/lib/components/popovers/popover-menu/popover-menu.component.d.ts +1 -1
- package/lib/components/popovers/tooltip/tooltip.directive.d.ts +1 -1
- package/lib/components/progress/progress.component.d.ts +1 -1
- package/lib/components/scroll/scrollable.directive.d.ts +1 -1
- package/lib/components/search-input/search-input.component.d.ts +1 -1
- package/lib/components/sidebar-overlay/sidebar-overlay.component.d.ts +1 -1
- package/lib/components/snackbar/snackbar-container.component.d.ts +1 -1
- package/lib/components/snackbar/snackbar-container.directive.d.ts +1 -1
- package/lib/components/snackbar/snackbar.component.d.ts +1 -1
- package/lib/components/stepper-horizontal/step-horizontal/step-horizontal.component.d.ts +1 -1
- package/lib/components/stepper-horizontal/stepper-horizontal.component.d.ts +1 -1
- package/lib/components/stepper-vertical/step-vertical/step-vertical.component.d.ts +1 -1
- package/lib/components/stepper-vertical/stepper-vertical.component.d.ts +1 -1
- package/lib/components/table-header-cell/table-header-cell.directive.d.ts +1 -1
- package/lib/components/tabs/tab-pane/tab-pane.component.d.ts +1 -1
- package/lib/components/tabs/tabs.component.d.ts +1 -1
- package/lib/forms/checkbox/checkbox.component.d.ts +1 -1
- package/lib/forms/color-indicator/color-indicator.component.d.ts +1 -1
- package/lib/forms/color-picker/color-picker.component.d.ts +1 -1
- package/lib/forms/date-picker/date-picker.component.d.ts +1 -1
- package/lib/forms/date-range-picker/date-range-picker.component.d.ts +1 -1
- package/lib/forms/flatpickr/flatpickr.component.d.ts +1 -1
- package/lib/forms/radio/radio.component.d.ts +6 -6
- package/lib/forms/segment/segment-control/segment-control.component.d.ts +1 -1
- package/lib/forms/segment/segment.component.d.ts +1 -1
- package/lib/forms/select/select-option/select-option.component.d.ts +1 -1
- package/lib/forms/select/select.component.d.ts +6 -5
- package/lib/forms/slider/slider.component.d.ts +1 -1
- package/lib/forms/switch/switch.component.d.ts +1 -1
- package/lib/forms/text-area/text-area.component.d.ts +1 -1
- package/lib/forms/text-editor/text-editor.component.d.ts +1 -1
- package/lib/forms/text-input/text-input.component.d.ts +1 -1
- package/lib/forms/time-picker/time-picker-dropdown/time-picker-dropdown.component.d.ts +1 -1
- package/lib/forms/time-picker/time-picker.component.d.ts +1 -1
- package/lib/forms/value-accessor-base.d.ts +1 -1
- package/lib/modals/alert/alert.component.d.ts +1 -1
- package/lib/modals/confirm/confirm.component.d.ts +1 -1
- package/lib/modals/custom-modal/custom-modal.component.d.ts +1 -1
- package/lib/modals/image-gallery/image-gallery.component.d.ts +1 -1
- package/lib/modals/prompt/prompt.component.d.ts +1 -1
- package/package.json +17 -23
- package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +0 -148
- package/esm2020/lib/components/accordion/accordion.component.mjs +0 -59
- package/esm2020/lib/components/components.module.mjs +0 -218
- package/esm2020/lib/components/sidebar-overlay/sidebar-overlay.component.mjs +0 -59
- package/esm2020/lib/components/snackbar/snackbar.component.mjs +0 -81
- package/esm2020/lib/components/snackbar/snackbar.module.mjs +0 -24
- package/esm2020/lib/components/tabs/tab-pane/tab-pane.component.mjs +0 -34
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -459
- package/esm2020/lib/forms/checkbox/checkbox.component.mjs +0 -154
- package/esm2020/lib/forms/color-picker/color-picker.component.mjs +0 -292
- package/esm2020/lib/forms/radio/radio.component.mjs +0 -350
- package/esm2020/lib/forms/select/select.component.mjs +0 -273
- package/esm2020/lib/forms/slider/slider.component.mjs +0 -113
- package/esm2020/lib/forms/switch/switch.component.mjs +0 -121
- package/esm2020/lib/forms/text-area/text-area.component.mjs +0 -187
- package/esm2020/lib/forms/text-editor/text-editor.component.mjs +0 -308
- package/esm2020/lib/forms/text-input/text-input.component.mjs +0 -208
- package/fesm2015/festo-ui-angular.mjs +0 -6504
- package/fesm2015/festo-ui-angular.mjs.map +0 -1
- /package/{esm2020 → esm2022}/festo-ui-angular.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/popovers/popover-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/popovers/popover.defaults.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/popovers/popover.models.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/scroll/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/snackbar/snackbar.models.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/forms/color-picker/color-helper.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/modals/index.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { Component, Input, forwardRef, ViewChild, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
/**
|
|
9
|
-
* A custom form element for text inputs.
|
|
10
|
-
*/
|
|
11
|
-
export class FngTextInputComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
/**
|
|
14
|
-
* The text input label.
|
|
15
|
-
*/
|
|
16
|
-
this.label = '';
|
|
17
|
-
this.innerType = 'text';
|
|
18
|
-
this.innerReadonly = false;
|
|
19
|
-
this.step = undefined;
|
|
20
|
-
this.min = undefined;
|
|
21
|
-
this.max = undefined;
|
|
22
|
-
this.tabindex = undefined;
|
|
23
|
-
this.placeholder = undefined;
|
|
24
|
-
this.name = '';
|
|
25
|
-
this.innerDisabled = false;
|
|
26
|
-
/**
|
|
27
|
-
* The inner value.
|
|
28
|
-
*/
|
|
29
|
-
this.innerValue = '';
|
|
30
|
-
this.innerRequired = false;
|
|
31
|
-
/**
|
|
32
|
-
* Error description when invalid.
|
|
33
|
-
*/
|
|
34
|
-
this.error = '';
|
|
35
|
-
/**
|
|
36
|
-
* Hint description when valid.
|
|
37
|
-
*/
|
|
38
|
-
this.hint = undefined;
|
|
39
|
-
/**
|
|
40
|
-
* When true the text input has focus.
|
|
41
|
-
*/
|
|
42
|
-
this.focused = false;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* A string specifying the type of control to render.
|
|
46
|
-
*/
|
|
47
|
-
get type() {
|
|
48
|
-
return this.innerType;
|
|
49
|
-
}
|
|
50
|
-
set type(value) {
|
|
51
|
-
const supported = ['text', 'number', 'password', 'date', 'time', 'datetime-local'];
|
|
52
|
-
if (value != null && supported.indexOf(value) !== -1) {
|
|
53
|
-
this.innerType = value;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.innerType = 'text';
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
get readonly() {
|
|
60
|
-
return this.innerReadonly;
|
|
61
|
-
}
|
|
62
|
-
set readonly(value) {
|
|
63
|
-
this.innerReadonly = coerceBooleanProperty(value);
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* When true the control's disabled attribute is set
|
|
67
|
-
* and it gets addeed the .disabled css class.
|
|
68
|
-
*/
|
|
69
|
-
get disabled() {
|
|
70
|
-
return this.innerDisabled;
|
|
71
|
-
}
|
|
72
|
-
set disabled(value) {
|
|
73
|
-
this.innerDisabled = coerceBooleanProperty(value);
|
|
74
|
-
if (this.focused) {
|
|
75
|
-
this.focused = false;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* The getter for value.
|
|
80
|
-
*/
|
|
81
|
-
get value() {
|
|
82
|
-
return this.innerValue;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* The setter for value.
|
|
86
|
-
*/
|
|
87
|
-
set value(value) {
|
|
88
|
-
if (value != null) {
|
|
89
|
-
value = '' + value;
|
|
90
|
-
}
|
|
91
|
-
this.innerValue = value;
|
|
92
|
-
this.focused = !!value;
|
|
93
|
-
if (this.onChange != null) {
|
|
94
|
-
this.onChange(value);
|
|
95
|
-
}
|
|
96
|
-
if (this.onTouched != null) {
|
|
97
|
-
this.onTouched();
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
get required() {
|
|
101
|
-
return this.innerRequired;
|
|
102
|
-
}
|
|
103
|
-
set required(value) {
|
|
104
|
-
this.innerRequired = coerceBooleanProperty(value);
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Called on component initialisation.
|
|
108
|
-
*/
|
|
109
|
-
ngOnInit() {
|
|
110
|
-
this.onBlur();
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Writes the value.
|
|
114
|
-
* @param value The value.
|
|
115
|
-
*/
|
|
116
|
-
writeValue(value) {
|
|
117
|
-
if (value != null) {
|
|
118
|
-
value = '' + value;
|
|
119
|
-
}
|
|
120
|
-
this.innerValue = value;
|
|
121
|
-
this.focused = !!value;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Registers a function to onChange.
|
|
125
|
-
* @param fn The registered function.
|
|
126
|
-
*/
|
|
127
|
-
registerOnChange(fn) {
|
|
128
|
-
this.onChange = fn;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Registers a function to onTouched.
|
|
132
|
-
* @param fn The registered function.
|
|
133
|
-
*/
|
|
134
|
-
registerOnTouched(fn) {
|
|
135
|
-
this.onTouched = fn;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Called when the text input is in focus.
|
|
139
|
-
*/
|
|
140
|
-
onFocus() {
|
|
141
|
-
this.focused = true;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Called when the text input blurs.
|
|
145
|
-
*/
|
|
146
|
-
onBlur() {
|
|
147
|
-
if (this.focused) {
|
|
148
|
-
this.focused = false;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Sets the disabled state.
|
|
153
|
-
* @param isDisabled When true the control is disabled
|
|
154
|
-
*/
|
|
155
|
-
setDisabledState(isDisabled) {
|
|
156
|
-
this.disabled = isDisabled;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
FngTextInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FngTextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
160
|
-
FngTextInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: FngTextInputComponent, isStandalone: true, selector: "fng-text-input", inputs: { label: "label", type: "type", readonly: "readonly", step: "step", min: "min", max: "max", tabindex: "tabindex", placeholder: "placeholder", name: "name", disabled: "disabled", value: "value", required: "required", error: "error", hint: "hint" }, providers: [
|
|
161
|
-
{
|
|
162
|
-
provide: NG_VALUE_ACCESSOR,
|
|
163
|
-
useExisting: forwardRef(() => FngTextInputComponent),
|
|
164
|
-
multi: true
|
|
165
|
-
}
|
|
166
|
-
], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<label class=\"fwe-input-text\" [class.fwe-no-pointer-events]=\"readonly === true\">\n <input\n #inputElement\n [disabled]=\"disabled\"\n [required]=\"required === true || false\"\n [attr.readonly]=\"readonly === true || null\"\n [attr.placeholder]=\"placeholder || null\"\n [attr.type]=\"type\"\n [attr.step]=\"step\"\n [attr.min]=\"min\"\n [attr.max]=\"max\"\n [attr.name]=\"name || null\"\n [attr.tabindex]=\"tabindex\"\n [class.fng-has-value]=\"value != null && value !== ''\"\n autocomplete=\"off\"\n (focus)=\"onFocus()\"\n [(ngModel)]=\"value\"\n (blur)=\"onBlur()\"\n />\n <span class=\"fwe-input-text-label\">{{ label }}</span>\n <span *ngIf=\"hint; else projectedHint\" class=\"fwe-input-text-info\">{{ hint }}</span>\n <span *ngIf=\"error; else projectedError\" class=\"fwe-input-text-invalid\">{{ error }}</span>\n\n <ng-template #projectedHint>\n <span class=\"fwe-input-text-info fng-projected\"><ng-content select=\".fng-hint\"></ng-content></span>\n </ng-template>\n\n <ng-template #projectedError>\n <span class=\"fwe-input-text-invalid fng-projected\"><ng-content select=\".fng-error\"></ng-content></span>\n </ng-template>\n</label>\n", styles: ["fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]{border-bottom:1px solid var(--fwe-red)!important;box-shadow:none;outline:none}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:focus{border-bottom:1px solid var(--fwe-red)!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled{border-bottom:1px solid var(--fwe-control-disabled)!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-info{color:var(--fwe-text-disabled)}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text .fwe-input-text-info{display:none!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text .fwe-input-text-invalid{display:block!important}fng-text-input.ng-valid label.fwe-input-text input[type=text]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=password]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=date]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=time]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=datetime-local]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=number]:hover:not(:disabled){border-bottom:1px solid var(--fwe-hero)!important}fng-text-input label.fwe-input-text.fwe-no-pointer-events{pointer-events:none!important}.fwe-input-text-invalid.fng-projected:empty{display:none}.fwe-input-text-info.fng-projected:empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FngTextInputComponent, decorators: [{
|
|
168
|
-
type: Component,
|
|
169
|
-
args: [{ standalone: true, imports: [CommonModule, FormsModule], selector: 'fng-text-input', providers: [
|
|
170
|
-
{
|
|
171
|
-
provide: NG_VALUE_ACCESSOR,
|
|
172
|
-
useExisting: forwardRef(() => FngTextInputComponent),
|
|
173
|
-
multi: true
|
|
174
|
-
}
|
|
175
|
-
], encapsulation: ViewEncapsulation.None, template: "<label class=\"fwe-input-text\" [class.fwe-no-pointer-events]=\"readonly === true\">\n <input\n #inputElement\n [disabled]=\"disabled\"\n [required]=\"required === true || false\"\n [attr.readonly]=\"readonly === true || null\"\n [attr.placeholder]=\"placeholder || null\"\n [attr.type]=\"type\"\n [attr.step]=\"step\"\n [attr.min]=\"min\"\n [attr.max]=\"max\"\n [attr.name]=\"name || null\"\n [attr.tabindex]=\"tabindex\"\n [class.fng-has-value]=\"value != null && value !== ''\"\n autocomplete=\"off\"\n (focus)=\"onFocus()\"\n [(ngModel)]=\"value\"\n (blur)=\"onBlur()\"\n />\n <span class=\"fwe-input-text-label\">{{ label }}</span>\n <span *ngIf=\"hint; else projectedHint\" class=\"fwe-input-text-info\">{{ hint }}</span>\n <span *ngIf=\"error; else projectedError\" class=\"fwe-input-text-invalid\">{{ error }}</span>\n\n <ng-template #projectedHint>\n <span class=\"fwe-input-text-info fng-projected\"><ng-content select=\".fng-hint\"></ng-content></span>\n </ng-template>\n\n <ng-template #projectedError>\n <span class=\"fwe-input-text-invalid fng-projected\"><ng-content select=\".fng-error\"></ng-content></span>\n </ng-template>\n</label>\n", styles: ["fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local],fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]{border-bottom:1px solid var(--fwe-red)!important;box-shadow:none;outline:none}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:focus,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:focus{border-bottom:1px solid var(--fwe-red)!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled{border-bottom:1px solid var(--fwe-control-disabled)!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=text]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=password]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=date]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=datetime-local]:disabled~.fwe-input-text-info,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-label,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-invalid,fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text input[type=number]:disabled~.fwe-input-text-info{color:var(--fwe-text-disabled)}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text .fwe-input-text-info{display:none!important}fng-text-input:not(.ng-pristine).ng-invalid label.fwe-input-text .fwe-input-text-invalid{display:block!important}fng-text-input.ng-valid label.fwe-input-text input[type=text]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=password]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=date]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=time]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=datetime-local]:hover:not(:disabled),fng-text-input.ng-valid label.fwe-input-text input[type=number]:hover:not(:disabled){border-bottom:1px solid var(--fwe-hero)!important}fng-text-input label.fwe-input-text.fwe-no-pointer-events{pointer-events:none!important}.fwe-input-text-invalid.fng-projected:empty{display:none}.fwe-input-text-info.fng-projected:empty{display:none}\n"] }]
|
|
176
|
-
}], propDecorators: { label: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], type: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}], readonly: [{
|
|
181
|
-
type: Input
|
|
182
|
-
}], step: [{
|
|
183
|
-
type: Input
|
|
184
|
-
}], min: [{
|
|
185
|
-
type: Input
|
|
186
|
-
}], max: [{
|
|
187
|
-
type: Input
|
|
188
|
-
}], tabindex: [{
|
|
189
|
-
type: Input
|
|
190
|
-
}], placeholder: [{
|
|
191
|
-
type: Input
|
|
192
|
-
}], name: [{
|
|
193
|
-
type: Input
|
|
194
|
-
}], disabled: [{
|
|
195
|
-
type: Input
|
|
196
|
-
}], value: [{
|
|
197
|
-
type: Input
|
|
198
|
-
}], required: [{
|
|
199
|
-
type: Input
|
|
200
|
-
}], error: [{
|
|
201
|
-
type: Input
|
|
202
|
-
}], hint: [{
|
|
203
|
-
type: Input
|
|
204
|
-
}], inputElement: [{
|
|
205
|
-
type: ViewChild,
|
|
206
|
-
args: ['inputElement']
|
|
207
|
-
}] } });
|
|
208
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyL3NyYy9saWIvZm9ybXMvdGV4dC1pbnB1dC90ZXh0LWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXIvc3JjL2xpYi9mb3Jtcy90ZXh0LWlucHV0L3RleHQtaW5wdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsVUFBVSxFQUFFLFNBQVMsRUFBYyxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvRyxPQUFPLEVBQXdCLFdBQVcsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3RGLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzlELE9B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