yc-design-vue 1.0.1 → 1.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/es/Affix/type.d.ts +3 -2
- package/es/Alert/type.d.ts +6 -5
- package/es/Anchor/type.d.ts +4 -3
- package/es/AutoComplete/index.d.ts +65 -2
- package/es/AutoComplete/index.vue.d.ts +130 -4
- package/es/AutoComplete/type.d.ts +5 -4
- package/es/Avatar/AvatarGroup.vue.js +1 -1
- package/es/Avatar/AvatarGroup.vue2.js +2 -2
- package/es/Avatar/type.d.ts +4 -4
- package/es/BackTop/type.d.ts +2 -1
- package/es/Badge/index.vue.js +1 -1
- package/es/Badge/index.vue2.js +2 -2
- package/es/Badge/type.d.ts +3 -3
- package/es/Breadcrumb/type.d.ts +9 -8
- package/es/Button/Button.vue.js +1 -1
- package/es/Button/Button.vue2.js +2 -2
- package/es/Button/type.d.ts +4 -3
- package/es/Calendar/type.d.ts +5 -4
- package/es/Card/type.d.ts +10 -10
- package/es/Carousel/type.d.ts +3 -2
- package/es/Cascader/type.d.ts +10 -10
- package/es/Checkbox/hooks/useContext.d.ts +2 -5
- package/es/Checkbox/type.d.ts +9 -8
- package/es/Collapse/type.d.ts +9 -8
- package/es/Comment/type.d.ts +7 -6
- package/es/ConfigProvider/index.vue.js +2 -2
- package/es/ConfigProvider/type.d.ts +5 -4
- package/es/Descriptions/type.d.ts +9 -9
- package/es/Divider/type.d.ts +2 -1
- package/es/Drawer/Drawer.vue.js +1 -1
- package/es/Drawer/Drawer.vue2.js +6 -7
- package/es/Drawer/type.d.ts +5 -5
- package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/es/Dropdown/Dsubmenu.vue.js +1 -1
- package/es/Dropdown/Dsubmenu.vue2.js +2 -2
- package/es/Dropdown/index.d.ts +65 -2
- package/es/Dropdown/type.d.ts +15 -14
- package/es/Empty/type.d.ts +2 -1
- package/es/Grid/type.d.ts +6 -5
- package/es/Icon/type.d.ts +2 -1
- package/es/Image/type.d.ts +11 -10
- package/es/Input/hooks/useCursor.d.ts +2 -1
- package/es/Input/hooks/useCursor.js +2 -2
- package/es/Input/type.d.ts +6 -5
- package/es/InputNumber/type.d.ts +8 -8
- package/es/InputTag/type.d.ts +5 -4
- package/es/Layout/Layout.vue.js +1 -1
- package/es/Layout/Layout.vue2.js +2 -2
- package/es/Layout/type.d.ts +8 -7
- package/es/Link/type.d.ts +3 -2
- package/es/List/List.vue.js +1 -1
- package/es/List/List.vue2.js +1 -1
- package/es/List/type.d.ts +15 -14
- package/es/Mention/index.d.ts +65 -2
- package/es/Mention/index.vue.d.ts +130 -4
- package/es/Mention/type.d.ts +3 -2
- package/es/Menu/type.d.ts +11 -10
- package/es/Message/type.d.ts +1 -1
- package/es/Modal/Modal.vue.js +1 -1
- package/es/Modal/Modal.vue2.js +4 -6
- package/es/Modal/hooks/useModalClose.d.ts +2 -1
- package/es/Modal/hooks/useModalClose.js +1 -6
- package/es/Modal/type.d.ts +5 -5
- package/es/Notification/type.d.ts +1 -1
- package/es/OverflowList/index.vue.js +1 -1
- package/es/OverflowList/index.vue2.js +4 -4
- package/es/OverflowList/type.d.ts +3 -2
- package/es/PageHeader/type.d.ts +7 -6
- package/es/Pagination/type.d.ts +8 -8
- package/es/Popconfirm/index.d.ts +65 -2
- package/es/Popconfirm/index.vue.d.ts +130 -4
- package/es/Popconfirm/type.d.ts +4 -4
- package/es/Popover/type.d.ts +4 -4
- package/es/Radio/hooks/useContext.d.ts +3 -6
- package/es/Radio/type.d.ts +9 -8
- package/es/Rate/type.d.ts +3 -2
- package/es/ResizeBox/type.d.ts +6 -5
- package/es/Result/type.d.ts +6 -5
- package/es/Scrollbar/Scrollbar.vue.js +1 -1
- package/es/Scrollbar/type.d.ts +2 -2
- package/es/Select/Select.vue.d.ts +130 -4
- package/es/Select/SelectView.vue.js +1 -1
- package/es/Select/SelectView.vue2.js +1 -1
- package/es/Select/index.d.ts +65 -2
- package/es/Select/type.d.ts +19 -18
- package/es/Skeleton/type.d.ts +3 -2
- package/es/Space/index.vue.js +1 -1
- package/es/Space/index.vue2.js +2 -2
- package/es/Space/type.d.ts +3 -2
- package/es/Spin/index.vue.js +1 -1
- package/es/Spin/index.vue2.js +1 -1
- package/es/Spin/type.d.ts +4 -3
- package/es/Split/type.d.ts +5 -4
- package/es/Statistic/type.d.ts +7 -7
- package/es/Steps/type.d.ts +8 -7
- package/es/Switch/index.vue.js +1 -1
- package/es/Switch/index.vue2.js +3 -3
- package/es/Switch/type.d.ts +5 -4
- package/es/Tabs/Tabs.vue.js +1 -1
- package/es/Tabs/Tabs.vue2.js +2 -2
- package/es/Tabs/type.d.ts +5 -4
- package/es/Tag/type.d.ts +4 -3
- package/es/TimePicker/type.d.ts +4 -3
- package/es/Timeline/type.d.ts +6 -5
- package/es/Tooltip/type.d.ts +3 -3
- package/es/Transfer/type.d.ts +13 -12
- package/es/Trigger/hooks/useContext.js +1 -1
- package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/es/Trigger/hooks/useTriggerPosition.js +12 -22
- package/es/Trigger/hooks/useTriggerVisible.js +1 -2
- package/es/Trigger/index.d.ts +63 -2
- package/es/Trigger/index.vue.d.ts +130 -3
- package/es/Trigger/index.vue.js +1 -1
- package/es/Trigger/index.vue2.js +2 -2
- package/es/Trigger/type.d.ts +3 -3
- package/es/Typography/type.d.ts +8 -7
- package/es/Watermark/type.d.ts +2 -1
- package/es/_shared/type/index.d.ts +1 -6
- package/es/_shared/utils/dom.d.ts +5 -5
- package/es/_shared/utils/dom.js +8 -9
- package/es/_shared/utils/fn.d.ts +3 -3
- package/es/_shared/utils/fn.js +6 -6
- package/es/_shared/utils/global-config.d.ts +4 -2
- package/es/_shared/utils/vue-utils.d.ts +1 -2
- package/es/_shared/utils/vue-utils.js +2 -7
- package/es/index.d.ts +66 -3
- package/es/style.css +1 -1
- package/lib/Affix/type.d.ts +3 -2
- package/lib/Alert/type.d.ts +6 -5
- package/lib/Anchor/type.d.ts +4 -3
- package/lib/AutoComplete/index.d.ts +65 -2
- package/lib/AutoComplete/index.vue.d.ts +130 -4
- package/lib/AutoComplete/type.d.ts +5 -4
- package/lib/Avatar/AvatarGroup.vue.js +1 -1
- package/lib/Avatar/AvatarGroup.vue2.js +1 -1
- package/lib/Avatar/type.d.ts +4 -4
- package/lib/BackTop/type.d.ts +2 -1
- package/lib/Badge/index.vue.js +1 -1
- package/lib/Badge/index.vue2.js +1 -1
- package/lib/Badge/type.d.ts +3 -3
- package/lib/Breadcrumb/type.d.ts +9 -8
- package/lib/Button/Button.vue.js +1 -1
- package/lib/Button/Button.vue2.js +1 -1
- package/lib/Button/type.d.ts +4 -3
- package/lib/Calendar/type.d.ts +5 -4
- package/lib/Card/type.d.ts +10 -10
- package/lib/Carousel/type.d.ts +3 -2
- package/lib/Cascader/type.d.ts +10 -10
- package/lib/Checkbox/hooks/useContext.d.ts +2 -5
- package/lib/Checkbox/type.d.ts +9 -8
- package/lib/Collapse/type.d.ts +9 -8
- package/lib/Comment/type.d.ts +7 -6
- package/lib/ConfigProvider/index.vue.js +1 -1
- package/lib/ConfigProvider/type.d.ts +5 -4
- package/lib/Descriptions/type.d.ts +9 -9
- package/lib/Divider/type.d.ts +2 -1
- package/lib/Drawer/Drawer.vue.js +1 -1
- package/lib/Drawer/Drawer.vue2.js +1 -1
- package/lib/Drawer/type.d.ts +5 -5
- package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
- package/lib/Dropdown/Dsubmenu.vue.js +1 -1
- package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
- package/lib/Dropdown/index.d.ts +65 -2
- package/lib/Dropdown/type.d.ts +15 -14
- package/lib/Empty/type.d.ts +2 -1
- package/lib/Grid/type.d.ts +6 -5
- package/lib/Icon/type.d.ts +2 -1
- package/lib/Image/type.d.ts +11 -10
- package/lib/Input/hooks/useCursor.d.ts +2 -1
- package/lib/Input/hooks/useCursor.js +1 -1
- package/lib/Input/type.d.ts +6 -5
- package/lib/InputNumber/type.d.ts +8 -8
- package/lib/InputTag/type.d.ts +5 -4
- package/lib/Layout/Layout.vue.js +1 -1
- package/lib/Layout/Layout.vue2.js +1 -1
- package/lib/Layout/type.d.ts +8 -7
- package/lib/Link/type.d.ts +3 -2
- package/lib/List/List.vue.js +1 -1
- package/lib/List/List.vue2.js +1 -1
- package/lib/List/type.d.ts +15 -14
- package/lib/Mention/index.d.ts +65 -2
- package/lib/Mention/index.vue.d.ts +130 -4
- package/lib/Mention/type.d.ts +3 -2
- package/lib/Menu/type.d.ts +11 -10
- package/lib/Message/type.d.ts +1 -1
- package/lib/Modal/Modal.vue.js +1 -1
- package/lib/Modal/Modal.vue2.js +1 -1
- package/lib/Modal/hooks/useModalClose.d.ts +2 -1
- package/lib/Modal/hooks/useModalClose.js +1 -1
- package/lib/Modal/type.d.ts +5 -5
- package/lib/Notification/type.d.ts +1 -1
- package/lib/OverflowList/index.vue.js +1 -1
- package/lib/OverflowList/index.vue2.js +1 -1
- package/lib/OverflowList/type.d.ts +3 -2
- package/lib/PageHeader/type.d.ts +7 -6
- package/lib/Pagination/type.d.ts +8 -8
- package/lib/Popconfirm/index.d.ts +65 -2
- package/lib/Popconfirm/index.vue.d.ts +130 -4
- package/lib/Popconfirm/type.d.ts +4 -4
- package/lib/Popover/type.d.ts +4 -4
- package/lib/Radio/hooks/useContext.d.ts +3 -6
- package/lib/Radio/type.d.ts +9 -8
- package/lib/Rate/type.d.ts +3 -2
- package/lib/ResizeBox/type.d.ts +6 -5
- package/lib/Result/type.d.ts +6 -5
- package/lib/Scrollbar/Scrollbar.vue.js +1 -1
- package/lib/Scrollbar/type.d.ts +2 -2
- package/lib/Select/Select.vue.d.ts +130 -4
- package/lib/Select/SelectView.vue.js +1 -1
- package/lib/Select/SelectView.vue2.js +1 -1
- package/lib/Select/index.d.ts +65 -2
- package/lib/Select/type.d.ts +19 -18
- package/lib/Skeleton/type.d.ts +3 -2
- package/lib/Space/index.vue.js +1 -1
- package/lib/Space/index.vue2.js +1 -1
- package/lib/Space/type.d.ts +3 -2
- package/lib/Spin/index.vue.js +1 -1
- package/lib/Spin/index.vue2.js +1 -1
- package/lib/Spin/type.d.ts +4 -3
- package/lib/Split/type.d.ts +5 -4
- package/lib/Statistic/type.d.ts +7 -7
- package/lib/Steps/type.d.ts +8 -7
- package/lib/Switch/index.vue.js +1 -1
- package/lib/Switch/index.vue2.js +1 -1
- package/lib/Switch/type.d.ts +5 -4
- package/lib/Tabs/Tabs.vue.js +1 -1
- package/lib/Tabs/Tabs.vue2.js +1 -1
- package/lib/Tabs/type.d.ts +5 -4
- package/lib/Tag/type.d.ts +4 -3
- package/lib/TimePicker/type.d.ts +4 -3
- package/lib/Timeline/type.d.ts +6 -5
- package/lib/Tooltip/type.d.ts +3 -3
- package/lib/Transfer/type.d.ts +13 -12
- package/lib/Trigger/hooks/useContext.js +1 -1
- package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
- package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
- package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
- package/lib/Trigger/index.d.ts +63 -2
- package/lib/Trigger/index.vue.d.ts +130 -3
- package/lib/Trigger/index.vue.js +1 -1
- package/lib/Trigger/index.vue2.js +1 -1
- package/lib/Trigger/type.d.ts +3 -3
- package/lib/Typography/type.d.ts +8 -7
- package/lib/Watermark/type.d.ts +2 -1
- package/lib/_shared/type/index.d.ts +1 -6
- package/lib/_shared/utils/dom.d.ts +5 -5
- package/lib/_shared/utils/dom.js +1 -1
- package/lib/_shared/utils/fn.d.ts +3 -3
- package/lib/_shared/utils/fn.js +1 -1
- package/lib/_shared/utils/global-config.d.ts +4 -2
- package/lib/_shared/utils/vue-utils.d.ts +1 -2
- package/lib/_shared/utils/vue-utils.js +1 -1
- package/lib/index.d.ts +66 -3
- package/lib/style.css +1 -1
- package/package.json +2 -2
package/es/Trigger/index.d.ts
CHANGED
@@ -51,7 +51,68 @@ declare const Trigger: {
|
|
51
51
|
preventFocus: boolean;
|
52
52
|
scrollToClose: boolean;
|
53
53
|
needTransformOrigin: boolean;
|
54
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string,
|
54
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
55
|
+
triggerRef: unknown;
|
56
|
+
popupRef: ({
|
57
|
+
$: import('vue').ComponentInternalInstance;
|
58
|
+
$data: {};
|
59
|
+
$props: {
|
60
|
+
readonly preventFocus?: boolean | undefined;
|
61
|
+
readonly tag?: string | undefined;
|
62
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
63
|
+
$attrs: {
|
64
|
+
[x: string]: unknown;
|
65
|
+
};
|
66
|
+
$refs: {
|
67
|
+
[x: string]: unknown;
|
68
|
+
};
|
69
|
+
$slots: Readonly<{
|
70
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
71
|
+
}>;
|
72
|
+
$root: import('vue').ComponentPublicInstance | null;
|
73
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
74
|
+
$host: Element | null;
|
75
|
+
$emit: (event: string, ...args: any[]) => void;
|
76
|
+
$el: any;
|
77
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
78
|
+
preventFocus?: boolean;
|
79
|
+
tag?: string;
|
80
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
81
|
+
preventFocus: boolean;
|
82
|
+
tag: string;
|
83
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
84
|
+
beforeCreate?: (() => void) | (() => void)[];
|
85
|
+
created?: (() => void) | (() => void)[];
|
86
|
+
beforeMount?: (() => void) | (() => void)[];
|
87
|
+
mounted?: (() => void) | (() => void)[];
|
88
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
89
|
+
updated?: (() => void) | (() => void)[];
|
90
|
+
activated?: (() => void) | (() => void)[];
|
91
|
+
deactivated?: (() => void) | (() => void)[];
|
92
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
93
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
94
|
+
destroyed?: (() => void) | (() => void)[];
|
95
|
+
unmounted?: (() => void) | (() => void)[];
|
96
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
97
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
98
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
99
|
+
};
|
100
|
+
$forceUpdate: () => void;
|
101
|
+
$nextTick: typeof import('vue').nextTick;
|
102
|
+
$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;
|
103
|
+
} & Readonly<{
|
104
|
+
preventFocus: boolean;
|
105
|
+
tag: string;
|
106
|
+
}> & Omit<Readonly<{
|
107
|
+
preventFocus?: boolean;
|
108
|
+
tag?: string;
|
109
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
110
|
+
$slots: {
|
111
|
+
default?(_: {}): any;
|
112
|
+
};
|
113
|
+
}) | null;
|
114
|
+
arrowRef: HTMLDivElement;
|
115
|
+
}, any, import('vue').ComponentProvideOptions, {
|
55
116
|
P: {};
|
56
117
|
B: {};
|
57
118
|
D: {};
|
@@ -154,7 +215,7 @@ declare const Trigger: {
|
|
154
215
|
scrollToClose: boolean;
|
155
216
|
needTransformOrigin: boolean;
|
156
217
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
157
|
-
$slots:
|
218
|
+
$slots: Readonly<import('./type').TriggerSlots> & import('./type').TriggerSlots;
|
158
219
|
}) & {
|
159
220
|
install: (app: App) => void;
|
160
221
|
};
|
@@ -1,5 +1,71 @@
|
|
1
|
-
import { TriggerProps } from './type';
|
2
|
-
declare function __VLS_template():
|
1
|
+
import { TriggerProps, TriggerSlots } from './type';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
attrs: Partial<{}>;
|
4
|
+
slots: Readonly<TriggerSlots> & TriggerSlots;
|
5
|
+
refs: {
|
6
|
+
triggerRef: unknown;
|
7
|
+
popupRef: ({
|
8
|
+
$: import('vue').ComponentInternalInstance;
|
9
|
+
$data: {};
|
10
|
+
$props: {
|
11
|
+
readonly preventFocus?: boolean | undefined;
|
12
|
+
readonly tag?: string | undefined;
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
14
|
+
$attrs: {
|
15
|
+
[x: string]: unknown;
|
16
|
+
};
|
17
|
+
$refs: {
|
18
|
+
[x: string]: unknown;
|
19
|
+
};
|
20
|
+
$slots: Readonly<{
|
21
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
22
|
+
}>;
|
23
|
+
$root: import('vue').ComponentPublicInstance | null;
|
24
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
25
|
+
$host: Element | null;
|
26
|
+
$emit: (event: string, ...args: any[]) => void;
|
27
|
+
$el: any;
|
28
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
29
|
+
preventFocus?: boolean;
|
30
|
+
tag?: string;
|
31
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
+
preventFocus: boolean;
|
33
|
+
tag: string;
|
34
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
35
|
+
beforeCreate?: (() => void) | (() => void)[];
|
36
|
+
created?: (() => void) | (() => void)[];
|
37
|
+
beforeMount?: (() => void) | (() => void)[];
|
38
|
+
mounted?: (() => void) | (() => void)[];
|
39
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
40
|
+
updated?: (() => void) | (() => void)[];
|
41
|
+
activated?: (() => void) | (() => void)[];
|
42
|
+
deactivated?: (() => void) | (() => void)[];
|
43
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
44
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
45
|
+
destroyed?: (() => void) | (() => void)[];
|
46
|
+
unmounted?: (() => void) | (() => void)[];
|
47
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
48
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
49
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
50
|
+
};
|
51
|
+
$forceUpdate: () => void;
|
52
|
+
$nextTick: typeof import('vue').nextTick;
|
53
|
+
$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;
|
54
|
+
} & Readonly<{
|
55
|
+
preventFocus: boolean;
|
56
|
+
tag: string;
|
57
|
+
}> & Omit<Readonly<{
|
58
|
+
preventFocus?: boolean;
|
59
|
+
tag?: string;
|
60
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
61
|
+
$slots: {
|
62
|
+
default?(_: {}): any;
|
63
|
+
};
|
64
|
+
}) | null;
|
65
|
+
arrowRef: HTMLDivElement;
|
66
|
+
};
|
67
|
+
rootEl: any;
|
68
|
+
};
|
3
69
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
4
70
|
declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
5
71
|
hide(): void;
|
@@ -49,7 +115,68 @@ declare const __VLS_component: import('vue').DefineComponent<TriggerProps, {
|
|
49
115
|
preventFocus: boolean;
|
50
116
|
scrollToClose: boolean;
|
51
117
|
needTransformOrigin: boolean;
|
52
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false,
|
118
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
119
|
+
triggerRef: unknown;
|
120
|
+
popupRef: ({
|
121
|
+
$: import('vue').ComponentInternalInstance;
|
122
|
+
$data: {};
|
123
|
+
$props: {
|
124
|
+
readonly preventFocus?: boolean | undefined;
|
125
|
+
readonly tag?: string | undefined;
|
126
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
127
|
+
$attrs: {
|
128
|
+
[x: string]: unknown;
|
129
|
+
};
|
130
|
+
$refs: {
|
131
|
+
[x: string]: unknown;
|
132
|
+
};
|
133
|
+
$slots: Readonly<{
|
134
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
135
|
+
}>;
|
136
|
+
$root: import('vue').ComponentPublicInstance | null;
|
137
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
138
|
+
$host: Element | null;
|
139
|
+
$emit: (event: string, ...args: any[]) => void;
|
140
|
+
$el: any;
|
141
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
142
|
+
preventFocus?: boolean;
|
143
|
+
tag?: string;
|
144
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
145
|
+
preventFocus: boolean;
|
146
|
+
tag: string;
|
147
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
148
|
+
beforeCreate?: (() => void) | (() => void)[];
|
149
|
+
created?: (() => void) | (() => void)[];
|
150
|
+
beforeMount?: (() => void) | (() => void)[];
|
151
|
+
mounted?: (() => void) | (() => void)[];
|
152
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
153
|
+
updated?: (() => void) | (() => void)[];
|
154
|
+
activated?: (() => void) | (() => void)[];
|
155
|
+
deactivated?: (() => void) | (() => void)[];
|
156
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
157
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
158
|
+
destroyed?: (() => void) | (() => void)[];
|
159
|
+
unmounted?: (() => void) | (() => void)[];
|
160
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
161
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
162
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
163
|
+
};
|
164
|
+
$forceUpdate: () => void;
|
165
|
+
$nextTick: typeof import('vue').nextTick;
|
166
|
+
$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;
|
167
|
+
} & Readonly<{
|
168
|
+
preventFocus: boolean;
|
169
|
+
tag: string;
|
170
|
+
}> & Omit<Readonly<{
|
171
|
+
preventFocus?: boolean;
|
172
|
+
tag?: string;
|
173
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
174
|
+
$slots: {
|
175
|
+
default?(_: {}): any;
|
176
|
+
};
|
177
|
+
}) | null;
|
178
|
+
arrowRef: HTMLDivElement;
|
179
|
+
}, any>;
|
53
180
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
54
181
|
export default _default;
|
55
182
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/es/Trigger/index.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37d87bda"]]);
|
5
5
|
export {
|
6
6
|
_Trigger as default
|
7
7
|
};
|
package/es/Trigger/index.vue2.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent,
|
1
|
+
import { defineComponent, useSlots, ref, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, unref, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, createCommentVNode, normalizeStyle, normalizeClass, createElementVNode, renderSlot, vShow } from "vue";
|
2
2
|
import "../node_modules/tinycolor2/esm/tinycolor.js";
|
3
3
|
import "../_shared/utils/dom.js";
|
4
4
|
import "../_shared/utils/time.js";
|
@@ -64,13 +64,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
64
64
|
},
|
65
65
|
emits: ["update:popupVisible", "popup-visible-change", "show", "hide"],
|
66
66
|
setup(__props, { expose: __expose, emit: __emit }) {
|
67
|
+
const slots = useSlots();
|
67
68
|
const props = __props;
|
68
69
|
const emits = __emit;
|
69
70
|
const { popupContainer } = getGlobalConfig(props);
|
70
71
|
const popupRef = ref();
|
71
72
|
const triggerRef = ref();
|
72
73
|
const arrowRef = ref();
|
73
|
-
const slots = useSlots();
|
74
74
|
const vNode = computed(() => {
|
75
75
|
var _a;
|
76
76
|
return findFirstLegitChild(((_a = slots.default) == null ? void 0 : _a.call(slots)) || []);
|
package/es/Trigger/type.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CSSProperties } from 'vue';
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
2
2
|
import { ClassName, PopupContainer } from '../_shared/type';
|
3
3
|
export interface TriggerProps {
|
4
4
|
popupVisible?: boolean;
|
@@ -49,8 +49,8 @@ export interface TriggerEmits {
|
|
49
49
|
(e: 'hide'): void;
|
50
50
|
}
|
51
51
|
export interface TriggerSlots {
|
52
|
-
default()
|
53
|
-
content()
|
52
|
+
default?: () => VNode[];
|
53
|
+
content?: () => VNode[];
|
54
54
|
}
|
55
55
|
export interface TriggerExpose {
|
56
56
|
hide(): void;
|
package/es/Typography/type.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TooltipProps } from '../Tooltip';
|
2
|
+
import { VNode } from 'vue';
|
2
3
|
export interface TypographyBaseProps {
|
3
4
|
tag?: string;
|
4
5
|
type?: TypographyType;
|
@@ -30,16 +31,16 @@ export interface TypographyBaseEmits {
|
|
30
31
|
(e: 'expand', expanded: boolean): void;
|
31
32
|
}
|
32
33
|
export interface TypographyBaseSlots {
|
33
|
-
default()
|
34
|
-
|
34
|
+
default?: () => VNode[];
|
35
|
+
'expand-node': (scope: {
|
35
36
|
expanded: boolean;
|
36
|
-
})
|
37
|
-
|
37
|
+
}) => VNode[];
|
38
|
+
'copy-icon': (scope: {
|
38
39
|
copied: boolean;
|
39
|
-
})
|
40
|
-
|
40
|
+
}) => VNode[];
|
41
|
+
'copy-tooltip': (scope: {
|
41
42
|
copied: boolean;
|
42
|
-
})
|
43
|
+
}) => VNode[];
|
43
44
|
}
|
44
45
|
export interface TypographyParagraphProps {
|
45
46
|
blockquote?: boolean;
|
package/es/Watermark/type.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VNode } from 'vue';
|
1
2
|
export interface WatermarkProps {
|
2
3
|
content?: string | string[];
|
3
4
|
image?: string;
|
@@ -23,5 +24,5 @@ export interface WatermarkFont {
|
|
23
24
|
fontWeight?: 'normal' | 'bold' | 'bolder' | 'lighter' | number;
|
24
25
|
}
|
25
26
|
export interface WatermarkSlots {
|
26
|
-
default()
|
27
|
+
default?: () => VNode[];
|
27
28
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { RenderFunction
|
1
|
+
import { RenderFunction } from 'vue';
|
2
2
|
export type Size = 'mini' | 'small' | 'medium' | 'large';
|
3
3
|
export type Direction = 'vertical' | 'horizontal';
|
4
4
|
export type Theme = 'light' | 'dark';
|
@@ -11,8 +11,3 @@ export type ObjectData = Record<string, any>;
|
|
11
11
|
export type RequiredDeep<T> = {
|
12
12
|
[P in keyof T]-?: T[P] extends object ? RequiredDeep<T[P]> : T[P];
|
13
13
|
};
|
14
|
-
export type VueInstance = ComponentPublicInstance;
|
15
|
-
export type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
|
16
|
-
export type MaybeComputedElementRef<T extends MaybeElement = MaybeElement> = MaybeRefOrGetter<T>;
|
17
|
-
export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
|
18
|
-
export type UnRefElementReturn<T extends MaybeElement = MaybeElement> = T extends VueInstance ? Exclude<MaybeElement, VueInstance> : T | undefined;
|
@@ -1,13 +1,13 @@
|
|
1
|
+
import { Ref } from 'vue';
|
1
2
|
import { EllipsisConfig } from '../../Typography/type';
|
2
3
|
import { BreakpointName, ResponsiveValue } from '../../Grid';
|
3
|
-
import { Ref } from 'vue';
|
4
4
|
export declare const isServerRendering: boolean;
|
5
5
|
export declare const querySelector: (selectors: string, container?: Document | HTMLElement) => HTMLElement | undefined;
|
6
6
|
export declare const getElement: (target: string | HTMLElement | undefined, container?: Document | HTMLElement) => HTMLElement | undefined;
|
7
|
-
export declare
|
8
|
-
export declare
|
7
|
+
export declare const getDomText: (dom: Ref<HTMLElement | undefined>) => string;
|
8
|
+
export declare const getBreakpointValue: (breakpoint: BreakpointName, value: string | number | ResponsiveValue, defaultValue?: number | string) => number | string | undefined;
|
9
9
|
export declare const mediaQueryHandler: (onBreakpoint: (breakpoint: BreakpointName, order: Record<string, number>, index: number) => void, queries?: Record<string, string>) => void;
|
10
|
-
export declare
|
10
|
+
export declare const findFirstScrollableParent: (element?: HTMLElement) => HTMLElement | undefined;
|
11
11
|
/**
|
12
12
|
* 计算文本是否需要省略并返回处理后的文本
|
13
13
|
* @param originElement 原始DOM元素,用于获取样式
|
@@ -16,7 +16,7 @@ export declare function findFirstScrollableParent(element?: HTMLElement): HTMLEl
|
|
16
16
|
* @param fullText 完整文本
|
17
17
|
* @returns 返回处理后的文本和是否省略的标志
|
18
18
|
*/
|
19
|
-
export declare
|
19
|
+
export declare const calculateEllipsis: (originElement: HTMLElement, ellipsisConfig: EllipsisConfig | undefined, operations: (HTMLElement | HTMLElement[] | null) | undefined, fullText: string) => {
|
20
20
|
tooltip?: {
|
21
21
|
type?: "tooltip" | "popover" | undefined;
|
22
22
|
props?: Record<string, any> | undefined;
|
package/es/_shared/utils/dom.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
import { isString, isObject, isUndefined } from "./is.js";
|
2
|
-
import { useMediaQuery } from "../../node_modules/@vueuse/core/index.js";
|
3
1
|
import { watch } from "vue";
|
4
|
-
import { unrefElement } from "
|
2
|
+
import { unrefElement, useMediaQuery } from "../../node_modules/@vueuse/core/index.js";
|
3
|
+
import { isString, isObject, isUndefined } from "./is.js";
|
5
4
|
const isServerRendering = (() => {
|
6
5
|
try {
|
7
6
|
return !(typeof window !== "undefined" && document !== void 0);
|
@@ -22,10 +21,10 @@ const getElement = (target, container) => {
|
|
22
21
|
}
|
23
22
|
return target;
|
24
23
|
};
|
25
|
-
|
24
|
+
const getDomText = (dom) => {
|
26
25
|
var _a;
|
27
26
|
return ((_a = unrefElement(dom)) == null ? void 0 : _a.innerText) || "";
|
28
|
-
}
|
27
|
+
};
|
29
28
|
const getMedicaQueryQuerues = () => {
|
30
29
|
return {
|
31
30
|
xs: "(min-width: 0)",
|
@@ -36,7 +35,7 @@ const getMedicaQueryQuerues = () => {
|
|
36
35
|
xxl: "(min-width: 1600px)"
|
37
36
|
};
|
38
37
|
};
|
39
|
-
|
38
|
+
const getBreakpointValue = (breakpoint, value, defaultValue) => {
|
40
39
|
if (!isObject(value)) {
|
41
40
|
return value;
|
42
41
|
}
|
@@ -53,7 +52,7 @@ function getBreakpointValue(breakpoint, value, defaultValue) {
|
|
53
52
|
return value[bp];
|
54
53
|
}
|
55
54
|
return defaultValue;
|
56
|
-
}
|
55
|
+
};
|
57
56
|
const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
58
57
|
const breakpoints = [];
|
59
58
|
const order = {};
|
@@ -74,7 +73,7 @@ const mediaQueryHandler = (onBreakpoint, queries = getMedicaQueryQuerues()) => {
|
|
74
73
|
}
|
75
74
|
);
|
76
75
|
};
|
77
|
-
|
76
|
+
const findFirstScrollableParent = (element) => {
|
78
77
|
if (!element || element === document.body) {
|
79
78
|
return;
|
80
79
|
}
|
@@ -89,7 +88,7 @@ function findFirstScrollableParent(element) {
|
|
89
88
|
}
|
90
89
|
currentElement = currentElement.parentElement;
|
91
90
|
}
|
92
|
-
}
|
91
|
+
};
|
93
92
|
export {
|
94
93
|
findFirstScrollableParent,
|
95
94
|
getBreakpointValue,
|
package/es/_shared/utils/fn.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare const sleep: (ms: number) => Promise<unknown>;
|
2
|
-
export declare
|
2
|
+
export declare const throttleByRaf: (cb: (...args: any[]) => void) => {
|
3
3
|
(...args: any[]): void;
|
4
4
|
cancel(): void;
|
5
5
|
};
|
6
|
-
export declare
|
7
|
-
export declare
|
6
|
+
export declare const debounce: (func: (...args: any) => void, delay: number, immediate?: boolean) => (this: any, ...args: any) => void;
|
7
|
+
export declare const throttle: (fn: (...args: any) => void, delay: number) => (this: any, ...args: any) => void;
|
8
8
|
export declare const valueToPx: (value: string | number | undefined) => string;
|
package/es/_shared/utils/fn.js
CHANGED
@@ -6,7 +6,7 @@ const sleep = (ms) => {
|
|
6
6
|
}, ms);
|
7
7
|
});
|
8
8
|
};
|
9
|
-
|
9
|
+
const throttleByRaf = (cb) => {
|
10
10
|
let timer = 0;
|
11
11
|
const throttle2 = (...args) => {
|
12
12
|
if (timer) {
|
@@ -22,8 +22,8 @@ function throttleByRaf(cb) {
|
|
22
22
|
timer = 0;
|
23
23
|
};
|
24
24
|
return throttle2;
|
25
|
-
}
|
26
|
-
|
25
|
+
};
|
26
|
+
const debounce = (func, delay, immediate = false) => {
|
27
27
|
let timer = null;
|
28
28
|
let isInvoked = false;
|
29
29
|
return function(...args) {
|
@@ -40,8 +40,8 @@ function debounce(func, delay, immediate = false) {
|
|
40
40
|
isInvoked = false;
|
41
41
|
}, delay);
|
42
42
|
};
|
43
|
-
}
|
44
|
-
|
43
|
+
};
|
44
|
+
const throttle = (fn, delay) => {
|
45
45
|
let lastTime = 0;
|
46
46
|
let timeoutId = null;
|
47
47
|
return function(...args) {
|
@@ -62,7 +62,7 @@ function throttle(fn, delay) {
|
|
62
62
|
}, remaining);
|
63
63
|
}
|
64
64
|
};
|
65
|
-
}
|
65
|
+
};
|
66
66
|
const valueToPx = (value) => {
|
67
67
|
const numberReg = /^-?\d+(\.\d+)?$/;
|
68
68
|
if (isNumber(value) || isString(value) && numberReg.test(value)) {
|
@@ -21,8 +21,10 @@ export declare const getGlobalConfig: (props?: Props) => {
|
|
21
21
|
exchangeTime: Ref<any, any>;
|
22
22
|
renderEmpty: (name: EmptyComponent) => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
23
23
|
[key: string]: any;
|
24
|
-
}> | (() =>
|
24
|
+
}> | (() => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
25
|
+
[key: string]: any;
|
26
|
+
}>[] | undefined);
|
25
27
|
renderLoading: () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
26
28
|
[key: string]: any;
|
27
|
-
}> | (() =>
|
29
|
+
}> | (() => VNode[]);
|
28
30
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import { RenderContent, ObjectData
|
1
|
+
import { RenderContent, ObjectData } from '../type';
|
2
2
|
import { VNode } from 'vue';
|
3
3
|
export declare const getSlotFunction: (param: RenderContent | undefined) => import('vue').RenderFunction | (() => string | ObjectData[]) | undefined;
|
4
4
|
export declare function isVifNode(vnode: VNode | undefined | null): boolean;
|
5
5
|
export declare function findFirstLegitChild(node: VNode[] | undefined): VNode | null;
|
6
6
|
export declare function findComponentsFromVnodes(vnodes: VNode[], name: string): ObjectData[];
|
7
|
-
export declare function unrefElement<T extends MaybeElement>(elRef: MaybeComputedElementRef<T>): UnRefElementReturn<T>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { isVNode, Fragment, Text, Comment,
|
1
|
+
import { isVNode, Fragment, Text, Comment, h } from "vue";
|
2
2
|
import { isObject, isFunction } from "./is.js";
|
3
3
|
const getSlotFunction = (param) => {
|
4
4
|
if (param) {
|
@@ -67,13 +67,8 @@ function findComponentsFromVnodes(vnodes, name) {
|
|
67
67
|
traverse(vnodes);
|
68
68
|
return result;
|
69
69
|
}
|
70
|
-
function unrefElement(elRef) {
|
71
|
-
const plain = toValue(elRef);
|
72
|
-
return (plain == null ? void 0 : plain.$el) ?? plain;
|
73
|
-
}
|
74
70
|
export {
|
75
71
|
findComponentsFromVnodes,
|
76
72
|
findFirstLegitChild,
|
77
|
-
getSlotFunction
|
78
|
-
unrefElement
|
73
|
+
getSlotFunction
|
79
74
|
};
|
package/es/index.d.ts
CHANGED
@@ -68,7 +68,6 @@ import { default as Tabs } from './Tabs';
|
|
68
68
|
import { default as VerificationCode } from './VerificationCode';
|
69
69
|
import { default as Watermark } from './Watermark';
|
70
70
|
export type { Size, Direction, Theme, TargetContainer, PopupContainer, } from './_shared/type';
|
71
|
-
export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Icon, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, VerificationCode, Watermark, };
|
72
71
|
export * from './Affix';
|
73
72
|
export * from './Alert';
|
74
73
|
export * from './Anchor';
|
@@ -137,6 +136,7 @@ export * from './Typography';
|
|
137
136
|
export * from './Tabs';
|
138
137
|
export * from './VerificationCode';
|
139
138
|
export * from './Watermark';
|
139
|
+
export { Affix, Alert, Anchor, AutoComplete, Avatar, BackTop, Badge, Button, Breadcrumb, Card, Calendar, Carousel, Checkbox, Collapse, ColorPicker, Cascader, Comment, ConfigProvider, Descriptions, Divider, Drawer, Dropdown, Empty, Grid, Icon, Image, Input, InputNumber, InputTag, Layout, Link, List, Menu, Mention, Modal, Message, Notification, OverflowList, PageHeader, Pagination, Popconfirm, Popover, Progress, Radio, Rate, ResizeBox, Result, Scrollbar, Select, Skeleton, Slider, Space, Split, Statistic, Steps, Spin, Switch, Tag, Timeline, Textarea, TimePicker, Tooltip, Transfer, Trigger, Typography, Tabs, VerificationCode, Watermark, };
|
140
140
|
export declare const components: Record<string, Plugin>;
|
141
141
|
declare const _default: {
|
142
142
|
AnchorLink: {
|
@@ -678,7 +678,70 @@ declare const _default: {
|
|
678
678
|
$attrs: {
|
679
679
|
[x: string]: unknown;
|
680
680
|
};
|
681
|
-
$refs:
|
681
|
+
$refs: {
|
682
|
+
[x: string]: unknown;
|
683
|
+
} & {
|
684
|
+
triggerRef: unknown;
|
685
|
+
popupRef: ({
|
686
|
+
$: import('vue').ComponentInternalInstance;
|
687
|
+
$data: {};
|
688
|
+
$props: {
|
689
|
+
readonly preventFocus?: boolean | undefined;
|
690
|
+
readonly tag?: string | undefined;
|
691
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
692
|
+
$attrs: {
|
693
|
+
[x: string]: unknown;
|
694
|
+
};
|
695
|
+
$refs: {
|
696
|
+
[x: string]: unknown;
|
697
|
+
};
|
698
|
+
$slots: Readonly<{
|
699
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
700
|
+
}>;
|
701
|
+
$root: import('vue').ComponentPublicInstance | null;
|
702
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
703
|
+
$host: Element | null;
|
704
|
+
$emit: (event: string, ...args: any[]) => void;
|
705
|
+
$el: any;
|
706
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
707
|
+
preventFocus?: boolean;
|
708
|
+
tag?: string;
|
709
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
710
|
+
preventFocus: boolean;
|
711
|
+
tag: string;
|
712
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
713
|
+
beforeCreate?: (() => void) | (() => void)[];
|
714
|
+
created?: (() => void) | (() => void)[];
|
715
|
+
beforeMount?: (() => void) | (() => void)[];
|
716
|
+
mounted?: (() => void) | (() => void)[];
|
717
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
718
|
+
updated?: (() => void) | (() => void)[];
|
719
|
+
activated?: (() => void) | (() => void)[];
|
720
|
+
deactivated?: (() => void) | (() => void)[];
|
721
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
722
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
723
|
+
destroyed?: (() => void) | (() => void)[];
|
724
|
+
unmounted?: (() => void) | (() => void)[];
|
725
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
726
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
727
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
728
|
+
};
|
729
|
+
$forceUpdate: () => void;
|
730
|
+
$nextTick: typeof import('vue').nextTick;
|
731
|
+
$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;
|
732
|
+
} & Readonly<{
|
733
|
+
preventFocus: boolean;
|
734
|
+
tag: string;
|
735
|
+
}> & Omit<Readonly<{
|
736
|
+
preventFocus?: boolean;
|
737
|
+
tag?: string;
|
738
|
+
}> & Readonly<{}>, "preventFocus" | "tag"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
739
|
+
$slots: {
|
740
|
+
default?(_: {}): any;
|
741
|
+
};
|
742
|
+
}) | null;
|
743
|
+
arrowRef: HTMLDivElement;
|
744
|
+
};
|
682
745
|
$slots: Readonly<{
|
683
746
|
[name: string]: import('vue').Slot<any> | undefined;
|
684
747
|
}>;
|
@@ -799,7 +862,7 @@ declare const _default: {
|
|
799
862
|
show(): void;
|
800
863
|
updatePosition(x: number, y: number): void;
|
801
864
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
802
|
-
$slots:
|
865
|
+
$slots: Readonly<import('./Trigger').TriggerSlots> & import('./Trigger').TriggerSlots;
|
803
866
|
}) | null;
|
804
867
|
optionRef: ({
|
805
868
|
$: import('vue').ComponentInternalInstance;
|