@vueuse/components 12.8.2 → 13.0.0-beta.2

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 (4) hide show
  1. package/package.json +6 -12
  2. package/index.cjs +0 -2614
  3. package/index.d.cts +0 -884
  4. package/index.d.ts +0 -884
package/index.d.ts DELETED
@@ -1,884 +0,0 @@
1
- import * as vue from 'vue';
2
- import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter, ObjectDirective, Ref, UnwrapNestedRefs, Reactive, ComputedRef, FunctionDirective } from 'vue';
3
- import { UseClipboardOptions, UseDarkOptions, UseDevicesListOptions, UseDraggableOptions, ElementSize as ElementSize$1, UseGeolocationOptions, UseIdleOptions, UseMouseOptions as UseMouseOptions$1, MouseInElementOptions as MouseInElementOptions$1, MousePressedOptions, UseNowOptions, UsePointerOptions, UseTimeAgoOptions, UseTimestampOptions, UseVirtualListOptions, UseWindowSizeOptions } from '@vueuse/core';
4
- import { ConfigurableEventFilter, ConfigurableFlush, Awaitable } from '@vueuse/shared';
5
-
6
- interface ConfigurableWindow {
7
- window?: Window;
8
- }
9
-
10
- interface Position {
11
- x: number;
12
- y: number;
13
- }
14
- interface RenderableComponent {
15
- /**
16
- * The element that the component should be rendered as
17
- *
18
- * @default 'div'
19
- */
20
- as?: object | string;
21
- }
22
-
23
- type VueInstance = ComponentPublicInstance;
24
- type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
25
- type MaybeComputedElementRef<T extends MaybeElement = MaybeElement> = MaybeRefOrGetter<T>;
26
- type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
27
-
28
- interface OnClickOutsideOptions<Controls extends boolean = false> extends ConfigurableWindow {
29
- /**
30
- * List of elements that should not trigger the event.
31
- */
32
- ignore?: MaybeRefOrGetter<(MaybeElementRef | string)[]>;
33
- /**
34
- * Use capturing phase for internal event listener.
35
- * @default true
36
- */
37
- capture?: boolean;
38
- /**
39
- * Run handler function if focus moves to an iframe.
40
- * @default false
41
- */
42
- detectIframe?: boolean;
43
- /**
44
- * Use controls to cancel/trigger listener.
45
- * @default false
46
- */
47
- controls?: Controls;
48
- }
49
- type OnClickOutsideHandler<T extends {
50
- detectIframe: OnClickOutsideOptions['detectIframe'];
51
- controls: boolean;
52
- } = {
53
- detectIframe: false;
54
- controls: false;
55
- }> = (event: T['controls'] extends true ? Event | (T['detectIframe'] extends true ? PointerEvent | FocusEvent : PointerEvent) : T['detectIframe'] extends true ? PointerEvent | FocusEvent : PointerEvent) => void;
56
-
57
- interface OnClickOutsideProps extends RenderableComponent {
58
- options?: Omit<OnClickOutsideOptions, 'controls'>;
59
- }
60
- declare const OnClickOutside: vue.DefineComponent<OnClickOutsideProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<OnClickOutsideProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
61
-
62
- declare const vOnClickOutside: ObjectDirective<HTMLElement, OnClickOutsideHandler | [(evt: any) => void, Omit<OnClickOutsideOptions, 'controls'>]>;
63
-
64
- type KeyStrokeEventName = 'keydown' | 'keypress' | 'keyup';
65
- interface OnKeyStrokeOptions {
66
- eventName?: KeyStrokeEventName;
67
- target?: MaybeRefOrGetter<EventTarget | null | undefined>;
68
- passive?: boolean;
69
- /**
70
- * Set to `true` to ignore repeated events when the key is being held down.
71
- *
72
- * @default false
73
- */
74
- dedupe?: MaybeRefOrGetter<boolean>;
75
- }
76
-
77
- type BindingValueFunction$a = (event: KeyboardEvent) => void;
78
- type BindingValueArray$9 = [BindingValueFunction$a, OnKeyStrokeOptions];
79
- declare const vOnKeyStroke: ObjectDirective<HTMLElement, BindingValueFunction$a | BindingValueArray$9>;
80
-
81
- interface OnLongPressOptions {
82
- /**
83
- * Time in ms till `longpress` gets called
84
- *
85
- * @default 500
86
- */
87
- delay?: number;
88
- modifiers?: OnLongPressModifiers;
89
- /**
90
- * Allowance of moving distance in pixels,
91
- * The action will get canceled When moving too far from the pointerdown position.
92
- * @default 10
93
- */
94
- distanceThreshold?: number | false;
95
- /**
96
- * Function called when the ref element is released.
97
- * @param duration how long the element was pressed in ms
98
- * @param distance distance from the pointerdown position
99
- * @param isLongPress whether the action was a long press or not
100
- */
101
- onMouseUp?: (duration: number, distance: number, isLongPress: boolean) => void;
102
- }
103
- interface OnLongPressModifiers {
104
- stop?: boolean;
105
- once?: boolean;
106
- prevent?: boolean;
107
- capture?: boolean;
108
- self?: boolean;
109
- }
110
-
111
- interface OnLongPressProps extends RenderableComponent {
112
- options?: OnLongPressOptions;
113
- }
114
- declare const OnLongPress: vue.DefineComponent<OnLongPressProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<OnLongPressProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
115
-
116
- type BindingValueFunction$9 = (evt: PointerEvent) => void;
117
- type BindingValueArray$8 = [
118
- BindingValueFunction$9,
119
- OnLongPressOptions
120
- ];
121
- declare const vOnLongPress: ObjectDirective<HTMLElement, BindingValueFunction$9 | BindingValueArray$8>;
122
-
123
- declare const UseActiveElement: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
124
- [key: string]: any;
125
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
126
-
127
- declare const UseBattery: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
128
- [key: string]: any;
129
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
130
-
131
- declare const UseBrowserLocation: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
132
- [key: string]: any;
133
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
134
-
135
- interface UseClipboardProps<Source = string> extends UseClipboardOptions<Source> {
136
- }
137
- declare const UseClipboard: vue.DefineComponent<UseClipboardProps<string>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseClipboardProps<string>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
138
-
139
- interface StorageLike {
140
- getItem: (key: string) => string | null;
141
- setItem: (key: string, value: string) => void;
142
- removeItem: (key: string) => void;
143
- }
144
-
145
- interface Serializer<T> {
146
- read: (raw: string) => T;
147
- write: (value: T) => string;
148
- }
149
- interface UseStorageOptions<T> extends ConfigurableEventFilter, ConfigurableWindow, ConfigurableFlush {
150
- /**
151
- * Watch for deep changes
152
- *
153
- * @default true
154
- */
155
- deep?: boolean;
156
- /**
157
- * Listen to storage changes, useful for multiple tabs application
158
- *
159
- * @default true
160
- */
161
- listenToStorageChanges?: boolean;
162
- /**
163
- * Write the default value to the storage when it does not exist
164
- *
165
- * @default true
166
- */
167
- writeDefaults?: boolean;
168
- /**
169
- * Merge the default value with the value read from the storage.
170
- *
171
- * When setting it to true, it will perform a **shallow merge** for objects.
172
- * You can pass a function to perform custom merge (e.g. deep merge), for example:
173
- *
174
- * @default false
175
- */
176
- mergeDefaults?: boolean | ((storageValue: T, defaults: T) => T);
177
- /**
178
- * Custom data serialization
179
- */
180
- serializer?: Serializer<T>;
181
- /**
182
- * On error callback
183
- *
184
- * Default log error to `console.error`
185
- */
186
- onError?: (error: unknown) => void;
187
- /**
188
- * Use shallow ref as reference
189
- *
190
- * @default false
191
- */
192
- shallow?: boolean;
193
- /**
194
- * Wait for the component to be mounted before reading the storage.
195
- *
196
- * @default false
197
- */
198
- initOnMounted?: boolean;
199
- }
200
-
201
- type BasicColorMode = 'light' | 'dark';
202
- type BasicColorSchema = BasicColorMode | 'auto';
203
- interface UseColorModeOptions<T extends string = BasicColorMode> extends UseStorageOptions<T | BasicColorMode> {
204
- /**
205
- * CSS Selector for the target element applying to
206
- *
207
- * @default 'html'
208
- */
209
- selector?: string | MaybeElementRef;
210
- /**
211
- * HTML attribute applying the target element
212
- *
213
- * @default 'class'
214
- */
215
- attribute?: string;
216
- /**
217
- * The initial color mode
218
- *
219
- * @default 'auto'
220
- */
221
- initialValue?: MaybeRefOrGetter<T | BasicColorSchema>;
222
- /**
223
- * Prefix when adding value to the attribute
224
- */
225
- modes?: Partial<Record<T | BasicColorSchema, string>>;
226
- /**
227
- * A custom handler for handle the updates.
228
- * When specified, the default behavior will be overridden.
229
- *
230
- * @default undefined
231
- */
232
- onChanged?: (mode: T | BasicColorMode, defaultHandler: ((mode: T | BasicColorMode) => void)) => void;
233
- /**
234
- * Custom storage ref
235
- *
236
- * When provided, `useStorage` will be skipped
237
- */
238
- storageRef?: Ref<T | BasicColorSchema>;
239
- /**
240
- * Key to persist the data into localStorage/sessionStorage.
241
- *
242
- * Pass `null` to disable persistence
243
- *
244
- * @default 'vueuse-color-scheme'
245
- */
246
- storageKey?: string | null;
247
- /**
248
- * Storage object, can be localStorage or sessionStorage
249
- *
250
- * @default localStorage
251
- */
252
- storage?: StorageLike;
253
- /**
254
- * Emit `auto` mode from state
255
- *
256
- * When set to `true`, preferred mode won't be translated into `light` or `dark`.
257
- * This is useful when the fact that `auto` mode was selected needs to be known.
258
- *
259
- * @default undefined
260
- * @deprecated use `store.value` when `auto` mode needs to be known
261
- * @see https://vueuse.org/core/useColorMode/#advanced-usage
262
- */
263
- emitAuto?: boolean;
264
- /**
265
- * Disable transition on switch
266
- *
267
- * @see https://paco.me/writing/disable-theme-transitions
268
- * @default true
269
- */
270
- disableTransition?: boolean;
271
- }
272
-
273
- declare const UseColorMode: vue.DefineComponent<UseColorModeOptions<BasicColorMode>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseColorModeOptions<BasicColorMode>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
274
-
275
- declare const UseDark: vue.DefineComponent<UseDarkOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseDarkOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
276
-
277
- declare const UseDeviceMotion: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
278
- [key: string]: any;
279
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
280
-
281
- declare const UseDeviceOrientation: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
282
- [key: string]: any;
283
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
284
-
285
- declare const UseDevicePixelRatio: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
286
- [key: string]: any;
287
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
288
-
289
- declare const UseDevicesList: vue.DefineComponent<UseDevicesListOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseDevicesListOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
290
-
291
- declare const UseDocumentVisibility: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
292
- [key: string]: any;
293
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
294
-
295
- interface UseDraggableProps extends UseDraggableOptions, RenderableComponent {
296
- /**
297
- * When provided, use `useStorage` to preserve element's position
298
- */
299
- storageKey?: string;
300
- /**
301
- * Storage type
302
- *
303
- * @default 'local'
304
- */
305
- storageType?: 'local' | 'session';
306
- }
307
- declare const UseDraggable: vue.DefineComponent<UseDraggableProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseDraggableProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
308
-
309
- interface ResizeObserverSize {
310
- readonly inlineSize: number;
311
- readonly blockSize: number;
312
- }
313
- interface ResizeObserverEntry {
314
- readonly target: Element;
315
- readonly contentRect: DOMRectReadOnly;
316
- readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;
317
- readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
318
- readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
319
- }
320
- type ResizeObserverCallback = (entries: ReadonlyArray<ResizeObserverEntry>, observer: ResizeObserver) => void;
321
- interface UseResizeObserverOptions extends ConfigurableWindow {
322
- /**
323
- * Sets which box model the observer will observe changes to. Possible values
324
- * are `content-box` (the default), `border-box` and `device-pixel-content-box`.
325
- *
326
- * @default 'content-box'
327
- */
328
- box?: ResizeObserverBoxOptions;
329
- }
330
- declare class ResizeObserver {
331
- constructor(callback: ResizeObserverCallback);
332
- disconnect(): void;
333
- observe(target: Element, options?: UseResizeObserverOptions): void;
334
- unobserve(target: Element): void;
335
- }
336
-
337
- declare const UseElementBounding: vue.DefineComponent<UseResizeObserverOptions & RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseResizeObserverOptions & RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
338
-
339
- interface UseElementBoundingOptions {
340
- /**
341
- * Reset values to 0 on component unmounted
342
- *
343
- * @default true
344
- */
345
- reset?: boolean;
346
- /**
347
- * Listen to window resize event
348
- *
349
- * @default true
350
- */
351
- windowResize?: boolean;
352
- /**
353
- * Listen to window scroll event
354
- *
355
- * @default true
356
- */
357
- windowScroll?: boolean;
358
- /**
359
- * Immediately call update on component mounted
360
- *
361
- * @default true
362
- */
363
- immediate?: boolean;
364
- /**
365
- * Timing to recalculate the bounding box
366
- *
367
- * Setting to `next-frame` can be useful when using this together with something like {@link useBreakpoints}
368
- * and therefore the layout (which influences the bounding box of the observed element) is not updated on the current tick.
369
- *
370
- * @default 'sync'
371
- */
372
- updateTiming?: 'sync' | 'next-frame';
373
- }
374
- /**
375
- * Reactive bounding box of an HTML element.
376
- *
377
- * @see https://vueuse.org/useElementBounding
378
- * @param target
379
- */
380
- declare function useElementBounding(target: MaybeComputedElementRef, options?: UseElementBoundingOptions): {
381
- height: vue.ShallowRef<number, number>;
382
- bottom: vue.ShallowRef<number, number>;
383
- left: vue.ShallowRef<number, number>;
384
- right: vue.ShallowRef<number, number>;
385
- top: vue.ShallowRef<number, number>;
386
- width: vue.ShallowRef<number, number>;
387
- x: vue.ShallowRef<number, number>;
388
- y: vue.ShallowRef<number, number>;
389
- update: () => void;
390
- };
391
- type UseElementBoundingReturn = ReturnType<typeof useElementBounding>;
392
-
393
- type ElementBounding = Omit<UseElementBoundingReturn, 'update'>;
394
- type BindingValueFunction$8 = (bounding: ElementBounding) => void;
395
- type BindingValueArray$7 = [BindingValueFunction$8, UseElementBoundingOptions];
396
- declare const vElementBounding: ObjectDirective<HTMLElement, BindingValueFunction$8 | BindingValueArray$7>;
397
-
398
- interface UseElementHoverOptions extends ConfigurableWindow {
399
- delayEnter?: number;
400
- delayLeave?: number;
401
- triggerOnRemoval?: boolean;
402
- }
403
-
404
- type BindingValueFunction$7 = (state: boolean) => void;
405
- declare const vElementHover: ObjectDirective<HTMLElement, BindingValueFunction$7 | [handler: BindingValueFunction$7, options: UseElementHoverOptions]>;
406
-
407
- declare const UseElementSize: vue.DefineComponent<ElementSize$1 & UseResizeObserverOptions & RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ElementSize$1 & UseResizeObserverOptions & RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
408
-
409
- interface ElementSize {
410
- width: number;
411
- height: number;
412
- }
413
- /**
414
- * Reactive size of an HTML element.
415
- *
416
- * @see https://vueuse.org/useElementSize
417
- */
418
- declare function useElementSize(target: MaybeComputedElementRef, initialSize?: ElementSize, options?: UseResizeObserverOptions): {
419
- width: vue.ShallowRef<number, number>;
420
- height: vue.ShallowRef<number, number>;
421
- stop: () => void;
422
- };
423
-
424
- type RemoveFirstFromTuple<T extends any[]> = T['length'] extends 0 ? undefined : (((...b: T) => void) extends (a: any, ...b: infer I) => void ? I : []);
425
- type BindingValueFunction$6 = (size: ElementSize) => void;
426
- type VElementSizeOptions = RemoveFirstFromTuple<Parameters<typeof useElementSize>>;
427
- type BindingValueArray$6 = [BindingValueFunction$6, ...VElementSizeOptions];
428
- declare const vElementSize: ObjectDirective<HTMLElement, BindingValueFunction$6 | BindingValueArray$6>;
429
-
430
- declare const UseElementVisibility: vue.DefineComponent<RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
431
-
432
- interface UseIntersectionObserverOptions extends ConfigurableWindow {
433
- /**
434
- * Start the IntersectionObserver immediately on creation
435
- *
436
- * @default true
437
- */
438
- immediate?: boolean;
439
- /**
440
- * The Element or Document whose bounds are used as the bounding box when testing for intersection.
441
- */
442
- root?: MaybeComputedElementRef | Document;
443
- /**
444
- * A string which specifies a set of offsets to add to the root's bounding_box when calculating intersections.
445
- */
446
- rootMargin?: string;
447
- /**
448
- * Either a single number or an array of numbers between 0.0 and 1.
449
- * @default 0
450
- */
451
- threshold?: number | number[];
452
- }
453
-
454
- interface UseElementVisibilityOptions extends ConfigurableWindow, Pick<UseIntersectionObserverOptions, 'threshold'> {
455
- /**
456
- * @see https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin
457
- */
458
- rootMargin?: MaybeRefOrGetter<string>;
459
- /**
460
- * The element that is used as the viewport for checking visibility of the target.
461
- */
462
- scrollTarget?: MaybeRefOrGetter<HTMLElement | undefined | null>;
463
- /**
464
- * Stop tracking when element visibility changes for the first time
465
- *
466
- * @default false
467
- */
468
- once?: boolean;
469
- }
470
-
471
- type BindingValueFunction$5 = (state: boolean) => void;
472
- type BindingValueArray$5 = [BindingValueFunction$5, UseElementVisibilityOptions];
473
- declare const vElementVisibility: ObjectDirective<HTMLElement, BindingValueFunction$5 | BindingValueArray$5>;
474
-
475
- declare const UseEyeDropper: vue.DefineComponent<vue.ExtractPropTypes<{
476
- sRGBHex: StringConstructor;
477
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
478
- [key: string]: any;
479
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
480
- sRGBHex: StringConstructor;
481
- }>> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
482
-
483
- declare const UseFullscreen: vue.DefineComponent<RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
484
-
485
- declare const UseGeolocation: vue.DefineComponent<UseGeolocationOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseGeolocationOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
486
-
487
- declare const UseIdle: vue.DefineComponent<UseIdleOptions & {
488
- timeout: number;
489
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseIdleOptions & {
490
- timeout: number;
491
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
492
-
493
- type UseMouseSourceType = 'mouse' | 'touch' | null;
494
-
495
- interface UseImageOptions {
496
- /** Address of the resource */
497
- src: string;
498
- /** Images to use in different situations, e.g., high-resolution displays, small monitors, etc. */
499
- srcset?: string;
500
- /** Image sizes for different page layouts */
501
- sizes?: string;
502
- /** Image alternative information */
503
- alt?: string;
504
- /** Image classes */
505
- class?: string;
506
- /** Image loading */
507
- loading?: HTMLImageElement['loading'];
508
- /** Image CORS settings */
509
- crossorigin?: string;
510
- /** Referrer policy for fetch https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy */
511
- referrerPolicy?: HTMLImageElement['referrerPolicy'];
512
- /** Image width */
513
- width?: HTMLImageElement['width'];
514
- /** Image height */
515
- height?: HTMLImageElement['height'];
516
- /** https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#decoding */
517
- decoding?: HTMLImageElement['decoding'];
518
- /** Provides a hint of the relative priority to use when fetching the image */
519
- fetchPriority?: HTMLImageElement['fetchPriority'];
520
- /** Provides a hint of the importance of the image */
521
- ismap?: HTMLImageElement['isMap'];
522
- /** The partial URL (starting with #) of an image map associated with the element */
523
- usemap?: HTMLImageElement['useMap'];
524
- }
525
-
526
- declare const UseImage: vue.DefineComponent<UseImageOptions & RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseImageOptions & RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
527
-
528
- interface UseScrollOptions extends ConfigurableWindow {
529
- /**
530
- * Throttle time for scroll event, it’s disabled by default.
531
- *
532
- * @default 0
533
- */
534
- throttle?: number;
535
- /**
536
- * The check time when scrolling ends.
537
- * This configuration will be setting to (throttle + idle) when the `throttle` is configured.
538
- *
539
- * @default 200
540
- */
541
- idle?: number;
542
- /**
543
- * Offset arrived states by x pixels
544
- *
545
- */
546
- offset?: {
547
- left?: number;
548
- right?: number;
549
- top?: number;
550
- bottom?: number;
551
- };
552
- /**
553
- * Trigger it when scrolling.
554
- *
555
- */
556
- onScroll?: (e: Event) => void;
557
- /**
558
- * Trigger it when scrolling ends.
559
- *
560
- */
561
- onStop?: (e: Event) => void;
562
- /**
563
- * Listener options for scroll event.
564
- *
565
- * @default {capture: false, passive: true}
566
- */
567
- eventListenerOptions?: boolean | AddEventListenerOptions;
568
- /**
569
- * Optionally specify a scroll behavior of `auto` (default, not smooth scrolling) or
570
- * `smooth` (for smooth scrolling) which takes effect when changing the `x` or `y` refs.
571
- *
572
- * @default 'auto'
573
- */
574
- behavior?: MaybeRefOrGetter<ScrollBehavior>;
575
- /**
576
- * On error callback
577
- *
578
- * Default log error to `console.error`
579
- */
580
- onError?: (error: unknown) => void;
581
- }
582
- /**
583
- * Reactive scroll.
584
- *
585
- * @see https://vueuse.org/useScroll
586
- * @param element
587
- * @param options
588
- */
589
- declare function useScroll(element: MaybeRefOrGetter<HTMLElement | SVGElement | Window | Document | null | undefined>, options?: UseScrollOptions): {
590
- x: vue.WritableComputedRef<number, number>;
591
- y: vue.WritableComputedRef<number, number>;
592
- isScrolling: vue.ShallowRef<boolean, boolean>;
593
- arrivedState: {
594
- left: boolean;
595
- right: boolean;
596
- top: boolean;
597
- bottom: boolean;
598
- };
599
- directions: {
600
- left: boolean;
601
- right: boolean;
602
- top: boolean;
603
- bottom: boolean;
604
- };
605
- measure(): void;
606
- };
607
- type UseScrollReturn = ReturnType<typeof useScroll>;
608
-
609
- type InfiniteScrollElement = HTMLElement | SVGElement | Window | Document | null | undefined;
610
- interface UseInfiniteScrollOptions<T extends InfiniteScrollElement = InfiniteScrollElement> extends UseScrollOptions {
611
- /**
612
- * The minimum distance between the bottom of the element and the bottom of the viewport
613
- *
614
- * @default 0
615
- */
616
- distance?: number;
617
- /**
618
- * The direction in which to listen the scroll.
619
- *
620
- * @default 'bottom'
621
- */
622
- direction?: 'top' | 'bottom' | 'left' | 'right';
623
- /**
624
- * The interval time between two load more (to avoid too many invokes).
625
- *
626
- * @default 100
627
- */
628
- interval?: number;
629
- /**
630
- * A function that determines whether more content can be loaded for a specific element.
631
- * Should return `true` if loading more content is allowed for the given element,
632
- * and `false` otherwise.
633
- */
634
- canLoadMore?: (el: T) => boolean;
635
- }
636
- /**
637
- * Reactive infinite scroll.
638
- *
639
- * @see https://vueuse.org/useInfiniteScroll
640
- */
641
- declare function useInfiniteScroll<T extends InfiniteScrollElement>(element: MaybeRefOrGetter<T>, onLoadMore: (state: UnwrapNestedRefs<ReturnType<typeof useScroll>>) => Awaitable<void>, options?: UseInfiniteScrollOptions<T>): {
642
- isLoading: vue.ComputedRef<boolean>;
643
- reset(): void;
644
- };
645
-
646
- type BindingValueFunction$4 = Parameters<typeof useInfiniteScroll>[1];
647
- type BindingValueArray$4 = [BindingValueFunction$4, UseInfiniteScrollOptions];
648
- declare const vInfiniteScroll: ObjectDirective<HTMLElement, BindingValueFunction$4 | BindingValueArray$4>;
649
-
650
- type BindingValueFunction$3 = IntersectionObserverCallback;
651
- type BindingValueArray$3 = [BindingValueFunction$3, UseIntersectionObserverOptions];
652
- declare const vIntersectionObserver: ObjectDirective<HTMLElement, BindingValueFunction$3 | BindingValueArray$3>;
653
-
654
- declare const UseMouse: vue.DefineComponent<UseMouseOptions$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseMouseOptions$1> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
655
-
656
- declare const UseMouseInElement: vue.DefineComponent<MouseInElementOptions$1 & RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MouseInElementOptions$1 & RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
657
-
658
- type UseMouseCoordType = 'page' | 'client' | 'screen' | 'movement';
659
- type UseMouseEventExtractor = (event: MouseEvent | Touch) => [x: number, y: number] | null | undefined;
660
- interface UseMouseOptions extends ConfigurableWindow, ConfigurableEventFilter {
661
- /**
662
- * Mouse position based by page, client, screen, or relative to previous position
663
- *
664
- * @default 'page'
665
- */
666
- type?: UseMouseCoordType | UseMouseEventExtractor;
667
- /**
668
- * Listen events on `target` element
669
- *
670
- * @default 'Window'
671
- */
672
- target?: MaybeRefOrGetter<Window | EventTarget | null | undefined>;
673
- /**
674
- * Listen to `touchmove` events
675
- *
676
- * @default true
677
- */
678
- touch?: boolean;
679
- /**
680
- * Listen to `scroll` events on window, only effective on type `page`
681
- *
682
- * @default true
683
- */
684
- scroll?: boolean;
685
- /**
686
- * Reset to initial value when `touchend` event fired
687
- *
688
- * @default false
689
- */
690
- resetOnTouchEnds?: boolean;
691
- /**
692
- * Initial values
693
- */
694
- initialValue?: Position;
695
- }
696
-
697
- interface MouseInElementOptions extends UseMouseOptions {
698
- handleOutside?: boolean;
699
- }
700
- /**
701
- * Reactive mouse position related to an element.
702
- *
703
- * @see https://vueuse.org/useMouseInElement
704
- * @param target
705
- * @param options
706
- */
707
- declare function useMouseInElement(target?: MaybeElementRef, options?: MouseInElementOptions): {
708
- x: vue.ShallowRef<number, number>;
709
- y: vue.ShallowRef<number, number>;
710
- sourceType: vue.ShallowRef<UseMouseSourceType, UseMouseSourceType>;
711
- elementX: vue.ShallowRef<number, number>;
712
- elementY: vue.ShallowRef<number, number>;
713
- elementPositionX: vue.ShallowRef<number, number>;
714
- elementPositionY: vue.ShallowRef<number, number>;
715
- elementHeight: vue.ShallowRef<number, number>;
716
- elementWidth: vue.ShallowRef<number, number>;
717
- isOutside: vue.ShallowRef<boolean, boolean>;
718
- stop: () => void;
719
- };
720
- type UseMouseInElementReturn = ReturnType<typeof useMouseInElement>;
721
-
722
- type MouseInElement = Omit<UseMouseInElementReturn, 'stop'>;
723
- type BindingValueFunction$2 = (mouse: Reactive<MouseInElement>) => void;
724
- type BindingValueArray$2 = [BindingValueFunction$2, MouseInElementOptions];
725
- declare const vMouseInElement: ObjectDirective<HTMLElement, BindingValueFunction$2 | BindingValueArray$2>;
726
-
727
- declare const UseMousePressed: vue.DefineComponent<Omit<MousePressedOptions, "target"> & RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Omit<MousePressedOptions, "target"> & RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
728
-
729
- declare const UseNetwork: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
730
- [key: string]: any;
731
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
732
-
733
- declare const UseNow: vue.DefineComponent<Omit<UseNowOptions<true>, "controls">, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Omit<UseNowOptions<true>, "controls">> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
734
-
735
- interface UseObjectUrlProps {
736
- object: Blob | MediaSource | undefined;
737
- }
738
- declare const UseObjectUrl: vue.DefineComponent<UseObjectUrlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseObjectUrlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
739
-
740
- interface UseOffsetPaginationOptions {
741
- /**
742
- * Total number of items.
743
- */
744
- total?: MaybeRefOrGetter<number>;
745
- /**
746
- * The number of items to display per page.
747
- * @default 10
748
- */
749
- pageSize?: MaybeRefOrGetter<number>;
750
- /**
751
- * The current page number.
752
- * @default 1
753
- */
754
- page?: MaybeRef<number>;
755
- /**
756
- * Callback when the `page` change.
757
- */
758
- onPageChange?: (returnValue: UnwrapNestedRefs<UseOffsetPaginationReturn>) => unknown;
759
- /**
760
- * Callback when the `pageSize` change.
761
- */
762
- onPageSizeChange?: (returnValue: UnwrapNestedRefs<UseOffsetPaginationReturn>) => unknown;
763
- /**
764
- * Callback when the `pageCount` change.
765
- */
766
- onPageCountChange?: (returnValue: UnwrapNestedRefs<UseOffsetPaginationReturn>) => unknown;
767
- }
768
- interface UseOffsetPaginationReturn {
769
- currentPage: Ref<number>;
770
- currentPageSize: Ref<number>;
771
- pageCount: ComputedRef<number>;
772
- isFirstPage: ComputedRef<boolean>;
773
- isLastPage: ComputedRef<boolean>;
774
- prev: () => void;
775
- next: () => void;
776
- }
777
-
778
- declare const UseOffsetPagination: vue.DefineComponent<UseOffsetPaginationOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseOffsetPaginationOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
779
-
780
- declare const UseOnline: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
781
- [key: string]: any;
782
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
783
-
784
- declare const UsePageLeave: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
785
- [key: string]: any;
786
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
787
-
788
- declare const UsePointer: vue.DefineComponent<Omit<UsePointerOptions, "target"> & {
789
- target: "window" | "self";
790
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Omit<UsePointerOptions, "target"> & {
791
- target: "window" | "self";
792
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
793
-
794
- declare const UsePointerLock: vue.DefineComponent<RenderableComponent, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<RenderableComponent> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
795
-
796
- declare const UsePreferredColorScheme: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
797
- [key: string]: any;
798
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
799
-
800
- declare const UsePreferredContrast: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
801
- [key: string]: any;
802
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
803
-
804
- declare const UsePreferredDark: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
805
- [key: string]: any;
806
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
807
-
808
- declare const UsePreferredLanguages: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
809
- [key: string]: any;
810
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
811
-
812
- declare const UsePreferredReducedMotion: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
813
- [key: string]: any;
814
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
815
-
816
- declare const UsePreferredReducedTransparency: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
817
- [key: string]: any;
818
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
819
-
820
- type BindingValueFunction$1 = ResizeObserverCallback;
821
- type BindingValueArray$1 = [BindingValueFunction$1, UseResizeObserverOptions];
822
- declare const vResizeObserver: ObjectDirective<HTMLElement, BindingValueFunction$1 | BindingValueArray$1>;
823
-
824
- declare const UseScreenSafeArea: vue.DefineComponent<vue.ExtractPropTypes<{
825
- top: BooleanConstructor;
826
- right: BooleanConstructor;
827
- bottom: BooleanConstructor;
828
- left: BooleanConstructor;
829
- }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
830
- [key: string]: any;
831
- }> | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
832
- top: BooleanConstructor;
833
- right: BooleanConstructor;
834
- bottom: BooleanConstructor;
835
- left: BooleanConstructor;
836
- }>> & Readonly<{}>, {
837
- top: boolean;
838
- left: boolean;
839
- right: boolean;
840
- bottom: boolean;
841
- }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
842
-
843
- type BindingValueFunction = (state: UseScrollReturn) => void;
844
- type BindingValueArray = [BindingValueFunction, UseScrollOptions];
845
- declare const vScroll: ObjectDirective<HTMLElement, BindingValueFunction | BindingValueArray>;
846
-
847
- declare const vScrollLock: FunctionDirective<HTMLElement, boolean>;
848
-
849
- interface UseTimeAgoComponentOptions extends Omit<UseTimeAgoOptions<true>, 'controls'> {
850
- time: MaybeRef<Date | number | string>;
851
- }
852
- declare const UseTimeAgo: vue.DefineComponent<UseTimeAgoComponentOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseTimeAgoComponentOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
853
-
854
- declare const UseTimestamp: vue.DefineComponent<Omit<UseTimestampOptions<true>, "controls">, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Omit<UseTimestampOptions<true>, "controls">> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
855
-
856
- interface UseVirtualListProps {
857
- /**
858
- * data of scrollable list
859
- *
860
- * @default []
861
- */
862
- list: Array<any>;
863
- /**
864
- * useVirtualList's options
865
- *
866
- * @default {}
867
- */
868
- options: UseVirtualListOptions;
869
- /**
870
- * virtualList's height
871
- *
872
- * @default 300px
873
- */
874
- height: string;
875
- }
876
- declare const UseVirtualList: vue.DefineComponent<UseVirtualListProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseVirtualListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
877
-
878
- declare const UseWindowFocus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
879
- [key: string]: any;
880
- }>[] | undefined, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
881
-
882
- declare const UseWindowSize: vue.DefineComponent<UseWindowSizeOptions, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<UseWindowSizeOptions> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
883
-
884
- export { OnClickOutside, type OnClickOutsideProps, OnLongPress, type OnLongPressProps, UseActiveElement, UseBattery, UseBrowserLocation, UseClipboard, UseColorMode, UseDark, UseDeviceMotion, UseDeviceOrientation, UseDevicePixelRatio, UseDevicesList, UseDocumentVisibility, UseDraggable, type UseDraggableProps, UseElementBounding, UseElementSize, UseElementVisibility, UseEyeDropper, UseFullscreen, UseGeolocation, UseIdle, UseImage, UseMouse, UseMouseInElement, UseMousePressed, UseNetwork, UseNow, UseObjectUrl, type UseObjectUrlProps, UseOffsetPagination, UseOnline, UsePageLeave, UsePointer, UsePointerLock, UsePreferredColorScheme, UsePreferredContrast, UsePreferredDark, UsePreferredLanguages, UsePreferredReducedMotion, UsePreferredReducedTransparency, UseScreenSafeArea, UseTimeAgo, UseTimestamp, UseVirtualList, type UseVirtualListProps, UseWindowFocus, UseWindowSize, vOnClickOutside as VOnClickOutside, vOnLongPress as VOnLongPress, vElementBounding, vElementHover, vElementSize, vElementVisibility, vInfiniteScroll, vIntersectionObserver, vMouseInElement, vOnClickOutside, vOnKeyStroke, vOnLongPress, vResizeObserver, vScroll, vScrollLock };