@ng-nest/ui 21.0.8 → 21.0.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.
@@ -1,13 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, model, output, Component, inject, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, viewChild, computed, signal, TemplateRef, ChangeDetectorRef, HostBinding, NgModule } from '@angular/core';
3
- import { XToBoolean, XToNumber, XToCssPixelValue, XPropertyFunction, XIsEmpty, XIsArray, XIsFunction, XIsUndefined } from '@ng-nest/ui/core';
2
+ import { input, model, output, Component, inject, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, viewChild, signal, computed, TemplateRef, ChangeDetectorRef, HostBinding, NgModule } from '@angular/core';
3
+ import { XToBoolean, XToNumber, XToCssPixelValue, XPropertyFunction, XIsEmpty, XIsArray, XComputedStyle, XResize, XIsFunction, XIsUndefined } from '@ng-nest/ui/core';
4
4
  import { XFormControlFunction, XValueAccessor } from '@ng-nest/ui/base-form';
5
- import { Subject, fromEvent, takeUntil, distinctUntilChanged } from 'rxjs';
5
+ import { Subject, debounceTime, tap, takeUntil, fromEvent, distinctUntilChanged } from 'rxjs';
6
6
  import { NgClass, NgStyle } from '@angular/common';
7
7
  import * as i1 from '@angular/forms';
8
8
  import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9
9
  import { XIconComponent } from '@ng-nest/ui/icon';
10
10
  import { XOutletDirective } from '@ng-nest/ui/outlet';
11
+ import { toSignal } from '@angular/core/rxjs-interop';
11
12
 
12
13
  /**
13
14
  * Input
@@ -72,6 +73,21 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
72
73
  * @en_US width
73
74
  */
74
75
  this.width = input('', { ...(ngDevMode ? { debugName: "width" } : {}), transform: XToCssPixelValue });
