@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.
Files changed (35) hide show
  1. package/README.md +5 -2
  2. package/dist/components/JcCascader/index.d.ts +150 -50
  3. package/dist/components/JcDatePicker/index.d.ts +98 -33
  4. package/dist/components/JcImportButton/index.d.ts +62 -0
  5. package/dist/components/JcImportButton/index.vue.d.ts +29 -0
  6. package/dist/components/JcImportDialog/index.d.ts +101 -0
  7. package/dist/components/JcImportDialog/index.vue.d.ts +53 -0
  8. package/dist/components/JcInputComplex/index.d.ts +86 -28
  9. package/dist/components/JcInputSwitch/index.d.ts +86 -28
  10. package/dist/components/JcListLayout/index.d.ts +2 -4
  11. package/dist/components/JcMoreQueryContain/index.d.ts +2 -4
  12. package/dist/components/JcSelectQuery/index.d.ts +2 -4
  13. package/dist/components/JcTagQuery/index.d.ts +29 -10
  14. package/dist/components/index.d.ts +2 -0
  15. package/dist/es/index.mjs +1650 -1469
  16. package/dist/index.css +2 -2
  17. package/dist/lib/index.cjs +8 -8
  18. package/dist/tsconfig.app.tsbuildinfo +1 -1
  19. package/dist/types/components/JcCascader/index.d.ts +152 -52
  20. package/dist/types/components/JcDatePicker/index.d.ts +100 -35
  21. package/dist/types/components/JcImportButton/index.d.ts +64 -0
  22. package/dist/types/components/JcImportButton/index.vue.d.ts +31 -0
  23. package/dist/types/components/JcImportDialog/index.d.ts +103 -0
  24. package/dist/types/components/JcImportDialog/index.vue.d.ts +55 -0
  25. package/dist/types/components/JcInputComplex/index.d.ts +1213 -1155
  26. package/dist/types/components/JcInputSwitch/index.d.ts +423 -365
  27. package/dist/types/components/JcListLayout/index.d.ts +2 -4
  28. package/dist/types/components/JcMoreQueryContain/index.d.ts +2 -4
  29. package/dist/types/components/JcSelectQuery/index.d.ts +2 -4
  30. package/dist/types/components/JcTagQuery/index.d.ts +29 -10
  31. package/dist/types/components/index.d.ts +2 -0
  32. package/dist/types/components.d.ts +2 -0
  33. package/dist/types/utils/install.d.ts +4 -0
  34. package/dist/utils/install.d.ts +4 -0
  35. package/package.json +2 -2
