@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,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 };
@@ -0,0 +1,211 @@
1
+ import { commonManualBindProps } from './common.ts';
2
+ export declare const allProps: {
3
+ /**
4
+ * 选中项绑定值
5
+ */
6
+ modelValue: NumberConstructor;
7
+ /**
8
+ * 最大分值
9
+ */
10
+ max: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ /**
15
+ * 尺寸
16
+ * @values large, default, small
17
+ */
18
+ size: StringConstructor;
19
+ /**
20
+ * 是否允许半选
21
+ */
22
+ allowHalf: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ /**
27
+ * 低分和中等分数的界限值,值本身被划分在低分中
28
+ */
29
+ lowThreshold: {
30
+ type: NumberConstructor;
31
+ default: number;
32
+ };
33
+ /**
34
+ * 高分和中等分数的界限值,值本身被划分在高分中
35
+ */
36
+ highThreshold: {
37
+ type: NumberConstructor;
38
+ default: number;
39
+ };
40
+ /**
41
+ * icon 的颜色。若传入数组,共有 3 个元素,为 3 个分段所对应的颜色;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的颜色
42
+ */
43
+ colors: (ObjectConstructor | ArrayConstructor)[];
44
+ /**
45
+ * 未选中 icon 的颜色
46
+ */
47
+ voidColor: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ /**
52
+ * 只读时未选中 icon 的颜色
53
+ */
54
+ disabledVoidColor: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ /**
59
+ * 图标组件 若传入数组,则需要传入 3 个元素,分别为 3 个部分所对应的类名;若传入对象,则可自定义分段,键名为分段的界限值,键值为对应的类名
60
+ */
61
+ icons: (ObjectConstructor | ArrayConstructor)[];
62
+ /**
63
+ * 未被选中的图标组件
64
+ */
65
+ voidIcon: (StringConstructor | ObjectConstructor)[];
66
+ /**
67
+ * 禁用状态的未选择图标
68
+ */
69
+ disabledVoidIcon: (StringConstructor | ObjectConstructor)[];
70
+ /**
71
+ * 是否显示辅助文字,若为真,则会从 texts 数组中选取当前分数对应的文字内容
72
+ */
73
+ showText: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ /**
78
+ * 是否显示当前分数,showScore 和 showText 不能同时为真
79
+ */
80
+ showScore: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ /**
85
+ * 辅助文字的颜色
86
+ */
87
+ textColor: StringConstructor;
88
+ /**
89
+ * 辅助文字数组
90
+ */
91
+ texts: {
92
+ type: ArrayConstructor;
93
+ default: () => string[];
94
+ };
95
+ /**
96
+ * 分数显示模板
97
+ */
98
+ scoreTemplate: StringConstructor;
99
+ /**
100
+ * 是否可以重置值为 0
101
+ * @since 2.2.18
102
+ */
103
+ clearable: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ /**
108
+ * 原生 id 属性
109
+ */
110
+ id: StringConstructor;
111
+ /**
112
+ * 和 Rate 的 aria-label 属性保持一致
113
+ * @since 2.7.2
114
+ */
115
+ ariaLabel: StringConstructor;
116
+ wrapFormItem: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ disabled: {
121
+ type: BooleanConstructor;
122
+ default: undefined;
123
+ };
124
+ col: BooleanConstructor;
125
+ span: {
126
+ type: NumberConstructor;
127
+ default: number;
128
+ };
129
+ offset: {
130
+ type: NumberConstructor;
131
+ default: number;
132
+ };
133
+ push: {
134
+ type: NumberConstructor;
135
+ default: number;
136
+ };
137
+ pull: {
138
+ type: NumberConstructor;
139
+ default: number;
140
+ };
141
+ xs: {
142
+ type: (ObjectConstructor | NumberConstructor)[];
143
+ };
144
+ sm: {
145
+ type: (ObjectConstructor | NumberConstructor)[];
146
+ };
147
+ md: {
148
+ type: (ObjectConstructor | NumberConstructor)[];
149
+ };
150
+ lg: {
151
+ type: (ObjectConstructor | NumberConstructor)[];
152
+ };
153
+ xl: {
154
+ type: (ObjectConstructor | NumberConstructor)[];
155
+ };
156
+ tag: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ };
160
+ prop: (StringConstructor | ArrayConstructor)[];
161
+ label: StringConstructor;
162
+ labelPosition: {
163
+ type: StringConstructor;
164
+ default: string;
165
+ };
166
+ labelWidth: (StringConstructor | NumberConstructor)[];
167
+ required: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ rules: ObjectConstructor;
172
+ error: StringConstructor;
173
+ showMessage: {
174
+ type: BooleanConstructor;
175
+ default: boolean;
176
+ };
177
+ inlineMessage: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ for: StringConstructor;
182
+ validateStatus: StringConstructor;
183
+ messagePrefix: StringConstructor;
184
+ message: StringConstructor;
185
+ wrapCol: {
186
+ type: BooleanConstructor;
187
+ default: boolean;
188
+ };
189
+ fixedSpan: NumberConstructor;
190
+ block: {
191
+ type: BooleanConstructor;
192
+ default: undefined;
193
+ };
194
+ unwrap: BooleanConstructor;
195
+ half: BooleanConstructor;
196
+ formItemClass: StringConstructor;
197
+ hideLabel: BooleanConstructor;
198
+ tips: {
199
+ type: StringConstructor;
200
+ };
201
+ tipsAfterLabel: {
202
+ type: BooleanConstructor;
203
+ default: boolean;
204
+ };
205
+ labelColspan: (StringConstructor | NumberConstructor)[];
206
+ inputColspan: (StringConstructor | NumberConstructor)[];
207
+ labelRowspan: (StringConstructor | NumberConstructor)[];
208
+ inputRowspan: (StringConstructor | NumberConstructor)[];
209
+ };
210
+ export declare const manualBindProps: Record<string, boolean | undefined>;
211
+ export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
@@ -1,10 +1,7 @@
1
- import { n as e, o as t } from "./BvKUeniN.mjs";
2
- import { n } from "./C6Dq9Dgb.mjs";
3
- import { createVNode as r, mergeProps as i, useModel as a } from "vue";
4
- import { ElRate as o } from "element-plus/es";
5
- //#region src/components/form/props/rate.ts
6
- var s = {
7
- ...n,
1
+ import { commonManualBindProps as e } from "./common.mjs";
2
+ //#region src/props/rate.ts
3
+ var t = {
4
+ ...e,
8
5
  modelValue: Number,
9
6
  max: {
10
7
  type: Number,
@@ -61,27 +58,9 @@ var s = {
61
58
  },
62
59
  id: String,
63
60
  ariaLabel: String
64
- }, c = {
61
+ }, n = {
65
62
  disabled: !0,
66
63
  modelValue: !0
67
- }, l = (e) => n[e] === void 0 && c[e] !== !0, u = {
68
- name: "FormRate",
69
- inheritAttrs: !1,
70
- props: { ...s },
71
- emits: { ...e },
72
- setup(e, { emit: n, slots: s, attrs: c }) {
73
- let u = a(e, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = t(e, {
74
- emit: n,
75
- slots: s,
76
- attrs: c,
77
- predicate: l
78
- });
79
- return () => d({ vNodes: r(o, i(p.value, m.value, {
80
- modelValue: u.value,
81
- "onUpdate:modelValue": (e) => u.value = e,
82
- disabled: f.value
83
- }), null) });
84
- }
85
- };
64
+ }, r = (t) => e[t] === void 0 && n[t] !== !0;
86
65
  //#endregion
87
- export { u as t };
66
+ export { t as allProps, n as manualBindProps, r as predicate };