@ng-nest/ui 20.0.7 → 20.1.1

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.
Files changed (210) hide show
  1. package/auto-complete/index.d.ts +30 -5
  2. package/avatar/index.d.ts +64 -2
  3. package/base-form/index.d.ts +3 -3
  4. package/bubble/index.d.ts +170 -0
  5. package/cascade/index.d.ts +30 -5
  6. package/checkbox/index.d.ts +4 -4
  7. package/color-picker/index.d.ts +31 -5
  8. package/core/index.d.ts +48 -4
  9. package/date-picker/index.d.ts +53 -8
  10. package/fesm2022/ng-nest-ui-affix.mjs +12 -12
  11. package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
  12. package/fesm2022/ng-nest-ui-alert.mjs +35 -35
  13. package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
  14. package/fesm2022/ng-nest-ui-anchor.mjs +31 -31
  15. package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
  16. package/fesm2022/ng-nest-ui-api.mjs +7 -7
  17. package/fesm2022/ng-nest-ui-api.mjs.map +1 -1
  18. package/fesm2022/ng-nest-ui-auto-complete.mjs +82 -72
  19. package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
  20. package/fesm2022/ng-nest-ui-avatar.mjs +43 -31
  21. package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
  22. package/fesm2022/ng-nest-ui-back-top.mjs +18 -18
  23. package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
  24. package/fesm2022/ng-nest-ui-badge.mjs +23 -23
  25. package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
  26. package/fesm2022/ng-nest-ui-base-form.mjs +45 -45
  27. package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
  28. package/fesm2022/ng-nest-ui-bubble.mjs +350 -0
  29. package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -0
  30. package/fesm2022/ng-nest-ui-button.mjs +42 -42
  31. package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
  32. package/fesm2022/ng-nest-ui-calendar.mjs +20 -20
  33. package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
  34. package/fesm2022/ng-nest-ui-card.mjs +15 -15
  35. package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
  36. package/fesm2022/ng-nest-ui-carousel.mjs +46 -46
  37. package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
  38. package/fesm2022/ng-nest-ui-cascade.mjs +86 -76
  39. package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
  40. package/fesm2022/ng-nest-ui-checkbox.mjs +39 -39
  41. package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
  42. package/fesm2022/ng-nest-ui-collapse.mjs +31 -31
  43. package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
  44. package/fesm2022/ng-nest-ui-color-picker.mjs +91 -72
  45. package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
  46. package/fesm2022/ng-nest-ui-color.mjs +16 -16
  47. package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
  48. package/fesm2022/ng-nest-ui-comment.mjs +21 -21
  49. package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
  50. package/fesm2022/ng-nest-ui-container.mjs +37 -37
  51. package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
  52. package/fesm2022/ng-nest-ui-core.mjs +41 -22
  53. package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
  54. package/fesm2022/ng-nest-ui-crumb.mjs +13 -13
  55. package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
  56. package/fesm2022/ng-nest-ui-date-picker.mjs +273 -253
  57. package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
  58. package/fesm2022/ng-nest-ui-description.mjs +31 -31
  59. package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
  60. package/fesm2022/ng-nest-ui-dialog.mjs +81 -81
  61. package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
  62. package/fesm2022/ng-nest-ui-doc.mjs +7 -7
  63. package/fesm2022/ng-nest-ui-doc.mjs.map +1 -1
  64. package/fesm2022/ng-nest-ui-drag.mjs +10 -10
  65. package/fesm2022/ng-nest-ui-drag.mjs.map +1 -1
  66. package/fesm2022/ng-nest-ui-drawer.mjs +42 -42
  67. package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
  68. package/fesm2022/ng-nest-ui-dropdown.mjs +49 -49
  69. package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
  70. package/fesm2022/ng-nest-ui-empty.mjs +12 -12
  71. package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
  72. package/fesm2022/ng-nest-ui-examples.mjs +7 -7
  73. package/fesm2022/ng-nest-ui-examples.mjs.map +1 -1
  74. package/fesm2022/ng-nest-ui-find.mjs +79 -77
  75. package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
  76. package/fesm2022/ng-nest-ui-form.mjs +33 -33
  77. package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
  78. package/fesm2022/ng-nest-ui-highlight.mjs +20 -20
  79. package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
  80. package/fesm2022/ng-nest-ui-i18n.mjs +15 -15
  81. package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
  82. package/fesm2022/ng-nest-ui-icon.mjs +21 -21
  83. package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
  84. package/fesm2022/ng-nest-ui-image.mjs +39 -39
  85. package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
  86. package/fesm2022/ng-nest-ui-inner.mjs +11 -11
  87. package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
  88. package/fesm2022/ng-nest-ui-input-number.mjs +42 -42
  89. package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
  90. package/fesm2022/ng-nest-ui-input.mjs +103 -82
  91. package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
  92. package/fesm2022/ng-nest-ui-keyword.mjs +15 -15
  93. package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
  94. package/fesm2022/ng-nest-ui-layout.mjs +31 -31
  95. package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
  96. package/fesm2022/ng-nest-ui-link.mjs +18 -18
  97. package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
  98. package/fesm2022/ng-nest-ui-list.mjs +80 -80
  99. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  100. package/fesm2022/ng-nest-ui-loading.mjs +28 -23
  101. package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
  102. package/fesm2022/ng-nest-ui-menu.mjs +45 -45
  103. package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
  104. package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
  105. package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
  106. package/fesm2022/ng-nest-ui-message.mjs +10 -10
  107. package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
  108. package/fesm2022/ng-nest-ui-notification.mjs +10 -10
  109. package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
  110. package/fesm2022/ng-nest-ui-outlet.mjs +9 -9
  111. package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
  112. package/fesm2022/ng-nest-ui-page-header.mjs +15 -15
  113. package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
  114. package/fesm2022/ng-nest-ui-pagination.mjs +53 -53
  115. package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
  116. package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
  117. package/fesm2022/ng-nest-ui-pattern.mjs.map +1 -1
  118. package/fesm2022/ng-nest-ui-popconfirm.mjs +27 -27
  119. package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
  120. package/fesm2022/ng-nest-ui-popover.mjs +38 -38
  121. package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
  122. package/fesm2022/ng-nest-ui-portal.mjs +7 -7
  123. package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
  124. package/fesm2022/ng-nest-ui-progress.mjs +38 -38
  125. package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
  126. package/fesm2022/ng-nest-ui-radio.mjs +36 -36
  127. package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
  128. package/fesm2022/ng-nest-ui-rate.mjs +30 -30
  129. package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
  130. package/fesm2022/ng-nest-ui-resizable.mjs +16 -16
  131. package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
  132. package/fesm2022/ng-nest-ui-result.mjs +16 -16
  133. package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
  134. package/fesm2022/ng-nest-ui-ripple.mjs +13 -13
  135. package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
  136. package/fesm2022/ng-nest-ui-scrollable.mjs +102 -19
  137. package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
  138. package/fesm2022/ng-nest-ui-select.mjs +121 -111
  139. package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
  140. package/fesm2022/ng-nest-ui-skeleton.mjs +15 -15
  141. package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
  142. package/fesm2022/ng-nest-ui-slider-select.mjs +54 -54
  143. package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
  144. package/fesm2022/ng-nest-ui-slider.mjs +39 -39
  145. package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
  146. package/fesm2022/ng-nest-ui-statistic.mjs +30 -30
  147. package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
  148. package/fesm2022/ng-nest-ui-steps.mjs +19 -19
  149. package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
  150. package/fesm2022/ng-nest-ui-switch.mjs +26 -26
  151. package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
  152. package/fesm2022/ng-nest-ui-table-view.mjs +490 -242
  153. package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
  154. package/fesm2022/ng-nest-ui-table.mjs +221 -221
  155. package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
  156. package/fesm2022/ng-nest-ui-tabs.mjs +58 -58
  157. package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
  158. package/fesm2022/ng-nest-ui-tag.mjs +22 -22
  159. package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
  160. package/fesm2022/ng-nest-ui-text-retract.mjs +15 -15
  161. package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
  162. package/fesm2022/ng-nest-ui-textarea.mjs +41 -41
  163. package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
  164. package/fesm2022/ng-nest-ui-theme.mjs +23 -23
  165. package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
  166. package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
  167. package/fesm2022/ng-nest-ui-time-ago.mjs.map +1 -1
  168. package/fesm2022/ng-nest-ui-time-picker.mjs +104 -94
  169. package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
  170. package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
  171. package/fesm2022/ng-nest-ui-time-range.mjs.map +1 -1
  172. package/fesm2022/ng-nest-ui-timeline.mjs +15 -15
  173. package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
  174. package/fesm2022/ng-nest-ui-tooltip.mjs +38 -38
  175. package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
  176. package/fesm2022/ng-nest-ui-transfer.mjs +40 -40
  177. package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
  178. package/fesm2022/ng-nest-ui-tree-file.mjs +28 -28
  179. package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
  180. package/fesm2022/ng-nest-ui-tree-select.mjs +126 -116
  181. package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
  182. package/fesm2022/ng-nest-ui-tree.mjs +107 -107
  183. package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
  184. package/fesm2022/ng-nest-ui-typography.mjs +13 -13
  185. package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
  186. package/fesm2022/ng-nest-ui-upload.mjs +37 -37
  187. package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
  188. package/fesm2022/ng-nest-ui.mjs +1 -0
  189. package/fesm2022/ng-nest-ui.mjs.map +1 -1
  190. package/find/index.d.ts +5 -5
  191. package/form/index.d.ts +1 -1
  192. package/index.d.ts +1 -0
  193. package/input/index.d.ts +32 -5
  194. package/input-number/index.d.ts +5 -5
  195. package/list/index.d.ts +2 -2
  196. package/loading/index.d.ts +6 -1
  197. package/package.json +60 -56
  198. package/radio/index.d.ts +4 -4
  199. package/rate/index.d.ts +5 -5
  200. package/scrollable/index.d.ts +15 -7
  201. package/select/index.d.ts +35 -5
  202. package/slider-select/index.d.ts +3 -3
  203. package/switch/index.d.ts +3 -3
  204. package/table-view/index.d.ts +121 -79
  205. package/textarea/index.d.ts +3 -3
  206. package/theme/index.d.ts +1 -1
  207. package/time-picker/index.d.ts +30 -5
  208. package/transfer/index.d.ts +1 -1
  209. package/tree-select/index.d.ts +30 -5
  210. package/upload/index.d.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { input, model, output, Component, inject, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, viewChild, computed, signal, TemplateRef, ChangeDetectorRef, HostBinding, NgModule } from '@angular/core';
