bootstrap-vue-next 0.44.2 → 0.44.4
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/{BAccordion-CQIw-5xs.js → BAccordion-CJZMsvwP.js} +6 -6
- package/dist/{BAccordion-CQIw-5xs.js.map → BAccordion-CJZMsvwP.js.map} +1 -1
- package/dist/{BAccordion-BJcDjMYL.mjs → BAccordion-CNzV6f8e.mjs} +6 -6
- package/dist/{BAccordion-BJcDjMYL.mjs.map → BAccordion-CNzV6f8e.mjs.map} +1 -1
- package/dist/{BAlert-CVtoW2SX.js → BAlert-BnT7fF6B.js} +9 -9
- package/dist/{BAlert-CVtoW2SX.js.map → BAlert-BnT7fF6B.js.map} +1 -1
- package/dist/{BAlert-DaQxH8c1.mjs → BAlert-Qiyqq4rE.mjs} +9 -9
- package/dist/{BAlert-DaQxH8c1.mjs.map → BAlert-Qiyqq4rE.mjs.map} +1 -1
- package/dist/{BApp-CIu-zI8K.mjs → BApp-DJWC2mB8.mjs} +2 -2
- package/dist/{BApp-CIu-zI8K.mjs.map → BApp-DJWC2mB8.mjs.map} +1 -1
- package/dist/{BApp-cBKQc5Dd.js → BApp-DaM0UKIg.js} +2 -2
- package/dist/{BApp-cBKQc5Dd.js.map → BApp-DaM0UKIg.js.map} +1 -1
- package/dist/BAspect-BULTO240.js +50 -0
- package/dist/BAspect-BULTO240.js.map +1 -0
- package/dist/BAspect-CwokVvvn.mjs +44 -0
- package/dist/BAspect-CwokVvvn.mjs.map +1 -0
- package/dist/BAutocomplete-C7Odx4At.js +2342 -0
- package/dist/BAutocomplete-C7Odx4At.js.map +1 -0
- package/dist/BAutocomplete-Depalqe-.mjs +2336 -0
- package/dist/BAutocomplete-Depalqe-.mjs.map +1 -0
- package/dist/{BAvatar-C7Vc4wad.mjs → BAvatar-D7aFEXLH.mjs} +8 -8
- package/dist/{BAvatar-C7Vc4wad.mjs.map → BAvatar-D7aFEXLH.mjs.map} +1 -1
- package/dist/{BAvatar-BcQeFYZU.js → BAvatar-lefHkDuG.js} +8 -8
- package/dist/{BAvatar-BcQeFYZU.js.map → BAvatar-lefHkDuG.js.map} +1 -1
- package/dist/{BBadge-CKGGd4xB.js → BBadge-BBUcrujj.js} +5 -5
- package/dist/{BBadge-CKGGd4xB.js.map → BBadge-BBUcrujj.js.map} +1 -1
- package/dist/{BBadge-Dfkx4SMN.mjs → BBadge-D5ra3W5R.mjs} +5 -5
- package/dist/{BBadge-Dfkx4SMN.mjs.map → BBadge-D5ra3W5R.mjs.map} +1 -1
- package/dist/{BBreadcrumb-1Wxpf1iy.js → BBreadcrumb-BSsiwCNB.js} +4 -4
- package/dist/{BBreadcrumb-1Wxpf1iy.js.map → BBreadcrumb-BSsiwCNB.js.map} +1 -1
- package/dist/{BBreadcrumb-CR35-KcI.mjs → BBreadcrumb-amkzWyz6.mjs} +4 -4
- package/dist/{BBreadcrumb-CR35-KcI.mjs.map → BBreadcrumb-amkzWyz6.mjs.map} +1 -1
- package/dist/{BButton-1yV1UiT7.mjs → BButton-BRvIFnRm.mjs} +5 -5
- package/dist/{BButton-1yV1UiT7.mjs.map → BButton-BRvIFnRm.mjs.map} +1 -1
- package/dist/{BButton-BID3NrxE.js → BButton-DBRs8Pz_.js} +5 -5
- package/dist/{BButton-BID3NrxE.js.map → BButton-DBRs8Pz_.js.map} +1 -1
- package/dist/{BButton-BtCX70_2.mjs → BButton-DNmtqoqR.mjs} +5 -5
- package/dist/{BButton-BtCX70_2.mjs.map → BButton-DNmtqoqR.mjs.map} +1 -1
- package/dist/{BButton-C_bVBx8e.js → BButton-kykTWnBy.js} +5 -5
- package/dist/{BButton-C_bVBx8e.js.map → BButton-kykTWnBy.js.map} +1 -1
- package/dist/{BCard-Vf1haqo5.mjs → BCard-C1G8PO5k.mjs} +6 -6
- package/dist/{BCard-Vf1haqo5.mjs.map → BCard-C1G8PO5k.mjs.map} +1 -1
- package/dist/{BCard-CY6iY456.mjs → BCard-CJ822HyH.mjs} +3 -3
- package/dist/{BCard-CY6iY456.mjs.map → BCard-CJ822HyH.mjs.map} +1 -1
- package/dist/{BCard-D1J5OVRY.js → BCard-CSyEHz8Z.js} +3 -3
- package/dist/{BCard-D1J5OVRY.js.map → BCard-CSyEHz8Z.js.map} +1 -1
- package/dist/{BCard-BIQQg9Rx.js → BCard-CgbTFn3S.js} +6 -6
- package/dist/{BCard-BIQQg9Rx.js.map → BCard-CgbTFn3S.js.map} +1 -1
- package/dist/{BCarousel-BH6WIvJx.js → BCarousel-Be7z13f9.js} +10 -7
- package/dist/BCarousel-Be7z13f9.js.map +1 -0
- package/dist/{BCarousel-C3CA_wGV.mjs → BCarousel-D81alfFC.mjs} +10 -7
- package/dist/BCarousel-D81alfFC.mjs.map +1 -0
- package/dist/{BCloseButton-CgIVNv2g.js → BCloseButton-CN__Jjcj.js} +2 -2
- package/dist/{BCloseButton-CgIVNv2g.js.map → BCloseButton-CN__Jjcj.js.map} +1 -1
- package/dist/{BCloseButton-DrD0tpan.mjs → BCloseButton-CjgbR1Ec.mjs} +2 -2
- package/dist/{BCloseButton-DrD0tpan.mjs.map → BCloseButton-CjgbR1Ec.mjs.map} +1 -1
- package/dist/{BCol-GOE5drq_.js → BCol-0tZmpOme.js} +3 -3
- package/dist/{BCol-GOE5drq_.js.map → BCol-0tZmpOme.js.map} +1 -1
- package/dist/{BCol-BjC3q-su.mjs → BCol-C4v-TOX6.mjs} +3 -3
- package/dist/{BCol-BjC3q-su.mjs.map → BCol-C4v-TOX6.mjs.map} +1 -1
- package/dist/{BCollapse-DqeS5WyB.mjs → BCollapse-D-xTGkX_.mjs} +4 -4
- package/dist/{BCollapse-DqeS5WyB.mjs.map → BCollapse-D-xTGkX_.mjs.map} +1 -1
- package/dist/{BCollapse-BMSZfqqk.js → BCollapse-DZ1z2c8U.js} +4 -4
- package/dist/{BCollapse-BMSZfqqk.js.map → BCollapse-DZ1z2c8U.js.map} +1 -1
- package/dist/{BContainer-CdNYUb9S.js → BContainer-BZUI2qQv.js} +4 -4
- package/dist/{BContainer-CdNYUb9S.js.map → BContainer-BZUI2qQv.js.map} +1 -1
- package/dist/{BContainer-NRhwYcFj.mjs → BContainer-DjIGH6-y.mjs} +4 -4
- package/dist/{BContainer-NRhwYcFj.mjs.map → BContainer-DjIGH6-y.mjs.map} +1 -1
- package/dist/{BDateField-CRFFJ4Sj.mjs → BDateField-BJIq6gs9.mjs} +8 -6
- package/dist/{BDateField-CRFFJ4Sj.mjs.map → BDateField-BJIq6gs9.mjs.map} +1 -1
- package/dist/{BDateField-3Xb73vd-.js → BDateField-RWwEMIwd.js} +17 -15
- package/dist/{BDateField-3Xb73vd-.js.map → BDateField-RWwEMIwd.js.map} +1 -1
- package/dist/{BDatePicker-rdtRZlra.js → BDatePicker-BQN6qZXa.js} +74 -1556
- package/dist/BDatePicker-BQN6qZXa.js.map +1 -0
- package/dist/{BDatePicker-DPtAqGyV.mjs → BDatePicker-DfzZBWjU.mjs} +15 -1497
- package/dist/BDatePicker-DfzZBWjU.mjs.map +1 -0
- package/dist/{BDropdown-k-nulez8.mjs → BDropdown-BW_O8vPQ.mjs} +5 -5
- package/dist/{BDropdown-k-nulez8.mjs.map → BDropdown-BW_O8vPQ.mjs.map} +1 -1
- package/dist/{BDropdown-C2L69dLN.js → BDropdown-C1AxRj81.js} +15 -12
- package/dist/BDropdown-C1AxRj81.js.map +1 -0
- package/dist/{BDropdown-CrgX7oCn.js → BDropdown-CuVOxCzu.js} +5 -5
- package/dist/{BDropdown-CrgX7oCn.js.map → BDropdown-CuVOxCzu.js.map} +1 -1
- package/dist/{BDropdown-CKnx6hUH.mjs → BDropdown-DAHnN54Z.mjs} +15 -12
- package/dist/BDropdown-DAHnN54Z.mjs.map +1 -0
- package/dist/{BForm-B0YEolfQ.js → BForm-Bp7SFxiK.js} +2 -2
- package/dist/{BForm-B0YEolfQ.js.map → BForm-Bp7SFxiK.js.map} +1 -1
- package/dist/{BForm-ppPvhIuu.js → BForm-BqHUnHpU.js} +8 -7
- package/dist/{BForm-ppPvhIuu.js.map → BForm-BqHUnHpU.js.map} +1 -1
- package/dist/{BForm-DZW1uWD-.mjs → BForm-IL7Rf_27.mjs} +7 -6
- package/dist/{BForm-DZW1uWD-.mjs.map → BForm-IL7Rf_27.mjs.map} +1 -1
- package/dist/{BForm-CPHblWb2.mjs → BForm-Oh6PpdcD.mjs} +2 -2
- package/dist/{BForm-CPHblWb2.mjs.map → BForm-Oh6PpdcD.mjs.map} +1 -1
- package/dist/{BFormCheckbox-MEwee9Ij.js → BFormCheckbox-Bdk2rgVe.js} +6 -6
- package/dist/{BFormCheckbox-MEwee9Ij.js.map → BFormCheckbox-Bdk2rgVe.js.map} +1 -1
- package/dist/{BFormCheckbox-CsN1a4jm.mjs → BFormCheckbox-CcDK-lh1.mjs} +6 -6
- package/dist/{BFormCheckbox-CsN1a4jm.mjs.map → BFormCheckbox-CcDK-lh1.mjs.map} +1 -1
- package/dist/{BFormFile-BEHeBj6q.js → BFormFile-BWknj7fW.js} +5 -5
- package/dist/{BFormFile-BEHeBj6q.js.map → BFormFile-BWknj7fW.js.map} +1 -1
- package/dist/{BFormFile-CNtEA98J.mjs → BFormFile-Bf3GMYeX.mjs} +5 -5
- package/dist/{BFormFile-CNtEA98J.mjs.map → BFormFile-Bf3GMYeX.mjs.map} +1 -1
- package/dist/{BFormGroup-DBVGyJ-f.mjs → BFormGroup--38dFj0X.mjs} +9 -9
- package/dist/{BFormGroup-DBVGyJ-f.mjs.map → BFormGroup--38dFj0X.mjs.map} +1 -1
- package/dist/{BFormGroup-CGjb_pUi.js → BFormGroup-BwO1BZD1.js} +9 -9
- package/dist/{BFormGroup-CGjb_pUi.js.map → BFormGroup-BwO1BZD1.js.map} +1 -1
- package/dist/{BFormInput-4vCGzAoO.js → BFormInput-BuRSGYdY.js} +3 -3
- package/dist/{BFormInput-4vCGzAoO.js.map → BFormInput-BuRSGYdY.js.map} +1 -1
- package/dist/{BFormInput-DrZnHCLO.mjs → BFormInput-Dg9dbwHp.mjs} +3 -3
- package/dist/{BFormInput-DrZnHCLO.mjs.map → BFormInput-Dg9dbwHp.mjs.map} +1 -1
- package/dist/{BFormRadio-BXpiJTsS.mjs → BFormRadio-CRDbgMiR.mjs} +6 -6
- package/dist/{BFormRadio-BXpiJTsS.mjs.map → BFormRadio-CRDbgMiR.mjs.map} +1 -1
- package/dist/{BFormRadio-BzHsRe9X.js → BFormRadio-DuVYw-Vs.js} +6 -6
- package/dist/{BFormRadio-BzHsRe9X.js.map → BFormRadio-DuVYw-Vs.js.map} +1 -1
- package/dist/{BFormRating-Cq94zurU.mjs → BFormRating-Bb_ACp-9.mjs} +4 -4
- package/dist/{BFormRating-Cq94zurU.mjs.map → BFormRating-Bb_ACp-9.mjs.map} +1 -1
- package/dist/{BFormRating-_MVRGNOF.js → BFormRating-CNqf91vN.js} +4 -4
- package/dist/{BFormRating-_MVRGNOF.js.map → BFormRating-CNqf91vN.js.map} +1 -1
- package/dist/{BFormSelect-DbpJ_0j-.mjs → BFormSelect-Dg6OwMl-.mjs} +8 -7
- package/dist/{BFormSelect-DbpJ_0j-.mjs.map → BFormSelect-Dg6OwMl-.mjs.map} +1 -1
- package/dist/{BFormSelect-DFa1-5ez.js → BFormSelect-DqSojuY_.js} +10 -9
- package/dist/{BFormSelect-DFa1-5ez.js.map → BFormSelect-DqSojuY_.js.map} +1 -1
- package/dist/BFormSelectOption-BY4P8HOf.js +46 -0
- package/dist/BFormSelectOption-BY4P8HOf.js.map +1 -0
- package/dist/BFormSelectOption-O8cyyv3i.mjs +40 -0
- package/dist/BFormSelectOption-O8cyyv3i.mjs.map +1 -0
- package/dist/{BFormSpinbutton-DmzfRDeR.mjs → BFormSpinbutton-BLO0Yf36.mjs} +6 -6
- package/dist/{BFormSpinbutton-DmzfRDeR.mjs.map → BFormSpinbutton-BLO0Yf36.mjs.map} +1 -1
- package/dist/{BFormSpinbutton-DzJ071Gz.js → BFormSpinbutton-BaOTL1k1.js} +6 -6
- package/dist/{BFormSpinbutton-DzJ071Gz.js.map → BFormSpinbutton-BaOTL1k1.js.map} +1 -1
- package/dist/BFormTag-BUWEugEC.mjs +80 -0
- package/dist/BFormTag-BUWEugEC.mjs.map +1 -0
- package/dist/BFormTag-C7B-bX72.js +86 -0
- package/dist/BFormTag-C7B-bX72.js.map +1 -0
- package/dist/{BFormTags-pK9i3cOB.js → BFormTags-BFA6xbr3.js} +12 -88
- package/dist/BFormTags-BFA6xbr3.js.map +1 -0
- package/dist/{BFormTags-Cobh04P9.mjs → BFormTags-CJb4H67g.mjs} +13 -83
- package/dist/BFormTags-CJb4H67g.mjs.map +1 -0
- package/dist/{BFormTextarea-BtXarcjA.js → BFormTextarea-8c3B3kAI.js} +4 -4
- package/dist/{BFormTextarea-BtXarcjA.js.map → BFormTextarea-8c3B3kAI.js.map} +1 -1
- package/dist/{BFormTextarea-ClcoJrSM.mjs → BFormTextarea-BMk05ojJ.mjs} +4 -4
- package/dist/{BFormTextarea-ClcoJrSM.mjs.map → BFormTextarea-BMk05ojJ.mjs.map} +1 -1
- package/dist/{BFormValidFeedback-Ot8gdDST.js → BFormValidFeedback-DvTgwqSe.js} +3 -3
- package/dist/{BFormValidFeedback-Ot8gdDST.js.map → BFormValidFeedback-DvTgwqSe.js.map} +1 -1
- package/dist/{BFormValidFeedback-foz9BlkH.mjs → BFormValidFeedback-_Dgzm0Ag.mjs} +3 -3
- package/dist/{BFormValidFeedback-foz9BlkH.mjs.map → BFormValidFeedback-_Dgzm0Ag.mjs.map} +1 -1
- package/dist/{BImg-b_3eTiEq.mjs → BImg-BQqZfIM9.mjs} +5 -5
- package/dist/{BImg-b_3eTiEq.mjs.map → BImg-BQqZfIM9.mjs.map} +1 -1
- package/dist/{BImg-BrA0ZRS6.js → BImg-Dyy0N-WQ.js} +5 -5
- package/dist/{BImg-BrA0ZRS6.js.map → BImg-Dyy0N-WQ.js.map} +1 -1
- package/dist/BInputGroup-BScMw6Zr.js +31 -0
- package/dist/BInputGroup-BScMw6Zr.js.map +1 -0
- package/dist/BInputGroup-C7k0tS9j.mjs +25 -0
- package/dist/BInputGroup-C7k0tS9j.mjs.map +1 -0
- package/dist/{BInputGroup-B8fKBtip.mjs → BInputGroup-DpX10xwR.mjs} +4 -22
- package/dist/BInputGroup-DpX10xwR.mjs.map +1 -0
- package/dist/{BInputGroup-Cr0qLUds.js → BInputGroup-Duk6Jk0v.js} +2 -26
- package/dist/BInputGroup-Duk6Jk0v.js.map +1 -0
- package/dist/{BLink-DoYZ8dBl.mjs → BLink-Cz5YCsnv.mjs} +4 -4
- package/dist/{BLink-DoYZ8dBl.mjs.map → BLink-Cz5YCsnv.mjs.map} +1 -1
- package/dist/{BLink-DW7s8W_N.js → BLink-uemyYKst.js} +4 -4
- package/dist/{BLink-DW7s8W_N.js.map → BLink-uemyYKst.js.map} +1 -1
- package/dist/{BListGroup-ByYmtuCM.mjs → BListGroup-BmtN0xQ3.mjs} +3 -3
- package/dist/{BListGroup-ByYmtuCM.mjs.map → BListGroup-BmtN0xQ3.mjs.map} +1 -1
- package/dist/{BListGroup-clQNXk23.js → BListGroup-DuyMdAxJ.js} +3 -3
- package/dist/{BListGroup-clQNXk23.js.map → BListGroup-DuyMdAxJ.js.map} +1 -1
- package/dist/{BModal-TCXrZEZk.mjs → BModal-Br5xLT0-.mjs} +15 -12
- package/dist/BModal-Br5xLT0-.mjs.map +1 -0
- package/dist/{BModal-d3FKaKhA.js → BModal-D0LB339D.js} +15 -12
- package/dist/BModal-D0LB339D.js.map +1 -0
- package/dist/{BNav-BBr8213N.mjs → BNav-BRjdHsjC.mjs} +7 -7
- package/dist/{BNav-BBr8213N.mjs.map → BNav-BRjdHsjC.mjs.map} +1 -1
- package/dist/{BNav-BMAZcVDS.js → BNav-tYBwz1wU.js} +7 -7
- package/dist/{BNav-BMAZcVDS.js.map → BNav-tYBwz1wU.js.map} +1 -1
- package/dist/{BNavbar-BfYFzX1s.js → BNavbar-s9Ak5PnO.js} +6 -6
- package/dist/{BNavbar-BfYFzX1s.js.map → BNavbar-s9Ak5PnO.js.map} +1 -1
- package/dist/{BNavbar-DtgNmsyI.mjs → BNavbar-vN3_CMLn.mjs} +6 -6
- package/dist/{BNavbar-DtgNmsyI.mjs.map → BNavbar-vN3_CMLn.mjs.map} +1 -1
- package/dist/{BOffcanvas-YsVap-9w.js → BOffcanvas-D33pEfZe.js} +14 -11
- package/dist/BOffcanvas-D33pEfZe.js.map +1 -0
- package/dist/{BOffcanvas-BklEA-4x.mjs → BOffcanvas-jETHbtC3.mjs} +14 -11
- package/dist/BOffcanvas-jETHbtC3.mjs.map +1 -0
- package/dist/BOtpInput-CSCoKHP9.js +542 -0
- package/dist/BOtpInput-CSCoKHP9.js.map +1 -0
- package/dist/BOtpInput-Drfkt3x3.mjs +536 -0
- package/dist/BOtpInput-Drfkt3x3.mjs.map +1 -0
- package/dist/{BOverlay-Dg9YM7p1.js → BOverlay-B7vJAdHO.js} +6 -6
- package/dist/{BOverlay-Dg9YM7p1.js.map → BOverlay-B7vJAdHO.js.map} +1 -1
- package/dist/{BOverlay-DOfvBAZb.mjs → BOverlay-BGxH9JVy.mjs} +6 -6
- package/dist/{BOverlay-DOfvBAZb.mjs.map → BOverlay-BGxH9JVy.mjs.map} +1 -1
- package/dist/{BPagination-9P9Xh3cN.js → BPagination-C0-4NVzW.js} +6 -6
- package/dist/{BPagination-9P9Xh3cN.js.map → BPagination-C0-4NVzW.js.map} +1 -1
- package/dist/{BPagination-B868NBmG.mjs → BPagination-CvoSN1He.mjs} +6 -6
- package/dist/{BPagination-B868NBmG.mjs.map → BPagination-CvoSN1He.mjs.map} +1 -1
- package/dist/{BPlaceholder-7UJ3Nyb3.mjs → BPlaceholder-C4AOg29f.mjs} +6 -6
- package/dist/{BPlaceholder-7UJ3Nyb3.mjs.map → BPlaceholder-C4AOg29f.mjs.map} +1 -1
- package/dist/{BPlaceholder-DPEVmogO.js → BPlaceholder-DYYYuNgR.js} +6 -6
- package/dist/{BPlaceholder-DPEVmogO.js.map → BPlaceholder-DYYYuNgR.js.map} +1 -1
- package/dist/{BProgress-Bdf5AncM.mjs → BProgress-BIqo6vLh.mjs} +4 -4
- package/dist/{BProgress-Bdf5AncM.mjs.map → BProgress-BIqo6vLh.mjs.map} +1 -1
- package/dist/{BProgress-CeEIdt1a.js → BProgress-Bc3ZSkac.js} +4 -4
- package/dist/{BProgress-CeEIdt1a.js.map → BProgress-Bc3ZSkac.js.map} +1 -1
- package/dist/{BRow-NaXJzpS-.mjs → BRow-BCEK3fe6.mjs} +4 -4
- package/dist/{BRow-NaXJzpS-.mjs.map → BRow-BCEK3fe6.mjs.map} +1 -1
- package/dist/{BRow-DGi1WkB9.js → BRow-tqMEhkZS.js} +4 -4
- package/dist/{BRow-DGi1WkB9.js.map → BRow-tqMEhkZS.js.map} +1 -1
- package/dist/{BSpinner-Kska3Bsd.js → BSpinner-8UMAINYb.js} +3 -3
- package/dist/{BSpinner-Kska3Bsd.js.map → BSpinner-8UMAINYb.js.map} +1 -1
- package/dist/{BSpinner-DlLxrIkh.mjs → BSpinner-BpnwONvx.mjs} +3 -3
- package/dist/{BSpinner-DlLxrIkh.mjs.map → BSpinner-BpnwONvx.mjs.map} +1 -1
- package/dist/{BTable-BiNbXnsR.js → BTable-Btzu1IJ_.js} +9 -9
- package/dist/{BTable-BiNbXnsR.js.map → BTable-Btzu1IJ_.js.map} +1 -1
- package/dist/{BTable-C__GSYX2.mjs → BTable-CjHMx8Yv.mjs} +9 -9
- package/dist/{BTable-C__GSYX2.mjs.map → BTable-CjHMx8Yv.mjs.map} +1 -1
- package/dist/{BTableSimple-fwaF0Kws.js → BTableSimple-BcdizuDm.js} +5 -5
- package/dist/{BTableSimple-fwaF0Kws.js.map → BTableSimple-BcdizuDm.js.map} +1 -1
- package/dist/{BTableSimple-eebTf2L5.mjs → BTableSimple-C901Z5V9.mjs} +5 -5
- package/dist/{BTableSimple-eebTf2L5.mjs.map → BTableSimple-C901Z5V9.mjs.map} +1 -1
- package/dist/{BTabs-7IT0dhVr.mjs → BTabs-DZEF9kgT.mjs} +7 -7
- package/dist/{BTabs-7IT0dhVr.mjs.map → BTabs-DZEF9kgT.mjs.map} +1 -1
- package/dist/{BTabs-BxwRSBMv.js → BTabs-DiYaJi22.js} +7 -7
- package/dist/{BTabs-BxwRSBMv.js.map → BTabs-DiYaJi22.js.map} +1 -1
- package/dist/{BTimeField-CZw1_K7v.mjs → BTimeField-DSWZeGYP.mjs} +7 -5
- package/dist/{BTimeField-CZw1_K7v.mjs.map → BTimeField-DSWZeGYP.mjs.map} +1 -1
- package/dist/{BTimeField-CngB6NOW.js → BTimeField-VTrtxGkI.js} +18 -16
- package/dist/{BTimeField-CngB6NOW.js.map → BTimeField-VTrtxGkI.js.map} +1 -1
- package/dist/{BToast-IYBku5Nr.mjs → BToast-B2rFKhLD.mjs} +10 -10
- package/dist/{BToast-IYBku5Nr.mjs.map → BToast-B2rFKhLD.mjs.map} +1 -1
- package/dist/{BToast-BraVbf4N.js → BToast-DCSZYXIi.js} +10 -10
- package/dist/{BToast-BraVbf4N.js.map → BToast-DCSZYXIi.js.map} +1 -1
- package/dist/{BTooltip-B2hE5Q6m.js → BTooltip-CryTO-SM.js} +3 -3
- package/dist/{BTooltip-B2hE5Q6m.js.map → BTooltip-CryTO-SM.js.map} +1 -1
- package/dist/{BTooltip-BuK_zb1B.mjs → BTooltip-DtpjIEBu.mjs} +3 -3
- package/dist/{BTooltip-BuK_zb1B.mjs.map → BTooltip-DtpjIEBu.mjs.map} +1 -1
- package/dist/{BootstrapVueOptions-CVxLmDvx.js → BootstrapVueOptions-BC3f7hMU.js} +4 -1
- package/dist/BootstrapVueOptions-BC3f7hMU.js.map +1 -0
- package/dist/{BootstrapVueOptions-Dtdn7_AJ.mjs → BootstrapVueOptions-BU3rzYio.mjs} +4 -1
- package/dist/BootstrapVueOptions-BU3rzYio.mjs.map +1 -0
- package/dist/{ConditionalTeleport-BDWcebyD.js → ConditionalTeleport-BJZk6HAx.js} +1 -1
- package/dist/{ConditionalTeleport-BDWcebyD.js.map → ConditionalTeleport-BJZk6HAx.js.map} +1 -1
- package/dist/{ConditionalTeleport-B4KYZIM6.mjs → ConditionalTeleport-BNsziElf.mjs} +1 -1
- package/dist/{ConditionalTeleport-B4KYZIM6.mjs.map → ConditionalTeleport-BNsziElf.mjs.map} +1 -1
- package/dist/{ConditionalWrapper-ZqZKYsic.js → ConditionalWrapper-Cc7EIszd.js} +1 -1
- package/dist/{ConditionalWrapper-ZqZKYsic.js.map → ConditionalWrapper-Cc7EIszd.js.map} +1 -1
- package/dist/{ConditionalWrapper-BR9CKZNU.mjs → ConditionalWrapper-D9ovtbHB.mjs} +1 -1
- package/dist/{ConditionalWrapper-BR9CKZNU.mjs.map → ConditionalWrapper-D9ovtbHB.mjs.map} +1 -1
- package/dist/{DateRangeFieldInput-bXDqGVUe.js → DateRangeFieldInput-Ce7PM3PJ.js} +22 -20
- package/dist/{DateRangeFieldInput-bXDqGVUe.js.map → DateRangeFieldInput-Ce7PM3PJ.js.map} +1 -1
- package/dist/{DateRangeFieldInput-bA6IK9lx.mjs → DateRangeFieldInput-DiVuhf4Y.mjs} +5 -3
- package/dist/{DateRangeFieldInput-bA6IK9lx.mjs.map → DateRangeFieldInput-DiVuhf4Y.mjs.map} +1 -1
- package/dist/PopperContent-BTUvv6Tu.mjs +1431 -0
- package/dist/PopperContent-BTUvv6Tu.mjs.map +1 -0
- package/dist/PopperContent-CSwv2Fih.js +1515 -0
- package/dist/PopperContent-CSwv2Fih.js.map +1 -0
- package/dist/VisuallyHidden-Bbwok8oL.mjs +174 -0
- package/dist/VisuallyHidden-Bbwok8oL.mjs.map +1 -0
- package/dist/VisuallyHidden-DaN947I0.js +222 -0
- package/dist/VisuallyHidden-DaN947I0.js.map +1 -0
- package/dist/VisuallyHiddenInput-Biq4Qv5j.js +147 -0
- package/dist/VisuallyHiddenInput-Biq4Qv5j.js.map +1 -0
- package/dist/VisuallyHiddenInput-D1SjTCVH.mjs +141 -0
- package/dist/VisuallyHiddenInput-D1SjTCVH.mjs.map +1 -0
- package/dist/bootstrap-vue-next.css +147 -0
- package/dist/bootstrap-vue-next.mjs +62 -57
- package/dist/bootstrap-vue-next.umd.js +67 -59
- package/dist/{classes-D6JE1Dex.mjs → classes-B0E5Y78Y.mjs} +1 -1
- package/dist/{classes-D6JE1Dex.mjs.map → classes-B0E5Y78Y.mjs.map} +1 -1
- package/dist/{classes-vdSVs0gA.js → classes-D5wrmmVs.js} +1 -1
- package/dist/{classes-vdSVs0gA.js.map → classes-D5wrmmVs.js.map} +1 -1
- package/dist/components/BAccordion/BAccordionItem.vue.d.mts +1 -1
- package/dist/components/BAccordion/BAccordionItem.vue.d.ts +1 -1
- package/dist/components/BAspect/BAspect.vue.d.mts +21 -0
- package/dist/components/BAspect/BAspect.vue.d.ts +21 -0
- package/dist/components/BAspect/index.d.mts +1 -0
- package/dist/components/BAspect/index.d.ts +1 -0
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.mts +65 -0
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.ts +65 -0
- package/dist/components/BAutocomplete/index.d.mts +1 -0
- package/dist/components/BAutocomplete/index.d.ts +1 -0
- package/dist/components/BButton/BButtonGroup.vue.d.mts +1 -1
- package/dist/components/BButton/BButtonGroup.vue.d.ts +1 -1
- package/dist/components/BCard/BCard.vue.d.mts +1 -1
- package/dist/components/BCard/BCard.vue.d.ts +1 -1
- package/dist/components/BCard/BCardImg.vue.d.mts +1 -1
- package/dist/components/BCard/BCardImg.vue.d.ts +1 -1
- package/dist/components/BCollapse/BCollapse.vue.d.mts +1 -1
- package/dist/components/BCollapse/BCollapse.vue.d.ts +1 -1
- package/dist/components/BDateField/BDateField.vue.d.mts +1 -1
- package/dist/components/BDateField/BDateField.vue.d.ts +1 -1
- package/dist/components/BDateField/BDateRangeField.vue.d.mts +1 -1
- package/dist/components/BDateField/BDateRangeField.vue.d.ts +1 -1
- package/dist/components/BDateField/BTimeRangeField.vue.d.mts +4 -4
- package/dist/components/BDateField/BTimeRangeField.vue.d.ts +4 -4
- package/dist/components/BDatePicker/BDatePicker.vue.d.mts +4 -4
- package/dist/components/BDatePicker/BDatePicker.vue.d.ts +4 -4
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.mts +4 -4
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.ts +4 -4
- package/dist/components/BDropdown/BDropdown.vue.d.mts +2 -2
- package/dist/components/BDropdown/BDropdown.vue.d.ts +2 -2
- package/dist/components/BForm/BFormDatalistBase.vue.d.mts +5 -5
- package/dist/components/BForm/BFormDatalistBase.vue.d.ts +5 -5
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.mts +1 -1
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.ts +1 -1
- package/dist/components/BForm/BFormValidFeedback.vue.d.mts +1 -1
- package/dist/components/BForm/BFormValidFeedback.vue.d.ts +1 -1
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.mts +1 -1
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.ts +1 -1
- package/dist/components/BFormFile/BFormFile.vue.d.mts +1 -1
- package/dist/components/BFormFile/BFormFile.vue.d.ts +1 -1
- package/dist/components/BFormGroup/BFormGroup.vue.d.mts +1 -1
- package/dist/components/BFormGroup/BFormGroup.vue.d.ts +1 -1
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.mts +4 -4
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.ts +4 -4
- package/dist/components/BImg/BImg.vue.d.mts +1 -1
- package/dist/components/BImg/BImg.vue.d.ts +1 -1
- package/dist/components/BInputGroup/BInputGroup.vue.d.mts +1 -1
- package/dist/components/BInputGroup/BInputGroup.vue.d.ts +1 -1
- package/dist/components/BListGroup/BListGroup.vue.d.mts +1 -1
- package/dist/components/BListGroup/BListGroup.vue.d.ts +1 -1
- package/dist/components/BModal/BModal.vue.d.mts +1 -1
- package/dist/components/BModal/BModal.vue.d.ts +1 -1
- package/dist/components/BNav/BNav.vue.d.mts +1 -1
- package/dist/components/BNav/BNav.vue.d.ts +1 -1
- package/dist/components/BNav/BNavItemDropdown.vue.d.mts +13 -13
- package/dist/components/BNav/BNavItemDropdown.vue.d.ts +13 -13
- package/dist/components/BNavbar/BNavbar.vue.d.mts +1 -1
- package/dist/components/BNavbar/BNavbar.vue.d.ts +1 -1
- package/dist/components/BNavbar/BNavbarNav.vue.d.mts +1 -1
- package/dist/components/BNavbar/BNavbarNav.vue.d.ts +1 -1
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.mts +1 -1
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.ts +1 -1
- package/dist/components/BOtpInput/BOtpInput.vue.d.mts +32 -0
- package/dist/components/BOtpInput/BOtpInput.vue.d.ts +32 -0
- package/dist/components/BOtpInput/index.d.mts +1 -0
- package/dist/components/BOtpInput/index.d.ts +1 -0
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.mts +1 -1
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.ts +1 -1
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.mts +1 -1
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.ts +1 -1
- package/dist/components/BProgress/BProgress.vue.d.mts +1 -1
- package/dist/components/BProgress/BProgress.vue.d.ts +1 -1
- package/dist/components/BSpinner/BSpinner.vue.d.mts +2 -2
- package/dist/components/BSpinner/BSpinner.vue.d.ts +2 -2
- package/dist/components/BTable/BTable.vue.d.mts +3 -3
- package/dist/components/BTable/BTable.vue.d.ts +3 -3
- package/dist/components/BTabs/BTabs.vue.d.mts +1 -1
- package/dist/components/BTabs/BTabs.vue.d.ts +1 -1
- package/dist/components/BTimeField/BTimeField.vue.d.mts +1 -1
- package/dist/components/BTimeField/BTimeField.vue.d.ts +1 -1
- package/dist/components/index.d.mts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/composables/useFormSelect.d.mts +10 -4
- package/dist/composables/useFormSelect.d.ts +10 -4
- package/dist/{constants-CQ8ucyPI.mjs → constants-BSIK14yA.mjs} +1 -1
- package/dist/{constants-CQ8ucyPI.mjs.map → constants-BSIK14yA.mjs.map} +1 -1
- package/dist/{constants-DMR5FAE3.js → constants-hccBP09R.js} +1 -1
- package/dist/{constants-DMR5FAE3.js.map → constants-hccBP09R.js.map} +1 -1
- package/dist/{debounce-BfDJWP7y.js → debounce-C-5Oukxb.js} +2 -2
- package/dist/{debounce-BfDJWP7y.js.map → debounce-C-5Oukxb.js.map} +1 -1
- package/dist/{debounce-BIVtU5ek.mjs → debounce-C_wjWVGH.mjs} +2 -2
- package/dist/{debounce-BIVtU5ek.mjs.map → debounce-C_wjWVGH.mjs.map} +1 -1
- package/dist/{dist-Dn5blevd.mjs → dist-B10a-gZ8.mjs} +34 -2
- package/dist/{dist-Dn5blevd.mjs.map → dist-B10a-gZ8.mjs.map} +1 -1
- package/dist/{dist-B_c893QG.js → dist-BJ15ThEs.js} +45 -1
- package/dist/{dist-B_c893QG.js.map → dist-BJ15ThEs.js.map} +1 -1
- package/dist/{flattenFragments-DfLb4YB2.js → flattenFragments-C1WWqm25.js} +1 -1
- package/dist/{flattenFragments-DfLb4YB2.js.map → flattenFragments-C1WWqm25.js.map} +1 -1
- package/dist/{flattenFragments-B1W_x5L2.mjs → flattenFragments-ClbLQGqR.mjs} +1 -1
- package/dist/{flattenFragments-B1W_x5L2.mjs.map → flattenFragments-ClbLQGqR.mjs.map} +1 -1
- package/dist/{floating-ui.vue-CcfLuVCZ.mjs → floating-ui.vue-CAMaNcqI.mjs} +1 -1
- package/dist/{floating-ui.vue-CcfLuVCZ.mjs.map → floating-ui.vue-CAMaNcqI.mjs.map} +1 -1
- package/dist/{floating-ui.vue-B09oeNTW.js → floating-ui.vue-GXIS2sFG.js} +1 -1
- package/dist/{floating-ui.vue-B09oeNTW.js.map → floating-ui.vue-GXIS2sFG.js.map} +1 -1
- package/dist/{floatingUi-BLlCKrbj.js → floatingUi-Cs4rDXmO.js} +8 -8
- package/dist/{floatingUi-BLlCKrbj.js.map → floatingUi-Cs4rDXmO.js.map} +1 -1
- package/dist/{floatingUi-9NcUa5r7.mjs → floatingUi-DHMrP__c.mjs} +8 -8
- package/dist/{floatingUi-9NcUa5r7.mjs.map → floatingUi-DHMrP__c.mjs.map} +1 -1
- package/dist/{functions-C6AToZGR.mjs → functions-BcMenQqL.mjs} +1 -1
- package/dist/functions-BcMenQqL.mjs.map +1 -0
- package/dist/{functions-DCQKr6wc.js → functions-Bx1HDqMv.js} +1 -1
- package/dist/functions-Bx1HDqMv.js.map +1 -0
- package/dist/{getClasses-_sZDgS-l.mjs → getClasses-DaWzwT2S.mjs} +1 -1
- package/dist/{getClasses-_sZDgS-l.mjs.map → getClasses-DaWzwT2S.mjs.map} +1 -1
- package/dist/{getClasses-BQLj0MHF.js → getClasses-qqI6x4f4.js} +1 -1
- package/dist/{getClasses-BQLj0MHF.js.map → getClasses-qqI6x4f4.js.map} +1 -1
- package/dist/{getElement-D5DvkPzw.mjs → getElement-0_htvrFw.mjs} +1 -1
- package/dist/{getElement-D5DvkPzw.mjs.map → getElement-0_htvrFw.mjs.map} +1 -1
- package/dist/{getElement-BXXYfxYW.js → getElement-CxWWOx3K.js} +1 -1
- package/dist/{getElement-BXXYfxYW.js.map → getElement-CxWWOx3K.js.map} +1 -1
- package/dist/{object-CPeShLVx.js → object-BN7QwMcz.js} +1 -1
- package/dist/{object-CPeShLVx.js.map → object-BN7QwMcz.js.map} +1 -1
- package/dist/{object-B9ZW1_9f.mjs → object-CHQkkner.mjs} +1 -1
- package/dist/{object-B9ZW1_9f.mjs.map → object-CHQkkner.mjs.map} +1 -1
- package/dist/{registryAccess-B4xlltdn.mjs → registryAccess-C1Ti_nxW.mjs} +1 -1
- package/dist/{registryAccess-B4xlltdn.mjs.map → registryAccess-C1Ti_nxW.mjs.map} +1 -1
- package/dist/{registryAccess-Be_uJ4EV.js → registryAccess-D-YxwQJq.js} +1 -1
- package/dist/{registryAccess-Be_uJ4EV.js.map → registryAccess-D-YxwQJq.js.map} +1 -1
- package/dist/src/components/BAccordion/index.mjs +1 -1
- package/dist/src/components/BAccordion/index.umd.js +1 -1
- package/dist/src/components/BAlert/index.mjs +1 -1
- package/dist/src/components/BAlert/index.umd.js +1 -1
- package/dist/src/components/BApp/index.mjs +1 -1
- package/dist/src/components/BApp/index.umd.js +1 -1
- package/dist/src/components/BAspect/index.mjs +2 -0
- package/dist/src/components/BAspect/index.umd.js +3 -0
- package/dist/src/components/BAutocomplete/index.mjs +2 -0
- package/dist/src/components/BAutocomplete/index.umd.js +3 -0
- package/dist/src/components/BAvatar/index.mjs +1 -1
- package/dist/src/components/BAvatar/index.umd.js +1 -1
- package/dist/src/components/BBadge/index.mjs +1 -1
- package/dist/src/components/BBadge/index.umd.js +1 -1
- package/dist/src/components/BBreadcrumb/index.mjs +1 -1
- package/dist/src/components/BBreadcrumb/index.umd.js +1 -1
- package/dist/src/components/BButton/index.mjs +3 -3
- package/dist/src/components/BButton/index.umd.js +3 -3
- package/dist/src/components/BCard/index.mjs +2 -2
- package/dist/src/components/BCard/index.umd.js +2 -2
- package/dist/src/components/BCarousel/index.mjs +1 -1
- package/dist/src/components/BCarousel/index.umd.js +1 -1
- package/dist/src/components/BCol/index.mjs +1 -1
- package/dist/src/components/BCol/index.umd.js +1 -1
- package/dist/src/components/BCollapse/index.mjs +1 -1
- package/dist/src/components/BCollapse/index.umd.js +1 -1
- package/dist/src/components/BContainer/index.mjs +3 -3
- package/dist/src/components/BContainer/index.umd.js +3 -3
- package/dist/src/components/BDateField/index.mjs +1 -1
- package/dist/src/components/BDateField/index.umd.js +1 -1
- package/dist/src/components/BDatePicker/index.mjs +1 -1
- package/dist/src/components/BDatePicker/index.umd.js +1 -1
- package/dist/src/components/BDropdown/index.mjs +2 -2
- package/dist/src/components/BDropdown/index.umd.js +2 -2
- package/dist/src/components/BForm/index.mjs +3 -3
- package/dist/src/components/BForm/index.umd.js +3 -3
- package/dist/src/components/BFormCheckbox/index.mjs +1 -1
- package/dist/src/components/BFormCheckbox/index.umd.js +1 -1
- package/dist/src/components/BFormFile/index.mjs +1 -1
- package/dist/src/components/BFormFile/index.umd.js +1 -1
- package/dist/src/components/BFormGroup/index.mjs +1 -1
- package/dist/src/components/BFormGroup/index.umd.js +1 -1
- package/dist/src/components/BFormInput/index.mjs +1 -1
- package/dist/src/components/BFormInput/index.umd.js +1 -1
- package/dist/src/components/BFormRadio/index.mjs +1 -1
- package/dist/src/components/BFormRadio/index.umd.js +1 -1
- package/dist/src/components/BFormRating/index.mjs +1 -1
- package/dist/src/components/BFormRating/index.umd.js +1 -1
- package/dist/src/components/BFormSelect/index.mjs +2 -2
- package/dist/src/components/BFormSelect/index.umd.js +3 -3
- package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
- package/dist/src/components/BFormSpinbutton/index.umd.js +1 -1
- package/dist/src/components/BFormTags/index.mjs +2 -1
- package/dist/src/components/BFormTags/index.umd.js +3 -2
- package/dist/src/components/BFormTextarea/index.mjs +1 -1
- package/dist/src/components/BFormTextarea/index.umd.js +1 -1
- package/dist/src/components/BImg/index.mjs +1 -1
- package/dist/src/components/BImg/index.umd.js +1 -1
- package/dist/src/components/BInputGroup/index.mjs +2 -1
- package/dist/src/components/BInputGroup/index.umd.js +3 -2
- package/dist/src/components/BLink/index.mjs +1 -1
- package/dist/src/components/BLink/index.umd.js +1 -1
- package/dist/src/components/BListGroup/index.mjs +1 -1
- package/dist/src/components/BListGroup/index.umd.js +1 -1
- package/dist/src/components/BModal/index.mjs +1 -1
- package/dist/src/components/BModal/index.umd.js +1 -1
- package/dist/src/components/BNav/index.mjs +1 -1
- package/dist/src/components/BNav/index.umd.js +1 -1
- package/dist/src/components/BNavbar/index.mjs +1 -1
- package/dist/src/components/BNavbar/index.umd.js +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.umd.js +1 -1
- package/dist/src/components/BOtpInput/index.mjs +2 -0
- package/dist/src/components/BOtpInput/index.umd.js +3 -0
- package/dist/src/components/BOverlay/index.mjs +1 -1
- package/dist/src/components/BOverlay/index.umd.js +1 -1
- package/dist/src/components/BPagination/index.mjs +1 -1
- package/dist/src/components/BPagination/index.umd.js +1 -1
- package/dist/src/components/BPlaceholder/index.mjs +1 -1
- package/dist/src/components/BPlaceholder/index.umd.js +1 -1
- package/dist/src/components/BPopover/index.mjs +1 -1
- package/dist/src/components/BPopover/index.umd.js +1 -1
- package/dist/src/components/BProgress/index.mjs +1 -1
- package/dist/src/components/BProgress/index.umd.js +1 -1
- package/dist/src/components/BRow/index.mjs +1 -1
- package/dist/src/components/BRow/index.umd.js +1 -1
- package/dist/src/components/BSpinner/index.mjs +1 -1
- package/dist/src/components/BSpinner/index.umd.js +1 -1
- package/dist/src/components/BTable/index.mjs +2 -2
- package/dist/src/components/BTable/index.umd.js +2 -2
- package/dist/src/components/BTabs/index.mjs +1 -1
- package/dist/src/components/BTabs/index.umd.js +1 -1
- package/dist/src/components/BTimeField/index.mjs +1 -1
- package/dist/src/components/BTimeField/index.umd.js +1 -1
- package/dist/src/components/BToast/index.mjs +1 -1
- package/dist/src/components/BToast/index.umd.js +1 -1
- package/dist/src/components/BTooltip/index.mjs +1 -1
- package/dist/src/components/BTooltip/index.umd.js +1 -1
- package/dist/src/components/index.mjs +64 -55
- package/dist/src/components/index.mjs.map +1 -1
- package/dist/src/components/index.umd.js +72 -60
- package/dist/src/components/index.umd.js.map +1 -1
- package/dist/src/composables/useColorMode/index.mjs +1 -1
- package/dist/src/composables/useColorMode/index.umd.js +1 -1
- package/dist/src/composables/useModal/index.mjs +1 -1
- package/dist/src/composables/useModal/index.umd.js +1 -1
- package/dist/src/composables/usePopover/index.mjs +2 -2
- package/dist/src/composables/usePopover/index.umd.js +2 -2
- package/dist/src/composables/useScrollLock/index.mjs +1 -1
- package/dist/src/composables/useScrollLock/index.umd.js +1 -1
- package/dist/src/composables/useScrollspy/index.mjs +2 -2
- package/dist/src/composables/useScrollspy/index.umd.js +2 -2
- package/dist/src/composables/useToast/index.mjs +1 -1
- package/dist/src/composables/useToast/index.umd.js +1 -1
- package/dist/src/composables/useToggle/index.mjs +1 -1
- package/dist/src/composables/useToggle/index.umd.js +1 -1
- package/dist/src/directives/BPopover/index.mjs +2 -2
- package/dist/src/directives/BPopover/index.umd.js +2 -2
- package/dist/src/directives/BScrollspy/index.mjs +2 -2
- package/dist/src/directives/BScrollspy/index.umd.js +2 -2
- package/dist/src/directives/BToggle/index.mjs +3 -3
- package/dist/src/directives/BToggle/index.umd.js +3 -3
- package/dist/src/directives/BTooltip/index.mjs +2 -2
- package/dist/src/directives/BTooltip/index.umd.js +2 -2
- package/dist/src/resolvers/index.mjs +1 -1
- package/dist/src/resolvers/index.umd.js +1 -1
- package/dist/src/types/index.mjs +1 -1
- package/dist/src/types/index.umd.js +1 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/index.umd.js +1 -1
- package/dist/{stringUtils-hUreqC0N.js → stringUtils-BwKOASdU.js} +2 -2
- package/dist/{stringUtils-hUreqC0N.js.map → stringUtils-BwKOASdU.js.map} +1 -1
- package/dist/{stringUtils-BP8rZgjn.mjs → stringUtils-CslYpDTt.mjs} +2 -2
- package/dist/{stringUtils-BP8rZgjn.mjs.map → stringUtils-CslYpDTt.mjs.map} +1 -1
- package/dist/types/BootstrapVueOptions.d.mts +7 -1
- package/dist/types/BootstrapVueOptions.d.ts +7 -1
- package/dist/types/ComponentProps.d.mts +63 -3
- package/dist/types/ComponentProps.d.ts +63 -3
- package/dist/types/ComponentSlots.d.mts +17 -0
- package/dist/types/ComponentSlots.d.ts +17 -0
- package/dist/{useAlignment-CwuLc9mf.mjs → useAlignment-BiCREohQ.mjs} +1 -1
- package/dist/{useAlignment-CwuLc9mf.mjs.map → useAlignment-BiCREohQ.mjs.map} +1 -1
- package/dist/{useAlignment-CY-mnB2p.js → useAlignment-D5xKBRez.js} +1 -1
- package/dist/{useAlignment-CY-mnB2p.js.map → useAlignment-D5xKBRez.js.map} +1 -1
- package/dist/{useAriaInvalid-BYMq9BBX.js → useAriaInvalid-CHHPHNLU.js} +1 -1
- package/dist/{useAriaInvalid-BYMq9BBX.js.map → useAriaInvalid-CHHPHNLU.js.map} +1 -1
- package/dist/{useAriaInvalid-01Dd60GC.mjs → useAriaInvalid-apOwgexm.mjs} +1 -1
- package/dist/{useAriaInvalid-01Dd60GC.mjs.map → useAriaInvalid-apOwgexm.mjs.map} +1 -1
- package/dist/{useColorVariantClasses-GuDw8a_O.mjs → useColorVariantClasses-B6Me_Kx6.mjs} +1 -1
- package/dist/{useColorVariantClasses-GuDw8a_O.mjs.map → useColorVariantClasses-B6Me_Kx6.mjs.map} +1 -1
- package/dist/{useColorVariantClasses-DVaQDVQC.js → useColorVariantClasses-CEfOwjPv.js} +1 -1
- package/dist/{useColorVariantClasses-DVaQDVQC.js.map → useColorVariantClasses-CEfOwjPv.js.map} +1 -1
- package/dist/{useCountdownHover-CaF8_TRT.js → useCountdownHover-8bwLWYoN.js} +2 -2
- package/dist/{useCountdownHover-CaF8_TRT.js.map → useCountdownHover-8bwLWYoN.js.map} +1 -1
- package/dist/{useCountdownHover-CTM7QEJ-.mjs → useCountdownHover-t9O7DHoK.mjs} +2 -2
- package/dist/{useCountdownHover-CTM7QEJ-.mjs.map → useCountdownHover-t9O7DHoK.mjs.map} +1 -1
- package/dist/{useDateField-qsRHISMn.js → useDateField-COTiu3aN.js} +8 -321
- package/dist/useDateField-COTiu3aN.js.map +1 -0
- package/dist/{useDateField-PQjSLAVI.mjs → useDateField-DmmXa0_5.mjs} +5 -258
- package/dist/useDateField-DmmXa0_5.mjs.map +1 -0
- package/dist/{useDefaults-CCWS15M8.mjs → useDefaults-BKgBaqOV.mjs} +1 -1
- package/dist/{useDefaults-CCWS15M8.mjs.map → useDefaults-BKgBaqOV.mjs.map} +1 -1
- package/dist/{useDefaults-DK6Y9lar.js → useDefaults-DsLf4iRY.js} +1 -1
- package/dist/{useDefaults-DK6Y9lar.js.map → useDefaults-DsLf4iRY.js.map} +1 -1
- package/dist/{useFormCheck-TOhpqkZ9.mjs → useFormCheck-CJvIDxcO.mjs} +3 -3
- package/dist/{useFormCheck-TOhpqkZ9.mjs.map → useFormCheck-CJvIDxcO.mjs.map} +1 -1
- package/dist/{useFormCheck-DXM9Wj2i.js → useFormCheck-UHNy_iZ0.js} +3 -3
- package/dist/{useFormCheck-DXM9Wj2i.js.map → useFormCheck-UHNy_iZ0.js.map} +1 -1
- package/dist/{useFormInput-DeJGz9t9.mjs → useFormInput-BgJCT9k_.mjs} +6 -6
- package/dist/{useFormInput-DeJGz9t9.mjs.map → useFormInput-BgJCT9k_.mjs.map} +1 -1
- package/dist/{useFormInput-AX7ikSmn.js → useFormInput-CsR38QR6.js} +6 -6
- package/dist/{useFormInput-AX7ikSmn.js.map → useFormInput-CsR38QR6.js.map} +1 -1
- package/dist/useFormSelect-CANw3ZJG.mjs +45 -0
- package/dist/useFormSelect-CANw3ZJG.mjs.map +1 -0
- package/dist/useFormSelect-nQbGZSi8.js +51 -0
- package/dist/useFormSelect-nQbGZSi8.js.map +1 -0
- package/dist/useForwardExpose-4OUimdPL.mjs +68 -0
- package/dist/useForwardExpose-4OUimdPL.mjs.map +1 -0
- package/dist/useForwardExpose-DrJOy0jY.js +80 -0
- package/dist/useForwardExpose-DrJOy0jY.js.map +1 -0
- package/dist/{useId-CCwnEmGh.mjs → useId-BKZFSYm8.mjs} +1 -1
- package/dist/{useId-CCwnEmGh.mjs.map → useId-BKZFSYm8.mjs.map} +1 -1
- package/dist/{useId-DTrBK9CE.js → useId-DHrBgM7P.js} +1 -1
- package/dist/{useId-DTrBK9CE.js.map → useId-DHrBgM7P.js.map} +1 -1
- package/dist/useKbd-IZRktImL.mjs +88 -0
- package/dist/useKbd-IZRktImL.mjs.map +1 -0
- package/dist/useKbd-ZZushx7D.js +105 -0
- package/dist/useKbd-ZZushx7D.js.map +1 -0
- package/dist/{useNumberishToStyle-uj-NwKpF.mjs → useNumberishToStyle-DEqGK1UH.mjs} +2 -2
- package/dist/{useNumberishToStyle-uj-NwKpF.mjs.map → useNumberishToStyle-DEqGK1UH.mjs.map} +1 -1
- package/dist/{useNumberishToStyle-CluQ-WT4.js → useNumberishToStyle-DFf9fokb.js} +2 -2
- package/dist/{useNumberishToStyle-CluQ-WT4.js.map → useNumberishToStyle-DFf9fokb.js.map} +1 -1
- package/dist/{useRadiusElementClasses-CyDq8RO7.mjs → useRadiusElementClasses-BlrN-T6U.mjs} +1 -1
- package/dist/{useRadiusElementClasses-CyDq8RO7.mjs.map → useRadiusElementClasses-BlrN-T6U.mjs.map} +1 -1
- package/dist/{useRadiusElementClasses-D6FwziNh.js → useRadiusElementClasses-C13_PhPM.js} +1 -1
- package/dist/{useRadiusElementClasses-D6FwziNh.js.map → useRadiusElementClasses-C13_PhPM.js.map} +1 -1
- package/dist/{useRtl-BlPLBmTe.js → useRtl-DXAooTrl.js} +1 -1
- package/dist/{useRtl-BlPLBmTe.js.map → useRtl-DXAooTrl.js.map} +1 -1
- package/dist/{useRtl-DQ5v5L9s.mjs → useRtl-DpwU_RM8.mjs} +1 -1
- package/dist/{useRtl-DQ5v5L9s.mjs.map → useRtl-DpwU_RM8.mjs.map} +1 -1
- package/dist/{useSafeScrollLock-CP2B7aXF.js → useSafeScrollLock-Bm9RxDoY.js} +2 -2
- package/dist/{useSafeScrollLock-CP2B7aXF.js.map → useSafeScrollLock-Bm9RxDoY.js.map} +1 -1
- package/dist/{useSafeScrollLock-C9UxwgUo.mjs → useSafeScrollLock-D62o8jto.mjs} +2 -2
- package/dist/{useSafeScrollLock-C9UxwgUo.mjs.map → useSafeScrollLock-D62o8jto.mjs.map} +1 -1
- package/dist/{useShowHide-BFr32vgn.js → useShowHide-BTCaeU5j.js} +5 -5
- package/dist/useShowHide-BTCaeU5j.js.map +1 -0
- package/dist/{useShowHide-wBe7O9iE.mjs → useShowHide-yAK5dhPT.mjs} +5 -5
- package/dist/useShowHide-yAK5dhPT.mjs.map +1 -0
- package/dist/{useStateClass-Cnvy2Hnm.js → useStateClass-CJ24hpkn.js} +1 -1
- package/dist/{useStateClass-Cnvy2Hnm.js.map → useStateClass-CJ24hpkn.js.map} +1 -1
- package/dist/{useStateClass-DKjpw1Pn.mjs → useStateClass-CdmlbrGn.mjs} +1 -1
- package/dist/{useStateClass-DKjpw1Pn.mjs.map → useStateClass-CdmlbrGn.mjs.map} +1 -1
- package/dist/{utils-CY6CnVNO.js → utils-CaC78Zdk.js} +2 -2
- package/dist/{utils-CY6CnVNO.js.map → utils-CaC78Zdk.js.map} +1 -1
- package/dist/{utils-C-oJqlar.mjs → utils-CgwCsk6U.mjs} +2 -2
- package/dist/{utils-C-oJqlar.mjs.map → utils-CgwCsk6U.mjs.map} +1 -1
- package/package.json +9 -1
- package/src/components/BAutocomplete/_autocomplete.scss +136 -0
- package/src/components/BOtpInput/_otp-input.scss +29 -0
- package/src/styles/styles.scss +2 -0
- package/dist/BCarousel-BH6WIvJx.js.map +0 -1
- package/dist/BCarousel-C3CA_wGV.mjs.map +0 -1
- package/dist/BDatePicker-DPtAqGyV.mjs.map +0 -1
- package/dist/BDatePicker-rdtRZlra.js.map +0 -1
- package/dist/BDropdown-C2L69dLN.js.map +0 -1
- package/dist/BDropdown-CKnx6hUH.mjs.map +0 -1
- package/dist/BFormTags-Cobh04P9.mjs.map +0 -1
- package/dist/BFormTags-pK9i3cOB.js.map +0 -1
- package/dist/BInputGroup-B8fKBtip.mjs.map +0 -1
- package/dist/BInputGroup-Cr0qLUds.js.map +0 -1
- package/dist/BModal-TCXrZEZk.mjs.map +0 -1
- package/dist/BModal-d3FKaKhA.js.map +0 -1
- package/dist/BOffcanvas-BklEA-4x.mjs.map +0 -1
- package/dist/BOffcanvas-YsVap-9w.js.map +0 -1
- package/dist/BootstrapVueOptions-CVxLmDvx.js.map +0 -1
- package/dist/BootstrapVueOptions-Dtdn7_AJ.mjs.map +0 -1
- package/dist/functions-C6AToZGR.mjs.map +0 -1
- package/dist/functions-DCQKr6wc.js.map +0 -1
- package/dist/useDateField-PQjSLAVI.mjs.map +0 -1
- package/dist/useDateField-qsRHISMn.js.map +0 -1
- package/dist/useFormSelect-DCThI8EA.js +0 -92
- package/dist/useFormSelect-DCThI8EA.js.map +0 -1
- package/dist/useFormSelect-_-ln6FKQ.mjs +0 -80
- package/dist/useFormSelect-_-ln6FKQ.mjs.map +0 -1
- package/dist/useShowHide-BFr32vgn.js.map +0 -1
- package/dist/useShowHide-wBe7O9iE.mjs.map +0 -1
|
@@ -1,118 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
let activeElement = document.activeElement;
|
|
12
|
-
if (activeElement == null) return null;
|
|
13
|
-
while (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;
|
|
14
|
-
return activeElement;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
//#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
|
|
18
|
-
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
19
|
-
const target = detail.originalEvent.target;
|
|
20
|
-
const event = new CustomEvent(name, {
|
|
21
|
-
bubbles: false,
|
|
22
|
-
cancelable: true,
|
|
23
|
-
detail
|
|
24
|
-
});
|
|
25
|
-
if (handler) target.addEventListener(name, handler, { once: true });
|
|
26
|
-
target.dispatchEvent(event);
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#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
|
|
30
|
-
var useBodyLockStackCount = createSharedComposable(() => {
|
|
31
|
-
const map = ref(/* @__PURE__ */ new Map());
|
|
32
|
-
const initialOverflow = ref();
|
|
33
|
-
const locked = computed(() => {
|
|
34
|
-
for (const value of map.value.values()) if (value) return true;
|
|
35
|
-
return false;
|
|
36
|
-
});
|
|
37
|
-
const context = injectConfigProviderContext({ scrollBody: ref(true) });
|
|
38
|
-
let stopTouchMoveListener = null;
|
|
39
|
-
const resetBodyStyle = () => {
|
|
40
|
-
document.body.style.paddingRight = "";
|
|
41
|
-
document.body.style.marginRight = "";
|
|
42
|
-
document.body.style.pointerEvents = "";
|
|
43
|
-
document.documentElement.style.removeProperty("--scrollbar-width");
|
|
44
|
-
document.body.style.overflow = initialOverflow.value ?? "";
|
|
45
|
-
isIOS && stopTouchMoveListener?.();
|
|
46
|
-
initialOverflow.value = void 0;
|
|
47
|
-
};
|
|
48
|
-
watch(locked, (val, oldVal) => {
|
|
49
|
-
if (!isClient) return;
|
|
50
|
-
if (!val) {
|
|
51
|
-
if (oldVal) resetBodyStyle();
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if (initialOverflow.value === void 0) initialOverflow.value = document.body.style.overflow;
|
|
55
|
-
const verticalScrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
|
56
|
-
const defaultConfig = {
|
|
57
|
-
padding: verticalScrollbarWidth,
|
|
58
|
-
margin: 0
|
|
59
|
-
};
|
|
60
|
-
const config = context.scrollBody?.value ? typeof context.scrollBody.value === "object" ? defu({
|
|
61
|
-
padding: context.scrollBody.value.padding === true ? verticalScrollbarWidth : context.scrollBody.value.padding,
|
|
62
|
-
margin: context.scrollBody.value.margin === true ? verticalScrollbarWidth : context.scrollBody.value.margin
|
|
63
|
-
}, defaultConfig) : defaultConfig : {
|
|
64
|
-
padding: 0,
|
|
65
|
-
margin: 0
|
|
66
|
-
};
|
|
67
|
-
if (verticalScrollbarWidth > 0) {
|
|
68
|
-
document.body.style.paddingRight = typeof config.padding === "number" ? `${config.padding}px` : String(config.padding);
|
|
69
|
-
document.body.style.marginRight = typeof config.margin === "number" ? `${config.margin}px` : String(config.margin);
|
|
70
|
-
document.documentElement.style.setProperty("--scrollbar-width", `${verticalScrollbarWidth}px`);
|
|
71
|
-
document.body.style.overflow = "hidden";
|
|
72
|
-
}
|
|
73
|
-
if (isIOS) stopTouchMoveListener = useEventListener(document, "touchmove", (e) => preventDefault(e), { passive: false });
|
|
74
|
-
nextTick(() => {
|
|
75
|
-
if (!locked.value) return;
|
|
76
|
-
document.body.style.pointerEvents = "none";
|
|
77
|
-
document.body.style.overflow = "hidden";
|
|
78
|
-
});
|
|
79
|
-
}, {
|
|
80
|
-
immediate: true,
|
|
81
|
-
flush: "sync"
|
|
82
|
-
});
|
|
83
|
-
return map;
|
|
84
|
-
});
|
|
85
|
-
function useBodyScrollLock(initialState) {
|
|
86
|
-
const id = Math.random().toString(36).substring(2, 7);
|
|
87
|
-
const map = useBodyLockStackCount();
|
|
88
|
-
map.value.set(id, initialState ?? false);
|
|
89
|
-
const locked = computed({
|
|
90
|
-
get: () => map.value.get(id) ?? false,
|
|
91
|
-
set: (value) => map.value.set(id, value)
|
|
92
|
-
});
|
|
93
|
-
tryOnBeforeUnmount(() => {
|
|
94
|
-
map.value.delete(id);
|
|
95
|
-
});
|
|
96
|
-
return locked;
|
|
97
|
-
}
|
|
98
|
-
function checkOverflowScroll(ele) {
|
|
99
|
-
const style = window.getComputedStyle(ele);
|
|
100
|
-
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) return true;
|
|
101
|
-
else {
|
|
102
|
-
const parent = ele.parentNode;
|
|
103
|
-
if (!(parent instanceof Element) || parent.tagName === "BODY") return false;
|
|
104
|
-
return checkOverflowScroll(parent);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function preventDefault(rawEvent) {
|
|
108
|
-
const e = rawEvent || window.event;
|
|
109
|
-
const _target = e.target;
|
|
110
|
-
if (_target instanceof Element && checkOverflowScroll(_target)) return false;
|
|
111
|
-
if (e.touches.length > 1) return true;
|
|
112
|
-
if (e.preventDefault && e.cancelable) e.preventDefault();
|
|
113
|
-
return false;
|
|
114
|
-
}
|
|
115
|
-
//#endregion
|
|
1
|
+
import { C as useVModel, j as reactiveOmit, p as useEventListener } from "./dist-B10a-gZ8.mjs";
|
|
2
|
+
import { t as useDefaults } from "./useDefaults-BKgBaqOV.mjs";
|
|
3
|
+
import { t as useId$1 } from "./useId-BKZFSYm8.mjs";
|
|
4
|
+
import { A as $35ea8db9cb2ccb90$export$99faa760c7908e4f, C as isAfter, D as isBetweenInclusive, E as isBetween, F as $14e0f24ef4ac5c92$export$91b62ebf2ba703ee, I as $14e0f24ef4ac5c92$export$a18c89cbd24170ff, L as $14e0f24ef4ac5c92$export$a2258d9c4118825c, M as $14e0f24ef4ac5c92$export$2061056d06d7cdf7, N as $14e0f24ef4ac5c92$export$5a8da0c44a3afdf2, O as toDate, P as $14e0f24ef4ac5c92$export$629b0a497aa65267, R as $14e0f24ef4ac5c92$export$a5a3b454ada2268e, V as $14e0f24ef4ac5c92$export$ea39ec197993aef0, _ as getDaysInMonth, b as getLastFirstDayOfWeek, d as useDateFormatter, f as chunk, g as areAllDaysBetweenValid, p as handleCalendarInitialFocus, u as useLocale, v as getDefaultDate, w as isBefore, x as getNextLastDayOfWeek, z as $14e0f24ef4ac5c92$export$aa8b41735afcabd2 } from "./useDateField-DmmXa0_5.mjs";
|
|
5
|
+
import { a as useDirection, c as createContext, n as usePrimitiveElement, r as Primitive } from "./VisuallyHidden-Bbwok8oL.mjs";
|
|
6
|
+
import { t as useForwardExpose } from "./useForwardExpose-4OUimdPL.mjs";
|
|
7
|
+
import { a as FocusScope_default, c as useId$2, d as useForwardProps, f as useFocusGuards, i as Teleport_default, l as useHideOthers, n as PopperAnchor_default, o as DismissableLayer_default, p as useBodyScrollLock, r as PopperRoot_default, s as Presence_default, t as PopperContent_default, u as useForwardPropsEmits } from "./PopperContent-BTUvv6Tu.mjs";
|
|
8
|
+
import { t as useKbd } from "./useKbd-IZRktImL.mjs";
|
|
9
|
+
import { i as DateFieldRoot_default, n as DateRangeFieldRoot_default, r as DateFieldInput_default, t as DateRangeFieldInput_default } from "./DateRangeFieldInput-DiVuhf4Y.mjs";
|
|
10
|
+
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRefs, unref, useModel, watch, withCtx, withKeys, withModifiers } from "vue";
|
|
116
11
|
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/date/calendar.js
|
|
117
12
|
/**
|
|
118
13
|
* Retrieves an array of date values representing the days between
|
|
@@ -188,1383 +83,6 @@ function getWeekStartsOn(locale) {
|
|
|
188
83
|
return (1 - $14e0f24ef4ac5c92$export$2061056d06d7cdf7(new $35ea8db9cb2ccb90$export$99faa760c7908e4f(2025, 1, 6), locale) + 7) % 7;
|
|
189
84
|
}
|
|
190
85
|
//#endregion
|
|
191
|
-
//#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
|
|
192
|
-
/**
|
|
193
|
-
* The `useEmitAsProps` function is a TypeScript utility that converts emitted events into props for a
|
|
194
|
-
* Vue component.
|
|
195
|
-
* @param emit - The `emit` parameter is a function that is used to emit events from a component. It
|
|
196
|
-
* takes two parameters: `name` which is the name of the event to be emitted, and `...args` which are
|
|
197
|
-
* the arguments to be passed along with the event.
|
|
198
|
-
* @returns The function `useEmitAsProps` returns an object that maps event names to functions that
|
|
199
|
-
* call the `emit` function with the corresponding event name and arguments.
|
|
200
|
-
*/
|
|
201
|
-
function useEmitAsProps(emit) {
|
|
202
|
-
const vm = getCurrentInstance();
|
|
203
|
-
const events = vm?.type.emits;
|
|
204
|
-
const result = {};
|
|
205
|
-
if (!events?.length) console.warn(`No emitted event found. Please check component: ${vm?.type.__name}`);
|
|
206
|
-
events?.forEach((ev) => {
|
|
207
|
-
result[toHandlerKey(camelize(ev))] = (...arg) => emit(ev, ...arg);
|
|
208
|
-
});
|
|
209
|
-
return result;
|
|
210
|
-
}
|
|
211
|
-
//#endregion
|
|
212
|
-
//#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
|
|
213
|
-
/** Number of components which have requested interest to have focus guards */
|
|
214
|
-
var count$1 = 0;
|
|
215
|
-
/**
|
|
216
|
-
* Injects a pair of focus guards at the edges of the whole DOM tree
|
|
217
|
-
* to ensure `focusin` & `focusout` events can be caught consistently.
|
|
218
|
-
*/
|
|
219
|
-
function useFocusGuards() {
|
|
220
|
-
watchEffect((cleanupFn) => {
|
|
221
|
-
if (!isClient) return;
|
|
222
|
-
const edgeGuards = document.querySelectorAll("[data-reka-focus-guard]");
|
|
223
|
-
document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard());
|
|
224
|
-
document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard());
|
|
225
|
-
count$1++;
|
|
226
|
-
cleanupFn(() => {
|
|
227
|
-
if (count$1 === 1) document.querySelectorAll("[data-reka-focus-guard]").forEach((node) => node.remove());
|
|
228
|
-
count$1--;
|
|
229
|
-
});
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
function createFocusGuard() {
|
|
233
|
-
const element = document.createElement("span");
|
|
234
|
-
element.setAttribute("data-reka-focus-guard", "");
|
|
235
|
-
element.tabIndex = 0;
|
|
236
|
-
element.style.outline = "none";
|
|
237
|
-
element.style.opacity = "0";
|
|
238
|
-
element.style.position = "fixed";
|
|
239
|
-
element.style.pointerEvents = "none";
|
|
240
|
-
return element;
|
|
241
|
-
}
|
|
242
|
-
//#endregion
|
|
243
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useForwardExpose.js
|
|
244
|
-
function useForwardExpose() {
|
|
245
|
-
const instance = getCurrentInstance();
|
|
246
|
-
const currentRef = ref();
|
|
247
|
-
const currentElement = computed(() => resolveCurrentElement());
|
|
248
|
-
onUpdated(() => {
|
|
249
|
-
if (currentElement.value !== resolveCurrentElement()) triggerRef(currentRef);
|
|
250
|
-
});
|
|
251
|
-
function resolveCurrentElement() {
|
|
252
|
-
return currentRef.value && "$el" in currentRef.value && ["#text", "#comment"].includes(currentRef.value.$el.nodeName) ? currentRef.value.$el.nextElementSibling : unrefElement(currentRef);
|
|
253
|
-
}
|
|
254
|
-
const localExpose = Object.assign({}, instance.exposed);
|
|
255
|
-
const ret = {};
|
|
256
|
-
for (const key in instance.props) Object.defineProperty(ret, key, {
|
|
257
|
-
enumerable: true,
|
|
258
|
-
configurable: true,
|
|
259
|
-
get: () => instance.props[key]
|
|
260
|
-
});
|
|
261
|
-
if (Object.keys(localExpose).length > 0) for (const key in localExpose) Object.defineProperty(ret, key, {
|
|
262
|
-
enumerable: true,
|
|
263
|
-
configurable: true,
|
|
264
|
-
get: () => localExpose[key]
|
|
265
|
-
});
|
|
266
|
-
Object.defineProperty(ret, "$el", {
|
|
267
|
-
enumerable: true,
|
|
268
|
-
configurable: true,
|
|
269
|
-
get: () => instance.vnode.el
|
|
270
|
-
});
|
|
271
|
-
instance.exposed = ret;
|
|
272
|
-
function forwardRef(ref$1) {
|
|
273
|
-
currentRef.value = ref$1;
|
|
274
|
-
if (!ref$1) return;
|
|
275
|
-
Object.defineProperty(ret, "$el", {
|
|
276
|
-
enumerable: true,
|
|
277
|
-
configurable: true,
|
|
278
|
-
get: () => ref$1 instanceof Element ? ref$1 : ref$1.$el
|
|
279
|
-
});
|
|
280
|
-
if (!(ref$1 instanceof Element) && !Object.prototype.hasOwnProperty.call(ref$1, "$el")) {
|
|
281
|
-
const childExposed = ref$1.$.exposed;
|
|
282
|
-
const merged = Object.assign({}, ret);
|
|
283
|
-
for (const key in childExposed) Object.defineProperty(merged, key, {
|
|
284
|
-
enumerable: true,
|
|
285
|
-
configurable: true,
|
|
286
|
-
get: () => childExposed[key]
|
|
287
|
-
});
|
|
288
|
-
instance.exposed = merged;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
return {
|
|
292
|
-
forwardRef,
|
|
293
|
-
currentRef,
|
|
294
|
-
currentElement
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
//#endregion
|
|
298
|
-
//#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
|
|
299
|
-
/**
|
|
300
|
-
* The `useForwardProps` function in TypeScript takes in a set of props and returns a computed value
|
|
301
|
-
* that combines default props with assigned props from the current instance.
|
|
302
|
-
* @param {T} props - The `props` parameter is an object that represents the props passed to a
|
|
303
|
-
* component.
|
|
304
|
-
* @returns computed value that combines the default props, preserved props, and assigned props.
|
|
305
|
-
*/
|
|
306
|
-
function useForwardProps(props) {
|
|
307
|
-
const vm = getCurrentInstance();
|
|
308
|
-
const defaultProps = Object.keys(vm?.type.props ?? {}).reduce((prev, curr) => {
|
|
309
|
-
const defaultValue = (vm?.type.props[curr]).default;
|
|
310
|
-
if (defaultValue !== void 0) prev[curr] = defaultValue;
|
|
311
|
-
return prev;
|
|
312
|
-
}, {});
|
|
313
|
-
const refProps = toRef(props);
|
|
314
|
-
return computed(() => {
|
|
315
|
-
const preservedProps = {};
|
|
316
|
-
const assignedProps = vm?.vnode.props ?? {};
|
|
317
|
-
Object.keys(assignedProps).forEach((key) => {
|
|
318
|
-
preservedProps[camelize(key)] = assignedProps[key];
|
|
319
|
-
});
|
|
320
|
-
return Object.keys({
|
|
321
|
-
...defaultProps,
|
|
322
|
-
...preservedProps
|
|
323
|
-
}).reduce((prev, curr) => {
|
|
324
|
-
if (refProps.value[curr] !== void 0) prev[curr] = refProps.value[curr];
|
|
325
|
-
return prev;
|
|
326
|
-
}, {});
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
//#endregion
|
|
330
|
-
//#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
|
|
331
|
-
/**
|
|
332
|
-
* The function `useForwardPropsEmits` takes in props and an optional emit function, and returns a
|
|
333
|
-
* computed object that combines the parsed props and emits as props.
|
|
334
|
-
* @param {T} props - The `props` parameter is of type `T`, which is a generic type that extends the
|
|
335
|
-
* parameters of the `useForwardProps` function. It represents the props object that is passed to the
|
|
336
|
-
* `useForwardProps` function.
|
|
337
|
-
* @param [emit] - The `emit` parameter is a function that can be used to emit events. It takes two
|
|
338
|
-
* arguments: `name`, which is the name of the event to be emitted, and `args`, which are the arguments
|
|
339
|
-
* to be passed along with the event.
|
|
340
|
-
* @returns a computed property that combines the parsed
|
|
341
|
-
* props and emits as props.
|
|
342
|
-
*/
|
|
343
|
-
function useForwardPropsEmits(props, emit) {
|
|
344
|
-
const parsedProps = useForwardProps(props);
|
|
345
|
-
const emitsAsProps = emit ? useEmitAsProps(emit) : {};
|
|
346
|
-
return computed(() => ({
|
|
347
|
-
...parsedProps.value,
|
|
348
|
-
...emitsAsProps
|
|
349
|
-
}));
|
|
350
|
-
}
|
|
351
|
-
//#endregion
|
|
352
|
-
//#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
353
|
-
var getDefaultParent = function(originalTarget) {
|
|
354
|
-
if (typeof document === "undefined") return null;
|
|
355
|
-
return (Array.isArray(originalTarget) ? originalTarget[0] : originalTarget).ownerDocument.body;
|
|
356
|
-
};
|
|
357
|
-
var counterMap = /* @__PURE__ */ new WeakMap();
|
|
358
|
-
var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
359
|
-
var markerMap = {};
|
|
360
|
-
var lockCount = 0;
|
|
361
|
-
var unwrapHost = function(node) {
|
|
362
|
-
return node && (node.host || unwrapHost(node.parentNode));
|
|
363
|
-
};
|
|
364
|
-
var correctTargets = function(parent, targets) {
|
|
365
|
-
return targets.map(function(target) {
|
|
366
|
-
if (parent.contains(target)) return target;
|
|
367
|
-
var correctedTarget = unwrapHost(target);
|
|
368
|
-
if (correctedTarget && parent.contains(correctedTarget)) return correctedTarget;
|
|
369
|
-
console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
|
|
370
|
-
return null;
|
|
371
|
-
}).filter(function(x) {
|
|
372
|
-
return Boolean(x);
|
|
373
|
-
});
|
|
374
|
-
};
|
|
375
|
-
/**
|
|
376
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
377
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
378
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
379
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
380
|
-
* @param {String} [controlAttribute] - html Attribute to control
|
|
381
|
-
* @return {Undo} undo command
|
|
382
|
-
*/
|
|
383
|
-
var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
|
|
384
|
-
var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
385
|
-
if (!markerMap[markerName]) markerMap[markerName] = /* @__PURE__ */ new WeakMap();
|
|
386
|
-
var markerCounter = markerMap[markerName];
|
|
387
|
-
var hiddenNodes = [];
|
|
388
|
-
var elementsToKeep = /* @__PURE__ */ new Set();
|
|
389
|
-
var elementsToStop = new Set(targets);
|
|
390
|
-
var keep = function(el) {
|
|
391
|
-
if (!el || elementsToKeep.has(el)) return;
|
|
392
|
-
elementsToKeep.add(el);
|
|
393
|
-
keep(el.parentNode);
|
|
394
|
-
};
|
|
395
|
-
targets.forEach(keep);
|
|
396
|
-
var deep = function(parent) {
|
|
397
|
-
if (!parent || elementsToStop.has(parent)) return;
|
|
398
|
-
Array.prototype.forEach.call(parent.children, function(node) {
|
|
399
|
-
if (elementsToKeep.has(node)) deep(node);
|
|
400
|
-
else try {
|
|
401
|
-
var attr = node.getAttribute(controlAttribute);
|
|
402
|
-
var alreadyHidden = attr !== null && attr !== "false";
|
|
403
|
-
var counterValue = (counterMap.get(node) || 0) + 1;
|
|
404
|
-
var markerValue = (markerCounter.get(node) || 0) + 1;
|
|
405
|
-
counterMap.set(node, counterValue);
|
|
406
|
-
markerCounter.set(node, markerValue);
|
|
407
|
-
hiddenNodes.push(node);
|
|
408
|
-
if (counterValue === 1 && alreadyHidden) uncontrolledNodes.set(node, true);
|
|
409
|
-
if (markerValue === 1) node.setAttribute(markerName, "true");
|
|
410
|
-
if (!alreadyHidden) node.setAttribute(controlAttribute, "true");
|
|
411
|
-
} catch (e) {
|
|
412
|
-
console.error("aria-hidden: cannot operate on ", node, e);
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
};
|
|
416
|
-
deep(parentNode);
|
|
417
|
-
elementsToKeep.clear();
|
|
418
|
-
lockCount++;
|
|
419
|
-
return function() {
|
|
420
|
-
hiddenNodes.forEach(function(node) {
|
|
421
|
-
var counterValue = counterMap.get(node) - 1;
|
|
422
|
-
var markerValue = markerCounter.get(node) - 1;
|
|
423
|
-
counterMap.set(node, counterValue);
|
|
424
|
-
markerCounter.set(node, markerValue);
|
|
425
|
-
if (!counterValue) {
|
|
426
|
-
if (!uncontrolledNodes.has(node)) node.removeAttribute(controlAttribute);
|
|
427
|
-
uncontrolledNodes.delete(node);
|
|
428
|
-
}
|
|
429
|
-
if (!markerValue) node.removeAttribute(markerName);
|
|
430
|
-
});
|
|
431
|
-
lockCount--;
|
|
432
|
-
if (!lockCount) {
|
|
433
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
434
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
435
|
-
uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
436
|
-
markerMap = {};
|
|
437
|
-
}
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
/**
|
|
441
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
442
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
443
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
444
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
445
|
-
* @return {Undo} undo command
|
|
446
|
-
*/
|
|
447
|
-
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
448
|
-
if (markerName === void 0) markerName = "data-aria-hidden";
|
|
449
|
-
var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
450
|
-
var activeParentNode = parentNode || getDefaultParent(originalTarget);
|
|
451
|
-
if (!activeParentNode) return function() {
|
|
452
|
-
return null;
|
|
453
|
-
};
|
|
454
|
-
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
455
|
-
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
456
|
-
};
|
|
457
|
-
//#endregion
|
|
458
|
-
//#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
|
|
459
|
-
/**
|
|
460
|
-
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
|
|
461
|
-
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
|
|
462
|
-
* hidden elements when the target element is removed.
|
|
463
|
-
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
|
|
464
|
-
* to hide other elements when it is clicked or focused.
|
|
465
|
-
*/
|
|
466
|
-
function useHideOthers(target) {
|
|
467
|
-
let undo;
|
|
468
|
-
watch(() => unrefElement(target), (el) => {
|
|
469
|
-
let isInsideClosedPopover = false;
|
|
470
|
-
try {
|
|
471
|
-
isInsideClosedPopover = !!el?.closest("[popover]:not(:popover-open)");
|
|
472
|
-
} catch {}
|
|
473
|
-
if (el && !isInsideClosedPopover) undo = hideOthers(el);
|
|
474
|
-
else if (undo) undo();
|
|
475
|
-
});
|
|
476
|
-
onUnmounted(() => {
|
|
477
|
-
if (undo) undo();
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
//#endregion
|
|
481
|
-
//#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
|
|
482
|
-
var count = 0;
|
|
483
|
-
/**
|
|
484
|
-
* The `useId` function generates a unique identifier using a provided deterministic ID or a default
|
|
485
|
-
* one prefixed with "reka-", or the provided one via `useId` props from `<ConfigProvider>`.
|
|
486
|
-
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
487
|
-
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
488
|
-
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
489
|
-
* the `useId` function obtained
|
|
490
|
-
*/
|
|
491
|
-
function useId$1(deterministicId, prefix = "reka") {
|
|
492
|
-
if (deterministicId) return deterministicId;
|
|
493
|
-
let id;
|
|
494
|
-
if ("useId" in vue) id = vue.useId?.();
|
|
495
|
-
else id = injectConfigProviderContext({ useId: void 0 }).useId?.() ?? `${++count}`;
|
|
496
|
-
return prefix ? `${prefix}-${id}` : id;
|
|
497
|
-
}
|
|
498
|
-
//#endregion
|
|
499
|
-
//#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
|
|
500
|
-
function useSize(element) {
|
|
501
|
-
const size = ref();
|
|
502
|
-
const width = computed(() => size.value?.width ?? 0);
|
|
503
|
-
const height = computed(() => size.value?.height ?? 0);
|
|
504
|
-
onMounted(() => {
|
|
505
|
-
const el = unrefElement(element);
|
|
506
|
-
if (el) {
|
|
507
|
-
size.value = {
|
|
508
|
-
width: el.offsetWidth,
|
|
509
|
-
height: el.offsetHeight
|
|
510
|
-
};
|
|
511
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
512
|
-
if (!Array.isArray(entries)) return;
|
|
513
|
-
if (!entries.length) return;
|
|
514
|
-
const entry = entries[0];
|
|
515
|
-
let width$1;
|
|
516
|
-
let height$1;
|
|
517
|
-
if ("borderBoxSize" in entry) {
|
|
518
|
-
const borderSizeEntry = entry.borderBoxSize;
|
|
519
|
-
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
520
|
-
width$1 = borderSize.inlineSize;
|
|
521
|
-
height$1 = borderSize.blockSize;
|
|
522
|
-
} else {
|
|
523
|
-
width$1 = el.offsetWidth;
|
|
524
|
-
height$1 = el.offsetHeight;
|
|
525
|
-
}
|
|
526
|
-
size.value = {
|
|
527
|
-
width: width$1,
|
|
528
|
-
height: height$1
|
|
529
|
-
};
|
|
530
|
-
});
|
|
531
|
-
resizeObserver.observe(el, { box: "border-box" });
|
|
532
|
-
return () => resizeObserver.unobserve(el);
|
|
533
|
-
} else size.value = void 0;
|
|
534
|
-
});
|
|
535
|
-
return {
|
|
536
|
-
width,
|
|
537
|
-
height
|
|
538
|
-
};
|
|
539
|
-
}
|
|
540
|
-
//#endregion
|
|
541
|
-
//#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
|
|
542
|
-
/**
|
|
543
|
-
* The `useStateMachine` function is a TypeScript function that creates a state machine and returns the
|
|
544
|
-
* current state and a dispatch function to update the state based on events.
|
|
545
|
-
* @param initialState - The `initialState` parameter is the initial state of the state machine. It
|
|
546
|
-
* represents the starting point of the state machine's state.
|
|
547
|
-
* @param machine - The `machine` parameter is an object that represents a state machine. It should
|
|
548
|
-
* have keys that correspond to the possible states of the machine, and the values should be objects
|
|
549
|
-
* that represent the possible events and their corresponding next states.
|
|
550
|
-
* @returns The `useStateMachine` function returns an object with two properties: `state` and
|
|
551
|
-
* `dispatch`.
|
|
552
|
-
*/
|
|
553
|
-
function useStateMachine(initialState, machine) {
|
|
554
|
-
const state = ref(initialState);
|
|
555
|
-
function reducer(event) {
|
|
556
|
-
return machine[state.value][event] ?? state.value;
|
|
557
|
-
}
|
|
558
|
-
const dispatch = (event) => {
|
|
559
|
-
state.value = reducer(event);
|
|
560
|
-
};
|
|
561
|
-
return {
|
|
562
|
-
state,
|
|
563
|
-
dispatch
|
|
564
|
-
};
|
|
565
|
-
}
|
|
566
|
-
//#endregion
|
|
567
|
-
//#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
|
|
568
|
-
function usePresence(present, node) {
|
|
569
|
-
const stylesRef = ref({});
|
|
570
|
-
const prevAnimationNameRef = ref("none");
|
|
571
|
-
const prevPresentRef = ref(present);
|
|
572
|
-
const initialState = present.value ? "mounted" : "unmounted";
|
|
573
|
-
let timeoutId;
|
|
574
|
-
const ownerWindow = node.value?.ownerDocument.defaultView ?? defaultWindow;
|
|
575
|
-
const { state, dispatch } = useStateMachine(initialState, {
|
|
576
|
-
mounted: {
|
|
577
|
-
UNMOUNT: "unmounted",
|
|
578
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
579
|
-
},
|
|
580
|
-
unmountSuspended: {
|
|
581
|
-
MOUNT: "mounted",
|
|
582
|
-
ANIMATION_END: "unmounted"
|
|
583
|
-
},
|
|
584
|
-
unmounted: { MOUNT: "mounted" }
|
|
585
|
-
});
|
|
586
|
-
const dispatchCustomEvent = (name) => {
|
|
587
|
-
if (isClient) {
|
|
588
|
-
const customEvent = new CustomEvent(name, {
|
|
589
|
-
bubbles: false,
|
|
590
|
-
cancelable: false
|
|
591
|
-
});
|
|
592
|
-
node.value?.dispatchEvent(customEvent);
|
|
593
|
-
}
|
|
594
|
-
};
|
|
595
|
-
watch(present, async (currentPresent, prevPresent) => {
|
|
596
|
-
const hasPresentChanged = prevPresent !== currentPresent;
|
|
597
|
-
await nextTick();
|
|
598
|
-
if (hasPresentChanged) {
|
|
599
|
-
const prevAnimationName = prevAnimationNameRef.value;
|
|
600
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
601
|
-
if (currentPresent) {
|
|
602
|
-
dispatch("MOUNT");
|
|
603
|
-
dispatchCustomEvent("enter");
|
|
604
|
-
if (currentAnimationName === "none") dispatchCustomEvent("after-enter");
|
|
605
|
-
} else if (currentAnimationName === "none" || currentAnimationName === "undefined" || stylesRef.value?.display === "none") {
|
|
606
|
-
dispatch("UNMOUNT");
|
|
607
|
-
dispatchCustomEvent("leave");
|
|
608
|
-
dispatchCustomEvent("after-leave");
|
|
609
|
-
} else if (prevPresent && prevAnimationName !== currentAnimationName) {
|
|
610
|
-
dispatch("ANIMATION_OUT");
|
|
611
|
-
dispatchCustomEvent("leave");
|
|
612
|
-
} else {
|
|
613
|
-
dispatch("UNMOUNT");
|
|
614
|
-
dispatchCustomEvent("after-leave");
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}, { immediate: true });
|
|
618
|
-
/**
|
|
619
|
-
* Triggering an ANIMATION_OUT during an ANIMATION_IN will fire an `animationcancel`
|
|
620
|
-
* event for ANIMATION_IN after we have entered `unmountSuspended` state. So, we
|
|
621
|
-
* make sure we only trigger ANIMATION_END for the currently active animation.
|
|
622
|
-
*/
|
|
623
|
-
const handleAnimationEnd = (event) => {
|
|
624
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
625
|
-
const isCurrentAnimation = currentAnimationName.includes(CSS.escape(event.animationName));
|
|
626
|
-
const directionName = state.value === "mounted" ? "enter" : "leave";
|
|
627
|
-
if (event.target === node.value && isCurrentAnimation) {
|
|
628
|
-
dispatchCustomEvent(`after-${directionName}`);
|
|
629
|
-
dispatch("ANIMATION_END");
|
|
630
|
-
if (!prevPresentRef.value) {
|
|
631
|
-
const currentFillMode = node.value.style.animationFillMode;
|
|
632
|
-
node.value.style.animationFillMode = "forwards";
|
|
633
|
-
timeoutId = ownerWindow?.setTimeout(() => {
|
|
634
|
-
if (node.value?.style.animationFillMode === "forwards") node.value.style.animationFillMode = currentFillMode;
|
|
635
|
-
});
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
if (event.target === node.value && currentAnimationName === "none") dispatch("ANIMATION_END");
|
|
639
|
-
};
|
|
640
|
-
const handleAnimationStart = (event) => {
|
|
641
|
-
if (event.target === node.value) prevAnimationNameRef.value = getAnimationName(node.value);
|
|
642
|
-
};
|
|
643
|
-
const watcher = watch(node, (newNode, oldNode) => {
|
|
644
|
-
if (newNode) {
|
|
645
|
-
stylesRef.value = getComputedStyle(newNode);
|
|
646
|
-
newNode.addEventListener("animationstart", handleAnimationStart);
|
|
647
|
-
newNode.addEventListener("animationcancel", handleAnimationEnd);
|
|
648
|
-
newNode.addEventListener("animationend", handleAnimationEnd);
|
|
649
|
-
} else {
|
|
650
|
-
dispatch("ANIMATION_END");
|
|
651
|
-
if (timeoutId !== void 0) ownerWindow?.clearTimeout(timeoutId);
|
|
652
|
-
oldNode?.removeEventListener("animationstart", handleAnimationStart);
|
|
653
|
-
oldNode?.removeEventListener("animationcancel", handleAnimationEnd);
|
|
654
|
-
oldNode?.removeEventListener("animationend", handleAnimationEnd);
|
|
655
|
-
}
|
|
656
|
-
}, { immediate: true });
|
|
657
|
-
const stateWatcher = watch(state, () => {
|
|
658
|
-
const currentAnimationName = getAnimationName(node.value);
|
|
659
|
-
prevAnimationNameRef.value = state.value === "mounted" ? currentAnimationName : "none";
|
|
660
|
-
});
|
|
661
|
-
onUnmounted(() => {
|
|
662
|
-
watcher();
|
|
663
|
-
stateWatcher();
|
|
664
|
-
});
|
|
665
|
-
return { isPresent: computed(() => ["mounted", "unmountSuspended"].includes(state.value)) };
|
|
666
|
-
}
|
|
667
|
-
function getAnimationName(node) {
|
|
668
|
-
return node ? getComputedStyle(node).animationName || "none" : "none";
|
|
669
|
-
}
|
|
670
|
-
//#endregion
|
|
671
|
-
//#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
|
|
672
|
-
var Presence_default = defineComponent({
|
|
673
|
-
name: "Presence",
|
|
674
|
-
props: {
|
|
675
|
-
present: {
|
|
676
|
-
type: Boolean,
|
|
677
|
-
required: true
|
|
678
|
-
},
|
|
679
|
-
forceMount: { type: Boolean }
|
|
680
|
-
},
|
|
681
|
-
slots: {},
|
|
682
|
-
setup(props, { slots, expose }) {
|
|
683
|
-
const { present, forceMount } = toRefs(props);
|
|
684
|
-
const node = ref();
|
|
685
|
-
const { isPresent } = usePresence(present, node);
|
|
686
|
-
expose({ present: isPresent });
|
|
687
|
-
let children = slots.default({ present: isPresent.value });
|
|
688
|
-
children = renderSlotFragments(children || []);
|
|
689
|
-
const instance = getCurrentInstance();
|
|
690
|
-
if (children && children?.length > 1) {
|
|
691
|
-
const componentName = instance?.parent?.type.name ? `<${instance.parent.type.name} />` : "component";
|
|
692
|
-
throw new Error([
|
|
693
|
-
`Detected an invalid children for \`${componentName}\` for \`Presence\` component.`,
|
|
694
|
-
"",
|
|
695
|
-
"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.",
|
|
696
|
-
"You can apply a few solutions:",
|
|
697
|
-
["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")
|
|
698
|
-
].join("\n"));
|
|
699
|
-
}
|
|
700
|
-
return () => {
|
|
701
|
-
if (forceMount.value || present.value || isPresent.value) return h(slots.default({ present: isPresent.value })[0], { ref: (v) => {
|
|
702
|
-
const el = unrefElement(v);
|
|
703
|
-
if (typeof el?.hasAttribute === "undefined") return el;
|
|
704
|
-
if (el?.hasAttribute("data-reka-popper-content-wrapper")) node.value = el.firstElementChild;
|
|
705
|
-
else node.value = el;
|
|
706
|
-
return el;
|
|
707
|
-
} });
|
|
708
|
-
else return null;
|
|
709
|
-
};
|
|
710
|
-
}
|
|
711
|
-
});
|
|
712
|
-
//#endregion
|
|
713
|
-
//#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
|
|
714
|
-
var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
715
|
-
var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
716
|
-
function isLayerExist(layerElement, targetElement) {
|
|
717
|
-
if (!(targetElement instanceof Element)) return false;
|
|
718
|
-
const targetLayer = targetElement.closest("[data-dismissable-layer]");
|
|
719
|
-
const mainLayer = layerElement.dataset.dismissableLayer === "" ? layerElement : layerElement.querySelector("[data-dismissable-layer]");
|
|
720
|
-
const nodeList = Array.from(layerElement.ownerDocument.querySelectorAll("[data-dismissable-layer]"));
|
|
721
|
-
if (targetLayer && (mainLayer === targetLayer || nodeList.indexOf(mainLayer) < nodeList.indexOf(targetLayer))) return true;
|
|
722
|
-
else return false;
|
|
723
|
-
}
|
|
724
|
-
/**
|
|
725
|
-
* Listens for `pointerdown` outside a DOM subtree. We use `pointerdown` rather than `pointerup`
|
|
726
|
-
* to mimic layer dismissing behaviour present in OS.
|
|
727
|
-
* Returns props to pass to the node we want to check for outside events.
|
|
728
|
-
*/
|
|
729
|
-
function usePointerDownOutside(onPointerDownOutside, element, enabled = true) {
|
|
730
|
-
const ownerDocument = element?.value?.ownerDocument ?? globalThis?.document;
|
|
731
|
-
const isPointerInsideDOMTree = ref(false);
|
|
732
|
-
const handleClickRef = ref(() => {});
|
|
733
|
-
watchEffect((cleanupFn) => {
|
|
734
|
-
if (!isClient || !toValue(enabled)) return;
|
|
735
|
-
const handlePointerDown = async (event) => {
|
|
736
|
-
const target = event.target;
|
|
737
|
-
if (!element?.value || !target) return;
|
|
738
|
-
if (isLayerExist(element.value, target)) {
|
|
739
|
-
isPointerInsideDOMTree.value = false;
|
|
740
|
-
return;
|
|
741
|
-
}
|
|
742
|
-
if (event.target && !isPointerInsideDOMTree.value) {
|
|
743
|
-
const eventDetail = { originalEvent: event };
|
|
744
|
-
function handleAndDispatchPointerDownOutsideEvent() {
|
|
745
|
-
handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE, onPointerDownOutside, eventDetail);
|
|
746
|
-
}
|
|
747
|
-
/**
|
|
748
|
-
* On touch devices, we need to wait for a click event because browsers implement
|
|
749
|
-
* a ~350ms delay between the time the user stops touching the display and when the
|
|
750
|
-
* browser executes events. We need to ensure we don't reactivate pointer-events within
|
|
751
|
-
* this timeframe otherwise the browser may execute events that should have been prevented.
|
|
752
|
-
*
|
|
753
|
-
* Additionally, this also lets us deal automatically with cancellations when a click event
|
|
754
|
-
* isn't raised because the page was considered scrolled/drag-scrolled, long-pressed, etc.
|
|
755
|
-
*
|
|
756
|
-
* This is why we also continuously remove the previous listener, because we cannot be
|
|
757
|
-
* certain that it was raised, and therefore cleaned-up.
|
|
758
|
-
*/
|
|
759
|
-
if (event.pointerType === "touch") {
|
|
760
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
761
|
-
handleClickRef.value = handleAndDispatchPointerDownOutsideEvent;
|
|
762
|
-
ownerDocument.addEventListener("click", handleClickRef.value, { once: true });
|
|
763
|
-
} else handleAndDispatchPointerDownOutsideEvent();
|
|
764
|
-
} else ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
765
|
-
isPointerInsideDOMTree.value = false;
|
|
766
|
-
};
|
|
767
|
-
/**
|
|
768
|
-
* if this hook executes in a component that mounts via a `pointerdown` event, the event
|
|
769
|
-
* would bubble up to the document and trigger a `pointerDownOutside` event. We avoid
|
|
770
|
-
* this by delaying the event listener registration on the document.
|
|
771
|
-
* This is how the DOM works, ie:
|
|
772
|
-
* ```
|
|
773
|
-
* button.addEventListener('pointerdown', () => {
|
|
774
|
-
* console.log('I will log');
|
|
775
|
-
* document.addEventListener('pointerdown', () => {
|
|
776
|
-
* console.log('I will also log');
|
|
777
|
-
* })
|
|
778
|
-
* });
|
|
779
|
-
*/
|
|
780
|
-
const timerId = window.setTimeout(() => {
|
|
781
|
-
ownerDocument.addEventListener("pointerdown", handlePointerDown);
|
|
782
|
-
}, 0);
|
|
783
|
-
cleanupFn(() => {
|
|
784
|
-
window.clearTimeout(timerId);
|
|
785
|
-
ownerDocument.removeEventListener("pointerdown", handlePointerDown);
|
|
786
|
-
ownerDocument.removeEventListener("click", handleClickRef.value);
|
|
787
|
-
});
|
|
788
|
-
});
|
|
789
|
-
return { onPointerDownCapture: () => {
|
|
790
|
-
if (!toValue(enabled)) return;
|
|
791
|
-
isPointerInsideDOMTree.value = true;
|
|
792
|
-
} };
|
|
793
|
-
}
|
|
794
|
-
/**
|
|
795
|
-
* Listens for when focus happens outside a DOM subtree.
|
|
796
|
-
* Returns props to pass to the root (node) of the subtree we want to check.
|
|
797
|
-
*/
|
|
798
|
-
function useFocusOutside(onFocusOutside, element, enabled = true) {
|
|
799
|
-
const ownerDocument = element?.value?.ownerDocument ?? globalThis?.document;
|
|
800
|
-
const isFocusInsideDOMTree = ref(false);
|
|
801
|
-
watchEffect((cleanupFn) => {
|
|
802
|
-
if (!isClient || !toValue(enabled)) return;
|
|
803
|
-
const handleFocus = async (event) => {
|
|
804
|
-
if (!element?.value) return;
|
|
805
|
-
await nextTick();
|
|
806
|
-
await nextTick();
|
|
807
|
-
const target = event.target;
|
|
808
|
-
if (!element.value || !target || isLayerExist(element.value, target)) return;
|
|
809
|
-
if (event.target && !isFocusInsideDOMTree.value) handleAndDispatchCustomEvent(FOCUS_OUTSIDE, onFocusOutside, { originalEvent: event });
|
|
810
|
-
};
|
|
811
|
-
ownerDocument.addEventListener("focusin", handleFocus);
|
|
812
|
-
cleanupFn(() => ownerDocument.removeEventListener("focusin", handleFocus));
|
|
813
|
-
});
|
|
814
|
-
return {
|
|
815
|
-
onFocusCapture: () => {
|
|
816
|
-
if (!toValue(enabled)) return;
|
|
817
|
-
isFocusInsideDOMTree.value = true;
|
|
818
|
-
},
|
|
819
|
-
onBlurCapture: () => {
|
|
820
|
-
if (!toValue(enabled)) return;
|
|
821
|
-
isFocusInsideDOMTree.value = false;
|
|
822
|
-
}
|
|
823
|
-
};
|
|
824
|
-
}
|
|
825
|
-
//#endregion
|
|
826
|
-
//#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
|
|
827
|
-
var context = reactive({
|
|
828
|
-
layersRoot: /* @__PURE__ */ new Set(),
|
|
829
|
-
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
830
|
-
originalBodyPointerEvents: void 0,
|
|
831
|
-
branches: /* @__PURE__ */ new Set()
|
|
832
|
-
});
|
|
833
|
-
var DismissableLayer_default = /* @__PURE__ */ defineComponent({
|
|
834
|
-
__name: "DismissableLayer",
|
|
835
|
-
props: {
|
|
836
|
-
disableOutsidePointerEvents: {
|
|
837
|
-
type: Boolean,
|
|
838
|
-
required: false,
|
|
839
|
-
default: false
|
|
840
|
-
},
|
|
841
|
-
asChild: {
|
|
842
|
-
type: Boolean,
|
|
843
|
-
required: false
|
|
844
|
-
},
|
|
845
|
-
as: {
|
|
846
|
-
type: null,
|
|
847
|
-
required: false
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
emits: [
|
|
851
|
-
"escapeKeyDown",
|
|
852
|
-
"pointerDownOutside",
|
|
853
|
-
"focusOutside",
|
|
854
|
-
"interactOutside",
|
|
855
|
-
"dismiss"
|
|
856
|
-
],
|
|
857
|
-
setup(__props, { emit: __emit }) {
|
|
858
|
-
const props = __props;
|
|
859
|
-
const emits = __emit;
|
|
860
|
-
const { forwardRef, currentElement: layerElement } = useForwardExpose();
|
|
861
|
-
const ownerDocument = computed(() => layerElement.value?.ownerDocument ?? globalThis.document);
|
|
862
|
-
const layers = computed(() => context.layersRoot);
|
|
863
|
-
const index = computed(() => {
|
|
864
|
-
return layerElement.value ? Array.from(layers.value).indexOf(layerElement.value) : -1;
|
|
865
|
-
});
|
|
866
|
-
const isBodyPointerEventsDisabled = computed(() => {
|
|
867
|
-
return context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
868
|
-
});
|
|
869
|
-
const isPointerEventsEnabled = computed(() => {
|
|
870
|
-
const localLayers = Array.from(layers.value);
|
|
871
|
-
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
872
|
-
const highestLayerWithOutsidePointerEventsDisabledIndex = localLayers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
873
|
-
return index.value >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
874
|
-
});
|
|
875
|
-
const pointerDownOutside = usePointerDownOutside(async (event) => {
|
|
876
|
-
const isPointerDownOnBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
877
|
-
if (!isPointerEventsEnabled.value || isPointerDownOnBranch) return;
|
|
878
|
-
emits("pointerDownOutside", event);
|
|
879
|
-
emits("interactOutside", event);
|
|
880
|
-
await nextTick();
|
|
881
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
882
|
-
}, layerElement);
|
|
883
|
-
const focusOutside = useFocusOutside((event) => {
|
|
884
|
-
if ([...context.branches].some((branch) => branch?.contains(event.target))) return;
|
|
885
|
-
emits("focusOutside", event);
|
|
886
|
-
emits("interactOutside", event);
|
|
887
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
888
|
-
}, layerElement);
|
|
889
|
-
onKeyStroke("Escape", (event) => {
|
|
890
|
-
if (!(index.value === layers.value.size - 1)) return;
|
|
891
|
-
emits("escapeKeyDown", event);
|
|
892
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
893
|
-
});
|
|
894
|
-
watchEffect((cleanupFn) => {
|
|
895
|
-
if (!layerElement.value) return;
|
|
896
|
-
if (props.disableOutsidePointerEvents) {
|
|
897
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
898
|
-
context.originalBodyPointerEvents = ownerDocument.value.body.style.pointerEvents;
|
|
899
|
-
ownerDocument.value.body.style.pointerEvents = "none";
|
|
900
|
-
}
|
|
901
|
-
context.layersWithOutsidePointerEventsDisabled.add(layerElement.value);
|
|
902
|
-
}
|
|
903
|
-
layers.value.add(layerElement.value);
|
|
904
|
-
cleanupFn(() => {
|
|
905
|
-
if (props.disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1 && !isNullish(context.originalBodyPointerEvents)) ownerDocument.value.body.style.pointerEvents = context.originalBodyPointerEvents;
|
|
906
|
-
});
|
|
907
|
-
});
|
|
908
|
-
watchEffect((cleanupFn) => {
|
|
909
|
-
cleanupFn(() => {
|
|
910
|
-
if (!layerElement.value) return;
|
|
911
|
-
layers.value.delete(layerElement.value);
|
|
912
|
-
context.layersWithOutsidePointerEventsDisabled.delete(layerElement.value);
|
|
913
|
-
});
|
|
914
|
-
});
|
|
915
|
-
return (_ctx, _cache) => {
|
|
916
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
917
|
-
ref: unref(forwardRef),
|
|
918
|
-
"as-child": _ctx.asChild,
|
|
919
|
-
as: _ctx.as,
|
|
920
|
-
"data-dismissable-layer": "",
|
|
921
|
-
style: normalizeStyle({ pointerEvents: isBodyPointerEventsDisabled.value ? isPointerEventsEnabled.value ? "auto" : "none" : void 0 }),
|
|
922
|
-
onFocusCapture: unref(focusOutside).onFocusCapture,
|
|
923
|
-
onBlurCapture: unref(focusOutside).onBlurCapture,
|
|
924
|
-
onPointerdownCapture: unref(pointerDownOutside).onPointerDownCapture
|
|
925
|
-
}, {
|
|
926
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
927
|
-
_: 3
|
|
928
|
-
}, 8, [
|
|
929
|
-
"as-child",
|
|
930
|
-
"as",
|
|
931
|
-
"style",
|
|
932
|
-
"onFocusCapture",
|
|
933
|
-
"onBlurCapture",
|
|
934
|
-
"onPointerdownCapture"
|
|
935
|
-
]);
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
});
|
|
939
|
-
//#endregion
|
|
940
|
-
//#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
|
|
941
|
-
var useFocusStackState = createGlobalState(() => {
|
|
942
|
-
return ref([]);
|
|
943
|
-
});
|
|
944
|
-
function createFocusScopesStack() {
|
|
945
|
-
/** A stack of focus scopes, with the active one at the top */
|
|
946
|
-
const stack = useFocusStackState();
|
|
947
|
-
return {
|
|
948
|
-
add(focusScope) {
|
|
949
|
-
const activeFocusScope = stack.value[0];
|
|
950
|
-
if (focusScope !== activeFocusScope) activeFocusScope?.pause();
|
|
951
|
-
stack.value = arrayRemove(stack.value, focusScope);
|
|
952
|
-
stack.value.unshift(focusScope);
|
|
953
|
-
},
|
|
954
|
-
remove(focusScope) {
|
|
955
|
-
stack.value = arrayRemove(stack.value, focusScope);
|
|
956
|
-
stack.value[0]?.resume();
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
}
|
|
960
|
-
function arrayRemove(array, item) {
|
|
961
|
-
const updatedArray = [...array];
|
|
962
|
-
const index = updatedArray.indexOf(item);
|
|
963
|
-
if (index !== -1) updatedArray.splice(index, 1);
|
|
964
|
-
return updatedArray;
|
|
965
|
-
}
|
|
966
|
-
//#endregion
|
|
967
|
-
//#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
|
|
968
|
-
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
969
|
-
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
970
|
-
var EVENT_OPTIONS = {
|
|
971
|
-
bubbles: false,
|
|
972
|
-
cancelable: true
|
|
973
|
-
};
|
|
974
|
-
/**
|
|
975
|
-
* Attempts focusing the first element in a list of candidates.
|
|
976
|
-
* Stops when focus has actually moved.
|
|
977
|
-
*/
|
|
978
|
-
function focusFirst(candidates, { select = false } = {}) {
|
|
979
|
-
const previouslyFocusedElement = getActiveElement();
|
|
980
|
-
for (const candidate of candidates) {
|
|
981
|
-
focus(candidate, { select });
|
|
982
|
-
if (getActiveElement() !== previouslyFocusedElement) return true;
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
/**
|
|
986
|
-
* Returns the first and last tabbable elements inside a container.
|
|
987
|
-
*/
|
|
988
|
-
function getTabbableEdges(container) {
|
|
989
|
-
const candidates = getTabbableCandidates(container);
|
|
990
|
-
return [findVisible(candidates, container), findVisible(candidates.reverse(), container)];
|
|
991
|
-
}
|
|
992
|
-
/**
|
|
993
|
-
* Returns a list of potential tabbable candidates.
|
|
994
|
-
*
|
|
995
|
-
* NOTE: This is only a close approximation. For example it doesn't take into account cases like when
|
|
996
|
-
* elements are not visible. This cannot be worked out easily by just reading a property, but rather
|
|
997
|
-
* necessitate runtime knowledge (computed styles, etc). We deal with these cases separately.
|
|
998
|
-
*
|
|
999
|
-
* See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker
|
|
1000
|
-
* Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1
|
|
1001
|
-
*/
|
|
1002
|
-
function getTabbableCandidates(container) {
|
|
1003
|
-
const nodes = [];
|
|
1004
|
-
const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { acceptNode: (node) => {
|
|
1005
|
-
const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
|
|
1006
|
-
if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
|
|
1007
|
-
return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
1008
|
-
} });
|
|
1009
|
-
while (walker.nextNode()) nodes.push(walker.currentNode);
|
|
1010
|
-
return nodes;
|
|
1011
|
-
}
|
|
1012
|
-
/**
|
|
1013
|
-
* Returns the first visible element in a list.
|
|
1014
|
-
* NOTE: Only checks visibility up to the `container`.
|
|
1015
|
-
*/
|
|
1016
|
-
function findVisible(elements, container) {
|
|
1017
|
-
for (const element of elements) if (!isHidden(element, { upTo: container })) return element;
|
|
1018
|
-
}
|
|
1019
|
-
function isHidden(node, { upTo }) {
|
|
1020
|
-
if (getComputedStyle(node).visibility === "hidden") return true;
|
|
1021
|
-
while (node) {
|
|
1022
|
-
if (upTo !== void 0 && node === upTo) return false;
|
|
1023
|
-
if (getComputedStyle(node).display === "none") return true;
|
|
1024
|
-
node = node.parentElement;
|
|
1025
|
-
}
|
|
1026
|
-
return false;
|
|
1027
|
-
}
|
|
1028
|
-
function isSelectableInput(element) {
|
|
1029
|
-
return element instanceof HTMLInputElement && "select" in element;
|
|
1030
|
-
}
|
|
1031
|
-
function focus(element, { select = false } = {}) {
|
|
1032
|
-
if (element && element.focus) {
|
|
1033
|
-
const previouslyFocusedElement = getActiveElement();
|
|
1034
|
-
element.focus({ preventScroll: true });
|
|
1035
|
-
if (element !== previouslyFocusedElement && isSelectableInput(element) && select) element.select();
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
//#endregion
|
|
1039
|
-
//#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
|
|
1040
|
-
var FocusScope_default = /* @__PURE__ */ defineComponent({
|
|
1041
|
-
__name: "FocusScope",
|
|
1042
|
-
props: {
|
|
1043
|
-
loop: {
|
|
1044
|
-
type: Boolean,
|
|
1045
|
-
required: false,
|
|
1046
|
-
default: false
|
|
1047
|
-
},
|
|
1048
|
-
trapped: {
|
|
1049
|
-
type: Boolean,
|
|
1050
|
-
required: false,
|
|
1051
|
-
default: false
|
|
1052
|
-
},
|
|
1053
|
-
asChild: {
|
|
1054
|
-
type: Boolean,
|
|
1055
|
-
required: false
|
|
1056
|
-
},
|
|
1057
|
-
as: {
|
|
1058
|
-
type: null,
|
|
1059
|
-
required: false
|
|
1060
|
-
}
|
|
1061
|
-
},
|
|
1062
|
-
emits: ["mountAutoFocus", "unmountAutoFocus"],
|
|
1063
|
-
setup(__props, { emit: __emit }) {
|
|
1064
|
-
const props = __props;
|
|
1065
|
-
const emits = __emit;
|
|
1066
|
-
const { currentRef, currentElement } = useForwardExpose();
|
|
1067
|
-
const lastFocusedElementRef = ref(null);
|
|
1068
|
-
const focusScopesStack = createFocusScopesStack();
|
|
1069
|
-
const focusScope = reactive({
|
|
1070
|
-
paused: false,
|
|
1071
|
-
pause() {
|
|
1072
|
-
this.paused = true;
|
|
1073
|
-
},
|
|
1074
|
-
resume() {
|
|
1075
|
-
this.paused = false;
|
|
1076
|
-
}
|
|
1077
|
-
});
|
|
1078
|
-
watchEffect((cleanupFn) => {
|
|
1079
|
-
if (!isClient) return;
|
|
1080
|
-
const container = currentElement.value;
|
|
1081
|
-
if (!props.trapped) return;
|
|
1082
|
-
function handleFocusIn(event) {
|
|
1083
|
-
if (focusScope.paused || !container) return;
|
|
1084
|
-
const target = event.target;
|
|
1085
|
-
if (container.contains(target)) lastFocusedElementRef.value = target;
|
|
1086
|
-
else focus(lastFocusedElementRef.value, { select: true });
|
|
1087
|
-
}
|
|
1088
|
-
function handleFocusOut(event) {
|
|
1089
|
-
if (focusScope.paused || !container) return;
|
|
1090
|
-
const relatedTarget = event.relatedTarget;
|
|
1091
|
-
if (relatedTarget === null) return;
|
|
1092
|
-
if (!container.contains(relatedTarget)) focus(lastFocusedElementRef.value, { select: true });
|
|
1093
|
-
}
|
|
1094
|
-
function handleMutations(mutations) {
|
|
1095
|
-
if (!container.contains(lastFocusedElementRef.value)) focus(container);
|
|
1096
|
-
}
|
|
1097
|
-
document.addEventListener("focusin", handleFocusIn);
|
|
1098
|
-
document.addEventListener("focusout", handleFocusOut);
|
|
1099
|
-
const mutationObserver = new MutationObserver(handleMutations);
|
|
1100
|
-
if (container) mutationObserver.observe(container, {
|
|
1101
|
-
childList: true,
|
|
1102
|
-
subtree: true
|
|
1103
|
-
});
|
|
1104
|
-
cleanupFn(() => {
|
|
1105
|
-
document.removeEventListener("focusin", handleFocusIn);
|
|
1106
|
-
document.removeEventListener("focusout", handleFocusOut);
|
|
1107
|
-
mutationObserver.disconnect();
|
|
1108
|
-
});
|
|
1109
|
-
});
|
|
1110
|
-
watchEffect(async (cleanupFn) => {
|
|
1111
|
-
const container = currentElement.value;
|
|
1112
|
-
await nextTick();
|
|
1113
|
-
if (!container) return;
|
|
1114
|
-
focusScopesStack.add(focusScope);
|
|
1115
|
-
const previouslyFocusedElement = getActiveElement();
|
|
1116
|
-
if (!container.contains(previouslyFocusedElement)) {
|
|
1117
|
-
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
1118
|
-
container.addEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
|
|
1119
|
-
container.dispatchEvent(mountEvent);
|
|
1120
|
-
if (!mountEvent.defaultPrevented) {
|
|
1121
|
-
focusFirst(getTabbableCandidates(container), { select: true });
|
|
1122
|
-
if (getActiveElement() === previouslyFocusedElement) focus(container);
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
cleanupFn(() => {
|
|
1126
|
-
container.removeEventListener(AUTOFOCUS_ON_MOUNT, (ev) => emits("mountAutoFocus", ev));
|
|
1127
|
-
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
1128
|
-
const unmountEventHandler = (ev) => {
|
|
1129
|
-
emits("unmountAutoFocus", ev);
|
|
1130
|
-
};
|
|
1131
|
-
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
1132
|
-
container.dispatchEvent(unmountEvent);
|
|
1133
|
-
setTimeout(() => {
|
|
1134
|
-
if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? document.body, { select: true });
|
|
1135
|
-
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, unmountEventHandler);
|
|
1136
|
-
focusScopesStack.remove(focusScope);
|
|
1137
|
-
}, 0);
|
|
1138
|
-
});
|
|
1139
|
-
});
|
|
1140
|
-
function handleKeyDown(event) {
|
|
1141
|
-
if (!props.loop && !props.trapped) return;
|
|
1142
|
-
if (focusScope.paused) return;
|
|
1143
|
-
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
1144
|
-
const focusedElement = getActiveElement();
|
|
1145
|
-
if (isTabKey && focusedElement) {
|
|
1146
|
-
const container = event.currentTarget;
|
|
1147
|
-
const [first, last] = getTabbableEdges(container);
|
|
1148
|
-
if (!(first && last)) {
|
|
1149
|
-
if (focusedElement === container) event.preventDefault();
|
|
1150
|
-
} else if (!event.shiftKey && focusedElement === last) {
|
|
1151
|
-
event.preventDefault();
|
|
1152
|
-
if (props.loop) focus(first, { select: true });
|
|
1153
|
-
} else if (event.shiftKey && focusedElement === first) {
|
|
1154
|
-
event.preventDefault();
|
|
1155
|
-
if (props.loop) focus(last, { select: true });
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
return (_ctx, _cache) => {
|
|
1160
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
1161
|
-
ref_key: "currentRef",
|
|
1162
|
-
ref: currentRef,
|
|
1163
|
-
tabindex: "-1",
|
|
1164
|
-
"as-child": _ctx.asChild,
|
|
1165
|
-
as: _ctx.as,
|
|
1166
|
-
onKeydown: handleKeyDown
|
|
1167
|
-
}, {
|
|
1168
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1169
|
-
_: 3
|
|
1170
|
-
}, 8, ["as-child", "as"]);
|
|
1171
|
-
};
|
|
1172
|
-
}
|
|
1173
|
-
});
|
|
1174
|
-
//#endregion
|
|
1175
|
-
//#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
|
|
1176
|
-
var Teleport_default = /* @__PURE__ */ defineComponent({
|
|
1177
|
-
__name: "Teleport",
|
|
1178
|
-
props: {
|
|
1179
|
-
to: {
|
|
1180
|
-
type: null,
|
|
1181
|
-
required: false,
|
|
1182
|
-
default: "body"
|
|
1183
|
-
},
|
|
1184
|
-
disabled: {
|
|
1185
|
-
type: Boolean,
|
|
1186
|
-
required: false
|
|
1187
|
-
},
|
|
1188
|
-
defer: {
|
|
1189
|
-
type: Boolean,
|
|
1190
|
-
required: false
|
|
1191
|
-
},
|
|
1192
|
-
forceMount: {
|
|
1193
|
-
type: Boolean,
|
|
1194
|
-
required: false
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
setup(__props) {
|
|
1198
|
-
const isMounted = useMounted();
|
|
1199
|
-
return (_ctx, _cache) => {
|
|
1200
|
-
return unref(isMounted) || _ctx.forceMount ? (openBlock(), createBlock(Teleport, {
|
|
1201
|
-
key: 0,
|
|
1202
|
-
to: _ctx.to,
|
|
1203
|
-
disabled: _ctx.disabled,
|
|
1204
|
-
defer: _ctx.defer
|
|
1205
|
-
}, [renderSlot(_ctx.$slots, "default")], 8, [
|
|
1206
|
-
"to",
|
|
1207
|
-
"disabled",
|
|
1208
|
-
"defer"
|
|
1209
|
-
])) : createCommentVNode("v-if", true);
|
|
1210
|
-
};
|
|
1211
|
-
}
|
|
1212
|
-
});
|
|
1213
|
-
//#endregion
|
|
1214
|
-
//#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
|
|
1215
|
-
var [injectPopperRootContext, providePopperRootContext] = createContext("PopperRoot");
|
|
1216
|
-
var PopperRoot_default = /* @__PURE__ */ defineComponent({
|
|
1217
|
-
inheritAttrs: false,
|
|
1218
|
-
__name: "PopperRoot",
|
|
1219
|
-
setup(__props) {
|
|
1220
|
-
const anchor = ref();
|
|
1221
|
-
providePopperRootContext({
|
|
1222
|
-
anchor,
|
|
1223
|
-
onAnchorChange: (element) => anchor.value = element
|
|
1224
|
-
});
|
|
1225
|
-
return (_ctx, _cache) => {
|
|
1226
|
-
return renderSlot(_ctx.$slots, "default");
|
|
1227
|
-
};
|
|
1228
|
-
}
|
|
1229
|
-
});
|
|
1230
|
-
//#endregion
|
|
1231
|
-
//#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
|
|
1232
|
-
var PopperAnchor_default = /* @__PURE__ */ defineComponent({
|
|
1233
|
-
__name: "PopperAnchor",
|
|
1234
|
-
props: {
|
|
1235
|
-
reference: {
|
|
1236
|
-
type: null,
|
|
1237
|
-
required: false
|
|
1238
|
-
},
|
|
1239
|
-
asChild: {
|
|
1240
|
-
type: Boolean,
|
|
1241
|
-
required: false
|
|
1242
|
-
},
|
|
1243
|
-
as: {
|
|
1244
|
-
type: null,
|
|
1245
|
-
required: false
|
|
1246
|
-
}
|
|
1247
|
-
},
|
|
1248
|
-
setup(__props) {
|
|
1249
|
-
const props = __props;
|
|
1250
|
-
const { forwardRef, currentElement } = useForwardExpose();
|
|
1251
|
-
const rootContext = injectPopperRootContext();
|
|
1252
|
-
watchPostEffect(() => {
|
|
1253
|
-
rootContext.onAnchorChange(props.reference ?? currentElement.value);
|
|
1254
|
-
});
|
|
1255
|
-
return (_ctx, _cache) => {
|
|
1256
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
1257
|
-
ref: unref(forwardRef),
|
|
1258
|
-
as: _ctx.as,
|
|
1259
|
-
"as-child": _ctx.asChild
|
|
1260
|
-
}, {
|
|
1261
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1262
|
-
_: 3
|
|
1263
|
-
}, 8, ["as", "as-child"]);
|
|
1264
|
-
};
|
|
1265
|
-
}
|
|
1266
|
-
});
|
|
1267
|
-
//#endregion
|
|
1268
|
-
//#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
|
|
1269
|
-
function isNotNull(value) {
|
|
1270
|
-
return value !== null;
|
|
1271
|
-
}
|
|
1272
|
-
function transformOrigin(options) {
|
|
1273
|
-
return {
|
|
1274
|
-
name: "transformOrigin",
|
|
1275
|
-
options,
|
|
1276
|
-
fn(data) {
|
|
1277
|
-
const { placement, rects, middlewareData } = data;
|
|
1278
|
-
const isArrowHidden = middlewareData.arrow?.centerOffset !== 0;
|
|
1279
|
-
const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
|
|
1280
|
-
const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
|
|
1281
|
-
const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
|
|
1282
|
-
const noArrowAlign = {
|
|
1283
|
-
start: "0%",
|
|
1284
|
-
center: "50%",
|
|
1285
|
-
end: "100%"
|
|
1286
|
-
}[placedAlign];
|
|
1287
|
-
const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
|
|
1288
|
-
const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
|
|
1289
|
-
let x = "";
|
|
1290
|
-
let y = "";
|
|
1291
|
-
if (placedSide === "bottom") {
|
|
1292
|
-
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1293
|
-
y = `${-arrowHeight}px`;
|
|
1294
|
-
} else if (placedSide === "top") {
|
|
1295
|
-
x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
|
|
1296
|
-
y = `${rects.floating.height + arrowHeight}px`;
|
|
1297
|
-
} else if (placedSide === "right") {
|
|
1298
|
-
x = `${-arrowHeight}px`;
|
|
1299
|
-
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1300
|
-
} else if (placedSide === "left") {
|
|
1301
|
-
x = `${rects.floating.width + arrowHeight}px`;
|
|
1302
|
-
y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
|
|
1303
|
-
}
|
|
1304
|
-
return { data: {
|
|
1305
|
-
x,
|
|
1306
|
-
y
|
|
1307
|
-
} };
|
|
1308
|
-
}
|
|
1309
|
-
};
|
|
1310
|
-
}
|
|
1311
|
-
function getSideAndAlignFromPlacement(placement) {
|
|
1312
|
-
const [side, align = "center"] = placement.split("-");
|
|
1313
|
-
return [side, align];
|
|
1314
|
-
}
|
|
1315
|
-
//#endregion
|
|
1316
|
-
//#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
|
|
1317
|
-
var PopperContentPropsDefaultValue = {
|
|
1318
|
-
side: "bottom",
|
|
1319
|
-
sideOffset: 0,
|
|
1320
|
-
sideFlip: true,
|
|
1321
|
-
align: "center",
|
|
1322
|
-
alignOffset: 0,
|
|
1323
|
-
alignFlip: true,
|
|
1324
|
-
arrowPadding: 0,
|
|
1325
|
-
hideShiftedArrow: true,
|
|
1326
|
-
avoidCollisions: true,
|
|
1327
|
-
collisionBoundary: () => [],
|
|
1328
|
-
collisionPadding: 0,
|
|
1329
|
-
sticky: "partial",
|
|
1330
|
-
hideWhenDetached: false,
|
|
1331
|
-
positionStrategy: "fixed",
|
|
1332
|
-
updatePositionStrategy: "optimized",
|
|
1333
|
-
prioritizePosition: false
|
|
1334
|
-
};
|
|
1335
|
-
var [injectPopperContentContext, providePopperContentContext] = createContext("PopperContent");
|
|
1336
|
-
var PopperContent_default = /* @__PURE__ */ defineComponent({
|
|
1337
|
-
inheritAttrs: false,
|
|
1338
|
-
__name: "PopperContent",
|
|
1339
|
-
props: /* @__PURE__ */ mergeDefaults({
|
|
1340
|
-
side: {
|
|
1341
|
-
type: null,
|
|
1342
|
-
required: false
|
|
1343
|
-
},
|
|
1344
|
-
sideOffset: {
|
|
1345
|
-
type: Number,
|
|
1346
|
-
required: false
|
|
1347
|
-
},
|
|
1348
|
-
sideFlip: {
|
|
1349
|
-
type: Boolean,
|
|
1350
|
-
required: false
|
|
1351
|
-
},
|
|
1352
|
-
align: {
|
|
1353
|
-
type: null,
|
|
1354
|
-
required: false
|
|
1355
|
-
},
|
|
1356
|
-
alignOffset: {
|
|
1357
|
-
type: Number,
|
|
1358
|
-
required: false
|
|
1359
|
-
},
|
|
1360
|
-
alignFlip: {
|
|
1361
|
-
type: Boolean,
|
|
1362
|
-
required: false
|
|
1363
|
-
},
|
|
1364
|
-
avoidCollisions: {
|
|
1365
|
-
type: Boolean,
|
|
1366
|
-
required: false
|
|
1367
|
-
},
|
|
1368
|
-
collisionBoundary: {
|
|
1369
|
-
type: null,
|
|
1370
|
-
required: false
|
|
1371
|
-
},
|
|
1372
|
-
collisionPadding: {
|
|
1373
|
-
type: [Number, Object],
|
|
1374
|
-
required: false
|
|
1375
|
-
},
|
|
1376
|
-
arrowPadding: {
|
|
1377
|
-
type: Number,
|
|
1378
|
-
required: false
|
|
1379
|
-
},
|
|
1380
|
-
hideShiftedArrow: {
|
|
1381
|
-
type: Boolean,
|
|
1382
|
-
required: false
|
|
1383
|
-
},
|
|
1384
|
-
sticky: {
|
|
1385
|
-
type: String,
|
|
1386
|
-
required: false
|
|
1387
|
-
},
|
|
1388
|
-
hideWhenDetached: {
|
|
1389
|
-
type: Boolean,
|
|
1390
|
-
required: false
|
|
1391
|
-
},
|
|
1392
|
-
positionStrategy: {
|
|
1393
|
-
type: String,
|
|
1394
|
-
required: false
|
|
1395
|
-
},
|
|
1396
|
-
updatePositionStrategy: {
|
|
1397
|
-
type: String,
|
|
1398
|
-
required: false
|
|
1399
|
-
},
|
|
1400
|
-
disableUpdateOnLayoutShift: {
|
|
1401
|
-
type: Boolean,
|
|
1402
|
-
required: false
|
|
1403
|
-
},
|
|
1404
|
-
prioritizePosition: {
|
|
1405
|
-
type: Boolean,
|
|
1406
|
-
required: false
|
|
1407
|
-
},
|
|
1408
|
-
reference: {
|
|
1409
|
-
type: null,
|
|
1410
|
-
required: false
|
|
1411
|
-
},
|
|
1412
|
-
asChild: {
|
|
1413
|
-
type: Boolean,
|
|
1414
|
-
required: false
|
|
1415
|
-
},
|
|
1416
|
-
as: {
|
|
1417
|
-
type: null,
|
|
1418
|
-
required: false
|
|
1419
|
-
}
|
|
1420
|
-
}, { ...PopperContentPropsDefaultValue }),
|
|
1421
|
-
emits: ["placed"],
|
|
1422
|
-
setup(__props, { emit: __emit }) {
|
|
1423
|
-
const props = __props;
|
|
1424
|
-
const emits = __emit;
|
|
1425
|
-
const rootContext = injectPopperRootContext();
|
|
1426
|
-
const { forwardRef, currentElement: contentElement } = useForwardExpose();
|
|
1427
|
-
const floatingRef = ref();
|
|
1428
|
-
const arrow$1 = ref();
|
|
1429
|
-
const { width: arrowWidth, height: arrowHeight } = useSize(arrow$1);
|
|
1430
|
-
const desiredPlacement = computed(() => props.side + (props.align !== "center" ? `-${props.align}` : ""));
|
|
1431
|
-
const collisionPadding = computed(() => {
|
|
1432
|
-
return typeof props.collisionPadding === "number" ? props.collisionPadding : {
|
|
1433
|
-
top: 0,
|
|
1434
|
-
right: 0,
|
|
1435
|
-
bottom: 0,
|
|
1436
|
-
left: 0,
|
|
1437
|
-
...props.collisionPadding
|
|
1438
|
-
};
|
|
1439
|
-
});
|
|
1440
|
-
const boundary = computed(() => {
|
|
1441
|
-
return Array.isArray(props.collisionBoundary) ? props.collisionBoundary : [props.collisionBoundary];
|
|
1442
|
-
});
|
|
1443
|
-
const detectOverflowOptions = computed(() => {
|
|
1444
|
-
return {
|
|
1445
|
-
padding: collisionPadding.value,
|
|
1446
|
-
boundary: boundary.value.filter(isNotNull),
|
|
1447
|
-
altBoundary: boundary.value.length > 0
|
|
1448
|
-
};
|
|
1449
|
-
});
|
|
1450
|
-
const flipOptions = computed(() => {
|
|
1451
|
-
return {
|
|
1452
|
-
mainAxis: props.sideFlip,
|
|
1453
|
-
crossAxis: props.alignFlip
|
|
1454
|
-
};
|
|
1455
|
-
});
|
|
1456
|
-
const computedMiddleware = computedEager(() => {
|
|
1457
|
-
return [
|
|
1458
|
-
offset({
|
|
1459
|
-
mainAxis: props.sideOffset + arrowHeight.value,
|
|
1460
|
-
alignmentAxis: props.alignOffset
|
|
1461
|
-
}),
|
|
1462
|
-
props.prioritizePosition && props.avoidCollisions && flip({
|
|
1463
|
-
...detectOverflowOptions.value,
|
|
1464
|
-
...flipOptions.value
|
|
1465
|
-
}),
|
|
1466
|
-
props.avoidCollisions && shift({
|
|
1467
|
-
mainAxis: true,
|
|
1468
|
-
crossAxis: !!props.prioritizePosition,
|
|
1469
|
-
limiter: props.sticky === "partial" ? limitShift() : void 0,
|
|
1470
|
-
...detectOverflowOptions.value
|
|
1471
|
-
}),
|
|
1472
|
-
!props.prioritizePosition && props.avoidCollisions && flip({
|
|
1473
|
-
...detectOverflowOptions.value,
|
|
1474
|
-
...flipOptions.value
|
|
1475
|
-
}),
|
|
1476
|
-
size({
|
|
1477
|
-
...detectOverflowOptions.value,
|
|
1478
|
-
apply: ({ elements, rects, availableWidth, availableHeight }) => {
|
|
1479
|
-
const { width: anchorWidth, height: anchorHeight } = rects.reference;
|
|
1480
|
-
const contentStyle = elements.floating.style;
|
|
1481
|
-
contentStyle.setProperty("--reka-popper-available-width", `${availableWidth}px`);
|
|
1482
|
-
contentStyle.setProperty("--reka-popper-available-height", `${availableHeight}px`);
|
|
1483
|
-
contentStyle.setProperty("--reka-popper-anchor-width", `${anchorWidth}px`);
|
|
1484
|
-
contentStyle.setProperty("--reka-popper-anchor-height", `${anchorHeight}px`);
|
|
1485
|
-
}
|
|
1486
|
-
}),
|
|
1487
|
-
arrow$1.value && arrow({
|
|
1488
|
-
element: arrow$1.value,
|
|
1489
|
-
padding: props.arrowPadding
|
|
1490
|
-
}),
|
|
1491
|
-
transformOrigin({
|
|
1492
|
-
arrowWidth: arrowWidth.value,
|
|
1493
|
-
arrowHeight: arrowHeight.value
|
|
1494
|
-
}),
|
|
1495
|
-
props.hideWhenDetached && hide({
|
|
1496
|
-
strategy: "referenceHidden",
|
|
1497
|
-
...detectOverflowOptions.value
|
|
1498
|
-
})
|
|
1499
|
-
];
|
|
1500
|
-
});
|
|
1501
|
-
const { floatingStyles, placement, isPositioned, middlewareData, update } = useFloating(computed(() => props.reference ?? rootContext.anchor.value), floatingRef, {
|
|
1502
|
-
strategy: props.positionStrategy,
|
|
1503
|
-
placement: desiredPlacement,
|
|
1504
|
-
whileElementsMounted: (...args) => {
|
|
1505
|
-
return autoUpdate(...args, {
|
|
1506
|
-
layoutShift: !props.disableUpdateOnLayoutShift,
|
|
1507
|
-
animationFrame: props.updatePositionStrategy === "always"
|
|
1508
|
-
});
|
|
1509
|
-
},
|
|
1510
|
-
middleware: computedMiddleware
|
|
1511
|
-
});
|
|
1512
|
-
const placedSide = computed(() => getSideAndAlignFromPlacement(placement.value)[0]);
|
|
1513
|
-
const placedAlign = computed(() => getSideAndAlignFromPlacement(placement.value)[1]);
|
|
1514
|
-
watchPostEffect(() => {
|
|
1515
|
-
if (isPositioned.value) emits("placed");
|
|
1516
|
-
});
|
|
1517
|
-
const shouldHideArrow = computed(() => {
|
|
1518
|
-
const cannotCenterArrow = middlewareData.value.arrow?.centerOffset !== 0;
|
|
1519
|
-
return props.hideShiftedArrow && cannotCenterArrow;
|
|
1520
|
-
});
|
|
1521
|
-
const contentZIndex = ref("");
|
|
1522
|
-
watchEffect(() => {
|
|
1523
|
-
if (contentElement.value) contentZIndex.value = window.getComputedStyle(contentElement.value).zIndex;
|
|
1524
|
-
});
|
|
1525
|
-
providePopperContentContext({
|
|
1526
|
-
placedSide,
|
|
1527
|
-
onArrowChange: (element) => arrow$1.value = element,
|
|
1528
|
-
arrowX: computed(() => middlewareData.value.arrow?.x ?? 0),
|
|
1529
|
-
arrowY: computed(() => middlewareData.value.arrow?.y ?? 0),
|
|
1530
|
-
shouldHideArrow
|
|
1531
|
-
});
|
|
1532
|
-
return (_ctx, _cache) => {
|
|
1533
|
-
return openBlock(), createElementBlock("div", {
|
|
1534
|
-
ref_key: "floatingRef",
|
|
1535
|
-
ref: floatingRef,
|
|
1536
|
-
"data-reka-popper-content-wrapper": "",
|
|
1537
|
-
style: normalizeStyle({
|
|
1538
|
-
...unref(floatingStyles),
|
|
1539
|
-
transform: unref(isPositioned) ? unref(floatingStyles).transform : "translate(0, -200%)",
|
|
1540
|
-
minWidth: "max-content",
|
|
1541
|
-
zIndex: contentZIndex.value,
|
|
1542
|
-
["--reka-popper-transform-origin"]: [unref(middlewareData).transformOrigin?.x, unref(middlewareData).transformOrigin?.y].join(" "),
|
|
1543
|
-
...unref(middlewareData).hide?.referenceHidden && {
|
|
1544
|
-
visibility: "hidden",
|
|
1545
|
-
pointerEvents: "none"
|
|
1546
|
-
}
|
|
1547
|
-
})
|
|
1548
|
-
}, [createVNode(unref(Primitive), mergeProps({ ref: unref(forwardRef) }, _ctx.$attrs, {
|
|
1549
|
-
"as-child": props.asChild,
|
|
1550
|
-
as: _ctx.as,
|
|
1551
|
-
"data-side": placedSide.value,
|
|
1552
|
-
"data-align": placedAlign.value,
|
|
1553
|
-
style: { animation: !unref(isPositioned) ? "none" : void 0 }
|
|
1554
|
-
}), {
|
|
1555
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1556
|
-
_: 3
|
|
1557
|
-
}, 16, [
|
|
1558
|
-
"as-child",
|
|
1559
|
-
"as",
|
|
1560
|
-
"data-side",
|
|
1561
|
-
"data-align",
|
|
1562
|
-
"style"
|
|
1563
|
-
])], 4);
|
|
1564
|
-
};
|
|
1565
|
-
}
|
|
1566
|
-
});
|
|
1567
|
-
//#endregion
|
|
1568
86
|
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Calendar/useCalendar.js
|
|
1569
87
|
function useCalendarState(props) {
|
|
1570
88
|
function isDateSelected(dateObj) {
|
|
@@ -3518,7 +2036,7 @@ var PopoverContent_default = /* @__PURE__ */ defineComponent({
|
|
|
3518
2036
|
const rootContext = injectPopoverRootContext();
|
|
3519
2037
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
3520
2038
|
const { forwardRef } = useForwardExpose();
|
|
3521
|
-
rootContext.contentId ||= useId$
|
|
2039
|
+
rootContext.contentId ||= useId$2(void 0, "reka-popover-content");
|
|
3522
2040
|
return (_ctx, _cache) => {
|
|
3523
2041
|
return openBlock(), createBlock(unref(Presence_default), { present: _ctx.forceMount || unref(rootContext).open.value }, {
|
|
3524
2042
|
default: withCtx(() => [unref(rootContext).modal.value ? (openBlock(), createBlock(PopoverContentModal_default, mergeProps({ key: 0 }, unref(forwarded), { ref: unref(forwardRef) }), {
|
|
@@ -4014,7 +2532,7 @@ var PopoverTrigger_default = /* @__PURE__ */ defineComponent({
|
|
|
4014
2532
|
const props = __props;
|
|
4015
2533
|
const rootContext = injectPopoverRootContext();
|
|
4016
2534
|
const { forwardRef, currentElement: triggerElement } = useForwardExpose();
|
|
4017
|
-
rootContext.triggerId ||= useId$
|
|
2535
|
+
rootContext.triggerId ||= useId$2(void 0, "reka-popover-trigger");
|
|
4018
2536
|
onMounted(() => {
|
|
4019
2537
|
rootContext.triggerElement.value = triggerElement.value;
|
|
4020
2538
|
});
|
|
@@ -6073,7 +4591,7 @@ var BDatePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
6073
4591
|
const modelValue = useModel(__props, "modelValue");
|
|
6074
4592
|
const openModel = useModel(__props, "open");
|
|
6075
4593
|
const placeholderModel = useModel(__props, "placeholder");
|
|
6076
|
-
const computedId = useId$
|
|
4594
|
+
const computedId = useId$1(() => props.id, "date-picker");
|
|
6077
4595
|
const computedFieldClasses = computed(() => ({
|
|
6078
4596
|
"disabled": props.disabled,
|
|
6079
4597
|
"readonly": props.readonly,
|
|
@@ -6373,7 +4891,7 @@ var BDateRangePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
6373
4891
|
const modelValue = useModel(__props, "modelValue");
|
|
6374
4892
|
const openModel = useModel(__props, "open");
|
|
6375
4893
|
const placeholderModel = useModel(__props, "placeholder");
|
|
6376
|
-
const computedId = useId$
|
|
4894
|
+
const computedId = useId$1(() => props.id, "date-range-picker");
|
|
6377
4895
|
const computedFieldClasses = computed(() => ({
|
|
6378
4896
|
"disabled": props.disabled,
|
|
6379
4897
|
"readonly": props.readonly,
|
|
@@ -6605,4 +5123,4 @@ var BDateRangePicker_default = /* @__PURE__ */ defineComponent({
|
|
|
6605
5123
|
//#endregion
|
|
6606
5124
|
export { BDatePicker_default as n, BDateRangePicker_default as t };
|
|
6607
5125
|
|
|
6608
|
-
//# sourceMappingURL=BDatePicker-
|
|
5126
|
+
//# sourceMappingURL=BDatePicker-DfzZBWjU.mjs.map
|