vft 0.0.328 → 0.0.331
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/dist/index.css +1 -1
- package/es/components/button/index.d.ts +9 -9
- package/es/components/form/form-item.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +30 -30
- package/es/components/popconfirm/index.d.ts +15 -15
- package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/es/components/steps/index.d.ts +27 -8
- package/es/components/steps/item.vue.d.ts +8 -14
- package/es/components/steps/item.vue2.js +122 -86
- package/es/components/steps/steps.vue.d.ts +3 -0
- package/es/components/steps/steps.vue2.js +24 -19
- package/es/components/steps/style/css.d.ts +1 -0
- package/es/components/steps/style/css.js +1 -0
- package/es/components/steps/style/index.d.ts +1 -0
- package/es/components/steps/style/index.js +1 -0
- package/es/components/steps/tokens.d.ts +1 -0
- package/es/components/steps/tokens.js +4 -0
- package/es/components/steps/types.d.ts +3 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/form/form-item.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +30 -30
- package/lib/components/popconfirm/index.d.ts +15 -15
- package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
- package/lib/components/steps/index.d.ts +27 -8
- package/lib/components/steps/item.vue.d.ts +8 -14
- package/lib/components/steps/item.vue2.cjs +1 -1
- package/lib/components/steps/steps.vue.d.ts +3 -0
- package/lib/components/steps/steps.vue2.cjs +1 -1
- package/lib/components/steps/style/css.cjs +1 -1
- package/lib/components/steps/style/css.d.ts +1 -0
- package/lib/components/steps/style/index.cjs +1 -1
- package/lib/components/steps/style/index.d.ts +1 -0
- package/lib/components/steps/tokens.cjs +1 -0
- package/lib/components/steps/tokens.d.ts +1 -0
- package/lib/components/steps/types.d.ts +3 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/step.scss +61 -9
- package/theme-style/vft-step.css +1 -1
- package/web-types.json +1 -1
|
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
24
24
|
size: {
|
|
25
25
|
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
26
26
|
};
|
|
27
|
-
icon: {
|
|
28
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
29
|
-
};
|
|
30
27
|
dark: {
|
|
31
28
|
type: import("vue").PropType<boolean>;
|
|
32
29
|
};
|
|
30
|
+
icon: {
|
|
31
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
32
|
+
};
|
|
33
33
|
loading: {
|
|
34
34
|
type: import("vue").PropType<boolean>;
|
|
35
35
|
};
|
|
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
114
114
|
size: {
|
|
115
115
|
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
116
116
|
};
|
|
117
|
-
icon: {
|
|
118
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
119
|
-
};
|
|
120
117
|
dark: {
|
|
121
118
|
type: import("vue").PropType<boolean>;
|
|
122
119
|
};
|
|
120
|
+
icon: {
|
|
121
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
122
|
+
};
|
|
123
123
|
loading: {
|
|
124
124
|
type: import("vue").PropType<boolean>;
|
|
125
125
|
};
|
|
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
|
|
|
199
199
|
size: {
|
|
200
200
|
type: import("vue").PropType<import("../types").ComponentSize>;
|
|
201
201
|
};
|
|
202
|
-
icon: {
|
|
203
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
204
|
-
};
|
|
205
202
|
dark: {
|
|
206
203
|
type: import("vue").PropType<boolean>;
|
|
207
204
|
};
|
|
205
|
+
icon: {
|
|
206
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
207
|
+
};
|
|
208
208
|
loading: {
|
|
209
209
|
type: import("vue").PropType<boolean>;
|
|
210
210
|
};
|
|
@@ -30,10 +30,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
30
30
|
}>>> & Readonly<{
|
|
31
31
|
"onUpdate:error"?: ((val: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
required: boolean;
|
|
34
33
|
labelWidth: string | number;
|
|
35
34
|
inlineMessage: string | boolean;
|
|
36
35
|
showMessage: boolean;
|
|
36
|
+
required: boolean;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
39
|
export default _default;
|
|
@@ -206,10 +206,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
206
206
|
size: {
|
|
207
207
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
208
208
|
};
|
|
209
|
-
required: {
|
|
210
|
-
type: import("vue").PropType<boolean>;
|
|
211
|
-
default: undefined;
|
|
212
|
-
};
|
|
213
209
|
rules: {
|
|
214
210
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
215
211
|
};
|
|
@@ -228,6 +224,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
228
224
|
type: import("vue").PropType<boolean>;
|
|
229
225
|
default: boolean;
|
|
230
226
|
};
|
|
227
|
+
required: {
|
|
228
|
+
type: import("vue").PropType<boolean>;
|
|
229
|
+
default: undefined;
|
|
230
|
+
};
|
|
231
231
|
for: {
|
|
232
232
|
type: import("vue").PropType<string>;
|
|
233
233
|
};
|
|
@@ -246,10 +246,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
246
246
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
247
247
|
"update:error": (val: string) => void;
|
|
248
248
|
}, import("vue").PublicProps, {
|
|
249
|
-
required: boolean;
|
|
250
249
|
labelWidth: string | number;
|
|
251
250
|
inlineMessage: string | boolean;
|
|
252
251
|
showMessage: boolean;
|
|
252
|
+
required: boolean;
|
|
253
253
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
254
254
|
P: {};
|
|
255
255
|
B: {};
|
|
@@ -270,10 +270,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
270
270
|
size: {
|
|
271
271
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
272
272
|
};
|
|
273
|
-
required: {
|
|
274
|
-
type: import("vue").PropType<boolean>;
|
|
275
|
-
default: undefined;
|
|
276
|
-
};
|
|
277
273
|
rules: {
|
|
278
274
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
279
275
|
};
|
|
@@ -292,6 +288,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
292
288
|
type: import("vue").PropType<boolean>;
|
|
293
289
|
default: boolean;
|
|
294
290
|
};
|
|
291
|
+
required: {
|
|
292
|
+
type: import("vue").PropType<boolean>;
|
|
293
|
+
default: undefined;
|
|
294
|
+
};
|
|
295
295
|
for: {
|
|
296
296
|
type: import("vue").PropType<string>;
|
|
297
297
|
};
|
|
@@ -308,10 +308,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
308
308
|
clearValidate: () => void;
|
|
309
309
|
resetField: () => void;
|
|
310
310
|
}, {}, {}, {}, {
|
|
311
|
-
required: boolean;
|
|
312
311
|
labelWidth: string | number;
|
|
313
312
|
inlineMessage: string | boolean;
|
|
314
313
|
showMessage: boolean;
|
|
314
|
+
required: boolean;
|
|
315
315
|
}>;
|
|
316
316
|
__isFragment?: never;
|
|
317
317
|
__isTeleport?: never;
|
|
@@ -329,10 +329,6 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
329
329
|
size: {
|
|
330
330
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
331
331
|
};
|
|
332
|
-
required: {
|
|
333
|
-
type: import("vue").PropType<boolean>;
|
|
334
|
-
default: undefined;
|
|
335
|
-
};
|
|
336
332
|
rules: {
|
|
337
333
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
338
334
|
};
|
|
@@ -351,6 +347,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
351
347
|
type: import("vue").PropType<boolean>;
|
|
352
348
|
default: boolean;
|
|
353
349
|
};
|
|
350
|
+
required: {
|
|
351
|
+
type: import("vue").PropType<boolean>;
|
|
352
|
+
default: undefined;
|
|
353
|
+
};
|
|
354
354
|
for: {
|
|
355
355
|
type: import("vue").PropType<string>;
|
|
356
356
|
};
|
|
@@ -369,10 +369,10 @@ export declare const VftForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
369
369
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
370
370
|
"update:error": (val: string) => void;
|
|
371
371
|
}, string, {
|
|
372
|
-
required: boolean;
|
|
373
372
|
labelWidth: string | number;
|
|
374
373
|
inlineMessage: string | boolean;
|
|
375
374
|
showMessage: boolean;
|
|
375
|
+
required: boolean;
|
|
376
376
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
377
377
|
$slots: {
|
|
378
378
|
label?(_: {
|
|
@@ -399,10 +399,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
399
399
|
size: {
|
|
400
400
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
401
401
|
};
|
|
402
|
-
required: {
|
|
403
|
-
type: import("vue").PropType<boolean>;
|
|
404
|
-
default: undefined;
|
|
405
|
-
};
|
|
406
402
|
rules: {
|
|
407
403
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
408
404
|
};
|
|
@@ -421,6 +417,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
421
417
|
type: import("vue").PropType<boolean>;
|
|
422
418
|
default: boolean;
|
|
423
419
|
};
|
|
420
|
+
required: {
|
|
421
|
+
type: import("vue").PropType<boolean>;
|
|
422
|
+
default: undefined;
|
|
423
|
+
};
|
|
424
424
|
for: {
|
|
425
425
|
type: import("vue").PropType<string>;
|
|
426
426
|
};
|
|
@@ -439,10 +439,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
439
439
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
440
440
|
"update:error": (val: string) => void;
|
|
441
441
|
}, import("vue").PublicProps, {
|
|
442
|
-
required: boolean;
|
|
443
442
|
labelWidth: string | number;
|
|
444
443
|
inlineMessage: string | boolean;
|
|
445
444
|
showMessage: boolean;
|
|
445
|
+
required: boolean;
|
|
446
446
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
447
447
|
P: {};
|
|
448
448
|
B: {};
|
|
@@ -463,10 +463,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
463
463
|
size: {
|
|
464
464
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
465
465
|
};
|
|
466
|
-
required: {
|
|
467
|
-
type: import("vue").PropType<boolean>;
|
|
468
|
-
default: undefined;
|
|
469
|
-
};
|
|
470
466
|
rules: {
|
|
471
467
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
472
468
|
};
|
|
@@ -485,6 +481,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
485
481
|
type: import("vue").PropType<boolean>;
|
|
486
482
|
default: boolean;
|
|
487
483
|
};
|
|
484
|
+
required: {
|
|
485
|
+
type: import("vue").PropType<boolean>;
|
|
486
|
+
default: undefined;
|
|
487
|
+
};
|
|
488
488
|
for: {
|
|
489
489
|
type: import("vue").PropType<string>;
|
|
490
490
|
};
|
|
@@ -501,10 +501,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
501
501
|
clearValidate: () => void;
|
|
502
502
|
resetField: () => void;
|
|
503
503
|
}, {}, {}, {}, {
|
|
504
|
-
required: boolean;
|
|
505
504
|
labelWidth: string | number;
|
|
506
505
|
inlineMessage: string | boolean;
|
|
507
506
|
showMessage: boolean;
|
|
507
|
+
required: boolean;
|
|
508
508
|
}>;
|
|
509
509
|
__isFragment?: never;
|
|
510
510
|
__isTeleport?: never;
|
|
@@ -522,10 +522,6 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
522
522
|
size: {
|
|
523
523
|
type: import("vue").PropType<import("vft/es/constants").ComponentSize>;
|
|
524
524
|
};
|
|
525
|
-
required: {
|
|
526
|
-
type: import("vue").PropType<boolean>;
|
|
527
|
-
default: undefined;
|
|
528
|
-
};
|
|
529
525
|
rules: {
|
|
530
526
|
type: import("vue").PropType<import("vft/es/utils").Arrayable<import("./types").FormItemRule>>;
|
|
531
527
|
};
|
|
@@ -544,6 +540,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
544
540
|
type: import("vue").PropType<boolean>;
|
|
545
541
|
default: boolean;
|
|
546
542
|
};
|
|
543
|
+
required: {
|
|
544
|
+
type: import("vue").PropType<boolean>;
|
|
545
|
+
default: undefined;
|
|
546
|
+
};
|
|
547
547
|
for: {
|
|
548
548
|
type: import("vue").PropType<string>;
|
|
549
549
|
};
|
|
@@ -562,10 +562,10 @@ export declare const VftFormItem: import("vft/es/utils").SFCWithInstall<{
|
|
|
562
562
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
563
563
|
"update:error": (val: string) => void;
|
|
564
564
|
}, string, {
|
|
565
|
-
required: boolean;
|
|
566
565
|
labelWidth: string | number;
|
|
567
566
|
inlineMessage: string | boolean;
|
|
568
567
|
showMessage: boolean;
|
|
568
|
+
required: boolean;
|
|
569
569
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
570
570
|
$slots: {
|
|
571
571
|
label?(_: {
|
|
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
7
7
|
type: import("vue").PropType<string | number>;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
icon: {
|
|
11
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
10
|
teleported: {
|
|
15
11
|
type: import("vue").PropType<boolean>;
|
|
16
12
|
default: boolean;
|
|
17
13
|
};
|
|
14
|
+
icon: {
|
|
15
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
hideAfter: {
|
|
19
19
|
type: import("vue").PropType<number>;
|
|
20
20
|
default: number;
|
|
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
52
52
|
cancel: (val: MouseEvent) => void;
|
|
53
53
|
}, import("vue").PublicProps, {
|
|
54
54
|
width: string | number;
|
|
55
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
56
55
|
teleported: boolean;
|
|
56
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
57
57
|
hideAfter: number;
|
|
58
58
|
persistent: boolean;
|
|
59
59
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
74
74
|
type: import("vue").PropType<string | number>;
|
|
75
75
|
default: number;
|
|
76
76
|
};
|
|
77
|
-
icon: {
|
|
78
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
77
|
teleported: {
|
|
82
78
|
type: import("vue").PropType<boolean>;
|
|
83
79
|
default: boolean;
|
|
84
80
|
};
|
|
81
|
+
icon: {
|
|
82
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
85
|
hideAfter: {
|
|
86
86
|
type: import("vue").PropType<number>;
|
|
87
87
|
default: number;
|
|
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
116
116
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
117
117
|
}>, {}, {}, {}, {}, {
|
|
118
118
|
width: string | number;
|
|
119
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
120
119
|
teleported: boolean;
|
|
120
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
121
121
|
hideAfter: number;
|
|
122
122
|
persistent: boolean;
|
|
123
123
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
135
135
|
type: import("vue").PropType<string | number>;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
-
icon: {
|
|
139
|
-
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
140
|
-
default: string;
|
|
141
|
-
};
|
|
142
138
|
teleported: {
|
|
143
139
|
type: import("vue").PropType<boolean>;
|
|
144
140
|
default: boolean;
|
|
145
141
|
};
|
|
142
|
+
icon: {
|
|
143
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
146
|
hideAfter: {
|
|
147
147
|
type: import("vue").PropType<number>;
|
|
148
148
|
default: number;
|
|
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
|
|
|
180
180
|
cancel: (val: MouseEvent) => void;
|
|
181
181
|
}, string, {
|
|
182
182
|
width: string | number;
|
|
183
|
-
icon: string | import("vft/es/vft").IconProps;
|
|
184
183
|
teleported: boolean;
|
|
184
|
+
icon: string | import("vft/es/vft").IconProps;
|
|
185
185
|
hideAfter: number;
|
|
186
186
|
persistent: boolean;
|
|
187
187
|
confirmButtonType: import("vft/es/vft").ButtonType;
|
|
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
43
43
|
onConfirm?: ((val: MouseEvent) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
width: string | number;
|
|
46
|
-
icon: string | IconProps;
|
|
47
46
|
teleported: boolean;
|
|
47
|
+
icon: string | IconProps;
|
|
48
48
|
hideAfter: number;
|
|
49
49
|
persistent: boolean;
|
|
50
50
|
confirmButtonType: ButtonType;
|
|
@@ -11,6 +11,10 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
11
11
|
type: import("vue").PropType<number>;
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
+
contentPosition: {
|
|
15
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
14
18
|
alignCenter: {
|
|
15
19
|
type: import("vue").PropType<boolean>;
|
|
16
20
|
};
|
|
@@ -32,6 +36,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
32
36
|
}, import("vue").PublicProps, {
|
|
33
37
|
direction: "horizontal" | "vertical";
|
|
34
38
|
active: number;
|
|
39
|
+
contentPosition: "top" | "bottom";
|
|
35
40
|
finishStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
36
41
|
processStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
37
42
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -53,6 +58,10 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
53
58
|
type: import("vue").PropType<number>;
|
|
54
59
|
default: number;
|
|
55
60
|
};
|
|
61
|
+
contentPosition: {
|
|
62
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
56
65
|
alignCenter: {
|
|
57
66
|
type: import("vue").PropType<boolean>;
|
|
58
67
|
};
|
|
@@ -72,6 +81,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
72
81
|
}>, {}, {}, {}, {}, {
|
|
73
82
|
direction: "horizontal" | "vertical";
|
|
74
83
|
active: number;
|
|
84
|
+
contentPosition: "top" | "bottom";
|
|
75
85
|
finishStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
76
86
|
processStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
77
87
|
}>;
|
|
@@ -90,6 +100,10 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
90
100
|
type: import("vue").PropType<number>;
|
|
91
101
|
default: number;
|
|
92
102
|
};
|
|
103
|
+
contentPosition: {
|
|
104
|
+
type: import("vue").PropType<"top" | "bottom">;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
93
107
|
alignCenter: {
|
|
94
108
|
type: import("vue").PropType<boolean>;
|
|
95
109
|
};
|
|
@@ -111,6 +125,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
111
125
|
}, string, {
|
|
112
126
|
direction: "horizontal" | "vertical";
|
|
113
127
|
active: number;
|
|
128
|
+
contentPosition: "top" | "bottom";
|
|
114
129
|
finishStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
115
130
|
processStatus: "wait" | "process" | "finish" | "error" | "success";
|
|
116
131
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -124,7 +139,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
124
139
|
type: import("vue").PropType<string>;
|
|
125
140
|
};
|
|
126
141
|
icon: {
|
|
127
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
142
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
128
143
|
};
|
|
129
144
|
description: {
|
|
130
145
|
type: import("vue").PropType<string>;
|
|
@@ -144,7 +159,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
144
159
|
type: import("vue").PropType<string>;
|
|
145
160
|
};
|
|
146
161
|
icon: {
|
|
147
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
162
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
148
163
|
};
|
|
149
164
|
description: {
|
|
150
165
|
type: import("vue").PropType<string>;
|
|
@@ -161,7 +176,7 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
161
176
|
type: import("vue").PropType<string>;
|
|
162
177
|
};
|
|
163
178
|
icon: {
|
|
164
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
179
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
165
180
|
};
|
|
166
181
|
description: {
|
|
167
182
|
type: import("vue").PropType<string>;
|
|
@@ -171,9 +186,11 @@ export declare const VftSteps: import("vft/es/utils").SFCWithInstall<{
|
|
|
171
186
|
};
|
|
172
187
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
173
188
|
$slots: {
|
|
174
|
-
|
|
189
|
+
top?(_: {}): any;
|
|
175
190
|
title?(_: {}): any;
|
|
176
191
|
description?(_: {}): any;
|
|
192
|
+
icon?(_: {}): any;
|
|
193
|
+
bottom?(_: {}): any;
|
|
177
194
|
};
|
|
178
195
|
});
|
|
179
196
|
};
|
|
@@ -184,7 +201,7 @@ export declare const VftStep: import("vft/es/utils").SFCWithInstall<{
|
|
|
184
201
|
type: import("vue").PropType<string>;
|
|
185
202
|
};
|
|
186
203
|
icon: {
|
|
187
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
204
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
188
205
|
};
|
|
189
206
|
description: {
|
|
190
207
|
type: import("vue").PropType<string>;
|
|
@@ -204,7 +221,7 @@ export declare const VftStep: import("vft/es/utils").SFCWithInstall<{
|
|
|
204
221
|
type: import("vue").PropType<string>;
|
|
205
222
|
};
|
|
206
223
|
icon: {
|
|
207
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
224
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
208
225
|
};
|
|
209
226
|
description: {
|
|
210
227
|
type: import("vue").PropType<string>;
|
|
@@ -221,7 +238,7 @@ export declare const VftStep: import("vft/es/utils").SFCWithInstall<{
|
|
|
221
238
|
type: import("vue").PropType<string>;
|
|
222
239
|
};
|
|
223
240
|
icon: {
|
|
224
|
-
type: import("vue").PropType<import("vft/es/vft").IconProps>;
|
|
241
|
+
type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
|
|
225
242
|
};
|
|
226
243
|
description: {
|
|
227
244
|
type: import("vue").PropType<string>;
|
|
@@ -231,9 +248,11 @@ export declare const VftStep: import("vft/es/utils").SFCWithInstall<{
|
|
|
231
248
|
};
|
|
232
249
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
233
250
|
$slots: {
|
|
234
|
-
|
|
251
|
+
top?(_: {}): any;
|
|
235
252
|
title?(_: {}): any;
|
|
236
253
|
description?(_: {}): any;
|
|
254
|
+
icon?(_: {}): any;
|
|
255
|
+
bottom?(_: {}): any;
|
|
237
256
|
};
|
|
238
257
|
})>;
|
|
239
258
|
export * from './types';
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
import type { StepItemProps } from './types';
|
|
2
|
-
import type { Ref } from 'vue';
|
|
3
|
-
export interface IStepsProps {
|
|
4
|
-
space: number | string;
|
|
5
|
-
active: number;
|
|
6
|
-
direction: string;
|
|
7
|
-
alignCenter: boolean;
|
|
8
|
-
simple: boolean;
|
|
9
|
-
finishStatus: string;
|
|
10
|
-
processStatus: string;
|
|
11
|
-
}
|
|
1
|
+
import type { StepItemProps, StepsProps } from './types';
|
|
2
|
+
import type { Ref, VNode } from 'vue';
|
|
12
3
|
export interface StepItemState {
|
|
13
4
|
uid: number;
|
|
5
|
+
getVnode: () => VNode;
|
|
14
6
|
currentStatus: string;
|
|
15
7
|
setIndex: (val: number) => void;
|
|
16
8
|
calcProgress: (status: string) => void;
|
|
17
9
|
}
|
|
18
10
|
export interface IStepsInject {
|
|
19
|
-
props:
|
|
11
|
+
props: StepsProps;
|
|
20
12
|
steps: Ref<StepItemState[]>;
|
|
21
13
|
addStep: (item: StepItemState) => void;
|
|
22
|
-
removeStep: (
|
|
14
|
+
removeStep: (item: StepItemState) => void;
|
|
23
15
|
}
|
|
24
16
|
declare function __VLS_template(): {
|
|
25
|
-
|
|
17
|
+
top?(_: {}): any;
|
|
26
18
|
title?(_: {}): any;
|
|
27
19
|
description?(_: {}): any;
|
|
20
|
+
icon?(_: {}): any;
|
|
21
|
+
bottom?(_: {}): any;
|
|
28
22
|
};
|
|
29
23
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StepItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<StepItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|