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.
Files changed (255) hide show
  1. package/es/Affix/type.d.ts +3 -2
  2. package/es/Alert/type.d.ts +6 -5
  3. package/es/Anchor/type.d.ts +4 -3
  4. package/es/AutoComplete/index.d.ts +65 -2
  5. package/es/AutoComplete/index.vue.d.ts +130 -4
  6. package/es/AutoComplete/type.d.ts +5 -4
  7. package/es/Avatar/AvatarGroup.vue.js +1 -1
  8. package/es/Avatar/AvatarGroup.vue2.js +2 -2
  9. package/es/Avatar/type.d.ts +4 -4
  10. package/es/BackTop/type.d.ts +2 -1
  11. package/es/Badge/index.vue.js +1 -1
  12. package/es/Badge/index.vue2.js +2 -2
  13. package/es/Badge/type.d.ts +3 -3
  14. package/es/Breadcrumb/type.d.ts +9 -8
  15. package/es/Button/Button.vue.js +1 -1
  16. package/es/Button/Button.vue2.js +2 -2
  17. package/es/Button/type.d.ts +4 -3
  18. package/es/Calendar/type.d.ts +5 -4
  19. package/es/Card/type.d.ts +10 -10
  20. package/es/Carousel/type.d.ts +3 -2
  21. package/es/Cascader/type.d.ts +10 -10
  22. package/es/Checkbox/hooks/useContext.d.ts +2 -5
  23. package/es/Checkbox/type.d.ts +9 -8
  24. package/es/Collapse/type.d.ts +9 -8
  25. package/es/Comment/type.d.ts +7 -6
  26. package/es/ConfigProvider/index.vue.js +2 -2
  27. package/es/ConfigProvider/type.d.ts +5 -4
  28. package/es/Descriptions/type.d.ts +9 -9
  29. package/es/Divider/type.d.ts +2 -1
  30. package/es/Drawer/Drawer.vue.js +1 -1
  31. package/es/Drawer/Drawer.vue2.js +6 -7
  32. package/es/Drawer/type.d.ts +5 -5
  33. package/es/Dropdown/Dsubmenu.vue.d.ts +130 -4
  34. package/es/Dropdown/Dsubmenu.vue.js +1 -1
  35. package/es/Dropdown/Dsubmenu.vue2.js +2 -2
  36. package/es/Dropdown/index.d.ts +65 -2
  37. package/es/Dropdown/type.d.ts +15 -14
  38. package/es/Empty/type.d.ts +2 -1
  39. package/es/Grid/type.d.ts +6 -5
  40. package/es/Icon/type.d.ts +2 -1
  41. package/es/Image/type.d.ts +11 -10
  42. package/es/Input/hooks/useCursor.d.ts +2 -1
  43. package/es/Input/hooks/useCursor.js +2 -2
  44. package/es/Input/type.d.ts +6 -5
  45. package/es/InputNumber/type.d.ts +8 -8
  46. package/es/InputTag/type.d.ts +5 -4
  47. package/es/Layout/Layout.vue.js +1 -1
  48. package/es/Layout/Layout.vue2.js +2 -2
  49. package/es/Layout/type.d.ts +8 -7
  50. package/es/Link/type.d.ts +3 -2
  51. package/es/List/List.vue.js +1 -1
  52. package/es/List/List.vue2.js +1 -1
  53. package/es/List/type.d.ts +15 -14
  54. package/es/Mention/index.d.ts +65 -2
  55. package/es/Mention/index.vue.d.ts +130 -4
  56. package/es/Mention/type.d.ts +3 -2
  57. package/es/Menu/type.d.ts +11 -10
  58. package/es/Message/type.d.ts +1 -1
  59. package/es/Modal/Modal.vue.js +1 -1
  60. package/es/Modal/Modal.vue2.js +4 -6
  61. package/es/Modal/hooks/useModalClose.d.ts +2 -1
  62. package/es/Modal/hooks/useModalClose.js +1 -6
  63. package/es/Modal/type.d.ts +5 -5
  64. package/es/Notification/type.d.ts +1 -1
  65. package/es/OverflowList/index.vue.js +1 -1
  66. package/es/OverflowList/index.vue2.js +4 -4
  67. package/es/OverflowList/type.d.ts +3 -2
  68. package/es/PageHeader/type.d.ts +7 -6
  69. package/es/Pagination/type.d.ts +8 -8
  70. package/es/Popconfirm/index.d.ts +65 -2
  71. package/es/Popconfirm/index.vue.d.ts +130 -4
  72. package/es/Popconfirm/type.d.ts +4 -4
  73. package/es/Popover/type.d.ts +4 -4
  74. package/es/Radio/hooks/useContext.d.ts +3 -6
  75. package/es/Radio/type.d.ts +9 -8
  76. package/es/Rate/type.d.ts +3 -2
  77. package/es/ResizeBox/type.d.ts +6 -5
  78. package/es/Result/type.d.ts +6 -5
  79. package/es/Scrollbar/Scrollbar.vue.js +1 -1
  80. package/es/Scrollbar/type.d.ts +2 -2
  81. package/es/Select/Select.vue.d.ts +130 -4
  82. package/es/Select/SelectView.vue.js +1 -1
  83. package/es/Select/SelectView.vue2.js +1 -1
  84. package/es/Select/index.d.ts +65 -2
  85. package/es/Select/type.d.ts +19 -18
  86. package/es/Skeleton/type.d.ts +3 -2
  87. package/es/Space/index.vue.js +1 -1
  88. package/es/Space/index.vue2.js +2 -2
  89. package/es/Space/type.d.ts +3 -2
  90. package/es/Spin/index.vue.js +1 -1
  91. package/es/Spin/index.vue2.js +1 -1
  92. package/es/Spin/type.d.ts +4 -3
  93. package/es/Split/type.d.ts +5 -4
  94. package/es/Statistic/type.d.ts +7 -7
  95. package/es/Steps/type.d.ts +8 -7
  96. package/es/Switch/index.vue.js +1 -1
  97. package/es/Switch/index.vue2.js +3 -3
  98. package/es/Switch/type.d.ts +5 -4
  99. package/es/Tabs/Tabs.vue.js +1 -1
  100. package/es/Tabs/Tabs.vue2.js +2 -2
  101. package/es/Tabs/type.d.ts +5 -4
  102. package/es/Tag/type.d.ts +4 -3
  103. package/es/TimePicker/type.d.ts +4 -3
  104. package/es/Timeline/type.d.ts +6 -5
  105. package/es/Tooltip/type.d.ts +3 -3
  106. package/es/Transfer/type.d.ts +13 -12
  107. package/es/Trigger/hooks/useContext.js +1 -1
  108. package/es/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  109. package/es/Trigger/hooks/useTriggerPosition.js +12 -22
  110. package/es/Trigger/hooks/useTriggerVisible.js +1 -2
  111. package/es/Trigger/index.d.ts +63 -2
  112. package/es/Trigger/index.vue.d.ts +130 -3
  113. package/es/Trigger/index.vue.js +1 -1
  114. package/es/Trigger/index.vue2.js +2 -2
  115. package/es/Trigger/type.d.ts +3 -3
  116. package/es/Typography/type.d.ts +8 -7
  117. package/es/Watermark/type.d.ts +2 -1
  118. package/es/_shared/type/index.d.ts +1 -6
  119. package/es/_shared/utils/dom.d.ts +5 -5
  120. package/es/_shared/utils/dom.js +8 -9
  121. package/es/_shared/utils/fn.d.ts +3 -3
  122. package/es/_shared/utils/fn.js +6 -6
  123. package/es/_shared/utils/global-config.d.ts +4 -2
  124. package/es/_shared/utils/vue-utils.d.ts +1 -2
  125. package/es/_shared/utils/vue-utils.js +2 -7
  126. package/es/index.d.ts +66 -3
  127. package/es/style.css +1 -1
  128. package/lib/Affix/type.d.ts +3 -2
  129. package/lib/Alert/type.d.ts +6 -5
  130. package/lib/Anchor/type.d.ts +4 -3
  131. package/lib/AutoComplete/index.d.ts +65 -2
  132. package/lib/AutoComplete/index.vue.d.ts +130 -4
  133. package/lib/AutoComplete/type.d.ts +5 -4
  134. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  135. package/lib/Avatar/AvatarGroup.vue2.js +1 -1
  136. package/lib/Avatar/type.d.ts +4 -4
  137. package/lib/BackTop/type.d.ts +2 -1
  138. package/lib/Badge/index.vue.js +1 -1
  139. package/lib/Badge/index.vue2.js +1 -1
  140. package/lib/Badge/type.d.ts +3 -3
  141. package/lib/Breadcrumb/type.d.ts +9 -8
  142. package/lib/Button/Button.vue.js +1 -1
  143. package/lib/Button/Button.vue2.js +1 -1
  144. package/lib/Button/type.d.ts +4 -3
  145. package/lib/Calendar/type.d.ts +5 -4
  146. package/lib/Card/type.d.ts +10 -10
  147. package/lib/Carousel/type.d.ts +3 -2
  148. package/lib/Cascader/type.d.ts +10 -10
  149. package/lib/Checkbox/hooks/useContext.d.ts +2 -5
  150. package/lib/Checkbox/type.d.ts +9 -8
  151. package/lib/Collapse/type.d.ts +9 -8
  152. package/lib/Comment/type.d.ts +7 -6
  153. package/lib/ConfigProvider/index.vue.js +1 -1
  154. package/lib/ConfigProvider/type.d.ts +5 -4
  155. package/lib/Descriptions/type.d.ts +9 -9
  156. package/lib/Divider/type.d.ts +2 -1
  157. package/lib/Drawer/Drawer.vue.js +1 -1
  158. package/lib/Drawer/Drawer.vue2.js +1 -1
  159. package/lib/Drawer/type.d.ts +5 -5
  160. package/lib/Dropdown/Dsubmenu.vue.d.ts +130 -4
  161. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  162. package/lib/Dropdown/Dsubmenu.vue2.js +1 -1
  163. package/lib/Dropdown/index.d.ts +65 -2
  164. package/lib/Dropdown/type.d.ts +15 -14
  165. package/lib/Empty/type.d.ts +2 -1
  166. package/lib/Grid/type.d.ts +6 -5
  167. package/lib/Icon/type.d.ts +2 -1
  168. package/lib/Image/type.d.ts +11 -10
  169. package/lib/Input/hooks/useCursor.d.ts +2 -1
  170. package/lib/Input/hooks/useCursor.js +1 -1
  171. package/lib/Input/type.d.ts +6 -5
  172. package/lib/InputNumber/type.d.ts +8 -8
  173. package/lib/InputTag/type.d.ts +5 -4
  174. package/lib/Layout/Layout.vue.js +1 -1
  175. package/lib/Layout/Layout.vue2.js +1 -1
  176. package/lib/Layout/type.d.ts +8 -7
  177. package/lib/Link/type.d.ts +3 -2
  178. package/lib/List/List.vue.js +1 -1
  179. package/lib/List/List.vue2.js +1 -1
  180. package/lib/List/type.d.ts +15 -14
  181. package/lib/Mention/index.d.ts +65 -2
  182. package/lib/Mention/index.vue.d.ts +130 -4
  183. package/lib/Mention/type.d.ts +3 -2
  184. package/lib/Menu/type.d.ts +11 -10
  185. package/lib/Message/type.d.ts +1 -1
  186. package/lib/Modal/Modal.vue.js +1 -1
  187. package/lib/Modal/Modal.vue2.js +1 -1
  188. package/lib/Modal/hooks/useModalClose.d.ts +2 -1
  189. package/lib/Modal/hooks/useModalClose.js +1 -1
  190. package/lib/Modal/type.d.ts +5 -5
  191. package/lib/Notification/type.d.ts +1 -1
  192. package/lib/OverflowList/index.vue.js +1 -1
  193. package/lib/OverflowList/index.vue2.js +1 -1
  194. package/lib/OverflowList/type.d.ts +3 -2
  195. package/lib/PageHeader/type.d.ts +7 -6
  196. package/lib/Pagination/type.d.ts +8 -8
  197. package/lib/Popconfirm/index.d.ts +65 -2
  198. package/lib/Popconfirm/index.vue.d.ts +130 -4
  199. package/lib/Popconfirm/type.d.ts +4 -4
  200. package/lib/Popover/type.d.ts +4 -4
  201. package/lib/Radio/hooks/useContext.d.ts +3 -6
  202. package/lib/Radio/type.d.ts +9 -8
  203. package/lib/Rate/type.d.ts +3 -2
  204. package/lib/ResizeBox/type.d.ts +6 -5
  205. package/lib/Result/type.d.ts +6 -5
  206. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  207. package/lib/Scrollbar/type.d.ts +2 -2
  208. package/lib/Select/Select.vue.d.ts +130 -4
  209. package/lib/Select/SelectView.vue.js +1 -1
  210. package/lib/Select/SelectView.vue2.js +1 -1
  211. package/lib/Select/index.d.ts +65 -2
  212. package/lib/Select/type.d.ts +19 -18
  213. package/lib/Skeleton/type.d.ts +3 -2
  214. package/lib/Space/index.vue.js +1 -1
  215. package/lib/Space/index.vue2.js +1 -1
  216. package/lib/Space/type.d.ts +3 -2
  217. package/lib/Spin/index.vue.js +1 -1
  218. package/lib/Spin/index.vue2.js +1 -1
  219. package/lib/Spin/type.d.ts +4 -3
  220. package/lib/Split/type.d.ts +5 -4
  221. package/lib/Statistic/type.d.ts +7 -7
  222. package/lib/Steps/type.d.ts +8 -7
  223. package/lib/Switch/index.vue.js +1 -1
  224. package/lib/Switch/index.vue2.js +1 -1
  225. package/lib/Switch/type.d.ts +5 -4
  226. package/lib/Tabs/Tabs.vue.js +1 -1
  227. package/lib/Tabs/Tabs.vue2.js +1 -1
  228. package/lib/Tabs/type.d.ts +5 -4
  229. package/lib/Tag/type.d.ts +4 -3
  230. package/lib/TimePicker/type.d.ts +4 -3
  231. package/lib/Timeline/type.d.ts +6 -5
  232. package/lib/Tooltip/type.d.ts +3 -3
  233. package/lib/Transfer/type.d.ts +13 -12
  234. package/lib/Trigger/hooks/useContext.js +1 -1
  235. package/lib/Trigger/hooks/useTriggerPosition.d.ts +2 -2
  236. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  237. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  238. package/lib/Trigger/index.d.ts +63 -2
  239. package/lib/Trigger/index.vue.d.ts +130 -3
  240. package/lib/Trigger/index.vue.js +1 -1
  241. package/lib/Trigger/index.vue2.js +1 -1
  242. package/lib/Trigger/type.d.ts +3 -3
  243. package/lib/Typography/type.d.ts +8 -7
  244. package/lib/Watermark/type.d.ts +2 -1
  245. package/lib/_shared/type/index.d.ts +1 -6
  246. package/lib/_shared/utils/dom.d.ts +5 -5
  247. package/lib/_shared/utils/dom.js +1 -1
  248. package/lib/_shared/utils/fn.d.ts +3 -3
  249. package/lib/_shared/utils/fn.js +1 -1
  250. package/lib/_shared/utils/global-config.d.ts +4 -2
  251. package/lib/_shared/utils/vue-utils.d.ts +1 -2
  252. package/lib/_shared/utils/vue-utils.js +1 -1
  253. package/lib/index.d.ts +66 -3
  254. package/lib/style.css +1 -1
  255. package/package.json +2 -2
