UNPKG

bootstrap-vue-next

Version:

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

1 lines 690 B
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/directives/BPopover/index.ts"],"sourcesContent":["import {type Directive} from 'vue'\nimport {type ElementWithPopper, resolveDirectiveProps} from '../../utils/floatingUi'\nimport {createFloatingDirective} from '../utils'\n\nexport const vBPopover: Directive<ElementWithPopper> = createFloatingDirective(\n '$__popover',\n 'BPopover',\n (text, defaults, binding, el) => ({\n ...(defaults || undefined),\n ...resolveDirectiveProps(binding, el),\n ...text,\n })\n)\n"],"mappings":";;;;AAIA,IAAa,YAA0C,wBACrD,cACA,aACC,MAAM,UAAU,SAAS,QAAQ;CAChC,GAAI,YAAY,KAAA;CAChB,GAAG,sBAAsB,SAAS,GAAG;CACrC,GAAG;CACJ,EACF"}