3
- import { XToBoolean, XToNumber, XToCssPixelValue, XPropertyFunction, XIsEmpty, XIsFunction, XIsUndefined } from '@ng-nest/ui/core';
3
+ import { XToBoolean, XToNumber, XToCssPixelValue, XPropertyFunction, XIsEmpty, XIsArray, XIsFunction, XIsUndefined } from '@ng-nest/ui/core';
4
4
  import { XFormControlFunction, XValueAccessor } from '@ng-nest/ui/base-form';
5
5
  import { Subject, fromEvent, takeUntil, distinctUntilChanged } from 'rxjs';
6
6
  import { NgClass, NgStyle } from '@angular/common';
@@ -26,181 +26,191 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
26
26
  * @zh_CN 输入类型
27
27
  * @en_US Input type
28
28
  */
29
- this.type = input('text');
29
+ this.type = input('text', ...(ngDevMode ? [{ debugName: "type" }] : []));
30
30
  /**
31
31
  * @zh_CN 形态变体
32
32
  * @en_US Input variant
33
33
  */
34
- this.variant = input(this.config?.variant ?? 'outlined');
34
+ this.variant = input(this.config?.variant ?? 'outlined', ...(ngDevMode ? [{ debugName: "variant" }] : []));
35
35
  /**
36
36
  * @zh_CN 清除按钮
37
37
  * @en_US Clear button
38
38
  */
39
- this.clearable = input(this.config?.clearable ?? false, { transform: XToBoolean });
39
+ this.clearable = input(this.config?.clearable ?? false, ...(ngDevMode ? [{ debugName: "clearable", transform: XToBoolean }] : [{ transform: XToBoolean }]));
40
40
  /**
41
41
  * @zh_CN 图标
42
42
  * @en_US Icon
43
43
  */
44
- this.icon = input();
44
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
45
45
  /**
46
46
  * @zh_CN 图标布局方式
47
47
  * @en_US Icon layout
48
48
  */
49
- this.iconLayout = input(this.config?.iconLayout ?? 'right');
49
+ this.iconLayout = input(this.config?.iconLayout ?? 'right', ...(ngDevMode ? [{ debugName: "iconLayout" }] : []));
50
50
  /**
51
51
  * @zh_CN 图标动画
52
52
  * @en_US Icon animation
53
53
  */
