@web-utils/form-ui 1.0.0-beta55 → 1.0.0-beta57

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 (167) hide show
  1. package/api/index.d.ts +6 -0
  2. package/chunks/-qKZw-3p2.mjs +23 -0
  3. package/chunks/{B3A-CnYr.mjs → 33G2_TH8.mjs} +4 -4
  4. package/chunks/{gLPy4Sus.mjs → 8P-OAGbj.mjs} +1 -1
  5. package/chunks/B2PuSZ_F.mjs +35 -0
  6. package/chunks/B6B-rhhB.mjs +37 -0
  7. package/chunks/{C7Mak2La.mjs → BHT38Us-.mjs} +7 -6
  8. package/chunks/BWoKh6f6.mjs +66 -0
  9. package/chunks/{Dt_s96gL2.mjs → BXrA0SYn2.mjs} +2 -2
  10. package/chunks/BZ0v5mka.mjs +30 -0
  11. package/chunks/CE1uX9hJ.mjs +95 -0
  12. package/chunks/CGnOR2gn.mjs +59 -0
  13. package/chunks/CJ1-f8sg.mjs +30 -0
  14. package/chunks/{5KomemiE2.mjs → CUq3MOiQ2.mjs} +29 -29
  15. package/chunks/CdzoVG6J.mjs +47 -0
  16. package/chunks/{Dg4R65aG2.mjs → CqoMZ9Wo2.mjs} +2 -2
  17. package/chunks/CrQmTHMA.mjs +105 -0
  18. package/chunks/Crh2RUrS.mjs +106 -0
  19. package/chunks/DBUJ7Bva.mjs +56 -0
  20. package/chunks/DB_UKPay.mjs +27 -0
  21. package/chunks/{BvKUeniN.mjs → DEC2O0q-.mjs} +46 -44
  22. package/chunks/{BoJgSMkL.mjs → DUhF8YOY.mjs} +2 -2
  23. package/chunks/Du1PslcN.mjs +28 -0
  24. package/chunks/{Dluor05A.mjs → DyEYDv4B.mjs} +7 -6
  25. package/chunks/EAJCsX8W.mjs +32 -0
  26. package/chunks/{Bq62m7IR2.mjs → T4GdQtY8.mjs} +11 -11
  27. package/chunks/ZFJ73RWd2.mjs +29 -0
  28. package/chunks/{D2B9Y3oT.mjs → fmIV_kHp.mjs} +2 -2
  29. package/chunks/h5488Kii.mjs +27 -0
  30. package/chunks/k3cC9SGC.mjs +27 -0
  31. package/chunks/{CauzhVSa2.mjs → rJWvEBq9.mjs} +12 -12
  32. package/chunks/{7GmKqdbC.mjs → usyXQe35.mjs} +1 -1
  33. package/chunks/{BpCiVuKL.mjs → v3wbYL_-.mjs} +7 -6
  34. package/chunks/vd9nXj8B.mjs +59 -0
  35. package/chunks/{g8MIBMw92.mjs → ztBRZQwM.mjs} +13 -13
  36. package/confirm-button/index.mjs +1 -1
  37. package/confirmable/index.mjs +1 -1
  38. package/constants/index.d.ts +18 -0
  39. package/editable-tree/index.d.ts +27 -0
  40. package/editable-tree/index.mjs +591 -2
  41. package/element-dialog/index.mjs +1 -1
  42. package/element-resize-observer/index.mjs +1 -1
  43. package/form-cascader/index.mjs +1 -1
  44. package/form-checkbox/index.mjs +1 -1
  45. package/form-checkbox-group/index.d.ts +3 -0
  46. package/form-checkbox-group/index.mjs +1 -1
  47. package/form-date-picker/index.d.ts +6 -0
  48. package/form-date-picker/index.mjs +1 -1
  49. package/form-holder/index.mjs +1 -1
  50. package/form-holder/style.css +1 -1
  51. package/form-image/index.mjs +1 -1
  52. package/form-input/index.mjs +1 -1
  53. package/form-input-cron-expression/index.mjs +1 -1
  54. package/form-input-email/index.mjs +1 -1
  55. package/form-input-id-card/index.mjs +1 -1
  56. package/form-input-number/index.mjs +1 -1
  57. package/form-input-phone-number/index.mjs +1 -1
  58. package/form-input-tag/index.mjs +1 -1
  59. package/form-input-time/index.mjs +1 -1
  60. package/form-item-config-provider/index.d.ts +18 -0
  61. package/form-item-group/index.mjs +1 -1
  62. package/form-item-x/index.mjs +1 -1
  63. package/form-item-x/style.css +1 -1
  64. package/form-radio-group/index.mjs +1 -1
  65. package/form-rate/index.mjs +1 -1
  66. package/form-row/index.mjs +1 -1
  67. package/form-select/index.mjs +1 -1
  68. package/form-slider/index.mjs +1 -1
  69. package/form-switch/index.mjs +1 -1
  70. package/form-table/index.mjs +1 -1
  71. package/form-table-plus/index.mjs +1 -1
  72. package/form-text/index.mjs +1 -1
  73. package/form-textarea/index.mjs +1 -1
  74. package/form-time-select/index.mjs +1 -1
  75. package/helper/dictionary.d.ts +14 -0
  76. package/helper/dictionary.mjs +1 -1
  77. package/helper/form-item.d.ts +8 -1
  78. package/helper/form-item.mjs +27 -2
  79. package/helper/input.d.ts +3 -0
  80. package/helper/input.mjs +1 -1
  81. package/helper/sub-table-plus.d.ts +60 -0
  82. package/iframe-window/index.mjs +1 -1
  83. package/index.css +1 -1
  84. package/index.mjs +37 -37
  85. package/package.json +1 -1
  86. package/pageable-table/index.mjs +1 -1
  87. package/props/cascader.d.ts +326 -0
  88. package/{chunks/Czz_49pC.mjs → props/cascader.mjs} +8 -58
  89. package/props/checkbox-group.d.ts +213 -0
  90. package/props/checkbox-group.mjs +83 -0
  91. package/props/checkbox.d.ts +202 -0
  92. package/props/checkbox.mjs +71 -0
  93. package/props/col.d.ts +74 -0
  94. package/props/col.mjs +32 -0
  95. package/props/common.d.ts +114 -0
  96. package/props/common.mjs +18 -0
  97. package/props/date.d.ts +339 -0
  98. package/props/date.mjs +145 -0
  99. package/props/form-item.d.ts +144 -0
  100. package/props/form-item.mjs +73 -0
  101. package/props/form.d.ts +157 -0
  102. package/props/form.mjs +89 -0
  103. package/props/image.d.ts +102 -0
  104. package/props/image.mjs +10 -0
  105. package/props/input-cron.d.ts +102 -0
  106. package/props/input-cron.mjs +16 -0
  107. package/props/input-number.d.ts +216 -0
  108. package/props/input-number.mjs +72 -0
  109. package/props/input-tag.d.ts +123 -0
  110. package/props/input-tag.mjs +33 -0
  111. package/props/input.d.ts +299 -0
  112. package/props/input.mjs +97 -0
  113. package/props/radio-group.d.ts +205 -0
  114. package/props/radio-group.mjs +84 -0
  115. package/props/rate.d.ts +211 -0
  116. package/{chunks/D0kIhzQo.mjs → props/rate.mjs} +7 -28
  117. package/props/select.d.ts +450 -0
  118. package/props/select.mjs +218 -0
  119. package/props/slide.d.ts +235 -0
  120. package/{chunks/DZrQmH9Y.mjs → props/slide.mjs} +7 -28
  121. package/props/switch.d.ts +229 -0
  122. package/{chunks/ecpQ-ODX.mjs → props/switch.mjs} +7 -33
  123. package/props/text.d.ts +127 -0
  124. package/props/text.mjs +22 -0
  125. package/props/textarea.d.ts +266 -0
  126. package/{chunks/CNK4mfga.mjs → props/textarea.mjs} +19 -31
  127. package/props/time-select.d.ts +216 -0
  128. package/props/time-select.mjs +67 -0
  129. package/props/time.d.ts +304 -0
  130. package/{chunks/C3MF_-bN.mjs → props/time.mjs} +8 -39
  131. package/props/tree.d.ts +76 -0
  132. package/props/tree.mjs +75 -0
  133. package/sub-table/index.d.ts +3 -0
  134. package/sub-table/index.mjs +1 -1
  135. package/sub-table-plus/index.mjs +1 -1
  136. package/table-column/index.mjs +1 -1
  137. package/table-column-def/index.mjs +1 -1
  138. package/table-view/index.mjs +13 -13
  139. package/toolbar/index.mjs +1 -1
  140. package/toolbar-button/index.mjs +1 -1
  141. package/vue-cron/index.mjs +1 -1
  142. package/web-types.json +1 -1
  143. package/x-input-tag/index.mjs +2 -2
  144. package/year-calendar/index.mjs +1 -1
  145. package/year-calendar/style.css +1 -1
  146. package/chunks/6GcIyEQV.mjs +0 -95
  147. package/chunks/8c9TEVNY.mjs +0 -36
  148. package/chunks/AAZfNtly.mjs +0 -119
  149. package/chunks/BKlMENhV.mjs +0 -57
  150. package/chunks/BNVYEWWW.mjs +0 -57
  151. package/chunks/BTuzBfTA.mjs +0 -141
  152. package/chunks/C6Dq9Dgb.mjs +0 -17
  153. package/chunks/C6u76g6o.mjs +0 -158
  154. package/chunks/CLO5X9Lb.mjs +0 -176
  155. package/chunks/CdoiMj7L2.mjs +0 -39
  156. package/chunks/DTVTvvq-.mjs +0 -189
  157. package/chunks/DWE67l1f.mjs +0 -317
  158. package/chunks/DWMePN6q.mjs +0 -660
  159. package/chunks/D_L1p3vm2.mjs +0 -90
  160. package/chunks/Dy_5vPdP.mjs +0 -101
  161. package/chunks/Goee5Y-H.mjs +0 -198
  162. /package/chunks/{BlxLaWcU.mjs → 6av50rJm.mjs} +0 -0
  163. /package/chunks/{CkOD-_VV.mjs → B1MSrc6f.mjs} +0 -0
  164. /package/chunks/{BNqVEHk_.mjs → C-0zqLII.mjs} +0 -0
  165. /package/chunks/{xq_LR6R2.mjs → CI1ehQi5.mjs} +0 -0
  166. /package/chunks/{DcTVYqeJ.mjs → DuOxL6xh.mjs} +0 -0
  167. /package/chunks/{CXsoKP22.mjs → mekxD3ef.mjs} +0 -0