76
+ /**
77
+ * @zh_CN 自适应宽度,input 需要有默认值
78
+ * @en_US auto width,input needs a default value
79
+ */
80
+ this.autoWidth = input(false, { ...(ngDevMode ? { debugName: "autoWidth" } : {}), transform: XToBoolean });
81
+ /**
82
+ * @zh_CN 自适应最小的宽度
83
+ * @en_US auto min width
84
+ */
85
+ this.autoMinWidth = input(40, { ...(ngDevMode ? { debugName: "autoMinWidth" } : {}), transform: XToNumber });
86
+ /**
87
+ * @zh_CN 自适应最大的宽度
88
+ * @en_US auto max width,input needs a default value
89
+ */
90
+ this.autoMaxWidth = input(null, { ...(ngDevMode ? { debugName: "autoMaxWidth" } : {}), transform: XToNumber });
75
91
  /**
76
92
  * @zh_CN 显示边框
77
93
  * @en_US Display Border
@@ -254,12 +270,12 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
254
270
  this.xComposition = output();
255
271
  }
256
272
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XInputProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
257
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: XInputProperty, isStandalone: true, selector: "x-input-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconLayout: { classPropertyName: "iconLayout", publicName: "iconLayout", isSignal: true, isRequired: false, transformFunction: null }, iconSpin: { classPropertyName: "iconSpin", publicName: "iconSpin", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputPadding: { classPropertyName: "inputPadding", publicName: "inputPadding", isSignal: true, isRequired: false, transformFunction: null }, inputIconPadding: { classPropertyName: "inputIconPadding", publicName: "inputIconPadding", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, floatFixed: { classPropertyName: "floatFixed", publicName: "floatFixed", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, pointer: { classPropertyName: "pointer", publicName: "pointer", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, valueTpl: { classPropertyName: "valueTpl", publicName: "valueTpl", isSignal: true, isRequired: false, transformFunction: null }, valueTplContext: { classPropertyName: "valueTplContext", publicName: "valueTplContext", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, inputValidator: { classPropertyName: "inputValidator", publicName: "inputValidator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange", clearEmit: "clearEmit", xFocus: "xFocus", xBlur: "xBlur", xInput: "xInput", xKeydown: "xKeydown", xClick: "xClick", xMouseenter: "xMouseenter", xMouseleave: "xMouseleave", xComposition: "xComposition" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
273
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: XInputProperty, isStandalone: true, selector: "x-input-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconLayout: { classPropertyName: "iconLayout", publicName: "iconLayout", isSignal: true, isRequired: false, transformFunction: null }, iconSpin: { classPropertyName: "iconSpin", publicName: "iconSpin", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, autoWidth: { classPropertyName: "autoWidth", publicName: "autoWidth", isSignal: true, isRequired: false, transformFunction: null }, autoMinWidth: { classPropertyName: "autoMinWidth", publicName: "autoMinWidth", isSignal: true, isRequired: false, transformFunction: null }, autoMaxWidth: { classPropertyName: "autoMaxWidth", publicName: "autoMaxWidth", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputPadding: { classPropertyName: "inputPadding", publicName: "inputPadding", isSignal: true, isRequired: false, transformFunction: null }, inputIconPadding: { classPropertyName: "inputIconPadding", publicName: "inputIconPadding", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, floatFixed: { classPropertyName: "floatFixed", publicName: "floatFixed", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, pointer: { classPropertyName: "pointer", publicName: "pointer", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, valueTpl: { classPropertyName: "valueTpl", publicName: "valueTpl", isSignal: true, isRequired: false, transformFunction: null }, valueTplContext: { classPropertyName: "valueTplContext", publicName: "valueTplContext", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, inputValidator: { classPropertyName: "inputValidator", publicName: "inputValidator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange", clearEmit: "clearEmit", xFocus: "xFocus", xBlur: "xBlur", xInput: "xInput", xKeydown: "xKeydown", xClick: "xClick", xMouseenter: "xMouseenter", xMouseleave: "xMouseleave", xComposition: "xComposition" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
258
274
  }
259
275
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XInputProperty, decorators: [{
260
276
  type: Component,
261
277
  args: [{ selector: `${XInputPrefix}-property`, template: '' }]
262
- }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconLayout: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconLayout", required: false }] }], iconSpin: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSpin", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], bordered: [{ type: i0.Input, args: [{ isSignal: true, alias: "bordered", required: false }] }], inputStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyle", required: false }] }], inputPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputPadding", required: false }] }], inputIconPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputIconPadding", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], floatFixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatFixed", required: false }] }], validator: [{ type: i0.Input, args: [{ isSignal: true, alias: "validator", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], pointer: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointer", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelWidth", required: false }] }], labelAlign: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelAlign", required: false }] }], justify: [{ type: i0.Input, args: [{ isSignal: true, alias: "justify", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], valueTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTpl", required: false }] }], valueTplContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTplContext", required: false }] }], before: [{ type: i0.Input, args: [{ isSignal: true, alias: "before", required: false }] }], after: [{ type: i0.Input, args: [{ isSignal: true, alias: "after", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }, { type: i0.Output, args: ["activeChange"] }], inputValidator: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputValidator", required: false }] }], clearEmit: [{ type: i0.Output, args: ["clearEmit"] }], xFocus: [{ type: i0.Output, args: ["xFocus"] }], xBlur: [{ type: i0.Output, args: ["xBlur"] }], xInput: [{ type: i0.Output, args: ["xInput"] }], xKeydown: [{ type: i0.Output, args: ["xKeydown"] }], xClick: [{ type: i0.Output, args: ["xClick"] }], xMouseenter: [{ type: i0.Output, args: ["xMouseenter"] }], xMouseleave: [{ type: i0.Output, args: ["xMouseleave"] }], xComposition: [{ type: i0.Output, args: ["xComposition"] }] } });
278
+ }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], clearable: [{ type: i0.Input, args: [{ isSignal: true, alias: "clearable", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconLayout: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconLayout", required: false }] }], iconSpin: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSpin", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], autoWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoWidth", required: false }] }], autoMinWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoMinWidth", required: false }] }], autoMaxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoMaxWidth", required: false }] }], bordered: [{ type: i0.Input, args: [{ isSignal: true, alias: "bordered", required: false }] }], inputStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputStyle", required: false }] }], inputPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputPadding", required: false }] }], inputIconPadding: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputIconPadding", required: false }] }], floatLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatLabel", required: false }] }], floatFixed: [{ type: i0.Input, args: [{ isSignal: true, alias: "floatFixed", required: false }] }], validator: [{ type: i0.Input, args: [{ isSignal: true, alias: "validator", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], pointer: [{ type: i0.Input, args: [{ isSignal: true, alias: "pointer", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelWidth", required: false }] }], labelAlign: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelAlign", required: false }] }], justify: [{ type: i0.Input, args: [{ isSignal: true, alias: "justify", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], valueTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTpl", required: false }] }], valueTplContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueTplContext", required: false }] }], before: [{ type: i0.Input, args: [{ isSignal: true, alias: "before", required: false }] }], after: [{ type: i0.Input, args: [{ isSignal: true, alias: "after", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }, { type: i0.Output, args: ["activeChange"] }], inputValidator: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputValidator", required: false }] }], clearEmit: [{ type: i0.Output, args: ["clearEmit"] }], xFocus: [{ type: i0.Output, args: ["xFocus"] }], xBlur: [{ type: i0.Output, args: ["xBlur"] }], xInput: [{ type: i0.Output, args: ["xInput"] }], xKeydown: [{ type: i0.Output, args: ["xKeydown"] }], xClick: [{ type: i0.Output, args: ["xClick"] }], xMouseenter: [{ type: i0.Output, args: ["xMouseenter"] }], xMouseleave: [{ type: i0.Output, args: ["xMouseleave"] }], xComposition: [{ type: i0.Output, args: ["xComposition"] }] } });
263
279
  /**
264
280
  * Input Group
265
281
  * @selector x-input-group
@@ -317,6 +333,8 @@ class XInputComponent extends XInputProperty {
317
333
  this.inputRef = viewChild.required('inputRef', { read: (ElementRef) });
318
334
  this.inputValueRef = viewChild('inputValueRef', { ...(ngDevMode ? { debugName: "inputValueRef" } : {}), read: (ElementRef) });
319
335
  this.maxLengthRef = viewChild('maxLengthRef', { ...(ngDevMode ? { debugName: "maxLengthRef" } : {}), read: (ElementRef) });
336
+ this.measureRef = viewChild('measureRef', { ...(ngDevMode ? { debugName: "measureRef" } : {}), read: (ElementRef) });
337
+ this.measureRefChanged = signal(false, ...(ngDevMode ? [{ debugName: "measureRefChanged" }] : []));
320
338
  this.classMap = computed(() => ({
321
339
  [`${XInputPrefix}-${this.size()}`]: !!this.size(),
322
340
  [`x-justify-${this.justify()}`]: !!this.justify(),
@@ -362,6 +380,7 @@ class XInputComponent extends XInputProperty {
362
380
  }
363
381
  }, ...(ngDevMode ? [{ debugName: "hasValue" }] : []));
364
382
  this.valueChange = new Subject();
383
+ this.valueChangeSignal = toSignal(this.valueChange);
365
384
  this.isComposition = signal(false, ...(ngDevMode ? [{ debugName: "isComposition" }] : []));
366
385
  this.isWriteValue = signal(false, ...(ngDevMode ? [{ debugName: "isWriteValue" }] : []));
367
386
  this.unSubject = new Subject();
@@ -387,6 +406,27 @@ class XInputComponent extends XInputProperty {
387
406
  this.getTemplateWidth = computed(() => {
388
407
  return `calc(100% - ${this.paddingLeft()} - ${this.paddingRight()})`;
389
408
  }, ...(ngDevMode ? [{ debugName: "getTemplateWidth" }] : []));
409
+ this.inputWidth = computed(() => {
410
+ if (!this.autoWidth())
411
+ return 'auto';
412
+ this.measureRefChanged();
413
+ const measureElement = this.measureRef()?.nativeElement;
414
+ const inputRef = this.inputRef()?.nativeElement;
415
+ const paddingLeft = Number(XComputedStyle(inputRef, 'padding-left')) || 0;
416
+ const paddingRight = Number(XComputedStyle(inputRef, 'padding-right')) || 0;
417
+ if (measureElement) {
418
+ let finalWidth = measureElement.offsetWidth + paddingLeft + paddingRight + 2;
419
+ if (this.autoMinWidth()) {
420
+ finalWidth = Math.max(finalWidth, this.autoMinWidth());
421
+ }
422
+ if (this.autoMaxWidth()) {
423
+ finalWidth = Math.min(finalWidth, this.autoMaxWidth());
424
+ }
425
+ console.log(finalWidth);
426
+ return finalWidth + 'px';
427
+ }
428
+ return 'auto';
429
+ }, ...(ngDevMode ? [{ debugName: "inputWidth" }] : []));
390
430
  this.focused = signal(false, ...(ngDevMode ? [{ debugName: "focused" }] : []));
391
431
  this.groupSize = signal(null, ...(ngDevMode ? [{ debugName: "groupSize" }] : []));
392
432
  this.groupBordered = signal(null, ...(ngDevMode ? [{ debugName: "groupBordered" }] : []));
@@ -395,7 +435,7 @@ class XInputComponent extends XInputProperty {
395
435
  this.elementRef = inject(ElementRef);
396
436
  }
397
437
  get getWidth() {
398
- return this.width();
438
+ return this.autoWidth() ? 'auto' : this.width();
399
439
  }
400
440
  writeValue(value) {
401
441
  this.value.set(value);
@@ -409,9 +449,24 @@ class XInputComponent extends XInputProperty {
409
449
  this.setEvent();
410
450
  this.validatorValue(this.value());
411
451
  }
452
+ ngAfterViewInit() {
453
+ this.setAutoElement();
454
+ }
412
455
  ngOnDestroy() {
413
456
  this.unSubject.next();
414
457
  this.unSubject.complete();
458
+ this.resizeObserver?.disconnect();
459
+ }
460
+ setAutoElement() {
461
+ if (!this.autoWidth())
462
+ return;
463
+ XResize(this.measureRef()?.nativeElement)
464
+ .pipe(debounceTime(16), tap(({ resizeObserver }) => {
465
+ this.resizeObserver = resizeObserver;
466
+ this.measureRefChanged.update((x) => !x);
467
+ console.log(this.measureRefChanged());
468
+ }), takeUntil(this.unSubject))
469
+ .subscribe();
415
470
  }
416
471
  setEvent() {
417
472
  const inputRef = this.inputRef().nativeElement;
@@ -533,12 +588,12 @@ class XInputComponent extends XInputProperty {
533
588
  this.xClick.emit($event);
534
589
  }
535
590
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
536
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: XInputComponent, isStandalone: true, selector: "x-input", host: { properties: { "style.width": "this.getWidth" } }, providers: [XValueAccessor(XInputComponent)], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputValueRef", first: true, predicate: ["inputValueRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "maxLengthRef", first: true, predicate: ["maxLengthRef"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>input[type=number]{-moz-appearance:textfield;appearance:textfield}.x-input-row>.x-input-input>input[type=number]::-webkit-outer-spin-button,.x-input-row>.x-input-input>input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);transition:all var(--x-animation-duration-base);z-index:2}.x-input-row>.x-input-input:hover>input{border-color:var(--x-primary-300)}.x-input-row>.x-input-input:focus>input{border-color:var(--x-primary);outline:0}.x-input-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-input-value-template .x-input-input>input.x-input-has-value-template{color:transparent!important}.x-input-value-template-value{position:absolute;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--x-text);width:100%;z-index:2}.x-input-value-template-value:hover+input{border-color:var(--x-primary-300)}.x-input-error-message{position:absolute;bottom:0;left:0;font-size:var(--x-font-size)-.125rem;color:var(--x-danger);margin-bottom:calc((var(--x-font-size)) * -2);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.x-input.x-invalid>label,.x-input.x-required>label{color:var(--x-danger)}.x-input.x-invalid .x-input-input>x-icon,.x-input.x-required .x-input-input>x-icon{color:var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error,.x-input.x-required .x-input-input .x-border-error{position:absolute;height:.75rem;width:.75rem;z-index:10}.x-input.x-invalid .x-input-input .x-border-error.x-top-left,.x-input.x-required .x-input-input .x-border-error.x-top-left{border-top-left-radius:var(--x-border-radius);top:0;left:0;border-top:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-top-right,.x-input.x-required .x-input-input .x-border-error.x-top-right{border-top-right-radius:var(--x-border-radius);top:0;right:0;border-top:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-left,.x-input.x-required .x-input-input .x-border-error.x-bottom-left{border-bottom-left-radius:var(--x-border-radius);bottom:0;left:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-right,.x-input.x-required .x-input-input .x-border-error.x-bottom-right{border-bottom-right-radius:var(--x-border-radius);bottom:0;right:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-disabled>.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);cursor:not-allowed}.x-input.x-disabled>.x-input-row>.x-input-input>input{color:var(--x-text-400);cursor:not-allowed;border-color:var(--x-border-100);background-color:var(--x-background-a300)}.x-input.x-disabled>.x-input-row>.x-input-input>.x-input-value-template-value{color:var(--x-text-400);cursor:not-allowed}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear{position:absolute;color:var(--x-text-400);font-size:var(--x-font-size-medium);right:0;left:inherit;opacity:0;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear:hover{color:var(--x-text-300)}.x-input.x-clearable>.x-input-row>.x-input-input:hover>input .x-input-clear,.x-input.x-clearable>.x-input-row>.x-input-input:hover>.x-input-value-template-value .x-input-clear{opacity:1}.x-input.x-clearable.x-clear-show>.x-input-row>.x-input-input>.x-input-clear{opacity:1}.x-input-max-length{position:absolute;font-size:var(--x-font-size-small);color:var(--x-text-400);padding:0 .4rem;right:0;width:3rem;display:inline-flex;text-align:center;justify-content:center}.x-input.x-direction-row>label{padding:0 .5rem 0 0}.x-input.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-input.x-direction-column,.x-input.x-direction-column-reverse{align-items:inherit}.x-input-icon>.x-input-row>.x-input-input>x-icon{position:absolute;font-size:var(--x-font-size-medium);display:inline-flex;align-items:center;justify-content:center}.x-input-icon-left>.x-input-row>.x-input-input>input,.x-input-icon-left>.x-input-row>.x-input-input>.x-input-value-template-value{padding-left:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-left>.x-input-row>.x-input-input>x-icon{left:0}.x-input-icon-right>.x-input-row>.x-input-input>input,.x-input-icon-right>.x-input-row>.x-input-input>.x-input-value-template-value{padding-right:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-right>.x-input-row>.x-input-input>x-icon{right:0}.x-input-icon-right>.x-input-row>.x-input-input>.x-input-max-length{right:inherit;left:0}.x-input-bordered>.x-input-row>.x-input-input>input{border-width:var(--x-border-width)}.x-input-bordered .x-input-row .x-input-row-before:not(.x-input-row-before-template){border-width:var(--x-border-width);border-right-width:0}.x-input-bordered .x-input-row .x-input-row-after:not(.x-input-row-after-template){border-width:var(--x-border-width);border-left-width:0}.x-input-filled>.x-input-row>.x-input-input>input{border-color:transparent;background-color:var(--x-background-a200)}.x-input-filled>.x-input-row>.x-input-input>input:hover{background-color:var(--x-background-a300)}.x-input-filled>.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);background-color:var(--x-background)}.x-input-borderless>.x-input-row>.x-input-input>input{border:none}.x-input-underlined>.x-input-row>.x-input-input>input{background-color:transparent;border-width:0 0 var(--x-border-width);border-radius:0}.x-input-before>.x-input-row>.x-input-input>input{border-top-left-radius:0;border-bottom-left-radius:0}.x-input-before-template .x-input-input>input:hover,.x-input-before-template .x-input-input>input:focus{z-index:1}.x-input-after>.x-input-row>.x-input-input>input{border-top-right-radius:0;border-bottom-right-radius:0}.x-input-after-template>.x-input-row>.x-input-input>input:hover,.x-input-after-template>.x-input-row>.x-input-input>input:focus{z-index:1}.x-input-active .x-input-row>.x-input-input>input{border-color:var(--x-primary)}.x-input-pointer .x-input-row>.x-input-input>input,.x-input-pointer .x-input-row>.x-input-input>x-icon,.x-input-pointer .x-input-row>.x-input-input>.x-input-value-template-value{cursor:pointer}.x-input-float-label{position:relative;display:flex!important;align-items:center!important;flex-direction:row!important}.x-input-float-label>label{position:absolute;pointer-events:none;transition:all var(--x-animation-duration-base) ease;line-height:1!important;height:initial!important;z-index:2}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
591
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: XInputComponent, isStandalone: true, selector: "x-input", host: { properties: { "style.width": "this.getWidth" } }, providers: [XValueAccessor(XInputComponent)], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputValueRef", first: true, predicate: ["inputValueRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "maxLengthRef", first: true, predicate: ["maxLengthRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "measureRef", first: true, predicate: ["measureRef"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [style.width]=\"autoWidth() ? inputWidth() : '100%'\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n @if (autoWidth()) {\r\n <span\r\n #measureRef\r\n class=\"x-input-measure\"\r\n [style.font]=\"inputRef.style.font\"\r\n [style.font-size.px]=\"inputRef.style.fontSize\"\r\n [style.font-family]=\"inputRef.style.fontFamily\"\r\n >{{ value() || placeholder() }}</span\r\n >\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}x-input.x-input-auto-width{display:inline-flex}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>input[type=number]{-moz-appearance:textfield;appearance:textfield}.x-input-row>.x-input-input>input[type=number]::-webkit-outer-spin-button,.x-input-row>.x-input-input>input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);transition:all var(--x-animation-duration-base);z-index:2}.x-input-row>.x-input-input:hover>input{border-color:var(--x-primary-300)}.x-input-row>.x-input-input:focus>input{border-color:var(--x-primary);outline:0}.x-input-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-input-value-template .x-input-input>input.x-input-has-value-template{color:transparent!important}.x-input-value-template-value{position:absolute;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--x-text);width:100%;z-index:2}.x-input-value-template-value:hover+input{border-color:var(--x-primary-300)}.x-input-error-message{position:absolute;bottom:0;left:0;font-size:var(--x-font-size)-.125rem;color:var(--x-danger);margin-bottom:calc((var(--x-font-size)) * -2);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.x-input.x-invalid>label,.x-input.x-required>label{color:var(--x-danger)}.x-input.x-invalid .x-input-input>x-icon,.x-input.x-required .x-input-input>x-icon{color:var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error,.x-input.x-required .x-input-input .x-border-error{position:absolute;height:.75rem;width:.75rem;z-index:10}.x-input.x-invalid .x-input-input .x-border-error.x-top-left,.x-input.x-required .x-input-input .x-border-error.x-top-left{border-top-left-radius:var(--x-border-radius);top:0;left:0;border-top:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-top-right,.x-input.x-required .x-input-input .x-border-error.x-top-right{border-top-right-radius:var(--x-border-radius);top:0;right:0;border-top:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-left,.x-input.x-required .x-input-input .x-border-error.x-bottom-left{border-bottom-left-radius:var(--x-border-radius);bottom:0;left:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-right,.x-input.x-required .x-input-input .x-border-error.x-bottom-right{border-bottom-right-radius:var(--x-border-radius);bottom:0;right:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-disabled>.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);cursor:not-allowed}.x-input.x-disabled>.x-input-row>.x-input-input>input{color:var(--x-text-400);cursor:not-allowed;border-color:var(--x-border-100);background-color:var(--x-background-a300)}.x-input.x-disabled>.x-input-row>.x-input-input>.x-input-value-template-value{color:var(--x-text-400);cursor:not-allowed}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear{position:absolute;color:var(--x-text-400);font-size:var(--x-font-size-medium);right:0;left:inherit;opacity:0;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear:hover{color:var(--x-text-300)}.x-input.x-clearable>.x-input-row>.x-input-input:hover>input .x-input-clear,.x-input.x-clearable>.x-input-row>.x-input-input:hover>.x-input-value-template-value .x-input-clear{opacity:1}.x-input.x-clearable.x-clear-show>.x-input-row>.x-input-input>.x-input-clear{opacity:1}.x-input-max-length{position:absolute;font-size:var(--x-font-size-small);color:var(--x-text-400);padding:0 .4rem;right:0;width:3rem;display:inline-flex;text-align:center;justify-content:center}.x-input.x-direction-row>label{padding:0 .5rem 0 0}.x-input.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-input.x-direction-column,.x-input.x-direction-column-reverse{align-items:inherit}.x-input-icon>.x-input-row>.x-input-input>x-icon{position:absolute;font-size:var(--x-font-size-medium);display:inline-flex;align-items:center;justify-content:center}.x-input-icon-left>.x-input-row>.x-input-input>input,.x-input-icon-left>.x-input-row>.x-input-input>.x-input-value-template-value{padding-left:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-left>.x-input-row>.x-input-input>x-icon{left:0}.x-input-icon-right>.x-input-row>.x-input-input>input,.x-input-icon-right>.x-input-row>.x-input-input>.x-input-value-template-value{padding-right:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-right>.x-input-row>.x-input-input>x-icon{right:0}.x-input-icon-right>.x-input-row>.x-input-input>.x-input-max-length{right:inherit;left:0}.x-input-bordered>.x-input-row>.x-input-input>input{border-width:var(--x-border-width)}.x-input-bordered .x-input-row .x-input-row-before:not(.x-input-row-before-template){border-width:var(--x-border-width);border-right-width:0}.x-input-bordered .x-input-row .x-input-row-after:not(.x-input-row-after-template){border-width:var(--x-border-width);border-left-width:0}.x-input-filled>.x-input-row>.x-input-input>input{border-color:transparent;background-color:var(--x-background-a200)}.x-input-filled>.x-input-row>.x-input-input>input:hover{background-color:var(--x-background-a300)}.x-input-filled>.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);background-color:var(--x-background)}.x-input-borderless>.x-input-row>.x-input-input>input{border:none}.x-input-underlined>.x-input-row>.x-input-input>input{background-color:transparent;border-width:0 0 var(--x-border-width);border-radius:0}.x-input-before>.x-input-row>.x-input-input>input{border-top-left-radius:0;border-bottom-left-radius:0}.x-input-before-template .x-input-input>input:hover,.x-input-before-template .x-input-input>input:focus{z-index:1}.x-input-after>.x-input-row>.x-input-input>input{border-top-right-radius:0;border-bottom-right-radius:0}.x-input-after-template>.x-input-row>.x-input-input>input:hover,.x-input-after-template>.x-input-row>.x-input-input>input:focus{z-index:1}.x-input-active .x-input-row>.x-input-input>input{border-color:var(--x-primary)}.x-input-pointer .x-input-row>.x-input-input>input,.x-input-pointer .x-input-row>.x-input-input>x-icon,.x-input-pointer .x-input-row>.x-input-input>.x-input-value-template-value{cursor:pointer}.x-input-float-label{position:relative;display:flex!important;align-items:center!important;flex-direction:row!important}.x-input-float-label>label{position:absolute;pointer-events:none;transition:all var(--x-animation-duration-base) ease;line-height:1!important;height:initial!important;z-index:2}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-measure{visibility:hidden;position:absolute;top:-9999px;left:-9999px;white-space:nowrap;pointer-events:none}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
537
592
  }
538
593
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XInputComponent, decorators: [{
539
594
  type: Component,
540
- args: [{ selector: `${XInputPrefix}`, imports: [NgClass, NgStyle, FormsModule, ReactiveFormsModule, XIconComponent, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XInputComponent)], template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>input[type=number]{-moz-appearance:textfield;appearance:textfield}.x-input-row>.x-input-input>input[type=number]::-webkit-outer-spin-button,.x-input-row>.x-input-input>input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);transition:all var(--x-animation-duration-base);z-index:2}.x-input-row>.x-input-input:hover>input{border-color:var(--x-primary-300)}.x-input-row>.x-input-input:focus>input{border-color:var(--x-primary);outline:0}.x-input-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-input-value-template .x-input-input>input.x-input-has-value-template{color:transparent!important}.x-input-value-template-value{position:absolute;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--x-text);width:100%;z-index:2}.x-input-value-template-value:hover+input{border-color:var(--x-primary-300)}.x-input-error-message{position:absolute;bottom:0;left:0;font-size:var(--x-font-size)-.125rem;color:var(--x-danger);margin-bottom:calc((var(--x-font-size)) * -2);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.x-input.x-invalid>label,.x-input.x-required>label{color:var(--x-danger)}.x-input.x-invalid .x-input-input>x-icon,.x-input.x-required .x-input-input>x-icon{color:var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error,.x-input.x-required .x-input-input .x-border-error{position:absolute;height:.75rem;width:.75rem;z-index:10}.x-input.x-invalid .x-input-input .x-border-error.x-top-left,.x-input.x-required .x-input-input .x-border-error.x-top-left{border-top-left-radius:var(--x-border-radius);top:0;left:0;border-top:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-top-right,.x-input.x-required .x-input-input .x-border-error.x-top-right{border-top-right-radius:var(--x-border-radius);top:0;right:0;border-top:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-left,.x-input.x-required .x-input-input .x-border-error.x-bottom-left{border-bottom-left-radius:var(--x-border-radius);bottom:0;left:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-right,.x-input.x-required .x-input-input .x-border-error.x-bottom-right{border-bottom-right-radius:var(--x-border-radius);bottom:0;right:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-disabled>.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);cursor:not-allowed}.x-input.x-disabled>.x-input-row>.x-input-input>input{color:var(--x-text-400);cursor:not-allowed;border-color:var(--x-border-100);background-color:var(--x-background-a300)}.x-input.x-disabled>.x-input-row>.x-input-input>.x-input-value-template-value{color:var(--x-text-400);cursor:not-allowed}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear{position:absolute;color:var(--x-text-400);font-size:var(--x-font-size-medium);right:0;left:inherit;opacity:0;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear:hover{color:var(--x-text-300)}.x-input.x-clearable>.x-input-row>.x-input-input:hover>input .x-input-clear,.x-input.x-clearable>.x-input-row>.x-input-input:hover>.x-input-value-template-value .x-input-clear{opacity:1}.x-input.x-clearable.x-clear-show>.x-input-row>.x-input-input>.x-input-clear{opacity:1}.x-input-max-length{position:absolute;font-size:var(--x-font-size-small);color:var(--x-text-400);padding:0 .4rem;right:0;width:3rem;display:inline-flex;text-align:center;justify-content:center}.x-input.x-direction-row>label{padding:0 .5rem 0 0}.x-input.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-input.x-direction-column,.x-input.x-direction-column-reverse{align-items:inherit}.x-input-icon>.x-input-row>.x-input-input>x-icon{position:absolute;font-size:var(--x-font-size-medium);display:inline-flex;align-items:center;justify-content:center}.x-input-icon-left>.x-input-row>.x-input-input>input,.x-input-icon-left>.x-input-row>.x-input-input>.x-input-value-template-value{padding-left:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-left>.x-input-row>.x-input-input>x-icon{left:0}.x-input-icon-right>.x-input-row>.x-input-input>input,.x-input-icon-right>.x-input-row>.x-input-input>.x-input-value-template-value{padding-right:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-right>.x-input-row>.x-input-input>x-icon{right:0}.x-input-icon-right>.x-input-row>.x-input-input>.x-input-max-length{right:inherit;left:0}.x-input-bordered>.x-input-row>.x-input-input>input{border-width:var(--x-border-width)}.x-input-bordered .x-input-row .x-input-row-before:not(.x-input-row-before-template){border-width:var(--x-border-width);border-right-width:0}.x-input-bordered .x-input-row .x-input-row-after:not(.x-input-row-after-template){border-width:var(--x-border-width);border-left-width:0}.x-input-filled>.x-input-row>.x-input-input>input{border-color:transparent;background-color:var(--x-background-a200)}.x-input-filled>.x-input-row>.x-input-input>input:hover{background-color:var(--x-background-a300)}.x-input-filled>.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);background-color:var(--x-background)}.x-input-borderless>.x-input-row>.x-input-input>input{border:none}.x-input-underlined>.x-input-row>.x-input-input>input{background-color:transparent;border-width:0 0 var(--x-border-width);border-radius:0}.x-input-before>.x-input-row>.x-input-input>input{border-top-left-radius:0;border-bottom-left-radius:0}.x-input-before-template .x-input-input>input:hover,.x-input-before-template .x-input-input>input:focus{z-index:1}.x-input-after>.x-input-row>.x-input-input>input{border-top-right-radius:0;border-bottom-right-radius:0}.x-input-after-template>.x-input-row>.x-input-input>input:hover,.x-input-after-template>.x-input-row>.x-input-input>input:focus{z-index:1}.x-input-active .x-input-row>.x-input-input>input{border-color:var(--x-primary)}.x-input-pointer .x-input-row>.x-input-input>input,.x-input-pointer .x-input-row>.x-input-input>x-icon,.x-input-pointer .x-input-row>.x-input-input>.x-input-value-template-value{cursor:pointer}.x-input-float-label{position:relative;display:flex!important;align-items:center!important;flex-direction:row!important}.x-input-float-label>label{position:absolute;pointer-events:none;transition:all var(--x-animation-duration-base) ease;line-height:1!important;height:initial!important;z-index:2}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"] }]
541
- }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['inputElement', { ...{ read: (ElementRef) }, isSignal: true }] }], inputRef: [{ type: i0.ViewChild, args: ['inputRef', { ...{ read: (ElementRef) }, isSignal: true }] }], inputValueRef: [{ type: i0.ViewChild, args: ['inputValueRef', { ...{ read: (ElementRef) }, isSignal: true }] }], maxLengthRef: [{ type: i0.ViewChild, args: ['maxLengthRef', { ...{ read: (ElementRef) }, isSignal: true }] }], getWidth: [{
595
+ args: [{ selector: `${XInputPrefix}`, imports: [NgClass, NgStyle, FormsModule, ReactiveFormsModule, XIconComponent, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XInputComponent)], template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [style.width]=\"autoWidth() ? inputWidth() : '100%'\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n @if (autoWidth()) {\r\n <span\r\n #measureRef\r\n class=\"x-input-measure\"\r\n [style.font]=\"inputRef.style.font\"\r\n [style.font-size.px]=\"inputRef.style.fontSize\"\r\n [style.font-family]=\"inputRef.style.fontFamily\"\r\n >{{ value() || placeholder() }}</span\r\n >\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}x-input.x-input-auto-width{display:inline-flex}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>input[type=number]{-moz-appearance:textfield;appearance:textfield}.x-input-row>.x-input-input>input[type=number]::-webkit-outer-spin-button,.x-input-row>.x-input-input>input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);transition:all var(--x-animation-duration-base);z-index:2}.x-input-row>.x-input-input:hover>input{border-color:var(--x-primary-300)}.x-input-row>.x-input-input:focus>input{border-color:var(--x-primary);outline:0}.x-input-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-input-value-template .x-input-input>input.x-input-has-value-template{color:transparent!important}.x-input-value-template-value{position:absolute;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--x-text);width:100%;z-index:2}.x-input-value-template-value:hover+input{border-color:var(--x-primary-300)}.x-input-error-message{position:absolute;bottom:0;left:0;font-size:var(--x-font-size)-.125rem;color:var(--x-danger);margin-bottom:calc((var(--x-font-size)) * -2);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.x-input.x-invalid>label,.x-input.x-required>label{color:var(--x-danger)}.x-input.x-invalid .x-input-input>x-icon,.x-input.x-required .x-input-input>x-icon{color:var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error,.x-input.x-required .x-input-input .x-border-error{position:absolute;height:.75rem;width:.75rem;z-index:10}.x-input.x-invalid .x-input-input .x-border-error.x-top-left,.x-input.x-required .x-input-input .x-border-error.x-top-left{border-top-left-radius:var(--x-border-radius);top:0;left:0;border-top:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-top-right,.x-input.x-required .x-input-input .x-border-error.x-top-right{border-top-right-radius:var(--x-border-radius);top:0;right:0;border-top:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-left,.x-input.x-required .x-input-input .x-border-error.x-bottom-left{border-bottom-left-radius:var(--x-border-radius);bottom:0;left:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-left:var(--x-border-width) solid var(--x-danger)}.x-input.x-invalid .x-input-input .x-border-error.x-bottom-right,.x-input.x-required .x-input-input .x-border-error.x-bottom-right{border-bottom-right-radius:var(--x-border-radius);bottom:0;right:0;border-bottom:var(--x-border-width) solid var(--x-danger);border-right:var(--x-border-width) solid var(--x-danger)}.x-input.x-disabled>.x-input-row>.x-input-input>x-icon{color:var(--x-text-400);cursor:not-allowed}.x-input.x-disabled>.x-input-row>.x-input-input>input{color:var(--x-text-400);cursor:not-allowed;border-color:var(--x-border-100);background-color:var(--x-background-a300)}.x-input.x-disabled>.x-input-row>.x-input-input>.x-input-value-template-value{color:var(--x-text-400);cursor:not-allowed}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear{position:absolute;color:var(--x-text-400);font-size:var(--x-font-size-medium);right:0;left:inherit;opacity:0;cursor:pointer;z-index:2;display:inline-flex;align-items:center;justify-content:center}.x-input.x-clearable>.x-input-row>.x-input-input>.x-input-clear:hover{color:var(--x-text-300)}.x-input.x-clearable>.x-input-row>.x-input-input:hover>input .x-input-clear,.x-input.x-clearable>.x-input-row>.x-input-input:hover>.x-input-value-template-value .x-input-clear{opacity:1}.x-input.x-clearable.x-clear-show>.x-input-row>.x-input-input>.x-input-clear{opacity:1}.x-input-max-length{position:absolute;font-size:var(--x-font-size-small);color:var(--x-text-400);padding:0 .4rem;right:0;width:3rem;display:inline-flex;text-align:center;justify-content:center}.x-input.x-direction-row>label{padding:0 .5rem 0 0}.x-input.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-input.x-direction-column,.x-input.x-direction-column-reverse{align-items:inherit}.x-input-icon>.x-input-row>.x-input-input>x-icon{position:absolute;font-size:var(--x-font-size-medium);display:inline-flex;align-items:center;justify-content:center}.x-input-icon-left>.x-input-row>.x-input-input>input,.x-input-icon-left>.x-input-row>.x-input-input>.x-input-value-template-value{padding-left:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-left>.x-input-row>.x-input-input>x-icon{left:0}.x-input-icon-right>.x-input-row>.x-input-input>input,.x-input-icon-right>.x-input-row>.x-input-input>.x-input-value-template-value{padding-right:calc(var(--x-font-size-medium) + .8rem)}.x-input-icon-right>.x-input-row>.x-input-input>x-icon{right:0}.x-input-icon-right>.x-input-row>.x-input-input>.x-input-max-length{right:inherit;left:0}.x-input-bordered>.x-input-row>.x-input-input>input{border-width:var(--x-border-width)}.x-input-bordered .x-input-row .x-input-row-before:not(.x-input-row-before-template){border-width:var(--x-border-width);border-right-width:0}.x-input-bordered .x-input-row .x-input-row-after:not(.x-input-row-after-template){border-width:var(--x-border-width);border-left-width:0}.x-input-filled>.x-input-row>.x-input-input>input{border-color:transparent;background-color:var(--x-background-a200)}.x-input-filled>.x-input-row>.x-input-input>input:hover{background-color:var(--x-background-a300)}.x-input-filled>.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);background-color:var(--x-background)}.x-input-borderless>.x-input-row>.x-input-input>input{border:none}.x-input-underlined>.x-input-row>.x-input-input>input{background-color:transparent;border-width:0 0 var(--x-border-width);border-radius:0}.x-input-before>.x-input-row>.x-input-input>input{border-top-left-radius:0;border-bottom-left-radius:0}.x-input-before-template .x-input-input>input:hover,.x-input-before-template .x-input-input>input:focus{z-index:1}.x-input-after>.x-input-row>.x-input-input>input{border-top-right-radius:0;border-bottom-right-radius:0}.x-input-after-template>.x-input-row>.x-input-input>input:hover,.x-input-after-template>.x-input-row>.x-input-input>input:focus{z-index:1}.x-input-active .x-input-row>.x-input-input>input{border-color:var(--x-primary)}.x-input-pointer .x-input-row>.x-input-input>input,.x-input-pointer .x-input-row>.x-input-input>x-icon,.x-input-pointer .x-input-row>.x-input-input>.x-input-value-template-value{cursor:pointer}.x-input-float-label{position:relative;display:flex!important;align-items:center!important;flex-direction:row!important}.x-input-float-label>label{position:absolute;pointer-events:none;transition:all var(--x-animation-duration-base) ease;line-height:1!important;height:initial!important;z-index:2}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-measure{visibility:hidden;position:absolute;top:-9999px;left:-9999px;white-space:nowrap;pointer-events:none}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"] }]
596
+ }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['inputElement', { ...{ read: (ElementRef) }, isSignal: true }] }], inputRef: [{ type: i0.ViewChild, args: ['inputRef', { ...{ read: (ElementRef) }, isSignal: true }] }], inputValueRef: [{ type: i0.ViewChild, args: ['inputValueRef', { ...{ read: (ElementRef) }, isSignal: true }] }], maxLengthRef: [{ type: i0.ViewChild, args: ['maxLengthRef', { ...{ read: (ElementRef) }, isSignal: true }] }], measureRef: [{ type: i0.ViewChild, args: ['measureRef', { ...{ read: (ElementRef) }, isSignal: true }] }], getWidth: [{
542
597
  type: HostBinding,
543
598
  args: ['style.width']
544
599
  }] } });