@destyler/hover-card 0.0.3 → 0.0.5
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 +7 -0
- package/dist/component.cjs +124 -154
- package/dist/component.d.cts +247 -98
- package/dist/component.d.mts +247 -98
- package/dist/component.d.ts +247 -98
- package/dist/component.mjs +114 -153
- package/dist/index.cjs +12 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -2
- package/dist/resolver.cjs +10 -6
- package/dist/resolver.d.cts +3 -3
- package/dist/resolver.d.mts +3 -3
- package/dist/resolver.d.ts +3 -3
- package/dist/resolver.mjs +9 -5
- package/dist/shared/hover-card.c926f135.d.cts +843 -0
- package/dist/shared/hover-card.c926f135.d.mts +843 -0
- package/dist/shared/hover-card.c926f135.d.ts +843 -0
- package/package.json +18 -20
- package/dist/shared/hover-card.32cad1f6.d.cts +0 -546
- package/dist/shared/hover-card.32cad1f6.d.mts +0 -546
- package/dist/shared/hover-card.32cad1f6.d.ts +0 -546
package/dist/component.d.cts
CHANGED
|
@@ -1,274 +1,423 @@
|
|
|
1
|
-
import { H as HoverCardRootContext } from './shared/hover-card.
|
|
2
|
-
export {
|
|
1
|
+
import { H as HoverCardRootContext } from './shared/hover-card.c926f135.cjs';
|
|
2
|
+
export { a as HoverCardArrow, b as HoverCardArrowProps, c as HoverCardContent, f as HoverCardContentProps, g as HoverCardPortal, j as HoverCardPortalProps, k as HoverCardRoot, n as HoverCardRootProps, o as HoverCardTrigger, q as HoverCardTriggerProps, h as hoverCardArrowProps, e as hoverCardContentEmits, d as hoverCardContentProps, i as hoverCardPortalProps, m as hoverCardRootEmits, l as hoverCardRootProps, p as hoverCardTriggerProps } from './shared/hover-card.c926f135.cjs';
|
|
3
|
+
import * as _vue_shared from '@vue/shared';
|
|
4
|
+
import * as _destyler_primitive from '@destyler/primitive';
|
|
3
5
|
import * as vue from 'vue';
|
|
4
|
-
import { PropType, Component } from 'vue';
|
|
5
|
-
import * as _destyler_shared from '@destyler/shared';
|
|
6
6
|
import { ExtractPublicPropTypes } from '@destyler/shared';
|
|
7
|
-
import * as _vue_shared from '@vue/shared';
|
|
8
|
-
import { AsTag } from '@destyler/primitive';
|
|
9
7
|
|
|
10
|
-
declare const
|
|
11
|
-
readonly as: {
|
|
12
|
-
readonly type: PropType<AsTag | Component>;
|
|
13
|
-
readonly required: false;
|
|
14
|
-
readonly default: "div";
|
|
15
|
-
};
|
|
16
|
-
readonly asChild: {
|
|
17
|
-
readonly type: PropType<boolean>;
|
|
18
|
-
readonly required: false;
|
|
19
|
-
readonly default: false;
|
|
20
|
-
};
|
|
8
|
+
declare const hoverCardContentImplProps: {
|
|
21
9
|
readonly side: {
|
|
22
|
-
readonly type: PropType<"top" | "right" | "bottom" | "left">;
|
|
10
|
+
readonly type: vue.PropType<"top" | "right" | "bottom" | "left">;
|
|
23
11
|
readonly required: false;
|
|
24
12
|
readonly default: "bottom";
|
|
25
13
|
};
|
|
26
14
|
readonly sideOffset: {
|
|
27
|
-
readonly type: PropType<number>;
|
|
15
|
+
readonly type: vue.PropType<number>;
|
|
28
16
|
readonly required: false;
|
|
29
17
|
readonly default: 0;
|
|
30
18
|
};
|
|
31
19
|
readonly align: {
|
|
32
|
-
readonly type: PropType<"start" | "center" | "end">;
|
|
20
|
+
readonly type: vue.PropType<"start" | "center" | "end">;
|
|
33
21
|
readonly required: false;
|
|
34
22
|
readonly default: "center";
|
|
35
23
|
};
|
|
36
24
|
readonly alignOffset: {
|
|
37
|
-
readonly type: PropType<number>;
|
|
25
|
+
readonly type: vue.PropType<number>;
|
|
38
26
|
readonly required: false;
|
|
39
27
|
readonly default: 0;
|
|
40
28
|
};
|
|
41
29
|
readonly avoidCollisions: {
|
|
42
|
-
readonly type: PropType<boolean>;
|
|
30
|
+
readonly type: vue.PropType<boolean>;
|
|
43
31
|
readonly required: false;
|
|
44
32
|
readonly default: true;
|
|
45
33
|
};
|
|
46
34
|
readonly collisionBoundary: {
|
|
47
|
-
readonly type: PropType<Element | (Element | null)[] | null>;
|
|
35
|
+
readonly type: vue.PropType<Element | (Element | null)[] | null>;
|
|
48
36
|
readonly required: false;
|
|
49
37
|
readonly default: () => never[];
|
|
50
38
|
};
|
|
51
39
|
readonly collisionPadding: {
|
|
52
|
-
readonly type: PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
40
|
+
readonly type: vue.PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
53
41
|
readonly required: false;
|
|
54
42
|
readonly default: 0;
|
|
55
43
|
};
|
|
56
44
|
readonly arrowPadding: {
|
|
57
|
-
readonly type: PropType<number>;
|
|
45
|
+
readonly type: vue.PropType<number>;
|
|
58
46
|
readonly required: false;
|
|
59
47
|
readonly default: 0;
|
|
60
48
|
};
|
|
61
49
|
readonly sticky: {
|
|
62
|
-
readonly type: PropType<"partial" | "always">;
|
|
50
|
+
readonly type: vue.PropType<"partial" | "always">;
|
|
63
51
|
readonly required: false;
|
|
64
52
|
readonly default: "partial";
|
|
65
53
|
};
|
|
66
54
|
readonly hideWhenDetached: {
|
|
67
|
-
readonly type: PropType<boolean>;
|
|
55
|
+
readonly type: vue.PropType<boolean>;
|
|
68
56
|
readonly required: false;
|
|
69
57
|
readonly default: false;
|
|
70
58
|
};
|
|
71
59
|
readonly updatePositionStrategy: {
|
|
72
|
-
readonly type: PropType<"
|
|
60
|
+
readonly type: vue.PropType<"optimized" | "always">;
|
|
73
61
|
readonly required: false;
|
|
74
62
|
readonly default: "optimized";
|
|
75
63
|
};
|
|
76
|
-
readonly onPlaced: {
|
|
77
|
-
readonly type: PropType<() => void>;
|
|
78
|
-
readonly required: false;
|
|
79
|
-
};
|
|
80
64
|
readonly prioritizePosition: {
|
|
81
|
-
readonly type: PropType<boolean>;
|
|
65
|
+
readonly type: vue.PropType<boolean>;
|
|
82
66
|
readonly required: false;
|
|
83
67
|
readonly default: false;
|
|
84
68
|
};
|
|
85
|
-
};
|
|
86
|
-
type DestylerHoverCardContentImplProps = ExtractPublicPropTypes<typeof destylerHoverCardContentImplProps>;
|
|
87
|
-
declare const DestylerHoverCardContentImpl: vue.DefineComponent<{
|
|
88
69
|
readonly as: {
|
|
89
|
-
readonly type: PropType<AsTag | Component
|
|
70
|
+
readonly type: vue.PropType<_destyler_primitive.AsTag | vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any>>;
|
|
90
71
|
readonly required: false;
|
|
91
72
|
readonly default: "div";
|
|
92
73
|
};
|
|
93
74
|
readonly asChild: {
|
|
94
|
-
readonly type: PropType<boolean>;
|
|
75
|
+
readonly type: vue.PropType<boolean>;
|
|
95
76
|
readonly required: false;
|
|
96
77
|
readonly default: false;
|
|
97
78
|
};
|
|
79
|
+
};
|
|
80
|
+
type HoverCardContentImplProps = ExtractPublicPropTypes<typeof hoverCardContentImplProps>;
|
|
81
|
+
declare const hoverCardContentImplEmits: {
|
|
82
|
+
escapeKeyDown: (_event: KeyboardEvent) => boolean;
|
|
83
|
+
pointerDownOutside: (_event: CustomEvent<{
|
|
84
|
+
originalEvent: PointerEvent;
|
|
85
|
+
}>) => boolean;
|
|
86
|
+
focusOutside: (_event: CustomEvent<{
|
|
87
|
+
originalEvent: FocusEvent;
|
|
88
|
+
}>) => boolean;
|
|
89
|
+
interactOutside: (_event: CustomEvent<{
|
|
90
|
+
originalEvent: PointerEvent;
|
|
91
|
+
}> | CustomEvent<{
|
|
92
|
+
originalEvent: FocusEvent;
|
|
93
|
+
}>) => boolean;
|
|
94
|
+
};
|
|
95
|
+
declare const HoverCardContentImpl: vue.DefineComponent<{
|
|
98
96
|
readonly side: {
|
|
99
|
-
readonly type: PropType<"top" | "right" | "bottom" | "left">;
|
|
97
|
+
readonly type: vue.PropType<"top" | "right" | "bottom" | "left">;
|
|
100
98
|
readonly required: false;
|
|
101
99
|
readonly default: "bottom";
|
|
102
100
|
};
|
|
103
101
|
readonly sideOffset: {
|
|
104
|
-
readonly type: PropType<number>;
|
|
102
|
+
readonly type: vue.PropType<number>;
|
|
105
103
|
readonly required: false;
|
|
106
104
|
readonly default: 0;
|
|
107
105
|
};
|
|
108
106
|
readonly align: {
|
|
109
|
-
readonly type: PropType<"start" | "center" | "end">;
|
|
107
|
+
readonly type: vue.PropType<"start" | "center" | "end">;
|
|
110
108
|
readonly required: false;
|
|
111
109
|
readonly default: "center";
|
|
112
110
|
};
|
|
113
111
|
readonly alignOffset: {
|
|
114
|
-
readonly type: PropType<number>;
|
|
112
|
+
readonly type: vue.PropType<number>;
|
|
115
113
|
readonly required: false;
|
|
116
114
|
readonly default: 0;
|
|
117
115
|
};
|
|
118
116
|
readonly avoidCollisions: {
|
|
119
|
-
readonly type: PropType<boolean>;
|
|
117
|
+
readonly type: vue.PropType<boolean>;
|
|
120
118
|
readonly required: false;
|
|
121
119
|
readonly default: true;
|
|
122
120
|
};
|
|
123
121
|
readonly collisionBoundary: {
|
|
124
|
-
readonly type: PropType<Element | (Element | null)[] | null>;
|
|
122
|
+
readonly type: vue.PropType<Element | (Element | null)[] | null>;
|
|
125
123
|
readonly required: false;
|
|
126
124
|
readonly default: () => never[];
|
|
127
125
|
};
|
|
128
126
|
readonly collisionPadding: {
|
|
129
|
-
readonly type: PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
127
|
+
readonly type: vue.PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
130
128
|
readonly required: false;
|
|
131
129
|
readonly default: 0;
|
|
132
130
|
};
|
|
133
131
|
readonly arrowPadding: {
|
|
134
|
-
readonly type: PropType<number>;
|
|
132
|
+
readonly type: vue.PropType<number>;
|
|
135
133
|
readonly required: false;
|
|
136
134
|
readonly default: 0;
|
|
137
135
|
};
|
|
138
136
|
readonly sticky: {
|
|
139
|
-
readonly type: PropType<"partial" | "always">;
|
|
137
|
+
readonly type: vue.PropType<"partial" | "always">;
|
|
140
138
|
readonly required: false;
|
|
141
139
|
readonly default: "partial";
|
|
142
140
|
};
|
|
143
141
|
readonly hideWhenDetached: {
|
|
144
|
-
readonly type: PropType<boolean>;
|
|
142
|
+
readonly type: vue.PropType<boolean>;
|
|
145
143
|
readonly required: false;
|
|
146
144
|
readonly default: false;
|
|
147
145
|
};
|
|
148
146
|
readonly updatePositionStrategy: {
|
|
149
|
-
readonly type: PropType<"
|
|
147
|
+
readonly type: vue.PropType<"optimized" | "always">;
|
|
150
148
|
readonly required: false;
|
|
151
149
|
readonly default: "optimized";
|
|
152
150
|
};
|
|
153
|
-
readonly
|
|
154
|
-
readonly type: PropType<
|
|
151
|
+
readonly prioritizePosition: {
|
|
152
|
+
readonly type: vue.PropType<boolean>;
|
|
155
153
|
readonly required: false;
|
|
154
|
+
readonly default: false;
|
|
156
155
|
};
|
|
157
|
-
readonly
|
|
158
|
-
readonly type: PropType<
|
|
156
|
+
readonly as: {
|
|
157
|
+
readonly type: vue.PropType<_destyler_primitive.AsTag | vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any>>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly default: "div";
|
|
160
|
+
};
|
|
161
|
+
readonly asChild: {
|
|
162
|
+
readonly type: vue.PropType<boolean>;
|
|
159
163
|
readonly required: false;
|
|
160
164
|
readonly default: false;
|
|
161
165
|
};
|
|
162
166
|
}, {
|
|
163
167
|
rootContext: HoverCardRootContext;
|
|
164
|
-
forwarded:
|
|
168
|
+
forwarded: vue.ComputedRef<{
|
|
169
|
+
readonly as: _destyler_primitive.AsTag | vue.FunctionalComponent<any, {}, any, {}> | {
|
|
170
|
+
new (...args: any[]): any;
|
|
171
|
+
__isFragment?: undefined;
|
|
172
|
+
__isTeleport?: undefined;
|
|
173
|
+
__isSuspense?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
[x: string]: any;
|
|
176
|
+
setup?: ((this: void, props: _vue_shared.LooseRequired<any>, ctx: {
|
|
177
|
+
attrs: {
|
|
178
|
+
[x: string]: unknown;
|
|
179
|
+
};
|
|
180
|
+
slots: Readonly<{
|
|
181
|
+
[name: string]: vue.Slot<any> | undefined;
|
|
182
|
+
}>;
|
|
183
|
+
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
184
|
+
expose: (exposed?: Record<string, any> | undefined) => void;
|
|
185
|
+
}) => any) | undefined;
|
|
186
|
+
name?: string | undefined;
|
|
187
|
+
template?: string | object | undefined;
|
|
188
|
+
render?: Function | undefined;
|
|
189
|
+
components?: Record<string, vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any>> | undefined;
|
|
190
|
+
directives?: Record<string, vue.Directive<any, any>> | undefined;
|
|
191
|
+
inheritAttrs?: boolean | undefined;
|
|
192
|
+
emits?: any;
|
|
193
|
+
slots?: {} | undefined;
|
|
194
|
+
expose?: string[] | undefined;
|
|
195
|
+
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
196
|
+
compilerOptions?: {
|
|
197
|
+
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
198
|
+
whitespace?: "preserve" | "condense" | undefined;
|
|
199
|
+
comments?: boolean | undefined;
|
|
200
|
+
delimiters?: [string, string] | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
203
|
+
__isFragment?: undefined;
|
|
204
|
+
__isTeleport?: undefined;
|
|
205
|
+
__isSuspense?: undefined;
|
|
206
|
+
__defaults?: any;
|
|
207
|
+
compatConfig?: {
|
|
208
|
+
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
209
|
+
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
210
|
+
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
211
|
+
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
212
|
+
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
213
|
+
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
214
|
+
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
215
|
+
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
216
|
+
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
217
|
+
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
218
|
+
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
219
|
+
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
220
|
+
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
221
|
+
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
222
|
+
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
223
|
+
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
224
|
+
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
225
|
+
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
226
|
+
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
227
|
+
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
228
|
+
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
229
|
+
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
230
|
+
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
231
|
+
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
232
|
+
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
233
|
+
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
234
|
+
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
235
|
+
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
236
|
+
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
237
|
+
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
238
|
+
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
239
|
+
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
240
|
+
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
241
|
+
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
242
|
+
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
243
|
+
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
244
|
+
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
245
|
+
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
246
|
+
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
247
|
+
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
248
|
+
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
249
|
+
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
250
|
+
MODE?: 2 | 3 | ((comp: vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any> | null) => 2 | 3) | undefined;
|
|
251
|
+
} | undefined;
|
|
252
|
+
data?: ((this: any, vm: any) => any) | undefined;
|
|
253
|
+
computed?: vue.ComputedOptions | undefined;
|
|
254
|
+
methods?: vue.MethodOptions | undefined;
|
|
255
|
+
watch?: {
|
|
256
|
+
[x: string]: (string | vue.WatchCallback<any, any> | ({
|
|
257
|
+
handler: string | vue.WatchCallback<any, any>;
|
|
258
|
+
} & vue.WatchOptions<boolean>)) | (string | vue.WatchCallback<any, any> | ({
|
|
259
|
+
handler: string | vue.WatchCallback<any, any>;
|
|
260
|
+
} & vue.WatchOptions<boolean>))[];
|
|
261
|
+
} | undefined;
|
|
262
|
+
provide?: vue.ComponentProvideOptions | undefined;
|
|
263
|
+
inject?: {} | string[] | undefined;
|
|
264
|
+
filters?: Record<string, Function> | undefined;
|
|
265
|
+
mixins?: any[] | undefined;
|
|
266
|
+
extends?: any;
|
|
267
|
+
beforeCreate?: (() => void) | undefined;
|
|
268
|
+
created?: (() => void) | undefined;
|
|
269
|
+
beforeMount?: (() => void) | undefined;
|
|
270
|
+
mounted?: (() => void) | undefined;
|
|
271
|
+
beforeUpdate?: (() => void) | undefined;
|
|
272
|
+
updated?: (() => void) | undefined;
|
|
273
|
+
activated?: (() => void) | undefined;
|
|
274
|
+
deactivated?: (() => void) | undefined;
|
|
275
|
+
beforeDestroy?: (() => void) | undefined;
|
|
276
|
+
beforeUnmount?: (() => void) | undefined;
|
|
277
|
+
destroyed?: (() => void) | undefined;
|
|
278
|
+
unmounted?: (() => void) | undefined;
|
|
279
|
+
renderTracked?: ((e: vue.DebuggerEvent) => void) | undefined;
|
|
280
|
+
renderTriggered?: ((e: vue.DebuggerEvent) => void) | undefined;
|
|
281
|
+
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | undefined;
|
|
282
|
+
delimiters?: [string, string] | undefined;
|
|
283
|
+
__differentiator?: string | number | symbol | undefined;
|
|
284
|
+
__isBuiltIn?: boolean | undefined;
|
|
285
|
+
__file?: string | undefined;
|
|
286
|
+
__name?: string | undefined;
|
|
287
|
+
};
|
|
165
288
|
readonly asChild: boolean;
|
|
166
|
-
readonly as: AsTag | Component;
|
|
167
289
|
readonly side: "top" | "right" | "bottom" | "left";
|
|
168
290
|
readonly sideOffset: number;
|
|
169
291
|
readonly align: "start" | "center" | "end";
|
|
170
292
|
readonly alignOffset: number;
|
|
171
293
|
readonly avoidCollisions: boolean;
|
|
172
294
|
readonly collisionBoundary: Element | (Element | null)[] | null;
|
|
173
|
-
readonly collisionPadding: number |
|
|
295
|
+
readonly collisionPadding: number | {
|
|
296
|
+
top?: number | undefined;
|
|
297
|
+
right?: number | undefined;
|
|
298
|
+
bottom?: number | undefined;
|
|
299
|
+
left?: number | undefined;
|
|
300
|
+
};
|
|
174
301
|
readonly arrowPadding: number;
|
|
175
302
|
readonly sticky: "partial" | "always";
|
|
176
303
|
readonly hideWhenDetached: boolean;
|
|
177
|
-
readonly updatePositionStrategy: "
|
|
304
|
+
readonly updatePositionStrategy: "optimized" | "always";
|
|
178
305
|
readonly prioritizePosition: boolean;
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
readonly
|
|
184
|
-
|
|
185
|
-
|
|
306
|
+
readonly onEscapeKeyDown: ((_event: KeyboardEvent) => any) | undefined;
|
|
307
|
+
readonly onPointerDownOutside: ((_event: CustomEvent<{
|
|
308
|
+
originalEvent: PointerEvent;
|
|
309
|
+
}>) => any) | undefined;
|
|
310
|
+
readonly onFocusOutside: ((_event: CustomEvent<{
|
|
311
|
+
originalEvent: FocusEvent;
|
|
312
|
+
}>) => any) | undefined;
|
|
313
|
+
readonly onInteractOutside: ((_event: CustomEvent<{
|
|
314
|
+
originalEvent: PointerEvent;
|
|
315
|
+
}> | CustomEvent<{
|
|
316
|
+
originalEvent: FocusEvent;
|
|
317
|
+
}>) => any) | undefined;
|
|
318
|
+
}>;
|
|
186
319
|
forwardRef: (ref: Element | vue.ComponentPublicInstance | null) => void;
|
|
187
320
|
containSelection: vue.Ref<boolean>;
|
|
188
|
-
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
321
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
322
|
+
escapeKeyDown: (_event: KeyboardEvent) => boolean;
|
|
323
|
+
pointerDownOutside: (_event: CustomEvent<{
|
|
324
|
+
originalEvent: PointerEvent;
|
|
325
|
+
}>) => boolean;
|
|
326
|
+
focusOutside: (_event: CustomEvent<{
|
|
327
|
+
originalEvent: FocusEvent;
|
|
328
|
+
}>) => boolean;
|
|
329
|
+
interactOutside: (_event: CustomEvent<{
|
|
330
|
+
originalEvent: PointerEvent;
|
|
331
|
+
}> | CustomEvent<{
|
|
332
|
+
originalEvent: FocusEvent;
|
|
333
|
+
}>) => boolean;
|
|
334
|
+
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
199
335
|
readonly side: {
|
|
200
|
-
readonly type: PropType<"top" | "right" | "bottom" | "left">;
|
|
336
|
+
readonly type: vue.PropType<"top" | "right" | "bottom" | "left">;
|
|
201
337
|
readonly required: false;
|
|
202
338
|
readonly default: "bottom";
|
|
203
339
|
};
|
|
204
340
|
readonly sideOffset: {
|
|
205
|
-
readonly type: PropType<number>;
|
|
341
|
+
readonly type: vue.PropType<number>;
|
|
206
342
|
readonly required: false;
|
|
207
343
|
readonly default: 0;
|
|
208
344
|
};
|
|
209
345
|
readonly align: {
|
|
210
|
-
readonly type: PropType<"start" | "center" | "end">;
|
|
346
|
+
readonly type: vue.PropType<"start" | "center" | "end">;
|
|
211
347
|
readonly required: false;
|
|
212
348
|
readonly default: "center";
|
|
213
349
|
};
|
|
214
350
|
readonly alignOffset: {
|
|
215
|
-
readonly type: PropType<number>;
|
|
351
|
+
readonly type: vue.PropType<number>;
|
|
216
352
|
readonly required: false;
|
|
217
353
|
readonly default: 0;
|
|
218
354
|
};
|
|
219
355
|
readonly avoidCollisions: {
|
|
220
|
-
readonly type: PropType<boolean>;
|
|
356
|
+
readonly type: vue.PropType<boolean>;
|
|
221
357
|
readonly required: false;
|
|
222
358
|
readonly default: true;
|
|
223
359
|
};
|
|
224
360
|
readonly collisionBoundary: {
|
|
225
|
-
readonly type: PropType<Element | (Element | null)[] | null>;
|
|
361
|
+
readonly type: vue.PropType<Element | (Element | null)[] | null>;
|
|
226
362
|
readonly required: false;
|
|
227
363
|
readonly default: () => never[];
|
|
228
364
|
};
|
|
229
365
|
readonly collisionPadding: {
|
|
230
|
-
readonly type: PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
366
|
+
readonly type: vue.PropType<number | Partial<Record<"top" | "right" | "bottom" | "left", number>>>;
|
|
231
367
|
readonly required: false;
|
|
232
368
|
readonly default: 0;
|
|
233
369
|
};
|
|
234
370
|
readonly arrowPadding: {
|
|
235
|
-
readonly type: PropType<number>;
|
|
371
|
+
readonly type: vue.PropType<number>;
|
|
236
372
|
readonly required: false;
|
|
237
373
|
readonly default: 0;
|
|
238
374
|
};
|
|
239
375
|
readonly sticky: {
|
|
240
|
-
readonly type: PropType<"partial" | "always">;
|
|
376
|
+
readonly type: vue.PropType<"partial" | "always">;
|
|
241
377
|
readonly required: false;
|
|
242
378
|
readonly default: "partial";
|
|
243
379
|
};
|
|
244
380
|
readonly hideWhenDetached: {
|
|
245
|
-
readonly type: PropType<boolean>;
|
|
381
|
+
readonly type: vue.PropType<boolean>;
|
|
246
382
|
readonly required: false;
|
|
247
383
|
readonly default: false;
|
|
248
384
|
};
|
|
249
385
|
readonly updatePositionStrategy: {
|
|
250
|
-
readonly type: PropType<"
|
|
386
|
+
readonly type: vue.PropType<"optimized" | "always">;
|
|
251
387
|
readonly required: false;
|
|
252
388
|
readonly default: "optimized";
|
|
253
389
|
};
|
|
254
|
-
readonly
|
|
255
|
-
readonly type: PropType<
|
|
390
|
+
readonly prioritizePosition: {
|
|
391
|
+
readonly type: vue.PropType<boolean>;
|
|
256
392
|
readonly required: false;
|
|
393
|
+
readonly default: false;
|
|
257
394
|
};
|
|
258
|
-
readonly
|
|
259
|
-
readonly type: PropType<
|
|
395
|
+
readonly as: {
|
|
396
|
+
readonly type: vue.PropType<_destyler_primitive.AsTag | vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any>>;
|
|
397
|
+
readonly required: false;
|
|
398
|
+
readonly default: "div";
|
|
399
|
+
};
|
|
400
|
+
readonly asChild: {
|
|
401
|
+
readonly type: vue.PropType<boolean>;
|
|
260
402
|
readonly required: false;
|
|
261
403
|
readonly default: false;
|
|
262
404
|
};
|
|
263
405
|
}>> & {
|
|
264
|
-
onEscapeKeyDown?: ((
|
|
265
|
-
onPointerDownOutside?: ((
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
406
|
+
onEscapeKeyDown?: ((_event: KeyboardEvent) => any) | undefined;
|
|
407
|
+
onPointerDownOutside?: ((_event: CustomEvent<{
|
|
408
|
+
originalEvent: PointerEvent;
|
|
409
|
+
}>) => any) | undefined;
|
|
410
|
+
onFocusOutside?: ((_event: CustomEvent<{
|
|
411
|
+
originalEvent: FocusEvent;
|
|
412
|
+
}>) => any) | undefined;
|
|
413
|
+
onInteractOutside?: ((_event: CustomEvent<{
|
|
414
|
+
originalEvent: PointerEvent;
|
|
415
|
+
}> | CustomEvent<{
|
|
416
|
+
originalEvent: FocusEvent;
|
|
417
|
+
}>) => any) | undefined;
|
|
269
418
|
}, {
|
|
419
|
+
readonly as: _destyler_primitive.AsTag | vue.Component<any, any, any, vue.ComputedOptions, vue.MethodOptions, {}, any>;
|
|
270
420
|
readonly asChild: boolean;
|
|
271
|
-
readonly as: AsTag | Component;
|
|
272
421
|
readonly side: "top" | "right" | "bottom" | "left";
|
|
273
422
|
readonly sideOffset: number;
|
|
274
423
|
readonly align: "start" | "center" | "end";
|
|
@@ -279,8 +428,8 @@ declare const DestylerHoverCardContentImpl: vue.DefineComponent<{
|
|
|
279
428
|
readonly arrowPadding: number;
|
|
280
429
|
readonly sticky: "partial" | "always";
|
|
281
430
|
readonly hideWhenDetached: boolean;
|
|
282
|
-
readonly updatePositionStrategy: "
|
|
431
|
+
readonly updatePositionStrategy: "optimized" | "always";
|
|
283
432
|
readonly prioritizePosition: boolean;
|
|
284
433
|
}, {}>;
|
|
285
434
|
|
|
286
|
-
export {
|
|
435
|
+
export { HoverCardContentImpl, type HoverCardContentImplProps, hoverCardContentImplEmits, hoverCardContentImplProps };
|