vft 0.0.155 → 0.0.158
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/es/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +6 -6
- package/es/components/button/button.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +43 -43
- package/es/components/button/use-button.d.ts +3 -3
- package/es/components/button/use-button.js +3 -3
- package/es/components/card/index.d.ts +4 -4
- package/es/components/carousel/carousel.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +7 -7
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +48 -48
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +14 -13
- package/es/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +4 -4
- package/es/components/date-picker/index.d.ts +8 -8
- package/es/components/dialog/dialog.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/drawer/drawer.vue.d.ts +2 -2
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/dropdown/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +30 -30
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/index.d.ts +24 -24
- package/es/components/index.js +113 -113
- package/es/components/loading/index.d.ts +48 -0
- package/es/components/loading/loading.d.ts +36 -0
- package/es/components/modal/index.d.ts +19 -19
- package/es/components/modal/modal.vue.d.ts +1 -1
- package/es/components/popconfirm/index.d.ts +11 -11
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/progress/index.d.ts +4 -4
- package/es/components/radio/use-radio.d.ts +1 -1
- package/es/components/select/index.d.ts +1872 -2
- package/es/components/select/select.vue.d.ts +936 -1
- package/es/components/select/useSelect.d.ts +2 -2
- package/es/components/super-form/index.d.ts +12 -12
- package/es/components/switch/index.d.ts +5 -5
- package/es/components/switch/switch.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +67 -67
- package/es/components/table/table.vue.d.ts +1 -1
- package/es/components/time-picker/common/picker.vue.d.ts +5 -5
- package/es/components/time-picker/index.d.ts +8 -8
- package/es/components/time-picker/time-picker.d.ts +4 -4
- package/es/components/tree/index.d.ts +12 -12
- package/es/components/tree/tree.vue.d.ts +2 -2
- package/es/components/upload/index.d.ts +38 -38
- package/es/components/upload/upload-content.vue.d.ts +2 -2
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/use-handlers.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/autocomplete/autocomplete.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +6 -6
- package/lib/components/button/button.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +43 -43
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +3 -3
- package/lib/components/card/index.d.ts +4 -4
- package/lib/components/carousel/carousel.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +7 -7
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +48 -48
- package/lib/components/clamp-tooltip/clamp-tooltip.vue2.cjs +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +4 -4
- package/lib/components/date-picker/index.d.ts +8 -8
- package/lib/components/dialog/dialog.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/drawer/drawer.vue.d.ts +2 -2
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/dropdown/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +30 -30
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/index.d.ts +24 -24
- package/lib/components/index.cjs +1 -1
- package/lib/components/loading/index.d.ts +48 -0
- package/lib/components/loading/loading.d.ts +36 -0
- package/lib/components/modal/index.d.ts +19 -19
- package/lib/components/modal/modal.vue.d.ts +1 -1
- package/lib/components/popconfirm/index.d.ts +11 -11
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/progress/index.d.ts +4 -4
- package/lib/components/radio/use-radio.d.ts +1 -1
- package/lib/components/select/index.d.ts +1872 -2
- package/lib/components/select/select.vue.d.ts +936 -1
- package/lib/components/select/useSelect.d.ts +2 -2
- package/lib/components/super-form/index.d.ts +12 -12
- package/lib/components/switch/index.d.ts +5 -5
- package/lib/components/switch/switch.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +67 -67
- package/lib/components/table/table.vue.d.ts +1 -1
- package/lib/components/time-picker/common/picker.vue.d.ts +5 -5
- package/lib/components/time-picker/index.d.ts +8 -8
- package/lib/components/time-picker/time-picker.d.ts +4 -4
- package/lib/components/tree/index.d.ts +12 -12
- package/lib/components/tree/tree.vue.d.ts +2 -2
- package/lib/components/upload/index.d.ts +38 -38
- package/lib/components/upload/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/use-handlers.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +6 -6
- package/web-types.json +1 -1
|
@@ -25,11 +25,11 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
25
25
|
type: globalThis.PropType<string>;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
loop: {
|
|
29
29
|
type: globalThis.PropType<boolean>;
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
disabled: {
|
|
33
33
|
type: globalThis.PropType<boolean>;
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
@@ -37,10 +37,6 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
37
37
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
teleported: {
|
|
41
|
-
type: globalThis.PropType<boolean>;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
40
|
tabindex: {
|
|
45
41
|
type: globalThis.PropType<string | number>;
|
|
46
42
|
default: number;
|
|
@@ -52,6 +48,10 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
48
|
type: globalThis.PropType<string>;
|
|
53
49
|
default: string;
|
|
54
50
|
};
|
|
51
|
+
teleported: {
|
|
52
|
+
type: globalThis.PropType<boolean>;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
55
|
splitButton: {
|
|
56
56
|
type: globalThis.PropType<boolean>;
|
|
57
57
|
};
|
|
@@ -108,11 +108,11 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
108
108
|
type: globalThis.PropType<string>;
|
|
109
109
|
default: string;
|
|
110
110
|
};
|
|
111
|
-
|
|
111
|
+
loop: {
|
|
112
112
|
type: globalThis.PropType<boolean>;
|
|
113
113
|
default: boolean;
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
disabled: {
|
|
116
116
|
type: globalThis.PropType<boolean>;
|
|
117
117
|
default: boolean;
|
|
118
118
|
};
|
|
@@ -120,10 +120,6 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
120
120
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
121
121
|
default: string;
|
|
122
122
|
};
|
|
123
|
-
teleported: {
|
|
124
|
-
type: globalThis.PropType<boolean>;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
123
|
tabindex: {
|
|
128
124
|
type: globalThis.PropType<string | number>;
|
|
129
125
|
default: number;
|
|
@@ -135,6 +131,10 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
135
131
|
type: globalThis.PropType<string>;
|
|
136
132
|
default: string;
|
|
137
133
|
};
|
|
134
|
+
teleported: {
|
|
135
|
+
type: globalThis.PropType<boolean>;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
138
|
splitButton: {
|
|
139
139
|
type: globalThis.PropType<boolean>;
|
|
140
140
|
};
|
|
@@ -162,12 +162,12 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
162
162
|
placement: import("@popperjs/core").Placement;
|
|
163
163
|
effect: "light" | "dark";
|
|
164
164
|
role: string;
|
|
165
|
-
disabled: boolean;
|
|
166
165
|
loop: boolean;
|
|
166
|
+
disabled: boolean;
|
|
167
167
|
trigger: import("..").TooltipTriggerType;
|
|
168
|
-
teleported: boolean;
|
|
169
168
|
tabindex: string | number;
|
|
170
169
|
popperClass: string;
|
|
170
|
+
teleported: boolean;
|
|
171
171
|
hideOnClick: boolean;
|
|
172
172
|
showTimeout: number;
|
|
173
173
|
hideTimeout: number;
|
|
@@ -204,11 +204,11 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
204
204
|
type: globalThis.PropType<string>;
|
|
205
205
|
default: string;
|
|
206
206
|
};
|
|
207
|
-
|
|
207
|
+
loop: {
|
|
208
208
|
type: globalThis.PropType<boolean>;
|
|
209
209
|
default: boolean;
|
|
210
210
|
};
|
|
211
|
-
|
|
211
|
+
disabled: {
|
|
212
212
|
type: globalThis.PropType<boolean>;
|
|
213
213
|
default: boolean;
|
|
214
214
|
};
|
|
@@ -216,10 +216,6 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
216
216
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
217
217
|
default: string;
|
|
218
218
|
};
|
|
219
|
-
teleported: {
|
|
220
|
-
type: globalThis.PropType<boolean>;
|
|
221
|
-
default: boolean;
|
|
222
|
-
};
|
|
223
219
|
tabindex: {
|
|
224
220
|
type: globalThis.PropType<string | number>;
|
|
225
221
|
default: number;
|
|
@@ -231,6 +227,10 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
231
227
|
type: globalThis.PropType<string>;
|
|
232
228
|
default: string;
|
|
233
229
|
};
|
|
230
|
+
teleported: {
|
|
231
|
+
type: globalThis.PropType<boolean>;
|
|
232
|
+
default: boolean;
|
|
233
|
+
};
|
|
234
234
|
splitButton: {
|
|
235
235
|
type: globalThis.PropType<boolean>;
|
|
236
236
|
};
|
|
@@ -262,12 +262,12 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
262
262
|
placement: import("@popperjs/core").Placement;
|
|
263
263
|
effect: "light" | "dark";
|
|
264
264
|
role: string;
|
|
265
|
-
disabled: boolean;
|
|
266
265
|
loop: boolean;
|
|
266
|
+
disabled: boolean;
|
|
267
267
|
trigger: import("..").TooltipTriggerType;
|
|
268
|
-
teleported: boolean;
|
|
269
268
|
tabindex: string | number;
|
|
270
269
|
popperClass: string;
|
|
270
|
+
teleported: boolean;
|
|
271
271
|
hideOnClick: boolean;
|
|
272
272
|
showTimeout: number;
|
|
273
273
|
hideTimeout: number;
|
|
@@ -301,11 +301,11 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
301
301
|
type: globalThis.PropType<string>;
|
|
302
302
|
default: string;
|
|
303
303
|
};
|
|
304
|
-
|
|
304
|
+
loop: {
|
|
305
305
|
type: globalThis.PropType<boolean>;
|
|
306
306
|
default: boolean;
|
|
307
307
|
};
|
|
308
|
-
|
|
308
|
+
disabled: {
|
|
309
309
|
type: globalThis.PropType<boolean>;
|
|
310
310
|
default: boolean;
|
|
311
311
|
};
|
|
@@ -313,10 +313,6 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
313
313
|
type: globalThis.PropType<import("..").TooltipTriggerType>;
|
|
314
314
|
default: string;
|
|
315
315
|
};
|
|
316
|
-
teleported: {
|
|
317
|
-
type: globalThis.PropType<boolean>;
|
|
318
|
-
default: boolean;
|
|
319
|
-
};
|
|
320
316
|
tabindex: {
|
|
321
317
|
type: globalThis.PropType<string | number>;
|
|
322
318
|
default: number;
|
|
@@ -328,6 +324,10 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
328
324
|
type: globalThis.PropType<string>;
|
|
329
325
|
default: string;
|
|
330
326
|
};
|
|
327
|
+
teleported: {
|
|
328
|
+
type: globalThis.PropType<boolean>;
|
|
329
|
+
default: boolean;
|
|
330
|
+
};
|
|
331
331
|
splitButton: {
|
|
332
332
|
type: globalThis.PropType<boolean>;
|
|
333
333
|
};
|
|
@@ -363,12 +363,12 @@ export declare const VftDropdown: import("vft/es/utils").SFCWithInstall<{
|
|
|
363
363
|
placement: import("@popperjs/core").Placement;
|
|
364
364
|
effect: "light" | "dark";
|
|
365
365
|
role: string;
|
|
366
|
-
disabled: boolean;
|
|
367
366
|
loop: boolean;
|
|
367
|
+
disabled: boolean;
|
|
368
368
|
trigger: import("..").TooltipTriggerType;
|
|
369
|
-
teleported: boolean;
|
|
370
369
|
tabindex: string | number;
|
|
371
370
|
popperClass: string;
|
|
371
|
+
teleported: boolean;
|
|
372
372
|
hideOnClick: boolean;
|
|
373
373
|
showTimeout: number;
|
|
374
374
|
hideTimeout: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentSize } from 'vft/es/constants';
|
|
2
2
|
import type { MaybeRef } from '@vueuse/core';
|
|
3
3
|
export declare const useFormSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<'prop' | 'form' | 'formItem' | 'global', boolean>>) => globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
4
|
-
export declare const useFormDisabled: (fallback?: MaybeRef<boolean | undefined>) => globalThis.ComputedRef<boolean
|
|
4
|
+
export declare const useFormDisabled: (fallback?: MaybeRef<boolean | undefined>) => globalThis.ComputedRef<boolean>;
|
|
5
5
|
export declare const useSize: (fallback?: MaybeRef<ComponentSize | undefined>, ignore?: Partial<Record<'prop' | 'form' | 'formItem' | 'global', boolean>>) => globalThis.ComputedRef<"" | "default" | "small" | "large">;
|
|
6
|
-
export declare const useDisabled: (fallback?: MaybeRef<boolean | undefined>) => globalThis.ComputedRef<boolean
|
|
6
|
+
export declare const useDisabled: (fallback?: MaybeRef<boolean | undefined>) => globalThis.ComputedRef<boolean>;
|
|
@@ -249,13 +249,13 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
249
249
|
type: globalThis.PropType<boolean>;
|
|
250
250
|
default: undefined;
|
|
251
251
|
};
|
|
252
|
-
rules: {
|
|
253
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
254
|
-
};
|
|
255
252
|
labelWidth: {
|
|
256
253
|
type: globalThis.PropType<string | number>;
|
|
257
254
|
default: string;
|
|
258
255
|
};
|
|
256
|
+
rules: {
|
|
257
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
258
|
+
};
|
|
259
259
|
for: {
|
|
260
260
|
type: globalThis.PropType<string>;
|
|
261
261
|
};
|
|
@@ -298,13 +298,13 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
298
298
|
type: globalThis.PropType<boolean>;
|
|
299
299
|
default: undefined;
|
|
300
300
|
};
|
|
301
|
-
rules: {
|
|
302
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
303
|
-
};
|
|
304
301
|
labelWidth: {
|
|
305
302
|
type: globalThis.PropType<string | number>;
|
|
306
303
|
default: string;
|
|
307
304
|
};
|
|
305
|
+
rules: {
|
|
306
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
307
|
+
};
|
|
308
308
|
for: {
|
|
309
309
|
type: globalThis.PropType<string>;
|
|
310
310
|
};
|
|
@@ -350,13 +350,13 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
350
350
|
type: globalThis.PropType<boolean>;
|
|
351
351
|
default: undefined;
|
|
352
352
|
};
|
|
353
|
-
rules: {
|
|
354
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
355
|
-
};
|
|
356
353
|
labelWidth: {
|
|
357
354
|
type: globalThis.PropType<string | number>;
|
|
358
355
|
default: string;
|
|
359
356
|
};
|
|
357
|
+
rules: {
|
|
358
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
359
|
+
};
|
|
360
360
|
for: {
|
|
361
361
|
type: globalThis.PropType<string>;
|
|
362
362
|
};
|
|
@@ -406,13 +406,13 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
406
406
|
type: globalThis.PropType<boolean>;
|
|
407
407
|
default: undefined;
|
|
408
408
|
};
|
|
409
|
-
rules: {
|
|
410
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
411
|
-
};
|
|
412
409
|
labelWidth: {
|
|
413
410
|
type: globalThis.PropType<string | number>;
|
|
414
411
|
default: string;
|
|
415
412
|
};
|
|
413
|
+
rules: {
|
|
414
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
415
|
+
};
|
|
416
416
|
for: {
|
|
417
417
|
type: globalThis.PropType<string>;
|
|
418
418
|
};
|
|
@@ -473,13 +473,13 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
473
473
|
type: globalThis.PropType<boolean>;
|
|
474
474
|
default: undefined;
|
|
475
475
|
};
|
|
476
|
-
rules: {
|
|
477
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
478
|
-
};
|
|
479
476
|
labelWidth: {
|
|
480
477
|
type: globalThis.PropType<string | number>;
|
|
481
478
|
default: string;
|
|
482
479
|
};
|
|
480
|
+
rules: {
|
|
481
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
482
|
+
};
|
|
483
483
|
for: {
|
|
484
484
|
type: globalThis.PropType<string>;
|
|
485
485
|
};
|
|
@@ -522,13 +522,13 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
522
522
|
type: globalThis.PropType<boolean>;
|
|
523
523
|
default: undefined;
|
|
524
524
|
};
|
|
525
|
-
rules: {
|
|
526
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
527
|
-
};
|
|
528
525
|
labelWidth: {
|
|
529
526
|
type: globalThis.PropType<string | number>;
|
|
530
527
|
default: string;
|
|
531
528
|
};
|
|
529
|
+
rules: {
|
|
530
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
531
|
+
};
|
|
532
532
|
for: {
|
|
533
533
|
type: globalThis.PropType<string>;
|
|
534
534
|
};
|
|
@@ -574,13 +574,13 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
574
574
|
type: globalThis.PropType<boolean>;
|
|
575
575
|
default: undefined;
|
|
576
576
|
};
|
|
577
|
-
rules: {
|
|
578
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
579
|
-
};
|
|
580
577
|
labelWidth: {
|
|
581
578
|
type: globalThis.PropType<string | number>;
|
|
582
579
|
default: string;
|
|
583
580
|
};
|
|
581
|
+
rules: {
|
|
582
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
583
|
+
};
|
|
584
584
|
for: {
|
|
585
585
|
type: globalThis.PropType<string>;
|
|
586
586
|
};
|
|
@@ -630,13 +630,13 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
630
630
|
type: globalThis.PropType<boolean>;
|
|
631
631
|
default: undefined;
|
|
632
632
|
};
|
|
633
|
-
rules: {
|
|
634
|
-
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
635
|
-
};
|
|
636
633
|
labelWidth: {
|
|
637
634
|
type: globalThis.PropType<string | number>;
|
|
638
635
|
default: string;
|
|
639
636
|
};
|
|
637
|
+
rules: {
|
|
638
|
+
type: globalThis.PropType<import("../types").Arrayable<import("./types").FormItemRule>>;
|
|
639
|
+
};
|
|
640
640
|
for: {
|
|
641
641
|
type: globalThis.PropType<string>;
|
|
642
642
|
};
|
package/es/components/index.js
CHANGED
|
@@ -88,45 +88,45 @@ import { VftLoading as we } from "./loading/index.js";
|
|
|
88
88
|
import { VftMessage as Ne, VftMessage as he } from "./message/index.js";
|
|
89
89
|
import { VftInfiniteScroll as Be } from "./infinite-scroll/index.js";
|
|
90
90
|
import { VftProgressI as qe } from "./progress-i/index.js";
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import { default as Ht } from "./popper/
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
91
|
+
import { buttonGroupContextKey as Ye } from "./button/constants.js";
|
|
92
|
+
import { checkboxGroupContextKey as Qe } from "./checkbox/constants.js";
|
|
93
|
+
import { configProviderContextKey as Xe, messageConfig as Ze } from "./config-provider/constants.js";
|
|
94
|
+
import { provideGlobalConfig as ot, useGlobalComponentSettings as rt, useGlobalConfig as et } from "./config-provider/hooks/use-global-config.js";
|
|
95
|
+
import { ROOT_PICKER_INJECTION_KEY as ft, datePickerConfig as mt } from "./date-picker/constants.js";
|
|
96
|
+
import { datePickerProps as xt } from "./date-picker/props/date-picker.js";
|
|
97
|
+
import { dialogInjectionKey as it } from "./dialog/constants.js";
|
|
98
|
+
import { useDialog as nt } from "./dialog/hooks/use-dialog.js";
|
|
99
|
+
import { DROPDOWN_INJECTION_KEY as ut } from "./dropdown/tokens.js";
|
|
100
|
+
import { EmptyEnum as dt } from "./empty/constants.js";
|
|
101
|
+
import { formContextKey as It, formItemContextKey as Ct } from "./form/constants.js";
|
|
102
|
+
import { useDisabled as gt, useFormDisabled as Dt, useFormSize as Et, useSize as Pt } from "./form/hooks/use-form-common-props.js";
|
|
103
|
+
import { useFormItem as Ft, useFormItemInputId as St } from "./form/hooks/use-form-item.js";
|
|
104
|
+
import { formItemValidateStates as yt } from "./form/types.js";
|
|
105
|
+
import { MenuTypeEnum as _t } from "./horizontal-menu/constants.js";
|
|
106
|
+
import { initAffixTabs as Kt, useTabsDrag as kt } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
107
|
+
import { useTabDropdown as Rt } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
108
|
+
import { usePagination as Ot, vftPaginationKey as wt } from "./pagination/usePagination.js";
|
|
109
|
+
import { default as Nt } from "./popper/arrow.vue2.js";
|
|
110
|
+
import { default as Ut } from "./popper/content.vue2.js";
|
|
111
|
+
import { default as Ht } from "./popper/trigger.vue2.js";
|
|
112
|
+
import { radioGroupKey as Jt } from "./radio/constants.js";
|
|
113
|
+
import { rowContextKey as jt } from "./row/constants.js";
|
|
114
|
+
import { scrollbarContextKey as Wt } from "./scrollbar/constants.js";
|
|
115
|
+
import { BAR_MAP as Zt, GAP as $t, renderThumbStyle as of } from "./scrollbar/util.js";
|
|
116
|
+
import { selectInjectionKey as ef } from "./select/token.js";
|
|
117
|
+
import { sliderContextKey as ff } from "./slider/constants.js";
|
|
118
|
+
import { sliderEmits as pf } from "./slider/slider.js";
|
|
119
|
+
import { spaceProps as af } from "./space/space.js";
|
|
120
|
+
import { useSpace as nf } from "./space/use-space.js";
|
|
121
|
+
import { ACTION_FIELD as uf, CHECKED_FIELD as lf, CREATE_TIME_FIELD as df, DATE_FIELD as cf, DATE_TIME_FIELD as If, ID_FIELD as Cf, NAME_FIELD as Tf, SEQ_FIELD as gf, STATUS_FIELD as Df, UPDATE_TIME_FIELD as Ef } from "./table/field.js";
|
|
122
|
+
import { useTable as Mf } from "./table/use/use-table.js";
|
|
123
|
+
import { addRequire as Sf, removeRequire as Lf, selectMapping as yf } from "./table/utils.js";
|
|
124
|
+
import { TabsRootContextKey as _f } from "./tabs/types.js";
|
|
125
|
+
import { timePickerDefaultProps as Kf } from "./time-picker/common/props.js";
|
|
126
|
+
import { DEFAULT_FORMATS_DATE as vf, DEFAULT_FORMATS_DATEPICKER as Rf, DEFAULT_FORMATS_TIME as Gf, timeUnits as Of } from "./time-picker/constants.js";
|
|
127
|
+
import { buildTimeList as zf, dateEquals as Nf, extractDateFormat as hf, extractTimeFormat as Uf, formatter as Bf, makeList as Hf, parseDate as qf, rangeArr as Jf, valueEquals as Yf } from "./time-picker/utils.js";
|
|
128
|
+
import { default as Qf } from "./time-picker/common/picker.vue2.js";
|
|
129
|
+
import { default as Xf } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
130
130
|
import { TOOLTIP_INJECTION_KEY as $f } from "./tooltip/constants.js";
|
|
131
131
|
import { getChildState as rm } from "./tree/model/node.js";
|
|
132
132
|
import { dragEventsKey as tm, useDragNodeHandler as fm } from "./tree/model/useDragNode.js";
|
|
@@ -139,36 +139,36 @@ import { vLoading as Fm, createLoadingDirective as Sm, vLoading as Lm } from "./
|
|
|
139
139
|
import { Loading as bm } from "./loading/service.js";
|
|
140
140
|
import { messageDefaults as Am, messageTypes as Km } from "./message/types.js";
|
|
141
141
|
export {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
142
|
+
uf as ACTION_FIELD,
|
|
143
|
+
Zt as BAR_MAP,
|
|
144
|
+
lf as CHECKED_FIELD,
|
|
145
|
+
df as CREATE_TIME_FIELD,
|
|
146
|
+
Qf as CommonPicker,
|
|
147
|
+
cf as DATE_FIELD,
|
|
148
|
+
If as DATE_TIME_FIELD,
|
|
149
|
+
vf as DEFAULT_FORMATS_DATE,
|
|
150
|
+
Rf as DEFAULT_FORMATS_DATEPICKER,
|
|
151
|
+
Gf as DEFAULT_FORMATS_TIME,
|
|
152
|
+
ut as DROPDOWN_INJECTION_KEY,
|
|
153
153
|
oe as DynamicSizeGrid,
|
|
154
154
|
ee as DynamicSizeList,
|
|
155
|
-
|
|
155
|
+
dt as EmptyEnum,
|
|
156
156
|
fe as FixedSizeGrid,
|
|
157
157
|
pe as FixedSizeList,
|
|
158
158
|
im as FormCompEnum,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
$t as GAP,
|
|
160
|
+
Cf as ID_FIELD,
|
|
161
161
|
Po as Icon,
|
|
162
|
-
|
|
162
|
+
_t as MenuTypeEnum,
|
|
163
163
|
Ne as Message,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
Tf as NAME_FIELD,
|
|
165
|
+
ft as ROOT_PICKER_INJECTION_KEY,
|
|
166
|
+
gf as SEQ_FIELD,
|
|
167
|
+
Df as STATUS_FIELD,
|
|
168
168
|
$f as TOOLTIP_INJECTION_KEY,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
_f as TabsRootContextKey,
|
|
170
|
+
Xf as TimePickPanel,
|
|
171
|
+
Ef as UPDATE_TIME_FIELD,
|
|
172
172
|
e as VftAlert,
|
|
173
173
|
k as VftAside,
|
|
174
174
|
ue as VftAutocomplete,
|
|
@@ -245,9 +245,9 @@ export {
|
|
|
245
245
|
fr as VftPopconfirm,
|
|
246
246
|
pr as VftPopover,
|
|
247
247
|
ar as VftPopper,
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
Nt as VftPopperArrow,
|
|
249
|
+
Ut as VftPopperContent,
|
|
250
|
+
Ht as VftPopperTrigger,
|
|
251
251
|
Ie as VftProgress,
|
|
252
252
|
qe as VftProgressI,
|
|
253
253
|
Vr as VftQrcode,
|
|
@@ -278,77 +278,77 @@ export {
|
|
|
278
278
|
De as VftUpload,
|
|
279
279
|
Zr as VftVerifyCode,
|
|
280
280
|
Vm as add,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
Sf as addRequire,
|
|
282
|
+
zf as buildTimeList,
|
|
283
|
+
Ye as buttonGroupContextKey,
|
|
284
284
|
Pm as carouselContextKey,
|
|
285
|
-
|
|
285
|
+
Qe as checkboxGroupContextKey,
|
|
286
286
|
nm as componentMap,
|
|
287
|
-
|
|
287
|
+
Xe as configProviderContextKey,
|
|
288
288
|
z as createContextMenu,
|
|
289
289
|
Sm as createLoadingDirective,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
Nf as dateEquals,
|
|
291
|
+
mt as datePickerConfig,
|
|
292
|
+
xt as datePickerProps,
|
|
293
293
|
sm as del,
|
|
294
294
|
N as destroyContextMenu,
|
|
295
|
-
|
|
295
|
+
it as dialogInjectionKey,
|
|
296
296
|
tm as dragEventsKey,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
297
|
+
hf as extractDateFormat,
|
|
298
|
+
Uf as extractTimeFormat,
|
|
299
|
+
It as formContextKey,
|
|
300
|
+
Ct as formItemContextKey,
|
|
301
|
+
yt as formItemValidateStates,
|
|
302
|
+
Bf as formatter,
|
|
303
303
|
gm as genFileId,
|
|
304
304
|
rm as getChildState,
|
|
305
305
|
Im as getDynamicProps,
|
|
306
|
-
|
|
306
|
+
Kt as initAffixTabs,
|
|
307
307
|
um as isDatePicker,
|
|
308
308
|
lm as isInput,
|
|
309
309
|
dm as isRangePicker,
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
Hf as makeList,
|
|
311
|
+
Ze as messageConfig,
|
|
312
312
|
Am as messageDefaults,
|
|
313
313
|
Km as messageTypes,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
314
|
+
qf as parseDate,
|
|
315
|
+
ot as provideGlobalConfig,
|
|
316
|
+
Jt as radioGroupKey,
|
|
317
|
+
Jf as rangeArr,
|
|
318
|
+
Lf as removeRequire,
|
|
319
|
+
of as renderThumbStyle,
|
|
320
|
+
jt as rowContextKey,
|
|
321
|
+
Wt as scrollbarContextKey,
|
|
322
|
+
ef as selectInjectionKey,
|
|
323
|
+
yf as selectMapping,
|
|
324
|
+
ff as sliderContextKey,
|
|
325
|
+
pf as sliderEmits,
|
|
326
|
+
af as spaceProps,
|
|
327
|
+
Kf as timePickerDefaultProps,
|
|
328
|
+
Of as timeUnits,
|
|
329
329
|
Dm as uploadContextKey,
|
|
330
330
|
U as useContextMenu,
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
nt as useDialog,
|
|
332
|
+
gt as useDisabled,
|
|
333
333
|
fm as useDragNodeHandler,
|
|
334
334
|
Cm as useForm,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
335
|
+
Dt as useFormDisabled,
|
|
336
|
+
Ft as useFormItem,
|
|
337
|
+
St as useFormItemInputId,
|
|
338
|
+
Et as useFormSize,
|
|
339
|
+
rt as useGlobalComponentSettings,
|
|
340
|
+
et as useGlobalConfig,
|
|
341
341
|
pm as useModal,
|
|
342
342
|
xm as useModalInner,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
343
|
+
Ot as usePagination,
|
|
344
|
+
Pt as useSize,
|
|
345
|
+
nf as useSpace,
|
|
346
|
+
Rt as useTabDropdown,
|
|
347
|
+
Mf as useTable,
|
|
348
|
+
kt as useTabsDrag,
|
|
349
349
|
Lm as vLoading,
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
Yf as valueEquals,
|
|
351
|
+
wt as vftPaginationKey,
|
|
352
352
|
ae as virtualizedGridProps,
|
|
353
353
|
ie as virtualizedListProps,
|
|
354
354
|
Ve as virtualizedProps,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import { vLoading } from './directive';
|
|
3
|
+
import { Loading } from './service';
|
|
4
|
+
export declare const VftLoading: {
|
|
5
|
+
install(app: App): void;
|
|
6
|
+
directive: import("vue").Directive<import("./directive").VftLoading, import("./directive").LoadingBinding>;
|
|
7
|
+
service: (options?: Partial<Omit<import("./types").LoadingOptionsResolved, "target" | "parent"> & {
|
|
8
|
+
target: string | HTMLElement;
|
|
9
|
+
body: boolean;
|
|
10
|
+
}>) => {
|
|
11
|
+
setText: (text: string) => void;
|
|
12
|
+
removeVftLoadingChild: () => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
handleAfterLeave: () => void;
|
|
15
|
+
vm: globalThis.ComponentPublicInstance;
|
|
16
|
+
$el: HTMLElement;
|
|
17
|
+
originalPosition: globalThis.Ref<string>;
|
|
18
|
+
originalOverflow: globalThis.Ref<string>;
|
|
19
|
+
visible: globalThis.Ref<boolean>;
|
|
20
|
+
parent: globalThis.Ref<import("./types").LoadingParentElement>;
|
|
21
|
+
background: globalThis.Ref<string>;
|
|
22
|
+
svg: globalThis.Ref<string>;
|
|
23
|
+
svgViewBox: globalThis.Ref<string>;
|
|
24
|
+
spinner: globalThis.Ref<string | boolean>;
|
|
25
|
+
img: globalThis.Ref<string | boolean>;
|
|
26
|
+
icon: globalThis.Ref<string | import("..").IconProps | {
|
|
27
|
+
icon: string;
|
|
28
|
+
size?: string | number | undefined;
|
|
29
|
+
color?: string | undefined;
|
|
30
|
+
rotate?: boolean | undefined;
|
|
31
|
+
rotateSpeed?: number | undefined;
|
|
32
|
+
pointer?: boolean | undefined;
|
|
33
|
+
hoverColor?: string | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
text: globalThis.Ref<string>;
|
|
36
|
+
fullscreen: globalThis.Ref<boolean>;
|
|
37
|
+
rotate: globalThis.Ref<string | boolean>;
|
|
38
|
+
lock: globalThis.Ref<boolean>;
|
|
39
|
+
customClass: globalThis.Ref<string>;
|
|
40
|
+
target: globalThis.Ref<HTMLElement>;
|
|
41
|
+
beforeClose?: globalThis.Ref<(() => boolean) | undefined> | undefined;
|
|
42
|
+
closed?: globalThis.Ref<(() => void) | undefined> | undefined;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default VftLoading;
|
|
46
|
+
export { vLoading as VftLoadingDirective, Loading as VftLoadingService, vLoading, };
|
|
47
|
+
export * from './directive';
|
|
48
|
+
export * from './types';
|