UNPKG

bootstrap-vue-next

Version:

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

1 lines 724 B
{"version":3,"file":"index.mjs","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"],"names":[],"mappings":";;;AAIO,MAAM,YAA0C;AAAA,EACrD;AAAA,EACA;AAAA,EACA,CAAC,MAAM,UAAU,SAAS,QAAQ;AAAA,IAChC,GAAI,YAAY;AAAA,IAChB,GAAG,sBAAsB,SAAS,EAAE;AAAA,IACpC,GAAG;AAAA,EAAA;AAEP;"}