bootstrap-vue-next 0.24.12 → 0.24.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BAccordionItem.vue_vue_type_script_setup_true_lang-CGL4HjQ5.mjs +157 -0
- package/dist/BAccordionItem.vue_vue_type_script_setup_true_lang-CGL4HjQ5.mjs.map +1 -0
- package/dist/BAccordionItem.vue_vue_type_script_setup_true_lang-CZPn4Bj0.js +2 -0
- package/dist/BAccordionItem.vue_vue_type_script_setup_true_lang-CZPn4Bj0.js.map +1 -0
- package/dist/BAlert-CL62oEyH.js +2 -0
- package/dist/BAlert-CL62oEyH.js.map +1 -0
- package/dist/BAlert-zaujoJkK.mjs +130 -0
- package/dist/BAlert-zaujoJkK.mjs.map +1 -0
- package/dist/BAvatarGroup.vue_vue_type_script_setup_true_lang-CJHztvxJ.mjs +265 -0
- package/dist/BAvatarGroup.vue_vue_type_script_setup_true_lang-CJHztvxJ.mjs.map +1 -0
- package/dist/BAvatarGroup.vue_vue_type_script_setup_true_lang-CyH7wDxA.js +2 -0
- package/dist/BAvatarGroup.vue_vue_type_script_setup_true_lang-CyH7wDxA.js.map +1 -0
- package/dist/BBadge.vue_vue_type_script_setup_true_lang-D0XJTOKS.js +2 -0
- package/dist/BBadge.vue_vue_type_script_setup_true_lang-D0XJTOKS.js.map +1 -0
- package/dist/BBadge.vue_vue_type_script_setup_true_lang-DvnR6bcm.mjs +114 -0
- package/dist/BBadge.vue_vue_type_script_setup_true_lang-DvnR6bcm.mjs.map +1 -0
- package/dist/BBreadcrumb.vue_vue_type_script_setup_true_lang-BaeAqIpb.mjs +144 -0
- package/dist/BBreadcrumb.vue_vue_type_script_setup_true_lang-BaeAqIpb.mjs.map +1 -0
- package/dist/BBreadcrumb.vue_vue_type_script_setup_true_lang-C_H8oVoT.js +2 -0
- package/dist/BBreadcrumb.vue_vue_type_script_setup_true_lang-C_H8oVoT.js.map +1 -0
- package/dist/BButton.vue_vue_type_script_setup_true_lang-Ce8NKGox.js +2 -0
- package/dist/BButton.vue_vue_type_script_setup_true_lang-Ce8NKGox.js.map +1 -0
- package/dist/BButton.vue_vue_type_script_setup_true_lang-VSdlVuWr.mjs +167 -0
- package/dist/BButton.vue_vue_type_script_setup_true_lang-VSdlVuWr.mjs.map +1 -0
- package/dist/BButtonToolbar.vue_vue_type_script_setup_true_lang-4_kitZe-.js +2 -0
- package/dist/BButtonToolbar.vue_vue_type_script_setup_true_lang-4_kitZe-.js.map +1 -0
- package/dist/BButtonToolbar.vue_vue_type_script_setup_true_lang-d2xC76Uj.mjs +62 -0
- package/dist/BButtonToolbar.vue_vue_type_script_setup_true_lang-d2xC76Uj.mjs.map +1 -0
- package/dist/BCard.vue_vue_type_script_setup_true_lang-HE0K2EEE.mjs +400 -0
- package/dist/BCard.vue_vue_type_script_setup_true_lang-HE0K2EEE.mjs.map +1 -0
- package/dist/BCard.vue_vue_type_script_setup_true_lang-TLAEs-XJ.js +2 -0
- package/dist/BCard.vue_vue_type_script_setup_true_lang-TLAEs-XJ.js.map +1 -0
- package/dist/BCardText.vue_vue_type_script_setup_true_lang-BJXOgzA3.js +2 -0
- package/dist/BCardText.vue_vue_type_script_setup_true_lang-BJXOgzA3.js.map +1 -0
- package/dist/BCardText.vue_vue_type_script_setup_true_lang-DaNVKmqM.mjs +53 -0
- package/dist/BCardText.vue_vue_type_script_setup_true_lang-DaNVKmqM.mjs.map +1 -0
- package/dist/BCarouselSlide.vue_vue_type_script_setup_true_lang-B9cMwnBa.mjs +419 -0
- package/dist/BCarouselSlide.vue_vue_type_script_setup_true_lang-B9cMwnBa.mjs.map +1 -0
- package/dist/BCarouselSlide.vue_vue_type_script_setup_true_lang-D9pzRO8R.js +2 -0
- package/dist/BCarouselSlide.vue_vue_type_script_setup_true_lang-D9pzRO8R.js.map +1 -0
- package/dist/BCloseButton.vue_vue_type_script_setup_true_lang-B9g9XRA_.mjs +30 -0
- package/dist/BCloseButton.vue_vue_type_script_setup_true_lang-B9g9XRA_.mjs.map +1 -0
- package/dist/BCloseButton.vue_vue_type_script_setup_true_lang-CiJc3utn.js +2 -0
- package/dist/BCloseButton.vue_vue_type_script_setup_true_lang-CiJc3utn.js.map +1 -0
- package/dist/BCol.vue_vue_type_script_setup_true_lang-BWBBWz6b.js +2 -0
- package/dist/BCol.vue_vue_type_script_setup_true_lang-BWBBWz6b.js.map +1 -0
- package/dist/BCol.vue_vue_type_script_setup_true_lang-DlKSUEf4.mjs +94 -0
- package/dist/BCol.vue_vue_type_script_setup_true_lang-DlKSUEf4.mjs.map +1 -0
- package/dist/BCollapse.vue_vue_type_script_setup_true_lang-DPNRuAQK.js +2 -0
- package/dist/BCollapse.vue_vue_type_script_setup_true_lang-DPNRuAQK.js.map +1 -0
- package/dist/BCollapse.vue_vue_type_script_setup_true_lang-DQFE_wBf.mjs +211 -0
- package/dist/BCollapse.vue_vue_type_script_setup_true_lang-DQFE_wBf.mjs.map +1 -0
- package/dist/BContainer.vue_vue_type_script_setup_true_lang-CYHKrkpb.js +2 -0
- package/dist/BContainer.vue_vue_type_script_setup_true_lang-CYHKrkpb.js.map +1 -0
- package/dist/BContainer.vue_vue_type_script_setup_true_lang-CvOVtSLy.mjs +36 -0
- package/dist/BContainer.vue_vue_type_script_setup_true_lang-CvOVtSLy.mjs.map +1 -0
- package/dist/BDropdown.vue_vue_type_script_setup_true_lang-CyYPAMES.js +2 -0
- package/dist/BDropdown.vue_vue_type_script_setup_true_lang-CyYPAMES.js.map +1 -0
- package/dist/BDropdown.vue_vue_type_script_setup_true_lang-_LBPdVCX.mjs +335 -0
- package/dist/BDropdown.vue_vue_type_script_setup_true_lang-_LBPdVCX.mjs.map +1 -0
- package/dist/BDropdownText.vue_vue_type_script_setup_true_lang-BG9DP53V.mjs +264 -0
- package/dist/BDropdownText.vue_vue_type_script_setup_true_lang-BG9DP53V.mjs.map +1 -0
- package/dist/BDropdownText.vue_vue_type_script_setup_true_lang-Cp6f43AB.js +2 -0
- package/dist/BDropdownText.vue_vue_type_script_setup_true_lang-Cp6f43AB.js.map +1 -0
- package/dist/BForm.vue_vue_type_script_setup_true_lang-CX-6ApBl.mjs +39 -0
- package/dist/BForm.vue_vue_type_script_setup_true_lang-CX-6ApBl.mjs.map +1 -0
- package/dist/BForm.vue_vue_type_script_setup_true_lang-CzWjtjDl.js +2 -0
- package/dist/BForm.vue_vue_type_script_setup_true_lang-CzWjtjDl.js.map +1 -0
- package/dist/BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-2Rj7LWFj.js +2 -0
- package/dist/BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-2Rj7LWFj.js.map +1 -0
- package/dist/BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-CuIvx67W.mjs +283 -0
- package/dist/BFormCheckboxGroup.vue_vue_type_script_setup_true_lang-CuIvx67W.mjs.map +1 -0
- package/dist/BFormFile.vue_vue_type_script_setup_true_lang-C-XNXzam.js +2 -0
- package/dist/BFormFile.vue_vue_type_script_setup_true_lang-C-XNXzam.js.map +1 -0
- package/dist/BFormFile.vue_vue_type_script_setup_true_lang-vYYrIhR7.mjs +129 -0
- package/dist/BFormFile.vue_vue_type_script_setup_true_lang-vYYrIhR7.mjs.map +1 -0
- package/dist/BFormFloatingLabel.vue_vue_type_script_setup_true_lang-2jJXsB8X.mjs +85 -0
- package/dist/BFormFloatingLabel.vue_vue_type_script_setup_true_lang-2jJXsB8X.mjs.map +1 -0
- package/dist/BFormFloatingLabel.vue_vue_type_script_setup_true_lang-CGq1Y8YR.js +2 -0
- package/dist/BFormFloatingLabel.vue_vue_type_script_setup_true_lang-CGq1Y8YR.js.map +1 -0
- package/dist/BFormGroup.vue_vue_type_script_lang-D1K-s0Ci.mjs +316 -0
- package/dist/BFormGroup.vue_vue_type_script_lang-D1K-s0Ci.mjs.map +1 -0
- package/dist/BFormGroup.vue_vue_type_script_lang-DM4WBgWE.js +2 -0
- package/dist/BFormGroup.vue_vue_type_script_lang-DM4WBgWE.js.map +1 -0
- package/dist/BFormInput.vue_vue_type_script_setup_true_lang-Cff0bCQa.mjs +98 -0
- package/dist/BFormInput.vue_vue_type_script_setup_true_lang-Cff0bCQa.mjs.map +1 -0
- package/dist/BFormInput.vue_vue_type_script_setup_true_lang-DktiAGOE.js +2 -0
- package/dist/BFormInput.vue_vue_type_script_setup_true_lang-DktiAGOE.js.map +1 -0
- package/dist/BFormRadioGroup.vue_vue_type_script_setup_true_lang-CQjKHPQM.js +2 -0
- package/dist/BFormRadioGroup.vue_vue_type_script_setup_true_lang-CQjKHPQM.js.map +1 -0
- package/dist/BFormRadioGroup.vue_vue_type_script_setup_true_lang-QoekdehU.mjs +260 -0
- package/dist/BFormRadioGroup.vue_vue_type_script_setup_true_lang-QoekdehU.mjs.map +1 -0
- package/dist/BFormSelect.vue_vue_type_script_setup_true_lang-Bi-9IRmx.js +2 -0
- package/dist/BFormSelect.vue_vue_type_script_setup_true_lang-Bi-9IRmx.js.map +1 -0
- package/dist/BFormSelect.vue_vue_type_script_setup_true_lang-DomR7pgn.mjs +187 -0
- package/dist/BFormSelect.vue_vue_type_script_setup_true_lang-DomR7pgn.mjs.map +1 -0
- package/dist/BFormSpinbutton.vue_vue_type_script_setup_true_lang-Cpthe9q6.js +2 -0
- package/dist/BFormSpinbutton.vue_vue_type_script_setup_true_lang-Cpthe9q6.js.map +1 -0
- package/dist/BFormSpinbutton.vue_vue_type_script_setup_true_lang-DWoLLnh4.mjs +466 -0
- package/dist/BFormSpinbutton.vue_vue_type_script_setup_true_lang-DWoLLnh4.mjs.map +1 -0
- package/dist/BFormTags.vue_vue_type_script_setup_true_lang-Bb7L5aOK.js +2 -0
- package/dist/BFormTags.vue_vue_type_script_setup_true_lang-Bb7L5aOK.js.map +1 -0
- package/dist/BFormTags.vue_vue_type_script_setup_true_lang-QreNAuNh.mjs +451 -0
- package/dist/BFormTags.vue_vue_type_script_setup_true_lang-QreNAuNh.mjs.map +1 -0
- package/dist/BFormTextarea.vue_vue_type_script_setup_true_lang-C7qeE8yw.js +2 -0
- package/dist/BFormTextarea.vue_vue_type_script_setup_true_lang-C7qeE8yw.js.map +1 -0
- package/dist/BFormTextarea.vue_vue_type_script_setup_true_lang-w4QvtSCI.mjs +89 -0
- package/dist/BFormTextarea.vue_vue_type_script_setup_true_lang-w4QvtSCI.mjs.map +1 -0
- package/dist/BFormValidFeedback.vue_vue_type_script_setup_true_lang-BNtodjFB.js +2 -0
- package/dist/BFormValidFeedback.vue_vue_type_script_setup_true_lang-BNtodjFB.js.map +1 -0
- package/dist/BFormValidFeedback.vue_vue_type_script_setup_true_lang-DSA6Ix_l.mjs +136 -0
- package/dist/BFormValidFeedback.vue_vue_type_script_setup_true_lang-DSA6Ix_l.mjs.map +1 -0
- package/dist/BImg.vue_vue_type_script_setup_true_lang-Bg2OW6gi.js +2 -0
- package/dist/BImg.vue_vue_type_script_setup_true_lang-Bg2OW6gi.js.map +1 -0
- package/dist/BImg.vue_vue_type_script_setup_true_lang-CZ0wmkG3.mjs +96 -0
- package/dist/BImg.vue_vue_type_script_setup_true_lang-CZ0wmkG3.mjs.map +1 -0
- package/dist/BInputGroupText.vue_vue_type_script_setup_true_lang-CQmMi4BC.mjs +91 -0
- package/dist/BInputGroupText.vue_vue_type_script_setup_true_lang-CQmMi4BC.mjs.map +1 -0
- package/dist/BInputGroupText.vue_vue_type_script_setup_true_lang-D0vTU1Tg.js +2 -0
- package/dist/BInputGroupText.vue_vue_type_script_setup_true_lang-D0vTU1Tg.js.map +1 -0
- package/dist/BLink.vue_vue_type_script_setup_true_lang-C39-ereM.mjs +151 -0
- package/dist/BLink.vue_vue_type_script_setup_true_lang-C39-ereM.mjs.map +1 -0
- package/dist/BLink.vue_vue_type_script_setup_true_lang-CGvuLpmP.js +2 -0
- package/dist/BLink.vue_vue_type_script_setup_true_lang-CGvuLpmP.js.map +1 -0
- package/dist/BListGroupItem.vue_vue_type_script_setup_true_lang-BgPZPopv.mjs +122 -0
- package/dist/BListGroupItem.vue_vue_type_script_setup_true_lang-BgPZPopv.mjs.map +1 -0
- package/dist/BListGroupItem.vue_vue_type_script_setup_true_lang-bbCvQBVT.js +2 -0
- package/dist/BListGroupItem.vue_vue_type_script_setup_true_lang-bbCvQBVT.js.map +1 -0
- package/dist/BModalOrchestrator.vue_vue_type_script_setup_true_lang-DTkIYT9T.js +2 -0
- package/dist/BModalOrchestrator.vue_vue_type_script_setup_true_lang-DTkIYT9T.js.map +1 -0
- package/dist/BModalOrchestrator.vue_vue_type_script_setup_true_lang-uilLonY3.mjs +528 -0
- package/dist/BModalOrchestrator.vue_vue_type_script_setup_true_lang-uilLonY3.mjs.map +1 -0
- package/dist/BNavText.vue_vue_type_script_setup_true_lang-DsRBDoqA.js +2 -0
- package/dist/BNavText.vue_vue_type_script_setup_true_lang-DsRBDoqA.js.map +1 -0
- package/dist/BNavText.vue_vue_type_script_setup_true_lang-Nz10c9se.mjs +297 -0
- package/dist/BNavText.vue_vue_type_script_setup_true_lang-Nz10c9se.mjs.map +1 -0
- package/dist/BNavbarToggle.vue_vue_type_script_setup_true_lang-CR21XBTk.mjs +195 -0
- package/dist/BNavbarToggle.vue_vue_type_script_setup_true_lang-CR21XBTk.mjs.map +1 -0
- package/dist/BNavbarToggle.vue_vue_type_script_setup_true_lang-yRlMSYbT.js +2 -0
- package/dist/BNavbarToggle.vue_vue_type_script_setup_true_lang-yRlMSYbT.js.map +1 -0
- package/dist/BOffcanvas.vue_vue_type_script_setup_true_lang-BS8m5QFs.js +2 -0
- package/dist/BOffcanvas.vue_vue_type_script_setup_true_lang-BS8m5QFs.js.map +1 -0
- package/dist/BOffcanvas.vue_vue_type_script_setup_true_lang-DFX-GAqB.mjs +296 -0
- package/dist/BOffcanvas.vue_vue_type_script_setup_true_lang-DFX-GAqB.mjs.map +1 -0
- package/dist/BOverlay.vue_vue_type_script_setup_true_lang-B-DddNvF.js +2 -0
- package/dist/BOverlay.vue_vue_type_script_setup_true_lang-B-DddNvF.js.map +1 -0
- package/dist/BOverlay.vue_vue_type_script_setup_true_lang-DlIZeFjt.mjs +127 -0
- package/dist/BOverlay.vue_vue_type_script_setup_true_lang-DlIZeFjt.mjs.map +1 -0
- package/dist/BPagination.vue_vue_type_script_setup_true_lang-Bb3jz8ne.js +2 -0
- package/dist/BPagination.vue_vue_type_script_setup_true_lang-Bb3jz8ne.js.map +1 -0
- package/dist/BPagination.vue_vue_type_script_setup_true_lang-DlaLHOK3.mjs +377 -0
- package/dist/BPagination.vue_vue_type_script_setup_true_lang-DlaLHOK3.mjs.map +1 -0
- package/dist/BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-CNFPE1rr.js +2 -0
- package/dist/BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-CNFPE1rr.js.map +1 -0
- package/dist/BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-D-r_Gw_F.mjs +295 -0
- package/dist/BPlaceholderWrapper.vue_vue_type_script_setup_true_lang-D-r_Gw_F.mjs.map +1 -0
- package/dist/BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-DAAu6XVH.js +2 -0
- package/dist/BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-DAAu6XVH.js.map +1 -0
- package/dist/BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-WoLkyjrr.mjs +32 -0
- package/dist/BPopoverOrchestrator.vue_vue_type_script_setup_true_lang-WoLkyjrr.mjs.map +1 -0
- package/dist/BProgress.vue_vue_type_script_setup_true_lang-D1V8J3od.mjs +113 -0
- package/dist/BProgress.vue_vue_type_script_setup_true_lang-D1V8J3od.mjs.map +1 -0
- package/dist/BProgress.vue_vue_type_script_setup_true_lang-dljjV5EO.js +2 -0
- package/dist/BProgress.vue_vue_type_script_setup_true_lang-dljjV5EO.js.map +1 -0
- package/dist/BRow.vue_vue_type_script_setup_true_lang-DsUdrNeu.mjs +67 -0
- package/dist/BRow.vue_vue_type_script_setup_true_lang-DsUdrNeu.mjs.map +1 -0
- package/dist/BRow.vue_vue_type_script_setup_true_lang-VBYu2LvD.js +2 -0
- package/dist/BRow.vue_vue_type_script_setup_true_lang-VBYu2LvD.js.map +1 -0
- package/dist/BSpinner.vue_vue_type_script_setup_true_lang-Bi3Ic2-3.mjs +51 -0
- package/dist/BSpinner.vue_vue_type_script_setup_true_lang-Bi3Ic2-3.mjs.map +1 -0
- package/dist/BSpinner.vue_vue_type_script_setup_true_lang-DybaAUVS.js +2 -0
- package/dist/BSpinner.vue_vue_type_script_setup_true_lang-DybaAUVS.js.map +1 -0
- package/dist/BTable.vue_vue_type_script_setup_true_lang-CqJmavaJ.mjs +1292 -0
- package/dist/BTable.vue_vue_type_script_setup_true_lang-CqJmavaJ.mjs.map +1 -0
- package/dist/BTable.vue_vue_type_script_setup_true_lang-XAhOu66i.js +2 -0
- package/dist/BTable.vue_vue_type_script_setup_true_lang-XAhOu66i.js.map +1 -0
- package/dist/BTableSimple.vue_vue_type_script_setup_true_lang-B4mLJ-Gd.mjs +88 -0
- package/dist/BTableSimple.vue_vue_type_script_setup_true_lang-B4mLJ-Gd.mjs.map +1 -0
- package/dist/BTableSimple.vue_vue_type_script_setup_true_lang-iOO_ebGw.js +2 -0
- package/dist/BTableSimple.vue_vue_type_script_setup_true_lang-iOO_ebGw.js.map +1 -0
- package/dist/BTabs.vue_vue_type_script_setup_true_lang-BhWxG2yI.mjs +410 -0
- package/dist/BTabs.vue_vue_type_script_setup_true_lang-BhWxG2yI.mjs.map +1 -0
- package/dist/BTabs.vue_vue_type_script_setup_true_lang-CaQt9YE0.js +2 -0
- package/dist/BTabs.vue_vue_type_script_setup_true_lang-CaQt9YE0.js.map +1 -0
- package/dist/BToastOrchestrator.vue_vue_type_style_index_0_lang-K7lsVEs_.js +2 -0
- package/dist/BToastOrchestrator.vue_vue_type_style_index_0_lang-K7lsVEs_.js.map +1 -0
- package/dist/BToastOrchestrator.vue_vue_type_style_index_0_lang-Odi16od5.mjs +313 -0
- package/dist/BToastOrchestrator.vue_vue_type_style_index_0_lang-Odi16od5.mjs.map +1 -0
- package/dist/BTooltipOrchestrator.vue_vue_type_script_setup_true_lang-DWilDKU8.js +2 -0
- package/dist/BTooltipOrchestrator.vue_vue_type_script_setup_true_lang-DWilDKU8.js.map +1 -0
- package/dist/BTooltipOrchestrator.vue_vue_type_script_setup_true_lang-Dcoy_YtZ.mjs +109 -0
- package/dist/BTooltipOrchestrator.vue_vue_type_script_setup_true_lang-Dcoy_YtZ.mjs.map +1 -0
- package/dist/BTransition.vue_vue_type_style_index_0_lang-X5a8jq3A.mjs +59 -0
- package/dist/BTransition.vue_vue_type_style_index_0_lang-X5a8jq3A.mjs.map +1 -0
- package/dist/BTransition.vue_vue_type_style_index_0_lang-dOw0_NRO.js +2 -0
- package/dist/BTransition.vue_vue_type_style_index_0_lang-dOw0_NRO.js.map +1 -0
- package/dist/RenderComponentOrSkip.vue_vue_type_script_lang-Ceo_5VTw.js +2 -0
- package/dist/RenderComponentOrSkip.vue_vue_type_script_lang-Ceo_5VTw.js.map +1 -0
- package/dist/RenderComponentOrSkip.vue_vue_type_script_lang-CvaXFCLB.mjs +30 -0
- package/dist/RenderComponentOrSkip.vue_vue_type_script_lang-CvaXFCLB.mjs.map +1 -0
- package/dist/_plugin-vue_export-helper-1tPrXgE0.mjs +11 -0
- package/dist/_plugin-vue_export-helper-1tPrXgE0.mjs.map +1 -0
- package/dist/_plugin-vue_export-helper-CC_fc8JW.js +2 -0
- package/dist/_plugin-vue_export-helper-CC_fc8JW.js.map +1 -0
- package/dist/bootstrap-vue-next.css +1 -1
- package/dist/bootstrap-vue-next.mjs +230 -12475
- package/dist/bootstrap-vue-next.mjs.map +1 -1
- package/dist/bootstrap-vue-next.umd.js +1 -9
- package/dist/bootstrap-vue-next.umd.js.map +1 -1
- package/dist/classes-CXBJXuVd.js +2 -0
- package/dist/classes-CXBJXuVd.js.map +1 -0
- package/dist/classes-IC0yVJlq.mjs +92 -0
- package/dist/classes-IC0yVJlq.mjs.map +1 -0
- package/dist/constants-BdrZaBP8.mjs +35 -0
- package/dist/constants-BdrZaBP8.mjs.map +1 -0
- package/dist/constants-Caz6vMlV.js +2 -0
- package/dist/constants-Caz6vMlV.js.map +1 -0
- package/dist/dom-B-SQyhbA.mjs +36 -0
- package/dist/dom-B-SQyhbA.mjs.map +1 -0
- package/dist/dom-C-F8jHop.js +2 -0
- package/dist/dom-C-F8jHop.js.map +1 -0
- package/dist/event-DqyBZX_g.js +2 -0
- package/dist/event-DqyBZX_g.js.map +1 -0
- package/dist/event-aFP-C_yt.mjs +46 -0
- package/dist/event-aFP-C_yt.mjs.map +1 -0
- package/dist/floatingUi-CKw_RAAk.mjs +1959 -0
- package/dist/floatingUi-CKw_RAAk.mjs.map +1 -0
- package/dist/floatingUi-DuqFUobT.js +2 -0
- package/dist/floatingUi-DuqFUobT.js.map +1 -0
- package/dist/getClasses-BgAeHHtu.js +2 -0
- package/dist/getClasses-BgAeHHtu.js.map +1 -0
- package/dist/getClasses-CsgNQabU.mjs +11 -0
- package/dist/getClasses-CsgNQabU.mjs.map +1 -0
- package/dist/getElement-Ca6iEV7Z.js +2 -0
- package/dist/getElement-Ca6iEV7Z.js.map +1 -0
- package/dist/getElement-D_JPfLJS.mjs +13 -0
- package/dist/getElement-D_JPfLJS.mjs.map +1 -0
- package/dist/index-BInTFWT4.js +2 -0
- package/dist/index-BInTFWT4.js.map +1 -0
- package/dist/index-BZ1nPmSl.js +2 -0
- package/dist/index-BZ1nPmSl.js.map +1 -0
- package/dist/index-C-KndhwG.js +2 -0
- package/dist/index-C-KndhwG.js.map +1 -0
- package/dist/index-C2e5Y13S.js +2 -0
- package/dist/index-C2e5Y13S.js.map +1 -0
- package/dist/index-CIB4mF_S.js +2 -0
- package/dist/index-CIB4mF_S.js.map +1 -0
- package/dist/index-CITBZK_Y.mjs +159 -0
- package/dist/index-CITBZK_Y.mjs.map +1 -0
- package/dist/index-CXpBEYSc.mjs +18 -0
- package/dist/index-CXpBEYSc.mjs.map +1 -0
- package/dist/index-CZM7tYbG.js +2 -0
- package/dist/index-CZM7tYbG.js.map +1 -0
- package/dist/index-CjQikjpZ.mjs +210 -0
- package/dist/index-CjQikjpZ.mjs.map +1 -0
- package/dist/index-CnY1um_J.js +2 -0
- package/dist/index-CnY1um_J.js.map +1 -0
- package/dist/index-CsWSMa0s.js +2 -0
- package/dist/index-CsWSMa0s.js.map +1 -0
- package/dist/index-DlGgXMQF.mjs +303 -0
- package/dist/index-DlGgXMQF.mjs.map +1 -0
- package/dist/index-DngH9Pjm.mjs +1144 -0
- package/dist/index-DngH9Pjm.mjs.map +1 -0
- package/dist/index-Dt02d7RV.mjs +25 -0
- package/dist/index-Dt02d7RV.mjs.map +1 -0
- package/dist/index-i-UFv70c.mjs +11 -0
- package/dist/index-i-UFv70c.mjs.map +1 -0
- package/dist/index-sKc4HTpY.mjs +23 -0
- package/dist/index-sKc4HTpY.mjs.map +1 -0
- package/dist/keys-BgAe7wbu.js +2 -0
- package/dist/keys-BgAe7wbu.js.map +1 -0
- package/dist/keys-CLEaYsGj.mjs +43 -0
- package/dist/keys-CLEaYsGj.mjs.map +1 -0
- package/dist/object-B-6ddRYH.js +2 -0
- package/dist/object-B-6ddRYH.js.map +1 -0
- package/dist/object-DIbMZaP9.mjs +67 -0
- package/dist/object-DIbMZaP9.mjs.map +1 -0
- package/dist/src/App.vue.d.mts +2 -0
- package/dist/src/App.vue.d.ts +2 -0
- package/dist/src/components/BAccordion/BAccordion.vue.d.mts +31 -0
- package/dist/src/components/BAccordion/BAccordion.vue.d.ts +21 -33
- package/dist/src/components/BAccordion/BAccordionItem.vue.d.mts +59 -0
- package/dist/src/components/BAccordion/BAccordionItem.vue.d.ts +43 -162
- package/dist/src/components/BAccordion/index.d.mts +2 -0
- package/dist/src/components/BAccordion/index.d.ts +2 -0
- package/dist/src/components/BAccordion/index.mjs +6 -0
- package/dist/src/components/BAccordion/index.mjs.map +1 -0
- package/dist/src/components/BAccordion/index.umd.js +2 -0
- package/dist/src/components/BAccordion/index.umd.js.map +1 -0
- package/dist/src/components/BAlert/BAlert.vue.d.mts +55 -0
- package/dist/src/components/BAlert/BAlert.vue.d.ts +39 -114
- package/dist/src/components/BAlert/index.d.mts +1 -0
- package/dist/src/components/BAlert/index.d.ts +1 -0
- package/dist/src/components/BAlert/index.mjs +5 -0
- package/dist/src/components/BAlert/index.mjs.map +1 -0
- package/dist/src/components/BAlert/index.umd.js +2 -0
- package/dist/src/components/BAlert/index.umd.js.map +1 -0
- package/dist/src/components/BAvatar/BAvatar.vue.d.mts +67 -0
- package/dist/src/components/BAvatar/BAvatar.vue.d.ts +51 -142
- package/dist/src/components/BAvatar/BAvatarGroup.vue.d.mts +32 -0
- package/dist/src/components/BAvatar/BAvatarGroup.vue.d.ts +24 -61
- package/dist/src/components/BAvatar/index.d.mts +2 -0
- package/dist/src/components/BAvatar/index.d.ts +2 -0
- package/dist/src/components/BAvatar/index.mjs +6 -0
- package/dist/src/components/BAvatar/index.mjs.map +1 -0
- package/dist/src/components/BAvatar/index.umd.js +2 -0
- package/dist/src/components/BAvatar/index.umd.js.map +1 -0
- package/dist/src/components/BBadge/BBadge.vue.d.mts +46 -0
- package/dist/src/components/BBadge/BBadge.vue.d.ts +34 -99
- package/dist/src/components/BBadge/index.d.mts +1 -0
- package/dist/src/components/BBadge/index.d.ts +1 -0
- package/dist/src/components/BBadge/index.mjs +5 -0
- package/dist/src/components/BBadge/index.mjs.map +1 -0
- package/dist/src/components/BBadge/index.umd.js +2 -0
- package/dist/src/components/BBadge/index.umd.js.map +1 -0
- package/dist/src/components/BBreadcrumb/BBreadcrumb.vue.d.mts +25 -0
- package/dist/src/components/BBreadcrumb/BBreadcrumb.vue.d.ts +18 -33
- package/dist/src/components/BBreadcrumb/BBreadcrumbItem.vue.d.mts +46 -0
- package/dist/src/components/BBreadcrumb/BBreadcrumbItem.vue.d.ts +33 -92
- package/dist/src/components/BBreadcrumb/index.d.mts +2 -0
- package/dist/src/components/BBreadcrumb/index.d.ts +2 -0
- package/dist/src/components/BBreadcrumb/index.mjs +6 -0
- package/dist/src/components/BBreadcrumb/index.mjs.map +1 -0
- package/dist/src/components/BBreadcrumb/index.umd.js +2 -0
- package/dist/src/components/BBreadcrumb/index.umd.js.map +1 -0
- package/dist/src/components/BButton/BButton.vue.d.mts +66 -0
- package/dist/src/components/BButton/BButton.vue.d.ts +49 -274
- package/dist/src/components/BButton/BButtonGroup.vue.d.mts +24 -0
- package/dist/src/components/BButton/BButtonGroup.vue.d.ts +15 -36
- package/dist/src/components/BButton/BButtonToolbar.vue.d.mts +23 -0
- package/dist/src/components/BButton/BButtonToolbar.vue.d.ts +14 -33
- package/dist/src/components/BButton/BCloseButton.vue.d.mts +11 -0
- package/dist/src/components/BButton/BCloseButton.vue.d.ts +8 -34
- package/dist/src/components/BButton/index.d.mts +4 -0
- package/dist/src/components/BButton/index.d.ts +4 -0
- package/dist/src/components/BButton/index.mjs +10 -0
- package/dist/src/components/BButton/index.mjs.map +1 -0
- package/dist/src/components/BButton/index.umd.js +2 -0
- package/dist/src/components/BButton/index.umd.js.map +1 -0
- package/dist/src/components/BCard/BCard.vue.d.mts +64 -0
- package/dist/src/components/BCard/BCard.vue.d.ts +48 -137
- package/dist/src/components/BCard/BCardBody.vue.d.mts +35 -0
- package/dist/src/components/BCard/BCardBody.vue.d.ts +25 -60
- package/dist/src/components/BCard/BCardFooter.vue.d.mts +27 -0
- package/dist/src/components/BCard/BCardFooter.vue.d.ts +19 -46
- package/dist/src/components/BCard/BCardGroup.vue.d.mts +23 -0
- package/dist/src/components/BCard/BCardGroup.vue.d.ts +14 -33
- package/dist/src/components/BCard/BCardHeadFoot.vue.d.mts +27 -0
- package/dist/src/components/BCard/BCardHeadFoot.vue.d.ts +19 -46
- package/dist/src/components/BCard/BCardHeader.vue.d.mts +27 -0
- package/dist/src/components/BCard/BCardHeader.vue.d.ts +19 -46
- package/dist/src/components/BCard/BCardImg.vue.d.mts +22 -0
- package/dist/src/components/BCard/BCardImg.vue.d.ts +14 -70
- package/dist/src/components/BCard/BCardSubtitle.vue.d.mts +23 -0
- package/dist/src/components/BCard/BCardSubtitle.vue.d.ts +16 -35
- package/dist/src/components/BCard/BCardText.vue.d.mts +22 -0
- package/dist/src/components/BCard/BCardText.vue.d.ts +15 -32
- package/dist/src/components/BCard/BCardTitle.vue.d.mts +22 -0
- package/dist/src/components/BCard/BCardTitle.vue.d.ts +15 -32
- package/dist/src/components/BCard/index.d.mts +9 -0
- package/dist/src/components/BCard/index.d.ts +9 -0
- package/dist/src/components/BCard/index.mjs +14 -0
- package/dist/src/components/BCard/index.mjs.map +1 -0
- package/dist/src/components/BCard/index.umd.js +2 -0
- package/dist/src/components/BCard/index.umd.js.map +1 -0
- package/dist/src/components/BCarousel/BCarousel.vue.d.mts +65 -0
- package/dist/src/components/BCarousel/BCarousel.vue.d.ts +39 -166
- package/dist/src/components/BCarousel/BCarouselSlide.vue.d.mts +46 -0
- package/dist/src/components/BCarousel/BCarouselSlide.vue.d.ts +27 -76
- package/dist/src/components/BCarousel/index.d.mts +2 -0
- package/dist/src/components/BCarousel/index.d.ts +2 -0
- package/dist/src/components/BCarousel/index.mjs +6 -0
- package/dist/src/components/BCarousel/index.mjs.map +1 -0
- package/dist/src/components/BCarousel/index.umd.js +2 -0
- package/dist/src/components/BCarousel/index.umd.js.map +1 -0
- package/dist/src/components/BCol/index.d.mts +1 -0
- package/dist/src/components/BCol/index.d.ts +1 -0
- package/dist/src/components/BCol/index.mjs +5 -0
- package/dist/src/components/BCol/index.mjs.map +1 -0
- package/dist/src/components/BCol/index.umd.js +2 -0
- package/dist/src/components/BCol/index.umd.js.map +1 -0
- package/dist/src/components/BCollapse/BCollapse.vue.d.mts +67 -0
- package/dist/src/components/BCollapse/BCollapse.vue.d.ts +67 -0
- package/dist/src/components/BCollapse/index.d.mts +1 -0
- package/dist/src/components/BCollapse/index.d.ts +1 -0
- package/dist/src/components/BCollapse/index.mjs +5 -0
- package/dist/src/components/BCollapse/index.mjs.map +1 -0
- package/dist/src/components/BCollapse/index.umd.js +2 -0
- package/dist/src/components/BCollapse/index.umd.js.map +1 -0
- package/dist/src/components/BContainer/BCol.vue.d.mts +41 -0
- package/dist/src/components/BContainer/BCol.vue.d.ts +41 -0
- package/dist/src/components/BContainer/BContainer.vue.d.mts +22 -0
- package/dist/src/components/BContainer/BContainer.vue.d.ts +22 -0
- package/dist/src/components/BContainer/BRow.vue.d.mts +33 -0
- package/dist/src/components/BContainer/BRow.vue.d.ts +33 -0
- package/dist/src/components/BContainer/index.d.mts +3 -0
- package/dist/src/components/BContainer/index.d.ts +3 -0
- package/dist/src/components/BContainer/index.mjs +9 -0
- package/dist/src/components/BContainer/index.mjs.map +1 -0
- package/dist/src/components/BContainer/index.umd.js +2 -0
- package/dist/src/components/BContainer/index.umd.js.map +1 -0
- package/dist/src/components/BDropdown/BDropdown.vue.d.mts +492 -0
- package/dist/src/components/BDropdown/BDropdown.vue.d.ts +462 -375
- package/dist/src/components/BDropdown/BDropdownDivider.vue.d.mts +5 -0
- package/dist/src/components/BDropdown/BDropdownDivider.vue.d.ts +3 -25
- package/dist/src/components/BDropdown/BDropdownForm.vue.d.mts +18 -0
- package/dist/src/components/BDropdown/BDropdownForm.vue.d.ts +12 -5
- package/dist/src/components/BDropdown/BDropdownGroup.vue.d.mts +28 -0
- package/dist/src/components/BDropdown/BDropdownGroup.vue.d.ts +18 -43
- package/dist/src/components/BDropdown/BDropdownHeader.vue.d.mts +18 -0
- package/dist/src/components/BDropdown/BDropdownHeader.vue.d.ts +12 -5
- package/dist/src/components/BDropdown/BDropdownItem.vue.d.mts +46 -0
- package/dist/src/components/BDropdown/BDropdownItem.vue.d.ts +34 -91
- package/dist/src/components/BDropdown/BDropdownItemButton.vue.d.mts +30 -0
- package/dist/src/components/BDropdown/BDropdownItemButton.vue.d.ts +21 -46
- package/dist/src/components/BDropdown/BDropdownText.vue.d.mts +21 -0
- package/dist/src/components/BDropdown/BDropdownText.vue.d.ts +14 -29
- package/dist/src/components/BDropdown/index.d.mts +8 -0
- package/dist/src/components/BDropdown/index.d.ts +8 -0
- package/dist/src/components/BDropdown/index.mjs +13 -0
- package/dist/src/components/BDropdown/index.mjs.map +1 -0
- package/dist/src/components/BDropdown/index.umd.js +2 -0
- package/dist/src/components/BDropdown/index.umd.js.map +1 -0
- package/dist/src/components/BForm/BForm.vue.d.mts +28 -0
- package/dist/src/components/BForm/BForm.vue.d.ts +18 -37
- package/dist/src/components/BForm/BFormDatalist.vue.d.mts +22 -0
- package/dist/src/components/BForm/BFormDatalist.vue.d.ts +10 -52
- package/dist/src/components/BForm/BFormFloatingLabel.vue.d.mts +24 -0
- package/dist/src/components/BForm/BFormFloatingLabel.vue.d.ts +16 -35
- package/dist/src/components/BForm/BFormInvalidFeedback.vue.d.mts +28 -0
- package/dist/src/components/BForm/BFormInvalidFeedback.vue.d.ts +18 -47
- package/dist/src/components/BForm/BFormRow.vue.d.mts +21 -0
- package/dist/src/components/BForm/BFormRow.vue.d.ts +14 -29
- package/dist/src/components/BForm/BFormText.vue.d.mts +25 -0
- package/dist/src/components/BForm/BFormText.vue.d.ts +16 -39
- package/dist/src/components/BForm/BFormValidFeedback.vue.d.mts +28 -0
- package/dist/src/components/BForm/BFormValidFeedback.vue.d.ts +18 -47
- package/dist/src/components/BForm/index.d.mts +7 -0
- package/dist/src/components/BForm/index.d.ts +7 -0
- package/dist/src/components/BForm/index.mjs +13 -0
- package/dist/src/components/BForm/index.mjs.map +1 -0
- package/dist/src/components/BForm/index.umd.js +2 -0
- package/dist/src/components/BForm/index.umd.js.map +1 -0
- package/dist/src/components/BFormCheckbox/BFormCheckbox.vue.d.mts +59 -0
- package/dist/src/components/BFormCheckbox/BFormCheckbox.vue.d.ts +42 -196
- package/dist/src/components/BFormCheckbox/BFormCheckboxGroup.vue.d.mts +56 -0
- package/dist/src/components/BFormCheckbox/BFormCheckboxGroup.vue.d.ts +38 -194
- package/dist/src/components/BFormCheckbox/index.d.mts +2 -0
- package/dist/src/components/BFormCheckbox/index.d.ts +2 -0
- package/dist/src/components/BFormCheckbox/index.mjs +6 -0
- package/dist/src/components/BFormCheckbox/index.mjs.map +1 -0
- package/dist/src/components/BFormCheckbox/index.umd.js +2 -0
- package/dist/src/components/BFormCheckbox/index.umd.js.map +1 -0
- package/dist/src/components/BFormFile/BFormFile.vue.d.mts +55 -0
- package/dist/src/components/BFormFile/BFormFile.vue.d.ts +36 -182
- package/dist/src/components/BFormFile/index.d.mts +1 -0
- package/dist/src/components/BFormFile/index.d.ts +1 -0
- package/dist/src/components/BFormFile/index.mjs +5 -0
- package/dist/src/components/BFormFile/index.mjs.map +1 -0
- package/dist/src/components/BFormFile/index.umd.js +2 -0
- package/dist/src/components/BFormFile/index.umd.js.map +1 -0
- package/dist/src/components/BFormGroup/BFormGroup.vue.d.mts +540 -0
- package/dist/src/components/BFormGroup/BFormGroup.vue.d.ts +252 -13
- package/dist/src/components/BFormGroup/index.d.mts +1 -0
- package/dist/src/components/BFormGroup/index.d.ts +1 -0
- package/dist/src/components/BFormGroup/index.mjs +5 -0
- package/dist/src/components/BFormGroup/index.mjs.map +1 -0
- package/dist/src/components/BFormGroup/index.umd.js +2 -0
- package/dist/src/components/BFormGroup/index.umd.js.map +1 -0
- package/dist/src/components/BFormInput/BFormInput.vue.d.mts +40 -0
- package/dist/src/components/BFormInput/BFormInput.vue.d.ts +31 -202
- package/dist/src/components/BFormInput/index.d.mts +2 -0
- package/dist/src/components/BFormInput/index.d.ts +2 -0
- package/dist/src/components/BFormInput/index.mjs +6 -0
- package/dist/src/components/BFormInput/index.mjs.map +1 -0
- package/dist/src/components/BFormInput/index.umd.js +2 -0
- package/dist/src/components/BFormInput/index.umd.js.map +1 -0
- package/dist/src/components/BFormRadio/BFormRadio.vue.d.mts +52 -0
- package/dist/src/components/BFormRadio/BFormRadio.vue.d.ts +36 -159
- package/dist/src/components/BFormRadio/BFormRadioGroup.vue.d.mts +55 -0
- package/dist/src/components/BFormRadio/BFormRadioGroup.vue.d.ts +38 -186
- package/dist/src/components/BFormRadio/index.d.mts +2 -0
- package/dist/src/components/BFormRadio/index.d.ts +2 -0
- package/dist/src/components/BFormRadio/index.mjs +6 -0
- package/dist/src/components/BFormRadio/index.mjs.map +1 -0
- package/dist/src/components/BFormRadio/index.umd.js +2 -0
- package/dist/src/components/BFormRadio/index.umd.js.map +1 -0
- package/dist/src/components/BFormSelect/BFormSelect.vue.d.mts +34 -0
- package/dist/src/components/BFormSelect/BFormSelect.vue.d.ts +19 -103
- package/dist/src/components/BFormSelect/BFormSelectOption.vue.d.mts +20 -0
- package/dist/src/components/BFormSelect/BFormSelectOption.vue.d.ts +8 -34
- package/dist/src/components/BFormSelect/BFormSelectOptionGroup.vue.d.mts +22 -0
- package/dist/src/components/BFormSelect/BFormSelectOptionGroup.vue.d.ts +10 -52
- package/dist/src/components/BFormSelect/index.d.mts +3 -0
- package/dist/src/components/BFormSelect/index.d.ts +3 -0
- package/dist/src/components/BFormSelect/index.mjs +8 -0
- package/dist/src/components/BFormSelect/index.mjs.map +1 -0
- package/dist/src/components/BFormSelect/index.umd.js +2 -0
- package/dist/src/components/BFormSelect/index.umd.js.map +1 -0
- package/dist/src/components/BFormSpinbutton/BFormSpinbutton.vue.d.mts +58 -0
- package/dist/src/components/BFormSpinbutton/BFormSpinbutton.vue.d.ts +31 -228
- package/dist/src/components/BFormSpinbutton/index.d.mts +1 -0
- package/dist/src/components/BFormSpinbutton/index.d.ts +1 -0
- package/dist/src/components/BFormSpinbutton/index.mjs +5 -0
- package/dist/src/components/BFormSpinbutton/index.mjs.map +1 -0
- package/dist/src/components/BFormSpinbutton/index.umd.js +2 -0
- package/dist/src/components/BFormSpinbutton/index.umd.js.map +1 -0
- package/dist/src/components/BFormTags/BFormTag.vue.d.mts +32 -0
- package/dist/src/components/BFormTags/BFormTag.vue.d.ts +20 -49
- package/dist/src/components/BFormTags/BFormTags.vue.d.mts +135 -0
- package/dist/src/components/BFormTags/BFormTags.vue.d.ts +99 -366
- package/dist/src/components/BFormTags/index.d.mts +2 -0
- package/dist/src/components/BFormTags/index.d.ts +2 -0
- package/dist/src/components/BFormTags/index.mjs +6 -0
- package/dist/src/components/BFormTags/index.mjs.map +1 -0
- package/dist/src/components/BFormTags/index.umd.js +2 -0
- package/dist/src/components/BFormTags/index.umd.js.map +1 -0
- package/dist/src/components/BFormTextarea/BFormTextarea.vue.d.mts +39 -0
- package/dist/src/components/BFormTextarea/BFormTextarea.vue.d.ts +29 -192
- package/dist/src/components/BFormTextarea/index.d.mts +1 -0
- package/dist/src/components/BFormTextarea/index.d.ts +1 -0
- package/dist/src/components/BFormTextarea/index.mjs +5 -0
- package/dist/src/components/BFormTextarea/index.mjs.map +1 -0
- package/dist/src/components/BFormTextarea/index.umd.js +2 -0
- package/dist/src/components/BFormTextarea/index.umd.js.map +1 -0
- package/dist/src/components/BImg/BImg.vue.d.mts +23 -0
- package/dist/src/components/BImg/BImg.vue.d.ts +23 -0
- package/dist/src/components/BImg/index.d.mts +1 -0
- package/dist/src/components/BImg/index.d.ts +1 -0
- package/dist/src/components/BImg/index.mjs +5 -0
- package/dist/src/components/BImg/index.mjs.map +1 -0
- package/dist/src/components/BImg/index.umd.js +2 -0
- package/dist/src/components/BImg/index.umd.js.map +1 -0
- package/dist/src/components/BInputGroup/BInputGroup.vue.d.mts +31 -0
- package/dist/src/components/BInputGroup/BInputGroup.vue.d.ts +20 -47
- package/dist/src/components/BInputGroup/BInputGroupText.vue.d.mts +22 -0
- package/dist/src/components/BInputGroup/BInputGroupText.vue.d.ts +15 -32
- package/dist/src/components/BInputGroup/index.d.mts +2 -0
- package/dist/src/components/BInputGroup/index.d.ts +2 -0
- package/dist/src/components/BInputGroup/index.mjs +6 -0
- package/dist/src/components/BInputGroup/index.mjs.map +1 -0
- package/dist/src/components/BInputGroup/index.umd.js +2 -0
- package/dist/src/components/BInputGroup/index.umd.js.map +1 -0
- package/dist/src/components/BLink/BLink.vue.d.mts +45 -0
- package/dist/src/components/BLink/BLink.vue.d.ts +31 -86
- package/dist/src/components/BLink/index.d.mts +1 -0
- package/dist/src/components/BLink/index.d.ts +1 -0
- package/dist/src/components/BLink/index.mjs +5 -0
- package/dist/src/components/BLink/index.mjs.map +1 -0
- package/dist/src/components/BLink/index.umd.js +2 -0
- package/dist/src/components/BLink/index.umd.js.map +1 -0
- package/dist/src/components/BListGroup/BListGroup.vue.d.mts +24 -0
- package/dist/src/components/BListGroup/BListGroup.vue.d.ts +15 -36
- package/dist/src/components/BListGroup/BListGroupItem.vue.d.mts +43 -0
- package/dist/src/components/BListGroup/BListGroupItem.vue.d.ts +30 -89
- package/dist/src/components/BListGroup/index.d.mts +2 -0
- package/dist/src/components/BListGroup/index.d.ts +2 -0
- package/dist/src/components/BListGroup/index.mjs +6 -0
- package/dist/src/components/BListGroup/index.mjs.map +1 -0
- package/dist/src/components/BListGroup/index.umd.js +2 -0
- package/dist/src/components/BListGroup/index.umd.js.map +1 -0
- package/dist/src/components/BModal/BModal.vue.d.mts +456 -0
- package/dist/src/components/BModal/BModal.vue.d.ts +416 -528
- package/dist/src/components/BModal/BModalOrchestrator.vue.d.mts +14 -0
- package/dist/src/components/BModal/BModalOrchestrator.vue.d.ts +11 -48
- package/dist/src/components/BModal/index.d.mts +2 -0
- package/dist/src/components/BModal/index.d.ts +2 -0
- package/dist/src/components/BModal/index.mjs +6 -0
- package/dist/src/components/BModal/index.mjs.map +1 -0
- package/dist/src/components/BModal/index.umd.js +2 -0
- package/dist/src/components/BModal/index.umd.js.map +1 -0
- package/dist/src/components/BNav/BNav.vue.d.mts +30 -0
- package/dist/src/components/BNav/BNav.vue.d.ts +15 -48
- package/dist/src/components/BNav/BNavForm.vue.d.mts +29 -0
- package/dist/src/components/BNav/BNavForm.vue.d.ts +17 -40
- package/dist/src/components/BNav/BNavItem.vue.d.mts +46 -0
- package/dist/src/components/BNav/BNavItem.vue.d.ts +34 -91
- package/dist/src/components/BNav/BNavItemDropdown.vue.d.mts +348 -0
- package/dist/src/components/BNav/BNavItemDropdown.vue.d.ts +319 -369
- package/dist/src/components/BNav/BNavText.vue.d.mts +21 -0
- package/dist/src/components/BNav/BNavText.vue.d.ts +14 -29
- package/dist/src/components/BNav/index.d.mts +5 -0
- package/dist/src/components/BNav/index.d.ts +5 -0
- package/dist/src/components/BNav/index.mjs +9 -0
- package/dist/src/components/BNav/index.mjs.map +1 -0
- package/dist/src/components/BNav/index.umd.js +2 -0
- package/dist/src/components/BNav/index.umd.js.map +1 -0
- package/dist/src/components/BNavbar/BNavbar.vue.d.mts +28 -0
- package/dist/src/components/BNavbar/BNavbar.vue.d.ts +19 -48
- package/dist/src/components/BNavbar/BNavbarBrand.vue.d.mts +41 -0
- package/dist/src/components/BNavbar/BNavbarBrand.vue.d.ts +30 -85
- package/dist/src/components/BNavbar/BNavbarNav.vue.d.mts +25 -0
- package/dist/src/components/BNavbar/BNavbarNav.vue.d.ts +15 -38
- package/dist/src/components/BNavbar/BNavbarToggle.vue.d.mts +27 -0
- package/dist/src/components/BNavbar/BNavbarToggle.vue.d.ts +18 -37
- package/dist/src/components/BNavbar/index.d.mts +4 -0
- package/dist/src/components/BNavbar/index.d.ts +4 -0
- package/dist/src/components/BNavbar/index.mjs +8 -0
- package/dist/src/components/BNavbar/index.mjs.map +1 -0
- package/dist/src/components/BNavbar/index.umd.js +2 -0
- package/dist/src/components/BNavbar/index.umd.js.map +1 -0
- package/dist/src/components/BOffcanvas/BOffcanvas.vue.d.mts +90 -0
- package/dist/src/components/BOffcanvas/BOffcanvas.vue.d.ts +62 -239
- package/dist/src/components/BOffcanvas/index.d.mts +1 -0
- package/dist/src/components/BOffcanvas/index.d.ts +1 -0
- package/dist/src/components/BOffcanvas/index.mjs +5 -0
- package/dist/src/components/BOffcanvas/index.mjs.map +1 -0
- package/dist/src/components/BOffcanvas/index.umd.js +2 -0
- package/dist/src/components/BOffcanvas/index.umd.js.map +1 -0
- package/dist/src/components/BOverlay/BOverlay.vue.d.mts +56 -0
- package/dist/src/components/BOverlay/BOverlay.vue.d.ts +41 -99
- package/dist/src/components/BOverlay/index.d.mts +1 -0
- package/dist/src/components/BOverlay/index.d.ts +1 -0
- package/dist/src/components/BOverlay/index.mjs +5 -0
- package/dist/src/components/BOverlay/index.mjs.map +1 -0
- package/dist/src/components/BOverlay/index.umd.js +2 -0
- package/dist/src/components/BOverlay/index.umd.js.map +1 -0
- package/dist/src/components/BPagination/BPagination.vue.d.mts +58 -0
- package/dist/src/components/BPagination/BPagination.vue.d.ts +24 -253
- package/dist/src/components/BPagination/index.d.mts +1 -0
- package/dist/src/components/BPagination/index.d.ts +1 -0
- package/dist/src/components/BPagination/index.mjs +5 -0
- package/dist/src/components/BPagination/index.mjs.map +1 -0
- package/dist/src/components/BPagination/index.umd.js +2 -0
- package/dist/src/components/BPagination/index.umd.js.map +1 -0
- package/dist/src/components/BPlaceholder/BPlaceholder.vue.d.mts +11 -0
- package/dist/src/components/BPlaceholder/BPlaceholder.vue.d.ts +8 -42
- package/dist/src/components/BPlaceholder/BPlaceholderButton.vue.d.mts +9 -0
- package/dist/src/components/BPlaceholder/BPlaceholderButton.vue.d.ts +7 -37
- package/dist/src/components/BPlaceholder/BPlaceholderCard.vue.d.mts +45 -0
- package/dist/src/components/BPlaceholder/BPlaceholderCard.vue.d.ts +33 -84
- package/dist/src/components/BPlaceholder/BPlaceholderTable.vue.d.mts +42 -0
- package/dist/src/components/BPlaceholder/BPlaceholderTable.vue.d.ts +34 -83
- package/dist/src/components/BPlaceholder/BPlaceholderWrapper.vue.d.mts +23 -0
- package/dist/src/components/BPlaceholder/BPlaceholderWrapper.vue.d.ts +16 -31
- package/dist/src/components/BPlaceholder/index.d.mts +5 -0
- package/dist/src/components/BPlaceholder/index.d.ts +5 -0
- package/dist/src/components/BPlaceholder/index.mjs +9 -0
- package/dist/src/components/BPlaceholder/index.mjs.map +1 -0
- package/dist/src/components/BPlaceholder/index.umd.js +2 -0
- package/dist/src/components/BPlaceholder/index.umd.js.map +1 -0
- package/dist/src/components/BPopover/BPopover.vue.d.mts +98 -0
- package/dist/src/components/BPopover/BPopover.vue.d.ts +98 -0
- package/dist/src/components/BPopover/BPopoverOrchestrator.vue.d.mts +7 -0
- package/dist/src/components/BPopover/BPopoverOrchestrator.vue.d.ts +7 -0
- package/dist/src/components/BPopover/index.d.mts +2 -0
- package/dist/src/components/BPopover/index.d.ts +2 -0
- package/dist/src/components/BPopover/index.mjs +7 -0
- package/dist/src/components/BPopover/index.mjs.map +1 -0
- package/dist/src/components/BPopover/index.umd.js +2 -0
- package/dist/src/components/BPopover/index.umd.js.map +1 -0
- package/dist/src/components/BProgress/BProgress.vue.d.mts +31 -0
- package/dist/src/components/BProgress/BProgress.vue.d.ts +22 -57
- package/dist/src/components/BProgress/BProgressBar.vue.d.mts +32 -0
- package/dist/src/components/BProgress/BProgressBar.vue.d.ts +22 -59
- package/dist/src/components/BProgress/index.d.mts +2 -0
- package/dist/src/components/BProgress/index.d.ts +2 -0
- package/dist/src/components/BProgress/index.mjs +6 -0
- package/dist/src/components/BProgress/index.mjs.map +1 -0
- package/dist/src/components/BProgress/index.umd.js +2 -0
- package/dist/src/components/BProgress/index.umd.js.map +1 -0
- package/dist/src/components/BRow/index.d.mts +1 -0
- package/dist/src/components/BRow/index.d.ts +1 -0
- package/dist/src/components/BRow/index.mjs +5 -0
- package/dist/src/components/BRow/index.mjs.map +1 -0
- package/dist/src/components/BRow/index.umd.js +2 -0
- package/dist/src/components/BRow/index.umd.js.map +1 -0
- package/dist/src/components/BSpinner/BSpinner.vue.d.mts +26 -0
- package/dist/src/components/BSpinner/BSpinner.vue.d.ts +26 -0
- package/dist/src/components/BSpinner/index.d.mts +1 -0
- package/dist/src/components/BSpinner/index.d.ts +1 -0
- package/dist/src/components/BSpinner/index.mjs +5 -0
- package/dist/src/components/BSpinner/index.mjs.map +1 -0
- package/dist/src/components/BSpinner/index.umd.js +2 -0
- package/dist/src/components/BSpinner/index.umd.js.map +1 -0
- package/dist/src/components/BTable/BTable.vue.d.mts +117 -0
- package/dist/src/components/BTable/BTable.vue.d.ts +38 -371
- package/dist/src/components/BTable/BTableLite.vue.d.mts +111 -0
- package/dist/src/components/BTable/BTableLite.vue.d.ts +44 -356
- package/dist/src/components/BTable/BTableSimple.vue.d.mts +39 -0
- package/dist/src/components/BTable/BTableSimple.vue.d.ts +22 -73
- package/dist/src/components/BTable/BTbody.vue.d.mts +21 -0
- package/dist/src/components/BTable/BTbody.vue.d.ts +14 -29
- package/dist/src/components/BTable/BTd.vue.d.mts +25 -0
- package/dist/src/components/BTable/BTd.vue.d.ts +18 -41
- package/dist/src/components/BTable/BTfoot.vue.d.mts +21 -0
- package/dist/src/components/BTable/BTfoot.vue.d.ts +14 -29
- package/dist/src/components/BTable/BTh.vue.d.mts +25 -0
- package/dist/src/components/BTable/BTh.vue.d.ts +18 -41
- package/dist/src/components/BTable/BThead.vue.d.mts +21 -0
- package/dist/src/components/BTable/BThead.vue.d.ts +14 -29
- package/dist/src/components/BTable/BTr.vue.d.mts +21 -0
- package/dist/src/components/BTable/BTr.vue.d.ts +14 -29
- package/dist/src/components/BTable/index.d.mts +9 -0
- package/dist/src/components/BTable/index.d.ts +9 -0
- package/dist/src/components/BTable/index.mjs +14 -0
- package/dist/src/components/BTable/index.mjs.map +1 -0
- package/dist/src/components/BTable/index.umd.js +2 -0
- package/dist/src/components/BTable/index.umd.js.map +1 -0
- package/dist/src/components/BTabs/BTab.vue.d.mts +43 -0
- package/dist/src/components/BTabs/BTab.vue.d.ts +32 -106
- package/dist/src/components/BTabs/BTabs.vue.d.mts +64 -0
- package/dist/src/components/BTabs/BTabs.vue.d.ts +47 -213
- package/dist/src/components/BTabs/index.d.mts +2 -0
- package/dist/src/components/BTabs/index.d.ts +2 -0
- package/dist/src/components/BTabs/index.mjs +6 -0
- package/dist/src/components/BTabs/index.mjs.map +1 -0
- package/dist/src/components/BTabs/index.umd.js +2 -0
- package/dist/src/components/BTabs/index.umd.js.map +1 -0
- package/dist/src/components/BToast/BToast.vue.d.mts +95 -0
- package/dist/src/components/BToast/BToast.vue.d.ts +67 -364
- package/dist/src/components/BToast/BToastOrchestrator.vue.d.mts +13 -0
- package/dist/src/components/BToast/BToastOrchestrator.vue.d.ts +9 -42
- package/dist/src/components/BToast/index.d.mts +2 -0
- package/dist/src/components/BToast/index.d.ts +2 -0
- package/dist/src/components/BToast/index.mjs +6 -0
- package/dist/src/components/BToast/index.mjs.map +1 -0
- package/dist/src/components/BToast/index.umd.js +2 -0
- package/dist/src/components/BToast/index.umd.js.map +1 -0
- package/dist/src/components/BTooltip/BTooltip.vue.d.mts +276 -0
- package/dist/src/components/BTooltip/BTooltip.vue.d.ts +276 -0
- package/dist/src/components/BTooltip/BTooltipOrchestrator.vue.d.mts +7 -0
- package/dist/src/components/BTooltip/BTooltipOrchestrator.vue.d.ts +7 -0
- package/dist/src/components/BTooltip/index.d.mts +2 -0
- package/dist/src/components/BTooltip/index.d.ts +2 -0
- package/dist/src/components/BTooltip/index.mjs +6 -0
- package/dist/src/components/BTooltip/index.mjs.map +1 -0
- package/dist/src/components/BTooltip/index.umd.js +2 -0
- package/dist/src/components/BTooltip/index.umd.js.map +1 -0
- package/dist/src/components/BTransition.vue.d.mts +50 -0
- package/dist/src/components/BTransition.vue.d.ts +50 -0
- package/dist/src/components/RenderComponentOrSkip.vue.d.mts +39 -0
- package/dist/src/components/RenderComponentOrSkip.vue.d.ts +10 -11
- package/dist/src/components/index.d.mts +39 -0
- package/dist/src/components/index.d.ts +39 -101
- package/dist/src/components/index.mjs +155 -0
- package/dist/src/components/index.mjs.map +1 -0
- package/dist/src/components/index.umd.js +2 -0
- package/dist/src/components/index.umd.js.map +1 -0
- package/dist/src/composables/index.d.mts +8 -0
- package/dist/src/composables/index.d.ts +8 -25
- package/dist/src/composables/index.mjs +19 -0
- package/dist/src/composables/index.mjs.map +1 -0
- package/dist/src/composables/index.umd.js +2 -0
- package/dist/src/composables/index.umd.js.map +1 -0
- package/dist/src/composables/useActivatedFocusTrap.d.mts +21 -0
- package/dist/src/composables/useActivatedFocusTrap.d.ts +1 -2
- package/dist/src/composables/useAlignment.d.mts +3 -0
- package/dist/src/composables/useAlignment.d.ts +2 -4
- package/dist/src/composables/useAriaInvalid.d.mts +3 -0
- package/dist/src/composables/useAriaInvalid.d.ts +2 -4
- package/dist/src/composables/useBLinkHelper.d.mts +7 -0
- package/dist/src/composables/useBLinkHelper.d.ts +2 -4
- package/dist/src/composables/useBreadcrumb/index.d.mts +4 -0
- package/dist/src/composables/useBreadcrumb/index.d.ts +4 -0
- package/dist/src/composables/useBreadcrumb/index.mjs +7 -0
- package/dist/src/composables/useBreadcrumb/index.mjs.map +1 -0
- package/dist/src/composables/useBreadcrumb/index.umd.js +2 -0
- package/dist/src/composables/useBreadcrumb/index.umd.js.map +1 -0
- package/dist/src/composables/{useColorMode.d.ts → useColorMode/index.d.mts} +1 -3
- package/dist/src/composables/useColorMode/index.d.ts +9 -0
- package/dist/src/composables/useColorMode/index.mjs +16 -0
- package/dist/src/composables/useColorMode/index.mjs.map +1 -0
- package/dist/src/composables/useColorMode/index.umd.js +2 -0
- package/dist/src/composables/useColorMode/index.umd.js.map +1 -0
- package/dist/src/composables/useColorVariantClasses.d.mts +5 -0
- package/dist/src/composables/useColorVariantClasses.d.ts +2 -4
- package/dist/src/composables/useContainerClasses.d.mts +6 -0
- package/dist/src/composables/useContainerClasses.d.ts +2 -4
- package/dist/src/composables/useCountdown.d.mts +18 -0
- package/dist/src/composables/useCountdown.d.ts +11 -16
- package/dist/src/composables/useCountdownHover.d.mts +10 -0
- package/dist/src/composables/useCountdownHover.d.ts +10 -0
- package/dist/src/composables/useDefaults.d.mts +2 -0
- package/dist/src/composables/useDefaults.d.ts +1 -2
- package/dist/src/composables/useFormCheck.d.mts +62 -0
- package/dist/src/composables/useFormCheck.d.ts +4 -3
- package/dist/src/composables/useFormInput.d.mts +13 -0
- package/dist/src/composables/useFormInput.d.ts +3 -5
- package/dist/src/composables/useFormSelect.d.mts +9 -0
- package/dist/src/composables/useFormSelect.d.ts +4 -9
- package/dist/src/composables/useId.d.mts +2 -0
- package/dist/src/composables/useId.d.ts +1 -4
- package/dist/src/composables/useLinkClasses.d.mts +7 -0
- package/dist/src/composables/useLinkClasses.d.ts +1 -2
- package/dist/src/composables/useManualTransition.d.mts +5 -0
- package/dist/src/composables/useManualTransition.d.ts +1 -3
- package/dist/src/composables/useModal/index.d.mts +6 -0
- package/dist/src/composables/useModal/index.d.ts +6 -0
- package/dist/src/composables/useModal/index.mjs +51 -0
- package/dist/src/composables/useModal/index.mjs.map +1 -0
- package/dist/src/composables/useModal/index.umd.js +2 -0
- package/dist/src/composables/useModal/index.umd.js.map +1 -0
- package/dist/src/composables/useModalController/index.d.mts +9 -0
- package/dist/src/composables/useModalController/index.d.ts +9 -0
- package/dist/src/composables/useModalController/index.mjs +29 -0
- package/dist/src/composables/useModalController/index.mjs.map +1 -0
- package/dist/src/composables/useModalController/index.umd.js +2 -0
- package/dist/src/composables/useModalController/index.umd.js.map +1 -0
- package/dist/src/composables/useModalManager.d.mts +17 -0
- package/dist/src/composables/useModalManager.d.ts +2 -4
- package/dist/src/composables/useNumberishToStyle.d.mts +3 -0
- package/dist/src/composables/useNumberishToStyle.d.ts +2 -4
- package/dist/src/composables/usePopover/index.d.mts +6 -0
- package/dist/src/composables/usePopover/index.d.ts +6 -0
- package/dist/src/composables/usePopover/index.mjs +7 -0
- package/dist/src/composables/usePopover/index.mjs.map +1 -0
- package/dist/src/composables/usePopover/index.umd.js +2 -0
- package/dist/src/composables/usePopover/index.umd.js.map +1 -0
- package/dist/src/composables/useRadiusElementClasses.d.mts +5 -0
- package/dist/src/composables/useRadiusElementClasses.d.ts +2 -4
- package/dist/src/composables/useRtl.d.mts +4 -0
- package/dist/src/composables/useRtl.d.ts +3 -4
- package/dist/src/composables/useSafeScrollLock.d.mts +2 -0
- package/dist/src/composables/useSafeScrollLock.d.ts +1 -3
- package/dist/src/composables/{useScrollspy.d.ts → useScrollspy/index.d.mts} +2 -3
- package/dist/src/composables/useScrollspy/index.d.ts +27 -0
- package/dist/src/composables/useScrollspy/index.mjs +179 -0
- package/dist/src/composables/useScrollspy/index.mjs.map +1 -0
- package/dist/src/composables/useScrollspy/index.umd.js +2 -0
- package/dist/src/composables/useScrollspy/index.umd.js.map +1 -0
- package/dist/src/composables/useStateClass.d.mts +2 -0
- package/dist/src/composables/useStateClass.d.ts +1 -3
- package/dist/src/composables/useToast/index.d.mts +7 -0
- package/dist/src/composables/useToast/index.d.ts +7 -0
- package/dist/src/composables/useToast/index.mjs +7 -0
- package/dist/src/composables/useToast/index.mjs.map +1 -0
- package/dist/src/composables/useToast/index.umd.js +2 -0
- package/dist/src/composables/useToast/index.umd.js.map +1 -0
- package/dist/src/composables/useTooltip/index.d.mts +6 -0
- package/dist/src/composables/useTooltip/index.d.ts +6 -0
- package/dist/src/composables/useTooltip/index.mjs +7 -0
- package/dist/src/composables/useTooltip/index.mjs.map +1 -0
- package/dist/src/composables/useTooltip/index.umd.js +2 -0
- package/dist/src/composables/useTooltip/index.umd.js.map +1 -0
- package/dist/src/composables/useTransitions.d.mts +11 -0
- package/dist/src/composables/useTransitions.d.ts +0 -1
- package/dist/src/directives/BColorMode/index.d.mts +2 -0
- package/dist/src/directives/BColorMode/index.d.ts +2 -0
- package/dist/src/directives/BColorMode/index.mjs +13 -0
- package/dist/src/directives/BColorMode/index.mjs.map +1 -0
- package/dist/src/directives/BColorMode/index.umd.js +2 -0
- package/dist/src/directives/BColorMode/index.umd.js.map +1 -0
- package/dist/src/directives/BModal/index.d.mts +1 -0
- package/dist/src/directives/BModal/index.d.ts +1 -0
- package/dist/src/directives/BModal/index.mjs +5 -0
- package/dist/src/directives/BModal/index.mjs.map +1 -0
- package/dist/src/directives/BModal/index.umd.js +2 -0
- package/dist/src/directives/BModal/index.umd.js.map +1 -0
- package/dist/src/directives/BPopover/index.d.mts +3 -0
- package/dist/src/directives/BPopover/index.d.ts +3 -0
- package/dist/src/directives/BPopover/index.mjs +43 -0
- package/dist/src/directives/BPopover/index.mjs.map +1 -0
- package/dist/src/directives/BPopover/index.umd.js +2 -0
- package/dist/src/directives/BPopover/index.umd.js.map +1 -0
- package/dist/src/directives/BScrollspy/index.d.mts +6 -0
- package/dist/src/directives/BScrollspy/index.d.ts +6 -0
- package/dist/src/directives/BScrollspy/index.mjs +21 -0
- package/dist/src/directives/BScrollspy/index.mjs.map +1 -0
- package/dist/src/directives/BScrollspy/index.umd.js +2 -0
- package/dist/src/directives/BScrollspy/index.umd.js.map +1 -0
- package/dist/src/directives/BToggle/index.d.mts +5 -0
- package/dist/src/directives/BToggle/index.d.ts +5 -0
- package/dist/src/directives/BToggle/index.mjs +67 -0
- package/dist/src/directives/BToggle/index.mjs.map +1 -0
- package/dist/src/directives/BToggle/index.umd.js +2 -0
- package/dist/src/directives/BToggle/index.umd.js.map +1 -0
- package/dist/src/directives/BTooltip/index.d.mts +3 -0
- package/dist/src/directives/BTooltip/index.d.ts +3 -0
- package/dist/src/directives/BTooltip/index.mjs +47 -0
- package/dist/src/directives/BTooltip/index.mjs.map +1 -0
- package/dist/src/directives/BTooltip/index.umd.js +2 -0
- package/dist/src/directives/BTooltip/index.umd.js.map +1 -0
- package/dist/src/directives/index.d.mts +6 -0
- package/dist/src/directives/index.d.ts +6 -6
- package/dist/src/directives/index.mjs +14 -0
- package/dist/src/directives/index.mjs.map +1 -0
- package/dist/src/directives/index.umd.js +2 -0
- package/dist/src/directives/index.umd.js.map +1 -0
- package/dist/src/index.d.mts +14 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/main.d.mts +0 -0
- package/dist/src/main.d.ts +0 -1
- package/dist/src/plugins/breadcrumb/index.d.mts +2 -0
- package/dist/src/plugins/breadcrumb/index.d.ts +2 -0
- package/dist/src/plugins/breadcrumb/index.mjs +15 -0
- package/dist/src/plugins/breadcrumb/index.mjs.map +1 -0
- package/dist/src/plugins/breadcrumb/index.umd.js +2 -0
- package/dist/src/plugins/breadcrumb/index.umd.js.map +1 -0
- package/dist/src/plugins/createBootstrap/index.d.mts +3 -0
- package/dist/src/plugins/createBootstrap/index.d.ts +3 -0
- package/dist/src/plugins/createBootstrap/index.mjs +38 -0
- package/dist/src/plugins/createBootstrap/index.mjs.map +1 -0
- package/dist/src/plugins/createBootstrap/index.umd.js +2 -0
- package/dist/src/plugins/createBootstrap/index.umd.js.map +1 -0
- package/dist/src/plugins/defaults/index.d.mts +2 -0
- package/dist/src/plugins/defaults/index.d.ts +2 -0
- package/dist/src/plugins/defaults/index.mjs +12 -0
- package/dist/src/plugins/defaults/index.mjs.map +1 -0
- package/dist/src/plugins/defaults/index.umd.js +2 -0
- package/dist/src/plugins/defaults/index.umd.js.map +1 -0
- package/dist/src/plugins/index.d.mts +9 -0
- package/dist/src/plugins/index.d.ts +9 -7
- package/dist/src/plugins/index.mjs +21 -0
- package/dist/src/plugins/index.mjs.map +1 -0
- package/dist/src/plugins/index.umd.js +2 -0
- package/dist/src/plugins/index.umd.js.map +1 -0
- package/dist/src/plugins/modalController/index.d.mts +2 -0
- package/dist/src/plugins/modalController/index.d.ts +2 -0
- package/dist/src/plugins/modalController/index.mjs +75 -0
- package/dist/src/plugins/modalController/index.mjs.map +1 -0
- package/dist/src/plugins/modalController/index.umd.js +2 -0
- package/dist/src/plugins/modalController/index.umd.js.map +1 -0
- package/dist/src/plugins/modalManager/index.d.mts +2 -0
- package/dist/src/plugins/modalManager/index.d.ts +2 -0
- package/dist/src/plugins/modalManager/index.mjs +38 -0
- package/dist/src/plugins/modalManager/index.mjs.map +1 -0
- package/dist/src/plugins/modalManager/index.umd.js +2 -0
- package/dist/src/plugins/modalManager/index.umd.js.map +1 -0
- package/dist/src/plugins/popover/index.d.mts +2 -0
- package/dist/src/plugins/popover/index.d.ts +2 -0
- package/dist/src/plugins/popover/index.mjs +55 -0
- package/dist/src/plugins/popover/index.mjs.map +1 -0
- package/dist/src/plugins/popover/index.umd.js +2 -0
- package/dist/src/plugins/popover/index.umd.js.map +1 -0
- package/dist/src/plugins/rtl/index.d.mts +2 -0
- package/dist/src/plugins/rtl/index.d.ts +2 -0
- package/dist/src/plugins/rtl/index.mjs +18 -0
- package/dist/src/plugins/rtl/index.mjs.map +1 -0
- package/dist/src/plugins/rtl/index.umd.js +2 -0
- package/dist/src/plugins/rtl/index.umd.js.map +1 -0
- package/dist/src/plugins/toast/index.d.mts +2 -0
- package/dist/src/plugins/toast/index.d.ts +2 -0
- package/dist/src/plugins/toast/index.mjs +69 -0
- package/dist/src/plugins/toast/index.mjs.map +1 -0
- package/dist/src/plugins/toast/index.umd.js +2 -0
- package/dist/src/plugins/toast/index.umd.js.map +1 -0
- package/dist/src/plugins/tooltip/index.d.mts +2 -0
- package/dist/src/plugins/tooltip/index.d.ts +2 -0
- package/dist/src/plugins/tooltip/index.mjs +57 -0
- package/dist/src/plugins/tooltip/index.mjs.map +1 -0
- package/dist/src/plugins/tooltip/index.umd.js +2 -0
- package/dist/src/plugins/tooltip/index.umd.js.map +1 -0
- package/dist/src/resolvers/index.d.mts +10 -0
- package/dist/src/resolvers/index.d.ts +10 -0
- package/dist/src/resolvers/index.mjs +5 -0
- package/dist/src/resolvers/index.mjs.map +1 -0
- package/dist/src/resolvers/index.umd.js +2 -0
- package/dist/src/resolvers/index.umd.js.map +1 -0
- package/dist/src/types/Alignment.d.mts +12 -0
- package/dist/src/types/Animation.d.mts +1 -0
- package/dist/src/types/AnyValuedAttributes.d.mts +2 -0
- package/dist/src/types/AriaInvalid.d.mts +1 -0
- package/dist/src/types/BootstrapVueOptions.d.mts +284 -0
- package/dist/src/types/BootstrapVueOptions.d.ts +244 -26
- package/dist/src/types/BreadcrumbTypes.d.mts +9 -0
- package/dist/src/types/BreadcrumbTypes.d.ts +0 -1
- package/dist/src/types/BreakpointProps.d.mts +30 -0
- package/dist/src/types/ButtonType.d.mts +1 -0
- package/dist/src/types/CheckboxTypes.d.mts +7 -0
- package/dist/src/types/ColorTypes.d.mts +37 -0
- package/dist/src/types/CommonTypes.d.mts +6 -0
- package/dist/src/types/CommonTypes.d.ts +0 -1
- package/dist/src/types/ComponentOrchestratorTypes.d.mts +80 -0
- package/dist/src/types/ComponentOrchestratorTypes.d.ts +62 -5
- package/dist/src/types/ComponentProps.d.mts +1159 -0
- package/dist/src/types/ComponentProps.d.ts +28 -113
- package/dist/src/types/FormCommonInputProps.d.mts +26 -0
- package/dist/src/types/FormCommonInputProps.d.ts +3 -2
- package/dist/src/types/InputType.d.mts +1 -0
- package/dist/src/types/LinkTarget.d.mts +1 -0
- package/dist/src/types/LiteralUnion.d.mts +19 -0
- package/dist/src/types/MaybePromise.d.mts +1 -0
- package/dist/src/types/PaginationPage.d.mts +3 -0
- package/dist/src/types/PlaceholderTypes.d.mts +3 -0
- package/dist/src/types/PlaceholderTypes.d.ts +1 -2
- package/dist/src/types/PopoverPlacement.d.mts +2 -0
- package/dist/src/types/PopoverPlacement.d.ts +0 -1
- package/dist/src/types/Position.d.mts +1 -0
- package/dist/src/types/Props.d.mts +10 -0
- package/dist/src/types/RadioTypes.d.mts +7 -0
- package/dist/src/types/RadiusElement.d.mts +8 -0
- package/dist/src/types/SelectTypes.d.mts +16 -0
- package/dist/src/types/Size.d.mts +6 -0
- package/dist/src/types/SpinnerType.d.mts +1 -0
- package/dist/src/types/Tab.d.mts +15 -0
- package/dist/src/types/Tab.d.ts +4 -5
- package/dist/src/types/TableTypes.d.mts +53 -0
- package/dist/src/types/TableTypes.d.ts +5 -3
- package/dist/src/types/TransitionMode.d.mts +1 -0
- package/dist/src/types/index.d.mts +27 -0
- package/dist/src/types/index.d.ts +16 -20
- package/dist/src/utils/classes.d.mts +58 -0
- package/dist/src/utils/classes.d.ts +58 -0
- package/dist/src/{constants/codes.d.ts → utils/constants.d.mts} +11 -0
- package/dist/src/utils/constants.d.ts +25 -0
- package/dist/src/utils/dom.d.mts +11 -0
- package/dist/src/utils/dom.d.ts +0 -1
- package/dist/src/utils/event.d.mts +20 -0
- package/dist/src/utils/event.d.ts +1 -1
- package/dist/src/utils/filterEvent.d.mts +1 -0
- package/dist/src/utils/filterEvent.d.ts +1 -2
- package/dist/src/utils/floatingUi.d.mts +33 -0
- package/dist/src/utils/floatingUi.d.ts +4 -4
- package/dist/src/utils/formatItem.d.mts +2 -0
- package/dist/src/utils/formatItem.d.ts +2 -4
- package/dist/src/utils/getBreakpointProps.d.mts +2 -0
- package/dist/src/utils/getBreakpointProps.d.ts +2 -4
- package/dist/src/utils/getClasses.d.mts +1 -0
- package/dist/src/utils/getClasses.d.ts +1 -2
- package/dist/src/utils/getElement.d.mts +2 -0
- package/dist/src/utils/getElement.d.ts +1 -3
- package/dist/src/utils/getSlotElements.d.mts +2 -0
- package/dist/src/utils/getSlotElements.d.ts +1 -3
- package/dist/src/utils/getTableFieldHeadLabel.d.mts +2 -0
- package/dist/src/utils/getTableFieldHeadLabel.d.ts +2 -4
- package/dist/src/utils/index.d.mts +1 -0
- package/dist/src/utils/index.d.ts +0 -19
- package/dist/src/utils/index.mjs +7 -0
- package/dist/src/utils/index.mjs.map +1 -0
- package/dist/src/utils/index.umd.js +2 -0
- package/dist/src/utils/index.umd.js.map +1 -0
- package/dist/src/utils/isLink.d.mts +5 -0
- package/dist/src/utils/isLink.d.ts +1 -3
- package/dist/src/utils/keys.d.mts +153 -0
- package/dist/src/utils/keys.d.ts +40 -45
- package/dist/src/utils/normalizeInput.d.mts +2 -0
- package/dist/src/utils/normalizeInput.d.ts +2 -4
- package/dist/src/utils/normalizeSlot.d.mts +2 -0
- package/dist/src/utils/normalizeSlot.d.ts +1 -3
- package/dist/src/utils/object.d.mts +34 -0
- package/dist/src/utils/object.d.ts +2 -2
- package/dist/src/utils/positionClasses.d.mts +11 -0
- package/dist/src/utils/props.d.mts +8 -0
- package/dist/src/utils/sanitizer.d.mts +39 -0
- package/dist/src/utils/stringUtils.d.mts +32 -0
- package/dist/stringUtils-D2ajpVM0.js +2 -0
- package/dist/stringUtils-D2ajpVM0.js.map +1 -0
- package/dist/stringUtils-i6NkPGA1.mjs +16 -0
- package/dist/stringUtils-i6NkPGA1.mjs.map +1 -0
- package/dist/useAlignment-BTUJZ_9x.js +2 -0
- package/dist/useAlignment-BTUJZ_9x.js.map +1 -0
- package/dist/useAlignment-Cw-9AVid.mjs +9 -0
- package/dist/useAlignment-Cw-9AVid.mjs.map +1 -0
- package/dist/useAriaInvalid-BTUbGj3Y.mjs +11 -0
- package/dist/useAriaInvalid-BTUbGj3Y.mjs.map +1 -0
- package/dist/useAriaInvalid-DUOcHX79.js +2 -0
- package/dist/useAriaInvalid-DUOcHX79.js.map +1 -0
- package/dist/useBLinkHelper-Bvtov_sk.mjs +37 -0
- package/dist/useBLinkHelper-Bvtov_sk.mjs.map +1 -0
- package/dist/useBLinkHelper-BxI4evA6.js +2 -0
- package/dist/useBLinkHelper-BxI4evA6.js.map +1 -0
- package/dist/useColorVariantClasses-CnrZmyKT.js +2 -0
- package/dist/useColorVariantClasses-CnrZmyKT.js.map +1 -0
- package/dist/useColorVariantClasses-WMXe7khu.mjs +19 -0
- package/dist/useColorVariantClasses-WMXe7khu.mjs.map +1 -0
- package/dist/useCountdownHover-Ds0unFZR.mjs +76 -0
- package/dist/useCountdownHover-Ds0unFZR.mjs.map +1 -0
- package/dist/useCountdownHover-pVk1zcyl.js +2 -0
- package/dist/useCountdownHover-pVk1zcyl.js.map +1 -0
- package/dist/useDefaults-BYx9NNxn.mjs +96 -0
- package/dist/useDefaults-BYx9NNxn.mjs.map +1 -0
- package/dist/useDefaults-Cd8OVIUI.js +2 -0
- package/dist/useDefaults-Cd8OVIUI.js.map +1 -0
- package/dist/useFormCheck-Bcx8Ea7M.mjs +61 -0
- package/dist/useFormCheck-Bcx8Ea7M.mjs.map +1 -0
- package/dist/useFormCheck-DLmeXWHw.js +2 -0
- package/dist/useFormCheck-DLmeXWHw.js.map +1 -0
- package/dist/useFormInput-B-34kU2d.mjs +114 -0
- package/dist/useFormInput-B-34kU2d.mjs.map +1 -0
- package/dist/useFormInput-Cl9jLmfR.js +2 -0
- package/dist/useFormInput-Cl9jLmfR.js.map +1 -0
- package/dist/useFormSelect-C5Ssz8Hc.mjs +63 -0
- package/dist/useFormSelect-C5Ssz8Hc.mjs.map +1 -0
- package/dist/useFormSelect-CPz2u6a6.js +2 -0
- package/dist/useFormSelect-CPz2u6a6.js.map +1 -0
- package/dist/useId-BrAgQfKM.mjs +9 -0
- package/dist/useId-BrAgQfKM.mjs.map +1 -0
- package/dist/useId-z7cQCT28.js +2 -0
- package/dist/useId-z7cQCT28.js.map +1 -0
- package/dist/useModalManager-CcThsNp5.js +2 -0
- package/dist/useModalManager-CcThsNp5.js.map +1 -0
- package/dist/useModalManager-N1MQhnkH.mjs +75 -0
- package/dist/useModalManager-N1MQhnkH.mjs.map +1 -0
- package/dist/useNumberishToStyle-BWrWARZP.mjs +11 -0
- package/dist/useNumberishToStyle-BWrWARZP.mjs.map +1 -0
- package/dist/useNumberishToStyle-CUqOYwz3.js +2 -0
- package/dist/useNumberishToStyle-CUqOYwz3.js.map +1 -0
- package/dist/useRadiusElementClasses-D-ydxJLn.js +2 -0
- package/dist/useRadiusElementClasses-D-ydxJLn.js.map +1 -0
- package/dist/useRadiusElementClasses-DtKYQuWz.mjs +21 -0
- package/dist/useRadiusElementClasses-DtKYQuWz.mjs.map +1 -0
- package/dist/useSafeScrollLock-BfVVwTzO.mjs +1141 -0
- package/dist/useSafeScrollLock-BfVVwTzO.mjs.map +1 -0
- package/dist/useSafeScrollLock-Ib_fUIsz.js +12 -0
- package/dist/useSafeScrollLock-Ib_fUIsz.js.map +1 -0
- package/dist/useStateClass-BGbSLWFN.mjs +9 -0
- package/dist/useStateClass-BGbSLWFN.mjs.map +1 -0
- package/dist/useStateClass-BePLKIel.js +2 -0
- package/dist/useStateClass-BePLKIel.js.map +1 -0
- package/package.json +126 -26
- package/dist/src/BootstrapVue.d.mts +0 -130
- package/dist/src/BootstrapVue.d.ts +0 -130
- package/dist/src/components/BCol.vue.d.ts +0 -96
- package/dist/src/components/BCollapse.vue.d.ts +0 -112
- package/dist/src/components/BContainer.vue.d.ts +0 -43
- package/dist/src/components/BImg.vue.d.ts +0 -81
- package/dist/src/components/BPopover.vue.d.ts +0 -345
- package/dist/src/components/BRow.vue.d.ts +0 -72
- package/dist/src/components/BSpinner.vue.d.ts +0 -51
- package/dist/src/components/BTooltip.vue.d.ts +0 -289
- package/dist/src/components/BTransition/BTransition.vue.d.ts +0 -71
- package/dist/src/composables/exports/index.d.ts +0 -1
- package/dist/src/composables/useBreadcrumb.d.ts +0 -5
- package/dist/src/composables/useModal.d.ts +0 -8
- package/dist/src/composables/useModalController.d.ts +0 -27
- package/dist/src/composables/useToast.d.ts +0 -17
- package/dist/src/constants/regex.d.ts +0 -11
- package/dist/src/directives/BColorMode.d.ts +0 -7
- package/dist/src/directives/BModal.d.ts +0 -3
- package/dist/src/directives/BPopover.d.ts +0 -8
- package/dist/src/directives/BScrollspy.d.ts +0 -12
- package/dist/src/directives/BToggle.d.ts +0 -11
- package/dist/src/directives/BTooltip.d.ts +0 -8
- package/dist/src/plugins/breadcrumbPlugin.d.ts +0 -4
- package/dist/src/plugins/defaultsPlugin.d.ts +0 -6
- package/dist/src/plugins/idPlugin.d.ts +0 -6
- package/dist/src/plugins/modalControllerPlugin.d.ts +0 -4
- package/dist/src/plugins/modalManagerPlugin.d.ts +0 -4
- package/dist/src/plugins/rtlPlugin.d.ts +0 -6
- package/dist/src/plugins/toastPlugin.d.ts +0 -4
- package/dist/src/types/exports/index.d.ts +0 -3
- package/dist/src/utils/classes/BvCarouselEvent.d.ts +0 -20
- package/dist/src/utils/classes/BvEvent.d.ts +0 -27
- package/dist/src/utils/classes/BvTriggerableEvent.d.ts +0 -15
- package/dist/src/utils/classes/index.d.ts +0 -3
- package/dist/src/utils/exports/index.d.ts +0 -1
- package/dist/src/utils/parseActiveImports.d.ts +0 -4
|
@@ -0,0 +1,1292 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, renderSlot, unref, ref, watch, createBlock, withCtx, withDirectives, createVNode, createCommentVNode, Fragment, renderList, mergeProps, createTextVNode, toDisplayString, vShow, createElementVNode, mergeModels, useModel, onMounted, createSlots, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { g as get, s as set } from "./object-DIbMZaP9.mjs";
|
|
3
|
+
import { _ as _sfc_main$9 } from "./BOverlay.vue_vue_type_script_setup_true_lang-DlIZeFjt.mjs";
|
|
4
|
+
import { _ as _sfc_main$a } from "./BSpinner.vue_vue_type_script_setup_true_lang-Bi3Ic2-3.mjs";
|
|
5
|
+
import { _ as _sfc_main$8 } from "./BTableSimple.vue_vue_type_script_setup_true_lang-B4mLJ-Gd.mjs";
|
|
6
|
+
import { u as useDefaults } from "./useDefaults-BYx9NNxn.mjs";
|
|
7
|
+
import { t as titleCase, s as startCase } from "./stringUtils-i6NkPGA1.mjs";
|
|
8
|
+
import { u as useToNumber } from "./index-DlGgXMQF.mjs";
|
|
9
|
+
const formatItem = (item, fieldKey, formatter) => {
|
|
10
|
+
const val = get(item, fieldKey);
|
|
11
|
+
return formatter && typeof formatter === "function" ? formatter(val, fieldKey, item) : val;
|
|
12
|
+
};
|
|
13
|
+
const isTableItem = (value) => typeof value === "object" && value !== null;
|
|
14
|
+
const isTableField = (value) => typeof value === "object" && value !== null && "key" in value;
|
|
15
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "BTbody",
|
|
17
|
+
props: {
|
|
18
|
+
variant: { default: null }
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
const _props = __props;
|
|
22
|
+
const props = useDefaults(_props, "BTbody");
|
|
23
|
+
const computedClasses = computed(() => ({
|
|
24
|
+
[`thead-${props.variant}`]: props.variant !== null
|
|
25
|
+
}));
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("tbody", {
|
|
28
|
+
class: normalizeClass(computedClasses.value)
|
|
29
|
+
}, [
|
|
30
|
+
renderSlot(_ctx.$slots, "default")
|
|
31
|
+
], 2);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
const _hoisted_1$3 = ["scope", "colspan", "rowspan", "data-label"];
|
|
36
|
+
const _hoisted_2$3 = { key: 0 };
|
|
37
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
38
|
+
__name: "BTd",
|
|
39
|
+
props: {
|
|
40
|
+
colspan: { default: void 0 },
|
|
41
|
+
rowspan: { default: void 0 },
|
|
42
|
+
stackedHeading: { default: void 0 },
|
|
43
|
+
stickyColumn: { type: Boolean, default: false },
|
|
44
|
+
variant: { default: null }
|
|
45
|
+
},
|
|
46
|
+
setup(__props) {
|
|
47
|
+
const _props = __props;
|
|
48
|
+
const props = useDefaults(_props, "BTd");
|
|
49
|
+
const computedClasses = computed(() => ({
|
|
50
|
+
[`table-${props.variant}`]: props.variant !== null,
|
|
51
|
+
"b-table-sticky-column": props.stickyColumn,
|
|
52
|
+
"table-b-table-default": props.stickyColumn && props.variant === null
|
|
53
|
+
}));
|
|
54
|
+
const scope = computed(() => props.colspan ? "colspan" : props.rowspan ? "rowspan" : "col");
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
return openBlock(), createElementBlock("td", {
|
|
57
|
+
scope: scope.value,
|
|
58
|
+
class: normalizeClass(computedClasses.value),
|
|
59
|
+
colspan: unref(props).colspan,
|
|
60
|
+
rowspan: unref(props).rowspan,
|
|
61
|
+
"data-label": unref(props).stackedHeading
|
|
62
|
+
}, [
|
|
63
|
+
unref(props).stackedHeading ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
64
|
+
renderSlot(_ctx.$slots, "default")
|
|
65
|
+
])) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
66
|
+
], 10, _hoisted_1$3);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
71
|
+
__name: "BTfoot",
|
|
72
|
+
props: {
|
|
73
|
+
variant: { default: null }
|
|
74
|
+
},
|
|
75
|
+
setup(__props) {
|
|
76
|
+
const _props = __props;
|
|
77
|
+
const props = useDefaults(_props, "BTfoot");
|
|
78
|
+
const computedClasses = computed(() => ({
|
|
79
|
+
[`table-${props.variant}`]: props.variant !== null
|
|
80
|
+
}));
|
|
81
|
+
return (_ctx, _cache) => {
|
|
82
|
+
return openBlock(), createElementBlock("tfoot", {
|
|
83
|
+
class: normalizeClass(computedClasses.value)
|
|
84
|
+
}, [
|
|
85
|
+
renderSlot(_ctx.$slots, "default")
|
|
86
|
+
], 2);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
const _hoisted_1$2 = ["scope", "colspan", "rowspan", "data-label"];
|
|
91
|
+
const _hoisted_2$2 = { key: 0 };
|
|
92
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
93
|
+
__name: "BTh",
|
|
94
|
+
props: {
|
|
95
|
+
colspan: { default: void 0 },
|
|
96
|
+
rowspan: { default: void 0 },
|
|
97
|
+
stackedHeading: { default: void 0 },
|
|
98
|
+
stickyColumn: { type: Boolean, default: false },
|
|
99
|
+
variant: { default: null }
|
|
100
|
+
},
|
|
101
|
+
setup(__props) {
|
|
102
|
+
const _props = __props;
|
|
103
|
+
const props = useDefaults(_props, "BTh");
|
|
104
|
+
const computedClasses = computed(() => ({
|
|
105
|
+
[`table-${props.variant}`]: props.variant !== null,
|
|
106
|
+
"b-table-sticky-column": props.stickyColumn,
|
|
107
|
+
"table-b-table-default": props.stickyColumn && props.variant === null
|
|
108
|
+
}));
|
|
109
|
+
const scope = computed(() => props.colspan ? "colspan" : props.rowspan ? "rowspan" : "col");
|
|
110
|
+
return (_ctx, _cache) => {
|
|
111
|
+
return openBlock(), createElementBlock("th", {
|
|
112
|
+
scope: scope.value,
|
|
113
|
+
class: normalizeClass(computedClasses.value),
|
|
114
|
+
colspan: unref(props).colspan,
|
|
115
|
+
rowspan: unref(props).rowspan,
|
|
116
|
+
"data-label": unref(props).stackedHeading
|
|
117
|
+
}, [
|
|
118
|
+
unref(props).stackedHeading !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
119
|
+
renderSlot(_ctx.$slots, "default")
|
|
120
|
+
])) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
121
|
+
], 10, _hoisted_1$2);
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
126
|
+
__name: "BThead",
|
|
127
|
+
props: {
|
|
128
|
+
variant: { default: null }
|
|
129
|
+
},
|
|
130
|
+
setup(__props) {
|
|
131
|
+
const _props = __props;
|
|
132
|
+
const props = useDefaults(_props, "BThead");
|
|
133
|
+
const computedClasses = computed(() => ({
|
|
134
|
+
[`table-${props.variant}`]: props.variant !== null
|
|
135
|
+
}));
|
|
136
|
+
return (_ctx, _cache) => {
|
|
137
|
+
return openBlock(), createElementBlock("thead", {
|
|
138
|
+
class: normalizeClass(computedClasses.value)
|
|
139
|
+
}, [
|
|
140
|
+
renderSlot(_ctx.$slots, "default")
|
|
141
|
+
], 2);
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
146
|
+
__name: "BTr",
|
|
147
|
+
props: {
|
|
148
|
+
variant: { default: null }
|
|
149
|
+
},
|
|
150
|
+
setup(__props) {
|
|
151
|
+
const _props = __props;
|
|
152
|
+
const props = useDefaults(_props, "BTr");
|
|
153
|
+
const computedClasses = computed(() => ({
|
|
154
|
+
[`table-${props.variant}`]: props.variant !== null
|
|
155
|
+
}));
|
|
156
|
+
return (_ctx, _cache) => {
|
|
157
|
+
return openBlock(), createElementBlock("tr", {
|
|
158
|
+
class: normalizeClass(computedClasses.value)
|
|
159
|
+
}, [
|
|
160
|
+
renderSlot(_ctx.$slots, "default")
|
|
161
|
+
], 2);
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const getTableFieldHeadLabel = (field) => typeof field === "string" ? titleCase(field) : field.label !== void 0 ? field.label : typeof field.key === "string" ? titleCase(field.key) : field.key;
|
|
166
|
+
const TABLE_TAG_NAMES = ["TD", "TH", "TR"];
|
|
167
|
+
const eventFilter = [
|
|
168
|
+
"a",
|
|
169
|
+
"a *",
|
|
170
|
+
// Include content inside links
|
|
171
|
+
"button",
|
|
172
|
+
"button *",
|
|
173
|
+
// Include content inside buttons
|
|
174
|
+
"input:not(.disabled):not([disabled])",
|
|
175
|
+
"select:not(.disabled):not([disabled])",
|
|
176
|
+
"textarea:not(.disabled):not([disabled])",
|
|
177
|
+
'[role="link"]',
|
|
178
|
+
'[role="link"] *',
|
|
179
|
+
'[role="button"]',
|
|
180
|
+
'[role="button"] *',
|
|
181
|
+
"[tabindex]:not(.disabled):not([disabled])"
|
|
182
|
+
].join(",");
|
|
183
|
+
const filterEvent = (event) => {
|
|
184
|
+
if (!event || !event.target) {
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
const el = event.target;
|
|
188
|
+
if ("disabled" in el && el.disabled || TABLE_TAG_NAMES.indexOf(el.tagName) !== -1) {
|
|
189
|
+
return false;
|
|
190
|
+
}
|
|
191
|
+
if (el.closest(".dropdown-menu")) return true;
|
|
192
|
+
const label = el.tagName === "LABEL" ? el : el.closest("label");
|
|
193
|
+
if (label) {
|
|
194
|
+
const labelFor = label.getAttribute("for");
|
|
195
|
+
const input = labelFor ? document.getElementById(labelFor) : label.querySelector("input, select, textarea");
|
|
196
|
+
if (input && !input.disabled) {
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return el.matches(eventFilter);
|
|
201
|
+
};
|
|
202
|
+
const _hoisted_1$1 = {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: "b-table-stacked-label"
|
|
205
|
+
};
|
|
206
|
+
const _hoisted_2$1 = { class: "d-inline-flex flex-nowrap align-items-center gap-1" };
|
|
207
|
+
const _hoisted_3 = { key: 2 };
|
|
208
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
209
|
+
__name: "BTableLite",
|
|
210
|
+
props: {
|
|
211
|
+
align: { default: void 0 },
|
|
212
|
+
caption: { default: void 0 },
|
|
213
|
+
captionHtml: { default: void 0 },
|
|
214
|
+
detailsTdClass: { default: void 0 },
|
|
215
|
+
emptyFilteredText: { default: "There are no records matching your request" },
|
|
216
|
+
emptyText: { default: "There are no records to show" },
|
|
217
|
+
fieldColumnClass: { type: [Function, String, Object, Array], default: void 0 },
|
|
218
|
+
fields: { default: () => [] },
|
|
219
|
+
footClone: { type: Boolean, default: false },
|
|
220
|
+
footRowVariant: { default: void 0 },
|
|
221
|
+
footVariant: { default: void 0 },
|
|
222
|
+
headRowVariant: { default: void 0 },
|
|
223
|
+
headVariant: { default: void 0 },
|
|
224
|
+
items: { default: () => [] },
|
|
225
|
+
labelStacked: { type: Boolean, default: false },
|
|
226
|
+
modelValue: { default: void 0 },
|
|
227
|
+
primaryKey: { default: void 0 },
|
|
228
|
+
showEmpty: { type: Boolean, default: false },
|
|
229
|
+
tbodyClass: { default: void 0 },
|
|
230
|
+
tbodyTrAttrs: { type: [Function, Object], default: void 0 },
|
|
231
|
+
tbodyTrClass: { type: Function, default: void 0 },
|
|
232
|
+
tfootClass: { default: void 0 },
|
|
233
|
+
tfootTrClass: { default: void 0 },
|
|
234
|
+
theadClass: { default: void 0 },
|
|
235
|
+
theadTrClass: { default: void 0 },
|
|
236
|
+
bordered: { type: Boolean, default: void 0 },
|
|
237
|
+
borderless: { type: Boolean, default: void 0 },
|
|
238
|
+
borderVariant: { default: void 0 },
|
|
239
|
+
captionTop: { type: Boolean, default: void 0 },
|
|
240
|
+
dark: { type: Boolean, default: void 0 },
|
|
241
|
+
fixed: { type: Boolean, default: void 0 },
|
|
242
|
+
hover: { type: Boolean, default: void 0 },
|
|
243
|
+
id: { default: void 0 },
|
|
244
|
+
noBorderCollapse: { type: Boolean, default: void 0 },
|
|
245
|
+
outlined: { type: Boolean, default: void 0 },
|
|
246
|
+
responsive: { type: [Boolean, String], default: void 0 },
|
|
247
|
+
small: { type: Boolean, default: void 0 },
|
|
248
|
+
stacked: { type: [Boolean, String], default: void 0 },
|
|
249
|
+
stickyHeader: { type: [Boolean, String, Number], default: void 0 },
|
|
250
|
+
striped: { type: Boolean, default: void 0 },
|
|
251
|
+
stripedColumns: { type: Boolean, default: void 0 },
|
|
252
|
+
variant: { default: void 0 },
|
|
253
|
+
tableAttrs: {},
|
|
254
|
+
tableClass: { default: void 0 }
|
|
255
|
+
},
|
|
256
|
+
emits: ["head-clicked", "row-clicked", "row-dbl-clicked", "row-hovered", "row-unhovered"],
|
|
257
|
+
setup(__props, { emit: __emit }) {
|
|
258
|
+
const _props = __props;
|
|
259
|
+
const props = useDefaults(_props, "BTableLite");
|
|
260
|
+
const emit = __emit;
|
|
261
|
+
const generateDetailsItem = (item) => [
|
|
262
|
+
item,
|
|
263
|
+
item._showDetails
|
|
264
|
+
];
|
|
265
|
+
const detailsMap = ref(
|
|
266
|
+
new WeakMap(
|
|
267
|
+
props.items.reduce(
|
|
268
|
+
(acc, el) => {
|
|
269
|
+
if (isTableItem(el)) {
|
|
270
|
+
acc.push(generateDetailsItem(el));
|
|
271
|
+
}
|
|
272
|
+
return acc;
|
|
273
|
+
},
|
|
274
|
+
[]
|
|
275
|
+
)
|
|
276
|
+
)
|
|
277
|
+
);
|
|
278
|
+
watch(
|
|
279
|
+
() => props.items,
|
|
280
|
+
(items) => {
|
|
281
|
+
items.forEach((item) => {
|
|
282
|
+
if (!isTableItem(item)) return;
|
|
283
|
+
const detailsItem = generateDetailsItem(item);
|
|
284
|
+
detailsMap.value.set(detailsItem[0], detailsItem[1]);
|
|
285
|
+
});
|
|
286
|
+
},
|
|
287
|
+
{ deep: true }
|
|
288
|
+
);
|
|
289
|
+
const computedTableClasses = computed(() => [
|
|
290
|
+
props.tableClass,
|
|
291
|
+
{
|
|
292
|
+
[`align-${props.align}`]: props.align !== void 0
|
|
293
|
+
}
|
|
294
|
+
]);
|
|
295
|
+
const computedFields = computed(() => {
|
|
296
|
+
if (!props.fields.length && props.items.length) {
|
|
297
|
+
const [firstItem] = props.items;
|
|
298
|
+
if (isTableItem(firstItem) || Array.isArray(firstItem)) {
|
|
299
|
+
return Object.keys(firstItem).map((k) => {
|
|
300
|
+
const label = startCase(k);
|
|
301
|
+
return {
|
|
302
|
+
key: k,
|
|
303
|
+
label,
|
|
304
|
+
tdAttr: props.stacked === true ? { "data-label": label } : void 0
|
|
305
|
+
};
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
return [{ key: "", _noHeader: true }];
|
|
309
|
+
}
|
|
310
|
+
return props.fields.map((f) => {
|
|
311
|
+
if (isTableField(f)) {
|
|
312
|
+
return {
|
|
313
|
+
...f,
|
|
314
|
+
tdAttr: props.stacked === true ? { "data-label": startCase(f.key), ...f.tdAttr } : f.tdAttr
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
const label = startCase(f);
|
|
318
|
+
return {
|
|
319
|
+
key: f,
|
|
320
|
+
label,
|
|
321
|
+
tdAttr: props.stacked === true ? { "data-label": label } : void 0
|
|
322
|
+
};
|
|
323
|
+
});
|
|
324
|
+
});
|
|
325
|
+
const computedFieldsTotal = computed(() => computedFields.value.length);
|
|
326
|
+
const showComputedHeaders = computed(() => {
|
|
327
|
+
if (computedFields.value.length > 0 && computedFields.value.every((el) => el._noHeader === true))
|
|
328
|
+
return false;
|
|
329
|
+
return true;
|
|
330
|
+
});
|
|
331
|
+
const itemAttributes = (item, fieldKey, attr) => {
|
|
332
|
+
const val = get(item, fieldKey);
|
|
333
|
+
return attr && typeof attr === "function" ? attr(val, fieldKey, item) : attr;
|
|
334
|
+
};
|
|
335
|
+
const callThAttr = (item, field, type) => {
|
|
336
|
+
const fieldKey = String(field.key);
|
|
337
|
+
const val = get(item, fieldKey);
|
|
338
|
+
return field.thAttr && typeof field.thAttr === "function" ? field.thAttr(val, fieldKey, item, type) : field.thAttr;
|
|
339
|
+
};
|
|
340
|
+
const headerClicked = (field, event, isFooter = false) => {
|
|
341
|
+
emit("head-clicked", field.key, field, event, isFooter);
|
|
342
|
+
};
|
|
343
|
+
const toggleRowDetails = (tr) => {
|
|
344
|
+
if (isTableItem(tr)) {
|
|
345
|
+
const prevValue = detailsMap.value.get(tr);
|
|
346
|
+
detailsMap.value.set(tr, !prevValue);
|
|
347
|
+
tr._showDetails = !prevValue;
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
const getFieldColumnClasses = (field) => [
|
|
351
|
+
field.class,
|
|
352
|
+
field.thClass,
|
|
353
|
+
{
|
|
354
|
+
"b-table-sticky-column": field.stickyColumn
|
|
355
|
+
},
|
|
356
|
+
props.fieldColumnClass ? typeof props.fieldColumnClass === "function" ? props.fieldColumnClass(field) : props.fieldColumnClass : null
|
|
357
|
+
];
|
|
358
|
+
const getFieldRowClasses = (field, tr) => {
|
|
359
|
+
var _a, _b;
|
|
360
|
+
const val = get(tr, String(field.key));
|
|
361
|
+
return [
|
|
362
|
+
field.class,
|
|
363
|
+
typeof field.tdClass === "function" ? field.tdClass(val, String(field.key), tr) : field.tdClass,
|
|
364
|
+
(isTableItem(tr) ? (_a = tr._cellVariants) == null ? void 0 : _a[field.key] : false) ? `table-${(_b = tr._cellVariants) == null ? void 0 : _b[field.key]}` : null,
|
|
365
|
+
{
|
|
366
|
+
"b-table-sticky-column": field.stickyColumn
|
|
367
|
+
}
|
|
368
|
+
];
|
|
369
|
+
};
|
|
370
|
+
const callTbodyTrAttrs = (item, type) => props.tbodyTrAttrs ? typeof props.tbodyTrAttrs === "function" ? props.tbodyTrAttrs(item, type) : props.tbodyTrAttrs : null;
|
|
371
|
+
const getRowClasses = (item, type) => props.tbodyTrClass ? typeof props.tbodyTrClass === "function" ? props.tbodyTrClass(item, type) : props.tbodyTrClass : null;
|
|
372
|
+
return (_ctx, _cache) => {
|
|
373
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
374
|
+
id: unref(props).id,
|
|
375
|
+
bordered: unref(props).bordered,
|
|
376
|
+
borderless: unref(props).borderless,
|
|
377
|
+
"border-variant": unref(props).borderVariant,
|
|
378
|
+
"caption-top": unref(props).captionTop,
|
|
379
|
+
dark: unref(props).dark,
|
|
380
|
+
fixed: unref(props).fixed,
|
|
381
|
+
hover: unref(props).hover,
|
|
382
|
+
"no-border-collapse": unref(props).noBorderCollapse,
|
|
383
|
+
outlined: unref(props).outlined,
|
|
384
|
+
responsive: unref(props).responsive,
|
|
385
|
+
small: unref(props).small,
|
|
386
|
+
stacked: unref(props).stacked,
|
|
387
|
+
"sticky-header": unref(props).stickyHeader,
|
|
388
|
+
striped: unref(props).striped,
|
|
389
|
+
"table-class": computedTableClasses.value,
|
|
390
|
+
variant: unref(props).variant,
|
|
391
|
+
"striped-columns": unref(props).stripedColumns
|
|
392
|
+
}, {
|
|
393
|
+
default: withCtx(() => [
|
|
394
|
+
withDirectives(createVNode(_sfc_main$3, {
|
|
395
|
+
variant: unref(props).headVariant,
|
|
396
|
+
class: normalizeClass(unref(props).theadClass)
|
|
397
|
+
}, {
|
|
398
|
+
default: withCtx(() => [
|
|
399
|
+
_ctx.$slots["thead-top"] ? renderSlot(_ctx.$slots, "thead-top", { key: 0 }) : createCommentVNode("", true),
|
|
400
|
+
createVNode(_sfc_main$2, {
|
|
401
|
+
variant: unref(props).headRowVariant,
|
|
402
|
+
class: normalizeClass(unref(props).theadTrClass)
|
|
403
|
+
}, {
|
|
404
|
+
default: withCtx(() => [
|
|
405
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {
|
|
406
|
+
return openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
407
|
+
key: field.key,
|
|
408
|
+
scope: "col",
|
|
409
|
+
class: getFieldColumnClasses(field),
|
|
410
|
+
title: field.headerTitle,
|
|
411
|
+
variant: field.variant,
|
|
412
|
+
abbr: field.headerAbbr,
|
|
413
|
+
style: field.thStyle,
|
|
414
|
+
ref_for: true
|
|
415
|
+
}, callThAttr(null, field, "top"), {
|
|
416
|
+
onClick: ($event) => headerClicked(field, $event)
|
|
417
|
+
}), {
|
|
418
|
+
default: withCtx(() => [
|
|
419
|
+
renderSlot(_ctx.$slots, _ctx.$slots[`head(${String(field.key)})`] ? `head(${String(field.key)})` : "head()", {
|
|
420
|
+
label: field.label,
|
|
421
|
+
column: field.key,
|
|
422
|
+
field,
|
|
423
|
+
isFoot: false
|
|
424
|
+
}, () => [
|
|
425
|
+
createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)
|
|
426
|
+
])
|
|
427
|
+
]),
|
|
428
|
+
_: 2
|
|
429
|
+
}, 1040, ["class", "title", "variant", "abbr", "style", "onClick"]);
|
|
430
|
+
}), 128))
|
|
431
|
+
]),
|
|
432
|
+
_: 3
|
|
433
|
+
}, 8, ["variant", "class"]),
|
|
434
|
+
_ctx.$slots["thead-sub"] ? (openBlock(), createBlock(_sfc_main$2, { key: 1 }, {
|
|
435
|
+
default: withCtx(() => [
|
|
436
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {
|
|
437
|
+
return openBlock(), createBlock(_sfc_main$6, {
|
|
438
|
+
key: field.key,
|
|
439
|
+
scope: "col",
|
|
440
|
+
variant: field.variant,
|
|
441
|
+
class: normalizeClass([field.class, field.thClass])
|
|
442
|
+
}, {
|
|
443
|
+
default: withCtx(() => [
|
|
444
|
+
renderSlot(_ctx.$slots, "thead-sub", mergeProps({
|
|
445
|
+
items: computedFields.value,
|
|
446
|
+
ref_for: true
|
|
447
|
+
}, field), () => [
|
|
448
|
+
createTextVNode(toDisplayString(field.label), 1)
|
|
449
|
+
])
|
|
450
|
+
]),
|
|
451
|
+
_: 2
|
|
452
|
+
}, 1032, ["variant", "class"]);
|
|
453
|
+
}), 128))
|
|
454
|
+
]),
|
|
455
|
+
_: 3
|
|
456
|
+
})) : createCommentVNode("", true)
|
|
457
|
+
]),
|
|
458
|
+
_: 3
|
|
459
|
+
}, 8, ["variant", "class"]), [
|
|
460
|
+
[vShow, showComputedHeaders.value]
|
|
461
|
+
]),
|
|
462
|
+
createVNode(_sfc_main$7, {
|
|
463
|
+
class: normalizeClass(unref(props).tbodyClass)
|
|
464
|
+
}, {
|
|
465
|
+
default: withCtx(() => [
|
|
466
|
+
renderSlot(_ctx.$slots, "custom-body", {
|
|
467
|
+
fields: computedFields.value,
|
|
468
|
+
items: unref(props).items,
|
|
469
|
+
columns: computedFields.value.length
|
|
470
|
+
}, () => [
|
|
471
|
+
!unref(props).stacked && _ctx.$slots["top-row"] ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
472
|
+
key: 0,
|
|
473
|
+
class: getRowClasses(null, "row-top")
|
|
474
|
+
}, callTbodyTrAttrs(null, "row-top")), {
|
|
475
|
+
default: withCtx(() => [
|
|
476
|
+
renderSlot(_ctx.$slots, "top-row")
|
|
477
|
+
]),
|
|
478
|
+
_: 3
|
|
479
|
+
}, 16, ["class"])) : createCommentVNode("", true),
|
|
480
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).items, (item, itemIndex) => {
|
|
481
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
482
|
+
key: unref(props).primaryKey ? unref(get)(item, unref(props).primaryKey) : itemIndex
|
|
483
|
+
}, [
|
|
484
|
+
createVNode(_sfc_main$2, mergeProps({
|
|
485
|
+
class: getRowClasses(item, "row"),
|
|
486
|
+
variant: unref(isTableItem)(item) ? item._rowVariant : void 0,
|
|
487
|
+
ref_for: true
|
|
488
|
+
}, callTbodyTrAttrs(item, "row"), {
|
|
489
|
+
onClick: ($event) => !unref(filterEvent)($event) && emit("row-clicked", item, itemIndex, $event),
|
|
490
|
+
onDblclick: ($event) => !unref(filterEvent)($event) && emit("row-dbl-clicked", item, itemIndex, $event),
|
|
491
|
+
onMouseenter: ($event) => !unref(filterEvent)($event) && emit("row-hovered", item, itemIndex, $event),
|
|
492
|
+
onMouseleave: ($event) => !unref(filterEvent)($event) && emit("row-unhovered", item, itemIndex, $event)
|
|
493
|
+
}), {
|
|
494
|
+
default: withCtx(() => [
|
|
495
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {
|
|
496
|
+
var _a;
|
|
497
|
+
return openBlock(), createBlock(_sfc_main$6, mergeProps({
|
|
498
|
+
key: field.key,
|
|
499
|
+
variant: (unref(isTableItem)(item) ? (_a = item._cellVariants) == null ? void 0 : _a[field.key] : false) ? null : field.variant,
|
|
500
|
+
class: getFieldRowClasses(field, item),
|
|
501
|
+
ref_for: true
|
|
502
|
+
}, itemAttributes(item, String(field.key), field.tdAttr)), {
|
|
503
|
+
default: withCtx(() => [
|
|
504
|
+
unref(props).stacked && unref(props).labelStacked ? (openBlock(), createElementBlock("label", _hoisted_1$1, toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)) : createCommentVNode("", true),
|
|
505
|
+
renderSlot(
|
|
506
|
+
_ctx.$slots,
|
|
507
|
+
_ctx.$slots[`cell(${String(field.key)})`] ? `cell(${String(field.key)})` : "cell()",
|
|
508
|
+
{
|
|
509
|
+
value: unref(formatItem)(item, String(field.key), field.formatter),
|
|
510
|
+
unformatted: unref(get)(item, String(field.key)),
|
|
511
|
+
index: itemIndex,
|
|
512
|
+
item,
|
|
513
|
+
field,
|
|
514
|
+
items: _ctx.items,
|
|
515
|
+
toggleDetails: () => {
|
|
516
|
+
toggleRowDetails(item);
|
|
517
|
+
},
|
|
518
|
+
detailsShowing: unref(isTableItem)(item) ? detailsMap.value.get(item) ?? false : false
|
|
519
|
+
},
|
|
520
|
+
() => [
|
|
521
|
+
!_ctx.$slots[`cell(${String(field.key)})`] && !_ctx.$slots["cell()"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
522
|
+
createTextVNode(toDisplayString(unref(formatItem)(item, String(field.key), field.formatter)), 1)
|
|
523
|
+
], 64)) : createCommentVNode("", true)
|
|
524
|
+
]
|
|
525
|
+
)
|
|
526
|
+
]),
|
|
527
|
+
_: 2
|
|
528
|
+
}, 1040, ["variant", "class"]);
|
|
529
|
+
}), 128))
|
|
530
|
+
]),
|
|
531
|
+
_: 2
|
|
532
|
+
}, 1040, ["class", "variant", "onClick", "onDblclick", "onMouseenter", "onMouseleave"]),
|
|
533
|
+
unref(isTableItem)(item) && detailsMap.value.get(item) === true && _ctx.$slots["row-details"] ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
534
|
+
createVNode(_sfc_main$2, {
|
|
535
|
+
"aria-hidden": "true",
|
|
536
|
+
role: "presentation",
|
|
537
|
+
class: "d-none"
|
|
538
|
+
}),
|
|
539
|
+
createVNode(_sfc_main$2, mergeProps({
|
|
540
|
+
class: getRowClasses(item, "row-details"),
|
|
541
|
+
variant: item._rowVariant,
|
|
542
|
+
ref_for: true
|
|
543
|
+
}, callTbodyTrAttrs(item, "row-details")), {
|
|
544
|
+
default: withCtx(() => [
|
|
545
|
+
createVNode(_sfc_main$6, {
|
|
546
|
+
colspan: computedFieldsTotal.value,
|
|
547
|
+
class: normalizeClass(_ctx.detailsTdClass)
|
|
548
|
+
}, {
|
|
549
|
+
default: withCtx(() => [
|
|
550
|
+
renderSlot(_ctx.$slots, "row-details", {
|
|
551
|
+
item,
|
|
552
|
+
toggleDetails: () => {
|
|
553
|
+
toggleRowDetails(item);
|
|
554
|
+
},
|
|
555
|
+
fields: unref(props).fields,
|
|
556
|
+
index: itemIndex
|
|
557
|
+
})
|
|
558
|
+
]),
|
|
559
|
+
_: 2
|
|
560
|
+
}, 1032, ["colspan", "class"])
|
|
561
|
+
]),
|
|
562
|
+
_: 2
|
|
563
|
+
}, 1040, ["class", "variant"])
|
|
564
|
+
], 64)) : createCommentVNode("", true)
|
|
565
|
+
], 64);
|
|
566
|
+
}), 128)),
|
|
567
|
+
unref(props).showEmpty && unref(props).items.length === 0 ? (openBlock(), createBlock(_sfc_main$2, {
|
|
568
|
+
key: 1,
|
|
569
|
+
class: "b-table-empty-slot"
|
|
570
|
+
}, {
|
|
571
|
+
default: withCtx(() => [
|
|
572
|
+
createVNode(_sfc_main$6, { colspan: computedFieldsTotal.value }, {
|
|
573
|
+
default: withCtx(() => [
|
|
574
|
+
renderSlot(_ctx.$slots, "empty", {
|
|
575
|
+
items: unref(props).items
|
|
576
|
+
}, () => [
|
|
577
|
+
createTextVNode(toDisplayString(unref(props).emptyText), 1)
|
|
578
|
+
])
|
|
579
|
+
]),
|
|
580
|
+
_: 3
|
|
581
|
+
}, 8, ["colspan"])
|
|
582
|
+
]),
|
|
583
|
+
_: 3
|
|
584
|
+
})) : createCommentVNode("", true),
|
|
585
|
+
!unref(props).stacked && _ctx.$slots["bottom-row"] ? (openBlock(), createBlock(_sfc_main$2, mergeProps({
|
|
586
|
+
key: 2,
|
|
587
|
+
class: ["bottom-row", getRowClasses(null, "row-bottom")]
|
|
588
|
+
}, callTbodyTrAttrs(null, "row-bottom")), {
|
|
589
|
+
default: withCtx(() => [
|
|
590
|
+
renderSlot(_ctx.$slots, "bottom-row")
|
|
591
|
+
]),
|
|
592
|
+
_: 3
|
|
593
|
+
}, 16, ["class"])) : createCommentVNode("", true)
|
|
594
|
+
])
|
|
595
|
+
]),
|
|
596
|
+
_: 3
|
|
597
|
+
}, 8, ["class"]),
|
|
598
|
+
unref(props).footClone ? (openBlock(), createBlock(_sfc_main$5, {
|
|
599
|
+
key: 0,
|
|
600
|
+
variant: unref(props).footVariant,
|
|
601
|
+
class: normalizeClass(unref(props).tfootClass)
|
|
602
|
+
}, {
|
|
603
|
+
default: withCtx(() => [
|
|
604
|
+
createVNode(_sfc_main$2, {
|
|
605
|
+
variant: unref(props).footRowVariant,
|
|
606
|
+
class: normalizeClass(unref(props).tfootTrClass)
|
|
607
|
+
}, {
|
|
608
|
+
default: withCtx(() => [
|
|
609
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(computedFields.value, (field) => {
|
|
610
|
+
return openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
611
|
+
key: field.key,
|
|
612
|
+
scope: "col",
|
|
613
|
+
class: getFieldColumnClasses(field),
|
|
614
|
+
title: field.headerTitle,
|
|
615
|
+
abbr: field.headerAbbr,
|
|
616
|
+
style: field.thStyle,
|
|
617
|
+
variant: field.variant,
|
|
618
|
+
ref_for: true
|
|
619
|
+
}, callThAttr(null, field, "bottom"), {
|
|
620
|
+
onClick: ($event) => headerClicked(field, $event, true)
|
|
621
|
+
}), {
|
|
622
|
+
default: withCtx(() => [
|
|
623
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
624
|
+
createElementVNode("div", null, [
|
|
625
|
+
renderSlot(
|
|
626
|
+
_ctx.$slots,
|
|
627
|
+
_ctx.$slots[`foot(${String(field.key)})`] ? `foot(${String(field.key)})` : "foot()",
|
|
628
|
+
{
|
|
629
|
+
label: field.label,
|
|
630
|
+
column: field.key,
|
|
631
|
+
field,
|
|
632
|
+
isFoot: true
|
|
633
|
+
},
|
|
634
|
+
() => [
|
|
635
|
+
createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)
|
|
636
|
+
]
|
|
637
|
+
)
|
|
638
|
+
])
|
|
639
|
+
])
|
|
640
|
+
]),
|
|
641
|
+
_: 2
|
|
642
|
+
}, 1040, ["class", "title", "abbr", "style", "variant", "onClick"]);
|
|
643
|
+
}), 128))
|
|
644
|
+
]),
|
|
645
|
+
_: 3
|
|
646
|
+
}, 8, ["variant", "class"])
|
|
647
|
+
]),
|
|
648
|
+
_: 3
|
|
649
|
+
}, 8, ["variant", "class"])) : _ctx.$slots["custom-foot"] ? (openBlock(), createBlock(_sfc_main$5, { key: 1 }, {
|
|
650
|
+
default: withCtx(() => [
|
|
651
|
+
renderSlot(_ctx.$slots, "custom-foot", {
|
|
652
|
+
fields: computedFields.value,
|
|
653
|
+
items: unref(props).items,
|
|
654
|
+
columns: computedFields.value.length
|
|
655
|
+
})
|
|
656
|
+
]),
|
|
657
|
+
_: 3
|
|
658
|
+
})) : createCommentVNode("", true),
|
|
659
|
+
_ctx.$slots["table-caption"] || unref(props).caption ? (openBlock(), createElementBlock("caption", _hoisted_3, [
|
|
660
|
+
renderSlot(_ctx.$slots, "table-caption", {}, () => [
|
|
661
|
+
createTextVNode(toDisplayString(unref(props).caption), 1)
|
|
662
|
+
])
|
|
663
|
+
])) : createCommentVNode("", true)
|
|
664
|
+
]),
|
|
665
|
+
_: 3
|
|
666
|
+
}, 8, ["id", "bordered", "borderless", "border-variant", "caption-top", "dark", "fixed", "hover", "no-border-collapse", "outlined", "responsive", "small", "stacked", "sticky-header", "striped", "table-class", "variant", "striped-columns"]);
|
|
667
|
+
};
|
|
668
|
+
}
|
|
669
|
+
});
|
|
670
|
+
const _hoisted_1 = {
|
|
671
|
+
style: { opacity: 0.4 },
|
|
672
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
673
|
+
width: "24",
|
|
674
|
+
height: "24",
|
|
675
|
+
fill: "currentColor",
|
|
676
|
+
class: "bi bi-arrow-up-short",
|
|
677
|
+
viewBox: "0 0 16 16",
|
|
678
|
+
"aria-hidden": ""
|
|
679
|
+
};
|
|
680
|
+
const _hoisted_2 = { class: "d-flex align-items-center gap-2 mt-5" };
|
|
681
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
682
|
+
__name: "BTable",
|
|
683
|
+
props: /* @__PURE__ */ mergeModels({
|
|
684
|
+
provider: { default: void 0 },
|
|
685
|
+
noProvider: { default: void 0 },
|
|
686
|
+
noProviderPaging: { type: Boolean, default: false },
|
|
687
|
+
noProviderSorting: { type: Boolean, default: false },
|
|
688
|
+
noProviderFiltering: { type: Boolean, default: false },
|
|
689
|
+
mustSort: { type: [Boolean, Array], default: false },
|
|
690
|
+
selectable: { type: Boolean, default: false },
|
|
691
|
+
multisort: { type: Boolean, default: false },
|
|
692
|
+
stickySelect: { type: Boolean, default: false },
|
|
693
|
+
selectHead: { type: [Boolean, String], default: true },
|
|
694
|
+
selectMode: { default: "multi" },
|
|
695
|
+
selectionVariant: { default: "primary" },
|
|
696
|
+
busyLoadingText: { default: "Loading..." },
|
|
697
|
+
perPage: { default: Number.POSITIVE_INFINITY },
|
|
698
|
+
currentPage: { default: 1 },
|
|
699
|
+
filter: { default: void 0 },
|
|
700
|
+
filterable: { default: void 0 },
|
|
701
|
+
noLocalSorting: { type: Boolean, default: false },
|
|
702
|
+
noSelectOnClick: { type: Boolean, default: false },
|
|
703
|
+
noSortableIcon: { type: Boolean, default: false },
|
|
704
|
+
align: { default: void 0 },
|
|
705
|
+
caption: { default: void 0 },
|
|
706
|
+
captionHtml: { default: void 0 },
|
|
707
|
+
detailsTdClass: { default: void 0 },
|
|
708
|
+
emptyFilteredText: { default: void 0 },
|
|
709
|
+
emptyText: { default: void 0 },
|
|
710
|
+
fieldColumnClass: { type: [Function, String, Object, Array], default: void 0 },
|
|
711
|
+
fields: { default: () => [] },
|
|
712
|
+
footClone: { type: Boolean, default: void 0 },
|
|
713
|
+
footRowVariant: { default: void 0 },
|
|
714
|
+
footVariant: { default: void 0 },
|
|
715
|
+
headRowVariant: { default: void 0 },
|
|
716
|
+
headVariant: { default: void 0 },
|
|
717
|
+
items: { default: () => [] },
|
|
718
|
+
labelStacked: { type: Boolean, default: void 0 },
|
|
719
|
+
modelValue: { default: void 0 },
|
|
720
|
+
primaryKey: { default: void 0 },
|
|
721
|
+
showEmpty: { type: Boolean, default: void 0 },
|
|
722
|
+
tbodyClass: { default: void 0 },
|
|
723
|
+
tbodyTrAttrs: {},
|
|
724
|
+
tbodyTrClass: { type: Function, default: void 0 },
|
|
725
|
+
tfootClass: { default: void 0 },
|
|
726
|
+
tfootTrClass: { default: void 0 },
|
|
727
|
+
theadClass: { default: void 0 },
|
|
728
|
+
theadTrClass: { default: void 0 },
|
|
729
|
+
bordered: { type: Boolean, default: void 0 },
|
|
730
|
+
borderless: { type: Boolean, default: void 0 },
|
|
731
|
+
borderVariant: { default: void 0 },
|
|
732
|
+
captionTop: { type: Boolean, default: void 0 },
|
|
733
|
+
dark: { type: Boolean, default: void 0 },
|
|
734
|
+
fixed: { type: Boolean, default: void 0 },
|
|
735
|
+
hover: { type: Boolean, default: void 0 },
|
|
736
|
+
id: { default: void 0 },
|
|
737
|
+
noBorderCollapse: { type: Boolean, default: void 0 },
|
|
738
|
+
outlined: { type: Boolean, default: void 0 },
|
|
739
|
+
responsive: { type: [Boolean, String], default: void 0 },
|
|
740
|
+
small: { type: Boolean, default: void 0 },
|
|
741
|
+
stacked: { type: [Boolean, String], default: void 0 },
|
|
742
|
+
stickyHeader: { type: [Boolean, String, Number], default: void 0 },
|
|
743
|
+
striped: { type: Boolean, default: void 0 },
|
|
744
|
+
stripedColumns: { type: Boolean, default: void 0 },
|
|
745
|
+
variant: { default: void 0 },
|
|
746
|
+
tableAttrs: {}
|
|
747
|
+
}, {
|
|
748
|
+
"sortBy": {
|
|
749
|
+
default: void 0
|
|
750
|
+
},
|
|
751
|
+
"sortByModifiers": {},
|
|
752
|
+
"busy": { type: Boolean, ...{
|
|
753
|
+
default: false
|
|
754
|
+
} },
|
|
755
|
+
"busyModifiers": {},
|
|
756
|
+
"selectedItems": {
|
|
757
|
+
default: () => []
|
|
758
|
+
},
|
|
759
|
+
"selectedItemsModifiers": {}
|
|
760
|
+
}),
|
|
761
|
+
emits: /* @__PURE__ */ mergeModels(["filtered", "head-clicked", "row-clicked", "row-dbl-clicked", "row-hovered", "row-unhovered", "row-selected", "row-unselected", "sorted", "change"], ["update:sortBy", "update:busy", "update:selectedItems"]),
|
|
762
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
763
|
+
const _props = __props;
|
|
764
|
+
const props = useDefaults(_props, "BTable");
|
|
765
|
+
const emit = __emit;
|
|
766
|
+
const sortByModel = useModel(__props, "sortBy");
|
|
767
|
+
const busyModel = useModel(__props, "busy");
|
|
768
|
+
const selectedItemsModel = useModel(
|
|
769
|
+
__props,
|
|
770
|
+
"selectedItems"
|
|
771
|
+
);
|
|
772
|
+
const selectedItemsToSet = computed({
|
|
773
|
+
get: () => /* @__PURE__ */ new Set([...selectedItemsModel.value]),
|
|
774
|
+
set: (val) => {
|
|
775
|
+
selectedItemsModel.value = [...val];
|
|
776
|
+
}
|
|
777
|
+
});
|
|
778
|
+
const selectedItemsSetUtilities = {
|
|
779
|
+
add: (item) => {
|
|
780
|
+
const value = new Set(selectedItemsToSet.value);
|
|
781
|
+
value.add(item);
|
|
782
|
+
selectedItemsToSet.value = value;
|
|
783
|
+
emit("row-selected", item);
|
|
784
|
+
},
|
|
785
|
+
clear: () => {
|
|
786
|
+
selectedItemsToSet.value.forEach((item) => {
|
|
787
|
+
selectedItemsSetUtilities.delete(item);
|
|
788
|
+
});
|
|
789
|
+
},
|
|
790
|
+
delete: (item) => {
|
|
791
|
+
const value = new Set(selectedItemsToSet.value);
|
|
792
|
+
if (props.primaryKey) {
|
|
793
|
+
const pkey = props.primaryKey;
|
|
794
|
+
selectedItemsModel.value.forEach((v, i) => {
|
|
795
|
+
const selectedKey = get(v, pkey);
|
|
796
|
+
const itemKey = get(item, pkey);
|
|
797
|
+
if (!!selectedKey && !!itemKey && selectedKey === itemKey) {
|
|
798
|
+
value.delete(selectedItemsModel.value[i]);
|
|
799
|
+
}
|
|
800
|
+
});
|
|
801
|
+
} else {
|
|
802
|
+
value.delete(item);
|
|
803
|
+
}
|
|
804
|
+
selectedItemsToSet.value = value;
|
|
805
|
+
emit("row-unselected", item);
|
|
806
|
+
},
|
|
807
|
+
set: (items) => {
|
|
808
|
+
selectedItemsToSet.value = new Set(items);
|
|
809
|
+
selectedItemsToSet.value.forEach((item) => {
|
|
810
|
+
emit("row-unselected", item);
|
|
811
|
+
});
|
|
812
|
+
},
|
|
813
|
+
has: (item) => {
|
|
814
|
+
if (!props.primaryKey) return selectedItemsToSet.value.has(item);
|
|
815
|
+
const pkey = props.primaryKey;
|
|
816
|
+
for (const selected of selectedItemsToSet.value) {
|
|
817
|
+
const selectedKey = get(selected, pkey);
|
|
818
|
+
const itemKey = get(item, pkey);
|
|
819
|
+
if (!!selectedKey && !!itemKey && selectedKey === itemKey) return true;
|
|
820
|
+
}
|
|
821
|
+
return false;
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
const internalItems = ref([]);
|
|
825
|
+
const perPageNumber = useToNumber(() => props.perPage, { method: "parseInt" });
|
|
826
|
+
const currentPageNumber = useToNumber(() => props.currentPage, { method: "parseInt" });
|
|
827
|
+
const isFilterableTable = computed(() => !!props.filter);
|
|
828
|
+
const usesProvider = computed(() => props.provider !== void 0);
|
|
829
|
+
const isSelecting = computed(() => selectedItemsToSet.value.size > 0);
|
|
830
|
+
const isSortable = computed(
|
|
831
|
+
() => sortByModel.value !== void 0 || props.fields.some(
|
|
832
|
+
(field) => typeof field === "object" && field !== null && field.sortable === true
|
|
833
|
+
)
|
|
834
|
+
);
|
|
835
|
+
const computedFields = computed(
|
|
836
|
+
() => props.fields.map((el) => {
|
|
837
|
+
var _a;
|
|
838
|
+
if (!isTableField(el)) {
|
|
839
|
+
const label = startCase(el);
|
|
840
|
+
return {
|
|
841
|
+
key: el,
|
|
842
|
+
label,
|
|
843
|
+
tdAttr: props.stacked === true ? { "data-label": label } : void 0
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
const value = (_a = sortByModel.value) == null ? void 0 : _a.find((sb) => el.key === sb.key);
|
|
847
|
+
const sortValue = isSortable.value === false ? void 0 : value === void 0 ? "none" : value.order === "desc" ? "descending" : value.order === "asc" ? "ascending" : "none";
|
|
848
|
+
return {
|
|
849
|
+
...el,
|
|
850
|
+
thAttr: {
|
|
851
|
+
"aria-sort": sortValue,
|
|
852
|
+
...el.thAttr
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
})
|
|
856
|
+
);
|
|
857
|
+
const tableClasses = computed(() => ({
|
|
858
|
+
"b-table-busy": busyModel.value,
|
|
859
|
+
"b-table-selectable": props.selectable,
|
|
860
|
+
"user-select-none": props.selectable && isSelecting.value
|
|
861
|
+
}));
|
|
862
|
+
const getBusyRowClasses = computed(() => [
|
|
863
|
+
props.tbodyTrClass ? typeof props.tbodyTrClass === "function" ? props.tbodyTrClass(null, "table-busy") : props.tbodyTrClass : null
|
|
864
|
+
]);
|
|
865
|
+
const getFieldColumnClasses = (field) => [
|
|
866
|
+
{
|
|
867
|
+
"b-table-sortable-column": isSortable.value && field.sortable
|
|
868
|
+
}
|
|
869
|
+
];
|
|
870
|
+
const getRowClasses = (item, type) => [
|
|
871
|
+
{
|
|
872
|
+
[`selected table-${props.selectionVariant}`]: props.selectable && !!item && selectedItemsSetUtilities.has(item)
|
|
873
|
+
},
|
|
874
|
+
props.tbodyTrClass ? typeof props.tbodyTrClass === "function" ? props.tbodyTrClass(item, type) : props.tbodyTrClass : null
|
|
875
|
+
];
|
|
876
|
+
const computedItems = computed(() => {
|
|
877
|
+
const sortItems = (items) => {
|
|
878
|
+
var _a;
|
|
879
|
+
const sortByItems = (_a = sortByModel.value) == null ? void 0 : _a.filter((el) => !!el.order);
|
|
880
|
+
if (!sortByItems || sortByItems.length === 0) return items;
|
|
881
|
+
return [...items].sort((a, b) => {
|
|
882
|
+
for (let i = 0; i < (sortByItems.length ?? 0); i++) {
|
|
883
|
+
const sortOption = sortByItems[i];
|
|
884
|
+
const realVal = (ob) => {
|
|
885
|
+
if (!isTableItem(ob)) return String(ob);
|
|
886
|
+
const sortField = computedFields.value.find((el) => {
|
|
887
|
+
if (isTableField(el)) return el.key === sortOption.key;
|
|
888
|
+
return false;
|
|
889
|
+
});
|
|
890
|
+
const val = get(ob, sortOption.key);
|
|
891
|
+
if (isTableField(sortField) && !!sortField.sortByFormatted) {
|
|
892
|
+
const formatter = typeof sortField.sortByFormatted === "function" ? sortField.sortByFormatted : sortField.formatter;
|
|
893
|
+
if (formatter) {
|
|
894
|
+
return formatItem(ob, String(sortField.key), formatter);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
return typeof val === "object" && val !== null ? JSON.stringify(val) : (val == null ? void 0 : val.toString()) ?? "";
|
|
898
|
+
};
|
|
899
|
+
const aValue = realVal(a);
|
|
900
|
+
const bValue = realVal(b);
|
|
901
|
+
const comparison = sortOption.comparer ? sortOption.comparer(aValue, bValue) : aValue.localeCompare(bValue, void 0, { numeric: true });
|
|
902
|
+
if (comparison !== 0) {
|
|
903
|
+
return sortOption.order === "asc" ? comparison : -comparison;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
return 0;
|
|
907
|
+
});
|
|
908
|
+
};
|
|
909
|
+
const filterItems = (items) => items.filter(
|
|
910
|
+
(item) => isTableItem(item) ? Object.entries(item).some(([key, val]) => {
|
|
911
|
+
var _a, _b, _c;
|
|
912
|
+
if (val === null || val === void 0 || key[0] === "_" || !((_a = props.filterable) == null ? void 0 : _a.includes(key)) && !!((_b = props.filterable) == null ? void 0 : _b.length))
|
|
913
|
+
return false;
|
|
914
|
+
const realVal = () => {
|
|
915
|
+
const filterField = computedFields.value.find((el) => {
|
|
916
|
+
if (isTableField(el)) return el.key === key;
|
|
917
|
+
return false;
|
|
918
|
+
});
|
|
919
|
+
if (isTableField(filterField) && !!filterField.filterByFormatted) {
|
|
920
|
+
const formatter = typeof filterField.filterByFormatted === "function" ? filterField.filterByFormatted : filterField.formatter;
|
|
921
|
+
if (formatter) {
|
|
922
|
+
return formatter(val, String(filterField.key), item);
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
return typeof val === "object" ? JSON.stringify(Object.values(val)) : val.toString();
|
|
926
|
+
};
|
|
927
|
+
const itemValue = realVal();
|
|
928
|
+
return itemValue.toLowerCase().includes(((_c = props.filter) == null ? void 0 : _c.toLowerCase()) ?? "");
|
|
929
|
+
}) : true
|
|
930
|
+
);
|
|
931
|
+
let mappedItems = usesProvider.value ? internalItems.value : props.items;
|
|
932
|
+
mappedItems = mappedItems.map((item) => {
|
|
933
|
+
if (typeof item === "object" && item !== null && Object.keys(item).some((key) => key.includes("."))) {
|
|
934
|
+
let newItem = {};
|
|
935
|
+
for (const key in item) {
|
|
936
|
+
if (key.includes(".")) {
|
|
937
|
+
newItem = set(newItem, key, item[key]);
|
|
938
|
+
} else {
|
|
939
|
+
newItem[key] = item[key];
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
return newItem;
|
|
943
|
+
}
|
|
944
|
+
return item;
|
|
945
|
+
});
|
|
946
|
+
if (isFilterableTable.value === true && !usesProvider.value || isFilterableTable.value === true && usesProvider.value && props.noProviderFiltering) {
|
|
947
|
+
mappedItems = filterItems(mappedItems);
|
|
948
|
+
}
|
|
949
|
+
if (isSortable.value === true && !usesProvider.value && !props.noLocalSorting || isSortable.value === true && usesProvider.value && props.noProviderSorting) {
|
|
950
|
+
mappedItems = sortItems(mappedItems);
|
|
951
|
+
}
|
|
952
|
+
return mappedItems;
|
|
953
|
+
});
|
|
954
|
+
const computedDisplayItems = computed(() => {
|
|
955
|
+
if (Number.isNaN(perPageNumber.value) || usesProvider.value && !props.noProviderPaging) {
|
|
956
|
+
return computedItems.value;
|
|
957
|
+
}
|
|
958
|
+
return computedItems.value.slice(
|
|
959
|
+
(currentPageNumber.value - 1) * (perPageNumber.value || Number.POSITIVE_INFINITY),
|
|
960
|
+
currentPageNumber.value * (perPageNumber.value || Number.POSITIVE_INFINITY)
|
|
961
|
+
);
|
|
962
|
+
});
|
|
963
|
+
watch(computedDisplayItems, (v) => {
|
|
964
|
+
emit("change", v);
|
|
965
|
+
});
|
|
966
|
+
const handleRowSelection = (row, index, shiftClicked = false, ctrlClicked = false, metaClicked = false) => {
|
|
967
|
+
if (!props.selectable) return;
|
|
968
|
+
if (props.selectMode === "single" || props.selectMode === "multi") {
|
|
969
|
+
if (shiftClicked || ctrlClicked) return;
|
|
970
|
+
if (selectedItemsSetUtilities.has(row)) {
|
|
971
|
+
selectedItemsSetUtilities.delete(row);
|
|
972
|
+
} else {
|
|
973
|
+
if (props.selectMode === "single") {
|
|
974
|
+
selectedItemsSetUtilities.set([row]);
|
|
975
|
+
} else {
|
|
976
|
+
selectedItemsSetUtilities.add(row);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
} else {
|
|
980
|
+
if (ctrlClicked || metaClicked) {
|
|
981
|
+
if (selectedItemsSetUtilities.has(row)) {
|
|
982
|
+
selectedItemsSetUtilities.delete(row);
|
|
983
|
+
} else {
|
|
984
|
+
selectedItemsSetUtilities.add(row);
|
|
985
|
+
}
|
|
986
|
+
} else if (shiftClicked) {
|
|
987
|
+
const lastSelectedItem = [...selectedItemsToSet.value].pop();
|
|
988
|
+
const lastSelectedIndex = props.items.findIndex((i) => i === lastSelectedItem);
|
|
989
|
+
const selectStartIndex = Math.min(lastSelectedIndex, index);
|
|
990
|
+
const selectEndIndex = Math.max(lastSelectedIndex, index);
|
|
991
|
+
const items = props.items.slice(selectStartIndex, selectEndIndex + 1);
|
|
992
|
+
selectedItemsSetUtilities.set(items);
|
|
993
|
+
} else {
|
|
994
|
+
selectedItemsSetUtilities.set([row]);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
};
|
|
998
|
+
const onRowClick = (row, index, e) => {
|
|
999
|
+
if (props.noSelectOnClick === false) {
|
|
1000
|
+
handleRowSelection(row, index, e.shiftKey, e.ctrlKey, e.metaKey);
|
|
1001
|
+
}
|
|
1002
|
+
emit("row-clicked", row, index, e);
|
|
1003
|
+
};
|
|
1004
|
+
const handleFieldSorting = (field) => {
|
|
1005
|
+
var _a, _b;
|
|
1006
|
+
if (!isSortable.value) return;
|
|
1007
|
+
const fieldKey = typeof field === "object" && field !== null ? field.key : field;
|
|
1008
|
+
const fieldSortable = typeof field === "object" && field !== null ? field.sortable : false;
|
|
1009
|
+
if (!(isSortable.value === true && fieldSortable === true)) return;
|
|
1010
|
+
const resolveOrder = (val) => {
|
|
1011
|
+
if (val === "asc") return "desc";
|
|
1012
|
+
if (val === void 0) return "asc";
|
|
1013
|
+
if (props.mustSort === true || Array.isArray(props.mustSort) && props.mustSort.includes(fieldKey))
|
|
1014
|
+
return "asc";
|
|
1015
|
+
return void 0;
|
|
1016
|
+
};
|
|
1017
|
+
const index = ((_a = sortByModel.value) == null ? void 0 : _a.findIndex((el) => el.key === fieldKey)) ?? -1;
|
|
1018
|
+
const originalValue = (_b = sortByModel.value) == null ? void 0 : _b[index];
|
|
1019
|
+
const updatedValue = (
|
|
1020
|
+
// If value is new, we default to ascending
|
|
1021
|
+
// Otherwise we make a temp copy of the value
|
|
1022
|
+
index === -1 || !originalValue ? { key: fieldKey, order: "asc" } : { ...originalValue }
|
|
1023
|
+
);
|
|
1024
|
+
const handleMultiSort = () => {
|
|
1025
|
+
var _a2, _b2;
|
|
1026
|
+
let val = updatedValue;
|
|
1027
|
+
if (index === -1) {
|
|
1028
|
+
sortByModel.value = [...sortByModel.value ?? [], updatedValue];
|
|
1029
|
+
} else {
|
|
1030
|
+
const order = resolveOrder(updatedValue.order);
|
|
1031
|
+
val = { ...updatedValue, order };
|
|
1032
|
+
sortByModel.value = order ? (_a2 = sortByModel.value) == null ? void 0 : _a2.map((el) => el.key === val.key ? val : el) : (_b2 = sortByModel.value) == null ? void 0 : _b2.filter((el) => el.key !== val.key);
|
|
1033
|
+
}
|
|
1034
|
+
return val;
|
|
1035
|
+
};
|
|
1036
|
+
const handleSingleSort = () => {
|
|
1037
|
+
const val = {
|
|
1038
|
+
...updatedValue,
|
|
1039
|
+
order: index === -1 ? updatedValue.order : resolveOrder(updatedValue.order)
|
|
1040
|
+
};
|
|
1041
|
+
sortByModel.value = [val];
|
|
1042
|
+
return val;
|
|
1043
|
+
};
|
|
1044
|
+
emit("sorted", props.multisort === true ? handleMultiSort() : handleSingleSort());
|
|
1045
|
+
};
|
|
1046
|
+
const onFieldHeadClick = (fieldKey, field, event, isFooter = false) => {
|
|
1047
|
+
emit("head-clicked", fieldKey, field, event, isFooter);
|
|
1048
|
+
handleFieldSorting(field);
|
|
1049
|
+
};
|
|
1050
|
+
const callItemsProvider = async () => {
|
|
1051
|
+
if (!usesProvider.value || props.provider === void 0 || busyModel.value) return;
|
|
1052
|
+
busyModel.value = true;
|
|
1053
|
+
const response = props.provider({
|
|
1054
|
+
currentPage: currentPageNumber.value,
|
|
1055
|
+
filter: props.filter,
|
|
1056
|
+
sortBy: sortByModel.value,
|
|
1057
|
+
perPage: perPageNumber.value
|
|
1058
|
+
});
|
|
1059
|
+
try {
|
|
1060
|
+
const items = response instanceof Promise ? await response : response;
|
|
1061
|
+
if (items === void 0) return;
|
|
1062
|
+
internalItems.value = items;
|
|
1063
|
+
} finally {
|
|
1064
|
+
busyModel.value = false;
|
|
1065
|
+
}
|
|
1066
|
+
};
|
|
1067
|
+
const providerPropsWatch = async (prop, val, oldVal) => {
|
|
1068
|
+
if (val === oldVal) return;
|
|
1069
|
+
const inNoProvider = (key) => {
|
|
1070
|
+
var _a;
|
|
1071
|
+
return ((_a = props.noProvider) == null ? void 0 : _a.includes(key)) === true;
|
|
1072
|
+
};
|
|
1073
|
+
const noProvideWhenPaging = (prop === "currentPage" || prop === "perPage") && (inNoProvider("paging") || props.noProviderPaging === true);
|
|
1074
|
+
const noProvideWhenFiltering = prop === "filter" && (inNoProvider("filtering") || props.noProviderFiltering === true);
|
|
1075
|
+
const noProvideWhenSorting = (prop === "sortBy" || prop === "sortDesc") && (inNoProvider("sorting") || props.noProviderSorting === true);
|
|
1076
|
+
if (noProvideWhenPaging || noProvideWhenFiltering || noProvideWhenSorting) return;
|
|
1077
|
+
if (usesProvider.value === true) {
|
|
1078
|
+
await callItemsProvider();
|
|
1079
|
+
}
|
|
1080
|
+
if (!(prop === "currentPage" || prop === "perPage")) {
|
|
1081
|
+
emit("filtered", [...computedItems.value]);
|
|
1082
|
+
}
|
|
1083
|
+
};
|
|
1084
|
+
watch(
|
|
1085
|
+
() => props.filter,
|
|
1086
|
+
(filter, oldFilter) => {
|
|
1087
|
+
providerPropsWatch("filter", filter, oldFilter);
|
|
1088
|
+
if (filter === oldFilter || usesProvider.value) return;
|
|
1089
|
+
if (!filter) {
|
|
1090
|
+
emit("filtered", [...computedItems.value]);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
);
|
|
1094
|
+
watch(currentPageNumber, (val, oldVal) => {
|
|
1095
|
+
providerPropsWatch("currentPage", val, oldVal);
|
|
1096
|
+
});
|
|
1097
|
+
watch(perPageNumber, (val, oldVal) => {
|
|
1098
|
+
providerPropsWatch("perPage", val, oldVal);
|
|
1099
|
+
});
|
|
1100
|
+
watch(
|
|
1101
|
+
sortByModel,
|
|
1102
|
+
(val, oldVal) => {
|
|
1103
|
+
providerPropsWatch("sortBy", val, oldVal);
|
|
1104
|
+
},
|
|
1105
|
+
{ deep: true }
|
|
1106
|
+
);
|
|
1107
|
+
watch(
|
|
1108
|
+
() => props.provider,
|
|
1109
|
+
(newValue) => {
|
|
1110
|
+
if (newValue === void 0) {
|
|
1111
|
+
internalItems.value = [];
|
|
1112
|
+
return;
|
|
1113
|
+
}
|
|
1114
|
+
callItemsProvider();
|
|
1115
|
+
}
|
|
1116
|
+
);
|
|
1117
|
+
onMounted(callItemsProvider);
|
|
1118
|
+
__expose({
|
|
1119
|
+
// The row selection methods are really for compat. Users should probably use the v-model though
|
|
1120
|
+
clearSelected: () => {
|
|
1121
|
+
if (!props.selectable) return;
|
|
1122
|
+
selectedItemsSetUtilities.clear();
|
|
1123
|
+
},
|
|
1124
|
+
refresh: callItemsProvider,
|
|
1125
|
+
selectAllRows: () => {
|
|
1126
|
+
if (!props.selectable) return;
|
|
1127
|
+
const unselectableItems = selectedItemsToSet.value.size > 0 ? [...selectedItemsToSet.value] : [];
|
|
1128
|
+
selectedItemsToSet.value = /* @__PURE__ */ new Set([...computedItems.value]);
|
|
1129
|
+
selectedItemsToSet.value.forEach((item) => {
|
|
1130
|
+
if (unselectableItems.includes(item)) return;
|
|
1131
|
+
emit("row-selected", item);
|
|
1132
|
+
});
|
|
1133
|
+
},
|
|
1134
|
+
selectRow: (index) => {
|
|
1135
|
+
if (!props.selectable) return;
|
|
1136
|
+
const item = computedItems.value[index];
|
|
1137
|
+
if (!item || selectedItemsSetUtilities.has(item)) return;
|
|
1138
|
+
selectedItemsSetUtilities.add(item);
|
|
1139
|
+
},
|
|
1140
|
+
unselectRow: (index) => {
|
|
1141
|
+
if (!props.selectable) return;
|
|
1142
|
+
const item = computedItems.value[index];
|
|
1143
|
+
if (!item || !selectedItemsSetUtilities.has(item)) return;
|
|
1144
|
+
selectedItemsSetUtilities.delete(item);
|
|
1145
|
+
},
|
|
1146
|
+
isRowSelected: (index) => {
|
|
1147
|
+
if (!props.selectable) return false;
|
|
1148
|
+
const item = computedItems.value[index];
|
|
1149
|
+
return selectedItemsSetUtilities.has(item);
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
return (_ctx, _cache) => {
|
|
1153
|
+
return openBlock(), createBlock(_sfc_main$1, mergeProps(unref(props), {
|
|
1154
|
+
"aria-busy": busyModel.value,
|
|
1155
|
+
items: computedDisplayItems.value,
|
|
1156
|
+
fields: computedFields.value,
|
|
1157
|
+
"table-class": tableClasses.value,
|
|
1158
|
+
"tbody-tr-class": getRowClasses,
|
|
1159
|
+
"field-column-class": getFieldColumnClasses,
|
|
1160
|
+
onHeadClicked: onFieldHeadClick,
|
|
1161
|
+
onRowDblClicked: _cache[0] || (_cache[0] = (row, index, e) => {
|
|
1162
|
+
emit("row-dbl-clicked", row, index, e);
|
|
1163
|
+
}),
|
|
1164
|
+
onRowClicked: onRowClick,
|
|
1165
|
+
onRowHovered: _cache[1] || (_cache[1] = (row, index, e) => {
|
|
1166
|
+
emit("row-hovered", row, index, e);
|
|
1167
|
+
}),
|
|
1168
|
+
onRowUnhovered: _cache[2] || (_cache[2] = (row, index, e) => {
|
|
1169
|
+
emit("row-unhovered", row, index, e);
|
|
1170
|
+
})
|
|
1171
|
+
}), createSlots({
|
|
1172
|
+
"custom-body": withCtx((scope) => [
|
|
1173
|
+
busyModel.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
1174
|
+
key: 0,
|
|
1175
|
+
class: normalizeClass(["b-table-busy-slot", getBusyRowClasses.value])
|
|
1176
|
+
}, {
|
|
1177
|
+
default: withCtx(() => [
|
|
1178
|
+
createVNode(_sfc_main$6, {
|
|
1179
|
+
colspan: scope.fields.length
|
|
1180
|
+
}, {
|
|
1181
|
+
default: withCtx(() => [
|
|
1182
|
+
renderSlot(_ctx.$slots, "table-busy", {}, () => [
|
|
1183
|
+
createVNode(_sfc_main$9, { show: "" }, {
|
|
1184
|
+
overlay: withCtx(() => [
|
|
1185
|
+
createElementVNode("div", _hoisted_2, [
|
|
1186
|
+
createVNode(_sfc_main$a),
|
|
1187
|
+
createElementVNode("strong", null, toDisplayString(unref(props).busyLoadingText), 1)
|
|
1188
|
+
])
|
|
1189
|
+
]),
|
|
1190
|
+
_: 1
|
|
1191
|
+
})
|
|
1192
|
+
])
|
|
1193
|
+
]),
|
|
1194
|
+
_: 2
|
|
1195
|
+
}, 1032, ["colspan"])
|
|
1196
|
+
]),
|
|
1197
|
+
_: 2
|
|
1198
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
1199
|
+
]),
|
|
1200
|
+
_: 2
|
|
1201
|
+
}, [
|
|
1202
|
+
renderList(_ctx.$slots, (_, name) => {
|
|
1203
|
+
return {
|
|
1204
|
+
name,
|
|
1205
|
+
fn: withCtx((slotData) => [
|
|
1206
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotData)))
|
|
1207
|
+
])
|
|
1208
|
+
};
|
|
1209
|
+
}),
|
|
1210
|
+
renderList(computedFields.value, (field) => {
|
|
1211
|
+
return {
|
|
1212
|
+
name: `head(${String(field.key)})`,
|
|
1213
|
+
fn: withCtx((scope) => {
|
|
1214
|
+
var _a, _b, _c, _d;
|
|
1215
|
+
return [
|
|
1216
|
+
renderSlot(_ctx.$slots, _ctx.$slots[`head(${String(field.key)})`] ? `head(${String(field.key)})` : "head()", normalizeProps(guardReactiveProps(scope)), () => [
|
|
1217
|
+
createTextVNode(toDisplayString(unref(getTableFieldHeadLabel)(field)), 1)
|
|
1218
|
+
]),
|
|
1219
|
+
isSortable.value && !!scope.field.sortable && unref(props).noSortableIcon === false ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1220
|
+
((_b = (_a = sortByModel.value) == null ? void 0 : _a.find((el) => el.key === scope.field.key)) == null ? void 0 : _b.order) === "asc" ? renderSlot(
|
|
1221
|
+
_ctx.$slots,
|
|
1222
|
+
_ctx.$slots[`sortAsc(${String(scope.field.key)})`] ? `sortAsc(${String(scope.field.key)})` : "sortAsc()",
|
|
1223
|
+
normalizeProps(mergeProps({ key: 0 }, { ...scope })),
|
|
1224
|
+
() => [
|
|
1225
|
+
_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
1226
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1227
|
+
width: "24",
|
|
1228
|
+
height: "24",
|
|
1229
|
+
fill: "currentColor",
|
|
1230
|
+
class: "bi bi-arrow-up-short",
|
|
1231
|
+
viewBox: "0 0 16 16",
|
|
1232
|
+
"aria-hidden": ""
|
|
1233
|
+
}, [
|
|
1234
|
+
createElementVNode("path", {
|
|
1235
|
+
"fill-rule": "evenodd",
|
|
1236
|
+
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"
|
|
1237
|
+
})
|
|
1238
|
+
], -1))
|
|
1239
|
+
]
|
|
1240
|
+
) : ((_d = (_c = sortByModel.value) == null ? void 0 : _c.find((el) => el.key === scope.field.key)) == null ? void 0 : _d.order) === "desc" ? renderSlot(
|
|
1241
|
+
_ctx.$slots,
|
|
1242
|
+
_ctx.$slots[`sortDesc(${String(scope.field.key)})`] ? `sortDesc(${String(scope.field.key)})` : "sortDesc()",
|
|
1243
|
+
normalizeProps(mergeProps({ key: 1 }, { ...scope })),
|
|
1244
|
+
() => [
|
|
1245
|
+
_cache[4] || (_cache[4] = createElementVNode("svg", {
|
|
1246
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1247
|
+
width: "24",
|
|
1248
|
+
height: "24",
|
|
1249
|
+
fill: "currentColor",
|
|
1250
|
+
class: "bi bi-arrow-down-short",
|
|
1251
|
+
viewBox: "0 0 16 16",
|
|
1252
|
+
"aria-hidden": ""
|
|
1253
|
+
}, [
|
|
1254
|
+
createElementVNode("path", {
|
|
1255
|
+
"fill-rule": "evenodd",
|
|
1256
|
+
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"
|
|
1257
|
+
})
|
|
1258
|
+
], -1))
|
|
1259
|
+
]
|
|
1260
|
+
) : renderSlot(
|
|
1261
|
+
_ctx.$slots,
|
|
1262
|
+
_ctx.$slots[`sortDefault(${String(scope.field.key)})`] ? `sortDefault(${String(scope.field.key)})` : "sortDefault()",
|
|
1263
|
+
normalizeProps(mergeProps({ key: 2 }, { ...scope })),
|
|
1264
|
+
() => [
|
|
1265
|
+
(openBlock(), createElementBlock("svg", _hoisted_1, _cache[5] || (_cache[5] = [
|
|
1266
|
+
createElementVNode("path", {
|
|
1267
|
+
"fill-rule": "evenodd",
|
|
1268
|
+
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"
|
|
1269
|
+
}, null, -1)
|
|
1270
|
+
])))
|
|
1271
|
+
]
|
|
1272
|
+
)
|
|
1273
|
+
], 64)) : createCommentVNode("", true)
|
|
1274
|
+
];
|
|
1275
|
+
})
|
|
1276
|
+
};
|
|
1277
|
+
})
|
|
1278
|
+
]), 1040, ["aria-busy", "items", "fields", "table-class"]);
|
|
1279
|
+
};
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
export {
|
|
1283
|
+
_sfc_main as _,
|
|
1284
|
+
_sfc_main$1 as a,
|
|
1285
|
+
_sfc_main$7 as b,
|
|
1286
|
+
_sfc_main$6 as c,
|
|
1287
|
+
_sfc_main$5 as d,
|
|
1288
|
+
_sfc_main$4 as e,
|
|
1289
|
+
_sfc_main$3 as f,
|
|
1290
|
+
_sfc_main$2 as g
|
|
1291
|
+
};
|
|
1292
|
+
//# sourceMappingURL=BTable.vue_vue_type_script_setup_true_lang-CqJmavaJ.mjs.map
|