UNPKG

bootstrap-vue-next

Version:

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

3 lines (2 loc) 1.07 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("vue");const e=require("../../../floatingUi-CJBfCpXa.js"),t=require("../../../keys-BgAe7wbu.js"),n={mounted(n,o,i){var l,r,v,u;const s=null==(u=null==(v=null==(r=null==(l=i.ctx)?void 0:l.appContext)?void 0:r.provides)?void 0:v[t.defaultsKey])?void 0:u.value;if(!e.resolveActiveStatus(o.value))return;const d=e.resolveContent(o.value,n);(d.content||d.title)&&(n.$__binding=JSON.stringify(o),e.bind(n,o,{...s.BPopover||{},...e.resolveDirectiveProps(o,n),...d}))},updated(n,o,i){var l,r,v,u;const s=null==(u=null==(v=null==(r=null==(l=i.ctx)?void 0:l.appContext)?void 0:r.provides)?void 0:v[t.defaultsKey])?void 0:u.value;if(!e.resolveActiveStatus(o.value))return;const d=e.resolveContent(o.value,n);(d.content||d.title)&&(delete o.oldValue,n.$__binding!==JSON.stringify(o)&&(e.unbind(n),e.bind(n,o,{...s.BPopover||{},...e.resolveDirectiveProps(o,n),...d}),n.$__binding=JSON.stringify(o)))},beforeUnmount(t){e.unbind(t)}};exports.vBPopover=n; //# sourceMappingURL=index.umd.js.map