bootstrap-vue-next 0.45.9 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.mts +2 -1
- package/dist/App.vue.d.ts +2 -1
- package/dist/{BAccordion-D51b9HVD.mjs → BAccordion-FuQ6sMFy.js} +33 -31
- package/dist/BAccordion-FuQ6sMFy.js.map +1 -0
- package/dist/{BAlert-Ce2uxrJi.mjs → BAlert-C9Mi4RDx.js} +20 -13
- package/dist/BAlert-C9Mi4RDx.js.map +1 -0
- package/dist/{BApp-B-fUrnpK.mjs → BApp-GXR1wS6K.js} +53 -51
- package/dist/BApp-GXR1wS6K.js.map +1 -0
- package/dist/{BAspect-wfiXM4KA.mjs → BAspect-BPR6DH5W.js} +2 -2
- package/dist/{BAspect-CUIU48Ck.js.map → BAspect-BPR6DH5W.js.map} +1 -1
- package/dist/{BAutocomplete-CH-bQzME.mjs → BAutocomplete-DGvKY7-D.js} +195 -101
- package/dist/BAutocomplete-DGvKY7-D.js.map +1 -0
- package/dist/{BAvatar-iALHbqVk.mjs → BAvatar-BsStQrBF.js} +13 -13
- package/dist/BAvatar-BsStQrBF.js.map +1 -0
- package/dist/{BBadge-Cx_CdauK.mjs → BBadge-BaZ13wE_.js} +5 -5
- package/dist/{BBadge-Db6SEnzy.js.map → BBadge-BaZ13wE_.js.map} +1 -1
- package/dist/{BBreadcrumb-BxADbg0O.mjs → BBreadcrumb-C-SsS3hM.js} +4 -4
- package/dist/{BBreadcrumb-B9ra7vg2.js.map → BBreadcrumb-C-SsS3hM.js.map} +1 -1
- package/dist/{BButton-BSa7LfL5.mjs → BButton-Cc2gd95Z.js} +5 -7
- package/dist/{BButton-DRRlzkyK.js.map → BButton-Cc2gd95Z.js.map} +1 -1
- package/dist/{BButton-PY7AANXJ.mjs → BButton-KZu5jczf.js} +9 -9
- package/dist/{BButton-aYtMnyHu.js.map → BButton-KZu5jczf.js.map} +1 -1
- package/dist/{BCard-BWoruisp.mjs → BCard-D2GEiXan.js} +2 -3
- package/dist/{BCard-Bh8RLMo_.js.map → BCard-D2GEiXan.js.map} +1 -1
- package/dist/{BCard-CHbKv2OR.mjs → BCard-nRj1JWtQ.js} +9 -9
- package/dist/{BCard-DwNYhVmg.js.map → BCard-nRj1JWtQ.js.map} +1 -1
- package/dist/{BCarousel-B6_bgQpl.mjs → BCarousel-DQgfW4DN.js} +11 -10
- package/dist/{BCarousel-2JB21Pcu.js.map → BCarousel-DQgfW4DN.js.map} +1 -1
- package/dist/{BCloseButton-CKTKr4PS.mjs → BCloseButton-B3-IdpNp.js} +2 -2
- package/dist/{BCloseButton-D42zHRLP.js.map → BCloseButton-B3-IdpNp.js.map} +1 -1
- package/dist/{BCol-B3VeEk9z.mjs → BCol-DiZFbqU5.js} +3 -3
- package/dist/{BCol-Ck9VydHj.js.map → BCol-DiZFbqU5.js.map} +1 -1
- package/dist/{BCollapse-kqhe4AmL.mjs → BCollapse-B9fnWSzA.js} +15 -9
- package/dist/BCollapse-B9fnWSzA.js.map +1 -0
- package/dist/{BContainer-ATfhaxTc.mjs → BContainer-D-bZVPwa.js} +2 -4
- package/dist/{BContainer-CcF6dgtI.js.map → BContainer-D-bZVPwa.js.map} +1 -1
- package/dist/{BDateField-CccP3H1R.mjs → BDateField-Bj-Jz7u4.js} +27 -22
- package/dist/BDateField-Bj-Jz7u4.js.map +1 -0
- package/dist/{BDatePicker-BnwnSkBg.mjs → BDatePicker-AVTYcVLy.js} +232 -148
- package/dist/BDatePicker-AVTYcVLy.js.map +1 -0
- package/dist/{BDropdown-B1DbvVzm.mjs → BDropdown-CnxUzs42.js} +55 -46
- package/dist/BDropdown-CnxUzs42.js.map +1 -0
- package/dist/{BDropdown-0E8x5kk6.mjs → BDropdown-D4VSJJxu.js} +5 -6
- package/dist/{BDropdown-DKCgBzYS.js.map → BDropdown-D4VSJJxu.js.map} +1 -1
- package/dist/{BForm-BVfW08s5.mjs → BForm-BOoX6AAr.js} +2 -2
- package/dist/{BForm-cnRpggt9.js.map → BForm-BOoX6AAr.js.map} +1 -1
- package/dist/{BForm-DJu2hDV_.mjs → BForm-C5PR2ust.js} +7 -8
- package/dist/{BForm-6JlWdQMO.js.map → BForm-C5PR2ust.js.map} +1 -1
- package/dist/{BFormCheckbox-Baf_9BSc.mjs → BFormCheckbox-BMhyR-J5.js} +12 -13
- package/dist/BFormCheckbox-BMhyR-J5.js.map +1 -0
- package/dist/{BFormFile-CZebm0Cp.mjs → BFormFile-BVrDprWL.js} +8 -8
- package/dist/{BFormFile-MISLntyJ.js.map → BFormFile-BVrDprWL.js.map} +1 -1
- package/dist/{BFormGroup-vysRPb99.mjs → BFormGroup-BE5tGz_g.js} +40 -24
- package/dist/BFormGroup-BE5tGz_g.js.map +1 -0
- package/dist/{BFormInput-sEfU3CuN.mjs → BFormInput-BwvdFGDu.js} +5 -5
- package/dist/{BFormInput-CBwwDjfC.js.map → BFormInput-BwvdFGDu.js.map} +1 -1
- package/dist/{BFormOtp-C8X3u1od.mjs → BFormOtp-I1t8dqPS.js} +63 -22
- package/dist/BFormOtp-I1t8dqPS.js.map +1 -0
- package/dist/{BFormRadio-COc_IbxC.mjs → BFormRadio-DRViMh6V.js} +24 -13
- package/dist/BFormRadio-DRViMh6V.js.map +1 -0
- package/dist/{BFormRating-CIgPVsH_.mjs → BFormRating-AEiF8K8T.js} +23 -17
- package/dist/BFormRating-AEiF8K8T.js.map +1 -0
- package/dist/{BFormSelect-P-InkOm-.mjs → BFormSelect-DdjH8482.js} +23 -12
- package/dist/BFormSelect-DdjH8482.js.map +1 -0
- package/dist/{BFormSelectOption-DFN4lPRh.mjs → BFormSelectOption-C8orMj24.js} +3 -3
- package/dist/{BFormSelectOption-DrwJucNf.js.map → BFormSelectOption-C8orMj24.js.map} +1 -1
- package/dist/{BFormSpinbutton-6qkTBF_4.mjs → BFormSpinbutton-Bt590uT6.js} +10 -9
- package/dist/{BFormSpinbutton-1gTz4nTo.js.map → BFormSpinbutton-Bt590uT6.js.map} +1 -1
- package/dist/{BFormTag-CnzI39y9.mjs → BFormTag-DGSUfz7A.js} +5 -5
- package/dist/{BFormTag-CeV0MSRC.js.map → BFormTag-DGSUfz7A.js.map} +1 -1
- package/dist/{BFormTags-BMltSaKL.mjs → BFormTags-CUcyRTCK.js} +23 -27
- package/dist/BFormTags-CUcyRTCK.js.map +1 -0
- package/dist/{BFormTextarea-DN1gAfSo.mjs → BFormTextarea-DlDe26DL.js} +6 -6
- package/dist/{BFormTextarea-C3Cj0DWj.js.map → BFormTextarea-DlDe26DL.js.map} +1 -1
- package/dist/{BFormValidFeedback-CBYxQLDz.mjs → BFormValidFeedback-ClqLRxtH.js} +4 -4
- package/dist/{BFormValidFeedback-Kwxh798d.js.map → BFormValidFeedback-ClqLRxtH.js.map} +1 -1
- package/dist/{BImg-QBS2ECBc.mjs → BImg-knz2UZQE.js} +5 -5
- package/dist/{BImg-JKJLgYYT.js.map → BImg-knz2UZQE.js.map} +1 -1
- package/dist/{BInputGroup-DiTSexkT.mjs → BInputGroup-Bjh7zXyI.js} +2 -3
- package/dist/{BInputGroup-D4fW324B.js.map → BInputGroup-Bjh7zXyI.js.map} +1 -1
- package/dist/{BInputGroup-X2Z53RJx.mjs → BInputGroup-DdoeSICR.js} +3 -3
- package/dist/{BInputGroup-Bvlfv6VD.js.map → BInputGroup-DdoeSICR.js.map} +1 -1
- package/dist/{BLink-Dfgte6dQ.mjs → BLink-mdwZsC7b.js} +5 -5
- package/dist/{BLink-kLEjleB1.js.map → BLink-mdwZsC7b.js.map} +1 -1
- package/dist/{BListGroup-DwTLpNiD.mjs → BListGroup-CQedMbI8.js} +4 -4
- package/dist/{BListGroup-C8JOzHTz.js.map → BListGroup-CQedMbI8.js.map} +1 -1
- package/dist/{BModal-C-ZCau2E.mjs → BModal-NPsCBNo7.js} +25 -18
- package/dist/BModal-NPsCBNo7.js.map +1 -0
- package/dist/{BNav-DfYvjfRK.mjs → BNav-CjXS9tQ5.js} +9 -9
- package/dist/{BNav-DCLambmM.js.map → BNav-CjXS9tQ5.js.map} +1 -1
- package/dist/{BNavbar-xYaikQVY.mjs → BNavbar-DRqkdxTk.js} +12 -9
- package/dist/{BNavbar-BLWaZJRP.js.map → BNavbar-DRqkdxTk.js.map} +1 -1
- package/dist/{BOffcanvas-CF-dWeez.mjs → BOffcanvas-BndaBJoP.js} +22 -16
- package/dist/BOffcanvas-BndaBJoP.js.map +1 -0
- package/dist/{BOverlay-Bh2PIN_q.mjs → BOverlay-CJfy_f6O.js} +6 -6
- package/dist/{BOverlay-Bh4ldxgt.js.map → BOverlay-CJfy_f6O.js.map} +1 -1
- package/dist/{BPagination-D75q-ZNg.mjs → BPagination-D_Hfk6OF.js} +29 -27
- package/dist/{BPagination-fbjFAtxu.js.map → BPagination-D_Hfk6OF.js.map} +1 -1
- package/dist/{BPlaceholder-DPQ6mCLN.mjs → BPlaceholder-DvOCnqDh.js} +11 -11
- package/dist/{BPlaceholder-B3rs_39w.js.map → BPlaceholder-DvOCnqDh.js.map} +1 -1
- package/dist/{BProgress-BZlrPYhA.mjs → BProgress-BNxYppi-.js} +5 -5
- package/dist/{BProgress-th0-eZWo.js.map → BProgress-BNxYppi-.js.map} +1 -1
- package/dist/{BRow-eGSUYGCW.mjs → BRow-CoBI89xF.js} +4 -4
- package/dist/{BRow-7AOuFiSy.js.map → BRow-CoBI89xF.js.map} +1 -1
- package/dist/{BSpinner-CUfGqviV.mjs → BSpinner-H1DZOmiM.js} +4 -4
- package/dist/{BSpinner-DbYIp-C7.js.map → BSpinner-H1DZOmiM.js.map} +1 -1
- package/dist/{BTable-DUHxxWv5.mjs → BTable-BZxX17YU.js} +40 -33
- package/dist/BTable-BZxX17YU.js.map +1 -0
- package/dist/{BTableSimple-C-jn9Nwh.mjs → BTableSimple-2Z7ssnuG.js} +5 -5
- package/dist/{BTableSimple-BkdGAAKb.js.map → BTableSimple-2Z7ssnuG.js.map} +1 -1
- package/dist/{BTabs-D_vWlBjT.mjs → BTabs-BVcu9DPg.js} +19 -17
- package/dist/{BTabs-CvecFg5N.js.map → BTabs-BVcu9DPg.js.map} +1 -1
- package/dist/{BTimeField-BSDaZogC.mjs → BTimeField-CbRGjaI6.js} +24 -19
- package/dist/BTimeField-CbRGjaI6.js.map +1 -0
- package/dist/{BToast-Y8BayxES.mjs → BToast-Di9HwBOV.js} +21 -14
- package/dist/BToast-Di9HwBOV.js.map +1 -0
- package/dist/{BTooltip-CVP8HdkU.mjs → BTooltip-BxaUtV4m.js} +5 -5
- package/dist/{BTooltip-DPLYtaL1.js.map → BTooltip-BxaUtV4m.js.map} +1 -1
- package/dist/{BootstrapVueOptions-Dt1TQdih.mjs → BootstrapVueOptions-DH79gHKG.js} +1 -4
- package/dist/BootstrapVueOptions-DH79gHKG.js.map +1 -0
- package/dist/{ConditionalTeleport-B4KYZIM6.mjs → ConditionalTeleport-BCKPLEun.js} +1 -1
- package/dist/{ConditionalTeleport-BDWcebyD.js.map → ConditionalTeleport-BCKPLEun.js.map} +1 -1
- package/dist/{ConditionalWrapper-Dbc_O6qe.mjs → ConditionalWrapper-CCIk52zt.js} +1 -1
- package/dist/{ConditionalWrapper-DZH_VSwb.js.map → ConditionalWrapper-CCIk52zt.js.map} +1 -1
- package/dist/{DateRangeFieldInput-B86VEz0H.mjs → DateRangeFieldInput-Cbzjg8iF.js} +45 -22
- package/dist/DateRangeFieldInput-Cbzjg8iF.js.map +1 -0
- package/dist/{PopperContent-DmSgsjSC.mjs → PopperContent-C9eeL6LH.js} +395 -100
- package/dist/PopperContent-C9eeL6LH.js.map +1 -0
- package/dist/{VisuallyHidden-C4sXnc-k.mjs → VisuallyHidden-BYzyjJiY.js} +23 -15
- package/dist/VisuallyHidden-BYzyjJiY.js.map +1 -0
- package/dist/{VisuallyHiddenInput-DKIzxsQR.mjs → VisuallyHiddenInput-CUrc8XXa.js} +46 -7
- package/dist/VisuallyHiddenInput-CUrc8XXa.js.map +1 -0
- package/dist/bootstrap-vue-next.mjs +65 -65
- package/dist/{classes-B0E5Y78Y.mjs → classes-BEWWGbj5.js} +1 -1
- package/dist/{classes-D5wrmmVs.js.map → classes-BEWWGbj5.js.map} +1 -1
- package/dist/components/BAccordion/BAccordion.vue.d.mts +9 -13
- package/dist/components/BAccordion/BAccordion.vue.d.ts +9 -13
- package/dist/components/BAccordion/BAccordionItem.vue.d.mts +16 -24
- package/dist/components/BAccordion/BAccordionItem.vue.d.ts +16 -24
- package/dist/components/BAlert/BAlert.vue.d.mts +26 -34
- package/dist/components/BAlert/BAlert.vue.d.ts +26 -34
- package/dist/components/BApp/BApp.vue.d.mts +8 -12
- package/dist/components/BApp/BApp.vue.d.ts +8 -12
- package/dist/components/BApp/BOrchestrator.vue.d.mts +2 -1
- package/dist/components/BApp/BOrchestrator.vue.d.ts +2 -1
- package/dist/components/BAspect/BAspect.vue.d.mts +5 -10
- package/dist/components/BAspect/BAspect.vue.d.ts +5 -10
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.mts +12 -270
- package/dist/components/BAutocomplete/BAutocomplete.vue.d.ts +12 -270
- package/dist/components/BAvatar/BAvatar.vue.d.mts +20 -25
- package/dist/components/BAvatar/BAvatar.vue.d.ts +20 -25
- package/dist/components/BAvatar/BAvatarGroup.vue.d.mts +8 -13
- package/dist/components/BAvatar/BAvatarGroup.vue.d.ts +8 -13
- package/dist/components/BBadge/BBadge.vue.d.mts +13 -18
- package/dist/components/BBadge/BBadge.vue.d.ts +13 -18
- package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.mts +6 -11
- package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.ts +6 -11
- package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.mts +13 -18
- package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.ts +13 -18
- package/dist/components/BButton/BButton.vue.d.mts +17 -25
- package/dist/components/BButton/BButton.vue.d.ts +17 -25
- package/dist/components/BButton/BButtonGroup.vue.d.mts +5 -10
- package/dist/components/BButton/BButtonGroup.vue.d.ts +5 -10
- package/dist/components/BButton/BButtonToolbar.vue.d.mts +7 -16
- package/dist/components/BButton/BButtonToolbar.vue.d.ts +7 -16
- package/dist/components/BButton/BCloseButton.vue.d.mts +4 -3
- package/dist/components/BButton/BCloseButton.vue.d.ts +4 -3
- package/dist/components/BCard/BCard.vue.d.mts +21 -26
- package/dist/components/BCard/BCard.vue.d.ts +21 -26
- package/dist/components/BCard/BCardBody.vue.d.mts +9 -14
- package/dist/components/BCard/BCardBody.vue.d.ts +9 -14
- package/dist/components/BCard/BCardFooter.vue.d.mts +7 -11
- package/dist/components/BCard/BCardFooter.vue.d.ts +7 -11
- package/dist/components/BCard/BCardGroup.vue.d.mts +5 -10
- package/dist/components/BCard/BCardGroup.vue.d.ts +5 -10
- package/dist/components/BCard/BCardHeader.vue.d.mts +7 -12
- package/dist/components/BCard/BCardHeader.vue.d.ts +7 -12
- package/dist/components/BCard/BCardImg.vue.d.mts +7 -6
- package/dist/components/BCard/BCardImg.vue.d.ts +7 -6
- package/dist/components/BCard/BCardSubtitle.vue.d.mts +6 -11
- package/dist/components/BCard/BCardSubtitle.vue.d.ts +6 -11
- package/dist/components/BCard/BCardText.vue.d.mts +5 -10
- package/dist/components/BCard/BCardText.vue.d.ts +5 -10
- package/dist/components/BCard/BCardTitle.vue.d.mts +5 -10
- package/dist/components/BCard/BCardTitle.vue.d.ts +5 -10
- package/dist/components/BCardHeadFoot.vue.d.mts +6 -11
- package/dist/components/BCardHeadFoot.vue.d.ts +6 -11
- package/dist/components/BCarousel/BCarousel.vue.d.mts +12 -24
- package/dist/components/BCarousel/BCarousel.vue.d.ts +12 -24
- package/dist/components/BCarousel/BCarouselSlide.vue.d.mts +7 -12
- package/dist/components/BCarousel/BCarouselSlide.vue.d.ts +7 -12
- package/dist/components/BCollapse/BCollapse.vue.d.mts +13 -21
- package/dist/components/BCollapse/BCollapse.vue.d.ts +13 -21
- package/dist/components/BContainer/BCol.vue.d.mts +8 -13
- package/dist/components/BContainer/BCol.vue.d.ts +8 -13
- package/dist/components/BContainer/BContainer.vue.d.mts +5 -10
- package/dist/components/BContainer/BContainer.vue.d.ts +5 -10
- package/dist/components/BContainer/BRow.vue.d.mts +6 -11
- package/dist/components/BContainer/BRow.vue.d.ts +6 -11
- package/dist/components/BDateField/BDateField.vue.d.mts +8 -12
- package/dist/components/BDateField/BDateField.vue.d.ts +8 -12
- package/dist/components/BDateField/BDateRangeField.vue.d.mts +8 -12
- package/dist/components/BDateField/BDateRangeField.vue.d.ts +8 -12
- package/dist/components/BDateField/BTimeRangeField.vue.d.mts +9 -13
- package/dist/components/BDateField/BTimeRangeField.vue.d.ts +9 -13
- package/dist/components/BDatePicker/BDatePicker.vue.d.mts +9 -13
- package/dist/components/BDatePicker/BDatePicker.vue.d.ts +9 -13
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.mts +9 -13
- package/dist/components/BDatePicker/BDateRangePicker.vue.d.ts +9 -13
- package/dist/components/BDropdown/BDropdown.vue.d.mts +24 -957
- package/dist/components/BDropdown/BDropdown.vue.d.ts +24 -957
- package/dist/components/BDropdown/BDropdownDivider.vue.d.mts +3 -2
- package/dist/components/BDropdown/BDropdownDivider.vue.d.ts +3 -2
- package/dist/components/BDropdown/BDropdownForm.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownForm.vue.d.ts +6 -11
- package/dist/components/BDropdown/BDropdownGroup.vue.d.mts +5 -10
- package/dist/components/BDropdown/BDropdownGroup.vue.d.ts +5 -10
- package/dist/components/BDropdown/BDropdownHeader.vue.d.mts +7 -12
- package/dist/components/BDropdown/BDropdownHeader.vue.d.ts +7 -12
- package/dist/components/BDropdown/BDropdownItem.vue.d.mts +12 -17
- package/dist/components/BDropdown/BDropdownItem.vue.d.ts +12 -17
- package/dist/components/BDropdown/BDropdownItemButton.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownItemButton.vue.d.ts +6 -11
- package/dist/components/BDropdown/BDropdownText.vue.d.mts +6 -11
- package/dist/components/BDropdown/BDropdownText.vue.d.ts +6 -11
- package/dist/components/BForm/BForm.vue.d.mts +8 -17
- package/dist/components/BForm/BForm.vue.d.ts +8 -17
- package/dist/components/BForm/BFormDatalist.vue.d.mts +12 -7
- package/dist/components/BForm/BFormDatalist.vue.d.ts +12 -7
- package/dist/components/BForm/BFormDatalistBase.vue.d.mts +20 -22
- package/dist/components/BForm/BFormDatalistBase.vue.d.ts +20 -22
- package/dist/components/BForm/BFormFloatingLabel.vue.d.mts +6 -11
- package/dist/components/BForm/BFormFloatingLabel.vue.d.ts +6 -11
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.mts +6 -11
- package/dist/components/BForm/BFormInvalidFeedback.vue.d.ts +6 -11
- package/dist/components/BForm/BFormRow.vue.d.mts +5 -10
- package/dist/components/BForm/BFormRow.vue.d.ts +5 -10
- package/dist/components/BForm/BFormText.vue.d.mts +6 -11
- package/dist/components/BForm/BFormText.vue.d.ts +6 -11
- package/dist/components/BForm/BFormValidFeedback.vue.d.mts +6 -11
- package/dist/components/BForm/BFormValidFeedback.vue.d.ts +6 -11
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.mts +14 -22
- package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.ts +14 -22
- package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.mts +16 -11
- package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.ts +16 -11
- package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.mts +22 -27
- package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.ts +22 -27
- package/dist/components/BFormFile/BFormFile.vue.d.mts +9 -25
- package/dist/components/BFormFile/BFormFile.vue.d.ts +9 -25
- package/dist/components/BFormGroup/BFormGroup.vue.d.mts +14 -23
- package/dist/components/BFormGroup/BFormGroup.vue.d.ts +14 -23
- package/dist/components/BFormGroupContent.vue.d.mts +8 -17
- package/dist/components/BFormGroupContent.vue.d.ts +8 -17
- package/dist/components/BFormGroupLabel.vue.d.mts +6 -13
- package/dist/components/BFormGroupLabel.vue.d.ts +6 -13
- package/dist/components/BFormInput/BFormInput.vue.d.mts +10 -10
- package/dist/components/BFormInput/BFormInput.vue.d.ts +10 -10
- package/dist/components/BFormOtp/BFormOtp.vue.d.mts +7 -5
- package/dist/components/BFormOtp/BFormOtp.vue.d.ts +7 -5
- package/dist/components/BFormRadio/BFormRadio.vue.d.mts +13 -21
- package/dist/components/BFormRadio/BFormRadio.vue.d.ts +13 -21
- package/dist/components/BFormRadio/BFormRadioGroup.vue.d.mts +21 -14
- package/dist/components/BFormRadio/BFormRadioGroup.vue.d.ts +21 -14
- package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.mts +14 -22
- package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.ts +14 -22
- package/dist/components/BFormRating/BFormRating.vue.d.mts +10 -12
- package/dist/components/BFormRating/BFormRating.vue.d.ts +10 -12
- package/dist/components/BFormSelect/BFormSelect.vue.d.mts +16 -11
- package/dist/components/BFormSelect/BFormSelect.vue.d.ts +16 -11
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.mts +24 -29
- package/dist/components/BFormSelect/BFormSelectBase.vue.d.ts +24 -29
- package/dist/components/BFormSelect/BFormSelectOption.vue.d.mts +12 -7
- package/dist/components/BFormSelect/BFormSelectOption.vue.d.ts +12 -7
- package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.mts +12 -7
- package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.ts +12 -7
- package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.mts +11 -12
- package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.ts +11 -12
- package/dist/components/BFormTags/BFormTag.vue.d.mts +7 -12
- package/dist/components/BFormTags/BFormTag.vue.d.ts +7 -12
- package/dist/components/BFormTags/BFormTags.vue.d.mts +12 -20
- package/dist/components/BFormTags/BFormTags.vue.d.ts +12 -20
- package/dist/components/BFormTextarea/BFormTextarea.vue.d.mts +12 -12
- package/dist/components/BFormTextarea/BFormTextarea.vue.d.ts +12 -12
- package/dist/components/BImg/BImg.vue.d.mts +7 -6
- package/dist/components/BImg/BImg.vue.d.ts +7 -6
- package/dist/components/BInputGroup/BInputGroup.vue.d.mts +5 -10
- package/dist/components/BInputGroup/BInputGroup.vue.d.ts +5 -10
- package/dist/components/BInputGroup/BInputGroupText.vue.d.mts +5 -10
- package/dist/components/BInputGroup/BInputGroupText.vue.d.ts +5 -10
- package/dist/components/BLink/BLink.vue.d.mts +12 -17
- package/dist/components/BLink/BLink.vue.d.ts +12 -17
- package/dist/components/BListGroup/BListGroup.vue.d.mts +5 -10
- package/dist/components/BListGroup/BListGroup.vue.d.ts +5 -10
- package/dist/components/BListGroup/BListGroupItem.vue.d.mts +13 -18
- package/dist/components/BListGroup/BListGroupItem.vue.d.ts +13 -18
- package/dist/components/BModal/BModal.vue.d.mts +47 -1026
- package/dist/components/BModal/BModal.vue.d.ts +47 -1026
- package/dist/components/BNav/BNav.vue.d.mts +7 -12
- package/dist/components/BNav/BNav.vue.d.ts +7 -12
- package/dist/components/BNav/BNavForm.vue.d.mts +8 -13
- package/dist/components/BNav/BNavForm.vue.d.ts +8 -13
- package/dist/components/BNav/BNavItem.vue.d.mts +12 -17
- package/dist/components/BNav/BNavItem.vue.d.ts +12 -17
- package/dist/components/BNav/BNavItemDropdown.vue.d.mts +20 -1660
- package/dist/components/BNav/BNavItemDropdown.vue.d.ts +20 -1660
- package/dist/components/BNav/BNavText.vue.d.mts +6 -11
- package/dist/components/BNav/BNavText.vue.d.ts +6 -11
- package/dist/components/BNavbar/BNavbar.vue.d.mts +6 -11
- package/dist/components/BNavbar/BNavbar.vue.d.ts +6 -11
- package/dist/components/BNavbar/BNavbarBrand.vue.d.mts +11 -16
- package/dist/components/BNavbar/BNavbarBrand.vue.d.ts +11 -16
- package/dist/components/BNavbar/BNavbarNav.vue.d.mts +7 -12
- package/dist/components/BNavbar/BNavbarNav.vue.d.ts +7 -12
- package/dist/components/BNavbar/BNavbarToggle.vue.d.mts +7 -12
- package/dist/components/BNavbar/BNavbarToggle.vue.d.ts +7 -12
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.mts +28 -82
- package/dist/components/BOffcanvas/BOffcanvas.vue.d.ts +28 -82
- package/dist/components/BOverlay/BOverlay.vue.d.mts +17 -22
- package/dist/components/BOverlay/BOverlay.vue.d.ts +17 -22
- package/dist/components/BPagination/BPagination.vue.d.mts +9 -10
- package/dist/components/BPagination/BPagination.vue.d.ts +9 -10
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.mts +3 -2
- package/dist/components/BPlaceholder/BPlaceholder.vue.d.ts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.mts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.ts +3 -2
- package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.mts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.ts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.mts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.ts +8 -13
- package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.mts +5 -10
- package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.ts +5 -10
- package/dist/components/BPopover/BPopover.vue.d.mts +35 -49
- package/dist/components/BPopover/BPopover.vue.d.ts +35 -49
- package/dist/components/BProgress/BProgress.vue.d.mts +10 -15
- package/dist/components/BProgress/BProgress.vue.d.ts +10 -15
- package/dist/components/BProgress/BProgressBar.vue.d.mts +9 -14
- package/dist/components/BProgress/BProgressBar.vue.d.ts +9 -14
- package/dist/components/BSpinner/BSpinner.vue.d.mts +7 -12
- package/dist/components/BSpinner/BSpinner.vue.d.ts +7 -12
- package/dist/components/BTable/BTable.vue.d.mts +35 -30
- package/dist/components/BTable/BTable.vue.d.ts +35 -30
- package/dist/components/BTable/BTableLite.vue.d.mts +24 -19
- package/dist/components/BTable/BTableLite.vue.d.ts +24 -19
- package/dist/components/BTable/BTableSimple.vue.d.mts +9 -14
- package/dist/components/BTable/BTableSimple.vue.d.ts +9 -14
- package/dist/components/BTable/BTbody.vue.d.mts +6 -11
- package/dist/components/BTable/BTbody.vue.d.ts +6 -11
- package/dist/components/BTable/BTd.vue.d.mts +6 -11
- package/dist/components/BTable/BTd.vue.d.ts +6 -11
- package/dist/components/BTable/BTfoot.vue.d.mts +6 -11
- package/dist/components/BTable/BTfoot.vue.d.ts +6 -11
- package/dist/components/BTable/BTh.vue.d.mts +6 -11
- package/dist/components/BTable/BTh.vue.d.ts +6 -11
- package/dist/components/BTable/BThead.vue.d.mts +6 -11
- package/dist/components/BTable/BThead.vue.d.ts +6 -11
- package/dist/components/BTable/BTr.vue.d.mts +6 -11
- package/dist/components/BTable/BTr.vue.d.ts +6 -11
- package/dist/components/BTabs/BTab.vue.d.mts +10 -18
- package/dist/components/BTabs/BTab.vue.d.ts +10 -18
- package/dist/components/BTabs/BTabs.vue.d.mts +10 -14
- package/dist/components/BTabs/BTabs.vue.d.ts +10 -14
- package/dist/components/BTabsTabContent.vue.d.mts +7 -15
- package/dist/components/BTabsTabContent.vue.d.ts +7 -15
- package/dist/components/BTimeField/BTimeField.vue.d.mts +8 -12
- package/dist/components/BTimeField/BTimeField.vue.d.ts +8 -12
- package/dist/components/BToast/BToast.vue.d.mts +25 -33
- package/dist/components/BToast/BToast.vue.d.ts +25 -33
- package/dist/components/BTooltip/BTooltip.vue.d.mts +32 -732
- package/dist/components/BTooltip/BTooltip.vue.d.ts +32 -732
- package/dist/components/ConditionalTeleport.vue.d.mts +3 -2
- package/dist/components/ConditionalTeleport.vue.d.ts +3 -2
- package/dist/components/ConditionalWrapper.vue.d.mts +3 -2
- package/dist/components/ConditionalWrapper.vue.d.ts +3 -2
- package/dist/composables/index.d.mts +3 -3
- package/dist/composables/index.d.ts +3 -3
- package/dist/composables/orchestratorShared/index.d.mts +25 -14
- package/dist/composables/orchestratorShared/index.d.ts +25 -14
- package/dist/composables/useBLinkHelper.d.mts +1 -1
- package/dist/composables/useBLinkHelper.d.ts +1 -1
- package/dist/composables/useModal/index.d.mts +8 -33
- package/dist/composables/useModal/index.d.ts +8 -33
- package/dist/composables/usePopover/index.d.mts +332 -4532
- package/dist/composables/usePopover/index.d.ts +332 -4532
- package/dist/composables/useShowHide.d.mts +21 -15
- package/dist/composables/useShowHide.d.ts +21 -15
- package/dist/composables/useToast/index.d.mts +7 -18
- package/dist/composables/useToast/index.d.ts +7 -18
- package/dist/console-DaUCJgpk.js +15 -0
- package/dist/console-DaUCJgpk.js.map +1 -0
- package/dist/{constants-Ba9iJn2H.mjs → constants-Cap5sNf8.js} +1 -1
- package/dist/{constants-BLIvvaat.js.map → constants-Cap5sNf8.js.map} +1 -1
- package/dist/{debounce-DHxNfjan.mjs → debounce-Xj7wsAmR.js} +2 -2
- package/dist/{debounce-D6kifS6w.js.map → debounce-Xj7wsAmR.js.map} +1 -1
- package/dist/{dist-Dk9C_HFS.mjs → dist-9-XTMhb-.js} +5 -539
- package/dist/dist-9-XTMhb-.js.map +1 -0
- package/dist/dist-B-regXAP.js +123 -0
- package/dist/dist-B-regXAP.js.map +1 -0
- package/dist/dist-DKc2ivHS.js +411 -0
- package/dist/dist-DKc2ivHS.js.map +1 -0
- package/dist/{dom-AhkaSoh8.mjs → dom-BdUQrX99.js} +3 -2
- package/dist/dom-BdUQrX99.js.map +1 -0
- package/dist/{flattenFragments-ClbLQGqR.mjs → flattenFragments-B15oMVs-.js} +1 -1
- package/dist/{flattenFragments-C1WWqm25.js.map → flattenFragments-B15oMVs-.js.map} +1 -1
- package/dist/{floating-ui.vue-CH2o_mZU.mjs → floating-ui.dom-C7UZexJK.js} +114 -338
- package/dist/floating-ui.dom-C7UZexJK.js.map +1 -0
- package/dist/{floatingUi-62aeQtAb.mjs → floatingUi-BlKoACvc.js} +194 -27
- package/dist/floatingUi-BlKoACvc.js.map +1 -0
- package/dist/{functions-BcMenQqL.mjs → functions-BUZ1y9RA.js} +1 -1
- package/dist/functions-BUZ1y9RA.js.map +1 -0
- package/dist/{getClasses-COokMI60.mjs → getClasses-BlbbSJNl.js} +1 -1
- package/dist/{getClasses-8P0iBind.js.map → getClasses-BlbbSJNl.js.map} +1 -1
- package/dist/{getElement-D2Jr1cbp.mjs → getElement-uvhh1lgL.js} +2 -2
- package/dist/{getElement-DWGFJn0w.js.map → getElement-uvhh1lgL.js.map} +1 -1
- package/dist/{keys-DU7sQgl3.mjs → keys-BgLwJbLV.js} +1 -1
- package/dist/keys-BgLwJbLV.js.map +1 -0
- package/dist/{object-CHQkkner.mjs → object-C7YmCGEm.js} +10 -6
- package/dist/object-C7YmCGEm.js.map +1 -0
- package/dist/{registryAccess-BkJDdh-3.mjs → registryAccess-YFj5ZD5T.js} +1 -1
- package/dist/{registryAccess-B9QDQwV8.js.map → registryAccess-YFj5ZD5T.js.map} +1 -1
- package/dist/src/components/BAccordion/index.mjs +1 -1
- package/dist/src/components/BAlert/index.mjs +1 -1
- package/dist/src/components/BApp/index.mjs +1 -1
- package/dist/src/components/BAspect/index.mjs +1 -1
- package/dist/src/components/BAutocomplete/index.mjs +1 -1
- package/dist/src/components/BAvatar/index.mjs +1 -1
- package/dist/src/components/BBadge/index.mjs +1 -1
- package/dist/src/components/BBreadcrumb/index.mjs +1 -1
- package/dist/src/components/BButton/index.mjs +3 -3
- package/dist/src/components/BCard/index.mjs +2 -2
- package/dist/src/components/BCarousel/index.mjs +1 -1
- package/dist/src/components/BCol/index.mjs +1 -1
- package/dist/src/components/BCollapse/index.mjs +1 -1
- package/dist/src/components/BContainer/index.mjs +3 -3
- package/dist/src/components/BDateField/index.mjs +1 -1
- package/dist/src/components/BDatePicker/index.mjs +1 -1
- package/dist/src/components/BDropdown/index.mjs +2 -2
- package/dist/src/components/BForm/index.mjs +3 -3
- package/dist/src/components/BFormCheckbox/index.mjs +1 -1
- package/dist/src/components/BFormFile/index.mjs +1 -1
- package/dist/src/components/BFormGroup/index.mjs +1 -1
- package/dist/src/components/BFormInput/index.mjs +1 -1
- package/dist/src/components/BFormOtp/index.mjs +1 -1
- package/dist/src/components/BFormRadio/index.mjs +1 -1
- package/dist/src/components/BFormRating/index.mjs +1 -1
- package/dist/src/components/BFormSelect/index.mjs +2 -2
- package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
- package/dist/src/components/BFormTags/index.mjs +2 -2
- package/dist/src/components/BFormTextarea/index.mjs +1 -1
- package/dist/src/components/BImg/index.mjs +1 -1
- package/dist/src/components/BInputGroup/index.mjs +2 -2
- package/dist/src/components/BLink/index.mjs +1 -1
- package/dist/src/components/BListGroup/index.mjs +1 -1
- package/dist/src/components/BModal/index.mjs +1 -1
- package/dist/src/components/BNav/index.mjs +1 -1
- package/dist/src/components/BNavbar/index.mjs +1 -1
- package/dist/src/components/BOffcanvas/index.mjs +1 -1
- package/dist/src/components/BOverlay/index.mjs +1 -1
- package/dist/src/components/BPagination/index.mjs +1 -1
- package/dist/src/components/BPlaceholder/index.mjs +1 -1
- package/dist/src/components/BPopover/index.mjs +1 -1
- package/dist/src/components/BProgress/index.mjs +1 -1
- package/dist/src/components/BRow/index.mjs +1 -1
- package/dist/src/components/BSpinner/index.mjs +1 -1
- package/dist/src/components/BTable/index.mjs +2 -2
- package/dist/src/components/BTabs/index.mjs +1 -1
- package/dist/src/components/BTimeField/index.mjs +1 -1
- package/dist/src/components/BToast/index.mjs +1 -1
- package/dist/src/components/BTooltip/index.mjs +1 -1
- package/dist/src/components/index.mjs +60 -68
- package/dist/src/composables/index.mjs +5 -8
- package/dist/src/composables/index.mjs.map +1 -1
- package/dist/src/composables/orchestratorShared/index.mjs +79 -82
- package/dist/src/composables/orchestratorShared/index.mjs.map +1 -1
- package/dist/src/composables/useBreadcrumb/index.mjs +1 -1
- package/dist/src/composables/useBreadcrumb/index.mjs.map +1 -1
- package/dist/src/composables/useColorMode/index.mjs +2 -2
- package/dist/src/composables/useColorMode/index.mjs.map +1 -1
- package/dist/src/composables/useModal/index.mjs +65 -64
- package/dist/src/composables/useModal/index.mjs.map +1 -1
- package/dist/src/composables/usePopover/index.mjs +51 -68
- package/dist/src/composables/usePopover/index.mjs.map +1 -1
- package/dist/src/composables/useProvideDefaults/index.mjs +4 -3
- package/dist/src/composables/useProvideDefaults/index.mjs.map +1 -1
- package/dist/src/composables/useRegistry/index.mjs +5 -3
- package/dist/src/composables/useRegistry/index.mjs.map +1 -1
- package/dist/src/composables/useScrollLock/index.mjs +2 -1
- package/dist/src/composables/useScrollLock/index.mjs.map +1 -1
- package/dist/src/composables/useScrollspy/index.mjs +16 -13
- package/dist/src/composables/useScrollspy/index.mjs.map +1 -1
- package/dist/src/composables/useToast/index.mjs +45 -66
- package/dist/src/composables/useToast/index.mjs.map +1 -1
- package/dist/src/composables/useToggle/index.mjs +5 -3
- package/dist/src/composables/useToggle/index.mjs.map +1 -1
- package/dist/src/directives/BColorMode/index.mjs.map +1 -1
- package/dist/src/directives/BPopover/index.mjs +2 -2
- package/dist/src/directives/BPopover/index.mjs.map +1 -1
- package/dist/src/directives/BScrollspy/index.mjs +3 -3
- package/dist/src/directives/BScrollspy/index.mjs.map +1 -1
- package/dist/src/directives/BToggle/index.mjs +8 -6
- package/dist/src/directives/BToggle/index.mjs.map +1 -1
- package/dist/src/directives/BTooltip/index.mjs +2 -2
- package/dist/src/directives/BTooltip/index.mjs.map +1 -1
- package/dist/src/directives/index.mjs +1 -2
- package/dist/src/plugins/createBootstrap/index.mjs +1 -1
- package/dist/src/plugins/createBootstrap/index.mjs.map +1 -1
- package/dist/src/plugins/index.mjs +1 -1
- package/dist/src/plugins/orchestrator/index.mjs +1 -1
- package/dist/src/plugins/orchestrator/index.mjs.map +1 -1
- package/dist/src/plugins/registry/index.mjs +1 -1
- package/dist/src/plugins/registry/index.mjs.map +1 -1
- package/dist/src/plugins/rtl/index.mjs +1 -1
- package/dist/src/plugins/rtl/index.mjs.map +1 -1
- package/dist/src/resolvers/index.mjs +2 -2
- package/dist/src/resolvers/index.mjs.map +1 -1
- package/dist/src/types/index.mjs +2 -2
- package/dist/src/utils/index.mjs +2 -2
- package/dist/{stringUtils-D4eEDlt1.mjs → stringUtils-CVySsg3y.js} +2 -2
- package/dist/{stringUtils-68ZN_GRt.js.map → stringUtils-CVySsg3y.js.map} +1 -1
- package/dist/types/BootstrapVueOptions.d.mts +1 -4
- package/dist/types/BootstrapVueOptions.d.ts +1 -4
- package/dist/types/ComponentOrchestratorTypes.d.mts +62 -186
- package/dist/types/ComponentOrchestratorTypes.d.ts +62 -186
- package/dist/types/ComponentProps.d.mts +2 -0
- package/dist/types/ComponentProps.d.ts +2 -0
- package/dist/types/ComponentSlots.d.mts +1 -1
- package/dist/types/ComponentSlots.d.ts +1 -1
- package/dist/{useAlignment-DuR8ymKI.mjs → useAlignment-DaP-psIh.js} +1 -1
- package/dist/{useAlignment-oKolnDpb.js.map → useAlignment-DaP-psIh.js.map} +1 -1
- package/dist/{useAriaInvalid-apOwgexm.mjs → useAriaInvalid-CRUhkD2V.js} +1 -1
- package/dist/{useAriaInvalid-CHHPHNLU.js.map → useAriaInvalid-CRUhkD2V.js.map} +1 -1
- package/dist/{useColorVariantClasses-CqeXHjRh.mjs → useColorVariantClasses-DHQvLjek.js} +1 -1
- package/dist/{useColorVariantClasses-Dq0sOYDL.js.map → useColorVariantClasses-DHQvLjek.js.map} +1 -1
- package/dist/{useCountdownHover-C3NXiAaF.mjs → useCountdownHover-BN8vJIQW.js} +4 -3
- package/dist/{useCountdownHover-DbVhE-N0.js.map → useCountdownHover-BN8vJIQW.js.map} +1 -1
- package/dist/{useDateField-CJKgollJ.mjs → useDateField-CQZb799C.js} +680 -627
- package/dist/useDateField-CQZb799C.js.map +1 -0
- package/dist/{useDefaults-DseelK6y.mjs → useDefaults-BzP4qZBu.js} +2 -2
- package/dist/{useDefaults-C0CYry78.js.map → useDefaults-BzP4qZBu.js.map} +1 -1
- package/dist/{useFormCheck-BKXrwS3g.mjs → useFormCheck-fArncQY5.js} +3 -3
- package/dist/{useFormCheck-DYjLG4WA.js.map → useFormCheck-fArncQY5.js.map} +1 -1
- package/dist/{useFormInput-CXl8rpD0.mjs → useFormInput-DZ_3ZH1o.js} +8 -7
- package/dist/{useFormInput-ip9hN2AU.js.map → useFormInput-DZ_3ZH1o.js.map} +1 -1
- package/dist/{useFormSelect-BM0rsjni.mjs → useFormSelect-CwS8YuiQ.js} +3 -3
- package/dist/{useFormSelect-ClmzGzOy.js.map → useFormSelect-CwS8YuiQ.js.map} +1 -1
- package/dist/{useForwardExpose-Cob6LlGd.mjs → useForwardExpose-DDvk7mir.js} +5 -13
- package/dist/useForwardExpose-DDvk7mir.js.map +1 -0
- package/dist/{useId-D1sqXtwx.mjs → useId-Fh-Arhb7.js} +2 -2
- package/dist/{useId-BkAY2oh6.js.map → useId-Fh-Arhb7.js.map} +1 -1
- package/dist/{useKbd-DfmgFov6.mjs → useKbd-DRsaFU_f.js} +6 -18
- package/dist/useKbd-DRsaFU_f.js.map +1 -0
- package/dist/{useNumberishToStyle-DgS1slD3.mjs → useNumberishToStyle-DCnYcI6A.js} +2 -2
- package/dist/{useNumberishToStyle-BtMa0R27.js.map → useNumberishToStyle-DCnYcI6A.js.map} +1 -1
- package/dist/{useRadiusElementClasses-BW832F7F.mjs → useRadiusElementClasses-CKCJjpkK.js} +1 -1
- package/dist/{useRadiusElementClasses-DWiUVgex.js.map → useRadiusElementClasses-CKCJjpkK.js.map} +1 -1
- package/dist/{useRtl-CGoXBxNo.mjs → useRtl-FeLayV4k.js} +3 -3
- package/dist/{useRtl-BSgvbs5F.js.map → useRtl-FeLayV4k.js.map} +1 -1
- package/dist/{useSafeScrollLock-Me5LyqjD.mjs → useSafeScrollLock-PVgSASYu.js} +136 -216
- package/dist/useSafeScrollLock-PVgSASYu.js.map +1 -0
- package/dist/{useShowHide-CBFt1_EW.mjs → useShowHide-C95Y9EKL.js} +15 -14
- package/dist/useShowHide-C95Y9EKL.js.map +1 -0
- package/dist/{useStateClass-DxlL_m2E.mjs → useStateClass-BF7kf2zK.js} +1 -1
- package/dist/{useStateClass-CXK3nCg9.js.map → useStateClass-BF7kf2zK.js.map} +1 -1
- package/dist/utils/console.d.mts +2 -0
- package/dist/utils/console.d.ts +2 -0
- package/dist/utils/keys.d.mts +12 -4
- package/dist/utils/keys.d.ts +12 -4
- package/dist/{utils-CWvndqPg.mjs → utils-nRGGHA_i.js} +14 -10
- package/dist/utils-nRGGHA_i.js.map +1 -0
- package/package.json +65 -136
- package/dist/BAccordion-D51b9HVD.mjs.map +0 -1
- package/dist/BAccordion-DYmuqZIG.js +0 -360
- package/dist/BAccordion-DYmuqZIG.js.map +0 -1
- package/dist/BAlert-Ce2uxrJi.mjs.map +0 -1
- package/dist/BAlert-croEtrQu.js +0 -297
- package/dist/BAlert-croEtrQu.js.map +0 -1
- package/dist/BApp-B-fUrnpK.mjs.map +0 -1
- package/dist/BApp-DOvEe1jo.js +0 -181
- package/dist/BApp-DOvEe1jo.js.map +0 -1
- package/dist/BAspect-CUIU48Ck.js +0 -50
- package/dist/BAspect-wfiXM4KA.mjs.map +0 -1
- package/dist/BAutocomplete-CH-bQzME.mjs.map +0 -1
- package/dist/BAutocomplete-DLDFAV5_.js +0 -2402
- package/dist/BAutocomplete-DLDFAV5_.js.map +0 -1
- package/dist/BAvatar-FGK0dK0x.js +0 -386
- package/dist/BAvatar-FGK0dK0x.js.map +0 -1
- package/dist/BAvatar-iALHbqVk.mjs.map +0 -1
- package/dist/BBadge-Cx_CdauK.mjs.map +0 -1
- package/dist/BBadge-Db6SEnzy.js +0 -145
- package/dist/BBreadcrumb-B9ra7vg2.js +0 -166
- package/dist/BBreadcrumb-BxADbg0O.mjs.map +0 -1
- package/dist/BButton-BSa7LfL5.mjs.map +0 -1
- package/dist/BButton-DRRlzkyK.js +0 -156
- package/dist/BButton-PY7AANXJ.mjs.map +0 -1
- package/dist/BButton-aYtMnyHu.js +0 -190
- package/dist/BCard-BWoruisp.mjs.map +0 -1
- package/dist/BCard-Bh8RLMo_.js +0 -52
- package/dist/BCard-CHbKv2OR.mjs.map +0 -1
- package/dist/BCard-DwNYhVmg.js +0 -444
- package/dist/BCarousel-2JB21Pcu.js +0 -427
- package/dist/BCarousel-B6_bgQpl.mjs.map +0 -1
- package/dist/BCloseButton-CKTKr4PS.mjs.map +0 -1
- package/dist/BCloseButton-D42zHRLP.js +0 -45
- package/dist/BCol-B3VeEk9z.mjs.map +0 -1
- package/dist/BCol-Ck9VydHj.js +0 -140
- package/dist/BCollapse-CDLYLSZo.js +0 -183
- package/dist/BCollapse-CDLYLSZo.js.map +0 -1
- package/dist/BCollapse-kqhe4AmL.mjs.map +0 -1
- package/dist/BContainer-ATfhaxTc.mjs.map +0 -1
- package/dist/BContainer-CcF6dgtI.js +0 -44
- package/dist/BDateField-CccP3H1R.mjs.map +0 -1
- package/dist/BDateField-DzZw5FRX.js +0 -919
- package/dist/BDateField-DzZw5FRX.js.map +0 -1
- package/dist/BDatePicker-BDkzkOcm.js +0 -5138
- package/dist/BDatePicker-BDkzkOcm.js.map +0 -1
- package/dist/BDatePicker-BnwnSkBg.mjs.map +0 -1
- package/dist/BDropdown-0E8x5kk6.mjs.map +0 -1
- package/dist/BDropdown-B1DbvVzm.mjs.map +0 -1
- package/dist/BDropdown-BPFtkX3p.js +0 -403
- package/dist/BDropdown-BPFtkX3p.js.map +0 -1
- package/dist/BDropdown-DKCgBzYS.js +0 -415
- package/dist/BForm-6JlWdQMO.js +0 -126
- package/dist/BForm-BVfW08s5.mjs.map +0 -1
- package/dist/BForm-DJu2hDV_.mjs.map +0 -1
- package/dist/BForm-cnRpggt9.js +0 -51
- package/dist/BFormCheckbox-Baf_9BSc.mjs.map +0 -1
- package/dist/BFormCheckbox-D5ySHMJ8.js +0 -489
- package/dist/BFormCheckbox-D5ySHMJ8.js.map +0 -1
- package/dist/BFormFile-CZebm0Cp.mjs.map +0 -1
- package/dist/BFormFile-MISLntyJ.js +0 -423
- package/dist/BFormGroup-Bk1t-D1N.js +0 -490
- package/dist/BFormGroup-Bk1t-D1N.js.map +0 -1
- package/dist/BFormGroup-vysRPb99.mjs.map +0 -1
- package/dist/BFormInput-CBwwDjfC.js +0 -142
- package/dist/BFormInput-sEfU3CuN.mjs.map +0 -1
- package/dist/BFormOtp-C8X3u1od.mjs.map +0 -1
- package/dist/BFormOtp-CLrQJRPe.js +0 -542
- package/dist/BFormOtp-CLrQJRPe.js.map +0 -1
- package/dist/BFormRadio-B2yu-o2v.js +0 -432
- package/dist/BFormRadio-B2yu-o2v.js.map +0 -1
- package/dist/BFormRadio-COc_IbxC.mjs.map +0 -1
- package/dist/BFormRating-CIgPVsH_.mjs.map +0 -1
- package/dist/BFormRating-CSdRxN5z.js +0 -263
- package/dist/BFormRating-CSdRxN5z.js.map +0 -1
- package/dist/BFormSelect-CI92Dv27.js +0 -310
- package/dist/BFormSelect-CI92Dv27.js.map +0 -1
- package/dist/BFormSelect-P-InkOm-.mjs.map +0 -1
- package/dist/BFormSelectOption-DFN4lPRh.mjs.map +0 -1
- package/dist/BFormSelectOption-DrwJucNf.js +0 -46
- package/dist/BFormSpinbutton-1gTz4nTo.js +0 -447
- package/dist/BFormSpinbutton-6qkTBF_4.mjs.map +0 -1
- package/dist/BFormTag-CeV0MSRC.js +0 -86
- package/dist/BFormTag-CnzI39y9.mjs.map +0 -1
- package/dist/BFormTags-BMltSaKL.mjs.map +0 -1
- package/dist/BFormTags-BhO60uiL.js +0 -427
- package/dist/BFormTags-BhO60uiL.js.map +0 -1
- package/dist/BFormTextarea-C3Cj0DWj.js +0 -203
- package/dist/BFormTextarea-DN1gAfSo.mjs.map +0 -1
- package/dist/BFormValidFeedback-CBYxQLDz.mjs.map +0 -1
- package/dist/BFormValidFeedback-Kwxh798d.js +0 -223
- package/dist/BImg-JKJLgYYT.js +0 -168
- package/dist/BImg-QBS2ECBc.mjs.map +0 -1
- package/dist/BInputGroup-Bvlfv6VD.js +0 -55
- package/dist/BInputGroup-D4fW324B.js +0 -31
- package/dist/BInputGroup-DiTSexkT.mjs.map +0 -1
- package/dist/BInputGroup-X2Z53RJx.mjs.map +0 -1
- package/dist/BLink-Dfgte6dQ.mjs.map +0 -1
- package/dist/BLink-kLEjleB1.js +0 -276
- package/dist/BListGroup-C8JOzHTz.js +0 -167
- package/dist/BListGroup-DwTLpNiD.mjs.map +0 -1
- package/dist/BModal-C-ZCau2E.mjs.map +0 -1
- package/dist/BModal-VstTwEq9.js +0 -521
- package/dist/BModal-VstTwEq9.js.map +0 -1
- package/dist/BNav-DCLambmM.js +0 -453
- package/dist/BNav-DfYvjfRK.mjs.map +0 -1
- package/dist/BNavbar-BLWaZJRP.js +0 -245
- package/dist/BNavbar-xYaikQVY.mjs.map +0 -1
- package/dist/BOffcanvas-C7HenFW0.js +0 -331
- package/dist/BOffcanvas-C7HenFW0.js.map +0 -1
- package/dist/BOffcanvas-CF-dWeez.mjs.map +0 -1
- package/dist/BOverlay-Bh2PIN_q.mjs.map +0 -1
- package/dist/BOverlay-Bh4ldxgt.js +0 -203
- package/dist/BPagination-D75q-ZNg.mjs.map +0 -1
- package/dist/BPagination-fbjFAtxu.js +0 -446
- package/dist/BPlaceholder-B3rs_39w.js +0 -326
- package/dist/BPlaceholder-DPQ6mCLN.mjs.map +0 -1
- package/dist/BProgress-BZlrPYhA.mjs.map +0 -1
- package/dist/BProgress-th0-eZWo.js +0 -147
- package/dist/BRow-7AOuFiSy.js +0 -70
- package/dist/BRow-eGSUYGCW.mjs.map +0 -1
- package/dist/BSpinner-CUfGqviV.mjs.map +0 -1
- package/dist/BSpinner-DbYIp-C7.js +0 -60
- package/dist/BTable-BCWW00u_.js +0 -1903
- package/dist/BTable-BCWW00u_.js.map +0 -1
- package/dist/BTable-DUHxxWv5.mjs.map +0 -1
- package/dist/BTableSimple-BkdGAAKb.js +0 -137
- package/dist/BTableSimple-C-jn9Nwh.mjs.map +0 -1
- package/dist/BTabs-CvecFg5N.js +0 -607
- package/dist/BTabs-D_vWlBjT.mjs.map +0 -1
- package/dist/BTimeField-BSDaZogC.mjs.map +0 -1
- package/dist/BTimeField-BT5HXecp.js +0 -517
- package/dist/BTimeField-BT5HXecp.js.map +0 -1
- package/dist/BToast-DR0pek4W.js +0 -308
- package/dist/BToast-DR0pek4W.js.map +0 -1
- package/dist/BToast-Y8BayxES.mjs.map +0 -1
- package/dist/BTooltip-CVP8HdkU.mjs.map +0 -1
- package/dist/BTooltip-DPLYtaL1.js +0 -213
- package/dist/BootstrapVueOptions-DeViqxoD.js +0 -179
- package/dist/BootstrapVueOptions-DeViqxoD.js.map +0 -1
- package/dist/BootstrapVueOptions-Dt1TQdih.mjs.map +0 -1
- package/dist/ConditionalTeleport-B4KYZIM6.mjs.map +0 -1
- package/dist/ConditionalTeleport-BDWcebyD.js +0 -34
- package/dist/ConditionalWrapper-DZH_VSwb.js +0 -31
- package/dist/ConditionalWrapper-Dbc_O6qe.mjs.map +0 -1
- package/dist/DateRangeFieldInput-B86VEz0H.mjs.map +0 -1
- package/dist/DateRangeFieldInput-HvvI2You.js +0 -762
- package/dist/DateRangeFieldInput-HvvI2You.js.map +0 -1
- package/dist/PopperContent-BS_eKjzD.js +0 -1515
- package/dist/PopperContent-BS_eKjzD.js.map +0 -1
- package/dist/PopperContent-DmSgsjSC.mjs.map +0 -1
- package/dist/VisuallyHidden-C4sXnc-k.mjs.map +0 -1
- package/dist/VisuallyHidden-Cx0phlXT.js +0 -222
- package/dist/VisuallyHidden-Cx0phlXT.js.map +0 -1
- package/dist/VisuallyHiddenInput-BNrInt6d.js +0 -147
- package/dist/VisuallyHiddenInput-BNrInt6d.js.map +0 -1
- package/dist/VisuallyHiddenInput-DKIzxsQR.mjs.map +0 -1
- package/dist/bootstrap-vue-next.umd.js +0 -275
- package/dist/chunk-CoQrYLCe.js +0 -50
- package/dist/classes-B0E5Y78Y.mjs.map +0 -1
- package/dist/classes-D5wrmmVs.js +0 -92
- package/dist/constants-BLIvvaat.js +0 -123
- package/dist/constants-Ba9iJn2H.mjs.map +0 -1
- package/dist/debounce-D6kifS6w.js +0 -88
- package/dist/debounce-DHxNfjan.mjs.map +0 -1
- package/dist/dist-DiXKLh_W.js +0 -2064
- package/dist/dist-DiXKLh_W.js.map +0 -1
- package/dist/dist-Dk9C_HFS.mjs.map +0 -1
- package/dist/dom-AhkaSoh8.mjs.map +0 -1
- package/dist/dom-Bs6DzM72.js +0 -98
- package/dist/dom-Bs6DzM72.js.map +0 -1
- package/dist/flattenFragments-C1WWqm25.js +0 -18
- package/dist/flattenFragments-ClbLQGqR.mjs.map +0 -1
- package/dist/floating-ui.vue-CH2o_mZU.mjs.map +0 -1
- package/dist/floating-ui.vue-DDOIU2nS.js +0 -1773
- package/dist/floating-ui.vue-DDOIU2nS.js.map +0 -1
- package/dist/floatingUi-62aeQtAb.mjs.map +0 -1
- package/dist/floatingUi-DQ5bHmy3.js +0 -598
- package/dist/floatingUi-DQ5bHmy3.js.map +0 -1
- package/dist/functions-BcMenQqL.mjs.map +0 -1
- package/dist/functions-Bx1HDqMv.js +0 -11
- package/dist/functions-Bx1HDqMv.js.map +0 -1
- package/dist/getClasses-8P0iBind.js +0 -19
- package/dist/getClasses-COokMI60.mjs.map +0 -1
- package/dist/getElement-D2Jr1cbp.mjs.map +0 -1
- package/dist/getElement-DWGFJn0w.js +0 -19
- package/dist/keys-BMye8nSf.js +0 -187
- package/dist/keys-BMye8nSf.js.map +0 -1
- package/dist/keys-DU7sQgl3.mjs.map +0 -1
- package/dist/object-BN7QwMcz.js +0 -140
- package/dist/object-BN7QwMcz.js.map +0 -1
- package/dist/object-CHQkkner.mjs.map +0 -1
- package/dist/registryAccess-B9QDQwV8.js +0 -39
- package/dist/registryAccess-BkJDdh-3.mjs.map +0 -1
- package/dist/src/components/BAccordion/index.umd.js +0 -4
- package/dist/src/components/BAlert/index.umd.js +0 -3
- package/dist/src/components/BApp/index.umd.js +0 -4
- package/dist/src/components/BAspect/index.umd.js +0 -3
- package/dist/src/components/BAutocomplete/index.umd.js +0 -3
- package/dist/src/components/BAvatar/index.umd.js +0 -4
- package/dist/src/components/BBadge/index.umd.js +0 -3
- package/dist/src/components/BBreadcrumb/index.umd.js +0 -4
- package/dist/src/components/BButton/index.umd.js +0 -8
- package/dist/src/components/BCard/index.umd.js +0 -12
- package/dist/src/components/BCarousel/index.umd.js +0 -4
- package/dist/src/components/BCol/index.umd.js +0 -3
- package/dist/src/components/BCollapse/index.umd.js +0 -3
- package/dist/src/components/BContainer/index.umd.js +0 -7
- package/dist/src/components/BDateField/index.umd.js +0 -5
- package/dist/src/components/BDatePicker/index.umd.js +0 -4
- package/dist/src/components/BDropdown/index.umd.js +0 -11
- package/dist/src/components/BForm/index.umd.js +0 -11
- package/dist/src/components/BFormCheckbox/index.umd.js +0 -4
- package/dist/src/components/BFormFile/index.umd.js +0 -3
- package/dist/src/components/BFormGroup/index.umd.js +0 -3
- package/dist/src/components/BFormInput/index.umd.js +0 -4
- package/dist/src/components/BFormOtp/index.umd.js +0 -3
- package/dist/src/components/BFormRadio/index.umd.js +0 -4
- package/dist/src/components/BFormRating/index.umd.js +0 -3
- package/dist/src/components/BFormSelect/index.umd.js +0 -6
- package/dist/src/components/BFormSpinbutton/index.umd.js +0 -3
- package/dist/src/components/BFormTags/index.umd.js +0 -5
- package/dist/src/components/BFormTextarea/index.umd.js +0 -3
- package/dist/src/components/BImg/index.umd.js +0 -3
- package/dist/src/components/BInputGroup/index.umd.js +0 -5
- package/dist/src/components/BLink/index.umd.js +0 -3
- package/dist/src/components/BListGroup/index.umd.js +0 -4
- package/dist/src/components/BModal/index.umd.js +0 -3
- package/dist/src/components/BNav/index.umd.js +0 -7
- package/dist/src/components/BNavbar/index.umd.js +0 -6
- package/dist/src/components/BOffcanvas/index.umd.js +0 -3
- package/dist/src/components/BOverlay/index.umd.js +0 -3
- package/dist/src/components/BPagination/index.umd.js +0 -3
- package/dist/src/components/BPlaceholder/index.umd.js +0 -7
- package/dist/src/components/BPopover/index.umd.js +0 -3
- package/dist/src/components/BProgress/index.umd.js +0 -4
- package/dist/src/components/BRow/index.umd.js +0 -3
- package/dist/src/components/BSpinner/index.umd.js +0 -3
- package/dist/src/components/BTable/index.umd.js +0 -12
- package/dist/src/components/BTabs/index.umd.js +0 -4
- package/dist/src/components/BTimeField/index.umd.js +0 -3
- package/dist/src/components/BToast/index.umd.js +0 -3
- package/dist/src/components/BTooltip/index.umd.js +0 -3
- package/dist/src/components/index.umd.js +0 -301
- package/dist/src/components/index.umd.js.map +0 -1
- package/dist/src/composables/index.umd.js +0 -53
- package/dist/src/composables/index.umd.js.map +0 -1
- package/dist/src/composables/orchestratorShared/index.umd.js +0 -114
- package/dist/src/composables/orchestratorShared/index.umd.js.map +0 -1
- package/dist/src/composables/useBreadcrumb/index.umd.js +0 -37
- package/dist/src/composables/useBreadcrumb/index.umd.js.map +0 -1
- package/dist/src/composables/useColorMode/index.umd.js +0 -18
- package/dist/src/composables/useColorMode/index.umd.js.map +0 -1
- package/dist/src/composables/useModal/index.umd.js +0 -176
- package/dist/src/composables/useModal/index.umd.js.map +0 -1
- package/dist/src/composables/usePopover/index.umd.js +0 -90
- package/dist/src/composables/usePopover/index.umd.js.map +0 -1
- package/dist/src/composables/useProvideDefaults/index.umd.js +0 -42
- package/dist/src/composables/useProvideDefaults/index.umd.js.map +0 -1
- package/dist/src/composables/useRegistry/index.umd.js +0 -135
- package/dist/src/composables/useRegistry/index.umd.js.map +0 -1
- package/dist/src/composables/useScrollLock/index.umd.js +0 -8
- package/dist/src/composables/useScrollLock/index.umd.js.map +0 -1
- package/dist/src/composables/useScrollspy/index.umd.js +0 -144
- package/dist/src/composables/useScrollspy/index.umd.js.map +0 -1
- package/dist/src/composables/useToast/index.umd.js +0 -90
- package/dist/src/composables/useToast/index.umd.js.map +0 -1
- package/dist/src/composables/useToggle/index.umd.js +0 -34
- package/dist/src/composables/useToggle/index.umd.js.map +0 -1
- package/dist/src/directives/BColorMode/index.umd.js +0 -15
- package/dist/src/directives/BColorMode/index.umd.js.map +0 -1
- package/dist/src/directives/BModal/index.umd.js +0 -3
- package/dist/src/directives/BPopover/index.umd.js +0 -14
- package/dist/src/directives/BPopover/index.umd.js.map +0 -1
- package/dist/src/directives/BScrollspy/index.umd.js +0 -35
- package/dist/src/directives/BScrollspy/index.umd.js.map +0 -1
- package/dist/src/directives/BToggle/index.umd.js +0 -77
- package/dist/src/directives/BToggle/index.umd.js.map +0 -1
- package/dist/src/directives/BTooltip/index.umd.js +0 -16
- package/dist/src/directives/BTooltip/index.umd.js.map +0 -1
- package/dist/src/directives/index.umd.js +0 -32
- package/dist/src/directives/index.umd.js.map +0 -1
- package/dist/src/plugins/createBootstrap/index.umd.js +0 -19
- package/dist/src/plugins/createBootstrap/index.umd.js.map +0 -1
- package/dist/src/plugins/index.umd.js +0 -26
- package/dist/src/plugins/index.umd.js.map +0 -1
- package/dist/src/plugins/orchestrator/index.umd.js +0 -13
- package/dist/src/plugins/orchestrator/index.umd.js.map +0 -1
- package/dist/src/plugins/registry/index.umd.js +0 -62
- package/dist/src/plugins/registry/index.umd.js.map +0 -1
- package/dist/src/plugins/rtl/index.umd.js +0 -21
- package/dist/src/plugins/rtl/index.umd.js.map +0 -1
- package/dist/src/resolvers/index.umd.js +0 -94
- package/dist/src/resolvers/index.umd.js.map +0 -1
- package/dist/src/types/index.umd.js +0 -27
- package/dist/src/types/index.umd.js.map +0 -1
- package/dist/src/utils/index.umd.js +0 -21
- package/dist/src/utils/index.umd.js.map +0 -1
- package/dist/stringUtils-68ZN_GRt.js +0 -71
- package/dist/stringUtils-D4eEDlt1.mjs.map +0 -1
- package/dist/useAlignment-DuR8ymKI.mjs.map +0 -1
- package/dist/useAlignment-oKolnDpb.js +0 -16
- package/dist/useAriaInvalid-CHHPHNLU.js +0 -17
- package/dist/useAriaInvalid-apOwgexm.mjs.map +0 -1
- package/dist/useColorVariantClasses-CqeXHjRh.mjs.map +0 -1
- package/dist/useColorVariantClasses-Dq0sOYDL.js +0 -27
- package/dist/useCountdownHover-C3NXiAaF.mjs.map +0 -1
- package/dist/useCountdownHover-DbVhE-N0.js +0 -104
- package/dist/useDateField-CJKgollJ.mjs.map +0 -1
- package/dist/useDateField-DWv3600o.js +0 -3872
- package/dist/useDateField-DWv3600o.js.map +0 -1
- package/dist/useDefaults-C0CYry78.js +0 -76
- package/dist/useDefaults-DseelK6y.mjs.map +0 -1
- package/dist/useFormCheck-BKXrwS3g.mjs.map +0 -1
- package/dist/useFormCheck-DYjLG4WA.js +0 -82
- package/dist/useFormInput-CXl8rpD0.mjs.map +0 -1
- package/dist/useFormInput-ip9hN2AU.js +0 -117
- package/dist/useFormSelect-BM0rsjni.mjs.map +0 -1
- package/dist/useFormSelect-ClmzGzOy.js +0 -58
- package/dist/useForwardExpose-BpZJluPs.js +0 -80
- package/dist/useForwardExpose-BpZJluPs.js.map +0 -1
- package/dist/useForwardExpose-Cob6LlGd.mjs.map +0 -1
- package/dist/useId-BkAY2oh6.js +0 -17
- package/dist/useId-D1sqXtwx.mjs.map +0 -1
- package/dist/useKbd-DfmgFov6.mjs.map +0 -1
- package/dist/useKbd-sqDCJtXL.js +0 -105
- package/dist/useKbd-sqDCJtXL.js.map +0 -1
- package/dist/useNumberishToStyle-BtMa0R27.js +0 -18
- package/dist/useNumberishToStyle-DgS1slD3.mjs.map +0 -1
- package/dist/useRadiusElementClasses-BW832F7F.mjs.map +0 -1
- package/dist/useRadiusElementClasses-DWiUVgex.js +0 -28
- package/dist/useRtl-BSgvbs5F.js +0 -26
- package/dist/useRtl-CGoXBxNo.mjs.map +0 -1
- package/dist/useSafeScrollLock-7wmPH_Hy.js +0 -1418
- package/dist/useSafeScrollLock-7wmPH_Hy.js.map +0 -1
- package/dist/useSafeScrollLock-Me5LyqjD.mjs.map +0 -1
- package/dist/useShowHide-CBFt1_EW.mjs.map +0 -1
- package/dist/useShowHide-CHm2uUep.js +0 -436
- package/dist/useShowHide-CHm2uUep.js.map +0 -1
- package/dist/useStateClass-CXK3nCg9.js +0 -16
- package/dist/useStateClass-DxlL_m2E.mjs.map +0 -1
- package/dist/utils-CWvndqPg.mjs.map +0 -1
- package/dist/utils-Dk9yAtbs.js +0 -186
- package/dist/utils-Dk9yAtbs.js.map +0 -1
- /package/dist/{chunk-D1SwGrFN.mjs → rolldown-runtime-BBjsoOtd.js} +0 -0
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_keys = require("./keys-BMye8nSf.js");
|
|
3
|
-
let vue = require("vue");
|
|
4
|
-
//#region src/composables/useDefaults.ts
|
|
5
|
-
function injectSelf(key, vm = getCurrentInstance("injectSelf")) {
|
|
6
|
-
const { provides } = vm;
|
|
7
|
-
if (provides && key in provides) return provides[key];
|
|
8
|
-
}
|
|
9
|
-
function getCurrentInstance(name, message) {
|
|
10
|
-
const vm = (0, vue.getCurrentInstance)();
|
|
11
|
-
if (!vm) throw new Error(`[Bvn] ${name} ${message || "must be called from inside a setup function"}`);
|
|
12
|
-
return vm;
|
|
13
|
-
}
|
|
14
|
-
var toKebabCase = (str = "") => str.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase();
|
|
15
|
-
var isObject = (obj) => obj !== null && typeof obj === "object" && !Array.isArray(obj);
|
|
16
|
-
function mergeDeep(source = {}, target = {}, arrayFn) {
|
|
17
|
-
const out = {};
|
|
18
|
-
for (const key in source) out[key] = source[key];
|
|
19
|
-
for (const key in target) {
|
|
20
|
-
const sourceProperty = source[key];
|
|
21
|
-
const targetProperty = target[key];
|
|
22
|
-
if (isObject(sourceProperty) && isObject(targetProperty)) {
|
|
23
|
-
out[key] = mergeDeep(sourceProperty, targetProperty, arrayFn);
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
if (Array.isArray(sourceProperty) && Array.isArray(targetProperty) && arrayFn) {
|
|
27
|
-
out[key] = arrayFn(sourceProperty, targetProperty);
|
|
28
|
-
continue;
|
|
29
|
-
}
|
|
30
|
-
out[key] = targetProperty;
|
|
31
|
-
}
|
|
32
|
-
return out;
|
|
33
|
-
}
|
|
34
|
-
var propIsDefined = (vnode, prop) => typeof vnode.props?.[prop] !== "undefined" || typeof vnode.props?.[toKebabCase(prop)] !== "undefined";
|
|
35
|
-
function internalUseDefaults(props = {}, name) {
|
|
36
|
-
const defaults = (0, vue.inject)(require_keys.defaultsKey, (0, vue.ref)({}));
|
|
37
|
-
const vm = getCurrentInstance("useDefaults");
|
|
38
|
-
name = name ?? vm.type.name ?? vm.type.__name;
|
|
39
|
-
if (!name) throw new Error("[Bvn] Could not determine component name");
|
|
40
|
-
const componentDefaults = (0, vue.computed)(() => defaults.value?.[props._as ?? name]);
|
|
41
|
-
const _props = new Proxy(props, { get(target, prop) {
|
|
42
|
-
const propValue = Reflect.get(target, prop);
|
|
43
|
-
if (prop === "class" || prop === "style") return [componentDefaults.value?.[prop], propValue].filter((v) => v != null);
|
|
44
|
-
else if (typeof prop === "string" && !propIsDefined(vm.vnode, prop)) return componentDefaults.value?.[prop] ?? defaults.value?.global?.[prop] ?? propValue;
|
|
45
|
-
return propValue;
|
|
46
|
-
} });
|
|
47
|
-
const _subcomponentDefaults = (0, vue.shallowRef)();
|
|
48
|
-
(0, vue.watchEffect)(() => {
|
|
49
|
-
if (componentDefaults.value) {
|
|
50
|
-
const subComponents = Object.entries(componentDefaults.value).filter(([key]) => key[0] !== void 0 && key.startsWith(key[0].toUpperCase()));
|
|
51
|
-
_subcomponentDefaults.value = subComponents.length ? Object.fromEntries(subComponents) : void 0;
|
|
52
|
-
} else _subcomponentDefaults.value = void 0;
|
|
53
|
-
});
|
|
54
|
-
function provideSubDefaults() {
|
|
55
|
-
const injected = injectSelf(require_keys.defaultsKey, vm);
|
|
56
|
-
(0, vue.provide)(require_keys.defaultsKey, (0, vue.computed)(() => _subcomponentDefaults.value ? mergeDeep(injected?.value ?? {}, _subcomponentDefaults.value) : injected?.value));
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
props: _props,
|
|
60
|
-
provideSubDefaults
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function useDefaults(props, name) {
|
|
64
|
-
const { props: _props, provideSubDefaults } = internalUseDefaults(props, name);
|
|
65
|
-
provideSubDefaults();
|
|
66
|
-
return _props;
|
|
67
|
-
}
|
|
68
|
-
//#endregion
|
|
69
|
-
Object.defineProperty(exports, "useDefaults", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function() {
|
|
72
|
-
return useDefaults;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
//# sourceMappingURL=useDefaults-C0CYry78.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDefaults-DseelK6y.mjs","names":[],"sources":["../src/composables/useDefaults.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\n// Utilities\nimport {\n getCurrentInstance as _getCurrentInstance,\n type ComponentInternalInstance,\n computed,\n inject,\n type InjectionKey,\n provide,\n ref,\n shallowRef,\n type VNode,\n watchEffect,\n} from 'vue'\nimport {defaultsKey} from '../utils/keys'\nimport type {BvnComponentProps} from '../types/BootstrapVueOptions'\n\n// Code here was taken from\n// https://github.com/vuetifyjs/vuetify/blob/8ed87310890e2b6c8ad2a626a02c17f9467cbb60/packages/vuetify/src/composables/defaults.ts#L138\n// Thanks to the Vuetify team. Vue does not make this easy\n\nfunction injectSelf<T>(key: InjectionKey<T> | string, vm?: ComponentInternalInstance): T | undefined\nfunction injectSelf(key: InjectionKey<any> | string, vm = getCurrentInstance('injectSelf')) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n const {provides} = vm\n\n if (provides && (key as string | symbol) in provides) {\n // TS doesn't allow symbol as index type\n return provides[key as string]\n }\n return undefined\n}\n\nfunction getCurrentInstance(name: string, message?: string) {\n const vm = _getCurrentInstance()\n\n if (!vm) {\n throw new Error(`[Bvn] ${name} ${message || 'must be called from inside a setup function'}`)\n }\n\n return vm\n}\n\nconst toKebabCase = (str = '') =>\n str\n .replace(/[^a-z]/gi, '-')\n .replace(/\\B([A-Z])/g, '-$1')\n .toLowerCase()\nconst isObject = (obj: unknown): obj is Record<string, any> =>\n obj !== null && typeof obj === 'object' && !Array.isArray(obj)\n\nfunction mergeDeep(\n source: Record<string, any> = {},\n target: Record<string, any> = {},\n arrayFn?: (a: unknown[], b: unknown[]) => unknown[]\n) {\n const out: Record<string, any> = {}\n\n for (const key in source) {\n out[key] = source[key]\n }\n\n for (const key in target) {\n const sourceProperty = source[key]\n const targetProperty = target[key]\n\n // Only continue deep merging if\n // both properties are objects\n if (isObject(sourceProperty) && isObject(targetProperty)) {\n out[key] = mergeDeep(sourceProperty, targetProperty, arrayFn)\n\n continue\n }\n\n if (Array.isArray(sourceProperty) && Array.isArray(targetProperty) && arrayFn) {\n out[key] = arrayFn(sourceProperty, targetProperty)\n\n continue\n }\n\n out[key] = targetProperty\n }\n\n return out\n}\n\nconst propIsDefined = (vnode: VNode, prop: string) =>\n typeof vnode.props?.[prop] !== 'undefined' ||\n typeof vnode.props?.[toKebabCase(prop)] !== 'undefined'\n\nfunction internalUseDefaults(props: Record<string, any> = {}, name?: string) {\n const defaults = inject(defaultsKey, ref({}))\n const vm = getCurrentInstance('useDefaults')\n\n name = name ?? vm.type.name ?? vm.type.__name\n if (!name) {\n // Should never happen\n throw new Error('[Bvn] Could not determine component name')\n }\n\n const componentDefaults = computed(() => (defaults.value as any)?.[props._as ?? name])\n const _props = new Proxy(props, {\n get(target, prop) {\n const propValue = Reflect.get(target, prop)\n if (prop === 'class' || prop === 'style') {\n return [componentDefaults.value?.[prop], propValue].filter((v) => v != null)\n } else if (typeof prop === 'string' && !propIsDefined(vm.vnode, prop)) {\n return (\n componentDefaults.value?.[prop] ?? (defaults.value as any)?.global?.[prop] ?? propValue\n )\n }\n return propValue\n },\n })\n\n const _subcomponentDefaults = shallowRef()\n watchEffect(() => {\n if (componentDefaults.value) {\n const subComponents = Object.entries(componentDefaults.value).filter(\n ([key]) => key[0] !== undefined && key.startsWith(key[0].toUpperCase())\n )\n _subcomponentDefaults.value = subComponents.length\n ? Object.fromEntries(subComponents)\n : undefined\n } else {\n _subcomponentDefaults.value = undefined\n }\n })\n\n function provideSubDefaults() {\n const injected = injectSelf(defaultsKey, vm)\n provide(\n defaultsKey,\n computed(() =>\n _subcomponentDefaults.value\n ? mergeDeep(injected?.value ?? {}, _subcomponentDefaults.value)\n : injected?.value\n ) as any\n )\n }\n\n return {props: _props, provideSubDefaults}\n}\n\nexport function useDefaults<T extends Record<string, any>>(\n props: T,\n name: keyof BvnComponentProps\n): T {\n const {props: _props, provideSubDefaults} = internalUseDefaults(props, name)\n provideSubDefaults()\n return _props as T\n}\n"],"mappings":";;;AAsBA,SAAS,WAAW,KAAiC,KAAK,qBAAmB,aAAa,EAAE;CAG1F,MAAM,EAAC,aAAY;AAEnB,KAAI,YAAa,OAA2B,SAE1C,QAAO,SAAS;;AAKpB,SAAS,qBAAmB,MAAc,SAAkB;CAC1D,MAAM,KAAK,oBAAqB;AAEhC,KAAI,CAAC,GACH,OAAM,IAAI,MAAM,SAAS,KAAK,GAAG,WAAW,gDAAgD;AAG9F,QAAO;;AAGT,IAAM,eAAe,MAAM,OACzB,IACG,QAAQ,YAAY,IAAI,CACxB,QAAQ,cAAc,MAAM,CAC5B,aAAa;AAClB,IAAM,YAAY,QAChB,QAAQ,QAAQ,OAAO,QAAQ,YAAY,CAAC,MAAM,QAAQ,IAAI;AAEhE,SAAS,UACP,SAA8B,EAAE,EAChC,SAA8B,EAAE,EAChC,SACA;CACA,MAAM,MAA2B,EAAE;AAEnC,MAAK,MAAM,OAAO,OAChB,KAAI,OAAO,OAAO;AAGpB,MAAK,MAAM,OAAO,QAAQ;EACxB,MAAM,iBAAiB,OAAO;EAC9B,MAAM,iBAAiB,OAAO;AAI9B,MAAI,SAAS,eAAe,IAAI,SAAS,eAAe,EAAE;AACxD,OAAI,OAAO,UAAU,gBAAgB,gBAAgB,QAAQ;AAE7D;;AAGF,MAAI,MAAM,QAAQ,eAAe,IAAI,MAAM,QAAQ,eAAe,IAAI,SAAS;AAC7E,OAAI,OAAO,QAAQ,gBAAgB,eAAe;AAElD;;AAGF,MAAI,OAAO;;AAGb,QAAO;;AAGT,IAAM,iBAAiB,OAAc,SACnC,OAAO,MAAM,QAAQ,UAAU,eAC/B,OAAO,MAAM,QAAQ,YAAY,KAAK,MAAM;AAE9C,SAAS,oBAAoB,QAA6B,EAAE,EAAE,MAAe;CAC3E,MAAM,WAAW,OAAO,aAAa,IAAI,EAAE,CAAC,CAAC;CAC7C,MAAM,KAAK,qBAAmB,cAAc;AAE5C,QAAO,QAAQ,GAAG,KAAK,QAAQ,GAAG,KAAK;AACvC,KAAI,CAAC,KAEH,OAAM,IAAI,MAAM,2CAA2C;CAG7D,MAAM,oBAAoB,eAAgB,SAAS,QAAgB,MAAM,OAAO,MAAM;CACtF,MAAM,SAAS,IAAI,MAAM,OAAO,EAC9B,IAAI,QAAQ,MAAM;EAChB,MAAM,YAAY,QAAQ,IAAI,QAAQ,KAAK;AAC3C,MAAI,SAAS,WAAW,SAAS,QAC/B,QAAO,CAAC,kBAAkB,QAAQ,OAAO,UAAU,CAAC,QAAQ,MAAM,KAAK,KAAK;WACnE,OAAO,SAAS,YAAY,CAAC,cAAc,GAAG,OAAO,KAAK,CACnE,QACE,kBAAkB,QAAQ,SAAU,SAAS,OAAe,SAAS,SAAS;AAGlF,SAAO;IAEV,CAAC;CAEF,MAAM,wBAAwB,YAAY;AAC1C,mBAAkB;AAChB,MAAI,kBAAkB,OAAO;GAC3B,MAAM,gBAAgB,OAAO,QAAQ,kBAAkB,MAAM,CAAC,QAC3D,CAAC,SAAS,IAAI,OAAO,KAAA,KAAa,IAAI,WAAW,IAAI,GAAG,aAAa,CAAC,CACxE;AACD,yBAAsB,QAAQ,cAAc,SACxC,OAAO,YAAY,cAAc,GACjC,KAAA;QAEJ,uBAAsB,QAAQ,KAAA;GAEhC;CAEF,SAAS,qBAAqB;EAC5B,MAAM,WAAW,WAAW,aAAa,GAAG;AAC5C,UACE,aACA,eACE,sBAAsB,QAClB,UAAU,UAAU,SAAS,EAAE,EAAE,sBAAsB,MAAM,GAC7D,UAAU,MACf,CACF;;AAGH,QAAO;EAAC,OAAO;EAAQ;EAAmB;;AAG5C,SAAgB,YACd,OACA,MACG;CACH,MAAM,EAAC,OAAO,QAAQ,uBAAsB,oBAAoB,OAAO,KAAK;AAC5E,qBAAoB;AACpB,QAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormCheck-BKXrwS3g.mjs","names":[],"sources":["../src/composables/useFormCheck.ts"],"sourcesContent":["import type {AriaInvalid} from '../types/AriaInvalid'\nimport {computed, type MaybeRefOrGetter, readonly, toRef, toValue} from 'vue'\nimport {useAriaInvalid} from './useAriaInvalid'\nimport {useStateClass} from './useStateClass'\nimport type {Size} from '../types/Size'\nimport type {ButtonVariant} from '../types/ColorTypes'\nimport type {ValidationState} from '../types/CommonTypes'\n\ninterface ClassesItemsInput {\n plain?: boolean\n button?: boolean\n inline?: boolean\n reverse?: boolean\n switch?: boolean\n size?: Size\n hasDefaultSlot?: boolean\n}\n\nconst getClasses = (items: MaybeRefOrGetter<ClassesItemsInput>) =>\n computed(() => {\n const resolvedItems = toValue(items)\n return {\n 'form-check': !resolvedItems.plain && !resolvedItems.button && resolvedItems.hasDefaultSlot,\n 'form-check-reverse': resolvedItems.reverse === true,\n 'form-check-inline': resolvedItems.inline === true,\n 'form-switch': resolvedItems.switch === true,\n [`form-control-${resolvedItems.size}`]:\n resolvedItems.size !== undefined && !resolvedItems.button,\n }\n })\n\ninterface InputClassesItemsInput {\n plain?: boolean\n button?: boolean\n state?: ValidationState\n}\n\nconst getInputClasses = (items: MaybeRefOrGetter<InputClassesItemsInput>) => {\n const resolvedItems = readonly(toRef(items))\n\n const stateClass = useStateClass(() => resolvedItems.value.state ?? null)\n\n return computed(() => [\n stateClass.value,\n {\n 'form-check-input': !resolvedItems.value.plain && !resolvedItems.value.button,\n 'btn-check': resolvedItems.value.button === true,\n },\n ])\n}\n\ninterface LabelClasesItemsInput {\n plain?: boolean\n button?: boolean\n buttonVariant?: ButtonVariant | null\n size?: Size\n}\n\nconst getLabelClasses = (items: MaybeRefOrGetter<LabelClasesItemsInput>) =>\n computed(() => {\n const resolvedItems = toValue(items)\n return {\n 'form-check-label': !resolvedItems.plain && !resolvedItems.button,\n 'btn': resolvedItems.button === true,\n [`btn-${resolvedItems.buttonVariant}`]:\n resolvedItems.button === true &&\n resolvedItems.buttonVariant !== undefined &&\n resolvedItems.buttonVariant !== null,\n [`btn-${resolvedItems.size}`]:\n resolvedItems.button && resolvedItems.size !== undefined,\n }\n })\n\ninterface GroupAttrItemsInput {\n required?: boolean\n ariaInvalid?: AriaInvalid\n state?: ValidationState\n}\n\nconst getGroupAttr = (items: MaybeRefOrGetter<GroupAttrItemsInput>) => {\n const resolvedItems = readonly(toRef(items))\n const computedAriaInvalid = useAriaInvalid(\n () => resolvedItems.value.ariaInvalid,\n () => resolvedItems.value.state\n )\n return computed(() => ({\n 'aria-invalid': computedAriaInvalid.value as Exclude<AriaInvalid, ''> | undefined,\n 'aria-required': resolvedItems.value.required === true ? true : undefined,\n }))\n}\n\ninterface GroupClassesItemsInput {\n validated?: boolean\n buttons?: boolean\n stacked?: boolean\n size?: Size\n}\n\nconst getGroupClasses = (items: MaybeRefOrGetter<GroupClassesItemsInput>) =>\n computed(() => {\n const resolvedItems = toValue(items)\n return {\n 'was-validated': resolvedItems.validated === true,\n 'btn-group': resolvedItems.buttons === true && resolvedItems.stacked === false,\n 'btn-group-vertical': resolvedItems.stacked === true && resolvedItems.buttons === true,\n [`btn-group-${resolvedItems.size}`]: resolvedItems.size !== undefined,\n }\n })\n\nexport {getClasses, getInputClasses, getLabelClasses, getGroupAttr, getGroupClasses}\n"],"mappings":";;;;AAkBA,IAAM,cAAc,UAClB,eAAe;CACb,MAAM,gBAAgB,QAAQ,MAAM;AACpC,QAAO;EACL,cAAc,CAAC,cAAc,SAAS,CAAC,cAAc,UAAU,cAAc;EAC7E,sBAAsB,cAAc,YAAY;EAChD,qBAAqB,cAAc,WAAW;EAC9C,eAAe,cAAc,WAAW;GACvC,gBAAgB,cAAc,SAC7B,cAAc,SAAS,KAAA,KAAa,CAAC,cAAc;EACtD;EACD;AAQJ,IAAM,mBAAmB,UAAoD;CAC3E,MAAM,gBAAgB,SAAS,MAAM,MAAM,CAAC;CAE5C,MAAM,aAAa,oBAAoB,cAAc,MAAM,SAAS,KAAK;AAEzE,QAAO,eAAe,CACpB,WAAW,OACX;EACE,oBAAoB,CAAC,cAAc,MAAM,SAAS,CAAC,cAAc,MAAM;EACvE,aAAa,cAAc,MAAM,WAAW;EAC7C,CACF,CAAC;;AAUJ,IAAM,mBAAmB,UACvB,eAAe;CACb,MAAM,gBAAgB,QAAQ,MAAM;AACpC,QAAO;EACL,oBAAoB,CAAC,cAAc,SAAS,CAAC,cAAc;EAC3D,OAAO,cAAc,WAAW;GAC/B,OAAO,cAAc,kBACpB,cAAc,WAAW,QACzB,cAAc,kBAAkB,KAAA,KAChC,cAAc,kBAAkB;GACjC,OAAO,cAAc,SACpB,cAAc,UAAU,cAAc,SAAS,KAAA;EAClD;EACD;AAQJ,IAAM,gBAAgB,UAAiD;CACrE,MAAM,gBAAgB,SAAS,MAAM,MAAM,CAAC;CAC5C,MAAM,sBAAsB,qBACpB,cAAc,MAAM,mBACpB,cAAc,MAAM,MAC3B;AACD,QAAO,gBAAgB;EACrB,gBAAgB,oBAAoB;EACpC,iBAAiB,cAAc,MAAM,aAAa,OAAO,OAAO,KAAA;EACjE,EAAE;;AAUL,IAAM,mBAAmB,UACvB,eAAe;CACb,MAAM,gBAAgB,QAAQ,MAAM;AACpC,QAAO;EACL,iBAAiB,cAAc,cAAc;EAC7C,aAAa,cAAc,YAAY,QAAQ,cAAc,YAAY;EACzE,sBAAsB,cAAc,YAAY,QAAQ,cAAc,YAAY;GACjF,aAAa,cAAc,SAAS,cAAc,SAAS,KAAA;EAC7D;EACD"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_useAriaInvalid = require("./useAriaInvalid-CHHPHNLU.js");
|
|
3
|
-
const require_useStateClass = require("./useStateClass-CXK3nCg9.js");
|
|
4
|
-
let vue = require("vue");
|
|
5
|
-
//#region src/composables/useFormCheck.ts
|
|
6
|
-
var getClasses = (items) => (0, vue.computed)(() => {
|
|
7
|
-
const resolvedItems = (0, vue.toValue)(items);
|
|
8
|
-
return {
|
|
9
|
-
"form-check": !resolvedItems.plain && !resolvedItems.button && resolvedItems.hasDefaultSlot,
|
|
10
|
-
"form-check-reverse": resolvedItems.reverse === true,
|
|
11
|
-
"form-check-inline": resolvedItems.inline === true,
|
|
12
|
-
"form-switch": resolvedItems.switch === true,
|
|
13
|
-
[`form-control-${resolvedItems.size}`]: resolvedItems.size !== void 0 && !resolvedItems.button
|
|
14
|
-
};
|
|
15
|
-
});
|
|
16
|
-
var getInputClasses = (items) => {
|
|
17
|
-
const resolvedItems = (0, vue.readonly)((0, vue.toRef)(items));
|
|
18
|
-
const stateClass = require_useStateClass.useStateClass(() => resolvedItems.value.state ?? null);
|
|
19
|
-
return (0, vue.computed)(() => [stateClass.value, {
|
|
20
|
-
"form-check-input": !resolvedItems.value.plain && !resolvedItems.value.button,
|
|
21
|
-
"btn-check": resolvedItems.value.button === true
|
|
22
|
-
}]);
|
|
23
|
-
};
|
|
24
|
-
var getLabelClasses = (items) => (0, vue.computed)(() => {
|
|
25
|
-
const resolvedItems = (0, vue.toValue)(items);
|
|
26
|
-
return {
|
|
27
|
-
"form-check-label": !resolvedItems.plain && !resolvedItems.button,
|
|
28
|
-
"btn": resolvedItems.button === true,
|
|
29
|
-
[`btn-${resolvedItems.buttonVariant}`]: resolvedItems.button === true && resolvedItems.buttonVariant !== void 0 && resolvedItems.buttonVariant !== null,
|
|
30
|
-
[`btn-${resolvedItems.size}`]: resolvedItems.button && resolvedItems.size !== void 0
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
var getGroupAttr = (items) => {
|
|
34
|
-
const resolvedItems = (0, vue.readonly)((0, vue.toRef)(items));
|
|
35
|
-
const computedAriaInvalid = require_useAriaInvalid.useAriaInvalid(() => resolvedItems.value.ariaInvalid, () => resolvedItems.value.state);
|
|
36
|
-
return (0, vue.computed)(() => ({
|
|
37
|
-
"aria-invalid": computedAriaInvalid.value,
|
|
38
|
-
"aria-required": resolvedItems.value.required === true ? true : void 0
|
|
39
|
-
}));
|
|
40
|
-
};
|
|
41
|
-
var getGroupClasses = (items) => (0, vue.computed)(() => {
|
|
42
|
-
const resolvedItems = (0, vue.toValue)(items);
|
|
43
|
-
return {
|
|
44
|
-
"was-validated": resolvedItems.validated === true,
|
|
45
|
-
"btn-group": resolvedItems.buttons === true && resolvedItems.stacked === false,
|
|
46
|
-
"btn-group-vertical": resolvedItems.stacked === true && resolvedItems.buttons === true,
|
|
47
|
-
[`btn-group-${resolvedItems.size}`]: resolvedItems.size !== void 0
|
|
48
|
-
};
|
|
49
|
-
});
|
|
50
|
-
//#endregion
|
|
51
|
-
Object.defineProperty(exports, "getClasses", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function() {
|
|
54
|
-
return getClasses;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "getGroupAttr", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function() {
|
|
60
|
-
return getGroupAttr;
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
Object.defineProperty(exports, "getGroupClasses", {
|
|
64
|
-
enumerable: true,
|
|
65
|
-
get: function() {
|
|
66
|
-
return getGroupClasses;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(exports, "getInputClasses", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function() {
|
|
72
|
-
return getInputClasses;
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(exports, "getLabelClasses", {
|
|
76
|
-
enumerable: true,
|
|
77
|
-
get: function() {
|
|
78
|
-
return getLabelClasses;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
//# sourceMappingURL=useFormCheck-DYjLG4WA.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormInput-CXl8rpD0.mjs","names":[],"sources":["../src/utils/normalizeInput.ts","../src/composables/useFormInput.ts"],"sourcesContent":["import type {Numberish} from '../types/CommonTypes'\n\nexport const normalizeInput = (\n v: Numberish | null,\n modelModifiers: Record<'number' | 'lazy' | 'trim', true | undefined>\n) => {\n if (v === null) return\n let update = v\n if (modelModifiers.number && typeof update === 'string' && update !== '') {\n const parsed = Number.parseFloat(update)\n update = Number.isNaN(parsed) ? update : parsed\n }\n return update\n}\n","import type {Numberish} from '../types/CommonTypes'\nimport {computed, inject, nextTick, onActivated, onMounted, type Ref, type ShallowRef} from 'vue'\nimport {useAriaInvalid} from './useAriaInvalid'\nimport {useId} from './useId'\nimport {useFocus, useToNumber} from '@vueuse/core'\nimport type {CommonInputProps} from '../types/FormCommonInputProps'\nimport {formGroupKey} from '../utils/keys'\nimport {useDebounceFn} from '../utils/debounce'\nimport {useStateClass} from './useStateClass'\n\nexport const useFormInput = (\n props: Readonly<CommonInputProps>,\n input:\n | Readonly<ShallowRef<HTMLInputElement | null>>\n | Readonly<ShallowRef<HTMLTextAreaElement | null>>,\n modelValue: Ref<Numberish | null>,\n modelModifiers: Record<'number' | 'lazy' | 'trim', true | undefined>\n) => {\n const computedId = useId(() => props.id, 'input')\n const debounceNumber = useToNumber(() => props.debounce ?? 0, {nanToZero: true})\n const debounceMaxWaitNumber = useToNumber(() => props.debounceMaxWait ?? Number.NaN)\n\n // This automatically adds the appropriate \"for\" attribute to a BFormGroup label\n const formGroupData = inject(formGroupKey, null)?.()\n formGroupData?.track(computedId)\n const computedState = computed(() =>\n props.state !== undefined ? props.state : (formGroupData?.state.value ?? null)\n )\n const isDisabled = computed(() => props.disabled || (formGroupData?.disabled.value ?? false))\n const computedAriaInvalid = useAriaInvalid(() => props.ariaInvalid, computedState)\n const stateClass = useStateClass(computedState)\n\n const internalUpdateModelValue = useDebounceFn(\n (value: Numberish) => {\n modelValue.value = value\n },\n () => (modelModifiers.lazy === true ? 0 : debounceNumber.value),\n {maxWait: () => (modelModifiers.lazy === true ? Number.NaN : debounceMaxWaitNumber.value)}\n )\n\n const updateModelValue = (value: Numberish, force = false, immediate = false) => {\n if (modelModifiers.lazy === true && force === false) return\n if (immediate) {\n modelValue.value = value\n } else {\n internalUpdateModelValue(value)\n }\n }\n\n const {focused} = useFocus(input, {\n initialValue: props.autofocus,\n })\n\n const _formatValue = (value: string, evt: Readonly<Event>, force = false) => {\n if (props.formatter !== undefined && (!props.lazyFormatter || force)) {\n return props.formatter(value, evt)\n }\n return value\n }\n onMounted(() => {\n if (input.value) {\n input.value.value = modelValue.value?.toString() ?? ''\n }\n })\n\n onActivated(() => {\n nextTick(() => {\n if (props.autofocus) {\n focused.value = true\n }\n })\n })\n\n const syncDisplayedValue = (nextValue: string) => {\n if (input.value && input.value.value !== nextValue) {\n input.value.value = nextValue\n }\n }\n\n const onInput = (evt: Readonly<Event>) => {\n const {value} = evt.target as HTMLInputElement\n const formattedValue = _formatValue(value, evt)\n if (evt.defaultPrevented) {\n evt.preventDefault()\n return\n }\n\n const nextModel = formattedValue\n\n updateModelValue(nextModel)\n // If the formatter changed the value, directly update the input's visual value\n // to keep the displayed text in sync with the model. Without this, if the\n // formatted value equals the previous model value, Vue's reactivity won't\n // re-render the input and the raw (unformatted) text remains visible.\n if (formattedValue !== value) {\n syncDisplayedValue(formattedValue)\n }\n }\n\n const onChange = (evt: Readonly<Event>) => {\n const {value} = evt.target as HTMLInputElement\n const formattedValue = _formatValue(value, evt)\n if (evt.defaultPrevented) {\n evt.preventDefault()\n return\n }\n\n const nextModel = formattedValue\n if (modelValue.value !== nextModel) {\n updateModelValue(formattedValue, true)\n }\n }\n\n const onBlur = (evt: Readonly<FocusEvent>) => {\n if (\n !modelModifiers.lazy &&\n !props.lazyFormatter &&\n !modelModifiers.trim &&\n debounceNumber.value <= 0\n )\n return\n\n const {value} = evt.target as HTMLInputElement\n const formattedValue = _formatValue(value, evt, true)\n\n const nextModel = modelModifiers.trim ? formattedValue.trim() : formattedValue\n\n // Cancel before modelValue.value comparison and update\n internalUpdateModelValue.cancel()\n if (modelValue.value !== nextModel) {\n updateModelValue(nextModel, true, true)\n }\n\n // If the formatter or trim changed the displayed text, directly sync the DOM.\n // This handles the case where lazyFormatter defers formatting to blur and the\n // formatted value equals the current model (so Vue's reactivity won't re-render).\n if (nextModel !== value) {\n syncDisplayedValue(nextModel)\n }\n }\n\n const focus = () => {\n if (!isDisabled.value) {\n focused.value = true\n }\n }\n\n const blur = () => {\n if (!isDisabled.value) {\n focused.value = false\n }\n }\n\n return {\n input,\n computedId,\n computedAriaInvalid,\n onInput,\n onChange,\n onBlur,\n focus,\n blur,\n stateClass,\n isDisabled,\n }\n}\n"],"mappings":";;;;;;;;AAEA,IAAa,kBACX,GACA,mBACG;AACH,KAAI,MAAM,KAAM;CAChB,IAAI,SAAS;AACb,KAAI,eAAe,UAAU,OAAO,WAAW,YAAY,WAAW,IAAI;EACxE,MAAM,SAAS,OAAO,WAAW,OAAO;AACxC,WAAS,OAAO,MAAM,OAAO,GAAG,SAAS;;AAE3C,QAAO;;;;ACFT,IAAa,gBACX,OACA,OAGA,YACA,mBACG;CACH,MAAM,aAAa,cAAY,MAAM,IAAI,QAAQ;CACjD,MAAM,iBAAiB,kBAAkB,MAAM,YAAY,GAAG,EAAC,WAAW,MAAK,CAAC;CAChF,MAAM,wBAAwB,kBAAkB,MAAM,mBAAmB,IAAW;CAGpF,MAAM,gBAAgB,OAAO,cAAc,KAAK,IAAI;AACpD,gBAAe,MAAM,WAAW;CAChC,MAAM,gBAAgB,eACpB,MAAM,UAAU,KAAA,IAAY,MAAM,QAAS,eAAe,MAAM,SAAS,KAC1E;CACD,MAAM,aAAa,eAAe,MAAM,aAAa,eAAe,SAAS,SAAS,OAAO;CAC7F,MAAM,sBAAsB,qBAAqB,MAAM,aAAa,cAAc;CAClF,MAAM,aAAa,cAAc,cAAc;CAE/C,MAAM,2BAA2B,eAC9B,UAAqB;AACpB,aAAW,QAAQ;UAEd,eAAe,SAAS,OAAO,IAAI,eAAe,OACzD,EAAC,eAAgB,eAAe,SAAS,OAAO,MAAa,sBAAsB,OAAO,CAC3F;CAED,MAAM,oBAAoB,OAAkB,QAAQ,OAAO,YAAY,UAAU;AAC/E,MAAI,eAAe,SAAS,QAAQ,UAAU,MAAO;AACrD,MAAI,UACF,YAAW,QAAQ;MAEnB,0BAAyB,MAAM;;CAInC,MAAM,EAAC,YAAW,SAAS,OAAO,EAChC,cAAc,MAAM,WACrB,CAAC;CAEF,MAAM,gBAAgB,OAAe,KAAsB,QAAQ,UAAU;AAC3E,MAAI,MAAM,cAAc,KAAA,MAAc,CAAC,MAAM,iBAAiB,OAC5D,QAAO,MAAM,UAAU,OAAO,IAAI;AAEpC,SAAO;;AAET,iBAAgB;AACd,MAAI,MAAM,MACR,OAAM,MAAM,QAAQ,WAAW,OAAO,UAAU,IAAI;GAEtD;AAEF,mBAAkB;AAChB,iBAAe;AACb,OAAI,MAAM,UACR,SAAQ,QAAQ;IAElB;GACF;CAEF,MAAM,sBAAsB,cAAsB;AAChD,MAAI,MAAM,SAAS,MAAM,MAAM,UAAU,UACvC,OAAM,MAAM,QAAQ;;CAIxB,MAAM,WAAW,QAAyB;EACxC,MAAM,EAAC,UAAS,IAAI;EACpB,MAAM,iBAAiB,aAAa,OAAO,IAAI;AAC/C,MAAI,IAAI,kBAAkB;AACxB,OAAI,gBAAgB;AACpB;;AAKF,mBAFkB,eAES;AAK3B,MAAI,mBAAmB,MACrB,oBAAmB,eAAe;;CAItC,MAAM,YAAY,QAAyB;EACzC,MAAM,EAAC,UAAS,IAAI;EACpB,MAAM,iBAAiB,aAAa,OAAO,IAAI;AAC/C,MAAI,IAAI,kBAAkB;AACxB,OAAI,gBAAgB;AACpB;;EAGF,MAAM,YAAY;AAClB,MAAI,WAAW,UAAU,UACvB,kBAAiB,gBAAgB,KAAK;;CAI1C,MAAM,UAAU,QAA8B;AAC5C,MACE,CAAC,eAAe,QAChB,CAAC,MAAM,iBACP,CAAC,eAAe,QAChB,eAAe,SAAS,EAExB;EAEF,MAAM,EAAC,UAAS,IAAI;EACpB,MAAM,iBAAiB,aAAa,OAAO,KAAK,KAAK;EAErD,MAAM,YAAY,eAAe,OAAO,eAAe,MAAM,GAAG;AAGhE,2BAAyB,QAAQ;AACjC,MAAI,WAAW,UAAU,UACvB,kBAAiB,WAAW,MAAM,KAAK;AAMzC,MAAI,cAAc,MAChB,oBAAmB,UAAU;;CAIjC,MAAM,cAAc;AAClB,MAAI,CAAC,WAAW,MACd,SAAQ,QAAQ;;CAIpB,MAAM,aAAa;AACjB,MAAI,CAAC,WAAW,MACd,SAAQ,QAAQ;;AAIpB,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD"}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_keys = require("./keys-BMye8nSf.js");
|
|
3
|
-
const require_dist = require("./dist-DiXKLh_W.js");
|
|
4
|
-
const require_useId = require("./useId-BkAY2oh6.js");
|
|
5
|
-
const require_useAriaInvalid = require("./useAriaInvalid-CHHPHNLU.js");
|
|
6
|
-
const require_debounce = require("./debounce-D6kifS6w.js");
|
|
7
|
-
const require_useStateClass = require("./useStateClass-CXK3nCg9.js");
|
|
8
|
-
let vue = require("vue");
|
|
9
|
-
//#region src/utils/normalizeInput.ts
|
|
10
|
-
var normalizeInput = (v, modelModifiers) => {
|
|
11
|
-
if (v === null) return;
|
|
12
|
-
let update = v;
|
|
13
|
-
if (modelModifiers.number && typeof update === "string" && update !== "") {
|
|
14
|
-
const parsed = Number.parseFloat(update);
|
|
15
|
-
update = Number.isNaN(parsed) ? update : parsed;
|
|
16
|
-
}
|
|
17
|
-
return update;
|
|
18
|
-
};
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region src/composables/useFormInput.ts
|
|
21
|
-
var useFormInput = (props, input, modelValue, modelModifiers) => {
|
|
22
|
-
const computedId = require_useId.useId(() => props.id, "input");
|
|
23
|
-
const debounceNumber = require_dist.useToNumber(() => props.debounce ?? 0, { nanToZero: true });
|
|
24
|
-
const debounceMaxWaitNumber = require_dist.useToNumber(() => props.debounceMaxWait ?? NaN);
|
|
25
|
-
const formGroupData = (0, vue.inject)(require_keys.formGroupKey, null)?.();
|
|
26
|
-
formGroupData?.track(computedId);
|
|
27
|
-
const computedState = (0, vue.computed)(() => props.state !== void 0 ? props.state : formGroupData?.state.value ?? null);
|
|
28
|
-
const isDisabled = (0, vue.computed)(() => props.disabled || (formGroupData?.disabled.value ?? false));
|
|
29
|
-
const computedAriaInvalid = require_useAriaInvalid.useAriaInvalid(() => props.ariaInvalid, computedState);
|
|
30
|
-
const stateClass = require_useStateClass.useStateClass(computedState);
|
|
31
|
-
const internalUpdateModelValue = require_debounce.useDebounceFn((value) => {
|
|
32
|
-
modelValue.value = value;
|
|
33
|
-
}, () => modelModifiers.lazy === true ? 0 : debounceNumber.value, { maxWait: () => modelModifiers.lazy === true ? NaN : debounceMaxWaitNumber.value });
|
|
34
|
-
const updateModelValue = (value, force = false, immediate = false) => {
|
|
35
|
-
if (modelModifiers.lazy === true && force === false) return;
|
|
36
|
-
if (immediate) modelValue.value = value;
|
|
37
|
-
else internalUpdateModelValue(value);
|
|
38
|
-
};
|
|
39
|
-
const { focused } = require_dist.useFocus(input, { initialValue: props.autofocus });
|
|
40
|
-
const _formatValue = (value, evt, force = false) => {
|
|
41
|
-
if (props.formatter !== void 0 && (!props.lazyFormatter || force)) return props.formatter(value, evt);
|
|
42
|
-
return value;
|
|
43
|
-
};
|
|
44
|
-
(0, vue.onMounted)(() => {
|
|
45
|
-
if (input.value) input.value.value = modelValue.value?.toString() ?? "";
|
|
46
|
-
});
|
|
47
|
-
(0, vue.onActivated)(() => {
|
|
48
|
-
(0, vue.nextTick)(() => {
|
|
49
|
-
if (props.autofocus) focused.value = true;
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
const syncDisplayedValue = (nextValue) => {
|
|
53
|
-
if (input.value && input.value.value !== nextValue) input.value.value = nextValue;
|
|
54
|
-
};
|
|
55
|
-
const onInput = (evt) => {
|
|
56
|
-
const { value } = evt.target;
|
|
57
|
-
const formattedValue = _formatValue(value, evt);
|
|
58
|
-
if (evt.defaultPrevented) {
|
|
59
|
-
evt.preventDefault();
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
updateModelValue(formattedValue);
|
|
63
|
-
if (formattedValue !== value) syncDisplayedValue(formattedValue);
|
|
64
|
-
};
|
|
65
|
-
const onChange = (evt) => {
|
|
66
|
-
const { value } = evt.target;
|
|
67
|
-
const formattedValue = _formatValue(value, evt);
|
|
68
|
-
if (evt.defaultPrevented) {
|
|
69
|
-
evt.preventDefault();
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
const nextModel = formattedValue;
|
|
73
|
-
if (modelValue.value !== nextModel) updateModelValue(formattedValue, true);
|
|
74
|
-
};
|
|
75
|
-
const onBlur = (evt) => {
|
|
76
|
-
if (!modelModifiers.lazy && !props.lazyFormatter && !modelModifiers.trim && debounceNumber.value <= 0) return;
|
|
77
|
-
const { value } = evt.target;
|
|
78
|
-
const formattedValue = _formatValue(value, evt, true);
|
|
79
|
-
const nextModel = modelModifiers.trim ? formattedValue.trim() : formattedValue;
|
|
80
|
-
internalUpdateModelValue.cancel();
|
|
81
|
-
if (modelValue.value !== nextModel) updateModelValue(nextModel, true, true);
|
|
82
|
-
if (nextModel !== value) syncDisplayedValue(nextModel);
|
|
83
|
-
};
|
|
84
|
-
const focus = () => {
|
|
85
|
-
if (!isDisabled.value) focused.value = true;
|
|
86
|
-
};
|
|
87
|
-
const blur = () => {
|
|
88
|
-
if (!isDisabled.value) focused.value = false;
|
|
89
|
-
};
|
|
90
|
-
return {
|
|
91
|
-
input,
|
|
92
|
-
computedId,
|
|
93
|
-
computedAriaInvalid,
|
|
94
|
-
onInput,
|
|
95
|
-
onChange,
|
|
96
|
-
onBlur,
|
|
97
|
-
focus,
|
|
98
|
-
blur,
|
|
99
|
-
stateClass,
|
|
100
|
-
isDisabled
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
//#endregion
|
|
104
|
-
Object.defineProperty(exports, "normalizeInput", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function() {
|
|
107
|
-
return normalizeInput;
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
Object.defineProperty(exports, "useFormInput", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
get: function() {
|
|
113
|
-
return useFormInput;
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
//# sourceMappingURL=useFormInput-ip9hN2AU.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormSelect-BM0rsjni.mjs","names":[],"sources":["../src/composables/useFormSelect.ts"],"sourcesContent":["import {computed, type MaybeRefOrGetter, toValue} from 'vue'\nimport {get} from '../utils/object'\nimport type {ComplexSelectOptionRaw, SelectOption} from '../types'\n\nexport const useFormSelect = (\n options: MaybeRefOrGetter<ReadonlyArray<unknown>>,\n props: MaybeRefOrGetter<{\n valueField: string\n textField: string\n disabledField: string\n optionsField?: string\n labelField?: string\n }>\n) => {\n const isComplex = (option: unknown): option is ComplexSelectOptionRaw =>\n typeof option === 'object' &&\n option !== null &&\n 'options' in option &&\n Array.isArray((option as Record<string, unknown>).options)\n\n const normalizeOption = (option: unknown): ComplexSelectOptionRaw | SelectOption => {\n const propsValue = toValue(props)\n\n if (typeof option === 'string') {\n return {value: option, text: option} satisfies SelectOption\n }\n if (typeof option === 'number' || typeof option === 'boolean') {\n return {value: option, text: `${option}`} satisfies SelectOption\n }\n if (option instanceof Date) {\n return {value: option, text: option.toLocaleString()} satisfies SelectOption\n }\n\n const value: unknown = get(option, propsValue.valueField)\n const text: string = get(option, propsValue.textField)\n const disabled: boolean = get(option, propsValue.disabledField)\n\n const opts: undefined | unknown[] = propsValue.optionsField\n ? get(option, propsValue.optionsField)\n : undefined\n const label: string | undefined =\n (propsValue.labelField ? get(option, propsValue.labelField) : undefined) || text\n\n if (opts !== undefined && Array.isArray(opts)) {\n return {\n label,\n options: opts,\n } as ComplexSelectOptionRaw\n }\n\n const simpleOption =\n typeof option === 'object'\n ? {...(option as Record<string, unknown>)}\n : ({} as Record<string, unknown>)\n\n const fieldsToOmit = new Set(['label', 'options'])\n if (propsValue.labelField) fieldsToOmit.add(propsValue.labelField)\n if (propsValue.optionsField) fieldsToOmit.add(propsValue.optionsField)\n fieldsToOmit.forEach((field) => {\n delete simpleOption[field]\n })\n\n return {\n ...simpleOption,\n value,\n text,\n disabled,\n } satisfies SelectOption\n }\n\n const normalizeOptions = (\n opts: ReadonlyArray<unknown>\n ): (ComplexSelectOptionRaw | SelectOption)[] => opts.map((option) => normalizeOption(option))\n\n const normalizedOptions = computed(() => normalizeOptions(toValue(options)))\n\n return {normalizedOptions, isComplex}\n}\n"],"mappings":";;;AAIA,IAAa,iBACX,SACA,UAOG;CACH,MAAM,aAAa,WACjB,OAAO,WAAW,YAClB,WAAW,QACX,aAAa,UACb,MAAM,QAAS,OAAmC,QAAQ;CAE5D,MAAM,mBAAmB,WAA2D;EAClF,MAAM,aAAa,QAAQ,MAAM;AAEjC,MAAI,OAAO,WAAW,SACpB,QAAO;GAAC,OAAO;GAAQ,MAAM;GAAO;AAEtC,MAAI,OAAO,WAAW,YAAY,OAAO,WAAW,UAClD,QAAO;GAAC,OAAO;GAAQ,MAAM,GAAG;GAAS;AAE3C,MAAI,kBAAkB,KACpB,QAAO;GAAC,OAAO;GAAQ,MAAM,OAAO,gBAAgB;GAAC;EAGvD,MAAM,QAAiB,IAAI,QAAQ,WAAW,WAAW;EACzD,MAAM,OAAe,IAAI,QAAQ,WAAW,UAAU;EACtD,MAAM,WAAoB,IAAI,QAAQ,WAAW,cAAc;EAE/D,MAAM,OAA8B,WAAW,eAC3C,IAAI,QAAQ,WAAW,aAAa,GACpC,KAAA;EACJ,MAAM,SACH,WAAW,aAAa,IAAI,QAAQ,WAAW,WAAW,GAAG,KAAA,MAAc;AAE9E,MAAI,SAAS,KAAA,KAAa,MAAM,QAAQ,KAAK,CAC3C,QAAO;GACL;GACA,SAAS;GACV;EAGH,MAAM,eACJ,OAAO,WAAW,WACd,EAAC,GAAI,QAAmC,GACvC,EAAE;EAET,MAAM,eAAe,IAAI,IAAI,CAAC,SAAS,UAAU,CAAC;AAClD,MAAI,WAAW,WAAY,cAAa,IAAI,WAAW,WAAW;AAClE,MAAI,WAAW,aAAc,cAAa,IAAI,WAAW,aAAa;AACtE,eAAa,SAAS,UAAU;AAC9B,UAAO,aAAa;IACpB;AAEF,SAAO;GACL,GAAG;GACH;GACA;GACA;GACD;;CAGH,MAAM,oBACJ,SAC8C,KAAK,KAAK,WAAW,gBAAgB,OAAO,CAAC;AAI7F,QAAO;EAAC,mBAFkB,eAAe,iBAAiB,QAAQ,QAAQ,CAAC,CAAC;EAEjD;EAAU"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_object = require("./object-BN7QwMcz.js");
|
|
3
|
-
let vue = require("vue");
|
|
4
|
-
//#region src/composables/useFormSelect.ts
|
|
5
|
-
var useFormSelect = (options, props) => {
|
|
6
|
-
const isComplex = (option) => typeof option === "object" && option !== null && "options" in option && Array.isArray(option.options);
|
|
7
|
-
const normalizeOption = (option) => {
|
|
8
|
-
const propsValue = (0, vue.toValue)(props);
|
|
9
|
-
if (typeof option === "string") return {
|
|
10
|
-
value: option,
|
|
11
|
-
text: option
|
|
12
|
-
};
|
|
13
|
-
if (typeof option === "number" || typeof option === "boolean") return {
|
|
14
|
-
value: option,
|
|
15
|
-
text: `${option}`
|
|
16
|
-
};
|
|
17
|
-
if (option instanceof Date) return {
|
|
18
|
-
value: option,
|
|
19
|
-
text: option.toLocaleString()
|
|
20
|
-
};
|
|
21
|
-
const value = require_object.get(option, propsValue.valueField);
|
|
22
|
-
const text = require_object.get(option, propsValue.textField);
|
|
23
|
-
const disabled = require_object.get(option, propsValue.disabledField);
|
|
24
|
-
const opts = propsValue.optionsField ? require_object.get(option, propsValue.optionsField) : void 0;
|
|
25
|
-
const label = (propsValue.labelField ? require_object.get(option, propsValue.labelField) : void 0) || text;
|
|
26
|
-
if (opts !== void 0 && Array.isArray(opts)) return {
|
|
27
|
-
label,
|
|
28
|
-
options: opts
|
|
29
|
-
};
|
|
30
|
-
const simpleOption = typeof option === "object" ? { ...option } : {};
|
|
31
|
-
const fieldsToOmit = new Set(["label", "options"]);
|
|
32
|
-
if (propsValue.labelField) fieldsToOmit.add(propsValue.labelField);
|
|
33
|
-
if (propsValue.optionsField) fieldsToOmit.add(propsValue.optionsField);
|
|
34
|
-
fieldsToOmit.forEach((field) => {
|
|
35
|
-
delete simpleOption[field];
|
|
36
|
-
});
|
|
37
|
-
return {
|
|
38
|
-
...simpleOption,
|
|
39
|
-
value,
|
|
40
|
-
text,
|
|
41
|
-
disabled
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
const normalizeOptions = (opts) => opts.map((option) => normalizeOption(option));
|
|
45
|
-
return {
|
|
46
|
-
normalizedOptions: (0, vue.computed)(() => normalizeOptions((0, vue.toValue)(options))),
|
|
47
|
-
isComplex
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
Object.defineProperty(exports, "useFormSelect", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function() {
|
|
54
|
-
return useFormSelect;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
//# sourceMappingURL=useFormSelect-ClmzGzOy.js.map
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_dist = require("./dist-DiXKLh_W.js");
|
|
3
|
-
let vue = require("vue");
|
|
4
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/getActiveElement.js
|
|
5
|
-
function getActiveElement() {
|
|
6
|
-
let activeElement = document.activeElement;
|
|
7
|
-
if (activeElement == null) return null;
|
|
8
|
-
while (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;
|
|
9
|
-
return activeElement;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
//#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
|
|
13
|
-
function useForwardExpose() {
|
|
14
|
-
const instance = (0, vue.getCurrentInstance)();
|
|
15
|
-
const currentRef = (0, vue.ref)();
|
|
16
|
-
const currentElement = (0, vue.computed)(() => resolveCurrentElement());
|
|
17
|
-
(0, vue.onUpdated)(() => {
|
|
18
|
-
if (currentElement.value !== resolveCurrentElement()) (0, vue.triggerRef)(currentRef);
|
|
19
|
-
});
|
|
20
|
-
function resolveCurrentElement() {
|
|
21
|
-
return currentRef.value && "$el" in currentRef.value && ["#text", "#comment"].includes(currentRef.value.$el.nodeName) ? currentRef.value.$el.nextElementSibling : require_dist.unrefElement(currentRef);
|
|
22
|
-
}
|
|
23
|
-
const localExpose = Object.assign({}, instance.exposed);
|
|
24
|
-
const ret = {};
|
|
25
|
-
for (const key in instance.props) Object.defineProperty(ret, key, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
configurable: true,
|
|
28
|
-
get: () => instance.props[key]
|
|
29
|
-
});
|
|
30
|
-
if (Object.keys(localExpose).length > 0) for (const key in localExpose) Object.defineProperty(ret, key, {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true,
|
|
33
|
-
get: () => localExpose[key]
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(ret, "$el", {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
configurable: true,
|
|
38
|
-
get: () => instance.vnode.el
|
|
39
|
-
});
|
|
40
|
-
instance.exposed = ret;
|
|
41
|
-
function forwardRef(ref$1) {
|
|
42
|
-
currentRef.value = ref$1;
|
|
43
|
-
if (!ref$1) return;
|
|
44
|
-
Object.defineProperty(ret, "$el", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true,
|
|
47
|
-
get: () => ref$1 instanceof Element ? ref$1 : ref$1.$el
|
|
48
|
-
});
|
|
49
|
-
if (!(ref$1 instanceof Element) && !Object.prototype.hasOwnProperty.call(ref$1, "$el")) {
|
|
50
|
-
const childExposed = ref$1.$.exposed;
|
|
51
|
-
const merged = Object.assign({}, ret);
|
|
52
|
-
for (const key in childExposed) Object.defineProperty(merged, key, {
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true,
|
|
55
|
-
get: () => childExposed[key]
|
|
56
|
-
});
|
|
57
|
-
instance.exposed = merged;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
forwardRef,
|
|
62
|
-
currentRef,
|
|
63
|
-
currentElement
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
//#endregion
|
|
67
|
-
Object.defineProperty(exports, "getActiveElement", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function() {
|
|
70
|
-
return getActiveElement;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "useForwardExpose", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function() {
|
|
76
|
-
return useForwardExpose;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
//# sourceMappingURL=useForwardExpose-BpZJluPs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useForwardExpose-BpZJluPs.js","names":["unrefElement"],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/getActiveElement.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useForwardExpose.js"],"sourcesContent":["//#region src/shared/getActiveElement.ts\nfunction getActiveElement() {\n\tlet activeElement = document.activeElement;\n\tif (activeElement == null) return null;\n\twhile (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;\n\treturn activeElement;\n}\n\n//#endregion\nexport { getActiveElement };\n//# sourceMappingURL=getActiveElement.js.map","import { computed, getCurrentInstance, onUpdated, ref, triggerRef } from \"vue\";\nimport { unrefElement } from \"@vueuse/core\";\n\n//#region src/shared/useForwardExpose.ts\nfunction useForwardExpose() {\n\tconst instance = getCurrentInstance();\n\tconst currentRef = ref();\n\tconst currentElement = computed(() => resolveCurrentElement());\n\tonUpdated(() => {\n\t\tif (currentElement.value !== resolveCurrentElement()) triggerRef(currentRef);\n\t});\n\tfunction resolveCurrentElement() {\n\t\treturn currentRef.value && \"$el\" in currentRef.value && [\"#text\", \"#comment\"].includes(currentRef.value.$el.nodeName) ? currentRef.value.$el.nextElementSibling : unrefElement(currentRef);\n\t}\n\tconst localExpose = Object.assign({}, instance.exposed);\n\tconst ret = {};\n\tfor (const key in instance.props) Object.defineProperty(ret, key, {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => instance.props[key]\n\t});\n\tif (Object.keys(localExpose).length > 0) for (const key in localExpose) Object.defineProperty(ret, key, {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => localExpose[key]\n\t});\n\tObject.defineProperty(ret, \"$el\", {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => instance.vnode.el\n\t});\n\tinstance.exposed = ret;\n\tfunction forwardRef(ref$1) {\n\t\tcurrentRef.value = ref$1;\n\t\tif (!ref$1) return;\n\t\tObject.defineProperty(ret, \"$el\", {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tget: () => ref$1 instanceof Element ? ref$1 : ref$1.$el\n\t\t});\n\t\tif (!(ref$1 instanceof Element) && !Object.prototype.hasOwnProperty.call(ref$1, \"$el\")) {\n\t\t\tconst childExposed = ref$1.$.exposed;\n\t\t\tconst merged = Object.assign({}, ret);\n\t\t\tfor (const key in childExposed) Object.defineProperty(merged, key, {\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true,\n\t\t\t\tget: () => childExposed[key]\n\t\t\t});\n\t\t\tinstance.exposed = merged;\n\t\t}\n\t}\n\treturn {\n\t\tforwardRef,\n\t\tcurrentRef,\n\t\tcurrentElement\n\t};\n}\n\n//#endregion\nexport { useForwardExpose };\n//# sourceMappingURL=useForwardExpose.js.map"],"x_google_ignoreList":[0,1],"mappings":";;;;AACA,SAAS,mBAAmB;CAC3B,IAAI,gBAAgB,SAAS;AAC7B,KAAI,iBAAiB,KAAM,QAAO;AAClC,QAAO,iBAAiB,QAAQ,cAAc,cAAc,QAAQ,cAAc,WAAW,iBAAiB,KAAM,iBAAgB,cAAc,WAAW;AAC7J,QAAO;;;;ACDR,SAAS,mBAAmB;CAC3B,MAAM,YAAA,GAAA,IAAA,qBAA+B;CACrC,MAAM,cAAA,GAAA,IAAA,MAAkB;CACxB,MAAM,kBAAA,GAAA,IAAA,gBAAgC,uBAAuB,CAAC;AAC9D,EAAA,GAAA,IAAA,iBAAgB;AACf,MAAI,eAAe,UAAU,uBAAuB,CAAE,EAAA,GAAA,IAAA,YAAW,WAAW;GAC3E;CACF,SAAS,wBAAwB;AAChC,SAAO,WAAW,SAAS,SAAS,WAAW,SAAS,CAAC,SAAS,WAAW,CAAC,SAAS,WAAW,MAAM,IAAI,SAAS,GAAG,WAAW,MAAM,IAAI,qBAAqBA,aAAAA,aAAa,WAAW;;CAE3L,MAAM,cAAc,OAAO,OAAO,EAAE,EAAE,SAAS,QAAQ;CACvD,MAAM,MAAM,EAAE;AACd,MAAK,MAAM,OAAO,SAAS,MAAO,QAAO,eAAe,KAAK,KAAK;EACjE,YAAY;EACZ,cAAc;EACd,WAAW,SAAS,MAAM;EAC1B,CAAC;AACF,KAAI,OAAO,KAAK,YAAY,CAAC,SAAS,EAAG,MAAK,MAAM,OAAO,YAAa,QAAO,eAAe,KAAK,KAAK;EACvG,YAAY;EACZ,cAAc;EACd,WAAW,YAAY;EACvB,CAAC;AACF,QAAO,eAAe,KAAK,OAAO;EACjC,YAAY;EACZ,cAAc;EACd,WAAW,SAAS,MAAM;EAC1B,CAAC;AACF,UAAS,UAAU;CACnB,SAAS,WAAW,OAAO;AAC1B,aAAW,QAAQ;AACnB,MAAI,CAAC,MAAO;AACZ,SAAO,eAAe,KAAK,OAAO;GACjC,YAAY;GACZ,cAAc;GACd,WAAW,iBAAiB,UAAU,QAAQ,MAAM;GACpD,CAAC;AACF,MAAI,EAAE,iBAAiB,YAAY,CAAC,OAAO,UAAU,eAAe,KAAK,OAAO,MAAM,EAAE;GACvF,MAAM,eAAe,MAAM,EAAE;GAC7B,MAAM,SAAS,OAAO,OAAO,EAAE,EAAE,IAAI;AACrC,QAAK,MAAM,OAAO,aAAc,QAAO,eAAe,QAAQ,KAAK;IAClE,YAAY;IACZ,cAAc;IACd,WAAW,aAAa;IACxB,CAAC;AACF,YAAS,UAAU;;;AAGrB,QAAO;EACN;EACA;EACA;EACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useForwardExpose-Cob6LlGd.mjs","names":[],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/getActiveElement.js","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useForwardExpose.js"],"sourcesContent":["//#region src/shared/getActiveElement.ts\nfunction getActiveElement() {\n\tlet activeElement = document.activeElement;\n\tif (activeElement == null) return null;\n\twhile (activeElement != null && activeElement.shadowRoot != null && activeElement.shadowRoot.activeElement != null) activeElement = activeElement.shadowRoot.activeElement;\n\treturn activeElement;\n}\n\n//#endregion\nexport { getActiveElement };\n//# sourceMappingURL=getActiveElement.js.map","import { computed, getCurrentInstance, onUpdated, ref, triggerRef } from \"vue\";\nimport { unrefElement } from \"@vueuse/core\";\n\n//#region src/shared/useForwardExpose.ts\nfunction useForwardExpose() {\n\tconst instance = getCurrentInstance();\n\tconst currentRef = ref();\n\tconst currentElement = computed(() => resolveCurrentElement());\n\tonUpdated(() => {\n\t\tif (currentElement.value !== resolveCurrentElement()) triggerRef(currentRef);\n\t});\n\tfunction resolveCurrentElement() {\n\t\treturn currentRef.value && \"$el\" in currentRef.value && [\"#text\", \"#comment\"].includes(currentRef.value.$el.nodeName) ? currentRef.value.$el.nextElementSibling : unrefElement(currentRef);\n\t}\n\tconst localExpose = Object.assign({}, instance.exposed);\n\tconst ret = {};\n\tfor (const key in instance.props) Object.defineProperty(ret, key, {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => instance.props[key]\n\t});\n\tif (Object.keys(localExpose).length > 0) for (const key in localExpose) Object.defineProperty(ret, key, {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => localExpose[key]\n\t});\n\tObject.defineProperty(ret, \"$el\", {\n\t\tenumerable: true,\n\t\tconfigurable: true,\n\t\tget: () => instance.vnode.el\n\t});\n\tinstance.exposed = ret;\n\tfunction forwardRef(ref$1) {\n\t\tcurrentRef.value = ref$1;\n\t\tif (!ref$1) return;\n\t\tObject.defineProperty(ret, \"$el\", {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tget: () => ref$1 instanceof Element ? ref$1 : ref$1.$el\n\t\t});\n\t\tif (!(ref$1 instanceof Element) && !Object.prototype.hasOwnProperty.call(ref$1, \"$el\")) {\n\t\t\tconst childExposed = ref$1.$.exposed;\n\t\t\tconst merged = Object.assign({}, ret);\n\t\t\tfor (const key in childExposed) Object.defineProperty(merged, key, {\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true,\n\t\t\t\tget: () => childExposed[key]\n\t\t\t});\n\t\t\tinstance.exposed = merged;\n\t\t}\n\t}\n\treturn {\n\t\tforwardRef,\n\t\tcurrentRef,\n\t\tcurrentElement\n\t};\n}\n\n//#endregion\nexport { useForwardExpose };\n//# sourceMappingURL=useForwardExpose.js.map"],"x_google_ignoreList":[0,1],"mappings":";;;AACA,SAAS,mBAAmB;CAC3B,IAAI,gBAAgB,SAAS;AAC7B,KAAI,iBAAiB,KAAM,QAAO;AAClC,QAAO,iBAAiB,QAAQ,cAAc,cAAc,QAAQ,cAAc,WAAW,iBAAiB,KAAM,iBAAgB,cAAc,WAAW;AAC7J,QAAO;;;;ACDR,SAAS,mBAAmB;CAC3B,MAAM,WAAW,oBAAoB;CACrC,MAAM,aAAa,KAAK;CACxB,MAAM,iBAAiB,eAAe,uBAAuB,CAAC;AAC9D,iBAAgB;AACf,MAAI,eAAe,UAAU,uBAAuB,CAAE,YAAW,WAAW;GAC3E;CACF,SAAS,wBAAwB;AAChC,SAAO,WAAW,SAAS,SAAS,WAAW,SAAS,CAAC,SAAS,WAAW,CAAC,SAAS,WAAW,MAAM,IAAI,SAAS,GAAG,WAAW,MAAM,IAAI,qBAAqB,aAAa,WAAW;;CAE3L,MAAM,cAAc,OAAO,OAAO,EAAE,EAAE,SAAS,QAAQ;CACvD,MAAM,MAAM,EAAE;AACd,MAAK,MAAM,OAAO,SAAS,MAAO,QAAO,eAAe,KAAK,KAAK;EACjE,YAAY;EACZ,cAAc;EACd,WAAW,SAAS,MAAM;EAC1B,CAAC;AACF,KAAI,OAAO,KAAK,YAAY,CAAC,SAAS,EAAG,MAAK,MAAM,OAAO,YAAa,QAAO,eAAe,KAAK,KAAK;EACvG,YAAY;EACZ,cAAc;EACd,WAAW,YAAY;EACvB,CAAC;AACF,QAAO,eAAe,KAAK,OAAO;EACjC,YAAY;EACZ,cAAc;EACd,WAAW,SAAS,MAAM;EAC1B,CAAC;AACF,UAAS,UAAU;CACnB,SAAS,WAAW,OAAO;AAC1B,aAAW,QAAQ;AACnB,MAAI,CAAC,MAAO;AACZ,SAAO,eAAe,KAAK,OAAO;GACjC,YAAY;GACZ,cAAc;GACd,WAAW,iBAAiB,UAAU,QAAQ,MAAM;GACpD,CAAC;AACF,MAAI,EAAE,iBAAiB,YAAY,CAAC,OAAO,UAAU,eAAe,KAAK,OAAO,MAAM,EAAE;GACvF,MAAM,eAAe,MAAM,EAAE;GAC7B,MAAM,SAAS,OAAO,OAAO,EAAE,EAAE,IAAI;AACrC,QAAK,MAAM,OAAO,aAAc,QAAO,eAAe,QAAQ,KAAK;IAClE,YAAY;IACZ,cAAc;IACd,WAAW,aAAa;IACxB,CAAC;AACF,YAAS,UAAU;;;AAGrB,QAAO;EACN;EACA;EACA;EACA"}
|
package/dist/useId-BkAY2oh6.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
require("./chunk-CoQrYLCe.js");
|
|
2
|
-
const require_keys = require("./keys-BMye8nSf.js");
|
|
3
|
-
let vue = require("vue");
|
|
4
|
-
//#region src/composables/useId.ts
|
|
5
|
-
var useId = (id, suffix) => {
|
|
6
|
-
const genId = (0, vue.useId)();
|
|
7
|
-
return (0, vue.computed)(() => (0, vue.toValue)(id) || require_keys.withBvnPrefix(genId || "", suffix));
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
10
|
-
Object.defineProperty(exports, "useId", {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function() {
|
|
13
|
-
return useId;
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=useId-BkAY2oh6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useId-D1sqXtwx.mjs","names":[],"sources":["../src/composables/useId.ts"],"sourcesContent":["import {withBvnPrefix} from '../utils/keys'\nimport {computed, type ComputedRef, type MaybeRefOrGetter, toValue, useId as vueUseId} from 'vue'\n\nexport const useId = (\n id?: MaybeRefOrGetter<string | undefined>,\n suffix?: string\n): ComputedRef<string> => {\n const genId = vueUseId()\n return computed(() => toValue(id) || withBvnPrefix(genId || '', suffix))\n}\n"],"mappings":";;;AAGA,IAAa,WACX,IACA,WACwB;CACxB,MAAM,QAAQ,OAAU;AACxB,QAAO,eAAe,QAAQ,GAAG,IAAI,cAAc,SAAS,IAAI,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useKbd-DfmgFov6.mjs","names":[],"sources":["../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/nullish.js","../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useKbd.js"],"sourcesContent":["//#region src/shared/nullish.ts\nfunction isNullish(value) {\n\treturn value === null || value === void 0;\n}\n\n//#endregion\nexport { isNullish };\n//# sourceMappingURL=nullish.js.map","function isPlainObject(value) {\n if (value === null || typeof value !== \"object\") {\n return false;\n }\n const prototype = Object.getPrototypeOf(value);\n if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {\n return false;\n }\n if (Symbol.iterator in value) {\n return false;\n }\n if (Symbol.toStringTag in value) {\n return Object.prototype.toString.call(value) === \"[object Module]\";\n }\n return true;\n}\n\nfunction _defu(baseObject, defaults, namespace = \".\", merger) {\n if (!isPlainObject(defaults)) {\n return _defu(baseObject, {}, namespace, merger);\n }\n const object = Object.assign({}, defaults);\n for (const key in baseObject) {\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = baseObject[key];\n if (value === null || value === void 0) {\n continue;\n }\n if (merger && merger(object, key, value, namespace)) {\n continue;\n }\n if (Array.isArray(value) && Array.isArray(object[key])) {\n object[key] = [...value, ...object[key]];\n } else if (isPlainObject(value) && isPlainObject(object[key])) {\n object[key] = _defu(\n value,\n object[key],\n (namespace ? `${namespace}.` : \"\") + key.toString(),\n merger\n );\n } else {\n object[key] = value;\n }\n }\n return object;\n}\nfunction createDefu(merger) {\n return (...arguments_) => (\n // eslint-disable-next-line unicorn/no-array-reduce\n arguments_.reduce((p, c) => _defu(p, c, \"\", merger), {})\n );\n}\nconst defu = createDefu();\nconst defuFn = createDefu((object, key, currentValue) => {\n if (object[key] !== void 0 && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\nconst defuArrayFn = createDefu((object, key, currentValue) => {\n if (Array.isArray(object[key]) && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\n\nexport { createDefu, defu as default, defu, defuArrayFn, defuFn };\n","//#region src/shared/useKbd.ts\nfunction useKbd() {\n\treturn {\n\t\tALT: \"Alt\",\n\t\tARROW_DOWN: \"ArrowDown\",\n\t\tARROW_LEFT: \"ArrowLeft\",\n\t\tARROW_RIGHT: \"ArrowRight\",\n\t\tARROW_UP: \"ArrowUp\",\n\t\tBACKSPACE: \"Backspace\",\n\t\tCAPS_LOCK: \"CapsLock\",\n\t\tCONTROL: \"Control\",\n\t\tDELETE: \"Delete\",\n\t\tEND: \"End\",\n\t\tENTER: \"Enter\",\n\t\tESCAPE: \"Escape\",\n\t\tF1: \"F1\",\n\t\tF10: \"F10\",\n\t\tF11: \"F11\",\n\t\tF12: \"F12\",\n\t\tF2: \"F2\",\n\t\tF3: \"F3\",\n\t\tF4: \"F4\",\n\t\tF5: \"F5\",\n\t\tF6: \"F6\",\n\t\tF7: \"F7\",\n\t\tF8: \"F8\",\n\t\tF9: \"F9\",\n\t\tHOME: \"Home\",\n\t\tMETA: \"Meta\",\n\t\tPAGE_DOWN: \"PageDown\",\n\t\tPAGE_UP: \"PageUp\",\n\t\tSHIFT: \"Shift\",\n\t\tSPACE: \" \",\n\t\tTAB: \"Tab\",\n\t\tCTRL: \"Control\",\n\t\tASTERISK: \"*\",\n\t\tSPACE_CODE: \"Space\"\n\t};\n}\n\n//#endregion\nexport { useKbd };\n//# sourceMappingURL=useKbd.js.map"],"x_google_ignoreList":[0,1,2],"mappings":";AACA,SAAS,UAAU,OAAO;AACzB,QAAO,UAAU,QAAQ,UAAU,KAAK;;;;ACFzC,SAAS,cAAc,OAAO;AAC5B,KAAI,UAAU,QAAQ,OAAO,UAAU,SACrC,QAAO;CAET,MAAM,YAAY,OAAO,eAAe,MAAM;AAC9C,KAAI,cAAc,QAAQ,cAAc,OAAO,aAAa,OAAO,eAAe,UAAU,KAAK,KAC/F,QAAO;AAET,KAAI,OAAO,YAAY,MACrB,QAAO;AAET,KAAI,OAAO,eAAe,MACxB,QAAO,OAAO,UAAU,SAAS,KAAK,MAAM,KAAK;AAEnD,QAAO;;AAGT,SAAS,MAAM,YAAY,UAAU,YAAY,KAAK,QAAQ;AAC5D,KAAI,CAAC,cAAc,SAAS,CAC1B,QAAO,MAAM,YAAY,EAAE,EAAE,WAAW,OAAO;CAEjD,MAAM,SAAS,OAAO,OAAO,EAAE,EAAE,SAAS;AAC1C,MAAK,MAAM,OAAO,YAAY;AAC5B,MAAI,QAAQ,eAAe,QAAQ,cACjC;EAEF,MAAM,QAAQ,WAAW;AACzB,MAAI,UAAU,QAAQ,UAAU,KAAK,EACnC;AAEF,MAAI,UAAU,OAAO,QAAQ,KAAK,OAAO,UAAU,CACjD;AAEF,MAAI,MAAM,QAAQ,MAAM,IAAI,MAAM,QAAQ,OAAO,KAAK,CACpD,QAAO,OAAO,CAAC,GAAG,OAAO,GAAG,OAAO,KAAK;WAC/B,cAAc,MAAM,IAAI,cAAc,OAAO,KAAK,CAC3D,QAAO,OAAO,MACZ,OACA,OAAO,OACN,YAAY,GAAG,UAAU,KAAK,MAAM,IAAI,UAAU,EACnD,OACD;MAED,QAAO,OAAO;;AAGlB,QAAO;;AAET,SAAS,WAAW,QAAQ;AAC1B,SAAQ,GAAG,eAET,WAAW,QAAQ,GAAG,MAAM,MAAM,GAAG,GAAG,IAAI,OAAO,EAAE,EAAE,CAAC;;AAG5D,IAAM,OAAO,YAAY;AACV,YAAY,QAAQ,KAAK,iBAAiB;AACvD,KAAI,OAAO,SAAS,KAAK,KAAK,OAAO,iBAAiB,YAAY;AAChE,SAAO,OAAO,aAAa,OAAO,KAAK;AACvC,SAAO;;EAET;AACkB,YAAY,QAAQ,KAAK,iBAAiB;AAC5D,KAAI,MAAM,QAAQ,OAAO,KAAK,IAAI,OAAO,iBAAiB,YAAY;AACpE,SAAO,OAAO,aAAa,OAAO,KAAK;AACvC,SAAO;;EAET;;;ACjEF,SAAS,SAAS;AACjB,QAAO;EACN,KAAK;EACL,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,UAAU;EACV,WAAW;EACX,WAAW;EACX,SAAS;EACT,QAAQ;EACR,KAAK;EACL,OAAO;EACP,QAAQ;EACR,IAAI;EACJ,KAAK;EACL,KAAK;EACL,KAAK;EACL,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,MAAM;EACN,MAAM;EACN,WAAW;EACX,SAAS;EACT,OAAO;EACP,OAAO;EACP,KAAK;EACL,MAAM;EACN,UAAU;EACV,YAAY;EACZ"}
|
package/dist/useKbd-sqDCJtXL.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/nullish.js
|
|
2
|
-
function isNullish(value) {
|
|
3
|
-
return value === null || value === void 0;
|
|
4
|
-
}
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
|
|
7
|
-
function isPlainObject(value) {
|
|
8
|
-
if (value === null || typeof value !== "object") return false;
|
|
9
|
-
const prototype = Object.getPrototypeOf(value);
|
|
10
|
-
if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) return false;
|
|
11
|
-
if (Symbol.iterator in value) return false;
|
|
12
|
-
if (Symbol.toStringTag in value) return Object.prototype.toString.call(value) === "[object Module]";
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
function _defu(baseObject, defaults, namespace = ".", merger) {
|
|
16
|
-
if (!isPlainObject(defaults)) return _defu(baseObject, {}, namespace, merger);
|
|
17
|
-
const object = Object.assign({}, defaults);
|
|
18
|
-
for (const key in baseObject) {
|
|
19
|
-
if (key === "__proto__" || key === "constructor") continue;
|
|
20
|
-
const value = baseObject[key];
|
|
21
|
-
if (value === null || value === void 0) continue;
|
|
22
|
-
if (merger && merger(object, key, value, namespace)) continue;
|
|
23
|
-
if (Array.isArray(value) && Array.isArray(object[key])) object[key] = [...value, ...object[key]];
|
|
24
|
-
else if (isPlainObject(value) && isPlainObject(object[key])) object[key] = _defu(value, object[key], (namespace ? `${namespace}.` : "") + key.toString(), merger);
|
|
25
|
-
else object[key] = value;
|
|
26
|
-
}
|
|
27
|
-
return object;
|
|
28
|
-
}
|
|
29
|
-
function createDefu(merger) {
|
|
30
|
-
return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
|
|
31
|
-
}
|
|
32
|
-
var defu = createDefu();
|
|
33
|
-
createDefu((object, key, currentValue) => {
|
|
34
|
-
if (object[key] !== void 0 && typeof currentValue === "function") {
|
|
35
|
-
object[key] = currentValue(object[key]);
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
createDefu((object, key, currentValue) => {
|
|
40
|
-
if (Array.isArray(object[key]) && typeof currentValue === "function") {
|
|
41
|
-
object[key] = currentValue(object[key]);
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useKbd.js
|
|
47
|
-
function useKbd() {
|
|
48
|
-
return {
|
|
49
|
-
ALT: "Alt",
|
|
50
|
-
ARROW_DOWN: "ArrowDown",
|
|
51
|
-
ARROW_LEFT: "ArrowLeft",
|
|
52
|
-
ARROW_RIGHT: "ArrowRight",
|
|
53
|
-
ARROW_UP: "ArrowUp",
|
|
54
|
-
BACKSPACE: "Backspace",
|
|
55
|
-
CAPS_LOCK: "CapsLock",
|
|
56
|
-
CONTROL: "Control",
|
|
57
|
-
DELETE: "Delete",
|
|
58
|
-
END: "End",
|
|
59
|
-
ENTER: "Enter",
|
|
60
|
-
ESCAPE: "Escape",
|
|
61
|
-
F1: "F1",
|
|
62
|
-
F10: "F10",
|
|
63
|
-
F11: "F11",
|
|
64
|
-
F12: "F12",
|
|
65
|
-
F2: "F2",
|
|
66
|
-
F3: "F3",
|
|
67
|
-
F4: "F4",
|
|
68
|
-
F5: "F5",
|
|
69
|
-
F6: "F6",
|
|
70
|
-
F7: "F7",
|
|
71
|
-
F8: "F8",
|
|
72
|
-
F9: "F9",
|
|
73
|
-
HOME: "Home",
|
|
74
|
-
META: "Meta",
|
|
75
|
-
PAGE_DOWN: "PageDown",
|
|
76
|
-
PAGE_UP: "PageUp",
|
|
77
|
-
SHIFT: "Shift",
|
|
78
|
-
SPACE: " ",
|
|
79
|
-
TAB: "Tab",
|
|
80
|
-
CTRL: "Control",
|
|
81
|
-
ASTERISK: "*",
|
|
82
|
-
SPACE_CODE: "Space"
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
//#endregion
|
|
86
|
-
Object.defineProperty(exports, "defu", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function() {
|
|
89
|
-
return defu;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "isNullish", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function() {
|
|
95
|
-
return isNullish;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "useKbd", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function() {
|
|
101
|
-
return useKbd;
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
//# sourceMappingURL=useKbd-sqDCJtXL.js.map
|