123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753 |
- import * as vue from 'vue';
- import { ComponentPropsOptions, ExtractPropTypes, Ref, EffectScope, PropType } from 'vue';
- declare const block: readonly ["top", "bottom"];
- declare const inline: readonly ["start", "end", "left", "right"];
- type Tblock = typeof block[number];
- type Tinline = typeof inline[number];
- type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
- declare class Box {
- x: number;
- y: number;
- width: number;
- height: number;
- constructor({ x, y, width, height }: {
- x: number;
- y: number;
- width: number;
- height: number;
- });
- get top(): number;
- get bottom(): number;
- get left(): number;
- get right(): number;
- }
- interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
- filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
- }
- interface LocationStrategyData {
- contentEl: Ref<HTMLElement | undefined>;
- activatorEl: Ref<HTMLElement | undefined>;
- isActive: Ref<boolean>;
- isRtl: Ref<boolean>;
- }
- type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => undefined | {
- updateLocation: (e: Event) => void;
- };
- declare const locationStrategies: {
- static: typeof staticLocationStrategy;
- connected: typeof connectedLocationStrategy;
- };
- interface StrategyProps$1 {
- locationStrategy: keyof typeof locationStrategies | LocationStrategyFn;
- location: Anchor;
- origin: Anchor | 'auto' | 'overlap';
- offset?: number | string | number[];
- maxHeight?: number | string;
- maxWidth?: number | string;
- minHeight?: number | string;
- minWidth?: number | string;
- }
- declare function staticLocationStrategy(): void;
- declare function connectedLocationStrategy(data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>): {
- updateLocation: () => {
- available: {
- x: number;
- y: number;
- };
- contentBox: Box;
- } | undefined;
- };
- interface ScrollStrategyData {
- root: Ref<HTMLElement | undefined>;
- contentEl: Ref<HTMLElement | undefined>;
- activatorEl: Ref<HTMLElement | undefined>;
- isActive: Ref<boolean>;
- updateLocation: Ref<((e: Event) => void) | undefined>;
- }
- type ScrollStrategyFn = (data: ScrollStrategyData, props: StrategyProps, scope: EffectScope) => void;
- declare const scrollStrategies: {
- none: null;
- close: typeof closeScrollStrategy;
- block: typeof blockScrollStrategy;
- reposition: typeof repositionScrollStrategy;
- };
- interface StrategyProps {
- scrollStrategy: keyof typeof scrollStrategies | ScrollStrategyFn;
- contained: boolean | undefined;
- }
- declare function closeScrollStrategy(data: ScrollStrategyData): void;
- declare function blockScrollStrategy(data: ScrollStrategyData, props: StrategyProps): void;
- declare function repositionScrollStrategy(data: ScrollStrategyData, props: StrategyProps, scope: EffectScope): void;
- declare const VOverlay: {
- new (...args: any[]): {
- $: vue.ComponentInternalInstance;
- $data: {};
- $props: {
- absolute?: boolean | undefined;
- location?: Anchor | undefined;
- origin?: "auto" | Anchor | "overlap" | undefined;
- transition?: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- }) | undefined;
- zIndex?: string | number | undefined;
- style?: vue.StyleValue | undefined;
- eager?: boolean | undefined;
- disabled?: boolean | undefined;
- modelValue?: boolean | undefined;
- locationStrategy?: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined) | undefined;
- scrollStrategy?: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition" | undefined;
- activatorProps?: Record<string, any> | undefined;
- openOnClick?: boolean | undefined;
- openOnHover?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- closeOnContentClick?: boolean | undefined;
- closeOnBack?: boolean | undefined;
- contained?: boolean | undefined;
- noClickAnimation?: boolean | undefined;
- persistent?: boolean | undefined;
- scrim?: string | boolean | undefined;
- _disableGlobalStack?: boolean | undefined;
- offset?: string | number | number[] | undefined;
- key?: string | number | symbol | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- class?: any;
- onAfterLeave?: (() => any) | undefined;
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild);
- ref?: vue.VNodeRef | undefined;
- ref_for?: boolean | undefined;
- ref_key?: string | undefined;
- theme?: string | undefined;
- "v-slot:default"?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- contentClass?: any;
- onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>) => void)[] | undefined;
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- activator?: string | Element | vue.ComponentPublicInstance | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- "onClick:outside"?: ((e: MouseEvent) => any) | undefined;
- };
- $attrs: {
- [x: string]: unknown;
- };
- $refs: {
- [x: string]: unknown;
- };
- $slots: Readonly<{
- default?: ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[]) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[]) | undefined;
- }>;
- $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
- $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
- $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterLeave") => void);
- $el: any;
- $options: vue.ComponentOptionsBase<{
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- });
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined);
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- persistent: boolean;
- scrim: string | boolean;
- _disableGlobalStack: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: string | Element | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } & {
- onAfterLeave?: (() => any) | undefined;
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- "onClick:outside"?: ((e: MouseEvent) => any) | undefined;
- }, {
- activatorEl: Ref<HTMLElement | undefined>;
- animateClick: () => void;
- contentEl: Ref<HTMLElement | undefined>;
- globalTop: Readonly<Ref<boolean>>;
- localTop: vue.ComputedRef<boolean>;
- updateLocation: Ref<((e: Event) => void) | undefined>;
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'click:outside': (e: MouseEvent) => true;
- 'update:modelValue': (value: boolean) => true;
- afterLeave: () => true;
- }, string, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- });
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined);
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnClick: boolean;
- openOnHover: boolean;
- openOnFocus: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- persistent: boolean;
- scrim: string | boolean;
- _disableGlobalStack: boolean;
- }, {}, string, vue.SlotsType<Partial<{
- default: (arg: {
- isActive: Ref<boolean>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- activator: (arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- }>>> & {
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
- created?: ((() => void) | (() => void)[]) | undefined;
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
- mounted?: ((() => void) | (() => void)[]) | undefined;
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
- updated?: ((() => void) | (() => void)[]) | undefined;
- activated?: ((() => void) | (() => void)[]) | undefined;
- deactivated?: ((() => void) | (() => void)[]) | undefined;
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
- destroyed?: ((() => void) | (() => void)[]) | undefined;
- unmounted?: ((() => void) | (() => void)[]) | undefined;
- renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
- renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
- errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
- };
- $forceUpdate: () => void;
- $nextTick: typeof vue.nextTick;
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
- } & {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- });
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined);
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- persistent: boolean;
- scrim: string | boolean;
- _disableGlobalStack: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: string | Element | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } & {
- onAfterLeave?: (() => any) | undefined;
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- "onClick:outside"?: ((e: MouseEvent) => any) | undefined;
- } & vue.ShallowUnwrapRef<{
- activatorEl: Ref<HTMLElement | undefined>;
- animateClick: () => void;
- contentEl: Ref<HTMLElement | undefined>;
- globalTop: Readonly<Ref<boolean>>;
- localTop: vue.ComputedRef<boolean>;
- updateLocation: Ref<((e: Event) => void) | undefined>;
- }> & {} & vue.ComponentCustomProperties & {};
- __isFragment?: undefined;
- __isTeleport?: undefined;
- __isSuspense?: undefined;
- } & vue.ComponentOptionsBase<{
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- });
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined);
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- persistent: boolean;
- scrim: string | boolean;
- _disableGlobalStack: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: string | Element | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNodeChild) | undefined;
- } & {
- onAfterLeave?: (() => any) | undefined;
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- "onClick:outside"?: ((e: MouseEvent) => any) | undefined;
- }, {
- activatorEl: Ref<HTMLElement | undefined>;
- animateClick: () => void;
- contentEl: Ref<HTMLElement | undefined>;
- globalTop: Readonly<Ref<boolean>>;
- localTop: vue.ComputedRef<boolean>;
- updateLocation: Ref<((e: Event) => void) | undefined>;
- }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'click:outside': (e: MouseEvent) => true;
- 'update:modelValue': (value: boolean) => true;
- afterLeave: () => true;
- }, string, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- });
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined);
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnClick: boolean;
- openOnHover: boolean;
- openOnFocus: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- persistent: boolean;
- scrim: string | boolean;
- _disableGlobalStack: boolean;
- }, {}, string, vue.SlotsType<Partial<{
- default: (arg: {
- isActive: Ref<boolean>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- activator: (arg: {
- isActive: boolean;
- props: Record<string, any>;
- }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
- [key: string]: any;
- }>[];
- }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
- transition: {
- type: PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- })>;
- default: string;
- validator: (val: unknown) => boolean;
- };
- theme: StringConstructor;
- scrollStrategy: {
- type: PropType<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- default: string;
- validator: (val: any) => boolean;
- };
- locationStrategy: {
- type: PropType<"connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined)>;
- default: string;
- validator: (val: any) => boolean;
- };
- location: {
- type: PropType<Anchor>;
- default: string;
- };
- origin: {
- type: PropType<"auto" | Anchor | "overlap">;
- default: string;
- };
- offset: PropType<string | number | number[] | undefined>;
- eager: BooleanConstructor;
- height: (StringConstructor | NumberConstructor)[];
- maxHeight: (StringConstructor | NumberConstructor)[];
- maxWidth: (StringConstructor | NumberConstructor)[];
- minHeight: (StringConstructor | NumberConstructor)[];
- minWidth: (StringConstructor | NumberConstructor)[];
- width: (StringConstructor | NumberConstructor)[];
- class: PropType<any>;
- style: {
- type: PropType<vue.StyleValue>;
- default: null;
- };
- closeDelay: (StringConstructor | NumberConstructor)[];
- openDelay: (StringConstructor | NumberConstructor)[];
- activator: PropType<string | Element | vue.ComponentPublicInstance | undefined>;
- activatorProps: {
- type: PropType<Record<string, any>>;
- default: () => {};
- };
- openOnClick: {
- type: BooleanConstructor;
- default: undefined;
- };
- openOnHover: BooleanConstructor;
- openOnFocus: {
- type: BooleanConstructor;
- default: undefined;
- };
- closeOnContentClick: BooleanConstructor;
- absolute: BooleanConstructor;
- attach: PropType<string | boolean | Element>;
- closeOnBack: {
- type: BooleanConstructor;
- default: boolean;
- };
- contained: BooleanConstructor;
- contentClass: null;
- contentProps: null;
- disabled: BooleanConstructor;
- noClickAnimation: BooleanConstructor;
- modelValue: BooleanConstructor;
- persistent: BooleanConstructor;
- scrim: {
- type: (StringConstructor | BooleanConstructor)[];
- default: boolean;
- };
- zIndex: {
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- };
- _disableGlobalStack: BooleanConstructor;
- }, vue.ExtractPropTypes<{
- transition: {
- type: PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component | undefined;
- })>;
- default: string;
- validator: (val: unknown) => boolean;
- };
- theme: StringConstructor;
- scrollStrategy: {
- type: PropType<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- default: string;
- validator: (val: any) => boolean;
- };
- locationStrategy: {
- type: PropType<"connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => {
- updateLocation: (e: Event) => void;
- } | undefined)>;
- default: string;
- validator: (val: any) => boolean;
- };
- location: {
- type: PropType<Anchor>;
- default: string;
- };
- origin: {
- type: PropType<"auto" | Anchor | "overlap">;
- default: string;
- };
- offset: PropType<string | number | number[] | undefined>;
- eager: BooleanConstructor;
- height: (StringConstructor | NumberConstructor)[];
- maxHeight: (StringConstructor | NumberConstructor)[];
- maxWidth: (StringConstructor | NumberConstructor)[];
- minHeight: (StringConstructor | NumberConstructor)[];
- minWidth: (StringConstructor | NumberConstructor)[];
- width: (StringConstructor | NumberConstructor)[];
- class: PropType<any>;
- style: {
- type: PropType<vue.StyleValue>;
- default: null;
- };
- closeDelay: (StringConstructor | NumberConstructor)[];
- openDelay: (StringConstructor | NumberConstructor)[];
- activator: PropType<string | Element | vue.ComponentPublicInstance | undefined>;
- activatorProps: {
- type: PropType<Record<string, any>>;
- default: () => {};
- };
- openOnClick: {
- type: BooleanConstructor;
- default: undefined;
- };
- openOnHover: BooleanConstructor;
- openOnFocus: {
- type: BooleanConstructor;
- default: undefined;
- };
- closeOnContentClick: BooleanConstructor;
- absolute: BooleanConstructor;
- attach: PropType<string | boolean | Element>;
- closeOnBack: {
- type: BooleanConstructor;
- default: boolean;
- };
- contained: BooleanConstructor;
- contentClass: null;
- contentProps: null;
- disabled: BooleanConstructor;
- noClickAnimation: BooleanConstructor;
- modelValue: BooleanConstructor;
- persistent: BooleanConstructor;
- scrim: {
- type: (StringConstructor | BooleanConstructor)[];
- default: boolean;
- };
- zIndex: {
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- };
- _disableGlobalStack: BooleanConstructor;
- }>>;
- type VOverlay = InstanceType<typeof VOverlay>;
- export { VOverlay };
|