HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/node_modules/bootstrap-vue-next/dist/src/utils/floatingUi.d.ts
import type { Placement } from '@floating-ui/vue';
export { autoUpdate } from '@floating-ui/vue';
import { type App, type DirectiveBinding, type Ref } from 'vue';
/**
 * Configures Bootstrap-like placement props to floating-ui Placement strings.
 * Top drops up, bottom drops down, end drops right, start drops left, dropend will _align_ the drop to the 'end',
 * dropstart will _align_ the drop to the 'start'. Bottom is default, so it is the last in the order. Bottom should essentially be the opposite of top
 * @param {top: boolean; bottom: boolean; start: boolean; end: boolean; dropstart: boolean; dropend: boolean}
 * @returns {Placement} Placement
 */
export declare const resolveFloatingPlacement: ({ top, end, start, alignCenter, alignEnd, }: {
    top: boolean;
    start: boolean;
    end: boolean;
    alignCenter: boolean;
    alignEnd: boolean;
}) => Placement;
export declare const resolveBootstrapPlacement: (placement: Placement) => string;
export declare const resolveActiveStatus: (values: DirectiveBinding['value']) => boolean;
export declare const resolveContent: (values: DirectiveBinding['value'], el: HTMLElement) => {
    title?: string | undefined;
    content?: string | undefined;
};
export declare const resolveDirectiveProps: (binding: DirectiveBinding, el: HTMLElement) => any;
export interface ElementWithPopper extends HTMLElement {
    $__state?: Ref<{
        title: string;
        target: HTMLElement;
    }>;
    $__app?: App;
    $__element?: HTMLElement;
}
export declare const bind: (el: ElementWithPopper, binding: DirectiveBinding) => void;
export declare const unbind: (el: ElementWithPopper) => void;