@bscjc/webui 1.2.4 → 1.4.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/JcColumnConfig/constants.d.ts +9 -0
- package/dist/components/JcColumnConfig/index.d.ts +190 -0
- package/dist/components/JcColumnConfig/index.vue.d.ts +95 -0
- package/dist/components/JcColumnConfig/storage.d.ts +28 -0
- package/dist/components/JcColumnConfig/types.d.ts +99 -0
- package/dist/components/JcColumnConfig/useColumnConfig.d.ts +88 -0
- 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 +3 -0
- package/dist/es/index.mjs +2311 -2506
- 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/JcColumnConfig/constants.d.ts +9 -0
- package/dist/types/components/JcColumnConfig/index.d.ts +190 -0
- package/dist/types/components/JcColumnConfig/index.vue.d.ts +95 -0
- package/dist/types/components/JcColumnConfig/storage.d.ts +25 -0
- package/dist/types/components/JcColumnConfig/types.d.ts +96 -0
- package/dist/types/components/JcColumnConfig/useColumnConfig.d.ts +85 -0
- 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 +3 -0
- package/dist/types/components.d.ts +3 -0
- package/dist/types/utils/install.d.ts +4 -0
- package/dist/utils/install.d.ts +4 -0
- package/package.json +7 -4
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { VxeTableInstance, VxeTableDefines } from 'vxe-table';
|
|
3
|
+
import { ColumnConfig, ColumnGroup, ColumnGroupConfig, StoredColumnConfig } from './types';
|
|
4
|
+
export interface UseColumnConfigOptions {
|
|
5
|
+
table: Ref<VxeTableInstance | null | undefined>;
|
|
6
|
+
lockFieldList: Ref<string[]>;
|
|
7
|
+
maxFixedCount: Ref<number>;
|
|
8
|
+
storagePrefix: Ref<string>;
|
|
9
|
+
columnGroupsConfig: Ref<ColumnGroupConfig[]>;
|
|
10
|
+
}
|
|
11
|
+
export declare function useColumnConfig(options: UseColumnConfigOptions): {
|
|
12
|
+
allColumns: Ref<{
|
|
13
|
+
title: string;
|
|
14
|
+
visibleLocked: boolean;
|
|
15
|
+
originalIndex: number;
|
|
16
|
+
groupId?: string | undefined;
|
|
17
|
+
field: string;
|
|
18
|
+
visible: boolean;
|
|
19
|
+
fixed?: "left" | "right" | undefined;
|
|
20
|
+
width?: number | undefined;
|
|
21
|
+
sortNumber: number;
|
|
22
|
+
}[], ColumnConfig[] | {
|
|
23
|
+
title: string;
|
|
24
|
+
visibleLocked: boolean;
|
|
25
|
+
originalIndex: number;
|
|
26
|
+
groupId?: string | undefined;
|
|
27
|
+
field: string;
|
|
28
|
+
visible: boolean;
|
|
29
|
+
fixed?: "left" | "right" | undefined;
|
|
30
|
+
width?: number | undefined;
|
|
31
|
+
sortNumber: number;
|
|
32
|
+
}[]>;
|
|
33
|
+
columnGroups: Ref<{
|
|
34
|
+
id: string;
|
|
35
|
+
isDefault?: boolean | undefined;
|
|
36
|
+
title: string;
|
|
37
|
+
fields: string[];
|
|
38
|
+
}[], ColumnGroup[] | {
|
|
39
|
+
id: string;
|
|
40
|
+
isDefault?: boolean | undefined;
|
|
41
|
+
title: string;
|
|
42
|
+
fields: string[];
|
|
43
|
+
}[]>;
|
|
44
|
+
originalOrder: Ref<string[], string[]>;
|
|
45
|
+
filteredColumns: import('vue').ComputedRef<ColumnConfig[]>;
|
|
46
|
+
selectedColumns: import('vue').ComputedRef<{
|
|
47
|
+
title: string;
|
|
48
|
+
visibleLocked: boolean;
|
|
49
|
+
originalIndex: number;
|
|
50
|
+
groupId?: string | undefined;
|
|
51
|
+
field: string;
|
|
52
|
+
visible: boolean;
|
|
53
|
+
fixed?: "left" | "right" | undefined;
|
|
54
|
+
width?: number | undefined;
|
|
55
|
+
sortNumber: number;
|
|
56
|
+
}[]>;
|
|
57
|
+
selectedCount: import('vue').ComputedRef<number>;
|
|
58
|
+
leftFixedCount: import('vue').ComputedRef<number>;
|
|
59
|
+
rightFixedCount: import('vue').ComputedRef<number>;
|
|
60
|
+
totalFixedCount: import('vue').ComputedRef<number>;
|
|
61
|
+
selectAll: import('vue').ComputedRef<boolean>;
|
|
62
|
+
isIndeterminate: import('vue').ComputedRef<boolean>;
|
|
63
|
+
canFixLeft: (col: ColumnConfig) => boolean;
|
|
64
|
+
canFixRight: (col: ColumnConfig) => boolean;
|
|
65
|
+
initColumns: () => void;
|
|
66
|
+
buildCurrentConfig: () => StoredColumnConfig[];
|
|
67
|
+
applyConfigToTable: (configs: StoredColumnConfig[]) => Promise<void>;
|
|
68
|
+
loadStoredConfig: () => Promise<void>;
|
|
69
|
+
saveAndApply: () => Promise<void>;
|
|
70
|
+
resetToDefault: () => Promise<void>;
|
|
71
|
+
onResizableChange: (params: VxeTableDefines.ResizableChangeEventParams) => void;
|
|
72
|
+
checkHasStoredConfig: () => boolean;
|
|
73
|
+
updateSelectedOrder: (newOrder: ColumnConfig[]) => void;
|
|
74
|
+
onSelectAllChange: (val: boolean) => void;
|
|
75
|
+
onColumnVisibleChange: (col: ColumnConfig) => void;
|
|
76
|
+
onDragEnd: () => void;
|
|
77
|
+
moveToTop: (col: ColumnConfig, currentIndex: number) => void;
|
|
78
|
+
removeFromSelected: (col: ColumnConfig) => boolean;
|
|
79
|
+
toggleFixed: (col: ColumnConfig, direction: "left" | "right") => boolean;
|
|
80
|
+
onGroupSelectChange: (groupId: string, checked: boolean) => void;
|
|
81
|
+
getGroupCheckState: (groupId: string) => {
|
|
82
|
+
checked: boolean;
|
|
83
|
+
indeterminate: boolean;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -1,37 +1,100 @@
|
|
|
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
|
-
type:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
}, {},
|
|
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;
|