tttb 0.1.24
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/README.md +42 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/components/Button/index.js +6 -0
- package/dist/components/Button/index.vue.js +7 -0
- package/dist/components/Button/index.vue2.js +57 -0
- package/dist/components/Button/types.js +8 -0
- package/dist/components/Checkbox/index.js +6 -0
- package/dist/components/Checkbox/index.vue.js +7 -0
- package/dist/components/Checkbox/index.vue2.js +35 -0
- package/dist/components/Checkbox/types.js +7 -0
- package/dist/components/Dialog/DialogItem.vue.js +7 -0
- package/dist/components/Dialog/DialogItem.vue2.js +78 -0
- package/dist/components/Dialog/DialogPrompt.vue.js +7 -0
- package/dist/components/Dialog/DialogPrompt.vue2.js +63 -0
- package/dist/components/Dialog/index.js +6 -0
- package/dist/components/Dialog/index.vue.js +7 -0
- package/dist/components/Dialog/index.vue2.js +81 -0
- package/dist/components/Icon/index.js +6 -0
- package/dist/components/Icon/index.vue.js +43 -0
- package/dist/components/Icon/index.vue2.js +4 -0
- package/dist/components/Loading/index.js +6 -0
- package/dist/components/Loading/index.vue.js +7 -0
- package/dist/components/Loading/index.vue2.js +37 -0
- package/dist/components/Loading/types.js +7 -0
- package/dist/components/Message/index.js +6 -0
- package/dist/components/Message/index.vue.js +7 -0
- package/dist/components/Message/index.vue2.js +91 -0
- package/dist/components/Modal/index.js +6 -0
- package/dist/components/Modal/index.vue.js +7 -0
- package/dist/components/Modal/index.vue2.js +39 -0
- package/dist/components/Modal/types.js +7 -0
- package/dist/components/Nav/index.js +6 -0
- package/dist/components/Nav/index.vue.js +7 -0
- package/dist/components/Nav/index.vue2.js +95 -0
- package/dist/components/Pagination/index.js +6 -0
- package/dist/components/Pagination/index.vue.js +7 -0
- package/dist/components/Pagination/index.vue2.js +162 -0
- package/dist/components/Pagination/types.js +8 -0
- package/dist/components/Popconfirm/index.js +7 -0
- package/dist/components/Popconfirm/index.vue.js +92 -0
- package/dist/components/Popconfirm/index.vue3.js +5 -0
- package/dist/components/Popconfirm/types.js +14 -0
- package/dist/components/Popover/index.js +7 -0
- package/dist/components/Popover/index.vue.js +32 -0
- package/dist/components/Popover/index.vue3.js +5 -0
- package/dist/components/Progress/index.js +6 -0
- package/dist/components/Progress/index.vue.js +7 -0
- package/dist/components/Progress/index.vue2.js +38 -0
- package/dist/components/Progress/types.js +7 -0
- package/dist/components/RouterNav/index.js +6 -0
- package/dist/components/RouterNav/index.vue.js +33 -0
- package/dist/components/RouterNav/index.vue2.js +4 -0
- package/dist/components/Switch/index.js +6 -0
- package/dist/components/Switch/index.vue.js +7 -0
- package/dist/components/Switch/index.vue2.js +76 -0
- package/dist/components/Switch/types.js +6 -0
- package/dist/components/Table/index.js +6 -0
- package/dist/components/Table/index.vue.js +7 -0
- package/dist/components/Table/index.vue2.js +57 -0
- package/dist/components/Timer/index.js +6 -0
- package/dist/components/Timer/index.vue.js +31 -0
- package/dist/components/Timer/index.vue2.js +4 -0
- package/dist/components/Tooltip/TooltipContent.vue.js +33 -0
- package/dist/components/Tooltip/TooltipContent.vue2.js +4 -0
- package/dist/components/Tooltip/TooltipItem.vue.js +58 -0
- package/dist/components/Tooltip/TooltipItem.vue2.js +4 -0
- package/dist/components/Tooltip/TooltipLayer.vue.js +49 -0
- package/dist/components/Tooltip/TooltipLayer.vue2.js +4 -0
- package/dist/components/Tooltip/index.js +6 -0
- package/dist/components/Tooltip/index.vue.js +74 -0
- package/dist/components/Tooltip/index.vue2.js +4 -0
- package/dist/components/Tooltip/manager.js +107 -0
- package/dist/components/Tooltip/types.js +21 -0
- package/dist/components/Tooltip/useTooltip.js +43 -0
- package/dist/components/Warn/index.js +6 -0
- package/dist/components/Warn/index.vue.js +7 -0
- package/dist/components/Warn/index.vue2.js +21 -0
- package/dist/components/Warn/types.js +6 -0
- package/dist/components/Watermark/index.js +6 -0
- package/dist/components/Watermark/index.vue.js +7 -0
- package/dist/components/Watermark/index.vue2.js +54 -0
- package/dist/components/Watermark/types.js +10 -0
- package/dist/components/Watermark/useWatermarkBg.js +11 -0
- package/dist/components/helpers.js +25 -0
- package/dist/components.js +40 -0
- package/dist/directives/vBackTop.js +110 -0
- package/dist/directives/vDelayIn.js +41 -0
- package/dist/directives/vHoldPointer.js +112 -0
- package/dist/directives/vLazy.js +65 -0
- package/dist/directives/vLoading.js +50 -0
- package/dist/directives/vRipple.js +81 -0
- package/dist/directives/vSlideIn.js +39 -0
- package/dist/directives/vTextJump.js +50 -0
- package/dist/directives/vTooltip.js +55 -0
- package/dist/directives.js +20 -0
- package/dist/hooks/useAudio.js +112 -0
- package/dist/hooks/useElementScroll.js +30 -0
- package/dist/hooks/useGSAP.js +40 -0
- package/dist/hooks/useRefreshRate.js +26 -0
- package/dist/hooks/useWindowBackTop.js +86 -0
- package/dist/hooks.js +13 -0
- package/dist/icons/brands.js +554 -0
- package/dist/icons/regular.js +278 -0
- package/dist/icons/solid.js +1989 -0
- package/dist/index.js +130 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +448 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +400 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +131 -0
- package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +3074 -0
- package/dist/node_modules/@fortawesome/free-brands-svg-icons/index.js +3156 -0
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/index.js +1228 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +9602 -0
- package/dist/node_modules/@fortawesome/vue-fontawesome/index.es.js +487 -0
- package/dist/node_modules/gsap/CSSPlugin.js +424 -0
- package/dist/node_modules/gsap/gsap-core.js +1645 -0
- package/dist/node_modules/gsap/index.js +13 -0
- package/dist/tttb.css +1 -0
- package/dist/types/bundle.d.ts +10 -0
- package/dist/types/components/Button/index.d.ts +22 -0
- package/dist/types/components/Button/types.d.ts +12 -0
- package/dist/types/components/Checkbox/index.d.ts +29 -0
- package/dist/types/components/Checkbox/types.d.ts +8 -0
- package/dist/types/components/Dialog/DialogItem.d.ts +38 -0
- package/dist/types/components/Dialog/DialogPrompt.d.ts +16 -0
- package/dist/types/components/Dialog/index.d.ts +10 -0
- package/dist/types/components/Dialog/types.d.ts +35 -0
- package/dist/types/components/Icon/index.d.ts +3 -0
- package/dist/types/components/Icon/types.d.ts +2 -0
- package/dist/types/components/Loading/index.d.ts +6 -0
- package/dist/types/components/Loading/types.d.ts +8 -0
- package/dist/types/components/Message/index.d.ts +9 -0
- package/dist/types/components/Message/types.d.ts +12 -0
- package/dist/types/components/Modal/index.d.ts +21 -0
- package/dist/types/components/Modal/types.d.ts +11 -0
- package/dist/types/components/Nav/index.d.ts +7 -0
- package/dist/types/components/Nav/types.d.ts +14 -0
- package/dist/types/components/Pagination/index.d.ts +18 -0
- package/dist/types/components/Pagination/types.d.ts +16 -0
- package/dist/types/components/Popconfirm/index.d.ts +266 -0
- package/dist/types/components/Popconfirm/types.d.ts +26 -0
- package/dist/types/components/Popover/index.d.ts +150 -0
- package/dist/types/components/Progress/index.d.ts +21 -0
- package/dist/types/components/Progress/types.d.ts +9 -0
- package/dist/types/components/RouterNav/index.d.ts +2 -0
- package/dist/types/components/Switch/index.d.ts +13 -0
- package/dist/types/components/Switch/types.d.ts +6 -0
- package/dist/types/components/Table/index.d.ts +31 -0
- package/dist/types/components/Table/types.d.ts +3 -0
- package/dist/types/components/Timer/index.d.ts +6 -0
- package/dist/types/components/Tooltip/TooltipContent.d.ts +16 -0
- package/dist/types/components/Tooltip/TooltipItem.d.ts +45 -0
- package/dist/types/components/Tooltip/TooltipLayer.d.ts +2 -0
- package/dist/types/components/Tooltip/index.d.ts +42 -0
- package/dist/types/components/Tooltip/manager.d.ts +3384 -0
- package/dist/types/components/Tooltip/types.d.ts +52 -0
- package/dist/types/components/Tooltip/useTooltip.d.ts +8 -0
- package/dist/types/components/Warn/index.d.ts +20 -0
- package/dist/types/components/Warn/types.d.ts +6 -0
- package/dist/types/components/Watermark/index.d.ts +28 -0
- package/dist/types/components/Watermark/types.d.ts +14 -0
- package/dist/types/components/Watermark/useWatermarkBg.d.ts +6 -0
- package/dist/types/components/helpers.d.ts +14 -0
- package/dist/types/components/index.d.ts +19 -0
- package/dist/types/directives/helper.d.ts +4 -0
- package/dist/types/directives/index.d.ts +9 -0
- package/dist/types/directives/vBackTop.d.ts +3 -0
- package/dist/types/directives/vDelayIn.d.ts +3 -0
- package/dist/types/directives/vHoldPointer.d.ts +3 -0
- package/dist/types/directives/vLazy.d.ts +3 -0
- package/dist/types/directives/vLoading.d.ts +3 -0
- package/dist/types/directives/vRipple.d.ts +3 -0
- package/dist/types/directives/vSlideIn.d.ts +3 -0
- package/dist/types/directives/vTextJump.d.ts +3 -0
- package/dist/types/directives/vTooltip.d.ts +8 -0
- package/dist/types/hooks/index.d.ts +5 -0
- package/dist/types/hooks/useAudio.d.ts +38 -0
- package/dist/types/hooks/useElementScroll.d.ts +32 -0
- package/dist/types/hooks/useGSAP.d.ts +32 -0
- package/dist/types/hooks/useRefreshRate.d.ts +5 -0
- package/dist/types/hooks/useWindowBackTop.d.ts +14 -0
- package/dist/types/icons/brands.d.ts +551 -0
- package/dist/types/icons/regular.d.ts +275 -0
- package/dist/types/icons/solid.d.ts +1986 -0
- package/dist/types/router/index.d.ts +2 -0
- package/dist/types/utils/chance.d.ts +7 -0
- package/dist/types/utils/copyToClipboard.d.ts +6 -0
- package/dist/types/utils/debounce.d.ts +15 -0
- package/dist/types/utils/deepClone.d.ts +6 -0
- package/dist/types/utils/deepEqual.d.ts +5 -0
- package/dist/types/utils/dialog.d.ts +8 -0
- package/dist/types/utils/getId.d.ts +6 -0
- package/dist/types/utils/getRandomColor.d.ts +4 -0
- package/dist/types/utils/getRandomInt.d.ts +6 -0
- package/dist/types/utils/getRandomStr.d.ts +6 -0
- package/dist/types/utils/index.d.ts +23 -0
- package/dist/types/utils/injectStyles.d.ts +9 -0
- package/dist/types/utils/isElementOverflow.d.ts +20 -0
- package/dist/types/utils/isEmpty.d.ts +6 -0
- package/dist/types/utils/isMobile.d.ts +6 -0
- package/dist/types/utils/isObject.d.ts +4 -0
- package/dist/types/utils/isPromise.d.ts +6 -0
- package/dist/types/utils/localStorage.d.ts +24 -0
- package/dist/types/utils/msg.d.ts +8 -0
- package/dist/types/utils/omit.d.ts +6 -0
- package/dist/types/utils/pick.d.ts +6 -0
- package/dist/types/utils/sessionStorage.d.ts +24 -0
- package/dist/types/utils/shuffleArray.d.ts +6 -0
- package/dist/types/utils/throttle.d.ts +7 -0
- package/dist/utils/chance.js +7 -0
- package/dist/utils/copyToClipboard.js +21 -0
- package/dist/utils/debounce.js +14 -0
- package/dist/utils/deepClone.js +17 -0
- package/dist/utils/deepEqual.js +40 -0
- package/dist/utils/dialog.js +43 -0
- package/dist/utils/getId.js +10 -0
- package/dist/utils/getRandomColor.js +4 -0
- package/dist/utils/getRandomInt.js +4 -0
- package/dist/utils/getRandomStr.js +5 -0
- package/dist/utils/injectStyles.js +24 -0
- package/dist/utils/isElementOverflow.js +22 -0
- package/dist/utils/isEmpty.js +4 -0
- package/dist/utils/isMobile.js +7 -0
- package/dist/utils/isObject.js +4 -0
- package/dist/utils/isPromise.js +4 -0
- package/dist/utils/localStorage.js +47 -0
- package/dist/utils/msg.js +21 -0
- package/dist/utils/omit.js +9 -0
- package/dist/utils/pick.js +9 -0
- package/dist/utils/sessionStorage.js +47 -0
- package/dist/utils/shuffleArray.js +10 -0
- package/dist/utils/throttle.js +11 -0
- package/dist/utils.js +49 -0
- package/package.json +95 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
content?(_: {}): any;
|
|
7
|
+
actions?(_: {
|
|
8
|
+
cancel: () => void;
|
|
9
|
+
confirm: () => void;
|
|
10
|
+
}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
popoverRef: ({
|
|
14
|
+
$: import('vue').ComponentInternalInstance;
|
|
15
|
+
$data: {};
|
|
16
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
17
|
+
$attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$refs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
} & {
|
|
23
|
+
tooltipRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
24
|
+
show: () => void;
|
|
25
|
+
hide: () => void;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
27
|
+
style: import('vue').CSSProperties;
|
|
28
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
29
|
+
class: string;
|
|
30
|
+
content: string | import('vue').VNode;
|
|
31
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
32
|
+
light: boolean;
|
|
33
|
+
manual: boolean;
|
|
34
|
+
offset: number;
|
|
35
|
+
placement: import('../Tooltip/types').Placement;
|
|
36
|
+
showArrow: boolean;
|
|
37
|
+
singleton: boolean;
|
|
38
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
39
|
+
openDelay: number;
|
|
40
|
+
closeDelay: number;
|
|
41
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
42
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
43
|
+
triggerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
content: {
|
|
45
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
49
|
+
P: {};
|
|
50
|
+
B: {};
|
|
51
|
+
D: {};
|
|
52
|
+
C: {};
|
|
53
|
+
M: {};
|
|
54
|
+
Defaults: {};
|
|
55
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
56
|
+
content: {
|
|
57
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
61
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
69
|
+
show: () => void;
|
|
70
|
+
hide: () => void;
|
|
71
|
+
}, {}, {}, {}, {
|
|
72
|
+
style: import('vue').CSSProperties;
|
|
73
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
74
|
+
class: string;
|
|
75
|
+
content: string | import('vue').VNode;
|
|
76
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
77
|
+
light: boolean;
|
|
78
|
+
manual: boolean;
|
|
79
|
+
offset: number;
|
|
80
|
+
placement: import('../Tooltip/types').Placement;
|
|
81
|
+
showArrow: boolean;
|
|
82
|
+
singleton: boolean;
|
|
83
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
84
|
+
openDelay: number;
|
|
85
|
+
closeDelay: number;
|
|
86
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
87
|
+
}> | null;
|
|
88
|
+
};
|
|
89
|
+
$slots: Readonly<{
|
|
90
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
93
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
94
|
+
$host: Element | null;
|
|
95
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
96
|
+
$el: any;
|
|
97
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
98
|
+
show: () => void;
|
|
99
|
+
hide: () => void;
|
|
100
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
101
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
102
|
+
created?: (() => void) | (() => void)[];
|
|
103
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
104
|
+
mounted?: (() => void) | (() => void)[];
|
|
105
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
106
|
+
updated?: (() => void) | (() => void)[];
|
|
107
|
+
activated?: (() => void) | (() => void)[];
|
|
108
|
+
deactivated?: (() => void) | (() => void)[];
|
|
109
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
110
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
111
|
+
destroyed?: (() => void) | (() => void)[];
|
|
112
|
+
unmounted?: (() => void) | (() => void)[];
|
|
113
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
114
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
115
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
116
|
+
};
|
|
117
|
+
$forceUpdate: () => void;
|
|
118
|
+
$nextTick: typeof import('vue').nextTick;
|
|
119
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
120
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "hide" | "show"> & import('vue').ShallowUnwrapRef<{
|
|
121
|
+
show: () => void;
|
|
122
|
+
hide: () => void;
|
|
123
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
124
|
+
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
125
|
+
}) | null;
|
|
126
|
+
};
|
|
127
|
+
rootEl: any;
|
|
128
|
+
};
|
|
129
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
130
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
131
|
+
cancel: () => any;
|
|
132
|
+
confirm: () => any;
|
|
133
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
134
|
+
onCancel?: (() => any) | undefined;
|
|
135
|
+
onConfirm?: (() => any) | undefined;
|
|
136
|
+
}>, {
|
|
137
|
+
content: string;
|
|
138
|
+
icon: object;
|
|
139
|
+
tip: string;
|
|
140
|
+
confirmText: string;
|
|
141
|
+
cancelText: string;
|
|
142
|
+
showIcon: boolean;
|
|
143
|
+
confirmType: "default" | "danger" | "primary" | "success" | "warning";
|
|
144
|
+
cancelType: "default" | "danger" | "primary" | "success" | "warning";
|
|
145
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
146
|
+
popoverRef: ({
|
|
147
|
+
$: import('vue').ComponentInternalInstance;
|
|
148
|
+
$data: {};
|
|
149
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
150
|
+
$attrs: {
|
|
151
|
+
[x: string]: unknown;
|
|
152
|
+
};
|
|
153
|
+
$refs: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
} & {
|
|
156
|
+
tooltipRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
157
|
+
show: () => void;
|
|
158
|
+
hide: () => void;
|
|
159
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
160
|
+
style: import('vue').CSSProperties;
|
|
161
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
162
|
+
class: string;
|
|
163
|
+
content: string | import('vue').VNode;
|
|
164
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
165
|
+
light: boolean;
|
|
166
|
+
manual: boolean;
|
|
167
|
+
offset: number;
|
|
168
|
+
placement: import('../Tooltip/types').Placement;
|
|
169
|
+
showArrow: boolean;
|
|
170
|
+
singleton: boolean;
|
|
171
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
172
|
+
openDelay: number;
|
|
173
|
+
closeDelay: number;
|
|
174
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
175
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
176
|
+
triggerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
177
|
+
content: {
|
|
178
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
179
|
+
required: true;
|
|
180
|
+
};
|
|
181
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
182
|
+
P: {};
|
|
183
|
+
B: {};
|
|
184
|
+
D: {};
|
|
185
|
+
C: {};
|
|
186
|
+
M: {};
|
|
187
|
+
Defaults: {};
|
|
188
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
189
|
+
content: {
|
|
190
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
194
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
195
|
+
P: {};
|
|
196
|
+
B: {};
|
|
197
|
+
D: {};
|
|
198
|
+
C: {};
|
|
199
|
+
M: {};
|
|
200
|
+
Defaults: {};
|
|
201
|
+
}, Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
202
|
+
show: () => void;
|
|
203
|
+
hide: () => void;
|
|
204
|
+
}, {}, {}, {}, {
|
|
205
|
+
style: import('vue').CSSProperties;
|
|
206
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
207
|
+
class: string;
|
|
208
|
+
content: string | import('vue').VNode;
|
|
209
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
210
|
+
light: boolean;
|
|
211
|
+
manual: boolean;
|
|
212
|
+
offset: number;
|
|
213
|
+
placement: import('../Tooltip/types').Placement;
|
|
214
|
+
showArrow: boolean;
|
|
215
|
+
singleton: boolean;
|
|
216
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
217
|
+
openDelay: number;
|
|
218
|
+
closeDelay: number;
|
|
219
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
220
|
+
}> | null;
|
|
221
|
+
};
|
|
222
|
+
$slots: Readonly<{
|
|
223
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
226
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
227
|
+
$host: Element | null;
|
|
228
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
229
|
+
$el: any;
|
|
230
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
231
|
+
show: () => void;
|
|
232
|
+
hide: () => void;
|
|
233
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
234
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
235
|
+
created?: (() => void) | (() => void)[];
|
|
236
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
237
|
+
mounted?: (() => void) | (() => void)[];
|
|
238
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
239
|
+
updated?: (() => void) | (() => void)[];
|
|
240
|
+
activated?: (() => void) | (() => void)[];
|
|
241
|
+
deactivated?: (() => void) | (() => void)[];
|
|
242
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
243
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
244
|
+
destroyed?: (() => void) | (() => void)[];
|
|
245
|
+
unmounted?: (() => void) | (() => void)[];
|
|
246
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
247
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
248
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
249
|
+
};
|
|
250
|
+
$forceUpdate: () => void;
|
|
251
|
+
$nextTick: typeof import('vue').nextTick;
|
|
252
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
253
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "hide" | "show"> & import('vue').ShallowUnwrapRef<{
|
|
254
|
+
show: () => void;
|
|
255
|
+
hide: () => void;
|
|
256
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
257
|
+
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
258
|
+
}) | null;
|
|
259
|
+
}, any>;
|
|
260
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
261
|
+
export default _default;
|
|
262
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
263
|
+
new (): {
|
|
264
|
+
$slots: S;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type Type = 'primary' | 'success' | 'warning' | 'danger' | 'default';
|
|
2
|
+
export interface Props {
|
|
3
|
+
content?: string;
|
|
4
|
+
tip?: string;
|
|
5
|
+
icon?: object;
|
|
6
|
+
showIcon?: boolean;
|
|
7
|
+
confirmType?: Type;
|
|
8
|
+
cancelType?: Type;
|
|
9
|
+
confirmText?: string;
|
|
10
|
+
cancelText?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const defaultProps: {
|
|
13
|
+
readonly content: "";
|
|
14
|
+
readonly tip: "";
|
|
15
|
+
readonly icon: any;
|
|
16
|
+
readonly showIcon: true;
|
|
17
|
+
readonly confirmType: "primary";
|
|
18
|
+
readonly cancelType: "default";
|
|
19
|
+
readonly confirmText: "确定";
|
|
20
|
+
readonly cancelText: "取消";
|
|
21
|
+
};
|
|
22
|
+
export interface Emits {
|
|
23
|
+
(e: 'confirm'): void;
|
|
24
|
+
(e: 'cancel'): void;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
4
|
+
refs: {
|
|
5
|
+
tooltipRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
6
|
+
show: () => void;
|
|
7
|
+
hide: () => void;
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
9
|
+
style: import('vue').CSSProperties;
|
|
10
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
11
|
+
class: string;
|
|
12
|
+
content: string | import('vue').VNode;
|
|
13
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
14
|
+
light: boolean;
|
|
15
|
+
manual: boolean;
|
|
16
|
+
offset: number;
|
|
17
|
+
placement: import('../Tooltip/types').Placement;
|
|
18
|
+
showArrow: boolean;
|
|
19
|
+
singleton: boolean;
|
|
20
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
21
|
+
openDelay: number;
|
|
22
|
+
closeDelay: number;
|
|
23
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
24
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
25
|
+
triggerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
content: {
|
|
27
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
content: {
|
|
39
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
43
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
44
|
+
P: {};
|
|
45
|
+
B: {};
|
|
46
|
+
D: {};
|
|
47
|
+
C: {};
|
|
48
|
+
M: {};
|
|
49
|
+
Defaults: {};
|
|
50
|
+
}, Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
51
|
+
show: () => void;
|
|
52
|
+
hide: () => void;
|
|
53
|
+
}, {}, {}, {}, {
|
|
54
|
+
style: import('vue').CSSProperties;
|
|
55
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
56
|
+
class: string;
|
|
57
|
+
content: string | import('vue').VNode;
|
|
58
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
59
|
+
light: boolean;
|
|
60
|
+
manual: boolean;
|
|
61
|
+
offset: number;
|
|
62
|
+
placement: import('../Tooltip/types').Placement;
|
|
63
|
+
showArrow: boolean;
|
|
64
|
+
singleton: boolean;
|
|
65
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
66
|
+
openDelay: number;
|
|
67
|
+
closeDelay: number;
|
|
68
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
69
|
+
}> | null;
|
|
70
|
+
};
|
|
71
|
+
rootEl: any;
|
|
72
|
+
};
|
|
73
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
74
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
75
|
+
show: () => void;
|
|
76
|
+
hide: () => void;
|
|
77
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
78
|
+
tooltipRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
79
|
+
show: () => void;
|
|
80
|
+
hide: () => void;
|
|
81
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
82
|
+
style: import('vue').CSSProperties;
|
|
83
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
84
|
+
class: string;
|
|
85
|
+
content: string | import('vue').VNode;
|
|
86
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
87
|
+
light: boolean;
|
|
88
|
+
manual: boolean;
|
|
89
|
+
offset: number;
|
|
90
|
+
placement: import('../Tooltip/types').Placement;
|
|
91
|
+
showArrow: boolean;
|
|
92
|
+
singleton: boolean;
|
|
93
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
94
|
+
openDelay: number;
|
|
95
|
+
closeDelay: number;
|
|
96
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
97
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
98
|
+
triggerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
99
|
+
content: {
|
|
100
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
104
|
+
P: {};
|
|
105
|
+
B: {};
|
|
106
|
+
D: {};
|
|
107
|
+
C: {};
|
|
108
|
+
M: {};
|
|
109
|
+
Defaults: {};
|
|
110
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
111
|
+
content: {
|
|
112
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
116
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
117
|
+
P: {};
|
|
118
|
+
B: {};
|
|
119
|
+
D: {};
|
|
120
|
+
C: {};
|
|
121
|
+
M: {};
|
|
122
|
+
Defaults: {};
|
|
123
|
+
}, Readonly<import('../Tooltip/types').Props> & Readonly<{}>, {
|
|
124
|
+
show: () => void;
|
|
125
|
+
hide: () => void;
|
|
126
|
+
}, {}, {}, {}, {
|
|
127
|
+
style: import('vue').CSSProperties;
|
|
128
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
129
|
+
class: string;
|
|
130
|
+
content: string | import('vue').VNode;
|
|
131
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
132
|
+
light: boolean;
|
|
133
|
+
manual: boolean;
|
|
134
|
+
offset: number;
|
|
135
|
+
placement: import('../Tooltip/types').Placement;
|
|
136
|
+
showArrow: boolean;
|
|
137
|
+
singleton: boolean;
|
|
138
|
+
trigger: import('../Tooltip/types').Trigger;
|
|
139
|
+
openDelay: number;
|
|
140
|
+
closeDelay: number;
|
|
141
|
+
virtualRef: Element | import('vue').ComponentPublicInstance | null;
|
|
142
|
+
}> | null;
|
|
143
|
+
}, any>;
|
|
144
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
145
|
+
export default _default;
|
|
146
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
147
|
+
new (): {
|
|
148
|
+
$slots: S;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
type: "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
13
|
+
text: string;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLUListElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
type __VLS_Props = Props;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
type: "primary" | "warning" | "danger" | "success";
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
row: {
|
|
7
|
+
index: number;
|
|
8
|
+
key: string;
|
|
9
|
+
data: any;
|
|
10
|
+
};
|
|
11
|
+
}): any;
|
|
12
|
+
empty?(_: {
|
|
13
|
+
row: {
|
|
14
|
+
index: number;
|
|
15
|
+
key: string;
|
|
16
|
+
data: any;
|
|
17
|
+
};
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
start: (s?: number) => void;
|
|
3
|
+
stop: () => void;
|
|
4
|
+
getTime: () => number;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
content: any;
|
|
4
|
+
customClass: string;
|
|
5
|
+
light: boolean;
|
|
6
|
+
side: string;
|
|
7
|
+
style: CSSProperties;
|
|
8
|
+
showArrow: boolean;
|
|
9
|
+
singleton: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
12
|
+
arrowRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
arrowRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TooltipItemState } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
item: TooltipItemState;
|
|
4
|
+
singleton: boolean;
|
|
5
|
+
id?: symbol;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
mouseenter: (...args: any[]) => void;
|
|
9
|
+
mouseleave: (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
contentRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
15
|
+
content: any;
|
|
16
|
+
customClass: string;
|
|
17
|
+
light: boolean;
|
|
18
|
+
side: string;
|
|
19
|
+
style: import('vue').CSSProperties;
|
|
20
|
+
showArrow: boolean;
|
|
21
|
+
singleton: boolean;
|
|
22
|
+
}> & Readonly<{}>, {
|
|
23
|
+
arrowRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
25
|
+
arrowRef: HTMLDivElement;
|
|
26
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<{
|
|
34
|
+
content: any;
|
|
35
|
+
customClass: string;
|
|
36
|
+
light: boolean;
|
|
37
|
+
side: string;
|
|
38
|
+
style: import('vue').CSSProperties;
|
|
39
|
+
showArrow: boolean;
|
|
40
|
+
singleton: boolean;
|
|
41
|
+
}> & Readonly<{}>, {
|
|
42
|
+
arrowRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
43
|
+
}, {}, {}, {}, {}> | null;
|
|
44
|
+
}, any>;
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { VNode, ComponentPublicInstance } from 'vue';
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
4
|
+
show: () => void;
|
|
5
|
+
hide: () => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
style: import('vue').CSSProperties;
|
|
8
|
+
transition: "scale" | "fade" | "slide" | string;
|
|
9
|
+
class: string;
|
|
10
|
+
content: string | VNode;
|
|
11
|
+
overflow: boolean | import('../../utils').IsElementOverflowOptions;
|
|
12
|
+
light: boolean;
|
|
13
|
+
manual: boolean;
|
|
14
|
+
offset: number;
|
|
15
|
+
placement: import('./types').Placement;
|
|
16
|
+
showArrow: boolean;
|
|
17
|
+
singleton: boolean;
|
|
18
|
+
trigger: import('./types').Trigger;
|
|
19
|
+
openDelay: number;
|
|
20
|
+
closeDelay: number;
|
|
21
|
+
virtualRef: Element | ComponentPublicInstance | null;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
triggerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
content: {
|
|
25
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
content: {
|
|
37
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}> | null;
|
|
41
|
+
}, any>;
|
|
42
|
+
export default _default;
|