@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ButtonCompType } from '../../buttons/src/interface';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
@@ -141,7 +141,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
141
141
|
* @defaultValue []
|
|
142
142
|
*/
|
|
143
143
|
buttons: {
|
|
144
|
-
type: PropType<
|
|
144
|
+
type: PropType<ButtonCompType[]>;
|
|
145
145
|
default: () => never[];
|
|
146
146
|
};
|
|
147
147
|
/**
|
|
@@ -156,10 +156,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
156
156
|
hideLoading: () => void;
|
|
157
157
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
158
|
ok: (...args: any[]) => void;
|
|
159
|
+
closed: (...args: any[]) => void;
|
|
159
160
|
cancel: (...args: any[]) => void;
|
|
160
161
|
"update:visible": (...args: any[]) => void;
|
|
161
162
|
"update:stepActive": (...args: any[]) => void;
|
|
162
|
-
closed: (...args: any[]) => void;
|
|
163
163
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
164
164
|
/**
|
|
165
165
|
* @zh 是否显示抽屉
|
|
@@ -292,7 +292,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
292
292
|
* @defaultValue []
|
|
293
293
|
*/
|
|
294
294
|
buttons: {
|
|
295
|
-
type: PropType<
|
|
295
|
+
type: PropType<ButtonCompType[]>;
|
|
296
296
|
default: () => never[];
|
|
297
297
|
};
|
|
298
298
|
/**
|
|
@@ -304,29 +304,29 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
304
304
|
};
|
|
305
305
|
}>> & Readonly<{
|
|
306
306
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
307
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
307
308
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
308
309
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
309
310
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
310
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
311
311
|
}>, {
|
|
312
312
|
title: string;
|
|
313
313
|
mask: boolean;
|
|
314
314
|
height: number;
|
|
315
315
|
width: number;
|
|
316
|
-
|
|
316
|
+
isStep: boolean;
|
|
317
|
+
validateSteps: Function;
|
|
318
|
+
beforeClose: Function;
|
|
319
|
+
steps: unknown[];
|
|
320
|
+
hasBtns: boolean;
|
|
321
|
+
buttons: ButtonCompType[];
|
|
322
|
+
btnText: string;
|
|
323
|
+
destroyOnClose: boolean;
|
|
324
|
+
hasSaveBtn: boolean;
|
|
317
325
|
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
318
326
|
visible: boolean;
|
|
319
327
|
subtitle: Function;
|
|
320
|
-
destroyOnClose: boolean;
|
|
321
|
-
hasBtns: boolean;
|
|
322
|
-
hasSaveBtn: boolean;
|
|
323
|
-
btnText: string;
|
|
324
328
|
showCloseBtn: boolean;
|
|
325
|
-
isStep: boolean;
|
|
326
329
|
stepActive: number;
|
|
327
|
-
steps: unknown[];
|
|
328
|
-
validateSteps: Function;
|
|
329
|
-
beforeClose: Function;
|
|
330
330
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
331
331
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
332
332
|
export default _default;
|
|
@@ -41,8 +41,8 @@ export declare const JEditorComp: {
|
|
|
41
41
|
}, import('vue').PublicProps, {
|
|
42
42
|
height: string | number;
|
|
43
43
|
value: string;
|
|
44
|
-
readonly: boolean;
|
|
45
44
|
placeholder: string;
|
|
45
|
+
readonly: boolean;
|
|
46
46
|
options: Record<string, any>;
|
|
47
47
|
isUploadImg: boolean;
|
|
48
48
|
apiUrl: string;
|
|
@@ -96,8 +96,8 @@ export declare const JEditorComp: {
|
|
|
96
96
|
}>, {}, {}, {}, {}, {
|
|
97
97
|
height: string | number;
|
|
98
98
|
value: string;
|
|
99
|
-
readonly: boolean;
|
|
100
99
|
placeholder: string;
|
|
100
|
+
readonly: boolean;
|
|
101
101
|
options: Record<string, any>;
|
|
102
102
|
isUploadImg: boolean;
|
|
103
103
|
apiUrl: string;
|
|
@@ -148,8 +148,8 @@ export declare const JEditorComp: {
|
|
|
148
148
|
}, string, {
|
|
149
149
|
height: string | number;
|
|
150
150
|
value: string;
|
|
151
|
-
readonly: boolean;
|
|
152
151
|
placeholder: string;
|
|
152
|
+
readonly: boolean;
|
|
153
153
|
options: Record<string, any>;
|
|
154
154
|
isUploadImg: boolean;
|
|
155
155
|
apiUrl: string;
|
|
@@ -73,8 +73,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
73
73
|
}>, {
|
|
74
74
|
height: string | number;
|
|
75
75
|
value: string;
|
|
76
|
-
readonly: boolean;
|
|
77
76
|
placeholder: string;
|
|
77
|
+
readonly: boolean;
|
|
78
78
|
options: Record<string, any>;
|
|
79
79
|
isUploadImg: boolean;
|
|
80
80
|
apiUrl: string;
|
|
@@ -68,7 +68,7 @@ export type { CountProps } from './count/src/count.vue';
|
|
|
68
68
|
export type { CountUpProps } from './count-up/src/count-up.vue';
|
|
69
69
|
export type { DataPanelProps } from './data-panel/src/data-panel.vue';
|
|
70
70
|
export type { SchemaRuntimeConfig } from './comp/src/interface';
|
|
71
|
-
export type {
|
|
71
|
+
export type { ButtonCompType } from './buttons/src/interface';
|
|
72
72
|
export type { FormLayerParamType } from './dynamic-layer/src/interface';
|
|
73
73
|
export type { FormSchemaConfig, RuleType } from './form/src/interface';
|
|
74
74
|
export type { PageSchemaConfig } from './page/src/interface';
|
|
@@ -77,10 +77,9 @@ export type { InputButtonProps } from './input-button/src/input-button.vue';
|
|
|
77
77
|
export type { InputCodeProps } from './input-code/src/input-code.vue';
|
|
78
78
|
export type { InputColorProps } from './input-color/src/input-color.vue';
|
|
79
79
|
export type { TitleProps } from './title/src/title.vue';
|
|
80
|
-
export type { ButtonItem as TablePanelButtonItem } from './table-panel/src/table-panel.vue';
|
|
81
80
|
export type { ButtonSelectProps, ButtonSelectOption } from './button-select/src/button-select.vue';
|
|
82
81
|
export type { EditConfigType } from './input-rows/src/interface';
|
|
83
|
-
export type { TableColumnConfig
|
|
82
|
+
export type { TableColumnConfig } from './table/src/table.vue';
|
|
84
83
|
export type { TabsProps } from './tabs/src/tabs.vue';
|
|
85
84
|
export type { CollapseProps } from './collapse/src/collapse.vue';
|
|
86
85
|
export type { WorkflowViewerProps } from './workflow-viewer/src/workflow-viewer.vue';
|
|
@@ -18,7 +18,6 @@ declare const JInput: {
|
|
|
18
18
|
type: string;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
rows: number;
|
|
21
|
-
readonly: boolean;
|
|
22
21
|
modelValue: string | number;
|
|
23
22
|
showWordLimit: boolean;
|
|
24
23
|
wordLimitPosition: "inside" | "outside";
|
|
@@ -30,6 +29,7 @@ declare const JInput: {
|
|
|
30
29
|
maxRows?: number;
|
|
31
30
|
};
|
|
32
31
|
autocomplete: string;
|
|
32
|
+
readonly: boolean;
|
|
33
33
|
autofocus: boolean;
|
|
34
34
|
validateEvent: boolean;
|
|
35
35
|
inputStyle: string | Record<string, string | number>;
|
|
@@ -54,7 +54,6 @@ declare const JInput: {
|
|
|
54
54
|
type: string;
|
|
55
55
|
disabled: boolean;
|
|
56
56
|
rows: number;
|
|
57
|
-
readonly: boolean;
|
|
58
57
|
modelValue: string | number;
|
|
59
58
|
showWordLimit: boolean;
|
|
60
59
|
wordLimitPosition: "inside" | "outside";
|
|
@@ -66,6 +65,7 @@ declare const JInput: {
|
|
|
66
65
|
maxRows?: number;
|
|
67
66
|
};
|
|
68
67
|
autocomplete: string;
|
|
68
|
+
readonly: boolean;
|
|
69
69
|
autofocus: boolean;
|
|
70
70
|
validateEvent: boolean;
|
|
71
71
|
inputStyle: string | Record<string, string | number>;
|
|
@@ -92,7 +92,6 @@ declare const JInput: {
|
|
|
92
92
|
type: string;
|
|
93
93
|
disabled: boolean;
|
|
94
94
|
rows: number;
|
|
95
|
-
readonly: boolean;
|
|
96
95
|
modelValue: string | number;
|
|
97
96
|
showWordLimit: boolean;
|
|
98
97
|
wordLimitPosition: "inside" | "outside";
|
|
@@ -104,6 +103,7 @@ declare const JInput: {
|
|
|
104
103
|
maxRows?: number;
|
|
105
104
|
};
|
|
106
105
|
autocomplete: string;
|
|
106
|
+
readonly: boolean;
|
|
107
107
|
autofocus: boolean;
|
|
108
108
|
validateEvent: boolean;
|
|
109
109
|
inputStyle: string | Record<string, string | number>;
|
|
@@ -93,7 +93,6 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
|
|
|
93
93
|
type: string;
|
|
94
94
|
disabled: boolean;
|
|
95
95
|
rows: number;
|
|
96
|
-
readonly: boolean;
|
|
97
96
|
modelValue: string | number;
|
|
98
97
|
showWordLimit: boolean;
|
|
99
98
|
wordLimitPosition: "inside" | "outside";
|
|
@@ -105,6 +104,7 @@ declare const _default: import('vue').DefineComponent<InputProps, {}, {}, {}, {}
|
|
|
105
104
|
maxRows?: number;
|
|
106
105
|
};
|
|
107
106
|
autocomplete: string;
|
|
107
|
+
readonly: boolean;
|
|
108
108
|
autofocus: boolean;
|
|
109
109
|
validateEvent: boolean;
|
|
110
110
|
inputStyle: string | Record<string, string | number>;
|
|
@@ -13,8 +13,8 @@ declare const JInputButton: {
|
|
|
13
13
|
size: "large" | "default" | "small";
|
|
14
14
|
height: number;
|
|
15
15
|
width: string | number;
|
|
16
|
-
destroyOnClose: boolean;
|
|
17
16
|
btnText: string;
|
|
17
|
+
destroyOnClose: boolean;
|
|
18
18
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
19
19
|
layerRef: unknown;
|
|
20
20
|
}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -33,8 +33,8 @@ declare const JInputButton: {
|
|
|
33
33
|
size: "large" | "default" | "small";
|
|
34
34
|
height: number;
|
|
35
35
|
width: string | number;
|
|
36
|
-
destroyOnClose: boolean;
|
|
37
36
|
btnText: string;
|
|
37
|
+
destroyOnClose: boolean;
|
|
38
38
|
}>;
|
|
39
39
|
__isFragment?: never;
|
|
40
40
|
__isTeleport?: never;
|
|
@@ -53,8 +53,8 @@ declare const JInputButton: {
|
|
|
53
53
|
size: "large" | "default" | "small";
|
|
54
54
|
height: number;
|
|
55
55
|
width: string | number;
|
|
56
|
-
destroyOnClose: boolean;
|
|
57
56
|
btnText: string;
|
|
57
|
+
destroyOnClose: boolean;
|
|
58
58
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
59
59
|
$slots: {
|
|
60
60
|
default?(_: {}): any;
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputButtonProps, {
|
|
|
51
51
|
size: "large" | "default" | "small";
|
|
52
52
|
height: number;
|
|
53
53
|
width: string | number;
|
|
54
|
-
destroyOnClose: boolean;
|
|
55
54
|
btnText: string;
|
|
55
|
+
destroyOnClose: boolean;
|
|
56
56
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
57
57
|
layerRef: unknown;
|
|
58
58
|
}, any>;
|
|
@@ -24,9 +24,9 @@ declare const JInputColor: {
|
|
|
24
24
|
}, import('vue').PublicProps, {
|
|
25
25
|
size: "large" | "default" | "small";
|
|
26
26
|
disabled: boolean;
|
|
27
|
-
readonly: boolean;
|
|
28
27
|
placeholder: string;
|
|
29
28
|
clearable: boolean;
|
|
29
|
+
readonly: boolean;
|
|
30
30
|
validateEvent: boolean;
|
|
31
31
|
inputStyle: string | Record<string, string | number>;
|
|
32
32
|
onlyButton: boolean;
|
|
@@ -59,9 +59,9 @@ declare const JInputColor: {
|
|
|
59
59
|
}, {}, {}, {}, {
|
|
60
60
|
size: "large" | "default" | "small";
|
|
61
61
|
disabled: boolean;
|
|
62
|
-
readonly: boolean;
|
|
63
62
|
placeholder: string;
|
|
64
63
|
clearable: boolean;
|
|
64
|
+
readonly: boolean;
|
|
65
65
|
validateEvent: boolean;
|
|
66
66
|
inputStyle: string | Record<string, string | number>;
|
|
67
67
|
onlyButton: boolean;
|
|
@@ -98,9 +98,9 @@ declare const JInputColor: {
|
|
|
98
98
|
}, string, {
|
|
99
99
|
size: "large" | "default" | "small";
|
|
100
100
|
disabled: boolean;
|
|
101
|
-
readonly: boolean;
|
|
102
101
|
placeholder: string;
|
|
103
102
|
clearable: boolean;
|
|
103
|
+
readonly: boolean;
|
|
104
104
|
validateEvent: boolean;
|
|
105
105
|
inputStyle: string | Record<string, string | number>;
|
|
106
106
|
onlyButton: boolean;
|
|
@@ -57,9 +57,9 @@ declare const _default: import('vue').DefineComponent<InputColorProps, {
|
|
|
57
57
|
}>, {
|
|
58
58
|
size: "large" | "default" | "small";
|
|
59
59
|
disabled: boolean;
|
|
60
|
-
readonly: boolean;
|
|
61
60
|
placeholder: string;
|
|
62
61
|
clearable: boolean;
|
|
62
|
+
readonly: boolean;
|
|
63
63
|
validateEvent: boolean;
|
|
64
64
|
inputStyle: string | Record<string, string | number>;
|
|
65
65
|
onlyButton: boolean;
|
|
@@ -15,9 +15,9 @@ export declare const JInputTag: {
|
|
|
15
15
|
}) => any;
|
|
16
16
|
}, import('vue').PublicProps, {
|
|
17
17
|
size: "small" | "default" | "large";
|
|
18
|
-
readonly: boolean;
|
|
19
18
|
modelValue: string;
|
|
20
19
|
placeholder: string;
|
|
20
|
+
readonly: boolean;
|
|
21
21
|
options: any[];
|
|
22
22
|
colors: any[];
|
|
23
23
|
isStyleLoop: boolean;
|
|
@@ -37,9 +37,9 @@ export declare const JInputTag: {
|
|
|
37
37
|
}) => any) | undefined;
|
|
38
38
|
}>, {}, {}, {}, {}, {
|
|
39
39
|
size: "small" | "default" | "large";
|
|
40
|
-
readonly: boolean;
|
|
41
40
|
modelValue: string;
|
|
42
41
|
placeholder: string;
|
|
42
|
+
readonly: boolean;
|
|
43
43
|
options: any[];
|
|
44
44
|
colors: any[];
|
|
45
45
|
isStyleLoop: boolean;
|
|
@@ -63,9 +63,9 @@ export declare const JInputTag: {
|
|
|
63
63
|
}) => any;
|
|
64
64
|
}, string, {
|
|
65
65
|
size: "small" | "default" | "large";
|
|
66
|
-
readonly: boolean;
|
|
67
66
|
modelValue: string;
|
|
68
67
|
placeholder: string;
|
|
68
|
+
readonly: boolean;
|
|
69
69
|
options: any[];
|
|
70
70
|
colors: any[];
|
|
71
71
|
isStyleLoop: boolean;
|
|
@@ -30,9 +30,9 @@ declare const _default: import('vue').DefineComponent<InputTagProps, {}, {}, {},
|
|
|
30
30
|
}) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
32
|
size: "small" | "default" | "large";
|
|
33
|
-
readonly: boolean;
|
|
34
33
|
modelValue: string;
|
|
35
34
|
placeholder: string;
|
|
35
|
+
readonly: boolean;
|
|
36
36
|
options: any[];
|
|
37
37
|
colors: any[];
|
|
38
38
|
isStyleLoop: boolean;
|
|
@@ -46,7 +46,7 @@ export declare const JLayer: {
|
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
buttons: {
|
|
49
|
-
type: import('vue').PropType<import('..').
|
|
49
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
50
50
|
default: () => never[];
|
|
51
51
|
};
|
|
52
52
|
destroyOnClose: {
|
|
@@ -63,8 +63,8 @@ export declare const JLayer: {
|
|
|
63
63
|
};
|
|
64
64
|
}>> & Readonly<{
|
|
65
65
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
67
66
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
69
|
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
70
70
|
close: () => void;
|
|
@@ -72,20 +72,20 @@ export declare const JLayer: {
|
|
|
72
72
|
hideLoading: () => void;
|
|
73
73
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
74
|
ok: (...args: any[]) => void;
|
|
75
|
-
cancel: (...args: any[]) => void;
|
|
76
75
|
closed: (...args: any[]) => void;
|
|
76
|
+
cancel: (...args: any[]) => void;
|
|
77
77
|
}, import('vue').PublicProps, {
|
|
78
78
|
height: number;
|
|
79
79
|
width: number;
|
|
80
|
-
buttons: import('..').buttonItem[];
|
|
81
|
-
destroyOnClose: boolean;
|
|
82
|
-
hasBtns: boolean;
|
|
83
|
-
hasSaveBtn: boolean;
|
|
84
|
-
btnText: string;
|
|
85
80
|
isStep: boolean;
|
|
86
|
-
steps: string[];
|
|
87
81
|
validateSteps: Function;
|
|
88
82
|
beforeClose: Function;
|
|
83
|
+
steps: string[];
|
|
84
|
+
hasBtns: boolean;
|
|
85
|
+
buttons: import('..').ButtonCompType[];
|
|
86
|
+
btnText: string;
|
|
87
|
+
destroyOnClose: boolean;
|
|
88
|
+
hasSaveBtn: boolean;
|
|
89
89
|
hasHeader: boolean;
|
|
90
90
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
91
91
|
modalRef: unknown;
|
|
@@ -143,7 +143,7 @@ export declare const JLayer: {
|
|
|
143
143
|
default: string;
|
|
144
144
|
};
|
|
145
145
|
buttons: {
|
|
146
|
-
type: import('vue').PropType<import('..').
|
|
146
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
147
147
|
default: () => never[];
|
|
148
148
|
};
|
|
149
149
|
destroyOnClose: {
|
|
@@ -160,8 +160,8 @@ export declare const JLayer: {
|
|
|
160
160
|
};
|
|
161
161
|
}>> & Readonly<{
|
|
162
162
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
163
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
164
163
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
166
|
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
167
167
|
close: () => void;
|
|
@@ -170,15 +170,15 @@ export declare const JLayer: {
|
|
|
170
170
|
}, {}, {}, {}, {
|
|
171
171
|
height: number;
|
|
172
172
|
width: number;
|
|
173
|
-
buttons: import('..').buttonItem[];
|
|
174
|
-
destroyOnClose: boolean;
|
|
175
|
-
hasBtns: boolean;
|
|
176
|
-
hasSaveBtn: boolean;
|
|
177
|
-
btnText: string;
|
|
178
173
|
isStep: boolean;
|
|
179
|
-
steps: string[];
|
|
180
174
|
validateSteps: Function;
|
|
181
175
|
beforeClose: Function;
|
|
176
|
+
steps: string[];
|
|
177
|
+
hasBtns: boolean;
|
|
178
|
+
buttons: import('..').ButtonCompType[];
|
|
179
|
+
btnText: string;
|
|
180
|
+
destroyOnClose: boolean;
|
|
181
|
+
hasSaveBtn: boolean;
|
|
182
182
|
hasHeader: boolean;
|
|
183
183
|
}>;
|
|
184
184
|
__isFragment?: never;
|
|
@@ -231,7 +231,7 @@ export declare const JLayer: {
|
|
|
231
231
|
default: string;
|
|
232
232
|
};
|
|
233
233
|
buttons: {
|
|
234
|
-
type: import('vue').PropType<import('..').
|
|
234
|
+
type: import('vue').PropType<import('..').ButtonCompType[]>;
|
|
235
235
|
default: () => never[];
|
|
236
236
|
};
|
|
237
237
|
destroyOnClose: {
|
|
@@ -248,8 +248,8 @@ export declare const JLayer: {
|
|
|
248
248
|
};
|
|
249
249
|
}>> & Readonly<{
|
|
250
250
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
251
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
252
251
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
252
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
254
|
open: (layerTitle: string, type?: string, layerSubtitle?: any) => void;
|
|
255
255
|
close: () => void;
|
|
@@ -257,20 +257,20 @@ export declare const JLayer: {
|
|
|
257
257
|
hideLoading: () => void;
|
|
258
258
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
259
259
|
ok: (...args: any[]) => void;
|
|
260
|
-
cancel: (...args: any[]) => void;
|
|
261
260
|
closed: (...args: any[]) => void;
|
|
261
|
+
cancel: (...args: any[]) => void;
|
|
262
262
|
}, string, {
|
|
263
263
|
height: number;
|
|
264
264
|
width: number;
|
|
265
|
-
buttons: import('..').buttonItem[];
|
|
266
|
-
destroyOnClose: boolean;
|
|
267
|
-
hasBtns: boolean;
|
|
268
|
-
hasSaveBtn: boolean;
|
|
269
|
-
btnText: string;
|
|
270
265
|
isStep: boolean;
|
|
271
|
-
steps: string[];
|
|
272
266
|
validateSteps: Function;
|
|
273
267
|
beforeClose: Function;
|
|
268
|
+
steps: string[];
|
|
269
|
+
hasBtns: boolean;
|
|
270
|
+
buttons: import('..').ButtonCompType[];
|
|
271
|
+
btnText: string;
|
|
272
|
+
destroyOnClose: boolean;
|
|
273
|
+
hasSaveBtn: boolean;
|
|
274
274
|
hasHeader: boolean;
|
|
275
275
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
276
276
|
$slots: {
|
|
@@ -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<{}>;
|
|
@@ -94,7 +94,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
94
94
|
* @zh 扩展按钮
|
|
95
95
|
*/
|
|
96
96
|
buttons: {
|
|
97
|
-
type: PropType<
|
|
97
|
+
type: PropType<ButtonCompType[]>;
|
|
98
98
|
default: () => never[];
|
|
99
99
|
};
|
|
100
100
|
/**
|
|
@@ -126,8 +126,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
126
126
|
hideLoading: () => void;
|
|
127
127
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
128
128
|
ok: (...args: any[]) => void;
|
|
129
|
-
cancel: (...args: any[]) => void;
|
|
130
129
|
closed: (...args: any[]) => void;
|
|
130
|
+
cancel: (...args: any[]) => void;
|
|
131
131
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
132
132
|
/**
|
|
133
133
|
* @zh 宽度
|
|
@@ -209,7 +209,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
209
209
|
* @zh 扩展按钮
|
|
210
210
|
*/
|
|
211
211
|
buttons: {
|
|
212
|
-
type: PropType<
|
|
212
|
+
type: PropType<ButtonCompType[]>;
|
|
213
213
|
default: () => never[];
|
|
214
214
|
};
|
|
215
215
|
/**
|
|
@@ -236,20 +236,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
236
236
|
};
|
|
237
237
|
}>> & Readonly<{
|
|
238
238
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
239
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
240
239
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
240
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
241
241
|
}>, {
|
|
242
242
|
height: number;
|
|
243
243
|
width: number;
|
|
244
|
-
buttons: buttonItem[];
|
|
245
|
-
destroyOnClose: boolean;
|
|
246
|
-
hasBtns: boolean;
|
|
247
|
-
hasSaveBtn: boolean;
|
|
248
|
-
btnText: string;
|
|
249
244
|
isStep: boolean;
|
|
250
|
-
steps: string[];
|
|
251
245
|
validateSteps: Function;
|
|
252
246
|
beforeClose: Function;
|
|
247
|
+
steps: string[];
|
|
248
|
+
hasBtns: boolean;
|
|
249
|
+
buttons: ButtonCompType[];
|
|
250
|
+
btnText: string;
|
|
251
|
+
destroyOnClose: boolean;
|
|
252
|
+
hasSaveBtn: boolean;
|
|
253
253
|
hasHeader: boolean;
|
|
254
254
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
255
255
|
modalRef: unknown;
|
|
@@ -41,7 +41,7 @@ export declare const JLayerForm: {
|
|
|
41
41
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
42
42
|
size: "small" | "default" | "large";
|
|
43
43
|
icon: string;
|
|
44
|
-
type: "link" | "default" | "text" | "primary" | "
|
|
44
|
+
type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
|
|
45
45
|
layerWidth: number;
|
|
46
46
|
layerHeight: number;
|
|
47
47
|
schema: import('..').SchemaRuntimeConfig[];
|
|
@@ -102,7 +102,7 @@ export declare const JLayerForm: {
|
|
|
102
102
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
103
103
|
size: "small" | "default" | "large";
|
|
104
104
|
icon: string;
|
|
105
|
-
type: "link" | "default" | "text" | "primary" | "
|
|
105
|
+
type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
|
|
106
106
|
layerWidth: number;
|
|
107
107
|
layerHeight: number;
|
|
108
108
|
schema: import('..').SchemaRuntimeConfig[];
|
|
@@ -160,7 +160,7 @@ export declare const JLayerForm: {
|
|
|
160
160
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
161
161
|
size: "small" | "default" | "large";
|
|
162
162
|
icon: string;
|
|
163
|
-
type: "link" | "default" | "text" | "primary" | "
|
|
163
|
+
type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
|
|
164
164
|
layerWidth: number;
|
|
165
165
|
layerHeight: number;
|
|
166
166
|
schema: import('..').SchemaRuntimeConfig[];
|
|
@@ -133,7 +133,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
133
133
|
}>> & Readonly<{}>, {
|
|
134
134
|
size: "small" | "default" | "large";
|
|
135
135
|
icon: string;
|
|
136
|
-
type: "link" | "default" | "text" | "primary" | "
|
|
136
|
+
type: "link" | "default" | "text" | "primary" | "dashed" | "ghost";
|
|
137
137
|
layerWidth: number;
|
|
138
138
|
layerHeight: number;
|
|
139
139
|
schema: SchemaRuntimeConfig[];
|
|
@@ -49,9 +49,9 @@ declare const JLayout: {
|
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
51
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
52
|
-
top: string | number;
|
|
53
52
|
left: string | number;
|
|
54
53
|
right: string | number;
|
|
54
|
+
top: string | number;
|
|
55
55
|
bottom: string | number;
|
|
56
56
|
leftMove: boolean;
|
|
57
57
|
rightMove: boolean;
|
|
@@ -121,9 +121,9 @@ declare const JLayout: {
|
|
|
121
121
|
default: boolean;
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
124
|
-
top: string | number;
|
|
125
124
|
left: string | number;
|
|
126
125
|
right: string | number;
|
|
126
|
+
top: string | number;
|
|
127
127
|
bottom: string | number;
|
|
128
128
|
leftMove: boolean;
|
|
129
129
|
rightMove: boolean;
|
|
@@ -187,9 +187,9 @@ declare const JLayout: {
|
|
|
187
187
|
default: boolean;
|
|
188
188
|
};
|
|
189
189
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
190
|
-
top: string | number;
|
|
191
190
|
left: string | number;
|
|
192
191
|
right: string | number;
|
|
192
|
+
top: string | number;
|
|
193
193
|
bottom: string | number;
|
|
194
194
|
leftMove: boolean;
|
|
195
195
|
rightMove: boolean;
|
|
@@ -215,9 +215,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
215
215
|
default: boolean;
|
|
216
216
|
};
|
|
217
217
|
}>> & Readonly<{}>, {
|
|
218
|
-
top: string | number;
|
|
219
218
|
left: string | number;
|
|
220
219
|
right: string | number;
|
|
220
|
+
top: string | number;
|
|
221
221
|
bottom: string | number;
|
|
222
222
|
leftMove: boolean;
|
|
223
223
|
rightMove: boolean;
|
|
@@ -15,8 +15,8 @@ declare const JNumber: {
|
|
|
15
15
|
}, import('vue').PublicProps, {
|
|
16
16
|
size: "large" | "default" | "small";
|
|
17
17
|
disabled: boolean;
|
|
18
|
-
readonly: boolean;
|
|
19
18
|
placeholder: string;
|
|
19
|
+
readonly: boolean;
|
|
20
20
|
step: number;
|
|
21
21
|
stepStrictly: boolean;
|
|
22
22
|
controls: boolean;
|
|
@@ -43,8 +43,8 @@ declare const JNumber: {
|
|
|
43
43
|
}, {}, {}, {}, {
|
|
44
44
|
size: "large" | "default" | "small";
|
|
45
45
|
disabled: boolean;
|
|
46
|
-
readonly: boolean;
|
|
47
46
|
placeholder: string;
|
|
47
|
+
readonly: boolean;
|
|
48
48
|
step: number;
|
|
49
49
|
stepStrictly: boolean;
|
|
50
50
|
controls: boolean;
|
|
@@ -71,8 +71,8 @@ declare const JNumber: {
|
|
|
71
71
|
}, string, {
|
|
72
72
|
size: "large" | "default" | "small";
|
|
73
73
|
disabled: boolean;
|
|
74
|
-
readonly: boolean;
|
|
75
74
|
placeholder: string;
|
|
75
|
+
readonly: boolean;
|
|
76
76
|
step: number;
|
|
77
77
|
stepStrictly: boolean;
|
|
78
78
|
controls: boolean;
|
|
@@ -64,8 +64,8 @@ declare const _default: import('vue').DefineComponent<NumberProps, {
|
|
|
64
64
|
}>, {
|
|
65
65
|
size: "large" | "default" | "small";
|
|
66
66
|
disabled: boolean;
|
|
67
|
-
readonly: boolean;
|
|
68
67
|
placeholder: string;
|
|
68
|
+
readonly: boolean;
|
|
69
69
|
step: number;
|
|
70
70
|
stepStrictly: boolean;
|
|
71
71
|
controls: boolean;
|