@@ -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, any, any, import('vue').ComponentProvideOptions, {
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: any;
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(): any;
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, any, any>;
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 & {
@@ -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-50a0af7f"]]);
4
+ const _Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37d87bda"]]);
5
5
  export {
6
6
  _Trigger as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, useSlots, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, unref, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, createCommentVNode, normalizeStyle, normalizeClass, createElementVNode, renderSlot, vShow } from "vue";
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)) || []);
@@ -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(): void;
53
- content(): void;
52
+ default?: () => VNode[];
53
+ content?: () => VNode[];
54
54
  }
55
55
  export interface TriggerExpose {
56
56
  hide(): void;
@@ -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(): void;
34
- ['expand-node'](scope: {
34
+ default?: () => VNode[];
35
+ 'expand-node': (scope: {
35
36
  expanded: boolean;
36
- }): void;
37
- ['copy-icon'](scope: {
37
+ }) => VNode[];
38
+ 'copy-icon': (scope: {
38
39
  copied: boolean;
39
- }): void;
40
- ['copy-tooltip'](scope: {
40
+ }) => VNode[];
41
+ 'copy-tooltip': (scope: {
41
42
  copied: boolean;
42
- }): void;
43
+ }) => VNode[];
43
44
  }
44
45
  export interface TypographyParagraphProps {
45
46
  blockquote?: boolean;
@@ -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(): void;
27
+ default?: () => VNode[];
27
28
  }
