Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

floating-vue

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

floating-vue - npm Package Compare versions

Comparing version 2.0.0-beta.20 to 2.0.0-beta.21

dist/floating-vue.mjs

26

dist/components/Dropdown.vue.d.ts

@@ -1,6 +0,7 @@

declare const _default: import("vue").DefineComponent<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>, unknown, unknown, {
declare const Component: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;

@@ -20,7 +21,10 @@ }, {

};
}, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>>, {}>;
export default _default;
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export default Component;

@@ -1,6 +0,7 @@

declare const _default: import("vue").DefineComponent<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>, unknown, unknown, {
declare const Component: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;

@@ -20,7 +21,10 @@ }, {

};
}, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>>, {}>;
export default _default;
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export default Component;
import { computePosition } from '@floating-ui/dom';
import { Placement } from '../util/popper';
export declare type ComputePositionConfig = Parameters<typeof computePosition>[2];
export type ComputePositionConfig = Parameters<typeof computePosition>[2];
declare const _default: () => import("vue").DefineComponent<{

@@ -172,2 +172,6 @@ theme: {

};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}, unknown, {

@@ -249,89 +253,178 @@ isShown: boolean;

$_isAimingPopper(): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "resize" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "hide" | "show" | "resize" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
theme?: unknown;
targetNodes?: unknown;
referenceNode?: unknown;
popperNode?: unknown;
shown?: unknown;
showGroup?: unknown;
ariaId?: unknown;
disabled?: unknown;
positioningDisabled?: unknown;
placement?: unknown;
delay?: unknown;
distance?: unknown;
skidding?: unknown;
triggers?: unknown;
showTriggers?: unknown;
hideTriggers?: unknown;
popperTriggers?: unknown;
popperShowTriggers?: unknown;
popperHideTriggers?: unknown;
container?: unknown;
boundary?: unknown;
strategy?: unknown;
autoHide?: unknown;
handleResize?: unknown;
instantMove?: unknown;
eagerMount?: unknown;
popperClass?: unknown;
computeTransformOrigin?: unknown;
autoMinSize?: unknown;
autoSize?: unknown;
autoMaxSize?: unknown;
autoBoundaryMaxSize?: unknown;
preventOverflow?: unknown;
overflowPadding?: unknown;
arrowPadding?: unknown;
arrowOverflow?: unknown;
flip?: unknown;
shift?: unknown;
shiftCrossAxis?: unknown;
noAutoFocus?: unknown;
} & {
shift: boolean;
disabled: boolean;
boundary: any;
flip: boolean;
placement: string;
strategy: string;
positioningDisabled: boolean;
delay: string | number | Record<string, any>;
distance: string | number;
skidding: string | number;
triggers: unknown[];
showTriggers: Function | unknown[];
hideTriggers: Function | unknown[];
popperTriggers: unknown[];
popperShowTriggers: Function | unknown[];
popperHideTriggers: Function | unknown[];
container: any;
autoHide: boolean | Function;
handleResize: boolean;
instantMove: boolean;
eagerMount: boolean;
popperClass: string | unknown[] | Record<string, any>;
computeTransformOrigin: boolean;
autoMinSize: boolean;
autoSize: string | boolean;
autoMaxSize: boolean;
autoBoundaryMaxSize: boolean;
preventOverflow: boolean;
overflowPadding: string | number;
arrowPadding: string | number;
arrowOverflow: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
shown: boolean;
theme: string;
targetNodes: Function;
popperNode: Function;
} & {
referenceNode?: Function;
showGroup?: string;
ariaId?: any;
}> & {
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
required: true;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
referenceNode: {
type: FunctionConstructor;
default: any;
};
popperNode: {
type: FunctionConstructor;
required: true;
};
shown: {
type: BooleanConstructor;
default: boolean;
};
showGroup: {
type: StringConstructor;
default: any;
};
ariaId: {
default: any;
};
disabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
positioningDisabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
placement: {
type: StringConstructor;
default: (props: any) => any;
validator: (value: Placement) => boolean;
};
delay: {
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
distance: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
skidding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
triggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
showTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
hideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperTriggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
popperShowTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperHideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
container: {
type: any[];
default: (props: any) => any;
};
boundary: {
type: any[];
default: (props: any) => any;
};
strategy: {
type: StringConstructor;
validator: (value: string) => boolean;
default: (props: any) => any;
};
autoHide: {
type: (FunctionConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
handleResize: {
type: BooleanConstructor;
default: (props: any) => any;
};
instantMove: {
type: BooleanConstructor;
default: (props: any) => any;
};
eagerMount: {
type: BooleanConstructor;
default: (props: any) => any;
};
popperClass: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
computeTransformOrigin: {
type: BooleanConstructor;
default: (props: any) => any;
};
/**
* @deprecated
*/
autoMinSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoSize: {
type: (StringConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
/**
* @deprecated
*/
autoMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoBoundaryMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
preventOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
overflowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
flip: {
type: BooleanConstructor;
default: (props: any) => any;
};
shift: {
type: BooleanConstructor;
default: (props: any) => any;
};
shiftCrossAxis: {
type: BooleanConstructor;
default: (props: any) => any;
};
noAutoFocus: {
type: BooleanConstructor;
default: (props: any) => any;
};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}>> & {
onResize?: (...args: any[]) => any;
onShow?: (...args: any[]) => any;
onHide?: (...args: any[]) => any;
onShow?: (...args: any[]) => any;
onResize?: (...args: any[]) => any;
"onUpdate:shown"?: (...args: any[]) => any;

@@ -345,8 +438,5 @@ "onApply-show"?: (...args: any[]) => any;

}, {
shift: boolean;
disabled: boolean;
boundary: any;
flip: boolean;
placement: string;
strategy: string;
disabled: boolean;
positioningDisabled: boolean;

@@ -363,2 +453,3 @@ delay: string | number | Record<string, any>;

container: any;
boundary: any;
autoHide: boolean | Function;

@@ -378,4 +469,7 @@ handleResize: boolean;

arrowOverflow: boolean;
flip: boolean;
shift: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
disposeTimeout: number;
shown: boolean;

@@ -385,4 +479,4 @@ referenceNode: Function;

ariaId: any;
}>;
}, {}>;
export default _default;
export declare function hideAllPoppers(): void;

@@ -1,374 +0,460 @@

declare const _default: {
extends: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
required: true;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
referenceNode: {
type: FunctionConstructor;
default: any;
};
popperNode: {
type: FunctionConstructor;
required: true;
};
shown: {
type: BooleanConstructor;
default: boolean;
};
showGroup: {
type: StringConstructor;
default: any;
};
ariaId: {
default: any;
};
disabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
positioningDisabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
placement: {
type: StringConstructor;
default: (props: any) => any;
validator: (value: import("../util/popper").Placement) => boolean;
};
delay: {
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
distance: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
skidding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
triggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
showTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
hideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperTriggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
popperShowTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperHideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
container: {
type: any[];
default: (props: any) => any;
};
boundary: {
type: any[];
default: (props: any) => any;
};
strategy: {
type: StringConstructor;
validator: (value: string) => boolean;
default: (props: any) => any;
};
autoHide: {
type: (FunctionConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
handleResize: {
type: BooleanConstructor;
default: (props: any) => any;
};
instantMove: {
type: BooleanConstructor;
default: (props: any) => any;
};
eagerMount: {
type: BooleanConstructor;
default: (props: any) => any;
};
popperClass: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
computeTransformOrigin: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoMinSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoSize: {
type: (StringConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
autoMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoBoundaryMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
preventOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
overflowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
flip: {
type: BooleanConstructor;
default: (props: any) => any;
};
shift: {
type: BooleanConstructor;
default: (props: any) => any;
};
shiftCrossAxis: {
type: BooleanConstructor;
default: (props: any) => any;
};
noAutoFocus: {
type: BooleanConstructor;
default: (props: any) => any;
};
}, unknown, {
isShown: boolean;
isMounted: boolean;
skipTransition: boolean;
classes: {
showFrom: boolean;
showTo: boolean;
hideFrom: boolean;
hideTo: boolean;
};
result: {
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<{
theme: {
type: StringConstructor;
required: true;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
referenceNode: {
type: FunctionConstructor;
default: any;
};
popperNode: {
type: FunctionConstructor;
required: true;
};
shown: {
type: BooleanConstructor;
default: boolean;
};
showGroup: {
type: StringConstructor;
default: any;
};
ariaId: {
default: any;
};
disabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
positioningDisabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
placement: {
type: StringConstructor;
default: (props: any) => any;
validator: (value: import("..").Placement) => boolean;
};
delay: {
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
distance: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
skidding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
triggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
showTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
hideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperTriggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
popperShowTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperHideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
container: {
type: any[];
default: (props: any) => any;
};
boundary: {
type: any[];
default: (props: any) => any;
};
strategy: {
type: StringConstructor;
validator: (value: string) => boolean;
default: (props: any) => any;
};
autoHide: {
type: (FunctionConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
handleResize: {
type: BooleanConstructor;
default: (props: any) => any;
};
instantMove: {
type: BooleanConstructor;
default: (props: any) => any;
};
eagerMount: {
type: BooleanConstructor;
default: (props: any) => any;
};
popperClass: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
computeTransformOrigin: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoMinSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoSize: {
type: (StringConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
autoMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoBoundaryMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
preventOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
overflowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
flip: {
type: BooleanConstructor;
default: (props: any) => any;
};
shift: {
type: BooleanConstructor;
default: (props: any) => any;
};
shiftCrossAxis: {
type: BooleanConstructor;
default: (props: any) => any;
};
noAutoFocus: {
type: BooleanConstructor;
default: (props: any) => any;
};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}, unknown, {
isShown: boolean;
isMounted: boolean;
skipTransition: boolean;
classes: {
showFrom: boolean;
showTo: boolean;
hideFrom: boolean;
hideTo: boolean;
};
result: {
x: number;
y: number;
placement: string;
strategy: string;
arrow: {
x: number;
y: number;
placement: string;
strategy: string;
arrow: {
x: number;
y: number;
centerOffset: number;
};
transformOrigin: any;
centerOffset: number;
};
shownChildren: Set<unknown>;
lastAutoHide: boolean;
}, {
popperId(): any;
shouldMountContent(): any;
slotData(): {
popperId: any;
isShown: any;
shouldMountContent: any;
skipTransition: any;
autoHide: any;
show: any;
hide: any;
handleResize: any;
onResize: any;
classes: any;
result: any;
attrs: any;
};
parentPopper(): any;
hasPopperShowTriggerHover(): any;
}, {
show({ event, skipDelay, force }?: {
event?: any;
skipDelay?: boolean;
force?: boolean;
}): void;
hide({ event, skipDelay }?: {
event?: any;
skipDelay?: boolean;
}): void;
init(): void;
dispose(): void;
onResize(): Promise<void>;
$_computePosition(): Promise<void>;
$_scheduleShow(event?: any, skipDelay?: boolean): void;
$_scheduleHide(event?: any, skipDelay?: boolean): void;
$_computeDelay(type: any): number;
$_applyShow(skipTransition?: boolean): Promise<void>;
$_applyShowEffect(): Promise<void>;
$_applyHide(skipTransition?: boolean): Promise<void>;
$_autoShowHide(): void;
$_ensureTeleport(): void;
$_addEventListeners(): void;
$_registerEventListeners(targetNodes: any[], eventType: string, handler: (event: Event) => void): void;
$_registerTriggerListeners(targetNodes: any[], eventMap: Record<string, string>, commonTriggers: any, customTrigger: any, handler: (event: Event) => void): void;
$_removeEventListeners(filterEventType?: string): void;
$_refreshListeners(): void;
$_handleGlobalClose(event: any, touch?: boolean): void;
$_detachPopperNode(): void;
$_swapTargetAttrs(attrFrom: any, attrTo: any): void;
$_applyAttrsToTarget(attrs: any): void;
$_updateParentShownChildren(value: any): void;
$_isAimingPopper(): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "resize" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "hide" | "show" | "resize" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
theme?: unknown;
targetNodes?: unknown;
referenceNode?: unknown;
popperNode?: unknown;
shown?: unknown;
showGroup?: unknown;
ariaId?: unknown;
disabled?: unknown;
positioningDisabled?: unknown;
placement?: unknown;
delay?: unknown;
distance?: unknown;
skidding?: unknown;
triggers?: unknown;
showTriggers?: unknown;
hideTriggers?: unknown;
popperTriggers?: unknown;
popperShowTriggers?: unknown;
popperHideTriggers?: unknown;
container?: unknown;
boundary?: unknown;
strategy?: unknown;
autoHide?: unknown;
handleResize?: unknown;
instantMove?: unknown;
eagerMount?: unknown;
popperClass?: unknown;
computeTransformOrigin?: unknown;
autoMinSize?: unknown;
autoSize?: unknown;
autoMaxSize?: unknown;
autoBoundaryMaxSize?: unknown;
preventOverflow?: unknown;
overflowPadding?: unknown;
arrowPadding?: unknown;
arrowOverflow?: unknown;
flip?: unknown;
shift?: unknown;
shiftCrossAxis?: unknown;
noAutoFocus?: unknown;
} & {
shift: boolean;
disabled: boolean;
boundary: any;
flip: boolean;
placement: string;
strategy: string;
positioningDisabled: boolean;
delay: string | number | Record<string, any>;
distance: string | number;
skidding: string | number;
triggers: unknown[];
showTriggers: Function | unknown[];
hideTriggers: Function | unknown[];
popperTriggers: unknown[];
popperShowTriggers: Function | unknown[];
popperHideTriggers: Function | unknown[];
container: any;
autoHide: boolean | Function;
handleResize: boolean;
instantMove: boolean;
eagerMount: boolean;
popperClass: string | unknown[] | Record<string, any>;
computeTransformOrigin: boolean;
autoMinSize: boolean;
autoSize: string | boolean;
autoMaxSize: boolean;
autoBoundaryMaxSize: boolean;
preventOverflow: boolean;
overflowPadding: string | number;
arrowPadding: string | number;
arrowOverflow: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
shown: boolean;
theme: string;
targetNodes: Function;
popperNode: Function;
} & {
referenceNode?: Function;
showGroup?: string;
ariaId?: any;
}> & {
onHide?: (...args: any[]) => any;
onShow?: (...args: any[]) => any;
onResize?: (...args: any[]) => any;
"onUpdate:shown"?: (...args: any[]) => any;
"onApply-show"?: (...args: any[]) => any;
"onApply-hide"?: (...args: any[]) => any;
"onClose-group"?: (...args: any[]) => any;
"onClose-directive"?: (...args: any[]) => any;
"onAuto-hide"?: (...args: any[]) => any;
onDispose?: (...args: any[]) => any;
}, {
shift: boolean;
disabled: boolean;
boundary: any;
flip: boolean;
placement: string;
strategy: string;
positioningDisabled: boolean;
delay: string | number | Record<string, any>;
distance: string | number;
skidding: string | number;
triggers: unknown[];
showTriggers: Function | unknown[];
hideTriggers: Function | unknown[];
popperTriggers: unknown[];
popperShowTriggers: Function | unknown[];
popperHideTriggers: Function | unknown[];
container: any;
autoHide: boolean | Function;
handleResize: boolean;
instantMove: boolean;
eagerMount: boolean;
popperClass: string | unknown[] | Record<string, any>;
computeTransformOrigin: boolean;
autoMinSize: boolean;
autoSize: string | boolean;
autoMaxSize: boolean;
autoBoundaryMaxSize: boolean;
preventOverflow: boolean;
overflowPadding: string | number;
arrowPadding: string | number;
arrowOverflow: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
shown: boolean;
referenceNode: Function;
showGroup: string;
ariaId: any;
}>;
};
transformOrigin: any;
};
shownChildren: Set<unknown>;
lastAutoHide: boolean;
}, {
popperId(): any;
shouldMountContent(): any;
slotData(): {
popperId: any;
isShown: any;
shouldMountContent: any;
skipTransition: any;
autoHide: any;
show: any;
hide: any;
handleResize: any;
onResize: any;
classes: any;
result: any;
attrs: any;
};
parentPopper(): any;
hasPopperShowTriggerHover(): any;
}, {
show({ event, skipDelay, force }?: {
event?: any;
skipDelay?: boolean;
force?: boolean;
}): void;
hide({ event, skipDelay }?: {
event?: any;
skipDelay?: boolean;
}): void;
init(): void;
dispose(): void;
onResize(): Promise<void>;
$_computePosition(): Promise<void>;
$_scheduleShow(event?: any, skipDelay?: boolean): void;
$_scheduleHide(event?: any, skipDelay?: boolean): void;
$_computeDelay(type: any): number;
$_applyShow(skipTransition?: boolean): Promise<void>;
$_applyShowEffect(): Promise<void>;
$_applyHide(skipTransition?: boolean): Promise<void>;
$_autoShowHide(): void;
$_ensureTeleport(): void;
$_addEventListeners(): void;
$_registerEventListeners(targetNodes: any[], eventType: string, handler: (event: Event) => void): void;
$_registerTriggerListeners(targetNodes: any[], eventMap: Record<string, string>, commonTriggers: any, customTrigger: any, handler: (event: Event) => void): void;
$_removeEventListeners(filterEventType?: string): void;
$_refreshListeners(): void;
$_handleGlobalClose(event: any, touch?: boolean): void;
$_detachPopperNode(): void;
$_swapTargetAttrs(attrFrom: any, attrTo: any): void;
$_applyAttrsToTarget(attrs: any): void;
$_updateParentShownChildren(value: any): void;
$_isAimingPopper(): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
required: true;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
referenceNode: {
type: FunctionConstructor;
default: any;
};
popperNode: {
type: FunctionConstructor;
required: true;
};
shown: {
type: BooleanConstructor;
default: boolean;
};
showGroup: {
type: StringConstructor;
default: any;
};
ariaId: {
default: any;
};
disabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
positioningDisabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
placement: {
type: StringConstructor;
default: (props: any) => any;
validator: (value: import("..").Placement) => boolean;
};
delay: {
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
distance: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
skidding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
triggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
showTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
hideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperTriggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
popperShowTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperHideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
container: {
type: any[];
default: (props: any) => any;
};
boundary: {
type: any[];
default: (props: any) => any;
};
strategy: {
type: StringConstructor;
validator: (value: string) => boolean;
default: (props: any) => any;
};
autoHide: {
type: (FunctionConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
handleResize: {
type: BooleanConstructor;
default: (props: any) => any;
};
instantMove: {
type: BooleanConstructor;
default: (props: any) => any;
};
eagerMount: {
type: BooleanConstructor;
default: (props: any) => any;
};
popperClass: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
computeTransformOrigin: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoMinSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoSize: {
type: (StringConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
autoMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoBoundaryMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
preventOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
overflowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
flip: {
type: BooleanConstructor;
default: (props: any) => any;
};
shift: {
type: BooleanConstructor;
default: (props: any) => any;
};
shiftCrossAxis: {
type: BooleanConstructor;
default: (props: any) => any;
};
noAutoFocus: {
type: BooleanConstructor;
default: (props: any) => any;
};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}>> & {
onResize?: (...args: any[]) => any;
onShow?: (...args: any[]) => any;
onHide?: (...args: any[]) => any;
"onUpdate:shown"?: (...args: any[]) => any;
"onApply-show"?: (...args: any[]) => any;
"onApply-hide"?: (...args: any[]) => any;
"onClose-group"?: (...args: any[]) => any;
"onClose-directive"?: (...args: any[]) => any;
"onAuto-hide"?: (...args: any[]) => any;
onDispose?: (...args: any[]) => any;
}, {
placement: string;
strategy: string;
disabled: boolean;
positioningDisabled: boolean;
delay: string | number | Record<string, any>;
distance: string | number;
skidding: string | number;
triggers: unknown[];
showTriggers: Function | unknown[];
hideTriggers: Function | unknown[];
popperTriggers: unknown[];
popperShowTriggers: Function | unknown[];
popperHideTriggers: Function | unknown[];
container: any;
boundary: any;
autoHide: boolean | Function;
handleResize: boolean;
instantMove: boolean;
eagerMount: boolean;
popperClass: string | unknown[] | Record<string, any>;
computeTransformOrigin: boolean;
autoMinSize: boolean;
autoSize: string | boolean;
autoMaxSize: boolean;
autoBoundaryMaxSize: boolean;
preventOverflow: boolean;
overflowPadding: string | number;
arrowPadding: string | number;
arrowOverflow: boolean;
flip: boolean;
shift: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
disposeTimeout: number;
shown: boolean;
referenceNode: Function;
showGroup: string;
ariaId: any;
}, {}>, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
export default _default;

@@ -17,33 +17,22 @@ declare const _default: import("vue").DefineComponent<{

};
}, import("vue").ComponentOptionsMixin, ("hide" | "resize")[], "hide" | "resize", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
popperId?: unknown;
theme?: unknown;
shown?: unknown;
mounted?: unknown;
skipTransition?: unknown;
autoHide?: unknown;
handleResize?: unknown;
classes?: unknown;
result?: unknown;
} & {
mounted: boolean;
autoHide: boolean;
handleResize: boolean;
shown: boolean;
skipTransition: boolean;
} & {
result?: Record<string, any>;
theme?: string;
classes?: Record<string, any>;
popperId?: string;
}> & {
}, import("vue").ComponentOptionsMixin, ("resize" | "hide")[], "resize" | "hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
popperId: StringConstructor;
theme: StringConstructor;
shown: BooleanConstructor;
mounted: BooleanConstructor;
skipTransition: BooleanConstructor;
autoHide: BooleanConstructor;
handleResize: BooleanConstructor;
classes: ObjectConstructor;
result: ObjectConstructor;
}>> & {
onResize?: (...args: any[]) => any;
onHide?: (...args: any[]) => any;
onResize?: (...args: any[]) => any;
}, {
mounted: boolean;
autoHide: boolean;
handleResize: boolean;
shown: boolean;
mounted: boolean;
skipTransition: boolean;
}>;
}, {}>;
export default _default;

@@ -21,9 +21,10 @@ declare const _default: import("vue").DefineComponent<{

};
}, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>, {
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}>;
}, {}>;
export default _default;

@@ -1,6 +0,7 @@

declare const _default: import("vue").DefineComponent<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>, unknown, unknown, {
declare const Component: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;

@@ -20,7 +21,10 @@ }, {

};
}, import("vue").ComponentOptionsMixin, Record<string, any>, any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<{
theme?: unknown;
} & {} & {
theme?: string;
}>>, {}>;
export default _default;
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export default Component;

@@ -1,4 +0,23 @@

declare const _default: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
[x: string]: unknown;
}>>, unknown, {
declare const _default: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: string;
};
html: {
type: BooleanConstructor;
default: (props: any) => any;
};
content: {
type: (StringConstructor | FunctionConstructor | NumberConstructor)[];
default: any;
};
loadingContent: {
type: StringConstructor;
default: (props: any) => any;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
}, unknown, {
asyncContent: string;

@@ -21,9 +40,29 @@ }, {

};
}, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<{
[x: string]: unknown;
} & {} & {
[x: string]: unknown;
}>, {
[x: number]: string;
} | {}>;
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: string;
};
html: {
type: BooleanConstructor;
default: (props: any) => any;
};
content: {
type: (StringConstructor | FunctionConstructor | NumberConstructor)[];
default: any;
};
loadingContent: {
type: StringConstructor;
default: (props: any) => any;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
}>>, {
theme: string;
html: boolean;
content: string | number | Function;
loadingContent: string;
}, {}>;
export default _default;

@@ -1,2 +0,2 @@

export declare type FloatingVueConfig = any;
export type FloatingVueConfig = any;
export declare const config: FloatingVueConfig;

@@ -3,0 +3,0 @@ /**

@@ -1,1 +0,1 @@

var ft=Object.defineProperty,mt=Object.defineProperties;var gt=Object.getOwnPropertyDescriptors;var Ce=Object.getOwnPropertySymbols;var _t=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var Se=(r,i,h)=>i in r?ft(r,i,{enumerable:!0,configurable:!0,writable:!0,value:h}):r[i]=h,g=(r,i)=>{for(var h in i||(i={}))_t.call(i,h)&&Se(r,h,i[h]);if(Ce)for(var h of Ce(i))$t.call(i,h)&&Se(r,h,i[h]);return r},T=(r,i)=>mt(r,gt(i));(function(r,i){typeof exports=="object"&&typeof module!="undefined"?i(exports,require("vue"),require("@floating-ui/dom")):typeof define=="function"&&define.amd?define(["exports","vue","@floating-ui/dom"],i):(r=typeof globalThis!="undefined"?globalThis:r||self,i(r.FloatingVue={},r.Vue,r.FloatingUIDOM))})(this,function(r,i,h){"use strict";function Q(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?Q(e[o],t[o]):e[o]=t[o])}const m={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function v(e,t){let o=m.themes[e]||{},s;do s=o[t],typeof s=="undefined"?o.$extend?o=m.themes[o.$extend]||{}:(o=null,s=m[t]):o=null;while(o);return s}function be(e){const t=[e];let o=m.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=m.themes[o.$extend]||{}):o=null;while(o);return t.map(s=>`v-popper--theme-${s}`)}function Z(e){const t=[e];let o=m.themes[e]||{};do o.$extend?(t.push(o.$extend),o=m.themes[o.$extend]||{}):o=null;while(o);return t}var wt="";let w=!1;if(typeof window!="undefined"){w=!1;try{const e=Object.defineProperty({},"passive",{get(){w=!0}});window.addEventListener("test",null,e)}catch{}}let ee=!1;typeof window!="undefined"&&typeof navigator!="undefined"&&(ee=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const H=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),O={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},B={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function te(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function L(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const u=[];let y=null;const oe={};function ie(e){let t=oe[e];return t||(t=oe[e]=[]),t}let D=function(){};typeof window!="undefined"&&(D=window.Element);function a(e){return function(t){return v(t.theme,e)}}const I="__floating-vue__popper";var V=()=>i.defineComponent({name:"VPopper",provide(){return{[I]:{parentPopper:this}}},inject:{[I]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:a("disabled")},positioningDisabled:{type:Boolean,default:a("positioningDisabled")},placement:{type:String,default:a("placement"),validator:e=>H.includes(e)},delay:{type:[String,Number,Object],default:a("delay")},distance:{type:[Number,String],default:a("distance")},skidding:{type:[Number,String],default:a("skidding")},triggers:{type:Array,default:a("triggers")},showTriggers:{type:[Array,Function],default:a("showTriggers")},hideTriggers:{type:[Array,Function],default:a("hideTriggers")},popperTriggers:{type:Array,default:a("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:a("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:a("popperHideTriggers")},container:{type:[String,Object,D,Boolean],default:a("container")},boundary:{type:[String,D],default:a("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:a("strategy")},autoHide:{type:[Boolean,Function],default:a("autoHide")},handleResize:{type:Boolean,default:a("handleResize")},instantMove:{type:Boolean,default:a("instantMove")},eagerMount:{type:Boolean,default:a("eagerMount")},popperClass:{type:[String,Array,Object],default:a("popperClass")},computeTransformOrigin:{type:Boolean,default:a("computeTransformOrigin")},autoMinSize:{type:Boolean,default:a("autoMinSize")},autoSize:{type:[Boolean,String],default:a("autoSize")},autoMaxSize:{type:Boolean,default:a("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:a("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:a("preventOverflow")},overflowPadding:{type:[Number,String],default:a("overflowPadding")},arrowPadding:{type:[Number,String],default:a("arrowPadding")},arrowOverflow:{type:Boolean,default:a("arrowOverflow")},flip:{type:Boolean,default:a("flip")},shift:{type:Boolean,default:a("shift")},shiftCrossAxis:{type:Boolean,default:a("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:a("noAutoFocus")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:T(g({},this.classes),{popperClass:this.popperClass}),result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[I])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:g(g({shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())}},["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{})),["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})),created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var s,n;((s=this.parentPopper)==null?void 0:s.lockedChild)&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e,t;!this.$_isDisposed||(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(t=(e=this.referenceNode)==null?void 0:e.call(this))!=null?t:this.$el,this.$_targetNodes=this.targetNodes().filter(o=>o.nodeType===o.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){var s;if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(h.offset({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(h.autoPlacement({alignment:(s=this.placement.split("-")[1])!=null?s:""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(h.shift({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(h.flip({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(h.arrow({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:p,middlewareData:l})=>{let d;const{centerOffset:c}=l.arrow;return n.startsWith("top")||n.startsWith("bottom")?d=Math.abs(c)>p.reference.width/2:d=Math.abs(c)>p.reference.height/2,{data:{overflow:d}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:p,placement:l,middlewareData:d})=>{var P;if((P=d.autoSize)==null?void 0:P.skip)return{};let c,f;return l.startsWith("top")||l.startsWith("bottom")?c=p.reference.width:f=p.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(h.size({boundary:this.boundary,padding:this.overflowPadding,apply:({width:n,height:p})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=p!=null?`${p}px`:null}})));const o=await h.computePosition(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:g(g({},o.middlewareData.arrow),o.middlewareData.arrowOverflow)})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),y&&this.instantMove&&y.instantMove&&y!==this.parentPopper){y.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(y=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await L(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...h.getScrollParents(this.$_referenceNode),...h.getScrollParents(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),s=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(s.left+o.offsetLeft),p=t.y+t.height/2-(s.top+o.offsetTop);this.result.transformOrigin=`${n}px ${p}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<u.length;o++)t=u[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}u.push(this),document.body.classList.add("v-popper--some-open");for(const t of Z(this.theme))ie(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await L(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,te(u,this),u.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Z(this.theme)){const s=ie(o);te(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}y===this&&(y=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=v(this.theme,"disposeTimeout");t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await L(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,O,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],O,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,B,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],B,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(s=>s.addEventListener(t,o,w?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,s,n){let p=o;s!=null&&(p=typeof s=="function"?s(p):s),p.forEach(l=>{const d=t[l];d&&this.$_registerEventListeners(e,d,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:s,eventType:n,handler:p}=o;!e||e===n?s.forEach(l=>l.removeEventListener(n,p)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const s=o.getAttribute(e);s&&(o.removeAttribute(e),o.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const s=e[o];s==null?t.removeAttribute(o):t.setAttribute(o,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(C>=e.left&&C<=e.right&&S>=e.top&&S<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=C-_,s=S-$,p=t.left+t.width/2-_+(t.top+t.height/2)-$+t.width+t.height,l=_+o*p,d=$+s*p;return z(_,$,l,d,t.left,t.top,t.left,t.bottom)||z(_,$,l,d,t.left,t.top,t.right,t.top)||z(_,$,l,d,t.right,t.top,t.right,t.bottom)||z(_,$,l,d,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document!="undefined"&&typeof window!="undefined"&&(ee?(document.addEventListener("touchstart",se,w?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",ze,w?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",se,!0),window.addEventListener("click",Ne,!0)),window.addEventListener("resize",Ee));function se(e){for(let t=0;t<u.length;t++){const o=u[t];try{const s=o.popperNode();o.$_mouseDownContains=s.contains(e.target)}catch{}}}function Ne(e){ne(e)}function ze(e){ne(e,!0)}function ne(e,t=!1){const o={};for(let s=u.length-1;s>=0;s--){const n=u[s];try{const p=n.$_containsGlobalTarget=Ae(n,e);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!o[n.randomId]&&re(n,p,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&p){let d=n.parentPopper;for(;d;)o[d.randomId]=!0,d=d.parentPopper;return}let l=n.parentPopper;for(;l&&re(l,l.$_containsGlobalTarget,e);){l.$_handleGlobalClose(e,t);l=l.parentPopper}}})}catch{}}}function Ae(e,t){const o=e.popperNode();return e.$_mouseDownContains||o.contains(t.target)}function re(e,t,o){return o.closeAllPopover||o.closePopover&&t||ke(e,o)&&!t}function ke(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function Ee(e){for(let t=0;t<u.length;t++)u[t].$_computePosition(e)}function Me(){for(let e=0;e<u.length;e++)u[e].hide()}let _=0,$=0,C=0,S=0;typeof window!="undefined"&&window.addEventListener("mousemove",e=>{_=C,$=S,C=e.clientX,S=e.clientY},w?{passive:!0}:void 0);function z(e,t,o,s,n,p,l,d){const c=((l-n)*(t-p)-(d-p)*(e-n))/((d-p)*(o-e)-(l-n)*(s-t)),f=((o-e)*(t-p)-(s-t)*(e-n))/((d-p)*(o-e)-(l-n)*(s-t));return c>=0&&c<=1&&f>=0&&f<=1}var A=(e,t)=>{const o=e.__vccOpts||e;for(const[s,n]of t)o[s]=n;return o};const He={extends:V()};function Oe(e,t,o,s,n,p){return i.openBlock(),i.createElementBlock("div",{ref:"reference",class:i.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[i.renderSlot(e.$slots,"default",i.normalizeProps(i.guardReactiveProps(e.slotData)))],2)}var Be=A(He,[["render",Oe]]);function Le(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let k;function R(){R.init||(R.init=!0,k=Le()!==-1)}var E={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){R(),i.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",k&&this.$el.appendChild(e),e.data="about:blank",k||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!k&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const De=i.withScopeId("data-v-b329ee4c");i.pushScopeId("data-v-b329ee4c");const Ie={class:"resize-observer",tabindex:"-1"};i.popScopeId();const Ve=De((e,t,o,s,n,p)=>(i.openBlock(),i.createBlock("div",Ie)));E.render=Ve,E.__scopeId="data-v-b329ee4c",E.__file="src/components/ResizeObserver.vue";var F=(e="theme")=>({computed:{themeClass(){return be(this[e])}}}),yt="";const Re=i.defineComponent({name:"VPopperContent",components:{ResizeObserver:E},mixins:[F()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Fe=["id","aria-hidden","tabindex","data-popper-placement"],je={ref:"inner",class:"v-popper__inner"},We=[i.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),i.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1)];function Ge(e,t,o,s,n,p){const l=i.resolveComponent("ResizeObserver");return i.openBlock(),i.createElementBlock("div",{id:e.popperId,ref:"popover",class:i.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:i.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=i.withKeys(d=>e.autoHide&&e.$emit("hide"),["esc"]))},[i.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=d=>e.autoHide&&e.$emit("hide"))}),i.createElementVNode("div",{class:"v-popper__wrapper",style:i.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[i.createElementVNode("div",je,[e.mounted?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",null,[i.renderSlot(e.$slots,"default")]),e.handleResize?(i.openBlock(),i.createBlock(l,{key:0,onNotify:t[1]||(t[1]=d=>e.$emit("resize",d))})):i.createCommentVNode("",!0)],64)):i.createCommentVNode("",!0)],512),i.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:i.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},We,4)],4)],46,Fe)}var j=A(Re,[["render",Ge]]),W={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};const qe=i.defineComponent({name:"VPopperWrapper",components:{Popper:Be,PopperContent:j},mixins:[W,F("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){var e;return(e=this.theme)!=null?e:this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Ye(e,t,o,s,n,p){const l=i.resolveComponent("PopperContent"),d=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(d,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:i.normalizeClass([e.themeClass])},{default:i.withCtx(({popperId:c,isShown:f,shouldMountContent:P,skipTransition:Y,autoHide:x,show:U,hide:N,handleResize:X,onResize:K,classes:J,result:ct})=>[i.renderSlot(e.$slots,"default",{shown:f,show:U,hide:N}),i.createVNode(l,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:f,mounted:P,"skip-transition":Y,"auto-hide":x,"handle-resize":X,classes:J,result:ct,onHide:N,onResize:K},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"popper",{shown:f,hide:N})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}var M=A(qe,[["render",Ye]]),Tt="";const pe=i.defineComponent(T(g({},M),{name:"VDropdown",vPopperTheme:"dropdown"})),ae=i.defineComponent(T(g({},M),{name:"VMenu",vPopperTheme:"menu"}));var Ct="";const le=i.defineComponent(T(g({},M),{name:"VTooltip",vPopperTheme:"tooltip"})),xe=i.defineComponent({name:"VTooltipDirective",components:{Popper:V(),PopperContent:j},mixins:[W],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>v(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>v(e.theme,"loadingContent")}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(s=>this.onResult(t,s)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Ue=["innerHTML"],Xe=["textContent"];function Ke(e,t,o,s,n,p){const l=i.resolveComponent("PopperContent"),d=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(d,i.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:i.withCtx(({popperId:c,isShown:f,shouldMountContent:P,skipTransition:Y,autoHide:x,hide:U,handleResize:N,onResize:X,classes:K,result:J})=>[i.createVNode(l,{ref:"popperContent",class:i.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:f,mounted:P,"skip-transition":Y,"auto-hide":x,"handle-resize":N,classes:K,result:J,onHide:U,onResize:X},{default:i.withCtx(()=>[e.html?(i.openBlock(),i.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,Ue)):(i.openBlock(),i.createElementBlock("div",{key:1,textContent:i.toDisplayString(e.finalContent)},null,8,Xe))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","popper-node","onApplyShow","onApplyHide"])}var de=A(xe,[["render",Ke]]);const he="v-popper--has-tooltip";function Je(e,t){let o=e.placement;if(!o&&t)for(const s of H)t[s]&&(o=s);return o||(o=v(e.theme||"tooltip","placement")),o}function ue(e,t,o){let s;const n=typeof t;return n==="string"?s={content:t}:t&&n==="object"?s=t:s={content:!1},s.placement=Je(s,o),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let G,b,Qe=0;function Ze(){if(G)return;b=i.ref([]),G=i.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:b}},render(){return this.directives.map(t=>i.h(de,T(g({},t.options),{shown:t.shown||t.options.shown,key:t.id})))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),G.mount(e)}function ce(e,t,o){Ze();const s=i.ref(ue(e,t,o)),n=i.ref(!1),p={id:Qe++,options:s,shown:n};return b.value.push(p),e.classList&&e.classList.add(he),e.$_popper={options:s,item:p,show(){n.value=!0},hide(){n.value=!1}}}function q(e){if(e.$_popper){const t=b.value.indexOf(e.$_popper.item);t!==-1&&b.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(he)}function fe(e,{value:t,modifiers:o}){const s=ue(e,t,o);if(!s.content||v(s.theme||"tooltip","disabled"))q(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=s):n=ce(e,t,o),typeof t.shown!="undefined"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}var me={beforeMount:fe,updated:fe,beforeUnmount(e){q(e)}};function ge(e){e.addEventListener("click",$e),e.addEventListener("touchstart",we,w?{passive:!0}:!1)}function _e(e){e.removeEventListener("click",$e),e.removeEventListener("touchstart",we),e.removeEventListener("touchend",ye),e.removeEventListener("touchcancel",ve)}function $e(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function we(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",ye),t.addEventListener("touchcancel",ve)}}function ye(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-s.screenY)<20&&Math.abs(o.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function ve(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var Pe={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t=="undefined"||t)&&ge(e)},updated(e,{value:t,oldValue:o,modifiers:s}){e.$_closePopoverModifiers=s,t!==o&&(typeof t=="undefined"||t?ge(e):_e(e))},beforeUnmount(e){_e(e)}};const et=m,tt=me,ot=Pe,it=pe,st=ae,nt=V,rt=j,pt=W,at=M,lt=F,dt=le,ht=de;function Te(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Q(m,t),e.directive("tooltip",me),e.directive("close-popper",Pe),e.component("VTooltip",le),e.component("VDropdown",pe),e.component("VMenu",ae))}const ut={version:"2.0.0-beta.20",install:Te,options:m};r.Dropdown=it,r.HIDE_EVENT_MAP=B,r.Menu=st,r.Popper=nt,r.PopperContent=rt,r.PopperMethods=pt,r.PopperWrapper=at,r.SHOW_EVENT_MAP=O,r.ThemeClass=lt,r.Tooltip=dt,r.TooltipDirective=ht,r.VClosePopper=ot,r.VTooltip=tt,r.createTooltip=ce,r.default=ut,r.destroyTooltip=q,r.hideAllPoppers=Me,r.install=Te,r.options=et,r.placements=H,Object.defineProperty(r,"__esModule",{value:!0}),r[Symbol.toStringTag]="Module"});
(function(d,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("@floating-ui/dom")):typeof define=="function"&&define.amd?define(["exports","vue","@floating-ui/dom"],s):(d=typeof globalThis<"u"?globalThis:d||self,s(d.FloatingVue={},d.Vue,d.FloatingUIDOM))})(this,function(d,s,m){"use strict";function K(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?K(e[o],t[o]):e[o]=t[o])}const c={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function y(e,t){let o=c.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=c.themes[o.$extend]||{}:(o=null,i=c[t]):o=null;while(o);return i}function Te(e){const t=[e];let o=c.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=c.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function J(e){const t=[e];let o=c.themes[e]||{};do o.$extend?(t.push(o.$extend),o=c.themes[o.$extend]||{}):o=null;while(o);return t}const dt="";let $=!1;if(typeof window<"u"){$=!1;try{const e=Object.defineProperty({},"passive",{get(){$=!0}});window.addEventListener("test",null,e)}catch{}}let Q=!1;typeof window<"u"&&typeof navigator<"u"&&(Q=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const k=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),E={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},M={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Z(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function O(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const h=[];let w=null;const ee={};function te(e){let t=ee[e];return t||(t=ee[e]=[]),t}let H=function(){};typeof window<"u"&&(H=window.Element);function r(e){return function(t){return y(t.theme,e)}}const B="__floating-vue__popper",L=()=>s.defineComponent({name:"VPopper",provide(){return{[B]:{parentPopper:this}}},inject:{[B]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:r("disabled")},positioningDisabled:{type:Boolean,default:r("positioningDisabled")},placement:{type:String,default:r("placement"),validator:e=>k.includes(e)},delay:{type:[String,Number,Object],default:r("delay")},distance:{type:[Number,String],default:r("distance")},skidding:{type:[Number,String],default:r("skidding")},triggers:{type:Array,default:r("triggers")},showTriggers:{type:[Array,Function],default:r("showTriggers")},hideTriggers:{type:[Array,Function],default:r("hideTriggers")},popperTriggers:{type:Array,default:r("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:r("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:r("popperHideTriggers")},container:{type:[String,Object,H,Boolean],default:r("container")},boundary:{type:[String,H],default:r("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:r("strategy")},autoHide:{type:[Boolean,Function],default:r("autoHide")},handleResize:{type:Boolean,default:r("handleResize")},instantMove:{type:Boolean,default:r("instantMove")},eagerMount:{type:Boolean,default:r("eagerMount")},popperClass:{type:[String,Array,Object],default:r("popperClass")},computeTransformOrigin:{type:Boolean,default:r("computeTransformOrigin")},autoMinSize:{type:Boolean,default:r("autoMinSize")},autoSize:{type:[Boolean,String],default:r("autoSize")},autoMaxSize:{type:Boolean,default:r("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:r("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:r("preventOverflow")},overflowPadding:{type:[Number,String],default:r("overflowPadding")},arrowPadding:{type:[Number,String],default:r("arrowPadding")},arrowOverflow:{type:Boolean,default:r("arrowOverflow")},flip:{type:Boolean,default:r("flip")},shift:{type:Boolean,default:r("shift")},shiftCrossAxis:{type:Boolean,default:r("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:r("noAutoFocus")},disposeTimeout:{type:Number,default:r("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[B])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(m.offset({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(m.autoPlacement({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(m.shift({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(m.flip({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(m.arrow({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:n,middlewareData:p})=>{let a;const{centerOffset:l}=p.arrow;return i.startsWith("top")||i.startsWith("bottom")?a=Math.abs(l)>n.reference.width/2:a=Math.abs(l)>n.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:p,middlewareData:a})=>{var u;if((u=a.autoSize)!=null&&u.skip)return{};let l,f;return p.startsWith("top")||p.startsWith("bottom")?l=n.reference.width:f=n.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(m.size({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:n})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const o=await m.computePosition(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),w&&this.instantMove&&w.instantMove&&w!==this.parentPopper){w.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(w=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await O(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...m.getOverflowAncestors(this.$_referenceNode),...m.getOverflowAncestors(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+o.offsetLeft),p=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${n}px ${p}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<h.length;o++)t=h[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}h.push(this),document.body.classList.add("v-popper--some-open");for(const t of J(this.theme))te(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await O(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Z(h,this),h.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of J(this.theme)){const i=te(o);Z(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}w===this&&(w=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await O(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,E,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],E,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,M,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],M,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,$?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,n){let p=o;i!=null&&(p=typeof i=="function"?i(p):i),p.forEach(a=>{const l=t[a];l&&this.$_registerEventListeners(e,l,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:n,handler:p}=o;!e||e===n?i.forEach(a=>a.removeEventListener(n,p)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(v>=e.left&&v<=e.right&&T>=e.top&&T<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=v-g,i=T-_,p=t.left+t.width/2-g+(t.top+t.height/2)-_+t.width+t.height,a=g+o*p,l=_+i*p;return S(g,_,a,l,t.left,t.top,t.left,t.bottom)||S(g,_,a,l,t.left,t.top,t.right,t.top)||S(g,_,a,l,t.right,t.top,t.right,t.bottom)||S(g,_,a,l,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Q?(document.addEventListener("touchstart",oe,$?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Ce,$?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",oe,!0),window.addEventListener("click",Pe,!0)),window.addEventListener("resize",Ne));function oe(e){for(let t=0;t<h.length;t++){const o=h[t];try{const i=o.popperNode();o.$_mouseDownContains=i.contains(e.target)}catch{}}}function Pe(e){ie(e)}function Ce(e){ie(e,!0)}function ie(e,t=!1){const o={};for(let i=h.length-1;i>=0;i--){const n=h[i];try{const p=n.$_containsGlobalTarget=Se(n,e);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!o[n.randomId]&&se(n,p,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&p){let l=n.parentPopper;for(;l;)o[l.randomId]=!0,l=l.parentPopper;return}let a=n.parentPopper;for(;a&&se(a,a.$_containsGlobalTarget,e);){a.$_handleGlobalClose(e,t);a=a.parentPopper}}})}catch{}}}function Se(e,t){const o=e.popperNode();return e.$_mouseDownContains||o.contains(t.target)}function se(e,t,o){return o.closeAllPopover||o.closePopover&&t||be(e,o)&&!t}function be(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function Ne(e){for(let t=0;t<h.length;t++)h[t].$_computePosition(e)}function ze(){for(let e=0;e<h.length;e++)h[e].hide()}let g=0,_=0,v=0,T=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{g=v,_=T,v=e.clientX,T=e.clientY},$?{passive:!0}:void 0);function S(e,t,o,i,n,p,a,l){const f=((a-n)*(t-p)-(l-p)*(e-n))/((l-p)*(o-e)-(a-n)*(i-t)),u=((o-e)*(t-p)-(i-t)*(e-n))/((l-p)*(o-e)-(a-n)*(i-t));return f>=0&&f<=1&&u>=0&&u<=1}const Ae={extends:L()},b=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};function ke(e,t,o,i,n,p){return s.openBlock(),s.createElementBlock("div",{ref:"reference",class:s.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[s.renderSlot(e.$slots,"default",s.normalizeProps(s.guardReactiveProps(e.slotData)))],2)}const Ee=b(Ae,[["render",ke]]);function Me(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let N;function D(){D.init||(D.init=!0,N=Me()!==-1)}var z={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){D(),s.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",N&&this.$el.appendChild(e),e.data="about:blank",N||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!N&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Oe=s.withScopeId("data-v-b329ee4c");s.pushScopeId("data-v-b329ee4c");const He={class:"resize-observer",tabindex:"-1"};s.popScopeId();const Be=Oe((e,t,o,i,n,p)=>(s.openBlock(),s.createBlock("div",He)));z.render=Be,z.__scopeId="data-v-b329ee4c",z.__file="src/components/ResizeObserver.vue";const I=(e="theme")=>({computed:{themeClass(){return Te(this[e])}}}),Le=s.defineComponent({name:"VPopperContent",components:{ResizeObserver:z},mixins:[I()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),ht="",De=["id","aria-hidden","tabindex","data-popper-placement"],Ie={ref:"inner",class:"v-popper__inner"},Ve=[s.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),s.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1)];function Re(e,t,o,i,n,p){const a=s.resolveComponent("ResizeObserver");return s.openBlock(),s.createElementBlock("div",{id:e.popperId,ref:"popover",class:s.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:s.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=s.withKeys(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[s.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),s.createElementVNode("div",{class:"v-popper__wrapper",style:s.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[s.createElementVNode("div",Ie,[e.mounted?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",null,[s.renderSlot(e.$slots,"default")]),e.handleResize?(s.openBlock(),s.createBlock(a,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0)],512),s.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:s.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ve,4)],4)],46,De)}const V=b(Le,[["render",Re]]),R={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},Fe=s.defineComponent({name:"VPopperWrapper",components:{Popper:Ee,PopperContent:V},mixins:[R,I("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function je(e,t,o,i,n,p){const a=s.resolveComponent("PopperContent"),l=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(l,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:s.normalizeClass([e.themeClass])},{default:s.withCtx(({popperId:f,isShown:u,shouldMountContent:W,skipTransition:q,autoHide:G,show:Y,hide:C,handleResize:x,onResize:U,classes:X,result:lt})=>[s.renderSlot(e.$slots,"default",{shown:u,show:Y,hide:C}),s.createVNode(a,{ref:"popperContent","popper-id":f,theme:e.finalTheme,shown:u,mounted:W,"skip-transition":q,"auto-hide":G,"handle-resize":x,classes:X,result:lt,onHide:C,onResize:U},{default:s.withCtx(()=>[s.renderSlot(e.$slots,"popper",{shown:u,hide:C})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const A=b(Fe,[["render",je]]),ne={...A,name:"VDropdown",vPopperTheme:"dropdown"},ft="",re={...A,name:"VMenu",vPopperTheme:"menu"},pe={...A,name:"VTooltip",vPopperTheme:"tooltip"},mt="",We=s.defineComponent({name:"VTooltipDirective",components:{Popper:L(),PopperContent:V},mixins:[R],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>y(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>y(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),qe=["innerHTML"],Ge=["textContent"];function Ye(e,t,o,i,n,p){const a=s.resolveComponent("PopperContent"),l=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(l,s.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:s.withCtx(({popperId:f,isShown:u,shouldMountContent:W,skipTransition:q,autoHide:G,hide:Y,handleResize:C,onResize:x,classes:U,result:X})=>[s.createVNode(a,{ref:"popperContent",class:s.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":f,theme:e.theme,shown:u,mounted:W,"skip-transition":q,"auto-hide":G,"handle-resize":C,classes:U,result:X,onHide:Y,onResize:x},{default:s.withCtx(()=>[e.html?(s.openBlock(),s.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,qe)):(s.openBlock(),s.createElementBlock("div",{key:1,textContent:s.toDisplayString(e.finalContent)},null,8,Ge))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ae=b(We,[["render",Ye]]),le="v-popper--has-tooltip";function xe(e,t){let o=e.placement;if(!o&&t)for(const i of k)t[i]&&(o=i);return o||(o=y(e.theme||"tooltip","placement")),o}function de(e,t,o){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=xe(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let F,P,Ue=0;function Xe(){if(F)return;P=s.ref([]),F=s.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:P}},render(){return this.directives.map(t=>s.h(ae,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),F.mount(e)}function he(e,t,o){Xe();const i=s.ref(de(e,t,o)),n=s.ref(!1),p={id:Ue++,options:i,shown:n};return P.value.push(p),e.classList&&e.classList.add(le),e.$_popper={options:i,item:p,show(){n.value=!0},hide(){n.value=!1}}}function j(e){if(e.$_popper){const t=P.value.indexOf(e.$_popper.item);t!==-1&&P.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(le)}function ue(e,{value:t,modifiers:o}){const i=de(e,t,o);if(!i.content||y(i.theme||"tooltip","disabled"))j(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=i):n=he(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const ce={beforeMount:ue,updated:ue,beforeUnmount(e){j(e)}};function fe(e){e.addEventListener("click",ge),e.addEventListener("touchstart",_e,$?{passive:!0}:!1)}function me(e){e.removeEventListener("click",ge),e.removeEventListener("touchstart",_e),e.removeEventListener("touchend",$e),e.removeEventListener("touchcancel",we)}function ge(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function _e(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",$e),t.addEventListener("touchcancel",we)}}function $e(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],i=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-i.screenY)<20&&Math.abs(o.screenX-i.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function we(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const ye={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&fe(e)},updated(e,{value:t,oldValue:o,modifiers:i}){e.$_closePopoverModifiers=i,t!==o&&(typeof t>"u"||t?fe(e):me(e))},beforeUnmount(e){me(e)}},Ke=c,Je=ce,Qe=ye,Ze=ne,et=re,tt=L,ot=V,it=R,st=A,nt=I,rt=pe,pt=ae;function ve(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,K(c,t),e.directive("tooltip",ce),e.directive("close-popper",ye),e.component("VTooltip",pe),e.component("VDropdown",ne),e.component("VMenu",re))}const at={version:"2.0.0-beta.21",install:ve,options:c};d.Dropdown=Ze,d.HIDE_EVENT_MAP=M,d.Menu=et,d.Popper=tt,d.PopperContent=ot,d.PopperMethods=it,d.PopperWrapper=st,d.SHOW_EVENT_MAP=E,d.ThemeClass=nt,d.Tooltip=rt,d.TooltipDirective=pt,d.VClosePopper=Qe,d.VTooltip=Je,d.createTooltip=he,d.default=at,d.destroyTooltip=j,d.hideAllPoppers=ze,d.install=ve,d.options=Ke,d.placements=k,Object.defineProperties(d,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});

@@ -22,4 +22,58 @@ import { FloatingVueConfig } from './config';

};
export declare const Dropdown: any;
export declare const Menu: any;
export declare const Dropdown: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;
}, {
getTargetNodes(): unknown[];
}, {
computed: {
themeClass(): string[];
};
} | {
methods: {
show(...args: any[]): any;
hide(...args: any[]): any;
dispose(...args: any[]): any;
onResize(...args: any[]): any;
};
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export declare const Menu: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;
}, {
getTargetNodes(): unknown[];
}, {
computed: {
themeClass(): string[];
};
} | {
methods: {
show(...args: any[]): any;
hide(...args: any[]): any;
dispose(...args: any[]): any;
onResize(...args: any[]): any;
};
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export declare const Popper: () => import("vue").DefineComponent<{

@@ -187,2 +241,6 @@ theme: {

};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}, unknown, {

@@ -264,86 +322,169 @@ isShown: boolean;

$_isAimingPopper(): boolean;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
theme?: unknown;
targetNodes?: unknown;
referenceNode?: unknown;
popperNode?: unknown;
shown?: unknown;
showGroup?: unknown;
ariaId?: unknown;
disabled?: unknown;
positioningDisabled?: unknown;
placement?: unknown;
delay?: unknown;
distance?: unknown;
skidding?: unknown;
triggers?: unknown;
showTriggers?: unknown;
hideTriggers?: unknown;
popperTriggers?: unknown;
popperShowTriggers?: unknown;
popperHideTriggers?: unknown;
container?: unknown;
boundary?: unknown;
strategy?: unknown;
autoHide?: unknown;
handleResize?: unknown;
instantMove?: unknown;
eagerMount?: unknown;
popperClass?: unknown;
computeTransformOrigin?: unknown;
autoMinSize?: unknown;
autoSize?: unknown;
autoMaxSize?: unknown;
autoBoundaryMaxSize?: unknown;
preventOverflow?: unknown;
overflowPadding?: unknown;
arrowPadding?: unknown;
arrowOverflow?: unknown;
flip?: unknown;
shift?: unknown;
shiftCrossAxis?: unknown;
noAutoFocus?: unknown;
} & {
placement: string;
strategy: string;
disabled: boolean;
positioningDisabled: boolean;
delay: string | number | Record<string, any>;
distance: string | number;
skidding: string | number;
triggers: unknown[];
showTriggers: Function | unknown[];
hideTriggers: Function | unknown[];
popperTriggers: unknown[];
popperShowTriggers: Function | unknown[];
popperHideTriggers: Function | unknown[];
container: any;
boundary: any;
autoHide: boolean | Function;
handleResize: boolean;
instantMove: boolean;
eagerMount: boolean;
popperClass: string | unknown[] | Record<string, any>;
computeTransformOrigin: boolean;
autoMinSize: boolean;
autoSize: string | boolean;
autoMaxSize: boolean;
autoBoundaryMaxSize: boolean;
preventOverflow: boolean;
overflowPadding: string | number;
arrowPadding: string | number;
arrowOverflow: boolean;
flip: boolean;
shift: boolean;
shiftCrossAxis: boolean;
noAutoFocus: boolean;
shown: boolean;
theme: string;
targetNodes: Function;
popperNode: Function;
} & {
referenceNode?: Function;
showGroup?: string;
ariaId?: any;
}> & {
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose")[], "resize" | "show" | "hide" | "update:shown" | "apply-show" | "apply-hide" | "close-group" | "close-directive" | "auto-hide" | "dispose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
required: true;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
referenceNode: {
type: FunctionConstructor;
default: any;
};
popperNode: {
type: FunctionConstructor;
required: true;
};
shown: {
type: BooleanConstructor;
default: boolean;
};
showGroup: {
type: StringConstructor;
default: any;
};
ariaId: {
default: any;
};
disabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
positioningDisabled: {
type: BooleanConstructor;
default: (props: any) => any;
};
placement: {
type: StringConstructor;
default: (props: any) => any;
validator: (value: import("./util/popper").Placement) => boolean;
};
delay: {
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
distance: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
skidding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
triggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
showTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
hideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperTriggers: {
type: ArrayConstructor;
default: (props: any) => any;
};
popperShowTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
popperHideTriggers: {
type: (FunctionConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
container: {
type: any[];
default: (props: any) => any;
};
boundary: {
type: any[];
default: (props: any) => any;
};
strategy: {
type: StringConstructor;
validator: (value: string) => boolean;
default: (props: any) => any;
};
autoHide: {
type: (FunctionConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
handleResize: {
type: BooleanConstructor;
default: (props: any) => any;
};
instantMove: {
type: BooleanConstructor;
default: (props: any) => any;
};
eagerMount: {
type: BooleanConstructor;
default: (props: any) => any;
};
popperClass: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
default: (props: any) => any;
};
computeTransformOrigin: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoMinSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoSize: {
type: (StringConstructor | BooleanConstructor)[];
default: (props: any) => any;
};
autoMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
autoBoundaryMaxSize: {
type: BooleanConstructor;
default: (props: any) => any;
};
preventOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
overflowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowPadding: {
type: (StringConstructor | NumberConstructor)[];
default: (props: any) => any;
};
arrowOverflow: {
type: BooleanConstructor;
default: (props: any) => any;
};
flip: {
type: BooleanConstructor;
default: (props: any) => any;
};
shift: {
type: BooleanConstructor;
default: (props: any) => any;
};
shiftCrossAxis: {
type: BooleanConstructor;
default: (props: any) => any;
};
noAutoFocus: {
type: BooleanConstructor;
default: (props: any) => any;
};
disposeTimeout: {
type: NumberConstructor;
default: (props: any) => any;
};
}>> & {
onResize?: (...args: any[]) => any;

@@ -393,2 +534,3 @@ onShow?: (...args: any[]) => any;

noAutoFocus: boolean;
disposeTimeout: number;
shown: boolean;

@@ -398,4 +540,39 @@ referenceNode: Function;

ariaId: any;
}>;
export declare const PopperContent: any;
}, {}>;
export declare const PopperContent: import("vue").DefineComponent<{
popperId: StringConstructor;
theme: StringConstructor;
shown: BooleanConstructor;
mounted: BooleanConstructor;
skipTransition: BooleanConstructor;
autoHide: BooleanConstructor;
handleResize: BooleanConstructor;
classes: ObjectConstructor;
result: ObjectConstructor;
}, unknown, unknown, {}, {
toPx(value: any): string;
}, {
computed: {
themeClass(): string[];
};
}, import("vue").ComponentOptionsMixin, ("resize" | "hide")[], "resize" | "hide", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
popperId: StringConstructor;
theme: StringConstructor;
shown: BooleanConstructor;
mounted: BooleanConstructor;
skipTransition: BooleanConstructor;
autoHide: BooleanConstructor;
handleResize: BooleanConstructor;
classes: ObjectConstructor;
result: ObjectConstructor;
}>> & {
onResize?: (...args: any[]) => any;
onHide?: (...args: any[]) => any;
}, {
autoHide: boolean;
handleResize: boolean;
shown: boolean;
mounted: boolean;
skipTransition: boolean;
}, {}>;
export declare const PopperMethods: {

@@ -409,3 +586,30 @@ methods: {

};
export declare const PopperWrapper: any;
export declare const PopperWrapper: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;
}, {
getTargetNodes(): unknown[];
}, {
computed: {
themeClass(): string[];
};
} | {
methods: {
show(...args: any[]): any;
hide(...args: any[]): any;
dispose(...args: any[]): any;
onResize(...args: any[]): any;
};
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export declare const ThemeClass: (prop?: string) => {

@@ -416,4 +620,96 @@ computed: {

};
export declare const Tooltip: any;
export declare const TooltipDirective: any;
export declare const Tooltip: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: any;
};
}, unknown, unknown, {
finalTheme(): string;
}, {
getTargetNodes(): unknown[];
}, {
computed: {
themeClass(): string[];
};
} | {
methods: {
show(...args: any[]): any;
hide(...args: any[]): any;
dispose(...args: any[]): any;
onResize(...args: any[]): any;
};
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: any;
};
}>>, {
theme: string;
}, {}>;
export declare const TooltipDirective: import("vue").DefineComponent<{
theme: {
type: StringConstructor;
default: string;
};
html: {
type: BooleanConstructor;
default: (props: any) => any;
};
content: {
type: (StringConstructor | FunctionConstructor | NumberConstructor)[];
default: any;
};
loadingContent: {
type: StringConstructor;
default: (props: any) => any;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
}, unknown, {
asyncContent: string;
}, {
isContentAsync(): boolean;
loading(): boolean;
finalContent(): string;
}, {
fetchContent(force: boolean): void;
onResult(fetchId: any, result: any): void;
onShow(): void;
onHide(): void;
}, {
methods: {
show(...args: any[]): any;
hide(...args: any[]): any;
dispose(...args: any[]): any;
onResize(...args: any[]): any;
};
}, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
theme: {
type: StringConstructor;
default: string;
};
html: {
type: BooleanConstructor;
default: (props: any) => any;
};
content: {
type: (StringConstructor | FunctionConstructor | NumberConstructor)[];
default: any;
};
loadingContent: {
type: StringConstructor;
default: (props: any) => any;
};
targetNodes: {
type: FunctionConstructor;
required: true;
};
}>>, {
theme: string;
html: boolean;
content: string | number | Function;
loadingContent: string;
}, {}>;
export { hideAllPoppers } from './components/Popper';

@@ -420,0 +716,0 @@ export * from './util/events';

@@ -6,2 +6,3 @@ export declare const SHOW_EVENT_MAP: {

touch: string;
pointer: string;
};

@@ -13,2 +14,3 @@ export declare const HIDE_EVENT_MAP: {

touch: string;
pointer: string;
};
import type { Placement as BasePlacement } from '@floating-ui/dom';
export declare type Placement = BasePlacement | 'auto' | 'auto-start' | 'auto-end';
export type Placement = BasePlacement | 'auto' | 'auto-start' | 'auto-end';
export declare const placements: Placement[];
{
"name": "floating-vue",
"version": "2.0.0-beta.20",
"version": "2.0.0-beta.21",
"description": "Easy Vue tooltips, dropdowns, menus & popovers using floating-ui",
"author": "Guillaume Chau <guillaume.b.chau@gmail.com>",
"scripts": {
"dev": "cross-env NODE_ENV=development vite build --watch",
"build": "cross-env NODE_ENV=production vite build && tsc -d --emitDeclarationOnly && vue-typegen gen -s src -o dist",
"prepublishOnly": "yarn run lint && yarn run test && yarn run build",
"test": "yarn run test:unit",
"lint": "eslint . --ext .js,.vue",
"test:unit": "peeky run"
},
"main": "dist/floating-vue.umd.js",
"module": "dist/floating-vue.es.js",
"module": "dist/floating-vue.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/floating-vue.umd.js",
"import": "./dist/floating-vue.mjs",
"types": "./dist/index.d.ts"
},
"./style.css": "./dist/style.css",
"./dist/style.css": "./dist/style.css"
},
"files": [
"dist"
],
"dependencies": {
"@floating-ui/dom": "^0.1.10",
"@floating-ui/dom": "~1.1.1",
"vue-resize": "^2.0.0-alpha.1"

@@ -25,22 +29,13 @@ },

"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@peeky/test": "^0.10.2",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@vitejs/plugin-vue": "^2.0.1",
"@vue/eslint-config-standard": "^6.0.0",
"@vue/eslint-config-typescript": "^6.0.0",
"@vue/test-utils": "^1.1.2",
"babel-jest": "^26.6.3",
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@peeky/test": "^0.14.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/test-utils": "^1.3.6",
"babel-jest": "^29.5.0",
"cross-env": "^7.0.3",
"eslint": "^7.16.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-vue": "^7.4.0",
"fs-extra": "^9.0.1",
"typescript": "^4.5.4",
"vite": "^2.7.12",
"vue": "^3.2.0",
"fs-extra": "^11.1.1",
"vite": "^4.3.9",
"vue": "^3.3.4",
"vue-tsc": "^1.6.5",
"vue-typegen": "^0.2.0"

@@ -70,3 +65,9 @@ },

"directory": "packages/floating-vue"
},
"scripts": {
"dev": "cross-env NODE_ENV=development vite build --watch",
"build": "cross-env NODE_ENV=production vite build && vue-tsc -d --emitDeclarationOnly",
"test": "pnpm run test:unit",
"test:unit": "peeky run"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc