@web-utils/form-ui 1.0.0-beta56 → 1.0.0-beta58

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 (153) hide show
  1. package/chunks/-qKZw-3p2.mjs +23 -0
  2. package/chunks/{CauzhVSa2.mjs → 4-vc_q1t.mjs} +12 -12
  3. package/chunks/{Bq62m7IR2.mjs → 4C611CU2.mjs} +11 -11
  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/{5KomemiE2.mjs → BlmtfUfl2.mjs} +29 -29
  12. package/chunks/CE1uX9hJ.mjs +95 -0
  13. package/chunks/CGnOR2gn.mjs +59 -0
  14. package/chunks/CJ1-f8sg.mjs +30 -0
  15. package/chunks/{B3A-CnYr.mjs → CSnlDCNV.mjs} +5 -5
  16. package/chunks/CdzoVG6J.mjs +47 -0
  17. package/chunks/{BZTAuJxn2.mjs → CqoMZ9Wo2.mjs} +1 -1
  18. package/chunks/CrQmTHMA.mjs +105 -0
  19. package/chunks/Crh2RUrS.mjs +106 -0
  20. package/chunks/DBUJ7Bva.mjs +56 -0
  21. package/chunks/DB_UKPay.mjs +27 -0
  22. package/chunks/{BvKUeniN.mjs → DEC2O0q-.mjs} +46 -44
  23. package/chunks/{BoJgSMkL.mjs → DUhF8YOY.mjs} +2 -2
  24. package/chunks/{g8MIBMw92.mjs → Dqq8z1t4.mjs} +13 -13
  25. package/chunks/Du1PslcN.mjs +28 -0
  26. package/chunks/{Dluor05A.mjs → DyEYDv4B.mjs} +7 -6
  27. package/chunks/EAJCsX8W.mjs +32 -0
  28. package/chunks/ZFJ73RWd2.mjs +29 -0
  29. package/chunks/{D2B9Y3oT.mjs → fmIV_kHp.mjs} +2 -2
  30. package/chunks/h5488Kii.mjs +27 -0
  31. package/chunks/k3cC9SGC.mjs +27 -0
  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/confirm-button/index.mjs +1 -1
  36. package/confirmable/index.mjs +1 -1
  37. package/editable-tree/index.mjs +591 -2
  38. package/element-dialog/index.mjs +1 -1
  39. package/element-resize-observer/index.mjs +1 -1
  40. package/form-cascader/index.mjs +1 -1
  41. package/form-checkbox/index.mjs +1 -1
  42. package/form-checkbox-group/index.mjs +1 -1
  43. package/form-date-picker/index.mjs +1 -1
  44. package/form-holder/index.mjs +1 -1
  45. package/form-image/index.mjs +1 -1
  46. package/form-input/index.mjs +1 -1
  47. package/form-input-cron-expression/index.mjs +1 -1
  48. package/form-input-email/index.mjs +1 -1
  49. package/form-input-id-card/index.mjs +1 -1
  50. package/form-input-number/index.mjs +1 -1
  51. package/form-input-phone-number/index.mjs +1 -1
  52. package/form-input-tag/index.mjs +1 -1
  53. package/form-input-time/index.mjs +1 -1
  54. package/form-item-group/index.mjs +1 -1
  55. package/form-item-x/index.mjs +1 -1
  56. package/form-radio-group/index.mjs +1 -1
  57. package/form-rate/index.mjs +1 -1
  58. package/form-row/index.mjs +1 -1
  59. package/form-select/index.mjs +1 -1
  60. package/form-slider/index.mjs +1 -1
  61. package/form-switch/index.mjs +1 -1
  62. package/form-table/index.mjs +1 -1
  63. package/form-table-plus/index.mjs +1 -1
  64. package/form-text/index.mjs +1 -1
  65. package/form-textarea/index.mjs +1 -1
  66. package/form-time-select/index.mjs +1 -1
  67. package/helper/dictionary.mjs +1 -1
  68. package/helper/form-item.d.ts +1 -1
  69. package/helper/form-item.mjs +27 -2
  70. package/helper/input.mjs +1 -1
  71. package/iframe-window/index.mjs +1 -1
  72. package/index.mjs +37 -37
  73. package/package.json +1 -1
  74. package/pageable-table/index.mjs +1 -1
  75. package/props/cascader.d.ts +326 -0
  76. package/{chunks/Czz_49pC.mjs → props/cascader.mjs} +8 -58
  77. package/props/checkbox-group.d.ts +213 -0
  78. package/props/checkbox-group.mjs +83 -0
  79. package/props/checkbox.d.ts +202 -0
  80. package/props/checkbox.mjs +71 -0
  81. package/props/col.d.ts +74 -0
  82. package/props/col.mjs +32 -0
  83. package/props/common.d.ts +114 -0
  84. package/props/common.mjs +18 -0
  85. package/props/date.d.ts +339 -0
  86. package/props/date.mjs +145 -0
  87. package/props/form-item.d.ts +144 -0
  88. package/props/form-item.mjs +73 -0
  89. package/props/form.d.ts +157 -0
  90. package/props/form.mjs +89 -0
  91. package/props/image.d.ts +102 -0
  92. package/props/image.mjs +10 -0
  93. package/props/input-cron.d.ts +102 -0
  94. package/props/input-cron.mjs +16 -0
  95. package/props/input-number.d.ts +216 -0
  96. package/props/input-number.mjs +72 -0
  97. package/props/input-tag.d.ts +123 -0
  98. package/props/input-tag.mjs +33 -0
  99. package/props/input.d.ts +299 -0
  100. package/props/input.mjs +97 -0
  101. package/props/radio-group.d.ts +205 -0
  102. package/props/radio-group.mjs +84 -0
  103. package/props/rate.d.ts +211 -0
  104. package/{chunks/D0kIhzQo.mjs → props/rate.mjs} +7 -28
  105. package/props/select.d.ts +450 -0
  106. package/props/select.mjs +218 -0
  107. package/props/slide.d.ts +235 -0
  108. package/{chunks/DZrQmH9Y.mjs → props/slide.mjs} +7 -28
  109. package/props/switch.d.ts +229 -0
  110. package/{chunks/ecpQ-ODX.mjs → props/switch.mjs} +7 -33
  111. package/props/text.d.ts +127 -0
  112. package/props/text.mjs +22 -0
  113. package/props/textarea.d.ts +266 -0
  114. package/{chunks/CNK4mfga.mjs → props/textarea.mjs} +19 -31
  115. package/props/time-select.d.ts +216 -0
  116. package/props/time-select.mjs +67 -0
  117. package/props/time.d.ts +304 -0
  118. package/{chunks/C3MF_-bN.mjs → props/time.mjs} +8 -39
  119. package/props/tree.d.ts +76 -0
  120. package/props/tree.mjs +75 -0
  121. package/sub-table/index.mjs +1 -1
  122. package/sub-table-plus/index.mjs +1 -1
  123. package/table-column/index.mjs +1 -1
  124. package/table-column-def/index.mjs +1 -1
  125. package/table-view/index.mjs +13 -13
  126. package/toolbar/index.mjs +1 -1
  127. package/toolbar-button/index.mjs +1 -1
  128. package/vue-cron/index.mjs +1 -1
  129. package/web-types.json +1 -1
  130. package/x-input-tag/index.mjs +2 -2
  131. package/year-calendar/index.mjs +1 -1
  132. package/chunks/6GcIyEQV.mjs +0 -95
  133. package/chunks/8c9TEVNY.mjs +0 -36
  134. package/chunks/AAZfNtly.mjs +0 -119
  135. package/chunks/BKlMENhV.mjs +0 -57
  136. package/chunks/BNVYEWWW.mjs +0 -57
  137. package/chunks/BTuzBfTA.mjs +0 -141
  138. package/chunks/C6Dq9Dgb.mjs +0 -17
  139. package/chunks/C6u76g6o.mjs +0 -158
  140. package/chunks/CLO5X9Lb.mjs +0 -176
  141. package/chunks/CdoiMj7L2.mjs +0 -39
  142. package/chunks/DTVTvvq-.mjs +0 -189
  143. package/chunks/DWE67l1f.mjs +0 -317
  144. package/chunks/DWMePN6q.mjs +0 -660
  145. package/chunks/D_L1p3vm2.mjs +0 -90
  146. package/chunks/Dy_5vPdP.mjs +0 -101
  147. package/chunks/Goee5Y-H.mjs +0 -198
  148. /package/chunks/{BlxLaWcU.mjs → 6av50rJm.mjs} +0 -0
  149. /package/chunks/{CkOD-_VV.mjs → B1MSrc6f.mjs} +0 -0
  150. /package/chunks/{BNqVEHk_.mjs → C-0zqLII.mjs} +0 -0
  151. /package/chunks/{xq_LR6R2.mjs → CI1ehQi5.mjs} +0 -0
  152. /package/chunks/{DcTVYqeJ.mjs → DuOxL6xh.mjs} +0 -0
  153. /package/chunks/{CXsoKP22.mjs → mekxD3ef.mjs} +0 -0
@@ -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 };
@@ -0,0 +1,205 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ /**
4
+ * 绑定值
5
+ */
6
+ modelValue: (StringConstructor | BooleanConstructor | NumberConstructor)[];
7
+ /**
8
+ * 单选框按钮或边框按钮的大小
9
+ * @values large, default, small
10
+ */
11
+ size: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ /**
16
+ * 输入时是否触发表单的校验
17
+ */
18
+ validateEvent: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ /**
23
+ * 按钮形式的 Radio 激活时的文本颜色
24
+ */
25
+ textColor: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ /**
30
+ * 按钮形式的 Radio 激活时的填充色和边框色
31
+ */
32
+ fill: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ /**
37
+ * 与 RadioGroup 中的 aria-label 属性相同
38
+ * @since 2.7.2
39
+ */
40
+ ariaLabel: StringConstructor;
41
+ /**
42
+ * 原生 name 属性
43
+ */
44
+ name: StringConstructor;
45
+ /**
46
+ * 原生 id 属性
47
+ */
48
+ id: StringConstructor;
49
+ /**
50
+ * 选项的数据源,value 的 key 和 label 和 disabled 可以通过 props 自定义
51
+ * @since 2.11.2
52
+ */
53
+ options: {
54
+ type: ArrayConstructor;
55
+ default: () => never[];
56
+ };
57
+ /**
58
+ * options 的配置
59
+ * @since 2.11.2
60
+ */
61
+ props: {
62
+ type: ObjectConstructor;
63
+ default: () => {
64
+ value: string;
65
+ label: string;
66
+ disabled: string;
67
+ };
68
+ };
69
+ /**
70
+ * 用于渲染选项的组件类型(例如 'button')
71
+ * @since 2.11.5
72
+ * @values radio, button
73
+ */
74
+ type: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ border: BooleanConstructor;
79
+ gender: BooleanConstructor;
80
+ overFlow: BooleanConstructor;
81
+ confirm: BooleanConstructor;
82
+ trigger: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ labelProp: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ valueProp: {
91
+ type: StringConstructor;
92
+ default: string;
93
+ };
94
+ english: BooleanConstructor;
95
+ chinese: BooleanConstructor;
96
+ typing: BooleanConstructor;
97
+ classic: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ fillRow: BooleanConstructor;
102
+ ellipsis: BooleanConstructor;
103
+ inline: BooleanConstructor;
104
+ allowCancel: BooleanConstructor;
105
+ radioType: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ dictType: StringConstructor;
110
+ wrapFormItem: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ disabled: {
115
+ type: BooleanConstructor;
116
+ default: undefined;
117
+ };
118
+ col: BooleanConstructor;
119
+ span: {
120
+ type: NumberConstructor;
121
+ default: number;
122
+ };
123
+ offset: {
124
+ type: NumberConstructor;
125
+ default: number;
126
+ };
127
+ push: {
128
+ type: NumberConstructor;
129
+ default: number;
130
+ };
131
+ pull: {
132
+ type: NumberConstructor;
133
+ default: number;
134
+ };
135
+ xs: {
136
+ type: (ObjectConstructor | NumberConstructor)[];
137
+ };
138
+ sm: {
139
+ type: (ObjectConstructor | NumberConstructor)[];
140
+ };
141
+ md: {
142
+ type: (ObjectConstructor | NumberConstructor)[];
143
+ };
144
+ lg: {
145
+ type: (ObjectConstructor | NumberConstructor)[];
146
+ };
147
+ xl: {
148
+ type: (ObjectConstructor | NumberConstructor)[];
149
+ };
150
+ tag: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ prop: (StringConstructor | ArrayConstructor)[];
155
+ label: StringConstructor;
156
+ labelPosition: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ };
160
+ labelWidth: (StringConstructor | NumberConstructor)[];
161
+ required: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ rules: ObjectConstructor;
166
+ error: StringConstructor;
167
+ showMessage: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ inlineMessage: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ for: StringConstructor;
176
+ validateStatus: StringConstructor;
177
+ messagePrefix: StringConstructor;
178
+ message: StringConstructor;
179
+ wrapCol: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
183
+ fixedSpan: NumberConstructor;
184
+ block: {
185
+ type: BooleanConstructor;
186
+ default: undefined;
187
+ };
188
+ unwrap: BooleanConstructor;
189
+ half: BooleanConstructor;
190
+ formItemClass: StringConstructor;
191
+ hideLabel: BooleanConstructor;
192
+ tips: {
193
+ type: StringConstructor;
194
+ };
195
+ tipsAfterLabel: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
199
+ labelColspan: (StringConstructor | NumberConstructor)[];
200
+ inputColspan: (StringConstructor | NumberConstructor)[];
201
+ labelRowspan: (StringConstructor | NumberConstructor)[];
202
+ inputRowspan: (StringConstructor | NumberConstructor)[];
203
+ };
204
+ export declare const manualBindProps: Record<string, boolean | undefined>;
205
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -0,0 +1,84 @@
1
+ import { commonManualBindProps as e } from "./common.mjs";
2
+ //#region src/props/radio-group.ts
3
+ var t = {
4
+ ...e,
5
+ modelValue: [
6
+ String,
7
+ Number,
8
+ Boolean
9
+ ],
10
+ size: {
11
+ type: String,
12
+ default: "default"
13
+ },
14
+ validateEvent: {
15
+ type: Boolean,
16
+ default: !0
17
+ },
18
+ textColor: {
19
+ type: String,
20
+ default: "#ffffff"
21
+ },
22
+ fill: {
23
+ type: String,
24
+ default: "#409eff"
25
+ },
26
+ ariaLabel: String,
27
+ name: String,
28
+ id: String,
29
+ options: {
30
+ type: Array,
31
+ default: () => []
32
+ },
33
+ props: {
34
+ type: Object,
35
+ default: () => ({
36
+ value: "value",
37
+ label: "label",
38
+ disabled: "disabled"
39
+ })
40
+ },
41
+ type: {
42
+ type: String,
43
+ default: "radio"
44
+ },
45
+ border: Boolean,
46
+ gender: Boolean,
47
+ overFlow: Boolean,
48
+ confirm: Boolean,
49
+ trigger: {
50
+ type: String,
51
+ default: "change"
52
+ },
53
+ labelProp: {
54
+ type: String,
55
+ default: "name"
56
+ },
57
+ valueProp: {
58
+ type: String,
59
+ default: "code"
60
+ },
61
+ english: Boolean,
62
+ chinese: Boolean,
63
+ typing: Boolean,
64
+ classic: {
65
+ type: Boolean,
66
+ default: !0
67
+ },
68
+ fillRow: Boolean,
69
+ ellipsis: Boolean,
70
+ inline: Boolean,
71
+ allowCancel: Boolean,
72
+ radioType: {
73
+ type: String,
74
+ default: "radio"
75
+ },
76
+ dictType: String
77
+ }, n = {
78
+ modelValue: !0,
79
+ disabled: !0,
80
+ type: !0,
81
+ options: !0
82
+ }, r = (t) => e[t] === void 0 && n[t] !== !0;
83
+ //#endregion
84
+ export { t as allProps, n as manualBindProps, r as predicate };