@@ -1 +1 @@
1
- {"root":["../src/components.d.ts","../src/index.ts","../src/shims-vue.d.ts","../src/vite-env.d.ts","../src/components/index.ts","../src/components/jccascader/index.ts","../src/components/jcdatepicker/index.ts","../src/components/jcinputcomplex/index.ts","../src/components/jcinputswitch/index.ts","../src/components/jclistlayout/index.ts","../src/components/jcmorequerycontain/index.ts","../src/components/jcselectquery/index.ts","../src/components/jctagquery/index.ts","../src/hooks/usequery.ts","../src/hooks/usequerystore.ts","../src/types/scss.d.ts","../src/utils/index.ts","../src/components/jccascader/index.vue","../src/components/jcdatepicker/index.vue","../src/components/jcinputcomplex/index.vue","../src/components/jcinputswitch/index.vue","../src/components/jclistlayout/index.vue","../src/components/jcmorequerycontain/index.vue","../src/components/jcselectquery/index.vue","../src/components/jctagquery/index.vue"],"version":"5.8.3"}
1
+ {"root":["../src/components.d.ts","../src/index.ts","../src/shims-vue.d.ts","../src/vite-env.d.ts","../src/components/index.ts","../src/components/jccascader/index.ts","../src/components/jcdatepicker/index.ts","../src/components/jcimportbutton/index.ts","../src/components/jcimportdialog/index.ts","../src/components/jcinputcomplex/index.ts","../src/components/jcinputswitch/index.ts","../src/components/jclistlayout/index.ts","../src/components/jcmorequerycontain/index.ts","../src/components/jcselectquery/index.ts","../src/components/jctagquery/index.ts","../src/hooks/usequery.ts","../src/hooks/usequerystore.ts","../src/types/scss.d.ts","../src/utils/index.ts","../src/utils/install.ts","../src/components/jccascader/index.vue","../src/components/jcdatepicker/index.vue","../src/components/jcimportbutton/index.vue","../src/components/jcimportdialog/index.vue","../src/components/jcinputcomplex/index.vue","../src/components/jcinputswitch/index.vue","../src/components/jclistlayout/index.vue","../src/components/jcmorequerycontain/index.vue","../src/components/jcselectquery/index.vue","../src/components/jctagquery/index.vue"],"version":"5.8.3"}
@@ -1,58 +1,158 @@
1
- import { Plugin } from 'vue';
2
- type SFCWithInstall<T> = T & Plugin;
3
- export declare const JcCascader: SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- field: {
5
- type: StringConstructor;
6
- required: true;
7
- default: string;
8
- };
9
- options: {
10
- type: import('vue').PropType<Array<{
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
- }>> | never[];
18
- default: () => never[];
19
- };
20
- keyField: {
21
- type: any;
22
- default: () => string[];
23
- };
24
- width: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- size: {
29
- type: import('vue').PropType<"small" | "default" | "large">;
30
- default: string;
31
- validator: (value: string) => boolean;
32
- };
33
- footerBtnName: {
34
- type: StringConstructor;
35
- default: string;
36
- };
37
- isNeedFooter: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- isNeedHeader: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- isNeedOnlySelect: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- injectionKey: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- }>, {
54
- [x: string]: any;
55
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
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, {
73
+ cascaderRef: unknown;
74
+ }, any, import('vue').ComponentProvideOptions, {
75
+ P: {};
76
+ B: {};
77
+ D: {};
78
+ C: {};
79
+ M: {};
80
+ Defaults: {};
81
+ }, Readonly<import('vue').ExtractPropTypes<{
82
+ field: {
83
+ type: StringConstructor;
84
+ required: true;
85
+ default: string;
86
+ };
87
+ options: {
88
+ type: import('vue').PropType<Array<{
89
+ label: string;
90
+ value: string;
91
+ children?: Array<{
92
+ label: string;
93
+ value: string;
94
+ }>;
95
+ }>> | never[];
96
+ default: () => never[];
97
+ };
98
+ keyField: {
99
+ type: any;
100
+ default: () => string[];
101
+ };
102
+ width: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ size: {
107
+ type: import('vue').PropType<"small" | "default" | "large">;
108
+ default: string;
109
+ validator: (value: string) => boolean;
110
+ };
111
+ footerBtnName: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ isNeedFooter: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ isNeedHeader: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ isNeedOnlySelect: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ injectionKey: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ }>> & Readonly<{}>, {
132
+ [x: string]: any;
133
+ }, {}, {}, {}, {
134
+ size: "small" | "default" | "large";
135
+ injectionKey: string;
136
+ field: string;
137
+ options: {
138
+ label: string;
139
+ value: string;
140
+ children?: Array<{
141
+ label: string;
142
+ value: string;
143
+ }>;
144
+ }[];
145
+ keyField: any;
146
+ width: string;
147
+ footerBtnName: string;
148
+ isNeedFooter: boolean;
149
+ isNeedOnlySelect: boolean;
150
+ isNeedHeader: boolean;
151
+ }>;
152
+ __isFragment?: never;
153
+ __isTeleport?: never;
154
+ __isSuspense?: never;
155
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
56
156
  field: {
57
157
  type: StringConstructor;
58
158
  required: true;
@@ -103,6 +203,8 @@ export declare const JcCascader: SFCWithInstall<import('vue').DefineComponent<im
103
203
  default: string;
104
204
  };
105
205
  }>> & Readonly<{}>, {
206
+ [x: string]: any;
207
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
106
208
  size: "small" | "default" | "large";
107
209
  injectionKey: string;
108
210
  field: string;
@@ -120,7 +222,5 @@ export declare const JcCascader: SFCWithInstall<import('vue').DefineComponent<im
120
222
  isNeedFooter: boolean;
121
223
  isNeedOnlySelect: boolean;
122
224
  isNeedHeader: boolean;
123
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
124
- cascaderRef: unknown;
125
- }, any>>;
225
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
126
226
  export default JcCascader;
