@web-utils/form-ui 1.0.0-beta4 → 1.0.0-beta40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/index.d.ts +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -0
- package/chunks/B1MSrc6f.mjs +8 -0
- package/chunks/B3ajWLh3.mjs +198 -0
- package/chunks/BH_JJ8Xh.mjs +106 -0
- package/chunks/BWBHzD5N.mjs +89 -0
- package/chunks/Bd1UFJic.mjs +660 -0
- package/chunks/Bm5eiSmT.mjs +79 -0
- package/chunks/BsCS7SB5.mjs +141 -0
- package/chunks/BufIRDd0.mjs +185 -0
- package/chunks/C1AgOUe_.mjs +172 -0
- package/chunks/C3Uo82-I.mjs +35 -0
- package/chunks/C9dGL28n.mjs +56 -0
- package/chunks/CFOGMFgo.mjs +150 -0
- package/chunks/CLPSCSsy.mjs +603 -0
- package/chunks/CSyJ-vEx.mjs +17 -0
- package/chunks/CTKmEf2M.mjs +93 -0
- package/chunks/CWfUPCtS.mjs +1360 -0
- package/chunks/CXvGoZKJ.mjs +198 -0
- package/chunks/Cab-ZjRx.mjs +164 -0
- package/chunks/ChmDDqoZ2.mjs +478 -0
- package/chunks/Cj59E77g.mjs +230 -0
- package/chunks/CqTcEefA.mjs +93 -0
- package/chunks/Ct5bDJ50.mjs +38 -0
- package/chunks/CuG2Q-PM.mjs +100 -0
- package/chunks/D8UVq1t1.mjs +176 -0
- package/chunks/DDmQcNm6.mjs +93 -0
- package/chunks/DF9fJMQS.mjs +105 -0
- package/chunks/DJe97Fgi.mjs +107 -0
- package/chunks/DXYgAmil.mjs +317 -0
- package/chunks/DhtHh0jk.mjs +87 -0
- package/chunks/DiJyms_r.mjs +100 -0
- package/chunks/Ds_Tpa_M.mjs +83 -0
- package/chunks/TvNHGVAP.mjs +25 -0
- package/chunks/XCGWTz41.mjs +25 -0
- package/chunks/XqRTtFfp.mjs +166 -0
- package/chunks/cmuHpsX6.mjs +109 -0
- package/chunks/o6VhYAN52.mjs +207 -0
- package/chunks/pdwFQpA8.mjs +57 -0
- package/chunks/taicx2sd.mjs +25 -0
- package/confirm-button/index.d.ts +113 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +84 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +53 -0
- package/constants/index.mjs +4 -0
- package/editable-tree/index.d.ts +254 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +337 -16
- package/element-dialog/index.mjs +2 -91
- package/empty-view/index.d.ts +2 -2
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +114 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +472 -0
- package/form-cascader/index.mjs +2 -0
- package/form-check-box-group/index.d.ts +289 -18
- package/form-check-box-group/index.mjs +1 -1
- package/form-check-box-group/style.css +1 -0
- package/form-checkbox/index.d.ts +236 -16
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +390 -19
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +87 -20
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +145 -13
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +301 -20
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +217 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +307 -16
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +307 -16
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +246 -18
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +307 -16
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +263 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +434 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.d.ts +22 -0
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +141 -11
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +303 -16
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +254 -14
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +537 -18
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +283 -16
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +272 -14
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +165 -13
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +319 -0
- package/form-time-select/index.mjs +2 -0
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.d.ts +52 -36
- package/index.mjs +54 -61
- package/package.json +10 -5
- package/pageable-table/index.d.ts +398 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resize-observer/index.d.ts +8 -0
- package/resize-observer/index.mjs +40 -0
- package/resize-observer/style.css +1 -0
- package/resolver/index.mjs +29 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +85 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +340 -1
- package/table-view/index.mjs +453 -6
- package/table-view/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +227 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/utils/style.css +0 -1
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
package/form-rate/index.d.ts
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
modelValue: NumberConstructor;
|
|
3
|
+
max: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
size: StringConstructor;
|
|
8
|
+
allowHalf: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
lowThreshold: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
highThreshold: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
colors: (ObjectConstructor | ArrayConstructor)[];
|
|
21
|
+
voidColor: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
disabledVoidColor: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
icons: (ObjectConstructor | ArrayConstructor)[];
|
|
30
|
+
voidIcon: (StringConstructor | ObjectConstructor)[];
|
|
31
|
+
disabledVoidIcon: (StringConstructor | ObjectConstructor)[];
|
|
32
|
+
showText: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
showScore: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
textColor: StringConstructor;
|
|
41
|
+
texts: {
|
|
42
|
+
type: ArrayConstructor;
|
|
43
|
+
default: () => string[];
|
|
44
|
+
};
|
|
45
|
+
scoreTemplate: StringConstructor;
|
|
46
|
+
clearable: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
id: StringConstructor;
|
|
51
|
+
ariaLabel: StringConstructor;
|
|
3
52
|
wrapFormItem: {
|
|
4
53
|
type: BooleanConstructor;
|
|
5
54
|
default: boolean;
|
|
@@ -9,15 +58,74 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
58
|
default: undefined;
|
|
10
59
|
};
|
|
11
60
|
col: BooleanConstructor;
|
|
12
|
-
label: StringConstructor;
|
|
13
|
-
prop: StringConstructor;
|
|
14
|
-
required: BooleanConstructor;
|
|
15
|
-
rules: ArrayConstructor;
|
|
16
61
|
span: {
|
|
17
62
|
type: NumberConstructor;
|
|
18
63
|
default: number;
|
|
19
64
|
};
|
|
65
|
+
offset: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
push: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
pull: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
xs: {
|
|
78
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
79
|
+
};
|
|
80
|
+
sm: {
|
|
81
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
82
|
+
};
|
|
83
|
+
md: {
|
|
84
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
85
|
+
};
|
|
86
|
+
lg: {
|
|
87
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
88
|
+
};
|
|
89
|
+
xl: {
|
|
90
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
91
|
+
};
|
|
92
|
+
tag: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
prop: (StringConstructor | ArrayConstructor)[];
|
|
97
|
+
label: StringConstructor;
|
|
98
|
+
labelPosition: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
labelWidth: (StringConstructor | NumberConstructor)[];
|
|
103
|
+
required: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
rules: ObjectConstructor;
|
|
108
|
+
error: StringConstructor;
|
|
109
|
+
showMessage: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
inlineMessage: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
for: StringConstructor;
|
|
118
|
+
validateStatus: StringConstructor;
|
|
119
|
+
messagePrefix: StringConstructor;
|
|
120
|
+
message: StringConstructor;
|
|
121
|
+
wrapCol: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
fixedSpan: NumberConstructor;
|
|
20
126
|
block: BooleanConstructor;
|
|
127
|
+
unwrap: BooleanConstructor;
|
|
128
|
+
half: BooleanConstructor;
|
|
21
129
|
formItemClass: StringConstructor;
|
|
22
130
|
hideLabel: BooleanConstructor;
|
|
23
131
|
tips: {
|
|
@@ -31,8 +139,61 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
139
|
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
32
140
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
33
141
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
34
|
-
}>, () =>
|
|
142
|
+
}>, () => globalThis.VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
145
|
+
"update:modelValue": null;
|
|
146
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
147
|
modelValue: NumberConstructor;
|
|
148
|
+
max: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
size: StringConstructor;
|
|
153
|
+
allowHalf: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
lowThreshold: {
|
|
158
|
+
type: NumberConstructor;
|
|
159
|
+
default: number;
|
|
160
|
+
};
|
|
161
|
+
highThreshold: {
|
|
162
|
+
type: NumberConstructor;
|
|
163
|
+
default: number;
|
|
164
|
+
};
|
|
165
|
+
colors: (ObjectConstructor | ArrayConstructor)[];
|
|
166
|
+
voidColor: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
disabledVoidColor: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
icons: (ObjectConstructor | ArrayConstructor)[];
|
|
175
|
+
voidIcon: (StringConstructor | ObjectConstructor)[];
|
|
176
|
+
disabledVoidIcon: (StringConstructor | ObjectConstructor)[];
|
|
177
|
+
showText: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
showScore: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
textColor: StringConstructor;
|
|
186
|
+
texts: {
|
|
187
|
+
type: ArrayConstructor;
|
|
188
|
+
default: () => string[];
|
|
189
|
+
};
|
|
190
|
+
scoreTemplate: StringConstructor;
|
|
191
|
+
clearable: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
id: StringConstructor;
|
|
196
|
+
ariaLabel: StringConstructor;
|
|
36
197
|
wrapFormItem: {
|
|
37
198
|
type: BooleanConstructor;
|
|
38
199
|
default: boolean;
|
|
@@ -42,15 +203,74 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
42
203
|
default: undefined;
|
|
43
204
|
};
|
|
44
205
|
col: BooleanConstructor;
|
|
45
|
-
label: StringConstructor;
|
|
46
|
-
prop: StringConstructor;
|
|
47
|
-
required: BooleanConstructor;
|
|
48
|
-
rules: ArrayConstructor;
|
|
49
206
|
span: {
|
|
50
207
|
type: NumberConstructor;
|
|
51
208
|
default: number;
|
|
52
209
|
};
|
|
210
|
+
offset: {
|
|
211
|
+
type: NumberConstructor;
|
|
212
|
+
default: number;
|
|
213
|
+
};
|
|
214
|
+
push: {
|
|
215
|
+
type: NumberConstructor;
|
|
216
|
+
default: number;
|
|
217
|
+
};
|
|
218
|
+
pull: {
|
|
219
|
+
type: NumberConstructor;
|
|
220
|
+
default: number;
|
|
221
|
+
};
|
|
222
|
+
xs: {
|
|
223
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
224
|
+
};
|
|
225
|
+
sm: {
|
|
226
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
227
|
+
};
|
|
228
|
+
md: {
|
|
229
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
230
|
+
};
|
|
231
|
+
lg: {
|
|
232
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
233
|
+
};
|
|
234
|
+
xl: {
|
|
235
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
236
|
+
};
|
|
237
|
+
tag: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
default: string;
|
|
240
|
+
};
|
|
241
|
+
prop: (StringConstructor | ArrayConstructor)[];
|
|
242
|
+
label: StringConstructor;
|
|
243
|
+
labelPosition: {
|
|
244
|
+
type: StringConstructor;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
|
+
labelWidth: (StringConstructor | NumberConstructor)[];
|
|
248
|
+
required: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
rules: ObjectConstructor;
|
|
253
|
+
error: StringConstructor;
|
|
254
|
+
showMessage: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: boolean;
|
|
257
|
+
};
|
|
258
|
+
inlineMessage: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
262
|
+
for: StringConstructor;
|
|
263
|
+
validateStatus: StringConstructor;
|
|
264
|
+
messagePrefix: StringConstructor;
|
|
265
|
+
message: StringConstructor;
|
|
266
|
+
wrapCol: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
fixedSpan: NumberConstructor;
|
|
53
271
|
block: BooleanConstructor;
|
|
272
|
+
unwrap: BooleanConstructor;
|
|
273
|
+
half: BooleanConstructor;
|
|
54
274
|
formItemClass: StringConstructor;
|
|
55
275
|
hideLabel: BooleanConstructor;
|
|
56
276
|
tips: {
|
|
@@ -65,15 +285,35 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
65
285
|
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
66
286
|
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
67
287
|
}>> & Readonly<{
|
|
68
|
-
|
|
288
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
289
|
}>, {
|
|
70
|
-
|
|
290
|
+
disabled: boolean;
|
|
291
|
+
push: number;
|
|
292
|
+
col: boolean;
|
|
71
293
|
span: number;
|
|
294
|
+
tag: string;
|
|
295
|
+
offset: number;
|
|
296
|
+
required: boolean;
|
|
297
|
+
wrapCol: boolean;
|
|
72
298
|
block: boolean;
|
|
299
|
+
unwrap: boolean;
|
|
300
|
+
half: boolean;
|
|
73
301
|
hideLabel: boolean;
|
|
74
302
|
tipsAfterLabel: boolean;
|
|
75
|
-
|
|
303
|
+
labelPosition: string;
|
|
304
|
+
showMessage: boolean;
|
|
305
|
+
inlineMessage: boolean;
|
|
306
|
+
pull: number;
|
|
76
307
|
wrapFormItem: boolean;
|
|
77
|
-
|
|
308
|
+
clearable: boolean;
|
|
309
|
+
max: number;
|
|
310
|
+
allowHalf: boolean;
|
|
311
|
+
lowThreshold: number;
|
|
312
|
+
highThreshold: number;
|
|
313
|
+
voidColor: string;
|
|
314
|
+
disabledVoidColor: string;
|
|
315
|
+
showText: boolean;
|
|
316
|
+
showScore: boolean;
|
|
317
|
+
texts: unknown[];
|
|
78
318
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
79
319
|
export default _default;
|
package/form-rate/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DhtHh0jk.mjs";
|
|
2
2
|
export { e as default };
|
package/form-red-table/index.mjs
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { isPlainObject as
|
|
1
|
+
import { columnSizeContextKey as e, columnsContextKey as t, setColumnSizeContextKey as n } from "../constants/index.mjs";
|
|
2
|
+
import { isPlainObject as r, isString as i } from "@web-utils/core";
|
|
3
|
+
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, normalizeStyle as u, openBlock as d, provide as f, ref as p, renderList as m, renderSlot as h, watch as g } from "vue";
|
|
3
4
|
//#region src/components/red-form/FormRedTable.vue
|
|
4
|
-
var
|
|
5
|
+
var _ = {
|
|
5
6
|
key: 0,
|
|
6
7
|
class: "red-table"
|
|
7
|
-
},
|
|
8
|
+
}, v = /* @__PURE__ */ Object.assign({ name: "FormRedTable" }, {
|
|
8
9
|
__name: "FormRedTable",
|
|
9
10
|
props: {
|
|
10
11
|
columns: [Array, Object],
|
|
11
12
|
colCount: Number
|
|
12
13
|
},
|
|
13
|
-
setup(
|
|
14
|
-
let
|
|
14
|
+
setup(v) {
|
|
15
|
+
let y = v, b = o(() => {
|
|
15
16
|
var e;
|
|
16
|
-
if (
|
|
17
|
-
let { colCount: e } =
|
|
18
|
-
e = e ||
|
|
17
|
+
if (r(y.columns)) {
|
|
18
|
+
let { colCount: e } = y.columns;
|
|
19
|
+
e = e || y.colCount;
|
|
19
20
|
let t = [];
|
|
20
21
|
for (let n = 0; n < e; n++) {
|
|
21
|
-
let e =
|
|
22
|
-
|
|
22
|
+
let e = y.columns[n];
|
|
23
|
+
r(e) ? t.push(e) : i(e) ? t.push({ width: e }) : t.push({});
|
|
23
24
|
}
|
|
24
25
|
return t;
|
|
25
26
|
}
|
|
26
|
-
return (e =
|
|
27
|
+
return (e = y.columns) != null && e.length ? y.columns : y.colCount === 2 ? [{ width: "40%" }, { width: "60%" }] : y.colCount === 4 ? [
|
|
27
28
|
{ width: "20%" },
|
|
28
29
|
{ width: "30%" },
|
|
29
30
|
{ width: "20%" },
|
|
30
31
|
{ width: "30%" }
|
|
31
|
-
] :
|
|
32
|
+
] : y.colCount === 6 ? [
|
|
32
33
|
{ width: "11%" },
|
|
33
34
|
{ width: "30%" },
|
|
34
35
|
{ width: "11%" },
|
|
@@ -41,24 +42,24 @@ var m = {
|
|
|
41
42
|
{ width: "20%" },
|
|
42
43
|
{ width: "30%" }
|
|
43
44
|
];
|
|
44
|
-
}),
|
|
45
|
-
|
|
46
|
-
let
|
|
47
|
-
|
|
45
|
+
}), x = p(b.value.length);
|
|
46
|
+
f(t, b), f(e, x);
|
|
47
|
+
let S = (e) => {
|
|
48
|
+
x.value = e;
|
|
48
49
|
};
|
|
49
|
-
return
|
|
50
|
-
|
|
51
|
-
}), (
|
|
52
|
-
var
|
|
53
|
-
return (
|
|
50
|
+
return f(n, S), g(b, () => {
|
|
51
|
+
S(b.value.length);
|
|
52
|
+
}), (e, t) => {
|
|
53
|
+
var n;
|
|
54
|
+
return (n = b.value) != null && n.length ? (d(), c("table", _, [l("colgroup", null, [(d(!0), c(a, null, m(b.value, (e, t) => (d(), c("col", {
|
|
54
55
|
key: t,
|
|
55
|
-
style:
|
|
56
|
-
}, null, 4))), 128)), (
|
|
56
|
+
style: u({ width: `${e.width}` })
|
|
57
|
+
}, null, 4))), 128)), (d(!0), c(a, null, m(x.value - b.value.length, (e) => (d(), c("col", {
|
|
57
58
|
key: `${e}-ex`,
|
|
58
59
|
style: { width: "20%" }
|
|
59
|
-
}))), 128))]),
|
|
60
|
+
}))), 128))]), h(e.$slots, "default")])) : s("v-if", !0);
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
});
|
|
63
64
|
//#endregion
|
|
64
|
-
export {
|
|
65
|
+
export { v as default };
|
package/form-row/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
2
|
isLabel: BooleanConstructor;
|
|
3
3
|
alignCenter: BooleanConstructor;
|
|
4
|
-
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
4
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
5
5
|
isLabel: BooleanConstructor;
|
|
6
6
|
alignCenter: BooleanConstructor;
|
|
7
7
|
}>> & Readonly<{}>, {
|
package/form-row/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DDmQcNm6.mjs";
|
|
2
2
|
export { e as default };
|