UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

89 lines (88 loc) 4.31 kB
import { BDropdownProps, BNavItemDropdownSlots } from '../../types'; type __VLS_Props = Omit<BDropdownProps, 'modelValue'>; type __VLS_Slots = BNavItemDropdownSlots; type __VLS_ModelProps = { modelValue?: Exclude<BDropdownProps['modelValue'], undefined>; }; type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps; declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, { hide: () => void; show: () => void; toggle: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { show: (value: import('../..').BvTriggerableEvent) => any; hide: (value: import('../..').BvTriggerableEvent) => any; "hide-prevented": (value: import('../..').BvTriggerableEvent) => any; hidden: (value: import('../..').BvTriggerableEvent) => any; "show-prevented": (value: import('../..').BvTriggerableEvent) => any; shown: (value: import('../..').BvTriggerableEvent) => any; toggle: (value: import('../..').BvTriggerableEvent) => any; "toggle-prevented": (value: import('../..').BvTriggerableEvent) => any; "update:modelValue": (value: boolean) => any; "split-click": (value: MouseEvent) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onShow?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; onHide?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; "onHide-prevented"?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; onHidden?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; "onShow-prevented"?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; onShown?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; onToggle?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; "onToggle-prevented"?: ((value: import('../..').BvTriggerableEvent) => any) | undefined; "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; "onSplit-click"?: ((value: MouseEvent) => any) | undefined; }>, { disabled: boolean; text: string; id: string; size: import('../..').Size; icon: boolean; variant: import('../..').ButtonVariant | null; role: string; placement: import('../../../node_modules/@floating-ui/core').Placement; teleportDisabled: boolean; teleportTo: string | import('vue').RendererElement | null; isNav: boolean; lazy: boolean; ariaLabel: string; autoClose: boolean | "inside" | "outside"; boundary: import('@floating-ui/vue').Boundary | import('../../../node_modules/@floating-ui/core').RootBoundary; boundaryPadding: import('../../../node_modules/@floating-ui/core').Padding; floatingMiddleware: readonly { name: string; options?: any; fn: (state: import('@floating-ui/vue').MiddlewareState) => import('../../../node_modules/@floating-ui/core').MiddlewareReturn | Promise<import('../../../node_modules/@floating-ui/core').MiddlewareReturn>; }[]; menuClass: import('../../types/AnyValuedAttributes').ClassValue; noCaret: boolean; noFlip: boolean; noShift: boolean; noSize: boolean; offset: number | string | Readonly<{ mainAxis?: number; crossAxis?: number; alignmentAxis?: number | null; }>; noWrapper: boolean; split: boolean; splitButtonType: import('../..').ButtonType; splitClass: import('../../types/AnyValuedAttributes').ClassValue; splitDisabled: boolean; splitHref: string; splitTo: import('vue-router').RouteLocationRaw; splitVariant: import('../..').ButtonVariant | null; strategy: import('../../../node_modules/@floating-ui/core').Strategy; toggleAttrs: Readonly<import('../../types/AnyValuedAttributes').AttrsValue>; toggleClass: import('../../types/AnyValuedAttributes').ClassValue; toggleText: string; wrapperClass: import('../../types/AnyValuedAttributes').ClassValue; initialAnimation: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };