giime 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +47 -4
- package/es/components/src/base/select/Select.vue.d.ts +1 -0
- package/es/components/src/base/select/Select.vue.mjs +2 -1
- package/es/components/src/base/select/Select.vue.mjs.map +1 -1
- package/es/components/src/base/select/Select.vue2.mjs +32 -8
- package/es/components/src/base/select/Select.vue2.mjs.map +1 -1
- package/es/components/src/base/select/Select.vue3.mjs +4 -0
- package/es/components/src/base/select/Select.vue3.mjs.map +1 -0
- package/es/components/src/base/select/index.d.ts +1 -0
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +9 -0
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.mjs +2 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.mjs.map +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/index.d.ts +9 -0
- package/es/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.d.ts +4 -0
- package/es/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.mjs +4 -0
- package/es/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.mjs.map +1 -1
- package/es/components/src/composite/selectOptions/SelectOptions.vue.d.ts +15 -2
- package/es/components/src/composite/selectOptions/SelectOptions.vue2.mjs +58 -7
- package/es/components/src/composite/selectOptions/SelectOptions.vue2.mjs.map +1 -1
- package/es/components/src/composite/selectOptions/index.d.ts +415 -105
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/base/useDownload/index.d.ts +1 -1
- package/es/hooks/base/useDownload/index.mjs +7 -7
- package/es/hooks/base/useDownload/index.mjs.map +1 -1
- package/es/hooks/base/useIDBKeyval/index.d.ts +4 -0
- package/es/hooks/base/useIDBKeyval/index.mjs.map +1 -1
- package/es/index.css +47 -4
- package/lib/components/src/base/select/Select.vue.d.ts +1 -0
- package/lib/components/src/base/select/Select.vue.js +2 -1
- package/lib/components/src/base/select/Select.vue.js.map +1 -1
- package/lib/components/src/base/select/Select.vue2.js +31 -7
- package/lib/components/src/base/select/Select.vue2.js.map +1 -1
- package/lib/components/src/base/select/Select.vue3.js +8 -0
- package/lib/components/src/base/select/Select.vue3.js.map +1 -0
- package/lib/components/src/base/select/index.d.ts +1 -0
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue.d.ts +9 -0
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.js +2 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.js.map +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/index.d.ts +9 -0
- package/lib/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.d.ts +4 -0
- package/lib/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.js +4 -0
- package/lib/components/src/composite/searchForm/searchFormItems/select/searchFormSelect.js.map +1 -1
- package/lib/components/src/composite/selectOptions/SelectOptions.vue.d.ts +15 -2
- package/lib/components/src/composite/selectOptions/SelectOptions.vue2.js +57 -6
- package/lib/components/src/composite/selectOptions/SelectOptions.vue2.js.map +1 -1
- package/lib/components/src/composite/selectOptions/index.d.ts +415 -105
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/base/useDownload/index.d.ts +1 -1
- package/lib/hooks/base/useDownload/index.js +7 -7
- package/lib/hooks/base/useDownload/index.js.map +1 -1
- package/lib/hooks/base/useIDBKeyval/index.d.ts +4 -0
- package/lib/hooks/base/useIDBKeyval/index.js.map +1 -1
- package/lib/index.css +47 -4
- package/package.json +1 -1
|
@@ -1,107 +1,400 @@
|
|
|
1
1
|
import SelectOptions from './SelectOptions.vue';
|
|
2
|
-
export declare const GmSelectOptions: import("../../../../utils").SFCWithInstall<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
2
|
+
export declare const GmSelectOptions: import("../../../../utils").SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
clearable: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
options: {
|
|
9
|
+
type: import("vue").PropType<import("./selectOptions").SelectOptionsOptionType[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
optionLabel: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
optionValue: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
labelKey: {
|
|
21
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
ariaLabel: StringConstructor;
|
|
25
|
+
emptyValues: ArrayConstructor;
|
|
26
|
+
valueOnClear: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
27
|
+
name: StringConstructor;
|
|
28
|
+
id: StringConstructor;
|
|
29
|
+
modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<(ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[], unknown, unknown, undefined, boolean>;
|
|
30
|
+
autocomplete: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
31
|
+
automaticDropdown: BooleanConstructor;
|
|
32
|
+
size: {
|
|
33
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
effect: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, string, boolean>;
|
|
39
|
+
disabled: BooleanConstructor;
|
|
40
|
+
filterable: BooleanConstructor;
|
|
41
|
+
allowCreate: BooleanConstructor;
|
|
42
|
+
loading: BooleanConstructor;
|
|
43
|
+
popperClass: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
44
|
+
popperOptions: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => Partial<import("element-plus").Options>, boolean>;
|
|
45
|
+
remote: BooleanConstructor;
|
|
46
|
+
loadingText: StringConstructor;
|
|
47
|
+
noMatchText: StringConstructor;
|
|
48
|
+
noDataText: StringConstructor;
|
|
49
|
+
remoteMethod: FunctionConstructor;
|
|
50
|
+
filterMethod: FunctionConstructor;
|
|
51
|
+
multiple: BooleanConstructor;
|
|
52
|
+
multipleLimit: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
53
|
+
placeholder: {
|
|
54
|
+
readonly type: import("vue").PropType<string>;
|
|
55
|
+
readonly required: false;
|
|
56
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
|
+
__epPropKey: true;
|
|
58
|
+
};
|
|
59
|
+
defaultFirstOption: BooleanConstructor;
|
|
60
|
+
reserveKeyword: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
61
|
+
valueKey: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
62
|
+
collapseTags: BooleanConstructor;
|
|
63
|
+
collapseTagsTooltip: BooleanConstructor;
|
|
64
|
+
maxCollapseTags: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
65
|
+
teleported: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
66
|
+
persistent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
67
|
+
clearIcon: {
|
|
68
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
69
|
+
readonly required: false;
|
|
70
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
|
+
__epPropKey: true;
|
|
72
|
+
};
|
|
73
|
+
fitInputWidth: BooleanConstructor;
|
|
74
|
+
suffixIcon: {
|
|
75
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
};
|
|
80
|
+
tagType: {
|
|
81
|
+
default: string;
|
|
82
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
83
|
+
required: false;
|
|
84
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
+
__epPropKey: true;
|
|
86
|
+
};
|
|
87
|
+
tagEffect: {
|
|
88
|
+
default: string;
|
|
89
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
|
|
90
|
+
required: false;
|
|
91
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
};
|
|
94
|
+
validateEvent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
95
|
+
remoteShowSuffix: BooleanConstructor;
|
|
96
|
+
placement: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown, string, boolean>;
|
|
97
|
+
fallbackPlacements: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | ((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]))[], unknown, unknown, string[], boolean>;
|
|
98
|
+
}>> & {
|
|
99
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
|
+
clear: (...args: any[]) => void;
|
|
107
|
+
change: (...args: any[]) => void;
|
|
108
|
+
"update:modelValue": (...args: any[]) => void;
|
|
109
|
+
focus: (...args: any[]) => void;
|
|
110
|
+
blur: (...args: any[]) => void;
|
|
111
|
+
"visible-change": (...args: any[]) => void;
|
|
112
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
clearable: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
options: {
|
|
118
|
+
type: import("vue").PropType<import("./selectOptions").SelectOptionsOptionType[]>;
|
|
119
|
+
default: () => never[];
|
|
120
|
+
};
|
|
121
|
+
optionLabel: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
optionValue: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
labelKey: {
|
|
130
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
ariaLabel: StringConstructor;
|
|
134
|
+
emptyValues: ArrayConstructor;
|
|
135
|
+
valueOnClear: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
136
|
+
name: StringConstructor;
|
|
137
|
+
id: StringConstructor;
|
|
138
|
+
modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<(ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[], unknown, unknown, undefined, boolean>;
|
|
139
|
+
autocomplete: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
140
|
+
automaticDropdown: BooleanConstructor;
|
|
141
|
+
size: {
|
|
142
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
};
|
|
147
|
+
effect: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, string, boolean>;
|
|
148
|
+
disabled: BooleanConstructor;
|
|
149
|
+
filterable: BooleanConstructor;
|
|
150
|
+
allowCreate: BooleanConstructor;
|
|
151
|
+
loading: BooleanConstructor;
|
|
152
|
+
popperClass: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
153
|
+
popperOptions: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => Partial<import("element-plus").Options>, boolean>;
|
|
154
|
+
remote: BooleanConstructor;
|
|
155
|
+
loadingText: StringConstructor;
|
|
156
|
+
noMatchText: StringConstructor;
|
|
157
|
+
noDataText: StringConstructor;
|
|
158
|
+
remoteMethod: FunctionConstructor;
|
|
159
|
+
filterMethod: FunctionConstructor;
|
|
160
|
+
multiple: BooleanConstructor;
|
|
161
|
+
multipleLimit: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
162
|
+
placeholder: {
|
|
163
|
+
readonly type: import("vue").PropType<string>;
|
|
164
|
+
readonly required: false;
|
|
165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
+
__epPropKey: true;
|
|
167
|
+
};
|
|
168
|
+
defaultFirstOption: BooleanConstructor;
|
|
169
|
+
reserveKeyword: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
170
|
+
valueKey: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
171
|
+
collapseTags: BooleanConstructor;
|
|
172
|
+
collapseTagsTooltip: BooleanConstructor;
|
|
173
|
+
maxCollapseTags: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
174
|
+
teleported: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
175
|
+
persistent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
176
|
+
clearIcon: {
|
|
177
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
178
|
+
readonly required: false;
|
|
179
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
|
+
__epPropKey: true;
|
|
181
|
+
};
|
|
182
|
+
fitInputWidth: BooleanConstructor;
|
|
183
|
+
suffixIcon: {
|
|
184
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
185
|
+
readonly required: false;
|
|
186
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
187
|
+
__epPropKey: true;
|
|
188
|
+
};
|
|
189
|
+
tagType: {
|
|
190
|
+
default: string;
|
|
191
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
192
|
+
required: false;
|
|
193
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
+
__epPropKey: true;
|
|
195
|
+
};
|
|
196
|
+
tagEffect: {
|
|
197
|
+
default: string;
|
|
198
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
|
|
199
|
+
required: false;
|
|
200
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
201
|
+
__epPropKey: true;
|
|
202
|
+
};
|
|
203
|
+
validateEvent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
204
|
+
remoteShowSuffix: BooleanConstructor;
|
|
205
|
+
placement: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown, string, boolean>;
|
|
206
|
+
fallbackPlacements: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | ((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]))[], unknown, unknown, string[], boolean>;
|
|
207
|
+
}>> & {
|
|
208
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
209
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
210
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
211
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
212
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
213
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
214
|
+
}, {
|
|
215
|
+
options: import("./selectOptions").SelectOptionsOptionType[];
|
|
216
|
+
effect: string;
|
|
217
|
+
valueKey: string;
|
|
218
|
+
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[], unknown, unknown>;
|
|
219
|
+
placement: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown>;
|
|
220
|
+
popperClass: string;
|
|
221
|
+
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
222
|
+
fitInputWidth: boolean;
|
|
223
|
+
clearable: boolean;
|
|
224
|
+
disabled: boolean;
|
|
225
|
+
loading: boolean;
|
|
226
|
+
valueOnClear: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
227
|
+
filterable: boolean;
|
|
228
|
+
collapseTags: boolean;
|
|
229
|
+
maxCollapseTags: number;
|
|
230
|
+
collapseTagsTooltip: boolean;
|
|
231
|
+
tagType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
232
|
+
tagEffect: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>;
|
|
233
|
+
validateEvent: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
234
|
+
persistent: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
235
|
+
popperOptions: Partial<import("element-plus").Options>;
|
|
236
|
+
autocomplete: string;
|
|
237
|
+
automaticDropdown: boolean;
|
|
238
|
+
allowCreate: boolean;
|
|
239
|
+
remote: boolean;
|
|
240
|
+
multiple: boolean;
|
|
241
|
+
multipleLimit: number;
|
|
242
|
+
defaultFirstOption: boolean;
|
|
243
|
+
reserveKeyword: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
244
|
+
remoteShowSuffix: boolean;
|
|
245
|
+
fallbackPlacements: import("element-plus").Placement[];
|
|
246
|
+
optionLabel: string;
|
|
247
|
+
optionValue: string;
|
|
248
|
+
labelKey: string | boolean;
|
|
249
|
+
}, true, {}, {}, {
|
|
250
|
+
P: {};
|
|
251
|
+
B: {};
|
|
252
|
+
D: {};
|
|
253
|
+
C: {};
|
|
254
|
+
M: {};
|
|
255
|
+
Defaults: {};
|
|
256
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
257
|
+
clearable: {
|
|
258
|
+
type: BooleanConstructor;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
options: {
|
|
262
|
+
type: import("vue").PropType<import("./selectOptions").SelectOptionsOptionType[]>;
|
|
263
|
+
default: () => never[];
|
|
264
|
+
};
|
|
265
|
+
optionLabel: {
|
|
266
|
+
type: StringConstructor;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
optionValue: {
|
|
270
|
+
type: StringConstructor;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
labelKey: {
|
|
274
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
ariaLabel: StringConstructor;
|
|
278
|
+
emptyValues: ArrayConstructor;
|
|
279
|
+
valueOnClear: import("element-plus/es/utils/index.js").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
280
|
+
name: StringConstructor;
|
|
281
|
+
id: StringConstructor;
|
|
282
|
+
modelValue: import("element-plus/es/utils/index.js").EpPropFinalized<(ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[], unknown, unknown, undefined, boolean>;
|
|
283
|
+
autocomplete: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
284
|
+
automaticDropdown: BooleanConstructor;
|
|
285
|
+
size: {
|
|
286
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
287
|
+
readonly required: false;
|
|
288
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
289
|
+
__epPropKey: true;
|
|
290
|
+
};
|
|
291
|
+
effect: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, string, boolean>;
|
|
292
|
+
disabled: BooleanConstructor;
|
|
293
|
+
filterable: BooleanConstructor;
|
|
294
|
+
allowCreate: BooleanConstructor;
|
|
295
|
+
loading: BooleanConstructor;
|
|
296
|
+
popperClass: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
297
|
+
popperOptions: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => Partial<import("element-plus").Options>, boolean>;
|
|
298
|
+
remote: BooleanConstructor;
|
|
299
|
+
loadingText: StringConstructor;
|
|
300
|
+
noMatchText: StringConstructor;
|
|
301
|
+
noDataText: StringConstructor;
|
|
302
|
+
remoteMethod: FunctionConstructor;
|
|
303
|
+
filterMethod: FunctionConstructor;
|
|
304
|
+
multiple: BooleanConstructor;
|
|
305
|
+
multipleLimit: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
306
|
+
placeholder: {
|
|
307
|
+
readonly type: import("vue").PropType<string>;
|
|
308
|
+
readonly required: false;
|
|
309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
|
+
__epPropKey: true;
|
|
311
|
+
};
|
|
312
|
+
defaultFirstOption: BooleanConstructor;
|
|
313
|
+
reserveKeyword: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
314
|
+
valueKey: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
315
|
+
collapseTags: BooleanConstructor;
|
|
316
|
+
collapseTagsTooltip: BooleanConstructor;
|
|
317
|
+
maxCollapseTags: import("element-plus/es/utils/index.js").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
318
|
+
teleported: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
319
|
+
persistent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
320
|
+
clearIcon: {
|
|
321
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
322
|
+
readonly required: false;
|
|
323
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
|
+
__epPropKey: true;
|
|
325
|
+
};
|
|
326
|
+
fitInputWidth: BooleanConstructor;
|
|
327
|
+
suffixIcon: {
|
|
328
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
329
|
+
readonly required: false;
|
|
330
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
331
|
+
__epPropKey: true;
|
|
332
|
+
};
|
|
333
|
+
tagType: {
|
|
334
|
+
default: string;
|
|
335
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
336
|
+
required: false;
|
|
337
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
338
|
+
__epPropKey: true;
|
|
339
|
+
};
|
|
340
|
+
tagEffect: {
|
|
341
|
+
default: string;
|
|
342
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
|
|
343
|
+
required: false;
|
|
344
|
+
validator: ((val: unknown) => boolean) | undefined;
|
|
345
|
+
__epPropKey: true;
|
|
346
|
+
};
|
|
347
|
+
validateEvent: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
348
|
+
remoteShowSuffix: BooleanConstructor;
|
|
349
|
+
placement: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown, string, boolean>;
|
|
350
|
+
fallbackPlacements: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | ((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]))[], unknown, unknown, string[], boolean>;
|
|
351
|
+
}>> & {
|
|
352
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
353
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
354
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
355
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
356
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
357
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
358
|
+
}, {}, {}, {}, {}, {
|
|
359
|
+
options: import("./selectOptions").SelectOptionsOptionType[];
|
|
360
|
+
effect: string;
|
|
361
|
+
valueKey: string;
|
|
362
|
+
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[], unknown, unknown>;
|
|
363
|
+
placement: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "auto" | "auto-start" | "auto-end" | "right" | "left" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown>;
|
|
364
|
+
popperClass: string;
|
|
365
|
+
teleported: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
366
|
+
fitInputWidth: boolean;
|
|
367
|
+
clearable: boolean;
|
|
368
|
+
disabled: boolean;
|
|
369
|
+
loading: boolean;
|
|
370
|
+
valueOnClear: import("element-plus/es/utils/index.js").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
371
|
+
filterable: boolean;
|
|
372
|
+
collapseTags: boolean;
|
|
373
|
+
maxCollapseTags: number;
|
|
374
|
+
collapseTagsTooltip: boolean;
|
|
375
|
+
tagType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
376
|
+
tagEffect: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>;
|
|
377
|
+
validateEvent: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
378
|
+
persistent: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
379
|
+
popperOptions: Partial<import("element-plus").Options>;
|
|
380
|
+
autocomplete: string;
|
|
381
|
+
automaticDropdown: boolean;
|
|
382
|
+
allowCreate: boolean;
|
|
383
|
+
remote: boolean;
|
|
384
|
+
multiple: boolean;
|
|
385
|
+
multipleLimit: number;
|
|
386
|
+
defaultFirstOption: boolean;
|
|
387
|
+
reserveKeyword: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
388
|
+
remoteShowSuffix: boolean;
|
|
389
|
+
fallbackPlacements: import("element-plus").Placement[];
|
|
390
|
+
optionLabel: string;
|
|
391
|
+
optionValue: string;
|
|
392
|
+
labelKey: string | boolean;
|
|
393
|
+
}>;
|
|
394
|
+
__isFragment?: undefined;
|
|
395
|
+
__isTeleport?: undefined;
|
|
396
|
+
__isSuspense?: undefined;
|
|
397
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
105
398
|
clearable: {
|
|
106
399
|
type: BooleanConstructor;
|
|
107
400
|
default: boolean;
|
|
@@ -203,7 +496,14 @@ export declare const GmSelectOptions: import("../../../../utils").SFCWithInstall
|
|
|
203
496
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
204
497
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
205
498
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
206
|
-
}, {
|
|
499
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
500
|
+
clear: (...args: any[]) => void;
|
|
501
|
+
change: (...args: any[]) => void;
|
|
502
|
+
"update:modelValue": (...args: any[]) => void;
|
|
503
|
+
focus: (...args: any[]) => void;
|
|
504
|
+
blur: (...args: any[]) => void;
|
|
505
|
+
"visible-change": (...args: any[]) => void;
|
|
506
|
+
}, string, {
|
|
207
507
|
options: import("./selectOptions").SelectOptionsOptionType[];
|
|
208
508
|
effect: string;
|
|
209
509
|
valueKey: string;
|
|
@@ -238,7 +538,17 @@ export declare const GmSelectOptions: import("../../../../utils").SFCWithInstall
|
|
|
238
538
|
optionLabel: string;
|
|
239
539
|
optionValue: string;
|
|
240
540
|
labelKey: string | boolean;
|
|
241
|
-
}, {}
|
|
541
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
542
|
+
$slots: {
|
|
543
|
+
header?(_: {}): any;
|
|
544
|
+
footer?(_: {}): any;
|
|
545
|
+
prefix?(_: {}): any;
|
|
546
|
+
empty?(_: {}): any;
|
|
547
|
+
tag?(_: {}): any;
|
|
548
|
+
loading?(_: {}): any;
|
|
549
|
+
label?(_: any): any;
|
|
550
|
+
};
|
|
551
|
+
})> & Record<string, any>;
|
|
242
552
|
export type SelectOptionsInstance = InstanceType<typeof SelectOptions>;
|
|
243
553
|
export * from './selectOptions';
|
|
244
554
|
export default GmSelectOptions;
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.3.
|
|
1
|
+
export declare const version = "0.3.16";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.3.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.3.15';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
|
@@ -9,5 +9,5 @@ export interface DateownloadZipItem {
|
|
|
9
9
|
export declare const useDownload: () => {
|
|
10
10
|
downloadByUrl: (url: string, options?: DownloadOptions) => Promise<void>;
|
|
11
11
|
downloadByRes: (res: AxiosResponse<any, any>, options?: DownloadOptions) => Promise<void>;
|
|
12
|
-
downloadToZip: (fileList: DateownloadZipItem[], filename: string) => Promise<
|
|
12
|
+
downloadToZip: (fileList: DateownloadZipItem[], filename: string) => Promise<unknown>;
|
|
13
13
|
};
|
|
@@ -49,7 +49,7 @@ const useDownload = () => {
|
|
|
49
49
|
modalInfo.close();
|
|
50
50
|
};
|
|
51
51
|
const downloadToZip = async (fileList, filename) => {
|
|
52
|
-
|
|
52
|
+
return new Promise((resolve, reject) => {
|
|
53
53
|
const currentContentClass = `message${Date.now()}`;
|
|
54
54
|
const downloadCount = ref(0);
|
|
55
55
|
const len = fileList.length;
|
|
@@ -72,19 +72,19 @@ const useDownload = () => {
|
|
|
72
72
|
editElementContent(currentContentClass, `\u603B\u4E0B\u8F7D\u6587\u4EF6\u6570\uFF1A${len}\uFF0C\u5DF2\u4E0B\u8F7D\u6587\u4EF6\u6570\uFF1A${downloadCount.value}`);
|
|
73
73
|
if (downloadCount.value == len) {
|
|
74
74
|
editElementContent(currentContentClass, `\u6B63\u5728\u5408\u5E76...`);
|
|
75
|
-
zipInstance.generateAsync({ type: "blob" }).then((res2) => {
|
|
75
|
+
zipInstance.generateAsync({ type: "blob" }).then(async (res2) => {
|
|
76
76
|
modalInfo.close();
|
|
77
77
|
const fileUrl = window.URL.createObjectURL(res2);
|
|
78
|
-
downloadByUrl(fileUrl, { filename });
|
|
78
|
+
await downloadByUrl(fileUrl, { filename });
|
|
79
|
+
resolve(true);
|
|
79
80
|
}).catch((error) => {
|
|
80
|
-
console.error(error);
|
|
81
|
+
console.error("error", error);
|
|
82
|
+
reject(error);
|
|
81
83
|
});
|
|
82
84
|
}
|
|
83
85
|
});
|
|
84
86
|
}
|
|
85
|
-
}
|
|
86
|
-
console.error(error);
|
|
87
|
-
}
|
|
87
|
+
});
|
|
88
88
|
};
|
|
89
89
|
const createDownload = (options) => {
|
|
90
90
|
return new Promise((resolve, reject) => {
|