@bscjc/webui 1.2.4 → 1.3.0
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/README.md +5 -2
- package/dist/components/JcCascader/index.d.ts +150 -50
- package/dist/components/JcDatePicker/index.d.ts +98 -33
- package/dist/components/JcImportButton/index.d.ts +62 -0
- package/dist/components/JcImportButton/index.vue.d.ts +29 -0
- package/dist/components/JcImportDialog/index.d.ts +101 -0
- package/dist/components/JcImportDialog/index.vue.d.ts +53 -0
- package/dist/components/JcInputComplex/index.d.ts +86 -28
- package/dist/components/JcInputSwitch/index.d.ts +86 -28
- package/dist/components/JcListLayout/index.d.ts +2 -4
- package/dist/components/JcMoreQueryContain/index.d.ts +2 -4
- package/dist/components/JcSelectQuery/index.d.ts +2 -4
- package/dist/components/JcTagQuery/index.d.ts +29 -10
- package/dist/components/index.d.ts +2 -0
- package/dist/es/index.mjs +1650 -1469
- package/dist/index.css +2 -2
- package/dist/lib/index.cjs +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/components/JcCascader/index.d.ts +152 -52
- package/dist/types/components/JcDatePicker/index.d.ts +100 -35
- package/dist/types/components/JcImportButton/index.d.ts +64 -0
- package/dist/types/components/JcImportButton/index.vue.d.ts +31 -0
- package/dist/types/components/JcImportDialog/index.d.ts +103 -0
- package/dist/types/components/JcImportDialog/index.vue.d.ts +55 -0
- package/dist/types/components/JcInputComplex/index.d.ts +1213 -1155
- package/dist/types/components/JcInputSwitch/index.d.ts +423 -365
- package/dist/types/components/JcListLayout/index.d.ts +2 -4
- package/dist/types/components/JcMoreQueryContain/index.d.ts +2 -4
- package/dist/types/components/JcSelectQuery/index.d.ts +2 -4
- package/dist/types/components/JcTagQuery/index.d.ts +29 -10
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/utils/install.d.ts +4 -0
- package/dist/utils/install.d.ts +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# @bscjc/webui
|
|
2
|
+
|
|
2
3
|
一个 Vue3 组件库,使用 Vite,Element Plus 和 TypeScript 构建的组件库
|
|
3
4
|
|
|
4
5
|
## 组件目录介绍
|
|
@@ -14,13 +15,15 @@
|
|
|
14
15
|
| JcInputComplex | 复杂输入切换组件,支持单行和多行文本输入 |
|
|
15
16
|
| JcTagQuery | 标签查询组件,用于展示和管理查询标签 |
|
|
16
17
|
| JcMoreQueryContain | 查询容器,用于包裹更多查询条件 |
|
|
18
|
+
| JcImportDialog | 导入弹窗组件,支持导入操作和下载模版 |
|
|
19
|
+
| JcImportButton | 导入按钮组件,支持导入操作 |
|
|
17
20
|
|
|
18
21
|
## 安装使用说明
|
|
19
22
|
|
|
20
23
|
### 安装
|
|
21
24
|
|
|
22
25
|
```shell
|
|
23
|
-
npm i @bscjc/webui
|
|
26
|
+
npm i @bscjc/webui
|
|
24
27
|
// 或者
|
|
25
28
|
pnpm add @bscjc/webui
|
|
26
29
|
```
|
|
@@ -55,4 +58,4 @@ app.mount("#app");
|
|
|
55
58
|
<script setup>
|
|
56
59
|
import { JcSelectQuery } from "@bscjc/webui";
|
|
57
60
|
</script>
|
|
58
|
-
```
|
|
61
|
+
```
|
|
@@ -1,58 +1,156 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare const JcCascader: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
field: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
options: {
|
|
9
|
+
type: import("vue").PropType<Array<{
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
children?: Array<{
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}>;
|
|
16
|
+
}>> | never[];
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
keyField: {
|
|
20
|
+
type: any;
|
|
21
|
+
default: () => string[];
|
|
22
|
+
};
|
|
23
|
+
width: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
footerBtnName: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
isNeedFooter: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
isNeedHeader: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
isNeedOnlySelect: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
injectionKey: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
55
|
+
size: "small" | "default" | "large";
|
|
56
|
+
injectionKey: string;
|
|
57
|
+
field: string;
|
|
58
|
+
options: {
|
|
11
59
|
label: string;
|
|
12
60
|
value: string;
|
|
13
61
|
children?: Array<{
|
|
14
62
|
label: string;
|
|
15
63
|
value: string;
|
|
16
64
|
}>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
65
|
+
}[];
|
|
66
|
+
keyField: any;
|
|
67
|
+
width: string;
|
|
68
|
+
footerBtnName: string;
|
|
69
|
+
isNeedFooter: boolean;
|
|
70
|
+
isNeedOnlySelect: boolean;
|
|
71
|
+
isNeedHeader: boolean;
|
|
72
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
73
|
+
P: {};
|
|
74
|
+
B: {};
|
|
75
|
+
D: {};
|
|
76
|
+
C: {};
|
|
77
|
+
M: {};
|
|
78
|
+
Defaults: {};
|
|
79
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
field: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
required: true;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
options: {
|
|
86
|
+
type: import("vue").PropType<Array<{
|
|
87
|
+
label: string;
|
|
88
|
+
value: string;
|
|
89
|
+
children?: Array<{
|
|
90
|
+
label: string;
|
|
91
|
+
value: string;
|
|
92
|
+
}>;
|
|
93
|
+
}>> | never[];
|
|
94
|
+
default: () => never[];
|
|
95
|
+
};
|
|
96
|
+
keyField: {
|
|
97
|
+
type: any;
|
|
98
|
+
default: () => string[];
|
|
99
|
+
};
|
|
100
|
+
width: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
size: {
|
|
105
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
106
|
+
default: string;
|
|
107
|
+
validator: (value: string) => boolean;
|
|
108
|
+
};
|
|
109
|
+
footerBtnName: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
isNeedFooter: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
isNeedHeader: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
isNeedOnlySelect: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
injectionKey: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{}>, {
|
|
130
|
+
[x: string]: any;
|
|
131
|
+
}, {}, {}, {}, {
|
|
132
|
+
size: "small" | "default" | "large";
|
|
133
|
+
injectionKey: string;
|
|
134
|
+
field: string;
|
|
135
|
+
options: {
|
|
136
|
+
label: string;
|
|
137
|
+
value: string;
|
|
138
|
+
children?: Array<{
|
|
139
|
+
label: string;
|
|
140
|
+
value: string;
|
|
141
|
+
}>;
|
|
142
|
+
}[];
|
|
143
|
+
keyField: any;
|
|
144
|
+
width: string;
|
|
145
|
+
footerBtnName: string;
|
|
146
|
+
isNeedFooter: boolean;
|
|
147
|
+
isNeedOnlySelect: boolean;
|
|
148
|
+
isNeedHeader: boolean;
|
|
149
|
+
}>;
|
|
150
|
+
__isFragment?: never;
|
|
151
|
+
__isTeleport?: never;
|
|
152
|
+
__isSuspense?: never;
|
|
153
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
56
154
|
field: {
|
|
57
155
|
type: StringConstructor;
|
|
58
156
|
required: true;
|
|
@@ -103,6 +201,8 @@ export declare const JcCascader: SFCWithInstall<import("vue").DefineComponent<im
|
|
|
103
201
|
default: string;
|
|
104
202
|
};
|
|
105
203
|
}>> & Readonly<{}>, {
|
|
204
|
+
[x: string]: any;
|
|
205
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
106
206
|
size: "small" | "default" | "large";
|
|
107
207
|
injectionKey: string;
|
|
108
208
|
field: string;
|
|
@@ -120,5 +220,5 @@ export declare const JcCascader: SFCWithInstall<import("vue").DefineComponent<im
|
|
|
120
220
|
isNeedFooter: boolean;
|
|
121
221
|
isNeedOnlySelect: boolean;
|
|
122
222
|
isNeedHeader: boolean;
|
|
123
|
-
}, {},
|
|
223
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
124
224
|
export default JcCascader;
|
|
@@ -1,37 +1,98 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const JcDatePicker: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
fieldList: {
|
|
4
|
+
type: import("vue").PropType<Array<{
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}>>;
|
|
8
|
+
require: boolean;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
type: {
|
|
12
|
+
type: import("vue").PropType<"daterange" | "monthrange">;
|
|
13
|
+
default: string;
|
|
14
|
+
validator: (value: string) => boolean;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
18
|
+
default: string;
|
|
19
|
+
validator: (value: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
width: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
injectionKey: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
[x: string]: Function;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
fieldChange: (...args: any[]) => void;
|
|
35
|
+
}, import("vue").PublicProps, {
|
|
36
|
+
size: "small" | "default" | "large";
|
|
37
|
+
injectionKey: string;
|
|
38
|
+
width: string;
|
|
39
|
+
type: "daterange" | "monthrange";
|
|
40
|
+
fieldList: {
|
|
6
41
|
label: string;
|
|
7
42
|
value: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
43
|
+
}[];
|
|
44
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
45
|
+
P: {};
|
|
46
|
+
B: {};
|
|
47
|
+
D: {};
|
|
48
|
+
C: {};
|
|
49
|
+
M: {};
|
|
50
|
+
Defaults: {};
|
|
51
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
fieldList: {
|
|
53
|
+
type: import("vue").PropType<Array<{
|
|
54
|
+
label: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}>>;
|
|
57
|
+
require: boolean;
|
|
58
|
+
default: () => never[];
|
|
59
|
+
};
|
|
60
|
+
type: {
|
|
61
|
+
type: import("vue").PropType<"daterange" | "monthrange">;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: string) => boolean;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
67
|
+
default: string;
|
|
68
|
+
validator: (value: string) => boolean;
|
|
69
|
+
};
|
|
70
|
+
width: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
injectionKey: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
[x: string]: Function;
|
|
82
|
+
}, {}, {}, {}, {
|
|
83
|
+
size: "small" | "default" | "large";
|
|
84
|
+
injectionKey: string;
|
|
85
|
+
width: string;
|
|
86
|
+
type: "daterange" | "monthrange";
|
|
87
|
+
fieldList: {
|
|
88
|
+
label: string;
|
|
89
|
+
value: string;
|
|
90
|
+
}[];
|
|
91
|
+
}>;
|
|
92
|
+
__isFragment?: never;
|
|
93
|
+
__isTeleport?: never;
|
|
94
|
+
__isSuspense?: never;
|
|
95
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
35
96
|
fieldList: {
|
|
36
97
|
type: import("vue").PropType<Array<{
|
|
37
98
|
label: string;
|
|
@@ -61,6 +122,10 @@ export declare const JcDatePicker: SFCWithInstall<import("vue").DefineComponent<
|
|
|
61
122
|
}>> & Readonly<{
|
|
62
123
|
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
63
124
|
}>, {
|
|
125
|
+
[x: string]: Function;
|
|
126
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
|
+
fieldChange: (...args: any[]) => void;
|
|
128
|
+
}, string, {
|
|
64
129
|
size: "small" | "default" | "large";
|
|
65
130
|
injectionKey: string;
|
|
66
131
|
width: string;
|
|
@@ -69,5 +134,5 @@ export declare const JcDatePicker: SFCWithInstall<import("vue").DefineComponent<
|
|
|
69
134
|
label: string;
|
|
70
135
|
value: string;
|
|
71
136
|
}[];
|
|
72
|
-
}, {},
|
|
137
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
73
138
|
export default JcDatePicker;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const JcImportButton: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
btnName: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
uploadFileFn: {
|
|
8
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{
|
|
12
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
onError: (...args: any[]) => void;
|
|
16
|
+
onSuccess: (...args: any[]) => void;
|
|
17
|
+
}, import("vue").PublicProps, {
|
|
18
|
+
btnName: string;
|
|
19
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
btnName: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
uploadFileFn: {
|
|
32
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}>, {}, {}, {}, {}, {
|
|
39
|
+
btnName: string;
|
|
40
|
+
}>;
|
|
41
|
+
__isFragment?: never;
|
|
42
|
+
__isTeleport?: never;
|
|
43
|
+
__isSuspense?: never;
|
|
44
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
btnName: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
uploadFileFn: {
|
|
50
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{
|
|
54
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
+
onError: (...args: any[]) => void;
|
|
58
|
+
onSuccess: (...args: any[]) => void;
|
|
59
|
+
}, string, {
|
|
60
|
+
btnName: string;
|
|
61
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
62
|
+
export default JcImportButton;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
btnName: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
uploadFileFn: {
|
|
8
|
+
type: PropType<(data: any) => Promise<any>>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
onError: (...args: any[]) => void;
|
|
13
|
+
onSuccess: (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
btnName: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
uploadFileFn: {
|
|
20
|
+
type: PropType<(data: any) => Promise<any>>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
btnName: string;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export declare const JcImportDialog: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
btnName: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
importInfoArr: {
|
|
12
|
+
type: import("vue").PropType<string[]>;
|
|
13
|
+
default: () => string[];
|
|
14
|
+
};
|
|
15
|
+
uploadFileFn: {
|
|
16
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
downloadFileFn: {
|
|
20
|
+
type: import("vue").PropType<() => Promise<any>>;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
onError: (...args: any[]) => void;
|
|
27
|
+
onSuccess: (...args: any[]) => void;
|
|
28
|
+
}, import("vue").PublicProps, {
|
|
29
|
+
title: string;
|
|
30
|
+
btnName: string;
|
|
31
|
+
importInfoArr: string[];
|
|
32
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
33
|
+
P: {};
|
|
34
|
+
B: {};
|
|
35
|
+
D: {};
|
|
36
|
+
C: {};
|
|
37
|
+
M: {};
|
|
38
|
+
Defaults: {};
|
|
39
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
btnName: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
title: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
importInfoArr: {
|
|
49
|
+
type: import("vue").PropType<string[]>;
|
|
50
|
+
default: () => string[];
|
|
51
|
+
};
|
|
52
|
+
uploadFileFn: {
|
|
53
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
downloadFileFn: {
|
|
57
|
+
type: import("vue").PropType<() => Promise<any>>;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{
|
|
60
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
}>, {}, {}, {}, {}, {
|
|
63
|
+
title: string;
|
|
64
|
+
btnName: string;
|
|
65
|
+
importInfoArr: string[];
|
|
66
|
+
}>;
|
|
67
|
+
__isFragment?: never;
|
|
68
|
+
__isTeleport?: never;
|
|
69
|
+
__isSuspense?: never;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
btnName: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
title: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
importInfoArr: {
|
|
80
|
+
type: import("vue").PropType<string[]>;
|
|
81
|
+
default: () => string[];
|
|
82
|
+
};
|
|
83
|
+
uploadFileFn: {
|
|
84
|
+
type: import("vue").PropType<(data: any) => Promise<any>>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
downloadFileFn: {
|
|
88
|
+
type: import("vue").PropType<() => Promise<any>>;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{
|
|
91
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
94
|
+
onError: (...args: any[]) => void;
|
|
95
|
+
onSuccess: (...args: any[]) => void;
|
|
96
|
+
}, string, {
|
|
97
|
+
title: string;
|
|
98
|
+
btnName: string;
|
|
99
|
+
importInfoArr: string[];
|
|
100
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
101
|
+
export default JcImportDialog;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
btnName: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
importInfoArr: {
|
|
12
|
+
type: PropType<string[]>;
|
|
13
|
+
default: () => string[];
|
|
14
|
+
};
|
|
15
|
+
uploadFileFn: {
|
|
16
|
+
type: PropType<(data: any) => Promise<any>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
downloadFileFn: {
|
|
20
|
+
type: PropType<() => Promise<any>>;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
onError: (...args: any[]) => void;
|
|
24
|
+
onSuccess: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
btnName: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
importInfoArr: {
|
|
35
|
+
type: PropType<string[]>;
|
|
36
|
+
default: () => string[];
|
|
37
|
+
};
|
|
38
|
+
uploadFileFn: {
|
|
39
|
+
type: PropType<(data: any) => Promise<any>>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
downloadFileFn: {
|
|
43
|
+
type: PropType<() => Promise<any>>;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
onOnError?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onOnSuccess?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
title: string;
|
|
50
|
+
btnName: string;
|
|
51
|
+
importInfoArr: string[];
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export default _default;
|