54
- this.iconSpin = input(false, { transform: XToBoolean });
54
+ this.iconSpin = input(false, ...(ngDevMode ? [{ debugName: "iconSpin", transform: XToBoolean }] : [{ transform: XToBoolean }]));
55
55
  /**
56
56
  * @zh_CN 输入最大长度
57
57
  * @en_US Enter the maximum length
58
58
  */
59
- this.maxlength = input(null, { transform: XToNumber });
59
+ this.maxlength = input(null, ...(ngDevMode ? [{ debugName: "maxlength", transform: XToNumber }] : [{ transform: XToNumber }]));
60
60
  /**
61
61
  * @zh_CN 最大值
62
62
  * @en_US Enter the max
63
63
  */
64
- this.max = input(null, { transform: XToNumber });
64
+ this.max = input(null, ...(ngDevMode ? [{ debugName: "max", transform: XToNumber }] : [{ transform: XToNumber }]));
65
65
  /**
66
66
  * @zh_CN 最小值
67
67
  * @en_US Enter the min
68
68
  */
69
- this.min = input(null, { transform: XToNumber });
69
+ this.min = input(null, ...(ngDevMode ? [{ debugName: "min", transform: XToNumber }] : [{ transform: XToNumber }]));
70
70
  /**
71
71
  * @zh_CN 宽度
72
72
  * @en_US width
73
73
  */
74
- this.width = input('', { transform: XToCssPixelValue });
74
+ this.width = input('', ...(ngDevMode ? [{ debugName: "width", transform: XToCssPixelValue }] : [{ transform: XToCssPixelValue }]));
75
75
  /**
76
76
  * @zh_CN 显示边框
77
77
  * @en_US Display Border
78
78
  */
79
- this.bordered = input(this.config?.bordered ?? true, { transform: XToBoolean });
79
+ this.bordered = input(this.config?.bordered ?? true, ...(ngDevMode ? [{ debugName: "bordered", transform: XToBoolean }] : [{ transform: XToBoolean }]));
80
80
  /**
81
81
  * @zh_CN 输入框样式
82
82
  * @en_US Input Style
83
83
  */
84
- this.inputStyle = input();
84
+ this.inputStyle = input(...(ngDevMode ? [undefined, { debugName: "inputStyle" }] : []));
85
85
  /**
86
86
  * @zh_CN 输入框内边距。主要指输入框中的左右内边距
87
87
  * @en_US Enter the border of the input box.
88
88
  */
89
- this.inputPadding = input(this.config?.inputPadding ?? '0.75rem', {
90
- transform: XToCssPixelValue
91
- });
89
+ this.inputPadding = input(this.config?.inputPadding ?? '0.75rem', ...(ngDevMode ? [{ debugName: "inputPadding", transform: XToCssPixelValue }] : [{
90
+ transform: XToCssPixelValue
91
+ }]));
92
92
  /**
93
93
  * @zh_CN 输入框内边距(包含图标)。主要指输入框中的有图标的时候左右内边距
94
94
  * @en_US Enter the border between the input box (including icon).
95
95
  */
96
- this.inputIconPadding = input(this.config?.inputPadding ?? '2.15rem', {
97
- transform: XToCssPixelValue
98
- });
96
+ this.inputIconPadding = input(this.config?.inputPadding ?? '2.15rem', ...(ngDevMode ? [{ debugName: "inputIconPadding", transform: XToCssPixelValue }] : [{
97
+ transform: XToCssPixelValue
98
+ }]));
99
+ /**
100
+ * @zh_CN 浮动标签
101
+ * @en_US Float label
102
+ */
103
+ this.floatLabel = input(this.config?.floatLabel ?? null, ...(ngDevMode ? [{ debugName: "floatLabel" }] : []));
104
+ /**
105
+ * @zh_CN 固定浮动标签
106
+ * @en_US Fixed float label
107
+ */
108
+ this.floatFixed = input(this.config?.floatFixed ?? false, ...(ngDevMode ? [{ debugName: "floatFixed", transform: XToBoolean }] : [{ transform: XToBoolean }]));
99
109
  /**
100
110
  * @zh_CN 初始启用验证,在输入值都自动开启
101
111
  * @en_US Initial enable validation, which is automatically enabled when the input value is
102
112
  */
103
- this.validator = input(false, { transform: XToBoolean });
113
+ this.validator = input(false, ...(ngDevMode ? [{ debugName: "validator", transform: XToBoolean }] : [{ transform: XToBoolean }]));
104
114
  /**
105
115
  * @zh_CN 尺寸
106
116
  * @en_US Size
107
117
  */
108
- this.size = input(this.config?.size ?? 'medium');
118
+ this.size = input(this.config?.size ?? 'medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
109
119
  /**
110
120
  * @zh_CN 输入框点击样式
111
121
  * @en_US Input pointer
112
122
  */
113
- this.pointer = input(false, { transform: XToBoolean });
123
+ this.pointer = input(false, ...(ngDevMode ? [{ debugName: "pointer", transform: XToBoolean }] : [{ transform: XToBoolean }]));
114
124
  /**
115
125
  * @zh_CN 标签
116
126
  * @en_US Label
117
127
  */
118
- this.label = input('');
128
+ this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
119
129
  /**
120
130
  * @zh_CN 标签宽度
121
131
  * @en_US Label width
122
132
  */
123
- this.labelWidth = input('', { transform: XToCssPixelValue });
133
+ this.labelWidth = input('', ...(ngDevMode ? [{ debugName: "labelWidth", transform: XToCssPixelValue }] : [{ transform: XToCssPixelValue }]));
124
134
  /**
125
135
  * @zh_CN 标签文字对齐方式
126
136
  * @en_US Label text alignment method
127
137
  */
128
- this.labelAlign = input('start');
138
+ this.labelAlign = input('start', ...(ngDevMode ? [{ debugName: "labelAlign" }] : []));
129
139
  /**
130
140
  * @zh_CN flex 布局下的子元素水平排列方式
131
141
  * @en_US The level of sub-element level arrangement under flex layout
132
142
  */
133
- this.justify = input('start');
143
+ this.justify = input('start', ...(ngDevMode ? [{ debugName: "justify" }] : []));
134
144
  /**
135
145
  * @zh_CN flex 布局下的子元素垂直排列方式
136
146
  * @en_US sub-element vertical arrangement method under flex layout
137
147
  */
138
- this.align = input('start');
148
+ this.align = input('start', ...(ngDevMode ? [{ debugName: "align" }] : []));
139
149
  /**
140
150
  * @zh_CN flex 布局下的子元素排列方向
141
151
  * @en_US The direction of the sub-element arrangement under flex layout
142
152
  */
143
- this.direction = input('column');
153
+ this.direction = input('column', ...(ngDevMode ? [{ debugName: "direction" }] : []));
144
154
  /**
145
155
  * @zh_CN 输入提示信息
146
156
  * @en_US Enter prompt information
147
157
  */
148
- this.placeholder = input('');
158
+ this.placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
149
159
  /**
150
160
  * @zh_CN 禁用
151
161
  * @en_US Disabled
152
162
  */
153
- this.disabled = input(false, { transform: XToBoolean });
163
+ this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: XToBoolean }] : [{ transform: XToBoolean }]));
154
164
  /**
155
165
  * @zh_CN 必填
156
166
  * @en_US Required
157
167
  */
