bootstrap-vue-next 0.45.10 → 0.46.0
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/App.vue.d.mts +2 -1
- package/dist/App.vue.d.ts +2 -1
- package/dist/{BAccordion-D51b9HVD.mjs → BAccordion-FuQ6sMFy.js} +33 -31
- package/dist/BAccordion-FuQ6sMFy.js.map +1 -0
- package/dist/{BAlert-Ce2uxrJi.mjs → BAlert-C9Mi4RDx.js} +20 -13
- package/dist/BAlert-C9Mi4RDx.js.map +1 -0
- package/dist/{BApp-B-fUrnpK.mjs → BApp-GXR1wS6K.js} +53 -51
- package/dist/BApp-GXR1wS6K.js.map +1 -0
- package/dist/{BAspect-wfiXM4KA.mjs → BAspect-BPR6DH5W.js} +2 -2
- package/dist/{BAspect-CUIU48Ck.js.map → BAspect-BPR6DH5W.js.map} +1 -1
- package/dist/{BAutocomplete-CH-bQzME.mjs → BAutocomplete-DGvKY7-D.js} +195 -101
- package/dist/BAutocomplete-DGvKY7-D.js.map +1 -0
- package/dist/{BAvatar-iALHbqVk.mjs → BAvatar-BsStQrBF.js} +13 -13
- package/dist/BAvatar-BsStQrBF.js.map +1 -0
- package/dist/{BBadge-Cx_CdauK.mjs → BBadge-BaZ13wE_.js} +5 -5
- package/dist/{BBadge-Db6SEnzy.js.map → BBadge-BaZ13wE_.js.map} +1 -1
- package/dist/{BBreadcrumb-BxADbg0O.mjs → BBreadcrumb-C-SsS3hM.js} +4 -4
- package/dist/{BBreadcrumb-B9ra7vg2.js.map → BBreadcrumb-C-SsS3hM.js.map} +1 -1
- package/dist/{BButton-BSa7LfL5.mjs → BButton-Cc2gd95Z.js} +5 -7
- package/dist/{BButton-DRRlzkyK.js.map → BButton-Cc2gd95Z.js.map} +1 -1
- package/dist/{BButton-PY7AANXJ.mjs → BButton-KZu5jczf.js} +9 -9
- package/dist/{BButton-aYtMnyHu.js.map → BButton-KZu5jczf.js.map} +1 -1
- package/dist/{BCard-BWoruisp.mjs → BCard-D2GEiXan.js} +2 -3
- package/dist/{BCard-Bh8RLMo_.js.map → BCard-D2GEiXan.js.map} +1 -1
- package/dist/{BCard-CHbKv2OR.mjs → BCard-nRj1JWtQ.js} +9 -9
- package/dist/{BCard-DwNYhVmg.js.map → BCard-nRj1JWtQ.js.map} +1 -1
- package/dist/{BCarousel-B6_bgQpl.mjs → BCarousel-DQgfW4DN.js} +11 -10
- package/dist/{BCarousel-2JB21Pcu.js.map → BCarousel-DQgfW4DN.js.map} +1 -1
- package/dist/{BCloseButton-CKTKr4PS.mjs → BCloseButton-B3-IdpNp.js} +2 -2
- package/dist/{BCloseButton-D42zHRLP.js.map → BCloseButton-B3-IdpNp.js.map} +1 -1
- package/dist/{BCol-B3VeEk9z.mjs → BCol-DiZFbqU5.js} +3 -3
- package/dist/{BCol-Ck9VydHj.js.map → BCol-DiZFbqU5.js.map} +1 -1
- package/dist/{BCollapse-kqhe4AmL.mjs → BCollapse-B9fnWSzA.js} +15 -9
- package/dist/BCollapse-B9fnWSzA.js.map +1 -0
- package/dist/{BContainer-ATfhaxTc.mjs → BContainer-D-bZVPwa.js} +2 -4
- package/dist/{BContainer-CcF6dgtI.js.map → BContainer-D-bZVPwa.js.map} +1 -1
- package/dist/{BDateField-CccP3H1R.mjs → BDateField-Bj-Jz7u4.js} +27 -22
- package/dist/BDateField-Bj-Jz7u4.js.map +1 -0
- package/dist/{BDatePicker-BnwnSkBg.mjs → BDatePicker-AVTYcVLy.js} +232 -148
- package/dist/BDatePicker-AVTYcVLy.js.map +1 -0
- package/dist/{BDropdown-B1DbvVzm.mjs → BDropdown-CnxUzs42.js} +55 -46
- package/dist/BDropdown-CnxUzs42.js.map +1 -0
- package/dist/{BDropdown-0E8x5kk6.mjs → BDropdown-D4VSJJxu.js} +5 -6
- package/dist/{BDropdown-DKCgBzYS.js.map → BDropdown-D4VSJJxu.js.map} +1 -1
- package/dist/{BForm-BVfW08s5.mjs → BForm-BOoX6AAr.js} +2 -2
- package/dist/{BForm-cnRpggt9.js.map → BForm-BOoX6AAr.js.map} +1 -1
- package/dist/{BForm-DJu2hDV_.mjs → BForm-C5PR2ust.js} +7 -8
- package/dist/{BForm-6JlWdQMO.js.map → BForm-C5PR2ust.js.map} +1 -1
- package/dist/{BFormCheckbox-Baf_9BSc.mjs → BFormCheckbox-BMhyR-J5.js} +12 -13
- package/dist/BFormCheckbox-BMhyR-J5.js.map +1 -0
- package/dist/{BFormFile-CZebm0Cp.mjs → BFormFile-BVrDprWL.js} +8 -8
- package/dist/{BFormFile-MISLntyJ.js.map → BFormFile-BVrDprWL.js.map} +1 -1
- package/dist/{BFormGroup-vysRPb99.mjs → BFormGroup-BE5tGz_g.js} +40 -24
- package/dist/BFormGroup-BE5tGz_g.js.map +1 -0
- package/dist/{BFormInput-sEfU3CuN.mjs → BFormInput-BwvdFGDu.js} +5 -5
- package/dist/{BFormInput-CBwwDjfC.js.map → BFormInput-BwvdFGDu.js.map} +1 -1
- package/dist/{BFormOtp-C8X3u1od.mjs → BFormOtp-I1t8dqPS.js} +63 -22
- package/dist/BFormOtp-I1t8dqPS.js.map +1 -0
- package/dist/{BFormRadio-COc_IbxC.mjs → BFormRadio-DRViMh6V.js} +24 -13
- package/dist/BFormRadio-DRViMh6V.js.map +1 -0
- package/dist/{BFormRating-CIgPVsH_.mjs → BFormRating-AEiF8K8T.js} +23 -17
- package/dist/BFormRating-AEiF8K8T.js.map +1 -0
- package/dist/{BFormSelect-P-InkOm-.mjs → BFormSelect-DdjH8482.js} +23 -12
- package/dist/BFormSelect-DdjH8482.js.map +1 -0
- package/dist/{BFormSelectOption-DFN4lPRh.mjs → BFormSelectOption-C8orMj24.js} +3 -3
- package/dist/{BFormSelectOption-DrwJucNf.js.map → BFormSelectOption-C8orMj24.js.map} +1 -1
- package/dist/{BFormSpinbutton-6qkTBF_4.mjs → BFormSpinbutton-Bt590uT6.js} +10 -9
- package/dist/{BFormSpinbutton-1gTz4nTo.js.map → BFormSpinbutton-Bt590uT6.js.map} +1 -1
- package/dist/{BFormTag-CnzI39y9.mjs → BFormTag-DGSUfz7A.js} +5 -5
- package/dist/{BFormTag-CeV0MSRC.js.map → BFormTag-DGSUfz7A.js.map} +1 -1
- package/dist/{BFormTags-BMltSaKL.mjs → BFormTags-CUcyRTCK.js} +23 -27
- package/dist/BFormTags-CUcyRTCK.js.map +1 -0
- package/dist/{BFormTextarea-DN1gAfSo.mjs → BFormTextarea-DlDe26DL.js} +6 -6
- package/dist/{BFormTextarea-C3Cj0DWj.js.map → BFormTextarea-DlDe26DL.js.map} +1 -1
- package/dist/{BFormValidFeedback-CBYxQLDz.mjs → BFormValidFeedback-ClqLRxtH.js} +4 -4
- package/dist/{BFormValidFeedback-Kwxh798d.js.map → BFormValidFeedback-ClqLRxtH.js.map} +1 -1
- package/dist/{BImg-QBS2ECBc.mjs → BImg-knz2UZQE.js} +5 -5
- package/dist/{BImg-JKJLgYYT.js.map → BImg-knz2UZQE.js.map} +1 -1
- package/dist/{BInputGroup-DiTSexkT.mjs → BInputGroup-Bjh7zXyI.js} +2 -3
- package/dist/{BInputGroup-D4fW324B.js.map → BInputGroup-Bjh7zXyI.js.map} +1 -1
- package/dist/{BInputGroup-X2Z53RJx.mjs → BInputGroup-DdoeSICR.js} +3 -3
- package/dist/{BInputGroup-Bvlfv6VD.js.map → BInputGroup-DdoeSICR.js.map} +1 -1
- package/dist/{BLink-Dfgte6dQ.mjs → BLink-mdwZsC7b.js} +5 -5
- package/dist/{BLink-kLEjleB1.js.map → BLink-mdwZsC7b.js.map} +1 -1
- package/dist/{BListGroup-DwTLpNiD.mjs → BListGroup-CQedMbI8.js} +4 -4
- package/dist/{BListGroup-C8JOzHTz.js.map → BListGroup-CQedMbI8.js.map} +1 -1
- package/dist/{BModal-C-ZCau2E.mjs → BModal-NPsCBNo7.js} +25 -18
- package/dist/BModal-NPsCBNo7.js.map +1 -0
- package/dist/{BNav-DfYvjfRK.mjs → BNav-CjXS9tQ5.js} +9 -9
- package/dist/{BNav-DCLambmM.js.map → BNav-CjXS9tQ5.js.map} +1 -1
- package/dist/{BNavbar-DRdsCZSv.mjs → BNavbar-DRqkdxTk.js} +8 -8
- package/dist/{BNavbar-BbOcUVPq.js.map → BNavbar-DRqkdxTk.js.map} +1 -1
- package/dist/{BOffcanvas-CF-dWeez.mjs → BOffcanvas-BndaBJoP.js} +22 -16
- package/dist/BOffcanvas-BndaBJoP.js.map +1 -0
- package/dist/{BOverlay-Bh2PIN_q.mjs → BOverlay-CJfy_f6O.js} +6 -6
- package/dist/{BOverlay-Bh4ldxgt.js.map → BOverlay-CJfy_f6O.js.map} +1 -1
- package/dist/{BPagination-D75q-ZNg.mjs → BPagination-D_Hfk6OF.js} +29 -27
- package/dist/{BPagination-fbjFAtxu.js.map → BPagination-D_Hfk6OF.js.map} +1 -1
- package/dist/{BPlaceholder-DPQ6mCLN.mjs → BPlaceholder-DvOCnqDh.js} +11 -11
- package/dist/{BPlaceholder-B3rs_39w.js.map → BPlaceholder-DvOCnqDh.js.map} +1 -1
- package/dist/{BProgress-BZlrPYhA.mjs → BProgress-BNxYppi-.js} +5 -5
- package/dist/{BProgress-th0-eZWo.js.map → BProgress-BNxYppi-.js.map} +1 -1
- package/dist/{BRow-eGSUYGCW.mjs → BRow-CoBI89xF.js} +4 -4
- package/dist/{BRow-7AOuFiSy.js.map → BRow-CoBI89xF.js.map} +1 -1
- package/dist/{BSpinner-CUfGqviV.mjs → BSpinner-H1DZOmiM.js} +4 -4
- package/dist/{BSpinner-DbYIp-C7.js.map → BSpinner-H1DZOmiM.js.map} +1 -1
- package/dist/{BTable-DUHxxWv5.mjs → BTable-BZxX17YU.js} +40 -33
- package/dist/BTable-BZxX17YU.js.map +1 -0
- package/dist/{BTableSimple-C-jn9Nwh.mjs → BTableSimple-2Z7ssnuG.js} +5 -5
- package/dist/{BTableSimple-BkdGAAKb.js.map → BTableSimple-2Z7ssnuG.js.map} +1 -1
- package/dist/{BTabs-D_vWlBjT.mjs → BTabs-BVcu9DPg.js} +19 -17
- package/dist/{BTabs-CvecFg5N.js.map → BTabs-BVcu9DPg.js.map} +1 -1
- package/dist/{BTimeField-BSDaZogC.mjs → BTimeField-CbRGjaI6.js} +24 -19
- package/dist/BTimeField-CbRGjaI6.js.map +1 -0
- package/dist/{BToast-Y8BayxES.mjs → BToast-Di9HwBOV.js} +21 -14
- package/dist/BToast-Di9HwBOV.js.map +1 -0
- package/dist/{BTooltip-CVP8HdkU.mjs → BTooltip-BxaUtV4m.js} +5 -5
- package/dist/{BTooltip-DPLYtaL1.js.map → BTooltip-BxaUtV4m.js.map} +1 -1
- package/dist/{BootstrapVueOptions-Dt1TQdih.mjs → BootstrapVueOptions-DH79gHKG.js} +1 -4
- package/dist/BootstrapVueOptions-DH79gHKG.js.map +1 -0
- package/dist/{ConditionalTeleport-B4KYZIM6.mjs → ConditionalTeleport-BCKPLEun.js} +1 -1
- package/dist/{ConditionalTeleport-BDWcebyD.js.map → ConditionalTeleport-BCKPLEun.js.map} +1 -1
- package/dist/{ConditionalWrapper-Dbc_O6qe.mjs → ConditionalWrapper-CCIk52zt.js} +1 -1
- package/dist/{ConditionalWrapper-DZH_VSwb.js.map → ConditionalWrapper-CCIk52zt.js.map} +1 -1
- package/dist/{DateRangeFieldInput-B86VEz0H.mjs → DateRangeFieldInput-Cbzjg8iF.js} +45 -22
- package/dist/DateRangeFieldInput-Cbzjg8iF.js.map +1 -0
- package/dist/{PopperContent-DmSgsjSC.mjs → PopperContent-C9eeL6LH.js} +395 -100
- package/dist/PopperContent-C9eeL6LH.js.map +1 -0
- package/dist/{VisuallyHidden-C4sXnc-k.mjs → VisuallyHidden-BYzyjJiY.js} +23 -15
- package/dist/VisuallyHidden-BYzyjJiY.js.map +1 -0
- package/dist/{VisuallyHiddenInput-DKIzxsQR.mjs → VisuallyHiddenInput-CUrc8XXa.js} +46 -7
- package/dist/VisuallyHiddenInput-CUrc8XXa.js.map +1 -0
- package/dist/bootstrap-vue-next.mjs +65 -65
- package/dist/{classes-B0E5Y78Y.mjs → classes-BEWWGbj5.js} +1 -1
- package/dist/{classes-D5wrmmVs.js.map → classes-BEWWGbj5.js.map} +1 -1
- package/dist/components/BAccordion/BAccordion.vue.d.mts +9 -13
- package/dist/components/BAccordion/BAccordion.vue.d.ts +9 -13
- package/dist/components/BAccordion/BAccordionItem.vue.d.mts +16 -24
- package/dist/components/BAccordion/BAccordionItem.vue.d.ts +16 -24
- package/dist/components/BAlert/BAlert.vue.d.mts +26 -34
- package/dist/components/BAlert/BAlert.vue.d.ts +26 -34
- package/dist/components/BApp/BApp.vue.d.mts +8 -12
- package/dist/components/BApp/BApp.vue.d.ts +8 -12
- package/dist/components/BApp/BOrchestrator.vue.d.mts +2 -1
- package/dist/components/BApp/BOrchestrator.vue.d.ts +2 -1
- package/dist/components/BAspect/BAspect.vue.d.mts +5 -10
- package/dist/components/BAspect/BAspect.vue.d.ts +5 -10
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.mts +12 -270
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.ts +12 -270
- package/dist/components/BAvatar/BAvatar.vue.d.mts +20 -25
- package/dist/components/BAvatar/BAvatar.vue.d.ts +20 -25
- package/dist/components/BAvatar/BAvatarGroup.vue.d.mts +8 -13
- package/dist/components/BAvatar/BAvatarGroup.vue.d.ts +8 -13
- package/dist/components/BBadge/BBadge.vue.d.mts +13 -18
- package/dist/components/BBadge/BBadge.vue.d.ts +13 -18
- package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.mts +6 -11
- package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.ts +6 -11
- package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.mts +13 -18
- package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.ts +13 -18
- package/dist/components/BButton/BButton.vue.d.mts +17 -25
- package/dist/components/BButton/BButton.vue.d.ts +17 -25
- package/dist/components/BButton/BButtonGroup.vue.d.mts +5 -10
- package/dist/components/BButton/BButtonGroup.vue.d.ts +5 -10
- package/dist/components/BButton/BButtonToolbar.vue.d.mts +7 -16
- package/dist/components/BButton/BButtonToolbar.vue.d.ts +7 -16
- package/dist/components/BButton/BCloseButton.vue.d.mts +4 -3
- package/dist/components/BButton/BCloseButton.vue.d.ts +4 -3
- package/dist/components/BCard/BCard.vue.d.mts +21 -26
- package/dist/components/BCard/BCard.vue.d.ts +21 -26
- package/dist/components/BCard/BCardBody.vue.d.mts +9 -14
- package/dist/components/BCard/BCardBody.vue.d.ts +9 -14
- package/dist/components/BCard/BCardFooter.vue.d.mts +7 -11
- package/dist/components/BCard/BCardFooter.vue.d.ts +7 -11
- package/dist/components/BCard/BCardGroup.vue.d.mts +5 -10
- package/dist/components/BCard/BCardGroup.vue.d.ts +5 -10
- package/dist/components/BCard/BCardHeader.vue.d.mts +7 -12
- package/dist/components/BCard/BCardHeader.vue.d.ts +7 -12
- package/dist/components/BCard/BCardImg.vue.d.mts +7 -6
- package/dist/components/BCard/BCardImg.vue.d.ts +7 -6
- package/dist/components/BCard/BCardSubtitle.vue.d.mts +6 -11
- package/dist/components/BCard/BCardSubtitle.vue.d.ts +6 -11
- package/dist/components/BCard/BCardText.vue.d.mts +5 -10
- package/dist/components/BCard/BCardText.vue.d.ts +5 -10
- package/dist/components/BCard/BCardTitle.vue.d.mts +5 -10
- package/dist/components/BCard/BCardTitle.vue.d.ts +5 -10
- package/dist/components/BCardHeadFoot.vue.d.mts +6 -11
- package/dist/components/BCardHeadFoot.vue.d.ts +6 -11
- package/dist/components/BCarousel/BCarousel.vue.d.mts +12 -24
- package/dist/components/BCarousel/BCarousel.vue.d.ts +12 -24
- package/dist/components/BCarousel/BCarouselSlide.vue.d.mts +7 -12
- package/dist/components/BCarousel/BCarouselSlide.vue.d.ts +7 -12
- package/dist/components/BCollapse/BCollapse.vue.d.mts +13 -21
- package/dist/components/BCollapse/BCollapse.vue.d.ts +13 -21
- package/dist/components/BContainer/BCol.vue.d.mts +8 -13
- package/dist/components/BContainer/BCol.vue.d.ts +8 -13
- package/dist/components/BContainer/BContainer.vue.d.mts +5 -10
- package/dist/components/BContainer/BContainer.vue.d.ts +5 -10
- package/dist/components/BContainer/BRow.vue.d.mts +6 -11
- package/dist/components/BContainer/BRow.vue.d.ts +6 -11
- package/dist/components/BDateField/BDateField.vue.d.mts +8 -12
- package/dist/components/BDateField/BDateField.vue.d.ts +8 -12
- package/dist/components/BDateField/BDateRangeField.vue.d.mts +8 -12
- package/dist/components/BDateField/BDateRangeField.vue.d.ts +8 -12
- package/dist/components/BDateField/BTimeRangeField.vue.d.mts +9 -13
- package/dist/components/BDateField/BTimeRangeField.vue.d.ts +9 -13
- package/dist/components/BDatePicker/BDatePicker.vue.d.mts +9 -13
- package/dist/components/BDatePicker/BDatePicker.vue.d.ts +9 -13
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.mts +9 -13
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.ts +9 -13
- package/dist/components/BDropdown/BDropdown.vue.d.mts +24 -957
- package/dist/components/BDropdown/BDropdown.vue.d.ts +24 -957
- package/dist/components/BDropdown/BDropdownDivider.vue.d.mts +3 -2
- package/dist/components/BDropdown/BDropdownDivider.vue.d.ts +3 -2
- package/dist/components/BDropdown/BDropdownForm.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownForm.vue.d.ts +6 -11
- package/dist/components/BDropdown/BDropdownGroup.vue.d.mts +5 -10
- package/dist/components/BDropdown/BDropdownGroup.vue.d.ts +5 -10
- package/dist/components/BDropdown/BDropdownHeader.vue.d.mts +7 -12
- package/dist/components/BDropdown/BDropdownHeader.vue.d.ts +7 -12
- package/dist/components/BDropdown/BDropdownItem.vue.d.mts +12 -17
- package/dist/components/BDropdown/BDropdownItem.vue.d.ts +12 -17
- package/dist/components/BDropdown/BDropdownItemButton.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownItemButton.vue.d.ts +6 -11
- package/dist/components/BDropdown/BDropdownText.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownText.vue.d.ts +6 -11
- package/dist/components/BForm/BForm.vue.d.mts +8 -17
- package/dist/components/BForm/BForm.vue.d.ts +8 -17
- package/dist/components/BForm/BFormDatalist.vue.d.mts +12 -7
- package/dist/components/BForm/BFormDatalist.vue.d.ts +12 -7
- package/dist/components/BForm/BFormDatalistBase.vue.d.mts +20 -22
- package/dist/components/BForm/BFormDatalistBase.vue.d.ts +20 -22
- package/dist/components/BForm/BFormFloatingLabel.vue.d.mts +6 -11
- package/dist/components/BForm/BFormFloatingLabel.vue.d.ts +6 -11
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.mts +6 -11
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.ts +6 -11
- package/dist/components/BForm/BFormRow.vue.d.mts +5 -10
- package/dist/components/BForm/BFormRow.vue.d.ts +5 -10
- package/dist/components/BForm/BFormText.vue.d.mts +6 -11
- package/dist/components/BForm/BFormText.vue.d.ts +6 -11
- package/dist/components/BForm/BFormValidFeedback.vue.d.mts +6 -11
- package/dist/components/BForm/BFormValidFeedback.vue.d.ts +6 -11
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.mts +14 -22
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.ts +14 -22
- package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.mts +16 -11
- package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.ts +16 -11
- package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.mts +22 -27
- package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.ts +22 -27
- package/dist/components/BFormFile/BFormFile.vue.d.mts +9 -25
- package/dist/components/BFormFile/BFormFile.vue.d.ts +9 -25
- package/dist/components/BFormGroup/BFormGroup.vue.d.mts +14 -23
- package/dist/components/BFormGroup/BFormGroup.vue.d.ts +14 -23
- package/dist/components/BFormGroupContent.vue.d.mts +8 -17
- package/dist/components/BFormGroupContent.vue.d.ts +8 -17
- package/dist/components/BFormGroupLabel.vue.d.mts +6 -13
- package/dist/components/BFormGroupLabel.vue.d.ts +6 -13
- package/dist/components/BFormInput/BFormInput.vue.d.mts +10 -10
- package/dist/components/BFormInput/BFormInput.vue.d.ts +10 -10
- package/dist/components/BFormOtp/BFormOtp.vue.d.mts +7 -5
- package/dist/components/BFormOtp/BFormOtp.vue.d.ts +7 -5
- package/dist/components/BFormRadio/BFormRadio.vue.d.mts +13 -21
- package/dist/components/BFormRadio/BFormRadio.vue.d.ts +13 -21
- package/dist/components/BFormRadio/BFormRadioGroup.vue.d.mts +21 -14
- package/dist/components/BFormRadio/BFormRadioGroup.vue.d.ts +21 -14
- package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.mts +14 -22
- package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.ts +14 -22
- package/dist/components/BFormRating/BFormRating.vue.d.mts +10 -12
- package/dist/components/BFormRating/BFormRating.vue.d.ts +10 -12
- package/dist/components/BFormSelect/BFormSelect.vue.d.mts +16 -11
- package/dist/components/BFormSelect/BFormSelect.vue.d.ts +16 -11
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.mts +24 -29
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.ts +24 -29
- package/dist/components/BFormSelect/BFormSelectOption.vue.d.mts +12 -7
- package/dist/components/BFormSelect/BFormSelectOption.vue.d.ts +12 -7
- package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.mts +12 -7
- package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.ts +12 -7
- package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.mts +11 -12
- package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.ts +11 -12
- package/dist/components/BFormTags/BFormTag.vue.d.mts +7 -12
- package/dist/components/BFormTags/BFormTag.vue.d.ts +7 -12
- package/dist/components/BFormTags/BFormTags.vue.d.mts +12 -20
- package/dist/components/BFormTags/BFormTags.vue.d.ts +12 -20
- package/dist/components/BFormTextarea/BFormTextarea.vue.d.mts +12 -12
- package/dist/components/BFormTextarea/BFormTextarea.vue.d.ts +12 -12
- package/dist/components/BImg/BImg.vue.d.mts +7 -6
- package/dist/components/BImg/BImg.vue.d.ts +7 -6
- package/dist/components/BInputGroup/BInputGroup.vue.d.mts +5 -10
- package/dist/components/BInputGroup/BInputGroup.vue.d.ts +5 -10
- package/dist/components/BInputGroup/BInputGroupText.vue.d.mts +5 -10
- package/dist/components/BInputGroup/BInputGroupText.vue.d.ts +5 -10
- package/dist/components/BLink/BLink.vue.d.mts +12 -17
- package/dist/components/BLink/BLink.vue.d.ts +12 -17
- package/dist/components/BListGroup/BListGroup.vue.d.mts +5 -10
- package/dist/components/BListGroup/BListGroup.vue.d.ts +5 -10
- package/dist/components/BListGroup/BListGroupItem.vue.d.mts +13 -18
- package/dist/components/BListGroup/BListGroupItem.vue.d.ts +13 -18
- package/dist/components/BModal/BModal.vue.d.mts +47 -1026
- package/dist/components/BModal/BModal.vue.d.ts +47 -1026
- package/dist/components/BNav/BNav.vue.d.mts +7 -12
- package/dist/components/BNav/BNav.vue.d.ts +7 -12
- package/dist/components/BNav/BNavForm.vue.d.mts +8 -13
- package/dist/components/BNav/BNavForm.vue.d.ts +8 -13
- package/dist/components/BNav/BNavItem.vue.d.mts +12 -17
- package/dist/components/BNav/BNavItem.vue.d.ts +12 -17
- package/dist/components/BNav/BNavItemDropdown.vue.d.mts +20 -1660
- package/dist/components/BNav/BNavItemDropdown.vue.d.ts +20 -1660
- package/dist/components/BNav/BNavText.vue.d.mts +6 -11
- package/dist/components/BNav/BNavText.vue.d.ts +6 -11
- package/dist/components/BNavbar/BNavbar.vue.d.mts +6 -11
- package/dist/components/BNavbar/BNavbar.vue.d.ts +6 -11
- package/dist/components/BNavbar/BNavbarBrand.vue.d.mts +11 -16
- package/dist/components/BNavbar/BNavbarBrand.vue.d.ts +11 -16
- package/dist/components/BNavbar/BNavbarNav.vue.d.mts +6 -11
- package/dist/components/BNavbar/BNavbarNav.vue.d.ts +6 -11
- package/dist/components/BNavbar/BNavbarToggle.vue.d.mts +7 -12
- package/dist/components/BNavbar/BNavbarToggle.vue.d.ts +7 -12
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.mts +28 -82
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.ts +28 -82
- package/dist/components/BOverlay/BOverlay.vue.d.mts +17 -22
- package/dist/components/BOverlay/BOverlay.vue.d.ts +17 -22
- package/dist/components/BPagination/BPagination.vue.d.mts +9 -10
- package/dist/components/BPagination/BPagination.vue.d.ts +9 -10
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.mts +3 -2
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.ts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.mts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.ts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.mts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.ts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.mts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.ts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.mts +5 -10
- package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.ts +5 -10
- package/dist/components/BPopover/BPopover.vue.d.mts +35 -49
- package/dist/components/BPopover/BPopover.vue.d.ts +35 -49
- package/dist/components/BProgress/BProgress.vue.d.mts +10 -15
- package/dist/components/BProgress/BProgress.vue.d.ts +10 -15
- package/dist/components/BProgress/BProgressBar.vue.d.mts +9 -14
- package/dist/components/BProgress/BProgressBar.vue.d.ts +9 -14
- package/dist/components/BSpinner/BSpinner.vue.d.mts +7 -12
- package/dist/components/BSpinner/BSpinner.vue.d.ts +7 -12
- package/dist/components/BTable/BTable.vue.d.mts +35 -30
- package/dist/components/BTable/BTable.vue.d.ts +35 -30
- package/dist/components/BTable/BTableLite.vue.d.mts +24 -19
- package/dist/components/BTable/BTableLite.vue.d.ts +24 -19
- package/dist/components/BTable/BTableSimple.vue.d.mts +9 -14
- package/dist/components/BTable/BTableSimple.vue.d.ts +9 -14
- package/dist/components/BTable/BTbody.vue.d.mts +6 -11
- package/dist/components/BTable/BTbody.vue.d.ts +6 -11
- package/dist/components/BTable/BTd.vue.d.mts +6 -11
- package/dist/components/BTable/BTd.vue.d.ts +6 -11
- package/dist/components/BTable/BTfoot.vue.d.mts +6 -11
- package/dist/components/BTable/BTfoot.vue.d.ts +6 -11
- package/dist/components/BTable/BTh.vue.d.mts +6 -11
- package/dist/components/BTable/BTh.vue.d.ts +6 -11
- package/dist/components/BTable/BThead.vue.d.mts +6 -11
- package/dist/components/BTable/BThead.vue.d.ts +6 -11
- package/dist/components/BTable/BTr.vue.d.mts +6 -11
- package/dist/components/BTable/BTr.vue.d.ts +6 -11
- package/dist/components/BTabs/BTab.vue.d.mts +10 -18
- package/dist/components/BTabs/BTab.vue.d.ts +10 -18
- package/dist/components/BTabs/BTabs.vue.d.mts +10 -14
- package/dist/components/BTabs/BTabs.vue.d.ts +10 -14
- package/dist/components/BTabsTabContent.vue.d.mts +7 -15
- package/dist/components/BTabsTabContent.vue.d.ts +7 -15
- package/dist/components/BTimeField/BTimeField.vue.d.mts +8 -12
- package/dist/components/BTimeField/BTimeField.vue.d.ts +8 -12
- package/dist/components/BToast/BToast.vue.d.mts +25 -33
- package/dist/components/BToast/BToast.vue.d.ts +25 -33
- package/dist/components/BTooltip/BTooltip.vue.d.mts +32 -732
- package/dist/components/BTooltip/BTooltip.vue.d.ts +32 -732
- package/dist/components/ConditionalTeleport.vue.d.mts +3 -2
- package/dist/components/ConditionalTeleport.vue.d.ts +3 -2
- package/dist/components/ConditionalWrapper.vue.d.mts +3 -2
- package/dist/components/ConditionalWrapper.vue.d.ts +3 -2
- package/dist/composables/index.d.mts +3 -3
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/orchestratorShared/index.d.mts +25 -14
- package/dist/composables/orchestratorShared/index.d.ts +25 -14
- package/dist/composables/useBLinkHelper.d.mts +1 -1
- package/dist/composables/useBLinkHelper.d.ts +1 -1
- package/dist/composables/useModal/index.d.mts +8 -33
- package/dist/composables/useModal/index.d.ts +8 -33
- package/dist/composables/usePopover/index.d.mts +332 -4532
- package/dist/composables/usePopover/index.d.ts +332 -4532
- package/dist/composables/useShowHide.d.mts +21 -15
- package/dist/composables/useShowHide.d.ts +21 -15
- package/dist/composables/useToast/index.d.mts +7 -18
- package/dist/composables/useToast/index.d.ts +7 -18
- package/dist/console-DaUCJgpk.js +15 -0
- package/dist/console-DaUCJgpk.js.map +1 -0
- package/dist/{constants-Ba9iJn2H.mjs → constants-Cap5sNf8.js} +1 -1
- package/dist/{constants-BLIvvaat.js.map → constants-Cap5sNf8.js.map} +1 -1
- package/dist/{debounce-DHxNfjan.mjs → debounce-Xj7wsAmR.js} +2 -2
- package/dist/{debounce-D6kifS6w.js.map → debounce-Xj7wsAmR.js.map} +1 -1
- package/dist/{dist-Dk9C_HFS.mjs → dist-9-XTMhb-.js} +5 -539
- package/dist/dist-9-XTMhb-.js.map +1 -0
- package/dist/dist-B-regXAP.js +123 -0
- package/dist/dist-B-regXAP.js.map +1 -0
- package/dist/dist-DKc2ivHS.js +411 -0
- package/dist/dist-DKc2ivHS.js.map +1 -0
- package/dist/{dom-AhkaSoh8.mjs → dom-BdUQrX99.js} +3 -2
- package/dist/dom-BdUQrX99.js.map +1 -0
- package/dist/{flattenFragments-ClbLQGqR.mjs → flattenFragments-B15oMVs-.js} +1 -1
- package/dist/{flattenFragments-C1WWqm25.js.map → flattenFragments-B15oMVs-.js.map} +1 -1
- package/dist/{floating-ui.vue-CH2o_mZU.mjs → floating-ui.dom-C7UZexJK.js} +114 -338
- package/dist/floating-ui.dom-C7UZexJK.js.map +1 -0
- package/dist/{floatingUi-62aeQtAb.mjs → floatingUi-BlKoACvc.js} +194 -27
- package/dist/floatingUi-BlKoACvc.js.map +1 -0
- package/dist/{functions-BcMenQqL.mjs → functions-BUZ1y9RA.js} +1 -1
- package/dist/functions-BUZ1y9RA.js.map +1 -0
- package/dist/{getClasses-COokMI60.mjs → getClasses-BlbbSJNl.js} +1 -1
- package/dist/{getClasses-8P0iBind.js.map → getClasses-BlbbSJNl.js.map} +1 -1
- package/dist/{getElement-D2Jr1cbp.mjs → getElement-uvhh1lgL.js} +2 -2
- package/dist/{getElement-DWGFJn0w.js.map → getElement-uvhh1lgL.js.map} +1 -1
- package/dist/{keys-DU7sQgl3.mjs → keys-BgLwJbLV.js} +1 -1
- package/dist/keys-BgLwJbLV.js.map +1 -0
- package/dist/{object-CHQkkner.mjs → object-C7YmCGEm.js} +10 -6
- package/dist/object-C7YmCGEm.js.map +1 -0
- package/dist/{registryAccess-BkJDdh-3.mjs → registryAccess-YFj5ZD5T.js} +1 -1
- package/dist/{registryAccess-B9QDQwV8.js.map → registryAccess-YFj5ZD5T.js.map} +1 -1
- package/dist/src/components/BAccordion/index.mjs +1 -1
- package/dist/src/components/BAlert/index.mjs +1 -1
- package/dist/src/components/BApp/index.mjs +1 -1
- package/dist/src/components/BAspect/index.mjs +1 -1
- package/dist/src/components/BAutocomplete/index.mjs +1 -1
- package/dist/src/components/BAvatar/index.mjs +1 -1
- package/dist/src/components/BBadge/index.mjs +1 -1
- package/dist/src/components/BBreadcrumb/index.mjs +1 -1
- package/dist/src/components/BButton/index.mjs +3 -3
- package/dist/src/components/BCard/index.mjs +2 -2
- package/dist/src/components/BCarousel/index.mjs +1 -1
- package/dist/src/components/BCol/index.mjs +1 -1
- package/dist/src/components/BCollapse/index.mjs +1 -1
- package/dist/src/components/BContainer/index.mjs +3 -3
- package/dist/src/components/BDateField/index.mjs +1 -1
- package/dist/src/components/BDatePicker/index.mjs +1 -1
- package/dist/src/components/BDropdown/index.mjs +2 -2
- package/dist/src/components/BForm/index.mjs +3 -3
- package/dist/src/components/BFormCheckbox/index.mjs +1 -1
- package/dist/src/components/BFormFile/index.mjs +1 -1
- package/dist/src/components/BFormGroup/index.mjs +1 -1
- package/dist/src/components/BFormInput/index.mjs +1 -1
- package/dist/src/components/BFormOtp/index.mjs +1 -1
- package/dist/src/components/BFormRadio/index.mjs +1 -1
- package/dist/src/components/BFormRating/index.mjs +1 -1
- package/dist/src/components/BFormSelect/index.mjs +2 -2
- package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
- package/dist/src/components/BFormTags/index.mjs +2 -2
- package/dist/src/components/BFormTextarea/index.mjs +1 -1
- package/dist/src/components/BImg/index.mjs +1 -1
- package/dist/src/components/BInputGroup/index.mjs +2 -2
- package/dist/src/components/BLink/index.mjs +1 -1
- package/dist/src/components/BListGroup/index.mjs +1 -1
- package/dist/src/components/BModal/index.mjs +1 -1
- package/dist/src/components/BNav/index.mjs +1 -1
- package/dist/src/components/BNavbar/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BOverlay/index.mjs +1 -1
- package/dist/src/components/BPagination/index.mjs +1 -1
- package/dist/src/components/BPlaceholder/index.mjs +1 -1
- package/dist/src/components/BPopover/index.mjs +1 -1
- package/dist/src/components/BProgress/index.mjs +1 -1
- package/dist/src/components/BRow/index.mjs +1 -1
- package/dist/src/components/BSpinner/index.mjs +1 -1
- package/dist/src/components/BTable/index.mjs +2 -2
- package/dist/src/components/BTabs/index.mjs +1 -1
- package/dist/src/components/BTimeField/index.mjs +1 -1
- package/dist/src/components/BToast/index.mjs +1 -1
- package/dist/src/components/BTooltip/index.mjs +1 -1
- package/dist/src/components/index.mjs +60 -68
- package/dist/src/composables/index.mjs +5 -8
- package/dist/src/composables/index.mjs.map +1 -1
- package/dist/src/composables/orchestratorShared/index.mjs +79 -82
- package/dist/src/composables/orchestratorShared/index.mjs.map +1 -1
- package/dist/src/composables/useBreadcrumb/index.mjs +1 -1
- package/dist/src/composables/useBreadcrumb/index.mjs.map +1 -1
- package/dist/src/composables/useColorMode/index.mjs +2 -2
- package/dist/src/composables/useColorMode/index.mjs.map +1 -1
- package/dist/src/composables/useModal/index.mjs +65 -64
- package/dist/src/composables/useModal/index.mjs.map +1 -1
- package/dist/src/composables/usePopover/index.mjs +51 -68
- package/dist/src/composables/usePopover/index.mjs.map +1 -1
- package/dist/src/composables/useProvideDefaults/index.mjs +4 -3
- package/dist/src/composables/useProvideDefaults/index.mjs.map +1 -1
- package/dist/src/composables/useRegistry/index.mjs +5 -3
- package/dist/src/composables/useRegistry/index.mjs.map +1 -1
- package/dist/src/composables/useScrollLock/index.mjs +2 -1
- package/dist/src/composables/useScrollLock/index.mjs.map +1 -1
- package/dist/src/composables/useScrollspy/index.mjs +16 -13
- package/dist/src/composables/useScrollspy/index.mjs.map +1 -1
- package/dist/src/composables/useToast/index.mjs +45 -66
- package/dist/src/composables/useToast/index.mjs.map +1 -1
- package/dist/src/composables/useToggle/index.mjs +5 -3
- package/dist/src/composables/useToggle/index.mjs.map +1 -1
- package/dist/src/directives/BColorMode/index.mjs.map +1 -1
- package/dist/src/directives/BPopover/index.mjs +2 -2
- package/dist/src/directives/BPopover/index.mjs.map +1 -1
- package/dist/src/directives/BScrollspy/index.mjs +3 -3
- package/dist/src/directives/BScrollspy/index.mjs.map +1 -1
- package/dist/src/directives/BToggle/index.mjs +8 -6
- package/dist/src/directives/BToggle/index.mjs.map +1 -1
- package/dist/src/directives/BTooltip/index.mjs +2 -2
- package/dist/src/directives/BTooltip/index.mjs.map +1 -1
- package/dist/src/directives/index.mjs +1 -2
- package/dist/src/plugins/createBootstrap/index.mjs +1 -1
- package/dist/src/plugins/createBootstrap/index.mjs.map +1 -1
- package/dist/src/plugins/index.mjs +1 -1
- package/dist/src/plugins/orchestrator/index.mjs +1 -1
- package/dist/src/plugins/orchestrator/index.mjs.map +1 -1
- package/dist/src/plugins/registry/index.mjs +1 -1
- package/dist/src/plugins/registry/index.mjs.map +1 -1
- package/dist/src/plugins/rtl/index.mjs +1 -1
- package/dist/src/plugins/rtl/index.mjs.map +1 -1
- package/dist/src/resolvers/index.mjs +2 -2
- package/dist/src/resolvers/index.mjs.map +1 -1
- package/dist/src/types/index.mjs +2 -2
- package/dist/src/utils/index.mjs +2 -2
- package/dist/{stringUtils-D4eEDlt1.mjs → stringUtils-CVySsg3y.js} +2 -2
- package/dist/{stringUtils-68ZN_GRt.js.map → stringUtils-CVySsg3y.js.map} +1 -1
- package/dist/types/BootstrapVueOptions.d.mts +1 -4
- package/dist/types/BootstrapVueOptions.d.ts +1 -4
- package/dist/types/ComponentOrchestratorTypes.d.mts +62 -186
- package/dist/types/ComponentOrchestratorTypes.d.ts +62 -186
- package/dist/types/ComponentProps.d.mts +2 -0
- package/dist/types/ComponentProps.d.ts +2 -0
- package/dist/types/ComponentSlots.d.mts +1 -1
- package/dist/types/ComponentSlots.d.ts +1 -1
- package/dist/{useAlignment-DuR8ymKI.mjs → useAlignment-DaP-psIh.js} +1 -1
- package/dist/{useAlignment-oKolnDpb.js.map → useAlignment-DaP-psIh.js.map} +1 -1
- package/dist/{useAriaInvalid-apOwgexm.mjs → useAriaInvalid-CRUhkD2V.js} +1 -1
- package/dist/{useAriaInvalid-CHHPHNLU.js.map → useAriaInvalid-CRUhkD2V.js.map} +1 -1
- package/dist/{useColorVariantClasses-CqeXHjRh.mjs → useColorVariantClasses-DHQvLjek.js} +1 -1
- package/dist/{useColorVariantClasses-Dq0sOYDL.js.map → useColorVariantClasses-DHQvLjek.js.map} +1 -1
- package/dist/{useCountdownHover-C3NXiAaF.mjs → useCountdownHover-BN8vJIQW.js} +4 -3
- package/dist/{useCountdownHover-DbVhE-N0.js.map → useCountdownHover-BN8vJIQW.js.map} +1 -1
- package/dist/{useDateField-CJKgollJ.mjs → useDateField-CQZb799C.js} +680 -627
- package/dist/useDateField-CQZb799C.js.map +1 -0
- package/dist/{useDefaults-DseelK6y.mjs → useDefaults-BzP4qZBu.js} +2 -2
- package/dist/{useDefaults-C0CYry78.js.map → useDefaults-BzP4qZBu.js.map} +1 -1
- package/dist/{useFormCheck-BKXrwS3g.mjs → useFormCheck-fArncQY5.js} +3 -3
- package/dist/{useFormCheck-DYjLG4WA.js.map → useFormCheck-fArncQY5.js.map} +1 -1
- package/dist/{useFormInput-CXl8rpD0.mjs → useFormInput-DZ_3ZH1o.js} +8 -7
- package/dist/{useFormInput-ip9hN2AU.js.map → useFormInput-DZ_3ZH1o.js.map} +1 -1
- package/dist/{useFormSelect-BM0rsjni.mjs → useFormSelect-CwS8YuiQ.js} +3 -3
- package/dist/{useFormSelect-ClmzGzOy.js.map → useFormSelect-CwS8YuiQ.js.map} +1 -1
- package/dist/{useForwardExpose-Cob6LlGd.mjs → useForwardExpose-DDvk7mir.js} +5 -13
- package/dist/useForwardExpose-DDvk7mir.js.map +1 -0
- package/dist/{useId-D1sqXtwx.mjs → useId-Fh-Arhb7.js} +2 -2
- package/dist/{useId-BkAY2oh6.js.map → useId-Fh-Arhb7.js.map} +1 -1
- package/dist/{useKbd-DfmgFov6.mjs → useKbd-DRsaFU_f.js} +6 -18
- package/dist/useKbd-DRsaFU_f.js.map +1 -0
- package/dist/{useNumberishToStyle-DgS1slD3.mjs → useNumberishToStyle-DCnYcI6A.js} +2 -2
- package/dist/{useNumberishToStyle-BtMa0R27.js.map → useNumberishToStyle-DCnYcI6A.js.map} +1 -1
- package/dist/{useRadiusElementClasses-BW832F7F.mjs → useRadiusElementClasses-CKCJjpkK.js} +1 -1
- package/dist/{useRadiusElementClasses-DWiUVgex.js.map → useRadiusElementClasses-CKCJjpkK.js.map} +1 -1
- package/dist/{useRtl-CGoXBxNo.mjs → useRtl-FeLayV4k.js} +3 -3
- package/dist/{useRtl-BSgvbs5F.js.map → useRtl-FeLayV4k.js.map} +1 -1
- package/dist/{useSafeScrollLock-Me5LyqjD.mjs → useSafeScrollLock-PVgSASYu.js} +136 -216
- package/dist/useSafeScrollLock-PVgSASYu.js.map +1 -0
- package/dist/{useShowHide-CBFt1_EW.mjs → useShowHide-C95Y9EKL.js} +15 -14
- package/dist/useShowHide-C95Y9EKL.js.map +1 -0
- package/dist/{useStateClass-DxlL_m2E.mjs → useStateClass-BF7kf2zK.js} +1 -1
- package/dist/{useStateClass-CXK3nCg9.js.map → useStateClass-BF7kf2zK.js.map} +1 -1
- package/dist/utils/console.d.mts +2 -0
- package/dist/utils/console.d.ts +2 -0
- package/dist/utils/keys.d.mts +12 -4
- package/dist/utils/keys.d.ts +12 -4
- package/dist/{utils-CWvndqPg.mjs → utils-nRGGHA_i.js} +14 -10
- package/dist/utils-nRGGHA_i.js.map +1 -0
- package/package.json +65 -136
- package/dist/BAccordion-D51b9HVD.mjs.map +0 -1
- package/dist/BAccordion-DYmuqZIG.js +0 -360
- package/dist/BAccordion-DYmuqZIG.js.map +0 -1
- package/dist/BAlert-Ce2uxrJi.mjs.map +0 -1
- package/dist/BAlert-croEtrQu.js +0 -297
- package/dist/BAlert-croEtrQu.js.map +0 -1
- package/dist/BApp-B-fUrnpK.mjs.map +0 -1
- package/dist/BApp-DOvEe1jo.js +0 -181
- package/dist/BApp-DOvEe1jo.js.map +0 -1
- package/dist/BAspect-CUIU48Ck.js +0 -50
- package/dist/BAspect-wfiXM4KA.mjs.map +0 -1
- package/dist/BAutocomplete-CH-bQzME.mjs.map +0 -1
- package/dist/BAutocomplete-DLDFAV5_.js +0 -2402
- package/dist/BAutocomplete-DLDFAV5_.js.map +0 -1
- package/dist/BAvatar-FGK0dK0x.js +0 -386
- package/dist/BAvatar-FGK0dK0x.js.map +0 -1
- package/dist/BAvatar-iALHbqVk.mjs.map +0 -1
- package/dist/BBadge-Cx_CdauK.mjs.map +0 -1
- package/dist/BBadge-Db6SEnzy.js +0 -145
- package/dist/BBreadcrumb-B9ra7vg2.js +0 -166
- package/dist/BBreadcrumb-BxADbg0O.mjs.map +0 -1
- package/dist/BButton-BSa7LfL5.mjs.map +0 -1
- package/dist/BButton-DRRlzkyK.js +0 -156
- package/dist/BButton-PY7AANXJ.mjs.map +0 -1
- package/dist/BButton-aYtMnyHu.js +0 -190
- package/dist/BCard-BWoruisp.mjs.map +0 -1
- package/dist/BCard-Bh8RLMo_.js +0 -52
- package/dist/BCard-CHbKv2OR.mjs.map +0 -1
- package/dist/BCard-DwNYhVmg.js +0 -444
- package/dist/BCarousel-2JB21Pcu.js +0 -427
- package/dist/BCarousel-B6_bgQpl.mjs.map +0 -1
- package/dist/BCloseButton-CKTKr4PS.mjs.map +0 -1
- package/dist/BCloseButton-D42zHRLP.js +0 -45
- package/dist/BCol-B3VeEk9z.mjs.map +0 -1
- package/dist/BCol-Ck9VydHj.js +0 -140
- package/dist/BCollapse-CDLYLSZo.js +0 -183
- package/dist/BCollapse-CDLYLSZo.js.map +0 -1
- package/dist/BCollapse-kqhe4AmL.mjs.map +0 -1
- package/dist/BContainer-ATfhaxTc.mjs.map +0 -1
- package/dist/BContainer-CcF6dgtI.js +0 -44
- package/dist/BDateField-CccP3H1R.mjs.map +0 -1
- package/dist/BDateField-DzZw5FRX.js +0 -919
- package/dist/BDateField-DzZw5FRX.js.map +0 -1
- package/dist/BDatePicker-BDkzkOcm.js +0 -5138
- package/dist/BDatePicker-BDkzkOcm.js.map +0 -1
- package/dist/BDatePicker-BnwnSkBg.mjs.map +0 -1
- package/dist/BDropdown-0E8x5kk6.mjs.map +0 -1
- package/dist/BDropdown-B1DbvVzm.mjs.map +0 -1
- package/dist/BDropdown-BPFtkX3p.js +0 -403
- package/dist/BDropdown-BPFtkX3p.js.map +0 -1
- package/dist/BDropdown-DKCgBzYS.js +0 -415
- package/dist/BForm-6JlWdQMO.js +0 -126
- package/dist/BForm-BVfW08s5.mjs.map +0 -1
- package/dist/BForm-DJu2hDV_.mjs.map +0 -1
- package/dist/BForm-cnRpggt9.js +0 -51
- package/dist/BFormCheckbox-Baf_9BSc.mjs.map +0 -1
- package/dist/BFormCheckbox-D5ySHMJ8.js +0 -489
- package/dist/BFormCheckbox-D5ySHMJ8.js.map +0 -1
- package/dist/BFormFile-CZebm0Cp.mjs.map +0 -1
- package/dist/BFormFile-MISLntyJ.js +0 -423
- package/dist/BFormGroup-Bk1t-D1N.js +0 -490
- package/dist/BFormGroup-Bk1t-D1N.js.map +0 -1
- package/dist/BFormGroup-vysRPb99.mjs.map +0 -1
- package/dist/BFormInput-CBwwDjfC.js +0 -142
- package/dist/BFormInput-sEfU3CuN.mjs.map +0 -1
- package/dist/BFormOtp-C8X3u1od.mjs.map +0 -1
- package/dist/BFormOtp-CLrQJRPe.js +0 -542
- package/dist/BFormOtp-CLrQJRPe.js.map +0 -1
- package/dist/BFormRadio-B2yu-o2v.js +0 -432
- package/dist/BFormRadio-B2yu-o2v.js.map +0 -1
- package/dist/BFormRadio-COc_IbxC.mjs.map +0 -1
- package/dist/BFormRating-CIgPVsH_.mjs.map +0 -1
- package/dist/BFormRating-CSdRxN5z.js +0 -263
- package/dist/BFormRating-CSdRxN5z.js.map +0 -1
- package/dist/BFormSelect-CI92Dv27.js +0 -310
- package/dist/BFormSelect-CI92Dv27.js.map +0 -1
- package/dist/BFormSelect-P-InkOm-.mjs.map +0 -1
- package/dist/BFormSelectOption-DFN4lPRh.mjs.map +0 -1
- package/dist/BFormSelectOption-DrwJucNf.js +0 -46
- package/dist/BFormSpinbutton-1gTz4nTo.js +0 -447
- package/dist/BFormSpinbutton-6qkTBF_4.mjs.map +0 -1
- package/dist/BFormTag-CeV0MSRC.js +0 -86
- package/dist/BFormTag-CnzI39y9.mjs.map +0 -1
- package/dist/BFormTags-BMltSaKL.mjs.map +0 -1
- package/dist/BFormTags-BhO60uiL.js +0 -427
- package/dist/BFormTags-BhO60uiL.js.map +0 -1
- package/dist/BFormTextarea-C3Cj0DWj.js +0 -203
- package/dist/BFormTextarea-DN1gAfSo.mjs.map +0 -1
- package/dist/BFormValidFeedback-CBYxQLDz.mjs.map +0 -1
- package/dist/BFormValidFeedback-Kwxh798d.js +0 -223
- package/dist/BImg-JKJLgYYT.js +0 -168
- package/dist/BImg-QBS2ECBc.mjs.map +0 -1
- package/dist/BInputGroup-Bvlfv6VD.js +0 -55
- package/dist/BInputGroup-D4fW324B.js +0 -31
- package/dist/BInputGroup-DiTSexkT.mjs.map +0 -1
- package/dist/BInputGroup-X2Z53RJx.mjs.map +0 -1
- package/dist/BLink-Dfgte6dQ.mjs.map +0 -1
- package/dist/BLink-kLEjleB1.js +0 -276
- package/dist/BListGroup-C8JOzHTz.js +0 -167
- package/dist/BListGroup-DwTLpNiD.mjs.map +0 -1
- package/dist/BModal-C-ZCau2E.mjs.map +0 -1
- package/dist/BModal-VstTwEq9.js +0 -521
- package/dist/BModal-VstTwEq9.js.map +0 -1
- package/dist/BNav-DCLambmM.js +0 -453
- package/dist/BNav-DfYvjfRK.mjs.map +0 -1
- package/dist/BNavbar-BbOcUVPq.js +0 -248
- package/dist/BNavbar-DRdsCZSv.mjs.map +0 -1
- package/dist/BOffcanvas-C7HenFW0.js +0 -331
- package/dist/BOffcanvas-C7HenFW0.js.map +0 -1
- package/dist/BOffcanvas-CF-dWeez.mjs.map +0 -1
- package/dist/BOverlay-Bh2PIN_q.mjs.map +0 -1
- package/dist/BOverlay-Bh4ldxgt.js +0 -203
- package/dist/BPagination-D75q-ZNg.mjs.map +0 -1
- package/dist/BPagination-fbjFAtxu.js +0 -446
- package/dist/BPlaceholder-B3rs_39w.js +0 -326
- package/dist/BPlaceholder-DPQ6mCLN.mjs.map +0 -1
- package/dist/BProgress-BZlrPYhA.mjs.map +0 -1
- package/dist/BProgress-th0-eZWo.js +0 -147
- package/dist/BRow-7AOuFiSy.js +0 -70
- package/dist/BRow-eGSUYGCW.mjs.map +0 -1
- package/dist/BSpinner-CUfGqviV.mjs.map +0 -1
- package/dist/BSpinner-DbYIp-C7.js +0 -60
- package/dist/BTable-BCWW00u_.js +0 -1903
- package/dist/BTable-BCWW00u_.js.map +0 -1
- package/dist/BTable-DUHxxWv5.mjs.map +0 -1
- package/dist/BTableSimple-BkdGAAKb.js +0 -137
- package/dist/BTableSimple-C-jn9Nwh.mjs.map +0 -1
- package/dist/BTabs-CvecFg5N.js +0 -607
- package/dist/BTabs-D_vWlBjT.mjs.map +0 -1
- package/dist/BTimeField-BSDaZogC.mjs.map +0 -1
- package/dist/BTimeField-BT5HXecp.js +0 -517
- package/dist/BTimeField-BT5HXecp.js.map +0 -1
- package/dist/BToast-DR0pek4W.js +0 -308
- package/dist/BToast-DR0pek4W.js.map +0 -1
- package/dist/BToast-Y8BayxES.mjs.map +0 -1
- package/dist/BTooltip-CVP8HdkU.mjs.map +0 -1
- package/dist/BTooltip-DPLYtaL1.js +0 -213
- package/dist/BootstrapVueOptions-DeViqxoD.js +0 -179
- package/dist/BootstrapVueOptions-DeViqxoD.js.map +0 -1
- package/dist/BootstrapVueOptions-Dt1TQdih.mjs.map +0 -1
- package/dist/ConditionalTeleport-B4KYZIM6.mjs.map +0 -1
- package/dist/ConditionalTeleport-BDWcebyD.js +0 -34
- package/dist/ConditionalWrapper-DZH_VSwb.js +0 -31
- package/dist/ConditionalWrapper-Dbc_O6qe.mjs.map +0 -1
- package/dist/DateRangeFieldInput-B86VEz0H.mjs.map +0 -1
- package/dist/DateRangeFieldInput-HvvI2You.js +0 -762
- package/dist/DateRangeFieldInput-HvvI2You.js.map +0 -1
- package/dist/PopperContent-BS_eKjzD.js +0 -1515
- package/dist/PopperContent-BS_eKjzD.js.map +0 -1
- package/dist/PopperContent-DmSgsjSC.mjs.map +0 -1
- package/dist/VisuallyHidden-C4sXnc-k.mjs.map +0 -1
- package/dist/VisuallyHidden-Cx0phlXT.js +0 -222
- package/dist/VisuallyHidden-Cx0phlXT.js.map +0 -1
- package/dist/VisuallyHiddenInput-BNrInt6d.js +0 -147
- package/dist/VisuallyHiddenInput-BNrInt6d.js.map +0 -1
- package/dist/VisuallyHiddenInput-DKIzxsQR.mjs.map +0 -1
- package/dist/bootstrap-vue-next.umd.js +0 -275
- package/dist/chunk-CoQrYLCe.js +0 -50
- package/dist/classes-B0E5Y78Y.mjs.map +0 -1
- package/dist/classes-D5wrmmVs.js +0 -92
- package/dist/constants-BLIvvaat.js +0 -123
- package/dist/constants-Ba9iJn2H.mjs.map +0 -1
- package/dist/debounce-D6kifS6w.js +0 -88
- package/dist/debounce-DHxNfjan.mjs.map +0 -1
- package/dist/dist-DiXKLh_W.js +0 -2064
- package/dist/dist-DiXKLh_W.js.map +0 -1
- package/dist/dist-Dk9C_HFS.mjs.map +0 -1
- package/dist/dom-AhkaSoh8.mjs.map +0 -1
- package/dist/dom-Bs6DzM72.js +0 -98
- package/dist/dom-Bs6DzM72.js.map +0 -1
- package/dist/flattenFragments-C1WWqm25.js +0 -18
- package/dist/flattenFragments-ClbLQGqR.mjs.map +0 -1
- package/dist/floating-ui.vue-CH2o_mZU.mjs.map +0 -1
- package/dist/floating-ui.vue-DDOIU2nS.js +0 -1773
- package/dist/floating-ui.vue-DDOIU2nS.js.map +0 -1
- package/dist/floatingUi-62aeQtAb.mjs.map +0 -1
- package/dist/floatingUi-DQ5bHmy3.js +0 -598
- package/dist/floatingUi-DQ5bHmy3.js.map +0 -1
- package/dist/functions-BcMenQqL.mjs.map +0 -1
- package/dist/functions-Bx1HDqMv.js +0 -11
- package/dist/functions-Bx1HDqMv.js.map +0 -1
- package/dist/getClasses-8P0iBind.js +0 -19
- package/dist/getClasses-COokMI60.mjs.map +0 -1
- package/dist/getElement-D2Jr1cbp.mjs.map +0 -1
- package/dist/getElement-DWGFJn0w.js +0 -19
- package/dist/keys-BMye8nSf.js +0 -187
- package/dist/keys-BMye8nSf.js.map +0 -1
- package/dist/keys-DU7sQgl3.mjs.map +0 -1
- package/dist/object-BN7QwMcz.js +0 -140
- package/dist/object-BN7QwMcz.js.map +0 -1
- package/dist/object-CHQkkner.mjs.map +0 -1
- package/dist/registryAccess-B9QDQwV8.js +0 -39
- package/dist/registryAccess-BkJDdh-3.mjs.map +0 -1
- package/dist/src/components/BAccordion/index.umd.js +0 -4
- package/dist/src/components/BAlert/index.umd.js +0 -3
- package/dist/src/components/BApp/index.umd.js +0 -4
- package/dist/src/components/BAspect/index.umd.js +0 -3
- package/dist/src/components/BAutocomplete/index.umd.js +0 -3
- package/dist/src/components/BAvatar/index.umd.js +0 -4
- package/dist/src/components/BBadge/index.umd.js +0 -3
- package/dist/src/components/BBreadcrumb/index.umd.js +0 -4
- package/dist/src/components/BButton/index.umd.js +0 -8
- package/dist/src/components/BCard/index.umd.js +0 -12
- package/dist/src/components/BCarousel/index.umd.js +0 -4
- package/dist/src/components/BCol/index.umd.js +0 -3
- package/dist/src/components/BCollapse/index.umd.js +0 -3
- package/dist/src/components/BContainer/index.umd.js +0 -7
- package/dist/src/components/BDateField/index.umd.js +0 -5
- package/dist/src/components/BDatePicker/index.umd.js +0 -4
- package/dist/src/components/BDropdown/index.umd.js +0 -11
- package/dist/src/components/BForm/index.umd.js +0 -11
- package/dist/src/components/BFormCheckbox/index.umd.js +0 -4
- package/dist/src/components/BFormFile/index.umd.js +0 -3
- package/dist/src/components/BFormGroup/index.umd.js +0 -3
- package/dist/src/components/BFormInput/index.umd.js +0 -4
- package/dist/src/components/BFormOtp/index.umd.js +0 -3
- package/dist/src/components/BFormRadio/index.umd.js +0 -4
- package/dist/src/components/BFormRating/index.umd.js +0 -3
- package/dist/src/components/BFormSelect/index.umd.js +0 -6
- package/dist/src/components/BFormSpinbutton/index.umd.js +0 -3
- package/dist/src/components/BFormTags/index.umd.js +0 -5
- package/dist/src/components/BFormTextarea/index.umd.js +0 -3
- package/dist/src/components/BImg/index.umd.js +0 -3
- package/dist/src/components/BInputGroup/index.umd.js +0 -5
- package/dist/src/components/BLink/index.umd.js +0 -3
- package/dist/src/components/BListGroup/index.umd.js +0 -4
- package/dist/src/components/BModal/index.umd.js +0 -3
- package/dist/src/components/BNav/index.umd.js +0 -7
- package/dist/src/components/BNavbar/index.umd.js +0 -6
- package/dist/src/components/BOffcanvas/index.umd.js +0 -3
- package/dist/src/components/BOverlay/index.umd.js +0 -3
- package/dist/src/components/BPagination/index.umd.js +0 -3
- package/dist/src/components/BPlaceholder/index.umd.js +0 -7
- package/dist/src/components/BPopover/index.umd.js +0 -3
- package/dist/src/components/BProgress/index.umd.js +0 -4
- package/dist/src/components/BRow/index.umd.js +0 -3
- package/dist/src/components/BSpinner/index.umd.js +0 -3
- package/dist/src/components/BTable/index.umd.js +0 -12
- package/dist/src/components/BTabs/index.umd.js +0 -4
- package/dist/src/components/BTimeField/index.umd.js +0 -3
- package/dist/src/components/BToast/index.umd.js +0 -3
- package/dist/src/components/BTooltip/index.umd.js +0 -3
- package/dist/src/components/index.umd.js +0 -301
- package/dist/src/components/index.umd.js.map +0 -1
- package/dist/src/composables/index.umd.js +0 -53
- package/dist/src/composables/index.umd.js.map +0 -1
- package/dist/src/composables/orchestratorShared/index.umd.js +0 -114
- package/dist/src/composables/orchestratorShared/index.umd.js.map +0 -1
- package/dist/src/composables/useBreadcrumb/index.umd.js +0 -37
- package/dist/src/composables/useBreadcrumb/index.umd.js.map +0 -1
- package/dist/src/composables/useColorMode/index.umd.js +0 -18
- package/dist/src/composables/useColorMode/index.umd.js.map +0 -1
- package/dist/src/composables/useModal/index.umd.js +0 -176
- package/dist/src/composables/useModal/index.umd.js.map +0 -1
- package/dist/src/composables/usePopover/index.umd.js +0 -90
- package/dist/src/composables/usePopover/index.umd.js.map +0 -1
- package/dist/src/composables/useProvideDefaults/index.umd.js +0 -42
- package/dist/src/composables/useProvideDefaults/index.umd.js.map +0 -1
- package/dist/src/composables/useRegistry/index.umd.js +0 -135
- package/dist/src/composables/useRegistry/index.umd.js.map +0 -1
- package/dist/src/composables/useScrollLock/index.umd.js +0 -8
- package/dist/src/composables/useScrollLock/index.umd.js.map +0 -1
- package/dist/src/composables/useScrollspy/index.umd.js +0 -144
- package/dist/src/composables/useScrollspy/index.umd.js.map +0 -1
- package/dist/src/composables/useToast/index.umd.js +0 -90
- package/dist/src/composables/useToast/index.umd.js.map +0 -1
- package/dist/src/composables/useToggle/index.umd.js +0 -34
- package/dist/src/composables/useToggle/index.umd.js.map +0 -1
- package/dist/src/directives/BColorMode/index.umd.js +0 -15
- package/dist/src/directives/BColorMode/index.umd.js.map +0 -1
- package/dist/src/directives/BModal/index.umd.js +0 -3
- package/dist/src/directives/BPopover/index.umd.js +0 -14
- package/dist/src/directives/BPopover/index.umd.js.map +0 -1
- package/dist/src/directives/BScrollspy/index.umd.js +0 -35
- package/dist/src/directives/BScrollspy/index.umd.js.map +0 -1
- package/dist/src/directives/BToggle/index.umd.js +0 -77
- package/dist/src/directives/BToggle/index.umd.js.map +0 -1
- package/dist/src/directives/BTooltip/index.umd.js +0 -16
- package/dist/src/directives/BTooltip/index.umd.js.map +0 -1
- package/dist/src/directives/index.umd.js +0 -32
- package/dist/src/directives/index.umd.js.map +0 -1
- package/dist/src/plugins/createBootstrap/index.umd.js +0 -19
- package/dist/src/plugins/createBootstrap/index.umd.js.map +0 -1
- package/dist/src/plugins/index.umd.js +0 -26
- package/dist/src/plugins/index.umd.js.map +0 -1
- package/dist/src/plugins/orchestrator/index.umd.js +0 -13
- package/dist/src/plugins/orchestrator/index.umd.js.map +0 -1
- package/dist/src/plugins/registry/index.umd.js +0 -62
- package/dist/src/plugins/registry/index.umd.js.map +0 -1
- package/dist/src/plugins/rtl/index.umd.js +0 -21
- package/dist/src/plugins/rtl/index.umd.js.map +0 -1
- package/dist/src/resolvers/index.umd.js +0 -94
- package/dist/src/resolvers/index.umd.js.map +0 -1
- package/dist/src/types/index.umd.js +0 -27
- package/dist/src/types/index.umd.js.map +0 -1
- package/dist/src/utils/index.umd.js +0 -21
- package/dist/src/utils/index.umd.js.map +0 -1
- package/dist/stringUtils-68ZN_GRt.js +0 -71
- package/dist/stringUtils-D4eEDlt1.mjs.map +0 -1
- package/dist/useAlignment-DuR8ymKI.mjs.map +0 -1
- package/dist/useAlignment-oKolnDpb.js +0 -16
- package/dist/useAriaInvalid-CHHPHNLU.js +0 -17
- package/dist/useAriaInvalid-apOwgexm.mjs.map +0 -1
- package/dist/useColorVariantClasses-CqeXHjRh.mjs.map +0 -1
- package/dist/useColorVariantClasses-Dq0sOYDL.js +0 -27
- package/dist/useCountdownHover-C3NXiAaF.mjs.map +0 -1
- package/dist/useCountdownHover-DbVhE-N0.js +0 -104
- package/dist/useDateField-CJKgollJ.mjs.map +0 -1
- package/dist/useDateField-DWv3600o.js +0 -3872
- package/dist/useDateField-DWv3600o.js.map +0 -1
- package/dist/useDefaults-C0CYry78.js +0 -76
- package/dist/useDefaults-DseelK6y.mjs.map +0 -1
- package/dist/useFormCheck-BKXrwS3g.mjs.map +0 -1
- package/dist/useFormCheck-DYjLG4WA.js +0 -82
- package/dist/useFormInput-CXl8rpD0.mjs.map +0 -1
- package/dist/useFormInput-ip9hN2AU.js +0 -117
- package/dist/useFormSelect-BM0rsjni.mjs.map +0 -1
- package/dist/useFormSelect-ClmzGzOy.js +0 -58
- package/dist/useForwardExpose-BpZJluPs.js +0 -80
- package/dist/useForwardExpose-BpZJluPs.js.map +0 -1
- package/dist/useForwardExpose-Cob6LlGd.mjs.map +0 -1
- package/dist/useId-BkAY2oh6.js +0 -17
- package/dist/useId-D1sqXtwx.mjs.map +0 -1
- package/dist/useKbd-DfmgFov6.mjs.map +0 -1
- package/dist/useKbd-sqDCJtXL.js +0 -105
- package/dist/useKbd-sqDCJtXL.js.map +0 -1
- package/dist/useNumberishToStyle-BtMa0R27.js +0 -18
- package/dist/useNumberishToStyle-DgS1slD3.mjs.map +0 -1
- package/dist/useRadiusElementClasses-BW832F7F.mjs.map +0 -1
- package/dist/useRadiusElementClasses-DWiUVgex.js +0 -28
- package/dist/useRtl-BSgvbs5F.js +0 -26
- package/dist/useRtl-CGoXBxNo.mjs.map +0 -1
- package/dist/useSafeScrollLock-7wmPH_Hy.js +0 -1418
- package/dist/useSafeScrollLock-7wmPH_Hy.js.map +0 -1
- package/dist/useSafeScrollLock-Me5LyqjD.mjs.map +0 -1
- package/dist/useShowHide-CBFt1_EW.mjs.map +0 -1
- package/dist/useShowHide-CHm2uUep.js +0 -436
- package/dist/useShowHide-CHm2uUep.js.map +0 -1
- package/dist/useStateClass-CXK3nCg9.js +0 -16
- package/dist/useStateClass-DxlL_m2E.mjs.map +0 -1
- package/dist/utils-CWvndqPg.mjs.map +0 -1
- package/dist/utils-Dk9yAtbs.js +0 -186
- package/dist/utils-Dk9yAtbs.js.map +0 -1
- /package/dist/{chunk-D1SwGrFN.mjs → rolldown-runtime-BBjsoOtd.js} +0 -0
|
@@ -1,1515 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_dist = require("./dist-DiXKLh_W.js");
|
|
3
|
-
const require_VisuallyHidden = require("./VisuallyHidden-Cx0phlXT.js");
|
|
4
|
-
const require_useForwardExpose = require("./useForwardExpose-BpZJluPs.js");
|
|
5
|
-
const require_useKbd = require("./useKbd-sqDCJtXL.js");
|
|
6
|
-
const require_floating_ui_vue = require("./floating-ui.vue-DDOIU2nS.js");
|
|
7
|
-
let vue = require("vue");
|
|
8
|
-
vue = require_chunk.__toESM(vue);
|
|
9
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
|
|
10
|
-
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
11
|
-
const target = detail.originalEvent.target;
|
|
12
|
-
const event = new CustomEvent(name, {
|
|
13
|
-
bubbles: false,
|
|
14
|
-
cancelable: true,
|
|
15
|
-
detail
|
|
16
|
-
});
|
|
17
|
-
if (handler) target.addEventListener(name, handler, { once: true });
|
|
18
|
-
target.dispatchEvent(event);
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useBodyScrollLock.js
|
|
22
|
-
var useBodyLockStackCount = require_dist.createSharedComposable(() => {
|
|
23
|
-
const map = (0, vue.ref)(/* @__PURE__ */ new Map());
|
|
24
|
-
const initialOverflow = (0, vue.ref)();
|
|
25
|
-
const locked = (0, vue.computed)(() => {
|
|
26
|
-
for (const value of map.value.values()) if (value) return true;
|
|
27
|
-
return false;
|
|
28
|
-
});
|
|
29
|
-
const context = require_VisuallyHidden.injectConfigProviderContext({ scrollBody: (0, vue.ref)(true) });
|
|
30
|
-
let stopTouchMoveListener = null;
|
|
31
|
-
const resetBodyStyle = () => {
|
|
32
|
-
document.body.style.paddingRight = "";
|
|
33
|
-
document.body.style.marginRight = "";
|
|
34
|
-
document.body.style.pointerEvents = "";
|
|
35
|
-
document.documentElement.style.removeProperty("--scrollbar-width");
|
|
36
|
-
document.body.style.overflow = initialOverflow.value ?? "";
|
|
37
|
-
require_dist.isIOS && stopTouchMoveListener?.();
|
|
38
|
-
initialOverflow.value = void 0;
|
|
39
|
-
};
|
|
40
|
-
(0, vue.watch)(locked, (val, oldVal) => {
|
|
41
|
-
if (!require_dist.isClient) return;
|
|
42
|
-
if (!val) {
|
|
43
|
-
if (oldVal) resetBodyStyle();
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
if (initialOverflow.value === void 0) initialOverflow.value = document.body.style.overflow;
|
|
47
|
-
const verticalScrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
|
48
|
-
const defaultConfig = {
|
|
49
|
-
padding: verticalScrollbarWidth,
|
|
50
|
-
margin: 0
|
|
51
|
-
};
|
|
52
|
-
const config = context.scrollBody?.value ? typeof context.scrollBody.value === "object" ? require_useKbd.defu({
|
|
53
|
-
padding: context.scrollBody.value.padding === true ? verticalScrollbarWidth : context.scrollBody.value.padding,
|
|
54
|
-
margin: context.scrollBody.value.margin === true ? verticalScrollbarWidth : context.scrollBody.value.margin
|
|
55
|
-
}, defaultConfig) : defaultConfig : {
|
|
56
|
-
padding: 0,
|
|
57
|
-
margin: 0
|
|
58
|
-
};
|
|
59
|
-
if (verticalScrollbarWidth > 0) {
|
|
60
|
-
document.body.style.paddingRight = typeof config.padding === "number" ? `${config.padding}px` : String(config.padding);
|
|
61
|
-
document.body.style.marginRight = typeof config.margin === "number" ? `${config.margin}px` : String(config.margin);
|
|
62
|
-
document.documentElement.style.setProperty("--scrollbar-width", `${verticalScrollbarWidth}px`);
|
|
63
|
-
document.body.style.overflow = "hidden";
|
|
64
|
-
}
|
|
65
|
-
if (require_dist.isIOS) stopTouchMoveListener = require_dist.useEventListener(document, "touchmove", (e) => preventDefault(e), { passive: false });
|
|
66
|
-
(0, vue.nextTick)(() => {
|
|
67
|
-
if (!locked.value) return;
|
|
68
|
-
document.body.style.pointerEvents = "none";
|
|
69
|
-
document.body.style.overflow = "hidden";
|
|
70
|
-
});
|
|
71
|
-
}, {
|
|
72
|
-
immediate: true,
|
|
73
|
-
flush: "sync"
|
|
74
|
-
});
|
|
75
|
-
return map;
|
|
76
|
-
});
|
|
77
|
-
function useBodyScrollLock(initialState) {
|
|
78
|
-
const id = Math.random().toString(36).substring(2, 7);
|
|
79
|
-
const map = useBodyLockStackCount();
|
|
80
|
-
map.value.set(id, initialState ?? false);
|
|
81
|
-
const locked = (0, vue.computed)({
|
|
82
|
-
get: () => map.value.get(id) ?? false,
|
|
83
|
-
set: (value) => map.value.set(id, value)
|
|
84
|
-
});
|
|
85
|
-
require_dist.tryOnBeforeUnmount(() => {
|
|
86
|
-
map.value.delete(id);
|
|
87
|
-
});
|
|
88
|
-
return locked;
|
|
89
|
-
}
|
|
90
|
-
function checkOverflowScroll(ele) {
|
|
91
|
-
const style = window.getComputedStyle(ele);
|
|
92
|
-
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) return true;
|
|
93
|
-
else {
|
|
94
|
-
const parent = ele.parentNode;
|
|
95
|
-
if (!(parent instanceof Element) || parent.tagName === "BODY") return false;
|
|
96
|
-
return checkOverflowScroll(parent);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
function preventDefault(rawEvent) {
|
|
100
|
-
const e = rawEvent || window.event;
|
|
101
|
-
const _target = e.target;
|
|
102
|
-
if (_target instanceof Element && checkOverflowScroll(_target)) return false;
|
|
103
|
-
if (e.touches.length > 1) return true;
|
|
104
|
-
if (e.preventDefault && e.cancelable) e.preventDefault();
|
|
105
|
-
return false;
|
|
106
|
-
}
|
|
107
|
-
//#endregion
|
|
108
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useEmitAsProps.js
|
|
109
|
-
/**
|
|
110
|
-
* The `useEmitAsProps` function is a TypeScript utility that converts emitted events into props for a
|
|
111
|
-
* Vue component.
|
|
112
|
-
* @param emit - The `emit` parameter is a function that is used to emit events from a component. It
|
|
113
|
-
* takes two parameters: `name` which is the name of the event to be emitted, and `...args` which are
|
|
114
|
-
* the arguments to be passed along with the event.
|
|
115
|
-
* @returns The function `useEmitAsProps` returns an object that maps event names to functions that
|
|
116
|
-
* call the `emit` function with the corresponding event name and arguments.
|
|
117
|
-
*/
|
|
118
|
-
function useEmitAsProps(emit) {
|
|
119
|
-
const vm = (0, vue.getCurrentInstance)();
|
|
120
|
-
const events = vm?.type.emits;
|
|
121
|
-
const result = {};
|
|
122
|
-
if (!events?.length) console.warn(`No emitted event found. Please check component: ${vm?.type.__name}`);
|
|
123
|
-
events?.forEach((ev) => {
|
|
124
|
-
result[(0, vue.toHandlerKey)((0, vue.camelize)(ev))] = (...arg) => emit(ev, ...arg);
|
|
125
|
-
});
|
|
126
|
-
return result;
|
|
127
|
-
}
|
|
128
|
-
//#endregion
|
|
129
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFocusGuards.js
|
|
130
|
-
/** Number of components which have requested interest to have focus guards */
|
|
131
|
-
var count$1 = 0;
|
|
132
|
-
/**
|
|
133
|
-
* Injects a pair of focus guards at the edges of the whole DOM tree
|
|
134
|
-
* to ensure `focusin` & `focusout` events can be caught consistently.
|
|
135
|
-
*/
|
|
136
|
-
function useFocusGuards() {
|
|
137
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
138
|
-
if (!require_dist.isClient) return;
|
|
139
|
-
const edgeGuards = document.querySelectorAll("[data-reka-focus-guard]");
|
|
140
|
-
document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard());
|
|
141
|
-
document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard());
|
|
142
|
-
count$1++;
|
|
143
|
-
cleanupFn(() => {
|
|
144
|
-
if (count$1 === 1) document.querySelectorAll("[data-reka-focus-guard]").forEach((node) => node.remove());
|
|
145
|
-
count$1--;
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
function createFocusGuard() {
|
|
150
|
-
const element = document.createElement("span");
|
|
151
|
-
element.setAttribute("data-reka-focus-guard", "");
|
|
152
|
-
element.tabIndex = 0;
|
|
153
|
-
element.style.outline = "none";
|
|
154
|
-
element.style.opacity = "0";
|
|
155
|
-
element.style.position = "fixed";
|
|
156
|
-
element.style.pointerEvents = "none";
|
|
157
|
-
return element;
|
|
158
|
-
}
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useForwardProps.js
|
|
161
|
-
/**
|
|
162
|
-
* The `useForwardProps` function in TypeScript takes in a set of props and returns a computed value
|
|
163
|
-
* that combines default props with assigned props from the current instance.
|
|
164
|
-
* @param {T} props - The `props` parameter is an object that represents the props passed to a
|
|
165
|
-
* component.
|
|
166
|
-
* @returns computed value that combines the default props, preserved props, and assigned props.
|
|
167
|
-
*/
|
|
168
|
-
function useForwardProps(props) {
|
|
169
|
-
const vm = (0, vue.getCurrentInstance)();
|
|
170
|
-
const defaultProps = Object.keys(vm?.type.props ?? {}).reduce((prev, curr) => {
|
|
171
|
-
const defaultValue = (vm?.type.props[curr]).default;
|
|
172
|
-
if (defaultValue !== void 0) prev[curr] = defaultValue;
|
|
173
|
-
return prev;
|
|
174
|
-
}, {});
|
|
175
|
-
const refProps = (0, vue.toRef)(props);
|
|
176
|
-
return (0, vue.computed)(() => {
|
|
177
|
-
const preservedProps = {};
|
|
178
|
-
const assignedProps = vm?.vnode.props ?? {};
|
|
179
|
-
Object.keys(assignedProps).forEach((key) => {
|
|
180
|
-
preservedProps[(0, vue.camelize)(key)] = assignedProps[key];
|
|
181
|
-
});
|
|
182
|
-
return Object.keys({
|
|
183
|
-
...defaultProps,
|
|
184
|
-
...preservedProps
|
|
185
|
-
}).reduce((prev, curr) => {
|
|
186
|
-
if (refProps.value[curr] !== void 0) prev[curr] = refProps.value[curr];
|
|
187
|
-
return prev;
|
|
188
|
-
}, {});
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js
|
|
193
|
-
/**
|
|
194
|
-
* The function `useForwardPropsEmits` takes in props and an optional emit function, and returns a
|
|
195
|
-
* computed object that combines the parsed props and emits as props.
|
|
196
|
-
* @param {T} props - The `props` parameter is of type `T`, which is a generic type that extends the
|
|
197
|
-
* parameters of the `useForwardProps` function. It represents the props object that is passed to the
|
|
198
|
-
* `useForwardProps` function.
|
|
199
|
-
* @param [emit] - The `emit` parameter is a function that can be used to emit events. It takes two
|
|
200
|
-
* arguments: `name`, which is the name of the event to be emitted, and `args`, which are the arguments
|
|
201
|
-
* to be passed along with the event.
|
|
202
|
-
* @returns a computed property that combines the parsed
|
|
203
|
-
* props and emits as props.
|
|
204
|
-
*/
|
|
205
|
-
function useForwardPropsEmits(props, emit) {
|
|
206
|
-
const parsedProps = useForwardProps(props);
|
|
207
|
-
const emitsAsProps = emit ? useEmitAsProps(emit) : {};
|
|
208
|
-
return (0, vue.computed)(() => ({
|
|
209
|
-
...parsedProps.value,
|
|
210
|
-
...emitsAsProps
|
|
211
|
-
}));
|
|
212
|
-
}
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
215
|
-
var getDefaultParent = function(originalTarget) {
|
|
216
|
-
if (typeof document === "undefined") return null;
|
|
217
|
-
return (Array.isArray(originalTarget) ? originalTarget[0] : originalTarget).ownerDocument.body;
|
|
218
|
-
};
|
|
219
|
-
var counterMap = /* @__PURE__ */ new WeakMap();
|
|
220
|
-
var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
221
|
-
var markerMap = {};
|
|
222
|
-
var lockCount = 0;
|
|
223
|
-
var unwrapHost = function(node) {
|
|
224
|
-
return node && (node.host || unwrapHost(node.parentNode));
|
|
225
|
-
};
|
|
226
|
-
var correctTargets = function(parent, targets) {
|
|
227
|
-
return targets.map(function(target) {
|
|
228
|
-
if (parent.contains(target)) return target;
|
|
229
|
-
var correctedTarget = unwrapHost(target);
|
|
230
|
-
if (correctedTarget && parent.contains(correctedTarget)) return correctedTarget;
|
|
231
|
-
console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
|
|
232
|
-
return null;
|
|
233
|
-
}).filter(function(x) {
|
|
234
|
-
return Boolean(x);
|
|
235
|
-
});
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
239
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
240
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
241
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
242
|
-
* @param {String} [controlAttribute] - html Attribute to control
|
|
243
|
-
* @return {Undo} undo command
|
|
244
|
-
*/
|
|
245
|
-
var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
|
|
246
|
-
var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
247
|
-
if (!markerMap[markerName]) markerMap[markerName] = /* @__PURE__ */ new WeakMap();
|
|
248
|
-
var markerCounter = markerMap[markerName];
|
|
249
|
-
var hiddenNodes = [];
|
|
250
|
-
var elementsToKeep = /* @__PURE__ */ new Set();
|
|
251
|
-
var elementsToStop = new Set(targets);
|
|
252
|
-
var keep = function(el) {
|
|
253
|
-
if (!el || elementsToKeep.has(el)) return;
|
|
254
|
-
elementsToKeep.add(el);
|
|
255
|
-
keep(el.parentNode);
|
|
256
|
-
};
|
|
257
|
-
targets.forEach(keep);
|
|
258
|
-
var deep = function(parent) {
|
|
259
|
-
if (!parent || elementsToStop.has(parent)) return;
|
|
260
|
-
Array.prototype.forEach.call(parent.children, function(node) {
|
|
261
|
-
if (elementsToKeep.has(node)) deep(node);
|
|
262
|
-
else try {
|
|
263
|
-
var attr = node.getAttribute(controlAttribute);
|
|
264
|
-
var alreadyHidden = attr !== null && attr !== "false";
|
|
265
|
-
var counterValue = (counterMap.get(node) || 0) + 1;
|
|
266
|
-
var markerValue = (markerCounter.get(node) || 0) + 1;
|
|
267
|
-
counterMap.set(node, counterValue);
|
|
268
|
-
markerCounter.set(node, markerValue);
|
|
269
|
-
hiddenNodes.push(node);
|
|
270
|
-
if (counterValue === 1 && alreadyHidden) uncontrolledNodes.set(node, true);
|
|
271
|
-
if (markerValue === 1) node.setAttribute(markerName, "true");
|
|
272
|
-
if (!alreadyHidden) node.setAttribute(controlAttribute, "true");
|
|
273
|
-
} catch (e) {
|
|
274
|
-
console.error("aria-hidden: cannot operate on ", node, e);
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
};
|
|
278
|
-
deep(parentNode);
|
|
279
|
-
elementsToKeep.clear();
|
|
280
|
-
lockCount++;
|
|
281
|
-
return function() {
|
|
282
|
-
hiddenNodes.forEach(function(node) {
|
|
283
|
-
var counterValue = counterMap.get(node) - 1;
|
|
284
|
-
var markerValue = markerCounter.get(node) - 1;
|
|
285
|
-
counterMap.set(node, counterValue);
|
|
286
|
-
markerCounter.set(node, markerValue);
|
|
287
|
-
if (!counterValue) {
|
|
288
|
-
if (!uncontrolledNodes.has(node)) node.removeAttribute(controlAttribute);
|
|
289
|
-
uncontrolledNodes.delete(node);
|
|
290
|
-
}
|
|
291
|
-
if (!markerValue) node.removeAttribute(markerName);
|
|
292
|
-
});
|
|
293
|
-
lockCount--;
|
|
294
|
-
if (!lockCount) {
|
|
295
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
296
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
297
|
-
uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
298
|
-
markerMap = {};
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
};
|
|
302
|
-
/**
|
|
303
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
304
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
305
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
306
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
307
|
-
* @return {Undo} undo command
|
|
308
|
-
*/
|
|
309
|
-
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
310
|
-
if (markerName === void 0) markerName = "data-aria-hidden";
|
|
311
|
-
var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
312
|
-
var activeParentNode = parentNode || getDefaultParent(originalTarget);
|
|
313
|
-
if (!activeParentNode) return function() {
|
|
314
|
-
return null;
|
|
315
|
-
};
|
|
316
|
-
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
317
|
-
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
318
|
-
};
|
|
319
|
-
//#endregion
|
|
320
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useHideOthers.js
|
|
321
|
-
/**
|
|
322
|
-
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
|
|
323
|
-
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
|
|
324
|
-
* hidden elements when the target element is removed.
|
|
325
|
-
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
|
|
326
|
-
* to hide other elements when it is clicked or focused.
|
|
327
|
-
*/
|
|
328
|
-
function useHideOthers(target) {
|
|
329
|
-
let undo;
|
|
330
|
-
(0, vue.watch)(() => require_dist.unrefElement(target), (el) => {
|
|
331
|
-
let isInsideClosedPopover = false;
|
|
332
|
-
try {
|
|
333
|
-
isInsideClosedPopover = !!el?.closest("[popover]:not(:popover-open)");
|
|
334
|
-
} catch {}
|
|
335
|
-
if (el && !isInsideClosedPopover) undo = hideOthers(el);
|
|
336
|
-
else if (undo) undo();
|
|
337
|
-
});
|
|
338
|
-
(0, vue.onUnmounted)(() => {
|
|
339
|
-
if (undo) undo();
|
|
340
|
-
});
|
|
341
|
-
}
|
|
342
|
-
//#endregion
|
|
343
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useId.js
|
|
344
|
-
var count = 0;
|
|
345
|
-
/**
|
|
346
|
-
* The `useId` function generates a unique identifier using a provided deterministic ID or a default
|
|
347
|
-
* one prefixed with "reka-", or the provided one via `useId` props from `<ConfigProvider>`.
|
|
348
|
-
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
349
|
-
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
350
|
-
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
351
|
-
* the `useId` function obtained
|
|
352
|
-
*/
|
|
353
|
-
function useId(deterministicId, prefix = "reka") {
|
|
354
|
-
if (deterministicId) return deterministicId;
|
|
355
|
-
let id;
|
|
356
|
-
if ("useId" in vue) id = vue.useId?.();
|
|
357
|
-
else id = require_VisuallyHidden.injectConfigProviderContext({ useId: void 0 }).useId?.() ?? `${++count}`;
|
|
358
|
-
return prefix ? `${prefix}-${id}` : id;
|
|
359
|
-
}
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useSize.js
|
|
362
|
-
function useSize(element) {
|
|
363
|
-
const size = (0, vue.ref)();
|
|
364
|
-
const width = (0, vue.computed)(() => size.value?.width ?? 0);
|
|
365
|
-
const height = (0, vue.computed)(() => size.value?.height ?? 0);
|
|
366
|
-
(0, vue.onMounted)(() => {
|
|
367
|
-
const el = require_dist.unrefElement(element);
|
|
368
|
-
if (el) {
|
|
369
|
-
size.value = {
|
|
370
|
-
width: el.offsetWidth,
|
|
371
|
-
height: el.offsetHeight
|
|
372
|
-
};
|
|
373
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
374
|
-
if (!Array.isArray(entries)) return;
|
|
375
|
-
if (!entries.length) return;
|
|
376
|
-
const entry = entries[0];
|
|
377
|
-
let width$1;
|
|
378
|
-
let height$1;
|
|
379
|
-
if ("borderBoxSize" in entry) {
|
|
380
|
-
const borderSizeEntry = entry.borderBoxSize;
|
|
381
|
-
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
382
|
-
width$1 = borderSize.inlineSize;
|
|
383
|
-
height$1 = borderSize.blockSize;
|
|
384
|
-
} else {
|
|
385
|
-
width$1 = el.offsetWidth;
|
|
386
|
-
height$1 = el.offsetHeight;
|
|
387
|
-
}
|
|
388
|
-
size.value = {
|
|
389
|
-
width: width$1,
|
|
390
|
-
height: height$1
|
|
391
|
-
};
|
|
392
|
-
});
|
|
393
|
-
resizeObserver.observe(el, { box: "border-box" });
|
|
394
|
-
return () => resizeObserver.unobserve(el);
|
|
395
|
-
} else size.value = void 0;
|
|
396
|
-
});
|
|
397
|
-
return {
|
|
398
|
-
width,
|
|
399
|
-
height
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
//#endregion
|
|
403
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useStateMachine.js
|
|
404
|
-
/**
|
|
405
|
-
* The `useStateMachine` function is a TypeScript function that creates a state machine and returns the
|
|
406
|
-
* current state and a dispatch function to update the state based on events.
|
|
407
|
-
* @param initialState - The `initialState` parameter is the initial state of the state machine. It
|
|
408
|
-
* represents the starting point of the state machine's state.
|
|
409
|
-
* @param machine - The `machine` parameter is an object that represents a state machine. It should
|
|
410
|
-
* have keys that correspond to the possible states of the machine, and the values should be objects
|
|
411
|
-
* that represent the possible events and their corresponding next states.
|
|
412
|
-
* @returns The `useStateMachine` function returns an object with two properties: `state` and
|
|
413
|
-
* `dispatch`.
|
|
414
|
-
*/
|
|
415
|
-
function useStateMachine(initialState, machine) {
|
|
416
|
-
const state = (0, vue.ref)(initialState);
|
|
417
|
-
function reducer(event) {
|
|
418
|
-
return machine[state.value][event] ?? state.value;
|
|
419
|
-
}
|
|
420
|
-
const dispatch = (event) => {
|
|
421
|
-
state.value = reducer(event);
|
|
422
|
-
};
|
|
423
|
-
return {
|
|
424
|
-
state,
|
|
425
|
-
dispatch
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Presence/usePresence.js
|
|
430
|
-
function usePresence(present, node) {
|
|
431
|
-
const stylesRef = (0, vue.ref)({});
|
|
432
|
-
const prevAnimationNameRef = (0, vue.ref)("none");
|
|
433
|
-
const prevPresentRef = (0, vue.ref)(present);
|
|
434
|
-
const initialState = present.value ? "mounted" : "unmounted";
|
|
435
|
-
let timeoutId;
|
|
436
|
-
const ownerWindow = node.value?.ownerDocument.defaultView ?? require_dist.defaultWindow;
|
|
437
|
-
const { state, dispatch } = useStateMachine(initialState, {
|
|
438
|
-
mounted: {
|
|
439
|
-
UNMOUNT: "unmounted",
|
|
440
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
441
|
-
},
|
|
442
|
-
unmountSuspended: {
|
|
443
|
-
MOUNT: "mounted",
|
|
444
|
-
ANIMATION_END: "unmounted"
|
|
445
|
-
},
|
|
446
|
-
unmounted: { MOUNT: "mounted" }
|
|
447
|
-
});
|
|
448
|
-
const dispatchCustomEvent = (name) => {
|
|
449
|
-
if (require_dist.isClient) {
|
|
450
|
-
const customEvent = new CustomEvent(name, {
|
|
451
|
-
bubbles: false,
|
|
452
|
-
cancelable: false
|
|
453
|
-
});
|
|
454
|
-
node.value?.dispatchEvent(customEvent);
|
|
455
|
-
}
|
|
456
|
-
};
|
|
457
|
-
(0, vue.watch)(present, async (currentPresent, prevPresent) => {
|
|
458
|
-
const hasPresentChanged = prevPresent !== currentPresent;
|
|
459
|
-
await (0, vue.nextTick)();
|
|
460
|
-
if (hasPresentChanged) {
|
|
461
|
-
const prevAnimationName = prevAnimationNameRef.value;
|
|
462
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
463
|
-
if (currentPresent) {
|
|
464
|
-
dispatch("MOUNT");
|
|
465
|
-
dispatchCustomEvent("enter");
|
|
466
|
-
if (currentAnimationName === "none") dispatchCustomEvent("after-enter");
|
|
467
|
-
} else if (currentAnimationName === "none" || currentAnimationName === "undefined" || stylesRef.value?.display === "none") {
|
|
468
|
-
dispatch("UNMOUNT");
|
|
469
|
-
dispatchCustomEvent("leave");
|
|
470
|
-
dispatchCustomEvent("after-leave");
|
|
471
|
-
} else if (prevPresent && prevAnimationName !== currentAnimationName) {
|
|
472
|
-
dispatch("ANIMATION_OUT");
|
|
473
|
-
dispatchCustomEvent("leave");
|
|
474
|
-
} else {
|
|
475
|
-
dispatch("UNMOUNT");
|
|
476
|
-
dispatchCustomEvent("after-leave");
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}, { immediate: true });
|
|
480
|
-
/**
|
|
481
|
-
* Triggering an ANIMATION_OUT during an ANIMATION_IN will fire an `animationcancel`
|
|
482
|
-
* event for ANIMATION_IN after we have entered `unmountSuspended` state. So, we
|
|
483
|
-
* make sure we only trigger ANIMATION_END for the currently active animation.
|
|
484
|
-
*/
|
|
485
|
-
const handleAnimationEnd = (event) => {
|
|
486
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
487
|
-
const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));
|
|
488
|
-
const directionName = state.value === "mounted" ? "enter" : "leave";
|
|
489
|
-
if (event.target === node.value && isCurrentAnimation) {
|
|
490
|
-
dispatchCustomEvent(`after-${directionName}`);
|
|
491
|
-
dispatch("ANIMATION_END");
|
|
492
|
-
if (!prevPresentRef.value) {
|
|
493
|
-
const currentFillMode = node.value.style.animationFillMode;
|
|
494
|
-
node.value.style.animationFillMode = "forwards";
|
|
495
|
-
timeoutId = ownerWindow?.setTimeout(() => {
|
|
496
|
-
if (node.value?.style.animationFillMode === "forwards") node.value.style.animationFillMode = currentFillMode;
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
if (event.target === node.value && currentAnimationName === "none") dispatch("ANIMATION_END");
|
|
501
|
-
};
|
|
502
|
-
const handleAnimationStart = (event) => {
|
|
503
|
-
if (event.target === node.value) prevAnimationNameRef.value = getAnimationName(node.value);
|
|
504
|
-
};
|
|
505
|
-
const watcher = (0, vue.watch)(node, (newNode, oldNode) => {
|
|
506
|
-
if (newNode) {
|
|
507
|
-
stylesRef.value = getComputedStyle(newNode);
|
|
508
|
-
newNode.addEventListener("animationstart", handleAnimationStart);
|
|
509
|
-
newNode.addEventListener("animationcancel", handleAnimationEnd);
|
|
510
|
-
newNode.addEventListener("animationend", handleAnimationEnd);
|
|
511
|
-
} else {
|
|
512
|
-
dispatch("ANIMATION_END");
|
|
513
|
-
if (timeoutId !== void 0) ownerWindow?.clearTimeout(timeoutId);
|
|
514
|
-
oldNode?.removeEventListener("animationstart", handleAnimationStart);
|
|
515
|
-
oldNode?.removeEventListener("animationcancel", handleAnimationEnd);
|
|
516
|
-
oldNode?.removeEventListener("animationend", handleAnimationEnd);
|
|
517
|
-
}
|
|
518
|
-
}, { immediate: true });
|
|
519
|
-
const stateWatcher = (0, vue.watch)(state, () => {
|
|
520
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
521
|
-
prevAnimationNameRef.value = state.value === "mounted" ? currentAnimationName : "none";
|
|
522
|
-
});
|
|
523
|
-
(0, vue.onUnmounted)(() => {
|
|
524
|
-
watcher();
|
|
525
|
-
stateWatcher();
|
|
526
|
-
});
|
|
527
|
-
return { isPresent: (0, vue.computed)(() => ["mounted", "unmountSuspended"].includes(state.value)) };
|
|
528
|
-
}
|
|
529
|
-
function getAnimationName(node) {
|
|
530
|
-
return node ? getComputedStyle(node).animationName || "none" : "none";
|
|
531
|
-
}
|
|
532
|
-
//#endregion
|
|
533
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Presence/Presence.js
|
|
534
|
-
var Presence_default = (0, vue.defineComponent)({
|
|
535
|
-
name: "Presence",
|
|
536
|
-
props: {
|
|
537
|
-
present: {
|
|
538
|
-
type: Boolean,
|
|
539
|
-
required: true
|
|
540
|
-
},
|
|
541
|
-
forceMount: { type: Boolean }
|
|
542
|
-
},
|
|
543
|
-
slots: {},
|
|
544
|
-
setup(props, { slots, expose }) {
|
|
545
|
-
const { present, forceMount } = (0, vue.toRefs)(props);
|
|
546
|
-
const node = (0, vue.ref)();
|
|
547
|
-
const { isPresent } = usePresence(present, node);
|
|
548
|
-
expose({ present: isPresent });
|
|
549
|
-
let children = slots.default({ present: isPresent.value });
|
|
550
|
-
children = require_VisuallyHidden.renderSlotFragments(children || []);
|
|
551
|
-
const instance = (0, vue.getCurrentInstance)();
|
|
552
|
-
if (children && children?.length > 1) {
|
|
553
|
-
const componentName = instance?.parent?.type.name ? `<${instance.parent.type.name} />` : "component";
|
|
554
|
-
throw new Error([
|
|
555
|
-
`Detected an invalid children for \`${componentName}\` for \`Presence\` component.`,
|
|
556
|
-
"",
|
|
557
|
-
"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",
|
|
558
|
-
"You can apply a few solutions:",
|
|
559
|
-
["Provide a single child element so that `presence` directive attach correctly.", "Ensure the first child is an actual element instead of a raw text node or comment node."].map((line) => ` - ${line}`).join("\n")
|
|
560
|
-
].join("\n"));
|
|
561
|
-
}
|
|
562
|
-
return () => {
|
|
563
|
-
if (forceMount.value || present.value || isPresent.value) return (0, vue.h)(slots.default({ present: isPresent.value })[0], { ref: (v) => {
|
|
564
|
-
const el = require_dist.unrefElement(v);
|
|
565
|
-
if (typeof el?.hasAttribute === "undefined") return el;
|
|
566
|
-
if (el?.hasAttribute("data-reka-popper-content-wrapper")) node.value = el.firstElementChild;
|
|
567
|
-
else node.value = el;
|
|
568
|
-
return el;
|
|
569
|
-
} });
|
|
570
|
-
else return null;
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
//#endregion
|
|
575
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/DismissableLayer/utils.js
|
|
576
|
-
var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
577
|
-
var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
578
|
-
function isLayerExist(layerElement, targetElement) {
|
|
579
|
-
if (!(targetElement instanceof Element)) return false;
|
|
580
|
-
const targetLayer = targetElement.closest("[data-dismissable-layer]");
|
|
581
|
-
const mainLayer = layerElement.dataset.dismissableLayer === "" ? layerElement : layerElement.querySelector("[data-dismissable-layer]");
|
|
582
|
-
const nodeList = Array.from(layerElement.ownerDocument.querySelectorAll("[data-dismissable-layer]"));
|
|
583
|
-
if (targetLayer && (mainLayer === targetLayer || nodeList.indexOf(mainLayer) < nodeList.indexOf(targetLayer))) return true;
|
|
584
|
-
else return false;
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* Listens for `pointerdown` outside a DOM subtree. We use `pointerdown` rather than `pointerup`
|
|
588
|
-
* to mimic layer dismissing behaviour present in OS.
|
|
589
|
-
* Returns props to pass to the node we want to check for outside events.
|
|
590
|
-
*/
|
|
591
|
-
function usePointerDownOutside(onPointerDownOutside, element, enabled = true) {
|
|
592
|
-
const ownerDocument = element?.value?.ownerDocument ?? globalThis?.document;
|
|
593
|
-
const isPointerInsideDOMTree = (0, vue.ref)(false);
|
|
594
|
-
const handleClickRef = (0, vue.ref)(() => {});
|
|
595
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
596
|
-
if (!require_dist.isClient || !(0, vue.toValue)(enabled)) return;
|
|
597
|
-
const handlePointerDown = async (event) => {
|
|
598
|
-
const target = event.target;
|
|
599
|
-
if (!element?.value || !target) return;
|
|
600
|
-
if (isLayerExist(element.value, target)) {
|
|
601
|
-
isPointerInsideDOMTree.value = false;
|
|
602
|
-
return;
|
|
603
|
-
}
|
|
604
|
-
if (event.target && !isPointerInsideDOMTree.value) {
|
|
605
|
-
const eventDetail = { originalEvent: event };
|
|
606
|
-
function handleAndDispatchPointerDownOutsideEvent() {
|
|
607
|
-
handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE, onPointerDownOutside, eventDetail);
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* On touch devices, we need to wait for a click event because browsers implement
|
|
611
|
-
* a ~350ms delay between the time the user stops touching the display and when the
|
|
612
|
-
* browser executes events. We need to ensure we don't reactivate pointer-events within
|
|
613
|
-
* this timeframe otherwise the browser may execute events that should have been prevented.
|
|
614
|
-
*
|
|
615
|
-
* Additionally, this also lets us deal automatically with cancellations when a click event
|
|
616
|
-
* isn't raised because the page was considered scrolled/drag-scrolled, long-pressed, etc.
|
|
617
|
-
*
|
|
618
|
-
* This is why we also continuously remove the previous listener, because we cannot be
|
|
619
|
-
* certain that it was raised, and therefore cleaned-up.
|
|
620
|
-
*/
|
|
621
|
-
if (event.pointerType === "touch") {
|
|
622
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
623
|
-
handleClickRef.value = handleAndDispatchPointerDownOutsideEvent;
|
|
624
|
-
ownerDocument.addEventListener("click", handleClickRef.value, { once: true });
|
|
625
|
-
} else handleAndDispatchPointerDownOutsideEvent();
|
|
626
|
-
} else ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
627
|
-
isPointerInsideDOMTree.value = false;
|
|
628
|
-
};
|
|
629
|
-
/**
|
|
630
|
-
* if this hook executes in a component that mounts via a `pointerdown` event, the event
|
|
631
|
-
* would bubble up to the document and trigger a `pointerDownOutside` event. We avoid
|
|
632
|
-
* this by delaying the event listener registration on the document.
|
|
633
|
-
* This is how the DOM works, ie:
|
|
634
|
-
* ```
|
|
635
|
-
* button.addEventListener('pointerdown', () => {
|
|
636
|
-
* console.log('I will log');
|
|
637
|
-
* document.addEventListener('pointerdown', () => {
|
|
638
|
-
* console.log('I will also log');
|
|
639
|
-
* })
|
|
640
|
-
* });
|
|
641
|
-
*/
|
|
642
|
-
const timerId = window.setTimeout(() => {
|
|
643
|
-
ownerDocument.addEventListener("pointerdown", handlePointerDown);
|
|
644
|
-
}, 0);
|
|
645
|
-
cleanupFn(() => {
|
|
646
|
-
window.clearTimeout(timerId);
|
|
647
|
-
ownerDocument.removeEventListener("pointerdown", handlePointerDown);
|
|
648
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
649
|
-
});
|
|
650
|
-
});
|
|
651
|
-
return { onPointerDownCapture: () => {
|
|
652
|
-
if (!(0, vue.toValue)(enabled)) return;
|
|
653
|
-
isPointerInsideDOMTree.value = true;
|
|
654
|
-
} };
|
|
655
|
-
}
|
|
656
|
-
/**
|
|
657
|
-
* Listens for when focus happens outside a DOM subtree.
|
|
658
|
-
* Returns props to pass to the root (node) of the subtree we want to check.
|
|
659
|
-
*/
|
|
660
|
-
function useFocusOutside(onFocusOutside, element, enabled = true) {
|
|
661
|
-
const ownerDocument = element?.value?.ownerDocument ?? globalThis?.document;
|
|
662
|
-
const isFocusInsideDOMTree = (0, vue.ref)(false);
|
|
663
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
664
|
-
if (!require_dist.isClient || !(0, vue.toValue)(enabled)) return;
|
|
665
|
-
const handleFocus = async (event) => {
|
|
666
|
-
if (!element?.value) return;
|
|
667
|
-
await (0, vue.nextTick)();
|
|
668
|
-
await (0, vue.nextTick)();
|
|
669
|
-
const target = event.target;
|
|
670
|
-
if (!element.value || !target || isLayerExist(element.value, target)) return;
|
|
671
|
-
if (event.target && !isFocusInsideDOMTree.value) handleAndDispatchCustomEvent(FOCUS_OUTSIDE, onFocusOutside, { originalEvent: event });
|
|
672
|
-
};
|
|
673
|
-
ownerDocument.addEventListener("focusin", handleFocus);
|
|
674
|
-
cleanupFn(() => ownerDocument.removeEventListener("focusin", handleFocus));
|
|
675
|
-
});
|
|
676
|
-
return {
|
|
677
|
-
onFocusCapture: () => {
|
|
678
|
-
if (!(0, vue.toValue)(enabled)) return;
|
|
679
|
-
isFocusInsideDOMTree.value = true;
|
|
680
|
-
},
|
|
681
|
-
onBlurCapture: () => {
|
|
682
|
-
if (!(0, vue.toValue)(enabled)) return;
|
|
683
|
-
isFocusInsideDOMTree.value = false;
|
|
684
|
-
}
|
|
685
|
-
};
|
|
686
|
-
}
|
|
687
|
-
//#endregion
|
|
688
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
|
|
689
|
-
var context = (0, vue.reactive)({
|
|
690
|
-
layersRoot: /* @__PURE__ */ new Set(),
|
|
691
|
-
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
692
|
-
originalBodyPointerEvents: void 0,
|
|
693
|
-
branches: /* @__PURE__ */ new Set()
|
|
694
|
-
});
|
|
695
|
-
var DismissableLayer_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
696
|
-
__name: "DismissableLayer",
|
|
697
|
-
props: {
|
|
698
|
-
disableOutsidePointerEvents: {
|
|
699
|
-
type: Boolean,
|
|
700
|
-
required: false,
|
|
701
|
-
default: false
|
|
702
|
-
},
|
|
703
|
-
asChild: {
|
|
704
|
-
type: Boolean,
|
|
705
|
-
required: false
|
|
706
|
-
},
|
|
707
|
-
as: {
|
|
708
|
-
type: null,
|
|
709
|
-
required: false
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
emits: [
|
|
713
|
-
"escapeKeyDown",
|
|
714
|
-
"pointerDownOutside",
|
|
715
|
-
"focusOutside",
|
|
716
|
-
"interactOutside",
|
|
717
|
-
"dismiss"
|
|
718
|
-
],
|
|
719
|
-
setup(__props, { emit: __emit }) {
|
|
720
|
-
const props = __props;
|
|
721
|
-
const emits = __emit;
|
|
722
|
-
const { forwardRef, currentElement: layerElement } = require_useForwardExpose.useForwardExpose();
|
|
723
|
-
const ownerDocument = (0, vue.computed)(() => layerElement.value?.ownerDocument ?? globalThis.document);
|
|
724
|
-
const layers = (0, vue.computed)(() => context.layersRoot);
|
|
725
|
-
const index = (0, vue.computed)(() => {
|
|
726
|
-
return layerElement.value ? Array.from(layers.value).indexOf(layerElement.value) : -1;
|
|
727
|
-
});
|
|
728
|
-
const isBodyPointerEventsDisabled = (0, vue.computed)(() => {
|
|
729
|
-
return context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
730
|
-
});
|
|
731
|
-
const isPointerEventsEnabled = (0, vue.computed)(() => {
|
|
732
|
-
const localLayers = Array.from(layers.value);
|
|
733
|
-
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
734
|
-
const highestLayerWithOutsidePointerEventsDisabledIndex = localLayers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
735
|
-
return index.value >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
736
|
-
});
|
|
737
|
-
const pointerDownOutside = usePointerDownOutside(async (event) => {
|
|
738
|
-
const isPointerDownOnBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
739
|
-
if (!isPointerEventsEnabled.value || isPointerDownOnBranch) return;
|
|
740
|
-
emits("pointerDownOutside", event);
|
|
741
|
-
emits("interactOutside", event);
|
|
742
|
-
await (0, vue.nextTick)();
|
|
743
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
744
|
-
}, layerElement);
|
|
745
|
-
const focusOutside = useFocusOutside((event) => {
|
|
746
|
-
if ([...context.branches].some((branch) => branch?.contains(event.target))) return;
|
|
747
|
-
emits("focusOutside", event);
|
|
748
|
-
emits("interactOutside", event);
|
|
749
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
750
|
-
}, layerElement);
|
|
751
|
-
require_dist.onKeyStroke("Escape", (event) => {
|
|
752
|
-
if (!(index.value === layers.value.size - 1)) return;
|
|
753
|
-
emits("escapeKeyDown", event);
|
|
754
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
755
|
-
});
|
|
756
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
757
|
-
if (!layerElement.value) return;
|
|
758
|
-
if (props.disableOutsidePointerEvents) {
|
|
759
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
760
|
-
context.originalBodyPointerEvents = ownerDocument.value.body.style.pointerEvents;
|
|
761
|
-
ownerDocument.value.body.style.pointerEvents = "none";
|
|
762
|
-
}
|
|
763
|
-
context.layersWithOutsidePointerEventsDisabled.add(layerElement.value);
|
|
764
|
-
}
|
|
765
|
-
layers.value.add(layerElement.value);
|
|
766
|
-
cleanupFn(() => {
|
|
767
|
-
if (props.disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1 && !require_useKbd.isNullish(context.originalBodyPointerEvents)) ownerDocument.value.body.style.pointerEvents = context.originalBodyPointerEvents;
|
|
768
|
-
});
|
|
769
|
-
});
|
|
770
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
771
|
-
cleanupFn(() => {
|
|
772
|
-
if (!layerElement.value) return;
|
|
773
|
-
layers.value.delete(layerElement.value);
|
|
774
|
-
context.layersWithOutsidePointerEventsDisabled.delete(layerElement.value);
|
|
775
|
-
});
|
|
776
|
-
});
|
|
777
|
-
return (_ctx, _cache) => {
|
|
778
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), {
|
|
779
|
-
ref: (0, vue.unref)(forwardRef),
|
|
780
|
-
"as-child": _ctx.asChild,
|
|
781
|
-
as: _ctx.as,
|
|
782
|
-
"data-dismissable-layer": "",
|
|
783
|
-
style: (0, vue.normalizeStyle)({ pointerEvents: isBodyPointerEventsDisabled.value ? isPointerEventsEnabled.value ? "auto" : "none" : void 0 }),
|
|
784
|
-
onFocusCapture: (0, vue.unref)(focusOutside).onFocusCapture,
|
|
785
|
-
onBlurCapture: (0, vue.unref)(focusOutside).onBlurCapture,
|
|
786
|
-
onPointerdownCapture: (0, vue.unref)(pointerDownOutside).onPointerDownCapture
|
|
787
|
-
}, {
|
|
788
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
789
|
-
_: 3
|
|
790
|
-
}, 8, [
|
|
791
|
-
"as-child",
|
|
792
|
-
"as",
|
|
793
|
-
"style",
|
|
794
|
-
"onFocusCapture",
|
|
795
|
-
"onBlurCapture",
|
|
796
|
-
"onPointerdownCapture"
|
|
797
|
-
]);
|
|
798
|
-
};
|
|
799
|
-
}
|
|
800
|
-
});
|
|
801
|
-
//#endregion
|
|
802
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/FocusScope/stack.js
|
|
803
|
-
var useFocusStackState = require_dist.createGlobalState(() => {
|
|
804
|
-
return (0, vue.ref)([]);
|
|
805
|
-
});
|
|
806
|
-
function createFocusScopesStack() {
|
|
807
|
-
/** A stack of focus scopes, with the active one at the top */
|
|
808
|
-
const stack = useFocusStackState();
|
|
809
|
-
return {
|
|
810
|
-
add(focusScope) {
|
|
811
|
-
const activeFocusScope = stack.value[0];
|
|
812
|
-
if (focusScope !== activeFocusScope) activeFocusScope?.pause();
|
|
813
|
-
stack.value = arrayRemove(stack.value, focusScope);
|
|
814
|
-
stack.value.unshift(focusScope);
|
|
815
|
-
},
|
|
816
|
-
remove(focusScope) {
|
|
817
|
-
stack.value = arrayRemove(stack.value, focusScope);
|
|
818
|
-
stack.value[0]?.resume();
|
|
819
|
-
}
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
function arrayRemove(array, item) {
|
|
823
|
-
const updatedArray = [...array];
|
|
824
|
-
const index = updatedArray.indexOf(item);
|
|
825
|
-
if (index !== -1) updatedArray.splice(index, 1);
|
|
826
|
-
return updatedArray;
|
|
827
|
-
}
|
|
828
|
-
//#endregion
|
|
829
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/FocusScope/utils.js
|
|
830
|
-
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
831
|
-
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
832
|
-
var EVENT_OPTIONS = {
|
|
833
|
-
bubbles: false,
|
|
834
|
-
cancelable: true
|
|
835
|
-
};
|
|
836
|
-
/**
|
|
837
|
-
* Attempts focusing the first element in a list of candidates.
|
|
838
|
-
* Stops when focus has actually moved.
|
|
839
|
-
*/
|
|
840
|
-
function focusFirst(candidates, { select = false } = {}) {
|
|
841
|
-
const previouslyFocusedElement = require_useForwardExpose.getActiveElement();
|
|
842
|
-
for (const candidate of candidates) {
|
|
843
|
-
focus(candidate, { select });
|
|
844
|
-
if (require_useForwardExpose.getActiveElement() !== previouslyFocusedElement) return true;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Returns the first and last tabbable elements inside a container.
|
|
849
|
-
*/
|
|
850
|
-
function getTabbableEdges(container) {
|
|
851
|
-
const candidates = getTabbableCandidates(container);
|
|
852
|
-
return [findVisible(candidates, container), findVisible(candidates.reverse(), container)];
|
|
853
|
-
}
|
|
854
|
-
/**
|
|
855
|
-
* Returns a list of potential tabbable candidates.
|
|
856
|
-
*
|
|
857
|
-
* NOTE: This is only a close approximation. For example it doesn't take into account cases like when
|
|
858
|
-
* elements are not visible. This cannot be worked out easily by just reading a property, but rather
|
|
859
|
-
* necessitate runtime knowledge (computed styles, etc). We deal with these cases separately.
|
|
860
|
-
*
|
|
861
|
-
* See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker
|
|
862
|
-
* Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1
|
|
863
|
-
*/
|
|
864
|
-
function getTabbableCandidates(container) {
|
|
865
|
-
const nodes = [];
|
|
866
|
-
const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { acceptNode: (node) => {
|
|
867
|
-
const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
|
|
868
|
-
if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
|
|
869
|
-
return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
870
|
-
} });
|
|
871
|
-
while (walker.nextNode()) nodes.push(walker.currentNode);
|
|
872
|
-
return nodes;
|
|
873
|
-
}
|
|
874
|
-
/**
|
|
875
|
-
* Returns the first visible element in a list.
|
|
876
|
-
* NOTE: Only checks visibility up to the `container`.
|
|
877
|
-
*/
|
|
878
|
-
function findVisible(elements, container) {
|
|
879
|
-
for (const element of elements) if (!isHidden(element, { upTo: container })) return element;
|
|
880
|
-
}
|
|
881
|
-
function isHidden(node, { upTo }) {
|
|
882
|
-
if (getComputedStyle(node).visibility === "hidden") return true;
|
|
883
|
-
while (node) {
|
|
884
|
-
if (upTo !== void 0 && node === upTo) return false;
|
|
885
|
-
if (getComputedStyle(node).display === "none") return true;
|
|
886
|
-
node = node.parentElement;
|
|
887
|
-
}
|
|
888
|
-
return false;
|
|
889
|
-
}
|
|
890
|
-
function isSelectableInput(element) {
|
|
891
|
-
return element instanceof HTMLInputElement && "select" in element;
|
|
892
|
-
}
|
|
893
|
-
function focus(element, { select = false } = {}) {
|
|
894
|
-
if (element && element.focus) {
|
|
895
|
-
const previouslyFocusedElement = require_useForwardExpose.getActiveElement();
|
|
896
|
-
element.focus({ preventScroll: true });
|
|
897
|
-
if (element !== previouslyFocusedElement && isSelectableInput(element) && select) element.select();
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
//#endregion
|
|
901
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/FocusScope/FocusScope.js
|
|
902
|
-
var FocusScope_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
903
|
-
__name: "FocusScope",
|
|
904
|
-
props: {
|
|
905
|
-
loop: {
|
|
906
|
-
type: Boolean,
|
|
907
|
-
required: false,
|
|
908
|
-
default: false
|
|
909
|
-
},
|
|
910
|
-
trapped: {
|
|
911
|
-
type: Boolean,
|
|
912
|
-
required: false,
|
|
913
|
-
default: false
|
|
914
|
-
},
|
|
915
|
-
asChild: {
|
|
916
|
-
type: Boolean,
|
|
917
|
-
required: false
|
|
918
|
-
},
|
|
919
|
-
as: {
|
|
920
|
-
type: null,
|
|
921
|
-
required: false
|
|
922
|
-
}
|
|
923
|
-
},
|
|
924
|
-
emits: ["mountAutoFocus", "unmountAutoFocus"],
|
|
925
|
-
setup(__props, { emit: __emit }) {
|
|
926
|
-
const props = __props;
|
|
927
|
-
const emits = __emit;
|
|
928
|
-
const { currentRef, currentElement } = require_useForwardExpose.useForwardExpose();
|
|
929
|
-
const lastFocusedElementRef = (0, vue.ref)(null);
|
|
930
|
-
const focusScopesStack = createFocusScopesStack();
|
|
931
|
-
const focusScope = (0, vue.reactive)({
|
|
932
|
-
paused: false,
|
|
933
|
-
pause() {
|
|
934
|
-
this.paused = true;
|
|
935
|
-
},
|
|
936
|
-
resume() {
|
|
937
|
-
this.paused = false;
|
|
938
|
-
}
|
|
939
|
-
});
|
|
940
|
-
(0, vue.watchEffect)((cleanupFn) => {
|
|
941
|
-
if (!require_dist.isClient) return;
|
|
942
|
-
const container = currentElement.value;
|
|
943
|
-
if (!props.trapped) return;
|
|
944
|
-
function handleFocusIn(event) {
|
|
945
|
-
if (focusScope.paused || !container) return;
|
|
946
|
-
const target = event.target;
|
|
947
|
-
if (container.contains(target)) lastFocusedElementRef.value = target;
|
|
948
|
-
else focus(lastFocusedElementRef.value, { select: true });
|
|
949
|
-
}
|
|
950
|
-
function handleFocusOut(event) {
|
|
951
|
-
if (focusScope.paused || !container) return;
|
|
952
|
-
const relatedTarget = event.relatedTarget;
|
|
953
|
-
if (relatedTarget === null) return;
|
|
954
|
-
if (!container.contains(relatedTarget)) focus(lastFocusedElementRef.value, { select: true });
|
|
955
|
-
}
|
|
956
|
-
function handleMutations(mutations) {
|
|
957
|
-
if (!container.contains(lastFocusedElementRef.value)) focus(container);
|
|
958
|
-
}
|
|
959
|
-
document.addEventListener("focusin", handleFocusIn);
|
|
960
|
-
document.addEventListener("focusout", handleFocusOut);
|
|
961
|
-
const mutationObserver = new MutationObserver(handleMutations);
|
|
962
|
-
if (container) mutationObserver.observe(container, {
|
|
963
|
-
childList: true,
|
|
964
|
-
subtree: true
|
|
965
|
-
});
|
|
966
|
-
cleanupFn(() => {
|
|
967
|
-
document.removeEventListener("focusin", handleFocusIn);
|
|
968
|
-
document.removeEventListener("focusout", handleFocusOut);
|
|
969
|
-
mutationObserver.disconnect();
|
|
970
|
-
});
|
|
971
|
-
});
|
|
972
|
-
(0, vue.watchEffect)(async (cleanupFn) => {
|
|
973
|
-
const container = currentElement.value;
|
|
974
|
-
await (0, vue.nextTick)();
|
|
975
|
-
if (!container) return;
|
|
976
|
-
focusScopesStack.add(focusScope);
|
|
977
|
-
const previouslyFocusedElement = require_useForwardExpose.getActiveElement();
|
|
978
|
-
if (!container.contains(previouslyFocusedElement)) {
|
|
979
|
-
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
980
|
-
container.addEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
|
|
981
|
-
container.dispatchEvent(mountEvent);
|
|
982
|
-
if (!mountEvent.defaultPrevented) {
|
|
983
|
-
focusFirst(getTabbableCandidates(container), { select: true });
|
|
984
|
-
if (require_useForwardExpose.getActiveElement() === previouslyFocusedElement) focus(container);
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
cleanupFn(() => {
|
|
988
|
-
container.removeEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
|
|
989
|
-
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
990
|
-
const unmountEventHandler = (ev) => {
|
|
991
|
-
emits("unmountAutoFocus", ev);
|
|
992
|
-
};
|
|
993
|
-
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
994
|
-
container.dispatchEvent(unmountEvent);
|
|
995
|
-
setTimeout(() => {
|
|
996
|
-
if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? document.body, { select: true });
|
|
997
|
-
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
998
|
-
focusScopesStack.remove(focusScope);
|
|
999
|
-
}, 0);
|
|
1000
|
-
});
|
|
1001
|
-
});
|
|
1002
|
-
function handleKeyDown(event) {
|
|
1003
|
-
if (!props.loop && !props.trapped) return;
|
|
1004
|
-
if (focusScope.paused) return;
|
|
1005
|
-
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
1006
|
-
const focusedElement = require_useForwardExpose.getActiveElement();
|
|
1007
|
-
if (isTabKey && focusedElement) {
|
|
1008
|
-
const container = event.currentTarget;
|
|
1009
|
-
const [first, last] = getTabbableEdges(container);
|
|
1010
|
-
if (!(first && last)) {
|
|
1011
|
-
if (focusedElement === container) event.preventDefault();
|
|
1012
|
-
} else if (!event.shiftKey && focusedElement === last) {
|
|
1013
|
-
event.preventDefault();
|
|
1014
|
-
if (props.loop) focus(first, { select: true });
|
|
1015
|
-
} else if (event.shiftKey && focusedElement === first) {
|
|
1016
|
-
event.preventDefault();
|
|
1017
|
-
if (props.loop) focus(last, { select: true });
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
return (_ctx, _cache) => {
|
|
1022
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), {
|
|
1023
|
-
ref_key: "currentRef",
|
|
1024
|
-
ref: currentRef,
|
|
1025
|
-
tabindex: "-1",
|
|
1026
|
-
"as-child": _ctx.asChild,
|
|
1027
|
-
as: _ctx.as,
|
|
1028
|
-
onKeydown: handleKeyDown
|
|
1029
|
-
}, {
|
|
1030
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
1031
|
-
_: 3
|
|
1032
|
-
}, 8, ["as-child", "as"]);
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
});
|
|
1036
|
-
//#endregion
|
|
1037
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Teleport/Teleport.js
|
|
1038
|
-
var Teleport_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1039
|
-
__name: "Teleport",
|
|
1040
|
-
props: {
|
|
1041
|
-
to: {
|
|
1042
|
-
type: null,
|
|
1043
|
-
required: false,
|
|
1044
|
-
default: "body"
|
|
1045
|
-
},
|
|
1046
|
-
disabled: {
|
|
1047
|
-
type: Boolean,
|
|
1048
|
-
required: false
|
|
1049
|
-
},
|
|
1050
|
-
defer: {
|
|
1051
|
-
type: Boolean,
|
|
1052
|
-
required: false
|
|
1053
|
-
},
|
|
1054
|
-
forceMount: {
|
|
1055
|
-
type: Boolean,
|
|
1056
|
-
required: false
|
|
1057
|
-
}
|
|
1058
|
-
},
|
|
1059
|
-
setup(__props) {
|
|
1060
|
-
const isMounted = require_dist.useMounted();
|
|
1061
|
-
return (_ctx, _cache) => {
|
|
1062
|
-
return (0, vue.unref)(isMounted) || _ctx.forceMount ? ((0, vue.openBlock)(), (0, vue.createBlock)(vue.Teleport, {
|
|
1063
|
-
key: 0,
|
|
1064
|
-
to: _ctx.to,
|
|
1065
|
-
disabled: _ctx.disabled,
|
|
1066
|
-
defer: _ctx.defer
|
|
1067
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 8, [
|
|
1068
|
-
"to",
|
|
1069
|
-
"disabled",
|
|
1070
|
-
"defer"
|
|
1071
|
-
])) : (0, vue.createCommentVNode)("v-if", true);
|
|
1072
|
-
};
|
|
1073
|
-
}
|
|
1074
|
-
});
|
|
1075
|
-
//#endregion
|
|
1076
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js
|
|
1077
|
-
var [injectPopperRootContext, providePopperRootContext] = require_VisuallyHidden.createContext("PopperRoot");
|
|
1078
|
-
var PopperRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1079
|
-
inheritAttrs: false,
|
|
1080
|
-
__name: "PopperRoot",
|
|
1081
|
-
setup(__props) {
|
|
1082
|
-
const anchor = (0, vue.ref)();
|
|
1083
|
-
providePopperRootContext({
|
|
1084
|
-
anchor,
|
|
1085
|
-
onAnchorChange: (element) => anchor.value = element
|
|
1086
|
-
});
|
|
1087
|
-
return (_ctx, _cache) => {
|
|
1088
|
-
return (0, vue.renderSlot)(_ctx.$slots, "default");
|
|
1089
|
-
};
|
|
1090
|
-
}
|
|
1091
|
-
});
|
|
1092
|
-
//#endregion
|
|
1093
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js
|
|
1094
|
-
var PopperAnchor_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1095
|
-
__name: "PopperAnchor",
|
|
1096
|
-
props: {
|
|
1097
|
-
reference: {
|
|
1098
|
-
type: null,
|
|
1099
|
-
required: false
|
|
1100
|
-
},
|
|
1101
|
-
asChild: {
|
|
1102
|
-
type: Boolean,
|
|
1103
|
-
required: false
|
|
1104
|
-
},
|
|
1105
|
-
as: {
|
|
1106
|
-
type: null,
|
|
1107
|
-
required: false
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
setup(__props) {
|
|
1111
|
-
const props = __props;
|
|
1112
|
-
const { forwardRef, currentElement } = require_useForwardExpose.useForwardExpose();
|
|
1113
|
-
const rootContext = injectPopperRootContext();
|
|
1114
|
-
(0, vue.watchPostEffect)(() => {
|
|
1115
|
-
rootContext.onAnchorChange(props.reference ?? currentElement.value);
|
|
1116
|
-
});
|
|
1117
|
-
return (_ctx, _cache) => {
|
|
1118
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), {
|
|
1119
|
-
ref: (0, vue.unref)(forwardRef),
|
|
1120
|
-
as: _ctx.as,
|
|
1121
|
-
"as-child": _ctx.asChild
|
|
1122
|
-
}, {
|
|
1123
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
1124
|
-
_: 3
|
|
1125
|
-
}, 8, ["as", "as-child"]);
|
|
1126
|
-
};
|
|
1127
|
-
}
|
|
1128
|
-
});
|
|
1129
|
-
//#endregion
|
|
1130
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/utils.js
|
|
1131
|
-
function isNotNull(value) {
|
|
1132
|
-
return value !== null;
|
|
1133
|
-
}
|
|
1134
|
-
function transformOrigin(options) {
|
|
1135
|
-
return {
|
|
1136
|
-
name: "transformOrigin",
|
|
1137
|
-
options,
|
|
1138
|
-
fn(data) {
|
|
1139
|
-
const { placement, rects, middlewareData } = data;
|
|
1140
|
-
const isArrowHidden = middlewareData.arrow?.centerOffset !== 0;
|
|
1141
|
-
const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
|
|
1142
|
-
const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
|
|
1143
|
-
const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
|
|
1144
|
-
const noArrowAlign = {
|
|
1145
|
-
start: "0%",
|
|
1146
|
-
center: "50%",
|
|
1147
|
-
end: "100%"
|
|
1148
|
-
}[placedAlign];
|
|
1149
|
-
const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
|
|
1150
|
-
const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
|
|
1151
|
-
let x = "";
|
|
1152
|
-
let y = "";
|
|
1153
|
-
if (placedSide === "bottom") {
|
|
1154
|
-
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1155
|
-
y = `${-arrowHeight}px`;
|
|
1156
|
-
} else if (placedSide === "top") {
|
|
1157
|
-
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1158
|
-
y = `${rects.floating.height + arrowHeight}px`;
|
|
1159
|
-
} else if (placedSide === "right") {
|
|
1160
|
-
x = `${-arrowHeight}px`;
|
|
1161
|
-
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1162
|
-
} else if (placedSide === "left") {
|
|
1163
|
-
x = `${rects.floating.width + arrowHeight}px`;
|
|
1164
|
-
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1165
|
-
}
|
|
1166
|
-
return { data: {
|
|
1167
|
-
x,
|
|
1168
|
-
y
|
|
1169
|
-
} };
|
|
1170
|
-
}
|
|
1171
|
-
};
|
|
1172
|
-
}
|
|
1173
|
-
function getSideAndAlignFromPlacement(placement) {
|
|
1174
|
-
const [side, align = "center"] = placement.split("-");
|
|
1175
|
-
return [side, align];
|
|
1176
|
-
}
|
|
1177
|
-
//#endregion
|
|
1178
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/PopperContent.js
|
|
1179
|
-
var PopperContentPropsDefaultValue = {
|
|
1180
|
-
side: "bottom",
|
|
1181
|
-
sideOffset: 0,
|
|
1182
|
-
sideFlip: true,
|
|
1183
|
-
align: "center",
|
|
1184
|
-
alignOffset: 0,
|
|
1185
|
-
alignFlip: true,
|
|
1186
|
-
arrowPadding: 0,
|
|
1187
|
-
hideShiftedArrow: true,
|
|
1188
|
-
avoidCollisions: true,
|
|
1189
|
-
collisionBoundary: () => [],
|
|
1190
|
-
collisionPadding: 0,
|
|
1191
|
-
sticky: "partial",
|
|
1192
|
-
hideWhenDetached: false,
|
|
1193
|
-
positionStrategy: "fixed",
|
|
1194
|
-
updatePositionStrategy: "optimized",
|
|
1195
|
-
prioritizePosition: false
|
|
1196
|
-
};
|
|
1197
|
-
var [injectPopperContentContext, providePopperContentContext] = require_VisuallyHidden.createContext("PopperContent");
|
|
1198
|
-
var PopperContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
1199
|
-
inheritAttrs: false,
|
|
1200
|
-
__name: "PopperContent",
|
|
1201
|
-
props: /* @__PURE__ */ (0, vue.mergeDefaults)({
|
|
1202
|
-
side: {
|
|
1203
|
-
type: null,
|
|
1204
|
-
required: false
|
|
1205
|
-
},
|
|
1206
|
-
sideOffset: {
|
|
1207
|
-
type: Number,
|
|
1208
|
-
required: false
|
|
1209
|
-
},
|
|
1210
|
-
sideFlip: {
|
|
1211
|
-
type: Boolean,
|
|
1212
|
-
required: false
|
|
1213
|
-
},
|
|
1214
|
-
align: {
|
|
1215
|
-
type: null,
|
|
1216
|
-
required: false
|
|
1217
|
-
},
|
|
1218
|
-
alignOffset: {
|
|
1219
|
-
type: Number,
|
|
1220
|
-
required: false
|
|
1221
|
-
},
|
|
1222
|
-
alignFlip: {
|
|
1223
|
-
type: Boolean,
|
|
1224
|
-
required: false
|
|
1225
|
-
},
|
|
1226
|
-
avoidCollisions: {
|
|
1227
|
-
type: Boolean,
|
|
1228
|
-
required: false
|
|
1229
|
-
},
|
|
1230
|
-
collisionBoundary: {
|
|
1231
|
-
type: null,
|
|
1232
|
-
required: false
|
|
1233
|
-
},
|
|
1234
|
-
collisionPadding: {
|
|
1235
|
-
type: [Number, Object],
|
|
1236
|
-
required: false
|
|
1237
|
-
},
|
|
1238
|
-
arrowPadding: {
|
|
1239
|
-
type: Number,
|
|
1240
|
-
required: false
|
|
1241
|
-
},
|
|
1242
|
-
hideShiftedArrow: {
|
|
1243
|
-
type: Boolean,
|
|
1244
|
-
required: false
|
|
1245
|
-
},
|
|
1246
|
-
sticky: {
|
|
1247
|
-
type: String,
|
|
1248
|
-
required: false
|
|
1249
|
-
},
|
|
1250
|
-
hideWhenDetached: {
|
|
1251
|
-
type: Boolean,
|
|
1252
|
-
required: false
|
|
1253
|
-
},
|
|
1254
|
-
positionStrategy: {
|
|
1255
|
-
type: String,
|
|
1256
|
-
required: false
|
|
1257
|
-
},
|
|
1258
|
-
updatePositionStrategy: {
|
|
1259
|
-
type: String,
|
|
1260
|
-
required: false
|
|
1261
|
-
},
|
|
1262
|
-
disableUpdateOnLayoutShift: {
|
|
1263
|
-
type: Boolean,
|
|
1264
|
-
required: false
|
|
1265
|
-
},
|
|
1266
|
-
prioritizePosition: {
|
|
1267
|
-
type: Boolean,
|
|
1268
|
-
required: false
|
|
1269
|
-
},
|
|
1270
|
-
reference: {
|
|
1271
|
-
type: null,
|
|
1272
|
-
required: false
|
|
1273
|
-
},
|
|
1274
|
-
asChild: {
|
|
1275
|
-
type: Boolean,
|
|
1276
|
-
required: false
|
|
1277
|
-
},
|
|
1278
|
-
as: {
|
|
1279
|
-
type: null,
|
|
1280
|
-
required: false
|
|
1281
|
-
}
|
|
1282
|
-
}, { ...PopperContentPropsDefaultValue }),
|
|
1283
|
-
emits: ["placed"],
|
|
1284
|
-
setup(__props, { emit: __emit }) {
|
|
1285
|
-
const props = __props;
|
|
1286
|
-
const emits = __emit;
|
|
1287
|
-
const rootContext = injectPopperRootContext();
|
|
1288
|
-
const { forwardRef, currentElement: contentElement } = require_useForwardExpose.useForwardExpose();
|
|
1289
|
-
const floatingRef = (0, vue.ref)();
|
|
1290
|
-
const arrow$1 = (0, vue.ref)();
|
|
1291
|
-
const { width: arrowWidth, height: arrowHeight } = useSize(arrow$1);
|
|
1292
|
-
const desiredPlacement = (0, vue.computed)(() => props.side + (props.align !== "center" ? `-${props.align}` : ""));
|
|
1293
|
-
const collisionPadding = (0, vue.computed)(() => {
|
|
1294
|
-
return typeof props.collisionPadding === "number" ? props.collisionPadding : {
|
|
1295
|
-
top: 0,
|
|
1296
|
-
right: 0,
|
|
1297
|
-
bottom: 0,
|
|
1298
|
-
left: 0,
|
|
1299
|
-
...props.collisionPadding
|
|
1300
|
-
};
|
|
1301
|
-
});
|
|
1302
|
-
const boundary = (0, vue.computed)(() => {
|
|
1303
|
-
return Array.isArray(props.collisionBoundary) ? props.collisionBoundary : [props.collisionBoundary];
|
|
1304
|
-
});
|
|
1305
|
-
const detectOverflowOptions = (0, vue.computed)(() => {
|
|
1306
|
-
return {
|
|
1307
|
-
padding: collisionPadding.value,
|
|
1308
|
-
boundary: boundary.value.filter(isNotNull),
|
|
1309
|
-
altBoundary: boundary.value.length > 0
|
|
1310
|
-
};
|
|
1311
|
-
});
|
|
1312
|
-
const flipOptions = (0, vue.computed)(() => {
|
|
1313
|
-
return {
|
|
1314
|
-
mainAxis: props.sideFlip,
|
|
1315
|
-
crossAxis: props.alignFlip
|
|
1316
|
-
};
|
|
1317
|
-
});
|
|
1318
|
-
const computedMiddleware = require_dist.computedEager(() => {
|
|
1319
|
-
return [
|
|
1320
|
-
require_floating_ui_vue.offset({
|
|
1321
|
-
mainAxis: props.sideOffset + arrowHeight.value,
|
|
1322
|
-
alignmentAxis: props.alignOffset
|
|
1323
|
-
}),
|
|
1324
|
-
props.prioritizePosition && props.avoidCollisions && require_floating_ui_vue.flip({
|
|
1325
|
-
...detectOverflowOptions.value,
|
|
1326
|
-
...flipOptions.value
|
|
1327
|
-
}),
|
|
1328
|
-
props.avoidCollisions && require_floating_ui_vue.shift({
|
|
1329
|
-
mainAxis: true,
|
|
1330
|
-
crossAxis: !!props.prioritizePosition,
|
|
1331
|
-
limiter: props.sticky === "partial" ? require_floating_ui_vue.limitShift() : void 0,
|
|
1332
|
-
...detectOverflowOptions.value
|
|
1333
|
-
}),
|
|
1334
|
-
!props.prioritizePosition && props.avoidCollisions && require_floating_ui_vue.flip({
|
|
1335
|
-
...detectOverflowOptions.value,
|
|
1336
|
-
...flipOptions.value
|
|
1337
|
-
}),
|
|
1338
|
-
require_floating_ui_vue.size({
|
|
1339
|
-
...detectOverflowOptions.value,
|
|
1340
|
-
apply: ({ elements, rects, availableWidth, availableHeight }) => {
|
|
1341
|
-
const { width: anchorWidth, height: anchorHeight } = rects.reference;
|
|
1342
|
-
const contentStyle = elements.floating.style;
|
|
1343
|
-
contentStyle.setProperty("--reka-popper-available-width", `${availableWidth}px`);
|
|
1344
|
-
contentStyle.setProperty("--reka-popper-available-height", `${availableHeight}px`);
|
|
1345
|
-
contentStyle.setProperty("--reka-popper-anchor-width", `${anchorWidth}px`);
|
|
1346
|
-
contentStyle.setProperty("--reka-popper-anchor-height", `${anchorHeight}px`);
|
|
1347
|
-
}
|
|
1348
|
-
}),
|
|
1349
|
-
arrow$1.value && require_floating_ui_vue.arrow({
|
|
1350
|
-
element: arrow$1.value,
|
|
1351
|
-
padding: props.arrowPadding
|
|
1352
|
-
}),
|
|
1353
|
-
transformOrigin({
|
|
1354
|
-
arrowWidth: arrowWidth.value,
|
|
1355
|
-
arrowHeight: arrowHeight.value
|
|
1356
|
-
}),
|
|
1357
|
-
props.hideWhenDetached && require_floating_ui_vue.hide({
|
|
1358
|
-
strategy: "referenceHidden",
|
|
1359
|
-
...detectOverflowOptions.value
|
|
1360
|
-
})
|
|
1361
|
-
];
|
|
1362
|
-
});
|
|
1363
|
-
const { floatingStyles, placement, isPositioned, middlewareData, update } = require_floating_ui_vue.useFloating((0, vue.computed)(() => props.reference ?? rootContext.anchor.value), floatingRef, {
|
|
1364
|
-
strategy: props.positionStrategy,
|
|
1365
|
-
placement: desiredPlacement,
|
|
1366
|
-
whileElementsMounted: (...args) => {
|
|
1367
|
-
return require_floating_ui_vue.autoUpdate(...args, {
|
|
1368
|
-
layoutShift: !props.disableUpdateOnLayoutShift,
|
|
1369
|
-
animationFrame: props.updatePositionStrategy === "always"
|
|
1370
|
-
});
|
|
1371
|
-
},
|
|
1372
|
-
middleware: computedMiddleware
|
|
1373
|
-
});
|
|
1374
|
-
const placedSide = (0, vue.computed)(() => getSideAndAlignFromPlacement(placement.value)[0]);
|
|
1375
|
-
const placedAlign = (0, vue.computed)(() => getSideAndAlignFromPlacement(placement.value)[1]);
|
|
1376
|
-
(0, vue.watchPostEffect)(() => {
|
|
1377
|
-
if (isPositioned.value) emits("placed");
|
|
1378
|
-
});
|
|
1379
|
-
const shouldHideArrow = (0, vue.computed)(() => {
|
|
1380
|
-
const cannotCenterArrow = middlewareData.value.arrow?.centerOffset !== 0;
|
|
1381
|
-
return props.hideShiftedArrow && cannotCenterArrow;
|
|
1382
|
-
});
|
|
1383
|
-
const contentZIndex = (0, vue.ref)("");
|
|
1384
|
-
(0, vue.watchEffect)(() => {
|
|
1385
|
-
if (contentElement.value) contentZIndex.value = window.getComputedStyle(contentElement.value).zIndex;
|
|
1386
|
-
});
|
|
1387
|
-
providePopperContentContext({
|
|
1388
|
-
placedSide,
|
|
1389
|
-
onArrowChange: (element) => arrow$1.value = element,
|
|
1390
|
-
arrowX: (0, vue.computed)(() => middlewareData.value.arrow?.x ?? 0),
|
|
1391
|
-
arrowY: (0, vue.computed)(() => middlewareData.value.arrow?.y ?? 0),
|
|
1392
|
-
shouldHideArrow
|
|
1393
|
-
});
|
|
1394
|
-
return (_ctx, _cache) => {
|
|
1395
|
-
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
1396
|
-
ref_key: "floatingRef",
|
|
1397
|
-
ref: floatingRef,
|
|
1398
|
-
"data-reka-popper-content-wrapper": "",
|
|
1399
|
-
style: (0, vue.normalizeStyle)({
|
|
1400
|
-
...(0, vue.unref)(floatingStyles),
|
|
1401
|
-
transform: (0, vue.unref)(isPositioned) ? (0, vue.unref)(floatingStyles).transform : "translate(0, -200%)",
|
|
1402
|
-
minWidth: "max-content",
|
|
1403
|
-
zIndex: contentZIndex.value,
|
|
1404
|
-
["--reka-popper-transform-origin"]: [(0, vue.unref)(middlewareData).transformOrigin?.x, (0, vue.unref)(middlewareData).transformOrigin?.y].join(" "),
|
|
1405
|
-
...(0, vue.unref)(middlewareData).hide?.referenceHidden && {
|
|
1406
|
-
visibility: "hidden",
|
|
1407
|
-
pointerEvents: "none"
|
|
1408
|
-
}
|
|
1409
|
-
})
|
|
1410
|
-
}, [(0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)({ ref: (0, vue.unref)(forwardRef) }, _ctx.$attrs, {
|
|
1411
|
-
"as-child": props.asChild,
|
|
1412
|
-
as: _ctx.as,
|
|
1413
|
-
"data-side": placedSide.value,
|
|
1414
|
-
"data-align": placedAlign.value,
|
|
1415
|
-
style: { animation: !(0, vue.unref)(isPositioned) ? "none" : void 0 }
|
|
1416
|
-
}), {
|
|
1417
|
-
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
1418
|
-
_: 3
|
|
1419
|
-
}, 16, [
|
|
1420
|
-
"as-child",
|
|
1421
|
-
"as",
|
|
1422
|
-
"data-side",
|
|
1423
|
-
"data-align",
|
|
1424
|
-
"style"
|
|
1425
|
-
])], 4);
|
|
1426
|
-
};
|
|
1427
|
-
}
|
|
1428
|
-
});
|
|
1429
|
-
//#endregion
|
|
1430
|
-
Object.defineProperty(exports, "DismissableLayer_default", {
|
|
1431
|
-
enumerable: true,
|
|
1432
|
-
get: function() {
|
|
1433
|
-
return DismissableLayer_default;
|
|
1434
|
-
}
|
|
1435
|
-
});
|
|
1436
|
-
Object.defineProperty(exports, "FocusScope_default", {
|
|
1437
|
-
enumerable: true,
|
|
1438
|
-
get: function() {
|
|
1439
|
-
return FocusScope_default;
|
|
1440
|
-
}
|
|
1441
|
-
});
|
|
1442
|
-
Object.defineProperty(exports, "PopperAnchor_default", {
|
|
1443
|
-
enumerable: true,
|
|
1444
|
-
get: function() {
|
|
1445
|
-
return PopperAnchor_default;
|
|
1446
|
-
}
|
|
1447
|
-
});
|
|
1448
|
-
Object.defineProperty(exports, "PopperContent_default", {
|
|
1449
|
-
enumerable: true,
|
|
1450
|
-
get: function() {
|
|
1451
|
-
return PopperContent_default;
|
|
1452
|
-
}
|
|
1453
|
-
});
|
|
1454
|
-
Object.defineProperty(exports, "PopperRoot_default", {
|
|
1455
|
-
enumerable: true,
|
|
1456
|
-
get: function() {
|
|
1457
|
-
return PopperRoot_default;
|
|
1458
|
-
}
|
|
1459
|
-
});
|
|
1460
|
-
Object.defineProperty(exports, "Presence_default", {
|
|
1461
|
-
enumerable: true,
|
|
1462
|
-
get: function() {
|
|
1463
|
-
return Presence_default;
|
|
1464
|
-
}
|
|
1465
|
-
});
|
|
1466
|
-
Object.defineProperty(exports, "Teleport_default", {
|
|
1467
|
-
enumerable: true,
|
|
1468
|
-
get: function() {
|
|
1469
|
-
return Teleport_default;
|
|
1470
|
-
}
|
|
1471
|
-
});
|
|
1472
|
-
Object.defineProperty(exports, "handleAndDispatchCustomEvent", {
|
|
1473
|
-
enumerable: true,
|
|
1474
|
-
get: function() {
|
|
1475
|
-
return handleAndDispatchCustomEvent;
|
|
1476
|
-
}
|
|
1477
|
-
});
|
|
1478
|
-
Object.defineProperty(exports, "useBodyScrollLock", {
|
|
1479
|
-
enumerable: true,
|
|
1480
|
-
get: function() {
|
|
1481
|
-
return useBodyScrollLock;
|
|
1482
|
-
}
|
|
1483
|
-
});
|
|
1484
|
-
Object.defineProperty(exports, "useFocusGuards", {
|
|
1485
|
-
enumerable: true,
|
|
1486
|
-
get: function() {
|
|
1487
|
-
return useFocusGuards;
|
|
1488
|
-
}
|
|
1489
|
-
});
|
|
1490
|
-
Object.defineProperty(exports, "useForwardProps", {
|
|
1491
|
-
enumerable: true,
|
|
1492
|
-
get: function() {
|
|
1493
|
-
return useForwardProps;
|
|
1494
|
-
}
|
|
1495
|
-
});
|
|
1496
|
-
Object.defineProperty(exports, "useForwardPropsEmits", {
|
|
1497
|
-
enumerable: true,
|
|
1498
|
-
get: function() {
|
|
1499
|
-
return useForwardPropsEmits;
|
|
1500
|
-
}
|
|
1501
|
-
});
|
|
1502
|
-
Object.defineProperty(exports, "useHideOthers", {
|
|
1503
|
-
enumerable: true,
|
|
1504
|
-
get: function() {
|
|
1505
|
-
return useHideOthers;
|
|
1506
|
-
}
|
|
1507
|
-
});
|
|
1508
|
-
Object.defineProperty(exports, "useId", {
|
|
1509
|
-
enumerable: true,
|
|
1510
|
-
get: function() {
|
|
1511
|
-
return useId;
|
|
1512
|
-
}
|
|
1513
|
-
});
|
|
1514
|
-
|
|
1515
|
-
//# sourceMappingURL=PopperContent-BS_eKjzD.js.map
|