@ng-nest/ui 21.0.9 → 21.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ng-nest-ui-affix.mjs +10 -10
- package/fesm2022/ng-nest-ui-alert.mjs +10 -10
- package/fesm2022/ng-nest-ui-anchor.mjs +16 -16
- package/fesm2022/ng-nest-ui-api.mjs +7 -7
- package/fesm2022/ng-nest-ui-attachments.mjs +16 -16
- package/fesm2022/ng-nest-ui-auto-complete.mjs +14 -14
- package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-avatar.mjs +16 -16
- package/fesm2022/ng-nest-ui-back-top.mjs +10 -10
- package/fesm2022/ng-nest-ui-badge.mjs +10 -10
- package/fesm2022/ng-nest-ui-base-form.mjs +32 -52
- package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-bubble.mjs +16 -16
- package/fesm2022/ng-nest-ui-button.mjs +16 -16
- package/fesm2022/ng-nest-ui-calendar.mjs +10 -10
- package/fesm2022/ng-nest-ui-card.mjs +10 -10
- package/fesm2022/ng-nest-ui-carousel.mjs +16 -16
- package/fesm2022/ng-nest-ui-cascade.mjs +14 -14
- package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-checkbox.mjs +10 -10
- package/fesm2022/ng-nest-ui-collapse.mjs +16 -16
- package/fesm2022/ng-nest-ui-color-picker.mjs +17 -17
- package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-color.mjs +10 -10
- package/fesm2022/ng-nest-ui-comment.mjs +16 -16
- package/fesm2022/ng-nest-ui-container.mjs +31 -31
- package/fesm2022/ng-nest-ui-core.mjs +20 -20
- package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-coversations.mjs +10 -10
- package/fesm2022/ng-nest-ui-crumb.mjs +10 -10
- package/fesm2022/ng-nest-ui-date-picker.mjs +51 -51
- package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-description.mjs +16 -16
- package/fesm2022/ng-nest-ui-dialog.mjs +42 -40
- package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-divider.mjs +124 -0
- package/fesm2022/ng-nest-ui-divider.mjs.map +1 -0
- package/fesm2022/ng-nest-ui-doc.mjs +7 -7
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drawer.mjs +31 -31
- package/fesm2022/ng-nest-ui-dropdown.mjs +13 -13
- package/fesm2022/ng-nest-ui-empty.mjs +10 -10
- package/fesm2022/ng-nest-ui-examples.mjs +7 -7
- package/fesm2022/ng-nest-ui-find.mjs +10 -10
- package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-form.mjs +23 -28
- package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-highlight.mjs +13 -13
- package/fesm2022/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2022/ng-nest-ui-icon.mjs +13 -13
- package/fesm2022/ng-nest-ui-image.mjs +100 -61
- package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-inner.mjs +10 -10
- package/fesm2022/ng-nest-ui-input-number.mjs +11 -11
- package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-input.mjs +24 -21
- package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-keyword.mjs +10 -10
- package/fesm2022/ng-nest-ui-layout.mjs +16 -16
- package/fesm2022/ng-nest-ui-link.mjs +10 -10
- package/fesm2022/ng-nest-ui-list.mjs +19 -19
- package/fesm2022/ng-nest-ui-loading.mjs +10 -10
- package/fesm2022/ng-nest-ui-menu.mjs +16 -16
- package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
- package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-message.mjs +10 -10
- package/fesm2022/ng-nest-ui-notification.mjs +10 -10
- package/fesm2022/ng-nest-ui-outlet.mjs +7 -7
- package/fesm2022/ng-nest-ui-page-header.mjs +10 -10
- package/fesm2022/ng-nest-ui-pagination.mjs +10 -10
- package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
- package/fesm2022/ng-nest-ui-popconfirm.mjs +10 -10
- package/fesm2022/ng-nest-ui-popover.mjs +13 -13
- package/fesm2022/ng-nest-ui-portal.mjs +7 -7
- package/fesm2022/ng-nest-ui-progress.mjs +10 -10
- package/fesm2022/ng-nest-ui-prompts.mjs +10 -10
- package/fesm2022/ng-nest-ui-radio.mjs +10 -10
- package/fesm2022/ng-nest-ui-rate.mjs +10 -10
- package/fesm2022/ng-nest-ui-resizable.mjs +10 -10
- package/fesm2022/ng-nest-ui-result.mjs +10 -10
- package/fesm2022/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2022/ng-nest-ui-scrollable.mjs +7 -7
- package/fesm2022/ng-nest-ui-select.mjs +15 -15
- package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-sender.mjs +14 -14
- package/fesm2022/ng-nest-ui-sender.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-skeleton.mjs +10 -10
- package/fesm2022/ng-nest-ui-slider-select.mjs +10 -10
- package/fesm2022/ng-nest-ui-slider.mjs +10 -10
- package/fesm2022/ng-nest-ui-statistic.mjs +16 -16
- package/fesm2022/ng-nest-ui-steps.mjs +10 -10
- package/fesm2022/ng-nest-ui-suggestion.mjs +10 -10
- package/fesm2022/ng-nest-ui-switch.mjs +10 -10
- package/fesm2022/ng-nest-ui-table-view.mjs +58 -63
- package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-table.mjs +34 -34
- package/fesm2022/ng-nest-ui-tabs.mjs +25 -25
- package/fesm2022/ng-nest-ui-tag.mjs +10 -10
- package/fesm2022/ng-nest-ui-text-retract.mjs +10 -10
- package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-theme.mjs +10 -10
- package/fesm2022/ng-nest-ui-thought-chain.mjs +10 -10
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-picker.mjs +47 -36
- package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2022/ng-nest-ui-timeline.mjs +10 -10
- package/fesm2022/ng-nest-ui-tooltip.mjs +13 -13
- package/fesm2022/ng-nest-ui-transfer.mjs +10 -10
- package/fesm2022/ng-nest-ui-tree-file.mjs +10 -10
- package/fesm2022/ng-nest-ui-tree-select.mjs +14 -14
- package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-tree.mjs +19 -19
- package/fesm2022/ng-nest-ui-typography.mjs +10 -10
- package/fesm2022/ng-nest-ui-upload.mjs +19 -19
- package/fesm2022/ng-nest-ui-welcome.mjs +10 -10
- package/fesm2022/ng-nest-ui.mjs +1 -0
- package/fesm2022/ng-nest-ui.mjs.map +1 -1
- package/package.json +5 -2
- package/types/ng-nest-ui-attachments.d.ts +4 -5
- package/types/ng-nest-ui-auto-complete.d.ts +8 -9
- package/types/ng-nest-ui-base-form.d.ts +8 -9
- package/types/ng-nest-ui-cascade.d.ts +8 -9
- package/types/ng-nest-ui-checkbox.d.ts +5 -6
- package/types/ng-nest-ui-color-picker.d.ts +8 -9
- package/types/ng-nest-ui-core.d.ts +8 -1
- package/types/ng-nest-ui-coversations.d.ts +4 -5
- package/types/ng-nest-ui-date-picker.d.ts +16 -18
- package/types/ng-nest-ui-dialog.d.ts +12 -0
- package/types/ng-nest-ui-divider.d.ts +113 -0
- package/types/ng-nest-ui-find.d.ts +6 -7
- package/types/ng-nest-ui-form.d.ts +9 -10
- package/types/ng-nest-ui-image.d.ts +2 -1
- package/types/ng-nest-ui-input-number.d.ts +8 -9
- package/types/ng-nest-ui-input.d.ts +14 -10
- package/types/ng-nest-ui-list.d.ts +4 -5
- package/types/ng-nest-ui-message-box.d.ts +2 -2
- package/types/ng-nest-ui-radio.d.ts +5 -6
- package/types/ng-nest-ui-rate.d.ts +4 -5
- package/types/ng-nest-ui-select.d.ts +8 -9
- package/types/ng-nest-ui-sender.d.ts +6 -7
- package/types/ng-nest-ui-slider-select.d.ts +4 -5
- package/types/ng-nest-ui-switch.d.ts +4 -5
- package/types/ng-nest-ui-textarea.d.ts +8 -9
- package/types/ng-nest-ui-theme.d.ts +4 -5
- package/types/ng-nest-ui-time-picker.d.ts +12 -11
- package/types/ng-nest-ui-transfer.d.ts +4 -5
- package/types/ng-nest-ui-tree-select.d.ts +8 -9
- package/types/ng-nest-ui-upload.d.ts +4 -5
- package/types/ng-nest-ui.d.ts +1 -0
|
@@ -78,6 +78,11 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
|
|
|
78
78
|
* @en_US auto width,input needs a default value
|
|
79
79
|
*/
|
|
80
80
|
this.autoWidth = input(false, { ...(ngDevMode ? { debugName: "autoWidth" } : {}), transform: XToBoolean });
|
|
81
|
+
/**
|
|
82
|
+
* @zh_CN 自适应宽度对比的值,默认是 value 的值
|
|
83
|
+
* @en_US auto width contrast value, defaults to the value of value
|
|
84
|
+
*/
|
|
85
|
+
this.autoWidthValue = input(null, ...(ngDevMode ? [{ debugName: "autoWidthValue" }] : []));
|
|
81
86
|
/**
|
|
82
87
|
* @zh_CN 自适应最小的宽度
|
|
83
88
|
* @en_US auto min width
|
|
@@ -212,7 +217,7 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
|
|
|
212
217
|
* @zh_CN 验证不通过提示文字
|
|
213
218
|
* @en_US Verify not pass the prompt text
|
|
214
219
|
*/
|
|
215
|
-
this.message = input(
|
|
220
|
+
this.message = input('', ...(ngDevMode ? [{ debugName: "message" }] : []));
|
|
216
221
|
/**
|
|
217
222
|
* @zh_CN 激活状态
|
|
218
223
|
* @en_US Activation state
|
|
@@ -269,13 +274,13 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
|
|
|
269
274
|
*/
|
|
270
275
|
this.xComposition = output();
|
|
271
276
|
}
|
|
272
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
273
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
277
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
278
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.1", 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 }, autoWidthValue: { classPropertyName: "autoWidthValue", publicName: "autoWidthValue", 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 }); }
|
|
274
279
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputProperty, decorators: [{
|
|
276
281
|
type: Component,
|
|
277
282
|
args: [{ selector: `${XInputPrefix}-property`, template: '' }]
|
|
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"] }] } });
|
|
283
|
+
}], 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 }] }], autoWidthValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoWidthValue", 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"] }] } });
|
|
279
284
|
/**
|
|
280
285
|
* Input Group
|
|
281
286
|
* @selector x-input-group
|
|
@@ -305,10 +310,10 @@ class XInputGroupProperty extends XPropertyFunction(X_INPUT_GROUP_CONFIG_NAME) {
|
|
|
305
310
|
*/
|
|
306
311
|
this.compact = input(this.config?.compact ?? false, { ...(ngDevMode ? { debugName: "compact" } : {}), transform: XToBoolean });
|
|
307
312
|
}
|
|
308
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
309
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
313
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputGroupProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
314
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.1", type: XInputGroupProperty, isStandalone: true, selector: "x-input-group-property", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
310
315
|
}
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputGroupProperty, decorators: [{
|
|
312
317
|
type: Component,
|
|
313
318
|
args: [{ selector: `${XInputGroupPrefix}-property`, template: '' }]
|
|
314
319
|
}], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], bordered: [{ type: i0.Input, args: [{ isSignal: true, alias: "bordered", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }] } });
|
|
@@ -318,10 +323,10 @@ class XInputGroupComponent extends XInputGroupProperty {
|
|
|
318
323
|
super(...arguments);
|
|
319
324
|
this.elementRef = inject(ElementRef);
|
|
320
325
|
}
|
|
321
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
322
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
326
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
327
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: XInputGroupComponent, isStandalone: true, selector: "x-input-group", usesInheritance: true, ngImport: i0, template: "<div class=\"x-input-group\" [class.x-input-group-compact]=\"compact()\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input-group{display:inline-block}.x-input-group{display:flex}.x-input-group-compact>*{display:inline-block}.x-input-group-compact>* input,.x-input-group-compact>* .x-button{border-radius:0!important}.x-input-group-compact>* input:hover,.x-input-group-compact>* input:focus,.x-input-group-compact>* .x-button:hover,.x-input-group-compact>* .x-button:focus{z-index:1}.x-input-group-compact>* .x-input-value-template.x-input-active .x-input-value-template-value,.x-input-group-compact>* .x-input-value-template.x-input-focus .x-input-value-template-value,.x-input-group-compact>* .x-input-value-template:hover .x-input-value-template-value{z-index:2}.x-input-group-compact>* .x-button{box-shadow:none!important;border:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-input-group-compact>* .x-button:hover{border-color:var(--x-primary-300)}.x-input-group-compact>*:first-child input,.x-input-group-compact>*:first-child .x-button{border-top-left-radius:var(--x-border-radius)!important;border-bottom-left-radius:var(--x-border-radius)!important}.x-input-group-compact>*:last-child input,.x-input-group-compact>*:last-child .x-button{border-top-right-radius:var(--x-border-radius)!important;border-bottom-right-radius:var(--x-border-radius)!important}.x-input-group-compact>*:not(:last-child){margin-right:calc(var(--x-border-width) * -1)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
323
328
|
}
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputGroupComponent, decorators: [{
|
|
325
330
|
type: Component,
|
|
326
331
|
args: [{ selector: `${XInputGroupPrefix}`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"x-input-group\" [class.x-input-group-compact]=\"compact()\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input-group{display:inline-block}.x-input-group{display:flex}.x-input-group-compact>*{display:inline-block}.x-input-group-compact>* input,.x-input-group-compact>* .x-button{border-radius:0!important}.x-input-group-compact>* input:hover,.x-input-group-compact>* input:focus,.x-input-group-compact>* .x-button:hover,.x-input-group-compact>* .x-button:focus{z-index:1}.x-input-group-compact>* .x-input-value-template.x-input-active .x-input-value-template-value,.x-input-group-compact>* .x-input-value-template.x-input-focus .x-input-value-template-value,.x-input-group-compact>* .x-input-value-template:hover .x-input-value-template-value{z-index:2}.x-input-group-compact>* .x-button{box-shadow:none!important;border:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-input-group-compact>* .x-button:hover{border-color:var(--x-primary-300)}.x-input-group-compact>*:first-child input,.x-input-group-compact>*:first-child .x-button{border-top-left-radius:var(--x-border-radius)!important;border-bottom-left-radius:var(--x-border-radius)!important}.x-input-group-compact>*:last-child input,.x-input-group-compact>*:last-child .x-button{border-top-right-radius:var(--x-border-radius)!important;border-bottom-right-radius:var(--x-border-radius)!important}.x-input-group-compact>*:not(:last-child){margin-right:calc(var(--x-border-width) * -1)}\n"] }]
|
|
327
332
|
}] });
|
|
@@ -422,7 +427,6 @@ class XInputComponent extends XInputProperty {
|
|
|
422
427
|
if (this.autoMaxWidth()) {
|
|
423
428
|
finalWidth = Math.min(finalWidth, this.autoMaxWidth());
|
|
424
429
|
}
|
|
425
|
-
console.log(finalWidth);
|
|
426
430
|
return finalWidth + 'px';
|
|
427
431
|
}
|
|
428
432
|
return 'auto';
|
|
@@ -464,7 +468,6 @@ class XInputComponent extends XInputProperty {
|
|
|
464
468
|
.pipe(debounceTime(16), tap(({ resizeObserver }) => {
|
|
465
469
|
this.resizeObserver = resizeObserver;
|
|
466
470
|
this.measureRefChanged.update((x) => !x);
|
|
467
|
-
console.log(this.measureRefChanged());
|
|
468
471
|
}), takeUntil(this.unSubject))
|
|
469
472
|
.subscribe();
|
|
470
473
|
}
|
|
@@ -587,23 +590,23 @@ class XInputComponent extends XInputProperty {
|
|
|
587
590
|
onClick($event) {
|
|
588
591
|
this.xClick.emit($event);
|
|
589
592
|
}
|
|
590
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
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 }); }
|
|
593
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
594
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", 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 >{{ autoWidthValue() ?? 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 }); }
|
|
592
595
|
}
|
|
593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputComponent, decorators: [{
|
|
594
597
|
type: Component,
|
|
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"] }]
|
|
598
|
+
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 >{{ autoWidthValue() ?? 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
599
|
}], 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: [{
|
|
597
600
|
type: HostBinding,
|
|
598
601
|
args: ['style.width']
|
|
599
602
|
}] } });
|
|
600
603
|
|
|
601
604
|
class XInputModule {
|
|
602
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
603
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.
|
|
604
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.
|
|
605
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
606
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.1", ngImport: i0, type: XInputModule, imports: [XInputComponent, XInputGroupComponent], exports: [XInputComponent, XInputGroupComponent] }); }
|
|
607
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputModule, imports: [XInputComponent] }); }
|
|
605
608
|
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XInputModule, decorators: [{
|
|
607
610
|
type: NgModule,
|
|
608
611
|
args: [{
|
|
609
612
|
exports: [XInputComponent, XInputGroupComponent],
|