158
- this.required = input(false, { transform: XToBoolean });
168
+ this.required = input(false, ...(ngDevMode ? [{ debugName: "required", transform: XToBoolean }] : [{ transform: XToBoolean }]));
159
169
  /**
160
170
  * @zh_CN 只读
161
171
  * @en_US Readonly
162
172
  */
163
- this.readonly = input(false, { transform: XToBoolean });
173
+ this.readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly", transform: XToBoolean }] : [{ transform: XToBoolean }]));
164
174
  /**
165
175
  * @zh_CN 值模板
166
176
  * @en_US Node template
167
177
  */
168
- this.valueTpl = input();
178
+ this.valueTpl = input(...(ngDevMode ? [undefined, { debugName: "valueTpl" }] : []));
169
179
  /**
170
180
  * @zh_CN 值模板参数
171
181
  * @en_US Node template
172
182
  */
173
- this.valueTplContext = input();
183
+ this.valueTplContext = input(...(ngDevMode ? [undefined, { debugName: "valueTplContext" }] : []));
174
184
  /**
175
185
  * @zh_CN 前置标签
176
186
  * @en_US Before label
177
187
  */
178
- this.before = input();
188
+ this.before = input(...(ngDevMode ? [undefined, { debugName: "before" }] : []));
179
189
  /**
180
190
  * @zh_CN 后置标签
181
191
  * @en_US After label
182
192
  */
183
- this.after = input();
193
+ this.after = input(...(ngDevMode ? [undefined, { debugName: "after" }] : []));
184
194
  /**
185
195
  * @zh_CN 正则验证规则
186
196
  * @en_US Regular verification rules
187
197
  */
188
- this.pattern = input(null);
198
+ this.pattern = input(null, ...(ngDevMode ? [{ debugName: "pattern" }] : []));
189
199
  /**
190
200
  * @zh_CN 验证不通过提示文字
191
201
  * @en_US Verify not pass the prompt text
192
202
  */
193
- this.message = input([]);
203
+ this.message = input([], ...(ngDevMode ? [{ debugName: "message" }] : []));
194
204
  /**
195
205
  * @zh_CN 激活状态
196
206
  * @en_US Activation state
197
207
  */
198
- this.active = model(false);
208
+ this.active = model(false, ...(ngDevMode ? [{ debugName: "active" }] : []));
199
209
  /**
200
210
  * @zh_CN 输入验证函数
201
211
  * @en_US Enter the verification function
202
212
  */
203
- this.inputValidator = input();
213
+ this.inputValidator = input(...(ngDevMode ? [undefined, { debugName: "inputValidator" }] : []));
204
214
  /**
205
215
  * @zh_CN 清除按钮的事件
206
216
  * @en_US Clear button event
@@ -247,10 +257,10 @@ class XInputProperty extends XFormControlFunction(X_INPUT_CONFIG_NAME) {
247
257
  */
248
258
  this.xComposition = output();
249
259
  }
