vue-next-yui 1.1.13 → 1.1.14
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/components/dialog/index.d.ts +7 -62
- package/dist/components/dialog/index.d.ts.map +1 -1
- package/dist/components/loading/index.d.ts +2 -2
- package/dist/components/mask/index.d.ts +2 -2
- package/dist/components/segmented/index.d.ts +2 -2
- package/dist/components/segmented/index.d.ts.map +1 -1
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/tooltip/constants.d.ts +3 -0
- package/dist/components/tooltip/constants.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/props.d.ts +113 -0
- package/dist/components/tooltip/props.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +52 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltipContent.d.ts +51 -0
- package/dist/components/tooltip/tooltipContent.d.ts.map +1 -0
- package/dist/components/tooltip/trigger.d.ts +27 -0
- package/dist/components/tooltip/trigger.d.ts.map +1 -0
- package/dist/components/tooltip/useContent.d.ts +13 -0
- package/dist/components/tooltip/useContent.d.ts.map +1 -0
- package/dist/components/tooltip/useTooltip.d.ts +7 -0
- package/dist/components/tooltip/useTooltip.d.ts.map +1 -0
- package/dist/components/watermark/index.d.ts +2 -2
- package/dist/hooks/useResize.d.ts +9 -0
- package/dist/hooks/useResize.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1096 -1103
- package/dist/index.umd.cjs +3 -3
- package/dist/props/form.d.ts +40 -0
- package/dist/props/form.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/validate.d.ts +3 -0
- package/dist/utils/validate.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,62 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export default
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
$emit: (event: "close" | "cancel" | "confirm" | "opened" | "closed", ...args: any[]) => void;
|
|
9
|
-
color: string;
|
|
10
|
-
title: string;
|
|
11
|
-
mask: boolean;
|
|
12
|
-
width: string;
|
|
13
|
-
content: string;
|
|
14
|
-
maskClose: boolean;
|
|
15
|
-
zIndex: number;
|
|
16
|
-
closable: boolean;
|
|
17
|
-
lockScroll: boolean;
|
|
18
|
-
titleStyle: Record<string, any>;
|
|
19
|
-
contentStyle: Record<string, any>;
|
|
20
|
-
showCancel: boolean;
|
|
21
|
-
showConfirm: boolean;
|
|
22
|
-
cancelText: string;
|
|
23
|
-
confirmText: string;
|
|
24
|
-
fullscreen: boolean;
|
|
25
|
-
half: boolean;
|
|
26
|
-
confirmClose: boolean;
|
|
27
|
-
escClose: boolean;
|
|
28
|
-
attach: string | HTMLElement;
|
|
29
|
-
$props: {
|
|
30
|
-
readonly color?: string;
|
|
31
|
-
readonly title?: string;
|
|
32
|
-
readonly mask?: boolean;
|
|
33
|
-
readonly width?: string;
|
|
34
|
-
readonly content?: string;
|
|
35
|
-
readonly maskClose?: boolean;
|
|
36
|
-
readonly zIndex?: number;
|
|
37
|
-
readonly closable?: boolean;
|
|
38
|
-
readonly lockScroll?: boolean;
|
|
39
|
-
readonly titleStyle?: Record<string, any>;
|
|
40
|
-
readonly contentStyle?: Record<string, any>;
|
|
41
|
-
readonly showCancel?: boolean;
|
|
42
|
-
readonly showConfirm?: boolean;
|
|
43
|
-
readonly cancelText?: string;
|
|
44
|
-
readonly confirmText?: string;
|
|
45
|
-
readonly fullscreen?: boolean;
|
|
46
|
-
readonly half?: boolean;
|
|
47
|
-
readonly confirmClose?: boolean;
|
|
48
|
-
readonly escClose?: boolean;
|
|
49
|
-
readonly attach?: string | HTMLElement;
|
|
50
|
-
};
|
|
51
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
type __VLS_TemplateResult = {
|
|
53
|
-
attrs: Partial<{}>;
|
|
54
|
-
slots: {
|
|
55
|
-
header?(_: {}): any;
|
|
56
|
-
default?(_: {}): any;
|
|
57
|
-
footer?(_: {}): any;
|
|
58
|
-
};
|
|
59
|
-
refs: {};
|
|
60
|
-
rootEl: any;
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=index.vue.d.ts.map
|
|
1
|
+
export function useMessage(): (params: any) => Promise<any>;
|
|
2
|
+
export default MessagePlugin;
|
|
3
|
+
export function Message(params: any): Promise<any>;
|
|
4
|
+
export namespace MessagePlugin {
|
|
5
|
+
function install(app: any): void;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.js"],"names":[],"mappings":"AAyFA,4DAEC;;AAXD,mDAAwC;;IAGtC,iCAGC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.js"],"names":[],"mappings":"AAyFA,4DAEC;;AAXD,mDAAwC;;IAGtC,iCAGC"}
|
|
@@ -4,14 +4,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
4
4
|
color: string;
|
|
5
5
|
text: string;
|
|
6
6
|
bgColor: string;
|
|
7
|
-
zIndex: number;
|
|
8
7
|
fullscreen: boolean;
|
|
8
|
+
zIndex: number;
|
|
9
9
|
$props: {
|
|
10
10
|
readonly color?: string;
|
|
11
11
|
readonly text?: string;
|
|
12
12
|
readonly bgColor?: string;
|
|
13
|
-
readonly zIndex?: number;
|
|
14
13
|
readonly fullscreen?: boolean;
|
|
14
|
+
readonly zIndex?: number;
|
|
15
15
|
};
|
|
16
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
17
|
export default _default;
|
|
@@ -3,14 +3,14 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
3
3
|
hide: () => void;
|
|
4
4
|
$emit: (event: "close", ...args: any[]) => void;
|
|
5
5
|
color: string;
|
|
6
|
-
zIndex: number;
|
|
7
6
|
closable: boolean;
|
|
8
7
|
lockScroll: boolean;
|
|
8
|
+
zIndex: number;
|
|
9
9
|
$props: {
|
|
10
10
|
readonly color?: string;
|
|
11
|
-
readonly zIndex?: number;
|
|
12
11
|
readonly closable?: boolean;
|
|
13
12
|
readonly lockScroll?: boolean;
|
|
13
|
+
readonly zIndex?: number;
|
|
14
14
|
};
|
|
15
15
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
24
24
|
readonly activeColor?: string;
|
|
25
25
|
};
|
|
26
26
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
27
|
-
|
|
27
|
+
segmentedControlRef: HTMLDivElement;
|
|
28
28
|
sliderItemRef: HTMLDivElement[];
|
|
29
29
|
}, HTMLDivElement>;
|
|
30
30
|
type __VLS_TemplateResult = {
|
|
@@ -39,7 +39,7 @@ type __VLS_TemplateResult = {
|
|
|
39
39
|
}): any;
|
|
40
40
|
};
|
|
41
41
|
refs: {
|
|
42
|
-
|
|
42
|
+
segmentedControlRef: HTMLDivElement;
|
|
43
43
|
sliderItemRef: HTMLDivElement[];
|
|
44
44
|
};
|
|
45
45
|
rootEl: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/segmented/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/segmented/index.vue"],"names":[],"mappings":"wBAiTqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAbjC;;;;;;;;;;;;;;;;;;;;;;;mBAUG"}
|
|
@@ -5,8 +5,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
5
5
|
title: string;
|
|
6
6
|
mask: boolean;
|
|
7
7
|
bgColor: string;
|
|
8
|
-
duration: number;
|
|
9
8
|
closable: boolean;
|
|
9
|
+
duration: number;
|
|
10
10
|
icon: boolean;
|
|
11
11
|
alignCenter: boolean;
|
|
12
12
|
$props: {
|
|
@@ -15,8 +15,8 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
15
15
|
readonly title?: string;
|
|
16
16
|
readonly mask?: boolean;
|
|
17
17
|
readonly bgColor?: string;
|
|
18
|
-
readonly duration?: number;
|
|
19
18
|
readonly closable?: boolean;
|
|
19
|
+
readonly duration?: number;
|
|
20
20
|
readonly icon?: boolean;
|
|
21
21
|
readonly alignCenter?: boolean;
|
|
22
22
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/constants.js"],"names":[],"mappings":"AAAA,uCAA+C;AAE/C,6CAA2D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/index.js"],"names":[],"mappings":";AAaA,iDAKC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export namespace tooltipTriggerProps {
|
|
2
|
+
namespace trigger {
|
|
3
|
+
export let type: StringConstructor;
|
|
4
|
+
let _default: string;
|
|
5
|
+
export { _default as default };
|
|
6
|
+
export function validator(value: any): boolean;
|
|
7
|
+
}
|
|
8
|
+
namespace triggerStyle {
|
|
9
|
+
let type_1: ObjectConstructor;
|
|
10
|
+
export { type_1 as type };
|
|
11
|
+
function _default_1(): {};
|
|
12
|
+
export { _default_1 as default };
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export namespace tooltipContentProps {
|
|
16
|
+
export namespace trigger_1 {
|
|
17
|
+
let type_2: StringConstructor;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
let _default_2: string;
|
|
20
|
+
export { _default_2 as default };
|
|
21
|
+
export function validator_1(value: any): boolean;
|
|
22
|
+
export { validator_1 as validator };
|
|
23
|
+
}
|
|
24
|
+
export { trigger_1 as trigger };
|
|
25
|
+
export namespace placement {
|
|
26
|
+
let type_3: StringConstructor;
|
|
27
|
+
export { type_3 as type };
|
|
28
|
+
let _default_3: string;
|
|
29
|
+
export { _default_3 as default };
|
|
30
|
+
export function validator_2(value: any): boolean;
|
|
31
|
+
export { validator_2 as validator };
|
|
32
|
+
}
|
|
33
|
+
export namespace target {
|
|
34
|
+
let type_4: (StringConstructor | {
|
|
35
|
+
new (): HTMLElement;
|
|
36
|
+
prototype: HTMLElement;
|
|
37
|
+
})[];
|
|
38
|
+
export { type_4 as type };
|
|
39
|
+
function _default_4(): string;
|
|
40
|
+
export { _default_4 as default };
|
|
41
|
+
}
|
|
42
|
+
export namespace width {
|
|
43
|
+
let type_5: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
export { type_5 as type };
|
|
45
|
+
let _default_5: string;
|
|
46
|
+
export { _default_5 as default };
|
|
47
|
+
}
|
|
48
|
+
export namespace content {
|
|
49
|
+
let type_6: StringConstructor;
|
|
50
|
+
export { type_6 as type };
|
|
51
|
+
let _default_6: string;
|
|
52
|
+
export { _default_6 as default };
|
|
53
|
+
}
|
|
54
|
+
export namespace contentClass {
|
|
55
|
+
let type_7: StringConstructor;
|
|
56
|
+
export { type_7 as type };
|
|
57
|
+
let _default_7: string;
|
|
58
|
+
export { _default_7 as default };
|
|
59
|
+
}
|
|
60
|
+
export namespace contentStyle {
|
|
61
|
+
let type_8: ObjectConstructor;
|
|
62
|
+
export { type_8 as type };
|
|
63
|
+
function _default_8(): {};
|
|
64
|
+
export { _default_8 as default };
|
|
65
|
+
}
|
|
66
|
+
export namespace offset {
|
|
67
|
+
let type_9: NumberConstructor;
|
|
68
|
+
export { type_9 as type };
|
|
69
|
+
let _default_9: number;
|
|
70
|
+
export { _default_9 as default };
|
|
71
|
+
}
|
|
72
|
+
export namespace bgColor {
|
|
73
|
+
let type_10: StringConstructor;
|
|
74
|
+
export { type_10 as type };
|
|
75
|
+
let _default_10: string;
|
|
76
|
+
export { _default_10 as default };
|
|
77
|
+
}
|
|
78
|
+
export namespace color {
|
|
79
|
+
let type_11: StringConstructor;
|
|
80
|
+
export { type_11 as type };
|
|
81
|
+
let _default_11: string;
|
|
82
|
+
export { _default_11 as default };
|
|
83
|
+
}
|
|
84
|
+
export namespace disabled {
|
|
85
|
+
let type_12: BooleanConstructor;
|
|
86
|
+
export { type_12 as type };
|
|
87
|
+
let _default_12: boolean;
|
|
88
|
+
export { _default_12 as default };
|
|
89
|
+
}
|
|
90
|
+
export namespace arrow {
|
|
91
|
+
let type_13: BooleanConstructor;
|
|
92
|
+
export { type_13 as type };
|
|
93
|
+
let _default_13: boolean;
|
|
94
|
+
export { _default_13 as default };
|
|
95
|
+
}
|
|
96
|
+
export namespace isStatic {
|
|
97
|
+
let type_14: BooleanConstructor;
|
|
98
|
+
export { type_14 as type };
|
|
99
|
+
let _default_14: boolean;
|
|
100
|
+
export { _default_14 as default };
|
|
101
|
+
}
|
|
102
|
+
export namespace attach {
|
|
103
|
+
let type_15: (StringConstructor | {
|
|
104
|
+
new (): HTMLElement;
|
|
105
|
+
prototype: HTMLElement;
|
|
106
|
+
})[];
|
|
107
|
+
export { type_15 as type };
|
|
108
|
+
function _default_15(): string;
|
|
109
|
+
export { _default_15 as default };
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export namespace tooltipProps { }
|
|
113
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/props.js"],"names":[],"mappings":";;;;;QAIe,+CAAsE;;;;;QAE5C,0BAAU;;;;;;;;;;QAOpC,iDAAsE;;;;;;;;;QAKtE,iDAAyK;;;;;;;;;QAEtI,8BAAU;;;;;;;;;;;;;;;;;;;;;;;;QAInB,0BAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAOD,+BAAa"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
show: () => void;
|
|
8
|
+
hide: () => void;
|
|
9
|
+
$emit: (event: "show" | "hide", ...args: any[]) => void;
|
|
10
|
+
color: string;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
offset: number;
|
|
13
|
+
arrow: boolean;
|
|
14
|
+
width: string | number;
|
|
15
|
+
bgColor: string;
|
|
16
|
+
content: string;
|
|
17
|
+
contentStyle: Record<string, any>;
|
|
18
|
+
attach: string | HTMLElement;
|
|
19
|
+
target: string | HTMLElement;
|
|
20
|
+
trigger: string;
|
|
21
|
+
triggerStyle: Record<string, any>;
|
|
22
|
+
placement: string;
|
|
23
|
+
contentClass: string;
|
|
24
|
+
isStatic: boolean;
|
|
25
|
+
$props: {
|
|
26
|
+
readonly color?: string;
|
|
27
|
+
readonly disabled?: boolean;
|
|
28
|
+
readonly offset?: number;
|
|
29
|
+
readonly arrow?: boolean;
|
|
30
|
+
readonly width?: string | number;
|
|
31
|
+
readonly bgColor?: string;
|
|
32
|
+
readonly content?: string;
|
|
33
|
+
readonly contentStyle?: Record<string, any>;
|
|
34
|
+
readonly attach?: string | HTMLElement;
|
|
35
|
+
readonly target?: string | HTMLElement;
|
|
36
|
+
readonly trigger?: string;
|
|
37
|
+
readonly triggerStyle?: Record<string, any>;
|
|
38
|
+
readonly placement?: string;
|
|
39
|
+
readonly contentClass?: string;
|
|
40
|
+
readonly isStatic?: boolean;
|
|
41
|
+
};
|
|
42
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
type __VLS_TemplateResult = {
|
|
44
|
+
attrs: Partial<{}>;
|
|
45
|
+
slots: {
|
|
46
|
+
trigger?(_: {}): any;
|
|
47
|
+
default?(_: {}): any;
|
|
48
|
+
};
|
|
49
|
+
refs: {};
|
|
50
|
+
rootEl: any;
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=tooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.vue"],"names":[],"mappings":"wBA2aqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAZjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2OASG"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "hover", ...args: any[]) => void;
|
|
8
|
+
color: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
offset: number;
|
|
11
|
+
arrow: boolean;
|
|
12
|
+
width: string | number;
|
|
13
|
+
bgColor: string;
|
|
14
|
+
content: string;
|
|
15
|
+
contentStyle: Record<string, any>;
|
|
16
|
+
attach: string | HTMLElement;
|
|
17
|
+
target: string | HTMLElement;
|
|
18
|
+
trigger: string;
|
|
19
|
+
placement: string;
|
|
20
|
+
contentClass: string;
|
|
21
|
+
isStatic: boolean;
|
|
22
|
+
$props: {
|
|
23
|
+
readonly color?: string;
|
|
24
|
+
readonly disabled?: boolean;
|
|
25
|
+
readonly offset?: number;
|
|
26
|
+
readonly arrow?: boolean;
|
|
27
|
+
readonly width?: string | number;
|
|
28
|
+
readonly bgColor?: string;
|
|
29
|
+
readonly content?: string;
|
|
30
|
+
readonly contentStyle?: Record<string, any>;
|
|
31
|
+
readonly attach?: string | HTMLElement;
|
|
32
|
+
readonly target?: string | HTMLElement;
|
|
33
|
+
readonly trigger?: string;
|
|
34
|
+
readonly placement?: string;
|
|
35
|
+
readonly contentClass?: string;
|
|
36
|
+
readonly isStatic?: boolean;
|
|
37
|
+
};
|
|
38
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
39
|
+
contentRef: HTMLDivElement;
|
|
40
|
+
}, HTMLDivElement>;
|
|
41
|
+
type __VLS_TemplateResult = {
|
|
42
|
+
attrs: Partial<{}>;
|
|
43
|
+
slots: {
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
};
|
|
46
|
+
refs: {
|
|
47
|
+
contentRef: HTMLDivElement;
|
|
48
|
+
};
|
|
49
|
+
rootEl: HTMLDivElement;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=tooltipContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltipContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltipContent.vue"],"names":[],"mappings":"wBAmJqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAbjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAUG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
$emit: (event: "click" | "hover" | "contextmenu", ...args: any[]) => void;
|
|
8
|
+
trigger: string;
|
|
9
|
+
triggerStyle: Record<string, any>;
|
|
10
|
+
$props: {
|
|
11
|
+
readonly trigger?: string;
|
|
12
|
+
readonly triggerStyle?: Record<string, any>;
|
|
13
|
+
};
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
15
|
+
triggerRef: HTMLDivElement;
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
type __VLS_TemplateResult = {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
};
|
|
22
|
+
refs: {
|
|
23
|
+
triggerRef: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
rootEl: HTMLDivElement;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=trigger.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/trigger.vue"],"names":[],"mappings":"wBAmMqB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;;6BAEtE,CAAC,EAAE,CAAC;;;AAbjC;;;;;;;;;;mBAUG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function useContent(props: any, callback: any): {
|
|
2
|
+
init: () => Promise<void>;
|
|
3
|
+
widthStyle: import('vue').ComputedRef<{
|
|
4
|
+
width: any;
|
|
5
|
+
}>;
|
|
6
|
+
arrowStyle: import('vue').ComputedRef<any>;
|
|
7
|
+
onClickOutside: (e: any) => void;
|
|
8
|
+
onScroll: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
|
|
9
|
+
onResize: import('@vueuse/core').UseDebounceFnReturn<() => Promise<void>>;
|
|
10
|
+
onContentMouseEnter: () => void;
|
|
11
|
+
onContentMouseLeave: () => void;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContent.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/useContent.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;EA0QC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/useTooltip.js"],"names":[],"mappings":"AAAA;;;uBAgBa,MAAM;;EAiClB"}
|
|
@@ -8,9 +8,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
8
8
|
img: string;
|
|
9
9
|
width: number;
|
|
10
10
|
height: number;
|
|
11
|
+
content: string;
|
|
11
12
|
opacity: number;
|
|
12
13
|
angle: number;
|
|
13
|
-
content: string;
|
|
14
14
|
fontColor: string;
|
|
15
15
|
imgWidth: number;
|
|
16
16
|
$props: {
|
|
@@ -18,9 +18,9 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
18
18
|
readonly img?: string;
|
|
19
19
|
readonly width?: number;
|
|
20
20
|
readonly height?: number;
|
|
21
|
+
readonly content?: string;
|
|
21
22
|
readonly opacity?: number;
|
|
22
23
|
readonly angle?: number;
|
|
23
|
-
readonly content?: string;
|
|
24
24
|
readonly fontColor?: string;
|
|
25
25
|
readonly imgWidth?: number;
|
|
26
26
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function useResize(target: any, callback: any): {
|
|
2
|
+
screenWidth: import('vue').Ref<number, number>;
|
|
3
|
+
isMobile: import('vue').Ref<boolean, boolean>;
|
|
4
|
+
getScreenInfo: () => {
|
|
5
|
+
screenWidth: number;
|
|
6
|
+
isMobile: boolean;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResize.d.ts","sourceRoot":"","sources":["../../src/hooks/useResize.js"],"names":[],"mappings":"AACA;;;;;;;EAwBC"}
|