@@ -1,4 +1,4 @@
1
- import { RenderFunction, ComponentPublicInstance, MaybeRef, MaybeRefOrGetter } from 'vue';
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 function getDomText(dom: Ref<HTMLElement | undefined>): string;
8
- export declare function getBreakpointValue(breakpoint: BreakpointName, value: string | number | ResponsiveValue, defaultValue?: number | string): number | string | undefined;
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 function findFirstScrollableParent(element?: HTMLElement): HTMLElement | undefined;
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 function calculateEllipsis(originElement: HTMLElement, ellipsisConfig: EllipsisConfig | undefined, operations: (HTMLElement | HTMLElement[] | null) | undefined, fullText: string): {
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;
@@ -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 "./vue-utils.js";
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
- function getDomText(dom) {
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
- function getBreakpointValue(breakpoint, value, defaultValue) {
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
- function findFirstScrollableParent(element) {
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,
@@ -1,8 +1,8 @@
1
1
  export declare const sleep: (ms: number) => Promise<unknown>;
2
- export declare function throttleByRaf(cb: (...args: any[]) => void): {
2
+ export declare const throttleByRaf: (cb: (...args: any[]) => void) => {
3
3
  (...args: any[]): void;
4
4
  cancel(): void;
5
5
  };
6
- export declare function debounce<T extends (...args: any[]) => any>(func: T, delay: number, immediate?: boolean): (...args: Parameters<T>) => void;
7
- export declare function throttle<T extends (...args: any[]) => any>(fn: T, delay: number): (...args: Parameters<T>) => void;
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;
@@ -6,7 +6,7 @@ const sleep = (ms) => {
6
6
  }, ms);
7
7
  });
8
8
  };
9
- function throttleByRaf(cb) {
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
- function debounce(func, delay, immediate = false) {
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
- function throttle(fn, delay) {
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
- }> | (() => void | undefined);
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
- }> | (() => void);
29
+ }> | (() => VNode[]);
28
30
  };
@@ -1,7 +1,6 @@
1
- import { RenderContent, ObjectData, MaybeElement, MaybeComputedElementRef, UnRefElementReturn } from '../type';
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, toValue, h } from "vue";
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: any;
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: any;
865
+ $slots: Readonly<import('./Trigger').TriggerSlots> & import('./Trigger').TriggerSlots;
803
866
  }) | null;
804
867
  optionRef: ({
805
868
  $: import('vue').ComponentInternalInstance;