250
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
251
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.0", type: XInputProperty, isStandalone: true, selector: "x-input-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconLayout: { classPropertyName: "iconLayout", publicName: "iconLayout", isSignal: true, isRequired: false, transformFunction: null }, iconSpin: { classPropertyName: "iconSpin", publicName: "iconSpin", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputPadding: { classPropertyName: "inputPadding", publicName: "inputPadding", isSignal: true, isRequired: false, transformFunction: null }, inputIconPadding: { classPropertyName: "inputIconPadding", publicName: "inputIconPadding", isSignal: true, isRequired: false, transformFunction: null }, 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 }); }
260
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
261
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.0", type: XInputProperty, isStandalone: true, selector: "x-input-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, clearable: { classPropertyName: "clearable", publicName: "clearable", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconLayout: { classPropertyName: "iconLayout", publicName: "iconLayout", isSignal: true, isRequired: false, transformFunction: null }, iconSpin: { classPropertyName: "iconSpin", publicName: "iconSpin", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, bordered: { classPropertyName: "bordered", publicName: "bordered", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputPadding: { classPropertyName: "inputPadding", publicName: "inputPadding", isSignal: true, isRequired: false, transformFunction: null }, inputIconPadding: { classPropertyName: "inputIconPadding", publicName: "inputIconPadding", isSignal: true, isRequired: false, transformFunction: null }, floatLabel: { classPropertyName: "floatLabel", publicName: "floatLabel", isSignal: true, isRequired: false, transformFunction: null }, floatFixed: { classPropertyName: "floatFixed", publicName: "floatFixed", isSignal: true, isRequired: false, transformFunction: null }, validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, pointer: { classPropertyName: "pointer", publicName: "pointer", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, valueTpl: { classPropertyName: "valueTpl", publicName: "valueTpl", isSignal: true, isRequired: false, transformFunction: null }, valueTplContext: { classPropertyName: "valueTplContext", publicName: "valueTplContext", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, inputValidator: { classPropertyName: "inputValidator", publicName: "inputValidator", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange", clearEmit: "clearEmit", xFocus: "xFocus", xBlur: "xBlur", xInput: "xInput", xKeydown: "xKeydown", xClick: "xClick", xMouseenter: "xMouseenter", xMouseleave: "xMouseleave", xComposition: "xComposition" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
252
262
  }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputProperty, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputProperty, decorators: [{
254
264
  type: Component,
255
265
  args: [{ selector: `${XInputPrefix}-property`, template: '' }]
256
266
  }] });
@@ -271,22 +281,22 @@ class XInputGroupProperty extends XPropertyFunction(X_INPUT_GROUP_CONFIG_NAME) {
271
281
  * @zh_CN 尺寸
272
282
  * @en_US Size
273
283
  */
274
- this.size = input(this.config?.size);
284
+ this.size = input(this.config?.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
275
285
  /**
276
286
  * @zh_CN 显示边框
277
287
  * @en_US Display Border
278
288
  */
279
- this.bordered = input(this.config?.bordered ?? false, { transform: XToBoolean });
289
+ this.bordered = input(this.config?.bordered ?? false, ...(ngDevMode ? [{ debugName: "bordered", transform: XToBoolean }] : [{ transform: XToBoolean }]));
280
290
  /**
281
291
  * @zh_CN 是否使用紧凑模式
282
292
  * @en_US Whether to use a compact mode
283
293
  */
284
- this.compact = input(this.config?.compact ?? false, { transform: XToBoolean });
294
+ this.compact = input(this.config?.compact ?? false, ...(ngDevMode ? [{ debugName: "compact", transform: XToBoolean }] : [{ transform: XToBoolean }]));
285
295
  }
286
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputGroupProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
287
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.0", 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 }); }
296
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputGroupProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
297
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.0", 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 }); }
288
298
  }
289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputGroupProperty, decorators: [{
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputGroupProperty, decorators: [{
290
300
  type: Component,
291
301
  args: [{ selector: `${XInputGroupPrefix}-property`, template: '' }]
292
302
  }] });
@@ -296,12 +306,12 @@ class XInputGroupComponent extends XInputGroupProperty {
296
306
  super(...arguments);
297
307
  this.elementRef = inject(ElementRef);
298
308
  }
299
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
300
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0", 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-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 }); }
309
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
310
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", 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 }); }
301
311
  }
302
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputGroupComponent, decorators: [{
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputGroupComponent, decorators: [{
303
313
  type: Component,
304
- 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-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"] }]
314
+ 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"] }]
305
315
  }] });
306
316
 
307
317
  class XInputComponent extends XInputProperty {
@@ -309,26 +319,26 @@ class XInputComponent extends XInputProperty {
309
319
  super(...arguments);
310
320
  this.inputElement = viewChild.required('inputElement', { read: (ElementRef) });
311
321
  this.inputRef = viewChild.required('inputRef', { read: (ElementRef) });
312
- this.inputValueRef = viewChild('inputValueRef', { read: (ElementRef) });
313
- this.maxLengthRef = viewChild('maxLengthRef', { read: (ElementRef) });
322
+ this.inputValueRef = viewChild('inputValueRef', ...(ngDevMode ? [{ debugName: "inputValueRef", read: (ElementRef) }] : [{ read: (ElementRef) }]));
323
+ this.maxLengthRef = viewChild('maxLengthRef', ...(ngDevMode ? [{ debugName: "maxLengthRef", read: (ElementRef) }] : [{ read: (ElementRef) }]));
314
324
  this.classMap = computed(() => ({
315
325
  [`${XInputPrefix}-${this.size()}`]: !!this.size(),
316
326
  [`x-justify-${this.justify()}`]: !!this.justify(),
317
327
  [`x-align-${this.align()}`]: !!this.align(),
318
328
  [`x-direction-${this.direction()}`]: !!this.direction()
319
- }));
329
+ }), ...(ngDevMode ? [{ debugName: "classMap" }] : []));
320
330
  this.labelMapSignal = computed(() => ({
321
331
  [`x-text-align-${this.labelAlign()}`]: !!this.labelAlign()
322
- }));
323
- this.valueLength = signal(0);
324
- this.lengthTotal = signal('');
332
+ }), ...(ngDevMode ? [{ debugName: "labelMapSignal" }] : []));
333
+ this.valueLength = signal(0, ...(ngDevMode ? [{ debugName: "valueLength" }] : []));
334
+ this.lengthTotal = signal('', ...(ngDevMode ? [{ debugName: "lengthTotal" }] : []));
325
335
  this.paddingLeft = computed(() => {
326
336
  return this.maxlength() && this.icon() && this.iconLayout() === 'right'
327
337
  ? (this.lengthTotal().length + 2) * 0.5 + 'rem'
328
338
  : this.icon() && this.iconLayout() === 'left'
329
339
  ? this.inputIconPadding()
330
340
  : this.inputPadding();
331
- });
341
+ }, ...(ngDevMode ? [{ debugName: "paddingLeft" }] : []));
332
342
  this.paddingRight = computed(() => {
333
343
  return this.maxlength() && this.icon() && this.iconLayout() === 'left'
334
344
  ? (this.lengthTotal().length + 2) * 0.5 + 'rem'
@@ -338,7 +348,7 @@ class XInputComponent extends XInputProperty {
338
348
  : this.maxlength() && !this.icon()
339
349
  ? (this.lengthTotal().length + 2) * 0.5 + 'rem'
340
350
  : this.inputPadding();
341
- });
351
+ }, ...(ngDevMode ? [{ debugName: "paddingRight" }] : []));
342
352
  this.clearShow = computed(() => {
343
353
  if (this.clearable() && !this.disabledComputed()) {
344
354
  return !XIsEmpty(this.value());
@@ -346,20 +356,28 @@ class XInputComponent extends XInputProperty {
346
356
  else {
347
357
  return false;
348
358
  }
349
- });
359
+ }, ...(ngDevMode ? [{ debugName: "clearShow" }] : []));
360
+ this.hasValue = computed(() => {
361
+ if (XIsArray(this.value())) {
362
+ return this.value().length > 0;
363
+ }
364
+ else {
365
+ return !XIsEmpty(this.value());
366
+ }
367
+ }, ...(ngDevMode ? [{ debugName: "hasValue" }] : []));
350
368
  this.valueChange = new Subject();
351
- this.isComposition = signal(false);
352
- this.isWriteValue = signal(false);
369
+ this.isComposition = signal(false, ...(ngDevMode ? [{ debugName: "isComposition" }] : []));
370
+ this.isWriteValue = signal(false, ...(ngDevMode ? [{ debugName: "isWriteValue" }] : []));
353
371
  this.unSubject = new Subject();
