@a2simcode/ui 0.0.25 → 0.0.27
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/components/autocomplete/index.d.ts +3 -3
- package/dist/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/dist/components/button/index.d.ts +9 -9
- package/dist/components/button/src/button.vue.d.ts +4 -4
- package/dist/components/buttons/index.d.ts +10 -33
- package/dist/components/buttons/src/index.vue.d.ts +9 -37
- package/dist/components/buttons/src/interface.d.ts +11 -113
- package/dist/components/cascader-select/index.d.ts +3 -3
- package/dist/components/cascader-select/src/cascader-select.vue.d.ts +1 -1
- package/dist/components/checkbox/index.d.ts +3 -3
- package/dist/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +35 -35
- package/dist/components/dialog/src/index.vue.d.ts +14 -14
- package/dist/components/dialog-full/index.d.ts +35 -35
- package/dist/components/dialog-full/src/index.vue.d.ts +14 -14
- package/dist/components/drawer/index.d.ts +35 -35
- package/dist/components/drawer/src/drawer.vue.d.ts +14 -14
- package/dist/components/dynamic-layer/index.d.ts +1 -0
- package/dist/components/dynamic-layer/src/useLayer.d.ts +4 -0
- package/dist/components/editor/index.d.ts +3 -3
- package/dist/components/editor/src/editor.vue.d.ts +1 -1
- package/dist/components/index.d.ts +2 -3
- package/dist/components/input/index.d.ts +3 -3
- package/dist/components/input/src/input.vue.d.ts +1 -1
- package/dist/components/input-button/index.d.ts +3 -3
- package/dist/components/input-button/src/input-button.vue.d.ts +1 -1
- package/dist/components/input-color/index.d.ts +3 -3
- package/dist/components/input-color/src/input-color.vue.d.ts +1 -1
- package/dist/components/input-tag/index.d.ts +3 -3
- package/dist/components/input-tag/src/input-tag.vue.d.ts +1 -1
- package/dist/components/layer/index.d.ts +26 -26
- package/dist/components/layer/src/layer.vue.d.ts +11 -11
- package/dist/components/layer-form/index.d.ts +3 -3
- package/dist/components/layer-form/src/layer-form.vue.d.ts +1 -1
- package/dist/components/layout/index.d.ts +3 -3
- package/dist/components/layout/src/layout.vue.d.ts +1 -1
- package/dist/components/number/index.d.ts +3 -3
- package/dist/components/number/src/number.vue.d.ts +1 -1
- package/dist/components/radio/index.d.ts +3 -3
- package/dist/components/radio/src/radio.vue.d.ts +1 -1
- package/dist/components/rate/index.d.ts +3 -3
- package/dist/components/rate/src/rate.vue.d.ts +1 -1
- package/dist/components/select/index.d.ts +3 -3
- package/dist/components/select/src/select.vue.d.ts +1 -1
- package/dist/components/slider/index.d.ts +3 -3
- package/dist/components/slider/src/slider.vue.d.ts +1 -1
- package/dist/components/switch/index.d.ts +3 -3
- package/dist/components/switch/src/switch.vue.d.ts +1 -1
- package/dist/components/table/index.d.ts +6 -6
- package/dist/components/table/src/table.vue.d.ts +4 -21
- package/dist/components/table-panel/index.d.ts +18 -18
- package/dist/components/table-panel/src/table-panel.vue.d.ts +10 -16
- package/dist/components/tree/index.d.ts +6 -6
- package/dist/components/tree/src/tree.vue.d.ts +4 -4
- package/dist/components/upload/index.d.ts +6 -6
- package/dist/components/upload/src/upload.vue.d.ts +2 -2
- package/dist/simcode-ui.es.js +5493 -5495
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/components/buttons/src/useButtons.d.ts +0 -4
|
@@ -93,46 +93,46 @@ export declare const JDialog: {
|
|
|
93
93
|
default: undefined;
|
|
94
94
|
};
|
|
95
95
|
buttons: {
|
|
96
|
-
type: import('vue').PropType<import('..').
|
|
96
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
97
97
|
default: () => never[];
|
|
98
98
|
};
|
|
99
99
|
}>> & Readonly<{
|
|
100
100
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
101
102
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
102
103
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
103
104
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
106
|
showLoading: (text?: string) => void;
|
|
107
107
|
hideLoading: () => void;
|
|
108
108
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
109
109
|
ok: (...args: any[]) => void;
|
|
110
|
+
closed: (...args: any[]) => void;
|
|
110
111
|
cancel: (...args: any[]) => void;
|
|
111
112
|
"update:visible": (...args: any[]) => void;
|
|
112
113
|
"update:stepActive": (...args: any[]) => void;
|
|
113
|
-
closed: (...args: any[]) => void;
|
|
114
114
|
}, import('vue').PublicProps, {
|
|
115
115
|
title: string;
|
|
116
116
|
mask: boolean;
|
|
117
117
|
height: number;
|
|
118
118
|
width: number;
|
|
119
|
-
|
|
119
|
+
isStep: boolean;
|
|
120
|
+
validateSteps: Function;
|
|
121
|
+
beforeClose: Function;
|
|
122
|
+
steps: string[];
|
|
123
|
+
hasBtns: boolean;
|
|
124
|
+
buttons: import('..').ButtonCompType[];
|
|
125
|
+
btnText: string;
|
|
126
|
+
destroyOnClose: boolean;
|
|
127
|
+
hasSaveBtn: boolean;
|
|
120
128
|
minWidth: number;
|
|
121
129
|
minHeight: number;
|
|
122
130
|
visible: boolean;
|
|
123
131
|
subtitle: Function;
|
|
124
|
-
destroyOnClose: boolean;
|
|
125
|
-
hasBtns: boolean;
|
|
126
|
-
hasSaveBtn: boolean;
|
|
127
|
-
btnText: string;
|
|
128
132
|
showCloseBtn: boolean;
|
|
129
133
|
autoHeight: boolean;
|
|
130
|
-
isStep: boolean;
|
|
131
134
|
stepActive: number;
|
|
132
|
-
steps: string[];
|
|
133
|
-
validateSteps: Function;
|
|
134
135
|
zoomControls: boolean;
|
|
135
|
-
beforeClose: Function;
|
|
136
136
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
137
137
|
P: {};
|
|
138
138
|
B: {};
|
|
@@ -234,15 +234,15 @@ export declare const JDialog: {
|
|
|
234
234
|
default: undefined;
|
|
235
235
|
};
|
|
236
236
|
buttons: {
|
|
237
|
-
type: import('vue').PropType<import('..').
|
|
237
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
238
238
|
default: () => never[];
|
|
239
239
|
};
|
|
240
240
|
}>> & Readonly<{
|
|
241
241
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
242
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
242
243
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
243
244
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
244
245
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
245
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
246
246
|
}>, {
|
|
247
247
|
showLoading: (text?: string) => void;
|
|
248
248
|
hideLoading: () => void;
|
|
@@ -251,23 +251,23 @@ export declare const JDialog: {
|
|
|
251
251
|
mask: boolean;
|
|
252
252
|
height: number;
|
|
253
253
|
width: number;
|
|
254
|
-
|
|
254
|
+
isStep: boolean;
|
|
255
|
+
validateSteps: Function;
|
|
256
|
+
beforeClose: Function;
|
|
257
|
+
steps: string[];
|
|
258
|
+
hasBtns: boolean;
|
|
259
|
+
buttons: import('..').ButtonCompType[];
|
|
260
|
+
btnText: string;
|
|
261
|
+
destroyOnClose: boolean;
|
|
262
|
+
hasSaveBtn: boolean;
|
|
255
263
|
minWidth: number;
|
|
256
264
|
minHeight: number;
|
|
257
265
|
visible: boolean;
|
|
258
266
|
subtitle: Function;
|
|
259
|
-
destroyOnClose: boolean;
|
|
260
|
-
hasBtns: boolean;
|
|
261
|
-
hasSaveBtn: boolean;
|
|
262
|
-
btnText: string;
|
|
263
267
|
showCloseBtn: boolean;
|
|
264
268
|
autoHeight: boolean;
|
|
265
|
-
isStep: boolean;
|
|
266
269
|
stepActive: number;
|
|
267
|
-
steps: string[];
|
|
268
|
-
validateSteps: Function;
|
|
269
270
|
zoomControls: boolean;
|
|
270
|
-
beforeClose: Function;
|
|
271
271
|
}>;
|
|
272
272
|
__isFragment?: never;
|
|
273
273
|
__isTeleport?: never;
|
|
@@ -366,46 +366,46 @@ export declare const JDialog: {
|
|
|
366
366
|
default: undefined;
|
|
367
367
|
};
|
|
368
368
|
buttons: {
|
|
369
|
-
type: import('vue').PropType<import('..').
|
|
369
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
370
370
|
default: () => never[];
|
|
371
371
|
};
|
|
372
372
|
}>> & Readonly<{
|
|
373
373
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
374
375
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
375
376
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
376
377
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
377
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
378
378
|
}>, {
|
|
379
379
|
showLoading: (text?: string) => void;
|
|
380
380
|
hideLoading: () => void;
|
|
381
381
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
382
382
|
ok: (...args: any[]) => void;
|
|
383
|
+
closed: (...args: any[]) => void;
|
|
383
384
|
cancel: (...args: any[]) => void;
|
|
384
385
|
"update:visible": (...args: any[]) => void;
|
|
385
386
|
"update:stepActive": (...args: any[]) => void;
|
|
386
|
-
closed: (...args: any[]) => void;
|
|
387
387
|
}, string, {
|
|
388
388
|
title: string;
|
|
389
389
|
mask: boolean;
|
|
390
390
|
height: number;
|
|
391
391
|
width: number;
|
|
392
|
-
|
|
392
|
+
isStep: boolean;
|
|
393
|
+
validateSteps: Function;
|
|
394
|
+
beforeClose: Function;
|
|
395
|
+
steps: string[];
|
|
396
|
+
hasBtns: boolean;
|
|
397
|
+
buttons: import('..').ButtonCompType[];
|
|
398
|
+
btnText: string;
|
|
399
|
+
destroyOnClose: boolean;
|
|
400
|
+
hasSaveBtn: boolean;
|
|
393
401
|
minWidth: number;
|
|
394
402
|
minHeight: number;
|
|
395
403
|
visible: boolean;
|
|
396
404
|
subtitle: Function;
|
|
397
|
-
destroyOnClose: boolean;
|
|
398
|
-
hasBtns: boolean;
|
|
399
|
-
hasSaveBtn: boolean;
|
|
400
|
-
btnText: string;
|
|
401
405
|
showCloseBtn: boolean;
|
|
402
406
|
autoHeight: boolean;
|
|
403
|
-
isStep: boolean;
|
|
404
407
|
stepActive: number;
|
|
405
|
-
steps: string[];
|
|
406
|
-
validateSteps: Function;
|
|
407
408
|
zoomControls: boolean;
|
|
408
|
-
beforeClose: Function;
|
|
409
409
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
410
410
|
$slots: {
|
|
411
411
|
default?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonCompType } from '../../buttons/src/interface';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
@@ -180,7 +180,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
180
180
|
* @zh 扩展按钮
|
|
181
181
|
*/
|
|
182
182
|
buttons: {
|
|
183
|
-
type: PropType<
|
|
183
|
+
type: PropType<ButtonCompType[]>;
|
|
184
184
|
default: () => never[];
|
|
185
185
|
};
|
|
186
186
|
}>, {
|
|
@@ -188,10 +188,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
188
188
|
hideLoading: () => void;
|
|
189
189
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
190
190
|
ok: (...args: any[]) => void;
|
|
191
|
+
closed: (...args: any[]) => void;
|
|
191
192
|
cancel: (...args: any[]) => void;
|
|
192
193
|
"update:visible": (...args: any[]) => void;
|
|
193
194
|
"update:stepActive": (...args: any[]) => void;
|
|
194
|
-
closed: (...args: any[]) => void;
|
|
195
195
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
196
196
|
/**
|
|
197
197
|
* @zh 是否显示
|
|
@@ -363,37 +363,37 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
363
363
|
* @zh 扩展按钮
|
|
364
364
|
*/
|
|
365
365
|
buttons: {
|
|
366
|
-
type: PropType<
|
|
366
|
+
type: PropType<ButtonCompType[]>;
|
|
367
367
|
default: () => never[];
|
|
368
368
|
};
|
|
369
369
|
}>> & Readonly<{
|
|
370
370
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
371
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
371
372
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
372
373
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
373
374
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
374
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
375
375
|
}>, {
|
|
376
376
|
title: string;
|
|
377
377
|
mask: boolean;
|
|
378
378
|
height: number;
|
|
379
379
|
width: number;
|
|
380
|
-
|
|
380
|
+
isStep: boolean;
|
|
381
|
+
validateSteps: Function;
|
|
382
|
+
beforeClose: Function;
|
|
383
|
+
steps: string[];
|
|
384
|
+
hasBtns: boolean;
|
|
385
|
+
buttons: ButtonCompType[];
|
|
386
|
+
btnText: string;
|
|
387
|
+
destroyOnClose: boolean;
|
|
388
|
+
hasSaveBtn: boolean;
|
|
381
389
|
minWidth: number;
|
|
382
390
|
minHeight: number;
|
|
383
391
|
visible: boolean;
|
|
384
392
|
subtitle: Function;
|
|
385
|
-
destroyOnClose: boolean;
|
|
386
|
-
hasBtns: boolean;
|
|
387
|
-
hasSaveBtn: boolean;
|
|
388
|
-
btnText: string;
|
|
389
393
|
showCloseBtn: boolean;
|
|
390
394
|
autoHeight: boolean;
|
|
391
|
-
isStep: boolean;
|
|
392
395
|
stepActive: number;
|
|
393
|
-
steps: string[];
|
|
394
|
-
validateSteps: Function;
|
|
395
396
|
zoomControls: boolean;
|
|
396
|
-
beforeClose: Function;
|
|
397
397
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
398
398
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
399
399
|
export default _default;
|
|
@@ -61,7 +61,7 @@ export declare const JDialogFull: {
|
|
|
61
61
|
default: undefined;
|
|
62
62
|
};
|
|
63
63
|
buttons: {
|
|
64
|
-
type: import('vue').PropType<import('..').
|
|
64
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
65
65
|
default: () => never[];
|
|
66
66
|
};
|
|
67
67
|
subtitle: {
|
|
@@ -70,34 +70,34 @@ export declare const JDialogFull: {
|
|
|
70
70
|
};
|
|
71
71
|
}>> & Readonly<{
|
|
72
72
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
73
74
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
74
75
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
75
76
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
showLoading: (text?: string) => void;
|
|
79
79
|
hideLoading: () => void;
|
|
80
80
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
81
|
ok: (...args: any[]) => void;
|
|
82
|
+
closed: (...args: any[]) => void;
|
|
82
83
|
cancel: (...args: any[]) => void;
|
|
83
84
|
"update:visible": (...args: any[]) => void;
|
|
84
85
|
"update:stepActive": (...args: any[]) => void;
|
|
85
|
-
closed: (...args: any[]) => void;
|
|
86
86
|
}, import('vue').PublicProps, {
|
|
87
87
|
title: string;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
isStep: boolean;
|
|
89
|
+
validateSteps: Function;
|
|
90
|
+
beforeClose: Function;
|
|
91
|
+
steps: string[];
|
|
92
92
|
hasBtns: boolean;
|
|
93
|
-
|
|
93
|
+
buttons: import('..').ButtonCompType[];
|
|
94
94
|
btnText: string;
|
|
95
|
+
destroyOnClose: boolean;
|
|
96
|
+
hasSaveBtn: boolean;
|
|
97
|
+
visible: boolean;
|
|
98
|
+
subtitle: Function;
|
|
95
99
|
showCloseBtn: boolean;
|
|
96
|
-
isStep: boolean;
|
|
97
100
|
stepActive: number;
|
|
98
|
-
steps: string[];
|
|
99
|
-
validateSteps: Function;
|
|
100
|
-
beforeClose: Function;
|
|
101
101
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
102
102
|
P: {};
|
|
103
103
|
B: {};
|
|
@@ -167,7 +167,7 @@ export declare const JDialogFull: {
|
|
|
167
167
|
default: undefined;
|
|
168
168
|
};
|
|
169
169
|
buttons: {
|
|
170
|
-
type: import('vue').PropType<import('..').
|
|
170
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
171
171
|
default: () => never[];
|
|
172
172
|
};
|
|
173
173
|
subtitle: {
|
|
@@ -176,28 +176,28 @@ export declare const JDialogFull: {
|
|
|
176
176
|
};
|
|
177
177
|
}>> & Readonly<{
|
|
178
178
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
179
180
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
180
181
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
181
182
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
182
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
183
183
|
}>, {
|
|
184
184
|
showLoading: (text?: string) => void;
|
|
185
185
|
hideLoading: () => void;
|
|
186
186
|
}, {}, {}, {}, {
|
|
187
187
|
title: string;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
isStep: boolean;
|
|
189
|
+
validateSteps: Function;
|
|
190
|
+
beforeClose: Function;
|
|
191
|
+
steps: string[];
|
|
192
192
|
hasBtns: boolean;
|
|
193
|
-
|
|
193
|
+
buttons: import('..').ButtonCompType[];
|
|
194
194
|
btnText: string;
|
|
195
|
+
destroyOnClose: boolean;
|
|
196
|
+
hasSaveBtn: boolean;
|
|
197
|
+
visible: boolean;
|
|
198
|
+
subtitle: Function;
|
|
195
199
|
showCloseBtn: boolean;
|
|
196
|
-
isStep: boolean;
|
|
197
200
|
stepActive: number;
|
|
198
|
-
steps: string[];
|
|
199
|
-
validateSteps: Function;
|
|
200
|
-
beforeClose: Function;
|
|
201
201
|
}>;
|
|
202
202
|
__isFragment?: never;
|
|
203
203
|
__isTeleport?: never;
|
|
@@ -264,7 +264,7 @@ export declare const JDialogFull: {
|
|
|
264
264
|
default: undefined;
|
|
265
265
|
};
|
|
266
266
|
buttons: {
|
|
267
|
-
type: import('vue').PropType<import('..').
|
|
267
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
268
268
|
default: () => never[];
|
|
269
269
|
};
|
|
270
270
|
subtitle: {
|
|
@@ -273,34 +273,34 @@ export declare const JDialogFull: {
|
|
|
273
273
|
};
|
|
274
274
|
}>> & Readonly<{
|
|
275
275
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
276
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
276
277
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
277
278
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
278
279
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
279
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
280
280
|
}>, {
|
|
281
281
|
showLoading: (text?: string) => void;
|
|
282
282
|
hideLoading: () => void;
|
|
283
283
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
284
284
|
ok: (...args: any[]) => void;
|
|
285
|
+
closed: (...args: any[]) => void;
|
|
285
286
|
cancel: (...args: any[]) => void;
|
|
286
287
|
"update:visible": (...args: any[]) => void;
|
|
287
288
|
"update:stepActive": (...args: any[]) => void;
|
|
288
|
-
closed: (...args: any[]) => void;
|
|
289
289
|
}, string, {
|
|
290
290
|
title: string;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
isStep: boolean;
|
|
292
|
+
validateSteps: Function;
|
|
293
|
+
beforeClose: Function;
|
|
294
|
+
steps: string[];
|
|
295
295
|
hasBtns: boolean;
|
|
296
|
-
|
|
296
|
+
buttons: import('..').ButtonCompType[];
|
|
297
297
|
btnText: string;
|
|
298
|
+
destroyOnClose: boolean;
|
|
299
|
+
hasSaveBtn: boolean;
|
|
300
|
+
visible: boolean;
|
|
301
|
+
subtitle: Function;
|
|
298
302
|
showCloseBtn: boolean;
|
|
299
|
-
isStep: boolean;
|
|
300
303
|
stepActive: number;
|
|
301
|
-
steps: string[];
|
|
302
|
-
validateSteps: Function;
|
|
303
|
-
beforeClose: Function;
|
|
304
304
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
305
305
|
$slots: {
|
|
306
306
|
default?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonCompType } from '../../buttons/src/interface';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
@@ -118,7 +118,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
118
118
|
* @zh 扩展按钮
|
|
119
119
|
*/
|
|
120
120
|
buttons: {
|
|
121
|
-
type: PropType<
|
|
121
|
+
type: PropType<ButtonCompType[]>;
|
|
122
122
|
default: () => never[];
|
|
123
123
|
};
|
|
124
124
|
/**
|
|
@@ -133,10 +133,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
133
133
|
hideLoading: () => void;
|
|
134
134
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
135
135
|
ok: (...args: any[]) => void;
|
|
136
|
+
closed: (...args: any[]) => void;
|
|
136
137
|
cancel: (...args: any[]) => void;
|
|
137
138
|
"update:visible": (...args: any[]) => void;
|
|
138
139
|
"update:stepActive": (...args: any[]) => void;
|
|
139
|
-
closed: (...args: any[]) => void;
|
|
140
140
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
141
141
|
/**
|
|
142
142
|
* @zh 是否显示
|
|
@@ -246,7 +246,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
246
246
|
* @zh 扩展按钮
|
|
247
247
|
*/
|
|
248
248
|
buttons: {
|
|
249
|
-
type: PropType<
|
|
249
|
+
type: PropType<ButtonCompType[]>;
|
|
250
250
|
default: () => never[];
|
|
251
251
|
};
|
|
252
252
|
/**
|
|
@@ -258,25 +258,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
258
258
|
};
|
|
259
259
|
}>> & Readonly<{
|
|
260
260
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
261
262
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
262
263
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
263
264
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
264
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
}>, {
|
|
266
266
|
title: string;
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
isStep: boolean;
|
|
268
|
+
validateSteps: Function;
|
|
269
|
+
beforeClose: Function;
|
|
270
|
+
steps: string[];
|
|
271
271
|
hasBtns: boolean;
|
|
272
|
-
|
|
272
|
+
buttons: ButtonCompType[];
|
|
273
273
|
btnText: string;
|
|
274
|
+
destroyOnClose: boolean;
|
|
275
|
+
hasSaveBtn: boolean;
|
|
276
|
+
visible: boolean;
|
|
277
|
+
subtitle: Function;
|
|
274
278
|
showCloseBtn: boolean;
|
|
275
|
-
isStep: boolean;
|
|
276
279
|
stepActive: number;
|
|
277
|
-
steps: string[];
|
|
278
|
-
validateSteps: Function;
|
|
279
|
-
beforeClose: Function;
|
|
280
280
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
281
281
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
282
282
|
export default _default;
|
|
@@ -65,7 +65,7 @@ export declare const JDrawer: {
|
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
buttons: {
|
|
68
|
-
type: import('vue').PropType<import('..').
|
|
68
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
69
69
|
default: () => never[];
|
|
70
70
|
};
|
|
71
71
|
subtitle: {
|
|
@@ -74,38 +74,38 @@ export declare const JDrawer: {
|
|
|
74
74
|
};
|
|
75
75
|
}>> & Readonly<{
|
|
76
76
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
77
78
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
78
79
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
79
80
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
82
|
showLoading: (text?: string) => void;
|
|
83
83
|
hideLoading: () => void;
|
|
84
84
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
85
85
|
ok: (...args: any[]) => void;
|
|
86
|
+
closed: (...args: any[]) => void;
|
|
86
87
|
cancel: (...args: any[]) => void;
|
|
87
88
|
"update:visible": (...args: any[]) => void;
|
|
88
89
|
"update:stepActive": (...args: any[]) => void;
|
|
89
|
-
closed: (...args: any[]) => void;
|
|
90
90
|
}, import('vue').PublicProps, {
|
|
91
91
|
title: string;
|
|
92
92
|
mask: boolean;
|
|
93
93
|
height: number;
|
|
94
94
|
width: number;
|
|
95
|
-
|
|
95
|
+
isStep: boolean;
|
|
96
|
+
validateSteps: Function;
|
|
97
|
+
beforeClose: Function;
|
|
98
|
+
steps: unknown[];
|
|
99
|
+
hasBtns: boolean;
|
|
100
|
+
buttons: import('..').ButtonCompType[];
|
|
101
|
+
btnText: string;
|
|
102
|
+
destroyOnClose: boolean;
|
|
103
|
+
hasSaveBtn: boolean;
|
|
96
104
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
97
105
|
visible: boolean;
|
|
98
106
|
subtitle: Function;
|
|
99
|
-
destroyOnClose: boolean;
|
|
100
|
-
hasBtns: boolean;
|
|
101
|
-
hasSaveBtn: boolean;
|
|
102
|
-
btnText: string;
|
|
103
107
|
showCloseBtn: boolean;
|
|
104
|
-
isStep: boolean;
|
|
105
108
|
stepActive: number;
|
|
106
|
-
steps: unknown[];
|
|
107
|
-
validateSteps: Function;
|
|
108
|
-
beforeClose: Function;
|
|
109
109
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
110
110
|
P: {};
|
|
111
111
|
B: {};
|
|
@@ -179,7 +179,7 @@ export declare const JDrawer: {
|
|
|
179
179
|
default: string;
|
|
180
180
|
};
|
|
181
181
|
buttons: {
|
|
182
|
-
type: import('vue').PropType<import('..').
|
|
182
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
183
183
|
default: () => never[];
|
|
184
184
|
};
|
|
185
185
|
subtitle: {
|
|
@@ -188,10 +188,10 @@ export declare const JDrawer: {
|
|
|
188
188
|
};
|
|
189
189
|
}>> & Readonly<{
|
|
190
190
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
191
192
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
192
193
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
193
194
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
195
195
|
}>, {
|
|
196
196
|
showLoading: (text?: string) => void;
|
|
197
197
|
hideLoading: () => void;
|
|
@@ -200,20 +200,20 @@ export declare const JDrawer: {
|
|
|
200
200
|
mask: boolean;
|
|
201
201
|
height: number;
|
|
202
202
|
width: number;
|
|
203
|
-
|
|
203
|
+
isStep: boolean;
|
|
204
|
+
validateSteps: Function;
|
|
205
|
+
beforeClose: Function;
|
|
206
|
+
steps: unknown[];
|
|
207
|
+
hasBtns: boolean;
|
|
208
|
+
buttons: import('..').ButtonCompType[];
|
|
209
|
+
btnText: string;
|
|
210
|
+
destroyOnClose: boolean;
|
|
211
|
+
hasSaveBtn: boolean;
|
|
204
212
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
205
213
|
visible: boolean;
|
|
206
214
|
subtitle: Function;
|
|
207
|
-
destroyOnClose: boolean;
|
|
208
|
-
hasBtns: boolean;
|
|
209
|
-
hasSaveBtn: boolean;
|
|
210
|
-
btnText: string;
|
|
211
215
|
showCloseBtn: boolean;
|
|
212
|
-
isStep: boolean;
|
|
213
216
|
stepActive: number;
|
|
214
|
-
steps: unknown[];
|
|
215
|
-
validateSteps: Function;
|
|
216
|
-
beforeClose: Function;
|
|
217
217
|
}>;
|
|
218
218
|
__isFragment?: never;
|
|
219
219
|
__isTeleport?: never;
|
|
@@ -284,7 +284,7 @@ export declare const JDrawer: {
|
|
|
284
284
|
default: string;
|
|
285
285
|
};
|
|
286
286
|
buttons: {
|
|
287
|
-
type: import('vue').PropType<import('..').
|
|
287
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
288
288
|
default: () => never[];
|
|
289
289
|
};
|
|
290
290
|
subtitle: {
|
|
@@ -293,38 +293,38 @@ export declare const JDrawer: {
|
|
|
293
293
|
};
|
|
294
294
|
}>> & Readonly<{
|
|
295
295
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
296
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
296
297
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
297
298
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
298
299
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
299
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
300
300
|
}>, {
|
|
301
301
|
showLoading: (text?: string) => void;
|
|
302
302
|
hideLoading: () => void;
|
|
303
303
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
304
304
|
ok: (...args: any[]) => void;
|
|
305
|
+
closed: (...args: any[]) => void;
|
|
305
306
|
cancel: (...args: any[]) => void;
|
|
306
307
|
"update:visible": (...args: any[]) => void;
|
|
307
308
|
"update:stepActive": (...args: any[]) => void;
|
|
308
|
-
closed: (...args: any[]) => void;
|
|
309
309
|
}, string, {
|
|
310
310
|
title: string;
|
|
311
311
|
mask: boolean;
|
|
312
312
|
height: number;
|
|
313
313
|
width: number;
|
|
314
|
-
|
|
314
|
+
isStep: boolean;
|
|
315
|
+
validateSteps: Function;
|
|
316
|
+
beforeClose: Function;
|
|
317
|
+
steps: unknown[];
|
|
318
|
+
hasBtns: boolean;
|
|
319
|
+
buttons: import('..').ButtonCompType[];
|
|
320
|
+
btnText: string;
|
|
321
|
+
destroyOnClose: boolean;
|
|
322
|
+
hasSaveBtn: boolean;
|
|
315
323
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
316
324
|
visible: boolean;
|
|
317
325
|
subtitle: Function;
|
|
318
|
-
destroyOnClose: boolean;
|
|
319
|
-
hasBtns: boolean;
|
|
320
|
-
hasSaveBtn: boolean;
|
|
321
|
-
btnText: string;
|
|
322
326
|
showCloseBtn: boolean;
|
|
323
|
-
isStep: boolean;
|
|
324
327
|
stepActive: number;
|
|
325
|
-
steps: unknown[];
|
|
326
|
-
validateSteps: Function;
|
|
327
|
-
beforeClose: Function;
|
|
328
328
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
329
329
|
$slots: {
|
|
330
330
|
default?(_: {}): any;
|