@minilo/ui 0.0.2 → 0.0.3
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/minilo/dist/index.css +1 -1
- package/minilo/dist/index.full.js +2570 -111
- package/minilo/dist/index.full.min.js +7 -1
- package/minilo/dist/index.full.min.js.map +1 -1
- package/minilo/dist/index.full.min.mjs +7 -1
- package/minilo/dist/index.full.min.mjs.map +1 -1
- package/minilo/dist/index.full.mjs +2565 -113
- package/minilo/es/components/button/index.d.ts +4 -4
- package/minilo/es/components/button/index.vue.d.ts +2 -2
- package/minilo/es/components/chart/index.d.ts +4 -4
- package/minilo/es/components/chart/index.vue.d.ts +2 -2
- package/minilo/es/components/chart/index.vue2.mjs +2 -2
- package/minilo/es/components/detail/index.vue2.mjs +1 -1
- package/minilo/es/components/image-upload-pro/index.d.ts +146 -0
- package/minilo/es/components/image-upload-pro/index.mjs +7 -0
- package/minilo/es/components/image-upload-pro/index.vue.d.ts +146 -0
- package/minilo/es/components/image-upload-pro/index.vue.mjs +5 -0
- package/minilo/es/components/image-upload-pro/index.vue2.mjs +667 -0
- package/minilo/es/components/image-upload-pro/type.d.ts +146 -0
- package/minilo/es/components/image-upload-pro/type.mjs +81 -0
- package/minilo/es/components/index.d.ts +4 -0
- package/minilo/es/components/index.mjs +7 -0
- package/minilo/es/components/number-range-input/index.d.ts +3 -3
- package/minilo/es/components/number-range-input/index.vue.d.ts +1 -1
- package/minilo/es/components/search/index.d.ts +26 -26
- package/minilo/es/components/search/index.vue.d.ts +23 -23
- package/minilo/es/components/search/props.d.ts +2 -2
- package/minilo/es/components/search-table/index.d.ts +18 -18
- package/minilo/es/components/search-table/index.vue.d.ts +9 -9
- package/minilo/es/components/search-table/index.vue2.mjs +2 -2
- package/minilo/es/components/search-table/props.d.ts +3 -3
- package/minilo/es/components/tree-select/index.d.ts +32 -0
- package/minilo/es/components/tree-select/index.mjs +6 -0
- package/minilo/es/components/tree-select/index.vue.d.ts +20 -0
- package/minilo/es/components/tree-select/index.vue.mjs +5 -0
- package/minilo/es/components/tree-select/index.vue2.mjs +226 -0
- package/minilo/es/components/tree-select/type.d.ts +34 -0
- package/minilo/es/components/tree-select/type.mjs +1 -0
- package/minilo/es/components/tree-select-dialog/index.d.ts +60 -0
- package/minilo/es/components/tree-select-dialog/index.mjs +7 -0
- package/minilo/es/components/tree-select-dialog/index.vue.d.ts +23 -0
- package/minilo/es/components/tree-select-dialog/index.vue.mjs +5 -0
- package/minilo/es/components/tree-select-dialog/index.vue2.mjs +135 -0
- package/minilo/es/components/tree-select-dialog/type.d.ts +9 -0
- package/minilo/es/components/tree-select-dialog/type.mjs +24 -0
- package/minilo/es/components/tree-select-drawer/index.d.ts +64 -0
- package/minilo/es/components/tree-select-drawer/index.mjs +7 -0
- package/minilo/es/components/tree-select-drawer/index.vue.d.ts +23 -0
- package/minilo/es/components/tree-select-drawer/index.vue.mjs +5 -0
- package/minilo/es/components/tree-select-drawer/index.vue2.mjs +140 -0
- package/minilo/es/components/tree-select-drawer/type.d.ts +10 -0
- package/minilo/es/components/tree-select-drawer/type.mjs +20 -0
- package/minilo/es/components/virtual-list/index.d.ts +4 -4
- package/minilo/es/components/virtual-list/index.vue.d.ts +2 -2
- package/minilo/es/index.d.ts +393 -61
- package/minilo/es/node_modules/.pnpm/{@element-plus_icons-vue@2.3.1_vue@3.5.17_typescript@5.8.3_ → @element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_}/node_modules/@element-plus/icons-vue/dist/index.mjs +17 -1
- package/minilo/es/node_modules/.pnpm/{@vueuse_core@13.6.0_vue@3.5.17_typescript@5.9.3_ → @vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/core/index.mjs +2 -2
- package/minilo/es/resolver/index.d.ts +1 -1
- package/minilo/lib/components/button/index.d.ts +4 -4
- package/minilo/lib/components/button/index.vue.d.ts +2 -2
- package/minilo/lib/components/chart/index.d.ts +4 -4
- package/minilo/lib/components/chart/index.vue.d.ts +2 -2
- package/minilo/lib/components/chart/index.vue2.js +2 -2
- package/minilo/lib/components/detail/index.vue2.js +1 -1
- package/minilo/lib/components/image-upload-pro/index.d.ts +146 -0
- package/minilo/lib/components/image-upload-pro/index.js +13 -0
- package/minilo/lib/components/image-upload-pro/index.vue.d.ts +146 -0
- package/minilo/lib/components/image-upload-pro/index.vue.js +9 -0
- package/minilo/lib/components/image-upload-pro/index.vue2.js +671 -0
- package/minilo/lib/components/image-upload-pro/type.d.ts +146 -0
- package/minilo/lib/components/image-upload-pro/type.js +83 -0
- package/minilo/lib/components/index.d.ts +4 -0
- package/minilo/lib/components/index.js +14 -0
- package/minilo/lib/components/number-range-input/index.d.ts +3 -3
- package/minilo/lib/components/number-range-input/index.vue.d.ts +1 -1
- package/minilo/lib/components/search/index.d.ts +26 -26
- package/minilo/lib/components/search/index.vue.d.ts +23 -23
- package/minilo/lib/components/search/props.d.ts +2 -2
- package/minilo/lib/components/search-table/index.d.ts +18 -18
- package/minilo/lib/components/search-table/index.vue.d.ts +9 -9
- package/minilo/lib/components/search-table/index.vue2.js +2 -2
- package/minilo/lib/components/search-table/props.d.ts +3 -3
- package/minilo/lib/components/tree-select/index.d.ts +32 -0
- package/minilo/lib/components/tree-select/index.js +11 -0
- package/minilo/lib/components/tree-select/index.vue.d.ts +20 -0
- package/minilo/lib/components/tree-select/index.vue.js +9 -0
- package/minilo/lib/components/tree-select/index.vue2.js +230 -0
- package/minilo/lib/components/tree-select/type.d.ts +34 -0
- package/minilo/lib/components/tree-select/type.js +2 -0
- package/minilo/lib/components/tree-select-dialog/index.d.ts +60 -0
- package/minilo/lib/components/tree-select-dialog/index.js +13 -0
- package/minilo/lib/components/tree-select-dialog/index.vue.d.ts +23 -0
- package/minilo/lib/components/tree-select-dialog/index.vue.js +9 -0
- package/minilo/lib/components/tree-select-dialog/index.vue2.js +139 -0
- package/minilo/lib/components/tree-select-dialog/type.d.ts +9 -0
- package/minilo/lib/components/tree-select-dialog/type.js +26 -0
- package/minilo/lib/components/tree-select-drawer/index.d.ts +64 -0
- package/minilo/lib/components/tree-select-drawer/index.js +13 -0
- package/minilo/lib/components/tree-select-drawer/index.vue.d.ts +23 -0
- package/minilo/lib/components/tree-select-drawer/index.vue.js +9 -0
- package/minilo/lib/components/tree-select-drawer/index.vue2.js +144 -0
- package/minilo/lib/components/tree-select-drawer/type.d.ts +10 -0
- package/minilo/lib/components/tree-select-drawer/type.js +22 -0
- package/minilo/lib/components/virtual-list/index.d.ts +4 -4
- package/minilo/lib/components/virtual-list/index.vue.d.ts +2 -2
- package/minilo/lib/index.d.ts +393 -61
- package/minilo/lib/node_modules/.pnpm/{@element-plus_icons-vue@2.3.1_vue@3.5.17_typescript@5.8.3_ → @element-plus_icons-vue@2.3.1_vue@3.5.26_typescript@5.9.3_}/node_modules/@element-plus/icons-vue/dist/index.js +17 -0
- package/minilo/lib/node_modules/.pnpm/{@vueuse_core@13.6.0_vue@3.5.17_typescript@5.9.3_ → @vueuse_core@13.9.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/core/index.js +1 -1
- package/minilo/lib/resolver/index.d.ts +1 -1
- package/minilo/theme-chalk/index.css +1 -1
- package/minilo/theme-chalk/ml-image-upload-pro.css +1 -0
- package/minilo/theme-chalk/ml-tree-select-dialog.css +0 -0
- package/minilo/theme-chalk/ml-tree-select-drawer.css +0 -0
- package/minilo/theme-chalk/ml-tree-select.css +1 -0
- package/minilo/theme-chalk/src/image-upload-pro.scss +70 -0
- package/minilo/theme-chalk/src/index.scss +2 -0
- package/minilo/theme-chalk/src/tree-select-dialog.scss +0 -0
- package/minilo/theme-chalk/src/tree-select-drawer.scss +0 -0
- package/minilo/theme-chalk/src/tree-select.scss +47 -0
- package/package.json +18 -5
- /package/minilo/es/{packages → node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo}/utils/dist/func/common.mjs +0 -0
- /package/minilo/es/{packages → node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo}/utils/dist/request/index.mjs +0 -0
- /package/minilo/es/node_modules/.pnpm/{@vueuse_shared@13.6.0_vue@3.5.17_typescript@5.9.3_ → @vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/shared/index.mjs +0 -0
- /package/minilo/lib/{packages → node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo}/utils/dist/func/common.js +0 -0
- /package/minilo/lib/{packages → node_modules/.pnpm/@minilo_utils@0.0.2_vue@3.5.26_typescript@5.9.3_/node_modules/@minilo}/utils/dist/request/index.js +0 -0
- /package/minilo/lib/node_modules/.pnpm/{@vueuse_shared@13.6.0_vue@3.5.17_typescript@5.9.3_ → @vueuse_shared@13.9.0_vue@3.5.26_typescript@5.9.3_}/node_modules/@vueuse/shared/index.js +0 -0
package/minilo/es/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import * as components from './components';
|
|
2
3
|
export * from './components';
|
|
3
|
-
export declare const MsUIComponentsInstance: (({
|
|
4
|
+
export declare const MsUIComponentsInstance: (string[] | ({
|
|
4
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./components/virtual-list/type').MlVirtualListProps> & Readonly<{
|
|
5
|
-
"onLoad-more"?: (
|
|
6
|
+
"onLoad-more"?: () => any;
|
|
6
7
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
8
|
"load-more": () => any;
|
|
8
9
|
}, import('vue').PublicProps, {
|
|
@@ -13,7 +14,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
13
14
|
preLoadCount: number;
|
|
14
15
|
threshold: number;
|
|
15
16
|
dataSource: any[];
|
|
16
|
-
},
|
|
17
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
17
18
|
containerRef: HTMLDivElement;
|
|
18
19
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
19
20
|
P: {};
|
|
@@ -23,7 +24,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
23
24
|
M: {};
|
|
24
25
|
Defaults: {};
|
|
25
26
|
}, Readonly<import('./components/virtual-list/type').MlVirtualListProps> & Readonly<{
|
|
26
|
-
"onLoad-more"?: (
|
|
27
|
+
"onLoad-more"?: () => any;
|
|
27
28
|
}>, {}, {}, {}, {}, {
|
|
28
29
|
height: number;
|
|
29
30
|
itemHeight: number;
|
|
@@ -37,7 +38,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
37
38
|
__isTeleport?: never;
|
|
38
39
|
__isSuspense?: never;
|
|
39
40
|
} & import('vue').ComponentOptionsBase<Readonly<import('./components/virtual-list/type').MlVirtualListProps> & Readonly<{
|
|
40
|
-
"onLoad-more"?: (
|
|
41
|
+
"onLoad-more"?: () => any;
|
|
41
42
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
42
43
|
"load-more": () => any;
|
|
43
44
|
}, string, {
|
|
@@ -59,7 +60,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
59
60
|
};
|
|
60
61
|
})) | ({
|
|
61
62
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./components/chart/type').MlChartProps> & Readonly<{
|
|
62
|
-
[x: `on${Capitalize<string>}`]: (
|
|
63
|
+
[x: `on${Capitalize<string>}`]: (...args: unknown[] & []) => any;
|
|
63
64
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
65
|
[x: string]: ((...args: unknown[]) => any) | (() => any);
|
|
65
66
|
}, import('vue').PublicProps, {
|
|
@@ -68,7 +69,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
68
69
|
theme: string;
|
|
69
70
|
isEmpty: boolean | ((options: Record<string, any>) => boolean);
|
|
70
71
|
description: string;
|
|
71
|
-
},
|
|
72
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
72
73
|
echartRef: HTMLDivElement;
|
|
73
74
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
74
75
|
P: {};
|
|
@@ -78,7 +79,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
78
79
|
M: {};
|
|
79
80
|
Defaults: {};
|
|
80
81
|
}, Readonly<import('./components/chart/type').MlChartProps> & Readonly<{
|
|
81
|
-
[x: `on${Capitalize<string>}`]: (
|
|
82
|
+
[x: `on${Capitalize<string>}`]: (...args: unknown[] & []) => any;
|
|
82
83
|
}>, {}, {}, {}, {}, {
|
|
83
84
|
options: Record<string, any>;
|
|
84
85
|
id: string;
|
|
@@ -90,7 +91,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
90
91
|
__isTeleport?: never;
|
|
91
92
|
__isSuspense?: never;
|
|
92
93
|
} & import('vue').ComponentOptionsBase<Readonly<import('./components/chart/type').MlChartProps> & Readonly<{
|
|
93
|
-
[x: `on${Capitalize<string>}`]: (
|
|
94
|
+
[x: `on${Capitalize<string>}`]: (...args: unknown[] & []) => any;
|
|
94
95
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
95
96
|
[x: string]: ((...args: unknown[]) => any) | (() => any);
|
|
96
97
|
}, string, {
|
|
@@ -159,7 +160,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
159
160
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
160
161
|
readonly [Symbol.species]: ArrayConstructor;
|
|
161
162
|
};
|
|
162
|
-
default: () =>
|
|
163
|
+
default: () => any[];
|
|
163
164
|
};
|
|
164
165
|
item: {
|
|
165
166
|
type: {
|
|
@@ -178,24 +179,24 @@ export declare const MsUIComponentsInstance: (({
|
|
|
178
179
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
179
180
|
readonly [Symbol.species]: ArrayConstructor;
|
|
180
181
|
};
|
|
181
|
-
default: () =>
|
|
182
|
+
default: () => any[];
|
|
182
183
|
};
|
|
183
184
|
modelValue: {
|
|
184
185
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
185
186
|
};
|
|
186
187
|
}>> & Readonly<{
|
|
187
|
-
onSubmit?: (
|
|
188
|
-
onReset?: (
|
|
189
|
-
"onUpdate:modelValue"?: (
|
|
188
|
+
onSubmit?: (...args: any[]) => any;
|
|
189
|
+
onReset?: (...args: any[]) => any;
|
|
190
|
+
"onUpdate:modelValue"?: (value: import('./components/search/props').SearchModel) => any;
|
|
190
191
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
191
192
|
submit: (...args: any[]) => void;
|
|
192
193
|
reset: (...args: any[]) => void;
|
|
193
194
|
"update:modelValue": (value: import('./components/search/props').SearchModel) => void;
|
|
194
195
|
}, import('vue').PublicProps, {
|
|
195
196
|
size: "" | "small" | "default" | "large";
|
|
197
|
+
slots: import('./components/search/props').CustomSlot[];
|
|
196
198
|
span: number;
|
|
197
199
|
item: import('./components/search/props').SearchItem[];
|
|
198
|
-
slots: import('./components/search/props').CustomSlot[];
|
|
199
200
|
labelWidth: string | number;
|
|
200
201
|
inline: boolean;
|
|
201
202
|
disabled: boolean;
|
|
@@ -204,7 +205,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
204
205
|
submitBtnText: string;
|
|
205
206
|
resetBtnText: string;
|
|
206
207
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
207
|
-
searchFormRef:
|
|
208
|
+
searchFormRef: {
|
|
208
209
|
$: import('vue').ComponentInternalInstance;
|
|
209
210
|
$data: {};
|
|
210
211
|
$props: Partial<{
|
|
@@ -235,10 +236,10 @@ export declare const MsUIComponentsInstance: (({
|
|
|
235
236
|
readonly hideRequiredAsterisk: boolean;
|
|
236
237
|
readonly scrollToError: boolean;
|
|
237
238
|
readonly scrollIntoViewOptions: boolean | Record<string, any>;
|
|
238
|
-
readonly size?:
|
|
239
|
-
readonly model?: Record<string, any
|
|
240
|
-
readonly rules?: Partial<Record<string, import('element-plus').FormItemRule | import('element-plus').FormItemRule[]
|
|
241
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined
|
|
239
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
240
|
+
readonly model?: Record<string, any>;
|
|
241
|
+
readonly rules?: Partial<Record<string, import('element-plus').FormItemRule | import('element-plus').FormItemRule[]>>;
|
|
242
|
+
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
242
243
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "labelWidth" | "inline" | "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelSuffix" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions">;
|
|
243
244
|
$attrs: {
|
|
244
245
|
[x: string]: unknown;
|
|
@@ -247,7 +248,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
247
248
|
[x: string]: unknown;
|
|
248
249
|
};
|
|
249
250
|
$slots: Readonly<{
|
|
250
|
-
[name: string]: import('vue').Slot<any
|
|
251
|
+
[name: string]: import('vue').Slot<any>;
|
|
251
252
|
}>;
|
|
252
253
|
$root: import('vue').ComponentPublicInstance | null;
|
|
253
254
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
@@ -480,7 +481,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
480
481
|
$slots: {
|
|
481
482
|
default?(_: {}): any;
|
|
482
483
|
};
|
|
483
|
-
}
|
|
484
|
+
};
|
|
484
485
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
485
486
|
P: {};
|
|
486
487
|
B: {};
|
|
@@ -542,7 +543,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
542
543
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
543
544
|
readonly [Symbol.species]: ArrayConstructor;
|
|
544
545
|
};
|
|
545
|
-
default: () =>
|
|
546
|
+
default: () => any[];
|
|
546
547
|
};
|
|
547
548
|
item: {
|
|
548
549
|
type: {
|
|
@@ -561,20 +562,20 @@ export declare const MsUIComponentsInstance: (({
|
|
|
561
562
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
562
563
|
readonly [Symbol.species]: ArrayConstructor;
|
|
563
564
|
};
|
|
564
|
-
default: () =>
|
|
565
|
+
default: () => any[];
|
|
565
566
|
};
|
|
566
567
|
modelValue: {
|
|
567
568
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
568
569
|
};
|
|
569
570
|
}>> & Readonly<{
|
|
570
|
-
onSubmit?: (
|
|
571
|
-
onReset?: (
|
|
572
|
-
"onUpdate:modelValue"?: (
|
|
571
|
+
onSubmit?: (...args: any[]) => any;
|
|
572
|
+
onReset?: (...args: any[]) => any;
|
|
573
|
+
"onUpdate:modelValue"?: (value: import('./components/search/props').SearchModel) => any;
|
|
573
574
|
}>, {}, {}, {}, {}, {
|
|
574
575
|
size: "" | "small" | "default" | "large";
|
|
576
|
+
slots: import('./components/search/props').CustomSlot[];
|
|
575
577
|
span: number;
|
|
576
578
|
item: import('./components/search/props').SearchItem[];
|
|
577
|
-
slots: import('./components/search/props').CustomSlot[];
|
|
578
579
|
labelWidth: string | number;
|
|
579
580
|
inline: boolean;
|
|
580
581
|
disabled: boolean;
|
|
@@ -640,7 +641,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
640
641
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
641
642
|
readonly [Symbol.species]: ArrayConstructor;
|
|
642
643
|
};
|
|
643
|
-
default: () =>
|
|
644
|
+
default: () => any[];
|
|
644
645
|
};
|
|
645
646
|
item: {
|
|
646
647
|
type: {
|
|
@@ -659,24 +660,24 @@ export declare const MsUIComponentsInstance: (({
|
|
|
659
660
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
660
661
|
readonly [Symbol.species]: ArrayConstructor;
|
|
661
662
|
};
|
|
662
|
-
default: () =>
|
|
663
|
+
default: () => any[];
|
|
663
664
|
};
|
|
664
665
|
modelValue: {
|
|
665
666
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
666
667
|
};
|
|
667
668
|
}>> & Readonly<{
|
|
668
|
-
onSubmit?: (
|
|
669
|
-
onReset?: (
|
|
670
|
-
"onUpdate:modelValue"?: (
|
|
669
|
+
onSubmit?: (...args: any[]) => any;
|
|
670
|
+
onReset?: (...args: any[]) => any;
|
|
671
|
+
"onUpdate:modelValue"?: (value: import('./components/search/props').SearchModel) => any;
|
|
671
672
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
672
673
|
submit: (...args: any[]) => void;
|
|
673
674
|
reset: (...args: any[]) => void;
|
|
674
675
|
"update:modelValue": (value: import('./components/search/props').SearchModel) => void;
|
|
675
676
|
}, string, {
|
|
676
677
|
size: "" | "small" | "default" | "large";
|
|
678
|
+
slots: import('./components/search/props').CustomSlot[];
|
|
677
679
|
span: number;
|
|
678
680
|
item: import('./components/search/props').SearchItem[];
|
|
679
|
-
slots: import('./components/search/props').CustomSlot[];
|
|
680
681
|
labelWidth: string | number;
|
|
681
682
|
inline: boolean;
|
|
682
683
|
disabled: boolean;
|
|
@@ -686,7 +687,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
686
687
|
resetBtnText: string;
|
|
687
688
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
688
689
|
$slots: Partial<Record<string, (_: {
|
|
689
|
-
searchModel: import('./components/search/props').SearchModel
|
|
690
|
+
searchModel: import('./components/search/props').SearchModel;
|
|
690
691
|
}) => any>>;
|
|
691
692
|
})) | ({
|
|
692
693
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -716,11 +717,11 @@ export declare const MsUIComponentsInstance: (({
|
|
|
716
717
|
};
|
|
717
718
|
paramsHandler: {
|
|
718
719
|
type: FunctionConstructor;
|
|
719
|
-
default:
|
|
720
|
+
default: any;
|
|
720
721
|
};
|
|
721
722
|
render: {
|
|
722
723
|
type: FunctionConstructor;
|
|
723
|
-
default:
|
|
724
|
+
default: any;
|
|
724
725
|
};
|
|
725
726
|
searchProps: {
|
|
726
727
|
type: ObjectConstructor;
|
|
@@ -749,22 +750,22 @@ export declare const MsUIComponentsInstance: (({
|
|
|
749
750
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
750
751
|
readonly [Symbol.species]: ArrayConstructor;
|
|
751
752
|
};
|
|
752
|
-
default: () =>
|
|
753
|
+
default: () => any[];
|
|
753
754
|
};
|
|
754
755
|
search: {
|
|
755
756
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
756
757
|
};
|
|
757
758
|
}>> & Readonly<{
|
|
758
|
-
onReset?: (
|
|
759
|
-
"onUpdate:search"?: (
|
|
759
|
+
onReset?: (...args: any[]) => any;
|
|
760
|
+
"onUpdate:search"?: (value: import('./components/search/props').SearchModel) => any;
|
|
760
761
|
}>, {
|
|
761
762
|
handleSearch: (reset?: boolean) => Promise<void>;
|
|
762
763
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
763
764
|
reset: (...args: any[]) => void;
|
|
764
765
|
"update:search": (value: import('./components/search/props').SearchModel) => void;
|
|
765
766
|
}, import('vue').PublicProps, {
|
|
766
|
-
url: string;
|
|
767
767
|
render: Function;
|
|
768
|
+
url: string;
|
|
768
769
|
methodType: import('./components/search-table/props').RequestMethodType;
|
|
769
770
|
responseDataField: string;
|
|
770
771
|
responseTotalField: string;
|
|
@@ -808,11 +809,11 @@ export declare const MsUIComponentsInstance: (({
|
|
|
808
809
|
};
|
|
809
810
|
paramsHandler: {
|
|
810
811
|
type: FunctionConstructor;
|
|
811
|
-
default:
|
|
812
|
+
default: any;
|
|
812
813
|
};
|
|
813
814
|
render: {
|
|
814
815
|
type: FunctionConstructor;
|
|
815
|
-
default:
|
|
816
|
+
default: any;
|
|
816
817
|
};
|
|
817
818
|
searchProps: {
|
|
818
819
|
type: ObjectConstructor;
|
|
@@ -841,19 +842,19 @@ export declare const MsUIComponentsInstance: (({
|
|
|
841
842
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
842
843
|
readonly [Symbol.species]: ArrayConstructor;
|
|
843
844
|
};
|
|
844
|
-
default: () =>
|
|
845
|
+
default: () => any[];
|
|
845
846
|
};
|
|
846
847
|
search: {
|
|
847
848
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
848
849
|
};
|
|
849
850
|
}>> & Readonly<{
|
|
850
|
-
onReset?: (
|
|
851
|
-
"onUpdate:search"?: (
|
|
851
|
+
onReset?: (...args: any[]) => any;
|
|
852
|
+
"onUpdate:search"?: (value: import('./components/search/props').SearchModel) => any;
|
|
852
853
|
}>, {
|
|
853
854
|
handleSearch: (reset?: boolean) => Promise<void>;
|
|
854
855
|
}, {}, {}, {}, {
|
|
855
|
-
url: string;
|
|
856
856
|
render: Function;
|
|
857
|
+
url: string;
|
|
857
858
|
methodType: import('./components/search-table/props').RequestMethodType;
|
|
858
859
|
responseDataField: string;
|
|
859
860
|
responseTotalField: string;
|
|
@@ -894,11 +895,11 @@ export declare const MsUIComponentsInstance: (({
|
|
|
894
895
|
};
|
|
895
896
|
paramsHandler: {
|
|
896
897
|
type: FunctionConstructor;
|
|
897
|
-
default:
|
|
898
|
+
default: any;
|
|
898
899
|
};
|
|
899
900
|
render: {
|
|
900
901
|
type: FunctionConstructor;
|
|
901
|
-
default:
|
|
902
|
+
default: any;
|
|
902
903
|
};
|
|
903
904
|
searchProps: {
|
|
904
905
|
type: ObjectConstructor;
|
|
@@ -927,22 +928,22 @@ export declare const MsUIComponentsInstance: (({
|
|
|
927
928
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
928
929
|
readonly [Symbol.species]: ArrayConstructor;
|
|
929
930
|
};
|
|
930
|
-
default: () =>
|
|
931
|
+
default: () => any[];
|
|
931
932
|
};
|
|
932
933
|
search: {
|
|
933
934
|
type: import('vue').PropType<import('./components/search/props').SearchModel>;
|
|
934
935
|
};
|
|
935
936
|
}>> & Readonly<{
|
|
936
|
-
onReset?: (
|
|
937
|
-
"onUpdate:search"?: (
|
|
937
|
+
onReset?: (...args: any[]) => any;
|
|
938
|
+
"onUpdate:search"?: (value: import('./components/search/props').SearchModel) => any;
|
|
938
939
|
}>, {
|
|
939
940
|
handleSearch: (reset?: boolean) => Promise<void>;
|
|
940
941
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
941
942
|
reset: (...args: any[]) => void;
|
|
942
943
|
"update:search": (value: import('./components/search/props').SearchModel) => void;
|
|
943
944
|
}, string, {
|
|
944
|
-
url: string;
|
|
945
945
|
render: Function;
|
|
946
|
+
url: string;
|
|
946
947
|
methodType: import('./components/search-table/props').RequestMethodType;
|
|
947
948
|
responseDataField: string;
|
|
948
949
|
responseTotalField: string;
|
|
@@ -997,7 +998,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
997
998
|
$slots: Partial<Record<string, (_: {}) => any>>;
|
|
998
999
|
})) | ({
|
|
999
1000
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./components/button/type').MlButtonSelfProps> & Readonly<{
|
|
1000
|
-
onClick?: (
|
|
1001
|
+
onClick?: (...args: any[]) => any;
|
|
1001
1002
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1002
1003
|
click: (...args: any[]) => void;
|
|
1003
1004
|
}, import('vue').PublicProps, {
|
|
@@ -1006,7 +1007,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1006
1007
|
tip: string;
|
|
1007
1008
|
tipProps: Record<string, any>;
|
|
1008
1009
|
isDebounce: boolean;
|
|
1009
|
-
},
|
|
1010
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1010
1011
|
P: {};
|
|
1011
1012
|
B: {};
|
|
1012
1013
|
D: {};
|
|
@@ -1014,7 +1015,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1014
1015
|
M: {};
|
|
1015
1016
|
Defaults: {};
|
|
1016
1017
|
}, Readonly<import('./components/button/type').MlButtonSelfProps> & Readonly<{
|
|
1017
|
-
onClick?: (
|
|
1018
|
+
onClick?: (...args: any[]) => any;
|
|
1018
1019
|
}>, {}, {}, {}, {}, {
|
|
1019
1020
|
time: number;
|
|
1020
1021
|
placement: string;
|
|
@@ -1026,7 +1027,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1026
1027
|
__isTeleport?: never;
|
|
1027
1028
|
__isSuspense?: never;
|
|
1028
1029
|
} & import('vue').ComponentOptionsBase<Readonly<import('./components/button/type').MlButtonSelfProps> & Readonly<{
|
|
1029
|
-
onClick?: (
|
|
1030
|
+
onClick?: (...args: any[]) => any;
|
|
1030
1031
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1031
1032
|
click: (...args: any[]) => void;
|
|
1032
1033
|
}, string, {
|
|
@@ -1044,7 +1045,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1044
1045
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1045
1046
|
modelValue?: import('./components/number-range-input/props').NumberRangeValue;
|
|
1046
1047
|
} & import('./components/number-range-input/props').NumberRangeInputProps> & Readonly<{
|
|
1047
|
-
"onUpdate:modelValue"?: (
|
|
1048
|
+
"onUpdate:modelValue"?: (value: import('./components/number-range-input/props').NumberRangeValue) => any;
|
|
1048
1049
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1049
1050
|
"update:modelValue": (value: import('./components/number-range-input/props').NumberRangeValue) => any;
|
|
1050
1051
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -1057,7 +1058,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1057
1058
|
}, Readonly<{
|
|
1058
1059
|
modelValue?: import('./components/number-range-input/props').NumberRangeValue;
|
|
1059
1060
|
} & import('./components/number-range-input/props').NumberRangeInputProps> & Readonly<{
|
|
1060
|
-
"onUpdate:modelValue"?: (
|
|
1061
|
+
"onUpdate:modelValue"?: (value: import('./components/number-range-input/props').NumberRangeValue) => any;
|
|
1061
1062
|
}>, {}, {}, {}, {}, {}>;
|
|
1062
1063
|
__isFragment?: never;
|
|
1063
1064
|
__isTeleport?: never;
|
|
@@ -1065,7 +1066,7 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1065
1066
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1066
1067
|
modelValue?: import('./components/number-range-input/props').NumberRangeValue;
|
|
1067
1068
|
} & import('./components/number-range-input/props').NumberRangeInputProps> & Readonly<{
|
|
1068
|
-
"onUpdate:modelValue"?: (
|
|
1069
|
+
"onUpdate:modelValue"?: (value: import('./components/number-range-input/props').NumberRangeValue) => any;
|
|
1069
1070
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1070
1071
|
"update:modelValue": (value: import('./components/number-range-input/props').NumberRangeValue) => any;
|
|
1071
1072
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1079,7 +1080,338 @@ export declare const MsUIComponentsInstance: (({
|
|
|
1079
1080
|
'max-prepend'?(_: {}): any;
|
|
1080
1081
|
'max-append'?(_: {}): any;
|
|
1081
1082
|
};
|
|
1082
|
-
}))
|
|
1083
|
+
})) | (<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1084
|
+
slots: {
|
|
1085
|
+
footer?(_: {}): any;
|
|
1086
|
+
};
|
|
1087
|
+
attrs: any;
|
|
1088
|
+
emit: ((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "cancel") => void);
|
|
1089
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1090
|
+
props: {
|
|
1091
|
+
readonly onInput?: (value: string) => any;
|
|
1092
|
+
readonly onConfirm?: (selectedData: T | T[]) => any;
|
|
1093
|
+
readonly onCancel?: () => any;
|
|
1094
|
+
treeData: T[];
|
|
1095
|
+
treeProps?: Record<string, any>;
|
|
1096
|
+
multiple?: boolean;
|
|
1097
|
+
defaultExpandAll?: boolean;
|
|
1098
|
+
defaultSelectedKeys?: any[];
|
|
1099
|
+
nodeKey?: string;
|
|
1100
|
+
showSearch?: boolean;
|
|
1101
|
+
expandOnClickNode?: boolean;
|
|
1102
|
+
placeholder?: string;
|
|
1103
|
+
} & import('vue').PublicProps;
|
|
1104
|
+
expose(exposed: import('vue').ShallowUnwrapRef<components.TreeSelectExpose>): void;
|
|
1105
|
+
attrs: any;
|
|
1106
|
+
slots: {
|
|
1107
|
+
footer?(_: {}): any;
|
|
1108
|
+
};
|
|
1109
|
+
emit: ((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "cancel") => void);
|
|
1110
|
+
}>) => import('vue').VNode & {
|
|
1111
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1112
|
+
}) | (<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1113
|
+
slots: {};
|
|
1114
|
+
attrs: any;
|
|
1115
|
+
emit: (((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "close") => void)) & ((evt: "update:modelValue", value: boolean) => void);
|
|
1116
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1117
|
+
props: {
|
|
1118
|
+
readonly onInput?: (value: string) => any;
|
|
1119
|
+
readonly "onUpdate:modelValue"?: (value: boolean) => any;
|
|
1120
|
+
readonly onClose?: () => any;
|
|
1121
|
+
readonly onConfirm?: (selectedData: T | T[]) => any;
|
|
1122
|
+
modelValue?: boolean;
|
|
1123
|
+
treeData: T[];
|
|
1124
|
+
treeProps?: Record<string, any>;
|
|
1125
|
+
multiple?: boolean;
|
|
1126
|
+
defaultExpandAll?: boolean;
|
|
1127
|
+
defaultSelectedKeys?: any[];
|
|
1128
|
+
nodeKey?: string;
|
|
1129
|
+
showSearch?: boolean;
|
|
1130
|
+
expandOnClickNode?: boolean;
|
|
1131
|
+
placeholder?: string;
|
|
1132
|
+
title?: string;
|
|
1133
|
+
width?: string;
|
|
1134
|
+
readonly overflow?: boolean;
|
|
1135
|
+
readonly center?: boolean;
|
|
1136
|
+
readonly appendTo?: string | HTMLElement;
|
|
1137
|
+
readonly showClose?: boolean;
|
|
1138
|
+
readonly draggable?: boolean;
|
|
1139
|
+
readonly appendToBody?: boolean;
|
|
1140
|
+
readonly destroyOnClose?: boolean;
|
|
1141
|
+
readonly closeOnClickModal?: boolean;
|
|
1142
|
+
readonly closeOnPressEscape?: boolean;
|
|
1143
|
+
readonly lockScroll?: boolean;
|
|
1144
|
+
readonly modal?: boolean;
|
|
1145
|
+
readonly openDelay?: number;
|
|
1146
|
+
readonly closeDelay?: number;
|
|
1147
|
+
readonly trapFocus?: boolean;
|
|
1148
|
+
readonly headerAriaLevel?: string;
|
|
1149
|
+
readonly alignCenter?: boolean;
|
|
1150
|
+
readonly fullscreen?: boolean;
|
|
1151
|
+
readonly ariaLevel?: string;
|
|
1152
|
+
readonly top?: string;
|
|
1153
|
+
readonly zIndex?: number;
|
|
1154
|
+
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn;
|
|
1155
|
+
readonly modalClass?: string;
|
|
1156
|
+
readonly headerClass?: string;
|
|
1157
|
+
readonly bodyClass?: string;
|
|
1158
|
+
readonly footerClass?: string;
|
|
1159
|
+
readonly closeIcon?: unknown;
|
|
1160
|
+
} & import('vue').PublicProps;
|
|
1161
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1162
|
+
input: (value: string) => void;
|
|
1163
|
+
}>): void;
|
|
1164
|
+
attrs: any;
|
|
1165
|
+
slots: {};
|
|
1166
|
+
emit: (((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "close") => void)) & ((evt: "update:modelValue", value: boolean) => void);
|
|
1167
|
+
}>) => import('vue').VNode & {
|
|
1168
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1169
|
+
}) | (<T = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
1170
|
+
slots: {};
|
|
1171
|
+
attrs: any;
|
|
1172
|
+
emit: (((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "close") => void)) & ((evt: "update:modelValue", value: boolean) => void);
|
|
1173
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1174
|
+
props: {
|
|
1175
|
+
readonly onInput?: (value: string) => any;
|
|
1176
|
+
readonly "onUpdate:modelValue"?: (value: boolean) => any;
|
|
1177
|
+
readonly onClose?: () => any;
|
|
1178
|
+
readonly onConfirm?: (selectedData: T | T[]) => any;
|
|
1179
|
+
modelValue?: boolean;
|
|
1180
|
+
treeData: T[];
|
|
1181
|
+
treeProps?: Record<string, any>;
|
|
1182
|
+
multiple?: boolean;
|
|
1183
|
+
defaultExpandAll?: boolean;
|
|
1184
|
+
defaultSelectedKeys?: any[];
|
|
1185
|
+
nodeKey?: string;
|
|
1186
|
+
showSearch?: boolean;
|
|
1187
|
+
expandOnClickNode?: boolean;
|
|
1188
|
+
placeholder?: string;
|
|
1189
|
+
title?: string;
|
|
1190
|
+
size?: string | number;
|
|
1191
|
+
direction?: "rtl" | "ltr" | "ttb" | "btt";
|
|
1192
|
+
readonly overflow?: boolean;
|
|
1193
|
+
readonly center?: boolean;
|
|
1194
|
+
readonly appendTo?: string | HTMLElement;
|
|
1195
|
+
readonly showClose?: boolean;
|
|
1196
|
+
readonly draggable?: boolean;
|
|
1197
|
+
readonly appendToBody?: boolean;
|
|
1198
|
+
readonly destroyOnClose?: boolean;
|
|
1199
|
+
readonly closeOnClickModal?: boolean;
|
|
1200
|
+
readonly closeOnPressEscape?: boolean;
|
|
1201
|
+
readonly lockScroll?: boolean;
|
|
1202
|
+
readonly modal?: boolean;
|
|
1203
|
+
readonly openDelay?: number;
|
|
1204
|
+
readonly closeDelay?: number;
|
|
1205
|
+
readonly trapFocus?: boolean;
|
|
1206
|
+
readonly headerAriaLevel?: string;
|
|
1207
|
+
readonly alignCenter?: boolean;
|
|
1208
|
+
readonly fullscreen?: boolean;
|
|
1209
|
+
readonly ariaLevel?: string;
|
|
1210
|
+
readonly withHeader?: boolean;
|
|
1211
|
+
readonly modalFade?: boolean;
|
|
1212
|
+
readonly top?: string;
|
|
1213
|
+
readonly width?: string | number;
|
|
1214
|
+
readonly zIndex?: number;
|
|
1215
|
+
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn;
|
|
1216
|
+
readonly modalClass?: string;
|
|
1217
|
+
readonly headerClass?: string;
|
|
1218
|
+
readonly bodyClass?: string;
|
|
1219
|
+
readonly footerClass?: string;
|
|
1220
|
+
readonly closeIcon?: unknown;
|
|
1221
|
+
} & import('vue').PublicProps;
|
|
1222
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
1223
|
+
input: (value: string) => void;
|
|
1224
|
+
}>): void;
|
|
1225
|
+
attrs: any;
|
|
1226
|
+
slots: {};
|
|
1227
|
+
emit: (((evt: "input", value: string) => void) & ((evt: "confirm", selectedData: T | T[]) => void) & ((evt: "close") => void)) & ((evt: "update:modelValue", value: boolean) => void);
|
|
1228
|
+
}>) => import('vue').VNode & {
|
|
1229
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1230
|
+
}) | {
|
|
1231
|
+
modelValue: {
|
|
1232
|
+
type: import('vue').PropType<components.PreviewItem[]>;
|
|
1233
|
+
default: () => any[];
|
|
1234
|
+
};
|
|
1235
|
+
acceptType: {
|
|
1236
|
+
type: StringConstructor;
|
|
1237
|
+
default: string;
|
|
1238
|
+
};
|
|
1239
|
+
sizeLimit: {
|
|
1240
|
+
type: import('vue').PropType<components.SizeLimit>;
|
|
1241
|
+
default: () => {
|
|
1242
|
+
width: number;
|
|
1243
|
+
height: number;
|
|
1244
|
+
size: number;
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
maxCount: {
|
|
1248
|
+
type: NumberConstructor;
|
|
1249
|
+
default: number;
|
|
1250
|
+
};
|
|
1251
|
+
allowCrop: {
|
|
1252
|
+
type: BooleanConstructor;
|
|
1253
|
+
default: boolean;
|
|
1254
|
+
};
|
|
1255
|
+
allowCover: {
|
|
1256
|
+
type: BooleanConstructor;
|
|
1257
|
+
default: boolean;
|
|
1258
|
+
};
|
|
1259
|
+
allowSort: {
|
|
1260
|
+
type: BooleanConstructor;
|
|
1261
|
+
default: boolean;
|
|
1262
|
+
};
|
|
1263
|
+
uploadApi: {
|
|
1264
|
+
type: import('vue').PropType<components.UploadApiConfig>;
|
|
1265
|
+
default: any;
|
|
1266
|
+
};
|
|
1267
|
+
autoUpload: {
|
|
1268
|
+
type: BooleanConstructor;
|
|
1269
|
+
default: boolean;
|
|
1270
|
+
};
|
|
1271
|
+
} | import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1272
|
+
modelValue: {
|
|
1273
|
+
type: import('vue').PropType<components.PreviewItem[]>;
|
|
1274
|
+
default: () => any[];
|
|
1275
|
+
};
|
|
1276
|
+
acceptType: {
|
|
1277
|
+
type: StringConstructor;
|
|
1278
|
+
default: string;
|
|
1279
|
+
};
|
|
1280
|
+
sizeLimit: {
|
|
1281
|
+
type: import('vue').PropType<components.SizeLimit>;
|
|
1282
|
+
default: () => {
|
|
1283
|
+
width: number;
|
|
1284
|
+
height: number;
|
|
1285
|
+
size: number;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
maxCount: {
|
|
1289
|
+
type: NumberConstructor;
|
|
1290
|
+
default: number;
|
|
1291
|
+
};
|
|
1292
|
+
allowCrop: {
|
|
1293
|
+
type: BooleanConstructor;
|
|
1294
|
+
default: boolean;
|
|
1295
|
+
};
|
|
1296
|
+
allowCover: {
|
|
1297
|
+
type: BooleanConstructor;
|
|
1298
|
+
default: boolean;
|
|
1299
|
+
};
|
|
1300
|
+
allowSort: {
|
|
1301
|
+
type: BooleanConstructor;
|
|
1302
|
+
default: boolean;
|
|
1303
|
+
};
|
|
1304
|
+
uploadApi: {
|
|
1305
|
+
type: import('vue').PropType<components.UploadApiConfig>;
|
|
1306
|
+
default: any;
|
|
1307
|
+
};
|
|
1308
|
+
autoUpload: {
|
|
1309
|
+
type: BooleanConstructor;
|
|
1310
|
+
default: boolean;
|
|
1311
|
+
};
|
|
1312
|
+
}>, {
|
|
1313
|
+
uploadToServer: (uploadApi: (file: File) => Promise<string>) => Promise<{
|
|
1314
|
+
isCover?: boolean;
|
|
1315
|
+
rawFile?: {
|
|
1316
|
+
readonly lastModified: number;
|
|
1317
|
+
readonly name: string;
|
|
1318
|
+
readonly webkitRelativePath: string;
|
|
1319
|
+
readonly size: number;
|
|
1320
|
+
readonly type: string;
|
|
1321
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
1322
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
1323
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
1324
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
1325
|
+
text: () => Promise<string>;
|
|
1326
|
+
};
|
|
1327
|
+
blobUrl?: string;
|
|
1328
|
+
serverUrl?: string;
|
|
1329
|
+
name: string;
|
|
1330
|
+
percentage?: number;
|
|
1331
|
+
status: import('element-plus').UploadStatus;
|
|
1332
|
+
size?: number;
|
|
1333
|
+
response?: unknown;
|
|
1334
|
+
uid: number;
|
|
1335
|
+
url?: string;
|
|
1336
|
+
raw?: {
|
|
1337
|
+
uid: number;
|
|
1338
|
+
isDirectory?: boolean;
|
|
1339
|
+
readonly lastModified: number;
|
|
1340
|
+
readonly name: string;
|
|
1341
|
+
readonly webkitRelativePath: string;
|
|
1342
|
+
readonly size: number;
|
|
1343
|
+
readonly type: string;
|
|
1344
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
1345
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
1346
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
1347
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
1348
|
+
text: () => Promise<string>;
|
|
1349
|
+
};
|
|
1350
|
+
}[]>;
|
|
1351
|
+
clear: () => void;
|
|
1352
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1353
|
+
"update:modelValue": (value: components.PreviewItem[]) => any;
|
|
1354
|
+
change: (value: components.PreviewItem[]) => any;
|
|
1355
|
+
upload: (value: components.PreviewItem[]) => any;
|
|
1356
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1357
|
+
modelValue: {
|
|
1358
|
+
type: import('vue').PropType<components.PreviewItem[]>;
|
|
1359
|
+
default: () => any[];
|
|
1360
|
+
};
|
|
1361
|
+
acceptType: {
|
|
1362
|
+
type: StringConstructor;
|
|
1363
|
+
default: string;
|
|
1364
|
+
};
|
|
1365
|
+
sizeLimit: {
|
|
1366
|
+
type: import('vue').PropType<components.SizeLimit>;
|
|
1367
|
+
default: () => {
|
|
1368
|
+
width: number;
|
|
1369
|
+
height: number;
|
|
1370
|
+
size: number;
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
maxCount: {
|
|
1374
|
+
type: NumberConstructor;
|
|
1375
|
+
default: number;
|
|
1376
|
+
};
|
|
1377
|
+
allowCrop: {
|
|
1378
|
+
type: BooleanConstructor;
|
|
1379
|
+
default: boolean;
|
|
1380
|
+
};
|
|
1381
|
+
allowCover: {
|
|
1382
|
+
type: BooleanConstructor;
|
|
1383
|
+
default: boolean;
|
|
1384
|
+
};
|
|
1385
|
+
allowSort: {
|
|
1386
|
+
type: BooleanConstructor;
|
|
1387
|
+
default: boolean;
|
|
1388
|
+
};
|
|
1389
|
+
uploadApi: {
|
|
1390
|
+
type: import('vue').PropType<components.UploadApiConfig>;
|
|
1391
|
+
default: any;
|
|
1392
|
+
};
|
|
1393
|
+
autoUpload: {
|
|
1394
|
+
type: BooleanConstructor;
|
|
1395
|
+
default: boolean;
|
|
1396
|
+
};
|
|
1397
|
+
}>> & Readonly<{
|
|
1398
|
+
"onUpdate:modelValue"?: (value: components.PreviewItem[]) => any;
|
|
1399
|
+
onChange?: (value: components.PreviewItem[]) => any;
|
|
1400
|
+
onUpload?: (value: components.PreviewItem[]) => any;
|
|
1401
|
+
}>, {
|
|
1402
|
+
modelValue: components.PreviewItem[];
|
|
1403
|
+
acceptType: string;
|
|
1404
|
+
sizeLimit: components.SizeLimit;
|
|
1405
|
+
maxCount: number;
|
|
1406
|
+
allowCrop: boolean;
|
|
1407
|
+
allowCover: boolean;
|
|
1408
|
+
allowSort: boolean;
|
|
1409
|
+
uploadApi: components.UploadApiConfig;
|
|
1410
|
+
autoUpload: boolean;
|
|
1411
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1412
|
+
uploadRef: unknown;
|
|
1413
|
+
cropperRef: any;
|
|
1414
|
+
}, HTMLDivElement>)[];
|
|
1083
1415
|
export declare const MsUIComponentsName: string[];
|
|
1084
1416
|
declare const _default: {
|
|
1085
1417
|
install: (app: App) => void;
|