354
372
  this.getIcon = computed(() => {
355
373
  return !XIsEmpty(this.icon());
356
- });
374
+ }, ...(ngDevMode ? [{ debugName: "getIcon" }] : []));
357
375
  this.getIconLayoutLeft = computed(() => {
358
376
  return !XIsEmpty(this.icon()) && this.iconLayout() === 'left';
359
- });
377
+ }, ...(ngDevMode ? [{ debugName: "getIconLayoutLeft" }] : []));
360
378
  this.getIconLayoutRight = computed(() => {
361
379
  return !XIsEmpty(this.icon()) && this.iconLayout() === 'right';
362
- });
380
+ }, ...(ngDevMode ? [{ debugName: "getIconLayoutRight" }] : []));
363
381
  this.getMaxLengthWidth = computed(() => {
364
382
  if (this.getIconLayoutRight()) {
365
383
  return this.paddingLeft();
@@ -367,15 +385,15 @@ class XInputComponent extends XInputProperty {
367
385
  else {
368
386
  return this.paddingRight();
369
387
  }
370
- });
371
- this.beforeIsTemplate = computed(() => this.before() instanceof TemplateRef);
372
- this.afterIsTemplate = computed(() => this.after() instanceof TemplateRef);
388
+ }, ...(ngDevMode ? [{ debugName: "getMaxLengthWidth" }] : []));
389
+ this.beforeIsTemplate = computed(() => this.before() instanceof TemplateRef, ...(ngDevMode ? [{ debugName: "beforeIsTemplate" }] : []));
390
+ this.afterIsTemplate = computed(() => this.after() instanceof TemplateRef, ...(ngDevMode ? [{ debugName: "afterIsTemplate" }] : []));
373
391
  this.getTemplateWidth = computed(() => {
374
392
  return `calc(100% - ${this.paddingLeft()} - ${this.paddingRight()})`;
375
- });
376
- this.focused = signal(false);
377
- this.groupSize = signal(null);
378
- this.groupBordered = signal(null);
393
+ }, ...(ngDevMode ? [{ debugName: "getTemplateWidth" }] : []));
394
+ this.focused = signal(false, ...(ngDevMode ? [{ debugName: "focused" }] : []));
395
+ this.groupSize = signal(null, ...(ngDevMode ? [{ debugName: "groupSize" }] : []));
396
+ this.groupBordered = signal(null, ...(ngDevMode ? [{ debugName: "groupBordered" }] : []));
379
397
  this.cdr = inject(ChangeDetectorRef);
380
398
  this.inputGroup = inject(XInputGroupComponent, { optional: true });
381
399
  this.elementRef = inject(ElementRef);
@@ -505,23 +523,26 @@ class XInputComponent extends XInputProperty {
505
523
  }
506
524
  }
507
525
  formControlChanges() { }
