@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,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ToolbarColumnConfigV2 核心逻辑 Composable
|
|
3
|
+
*/
|
|
4
|
+
import { type Ref } from "vue";
|
|
5
|
+
import type { VxeTableInstance, VxeTableDefines } from "vxe-table";
|
|
6
|
+
import type { ColumnConfig, ColumnGroup, ColumnGroupConfig, StoredColumnConfig } from "./types";
|
|
7
|
+
export interface UseColumnConfigOptions {
|
|
8
|
+
table: Ref<VxeTableInstance | null | undefined>;
|
|
9
|
+
lockFieldList: Ref<string[]>;
|
|
10
|
+
maxFixedCount: Ref<number>;
|
|
11
|
+
storagePrefix: Ref<string>;
|
|
12
|
+
columnGroupsConfig: Ref<ColumnGroupConfig[]>;
|
|
13
|
+
}
|
|
14
|
+
export declare function useColumnConfig(options: UseColumnConfigOptions): {
|
|
15
|
+
allColumns: Ref<{
|
|
16
|
+
title: string;
|
|
17
|
+
visibleLocked: boolean;
|
|
18
|
+
originalIndex: number;
|
|
19
|
+
groupId?: string | undefined;
|
|
20
|
+
field: string;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
fixed?: "left" | "right" | undefined;
|
|
23
|
+
width?: number | undefined;
|
|
24
|
+
sortNumber: number;
|
|
25
|
+
}[], ColumnConfig[] | {
|
|
26
|
+
title: string;
|
|
27
|
+
visibleLocked: boolean;
|
|
28
|
+
originalIndex: number;
|
|
29
|
+
groupId?: string | undefined;
|
|
30
|
+
field: string;
|
|
31
|
+
visible: boolean;
|
|
32
|
+
fixed?: "left" | "right" | undefined;
|
|
33
|
+
width?: number | undefined;
|
|
34
|
+
sortNumber: number;
|
|
35
|
+
}[]>;
|
|
36
|
+
columnGroups: Ref<{
|
|
37
|
+
id: string;
|
|
38
|
+
isDefault?: boolean | undefined;
|
|
39
|
+
title: string;
|
|
40
|
+
fields: string[];
|
|
41
|
+
}[], ColumnGroup[] | {
|
|
42
|
+
id: string;
|
|
43
|
+
isDefault?: boolean | undefined;
|
|
44
|
+
title: string;
|
|
45
|
+
fields: string[];
|
|
46
|
+
}[]>;
|
|
47
|
+
originalOrder: Ref<string[], string[]>;
|
|
48
|
+
filteredColumns: import("vue").ComputedRef<ColumnConfig[]>;
|
|
49
|
+
selectedColumns: import("vue").ComputedRef<{
|
|
50
|
+
title: string;
|
|
51
|
+
visibleLocked: boolean;
|
|
52
|
+
originalIndex: number;
|
|
53
|
+
groupId?: string | undefined;
|
|
54
|
+
field: string;
|
|
55
|
+
visible: boolean;
|
|
56
|
+
fixed?: "left" | "right" | undefined;
|
|
57
|
+
width?: number | undefined;
|
|
58
|
+
sortNumber: number;
|
|
59
|
+
}[]>;
|
|
60
|
+
selectedCount: import("vue").ComputedRef<number>;
|
|
61
|
+
leftFixedCount: import("vue").ComputedRef<number>;
|
|
62
|
+
rightFixedCount: import("vue").ComputedRef<number>;
|
|
63
|
+
totalFixedCount: import("vue").ComputedRef<number>;
|
|
64
|
+
selectAll: import("vue").ComputedRef<boolean>;
|
|
65
|
+
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
66
|
+
canFixLeft: (col: ColumnConfig) => boolean;
|
|
67
|
+
canFixRight: (col: ColumnConfig) => boolean;
|
|
68
|
+
initColumns: () => void;
|
|
69
|
+
buildCurrentConfig: () => StoredColumnConfig[];
|
|
70
|
+
applyConfigToTable: (configs: StoredColumnConfig[]) => Promise<void>;
|
|
71
|
+
loadStoredConfig: () => Promise<void>;
|
|
72
|
+
saveAndApply: () => Promise<void>;
|
|
73
|
+
resetToDefault: () => Promise<void>;
|
|
74
|
+
onResizableChange: (params: VxeTableDefines.ResizableChangeEventParams) => void;
|
|
75
|
+
checkHasStoredConfig: () => boolean;
|
|
76
|
+
updateSelectedOrder: (newOrder: ColumnConfig[]) => void;
|
|
77
|
+
onSelectAllChange: (val: boolean) => void;
|
|
78
|
+
onColumnVisibleChange: (col: ColumnConfig) => void;
|
|
79
|
+
onDragEnd: () => void;
|
|
80
|
+
moveToTop: (col: ColumnConfig, currentIndex: number) => void;
|
|
81
|
+
removeFromSelected: (col: ColumnConfig) => boolean;
|
|
82
|
+
toggleFixed: (col: ColumnConfig, direction: "left" | "right") => boolean;
|
|
83
|
+
onGroupSelectChange: (groupId: string, checked: boolean) => void;
|
|
84
|
+
getGroupCheckState: (groupId: string) => {
|
|
85
|
+
checked: boolean;
|
|
86
|
+
indeterminate: boolean;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -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;
|
|
@@ -1,32 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const JcInputComplex: {
|
|
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
|
+
size: {
|
|
12
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
13
|
+
default: string;
|
|
14
|
+
validator: (value: string) => boolean;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
injectionKey: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{
|
|
25
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
[x: string]: any;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
fieldChange: (...args: any[]) => void;
|
|
30
|
+
}, import("vue").PublicProps, {
|
|
31
|
+
size: "small" | "default" | "large";
|
|
32
|
+
injectionKey: string;
|
|
33
|
+
width: string;
|
|
34
|
+
fieldList: {
|
|
6
35
|
label: string;
|
|
7
36
|
value: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
37
|
+
}[];
|
|
38
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
39
|
+
P: {};
|
|
40
|
+
B: {};
|
|
41
|
+
D: {};
|
|
42
|
+
C: {};
|
|
43
|
+
M: {};
|
|
44
|
+
Defaults: {};
|
|
45
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
fieldList: {
|
|
47
|
+
type: import("vue").PropType<Array<{
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}>>;
|
|
51
|
+
require: boolean;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
type: import("vue").PropType<"small" | "default" | "large">;
|
|
56
|
+
default: string;
|
|
57
|
+
validator: (value: string) => boolean;
|
|
58
|
+
};
|
|
59
|
+
width: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
injectionKey: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
}, {}, {}, {}, {
|
|
72
|
+
size: "small" | "default" | "large";
|
|
73
|
+
injectionKey: string;
|
|
74
|
+
width: string;
|
|
75
|
+
fieldList: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
}[];
|
|
79
|
+
}>;
|
|
80
|
+
__isFragment?: never;
|
|
81
|
+
__isTeleport?: never;
|
|
82
|
+
__isSuspense?: never;
|
|
83
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
30
84
|
fieldList: {
|
|
31
85
|
type: import("vue").PropType<Array<{
|
|
32
86
|
label: string;
|
|
@@ -51,6 +105,10 @@ export declare const JcInputComplex: SFCWithInstall<import("vue").DefineComponen
|
|
|
51
105
|
}>> & Readonly<{
|
|
52
106
|
onFieldChange?: ((...args: any[]) => any) | undefined;
|
|
53
107
|
}>, {
|
|
108
|
+
[x: string]: any;
|
|
109
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
110
|
+
fieldChange: (...args: any[]) => void;
|
|
111
|
+
}, string, {
|
|
54
112
|
size: "small" | "default" | "large";
|
|
55
113
|
injectionKey: string;
|
|
56
114
|
width: string;
|
|
@@ -58,5 +116,5 @@ export declare const JcInputComplex: SFCWithInstall<import("vue").DefineComponen
|
|
|
58
116
|
label: string;
|
|
59
117
|
value: string;
|
|
60
118
|
}[];
|
|
61
|
-
}, {},
|
|
119
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
62
120
|
export default JcInputComplex;
|