giime 0.7.18 → 0.7.20
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 +118 -118
- package/es/components/src/base/button/Button.vue.d.ts +13 -11
- package/es/components/src/base/button/Button.vue2.mjs +29 -14
- package/es/components/src/base/button/Button.vue2.mjs.map +1 -1
- package/es/components/src/base/button/button.d.ts +4 -1
- package/es/components/src/base/button/button.mjs +6 -1
- package/es/components/src/base/button/button.mjs.map +1 -1
- package/es/components/src/base/button/index.d.ts +31 -31
- package/es/components/src/composite/operateButton/OperateButton.vue.d.ts +8 -2
- package/es/components/src/composite/operateButton/index.d.ts +8 -2
- package/es/components/src/composite/operateButton/operateButton.d.ts +4 -1
- package/es/components/src/composite/tableCustom/customOperate/customOperate.d.ts +4 -1
- 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/useDictionary/index.mjs +6 -5
- package/es/hooks/base/useDictionary/index.mjs.map +1 -1
- package/es/index.css +118 -118
- package/lib/components/src/base/button/Button.vue.d.ts +13 -11
- package/lib/components/src/base/button/Button.vue2.js +27 -12
- package/lib/components/src/base/button/Button.vue2.js.map +1 -1
- package/lib/components/src/base/button/button.d.ts +4 -1
- package/lib/components/src/base/button/button.js +6 -1
- package/lib/components/src/base/button/button.js.map +1 -1
- package/lib/components/src/base/button/index.d.ts +31 -31
- package/lib/components/src/composite/operateButton/OperateButton.vue.d.ts +8 -2
- package/lib/components/src/composite/operateButton/index.d.ts +8 -2
- package/lib/components/src/composite/operateButton/operateButton.d.ts +4 -1
- package/lib/components/src/composite/tableCustom/customOperate/customOperate.d.ts +4 -1
- 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/useDictionary/index.js +5 -4
- package/lib/hooks/base/useDictionary/index.js.map +1 -1
- package/lib/index.css +118 -118
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import Button from './Button.vue';
|
|
2
2
|
export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
loading: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
4
8
|
size: {
|
|
5
9
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
6
10
|
readonly required: false;
|
|
@@ -16,7 +20,6 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
16
20
|
__epPropKey: true;
|
|
17
21
|
};
|
|
18
22
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
19
|
-
loading: BooleanConstructor;
|
|
20
23
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
21
24
|
plain: BooleanConstructor;
|
|
22
25
|
text: BooleanConstructor;
|
|
@@ -29,9 +32,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
29
32
|
dark: BooleanConstructor;
|
|
30
33
|
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
31
34
|
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
32
|
-
}
|
|
33
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
34
|
-
}, {
|
|
35
|
+
}>>, {
|
|
35
36
|
elRef: import("vue").Ref<({
|
|
36
37
|
$: import("vue").ComponentInternalInstance;
|
|
37
38
|
$data: {};
|
|
@@ -60,8 +61,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
60
61
|
readonly dark: boolean;
|
|
61
62
|
readonly circle: boolean;
|
|
62
63
|
readonly disabled: boolean;
|
|
63
|
-
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
64
64
|
readonly loading: boolean;
|
|
65
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
65
66
|
readonly bg: boolean;
|
|
66
67
|
readonly autofocus: boolean;
|
|
67
68
|
readonly tag: 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>;
|
|
@@ -102,7 +103,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
102
103
|
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(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, "button", boolean>;
|
|
103
104
|
}>> & {
|
|
104
105
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
105
|
-
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "
|
|
106
|
+
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "loading" | "nativeType" | "loadingIcon" | "bg" | "autofocus" | "autoInsertSpace" | "tag">;
|
|
106
107
|
$attrs: {
|
|
107
108
|
[x: string]: unknown;
|
|
108
109
|
};
|
|
@@ -235,9 +236,11 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
235
236
|
default?(_: {}): any;
|
|
236
237
|
};
|
|
237
238
|
}) | undefined>;
|
|
238
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
240
|
+
loading: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: undefined;
|
|
243
|
+
};
|
|
241
244
|
size: {
|
|
242
245
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
243
246
|
readonly required: false;
|
|
@@ -253,7 +256,6 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
253
256
|
__epPropKey: true;
|
|
254
257
|
};
|
|
255
258
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
256
|
-
loading: BooleanConstructor;
|
|
257
259
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
258
260
|
plain: BooleanConstructor;
|
|
259
261
|
text: BooleanConstructor;
|
|
@@ -266,9 +268,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
266
268
|
dark: BooleanConstructor;
|
|
267
269
|
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
268
270
|
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
269
|
-
}
|
|
270
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
271
|
-
}, {
|
|
271
|
+
}>>, {
|
|
272
272
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
273
273
|
plain: boolean;
|
|
274
274
|
link: boolean;
|
|
@@ -277,8 +277,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
277
277
|
dark: boolean;
|
|
278
278
|
circle: boolean;
|
|
279
279
|
disabled: boolean;
|
|
280
|
-
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
281
280
|
loading: boolean;
|
|
281
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
282
282
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
283
283
|
bg: boolean;
|
|
284
284
|
autofocus: boolean;
|
|
@@ -292,6 +292,10 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
292
292
|
M: {};
|
|
293
293
|
Defaults: {};
|
|
294
294
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
295
|
+
loading: {
|
|
296
|
+
type: BooleanConstructor;
|
|
297
|
+
default: undefined;
|
|
298
|
+
};
|
|
295
299
|
size: {
|
|
296
300
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
297
301
|
readonly required: false;
|
|
@@ -307,7 +311,6 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
307
311
|
__epPropKey: true;
|
|
308
312
|
};
|
|
309
313
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
310
|
-
loading: BooleanConstructor;
|
|
311
314
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
312
315
|
plain: BooleanConstructor;
|
|
313
316
|
text: BooleanConstructor;
|
|
@@ -320,9 +323,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
320
323
|
dark: BooleanConstructor;
|
|
321
324
|
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
322
325
|
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
323
|
-
}
|
|
324
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
325
|
-
}, {
|
|
326
|
+
}>>, {
|
|
326
327
|
elRef: import("vue").Ref<({
|
|
327
328
|
$: import("vue").ComponentInternalInstance;
|
|
328
329
|
$data: {};
|
|
@@ -351,8 +352,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
351
352
|
readonly dark: boolean;
|
|
352
353
|
readonly circle: boolean;
|
|
353
354
|
readonly disabled: boolean;
|
|
354
|
-
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
355
355
|
readonly loading: boolean;
|
|
356
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
356
357
|
readonly bg: boolean;
|
|
357
358
|
readonly autofocus: boolean;
|
|
358
359
|
readonly tag: 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>;
|
|
@@ -393,7 +394,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
393
394
|
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(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, "button", boolean>;
|
|
394
395
|
}>> & {
|
|
395
396
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
396
|
-
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "
|
|
397
|
+
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "loading" | "nativeType" | "loadingIcon" | "bg" | "autofocus" | "autoInsertSpace" | "tag">;
|
|
397
398
|
$attrs: {
|
|
398
399
|
[x: string]: unknown;
|
|
399
400
|
};
|
|
@@ -535,8 +536,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
535
536
|
dark: boolean;
|
|
536
537
|
circle: boolean;
|
|
537
538
|
disabled: boolean;
|
|
538
|
-
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
539
539
|
loading: boolean;
|
|
540
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
540
541
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
541
542
|
bg: boolean;
|
|
542
543
|
autofocus: boolean;
|
|
@@ -547,6 +548,10 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
547
548
|
__isTeleport?: undefined;
|
|
548
549
|
__isSuspense?: undefined;
|
|
549
550
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
551
|
+
loading: {
|
|
552
|
+
type: BooleanConstructor;
|
|
553
|
+
default: undefined;
|
|
554
|
+
};
|
|
550
555
|
size: {
|
|
551
556
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
552
557
|
readonly required: false;
|
|
@@ -562,7 +567,6 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
562
567
|
__epPropKey: true;
|
|
563
568
|
};
|
|
564
569
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
565
|
-
loading: BooleanConstructor;
|
|
566
570
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
567
571
|
plain: BooleanConstructor;
|
|
568
572
|
text: BooleanConstructor;
|
|
@@ -575,9 +579,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
575
579
|
dark: BooleanConstructor;
|
|
576
580
|
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
577
581
|
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
578
|
-
}
|
|
579
|
-
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
580
|
-
}, {
|
|
582
|
+
}>>, {
|
|
581
583
|
elRef: import("vue").Ref<({
|
|
582
584
|
$: import("vue").ComponentInternalInstance;
|
|
583
585
|
$data: {};
|
|
@@ -606,8 +608,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
606
608
|
readonly dark: boolean;
|
|
607
609
|
readonly circle: boolean;
|
|
608
610
|
readonly disabled: boolean;
|
|
609
|
-
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
610
611
|
readonly loading: boolean;
|
|
612
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
611
613
|
readonly bg: boolean;
|
|
612
614
|
readonly autofocus: boolean;
|
|
613
615
|
readonly tag: 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>;
|
|
@@ -648,7 +650,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
648
650
|
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(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, "button", boolean>;
|
|
649
651
|
}>> & {
|
|
650
652
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
651
|
-
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "
|
|
653
|
+
}, "type" | "plain" | "link" | "text" | "round" | "dark" | "circle" | "disabled" | "loading" | "nativeType" | "loadingIcon" | "bg" | "autofocus" | "autoInsertSpace" | "tag">;
|
|
652
654
|
$attrs: {
|
|
653
655
|
[x: string]: unknown;
|
|
654
656
|
};
|
|
@@ -781,9 +783,7 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
781
783
|
default?(_: {}): any;
|
|
782
784
|
};
|
|
783
785
|
}) | undefined>;
|
|
784
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
785
|
-
click: (evt: MouseEvent) => void;
|
|
786
|
-
}, string, {
|
|
786
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
787
787
|
type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
788
788
|
plain: boolean;
|
|
789
789
|
link: boolean;
|
|
@@ -792,8 +792,8 @@ export declare const GmButton: import("../../../../utils").SFCWithInstall<{
|
|
|
792
792
|
dark: boolean;
|
|
793
793
|
circle: boolean;
|
|
794
794
|
disabled: boolean;
|
|
795
|
-
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
796
795
|
loading: boolean;
|
|
796
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
797
797
|
loadingIcon: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
798
798
|
bg: boolean;
|
|
799
799
|
autofocus: boolean;
|
|
@@ -13,7 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
default: true;
|
|
14
14
|
};
|
|
15
15
|
disabled: BooleanConstructor;
|
|
16
|
-
loading:
|
|
16
|
+
loading: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
17
20
|
size: {
|
|
18
21
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
19
22
|
default: "small";
|
|
@@ -33,7 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
36
|
default: true;
|
|
34
37
|
};
|
|
35
38
|
disabled: BooleanConstructor;
|
|
36
|
-
loading:
|
|
39
|
+
loading: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
37
43
|
size: {
|
|
38
44
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
39
45
|
default: "small";
|
|
@@ -14,7 +14,10 @@ export declare const GmOperateButton: import("../../../../utils").SFCWithInstall
|
|
|
14
14
|
default: true;
|
|
15
15
|
};
|
|
16
16
|
disabled: BooleanConstructor;
|
|
17
|
-
loading:
|
|
17
|
+
loading: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
18
21
|
size: {
|
|
19
22
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
20
23
|
default: "small";
|
|
@@ -34,7 +37,10 @@ export declare const GmOperateButton: import("../../../../utils").SFCWithInstall
|
|
|
34
37
|
default: true;
|
|
35
38
|
};
|
|
36
39
|
disabled: BooleanConstructor;
|
|
37
|
-
loading:
|
|
40
|
+
loading: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
38
44
|
size: {
|
|
39
45
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
40
46
|
default: "small";
|
|
@@ -17,7 +17,10 @@ export declare const operateButtonProps: {
|
|
|
17
17
|
default: true;
|
|
18
18
|
};
|
|
19
19
|
disabled: BooleanConstructor;
|
|
20
|
-
loading:
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
21
24
|
size: {
|
|
22
25
|
type: PropType<"" | "default" | "small" | "large">;
|
|
23
26
|
default: "small";
|
|
@@ -14,7 +14,10 @@ export declare const customOperateButtonProps: {
|
|
|
14
14
|
default: true;
|
|
15
15
|
};
|
|
16
16
|
disabled: BooleanConstructor;
|
|
17
|
-
loading:
|
|
17
|
+
loading: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
18
21
|
size: {
|
|
19
22
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
20
23
|
default: "small";
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.7.
|
|
1
|
+
export declare const version = "0.7.20";
|
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.7.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.19';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import '../../../api/guardBasic/controller/index.mjs';
|
|
2
|
-
import { ref, computed
|
|
2
|
+
import { ref, computed } from 'vue';
|
|
3
|
+
import { tryOnMounted } from '@vueuse/core';
|
|
3
4
|
import { usePostBasicV1DataDictionaryBatchDetailByCode } from '../../../api/guardBasic/controller/JiChuFuWu/ShuJuZiDianGuanLi/usePostBasicV1DataDictionaryBatchDetailByCode.mjs';
|
|
4
5
|
|
|
5
6
|
const useDictionary = (fieldCodes, options) => {
|
|
@@ -29,11 +30,11 @@ const useDictionary = (fieldCodes, options) => {
|
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
32
|
const immediate = options?.immediate ?? true;
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
tryOnMounted(() => {
|
|
34
|
+
if (immediate) {
|
|
34
35
|
getDictionary();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
37
38
|
return {
|
|
38
39
|
dictionaryList,
|
|
39
40
|
dictionary,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/base/useDictionary/index.ts"],"sourcesContent":["import type { DataDictVo } from '@giime/api/guardBasic/interface';\nimport { usePostBasicV1DataDictionaryBatchDetailByCode } from '@giime/api/guardBasic/controller';\nimport { ref, computed
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/base/useDictionary/index.ts"],"sourcesContent":["import type { DataDictVo } from '@giime/api/guardBasic/interface';\nimport { usePostBasicV1DataDictionaryBatchDetailByCode } from '@giime/api/guardBasic/controller';\nimport { ref, computed } from 'vue';\nimport { tryOnMounted } from '@vueuse/core';\n\nexport interface DictionaryOption {\n label: string;\n value: any;\n tagType?: 'success' | 'warning' | 'info' | 'primary' | 'danger';\n}\n/**字典 */\nexport const useDictionary = <T extends string>(fieldCodes: T[], options?: { immediate?: boolean }) => {\n const { exec: getDictionaryExec } = usePostBasicV1DataDictionaryBatchDetailByCode();\n const isLoading = ref(false);\n const dictionaryList = ref<DataDictVo[]>([]);\n const dictionary = computed(() => {\n return dictionaryList.value.reduce(\n (acc, item) => {\n acc[item.fieldCode as T] =\n item?.values?.map(it => ({\n label: it.valueName,\n value: it.valueCode,\n tagType: it.tagType as DictionaryOption['tagType'],\n })) || [];\n\n return acc;\n },\n {} as Record<T, DictionaryOption[]>,\n );\n });\n const getDictionary = async () => {\n isLoading.value = true;\n try {\n const { data } = await getDictionaryExec({ fieldCodes });\n\n dictionaryList.value = data.value?.data || [];\n } finally {\n isLoading.value = false;\n }\n };\n const immediate = options?.immediate ?? true;\n tryOnMounted(() => {\n if (immediate) {\n getDictionary();\n }\n });\n\n return {\n dictionaryList,\n dictionary,\n isLoading,\n getDictionary,\n };\n};\n"],"names":[],"mappings":";;;;;AAWa,MAAA,aAAA,GAAgB,CAAmB,UAAA,EAAiB,OAAsC,KAAA;AACrG,EAAA,MAAM,EAAE,IAAA,EAAM,iBAAkB,EAAA,GAAI,6CAA8C,EAAA,CAAA;AAClF,EAAM,MAAA,SAAA,GAAY,IAAI,KAAK,CAAA,CAAA;AAC3B,EAAM,MAAA,cAAA,GAAiB,GAAkB,CAAA,EAAE,CAAA,CAAA;AAC3C,EAAM,MAAA,UAAA,GAAa,SAAS,MAAM;AAChC,IAAA,OAAO,eAAe,KAAM,CAAA,MAAA;AAAA,MAC1B,CAAC,KAAK,IAAS,KAAA;AACb,QAAA,GAAA,CAAI,KAAK,SAAc,CAAA,GACrB,IAAM,EAAA,MAAA,EAAQ,IAAI,CAAO,EAAA,MAAA;AAAA,UACvB,OAAO,EAAG,CAAA,SAAA;AAAA,UACV,OAAO,EAAG,CAAA,SAAA;AAAA,UACV,SAAS,EAAG,CAAA,OAAA;AAAA,SACd,CAAE,KAAK,EAAC,CAAA;AAEV,QAAO,OAAA,GAAA,CAAA;AAAA,OACT;AAAA,MACA,EAAC;AAAA,KACH,CAAA;AAAA,GACD,CAAA,CAAA;AACD,EAAA,MAAM,gBAAgB,YAAY;AAChC,IAAA,SAAA,CAAU,KAAQ,GAAA,IAAA,CAAA;AAClB,IAAI,IAAA;AACF,MAAA,MAAM,EAAE,IAAK,EAAA,GAAI,MAAM,iBAAkB,CAAA,EAAE,YAAY,CAAA,CAAA;AAEvD,MAAA,cAAA,CAAe,KAAQ,GAAA,IAAA,CAAK,KAAO,EAAA,IAAA,IAAQ,EAAC,CAAA;AAAA,KAC5C,SAAA;AACA,MAAA,SAAA,CAAU,KAAQ,GAAA,KAAA,CAAA;AAAA,KACpB;AAAA,GACF,CAAA;AACA,EAAM,MAAA,SAAA,GAAY,SAAS,SAAa,IAAA,IAAA,CAAA;AACxC,EAAA,YAAA,CAAa,MAAM;AACjB,IAAA,IAAI,SAAW,EAAA;AACb,MAAc,aAAA,EAAA,CAAA;AAAA,KAChB;AAAA,GACD,CAAA,CAAA;AAED,EAAO,OAAA;AAAA,IACL,cAAA;AAAA,IACA,UAAA;AAAA,IACA,SAAA;AAAA,IACA,aAAA;AAAA,GACF,CAAA;AACF;;;;"}
|