@@ -0,0 +1,72 @@
1
+ import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
2
+ //#region src/props/input-number.ts
3
+ var n = {
4
+ ...t,
5
+ ...e,
6
+ modelValue: [Number, null],
7
+ min: {
8
+ type: Number,
9
+ default: -(2 ** 53 - 1)
10
+ },
11
+ max: {
12
+ type: Number,
13
+ default: 2 ** 53 - 1
14
+ },
15
+ step: {
16
+ type: Number,
17
+ default: 1
18
+ },
19
+ stepStrictly: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ precision: Number,
24
+ size: {
25
+ type: String,
26
+ default: "default"
27
+ },
28
+ readonly: {
29
+ type: Boolean,
30
+ default: !1
31
+ },
32
+ controls: {
33
+ type: Boolean,
34
+ default: !1
35
+ },
36
+ controlsPosition: String,
37
+ name: String,
38
+ ariaLabel: String,
39
+ placeholder: String,
40
+ id: String,
41
+ valueOnClear: [
42
+ Number,
43
+ null,
44
+ String
45
+ ],
46
+ validateEvent: {
47
+ type: Boolean,
48
+ default: !0
49
+ },
50
+ inputmode: String,
51
+ align: {
52
+ type: String,
53
+ default: "left"
54
+ },
55
+ disabledScientific: {
56
+ type: Boolean,
57
+ default: !1
58
+ },
59
+ prefix: String,
60
+ suffix: String,
61
+ append: String
62
+ }, r = {
63
+ readonly: !0,
64
+ placeholder: !0,
65
+ disabled: !0,
66
+ modelValue: !0,
67
+ prefix: !0,
68
+ suffix: !0,
69
+ valueOnClear: !0
70
+ }, i = (e) => t[e] === void 0 && r[e] !== !0;
71
+ //#endregion
72
+ export { n as allProps, r as manualBindProps, i as predicate };
@@ -0,0 +1,123 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ modelValue: (StringConstructor | ArrayConstructor)[];
4
+ arrayMode: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ objectMode: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ separator: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ boundarySelector: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ query: FunctionConstructor;
21
+ type: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ size: {
26
+ type: StringConstructor;
27
+ };
28
+ wrapFormItem: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ disabled: {
33
+ type: BooleanConstructor;
34
+ default: undefined;
35
+ };
36
+ col: BooleanConstructor;
37
+ span: {
38
+ type: NumberConstructor;
39
+ default: number;
40
+ };
41
+ offset: {
42
+ type: NumberConstructor;
43
+ default: number;
44
+ };
45
+ push: {
46
+ type: NumberConstructor;
47
+ default: number;
48
+ };
49
+ pull: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ xs: {
54
+ type: (ObjectConstructor | NumberConstructor)[];
55
+ };
56
+ sm: {
57
+ type: (ObjectConstructor | NumberConstructor)[];
58
+ };
59
+ md: {
60
+ type: (ObjectConstructor | NumberConstructor)[];
61
+ };
62
+ lg: {
63
+ type: (ObjectConstructor | NumberConstructor)[];
64
+ };
65
+ xl: {
66
+ type: (ObjectConstructor | NumberConstructor)[];
67
+ };
68
+ tag: {
69
+ type: StringConstructor;
70
+ default: string;
71
+ };
72
+ prop: (StringConstructor | ArrayConstructor)[];
73
+ label: StringConstructor;
74
+ labelPosition: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ labelWidth: (StringConstructor | NumberConstructor)[];
79
+ required: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ rules: ObjectConstructor;
84
+ error: StringConstructor;
85
+ showMessage: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ inlineMessage: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ for: StringConstructor;
94
+ validateStatus: StringConstructor;
95
+ messagePrefix: StringConstructor;
96
+ message: StringConstructor;
97
+ wrapCol: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ fixedSpan: NumberConstructor;
102
+ block: {
103
+ type: BooleanConstructor;
104
+ default: undefined;
105
+ };
106
+ unwrap: BooleanConstructor;
107
+ half: BooleanConstructor;
108
+ formItemClass: StringConstructor;
109
+ hideLabel: BooleanConstructor;
110
+ tips: {
111
+ type: StringConstructor;
112
+ };
113
+ tipsAfterLabel: {
114
+ type: BooleanConstructor;
115
+ default: boolean;
116
+ };
117
+ labelColspan: (StringConstructor | NumberConstructor)[];
118
+ inputColspan: (StringConstructor | NumberConstructor)[];
119
+ labelRowspan: (StringConstructor | NumberConstructor)[];
120
+ inputRowspan: (StringConstructor | NumberConstructor)[];
121
+ };
122
+ export declare const manualBindProps: Record<string, boolean | undefined>;
123
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -0,0 +1,33 @@
1
+ import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
2
+ //#region src/props/input-tag.ts
3
+ var n = {
4
+ ...t,
5
+ ...e,
6
+ modelValue: [Array, String],
7
+ arrayMode: {
8
+ type: Boolean,
9
+ default: !0
10
+ },
11
+ objectMode: {
12
+ type: Boolean,
13
+ default: !0
14
+ },
15
+ separator: {
16
+ type: String,
17
+ default: ","
18
+ },
19
+ boundarySelector: {
20
+ type: String,
21
+ default: ".form-scroller"
22
+ },
23
+ query: Function,
24
+ type: {
25
+ type: String,
26
+ default: "标签"
27
+ }
28
+ }, r = {
29
+ disabled: !0,
30
+ modelValue: !0
31
+ }, i = (e) => t[e] === void 0 && r[e] !== !0;
32
+ //#endregion
33
+ export { n as allProps, r as manualBindProps, i as predicate };
@@ -0,0 +1,299 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ /**
4
+ * 输入类型,更多信息请参见 MDN
5
+ */
6
+ type: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ /**
11
+ * 绑定值
12
+ */
13
+ modelValue: (StringConstructor | NumberConstructor)[];
14
+ /**
15
+ * v-model 修饰符,参考 Vue 修饰符
16
+ * @since 2.11.5
17
+ */
18
+ modelModifiers: ObjectConstructor;
19
+ /**
20
+ * 同原生 maxlength 属性
21
+ */
22
+ maxlength: {
23
+ type: (StringConstructor | NumberConstructor)[];
24
+ default: number;
25
+ };
26
+ /**
27
+ * 原生属性,最小输入长度
28
+ */
29
+ minlength: (StringConstructor | NumberConstructor)[];
30
+ /**
31
+ * 是否显示统计字数,只在 type 为 'text' 或 'textarea' 的时候生效
32
+ */
33
+ showWordLimit: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ /**
38
+ * 字数统计的位置,仅当 showWordLimit 为 true 时生效
39
+ * @since 2.11.5
40
+ * @values inside, outside
41
+ */
42
+ wordLimitPosition: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ /**
47
+ * 输入框占位文本
48
+ */
49
+ placeholder: StringConstructor;
50
+ /**
51
+ * 是否显示清除按钮,只有当 type 不是 textarea 时生效
52
+ */
53
+ clearable: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ /**
58
+ * 自定义清除图标
59
+ * @since 2.11.0
60
+ */
61
+ clearIcon: (StringConstructor | ObjectConstructor)[];
62
+ /**
63
+ * 指定输入值的格式(只有当 type 是 "text" 时才能工作)
64
+ */
65
+ formatter: FunctionConstructor;
66
+ /**
67
+ * 指定从格式化器输入中提取的值(仅当 type 是 "text" 时才起作用)
68
+ */
69
+ parser: FunctionConstructor;
70
+ /**
71
+ * 是否显示切换密码图标
72
+ */
73
+ showPassword: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ /**
78
+ * 输入框尺寸,只在 type 不为 'textarea' 时有效
79
+ * @values large, default, small
80
+ */
81
+ size: StringConstructor;
82
+ /**
83
+ * 自定义前缀图标
84
+ */
85
+ prefixIcon: (StringConstructor | ObjectConstructor)[];
86
+ /**
87
+ * 自定义后缀图标
88
+ */
89
+ suffixIcon: (StringConstructor | ObjectConstructor)[];
90
+ /**
91
+ * 输入框行数,仅 type 为 'textarea' 时有效
92
+ */
93
+ rows: {
94
+ type: NumberConstructor;
95
+ default: number;
96
+ };
97
+ /**
98
+ * textarea 高度是否自适应,仅 type 为 'textarea' 时生效。可以接受一个对象,比如: { minRows: 2, maxRows: 6 }
99
+ */
100
+ autosize: (BooleanConstructor | ObjectConstructor)[];
101
+ /**
102
+ * 原生 autocomplete 属性
103
+ */
104
+ autocomplete: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ /**
109
+ * 等价于原生 input name 属性
110
+ */
111
+ name: StringConstructor;
112
+ /**
113
+ * 原生 readonly 属性,是否只读
114
+ */
115
+ readonly: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ /**
120
+ * 原生 max 属性,设置最大值
121
+ */
122
+ max: (StringConstructor | NumberConstructor)[];
123
+ /**
124
+ * 原生属性,设置最小值
125
+ */
126
+ min: (StringConstructor | NumberConstructor)[];
127
+ /**
128
+ * 原生属性,设置输入字段的合法数字间隔
129
+ */
130
+ step: (StringConstructor | NumberConstructor)[];
131
+ /**
132
+ * 控制是否能被用户缩放
133
+ * @values none, both, horizontal, vertical
134
+ */
135
+ resize: StringConstructor;
136
+ /**
137
+ * 原生属性,自动获取焦点
138
+ */
139
+ autofocus: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ /**
144
+ * 原生属性
145
+ */
146
+ form: StringConstructor;
147
+ /**
148
+ * 等价于原生 input aria-label 属性
149
+ * @since 2.7.2
150
+ */
151
+ ariaLabel: StringConstructor;
152
+ /**
153
+ * 输入框的 tabindex
154
+ */
155
+ tabindex: (StringConstructor | NumberConstructor)[];
156
+ /**
157
+ * 输入时是否触发表单的校验
158
+ */
159
+ validateEvent: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ /**
164
+ * input 元素或 textarea 元素的 style
165
+ */
166
+ inputStyle: (StringConstructor | ObjectConstructor)[];
167
+ /**
168
+ * 等价于原生 input inputmode 属性
169
+ * @since 2.10.3
170
+ */
171
+ inputmode: StringConstructor;
172
+ /**
173
+ * 自定义函数用于计算字形;设置后,将绕过原生的 maxlength/minlength 约束。组件使用 Intl.Segmenter(Chrome 87+、Firefox 125+、Safari 14.1+)进行正确的字素聚类;旧版浏览器回退到使用 Array.from() 进行代码点迭代
174
+ * @since 2.13.7
175
+ */
176
+ countGraphemes: FunctionConstructor;
177
+ /**
178
+ * 输入框前置内容,只对非 type="textarea" 有效
179
+ */
180
+ prepend: StringConstructor;
181
+ /**
182
+ * 输入框后置内容,只对非 type="textarea" 有效
183
+ */
184
+ append: StringConstructor;
185
+ /**
186
+ * 输入框头部内容,只对非 type="textarea" 有效
187
+ */
188
+ prefix: StringConstructor;
189
+ /**
190
+ * 输入框尾部内容,只对非 type="textarea" 有效
191
+ */
192
+ suffix: StringConstructor;
193
+ /**
194
+ * 只作为展示和点击
195
+ */
196
+ picker: BooleanConstructor;
197
+ /**
198
+ * 只读时背景是否为灰色
199
+ */
200
+ readonlyGrey: {
201
+ type: BooleanConstructor;
202
+ default: boolean;
203
+ };
204
+ wrapFormItem: {
205
+ type: BooleanConstructor;
206
+ default: boolean;
207
+ };
208
+ disabled: {
209
+ type: BooleanConstructor;
210
+ default: undefined;
211
+ };
212
+ col: BooleanConstructor;
213
+ span: {
214
+ type: NumberConstructor;
215
+ default: number;
216
+ };
217
+ offset: {
218
+ type: NumberConstructor;
219
+ default: number;
220
+ };
221
+ push: {
222
+ type: NumberConstructor;
223
+ default: number;
224
+ };
225
+ pull: {
226
+ type: NumberConstructor;
227
+ default: number;
228
+ };
229
+ xs: {
230
+ type: (ObjectConstructor | NumberConstructor)[];
231
+ };
232
+ sm: {
233
+ type: (ObjectConstructor | NumberConstructor)[];
234
+ };
235
+ md: {
236
+ type: (ObjectConstructor | NumberConstructor)[];
237
+ };
238
+ lg: {
239
+ type: (ObjectConstructor | NumberConstructor)[];
240
+ };
241
+ xl: {
242
+ type: (ObjectConstructor | NumberConstructor)[];
243
+ };
244
+ tag: {
245
+ type: StringConstructor;
246
+ default: string;
247
+ };
248
+ prop: (StringConstructor | ArrayConstructor)[];
249
+ label: StringConstructor;
250
+ labelPosition: {
251
+ type: StringConstructor;
252
+ default: string;
253
+ };
254
+ labelWidth: (StringConstructor | NumberConstructor)[];
255
+ required: {
256
+ type: BooleanConstructor;
257
+ default: boolean;
258
+ };
259
+ rules: ObjectConstructor;
260
+ error: StringConstructor;
261
+ showMessage: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
265
+ inlineMessage: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
269
+ for: StringConstructor;
270
+ validateStatus: StringConstructor;
271
+ messagePrefix: StringConstructor;
272
+ message: StringConstructor;
273
+ wrapCol: {
274
+ type: BooleanConstructor;
275
+ default: boolean;
276
+ };
277
+ fixedSpan: NumberConstructor;
278
+ block: {
279
+ type: BooleanConstructor;
280
+ default: undefined;
281
+ };
282
+ unwrap: BooleanConstructor;
283
+ half: BooleanConstructor;
284
+ formItemClass: StringConstructor;
285
+ hideLabel: BooleanConstructor;
286
+ tips: {
287
+ type: StringConstructor;
288
+ };
289
+ tipsAfterLabel: {
290
+ type: BooleanConstructor;
291
+ default: boolean;
292
+ };
293
+ labelColspan: (StringConstructor | NumberConstructor)[];
294
+ inputColspan: (StringConstructor | NumberConstructor)[];
295
+ labelRowspan: (StringConstructor | NumberConstructor)[];
296
+ inputRowspan: (StringConstructor | NumberConstructor)[];
297
+ };
298
+ export declare const manualBindProps: Record<string, boolean | undefined>;
299
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -0,0 +1,97 @@
1
+ import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
2
+ //#region src/props/input.ts
3
+ var n = {
4
+ ...t,
5
+ ...e,
6
+ type: {
7
+ type: String,
8
+ default: "text"
9
+ },
10
+ modelValue: [String, Number],
11
+ modelModifiers: Object,
12
+ maxlength: {
13
+ type: [String, Number],
14
+ default: 255
15
+ },
16
+ minlength: [String, Number],
17
+ showWordLimit: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ wordLimitPosition: {
22
+ type: String,
23
+ default: "inside"
24
+ },
25
+ placeholder: String,
26
+ clearable: {
27
+ type: Boolean,
28
+ default: !0
29
+ },
30
+ clearIcon: [String, Object],
31
+ formatter: Function,
32
+ parser: Function,
33
+ showPassword: {
34
+ type: Boolean,
35
+ default: !1
36
+ },
37
+ size: String,
38
+ prefixIcon: [String, Object],
39
+ suffixIcon: [String, Object],
40
+ rows: {
41
+ type: Number,
42
+ default: 4
43
+ },
44
+ autosize: [Boolean, Object],
45
+ autocomplete: {
46
+ type: String,
47
+ default: "off"
48
+ },
49
+ name: String,
50
+ readonly: {
51
+ type: Boolean,
52
+ default: !1
53
+ },
54
+ max: [String, Number],
55
+ min: [String, Number],
56
+ step: [String, Number],
57
+ resize: String,
58
+ autofocus: {
59
+ type: Boolean,
60
+ default: !1
61
+ },
62
+ form: String,
63
+ ariaLabel: String,
64
+ tabindex: [String, Number],
65
+ validateEvent: {
66
+ type: Boolean,
67
+ default: !0
68
+ },
69
+ inputStyle: [String, Object],
70
+ inputmode: String,
71
+ countGraphemes: Function,
72
+ prepend: String,
73
+ append: String,
74
+ prefix: String,
75
+ suffix: String,
76
+ picker: Boolean,
77
+ readonlyGrey: {
78
+ type: Boolean,
79
+ default: !0
80
+ }
81
+ }, r = {
82
+ readonly: !0,
83
+ prefixIcon: !0,
84
+ disabled: !0,
85
+ suffixIcon: !0,
86
+ placeholder: !0,
87
+ modelValue: !0,
88
+ block: !0,
89
+ readonlyGrey: !0,
90
+ picker: !0,
91
+ append: !0,
92
+ prefix: !0,
93
+ suffix: !0,
94
+ prepend: !0
95
+ }, i = (e) => t[e] === void 0 && r[e] !== !0;
96
+ //#endregion
97
+ export { n as allProps, r as manualBindProps, i as predicate };