@@ -1,37 +1,100 @@
1
- import { Plugin } from 'vue';
2
- type SFCWithInstall<T> = T & Plugin;
3
- export declare const JcDatePicker: SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- fieldList: {
5
- type: import('vue').PropType<Array<{
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
- require: boolean;
10
- default: () => never[];
11
- };
12
- type: {
13
- type: import('vue').PropType<"daterange" | "monthrange">;
14
- default: string;
15
- validator: (value: string) => boolean;
16
- };
17
- size: {
18
- type: import('vue').PropType<"small" | "default" | "large">;
19
- default: string;
20
- validator: (value: string) => boolean;
21
- };
22
- width: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- injectionKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- }>, {
31
- [x: string]: Function;
32
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
- fieldChange: (...args: any[]) => void;
34
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
43
+ }[];
44
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
45
+ datePickerRef: unknown;
46
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
47
+ P: {};
48
+ B: {};
49
+ D: {};
50
+ C: {};
51
+ M: {};
52
+ Defaults: {};
53
+ }, Readonly<import('vue').ExtractPropTypes<{
54
+ fieldList: {
55
+ type: import('vue').PropType<Array<{
56
+ label: string;
57
+ value: string;
58
+ }>>;
59
+ require: boolean;
60
+ default: () => never[];
61
+ };
62
+ type: {
63
+ type: import('vue').PropType<"daterange" | "monthrange">;
64
+ default: string;
65
+ validator: (value: string) => boolean;
66
+ };
67
+ size: {
68
+ type: import('vue').PropType<"small" | "default" | "large">;
69
+ default: string;
70
+ validator: (value: string) => boolean;
71
+ };
72
+ width: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
76
+ injectionKey: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ }>> & Readonly<{
81
+ onFieldChange?: ((...args: any[]) => any) | undefined;
82
+ }>, {
83
+ [x: string]: Function;
84
+ }, {}, {}, {}, {
85
+ size: "small" | "default" | "large";
86
+ injectionKey: string;
87
+ width: string;
88
+ type: "daterange" | "monthrange";
89
+ fieldList: {
90
+ label: string;
91
+ value: string;
92
+ }[];
93
+ }>;
94
+ __isFragment?: never;
95
+ __isTeleport?: never;
96
+ __isSuspense?: never;
97
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
35
98
  fieldList: {
36
99
  type: import('vue').PropType<Array<{
37
100
  label: string;
@@ -61,6 +124,10 @@ export declare const JcDatePicker: SFCWithInstall<import('vue').DefineComponent<
61
124
  }>> & Readonly<{
62
125
  onFieldChange?: ((...args: any[]) => any) | undefined;
63
126
  }>, {
127
+ [x: string]: Function;
128
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
129
+ fieldChange: (...args: any[]) => void;
130
+ }, string, {
64
131
  size: "small" | "default" | "large";
65
132
  injectionKey: string;
66
133
  width: string;
@@ -69,7 +136,5 @@ export declare const JcDatePicker: SFCWithInstall<import('vue').DefineComponent<
69
136
  label: string;
70
137
  value: string;
71
138
  }[];
72
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
73
- datePickerRef: unknown;
74
- }, HTMLDivElement>>;
139
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
75
140
  export default JcDatePicker;
