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,OACLT,EAAM,eAAewN,OAAOwT,EAAMoB,MAAMrjB,SAAW,eAAeyO,OAAOwT,EAAMoB,MAAMrjB,QAAU,iBAC/F,SAAe,QAAW,CAAEA,IAAK,GAAKiiB,KACtC,IAAM,GACH,WAAa,QAAmB,MAAOliB,EAAY0B,EAAO,KAAOA,EAAO,GAAK,EAC5E,QAAmB,OAAQ,CACzB,YAAa,UACbuwB,EAAG,iJACF,MAAO,WAIf,MAAO,QAAmB,IAAI,GAClC,UAIL,MAER,G,wDCn6CF,MAAMC,EAAc,CAACC,EAAK9xB,KACxB,MAAM2D,EAASmuB,EAAIC,WAAaD,EAChC,IAAK,MAAOlyB,EAAKsiB,KAAQliB,EACvB2D,EAAO/D,GAAOsiB,EAEhB,OAAOve,CAAM,C","sources":["webpack://vultan/./node_modules/bootstrap-vue-next/dist/BSpinner.vue_vue_type_script_setup_true_lang-CP3yvZKE.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BToastOrchestrator.vue_vue_type_style_index_0_lang-Cne4Kadd.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BProgress.vue_vue_type_script_setup_true_lang-csJop4n-.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-DI0iHvHM.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BTableSimple.vue_vue_type_script_setup_true_lang-Dl-5AMhv.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BOverlay.vue_vue_type_script_setup_true_lang-B7Rz8M_8.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BTabs.vue_vue_type_script_setup_true_lang-DamGvRZ4.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-CyJwKua6.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BPagination.vue_vue_type_script_setup_true_lang-D_cnf8zg.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BRow.vue_vue_type_script_setup_true_lang-DMOOc6Rl.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BTooltip.vue_vue_type_script_setup_true_lang-B8VgPQS2.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/BTable.vue_vue_type_script_setup_true_lang-s3mA7RWN.mjs","webpack://vultan/./node_modules/bootstrap-vue-next/dist/_plugin-vue_export-helper-1tPrXgE0.mjs"],"sourcesContent":["import { defineComponent, useSlots, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from \"vue\";\nimport { i as isEmptySlot } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nconst _hoisted_1 = {\n key: 0,\n class: \"visually-hidden\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BSpinner\",\n props: {\n label: { default: void 0 },\n role: { default: \"status\" },\n small: { type: Boolean, default: false },\n tag: { default: \"span\" },\n type: { default: \"border\" },\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BSpinner\");\n const slots = useSlots();\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n textVariant: props.variant\n }))\n );\n const computedClasses = computed(() => [\n `spinner-${props.type}`,\n colorClasses.value,\n {\n [`spinner-${props.type}-sm`]: props.small\n }\n ]);\n const hasLabelSlot = computed(() => !isEmptySlot(slots.label));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n class: normalizeClass(computedClasses.value),\n role: unref(props).label || hasLabelSlot.value ? unref(props).role : null,\n \"aria-hidden\": unref(props).label || hasLabelSlot.value ? null : true\n }, {\n default: withCtx(() => [\n unref(props).label || hasLabelSlot.value ? (openBlock(), createElementBlock(\"span\", _hoisted_1, [\n renderSlot(_ctx.$slots, \"label\", {}, () => [\n createTextVNode(toDisplayString(unref(props).label), 1)\n ])\n ])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"class\", \"role\", \"aria-hidden\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BSpinner.vue_vue_type_script_setup_true_lang-CP3yvZKE.mjs.map\n","import { defineComponent, mergeModels, useSlots, useTemplateRef, useModel, computed, watchEffect, watch, createBlock, createCommentVNode, unref, openBlock, Transition, mergeProps, withCtx, withDirectives, createElementVNode, normalizeClass, resolveDynamicComponent, renderSlot, toDisplayString, createTextVNode, vShow, createElementBlock, Fragment, renderList, createVNode, TransitionGroup } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useBLinkHelper, _ as _sfc_main$2 } from \"./BLink.vue_vue_type_script_setup_true_lang-CinzoAgQ.mjs\";\nimport { _ as _sfc_main$3 } from \"./BCloseButton.vue_vue_type_script_setup_true_lang-Dh0Odbqa.mjs\";\nimport { _ as _sfc_main$4 } from \"./BProgress.vue_vue_type_script_setup_true_lang-csJop4n-.mjs\";\nimport { u as useCountdown, a as useCountdownHover } from \"./useCountdownHover-BZ6NmVEL.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useShowHide } from \"./useShowHide-DHtnuxfQ.mjs\";\nimport { _ as _export_sfc } from \"./_plugin-vue_export-helper-1tPrXgE0.mjs\";\nimport { _ as _sfc_main$5 } from \"./ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs\";\nimport { useToastController } from \"./src/composables/useToastController/index.mjs\";\nconst _hoisted_1 = [\"id\", \"role\", \"aria-live\", \"aria-atomic\"];\nconst _hoisted_2 = { class: \"me-auto\" };\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BToast\",\n props: /* @__PURE__ */ mergeModels({\n body: { default: void 0 },\n bodyClass: { default: void 0 },\n headerClass: { default: void 0 },\n headerTag: { default: \"div\" },\n id: { default: void 0 },\n interval: { default: \"requestAnimationFrame\" },\n isStatus: { type: Boolean, default: false },\n noCloseButton: { type: Boolean, default: false },\n noHoverPause: { type: Boolean, default: false },\n noResumeOnHoverLeave: { type: Boolean, default: false },\n progressProps: { default: void 0 },\n showOnPause: { type: Boolean, default: true },\n solid: { type: Boolean, default: false },\n title: { default: void 0 },\n toastClass: { default: void 0 },\n variant: { default: void 0 },\n bgVariant: { default: null },\n textVariant: { default: null },\n active: { type: Boolean, default: void 0 },\n activeClass: { default: void 0 },\n disabled: { type: Boolean, default: void 0 },\n exactActiveClass: { default: void 0 },\n href: { default: void 0 },\n icon: { type: Boolean, default: void 0 },\n noRel: { type: Boolean, default: void 0 },\n opacity: { default: void 0 },\n opacityHover: { default: void 0 },\n prefetch: { type: Boolean },\n prefetchOn: {},\n noPrefetch: { type: Boolean },\n prefetchedClass: {},\n rel: { default: void 0 },\n replace: { type: Boolean, default: void 0 },\n routerComponentName: { default: void 0 },\n stretched: { type: Boolean, default: false },\n target: { default: void 0 },\n to: { default: void 0 },\n underlineOffset: { default: void 0 },\n underlineOffsetHover: { default: void 0 },\n underlineOpacity: { default: void 0 },\n underlineOpacityHover: { default: void 0 },\n underlineVariant: { default: void 0 },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean },\n noFade: { type: Boolean, default: false },\n lazy: { type: Boolean, default: false },\n unmountLazy: { type: Boolean, default: false },\n show: { type: Boolean, default: false },\n transProps: { default: void 0 },\n visible: { type: Boolean, default: false }\n }, {\n \"modelValue\": { type: [Boolean, Number], ...{ default: false } },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"close\", \"close-countdown\", \"hide\", \"hide-prevented\", \"hidden\", \"show\", \"show-prevented\", \"shown\", \"toggle\", \"toggle-prevented\"], [\"update:modelValue\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BToast\");\n const emit = __emit;\n const slots = useSlots();\n const element = useTemplateRef(\"_element\");\n const modelValue = useModel(__props, \"modelValue\");\n const { computedLink, computedLinkProps } = useBLinkHelper(props);\n const computedId = useId(() => props.id, \"toast\");\n const {\n showRef,\n renderRef,\n hide,\n toggle,\n show,\n buildTriggerableEvent,\n computedNoAnimation,\n isVisible,\n transitionProps,\n contentShowing\n } = useShowHide(modelValue, props, emit, element, computedId);\n const countdownLength = computed(\n () => typeof modelValue.value === \"boolean\" ? 0 : modelValue.value\n );\n const {\n isActive,\n pause,\n restart,\n resume,\n stop,\n isPaused,\n value: remainingMs\n } = useCountdown(countdownLength, props.interval, {\n immediate: typeof modelValue.value === \"number\" && !!modelValue.value\n });\n useCountdownHover(\n element,\n computed(() => ({\n noHoverPause: props.noHoverPause || typeof modelValue.value !== \"number\",\n noResumeOnHoverLeave: props.noResumeOnHoverLeave || typeof modelValue.value !== \"number\",\n modelValueIgnoresHover: typeof modelValue.value === \"boolean\"\n })),\n { pause, resume }\n );\n watchEffect(() => {\n emit(\"close-countdown\", remainingMs.value);\n });\n const computedTag = computed(() => computedLink.value ? _sfc_main$2 : \"div\");\n const isToastVisible = computed(\n () => showRef.value || isActive.value || props.showOnPause && isPaused.value\n );\n const colorClasses = useColorVariantClasses(props);\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n show: isVisible.value,\n fade: !computedNoAnimation.value\n }\n ]);\n watch(modelValue, (newValue) => {\n if (typeof newValue === \"number\") {\n const event = buildTriggerableEvent(\"show\", { cancelable: true, trigger: \"model\" });\n emit(\"show\", event);\n if (event.defaultPrevented) {\n emit(\"show-prevented\", buildTriggerableEvent(\"show-prevented\"));\n } else {\n restart();\n }\n }\n });\n watch(isActive, (newValue) => {\n if (newValue === false && isPaused.value === false) {\n hide();\n modelValue.value = 0;\n stop();\n }\n });\n __expose({\n show,\n hide,\n toggle,\n pause,\n restart,\n resume,\n stop\n });\n return (_ctx, _cache) => {\n return unref(renderRef) || unref(contentShowing) ? (openBlock(), createBlock(Transition, mergeProps({ key: 0 }, unref(transitionProps), {\n appear: !!modelValue.value || unref(props).visible\n }), {\n default: withCtx(() => [\n withDirectives(createElementVNode(\"div\", {\n id: unref(props).id,\n ref: \"_element\",\n class: normalizeClass([\"toast\", [unref(props).toastClass, computedClasses.value]]),\n tabindex: \"0\",\n role: !isToastVisible.value ? void 0 : unref(props).isStatus ? \"status\" : \"alert\",\n \"aria-live\": !isToastVisible.value ? void 0 : unref(props).isStatus ? \"polite\" : \"assertive\",\n \"aria-atomic\": !isToastVisible.value ? void 0 : true\n }, [\n unref(contentShowing) && (slots.title || unref(props).title) ? (openBlock(), createBlock(resolveDynamicComponent(unref(props).headerTag), {\n key: 0,\n class: normalizeClass([\"toast-header\", unref(props).headerClass])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"title\", { hide: unref(hide) }, () => [\n createElementVNode(\"strong\", _hoisted_2, toDisplayString(unref(props).title), 1)\n ], true),\n !unref(props).noCloseButton ? (openBlock(), createBlock(_sfc_main$3, {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event) => unref(hide)(\"close\"))\n })) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"class\"])) : createCommentVNode(\"\", true),\n unref(contentShowing) && (slots.default || unref(props).body) ? (openBlock(), createBlock(resolveDynamicComponent(computedTag.value), mergeProps({\n key: 1,\n class: [\"toast-body\", unref(props).bodyClass],\n style: { \"display\": \"block\" }\n }, unref(computedLinkProps), {\n onClick: _cache[1] || (_cache[1] = ($event) => unref(computedLink) ? unref(hide)() : () => {\n })\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", { hide: unref(hide) }, () => [\n createTextVNode(toDisplayString(unref(props).body), 1)\n ], true)\n ]),\n _: 3\n }, 16, [\"class\"])) : createCommentVNode(\"\", true),\n typeof modelValue.value === \"number\" && unref(props).progressProps !== void 0 ? (openBlock(), createBlock(_sfc_main$4, {\n key: 2,\n animated: unref(props).progressProps.animated,\n precision: unref(props).progressProps.precision,\n \"show-progress\": unref(props).progressProps.showProgress,\n \"show-value\": unref(props).progressProps.showValue,\n striped: unref(props).progressProps.striped,\n variant: unref(props).progressProps.variant,\n max: modelValue.value,\n value: unref(remainingMs),\n height: \"4px\"\n }, null, 8, [\"animated\", \"precision\", \"show-progress\", \"show-value\", \"striped\", \"variant\", \"max\", \"value\"])) : createCommentVNode(\"\", true)\n ], 10, _hoisted_1), [\n [vShow, isToastVisible.value]\n ])\n ]),\n _: 3\n }, 16, [\"appear\"])) : createCommentVNode(\"\", true);\n };\n }\n});\nconst BToast = /* @__PURE__ */ _export_sfc(_sfc_main$1, [[\"__scopeId\", \"data-v-eeb0e3de\"]]);\nconst positionClasses = {\n \"top-start\": \"top-0 start-0\",\n \"top-center\": \"top-0 start-50 translate-middle-x\",\n \"top-end\": \"top-0 end-0\",\n \"middle-start\": \"top-50 start-0 translate-middle-y\",\n \"middle-center\": \"top-50 start-50 translate-middle\",\n \"middle-end\": \"top-50 end-0 translate-middle-y\",\n \"bottom-start\": \"bottom-0 start-0\",\n \"bottom-center\": \"bottom-0 start-50 translate-middle-x\",\n \"bottom-end\": \"bottom-0 end-0\"\n};\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BToastOrchestrator\",\n props: {\n appendToast: { type: Boolean, default: false },\n teleportDisabled: { type: Boolean, default: false },\n teleportTo: { default: \"body\" }\n },\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BToastOrchestrator\");\n const tools = useToastController();\n watch(\n () => props.appendToast,\n (value) => {\n var _a;\n (_a = tools._setIsAppend) == null ? void 0 : _a.call(tools, value);\n },\n { immediate: true }\n );\n __expose({\n ...tools\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$5, {\n to: unref(props).teleportTo,\n disabled: unref(props).teleportDisabled\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", mergeProps({ id: \"__BVID__toaster-container\" }, _ctx.$attrs), [\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(positionClasses), (value, key) => {\n return openBlock(), createElementBlock(\"div\", {\n key,\n class: normalizeClass([value, \"toast-container position-fixed p-3\"])\n }, [\n createVNode(TransitionGroup, { name: \"b-list\" }, {\n default: withCtx(() => {\n var _a;\n return [\n (openBlock(true), createElementBlock(Fragment, null, renderList((_a = unref(tools).toasts) == null ? void 0 : _a.value.filter((el) => el.props.pos === key), (toast) => {\n return openBlock(), createElementBlock(\"span\", {\n key: toast.props._self\n }, [\n (openBlock(), createBlock(resolveDynamicComponent(toast.component ?? BToast), mergeProps({ ref_for: true }, toast.props, {\n \"model-value\": toast.props._modelValue,\n \"initial-animation\": \"\",\n \"onUpdate:modelValue\": ($event) => {\n var _a2, _b;\n return (_b = (_a2 = unref(tools)).leave) == null ? void 0 : _b.call(_a2, toast.props._self);\n },\n onHidden: ($event) => {\n var _a2, _b;\n return (_b = (_a2 = unref(tools)).remove) == null ? void 0 : _b.call(_a2, toast.props._self);\n }\n }), null, 16, [\"model-value\", \"onUpdate:modelValue\", \"onHidden\"]))\n ]);\n }), 128))\n ];\n }),\n _: 2\n }, 1024)\n ], 2);\n }), 128))\n ], 16)\n ]),\n _: 1\n }, 8, [\"to\", \"disabled\"]);\n };\n }\n});\nexport {\n BToast as B,\n _sfc_main as _\n};\n//# sourceMappingURL=BToastOrchestrator.vue_vue_type_style_index_0_lang-Cne4Kadd.mjs.map\n","import { defineComponent, inject, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createTextVNode, toDisplayString, provide, toRef, unref, createVNode } from \"vue\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { o as progressInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BProgressBar\",\n props: {\n animated: { type: Boolean, default: false },\n label: { default: void 0 },\n max: { default: void 0 },\n precision: { default: 0 },\n showProgress: { type: Boolean, default: false },\n showValue: { type: Boolean, default: false },\n striped: { type: Boolean, default: false },\n value: { default: 0 },\n variant: { default: null },\n bgVariant: { default: null },\n textVariant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BProgressBar\");\n const parentData = inject(progressInjectionKey, null);\n const colorClasses = useColorVariantClasses(props);\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n \"progress-bar-animated\": props.animated || (parentData == null ? void 0 : parentData.animated.value),\n \"progress-bar-striped\": props.striped || (parentData == null ? void 0 : parentData.striped.value) || props.animated || (parentData == null ? void 0 : parentData.animated.value)\n }\n ]);\n const numberPrecision = useToNumber(() => props.precision);\n const numberValue = useToNumber(() => props.value);\n const numberMax = useToNumber(() => props.max ?? NaN);\n const parentMaxNumber = useToNumber(() => (parentData == null ? void 0 : parentData.max.value) ?? NaN);\n const computedLabel = computed(\n () => props.showValue || (parentData == null ? void 0 : parentData.showValue.value) ? numberValue.value.toFixed(numberPrecision.value) : props.showProgress || (parentData == null ? void 0 : parentData.showProgress.value) ? (numberValue.value * 100 / (numberMax.value || 100)).toFixed(numberPrecision.value) : props.label !== void 0 ? props.label : \"\"\n );\n const computedWidth = computed(\n () => parentMaxNumber.value ? `${numberValue.value * 100 / parentMaxNumber.value}%` : numberMax.value ? `${numberValue.value * 100 / numberMax.value}%` : typeof props.value === \"string\" ? props.value : `${props.value}%`\n );\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: normalizeClass([\"progress-bar\", computedClasses.value]),\n style: normalizeStyle({ width: computedWidth.value })\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createTextVNode(toDisplayString(computedLabel.value), 1)\n ])\n ], 6);\n };\n }\n});\nconst _hoisted_1 = [\"aria-valuenow\", \"aria-valuemax\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BProgress\",\n props: {\n height: { default: void 0 },\n animated: { type: Boolean, default: void 0 },\n max: { default: 100 },\n precision: { default: void 0 },\n showProgress: { type: Boolean, default: void 0 },\n showValue: { type: Boolean, default: void 0 },\n striped: { type: Boolean, default: void 0 },\n value: { default: void 0 },\n variant: { default: void 0 },\n bgVariant: { default: void 0 },\n textVariant: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BProgress\");\n provide(progressInjectionKey, {\n animated: toRef(() => props.animated),\n max: toRef(() => props.max),\n showProgress: toRef(() => props.showProgress),\n showValue: toRef(() => props.showValue),\n striped: toRef(() => props.striped)\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"div\", {\n class: \"progress\",\n role: \"progressbar\",\n style: normalizeStyle({ height: unref(props).height }),\n \"aria-valuenow\": unref(props).value,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": unref(props).max\n }, [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createVNode(_sfc_main$1, {\n animated: unref(props).animated,\n max: unref(props).max,\n precision: unref(props).precision,\n \"show-progress\": unref(props).showProgress,\n \"show-value\": unref(props).showValue,\n striped: unref(props).striped,\n value: unref(props).value,\n variant: unref(props).variant,\n \"text-variant\": unref(props).textVariant,\n \"bg-variant\": unref(props).bgVariant\n }, null, 8, [\"animated\", \"max\", \"precision\", \"show-progress\", \"show-value\", \"striped\", \"value\", \"variant\", \"text-variant\", \"bg-variant\"])\n ])\n ], 12, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _,\n _sfc_main$1 as a\n};\n//# sourceMappingURL=BProgress.vue_vue_type_script_setup_true_lang-csJop4n-.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, mergeProps, createSlots, renderSlot, createVNode, createCommentVNode, createElementVNode, createElementBlock, Fragment, renderList } from \"vue\";\nimport { _ as _sfc_main$5, d as _sfc_main$6 } from \"./BCard.vue_vue_type_script_setup_true_lang-BMlJ-Sfo.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { _ as _sfc_main$7 } from \"./BTableSimple.vue_vue_type_script_setup_true_lang-Dl-5AMhv.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst _sfc_main$4 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BPlaceholder\",\n props: {\n animation: { default: void 0 },\n cols: { default: 12 },\n size: { default: \"md\" },\n tag: { default: \"span\" },\n variant: { default: null },\n width: { default: void 0 },\n wrapperTag: { default: \"span\" }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BPlaceholder\");\n const widthString = computed(\n () => props.width === void 0 ? void 0 : typeof props.width === \"number\" ? props.width.toString() : props.width.replace(\"%\", \"\")\n );\n const colsString = computed(\n () => props.cols === void 0 ? void 0 : typeof props.cols === \"number\" ? props.cols.toString() : props.cols\n );\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n bgVariant: props.variant\n }))\n );\n const computedClasses = computed(() => [\n colorClasses.value,\n {\n [`col-${colsString.value}`]: colsString.value !== void 0 && widthString.value === void 0,\n [`placeholder-${props.size}`]: props.size !== \"md\"\n }\n ]);\n const wrapperClasses = computed(() => ({\n [`placeholder-${props.animation}`]: props.animation !== void 0\n }));\n const computedStyle = computed(() => ({\n width: widthString.value === void 0 ? void 0 : `${widthString.value}%`\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).wrapperTag), {\n class: normalizeClass(wrapperClasses.value)\n }, {\n default: withCtx(() => [\n (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps(_ctx.$attrs, {\n class: [\"placeholder\", computedClasses.value],\n style: computedStyle.value\n }), null, 16, [\"class\", \"style\"]))\n ]),\n _: 1\n }, 8, [\"class\"]);\n };\n }\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n __name: \"BPlaceholderButton\",\n props: {\n animation: { default: void 0 },\n cols: { default: void 0 },\n tag: { default: \"div\" },\n variant: { default: \"primary\" },\n width: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BPlaceholderButton\");\n const computedClasses = computed(() => ({\n [`btn-${props.variant}`]: props.variant !== null\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$4, {\n class: normalizeClass([\"btn disabled\", computedClasses.value]),\n animation: unref(props).animation,\n width: unref(props).width,\n cols: unref(props).cols,\n tag: unref(props).tag,\n style: { \"cursor\": \"wait\", \"pointer-events\": \"auto\" }\n }, null, 8, [\"class\", \"animation\", \"width\", \"cols\", \"tag\"]);\n };\n }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n __name: \"BPlaceholderCard\",\n props: {\n animation: { default: void 0 },\n footerAnimation: { default: void 0 },\n footerSize: { default: \"md\" },\n footerVariant: { default: void 0 },\n footerWidth: { default: 100 },\n headerAnimation: { default: void 0 },\n headerSize: { default: \"md\" },\n headerVariant: { default: void 0 },\n headerWidth: { default: 100 },\n imgBlankColor: { default: \"#868e96\" },\n imgPlacement: { default: \"top\" },\n imgHeight: { default: 100 },\n imgSrc: { default: void 0 },\n noButton: { type: Boolean, default: false },\n noFooter: { type: Boolean, default: false },\n noHeader: { type: Boolean, default: false },\n noImg: { type: Boolean, default: false },\n size: { default: \"md\" },\n variant: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BPlaceholderCard\");\n const defaultAttrs = computed(() => ({\n animation: props.animation,\n size: props.size,\n variant: props.variant\n }));\n const footerComponent = computed(() => !props.noButton ? _sfc_main$3 : _sfc_main$4);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$5, {\n \"img-placement\": unref(props).imgPlacement\n }, createSlots({\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createVNode(_sfc_main$4, mergeProps({ cols: \"7\" }, defaultAttrs.value), null, 16),\n createVNode(_sfc_main$4, mergeProps({ cols: \"4\" }, defaultAttrs.value), null, 16),\n createVNode(_sfc_main$4, mergeProps({ cols: \"4\" }, defaultAttrs.value), null, 16),\n createVNode(_sfc_main$4, mergeProps({ cols: \"6\" }, defaultAttrs.value), null, 16),\n createVNode(_sfc_main$4, mergeProps({ cols: \"8\" }, defaultAttrs.value), null, 16)\n ])\n ]),\n _: 2\n }, [\n !unref(props).noImg ? {\n name: \"img\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"img\", {}, () => [\n createVNode(_sfc_main$6, {\n blank: !unref(props).imgSrc ? true : false,\n \"blank-color\": unref(props).imgBlankColor,\n height: !unref(props).imgSrc ? unref(props).imgHeight : void 0,\n src: unref(props).imgSrc,\n \"img-placement\": unref(props).imgPlacement,\n style: { cursor: \"wait\" }\n }, null, 8, [\"blank\", \"blank-color\", \"height\", \"src\", \"img-placement\"])\n ])\n ]),\n key: \"0\"\n } : void 0,\n !unref(props).noHeader ? {\n name: \"header\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"header\", {}, () => [\n createVNode(_sfc_main$4, {\n width: unref(props).headerWidth,\n variant: unref(props).headerVariant,\n animation: unref(props).headerAnimation,\n size: unref(props).headerSize\n }, null, 8, [\"width\", \"variant\", \"animation\", \"size\"])\n ])\n ]),\n key: \"1\"\n } : void 0,\n !unref(props).noFooter ? {\n name: \"footer\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"footer\", {}, () => [\n (openBlock(), createBlock(resolveDynamicComponent(footerComponent.value), {\n width: unref(props).footerWidth,\n animation: unref(props).footerAnimation,\n size: unref(props).noButton ? unref(props).footerSize : void 0,\n variant: unref(props).footerVariant\n }, null, 8, [\"width\", \"animation\", \"size\", \"variant\"]))\n ])\n ]),\n key: \"2\"\n } : void 0\n ]), 1032, [\"img-placement\"]);\n };\n }\n});\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BPlaceholderTable\",\n props: {\n animation: { default: void 0 },\n cellWidth: { default: 100 },\n columns: { default: 5 },\n footerAnimation: { default: void 0 },\n footerCellWidth: { default: 100 },\n footerColumns: { default: void 0 },\n footerSize: { default: \"md\" },\n footerVariant: { default: void 0 },\n headerAnimation: { default: void 0 },\n headerCellWidth: { default: 100 },\n headerColumns: { default: void 0 },\n headerSize: { default: \"md\" },\n headerVariant: { default: void 0 },\n noHeader: { type: Boolean, default: false },\n rows: { default: 3 },\n showFooter: { type: Boolean, default: false },\n size: { default: \"md\" },\n variant: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BPlaceholderTable\");\n const columnsToNumber = useToNumber(() => props.columns);\n const rowsToNumber = useToNumber(() => props.rows);\n const computedHeaderColumns = computed(() => props.headerColumns ?? NaN);\n const computedFooterColumns = computed(() => props.footerColumns ?? NaN);\n const headerColumnsNumber = useToNumber(computedHeaderColumns);\n const footerColumnsNumber = useToNumber(computedFooterColumns);\n const columnsNumber = computed(() => columnsToNumber.value || 5);\n const rowsNumber = computed(() => rowsToNumber.value || 3);\n const computedHeaderColumnsLength = computed(\n () => props.headerColumns === void 0 ? columnsNumber.value : headerColumnsNumber.value\n );\n const computedFooterColumnsLength = computed(\n () => props.footerColumns === void 0 ? columnsNumber.value : footerColumnsNumber.value\n );\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$7, null, {\n default: withCtx(() => [\n !unref(props).noHeader ? renderSlot(_ctx.$slots, \"thead\", { key: 0 }, () => [\n createElementVNode(\"thead\", null, [\n createElementVNode(\"tr\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedHeaderColumnsLength.value, (_, i) => {\n return openBlock(), createElementBlock(\"th\", { key: i }, [\n createVNode(_sfc_main$4, {\n size: unref(props).headerSize,\n variant: unref(props).headerVariant,\n animation: unref(props).headerAnimation,\n width: unref(props).headerCellWidth\n }, null, 8, [\"size\", \"variant\", \"animation\", \"width\"])\n ]);\n }), 128))\n ])\n ])\n ]) : createCommentVNode(\"\", true),\n renderSlot(_ctx.$slots, \"default\", {}, () => [\n createElementVNode(\"tbody\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(rowsNumber.value, (_, j) => {\n return openBlock(), createElementBlock(\"tr\", { key: j }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(columnsNumber.value, (__, k) => {\n return openBlock(), createElementBlock(\"td\", { key: k }, [\n createVNode(_sfc_main$4, {\n size: unref(props).size,\n variant: unref(props).variant,\n animation: unref(props).animation,\n width: unref(props).cellWidth\n }, null, 8, [\"size\", \"variant\", \"animation\", \"width\"])\n ]);\n }), 128))\n ]);\n }), 128))\n ])\n ]),\n unref(props).showFooter ? renderSlot(_ctx.$slots, \"tfoot\", { key: 1 }, () => [\n createElementVNode(\"tfoot\", null, [\n createElementVNode(\"tr\", null, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedFooterColumnsLength.value, (_, l) => {\n return openBlock(), createElementBlock(\"th\", { key: l }, [\n createVNode(_sfc_main$4, {\n size: unref(props).footerSize,\n variant: unref(props).footerVariant,\n animation: unref(props).footerAnimation,\n width: unref(props).footerCellWidth\n }, null, 8, [\"size\", \"variant\", \"animation\", \"width\"])\n ]);\n }), 128))\n ])\n ])\n ]) : createCommentVNode(\"\", true)\n ]),\n _: 3\n });\n };\n }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BPlaceholderWrapper\",\n props: {\n loading: { type: Boolean, default: false }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BPlaceholderWrapper\");\n return (_ctx, _cache) => {\n return unref(props).loading ? renderSlot(_ctx.$slots, \"loading\", { key: 0 }) : renderSlot(_ctx.$slots, \"default\", { key: 1 });\n };\n }\n});\nexport {\n _sfc_main$4 as _,\n _sfc_main$3 as a,\n _sfc_main$2 as b,\n _sfc_main$1 as c,\n _sfc_main as d\n};\n//# sourceMappingURL=BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-DI0iHvHM.mjs.map\n","import { defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, normalizeProps, guardReactiveProps, renderSlot, mergeProps } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { u as useNumberishToStyle } from \"./useNumberishToStyle-yYj2DkI2.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nconst defaultStickyHeaderHeight = \"300px\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BTableSimple\",\n props: {\n bordered: { type: Boolean, default: false },\n borderless: { type: Boolean, default: false },\n borderVariant: { default: null },\n captionTop: { type: Boolean, default: false },\n dark: { type: Boolean, default: false },\n fixed: { type: Boolean, default: false },\n hover: { type: Boolean, default: false },\n id: { default: void 0 },\n noBorderCollapse: { type: Boolean, default: false },\n outlined: { type: Boolean, default: false },\n responsive: { type: [Boolean, String], default: false },\n small: { type: Boolean, default: false },\n stacked: { type: [Boolean, String], default: false },\n stickyHeader: { type: [Boolean, String, Number], default: false },\n striped: { type: Boolean, default: false },\n stripedColumns: { type: Boolean, default: false },\n variant: { default: null },\n tableAttrs: { default: void 0 },\n tableClass: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTableSimple\");\n const computedId = useId(() => props.id);\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n borderVariant: props.borderVariant\n }))\n );\n const computedClasses = computed(() => [\n props.tableClass,\n \"table\",\n \"b-table\",\n colorClasses.value,\n {\n \"border\": props.outlined,\n \"table-bordered\": props.bordered,\n \"table-borderless\": props.borderless,\n \"caption-top\": props.captionTop,\n \"table-dark\": props.dark,\n \"table-hover\": props.hover,\n \"b-table-stacked\": props.stacked === true,\n [`b-table-stacked-${props.stacked}`]: typeof props.stacked === \"string\",\n \"table-striped\": props.striped,\n \"table-sm\": props.small,\n [`table-${props.variant}`]: props.variant !== null,\n \"table-striped-columns\": props.stripedColumns\n }\n ]);\n const computedTableAttrs = computed(() => ({\n id: computedId.value,\n class: computedClasses.value,\n ...props.tableAttrs\n }));\n const computedSticky = useNumberishToStyle(\n computed(\n () => (props.stickyHeader === true ? defaultStickyHeaderHeight : props.stickyHeader) || NaN\n )\n );\n const stickyIsValid = computed(() => props.stickyHeader !== false);\n const isResponsive = computed(() => props.responsive !== false || stickyIsValid.value);\n const responsiveStyles = computed(\n () => stickyIsValid.value ? { maxHeight: computedSticky.value } : void 0\n );\n const responsiveClasses = computed(() => ({\n \"table-responsive\": props.responsive === true,\n [`table-responsive-${props.responsive}`]: typeof props.responsive === \"string\",\n \"b-table-sticky-header\": stickyIsValid.value\n }));\n return (_ctx, _cache) => {\n return isResponsive.value ? (openBlock(), createElementBlock(\"div\", {\n key: 0,\n class: normalizeClass(responsiveClasses.value),\n style: normalizeStyle(responsiveStyles.value)\n }, [\n createElementVNode(\"table\", normalizeProps(guardReactiveProps(computedTableAttrs.value)), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16)\n ], 6)) : (openBlock(), createElementBlock(\"table\", normalizeProps(mergeProps({ key: 1 }, computedTableAttrs.value)), [\n renderSlot(_ctx.$slots, \"default\")\n ], 16));\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BTableSimple.vue_vue_type_script_setup_true_lang-Dl-5AMhv.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, unref, withCtx, renderSlot, createVNode, Transition, mergeProps, createCommentVNode, resolveDynamicComponent, normalizeStyle, normalizeClass, createElementVNode, normalizeProps, guardReactiveProps } from \"vue\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { _ as _sfc_main$2 } from \"./BSpinner.vue_vue_type_script_setup_true_lang-CP3yvZKE.mjs\";\nimport { _ as _sfc_main$1 } from \"./ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs\";\nimport { u as useRadiusElementClasses } from \"./useRadiusElementClasses-DtKYQuWz.mjs\";\nimport { u as useColorVariantClasses } from \"./useColorVariantClasses-ZDE19TZw.mjs\";\nimport { u as useFadeTransition } from \"./useTransitions-BJccF5e-.mjs\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BOverlay\",\n props: {\n bgColor: { default: void 0 },\n blur: { default: \"2px\" },\n fixed: { type: Boolean, default: false },\n noCenter: { type: Boolean, default: false },\n noFade: { type: Boolean, default: false },\n noSpinner: { type: Boolean, default: false },\n noWrap: { type: Boolean, default: false },\n opacity: { default: 0.85 },\n overlayTag: { default: \"div\" },\n show: { type: Boolean, default: false },\n spinnerSmall: { type: Boolean, default: false },\n spinnerType: { default: \"border\" },\n spinnerVariant: { default: void 0 },\n variant: { default: \"light\" },\n wrapTag: { default: \"div\" },\n zIndex: { default: 10 },\n rounded: { type: [Boolean, String, Number], default: false },\n roundedTop: { type: [Boolean, String, Number], default: void 0 },\n roundedBottom: { type: [Boolean, String, Number], default: void 0 },\n roundedStart: { type: [Boolean, String, Number], default: void 0 },\n roundedEnd: { type: [Boolean, String, Number], default: void 0 }\n },\n emits: [\"click\", \"hidden\", \"shown\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BOverlay\");\n const emit = __emit;\n const positionStyles = { top: 0, left: 0, bottom: 0, right: 0 };\n const fadeTransitions = useFadeTransition(() => !props.noFade);\n const radiusElementClasses = useRadiusElementClasses(() => ({\n rounded: props.rounded,\n roundedTop: props.roundedTop,\n roundedBottom: props.roundedBottom,\n roundedStart: props.roundedStart,\n roundedEnd: props.roundedEnd\n }));\n const computedAriaBusy = computed(() => props.show ? true : null);\n const spinnerAttrs = computed(() => ({\n type: props.spinnerType,\n variant: props.spinnerVariant,\n small: props.spinnerSmall\n }));\n const overlayStyles = computed(() => ({\n ...positionStyles,\n zIndex: props.zIndex || 10\n }));\n const overlayClasses = computed(() => ({\n \"position-absolute\": !props.noWrap || !props.fixed,\n \"position-fixed\": props.noWrap && props.fixed\n }));\n const colorClasses = useColorVariantClasses(\n computed(() => ({\n bgVariant: props.variant !== null && !props.bgColor ? props.variant : null\n }))\n );\n const blurClasses = computed(() => [colorClasses.value, radiusElementClasses.value]);\n const blurStyles = computed(() => ({\n ...positionStyles,\n opacity: props.opacity,\n backgroundColor: props.bgColor || void 0,\n backdropFilter: props.blur ? `blur(${props.blur})` : void 0\n }));\n const spinWrapperStyles = computed(\n () => props.noCenter ? positionStyles : {\n top: \"50%\",\n left: \"50%\",\n transform: \"translateX(-50%) translateY(-50%)\"\n }\n );\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, {\n tag: unref(props).wrapTag,\n class: \"b-overlay-wrap position-relative\",\n \"aria-busy\": computedAriaBusy.value,\n skip: unref(props).noWrap\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\"),\n createVNode(Transition, mergeProps(unref(fadeTransitions), {\n \"enter-to-class\": \"show\",\n name: \"fade\",\n onAfterEnter: _cache[1] || (_cache[1] = ($event) => emit(\"shown\")),\n onAfterLeave: _cache[2] || (_cache[2] = ($event) => emit(\"hidden\"))\n }), {\n default: withCtx(() => [\n unref(props).show ? (openBlock(), createBlock(resolveDynamicComponent(unref(props).overlayTag), {\n key: 0,\n class: normalizeClass([\"b-overlay\", overlayClasses.value]),\n style: normalizeStyle(overlayStyles.value),\n onClick: _cache[0] || (_cache[0] = ($event) => emit(\"click\", $event))\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n class: normalizeClass([\"position-absolute\", blurClasses.value]),\n style: normalizeStyle(blurStyles.value)\n }, null, 6),\n createElementVNode(\"div\", {\n class: \"position-absolute\",\n style: normalizeStyle(spinWrapperStyles.value)\n }, [\n renderSlot(_ctx.$slots, \"overlay\", normalizeProps(guardReactiveProps(spinnerAttrs.value)), () => [\n !unref(props).noSpinner ? (openBlock(), createBlock(_sfc_main$2, normalizeProps(mergeProps({ key: 0 }, spinnerAttrs.value)), null, 16)) : createCommentVNode(\"\", true)\n ])\n ], 4)\n ]),\n _: 3\n }, 8, [\"class\", \"style\"])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 16)\n ]),\n _: 3\n }, 8, [\"tag\", \"aria-busy\", \"skip\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BOverlay.vue_vue_type_script_setup_true_lang-B7Rz8M_8.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, inject, ref, useTemplateRef, useAttrs, computed, onMounted, onUnmounted, watch, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, renderSlot, createCommentVNode, nextTick, provide, toRef, normalizeClass, createVNode, createElementVNode, createElementBlock, Fragment, renderList, withModifiers, withKeys, createTextVNode, toDisplayString } from \"vue\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { q as tabsInjectionKey } from \"./keys-D3gOZjD-.mjs\";\nimport { B as BvEvent } from \"./classes-IC0yVJlq.mjs\";\nimport { u as useAlignment } from \"./useAlignment-Cw-9AVid.mjs\";\nimport { f as createReusableTemplate } from \"./index-cC189kCW.mjs\";\nimport { s as sortSlotElementsByPosition } from \"./dom-BK2w00Ec.mjs\";\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n ...{\n inheritAttrs: false\n },\n __name: \"BTab\",\n props: /* @__PURE__ */ mergeModels({\n buttonId: { default: void 0 },\n disabled: { type: Boolean, default: false },\n id: { default: void 0 },\n lazy: { type: Boolean, default: void 0 },\n lazyOnce: { type: Boolean, default: void 0 },\n noBody: { type: Boolean, default: false },\n tag: { default: \"div\" },\n title: { default: void 0 },\n titleItemClass: { default: void 0 },\n titleLinkAttrs: { default: void 0 },\n titleLinkClass: { default: void 0 }\n }, {\n \"active\": { type: Boolean, ...{\n default: false\n } },\n \"activeModifiers\": {}\n }),\n emits: [\"update:active\"],\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTab\");\n const slots = useSlots();\n const activeModel = useModel(__props, \"active\");\n const parentData = inject(tabsInjectionKey, null);\n const computedId = useId(() => props.id, \"tabpane\");\n const computedButtonId = useId(() => props.buttonId, \"tab\");\n const lazyRenderCompleted = ref(false);\n const el = useTemplateRef(\"_el\");\n const attrs = useAttrs();\n const processedAttrs = computed(() => {\n const { onClick, ...tabAttrs } = attrs;\n return { onClick, tabAttrs };\n });\n const tab = computed(\n () => ({\n id: computedId.value,\n buttonId: computedButtonId.value,\n disabled: props.disabled,\n title: props.title,\n titleComponent: slots.title,\n titleItemClass: () => props.titleItemClass,\n titleLinkAttrs: () => props.titleLinkAttrs,\n titleLinkClass: () => props.titleLinkClass,\n onClick: processedAttrs.value.onClick,\n el: el.value\n })\n );\n onMounted(() => {\n if (!parentData) return;\n parentData.registerTab(tab);\n if (activeModel.value) {\n parentData.activateTab(computedId.value);\n }\n });\n onUnmounted(() => {\n if (!parentData) return;\n parentData.unregisterTab(computedId.value);\n });\n const isActive = computed(() => (parentData == null ? void 0 : parentData.activeId.value) === computedId.value);\n const show = ref(isActive.value);\n const computedLazy = computed(() => !!((parentData == null ? void 0 : parentData.lazy.value) || (props.lazyOnce ?? props.lazy)));\n const computedLazyOnce = computed(() => props.lazyOnce !== void 0);\n const computedActive = computed(() => isActive.value && !props.disabled);\n const showSlot = computed(\n () => computedActive.value || !computedLazy.value || computedLazy.value && computedLazyOnce.value && lazyRenderCompleted.value\n );\n watch(isActive, (active) => {\n if (active) {\n activeModel.value = true;\n setTimeout(() => {\n show.value = true;\n }, 0);\n return;\n }\n show.value = false;\n activeModel.value = false;\n });\n watch(activeModel, (active) => {\n if (!parentData) return;\n if (!active) {\n if (isActive.value) {\n parentData.activateTab(void 0);\n }\n return;\n }\n parentData.activateTab(computedId.value);\n });\n const computedClasses = computed(() => [\n {\n \"active\": isActive.value,\n \"show\": show.value,\n \"card-body\": (parentData == null ? void 0 : parentData.card.value) && props.noBody === false,\n \"fade\": !(parentData == null ? void 0 : parentData.noFade.value)\n },\n show.value ? parentData == null ? void 0 : parentData.activeTabClass.value : parentData == null ? void 0 : parentData.inactiveTabClass.value,\n parentData == null ? void 0 : parentData.tabClass.value\n ]);\n watch(showSlot, (shown) => {\n if (shown && !lazyRenderCompleted.value) lazyRenderCompleted.value = true;\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), mergeProps({\n id: unref(computedId),\n ref: \"_el\",\n class: [\"tab-pane\", computedClasses.value],\n role: \"tabpanel\",\n \"aria-labelledby\": unref(computedButtonId)\n }, processedAttrs.value.tabAttrs), {\n default: withCtx(() => [\n showSlot.value ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 16, [\"id\", \"class\", \"aria-labelledby\"]);\n };\n }\n});\nconst _hoisted_1 = [\"aria-orientation\"];\nconst _hoisted_2 = [\"id\", \"aria-controls\", \"aria-selected\", \"tabindex\", \"onClick\"];\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BTabs\",\n props: /* @__PURE__ */ mergeModels({\n activeNavItemClass: { default: void 0 },\n activeTabClass: { default: void 0 },\n align: { default: void 0 },\n card: { type: Boolean, default: false },\n contentClass: { default: void 0 },\n end: { type: Boolean, default: false },\n fill: { type: Boolean, default: false },\n id: { default: void 0 },\n inactiveNavItemClass: { default: void 0 },\n inactiveTabClass: { default: void 0 },\n justified: { type: Boolean, default: false },\n lazy: { type: Boolean, default: false },\n navClass: { default: void 0 },\n navItemClass: { default: void 0 },\n navWrapperClass: { default: void 0 },\n noFade: { type: Boolean, default: false },\n noKeyNav: { type: Boolean, default: false },\n noNavStyle: { type: Boolean, default: false },\n pills: { type: Boolean, default: false },\n small: { type: Boolean, default: false },\n tag: { default: \"div\" },\n tabClass: { default: void 0 },\n underline: { type: Boolean, default: false },\n vertical: { type: Boolean, default: false }\n }, {\n \"modelValue\": {\n default: -1\n },\n \"modelModifiers\": {},\n \"activeId\": {\n default: void 0\n },\n \"activeIdModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"activate-tab\", \"click\"], [\"update:modelValue\", \"update:activeId\"]),\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BTabs\");\n const emit = __emit;\n const modelValue = useModel(__props, \"modelValue\");\n const activeId = useModel(__props, \"activeId\");\n const ReusableEmptyTab = createReusableTemplate();\n const tabsInternal = ref([]);\n const tabs = computed(\n () => tabsInternal.value.map((_tab) => {\n const tab = unref(_tab);\n const active = tab.id === activeId.value;\n return {\n ...tab,\n active,\n navItemClasses: [\n {\n active,\n disabled: tab.disabled\n },\n active ? props.activeNavItemClass : props.inactiveNavItemClass,\n props.navItemClass\n ]\n };\n })\n );\n const showEmpty = computed(() => !((tabs == null ? void 0 : tabs.value) && tabs.value.length > 0));\n const computedClasses = computed(() => ({\n \"d-flex\": props.vertical,\n \"align-items-start\": props.vertical\n }));\n const alignment = useAlignment(() => props.align);\n const navTabsClasses = computed(() => ({\n \"nav-pills\": props.pills,\n \"nav-underline\": props.underline,\n \"flex-column me-3\": props.vertical,\n [alignment.value]: props.align !== void 0,\n \"nav-fill\": props.fill,\n \"card-header-tabs\": props.card && !props.pills && !props.underline,\n \"card-header-pills\": props.card && props.pills,\n \"nav-justified\": props.justified,\n \"nav-tabs\": !props.noNavStyle && !props.pills && !props.underline,\n \"small\": props.small\n }));\n const activateTab = (index) => {\n var _a;\n if (index !== void 0) {\n const id = (_a = tabs.value[index]) == null ? void 0 : _a.id;\n if (index > -1 && index < tabs.value.length && !tabs.value[index].disabled && (modelValue.value < 0 || activeId.value !== id || modelValue.value !== index)) {\n const tabEvent = new BvEvent(\"activate-tab\", { cancelable: true });\n emit(\"activate-tab\", index, modelValue.value, tabEvent);\n if (!tabEvent.defaultPrevented) {\n if (activeId.value !== id) activeId.value = id;\n if (modelValue.value !== index) modelValue.value = index;\n }\n }\n }\n };\n const handleClick = (event, index) => {\n var _a, _b, _c;\n activateTab(index);\n if (index >= 0 && !tabs.value[index].disabled && ((_a = tabs.value[index]) == null ? void 0 : _a.onClick) && typeof tabs.value[index].onClick === \"function\") {\n (_c = (_b = tabs.value[index]).onClick) == null ? void 0 : _c.call(_b, event);\n }\n };\n const keynav = (e, direction) => {\n var _a, _b;\n if (tabs.value.length <= 0 || props.noKeyNav) return;\n e.preventDefault();\n e.stopPropagation();\n modelValue.value = nextIndex(modelValue.value + direction, direction);\n (_b = document.getElementById((_a = tabs.value[modelValue.value]) == null ? void 0 : _a.buttonId)) == null ? void 0 : _b.focus();\n };\n const nextIndex = (start, direction) => {\n let index = start;\n let minIdx = -1;\n let maxIdx = -1;\n for (let i = 0; i < tabs.value.length; i++) {\n if (!tabs.value[i].disabled) {\n if (minIdx === -1) minIdx = i;\n maxIdx = i;\n }\n }\n while (index >= minIdx && index <= maxIdx && tabs.value[index].disabled) {\n index += direction;\n }\n if (index < minIdx) index = minIdx;\n if (index > maxIdx) index = maxIdx;\n return index;\n };\n watch(modelValue, (newValue, oldValue) => {\n if (newValue === oldValue) return;\n if (tabs.value.length <= 0) {\n return;\n }\n const index = nextIndex(newValue, newValue > oldValue ? 1 : -1);\n nextTick(() => {\n activateTab(index);\n });\n });\n watch(activeId, (newValue, oldValue) => {\n const index = tabs.value.findIndex((t) => t.id === newValue);\n if (newValue === oldValue) return;\n if (tabs.value.length <= 0) {\n return;\n }\n if (index === -1) {\n activateTab(nextIndex(0, 1));\n return;\n }\n activateTab(index);\n });\n const registerTab = (tab) => {\n if (!tabsInternal.value.find((t) => t.value.id === tab.value.id)) {\n tabsInternal.value.push(tab);\n } else {\n tabsInternal.value[tabsInternal.value.findIndex((t) => t.value.id === tab.value.id)] = tab;\n }\n tabsInternal.value.sort((a, b) => sortSlotElementsByPosition(a.value.el, b.value.el));\n };\n const unregisterTab = (id) => {\n tabsInternal.value = tabsInternal.value.filter((t) => t.value.id !== id);\n };\n watch(\n tabsInternal,\n () => {\n findActive();\n },\n { deep: true }\n );\n const findActive = () => {\n var _a;\n if (tabs.value.length === 0) {\n modelValue.value = -1;\n activeId.value = void 0;\n return;\n }\n if (modelValue.value >= 0 && !activeId.value) {\n activeId.value = (_a = tabs.value[modelValue.value]) == null ? void 0 : _a.id;\n }\n if (tabs.value.find((t) => t.id === activeId.value)) {\n activateTab(tabs.value.findIndex((t) => t.id === activeId.value));\n return;\n }\n activateTab(tabs.value.map((tab) => !tab.disabled).indexOf(true));\n };\n provide(tabsInjectionKey, {\n lazy: toRef(() => props.lazy),\n card: toRef(() => props.card),\n noFade: toRef(() => props.noFade),\n activeTabClass: toRef(() => props.activeTabClass),\n inactiveTabClass: toRef(() => props.inactiveTabClass),\n tabClass: toRef(() => props.tabClass),\n registerTab,\n unregisterTab,\n activeId,\n activateTab: (id) => {\n const idx = tabs.value.findIndex((t) => t.id === id);\n if (id === void 0 || idx === -1) {\n activateTab(nextIndex(0, 1));\n return;\n }\n activateTab(idx);\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n id: unref(props).id,\n class: normalizeClass([\"tabs\", computedClasses.value])\n }, {\n default: withCtx(() => [\n createVNode(unref(ReusableEmptyTab).define, null, {\n default: withCtx(() => [\n createElementVNode(\"div\", {\n class: normalizeClass([\"tab-content\", unref(props).contentClass])\n }, [\n renderSlot(_ctx.$slots, \"default\"),\n showEmpty.value ? (openBlock(), createElementBlock(\"div\", {\n key: \"bv-empty-tab\",\n class: normalizeClass([\"tab-pane active\", { \"card-body\": unref(props).card }])\n }, [\n renderSlot(_ctx.$slots, \"empty\")\n ], 2)) : createCommentVNode(\"\", true)\n ], 2)\n ]),\n _: 3\n }),\n unref(props).end ? (openBlock(), createBlock(unref(ReusableEmptyTab).reuse, { key: 0 })) : createCommentVNode(\"\", true),\n createElementVNode(\"div\", {\n class: normalizeClass([\n unref(props).navWrapperClass,\n { \"card-header\": unref(props).card, \"ms-auto\": _ctx.vertical && unref(props).end }\n ])\n }, [\n createElementVNode(\"ul\", {\n class: normalizeClass([\"nav\", [navTabsClasses.value, unref(props).navClass]]),\n role: \"tablist\",\n \"aria-orientation\": unref(props).vertical ? \"vertical\" : \"horizontal\"\n }, [\n renderSlot(_ctx.$slots, \"tabs-start\"),\n (openBlock(true), createElementBlock(Fragment, null, renderList(tabs.value, (tab, idx) => {\n var _a, _b, _c;\n return openBlock(), createElementBlock(\"li\", {\n key: tab.id,\n class: normalizeClass([\"nav-item\", (_a = tab.titleItemClass) == null ? void 0 : _a.call(tab)]),\n role: \"presentation\"\n }, [\n createElementVNode(\"button\", mergeProps({\n id: tab.buttonId,\n class: [\"nav-link\", [tab.navItemClasses, (_b = tab.titleLinkClass) == null ? void 0 : _b.call(tab)]],\n role: \"tab\",\n \"aria-controls\": tab.id,\n \"aria-selected\": tab.active,\n tabindex: unref(props).noKeyNav ? void 0 : tab.active ? void 0 : -1,\n ref_for: true\n }, (_c = tab.titleLinkAttrs) == null ? void 0 : _c.call(tab), {\n onKeydown: [\n _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => !unref(props).vertical && keynav($event, -1), [\"exact\"]), [\"left\"])),\n _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => !unref(props).vertical && keynav($event, -999), [\"shift\"]), [\"left\"])),\n _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => unref(props).vertical && keynav($event, -1), [\"exact\"]), [\"up\"])),\n _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => unref(props).vertical && keynav($event, -999), [\"shift\"]), [\"up\"])),\n _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => !unref(props).vertical && keynav($event, 1), [\"exact\"]), [\"right\"])),\n _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => !unref(props).vertical && keynav($event, 999), [\"shift\"]), [\"right\"])),\n _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => unref(props).vertical && keynav($event, 1), [\"exact\"]), [\"down\"])),\n _cache[7] || (_cache[7] = withKeys(withModifiers(($event) => unref(props).vertical && keynav($event, 999), [\"shift\"]), [\"down\"])),\n _cache[8] || (_cache[8] = withKeys(($event) => keynav($event, -999), [\"page-up\"])),\n _cache[9] || (_cache[9] = withKeys(($event) => keynav($event, 999), [\"page-down\"])),\n _cache[10] || (_cache[10] = withKeys(($event) => keynav($event, -999), [\"home\"])),\n _cache[11] || (_cache[11] = withKeys(($event) => keynav($event, 999), [\"end\"]))\n ],\n onClick: withModifiers((e) => handleClick(e, idx), [\"stop\", \"prevent\"])\n }), [\n tab.titleComponent ? (openBlock(), createBlock(resolveDynamicComponent(tab.titleComponent), { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [\n createTextVNode(toDisplayString(tab.title), 1)\n ], 64))\n ], 16, _hoisted_2)\n ], 2);\n }), 128)),\n renderSlot(_ctx.$slots, \"tabs-end\")\n ], 10, _hoisted_1)\n ], 2),\n !unref(props).end ? (openBlock(), createBlock(unref(ReusableEmptyTab).reuse, { key: 1 })) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"id\", \"class\"]);\n };\n }\n});\nexport {\n _sfc_main$1 as _,\n _sfc_main as a\n};\n//# sourceMappingURL=BTabs.vue_vue_type_script_setup_true_lang-DamGvRZ4.mjs.map\n","import { defineComponent, createElementBlock, openBlock, Fragment, createVNode, h } from \"vue\";\nimport { usePopoverController } from \"./src/composables/usePopoverController/index.mjs\";\nimport { B as BPopover } from \"./floatingUi-DvHiyg2I.mjs\";\nimport { _ as _sfc_main$1 } from \"./BTooltip.vue_vue_type_script_setup_true_lang-B8VgPQS2.mjs\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BPopoverOrchestrator\",\n setup(__props, { expose: __expose }) {\n const tools = usePopoverController();\n const PopoverList = () => {\n var _a, _b;\n return Array.from(((_b = (_a = tools.popovers) == null ? void 0 : _a.value) == null ? void 0 : _b.entries()) ?? []).map(([self, { content, title, ...popover }]) => {\n const props = {};\n const slots = {};\n if (typeof content === \"string\") {\n props.content = content;\n } else {\n slots.default = content;\n }\n if (typeof title === \"string\") {\n props.title = title;\n } else {\n slots.title = title;\n }\n return h(BPopover, { key: self, ...props, ...popover }, slots);\n });\n };\n const TooltipList = () => {\n var _a, _b;\n return Array.from(((_b = (_a = tools.tooltips) == null ? void 0 : _a.value) == null ? void 0 : _b.entries()) ?? []).map(([self, { content, title, ...popover }]) => {\n const props = {};\n const slots = {};\n if (typeof content === \"string\") {\n props.content = content;\n } else {\n slots.default = content;\n }\n if (typeof title === \"string\") {\n props.title = title;\n } else {\n slots.title = title;\n }\n return h(_sfc_main$1, { key: self, ...props, ...popover }, slots);\n });\n };\n __expose({\n ...tools\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(Fragment, null, [\n createVNode(PopoverList),\n createVNode(TooltipList)\n ], 64);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-CyJwKua6.mjs.map\n","import { defineComponent, h } from \"vue\";\nconst _sfc_main = defineComponent({\n name: \"ConditionalWrapper\",\n inheritAttrs: false,\n slots: Object,\n props: {\n tag: {\n type: String,\n default: \"div\"\n },\n skip: {\n type: Boolean,\n required: true\n }\n },\n setup(props, { slots, attrs }) {\n return () => {\n var _a, _b;\n return props.skip ? (_a = slots.default) == null ? void 0 : _a.call(slots, {}) : h(props.tag, { ...attrs }, [(_b = slots.default) == null ? void 0 : _b.call(slots, {})]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=ConditionalWrapper.vue_vue_type_script_lang-CUX3HBqw.mjs.map\n","import { defineComponent, mergeModels, useModel, useTemplateRef, computed, watch, createElementBlock, openBlock, unref, normalizeClass, Fragment, renderList, mergeProps, createBlock, renderSlot, createTextVNode, toDisplayString, resolveDynamicComponent, withCtx, nextTick } from \"vue\";\nimport { B as BvEvent } from \"./classes-IC0yVJlq.mjs\";\nimport { u as useAlignment } from \"./useAlignment-Cw-9AVid.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { C as CODE_LEFT, a as CODE_UP, b as CODE_RIGHT, c as CODE_DOWN } from \"./constants-COk0ugyL.mjs\";\nimport { s as stopEvent } from \"./event-a_bi5ysw.mjs\";\nimport { g as getActiveElement } from \"./dom-BK2w00Ec.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst _hoisted_1 = [\"aria-disabled\", \"aria-label\"];\nconst DEFAULT_PER_PAGE = 20;\nconst DEFAULT_TOTAL_ROWS = 0;\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BPagination\",\n props: /* @__PURE__ */ mergeModels({\n align: { default: \"start\" },\n ariaControls: { default: void 0 },\n ariaLabel: { default: \"Pagination\" },\n disabled: { type: Boolean, default: false },\n ellipsisClass: { default: void 0 },\n ellipsisText: { default: \"…\" },\n firstClass: { default: void 0 },\n firstNumber: { type: Boolean, default: false },\n firstText: { default: \"«\" },\n noEllipsis: { type: Boolean, default: false },\n noGotoEndButtons: { type: Boolean, default: false },\n labelFirstPage: { default: \"Go to first page\" },\n labelLastPage: { default: \"Go to last page\" },\n labelNextPage: { default: \"Go to next page\" },\n labelPage: { default: \"Go to page\" },\n labelPrevPage: { default: \"Go to previous page\" },\n lastClass: { default: void 0 },\n lastNumber: { type: Boolean, default: false },\n lastText: { default: \"»\" },\n limit: { default: 5 },\n nextClass: { default: void 0 },\n nextText: { default: \"›\" },\n pageClass: { default: void 0 },\n perPage: { default: DEFAULT_PER_PAGE },\n pills: { type: Boolean, default: false },\n prevClass: { default: void 0 },\n prevText: { default: \"‹\" },\n size: { default: void 0 },\n totalRows: { default: DEFAULT_TOTAL_ROWS }\n }, {\n \"modelValue\": {\n default: 1\n },\n \"modelModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"page-click\"], [\"update:modelValue\"]),\n setup(__props, { emit: __emit }) {\n const ELLIPSIS_THRESHOLD = 3;\n const FIRST_BUTTON = -1;\n const PREV_BUTTON = -2;\n const NEXT_BUTTON = -3;\n const LAST_BUTTON = -4;\n const FIRST_ELLIPSIS = -5;\n const LAST_ELLIPSIS = -6;\n const _props = __props;\n const props = useDefaults(_props, \"BPagination\");\n const emit = __emit;\n const modelValue = useModel(__props, \"modelValue\");\n const pageElements = useTemplateRef(\"_pageElements\");\n const limitNumber = useToNumber(() => props.limit, { nanToZero: true, method: \"parseInt\" });\n const perPageNumber = useToNumber(() => props.perPage, { nanToZero: true, method: \"parseInt\" });\n const totalRowsNumber = useToNumber(() => props.totalRows, { nanToZero: true, method: \"parseInt\" });\n const modelValueNumber = useToNumber(modelValue, { nanToZero: true, method: \"parseInt\" });\n const perPageSanitized = computed(() => Math.max(perPageNumber.value || DEFAULT_PER_PAGE, 1));\n const totalRowsSanitized = computed(() => Math.max(totalRowsNumber.value || DEFAULT_TOTAL_ROWS, 0));\n const numberOfPages = computed(() => Math.ceil(totalRowsSanitized.value / perPageSanitized.value));\n const computedFill = computed(() => props.align === \"fill\");\n const justifyAlign = computed(() => props.align === \"fill\" ? \"start\" : props.align);\n const alignment = useAlignment(justifyAlign);\n const isActivePage = (pageNumber) => pageNumber === computedModelValue.value;\n const getTabIndex = (num) => props.disabled ? null : isActivePage(num) ? \"0\" : \"-1\";\n const checkDisabled = (num) => props.disabled || isActivePage(num) || computedModelValue.value < 1 || // Check if the number is out of bounds\n num < 1 || num > numberOfPages.value;\n const firstDisabled = computed(() => checkDisabled(1));\n const prevDisabled = computed(() => checkDisabled(computedModelValue.value - 1));\n const lastDisabled = computed(() => checkDisabled(numberOfPages.value));\n const nextDisabled = computed(() => checkDisabled(computedModelValue.value + 1));\n const getBaseButtonProps = ({\n page,\n classVal,\n disabled,\n slotName,\n textValue,\n tabIndex,\n label,\n position,\n isActive,\n role,\n hidden,\n isSmHidden\n }) => ({\n li: {\n \"class\": [\n \"page-item\",\n {\n \"active\": isActive,\n disabled,\n \"bv-d-sm-down-none\": isSmHidden,\n \"flex-fill\": computedFill.value,\n \"d-flex\": computedFill.value && !disabled\n },\n classVal\n ],\n role,\n \"aria-hidden\": hidden\n },\n button: {\n \"is\": disabled ? \"span\" : \"button\",\n \"class\": [\"page-link\", \"text-center\", { \"flex-grow-1\": !disabled && computedFill.value }],\n \"aria-label\": label,\n \"aria-controls\": props.ariaControls || void 0,\n \"aria-disabled\": disabled ? true : void 0,\n \"aria-posinset\": position,\n \"aria-setsize\": position ? numberOfPages.value : void 0,\n \"role\": \"menuitem\",\n \"type\": disabled ? void 0 : \"button\",\n \"tabindex\": disabled ? void 0 : tabIndex\n },\n text: {\n name: slotName,\n active: isActive,\n value: textValue ?? page,\n page,\n disabled,\n index: page - 1,\n content: textValue ? void 0 : page\n },\n clickHandler: (e) => pageClick(e, page)\n });\n const getButtonProps = ({\n page,\n classVal,\n disabled,\n slotName,\n textValue,\n label\n }) => getBaseButtonProps({ page, classVal, disabled, slotName, textValue, label, tabIndex: \"-1\" });\n const getPageButtonProps = (page, isSmHidden) => getBaseButtonProps({\n page,\n disabled: props.disabled,\n classVal: props.pageClass,\n slotName: \"page\",\n label: props.labelPage ? `${props.labelPage} ${page}` : void 0,\n tabIndex: getTabIndex(page) ?? void 0,\n position: page,\n isActive: isActivePage(page),\n isSmHidden\n });\n const firstButtonProps = computed(\n () => getButtonProps({\n page: 1,\n disabled: firstDisabled.value,\n classVal: props.firstClass,\n slotName: \"first-text\",\n textValue: props.firstText,\n label: props.labelFirstPage\n })\n );\n const prevButtonProps = computed(\n () => getButtonProps({\n page: Math.max(computedModelValue.value - 1, 1),\n disabled: prevDisabled.value,\n classVal: props.prevClass,\n slotName: \"prev-text\",\n textValue: props.prevText,\n label: props.labelPrevPage\n })\n );\n const nextButtonProps = computed(\n () => getButtonProps({\n page: Math.min(computedModelValue.value + 1, numberOfPages.value),\n disabled: nextDisabled.value,\n classVal: props.nextClass,\n slotName: \"next-text\",\n textValue: props.nextText,\n label: props.labelNextPage\n })\n );\n const lastButtonProps = computed(\n () => getButtonProps({\n page: numberOfPages.value,\n disabled: lastDisabled.value,\n classVal: props.lastClass,\n slotName: \"last-text\",\n textValue: props.lastText,\n label: props.labelLastPage\n })\n );\n const ellipsisProps = computed(() => ({\n li: {\n class: [\n \"page-item\",\n \"disabled\",\n \"text-center\",\n \"bv-d-sm-down-none\",\n computedFill.value ? \"flex-fill\" : \"\",\n props.ellipsisClass\n ],\n role: \"separator\"\n },\n span: {\n class: [\"page-link\"]\n }\n }));\n const computedWrapperClasses = computed(() => [\n alignment.value,\n {\n [`pagination-${props.size}`]: props.size !== void 0,\n \"b-pagination-pills\": props.pills\n }\n ]);\n const pagination = computed(() => ({\n pageSize: perPageSanitized.value,\n totalRows: totalRowsNumber.value,\n numberOfPages: numberOfPages.value\n }));\n const pageClick = (event, pageNumber) => {\n if (pageNumber === computedModelValue.value) return;\n const clickEvent = new BvEvent(\"page-click\", {\n cancelable: true,\n target: event.target\n });\n emit(\"page-click\", clickEvent, pageNumber);\n if (clickEvent.defaultPrevented) return;\n modelValue.value = pageNumber;\n };\n const isDisabled = (el) => {\n const isElement = !!(el && el.nodeType === Node.ELEMENT_NODE);\n const hasAttr = isElement ? el.hasAttribute(\"disabled\") : null;\n const hasClass = isElement && el.classList ? el.classList.contains(\"disabled\") : false;\n return !isElement || el.disabled || hasAttr || hasClass;\n };\n const getButtons = () => {\n var _a;\n return ((_a = pageElements.value) == null ? void 0 : _a.map((page) => page.children[0]).filter((btn) => {\n if (btn.getAttribute(\"display\") === \"none\") {\n return false;\n }\n const bcr = btn.getBoundingClientRect();\n return !!(bcr && bcr.height > 0 && bcr.width > 0);\n })) ?? [];\n };\n const focusFirst = () => {\n nextTick(() => {\n const btn = getButtons().find((el) => !isDisabled(el));\n btn == null ? void 0 : btn.focus();\n });\n };\n const focusPrev = () => {\n nextTick(() => {\n var _a;\n const buttons = getButtons();\n const index = buttons.indexOf(getActiveElement());\n if (index > 0 && !isDisabled(buttons[index - 1])) {\n (_a = buttons[index - 1]) == null ? void 0 : _a.focus();\n }\n });\n };\n const focusLast = () => {\n nextTick(() => {\n const btn = getButtons().reverse().find((el) => !isDisabled(el));\n btn == null ? void 0 : btn.focus();\n });\n };\n const focusNext = () => {\n nextTick(() => {\n var _a;\n const buttons = getButtons();\n const index = buttons.indexOf(getActiveElement());\n if (index < buttons.length - 1 && !isDisabled(buttons[index + 1])) {\n (_a = buttons[index + 1]) == null ? void 0 : _a.focus();\n }\n });\n };\n const handleKeyNav = (event) => {\n const { code, shiftKey } = event;\n if (code === CODE_LEFT || code === CODE_UP) {\n stopEvent(event);\n if (shiftKey) {\n focusFirst();\n } else {\n focusPrev();\n }\n } else if (code === CODE_RIGHT || code === CODE_DOWN) {\n stopEvent(event);\n if (shiftKey) {\n focusLast();\n } else {\n focusNext();\n }\n }\n };\n const computedModelValue = computed(() => {\n const page = modelValueNumber.value || 1;\n return page > numberOfPages.value ? numberOfPages.value : page < 1 ? 1 : page;\n });\n watch(pagination, (oldValue, newValue) => {\n if (newValue.pageSize !== oldValue.pageSize && newValue.totalRows === oldValue.totalRows) {\n modelValue.value = 1;\n }\n });\n const noFirstButton = computed(() => props.noGotoEndButtons && !props.firstNumber ? 1 : 0);\n const noLastButton = computed(() => props.noGotoEndButtons && !props.lastNumber ? 1 : 0);\n const showFirstButton = computed(() => noFirstButton.value ? 0 : 1);\n const showLastButton = computed(() => noLastButton.value ? 0 : 1);\n const firstPage = computed(() => props.firstNumber ? 1 : 0);\n const lastPage = computed(() => props.lastNumber ? 1 : 0);\n const halfLimit = computed(() => Math.floor(limitNumber.value / 2));\n const pages = computed(() => {\n const { value } = computedModelValue;\n const els = elements.value.map((p) => {\n switch (p) {\n case FIRST_BUTTON:\n return { id: p, ...firstButtonProps.value };\n case PREV_BUTTON:\n return { id: p, ...prevButtonProps.value };\n case NEXT_BUTTON:\n return { id: p, ...nextButtonProps.value };\n case LAST_BUTTON:\n return { id: p, ...lastButtonProps.value };\n case FIRST_ELLIPSIS:\n case LAST_ELLIPSIS:\n return { id: p, ...ellipsisProps.value };\n default:\n return { id: p, ...getPageButtonProps(p) };\n }\n });\n if (numberOfPages.value > 3) {\n if (value > numberOfPages.value - halfLimit.value - lastPage.value) {\n const idx = 2 + showFirstButton.value;\n els[idx] = { id: els[idx].id, ...getPageButtonProps(els[idx].id, true) };\n }\n if (value <= halfLimit.value + firstPage.value) {\n const idx = els.length - (3 + showLastButton.value);\n els[idx] = { id: els[idx].id, ...getPageButtonProps(els[idx].id, true) };\n }\n }\n return els;\n });\n const elements = computed(() => {\n const pages2 = numberOfPages.value;\n const { value } = computedModelValue;\n const limit = limitNumber.value;\n const noEllipsis = props.noEllipsis || limit <= ELLIPSIS_THRESHOLD;\n if (pages2 < limit + firstPage.value + lastPage.value) {\n return [\n !firstPage.value && !noFirstButton.value ? FIRST_BUTTON : null,\n PREV_BUTTON,\n ...Array.from({ length: pages2 }, (_, index) => index + 1),\n NEXT_BUTTON,\n !lastPage.value && !noLastButton.value ? LAST_BUTTON : null\n ].filter((x) => x !== null);\n }\n const buttons = Array.from({ length: limit + 4 - (noFirstButton.value + noLastButton.value) });\n if (!noFirstButton.value) {\n if (!firstPage.value) {\n buttons[0] = FIRST_BUTTON;\n buttons[1] = PREV_BUTTON;\n } else {\n buttons[0] = PREV_BUTTON;\n buttons[1] = 1;\n }\n } else {\n buttons[0] = PREV_BUTTON;\n }\n if (!noLastButton.value) {\n if (!lastPage.value) {\n buttons[buttons.length - 1] = LAST_BUTTON;\n buttons[buttons.length - 2] = NEXT_BUTTON;\n } else {\n buttons[buttons.length - 1] = NEXT_BUTTON;\n buttons[buttons.length - 2] = pages2;\n }\n } else {\n buttons[buttons.length - 1] = NEXT_BUTTON;\n }\n if (value <= halfLimit.value + firstPage.value) {\n for (let index = 1; index <= limit; index++) {\n buttons[index + 1 - noFirstButton.value] = index + firstPage.value;\n }\n if (!noEllipsis) {\n buttons[buttons.length - (2 + showLastButton.value)] = LAST_ELLIPSIS;\n }\n }\n if (value > pages2 - halfLimit.value - lastPage.value) {\n const start = pages2 - (limit - 1) - lastPage.value;\n for (let index = 0; index < limit; index++) {\n buttons[index + 2 - noFirstButton.value] = start + index;\n }\n if (!noEllipsis) {\n buttons[1 + showFirstButton.value] = FIRST_ELLIPSIS;\n }\n }\n if (!buttons[2]) {\n const start = value - Math.floor(limit / 2);\n for (let index = 0; index < limit; index++) {\n buttons[index + 2 - noFirstButton.value] = start + index;\n }\n if (!noEllipsis) {\n buttons[1 + showFirstButton.value] = FIRST_ELLIPSIS;\n buttons[buttons.length - (2 + showLastButton.value)] = LAST_ELLIPSIS;\n }\n }\n return buttons.filter((x) => x !== null);\n });\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"ul\", {\n class: normalizeClass([\"pagination\", computedWrapperClasses.value]),\n role: \"menubar\",\n \"aria-disabled\": unref(props).disabled,\n \"aria-label\": unref(props).ariaLabel || void 0,\n onKeydown: handleKeyNav\n }, [\n (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {\n return openBlock(), createElementBlock(\"li\", mergeProps({\n key: `page-${page.id}`,\n ref_for: true\n }, page.li, {\n ref_for: true,\n ref: \"_pageElements\"\n }), [\n page.id === FIRST_ELLIPSIS || page.id === LAST_ELLIPSIS ? (openBlock(), createElementBlock(\"span\", mergeProps({\n key: 0,\n ref_for: true\n }, ellipsisProps.value.span), [\n renderSlot(_ctx.$slots, \"ellipsis-text\", {}, () => [\n createTextVNode(toDisplayString(unref(props).ellipsisText || \"...\"), 1)\n ])\n ], 16)) : (openBlock(), createBlock(resolveDynamicComponent(page.button.is), mergeProps({\n key: 1,\n ref_for: true\n }, page.button, {\n onClick: page.clickHandler\n }), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, page.text.name, {\n disabled: page.text.disabled,\n page: page.text.page,\n index: page.text.index,\n active: page.text.active,\n content: page.text.value\n }, () => [\n createTextVNode(toDisplayString(page.text.value), 1)\n ])\n ]),\n _: 2\n }, 1040, [\"onClick\"]))\n ], 16);\n }), 128))\n ], 42, _hoisted_1);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BPagination.vue_vue_type_script_setup_true_lang-D_cnf8zg.mjs.map\n","import { defineComponent, h, Teleport } from \"vue\";\nconst _sfc_main = defineComponent({\n name: \"ConditionalTeleport\",\n inheritAttrs: false,\n slots: Object,\n props: {\n to: {\n type: [String, Object],\n default: null\n },\n disabled: {\n type: Boolean,\n required: true\n }\n },\n setup(props, { slots }) {\n return () => {\n var _a, _b;\n return !props.to ? (_a = slots.default) == null ? void 0 : _a.call(slots, {}) : h(Teleport, { to: props.to, disabled: props.disabled || !props.to }, [(_b = slots.default) == null ? void 0 : _b.call(slots, {})]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=ConditionalTeleport.vue_vue_type_script_lang-2PJ2jBTg.mjs.map\n","import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, renderSlot } from \"vue\";\nimport { g as getClasses } from \"./getClasses-CsgNQabU.mjs\";\nimport { u as useAlignment } from \"./useAlignment-Cw-9AVid.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BRow\",\n props: {\n tag: { default: \"div\" },\n gutterX: { default: void 0 },\n gutterY: { default: void 0 },\n noGutters: { type: Boolean, default: false },\n alignV: { default: void 0 },\n alignH: { default: void 0 },\n alignContent: { default: void 0 },\n cols: { default: void 0 },\n colsSm: { default: void 0 },\n colsMd: { default: void 0 },\n colsLg: { default: void 0 },\n colsXl: { default: void 0 },\n colsXxl: { default: void 0 }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BRow\");\n const alignment = useAlignment(() => props.alignH);\n const rowColsClasses = computed(\n () => getClasses(\n {\n cols: props.cols,\n colsLg: props.colsLg,\n colsMd: props.colsMd,\n colsSm: props.colsSm,\n colsXl: props.colsXl,\n colsXxl: props.colsXxl\n },\n [\"cols\", \"colsLg\", \"colsMd\", \"colsSm\", \"colsXl\", \"colsXxl\"],\n \"cols\",\n \"row-cols\"\n )\n );\n const computedClasses = computed(() => [\n rowColsClasses.value,\n {\n [`gx-${props.gutterX}`]: props.gutterX !== void 0,\n [`gy-${props.gutterY}`]: props.gutterY !== void 0,\n \"g-0\": props.noGutters,\n [`align-items-${props.alignV}`]: props.alignV !== void 0,\n [alignment.value]: props.alignH !== void 0,\n [`align-content-${props.alignContent}`]: props.alignContent !== void 0\n }\n ]);\n return (_ctx, _cache) => {\n return openBlock(), createBlock(resolveDynamicComponent(unref(props).tag), {\n class: normalizeClass([\"row\", computedClasses.value])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"class\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BRow.vue_vue_type_script_setup_true_lang-DMOOc6Rl.mjs.map\n","import { defineComponent, mergeModels, useSlots, useModel, computed, useTemplateRef, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, normalizeProps, guardReactiveProps } from \"vue\";\nimport { B as BPopover } from \"./floatingUi-DvHiyg2I.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BTooltip\",\n props: /* @__PURE__ */ mergeModels({\n interactive: { type: Boolean, default: void 0 },\n boundary: {},\n boundaryPadding: {},\n click: { type: Boolean, default: void 0 },\n closeOnHide: { type: Boolean },\n content: { default: void 0 },\n customClass: { default: void 0 },\n delay: { default: void 0 },\n floatingMiddleware: { default: void 0 },\n hideMargin: {},\n id: { default: void 0 },\n inline: { type: Boolean, default: void 0 },\n manual: { type: Boolean, default: void 0 },\n noAutoClose: { type: Boolean, default: void 0 },\n noFlip: { type: Boolean, default: void 0 },\n noHide: { type: Boolean, default: void 0 },\n noShift: { type: Boolean, default: void 0 },\n noSize: { type: Boolean },\n noninteractive: { type: Boolean, default: void 0 },\n offset: { default: void 0 },\n placement: { default: void 0 },\n realtime: { type: Boolean, default: void 0 },\n reference: { default: void 0 },\n strategy: { default: void 0 },\n target: { default: void 0 },\n title: { default: void 0 },\n variant: { default: void 0 },\n teleportDisabled: { type: Boolean, default: void 0 },\n teleportTo: { default: void 0 },\n initialAnimation: { type: Boolean, default: false },\n noAnimation: { type: Boolean },\n noFade: { type: Boolean, default: void 0 },\n lazy: { type: Boolean, default: void 0 },\n unmountLazy: { type: Boolean, default: void 0 },\n show: { type: Boolean, default: void 0 },\n transProps: {},\n visible: { type: Boolean, default: void 0 }\n }, {\n \"modelValue\": { type: Boolean, ...{ default: void 0 } },\n \"modelModifiers\": {}\n }),\n emits: [\"update:modelValue\"],\n setup(__props, { expose: __expose }) {\n const _props = __props;\n const props = useDefaults(_props, \"BTooltip\");\n const slots = useSlots();\n const modelValue = useModel(__props, \"modelValue\");\n const computedProps = computed(() => {\n const { interactive, noninteractive, ...rest } = props;\n return { noninteractive: noninteractive !== void 0 ? noninteractive : !interactive, ...rest };\n });\n const popover = useTemplateRef(\"_popover\");\n __expose({\n hide: () => {\n var _a;\n (_a = popover.value) == null ? void 0 : _a.hide();\n },\n show: () => {\n var _a;\n (_a = popover.value) == null ? void 0 : _a.show();\n },\n toggle: () => {\n var _a;\n (_a = popover.value) == null ? void 0 : _a.toggle();\n }\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(BPopover, mergeProps({ ref: \"_popover\" }, computedProps.value, {\n modelValue: modelValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),\n tooltip: \"\"\n }), createSlots({ _: 2 }, [\n slots.default ? {\n name: \"default\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"default\")\n ]),\n key: \"0\"\n } : void 0,\n slots.target ? {\n name: \"target\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"target\", normalizeProps(guardReactiveProps(scope)))\n ]),\n key: \"1\"\n } : void 0,\n slots.title ? {\n name: \"title\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"title\")\n ]),\n key: \"2\"\n } : void 0\n ]), 1040, [\"modelValue\"]);\n };\n }\n});\nexport {\n _sfc_main as _\n};\n//# sourceMappingURL=BTooltip.vue_vue_type_script_setup_true_lang-B8VgPQS2.mjs.map\n","import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, renderSlot, unref, useSlots, ref, watch, createBlock, normalizeProps, guardReactiveProps, withCtx, withDirectives, createVNode, createCommentVNode, Fragment, renderList, mergeProps, createTextVNode, toDisplayString, vShow, createElementVNode, mergeModels, useModel, onMounted, createSlots } from \"vue\";\nimport { g as get, p as pick, s as set } from \"./object-BWoyyA2y.mjs\";\nimport { _ as _sfc_main$8 } from \"./BTableSimple.vue_vue_type_script_setup_true_lang-Dl-5AMhv.mjs\";\nimport { u as useDefaults } from \"./useDefaults-DANje4tM.mjs\";\nimport { a as titleCase, s as startCase } from \"./stringUtils-mwxHpj6j.mjs\";\nimport { u as useId } from \"./useId-BzCLXIGF.mjs\";\nimport { u as useToNumber } from \"./index-CLgoGrAV.mjs\";\nconst formatItem = (item, fieldKey, formatter) => {\n const val = get(item, fieldKey);\n return formatter && typeof formatter === \"function\" ? formatter(val, fieldKey, item) : val;\n};\nconst isTableItem = (value) => typeof value === \"object\" && value !== null;\nconst isTableField = (value) => typeof value === \"object\" && value !== null && \"key\" in value;\nconst _sfc_main$7 = /* @__PURE__ */ defineComponent({\n __name: \"BTbody\",\n props: {\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTbody\");\n const computedClasses = computed(() => ({\n [`thead-${props.variant}`]: props.variant !== null\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"tbody\", {\n class: normalizeClass(computedClasses.value)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nconst _hoisted_1$3 = [\"scope\", \"colspan\", \"rowspan\", \"data-label\"];\nconst _hoisted_2$3 = { key: 0 };\nconst _sfc_main$6 = /* @__PURE__ */ defineComponent({\n __name: \"BTd\",\n props: {\n colspan: { default: void 0 },\n rowspan: { default: void 0 },\n stackedHeading: { default: void 0 },\n stickyColumn: { type: Boolean, default: false },\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTd\");\n const computedClasses = computed(() => ({\n [`table-${props.variant}`]: props.variant !== null,\n \"b-table-sticky-column\": props.stickyColumn,\n \"table-b-table-default\": props.stickyColumn && props.variant === null\n }));\n const scope = computed(() => props.colspan ? \"colspan\" : props.rowspan ? \"rowspan\" : \"col\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"td\", {\n scope: scope.value,\n class: normalizeClass(computedClasses.value),\n colspan: unref(props).colspan,\n rowspan: unref(props).rowspan,\n \"data-label\": unref(props).stackedHeading\n }, [\n unref(props).stackedHeading ? (openBlock(), createElementBlock(\"div\", _hoisted_2$3, [\n renderSlot(_ctx.$slots, \"default\")\n ])) : renderSlot(_ctx.$slots, \"default\", { key: 1 })\n ], 10, _hoisted_1$3);\n };\n }\n});\nconst _sfc_main$5 = /* @__PURE__ */ defineComponent({\n __name: \"BTfoot\",\n props: {\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTfoot\");\n const computedClasses = computed(() => ({\n [`table-${props.variant}`]: props.variant !== null\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"tfoot\", {\n class: normalizeClass(computedClasses.value)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nconst _hoisted_1$2 = [\"scope\", \"colspan\", \"rowspan\", \"data-label\"];\nconst _hoisted_2$2 = { key: 0 };\nconst _sfc_main$4 = /* @__PURE__ */ defineComponent({\n __name: \"BTh\",\n props: {\n colspan: { default: void 0 },\n rowspan: { default: void 0 },\n stackedHeading: { default: void 0 },\n stickyColumn: { type: Boolean, default: false },\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTh\");\n const computedClasses = computed(() => ({\n [`table-${props.variant}`]: props.variant !== null,\n \"b-table-sticky-column\": props.stickyColumn,\n \"table-b-table-default\": props.stickyColumn && props.variant === null\n }));\n const scope = computed(() => props.colspan ? \"colspan\" : props.rowspan ? \"rowspan\" : \"col\");\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"th\", {\n scope: scope.value,\n class: normalizeClass(computedClasses.value),\n colspan: unref(props).colspan,\n rowspan: unref(props).rowspan,\n \"data-label\": unref(props).stackedHeading\n }, [\n unref(props).stackedHeading !== void 0 ? (openBlock(), createElementBlock(\"div\", _hoisted_2$2, [\n renderSlot(_ctx.$slots, \"default\")\n ])) : renderSlot(_ctx.$slots, \"default\", { key: 1 })\n ], 10, _hoisted_1$2);\n };\n }\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n __name: \"BThead\",\n props: {\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BThead\");\n const computedClasses = computed(() => ({\n [`table-${props.variant}`]: props.variant !== null\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"thead\", {\n class: normalizeClass(computedClasses.value)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n __name: \"BTr\",\n props: {\n variant: { default: null }\n },\n setup(__props) {\n const _props = __props;\n const props = useDefaults(_props, \"BTr\");\n const computedClasses = computed(() => ({\n [`table-${props.variant}`]: props.variant !== null\n }));\n return (_ctx, _cache) => {\n return openBlock(), createElementBlock(\"tr\", {\n class: normalizeClass(computedClasses.value)\n }, [\n renderSlot(_ctx.$slots, \"default\")\n ], 2);\n };\n }\n});\nconst getTableFieldHeadLabel = (field) => typeof field === \"string\" ? titleCase(field) : field.label !== void 0 ? field.label : typeof field.key === \"string\" ? titleCase(field.key) : field.key;\nconst btableSimpleProps = Object.freeze(\n Object.keys({\n bordered: 0,\n borderless: 0,\n borderVariant: 0,\n captionTop: 0,\n dark: 0,\n fixed: 0,\n hover: 0,\n id: 0,\n noBorderCollapse: 0,\n outlined: 0,\n responsive: 0,\n small: 0,\n stacked: 0,\n stickyHeader: 0,\n striped: 0,\n stripedColumns: 0,\n variant: 0,\n tableAttrs: 0,\n tableClass: 0\n })\n);\nconst btableLiteProps = Object.freeze(\n Object.keys({\n align: 0,\n caption: 0,\n detailsTdClass: 0,\n fieldColumnClass: 0,\n fields: 0,\n footClone: 0,\n footRowVariant: 0,\n footVariant: 0,\n headRowVariant: 0,\n headVariant: 0,\n items: 0,\n labelStacked: 0,\n modelValue: 0,\n primaryKey: 0,\n tbodyClass: 0,\n tbodyTrAttrs: 0,\n tbodyTrClass: 0,\n tfootClass: 0,\n tfootTrClass: 0,\n theadClass: 0,\n theadTrClass: 0\n })\n);\nconst getDataLabelAttr = (props, label) => props.stacked && props.labelStacked !== true ? { \"data-label\": label } : void 0;\nconst TABLE_TAG_NAMES = [\"TD\", \"TH\", \"TR\"];\nconst eventFilter = [\n \"a\",\n \"a *\",\n // Include content inside links\n \"button\",\n \"button *\",\n // Include content inside buttons\n \"input:not(.disabled):not([disabled])\",\n \"select:not(.disabled):not([disabled])\",\n \"textarea:not(.disabled):not([disabled])\",\n '[role=\"link\"]',\n '[role=\"link\"] *',\n '[role=\"button\"]',\n '[role=\"button\"] *',\n \"[tabindex]:not(.disabled):not([disabled])\"\n].join(\",\");\nconst filterEvent = (event) => {\n if (!event || !event.target) {\n return false;\n }\n const el = event.target;\n if (\"disabled\" in el && el.disabled || TABLE_TAG_NAMES.indexOf(el.tagName) !== -1) {\n return false;\n }\n if (el.closest(\".dropdown-menu\")) return true;\n const label = el.tagName === \"LABEL\" ? el : el.closest(\"label\");\n if (label) {\n const labelFor = label.getAttribute(\"for\");\n const input = labelFor ? document.getElementById(labelFor) : label.querySelector(\"input, select, textarea\");\n if (input && !input.disabled) {\n return true;\n }\n }\n return el.matches(eventFilter);\n};\nconst _hoisted_1$1 = {\n key: 0,\n class: \"b-table-stacked-label\"\n};\nconst _hoisted_2$1 = { class: \"d-inline-flex flex-nowrap align-items-center gap-1\" };\nconst _hoisted_3$1 = { key: 2 };\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n __name: \"BTableLite\",\n props: {\n align: { default: void 0 },\n caption: { default: void 0 },\n detailsTdClass: { default: void 0 },\n fieldColumnClass: { type: [Function, String, Object, Array], default: void 0 },\n fields: { default: () => [] },\n footClone: { type: Boolean, default: false },\n footRowVariant: { default: void 0 },\n footVariant: { default: void 0 },\n headRowVariant: { default: void 0 },\n headVariant: { default: void 0 },\n items: { default: () => [] },\n labelStacked: { type: Boolean, default: false },\n modelValue: { default: void 0 },\n primaryKey: { default: void 0 },\n tbodyClass: { default: void 0 },\n tbodyTrAttrs: { type: [Function, Object], default: void 0 },\n tbodyTrClass: { type: [Function, String, Array, Object], default: void 0 },\n tfootClass: { default: void 0 },\n tfootTrClass: { default: void 0 },\n theadClass: { default: void 0 },\n theadTrClass: { default: void 0 },\n bordered: { type: Boolean, default: void 0 },\n borderless: { type: Boolean, default: void 0 },\n borderVariant: { default: void 0 },\n captionTop: { type: Boolean, default: void 0 },\n dark: { type: Boolean, default: void 0 },\n fixed: { type: Boolean, default: void 0 },\n hover: { type: Boolean, default: void 0 },\n id: { default: void 0 },\n noBorderCollapse: { type: Boolean, default: void 0 },\n outlined: { type: Boolean, default: void 0 },\n responsive: { type: [Boolean, String], default: void 0 },\n small: { type: Boolean, default: void 0 },\n stacked: { type: [Boolean, String], default: void 0 },\n stickyHeader: { type: [Boolean, String, Number], default: void 0 },\n striped: { type: Boolean, default: void 0 },\n stripedColumns: { type: Boolean, default: void 0 },\n variant: { default: void 0 },\n tableAttrs: {},\n tableClass: { default: void 0 }\n },\n emits: [\"head-clicked\", \"row-clicked\", \"row-dblclicked\", \"row-contextmenu\", \"row-hovered\", \"row-unhovered\", \"row-middle-clicked\"],\n setup(__props, { emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BTableLite\");\n const emit = __emit;\n const slots = useSlots();\n const computedId = useId(() => props.id);\n const generateDetailsItem = (item) => [\n item,\n item._showDetails\n ];\n const detailsMap = ref(/* @__PURE__ */ new WeakMap());\n watch(\n () => props.items,\n (items) => {\n items.forEach((item) => {\n if (!isTableItem(item)) return;\n detailsMap.value.set(...generateDetailsItem(item));\n });\n },\n { deep: true, immediate: true }\n );\n const computedTableClasses = computed(() => [\n props.tableClass,\n {\n [`align-${props.align}`]: props.align !== void 0\n }\n ]);\n const computedFields = computed(() => {\n if (!props.fields.length && props.items.length) {\n const [firstItem] = props.items;\n if (firstItem && (isTableItem(firstItem) || Array.isArray(firstItem))) {\n return Object.keys(firstItem).map((k) => {\n const label = startCase(k);\n return {\n key: k,\n label,\n tdAttr: getDataLabelAttr(props, label)\n };\n });\n }\n return [{ key: \"\", _noHeader: true }];\n }\n return props.fields.map((f) => {\n if (isTableField(f)) {\n const label2 = f.label ?? startCase(f.key);\n return {\n ...f,\n tdAttr: { ...getDataLabelAttr(props, label2), ...f.tdAttr }\n };\n }\n const label = startCase(f);\n return {\n key: f,\n label,\n tdAttr: getDataLabelAttr(props, label)\n };\n });\n });\n const computedFieldsTotal = computed(() => computedFields.value.length);\n const showComputedHeaders = computed(() => {\n if (computedFieldsTotal.value > 0 && computedFields.value.every((el) => el._noHeader === true))\n return false;\n return true;\n });\n const footerProps = computed(() => ({\n variant: props.footVariant,\n class: props.tfootClass\n }));\n const itemAttributes = (item, fieldKey, attr) => {\n const val = get(item, fieldKey);\n return attr && typeof attr === \"function\" ? attr(val, fieldKey, item) : attr;\n };\n const callThAttr = (item, field, type) => {\n const fieldKey = String(field.key);\n const val = get(item, fieldKey);\n return field.thAttr && typeof field.thAttr === \"function\" ? field.thAttr(val, fieldKey, item, type) : field.thAttr;\n };\n const headerClicked = (field, event, isFooter = false) => {\n emit(\"head-clicked\", field.key, field, event, isFooter);\n };\n const toggleRowDetails = (tr) => {\n if (isTableItem(tr)) {\n const prevValue = detailsMap.value.get(tr);\n detailsMap.value.set(tr, !prevValue);\n tr._showDetails = !prevValue;\n }\n };\n const getFieldColumnClasses = (field) => [\n field.class,\n field.thClass,\n {\n \"b-table-sticky-column\": field.stickyColumn\n },\n props.fieldColumnClass ? typeof props.fieldColumnClass === \"function\" ? props.fieldColumnClass(field) : props.fieldColumnClass : null\n ];\n const getFieldRowClasses = (field, tr) => {\n var _a, _b;\n const val = get(tr, String(field.key));\n return [\n field.class,\n typeof field.tdClass === \"function\" ? field.tdClass(val, String(field.key), tr) : field.tdClass,\n (isTableItem(tr) ? (_a = tr._cellVariants) == null ? void 0 : _a[field.key] : false) ? `table-${(_b = tr._cellVariants) == null ? void 0 : _b[field.key]}` : null,\n {\n \"b-table-sticky-column\": field.stickyColumn\n }\n ];\n };\n const handleMiddleClick = (item, itemIndex, event) => {\n if (event.button === 1 && !filterEvent(event)) {\n emit(\"row-middle-clicked\", item, itemIndex, event);\n }\n };\n const callTbodyTrAttrs = (item, type) => props.tbodyTrAttrs ? typeof props.tbodyTrAttrs === \"function\" ? props.tbodyTrAttrs(item, type) : props.tbodyTrAttrs : null;\n const getRowClasses = (item, type) => props.tbodyTrClass ? typeof props.tbodyTrClass === \"function\" ? props.tbodyTrClass(item, type) : props.tbodyTrClass : null;\n const generateTableRowId = (primaryKeyValue) => `${computedId.value}__row_${primaryKeyValue}`;\n const computedSimpleProps = computed(() => ({\n ...pick(props, btableSimpleProps),\n tableClass: computedTableClasses.value,\n id: computedId.value\n }));\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$8, normalizeProps(guardReactiveProps(computedSimpleProps.value)), {\n default: withCtx(() => [\n withDirectives(createVNode(_sfc_main$3, {\n variant: unref(props).headVariant,\n class: normalizeClass(unref(props).theadClass)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"thead-top\", {\n columns: computedFieldsTotal.value,\n fields: computedFields.value\n }),\n createVNode(_sfc_main$2, {\n variant: unref(props).headRowVariant,\n class: normalizeClass(unref(props).theadTrClass)\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {\n return openBlock(), createBlock(_sfc_main$4, mergeProps({\n key: field.key,\n scope: \"col\",\n class: getFieldColumnClasses(field),\n title: field.headerTitle,\n variant: field.variant,\n abbr: field.headerAbbr,\n style: field.thStyle,\n ref_for: true\n }, callThAttr(null, field, \"top\"), {\n onClick: ($event) => headerClicked(field, $event)\n }), {\n default: withCtx(() => [\n renderSlot(\n _ctx.$slots,\n slots[`head(${String(field.key)})`] ? `head(${String(field.key)})` : \"head()\",\n {\n label: field.label,\n column: field.key,\n field,\n isFoot: false\n },\n () => [\n createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)\n ]\n )\n ]),\n _: 2\n }, 1040, [\"class\", \"title\", \"variant\", \"abbr\", \"style\", \"onClick\"]);\n }), 128))\n ]),\n _: 3\n }, 8, [\"variant\", \"class\"]),\n slots[\"thead-sub\"] ? (openBlock(), createBlock(_sfc_main$2, { key: 0 }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {\n return openBlock(), createBlock(_sfc_main$6, {\n key: field.key,\n scope: \"col\",\n variant: field.variant,\n class: normalizeClass([field.class, field.thClass])\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"thead-sub\", {\n items: unref(props).items,\n fields: computedFields.value,\n field\n }, () => [\n createTextVNode(toDisplayString(field.label), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"variant\", \"class\"]);\n }), 128))\n ]),\n _: 3\n })) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 8, [\"variant\", \"class\"]), [\n [vShow, showComputedHeaders.value]\n ]),\n createVNode(_sfc_main$7, {\n class: normalizeClass(unref(props).tbodyClass)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"custom-body\", {\n fields: computedFields.value,\n items: unref(props).items,\n columns: computedFieldsTotal.value\n }, () => [\n !unref(props).stacked && slots[\"top-row\"] ? (openBlock(), createBlock(_sfc_main$2, mergeProps({\n key: 0,\n class: getRowClasses(null, \"row-top\")\n }, callTbodyTrAttrs(null, \"row-top\")), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"top-row\", {\n columns: computedFieldsTotal.value,\n fields: computedFields.value\n })\n ]),\n _: 3\n }, 16, [\"class\"])) : createCommentVNode(\"\", true),\n (openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).items, (item, itemIndex) => {\n return openBlock(), createElementBlock(Fragment, {\n key: unref(props).primaryKey && unref(get)(item, unref(props).primaryKey) ? unref(get)(item, unref(props).primaryKey) : itemIndex\n }, [\n createVNode(_sfc_main$2, mergeProps({\n id: unref(props).primaryKey && unref(get)(item, unref(props).primaryKey) ? generateTableRowId(unref(get)(item, unref(props).primaryKey)) : void 0,\n class: getRowClasses(item, \"row\"),\n variant: unref(isTableItem)(item) ? item._rowVariant : void 0,\n ref_for: true\n }, callTbodyTrAttrs(item, \"row\"), {\n onClick: ($event) => !unref(filterEvent)($event) && emit(\"row-clicked\", item, itemIndex, $event),\n onDblclick: ($event) => !unref(filterEvent)($event) && emit(\"row-dblclicked\", item, itemIndex, $event),\n onContextmenu: ($event) => !unref(filterEvent)($event) && emit(\"row-contextmenu\", item, itemIndex, $event),\n onMouseenter: ($event) => !unref(filterEvent)($event) && emit(\"row-hovered\", item, itemIndex, $event),\n onMouseleave: ($event) => !unref(filterEvent)($event) && emit(\"row-unhovered\", item, itemIndex, $event),\n onMousedown: ($event) => handleMiddleClick(item, itemIndex, $event)\n }), {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {\n var _a;\n return openBlock(), createBlock(_sfc_main$6, mergeProps({\n key: field.key,\n variant: (unref(isTableItem)(item) ? (_a = item._cellVariants) == null ? void 0 : _a[field.key] : false) ? null : field.variant,\n class: getFieldRowClasses(field, item),\n ref_for: true\n }, itemAttributes(item, String(field.key), field.tdAttr)), {\n default: withCtx(() => [\n unref(props).stacked && unref(props).labelStacked ? (openBlock(), createElementBlock(\"label\", _hoisted_1$1, toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)) : createCommentVNode(\"\", true),\n renderSlot(\n _ctx.$slots,\n slots[`cell(${String(field.key)})`] ? `cell(${String(field.key)})` : \"cell()\",\n {\n value: unref(formatItem)(item, String(field.key), field.formatter),\n unformatted: unref(get)(item, String(field.key)),\n index: itemIndex,\n item,\n field,\n items: _ctx.items,\n toggleDetails: () => toggleRowDetails(item),\n detailsShowing: unref(isTableItem)(item) ? detailsMap.value.get(item) ?? false : false\n },\n () => [\n !slots[`cell(${String(field.key)})`] && !slots[\"cell()\"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createTextVNode(toDisplayString(unref(formatItem)(item, String(field.key), field.formatter)), 1)\n ], 64)) : createCommentVNode(\"\", true)\n ]\n )\n ]),\n _: 2\n }, 1040, [\"variant\", \"class\"]);\n }), 128))\n ]),\n _: 2\n }, 1040, [\"id\", \"class\", \"variant\", \"onClick\", \"onDblclick\", \"onContextmenu\", \"onMouseenter\", \"onMouseleave\", \"onMousedown\"]),\n unref(isTableItem)(item) && detailsMap.value.get(item) === true && slots[\"row-details\"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n createVNode(_sfc_main$2, {\n \"aria-hidden\": \"true\",\n role: \"presentation\",\n class: \"d-none\"\n }),\n createVNode(_sfc_main$2, mergeProps({\n class: getRowClasses(item, \"row-details\"),\n variant: item._rowVariant,\n ref_for: true\n }, callTbodyTrAttrs(item, \"row-details\")), {\n default: withCtx(() => [\n createVNode(_sfc_main$6, {\n colspan: computedFieldsTotal.value,\n class: normalizeClass(_ctx.detailsTdClass)\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"row-details\", {\n item,\n toggleDetails: () => toggleRowDetails(item),\n fields: computedFields.value,\n index: itemIndex\n })\n ]),\n _: 2\n }, 1032, [\"colspan\", \"class\"])\n ]),\n _: 2\n }, 1040, [\"class\", \"variant\"])\n ], 64)) : createCommentVNode(\"\", true)\n ], 64);\n }), 128)),\n !unref(props).stacked && slots[\"bottom-row\"] ? (openBlock(), createBlock(_sfc_main$2, mergeProps({\n key: 1,\n class: [\"bottom-row\", getRowClasses(null, \"row-bottom\")]\n }, callTbodyTrAttrs(null, \"row-bottom\")), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"bottom-row\", {\n columns: computedFieldsTotal.value,\n fields: computedFields.value\n })\n ]),\n _: 3\n }, 16, [\"class\"])) : createCommentVNode(\"\", true)\n ])\n ]),\n _: 3\n }, 8, [\"class\"]),\n unref(props).footClone ? (openBlock(), createBlock(_sfc_main$5, normalizeProps(mergeProps({ key: 0 }, footerProps.value)), {\n default: withCtx(() => [\n createVNode(_sfc_main$2, {\n variant: unref(props).footRowVariant,\n class: normalizeClass(unref(props).tfootTrClass)\n }, {\n default: withCtx(() => [\n (openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {\n return openBlock(), createBlock(_sfc_main$4, mergeProps({\n key: field.key,\n scope: \"col\",\n class: getFieldColumnClasses(field),\n title: field.headerTitle,\n abbr: field.headerAbbr,\n style: field.thStyle,\n variant: field.variant,\n ref_for: true\n }, callThAttr(null, field, \"bottom\"), {\n onClick: ($event) => headerClicked(field, $event, true)\n }), {\n default: withCtx(() => [\n createElementVNode(\"div\", _hoisted_2$1, [\n createElementVNode(\"div\", null, [\n renderSlot(\n _ctx.$slots,\n slots[`foot(${String(field.key)})`] ? `foot(${String(field.key)})` : \"foot()\",\n {\n label: field.label,\n column: field.key,\n field,\n isFoot: true\n },\n () => [\n createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)\n ]\n )\n ])\n ])\n ]),\n _: 2\n }, 1040, [\"class\", \"title\", \"abbr\", \"style\", \"variant\", \"onClick\"]);\n }), 128))\n ]),\n _: 3\n }, 8, [\"variant\", \"class\"])\n ]),\n _: 3\n }, 16)) : slots[\"custom-foot\"] ? (openBlock(), createBlock(_sfc_main$5, normalizeProps(mergeProps({ key: 1 }, footerProps.value)), {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"custom-foot\", {\n fields: computedFields.value,\n items: unref(props).items,\n columns: computedFieldsTotal.value\n })\n ]),\n _: 3\n }, 16)) : createCommentVNode(\"\", true),\n slots[\"table-caption\"] || unref(props).caption ? (openBlock(), createElementBlock(\"caption\", _hoisted_3$1, [\n renderSlot(_ctx.$slots, \"table-caption\", {}, () => [\n createTextVNode(toDisplayString(unref(props).caption), 1)\n ])\n ])) : createCommentVNode(\"\", true)\n ]),\n _: 3\n }, 16);\n };\n }\n});\nconst _hoisted_1 = {\n style: { opacity: 0.4 },\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24\",\n height: \"24\",\n fill: \"currentColor\",\n class: \"bi bi-arrow-up-short\",\n viewBox: \"0 0 16 16\",\n \"aria-hidden\": \"\"\n};\nconst _hoisted_2 = {\n role: \"alert\",\n \"aria-live\": \"polite\"\n};\nconst _hoisted_3 = { class: \"text-center my-2\" };\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n __name: \"BTable\",\n props: /* @__PURE__ */ mergeModels({\n provider: { default: void 0 },\n noProvider: { default: void 0 },\n noProviderPaging: { type: Boolean, default: false },\n noProviderSorting: { type: Boolean, default: false },\n noProviderFiltering: { type: Boolean, default: false },\n mustSort: { type: [Boolean, Array], default: false },\n selectable: { type: Boolean, default: false },\n multisort: { type: Boolean, default: false },\n stickySelect: { type: Boolean, default: false },\n selectHead: { type: [Boolean, String], default: true },\n selectMode: { default: \"multi\" },\n selectionVariant: { default: \"primary\" },\n busyLoadingText: { default: \"Loading...\" },\n perPage: { default: Number.POSITIVE_INFINITY },\n currentPage: { default: 1 },\n filter: { default: void 0 },\n filterFunction: { type: Function, default: void 0 },\n filterable: { default: void 0 },\n noLocalSorting: { type: Boolean, default: false },\n noSelectOnClick: { type: Boolean, default: false },\n noSortableIcon: { type: Boolean, default: false },\n emptyFilteredText: { default: \"There are no records matching your request\" },\n emptyText: { default: \"There are no records to show\" },\n showEmpty: { type: Boolean, default: false },\n align: { default: void 0 },\n caption: { default: void 0 },\n detailsTdClass: { default: void 0 },\n fieldColumnClass: { type: [Function, String, Object, Array], default: void 0 },\n fields: { default: () => [] },\n footClone: { type: Boolean, default: void 0 },\n footRowVariant: { default: void 0 },\n footVariant: { default: void 0 },\n headRowVariant: { default: void 0 },\n headVariant: { default: void 0 },\n items: { default: () => [] },\n labelStacked: { type: Boolean, default: void 0 },\n modelValue: { default: void 0 },\n primaryKey: { default: void 0 },\n tbodyClass: { default: void 0 },\n tbodyTrAttrs: {},\n tbodyTrClass: { type: [Function, String, Array, Object], default: void 0 },\n tfootClass: { default: void 0 },\n tfootTrClass: { default: void 0 },\n theadClass: { default: void 0 },\n theadTrClass: { default: void 0 },\n bordered: { type: Boolean, default: void 0 },\n borderless: { type: Boolean, default: void 0 },\n borderVariant: { default: void 0 },\n captionTop: { type: Boolean, default: void 0 },\n dark: { type: Boolean, default: void 0 },\n fixed: { type: Boolean, default: void 0 },\n hover: { type: Boolean, default: void 0 },\n id: { default: void 0 },\n noBorderCollapse: { type: Boolean, default: void 0 },\n outlined: { type: Boolean, default: void 0 },\n responsive: { type: [Boolean, String], default: void 0 },\n small: { type: Boolean, default: void 0 },\n stacked: { type: [Boolean, String], default: void 0 },\n stickyHeader: { type: [Boolean, String, Number], default: void 0 },\n striped: { type: Boolean, default: void 0 },\n stripedColumns: { type: Boolean, default: void 0 },\n variant: { default: void 0 },\n tableAttrs: {}\n }, {\n \"sortBy\": {\n default: void 0\n },\n \"sortByModifiers\": {},\n \"busy\": { type: Boolean, ...{\n default: false\n } },\n \"busyModifiers\": {},\n \"selectedItems\": {\n default: () => []\n },\n \"selectedItemsModifiers\": {}\n }),\n emits: /* @__PURE__ */ mergeModels([\"filtered\", \"head-clicked\", \"row-clicked\", \"row-dblclicked\", \"row-contextmenu\", \"row-hovered\", \"row-unhovered\", \"row-middle-clicked\", \"row-selected\", \"row-unselected\", \"sorted\", \"change\"], [\"update:sortBy\", \"update:busy\", \"update:selectedItems\"]),\n setup(__props, { expose: __expose, emit: __emit }) {\n const _props = __props;\n const props = useDefaults(_props, \"BTable\");\n const emit = __emit;\n const slots = useSlots();\n const dynamicCellSlots = computed(\n () => Object.keys(slots).filter((key) => key.startsWith(\"cell(\"))\n );\n const dynamicFootSlots = computed(\n () => Object.keys(slots).filter((key) => key.startsWith(\"foot(\"))\n );\n const sortByModel = useModel(__props, \"sortBy\");\n const busyModel = useModel(__props, \"busy\");\n const selectedItemsModel = useModel(\n __props,\n \"selectedItems\"\n );\n const computedId = useId(() => props.id);\n const selectedItemsToSet = computed({\n get: () => new Set(selectedItemsModel.value),\n set: (val) => {\n selectedItemsModel.value = [...val];\n }\n });\n watch(selectedItemsToSet, (newValue, oldValue) => {\n Array.from(oldValue).filter((item) => !newValue.has(item)).forEach((item) => {\n emit(\"row-unselected\", item);\n });\n Array.from(newValue).filter((item) => !oldValue.has(item)).forEach((item) => {\n emit(\"row-selected\", item);\n });\n });\n const selectedItemsSetUtilities = {\n add: (item) => {\n const value = new Set(selectedItemsToSet.value);\n value.add(item);\n selectedItemsToSet.value = value;\n },\n clear: () => {\n selectedItemsToSet.value.forEach((item) => {\n selectedItemsSetUtilities.delete(item);\n });\n },\n delete: (item) => {\n const value = new Set(selectedItemsToSet.value);\n if (props.primaryKey) {\n const pkey = props.primaryKey;\n selectedItemsModel.value.forEach((v, i) => {\n const selectedKey = get(v, pkey);\n const itemKey = get(item, pkey);\n if (!!selectedKey && !!itemKey && selectedKey === itemKey) {\n value.delete(selectedItemsModel.value[i]);\n }\n });\n } else {\n value.delete(item);\n }\n selectedItemsToSet.value = value;\n },\n set: (items) => {\n selectedItemsToSet.value = new Set(items);\n },\n has: (item) => {\n if (!props.primaryKey) return selectedItemsToSet.value.has(item);\n const pkey = props.primaryKey;\n for (const selected of selectedItemsToSet.value) {\n const selectedKey = get(selected, pkey);\n const itemKey = get(item, pkey);\n if (!!selectedKey && !!itemKey && selectedKey === itemKey) return true;\n }\n return false;\n }\n };\n const internalItems = ref([]);\n const perPageNumber = useToNumber(() => props.perPage, { method: \"parseInt\" });\n const currentPageNumber = useToNumber(() => props.currentPage, { method: \"parseInt\" });\n const isFilterableTable = computed(() => !!props.filter);\n const usesProvider = computed(() => props.provider !== void 0);\n const isSelecting = computed(() => selectedItemsToSet.value.size > 0);\n const isSortable = computed(\n () => sortByModel.value !== void 0 || props.fields.some(\n (field) => typeof field === \"object\" && field !== null && field.sortable === true\n )\n );\n const computedFields = computed(\n () => props.fields.map((el) => {\n var _a;\n if (!isTableField(el)) {\n const label = startCase(el);\n return {\n key: el,\n label,\n tdAttr: getDataLabelAttr(props, label)\n };\n }\n const value = (_a = sortByModel.value) == null ? void 0 : _a.find((sb) => el.key === sb.key);\n const sortValue = isSortable.value === false ? void 0 : value === void 0 ? \"none\" : value.order === \"desc\" ? \"descending\" : value.order === \"asc\" ? \"ascending\" : \"none\";\n return {\n ...el,\n thAttr: {\n \"aria-sort\": sortValue,\n ...el.thAttr\n }\n };\n })\n );\n const tableClasses = computed(() => ({\n \"b-table-busy\": busyModel.value,\n \"b-table-selectable\": props.selectable,\n \"user-select-none\": props.selectable && isSelecting.value\n }));\n const getBusyRowClasses = computed(() => [\n props.tbodyTrClass ? typeof props.tbodyTrClass === \"function\" ? props.tbodyTrClass(null, \"table-busy\") : props.tbodyTrClass : null\n ]);\n const getFieldColumnClasses = (field) => [\n {\n \"b-table-sortable-column\": isSortable.value && field.sortable\n }\n ];\n const getRowClasses = (item, type) => [\n {\n [`selected table-${props.selectionVariant}`]: props.selectable && !!item && selectedItemsSetUtilities.has(item)\n },\n props.tbodyTrClass ? typeof props.tbodyTrClass === \"function\" ? props.tbodyTrClass(item, type) : props.tbodyTrClass : null\n ];\n const getFormatter = (value) => typeof value.sortByFormatted === \"function\" ? value.sortByFormatted : value.formatter;\n const computedItems = computed(() => {\n var _a;\n const sortByItems = (_a = sortByModel.value) == null ? void 0 : _a.filter((el) => !!el.order);\n const mapItem = (item) => {\n if (typeof item === \"object\" && item !== null && Object.keys(item).some((key) => key.includes(\".\"))) {\n let newItem = {};\n for (const key in item) {\n if (key.includes(\".\")) {\n newItem = set(newItem, key, item[key]);\n } else {\n newItem[key] = item[key];\n }\n }\n return newItem;\n }\n return item;\n };\n const filterItem = (item) => {\n if (!isTableItem(item)) return true;\n return Object.entries(item).some(([key, val]) => {\n var _a2, _b, _c;\n if (val === null || val === void 0 || key[0] === \"_\" || !((_a2 = props.filterable) == null ? void 0 : _a2.includes(key)) && !!((_b = props.filterable) == null ? void 0 : _b.length))\n return false;\n if (props.filterFunction && typeof props.filterFunction === \"function\") {\n return props.filterFunction(item, props.filter);\n }\n const realVal = () => {\n const filterField = computedFields.value.find((el) => {\n if (isTableField(el)) return el.key === key;\n return false;\n });\n if (isTableField(filterField) && !!filterField.filterByFormatted) {\n const formatter = getFormatter(filterField);\n if (formatter) {\n return String(formatter(val, String(filterField.key), item));\n }\n }\n return typeof val === \"object\" ? JSON.stringify(Object.values(val)) : val.toString();\n };\n const itemValue = realVal();\n return itemValue.toLowerCase().includes(((_c = props.filter) == null ? void 0 : _c.toLowerCase()) ?? \"\");\n });\n };\n const mappedItems = (usesProvider.value ? internalItems.value : props.items).reduce(\n (acc, val) => {\n const item = mapItem(val);\n const shouldFilter = isFilterableTable.value && (!usesProvider.value || props.noProviderFiltering);\n if (!shouldFilter || filterItem(item)) acc.push(item);\n return acc;\n },\n []\n );\n if ((sortByItems == null ? void 0 : sortByItems.length) && (isSortable.value === true && !usesProvider.value && !props.noLocalSorting || isSortable.value === true && usesProvider.value && props.noProviderSorting)) {\n return mappedItems.sort((a, b) => {\n for (let i = 0; i < sortByItems.length; i++) {\n const { key, comparer, order } = sortByItems[i];\n const getStringValue = (ob) => {\n if (!isTableItem(ob)) return String(ob);\n const sortField = computedFields.value.find((el) => {\n if (isTableField(el)) return el.key === key;\n return false;\n });\n const val = get(ob, key);\n if (isTableField(sortField) && !!sortField.sortByFormatted) {\n const formatter = getFormatter(sortField);\n if (formatter) {\n return String(formatItem(ob, String(sortField.key), formatter));\n }\n }\n return typeof val === \"object\" && val !== null ? JSON.stringify(val) : (val == null ? void 0 : val.toString()) ?? \"\";\n };\n const comparison = comparer ? comparer(a, b, key) : getStringValue(a).localeCompare(getStringValue(b), void 0, { numeric: true });\n if (comparison !== 0) {\n return order === \"asc\" ? comparison : -comparison;\n }\n }\n return 0;\n });\n }\n return mappedItems;\n });\n const emptySlotScope = computed(() => ({\n emptyFilteredText: props.emptyFilteredText,\n emptyText: props.emptyText,\n fields: computedFields.value,\n items: computedItems.value\n }));\n const computedDisplayItems = computed(() => {\n if (Number.isNaN(perPageNumber.value) || usesProvider.value && !props.noProviderPaging) {\n return computedItems.value;\n }\n return computedItems.value.slice(\n (currentPageNumber.value - 1) * (perPageNumber.value || Number.POSITIVE_INFINITY),\n currentPageNumber.value * (perPageNumber.value || Number.POSITIVE_INFINITY)\n );\n });\n watch(computedDisplayItems, (v) => {\n emit(\"change\", v);\n });\n const handleRowSelection = (row, index, shiftClicked = false, ctrlClicked = false, metaClicked = false) => {\n if (!props.selectable) return;\n if (props.selectMode === \"single\" || props.selectMode === \"multi\") {\n if (shiftClicked || ctrlClicked) return;\n if (selectedItemsSetUtilities.has(row)) {\n selectedItemsSetUtilities.delete(row);\n } else {\n if (props.selectMode === \"single\") {\n selectedItemsSetUtilities.set([row]);\n } else {\n selectedItemsSetUtilities.add(row);\n }\n }\n } else {\n if (ctrlClicked || metaClicked) {\n if (selectedItemsSetUtilities.has(row)) {\n selectedItemsSetUtilities.delete(row);\n } else {\n selectedItemsSetUtilities.add(row);\n }\n } else if (shiftClicked) {\n const lastSelectedItem = [...selectedItemsToSet.value].pop();\n const lastSelectedIndex = computedItems.value.findIndex((i) => i === lastSelectedItem);\n const selectStartIndex = Math.min(lastSelectedIndex, index);\n const selectEndIndex = Math.max(lastSelectedIndex, index);\n const items = computedItems.value.slice(selectStartIndex, selectEndIndex + 1);\n selectedItemsSetUtilities.set(items);\n } else {\n selectedItemsSetUtilities.set([row]);\n }\n }\n };\n const onRowClick = (row, index, e) => {\n if (props.noSelectOnClick === false) {\n handleRowSelection(row, index, e.shiftKey, e.ctrlKey, e.metaKey);\n }\n emit(\"row-clicked\", row, index, e);\n };\n const handleFieldSorting = (field) => {\n var _a, _b;\n if (!isSortable.value) return;\n const fieldKey = typeof field === \"object\" && field !== null ? field.key : field;\n const fieldSortable = typeof field === \"object\" && field !== null ? field.sortable : false;\n if (!(isSortable.value === true && fieldSortable === true)) return;\n const resolveOrder = (val) => {\n if (val === \"asc\") return \"desc\";\n if (val === void 0) return \"asc\";\n if (props.mustSort === true || Array.isArray(props.mustSort) && props.mustSort.includes(fieldKey))\n return \"asc\";\n return void 0;\n };\n const index = ((_a = sortByModel.value) == null ? void 0 : _a.findIndex((el) => el.key === fieldKey)) ?? -1;\n const originalValue = (_b = sortByModel.value) == null ? void 0 : _b[index];\n const updatedValue = (\n // If value is new, we default to ascending\n // Otherwise we make a temp copy of the value\n index === -1 || !originalValue ? { key: fieldKey, order: \"asc\" } : { ...originalValue }\n );\n const handleMultiSort = () => {\n sortByModel.value = sortByModel.value ?? [];\n const val = updatedValue;\n if (index === -1) {\n sortByModel.value.push(val);\n } else {\n val.order = resolveOrder(val.order);\n sortByModel.value.splice(index, 1, val);\n }\n return val;\n };\n const handleSingleSort = () => {\n const val = {\n ...updatedValue,\n order: index === -1 ? updatedValue.order : resolveOrder(updatedValue.order)\n };\n const tmp = (sortByModel.value || []).map((e) => ({\n ...e,\n order: void 0\n }));\n if (index === -1) {\n tmp.push(val);\n } else {\n tmp[index] = val;\n }\n sortByModel.value = tmp;\n return val;\n };\n emit(\"sorted\", props.multisort === true ? handleMultiSort() : handleSingleSort());\n };\n const onFieldHeadClick = (fieldKey, field, event, isFooter = false) => {\n emit(\"head-clicked\", fieldKey, field, event, isFooter);\n handleFieldSorting(field);\n };\n const callItemsProvider = async () => {\n if (!usesProvider.value || props.provider === void 0 || busyModel.value) return;\n busyModel.value = true;\n const response = props.provider({\n currentPage: currentPageNumber.value,\n filter: props.filter,\n sortBy: sortByModel.value,\n perPage: perPageNumber.value\n });\n try {\n const items = response instanceof Promise ? await response : response;\n if (items === void 0) return;\n internalItems.value = items;\n } finally {\n busyModel.value = false;\n }\n };\n const providerPropsWatch = async (prop, val, oldVal) => {\n if (val === oldVal) return;\n const inNoProvider = (key) => {\n var _a;\n return ((_a = props.noProvider) == null ? void 0 : _a.includes(key)) === true;\n };\n const noProvideWhenPaging = (prop === \"currentPage\" || prop === \"perPage\") && (inNoProvider(\"paging\") || props.noProviderPaging === true);\n const noProvideWhenFiltering = prop === \"filter\" && (inNoProvider(\"filtering\") || props.noProviderFiltering === true);\n const noProvideWhenSorting = (prop === \"sortBy\" || prop === \"sortDesc\") && (inNoProvider(\"sorting\") || props.noProviderSorting === true);\n if (noProvideWhenPaging || noProvideWhenFiltering || noProvideWhenSorting) return;\n if (usesProvider.value === true) {\n await callItemsProvider();\n }\n if (!(prop === \"currentPage\" || prop === \"perPage\")) {\n emit(\"filtered\", [...computedItems.value]);\n }\n };\n watch(\n () => props.filter,\n (filter, oldFilter) => {\n providerPropsWatch(\"filter\", filter, oldFilter);\n if (filter === oldFilter || usesProvider.value) return;\n if (!filter) {\n emit(\"filtered\", [...computedItems.value]);\n }\n }\n );\n watch(currentPageNumber, (val, oldVal) => {\n providerPropsWatch(\"currentPage\", val, oldVal);\n });\n watch(perPageNumber, (val, oldVal) => {\n providerPropsWatch(\"perPage\", val, oldVal);\n });\n watch(\n sortByModel,\n (val, oldVal) => {\n providerPropsWatch(\"sortBy\", val, oldVal);\n },\n { deep: true }\n );\n watch(\n () => props.provider,\n (newValue) => {\n if (newValue === void 0) {\n internalItems.value = [];\n return;\n }\n callItemsProvider();\n }\n );\n onMounted(callItemsProvider);\n const exposedSelectableUtilities = {\n clearSelected: () => {\n if (!props.selectable) return;\n selectedItemsSetUtilities.clear();\n },\n selectAllRows: () => {\n if (!props.selectable || props.selectMode === \"single\") return;\n selectedItemsToSet.value = new Set(computedItems.value);\n },\n selectRow: (index) => {\n if (!props.selectable) return;\n const item = computedItems.value[index];\n if (!item || selectedItemsSetUtilities.has(item)) return;\n if (props.selectMode === \"single\") {\n selectedItemsSetUtilities.set([item]);\n } else {\n selectedItemsSetUtilities.add(item);\n }\n },\n unselectRow: (index) => {\n if (!props.selectable) return;\n const item = computedItems.value[index];\n if (!item || !selectedItemsSetUtilities.has(item)) return;\n selectedItemsSetUtilities.delete(item);\n },\n isRowSelected: (index) => {\n if (!props.selectable) return false;\n const item = computedItems.value[index];\n return selectedItemsSetUtilities.has(item);\n }\n };\n const computedLiteProps = computed(() => ({\n ...pick(props, [...btableLiteProps, ...btableSimpleProps]),\n tableAttrs: {\n ariaBusy: busyModel.value\n },\n items: computedDisplayItems.value,\n fields: computedFields.value,\n tableClass: tableClasses.value,\n tbodyTrClass: getRowClasses,\n fieldColumnClass: getFieldColumnClasses,\n id: computedId.value\n }));\n __expose({\n // The row selection methods are really for compat. Users should probably use the v-model though\n ...exposedSelectableUtilities,\n items: computedItems,\n refresh: callItemsProvider\n });\n return (_ctx, _cache) => {\n return openBlock(), createBlock(_sfc_main$1, mergeProps(computedLiteProps.value, {\n onHeadClicked: onFieldHeadClick,\n onRowClicked: onRowClick,\n onRowDblclicked: _cache[0] || (_cache[0] = (row, index, e) => {\n emit(\"row-dblclicked\", row, index, e);\n }),\n onRowContextmenu: _cache[1] || (_cache[1] = (row, index, e) => {\n emit(\"row-contextmenu\", row, index, e);\n }),\n onRowHovered: _cache[2] || (_cache[2] = (row, index, e) => {\n emit(\"row-hovered\", row, index, e);\n }),\n onRowUnhovered: _cache[3] || (_cache[3] = (row, index, e) => {\n emit(\"row-unhovered\", row, index, e);\n }),\n onRowMiddleClicked: _cache[4] || (_cache[4] = (row, index, e) => {\n emit(\"row-middle-clicked\", row, index, e);\n })\n }), createSlots({\n \"custom-body\": withCtx((scope) => [\n busyModel.value && slots[\"table-busy\"] ? (openBlock(), createBlock(_sfc_main$2, {\n key: 0,\n class: normalizeClass([\"b-table-busy-slot\", getBusyRowClasses.value])\n }, {\n default: withCtx(() => [\n createVNode(_sfc_main$6, {\n colspan: scope.fields.length\n }, {\n default: withCtx(() => [\n renderSlot(_ctx.$slots, \"table-busy\")\n ]),\n _: 2\n }, 1032, [\"colspan\"])\n ]),\n _: 2\n }, 1032, [\"class\"])) : unref(props).showEmpty === true && computedItems.value.length === 0 ? (openBlock(), createBlock(_sfc_main$2, {\n key: 1,\n class: \"b-table-empty-row\"\n }, {\n default: withCtx(() => [\n createVNode(_sfc_main$6, {\n colspan: computedFields.value.length\n }, {\n default: withCtx(() => [\n createElementVNode(\"div\", _hoisted_2, [\n createElementVNode(\"div\", _hoisted_3, [\n isFilterableTable.value ? renderSlot(_ctx.$slots, \"empty-filtered\", normalizeProps(mergeProps({ key: 0 }, emptySlotScope.value)), () => [\n createTextVNode(toDisplayString(unref(props).emptyFilteredText), 1)\n ]) : renderSlot(_ctx.$slots, \"empty\", normalizeProps(mergeProps({ key: 1 }, emptySlotScope.value)), () => [\n createTextVNode(toDisplayString(unref(props).emptyText), 1)\n ])\n ])\n ])\n ]),\n _: 3\n }, 8, [\"colspan\"])\n ]),\n _: 3\n })) : createCommentVNode(\"\", true)\n ]),\n _: 2\n }, [\n slots[\"thead-top\"] ? {\n name: \"thead-top\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"thead-top\", mergeProps(scope, {\n clearSelected: exposedSelectableUtilities.clearSelected,\n selectAllRows: exposedSelectableUtilities.selectAllRows,\n fields: computedFields.value\n }))\n ]),\n key: \"0\"\n } : void 0,\n slots[\"thead-sub\"] ? {\n name: \"thead-sub\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"thead-sub\", mergeProps(scope, { fields: computedFields.value }))\n ]),\n key: \"1\"\n } : void 0,\n slots[\"top-row\"] ? {\n name: \"top-row\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"top-row\", mergeProps(scope, { fields: computedFields.value }))\n ]),\n key: \"2\"\n } : void 0,\n slots[\"row-details\"] ? {\n name: \"row-details\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"row-details\", mergeProps(scope, {\n fields: computedFields.value,\n selectRow: (index = scope.index) => exposedSelectableUtilities.selectRow(index),\n unselectRow: (index = scope.index) => exposedSelectableUtilities.unselectRow(index),\n rowSelected: exposedSelectableUtilities.isRowSelected(scope.index)\n }))\n ]),\n key: \"3\"\n } : void 0,\n slots[\"bottom-row\"] ? {\n name: \"bottom-row\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"bottom-row\", mergeProps(scope, { fields: computedFields.value }))\n ]),\n key: \"4\"\n } : void 0,\n slots[\"custom-foot\"] ? {\n name: \"custom-foot\",\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, \"custom-foot\", mergeProps(scope, { fields: computedFields.value }))\n ]),\n key: \"5\"\n } : void 0,\n slots[\"table-caption\"] ? {\n name: \"table-caption\",\n fn: withCtx(() => [\n renderSlot(_ctx.$slots, \"table-caption\")\n ]),\n key: \"6\"\n } : void 0,\n renderList(dynamicCellSlots.value, (name) => {\n return {\n name,\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, name, mergeProps(scope, {\n selectRow: (index = scope.index) => exposedSelectableUtilities.selectRow(index),\n unselectRow: (index = scope.index) => exposedSelectableUtilities.unselectRow(index),\n rowSelected: exposedSelectableUtilities.isRowSelected(scope.index)\n }))\n ])\n };\n }),\n renderList(dynamicFootSlots.value, (name) => {\n return {\n name,\n fn: withCtx((scope) => [\n renderSlot(_ctx.$slots, name, mergeProps(scope, {\n selectAllRows: exposedSelectableUtilities.selectAllRows,\n clearSelected: exposedSelectableUtilities.clearSelected\n }))\n ])\n };\n }),\n renderList(computedFields.value, (field) => {\n return {\n name: `head(${String(field.key)})`,\n fn: withCtx((scope) => {\n var _a, _b, _c, _d;\n return [\n renderSlot(\n _ctx.$slots,\n slots[`head(${String(field.key)})`] ? `head(${String(field.key)})` : \"head()\",\n mergeProps(scope, {\n selectAllRows: exposedSelectableUtilities.selectAllRows,\n clearSelected: exposedSelectableUtilities.clearSelected\n }),\n () => [\n createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)\n ]\n ),\n isSortable.value && !!scope.field.sortable && unref(props).noSortableIcon === false ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [\n ((_b = (_a = sortByModel.value) == null ? void 0 : _a.find((el) => el.key === scope.field.key)) == null ? void 0 : _b.order) === \"asc\" ? renderSlot(\n _ctx.$slots,\n slots[`sortAsc(${String(scope.field.key)})`] ? `sortAsc(${String(scope.field.key)})` : \"sortAsc()\",\n normalizeProps(mergeProps({ key: 0 }, scope)),\n () => [\n _cache[5] || (_cache[5] = createElementVNode(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24\",\n height: \"24\",\n fill: \"currentColor\",\n class: \"bi bi-arrow-up-short\",\n viewBox: \"0 0 16 16\",\n \"aria-hidden\": \"\"\n }, [\n createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n d: \"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z\"\n })\n ], -1))\n ]\n ) : ((_d = (_c = sortByModel.value) == null ? void 0 : _c.find((el) => el.key === scope.field.key)) == null ? void 0 : _d.order) === \"desc\" ? renderSlot(\n _ctx.$slots,\n slots[`sortDesc(${String(scope.field.key)})`] ? `sortDesc(${String(scope.field.key)})` : \"sortDesc()\",\n normalizeProps(mergeProps({ key: 1 }, scope)),\n () => [\n _cache[6] || (_cache[6] = createElementVNode(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24\",\n height: \"24\",\n fill: \"currentColor\",\n class: \"bi bi-arrow-down-short\",\n viewBox: \"0 0 16 16\",\n \"aria-hidden\": \"\"\n }, [\n createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n d: \"M8 4a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L7.5 10.293V4.5A.5.5 0 0 1 8 4z\"\n })\n ], -1))\n ]\n ) : renderSlot(\n _ctx.$slots,\n slots[`sortDefault(${String(scope.field.key)})`] ? `sortDefault(${String(scope.field.key)})` : \"sortDefault()\",\n normalizeProps(mergeProps({ key: 2 }, scope)),\n () => [\n (openBlock(), createElementBlock(\"svg\", _hoisted_1, _cache[7] || (_cache[7] = [\n createElementVNode(\"path\", {\n \"fill-rule\": \"evenodd\",\n d: \"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5z\"\n }, null, -1)\n ])))\n ]\n )\n ], 64)) : createCommentVNode(\"\", true)\n ];\n })\n };\n })\n ]), 1040);\n };\n }\n});\nexport {\n _sfc_main as _,\n _sfc_main$1 as a,\n _sfc_main$7 as b,\n _sfc_main$6 as c,\n _sfc_main$5 as d,\n _sfc_main$4 as e,\n _sfc_main$3 as f,\n _sfc_main$2 as g\n};\n//# sourceMappingURL=BTable.vue_vue_type_script_setup_true_lang-s3mA7RWN.mjs.map\n","const _export_sfc = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\nexport {\n _export_sfc as _\n};\n//# sourceMappingURL=_plugin-vue_export-helper-1tPrXgE0.mjs.map\n"],"names":["_hoisted_1","key","class","_sfc_main","__name","props","label","default","role","small","type","Boolean","tag","variant","setup","__props","_props","u","slots","colorClasses","textVariant","computedClasses","value","hasLabelSlot","i","_ctx","_cache","$slots","_","_hoisted_2","_sfc_main$1","body","bodyClass","headerClass","headerTag","id","interval","isStatus","noCloseButton","noHoverPause","noResumeOnHoverLeave","progressProps","showOnPause","solid","title","toastClass","bgVariant","active","activeClass","disabled","exactActiveClass","href","icon","noRel","opacity","opacityHover","prefetch","prefetchOn","noPrefetch","prefetchedClass","rel","replace","routerComponentName","stretched","target","to","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover","underlineVariant","initialAnimation","noAnimation","noFade","lazy","unmountLazy","show","transProps","visible","Number","emits","expose","__expose","emit","__emit","element","modelValue","computedLink","computedLinkProps","computedId","showRef","renderRef","hide","toggle","buildTriggerableEvent","computedNoAnimation","isVisible","transitionProps","contentShowing","countdownLength","isActive","pause","restart","resume","stop","isPaused","remainingMs","immediate","modelValueIgnoresHover","computedTag","isToastVisible","fade","newValue","event","cancelable","trigger","defaultPrevented","appear","ref","tabindex","onClick","$event","style","animated","precision","showProgress","showValue","striped","max","height","BToast","positionClasses","inheritAttrs","appendToast","teleportDisabled","teleportTo","tools","_a","_setIsAppend","call","$attrs","name","toasts","filter","el","pos","toast","_self","component","ref_for","_modelValue","_a2","_b","leave","onHidden","remove","parentData","numberPrecision","numberValue","numberMax","NaN","parentMaxNumber","computedLabel","toFixed","computedWidth","width","_sfc_main$4","animation","cols","size","wrapperTag","widthString","toString","colsString","wrapperClasses","computedStyle","_sfc_main$3","_sfc_main$2","footerAnimation","footerSize","footerVariant","footerWidth","headerAnimation","headerSize","headerVariant","headerWidth","imgBlankColor","imgPlacement","imgHeight","imgSrc","noButton","noFooter","noHeader","noImg","defaultAttrs","footerComponent","fn","blank","src","cursor","cellWidth","columns","footerCellWidth","footerColumns","headerCellWidth","headerColumns","rows","showFooter","columnsToNumber","rowsToNumber","computedHeaderColumns","computedFooterColumns","headerColumnsNumber","footerColumnsNumber","columnsNumber","rowsNumber","computedHeaderColumnsLength","computedFooterColumnsLength","j","__","k","l","loading","defaultStickyHeaderHeight","bordered","borderless","borderVariant","captionTop","dark","fixed","hover","noBorderCollapse","outlined","responsive","String","stacked","stickyHeader","stripedColumns","tableAttrs","tableClass","computedTableAttrs","computedSticky","stickyIsValid","isResponsive","responsiveStyles","maxHeight","responsiveClasses","bgColor","blur","noCenter","noSpinner","noWrap","overlayTag","spinnerSmall","spinnerType","spinnerVariant","wrapTag","zIndex","rounded","roundedTop","roundedBottom","roundedStart","roundedEnd","positionStyles","top","left","bottom","right","fadeTransitions","radiusElementClasses","computedAriaBusy","spinnerAttrs","overlayStyles","overlayClasses","blurClasses","blurStyles","backgroundColor","backdropFilter","spinWrapperStyles","transform","skip","onAfterEnter","onAfterLeave","buttonId","lazyOnce","noBody","titleItemClass","titleLinkAttrs","titleLinkClass","activeModel","computedButtonId","lazyRenderCompleted","attrs","processedAttrs","tabAttrs","tab","titleComponent","registerTab","activateTab","unregisterTab","activeId","computedLazy","computedLazyOnce","computedActive","showSlot","setTimeout","card","activeTabClass","inactiveTabClass","tabClass","shown","activeNavItemClass","align","contentClass","end","fill","inactiveNavItemClass","justified","navClass","navItemClass","navWrapperClass","noKeyNav","noNavStyle","pills","underline","vertical","ReusableEmptyTab","tabsInternal","tabs","map","_tab","navItemClasses","showEmpty","length","alignment","navTabsClasses","index","tabEvent","B","handleClick","_c","keynav","e","direction","preventDefault","stopPropagation","nextIndex","document","getElementById","focus","start","minIdx","maxIdx","oldValue","findIndex","t","find","push","sort","a","b","s","findActive","deep","indexOf","idx","define","reuse","onKeydown","PopoverList","Array","from","popovers","entries","self","content","popover","h","TooltipList","tooltips","Object","required","DEFAULT_PER_PAGE","DEFAULT_TOTAL_ROWS","ariaControls","ariaLabel","ellipsisClass","ellipsisText","firstClass","firstNumber","firstText","noEllipsis","noGotoEndButtons","labelFirstPage","labelLastPage","labelNextPage","labelPage","labelPrevPage","lastClass","lastNumber","lastText","limit","nextClass","nextText","pageClass","perPage","prevClass","prevText","totalRows","ELLIPSIS_THRESHOLD","FIRST_BUTTON","PREV_BUTTON","NEXT_BUTTON","LAST_BUTTON","FIRST_ELLIPSIS","LAST_ELLIPSIS","pageElements","limitNumber","nanToZero","method","perPageNumber","totalRowsNumber","modelValueNumber","perPageSanitized","Math","totalRowsSanitized","numberOfPages","ceil","computedFill","justifyAlign","isActivePage","pageNumber","computedModelValue","getTabIndex","num","checkDisabled","firstDisabled","prevDisabled","lastDisabled","nextDisabled","getBaseButtonProps","page","classVal","slotName","textValue","tabIndex","position","hidden","isSmHidden","li","button","text","clickHandler","pageClick","getButtonProps","getPageButtonProps","firstButtonProps","prevButtonProps","nextButtonProps","min","lastButtonProps","ellipsisProps","span","computedWrapperClasses","pagination","pageSize","clickEvent","isDisabled","isElement","nodeType","Node","ELEMENT_NODE","hasAttr","hasAttribute","hasClass","classList","contains","getButtons","children","btn","getAttribute","bcr","getBoundingClientRect","focusFirst","focusPrev","buttons","g","focusLast","reverse","focusNext","handleKeyNav","code","shiftKey","C","noFirstButton","noLastButton","showFirstButton","showLastButton","firstPage","lastPage","halfLimit","floor","pages","els","elements","p","pages2","x","is","gutterX","gutterY","noGutters","alignV","alignH","alignContent","colsSm","colsMd","colsLg","colsXl","colsXxl","rowColsClasses","interactive","boundary","boundaryPadding","click","closeOnHide","customClass","delay","floatingMiddleware","hideMargin","inline","manual","noAutoClose","noFlip","noHide","noShift","noSize","noninteractive","offset","placement","realtime","reference","strategy","computedProps","rest","tooltip","scope","formatItem","item","fieldKey","formatter","val","isTableItem","isTableField","_sfc_main$7","_hoisted_1$3","_hoisted_2$3","_sfc_main$6","colspan","rowspan","stackedHeading","stickyColumn","_sfc_main$5","_hoisted_1$2","_hoisted_2$2","getTableFieldHeadLabel","field","btableSimpleProps","freeze","keys","btableLiteProps","caption","detailsTdClass","fieldColumnClass","fields","footClone","footRowVariant","footVariant","headRowVariant","headVariant","items","labelStacked","primaryKey","tbodyClass","tbodyTrAttrs","tbodyTrClass","tfootClass","tfootTrClass","theadClass","theadTrClass","getDataLabelAttr","TABLE_TAG_NAMES","eventFilter","join","filterEvent","tagName","closest","labelFor","input","querySelector","matches","_hoisted_1$1","_hoisted_2$1","_hoisted_3$1","Function","generateDetailsItem","_showDetails","detailsMap","WeakMap","forEach","set","computedTableClasses","computedFields","firstItem","isArray","tdAttr","_noHeader","f","label2","computedFieldsTotal","showComputedHeaders","every","footerProps","itemAttributes","attr","callThAttr","thAttr","headerClicked","isFooter","toggleRowDetails","tr","prevValue","get","getFieldColumnClasses","thClass","getFieldRowClasses","tdClass","_cellVariants","handleMiddleClick","itemIndex","callTbodyTrAttrs","getRowClasses","generateTableRowId","primaryKeyValue","computedSimpleProps","headerTitle","abbr","headerAbbr","thStyle","column","isFoot","_rowVariant","onDblclick","onContextmenu","onMouseenter","onMouseleave","onMousedown","unformatted","toggleDetails","detailsShowing","xmlns","viewBox","_hoisted_3","provider","noProvider","noProviderPaging","noProviderSorting","noProviderFiltering","mustSort","selectable","multisort","stickySelect","selectHead","selectMode","selectionVariant","busyLoadingText","POSITIVE_INFINITY","currentPage","filterFunction","filterable","noLocalSorting","noSelectOnClick","noSortableIcon","emptyFilteredText","emptyText","dynamicCellSlots","startsWith","dynamicFootSlots","sortByModel","busyModel","selectedItemsModel","selectedItemsToSet","Set","has","selectedItemsSetUtilities","add","clear","delete","pkey","v","selectedKey","itemKey","selected","internalItems","currentPageNumber","isFilterableTable","usesProvider","isSelecting","isSortable","some","sortable","sb","sortValue","order","tableClasses","getBusyRowClasses","getFormatter","sortByFormatted","computedItems","sortByItems","mapItem","includes","newItem","filterItem","realVal","filterField","filterByFormatted","JSON","stringify","values","itemValue","toLowerCase","mappedItems","reduce","acc","shouldFilter","comparer","getStringValue","ob","sortField","comparison","localeCompare","numeric","emptySlotScope","computedDisplayItems","isNaN","slice","handleRowSelection","row","shiftClicked","ctrlClicked","metaClicked","lastSelectedItem","pop","lastSelectedIndex","selectStartIndex","selectEndIndex","onRowClick","ctrlKey","metaKey","handleFieldSorting","fieldSortable","resolveOrder","originalValue","updatedValue","handleMultiSort","splice","handleSingleSort","tmp","onFieldHeadClick","callItemsProvider","async","response","sortBy","Promise","providerPropsWatch","prop","oldVal","inNoProvider","noProvideWhenPaging","noProvideWhenFiltering","noProvideWhenSorting","oldFilter","exposedSelectableUtilities","clearSelected","selectAllRows","selectRow","unselectRow","isRowSelected","computedLiteProps","ariaBusy","refresh","onHeadClicked","onRowClicked","onRowDblclicked","onRowContextmenu","onRowHovered","onRowUnhovered","onRowMiddleClicked","rowSelected","_d","d","_export_sfc","sfc","__vccOpts"],"sourceRoot":""}