508
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
509
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: XInputComponent, isStandalone: true, selector: "x-input", host: { properties: { "style.width": "this.getWidth" } }, providers: [XValueAccessor(XInputComponent)], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputValueRef", first: true, predicate: ["inputValueRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "maxLengthRef", first: true, predicate: ["maxLengthRef"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [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 [ngClass]=\"labelMapSignal()\"\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)=\"xClick.emit($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"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)=\"xClick.emit($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)=\"xClick.emit($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:600}.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-image:none;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>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;width:100%}.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);background-color:var(--x-background)}.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-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-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-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-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-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{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 }); }
526
+ onClick($event) {
527
+ this.xClick.emit($event);
528
+ }
529
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
530
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: XInputComponent, isStandalone: true, selector: "x-input", host: { properties: { "style.width": "this.getWidth" } }, providers: [XValueAccessor(XInputComponent)], viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "inputValueRef", first: true, predicate: ["inputValueRef"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "maxLengthRef", first: true, predicate: ["maxLengthRef"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>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;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:1}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
510
531
  }
511
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputComponent, decorators: [{
532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputComponent, decorators: [{
512
533
  type: Component,
513
- 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 [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 [ngClass]=\"labelMapSignal()\"\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)=\"xClick.emit($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"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)=\"xClick.emit($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)=\"xClick.emit($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:600}.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-image:none;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>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;width:100%}.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);background-color:var(--x-background)}.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-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-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-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-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-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{margin:0;padding:0}\n"] }]
534
+ args: [{ selector: `${XInputPrefix}`, imports: [NgClass, NgStyle, FormsModule, ReactiveFormsModule, XIconComponent, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XInputComponent)], template: "<div\r\n #inputElement\r\n class=\"x-input\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-clearable]=\"clearable()\"\r\n [class.x-clear-show]=\"clearShow()\"\r\n [class.x-input-icon]=\"getIcon()\"\r\n [class.x-input-active]=\"active()\"\r\n [class.x-input-focus]=\"focused()\"\r\n [class.x-input-pointer]=\"pointer()\"\r\n [class.x-input-bordered]=\"bordered()\"\r\n [class.x-input-filled]=\"variant() === 'filled'\"\r\n [class.x-input-borderless]=\"variant() === 'borderless' || (variant() === 'outlined' && !bordered())\"\r\n [class.x-input-underlined]=\"variant() === 'underlined'\"\r\n [class.x-input-icon-left]=\"getIconLayoutLeft()\"\r\n [class.x-input-icon-right]=\"getIconLayoutRight()\"\r\n [class.x-input-after]=\"after()\"\r\n [class.x-input-before]=\"before()\"\r\n [class.x-input-after-template]=\"afterIsTemplate()\"\r\n [class.x-input-before-template]=\"beforeIsTemplate()\"\r\n [class.x-input-value-template]=\"valueTpl()\"\r\n [class.x-input-float-fixed]=\"floatFixed()\"\r\n [class.x-input-float-label]=\"!!floatLabel()\"\r\n [class.x-input-float-label-over]=\"floatLabel() === 'over'\"\r\n [class.x-input-float-label-in]=\"floatLabel() === 'in'\"\r\n [class.x-input-float-label-on]=\"floatLabel() === 'on'\"\r\n [class.x-input-has-value]=\"hasValue()\"\r\n [ngClass]=\"classMap()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-input-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [style.margin-left]=\"!!floatLabel() ? paddingLeft() : null\"\r\n [ngClass]=\"labelMapSignal()\"\r\n *xOutlet=\"label()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-input-row\">\r\n @if (before()) {\r\n <div class=\"x-input-row-before\" [class.x-input-row-before-template]=\"beforeIsTemplate()\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-input-input\" (mouseenter)=\"xMouseenter.emit($event)\" (mouseleave)=\"xMouseleave.emit($event)\">\r\n @if (valueTpl()) {\r\n <div\r\n #inputValueRef\r\n class=\"x-input-value-template-value\"\r\n [style.left]=\"paddingLeft()\"\r\n [style.padding-left]=\"0\"\r\n [style.padding-right]=\"0\"\r\n [style.width]=\"getTemplateWidth()\"\r\n (click)=\"onClick($event)\"\r\n >\r\n <ng-container\r\n *xOutlet=\"valueTpl()!; context: valueTplContext() ? valueTplContext() : { $value: value() }\"\r\n ></ng-container>\r\n </div>\r\n }\r\n <input\r\n #inputRef\r\n autocomplete=\"off\"\r\n class=\"x-input-frame\"\r\n [class.x-input-has-value-template]=\"!!valueTpl()\"\r\n [ngStyle]=\"inputStyle()\"\r\n [type]=\"type()\"\r\n [placeholder]=\"!floatLabel() ? placeholder() : ''\"\r\n [required]=\"requiredComputed()\"\r\n [disabled]=\"disabledComputed()\"\r\n [readonly]=\"readonly()\"\r\n [maxlength]=\"maxlength()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"valueChange.next($event)\"\r\n [style.padding-left]=\"paddingLeft()\"\r\n [style.padding-right]=\"paddingRight()\"\r\n (focus)=\"xFocus.emit($event)\"\r\n (blur)=\"xBlur.emit($event)\"\r\n (keydown)=\"formControlValidator(); xKeydown.emit($event)\"\r\n (click)=\"onClick($event)\"\r\n (compositionstart)=\"xComposition.emit($event)\"\r\n (compositionend)=\"xComposition.emit($event)\"\r\n />\r\n @if (clearShow() && !iconSpin()) {\r\n <x-icon class=\"x-input-clear\" type=\"fto-x\" (click)=\"onClear()\"></x-icon>\r\n }\r\n @if (icon() && ((!clearShow() && getIconLayoutRight()) || getIconLayoutLeft() || iconSpin())) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\" (click)=\"onClick($event)\"></x-icon>\r\n }\r\n @if (maxlength() && lengthTotal()) {\r\n <span class=\"x-input-max-length\" [style.width]=\"getMaxLengthWidth()\">{{ lengthTotal() }}</span>\r\n }\r\n @if (invalid()) {\r\n <span class=\"x-input-error-message\">{{ invalidMessage() }}</span>\r\n }\r\n @if (requiredIsEmpty() || invalid()) {\r\n <div class=\"x-border-error x-top-left\"></div>\r\n <div class=\"x-border-error x-top-right\"></div>\r\n <div class=\"x-border-error x-bottom-left\"></div>\r\n <div class=\"x-border-error x-bottom-right\"></div>\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-input-row-after\" [class.x-input-row-after-template]=\"afterIsTemplate()\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-input{display:inline-block;width:12rem}.x-input{width:100%}.x-input.x-flex{display:flex}.x-input.x-justify-start{justify-content:flex-start}.x-input.x-justify-center{justify-content:center}.x-input.x-justify-end{justify-content:flex-end}.x-input.x-justify-space-between{justify-content:space-between}.x-input.x-justify-space-around{justify-content:space-around}.x-input.x-align-start{align-items:flex-start}.x-input.x-align-center{align-items:center}.x-input.x-align-end{align-items:flex-end}.x-input.x-direction-column{flex-direction:column}.x-input.x-direction-column-reverse{flex-direction:column-reverse}.x-input.x-direction-row{flex-direction:row}.x-input.x-direction-row-reverse{flex-direction:row-reverse}.x-input>label{display:inline-block;white-space:nowrap;position:relative;color:var(--x-text-300);font-weight:500}.x-input>label.x-text-align-start{text-align:start}.x-input>label.x-text-align-center{text-align:center}.x-input>label.x-text-align-end{text-align:end}.x-input-row{flex:1;display:flex;align-items:center}.x-input-row .x-input-row-before:not(.x-input-row-before-template),.x-input-row .x-input-row-after:not(.x-input-row-after-template){border:var(--x-border-width) var(--x-border-style) var(--x-border);background-color:var(--x-background-a100);border-width:0}.x-input-row .x-input-row-before:not(.x-input-row-before-template){border-top-left-radius:var(--x-border-radius);border-bottom-left-radius:var(--x-border-radius)}.x-input-row .x-input-row-after:not(.x-input-row-before-template){border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-input-row .x-input-row-before-template{display:contents}.x-input-row .x-input-row-before-template input,.x-input-row .x-input-row-before-template .x-button{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.x-input-row .x-input-row-before-template input{margin-right:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-after-template{display:contents}.x-input-row .x-input-row-after-template input,.x-input-row .x-input-row-after-template .x-button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.x-input-row .x-input-row-after-template input{margin-left:calc(var(--x-border-width) * -1)}.x-input-row .x-input-row-before-template:hover,.x-input-row .x-input-row-before-template:focus{z-index:1}.x-input-row .x-input-row-before-template input:hover,.x-input-row .x-input-row-before-template input:focus,.x-input-row .x-input-row-after-template input:hover,.x-input-row .x-input-row-after-template input:focus{z-index:1}.x-input-row>.x-input-input{position:relative;width:100%;display:inline-flex;align-items:center}.x-input-row>.x-input-input>input{flex:1;width:100%;font-size:var(--x-font-size);background-color:var(--x-background);border:var(--x-border-width) var(--x-border-style) var(--x-border);border-radius:var(--x-border-radius);border-width:0;box-shadow:var(--x-box-shadow) transparent;transition-property:background-color,border-color,border-width,border-radius;transition-duration:var(--x-animation-duration-slow)}.x-input-row>.x-input-input>input::-moz-placeholder{color:var(--x-text-700);opacity:1}.x-input-row>.x-input-input>input:-ms-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input::-webkit-input-placeholder{color:var(--x-text-700)}.x-input-row>.x-input-input>input[disabled]{color:var(--x-text-500)}.x-input-row>.x-input-input>input:focus{border-color:var(--x-primary);outline:0}.x-input-row>.x-input-input>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;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:1}.x-input-float-label>label.x-input-label-required{display:flex;align-items:center;padding-left:var(--x-font-size-mini)}.x-input-float-label>label.x-input-label-required:before{position:absolute;left:0;top:.125rem}.x-input-float-label-over>label,.x-input-float-label-on>label,.x-input-float-label-in>label{top:calc(50% - var(--x-font-size-small) * .5)}.x-input-big>.x-input-row>.x-input-input>input,.x-input-big>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-input>x-icon{height:var(--x-height-big);width:var(--x-height-big)}.x-input-big>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-over.x-input-focus>label,.x-input-big.x-input-float-label-over.x-input-has-value>label,.x-input-big.x-input-float-label-over.x-input-active>label,.x-input-big.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-big) * .5))}.x-input-big.x-input-float-label-on.x-input-focus>label,.x-input-big.x-input-float-label-on.x-input-has-value>label,.x-input-big.x-input-float-label-on.x-input-active>label,.x-input-big.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-big) var(--x-padding-big) calc(var(--x-height-big) * .25) var(--x-padding-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-big)}.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-big.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-big);line-height:var(--x-height-big);padding:0 var(--x-padding-big)}.x-input-big.x-input-float-label-in>label{height:var(--x-height-big);line-height:var(--x-height-big)}.x-input-big.x-input-float-label-in.x-input-focus>label,.x-input-big.x-input-float-label-in.x-input-has-value>label,.x-input-big.x-input-float-label-in.x-input-active>label,.x-input-big.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-big) * .75)}.x-input-large>.x-input-row>.x-input-input>input,.x-input-large>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-input>x-icon{height:var(--x-height-large);width:var(--x-height-large)}.x-input-large>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-over.x-input-focus>label,.x-input-large.x-input-float-label-over.x-input-has-value>label,.x-input-large.x-input-float-label-over.x-input-active>label,.x-input-large.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-large) * .5))}.x-input-large.x-input-float-label-on.x-input-focus>label,.x-input-large.x-input-float-label-on.x-input-has-value>label,.x-input-large.x-input-float-label-on.x-input-active>label,.x-input-large.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-large) var(--x-padding-large) calc(var(--x-height-large) * .25) var(--x-padding-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-large)}.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-large.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-large);line-height:var(--x-height-large);padding:0 var(--x-padding-large)}.x-input-large.x-input-float-label-in>label{height:var(--x-height-large);line-height:var(--x-height-large)}.x-input-large.x-input-float-label-in.x-input-focus>label,.x-input-large.x-input-float-label-in.x-input-has-value>label,.x-input-large.x-input-float-label-in.x-input-active>label,.x-input-large.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-large) * .75)}.x-input-medium>.x-input-row>.x-input-input>input,.x-input-medium>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-input>x-icon{height:var(--x-height-medium);width:var(--x-height-medium)}.x-input-medium>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-over.x-input-focus>label,.x-input-medium.x-input-float-label-over.x-input-has-value>label,.x-input-medium.x-input-float-label-over.x-input-active>label,.x-input-medium.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-medium) * .5))}.x-input-medium.x-input-float-label-on.x-input-focus>label,.x-input-medium.x-input-float-label-on.x-input-has-value>label,.x-input-medium.x-input-float-label-on.x-input-active>label,.x-input-medium.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-medium) var(--x-padding-medium) calc(var(--x-height-medium) * .25) var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-medium)}.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-medium.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-medium);line-height:var(--x-height-medium);padding:0 var(--x-padding-medium)}.x-input-medium.x-input-float-label-in>label{height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-input-medium.x-input-float-label-in.x-input-focus>label,.x-input-medium.x-input-float-label-in.x-input-has-value>label,.x-input-medium.x-input-float-label-in.x-input-active>label,.x-input-medium.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-medium) * .75)}.x-input-small>.x-input-row>.x-input-input>input,.x-input-small>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-input>x-icon{height:var(--x-height-small);width:var(--x-height-small)}.x-input-small>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-over.x-input-focus>label,.x-input-small.x-input-float-label-over.x-input-has-value>label,.x-input-small.x-input-float-label-over.x-input-active>label,.x-input-small.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-small) * .5))}.x-input-small.x-input-float-label-on.x-input-focus>label,.x-input-small.x-input-float-label-on.x-input-has-value>label,.x-input-small.x-input-float-label-on.x-input-active>label,.x-input-small.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-small) var(--x-padding-small) calc(var(--x-height-small) * .25) var(--x-padding-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-small)}.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-small.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-small);line-height:var(--x-height-small);padding:0 var(--x-padding-small)}.x-input-small.x-input-float-label-in>label{height:var(--x-height-small);line-height:var(--x-height-small)}.x-input-small.x-input-float-label-in.x-input-focus>label,.x-input-small.x-input-float-label-in.x-input-has-value>label,.x-input-small.x-input-float-label-in.x-input-active>label,.x-input-small.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-small) * .75)}.x-input-mini>.x-input-row>.x-input-input>input,.x-input-mini>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-value-template-value{min-height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>.x-input-row>.x-input-input>.x-input-max-length{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-input>x-icon{height:var(--x-height-mini);width:var(--x-height-mini)}.x-input-mini>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-over.x-input-focus>label,.x-input-mini.x-input-float-label-over.x-input-has-value>label,.x-input-mini.x-input-float-label-over.x-input-active>label,.x-input-mini.x-input-float-label-over.x-input-float-fixed>label{top:calc(0% - (var(--x-font-size) + var(--x-padding-mini) * .5))}.x-input-mini.x-input-float-label-on.x-input-focus>label,.x-input-mini.x-input-float-label-on.x-input-has-value>label,.x-input-mini.x-input-float-label-on.x-input-active>label,.x-input-mini.x-input-float-label-on.x-input-float-fixed>label{font-size:var(--x-font-size-mini);background-color:var(--x-background);top:calc(0% - var(--x-font-size-small) * .5)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>input,.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-row-after:not(.x-input-row-after-template){height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-value-template-value{height:initial;line-height:1;padding:var(--x-height-mini) var(--x-padding-mini) calc(var(--x-height-mini) * .25) var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>.x-input-max-length{height:initial;line-height:1}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-input>x-icon{width:var(--x-height-mini)}.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-before:not(.x-input-row-before-template),.x-input-mini.x-input-float-label-in>.x-input-row>.x-input-row-after:not(.x-input-row-after-template){height:var(--x-height-mini);line-height:var(--x-height-mini);padding:0 var(--x-padding-mini)}.x-input-mini.x-input-float-label-in>label{height:var(--x-height-mini);line-height:var(--x-height-mini)}.x-input-mini.x-input-float-label-in.x-input-focus>label,.x-input-mini.x-input-float-label-in.x-input-has-value>label,.x-input-mini.x-input-float-label-in.x-input-active>label,.x-input-mini.x-input-float-label-in.x-input-float-fixed>label{font-size:var(--x-font-size-mini);top:calc(0% + var(--x-padding-mini) * .75)}.x-input{margin:0;padding:0}\n"] }]
514
535
  }], propDecorators: { getWidth: [{
515
536
  type: HostBinding,
516
537
  args: ['style.width']
517
538
  }] } });
518
539
 
519
540
  class XInputModule {
520
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
521
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: XInputModule, imports: [XInputComponent, XInputGroupComponent], exports: [XInputComponent, XInputGroupComponent] }); }
522
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputModule, imports: [XInputComponent] }); }
541
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
542
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: XInputModule, imports: [XInputComponent, XInputGroupComponent], exports: [XInputComponent, XInputGroupComponent] }); }
543
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputModule, imports: [XInputComponent] }); }
523
544
  }
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XInputModule, decorators: [{
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: XInputModule, decorators: [{
525
546
  type: NgModule,
526
547
  args: [{
527
548
  exports: [XInputComponent, XInputGroupComponent],