@@ -0,0 +1,64 @@
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, {
20
+ importUploadRef: unknown;
21
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
22
+ P: {};
23
+ B: {};
24
+ D: {};
25
+ C: {};
26
+ M: {};
27
+ Defaults: {};
28
+ }, Readonly<import('vue').ExtractPropTypes<{
29
+ btnName: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ uploadFileFn: {
34
+ type: import('vue').PropType<(data: any) => Promise<any>>;
35
+ required: true;
36
+ };
37
+ }>> & Readonly<{
38
+ onOnError?: ((...args: any[]) => any) | undefined;
39
+ onOnSuccess?: ((...args: any[]) => any) | undefined;
40
+ }>, {}, {}, {}, {}, {
41
+ btnName: string;
42
+ }>;
43
+ __isFragment?: never;
44
+ __isTeleport?: never;
45
+ __isSuspense?: never;
46
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
47
+ btnName: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ uploadFileFn: {
52
+ type: import('vue').PropType<(data: any) => Promise<any>>;
53
+ required: true;
54
+ };
55
+ }>> & Readonly<{
56
+ onOnError?: ((...args: any[]) => any) | undefined;
57
+ onOnSuccess?: ((...args: any[]) => any) | undefined;
58
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ onError: (...args: any[]) => void;
60
+ onSuccess: (...args: any[]) => void;
61
+ }, string, {
62
+ btnName: string;
63
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
64
+ export default JcImportButton;
@@ -0,0 +1,31 @@
1
+ import { 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, {
29
+ importUploadRef: unknown;
30
+ }, HTMLDivElement>;
31
+ export default _default;
@@ -0,0 +1,103 @@
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, {
33
+ importUploadRef: unknown;
34
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
35
+ P: {};
36
+ B: {};
37
+ D: {};
38
+ C: {};
39
+ M: {};
40
+ Defaults: {};
41
+ }, Readonly<import('vue').ExtractPropTypes<{
42
+ btnName: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ title: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ importInfoArr: {
51
+ type: import('vue').PropType<string[]>;
52
+ default: () => string[];
53
+ };
54
+ uploadFileFn: {
55
+ type: import('vue').PropType<(data: any) => Promise<any>>;
56
+ required: true;
57
+ };
58
+ downloadFileFn: {
59
+ type: import('vue').PropType<() => Promise<any>>;
60
+ };
61
+ }>> & Readonly<{
62
+ onOnError?: ((...args: any[]) => any) | undefined;
63
+ onOnSuccess?: ((...args: any[]) => any) | undefined;
64
+ }>, {}, {}, {}, {}, {
65
+ title: string;
66
+ btnName: string;
67
+ importInfoArr: string[];
68
+ }>;
69
+ __isFragment?: never;
70
+ __isTeleport?: never;
71
+ __isSuspense?: never;
72
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
73
+ btnName: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ title: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ importInfoArr: {
82
+ type: import('vue').PropType<string[]>;
83
+ default: () => string[];
84
+ };
85
+ uploadFileFn: {
86
+ type: import('vue').PropType<(data: any) => Promise<any>>;
87
+ required: true;
88
+ };
89
+ downloadFileFn: {
90
+ type: import('vue').PropType<() => Promise<any>>;
91
+ };
92
+ }>> & Readonly<{
93
+ onOnError?: ((...args: any[]) => any) | undefined;
94
+ onOnSuccess?: ((...args: any[]) => any) | undefined;
95
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
96
+ onError: (...args: any[]) => void;
97
+ onSuccess: (...args: any[]) => void;
98
+ }, string, {
99
+ title: string;
100
+ btnName: string;
101
+ importInfoArr: string[];
102
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
103
+ export default JcImportDialog;
@@ -0,0 +1,55 @@
1
+ import { 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, {
53
+ importUploadRef: unknown;
54
+ }, HTMLDivElement>;
55
+ export default _default;