UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

18 lines (17 loc) 1.2 kB
import { ComponentInternalInstance, Ref } from 'vue'; export declare const useSharedModalStack: () => { dispose: (modal: Readonly<ComponentInternalInstance>) => void; stack?: import('vue').ComputedRef<ComponentInternalInstance[]> | undefined; countStack?: import('vue').ComputedRef<number> | undefined; lastStack?: import('vue').ComputedRef<ComponentInternalInstance | undefined> | undefined; pushStack?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; removeStack?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; registry?: Readonly<Ref<Map<number, ComponentInternalInstance>, Map<number, ComponentInternalInstance>>> | undefined; pushRegistry?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; removeRegistry?: ((modal: Readonly<ComponentInternalInstance>) => void) | undefined; }; export declare const useModalManager: (modalOpen: Readonly<Ref<boolean>>, initialValue: boolean) => { activePosition: import('vue').ComputedRef<number | undefined>; activeModalCount: import('vue').ComputedRef<number> | undefined; stackWithoutSelf: import('vue').ComputedRef<ComponentInternalInstance[]>; };