ninemoon-ui 0.0.25 → 0.0.27
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/badge.css +2 -2
- package/dist/checkgroup.css +3 -3
- package/dist/components/alert/alertcomponent.vue.d.ts +4 -4
- package/dist/components/badge/badge.vue.d.ts +38 -31
- package/dist/components/carousel/carousel.vue.d.ts +22 -9
- package/dist/components/carousel/carouselitem.vue.d.ts +4 -2
- package/dist/components/check/checkbox.vue.d.ts +27 -18
- package/dist/components/check/checkgroup.vue.d.ts +33 -21
- package/dist/components/date/datepicker.vue.d.ts +26 -18
- package/dist/components/date/datepickerRange.vue.d.ts +24 -12
- package/dist/components/dialog/dialog.vue.d.ts +56 -67
- package/dist/components/form/form.vue.d.ts +36 -29
- package/dist/components/form/formlabel.vue.d.ts +40 -35
- package/dist/components/image/image.vue.d.ts +39 -29
- package/dist/components/input/input.vue.d.ts +51 -47
- package/dist/components/loadding/loadcomponent.vue.d.ts +4 -4
- package/dist/components/loadding/loadding.d.ts +2 -1
- package/dist/components/menu/menu.vue.d.ts +25 -12
- package/dist/components/message/message.d.ts +2 -1
- package/dist/components/message/messagecomponent.vue.d.ts +4 -3
- package/dist/components/numberInput/numberinput.vue.d.ts +50 -58
- package/dist/components/pagination/pagination.vue.d.ts +35 -27
- package/dist/components/popover/popover.vue.d.ts +55 -64
- package/dist/components/radio/radiobox.vue.d.ts +27 -18
- package/dist/components/radio/radiogroup.vue.d.ts +33 -21
- package/dist/components/scrollBar/movebar.vue.d.ts +33 -36
- package/dist/components/scrollBar/scrollBar.vue.d.ts +43 -38
- package/dist/components/select/select.vue.d.ts +41 -37
- package/dist/components/select/selectoption.vue.d.ts +27 -18
- package/dist/components/switch/switch.vue.d.ts +43 -43
- package/dist/components/table/table.vue.d.ts +49 -53
- package/dist/components/table/tableItem.vue.d.ts +43 -56
- package/dist/components/tabs/tabs.vue.d.ts +32 -19
- package/dist/components/tabs/tabsPane.vue.d.ts +25 -12
- package/dist/components/tree/tree.vue.d.ts +38 -43
- package/dist/components/upload/upload.vue.d.ts +53 -53
- package/dist/components/utils/tool.d.ts +1 -1
- package/dist/index.css +38 -58
- package/dist/index.d.ts +929 -2045
- package/dist/index.umd.js +652 -724
- package/dist/js/carousel/carousel.js +20 -24
- package/dist/js/check/checkgroup.js +2 -1
- package/dist/js/date/datepicker.js +90 -97
- package/dist/js/date/datepickerRange.js +108 -116
- package/dist/js/dialog/dialog.js +24 -26
- package/dist/js/form/form.js +3 -1
- package/dist/js/image/image.js +64 -73
- package/dist/js/index/index.js +78 -91
- package/dist/js/input/input.js +5 -6
- package/dist/js/menu/menu.js +2 -1
- package/dist/js/numberInput/numberinput.js +23 -26
- package/dist/js/pagination/pagination.js +71 -82
- package/dist/js/popover/popover.js +3 -3
- package/dist/js/radio/radiogroup.js +2 -1
- package/dist/js/select/select.js +3 -2
- package/dist/js/switch/switch.js +2 -1
- package/dist/js/table/table.js +2 -1
- package/dist/js/tabs/tabs.js +2 -1
- package/dist/js/tree/tree.js +1 -1
- package/dist/js/tree/treeleaf.js +5 -7
- package/dist/js/upload/upload.js +21 -22
- package/dist/radiogroup.css +3 -3
- package/dist/select.css +3 -3
- package/dist/tabs.css +10 -10
- package/package.json +1 -1
|
@@ -1,61 +1,57 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
data: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
showHead:
|
|
13
|
-
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
headclass: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
cellclass: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
};
|
|
22
|
-
tableclass: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
data: Array<{
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}>;
|
|
5
|
+
whiteword?: string;
|
|
6
|
+
showHead?: boolean;
|
|
7
|
+
headclass?: string;
|
|
8
|
+
cellclass?: string;
|
|
9
|
+
tableclass?: string;
|
|
10
|
+
}>, {
|
|
11
|
+
whiteword: string;
|
|
12
|
+
showHead: boolean;
|
|
13
|
+
}>>, {
|
|
26
14
|
clearSelection: () => void;
|
|
27
15
|
allSelection: () => void;
|
|
28
16
|
toggleAllSelection: () => void;
|
|
29
|
-
toggleSelection: (arr: number
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
whiteword
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
cellclass: {
|
|
49
|
-
type: import("vue").PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
tableclass: {
|
|
52
|
-
type: import("vue").PropType<string>;
|
|
53
|
-
};
|
|
54
|
-
}>> & {
|
|
17
|
+
toggleSelection: (arr: Array<number>) => void;
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
rowClick: (...args: any[]) => void;
|
|
20
|
+
selectionChange: (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
data: Array<{
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>;
|
|
25
|
+
whiteword?: string;
|
|
26
|
+
showHead?: boolean;
|
|
27
|
+
headclass?: string;
|
|
28
|
+
cellclass?: string;
|
|
29
|
+
tableclass?: string;
|
|
30
|
+
}>, {
|
|
31
|
+
whiteword: string;
|
|
32
|
+
showHead: boolean;
|
|
33
|
+
}>>> & Readonly<{
|
|
55
34
|
onRowClick?: ((...args: any[]) => any) | undefined;
|
|
56
35
|
onSelectionChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}
|
|
36
|
+
}>, {
|
|
58
37
|
whiteword: string;
|
|
59
38
|
showHead: boolean;
|
|
60
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
40
|
export default _default;
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
|
51
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
+
default: D[K];
|
|
53
|
+
}> : P[K];
|
|
54
|
+
};
|
|
55
|
+
type __VLS_Prettify<T> = {
|
|
56
|
+
[K in keyof T]: T[K];
|
|
57
|
+
} & {};
|
|
@@ -1,64 +1,51 @@
|
|
|
1
|
-
declare
|
|
2
|
-
type: {
|
|
3
|
-
type: import("vue").PropType<"index" | "selection" | "expand">;
|
|
4
|
-
};
|
|
5
|
-
index: {
|
|
6
|
-
type: import("vue").PropType<number>;
|
|
7
|
-
};
|
|
8
|
-
label: {
|
|
9
|
-
type: import("vue").PropType<string | number>;
|
|
10
|
-
};
|
|
11
|
-
fixed: {
|
|
12
|
-
type: import("vue").PropType<"right" | "left">;
|
|
13
|
-
};
|
|
14
|
-
width: {
|
|
15
|
-
type: import("vue").PropType<string | number>;
|
|
16
|
-
};
|
|
17
|
-
prop: {
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
sortable: {
|
|
21
|
-
type: import("vue").PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
row: {
|
|
24
|
-
type: import("vue").PropType<{
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
-
type: {
|
|
30
|
-
type: import("vue").PropType<"index" | "selection" | "expand">;
|
|
31
|
-
};
|
|
32
|
-
index: {
|
|
33
|
-
type: import("vue").PropType<number>;
|
|
34
|
-
};
|
|
35
|
-
label: {
|
|
36
|
-
type: import("vue").PropType<string | number>;
|
|
37
|
-
};
|
|
38
|
-
fixed: {
|
|
39
|
-
type: import("vue").PropType<"right" | "left">;
|
|
40
|
-
};
|
|
41
|
-
width: {
|
|
42
|
-
type: import("vue").PropType<string | number>;
|
|
43
|
-
};
|
|
44
|
-
prop: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
};
|
|
47
|
-
sortable: {
|
|
48
|
-
type: import("vue").PropType<boolean>;
|
|
49
|
-
};
|
|
50
|
-
row: {
|
|
51
|
-
type: import("vue").PropType<{
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}>;
|
|
54
|
-
};
|
|
55
|
-
}>>, {}, {}>, {
|
|
1
|
+
declare function __VLS_template(): {
|
|
56
2
|
default?(_: {
|
|
57
3
|
row: any;
|
|
58
4
|
index: number;
|
|
59
5
|
}): any;
|
|
60
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
prop?: string;
|
|
9
|
+
width?: string | number;
|
|
10
|
+
label?: string | number;
|
|
11
|
+
fixed?: "left" | "right";
|
|
12
|
+
type?: "selection" | "index" | "expand";
|
|
13
|
+
sortable?: boolean;
|
|
14
|
+
row?: {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
index?: number;
|
|
18
|
+
}>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
prop?: string;
|
|
20
|
+
width?: string | number;
|
|
21
|
+
label?: string | number;
|
|
22
|
+
fixed?: "left" | "right";
|
|
23
|
+
type?: "selection" | "index" | "expand";
|
|
24
|
+
sortable?: boolean;
|
|
25
|
+
row?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
index?: number;
|
|
29
|
+
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
61
31
|
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
62
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
50
|
new (): {
|
|
64
51
|
$slots: S;
|
|
@@ -1,22 +1,35 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
active: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
}>> & {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
active?: string;
|
|
3
|
+
type?: "line" | "card";
|
|
4
|
+
}>, {
|
|
5
|
+
type: string;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:active": (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
active?: string;
|
|
10
|
+
type?: "line" | "card";
|
|
11
|
+
}>, {
|
|
12
|
+
type: string;
|
|
13
|
+
}>>> & Readonly<{
|
|
18
14
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}
|
|
15
|
+
}>, {
|
|
20
16
|
type: "line" | "card";
|
|
21
|
-
}, {}>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
18
|
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
declare
|
|
2
|
-
name: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
name: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>>, {}, {}>, {
|
|
1
|
+
declare function __VLS_template(): {
|
|
12
2
|
default?(_: {}): any;
|
|
13
|
-
}
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
name: string;
|
|
6
|
+
}>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
name: string;
|
|
8
|
+
}>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Prettify<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
15
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
29
|
new (): {
|
|
17
30
|
$slots: S;
|
|
@@ -1,47 +1,42 @@
|
|
|
1
|
-
declare const _default: import(
|
|
2
|
-
data:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
nodeKey: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
defaultExpandAll: {
|
|
15
|
-
type: import("vue").PropType<boolean>;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
defaultCheckedKeys: {
|
|
19
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
20
|
-
};
|
|
21
|
-
}, {
|
|
22
|
-
getCheckedKeys: (leafOnly?: boolean) => any[];
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
data: {
|
|
25
|
-
type: import("vue").PropType<any[]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
lazy: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
nodeKey: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
defaultExpandAll: {
|
|
37
|
-
type: import("vue").PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
defaultCheckedKeys: {
|
|
41
|
-
type: import("vue").PropType<(string | number)[]>;
|
|
42
|
-
};
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
data: Array<any>;
|
|
3
|
+
defaultExpandAll?: boolean;
|
|
4
|
+
lazy?: boolean;
|
|
5
|
+
defaultCheckedKeys?: Array<string | number>;
|
|
6
|
+
nodeKey: string;
|
|
7
|
+
}>, {
|
|
8
|
+
defaultExpandAll: boolean;
|
|
9
|
+
lazy: boolean;
|
|
43
10
|
}>>, {
|
|
11
|
+
getCheckedKeys: (leafOnly?: boolean) => any[];
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
data: Array<any>;
|
|
14
|
+
defaultExpandAll?: boolean;
|
|
15
|
+
lazy?: boolean;
|
|
16
|
+
defaultCheckedKeys?: Array<string | number>;
|
|
17
|
+
nodeKey: string;
|
|
18
|
+
}>, {
|
|
19
|
+
defaultExpandAll: boolean;
|
|
20
|
+
lazy: boolean;
|
|
21
|
+
}>>> & Readonly<{}>, {
|
|
44
22
|
lazy: boolean;
|
|
45
23
|
defaultExpandAll: boolean;
|
|
46
|
-
}, {}>;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
47
25
|
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
multiple
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fileList: {
|
|
18
|
-
type: import("vue").PropType<string[]>;
|
|
19
|
-
};
|
|
20
|
-
showFileList: {
|
|
21
|
-
type: import("vue").PropType<boolean>;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
type?: string;
|
|
6
|
+
limit?: number;
|
|
7
|
+
accept?: string;
|
|
8
|
+
fileList?: Array<string>;
|
|
9
|
+
showFileList?: boolean;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
}>, {
|
|
12
|
+
type: string;
|
|
13
|
+
accept: string;
|
|
14
|
+
showFileList: boolean;
|
|
15
|
+
multiple: boolean;
|
|
16
|
+
}>>, {
|
|
25
17
|
clearFiles: () => void;
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
multiple
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
fileList: {
|
|
43
|
-
type: import("vue").PropType<string[]>;
|
|
44
|
-
};
|
|
45
|
-
showFileList: {
|
|
46
|
-
type: import("vue").PropType<boolean>;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
}>> & {
|
|
18
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
getNewFile: (...args: any[]) => void;
|
|
20
|
+
delOldFile: (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
type?: string;
|
|
23
|
+
limit?: number;
|
|
24
|
+
accept?: string;
|
|
25
|
+
fileList?: Array<string>;
|
|
26
|
+
showFileList?: boolean;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
}>, {
|
|
29
|
+
type: string;
|
|
30
|
+
accept: string;
|
|
31
|
+
showFileList: boolean;
|
|
32
|
+
multiple: boolean;
|
|
33
|
+
}>>> & Readonly<{
|
|
50
34
|
onGetNewFile?: ((...args: any[]) => any) | undefined;
|
|
51
35
|
onDelOldFile?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}
|
|
36
|
+
}>, {
|
|
53
37
|
type: string;
|
|
54
38
|
accept: string;
|
|
55
|
-
multiple: boolean;
|
|
56
39
|
showFileList: boolean;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
40
|
+
multiple: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
60
43
|
export default _default;
|
|
44
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
+
} : {
|
|
49
|
+
type: import('vue').PropType<T[K]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
type __VLS_WithDefaults<P, D> = {
|
|
54
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
+
default: D[K];
|
|
56
|
+
}> : P[K];
|
|
57
|
+
};
|
|
58
|
+
type __VLS_Prettify<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
61
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
62
|
new (): {
|
|
63
63
|
$slots: S;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function debounce(func: Function, wait: number): () => void;
|
|
2
2
|
export declare function throttle(func: Function, wait: number): () => void;
|
|
3
3
|
export declare const usePotion: (baseDom: HTMLElement, aimDom: HTMLElement, set?: {
|
|
4
|
-
position:
|
|
4
|
+
position: "topleft" | "topmiddle" | "topright" | "bottomleft" | "bottommiddle" | "bottomright" | "centerleft" | "centerright";
|
|
5
5
|
divide?: number;
|
|
6
6
|
}) => {
|
|
7
7
|
Top: number;
|