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.
Files changed (913) hide show
  1. package/dist/App.vue.d.mts +2 -1
  2. package/dist/App.vue.d.ts +2 -1
  3. package/dist/{BAccordion-D51b9HVD.mjs → BAccordion-FuQ6sMFy.js} +33 -31
  4. package/dist/BAccordion-FuQ6sMFy.js.map +1 -0
  5. package/dist/{BAlert-Ce2uxrJi.mjs → BAlert-C9Mi4RDx.js} +20 -13
  6. package/dist/BAlert-C9Mi4RDx.js.map +1 -0
  7. package/dist/{BApp-B-fUrnpK.mjs → BApp-GXR1wS6K.js} +53 -51
  8. package/dist/BApp-GXR1wS6K.js.map +1 -0
  9. package/dist/{BAspect-wfiXM4KA.mjs → BAspect-BPR6DH5W.js} +2 -2
  10. package/dist/{BAspect-CUIU48Ck.js.map → BAspect-BPR6DH5W.js.map} +1 -1
  11. package/dist/{BAutocomplete-CH-bQzME.mjs → BAutocomplete-DGvKY7-D.js} +195 -101
  12. package/dist/BAutocomplete-DGvKY7-D.js.map +1 -0
  13. package/dist/{BAvatar-iALHbqVk.mjs → BAvatar-BsStQrBF.js} +13 -13
  14. package/dist/BAvatar-BsStQrBF.js.map +1 -0
  15. package/dist/{BBadge-Cx_CdauK.mjs → BBadge-BaZ13wE_.js} +5 -5
  16. package/dist/{BBadge-Db6SEnzy.js.map → BBadge-BaZ13wE_.js.map} +1 -1
  17. package/dist/{BBreadcrumb-BxADbg0O.mjs → BBreadcrumb-C-SsS3hM.js} +4 -4
  18. package/dist/{BBreadcrumb-B9ra7vg2.js.map → BBreadcrumb-C-SsS3hM.js.map} +1 -1
  19. package/dist/{BButton-BSa7LfL5.mjs → BButton-Cc2gd95Z.js} +5 -7
  20. package/dist/{BButton-DRRlzkyK.js.map → BButton-Cc2gd95Z.js.map} +1 -1
  21. package/dist/{BButton-PY7AANXJ.mjs → BButton-KZu5jczf.js} +9 -9
  22. package/dist/{BButton-aYtMnyHu.js.map → BButton-KZu5jczf.js.map} +1 -1
  23. package/dist/{BCard-BWoruisp.mjs → BCard-D2GEiXan.js} +2 -3
  24. package/dist/{BCard-Bh8RLMo_.js.map → BCard-D2GEiXan.js.map} +1 -1
  25. package/dist/{BCard-CHbKv2OR.mjs → BCard-nRj1JWtQ.js} +9 -9
  26. package/dist/{BCard-DwNYhVmg.js.map → BCard-nRj1JWtQ.js.map} +1 -1
  27. package/dist/{BCarousel-B6_bgQpl.mjs → BCarousel-DQgfW4DN.js} +11 -10
  28. package/dist/{BCarousel-2JB21Pcu.js.map → BCarousel-DQgfW4DN.js.map} +1 -1
  29. package/dist/{BCloseButton-CKTKr4PS.mjs → BCloseButton-B3-IdpNp.js} +2 -2
  30. package/dist/{BCloseButton-D42zHRLP.js.map → BCloseButton-B3-IdpNp.js.map} +1 -1
  31. package/dist/{BCol-B3VeEk9z.mjs → BCol-DiZFbqU5.js} +3 -3
  32. package/dist/{BCol-Ck9VydHj.js.map → BCol-DiZFbqU5.js.map} +1 -1
  33. package/dist/{BCollapse-kqhe4AmL.mjs → BCollapse-B9fnWSzA.js} +15 -9
  34. package/dist/BCollapse-B9fnWSzA.js.map +1 -0
  35. package/dist/{BContainer-ATfhaxTc.mjs → BContainer-D-bZVPwa.js} +2 -4
  36. package/dist/{BContainer-CcF6dgtI.js.map → BContainer-D-bZVPwa.js.map} +1 -1
  37. package/dist/{BDateField-CccP3H1R.mjs → BDateField-Bj-Jz7u4.js} +27 -22
  38. package/dist/BDateField-Bj-Jz7u4.js.map +1 -0
  39. package/dist/{BDatePicker-BnwnSkBg.mjs → BDatePicker-AVTYcVLy.js} +232 -148
  40. package/dist/BDatePicker-AVTYcVLy.js.map +1 -0
  41. package/dist/{BDropdown-B1DbvVzm.mjs → BDropdown-CnxUzs42.js} +55 -46
  42. package/dist/BDropdown-CnxUzs42.js.map +1 -0
  43. package/dist/{BDropdown-0E8x5kk6.mjs → BDropdown-D4VSJJxu.js} +5 -6
  44. package/dist/{BDropdown-DKCgBzYS.js.map → BDropdown-D4VSJJxu.js.map} +1 -1
  45. package/dist/{BForm-BVfW08s5.mjs → BForm-BOoX6AAr.js} +2 -2
  46. package/dist/{BForm-cnRpggt9.js.map → BForm-BOoX6AAr.js.map} +1 -1
  47. package/dist/{BForm-DJu2hDV_.mjs → BForm-C5PR2ust.js} +7 -8
  48. package/dist/{BForm-6JlWdQMO.js.map → BForm-C5PR2ust.js.map} +1 -1
  49. package/dist/{BFormCheckbox-Baf_9BSc.mjs → BFormCheckbox-BMhyR-J5.js} +12 -13
  50. package/dist/BFormCheckbox-BMhyR-J5.js.map +1 -0
  51. package/dist/{BFormFile-CZebm0Cp.mjs → BFormFile-BVrDprWL.js} +8 -8
  52. package/dist/{BFormFile-MISLntyJ.js.map → BFormFile-BVrDprWL.js.map} +1 -1
  53. package/dist/{BFormGroup-vysRPb99.mjs → BFormGroup-BE5tGz_g.js} +40 -24
  54. package/dist/BFormGroup-BE5tGz_g.js.map +1 -0
  55. package/dist/{BFormInput-sEfU3CuN.mjs → BFormInput-BwvdFGDu.js} +5 -5
  56. package/dist/{BFormInput-CBwwDjfC.js.map → BFormInput-BwvdFGDu.js.map} +1 -1
  57. package/dist/{BFormOtp-C8X3u1od.mjs → BFormOtp-I1t8dqPS.js} +63 -22
  58. package/dist/BFormOtp-I1t8dqPS.js.map +1 -0
  59. package/dist/{BFormRadio-COc_IbxC.mjs → BFormRadio-DRViMh6V.js} +24 -13
  60. package/dist/BFormRadio-DRViMh6V.js.map +1 -0
  61. package/dist/{BFormRating-CIgPVsH_.mjs → BFormRating-AEiF8K8T.js} +23 -17
  62. package/dist/BFormRating-AEiF8K8T.js.map +1 -0
  63. package/dist/{BFormSelect-P-InkOm-.mjs → BFormSelect-DdjH8482.js} +23 -12
  64. package/dist/BFormSelect-DdjH8482.js.map +1 -0
  65. package/dist/{BFormSelectOption-DFN4lPRh.mjs → BFormSelectOption-C8orMj24.js} +3 -3
  66. package/dist/{BFormSelectOption-DrwJucNf.js.map → BFormSelectOption-C8orMj24.js.map} +1 -1
  67. package/dist/{BFormSpinbutton-6qkTBF_4.mjs → BFormSpinbutton-Bt590uT6.js} +10 -9
  68. package/dist/{BFormSpinbutton-1gTz4nTo.js.map → BFormSpinbutton-Bt590uT6.js.map} +1 -1
  69. package/dist/{BFormTag-CnzI39y9.mjs → BFormTag-DGSUfz7A.js} +5 -5
  70. package/dist/{BFormTag-CeV0MSRC.js.map → BFormTag-DGSUfz7A.js.map} +1 -1
  71. package/dist/{BFormTags-BMltSaKL.mjs → BFormTags-CUcyRTCK.js} +23 -27
  72. package/dist/BFormTags-CUcyRTCK.js.map +1 -0
  73. package/dist/{BFormTextarea-DN1gAfSo.mjs → BFormTextarea-DlDe26DL.js} +6 -6
  74. package/dist/{BFormTextarea-C3Cj0DWj.js.map → BFormTextarea-DlDe26DL.js.map} +1 -1
  75. package/dist/{BFormValidFeedback-CBYxQLDz.mjs → BFormValidFeedback-ClqLRxtH.js} +4 -4
  76. package/dist/{BFormValidFeedback-Kwxh798d.js.map → BFormValidFeedback-ClqLRxtH.js.map} +1 -1
  77. package/dist/{BImg-QBS2ECBc.mjs → BImg-knz2UZQE.js} +5 -5
  78. package/dist/{BImg-JKJLgYYT.js.map → BImg-knz2UZQE.js.map} +1 -1
  79. package/dist/{BInputGroup-DiTSexkT.mjs → BInputGroup-Bjh7zXyI.js} +2 -3
  80. package/dist/{BInputGroup-D4fW324B.js.map → BInputGroup-Bjh7zXyI.js.map} +1 -1
  81. package/dist/{BInputGroup-X2Z53RJx.mjs → BInputGroup-DdoeSICR.js} +3 -3
  82. package/dist/{BInputGroup-Bvlfv6VD.js.map → BInputGroup-DdoeSICR.js.map} +1 -1
  83. package/dist/{BLink-Dfgte6dQ.mjs → BLink-mdwZsC7b.js} +5 -5
  84. package/dist/{BLink-kLEjleB1.js.map → BLink-mdwZsC7b.js.map} +1 -1
  85. package/dist/{BListGroup-DwTLpNiD.mjs → BListGroup-CQedMbI8.js} +4 -4
  86. package/dist/{BListGroup-C8JOzHTz.js.map → BListGroup-CQedMbI8.js.map} +1 -1
  87. package/dist/{BModal-C-ZCau2E.mjs → BModal-NPsCBNo7.js} +25 -18
  88. package/dist/BModal-NPsCBNo7.js.map +1 -0
  89. package/dist/{BNav-DfYvjfRK.mjs → BNav-CjXS9tQ5.js} +9 -9
  90. package/dist/{BNav-DCLambmM.js.map → BNav-CjXS9tQ5.js.map} +1 -1
  91. package/dist/{BNavbar-xYaikQVY.mjs → BNavbar-DRqkdxTk.js} +12 -9
  92. package/dist/{BNavbar-BLWaZJRP.js.map → BNavbar-DRqkdxTk.js.map} +1 -1
  93. package/dist/{BOffcanvas-CF-dWeez.mjs → BOffcanvas-BndaBJoP.js} +22 -16
  94. package/dist/BOffcanvas-BndaBJoP.js.map +1 -0
  95. package/dist/{BOverlay-Bh2PIN_q.mjs → BOverlay-CJfy_f6O.js} +6 -6
  96. package/dist/{BOverlay-Bh4ldxgt.js.map → BOverlay-CJfy_f6O.js.map} +1 -1
  97. package/dist/{BPagination-D75q-ZNg.mjs → BPagination-D_Hfk6OF.js} +29 -27
  98. package/dist/{BPagination-fbjFAtxu.js.map → BPagination-D_Hfk6OF.js.map} +1 -1
  99. package/dist/{BPlaceholder-DPQ6mCLN.mjs → BPlaceholder-DvOCnqDh.js} +11 -11
  100. package/dist/{BPlaceholder-B3rs_39w.js.map → BPlaceholder-DvOCnqDh.js.map} +1 -1
  101. package/dist/{BProgress-BZlrPYhA.mjs → BProgress-BNxYppi-.js} +5 -5
  102. package/dist/{BProgress-th0-eZWo.js.map → BProgress-BNxYppi-.js.map} +1 -1
  103. package/dist/{BRow-eGSUYGCW.mjs → BRow-CoBI89xF.js} +4 -4
  104. package/dist/{BRow-7AOuFiSy.js.map → BRow-CoBI89xF.js.map} +1 -1
  105. package/dist/{BSpinner-CUfGqviV.mjs → BSpinner-H1DZOmiM.js} +4 -4
  106. package/dist/{BSpinner-DbYIp-C7.js.map → BSpinner-H1DZOmiM.js.map} +1 -1
  107. package/dist/{BTable-DUHxxWv5.mjs → BTable-BZxX17YU.js} +40 -33
  108. package/dist/BTable-BZxX17YU.js.map +1 -0
  109. package/dist/{BTableSimple-C-jn9Nwh.mjs → BTableSimple-2Z7ssnuG.js} +5 -5
  110. package/dist/{BTableSimple-BkdGAAKb.js.map → BTableSimple-2Z7ssnuG.js.map} +1 -1
  111. package/dist/{BTabs-D_vWlBjT.mjs → BTabs-BVcu9DPg.js} +19 -17
  112. package/dist/{BTabs-CvecFg5N.js.map → BTabs-BVcu9DPg.js.map} +1 -1
  113. package/dist/{BTimeField-BSDaZogC.mjs → BTimeField-CbRGjaI6.js} +24 -19
  114. package/dist/BTimeField-CbRGjaI6.js.map +1 -0
  115. package/dist/{BToast-Y8BayxES.mjs → BToast-Di9HwBOV.js} +21 -14
  116. package/dist/BToast-Di9HwBOV.js.map +1 -0
  117. package/dist/{BTooltip-CVP8HdkU.mjs → BTooltip-BxaUtV4m.js} +5 -5
  118. package/dist/{BTooltip-DPLYtaL1.js.map → BTooltip-BxaUtV4m.js.map} +1 -1
  119. package/dist/{BootstrapVueOptions-Dt1TQdih.mjs → BootstrapVueOptions-DH79gHKG.js} +1 -4
  120. package/dist/BootstrapVueOptions-DH79gHKG.js.map +1 -0
  121. package/dist/{ConditionalTeleport-B4KYZIM6.mjs → ConditionalTeleport-BCKPLEun.js} +1 -1
  122. package/dist/{ConditionalTeleport-BDWcebyD.js.map → ConditionalTeleport-BCKPLEun.js.map} +1 -1
  123. package/dist/{ConditionalWrapper-Dbc_O6qe.mjs → ConditionalWrapper-CCIk52zt.js} +1 -1
  124. package/dist/{ConditionalWrapper-DZH_VSwb.js.map → ConditionalWrapper-CCIk52zt.js.map} +1 -1
  125. package/dist/{DateRangeFieldInput-B86VEz0H.mjs → DateRangeFieldInput-Cbzjg8iF.js} +45 -22
  126. package/dist/DateRangeFieldInput-Cbzjg8iF.js.map +1 -0
  127. package/dist/{PopperContent-DmSgsjSC.mjs → PopperContent-C9eeL6LH.js} +395 -100
  128. package/dist/PopperContent-C9eeL6LH.js.map +1 -0
  129. package/dist/{VisuallyHidden-C4sXnc-k.mjs → VisuallyHidden-BYzyjJiY.js} +23 -15
  130. package/dist/VisuallyHidden-BYzyjJiY.js.map +1 -0
  131. package/dist/{VisuallyHiddenInput-DKIzxsQR.mjs → VisuallyHiddenInput-CUrc8XXa.js} +46 -7
  132. package/dist/VisuallyHiddenInput-CUrc8XXa.js.map +1 -0
  133. package/dist/bootstrap-vue-next.mjs +65 -65
  134. package/dist/{classes-B0E5Y78Y.mjs → classes-BEWWGbj5.js} +1 -1
  135. package/dist/{classes-D5wrmmVs.js.map → classes-BEWWGbj5.js.map} +1 -1
  136. package/dist/components/BAccordion/BAccordion.vue.d.mts +9 -13
  137. package/dist/components/BAccordion/BAccordion.vue.d.ts +9 -13
  138. package/dist/components/BAccordion/BAccordionItem.vue.d.mts +16 -24
  139. package/dist/components/BAccordion/BAccordionItem.vue.d.ts +16 -24
  140. package/dist/components/BAlert/BAlert.vue.d.mts +26 -34
  141. package/dist/components/BAlert/BAlert.vue.d.ts +26 -34
  142. package/dist/components/BApp/BApp.vue.d.mts +8 -12
  143. package/dist/components/BApp/BApp.vue.d.ts +8 -12
  144. package/dist/components/BApp/BOrchestrator.vue.d.mts +2 -1
  145. package/dist/components/BApp/BOrchestrator.vue.d.ts +2 -1
  146. package/dist/components/BAspect/BAspect.vue.d.mts +5 -10
  147. package/dist/components/BAspect/BAspect.vue.d.ts +5 -10
  148. package/dist/components/BAutocomplete/BAutocomplete.vue.d.mts +12 -270
  149. package/dist/components/BAutocomplete/BAutocomplete.vue.d.ts +12 -270
  150. package/dist/components/BAvatar/BAvatar.vue.d.mts +20 -25
  151. package/dist/components/BAvatar/BAvatar.vue.d.ts +20 -25
  152. package/dist/components/BAvatar/BAvatarGroup.vue.d.mts +8 -13
  153. package/dist/components/BAvatar/BAvatarGroup.vue.d.ts +8 -13
  154. package/dist/components/BBadge/BBadge.vue.d.mts +13 -18
  155. package/dist/components/BBadge/BBadge.vue.d.ts +13 -18
  156. package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.mts +6 -11
  157. package/dist/components/BBreadcrumb/BBreadcrumb.vue.d.ts +6 -11
  158. package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.mts +13 -18
  159. package/dist/components/BBreadcrumb/BBreadcrumbItem.vue.d.ts +13 -18
  160. package/dist/components/BButton/BButton.vue.d.mts +17 -25
  161. package/dist/components/BButton/BButton.vue.d.ts +17 -25
  162. package/dist/components/BButton/BButtonGroup.vue.d.mts +5 -10
  163. package/dist/components/BButton/BButtonGroup.vue.d.ts +5 -10
  164. package/dist/components/BButton/BButtonToolbar.vue.d.mts +7 -16
  165. package/dist/components/BButton/BButtonToolbar.vue.d.ts +7 -16
  166. package/dist/components/BButton/BCloseButton.vue.d.mts +4 -3
  167. package/dist/components/BButton/BCloseButton.vue.d.ts +4 -3
  168. package/dist/components/BCard/BCard.vue.d.mts +21 -26
  169. package/dist/components/BCard/BCard.vue.d.ts +21 -26
  170. package/dist/components/BCard/BCardBody.vue.d.mts +9 -14
  171. package/dist/components/BCard/BCardBody.vue.d.ts +9 -14
  172. package/dist/components/BCard/BCardFooter.vue.d.mts +7 -11
  173. package/dist/components/BCard/BCardFooter.vue.d.ts +7 -11
  174. package/dist/components/BCard/BCardGroup.vue.d.mts +5 -10
  175. package/dist/components/BCard/BCardGroup.vue.d.ts +5 -10
  176. package/dist/components/BCard/BCardHeader.vue.d.mts +7 -12
  177. package/dist/components/BCard/BCardHeader.vue.d.ts +7 -12
  178. package/dist/components/BCard/BCardImg.vue.d.mts +7 -6
  179. package/dist/components/BCard/BCardImg.vue.d.ts +7 -6
  180. package/dist/components/BCard/BCardSubtitle.vue.d.mts +6 -11
  181. package/dist/components/BCard/BCardSubtitle.vue.d.ts +6 -11
  182. package/dist/components/BCard/BCardText.vue.d.mts +5 -10
  183. package/dist/components/BCard/BCardText.vue.d.ts +5 -10
  184. package/dist/components/BCard/BCardTitle.vue.d.mts +5 -10
  185. package/dist/components/BCard/BCardTitle.vue.d.ts +5 -10
  186. package/dist/components/BCardHeadFoot.vue.d.mts +6 -11
  187. package/dist/components/BCardHeadFoot.vue.d.ts +6 -11
  188. package/dist/components/BCarousel/BCarousel.vue.d.mts +12 -24
  189. package/dist/components/BCarousel/BCarousel.vue.d.ts +12 -24
  190. package/dist/components/BCarousel/BCarouselSlide.vue.d.mts +7 -12
  191. package/dist/components/BCarousel/BCarouselSlide.vue.d.ts +7 -12
  192. package/dist/components/BCollapse/BCollapse.vue.d.mts +13 -21
  193. package/dist/components/BCollapse/BCollapse.vue.d.ts +13 -21
  194. package/dist/components/BContainer/BCol.vue.d.mts +8 -13
  195. package/dist/components/BContainer/BCol.vue.d.ts +8 -13
  196. package/dist/components/BContainer/BContainer.vue.d.mts +5 -10
  197. package/dist/components/BContainer/BContainer.vue.d.ts +5 -10
  198. package/dist/components/BContainer/BRow.vue.d.mts +6 -11
  199. package/dist/components/BContainer/BRow.vue.d.ts +6 -11
  200. package/dist/components/BDateField/BDateField.vue.d.mts +8 -12
  201. package/dist/components/BDateField/BDateField.vue.d.ts +8 -12
  202. package/dist/components/BDateField/BDateRangeField.vue.d.mts +8 -12
  203. package/dist/components/BDateField/BDateRangeField.vue.d.ts +8 -12
  204. package/dist/components/BDateField/BTimeRangeField.vue.d.mts +9 -13
  205. package/dist/components/BDateField/BTimeRangeField.vue.d.ts +9 -13
  206. package/dist/components/BDatePicker/BDatePicker.vue.d.mts +9 -13
  207. package/dist/components/BDatePicker/BDatePicker.vue.d.ts +9 -13
  208. package/dist/components/BDatePicker/BDateRangePicker.vue.d.mts +9 -13
  209. package/dist/components/BDatePicker/BDateRangePicker.vue.d.ts +9 -13
  210. package/dist/components/BDropdown/BDropdown.vue.d.mts +24 -957
  211. package/dist/components/BDropdown/BDropdown.vue.d.ts +24 -957
  212. package/dist/components/BDropdown/BDropdownDivider.vue.d.mts +3 -2
  213. package/dist/components/BDropdown/BDropdownDivider.vue.d.ts +3 -2
  214. package/dist/components/BDropdown/BDropdownForm.vue.d.mts +6 -11
  215. package/dist/components/BDropdown/BDropdownForm.vue.d.ts +6 -11
  216. package/dist/components/BDropdown/BDropdownGroup.vue.d.mts +5 -10
  217. package/dist/components/BDropdown/BDropdownGroup.vue.d.ts +5 -10
  218. package/dist/components/BDropdown/BDropdownHeader.vue.d.mts +7 -12
  219. package/dist/components/BDropdown/BDropdownHeader.vue.d.ts +7 -12
  220. package/dist/components/BDropdown/BDropdownItem.vue.d.mts +12 -17
  221. package/dist/components/BDropdown/BDropdownItem.vue.d.ts +12 -17
  222. package/dist/components/BDropdown/BDropdownItemButton.vue.d.mts +6 -11
  223. package/dist/components/BDropdown/BDropdownItemButton.vue.d.ts +6 -11
  224. package/dist/components/BDropdown/BDropdownText.vue.d.mts +6 -11
  225. package/dist/components/BDropdown/BDropdownText.vue.d.ts +6 -11
  226. package/dist/components/BForm/BForm.vue.d.mts +8 -17
  227. package/dist/components/BForm/BForm.vue.d.ts +8 -17
  228. package/dist/components/BForm/BFormDatalist.vue.d.mts +12 -7
  229. package/dist/components/BForm/BFormDatalist.vue.d.ts +12 -7
  230. package/dist/components/BForm/BFormDatalistBase.vue.d.mts +20 -22
  231. package/dist/components/BForm/BFormDatalistBase.vue.d.ts +20 -22
  232. package/dist/components/BForm/BFormFloatingLabel.vue.d.mts +6 -11
  233. package/dist/components/BForm/BFormFloatingLabel.vue.d.ts +6 -11
  234. package/dist/components/BForm/BFormInvalidFeedback.vue.d.mts +6 -11
  235. package/dist/components/BForm/BFormInvalidFeedback.vue.d.ts +6 -11
  236. package/dist/components/BForm/BFormRow.vue.d.mts +5 -10
  237. package/dist/components/BForm/BFormRow.vue.d.ts +5 -10
  238. package/dist/components/BForm/BFormText.vue.d.mts +6 -11
  239. package/dist/components/BForm/BFormText.vue.d.ts +6 -11
  240. package/dist/components/BForm/BFormValidFeedback.vue.d.mts +6 -11
  241. package/dist/components/BForm/BFormValidFeedback.vue.d.ts +6 -11
  242. package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.mts +14 -22
  243. package/dist/components/BFormCheckbox/BFormCheckbox.vue.d.ts +14 -22
  244. package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.mts +16 -11
  245. package/dist/components/BFormCheckbox/BFormCheckboxGroup.vue.d.ts +16 -11
  246. package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.mts +22 -27
  247. package/dist/components/BFormCheckbox/BFormCheckboxGroupBase.vue.d.ts +22 -27
  248. package/dist/components/BFormFile/BFormFile.vue.d.mts +9 -25
  249. package/dist/components/BFormFile/BFormFile.vue.d.ts +9 -25
  250. package/dist/components/BFormGroup/BFormGroup.vue.d.mts +14 -23
  251. package/dist/components/BFormGroup/BFormGroup.vue.d.ts +14 -23
  252. package/dist/components/BFormGroupContent.vue.d.mts +8 -17
  253. package/dist/components/BFormGroupContent.vue.d.ts +8 -17
  254. package/dist/components/BFormGroupLabel.vue.d.mts +6 -13
  255. package/dist/components/BFormGroupLabel.vue.d.ts +6 -13
  256. package/dist/components/BFormInput/BFormInput.vue.d.mts +10 -10
  257. package/dist/components/BFormInput/BFormInput.vue.d.ts +10 -10
  258. package/dist/components/BFormOtp/BFormOtp.vue.d.mts +7 -5
  259. package/dist/components/BFormOtp/BFormOtp.vue.d.ts +7 -5
  260. package/dist/components/BFormRadio/BFormRadio.vue.d.mts +13 -21
  261. package/dist/components/BFormRadio/BFormRadio.vue.d.ts +13 -21
  262. package/dist/components/BFormRadio/BFormRadioGroup.vue.d.mts +21 -14
  263. package/dist/components/BFormRadio/BFormRadioGroup.vue.d.ts +21 -14
  264. package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.mts +14 -22
  265. package/dist/components/BFormRadio/BFormRadioGroupBase.vue.d.ts +14 -22
  266. package/dist/components/BFormRating/BFormRating.vue.d.mts +10 -12
  267. package/dist/components/BFormRating/BFormRating.vue.d.ts +10 -12
  268. package/dist/components/BFormSelect/BFormSelect.vue.d.mts +16 -11
  269. package/dist/components/BFormSelect/BFormSelect.vue.d.ts +16 -11
  270. package/dist/components/BFormSelect/BFormSelectBase.vue.d.mts +24 -29
  271. package/dist/components/BFormSelect/BFormSelectBase.vue.d.ts +24 -29
  272. package/dist/components/BFormSelect/BFormSelectOption.vue.d.mts +12 -7
  273. package/dist/components/BFormSelect/BFormSelectOption.vue.d.ts +12 -7
  274. package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.mts +12 -7
  275. package/dist/components/BFormSelect/BFormSelectOptionGroup.vue.d.ts +12 -7
  276. package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.mts +11 -12
  277. package/dist/components/BFormSpinbutton/BFormSpinbutton.vue.d.ts +11 -12
  278. package/dist/components/BFormTags/BFormTag.vue.d.mts +7 -12
  279. package/dist/components/BFormTags/BFormTag.vue.d.ts +7 -12
  280. package/dist/components/BFormTags/BFormTags.vue.d.mts +12 -20
  281. package/dist/components/BFormTags/BFormTags.vue.d.ts +12 -20
  282. package/dist/components/BFormTextarea/BFormTextarea.vue.d.mts +12 -12
  283. package/dist/components/BFormTextarea/BFormTextarea.vue.d.ts +12 -12
  284. package/dist/components/BImg/BImg.vue.d.mts +7 -6
  285. package/dist/components/BImg/BImg.vue.d.ts +7 -6
  286. package/dist/components/BInputGroup/BInputGroup.vue.d.mts +5 -10
  287. package/dist/components/BInputGroup/BInputGroup.vue.d.ts +5 -10
  288. package/dist/components/BInputGroup/BInputGroupText.vue.d.mts +5 -10
  289. package/dist/components/BInputGroup/BInputGroupText.vue.d.ts +5 -10
  290. package/dist/components/BLink/BLink.vue.d.mts +12 -17
  291. package/dist/components/BLink/BLink.vue.d.ts +12 -17
  292. package/dist/components/BListGroup/BListGroup.vue.d.mts +5 -10
  293. package/dist/components/BListGroup/BListGroup.vue.d.ts +5 -10
  294. package/dist/components/BListGroup/BListGroupItem.vue.d.mts +13 -18
  295. package/dist/components/BListGroup/BListGroupItem.vue.d.ts +13 -18
  296. package/dist/components/BModal/BModal.vue.d.mts +47 -1026
  297. package/dist/components/BModal/BModal.vue.d.ts +47 -1026
  298. package/dist/components/BNav/BNav.vue.d.mts +7 -12
  299. package/dist/components/BNav/BNav.vue.d.ts +7 -12
  300. package/dist/components/BNav/BNavForm.vue.d.mts +8 -13
  301. package/dist/components/BNav/BNavForm.vue.d.ts +8 -13
  302. package/dist/components/BNav/BNavItem.vue.d.mts +12 -17
  303. package/dist/components/BNav/BNavItem.vue.d.ts +12 -17
  304. package/dist/components/BNav/BNavItemDropdown.vue.d.mts +20 -1660
  305. package/dist/components/BNav/BNavItemDropdown.vue.d.ts +20 -1660
  306. package/dist/components/BNav/BNavText.vue.d.mts +6 -11
  307. package/dist/components/BNav/BNavText.vue.d.ts +6 -11
  308. package/dist/components/BNavbar/BNavbar.vue.d.mts +6 -11
  309. package/dist/components/BNavbar/BNavbar.vue.d.ts +6 -11
  310. package/dist/components/BNavbar/BNavbarBrand.vue.d.mts +11 -16
  311. package/dist/components/BNavbar/BNavbarBrand.vue.d.ts +11 -16
  312. package/dist/components/BNavbar/BNavbarNav.vue.d.mts +7 -12
  313. package/dist/components/BNavbar/BNavbarNav.vue.d.ts +7 -12
  314. package/dist/components/BNavbar/BNavbarToggle.vue.d.mts +7 -12
  315. package/dist/components/BNavbar/BNavbarToggle.vue.d.ts +7 -12
  316. package/dist/components/BOffcanvas/BOffcanvas.vue.d.mts +28 -82
  317. package/dist/components/BOffcanvas/BOffcanvas.vue.d.ts +28 -82
  318. package/dist/components/BOverlay/BOverlay.vue.d.mts +17 -22
  319. package/dist/components/BOverlay/BOverlay.vue.d.ts +17 -22
  320. package/dist/components/BPagination/BPagination.vue.d.mts +9 -10
  321. package/dist/components/BPagination/BPagination.vue.d.ts +9 -10
  322. package/dist/components/BPlaceholder/BPlaceholder.vue.d.mts +3 -2
  323. package/dist/components/BPlaceholder/BPlaceholder.vue.d.ts +3 -2
  324. package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.mts +3 -2
  325. package/dist/components/BPlaceholder/BPlaceholderButton.vue.d.ts +3 -2
  326. package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.mts +8 -13
  327. package/dist/components/BPlaceholder/BPlaceholderCard.vue.d.ts +8 -13
  328. package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.mts +8 -13
  329. package/dist/components/BPlaceholder/BPlaceholderTable.vue.d.ts +8 -13
  330. package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.mts +5 -10
  331. package/dist/components/BPlaceholder/BPlaceholderWrapper.vue.d.ts +5 -10
  332. package/dist/components/BPopover/BPopover.vue.d.mts +35 -49
  333. package/dist/components/BPopover/BPopover.vue.d.ts +35 -49
  334. package/dist/components/BProgress/BProgress.vue.d.mts +10 -15
  335. package/dist/components/BProgress/BProgress.vue.d.ts +10 -15
  336. package/dist/components/BProgress/BProgressBar.vue.d.mts +9 -14
  337. package/dist/components/BProgress/BProgressBar.vue.d.ts +9 -14
  338. package/dist/components/BSpinner/BSpinner.vue.d.mts +7 -12
  339. package/dist/components/BSpinner/BSpinner.vue.d.ts +7 -12
  340. package/dist/components/BTable/BTable.vue.d.mts +35 -30
  341. package/dist/components/BTable/BTable.vue.d.ts +35 -30
  342. package/dist/components/BTable/BTableLite.vue.d.mts +24 -19
  343. package/dist/components/BTable/BTableLite.vue.d.ts +24 -19
  344. package/dist/components/BTable/BTableSimple.vue.d.mts +9 -14
  345. package/dist/components/BTable/BTableSimple.vue.d.ts +9 -14
  346. package/dist/components/BTable/BTbody.vue.d.mts +6 -11
  347. package/dist/components/BTable/BTbody.vue.d.ts +6 -11
  348. package/dist/components/BTable/BTd.vue.d.mts +6 -11
  349. package/dist/components/BTable/BTd.vue.d.ts +6 -11
  350. package/dist/components/BTable/BTfoot.vue.d.mts +6 -11
  351. package/dist/components/BTable/BTfoot.vue.d.ts +6 -11
  352. package/dist/components/BTable/BTh.vue.d.mts +6 -11
  353. package/dist/components/BTable/BTh.vue.d.ts +6 -11
  354. package/dist/components/BTable/BThead.vue.d.mts +6 -11
  355. package/dist/components/BTable/BThead.vue.d.ts +6 -11
  356. package/dist/components/BTable/BTr.vue.d.mts +6 -11
  357. package/dist/components/BTable/BTr.vue.d.ts +6 -11
  358. package/dist/components/BTabs/BTab.vue.d.mts +10 -18
  359. package/dist/components/BTabs/BTab.vue.d.ts +10 -18
  360. package/dist/components/BTabs/BTabs.vue.d.mts +10 -14
  361. package/dist/components/BTabs/BTabs.vue.d.ts +10 -14
  362. package/dist/components/BTabsTabContent.vue.d.mts +7 -15
  363. package/dist/components/BTabsTabContent.vue.d.ts +7 -15
  364. package/dist/components/BTimeField/BTimeField.vue.d.mts +8 -12
  365. package/dist/components/BTimeField/BTimeField.vue.d.ts +8 -12
  366. package/dist/components/BToast/BToast.vue.d.mts +25 -33
  367. package/dist/components/BToast/BToast.vue.d.ts +25 -33
  368. package/dist/components/BTooltip/BTooltip.vue.d.mts +32 -732
  369. package/dist/components/BTooltip/BTooltip.vue.d.ts +32 -732
  370. package/dist/components/ConditionalTeleport.vue.d.mts +3 -2
  371. package/dist/components/ConditionalTeleport.vue.d.ts +3 -2
  372. package/dist/components/ConditionalWrapper.vue.d.mts +3 -2
  373. package/dist/components/ConditionalWrapper.vue.d.ts +3 -2
  374. package/dist/composables/index.d.mts +3 -3
  375. package/dist/composables/index.d.ts +3 -3
  376. package/dist/composables/orchestratorShared/index.d.mts +25 -14
  377. package/dist/composables/orchestratorShared/index.d.ts +25 -14
  378. package/dist/composables/useBLinkHelper.d.mts +1 -1
  379. package/dist/composables/useBLinkHelper.d.ts +1 -1
  380. package/dist/composables/useModal/index.d.mts +8 -33
  381. package/dist/composables/useModal/index.d.ts +8 -33
  382. package/dist/composables/usePopover/index.d.mts +332 -4532
  383. package/dist/composables/usePopover/index.d.ts +332 -4532
  384. package/dist/composables/useShowHide.d.mts +21 -15
  385. package/dist/composables/useShowHide.d.ts +21 -15
  386. package/dist/composables/useToast/index.d.mts +7 -18
  387. package/dist/composables/useToast/index.d.ts +7 -18
  388. package/dist/console-DaUCJgpk.js +15 -0
  389. package/dist/console-DaUCJgpk.js.map +1 -0
  390. package/dist/{constants-Ba9iJn2H.mjs → constants-Cap5sNf8.js} +1 -1
  391. package/dist/{constants-BLIvvaat.js.map → constants-Cap5sNf8.js.map} +1 -1
  392. package/dist/{debounce-DHxNfjan.mjs → debounce-Xj7wsAmR.js} +2 -2
  393. package/dist/{debounce-D6kifS6w.js.map → debounce-Xj7wsAmR.js.map} +1 -1
  394. package/dist/{dist-Dk9C_HFS.mjs → dist-9-XTMhb-.js} +5 -539
  395. package/dist/dist-9-XTMhb-.js.map +1 -0
  396. package/dist/dist-B-regXAP.js +123 -0
  397. package/dist/dist-B-regXAP.js.map +1 -0
  398. package/dist/dist-DKc2ivHS.js +411 -0
  399. package/dist/dist-DKc2ivHS.js.map +1 -0
  400. package/dist/{dom-AhkaSoh8.mjs → dom-BdUQrX99.js} +3 -2
  401. package/dist/dom-BdUQrX99.js.map +1 -0
  402. package/dist/{flattenFragments-ClbLQGqR.mjs → flattenFragments-B15oMVs-.js} +1 -1
  403. package/dist/{flattenFragments-C1WWqm25.js.map → flattenFragments-B15oMVs-.js.map} +1 -1
  404. package/dist/{floating-ui.vue-CH2o_mZU.mjs → floating-ui.dom-C7UZexJK.js} +114 -338
  405. package/dist/floating-ui.dom-C7UZexJK.js.map +1 -0
  406. package/dist/{floatingUi-62aeQtAb.mjs → floatingUi-BlKoACvc.js} +194 -27
  407. package/dist/floatingUi-BlKoACvc.js.map +1 -0
  408. package/dist/{functions-BcMenQqL.mjs → functions-BUZ1y9RA.js} +1 -1
  409. package/dist/functions-BUZ1y9RA.js.map +1 -0
  410. package/dist/{getClasses-COokMI60.mjs → getClasses-BlbbSJNl.js} +1 -1
  411. package/dist/{getClasses-8P0iBind.js.map → getClasses-BlbbSJNl.js.map} +1 -1
  412. package/dist/{getElement-D2Jr1cbp.mjs → getElement-uvhh1lgL.js} +2 -2
  413. package/dist/{getElement-DWGFJn0w.js.map → getElement-uvhh1lgL.js.map} +1 -1
  414. package/dist/{keys-DU7sQgl3.mjs → keys-BgLwJbLV.js} +1 -1
  415. package/dist/keys-BgLwJbLV.js.map +1 -0
  416. package/dist/{object-CHQkkner.mjs → object-C7YmCGEm.js} +10 -6
  417. package/dist/object-C7YmCGEm.js.map +1 -0
  418. package/dist/{registryAccess-BkJDdh-3.mjs → registryAccess-YFj5ZD5T.js} +1 -1
  419. package/dist/{registryAccess-B9QDQwV8.js.map → registryAccess-YFj5ZD5T.js.map} +1 -1
  420. package/dist/src/components/BAccordion/index.mjs +1 -1
  421. package/dist/src/components/BAlert/index.mjs +1 -1
  422. package/dist/src/components/BApp/index.mjs +1 -1
  423. package/dist/src/components/BAspect/index.mjs +1 -1
  424. package/dist/src/components/BAutocomplete/index.mjs +1 -1
  425. package/dist/src/components/BAvatar/index.mjs +1 -1
  426. package/dist/src/components/BBadge/index.mjs +1 -1
  427. package/dist/src/components/BBreadcrumb/index.mjs +1 -1
  428. package/dist/src/components/BButton/index.mjs +3 -3
  429. package/dist/src/components/BCard/index.mjs +2 -2
  430. package/dist/src/components/BCarousel/index.mjs +1 -1
  431. package/dist/src/components/BCol/index.mjs +1 -1
  432. package/dist/src/components/BCollapse/index.mjs +1 -1
  433. package/dist/src/components/BContainer/index.mjs +3 -3
  434. package/dist/src/components/BDateField/index.mjs +1 -1
  435. package/dist/src/components/BDatePicker/index.mjs +1 -1
  436. package/dist/src/components/BDropdown/index.mjs +2 -2
  437. package/dist/src/components/BForm/index.mjs +3 -3
  438. package/dist/src/components/BFormCheckbox/index.mjs +1 -1
  439. package/dist/src/components/BFormFile/index.mjs +1 -1
  440. package/dist/src/components/BFormGroup/index.mjs +1 -1
  441. package/dist/src/components/BFormInput/index.mjs +1 -1
  442. package/dist/src/components/BFormOtp/index.mjs +1 -1
  443. package/dist/src/components/BFormRadio/index.mjs +1 -1
  444. package/dist/src/components/BFormRating/index.mjs +1 -1
  445. package/dist/src/components/BFormSelect/index.mjs +2 -2
  446. package/dist/src/components/BFormSpinbutton/index.mjs +1 -1
  447. package/dist/src/components/BFormTags/index.mjs +2 -2
  448. package/dist/src/components/BFormTextarea/index.mjs +1 -1
  449. package/dist/src/components/BImg/index.mjs +1 -1
  450. package/dist/src/components/BInputGroup/index.mjs +2 -2
  451. package/dist/src/components/BLink/index.mjs +1 -1
  452. package/dist/src/components/BListGroup/index.mjs +1 -1
  453. package/dist/src/components/BModal/index.mjs +1 -1
  454. package/dist/src/components/BNav/index.mjs +1 -1
  455. package/dist/src/components/BNavbar/index.mjs +1 -1
  456. package/dist/src/components/BOffcanvas/index.mjs +1 -1
  457. package/dist/src/components/BOverlay/index.mjs +1 -1
  458. package/dist/src/components/BPagination/index.mjs +1 -1
  459. package/dist/src/components/BPlaceholder/index.mjs +1 -1
  460. package/dist/src/components/BPopover/index.mjs +1 -1
  461. package/dist/src/components/BProgress/index.mjs +1 -1
  462. package/dist/src/components/BRow/index.mjs +1 -1
  463. package/dist/src/components/BSpinner/index.mjs +1 -1
  464. package/dist/src/components/BTable/index.mjs +2 -2
  465. package/dist/src/components/BTabs/index.mjs +1 -1
  466. package/dist/src/components/BTimeField/index.mjs +1 -1
  467. package/dist/src/components/BToast/index.mjs +1 -1
  468. package/dist/src/components/BTooltip/index.mjs +1 -1
  469. package/dist/src/components/index.mjs +60 -68
  470. package/dist/src/composables/index.mjs +5 -8
  471. package/dist/src/composables/index.mjs.map +1 -1
  472. package/dist/src/composables/orchestratorShared/index.mjs +79 -82
  473. package/dist/src/composables/orchestratorShared/index.mjs.map +1 -1
  474. package/dist/src/composables/useBreadcrumb/index.mjs +1 -1
  475. package/dist/src/composables/useBreadcrumb/index.mjs.map +1 -1
  476. package/dist/src/composables/useColorMode/index.mjs +2 -2
  477. package/dist/src/composables/useColorMode/index.mjs.map +1 -1
  478. package/dist/src/composables/useModal/index.mjs +65 -64
  479. package/dist/src/composables/useModal/index.mjs.map +1 -1
  480. package/dist/src/composables/usePopover/index.mjs +51 -68
  481. package/dist/src/composables/usePopover/index.mjs.map +1 -1
  482. package/dist/src/composables/useProvideDefaults/index.mjs +4 -3
  483. package/dist/src/composables/useProvideDefaults/index.mjs.map +1 -1
  484. package/dist/src/composables/useRegistry/index.mjs +5 -3
  485. package/dist/src/composables/useRegistry/index.mjs.map +1 -1
  486. package/dist/src/composables/useScrollLock/index.mjs +2 -1
  487. package/dist/src/composables/useScrollLock/index.mjs.map +1 -1
  488. package/dist/src/composables/useScrollspy/index.mjs +16 -13
  489. package/dist/src/composables/useScrollspy/index.mjs.map +1 -1
  490. package/dist/src/composables/useToast/index.mjs +45 -66
  491. package/dist/src/composables/useToast/index.mjs.map +1 -1
  492. package/dist/src/composables/useToggle/index.mjs +5 -3
  493. package/dist/src/composables/useToggle/index.mjs.map +1 -1
  494. package/dist/src/directives/BColorMode/index.mjs.map +1 -1
  495. package/dist/src/directives/BPopover/index.mjs +2 -2
  496. package/dist/src/directives/BPopover/index.mjs.map +1 -1
  497. package/dist/src/directives/BScrollspy/index.mjs +3 -3
  498. package/dist/src/directives/BScrollspy/index.mjs.map +1 -1
  499. package/dist/src/directives/BToggle/index.mjs +8 -6
  500. package/dist/src/directives/BToggle/index.mjs.map +1 -1
  501. package/dist/src/directives/BTooltip/index.mjs +2 -2
  502. package/dist/src/directives/BTooltip/index.mjs.map +1 -1
  503. package/dist/src/directives/index.mjs +1 -2
  504. package/dist/src/plugins/createBootstrap/index.mjs +1 -1
  505. package/dist/src/plugins/createBootstrap/index.mjs.map +1 -1
  506. package/dist/src/plugins/index.mjs +1 -1
  507. package/dist/src/plugins/orchestrator/index.mjs +1 -1
  508. package/dist/src/plugins/orchestrator/index.mjs.map +1 -1
  509. package/dist/src/plugins/registry/index.mjs +1 -1
  510. package/dist/src/plugins/registry/index.mjs.map +1 -1
  511. package/dist/src/plugins/rtl/index.mjs +1 -1
  512. package/dist/src/plugins/rtl/index.mjs.map +1 -1
  513. package/dist/src/resolvers/index.mjs +2 -2
  514. package/dist/src/resolvers/index.mjs.map +1 -1
  515. package/dist/src/types/index.mjs +2 -2
  516. package/dist/src/utils/index.mjs +2 -2
  517. package/dist/{stringUtils-D4eEDlt1.mjs → stringUtils-CVySsg3y.js} +2 -2
  518. package/dist/{stringUtils-68ZN_GRt.js.map → stringUtils-CVySsg3y.js.map} +1 -1
  519. package/dist/types/BootstrapVueOptions.d.mts +1 -4
  520. package/dist/types/BootstrapVueOptions.d.ts +1 -4
  521. package/dist/types/ComponentOrchestratorTypes.d.mts +62 -186
  522. package/dist/types/ComponentOrchestratorTypes.d.ts +62 -186
  523. package/dist/types/ComponentProps.d.mts +2 -0
  524. package/dist/types/ComponentProps.d.ts +2 -0
  525. package/dist/types/ComponentSlots.d.mts +1 -1
  526. package/dist/types/ComponentSlots.d.ts +1 -1
  527. package/dist/{useAlignment-DuR8ymKI.mjs → useAlignment-DaP-psIh.js} +1 -1
  528. package/dist/{useAlignment-oKolnDpb.js.map → useAlignment-DaP-psIh.js.map} +1 -1
  529. package/dist/{useAriaInvalid-apOwgexm.mjs → useAriaInvalid-CRUhkD2V.js} +1 -1
  530. package/dist/{useAriaInvalid-CHHPHNLU.js.map → useAriaInvalid-CRUhkD2V.js.map} +1 -1
  531. package/dist/{useColorVariantClasses-CqeXHjRh.mjs → useColorVariantClasses-DHQvLjek.js} +1 -1
  532. package/dist/{useColorVariantClasses-Dq0sOYDL.js.map → useColorVariantClasses-DHQvLjek.js.map} +1 -1
  533. package/dist/{useCountdownHover-C3NXiAaF.mjs → useCountdownHover-BN8vJIQW.js} +4 -3
  534. package/dist/{useCountdownHover-DbVhE-N0.js.map → useCountdownHover-BN8vJIQW.js.map} +1 -1
  535. package/dist/{useDateField-CJKgollJ.mjs → useDateField-CQZb799C.js} +680 -627
  536. package/dist/useDateField-CQZb799C.js.map +1 -0
  537. package/dist/{useDefaults-DseelK6y.mjs → useDefaults-BzP4qZBu.js} +2 -2
  538. package/dist/{useDefaults-C0CYry78.js.map → useDefaults-BzP4qZBu.js.map} +1 -1
  539. package/dist/{useFormCheck-BKXrwS3g.mjs → useFormCheck-fArncQY5.js} +3 -3
  540. package/dist/{useFormCheck-DYjLG4WA.js.map → useFormCheck-fArncQY5.js.map} +1 -1
  541. package/dist/{useFormInput-CXl8rpD0.mjs → useFormInput-DZ_3ZH1o.js} +8 -7
  542. package/dist/{useFormInput-ip9hN2AU.js.map → useFormInput-DZ_3ZH1o.js.map} +1 -1
  543. package/dist/{useFormSelect-BM0rsjni.mjs → useFormSelect-CwS8YuiQ.js} +3 -3
  544. package/dist/{useFormSelect-ClmzGzOy.js.map → useFormSelect-CwS8YuiQ.js.map} +1 -1
  545. package/dist/{useForwardExpose-Cob6LlGd.mjs → useForwardExpose-DDvk7mir.js} +5 -13
  546. package/dist/useForwardExpose-DDvk7mir.js.map +1 -0
  547. package/dist/{useId-D1sqXtwx.mjs → useId-Fh-Arhb7.js} +2 -2
  548. package/dist/{useId-BkAY2oh6.js.map → useId-Fh-Arhb7.js.map} +1 -1
  549. package/dist/{useKbd-DfmgFov6.mjs → useKbd-DRsaFU_f.js} +6 -18
  550. package/dist/useKbd-DRsaFU_f.js.map +1 -0
  551. package/dist/{useNumberishToStyle-DgS1slD3.mjs → useNumberishToStyle-DCnYcI6A.js} +2 -2
  552. package/dist/{useNumberishToStyle-BtMa0R27.js.map → useNumberishToStyle-DCnYcI6A.js.map} +1 -1
  553. package/dist/{useRadiusElementClasses-BW832F7F.mjs → useRadiusElementClasses-CKCJjpkK.js} +1 -1
  554. package/dist/{useRadiusElementClasses-DWiUVgex.js.map → useRadiusElementClasses-CKCJjpkK.js.map} +1 -1
  555. package/dist/{useRtl-CGoXBxNo.mjs → useRtl-FeLayV4k.js} +3 -3
  556. package/dist/{useRtl-BSgvbs5F.js.map → useRtl-FeLayV4k.js.map} +1 -1
  557. package/dist/{useSafeScrollLock-Me5LyqjD.mjs → useSafeScrollLock-PVgSASYu.js} +136 -216
  558. package/dist/useSafeScrollLock-PVgSASYu.js.map +1 -0
  559. package/dist/{useShowHide-CBFt1_EW.mjs → useShowHide-C95Y9EKL.js} +15 -14
  560. package/dist/useShowHide-C95Y9EKL.js.map +1 -0
  561. package/dist/{useStateClass-DxlL_m2E.mjs → useStateClass-BF7kf2zK.js} +1 -1
  562. package/dist/{useStateClass-CXK3nCg9.js.map → useStateClass-BF7kf2zK.js.map} +1 -1
  563. package/dist/utils/console.d.mts +2 -0
  564. package/dist/utils/console.d.ts +2 -0
  565. package/dist/utils/keys.d.mts +12 -4
  566. package/dist/utils/keys.d.ts +12 -4
  567. package/dist/{utils-CWvndqPg.mjs → utils-nRGGHA_i.js} +14 -10
  568. package/dist/utils-nRGGHA_i.js.map +1 -0
  569. package/package.json +65 -136
  570. package/dist/BAccordion-D51b9HVD.mjs.map +0 -1
  571. package/dist/BAccordion-DYmuqZIG.js +0 -360
  572. package/dist/BAccordion-DYmuqZIG.js.map +0 -1
  573. package/dist/BAlert-Ce2uxrJi.mjs.map +0 -1
  574. package/dist/BAlert-croEtrQu.js +0 -297
  575. package/dist/BAlert-croEtrQu.js.map +0 -1
  576. package/dist/BApp-B-fUrnpK.mjs.map +0 -1
  577. package/dist/BApp-DOvEe1jo.js +0 -181
  578. package/dist/BApp-DOvEe1jo.js.map +0 -1
  579. package/dist/BAspect-CUIU48Ck.js +0 -50
  580. package/dist/BAspect-wfiXM4KA.mjs.map +0 -1
  581. package/dist/BAutocomplete-CH-bQzME.mjs.map +0 -1
  582. package/dist/BAutocomplete-DLDFAV5_.js +0 -2402
  583. package/dist/BAutocomplete-DLDFAV5_.js.map +0 -1
  584. package/dist/BAvatar-FGK0dK0x.js +0 -386
  585. package/dist/BAvatar-FGK0dK0x.js.map +0 -1
  586. package/dist/BAvatar-iALHbqVk.mjs.map +0 -1
  587. package/dist/BBadge-Cx_CdauK.mjs.map +0 -1
  588. package/dist/BBadge-Db6SEnzy.js +0 -145
  589. package/dist/BBreadcrumb-B9ra7vg2.js +0 -166
  590. package/dist/BBreadcrumb-BxADbg0O.mjs.map +0 -1
  591. package/dist/BButton-BSa7LfL5.mjs.map +0 -1
  592. package/dist/BButton-DRRlzkyK.js +0 -156
  593. package/dist/BButton-PY7AANXJ.mjs.map +0 -1
  594. package/dist/BButton-aYtMnyHu.js +0 -190
  595. package/dist/BCard-BWoruisp.mjs.map +0 -1
  596. package/dist/BCard-Bh8RLMo_.js +0 -52
  597. package/dist/BCard-CHbKv2OR.mjs.map +0 -1
  598. package/dist/BCard-DwNYhVmg.js +0 -444
  599. package/dist/BCarousel-2JB21Pcu.js +0 -427
  600. package/dist/BCarousel-B6_bgQpl.mjs.map +0 -1
  601. package/dist/BCloseButton-CKTKr4PS.mjs.map +0 -1
  602. package/dist/BCloseButton-D42zHRLP.js +0 -45
  603. package/dist/BCol-B3VeEk9z.mjs.map +0 -1
  604. package/dist/BCol-Ck9VydHj.js +0 -140
  605. package/dist/BCollapse-CDLYLSZo.js +0 -183
  606. package/dist/BCollapse-CDLYLSZo.js.map +0 -1
  607. package/dist/BCollapse-kqhe4AmL.mjs.map +0 -1
  608. package/dist/BContainer-ATfhaxTc.mjs.map +0 -1
  609. package/dist/BContainer-CcF6dgtI.js +0 -44
  610. package/dist/BDateField-CccP3H1R.mjs.map +0 -1
  611. package/dist/BDateField-DzZw5FRX.js +0 -919
  612. package/dist/BDateField-DzZw5FRX.js.map +0 -1
  613. package/dist/BDatePicker-BDkzkOcm.js +0 -5138
  614. package/dist/BDatePicker-BDkzkOcm.js.map +0 -1
  615. package/dist/BDatePicker-BnwnSkBg.mjs.map +0 -1
  616. package/dist/BDropdown-0E8x5kk6.mjs.map +0 -1
  617. package/dist/BDropdown-B1DbvVzm.mjs.map +0 -1
  618. package/dist/BDropdown-BPFtkX3p.js +0 -403
  619. package/dist/BDropdown-BPFtkX3p.js.map +0 -1
  620. package/dist/BDropdown-DKCgBzYS.js +0 -415
  621. package/dist/BForm-6JlWdQMO.js +0 -126
  622. package/dist/BForm-BVfW08s5.mjs.map +0 -1
  623. package/dist/BForm-DJu2hDV_.mjs.map +0 -1
  624. package/dist/BForm-cnRpggt9.js +0 -51
  625. package/dist/BFormCheckbox-Baf_9BSc.mjs.map +0 -1
  626. package/dist/BFormCheckbox-D5ySHMJ8.js +0 -489
  627. package/dist/BFormCheckbox-D5ySHMJ8.js.map +0 -1
  628. package/dist/BFormFile-CZebm0Cp.mjs.map +0 -1
  629. package/dist/BFormFile-MISLntyJ.js +0 -423
  630. package/dist/BFormGroup-Bk1t-D1N.js +0 -490
  631. package/dist/BFormGroup-Bk1t-D1N.js.map +0 -1
  632. package/dist/BFormGroup-vysRPb99.mjs.map +0 -1
  633. package/dist/BFormInput-CBwwDjfC.js +0 -142
  634. package/dist/BFormInput-sEfU3CuN.mjs.map +0 -1
  635. package/dist/BFormOtp-C8X3u1od.mjs.map +0 -1
  636. package/dist/BFormOtp-CLrQJRPe.js +0 -542
  637. package/dist/BFormOtp-CLrQJRPe.js.map +0 -1
  638. package/dist/BFormRadio-B2yu-o2v.js +0 -432
  639. package/dist/BFormRadio-B2yu-o2v.js.map +0 -1
  640. package/dist/BFormRadio-COc_IbxC.mjs.map +0 -1
  641. package/dist/BFormRating-CIgPVsH_.mjs.map +0 -1
  642. package/dist/BFormRating-CSdRxN5z.js +0 -263
  643. package/dist/BFormRating-CSdRxN5z.js.map +0 -1
  644. package/dist/BFormSelect-CI92Dv27.js +0 -310
  645. package/dist/BFormSelect-CI92Dv27.js.map +0 -1
  646. package/dist/BFormSelect-P-InkOm-.mjs.map +0 -1
  647. package/dist/BFormSelectOption-DFN4lPRh.mjs.map +0 -1
  648. package/dist/BFormSelectOption-DrwJucNf.js +0 -46
  649. package/dist/BFormSpinbutton-1gTz4nTo.js +0 -447
  650. package/dist/BFormSpinbutton-6qkTBF_4.mjs.map +0 -1
  651. package/dist/BFormTag-CeV0MSRC.js +0 -86
  652. package/dist/BFormTag-CnzI39y9.mjs.map +0 -1
  653. package/dist/BFormTags-BMltSaKL.mjs.map +0 -1
  654. package/dist/BFormTags-BhO60uiL.js +0 -427
  655. package/dist/BFormTags-BhO60uiL.js.map +0 -1
  656. package/dist/BFormTextarea-C3Cj0DWj.js +0 -203
  657. package/dist/BFormTextarea-DN1gAfSo.mjs.map +0 -1
  658. package/dist/BFormValidFeedback-CBYxQLDz.mjs.map +0 -1
  659. package/dist/BFormValidFeedback-Kwxh798d.js +0 -223
  660. package/dist/BImg-JKJLgYYT.js +0 -168
  661. package/dist/BImg-QBS2ECBc.mjs.map +0 -1
  662. package/dist/BInputGroup-Bvlfv6VD.js +0 -55
  663. package/dist/BInputGroup-D4fW324B.js +0 -31
  664. package/dist/BInputGroup-DiTSexkT.mjs.map +0 -1
  665. package/dist/BInputGroup-X2Z53RJx.mjs.map +0 -1
  666. package/dist/BLink-Dfgte6dQ.mjs.map +0 -1
  667. package/dist/BLink-kLEjleB1.js +0 -276
  668. package/dist/BListGroup-C8JOzHTz.js +0 -167
  669. package/dist/BListGroup-DwTLpNiD.mjs.map +0 -1
  670. package/dist/BModal-C-ZCau2E.mjs.map +0 -1
  671. package/dist/BModal-VstTwEq9.js +0 -521
  672. package/dist/BModal-VstTwEq9.js.map +0 -1
  673. package/dist/BNav-DCLambmM.js +0 -453
  674. package/dist/BNav-DfYvjfRK.mjs.map +0 -1
  675. package/dist/BNavbar-BLWaZJRP.js +0 -245
  676. package/dist/BNavbar-xYaikQVY.mjs.map +0 -1
  677. package/dist/BOffcanvas-C7HenFW0.js +0 -331
  678. package/dist/BOffcanvas-C7HenFW0.js.map +0 -1
  679. package/dist/BOffcanvas-CF-dWeez.mjs.map +0 -1
  680. package/dist/BOverlay-Bh2PIN_q.mjs.map +0 -1
  681. package/dist/BOverlay-Bh4ldxgt.js +0 -203
  682. package/dist/BPagination-D75q-ZNg.mjs.map +0 -1
  683. package/dist/BPagination-fbjFAtxu.js +0 -446
  684. package/dist/BPlaceholder-B3rs_39w.js +0 -326
  685. package/dist/BPlaceholder-DPQ6mCLN.mjs.map +0 -1
  686. package/dist/BProgress-BZlrPYhA.mjs.map +0 -1
  687. package/dist/BProgress-th0-eZWo.js +0 -147
  688. package/dist/BRow-7AOuFiSy.js +0 -70
  689. package/dist/BRow-eGSUYGCW.mjs.map +0 -1
  690. package/dist/BSpinner-CUfGqviV.mjs.map +0 -1
  691. package/dist/BSpinner-DbYIp-C7.js +0 -60
  692. package/dist/BTable-BCWW00u_.js +0 -1903
  693. package/dist/BTable-BCWW00u_.js.map +0 -1
  694. package/dist/BTable-DUHxxWv5.mjs.map +0 -1
  695. package/dist/BTableSimple-BkdGAAKb.js +0 -137
  696. package/dist/BTableSimple-C-jn9Nwh.mjs.map +0 -1
  697. package/dist/BTabs-CvecFg5N.js +0 -607
  698. package/dist/BTabs-D_vWlBjT.mjs.map +0 -1
  699. package/dist/BTimeField-BSDaZogC.mjs.map +0 -1
  700. package/dist/BTimeField-BT5HXecp.js +0 -517
  701. package/dist/BTimeField-BT5HXecp.js.map +0 -1
  702. package/dist/BToast-DR0pek4W.js +0 -308
  703. package/dist/BToast-DR0pek4W.js.map +0 -1
  704. package/dist/BToast-Y8BayxES.mjs.map +0 -1
  705. package/dist/BTooltip-CVP8HdkU.mjs.map +0 -1
  706. package/dist/BTooltip-DPLYtaL1.js +0 -213
  707. package/dist/BootstrapVueOptions-DeViqxoD.js +0 -179
  708. package/dist/BootstrapVueOptions-DeViqxoD.js.map +0 -1
  709. package/dist/BootstrapVueOptions-Dt1TQdih.mjs.map +0 -1
  710. package/dist/ConditionalTeleport-B4KYZIM6.mjs.map +0 -1
  711. package/dist/ConditionalTeleport-BDWcebyD.js +0 -34
  712. package/dist/ConditionalWrapper-DZH_VSwb.js +0 -31
  713. package/dist/ConditionalWrapper-Dbc_O6qe.mjs.map +0 -1
  714. package/dist/DateRangeFieldInput-B86VEz0H.mjs.map +0 -1
  715. package/dist/DateRangeFieldInput-HvvI2You.js +0 -762
  716. package/dist/DateRangeFieldInput-HvvI2You.js.map +0 -1
  717. package/dist/PopperContent-BS_eKjzD.js +0 -1515
  718. package/dist/PopperContent-BS_eKjzD.js.map +0 -1
  719. package/dist/PopperContent-DmSgsjSC.mjs.map +0 -1
  720. package/dist/VisuallyHidden-C4sXnc-k.mjs.map +0 -1
  721. package/dist/VisuallyHidden-Cx0phlXT.js +0 -222
  722. package/dist/VisuallyHidden-Cx0phlXT.js.map +0 -1
  723. package/dist/VisuallyHiddenInput-BNrInt6d.js +0 -147
  724. package/dist/VisuallyHiddenInput-BNrInt6d.js.map +0 -1
  725. package/dist/VisuallyHiddenInput-DKIzxsQR.mjs.map +0 -1
  726. package/dist/bootstrap-vue-next.umd.js +0 -275
  727. package/dist/chunk-CoQrYLCe.js +0 -50
  728. package/dist/classes-B0E5Y78Y.mjs.map +0 -1
  729. package/dist/classes-D5wrmmVs.js +0 -92
  730. package/dist/constants-BLIvvaat.js +0 -123
  731. package/dist/constants-Ba9iJn2H.mjs.map +0 -1
  732. package/dist/debounce-D6kifS6w.js +0 -88
  733. package/dist/debounce-DHxNfjan.mjs.map +0 -1
  734. package/dist/dist-DiXKLh_W.js +0 -2064
  735. package/dist/dist-DiXKLh_W.js.map +0 -1
  736. package/dist/dist-Dk9C_HFS.mjs.map +0 -1
  737. package/dist/dom-AhkaSoh8.mjs.map +0 -1
  738. package/dist/dom-Bs6DzM72.js +0 -98
  739. package/dist/dom-Bs6DzM72.js.map +0 -1
  740. package/dist/flattenFragments-C1WWqm25.js +0 -18
  741. package/dist/flattenFragments-ClbLQGqR.mjs.map +0 -1
  742. package/dist/floating-ui.vue-CH2o_mZU.mjs.map +0 -1
  743. package/dist/floating-ui.vue-DDOIU2nS.js +0 -1773
  744. package/dist/floating-ui.vue-DDOIU2nS.js.map +0 -1
  745. package/dist/floatingUi-62aeQtAb.mjs.map +0 -1
  746. package/dist/floatingUi-DQ5bHmy3.js +0 -598
  747. package/dist/floatingUi-DQ5bHmy3.js.map +0 -1
  748. package/dist/functions-BcMenQqL.mjs.map +0 -1
  749. package/dist/functions-Bx1HDqMv.js +0 -11
  750. package/dist/functions-Bx1HDqMv.js.map +0 -1
  751. package/dist/getClasses-8P0iBind.js +0 -19
  752. package/dist/getClasses-COokMI60.mjs.map +0 -1
  753. package/dist/getElement-D2Jr1cbp.mjs.map +0 -1
  754. package/dist/getElement-DWGFJn0w.js +0 -19
  755. package/dist/keys-BMye8nSf.js +0 -187
  756. package/dist/keys-BMye8nSf.js.map +0 -1
  757. package/dist/keys-DU7sQgl3.mjs.map +0 -1
  758. package/dist/object-BN7QwMcz.js +0 -140
  759. package/dist/object-BN7QwMcz.js.map +0 -1
  760. package/dist/object-CHQkkner.mjs.map +0 -1
  761. package/dist/registryAccess-B9QDQwV8.js +0 -39
  762. package/dist/registryAccess-BkJDdh-3.mjs.map +0 -1
  763. package/dist/src/components/BAccordion/index.umd.js +0 -4
  764. package/dist/src/components/BAlert/index.umd.js +0 -3
  765. package/dist/src/components/BApp/index.umd.js +0 -4
  766. package/dist/src/components/BAspect/index.umd.js +0 -3
  767. package/dist/src/components/BAutocomplete/index.umd.js +0 -3
  768. package/dist/src/components/BAvatar/index.umd.js +0 -4
  769. package/dist/src/components/BBadge/index.umd.js +0 -3
  770. package/dist/src/components/BBreadcrumb/index.umd.js +0 -4
  771. package/dist/src/components/BButton/index.umd.js +0 -8
  772. package/dist/src/components/BCard/index.umd.js +0 -12
  773. package/dist/src/components/BCarousel/index.umd.js +0 -4
  774. package/dist/src/components/BCol/index.umd.js +0 -3
  775. package/dist/src/components/BCollapse/index.umd.js +0 -3
  776. package/dist/src/components/BContainer/index.umd.js +0 -7
  777. package/dist/src/components/BDateField/index.umd.js +0 -5
  778. package/dist/src/components/BDatePicker/index.umd.js +0 -4
  779. package/dist/src/components/BDropdown/index.umd.js +0 -11
  780. package/dist/src/components/BForm/index.umd.js +0 -11
  781. package/dist/src/components/BFormCheckbox/index.umd.js +0 -4
  782. package/dist/src/components/BFormFile/index.umd.js +0 -3
  783. package/dist/src/components/BFormGroup/index.umd.js +0 -3
  784. package/dist/src/components/BFormInput/index.umd.js +0 -4
  785. package/dist/src/components/BFormOtp/index.umd.js +0 -3
  786. package/dist/src/components/BFormRadio/index.umd.js +0 -4
  787. package/dist/src/components/BFormRating/index.umd.js +0 -3
  788. package/dist/src/components/BFormSelect/index.umd.js +0 -6
  789. package/dist/src/components/BFormSpinbutton/index.umd.js +0 -3
  790. package/dist/src/components/BFormTags/index.umd.js +0 -5
  791. package/dist/src/components/BFormTextarea/index.umd.js +0 -3
  792. package/dist/src/components/BImg/index.umd.js +0 -3
  793. package/dist/src/components/BInputGroup/index.umd.js +0 -5
  794. package/dist/src/components/BLink/index.umd.js +0 -3
  795. package/dist/src/components/BListGroup/index.umd.js +0 -4
  796. package/dist/src/components/BModal/index.umd.js +0 -3
  797. package/dist/src/components/BNav/index.umd.js +0 -7
  798. package/dist/src/components/BNavbar/index.umd.js +0 -6
  799. package/dist/src/components/BOffcanvas/index.umd.js +0 -3
  800. package/dist/src/components/BOverlay/index.umd.js +0 -3
  801. package/dist/src/components/BPagination/index.umd.js +0 -3
  802. package/dist/src/components/BPlaceholder/index.umd.js +0 -7
  803. package/dist/src/components/BPopover/index.umd.js +0 -3
  804. package/dist/src/components/BProgress/index.umd.js +0 -4
  805. package/dist/src/components/BRow/index.umd.js +0 -3
  806. package/dist/src/components/BSpinner/index.umd.js +0 -3
  807. package/dist/src/components/BTable/index.umd.js +0 -12
  808. package/dist/src/components/BTabs/index.umd.js +0 -4
  809. package/dist/src/components/BTimeField/index.umd.js +0 -3
  810. package/dist/src/components/BToast/index.umd.js +0 -3
  811. package/dist/src/components/BTooltip/index.umd.js +0 -3
  812. package/dist/src/components/index.umd.js +0 -301
  813. package/dist/src/components/index.umd.js.map +0 -1
  814. package/dist/src/composables/index.umd.js +0 -53
  815. package/dist/src/composables/index.umd.js.map +0 -1
  816. package/dist/src/composables/orchestratorShared/index.umd.js +0 -114
  817. package/dist/src/composables/orchestratorShared/index.umd.js.map +0 -1
  818. package/dist/src/composables/useBreadcrumb/index.umd.js +0 -37
  819. package/dist/src/composables/useBreadcrumb/index.umd.js.map +0 -1
  820. package/dist/src/composables/useColorMode/index.umd.js +0 -18
  821. package/dist/src/composables/useColorMode/index.umd.js.map +0 -1
  822. package/dist/src/composables/useModal/index.umd.js +0 -176
  823. package/dist/src/composables/useModal/index.umd.js.map +0 -1
  824. package/dist/src/composables/usePopover/index.umd.js +0 -90
  825. package/dist/src/composables/usePopover/index.umd.js.map +0 -1
  826. package/dist/src/composables/useProvideDefaults/index.umd.js +0 -42
  827. package/dist/src/composables/useProvideDefaults/index.umd.js.map +0 -1
  828. package/dist/src/composables/useRegistry/index.umd.js +0 -135
  829. package/dist/src/composables/useRegistry/index.umd.js.map +0 -1
  830. package/dist/src/composables/useScrollLock/index.umd.js +0 -8
  831. package/dist/src/composables/useScrollLock/index.umd.js.map +0 -1
  832. package/dist/src/composables/useScrollspy/index.umd.js +0 -144
  833. package/dist/src/composables/useScrollspy/index.umd.js.map +0 -1
  834. package/dist/src/composables/useToast/index.umd.js +0 -90
  835. package/dist/src/composables/useToast/index.umd.js.map +0 -1
  836. package/dist/src/composables/useToggle/index.umd.js +0 -34
  837. package/dist/src/composables/useToggle/index.umd.js.map +0 -1
  838. package/dist/src/directives/BColorMode/index.umd.js +0 -15
  839. package/dist/src/directives/BColorMode/index.umd.js.map +0 -1
  840. package/dist/src/directives/BModal/index.umd.js +0 -3
  841. package/dist/src/directives/BPopover/index.umd.js +0 -14
  842. package/dist/src/directives/BPopover/index.umd.js.map +0 -1
  843. package/dist/src/directives/BScrollspy/index.umd.js +0 -35
  844. package/dist/src/directives/BScrollspy/index.umd.js.map +0 -1
  845. package/dist/src/directives/BToggle/index.umd.js +0 -77
  846. package/dist/src/directives/BToggle/index.umd.js.map +0 -1
  847. package/dist/src/directives/BTooltip/index.umd.js +0 -16
  848. package/dist/src/directives/BTooltip/index.umd.js.map +0 -1
  849. package/dist/src/directives/index.umd.js +0 -32
  850. package/dist/src/directives/index.umd.js.map +0 -1
  851. package/dist/src/plugins/createBootstrap/index.umd.js +0 -19
  852. package/dist/src/plugins/createBootstrap/index.umd.js.map +0 -1
  853. package/dist/src/plugins/index.umd.js +0 -26
  854. package/dist/src/plugins/index.umd.js.map +0 -1
  855. package/dist/src/plugins/orchestrator/index.umd.js +0 -13
  856. package/dist/src/plugins/orchestrator/index.umd.js.map +0 -1
  857. package/dist/src/plugins/registry/index.umd.js +0 -62
  858. package/dist/src/plugins/registry/index.umd.js.map +0 -1
  859. package/dist/src/plugins/rtl/index.umd.js +0 -21
  860. package/dist/src/plugins/rtl/index.umd.js.map +0 -1
  861. package/dist/src/resolvers/index.umd.js +0 -94
  862. package/dist/src/resolvers/index.umd.js.map +0 -1
  863. package/dist/src/types/index.umd.js +0 -27
  864. package/dist/src/types/index.umd.js.map +0 -1
  865. package/dist/src/utils/index.umd.js +0 -21
  866. package/dist/src/utils/index.umd.js.map +0 -1
  867. package/dist/stringUtils-68ZN_GRt.js +0 -71
  868. package/dist/stringUtils-D4eEDlt1.mjs.map +0 -1
  869. package/dist/useAlignment-DuR8ymKI.mjs.map +0 -1
  870. package/dist/useAlignment-oKolnDpb.js +0 -16
  871. package/dist/useAriaInvalid-CHHPHNLU.js +0 -17
  872. package/dist/useAriaInvalid-apOwgexm.mjs.map +0 -1
  873. package/dist/useColorVariantClasses-CqeXHjRh.mjs.map +0 -1
  874. package/dist/useColorVariantClasses-Dq0sOYDL.js +0 -27
  875. package/dist/useCountdownHover-C3NXiAaF.mjs.map +0 -1
  876. package/dist/useCountdownHover-DbVhE-N0.js +0 -104
  877. package/dist/useDateField-CJKgollJ.mjs.map +0 -1
  878. package/dist/useDateField-DWv3600o.js +0 -3872
  879. package/dist/useDateField-DWv3600o.js.map +0 -1
  880. package/dist/useDefaults-C0CYry78.js +0 -76
  881. package/dist/useDefaults-DseelK6y.mjs.map +0 -1
  882. package/dist/useFormCheck-BKXrwS3g.mjs.map +0 -1
  883. package/dist/useFormCheck-DYjLG4WA.js +0 -82
  884. package/dist/useFormInput-CXl8rpD0.mjs.map +0 -1
  885. package/dist/useFormInput-ip9hN2AU.js +0 -117
  886. package/dist/useFormSelect-BM0rsjni.mjs.map +0 -1
  887. package/dist/useFormSelect-ClmzGzOy.js +0 -58
  888. package/dist/useForwardExpose-BpZJluPs.js +0 -80
  889. package/dist/useForwardExpose-BpZJluPs.js.map +0 -1
  890. package/dist/useForwardExpose-Cob6LlGd.mjs.map +0 -1
  891. package/dist/useId-BkAY2oh6.js +0 -17
  892. package/dist/useId-D1sqXtwx.mjs.map +0 -1
  893. package/dist/useKbd-DfmgFov6.mjs.map +0 -1
  894. package/dist/useKbd-sqDCJtXL.js +0 -105
  895. package/dist/useKbd-sqDCJtXL.js.map +0 -1
  896. package/dist/useNumberishToStyle-BtMa0R27.js +0 -18
  897. package/dist/useNumberishToStyle-DgS1slD3.mjs.map +0 -1
  898. package/dist/useRadiusElementClasses-BW832F7F.mjs.map +0 -1
  899. package/dist/useRadiusElementClasses-DWiUVgex.js +0 -28
  900. package/dist/useRtl-BSgvbs5F.js +0 -26
  901. package/dist/useRtl-CGoXBxNo.mjs.map +0 -1
  902. package/dist/useSafeScrollLock-7wmPH_Hy.js +0 -1418
  903. package/dist/useSafeScrollLock-7wmPH_Hy.js.map +0 -1
  904. package/dist/useSafeScrollLock-Me5LyqjD.mjs.map +0 -1
  905. package/dist/useShowHide-CBFt1_EW.mjs.map +0 -1
  906. package/dist/useShowHide-CHm2uUep.js +0 -436
  907. package/dist/useShowHide-CHm2uUep.js.map +0 -1
  908. package/dist/useStateClass-CXK3nCg9.js +0 -16
  909. package/dist/useStateClass-DxlL_m2E.mjs.map +0 -1
  910. package/dist/utils-CWvndqPg.mjs.map +0 -1
  911. package/dist/utils-Dk9yAtbs.js +0 -186
  912. package/dist/utils-Dk9yAtbs.js.map +0 -1
  913. /package/dist/{chunk-D1SwGrFN.mjs → rolldown-runtime-BBjsoOtd.js} +0 -0
@@ -1,2402 +0,0 @@
1
- require("./chunk-CoQrYLCe.js");
2
- const require_dist = require("./dist-DiXKLh_W.js");
3
- const require_useDefaults = require("./useDefaults-C0CYry78.js");
4
- const require_useId = require("./useId-BkAY2oh6.js");
5
- const require_BCloseButton = require("./BCloseButton-D42zHRLP.js");
6
- const require_BButton = require("./BButton-aYtMnyHu.js");
7
- const require_VisuallyHidden = require("./VisuallyHidden-Cx0phlXT.js");
8
- const require_useForwardExpose = require("./useForwardExpose-BpZJluPs.js");
9
- const require_PopperContent = require("./PopperContent-BS_eKjzD.js");
10
- const require_useKbd = require("./useKbd-sqDCJtXL.js");
11
- const require_VisuallyHiddenInput = require("./VisuallyHiddenInput-BNrInt6d.js");
12
- const require_BInputGroup = require("./BInputGroup-Bvlfv6VD.js");
13
- const require_useAriaInvalid = require("./useAriaInvalid-CHHPHNLU.js");
14
- const require_BFormInput = require("./BFormInput-CBwwDjfC.js");
15
- const require_BFormTag = require("./BFormTag-CeV0MSRC.js");
16
- const require_useFormSelect = require("./useFormSelect-ClmzGzOy.js");
17
- let vue = require("vue");
18
- //#region ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
19
- function serialize(o) {
20
- return typeof o == "string" ? `'${o}'` : new c().serialize(o);
21
- }
22
- var c = /* @__PURE__ */ function() {
23
- class o {
24
- #t = /* @__PURE__ */ new Map();
25
- compare(t, r) {
26
- const e = typeof t, n = typeof r;
27
- return e === "string" && n === "string" ? t.localeCompare(r) : e === "number" && n === "number" ? t - r : String.prototype.localeCompare.call(this.serialize(t, true), this.serialize(r, true));
28
- }
29
- serialize(t, r) {
30
- if (t === null) return "null";
31
- switch (typeof t) {
32
- case "string": return r ? t : `'${t}'`;
33
- case "bigint": return `${t}n`;
34
- case "object": return this.$object(t);
35
- case "function": return this.$function(t);
36
- }
37
- return String(t);
38
- }
39
- serializeObject(t) {
40
- const r = Object.prototype.toString.call(t);
41
- if (r !== "[object Object]") return this.serializeBuiltInType(r.length < 10 ? `unknown:${r}` : r.slice(8, -1), t);
42
- const e = t.constructor, n = e === Object || e === void 0 ? "" : e.name;
43
- if (n !== "" && globalThis[n] === e) return this.serializeBuiltInType(n, t);
44
- if (typeof t.toJSON == "function") {
45
- const i = t.toJSON();
46
- return n + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`);
47
- }
48
- return this.serializeObjectEntries(n, Object.entries(t));
49
- }
50
- serializeBuiltInType(t, r) {
51
- const e = this["$" + t];
52
- if (e) return e.call(this, r);
53
- if (typeof r?.entries == "function") return this.serializeObjectEntries(t, r.entries());
54
- throw new Error(`Cannot serialize ${t}`);
55
- }
56
- serializeObjectEntries(t, r) {
57
- const e = Array.from(r).sort((i, a) => this.compare(i[0], a[0]));
58
- let n = `${t}{`;
59
- for (let i = 0; i < e.length; i++) {
60
- const [a, l] = e[i];
61
- n += `${this.serialize(a, true)}:${this.serialize(l)}`, i < e.length - 1 && (n += ",");
62
- }
63
- return n + "}";
64
- }
65
- $object(t) {
66
- let r = this.#t.get(t);
67
- return r === void 0 && (this.#t.set(t, `#${this.#t.size}`), r = this.serializeObject(t), this.#t.set(t, r)), r;
68
- }
69
- $function(t) {
70
- const r = Function.prototype.toString.call(t);
71
- return r.slice(-15) === "[native code] }" ? `${t.name || ""}()[native]` : `${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`;
72
- }
73
- $Array(t) {
74
- let r = "[";
75
- for (let e = 0; e < t.length; e++) r += this.serialize(t[e]), e < t.length - 1 && (r += ",");
76
- return r + "]";
77
- }
78
- $Date(t) {
79
- try {
80
- return `Date(${t.toISOString()})`;
81
- } catch {
82
- return "Date(null)";
83
- }
84
- }
85
- $ArrayBuffer(t) {
86
- return `ArrayBuffer[${new Uint8Array(t).join(",")}]`;
87
- }
88
- $Set(t) {
89
- return `Set${this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)))}`;
90
- }
91
- $Map(t) {
92
- return this.serializeObjectEntries("Map", t.entries());
93
- }
94
- }
95
- for (const s of [
96
- "Error",
97
- "RegExp",
98
- "URL"
99
- ]) o.prototype["$" + s] = function(t) {
100
- return `${s}(${t})`;
101
- };
102
- for (const s of [
103
- "Int8Array",
104
- "Uint8Array",
105
- "Uint8ClampedArray",
106
- "Int16Array",
107
- "Uint16Array",
108
- "Int32Array",
109
- "Uint32Array",
110
- "Float32Array",
111
- "Float64Array"
112
- ]) o.prototype["$" + s] = function(t) {
113
- return `${s}[${t.join(",")}]`;
114
- };
115
- for (const s of ["BigInt64Array", "BigUint64Array"]) o.prototype["$" + s] = function(t) {
116
- return `${s}[${t.join("n,")}${t.length > 0 ? "n" : ""}]`;
117
- };
118
- return o;
119
- }();
120
- function isEqual(object1, object2) {
121
- if (object1 === object2) return true;
122
- if (serialize(object1) === serialize(object2)) return true;
123
- return false;
124
- }
125
- //#endregion
126
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/arrays.js
127
- /**
128
- * The function `findValuesBetween` takes an array and two values, then returns a subarray containing
129
- * elements between the first occurrence of the start value and the first occurrence of the end value
130
- * in the array.
131
- * @param {T[]} array - The `array` parameter is an array of values of type `T`.
132
- * @param {T} start - The `start` parameter is the value that marks the beginning of the range you want
133
- * to find in the array.
134
- * @param {T} end - The `end` parameter in the `findValuesBetween` function represents the end value
135
- * that you want to find in the array. This function will return a subarray of values that are between
136
- * the `start` and `end` values in the original array.
137
- * @returns The `findValuesBetween` function returns an array of values from the input array that are
138
- * between the `start` and `end` values (inclusive). If either the `start` or `end` values are not
139
- * found in the input array, an empty array is returned.
140
- */
141
- function findValuesBetween(array, start, end) {
142
- const startIndex = array.findIndex((i) => isEqual(i, start));
143
- const endIndex = array.findIndex((i) => isEqual(i, end));
144
- if (startIndex === -1 || endIndex === -1) return [];
145
- const [minIndex, maxIndex] = [startIndex, endIndex].sort((a, b) => a - b);
146
- return array.slice(minIndex, maxIndex + 1);
147
- }
148
- //#endregion
149
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFilter.js
150
- /**
151
- * Provides locale-aware string filtering functions.
152
- * Uses `Intl.Collator` for comparison to ensure proper Unicode handling.
153
- *
154
- * @param options - Optional collator options to customize comparison behavior.
155
- * See [Intl.CollatorOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/Collator#options) for details.
156
- * @returns An object with methods to check if a string starts with, ends with, or contains a substring.
157
- *
158
- * @example
159
- * const { startsWith, endsWith, contains } = useFilter();
160
- *
161
- * startsWith('hello', 'he'); // true
162
- * endsWith('hello', 'lo'); // true
163
- * contains('hello', 'ell'); // true
164
- */
165
- function useFilter(options) {
166
- const computedOptions = (0, vue.computed)(() => (0, vue.unref)(options));
167
- const collator = (0, vue.computed)(() => new Intl.Collator("en", {
168
- usage: "search",
169
- ...computedOptions.value
170
- }));
171
- const startsWith = (string, substring) => {
172
- if (substring.length === 0) return true;
173
- string = string.normalize("NFC");
174
- substring = substring.normalize("NFC");
175
- return collator.value.compare(string.slice(0, substring.length), substring) === 0;
176
- };
177
- const endsWith = (string, substring) => {
178
- if (substring.length === 0) return true;
179
- string = string.normalize("NFC");
180
- substring = substring.normalize("NFC");
181
- return collator.value.compare(string.slice(-substring.length), substring) === 0;
182
- };
183
- const contains = (string, substring) => {
184
- if (substring.length === 0) return true;
185
- string = string.normalize("NFC");
186
- substring = substring.normalize("NFC");
187
- let scan = 0;
188
- const sliceLen = substring.length;
189
- for (; scan + sliceLen <= string.length; scan++) {
190
- const slice = string.slice(scan, scan + sliceLen);
191
- if (collator.value.compare(substring, slice) === 0) return true;
192
- }
193
- return false;
194
- };
195
- return {
196
- startsWith,
197
- endsWith,
198
- contains
199
- };
200
- }
201
- //#endregion
202
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useFormControl.js
203
- function useFormControl(el) {
204
- return (0, vue.computed)(() => (0, vue.toValue)(el) ? Boolean(require_dist.unrefElement(el)?.closest("form")) : true);
205
- }
206
- //#endregion
207
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useTypeahead.js
208
- function useTypeahead(callback) {
209
- const search = require_dist.refAutoReset("", 1e3);
210
- const handleTypeaheadSearch = (key, items) => {
211
- search.value = search.value + key;
212
- if (callback) callback(key);
213
- else {
214
- const currentItem = require_useForwardExpose.getActiveElement();
215
- const itemsWithTextValue = items.map((item) => ({
216
- ...item,
217
- textValue: item.value?.textValue ?? item.ref.textContent?.trim() ?? ""
218
- }));
219
- const currentMatch = itemsWithTextValue.find((item) => item.ref === currentItem);
220
- const nextMatch = getNextMatch(itemsWithTextValue.map((item) => item.textValue), search.value, currentMatch?.textValue);
221
- const newItem = itemsWithTextValue.find((item) => item.textValue === nextMatch);
222
- if (newItem) newItem.ref.focus();
223
- return newItem?.ref;
224
- }
225
- };
226
- const resetTypeahead = () => {
227
- search.value = "";
228
- };
229
- return {
230
- search,
231
- handleTypeaheadSearch,
232
- resetTypeahead
233
- };
234
- }
235
- /**
236
- * Wraps an array around itself at a given start index
237
- * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`
238
- */
239
- function wrapArray(array, startIndex) {
240
- return array.map((_, index) => array[(startIndex + index) % array.length]);
241
- }
242
- /**
243
- * This is the "meat" of the typeahead matching logic. It takes in all the values,
244
- * the search and the current match, and returns the next match (or `undefined`).
245
- *
246
- * We normalize the search because if a user has repeatedly pressed a character,
247
- * we want the exact same behavior as if we only had that one character
248
- * (ie. cycle through options starting with that character)
249
- *
250
- * We also reorder the values by wrapping the array around the current match.
251
- * This is so we always look forward from the current match, and picking the first
252
- * match will always be the correct one.
253
- *
254
- * Finally, if the normalized search is exactly one character, we exclude the
255
- * current match from the values because otherwise it would be the first to match always
256
- * and focus would never move. This is as opposed to the regular case, where we
257
- * don't want focus to move if the current match still matches.
258
- */
259
- function getNextMatch(values, search, currentMatch) {
260
- const normalizedSearch = search.length > 1 && Array.from(search).every((char) => char === search[0]) ? search[0] : search;
261
- const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;
262
- let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));
263
- if (normalizedSearch.length === 1) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);
264
- const nextMatch = wrappedValues.find((value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase()));
265
- return nextMatch !== currentMatch ? nextMatch : void 0;
266
- }
267
- //#endregion
268
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Collection/Collection.js
269
- var ITEM_DATA_ATTR = "data-reka-collection-item";
270
- function useCollection(options = {}) {
271
- const { key = "", isProvider = false } = options;
272
- const injectionKey = `${key}CollectionProvider`;
273
- let context;
274
- if (isProvider) {
275
- const itemMap = (0, vue.ref)(/* @__PURE__ */ new Map());
276
- context = {
277
- collectionRef: (0, vue.ref)(),
278
- itemMap
279
- };
280
- (0, vue.provide)(injectionKey, context);
281
- } else context = (0, vue.inject)(injectionKey);
282
- const getItems = (includeDisabledItem = false) => {
283
- const collectionNode = context.collectionRef.value;
284
- if (!collectionNode) return [];
285
- const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
286
- const orderedItems = Array.from(context.itemMap.value.values()).sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));
287
- if (includeDisabledItem) return orderedItems;
288
- else return orderedItems.filter((i) => i.ref.dataset.disabled !== "");
289
- };
290
- const CollectionSlot = (0, vue.defineComponent)({
291
- name: "CollectionSlot",
292
- inheritAttrs: false,
293
- setup(_, { slots, attrs }) {
294
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
295
- (0, vue.watch)(currentElement, () => {
296
- context.collectionRef.value = currentElement.value;
297
- });
298
- return () => (0, vue.h)(require_VisuallyHidden.Slot, {
299
- ref: primitiveElement,
300
- ...attrs
301
- }, slots);
302
- }
303
- });
304
- const CollectionItem = (0, vue.defineComponent)({
305
- name: "CollectionItem",
306
- inheritAttrs: false,
307
- props: { value: { validator: () => true } },
308
- setup(props, { slots, attrs }) {
309
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
310
- (0, vue.watchEffect)((cleanupFn) => {
311
- if (currentElement.value) {
312
- const key$1 = (0, vue.markRaw)(currentElement.value);
313
- context.itemMap.value.set(key$1, {
314
- ref: currentElement.value,
315
- value: props.value
316
- });
317
- cleanupFn(() => context.itemMap.value.delete(key$1));
318
- }
319
- });
320
- return () => (0, vue.h)(require_VisuallyHidden.Slot, {
321
- ...attrs,
322
- [ITEM_DATA_ATTR]: "",
323
- ref: primitiveElement
324
- }, slots);
325
- }
326
- });
327
- return {
328
- getItems,
329
- reactiveItems: (0, vue.computed)(() => Array.from(context.itemMap.value.values())),
330
- itemMapSize: (0, vue.computed)(() => context.itemMap.value.size),
331
- CollectionSlot,
332
- CollectionItem
333
- };
334
- }
335
- //#endregion
336
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/utils.js
337
- function valueComparator(value, currentValue, comparator) {
338
- if (value === void 0) return false;
339
- else if (Array.isArray(value)) return value.some((val) => compare(val, currentValue, comparator));
340
- else return compare(value, currentValue, comparator);
341
- }
342
- function compare(value, currentValue, comparator) {
343
- if (value === void 0 || currentValue === void 0) return false;
344
- if (typeof value === "string") return value === currentValue;
345
- if (typeof comparator === "function") return comparator(value, currentValue);
346
- if (typeof comparator === "string") return value?.[comparator] === currentValue?.[comparator];
347
- return isEqual(value, currentValue);
348
- }
349
- //#endregion
350
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/RovingFocus/utils.js
351
- var MAP_KEY_TO_FOCUS_INTENT = {
352
- ArrowLeft: "prev",
353
- ArrowUp: "prev",
354
- ArrowRight: "next",
355
- ArrowDown: "next",
356
- PageUp: "first",
357
- Home: "first",
358
- PageDown: "last",
359
- End: "last"
360
- };
361
- function getDirectionAwareKey(key, dir) {
362
- if (dir !== "rtl") return key;
363
- return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
364
- }
365
- function getFocusIntent(event, orientation, dir) {
366
- const key = getDirectionAwareKey(event.key, dir);
367
- if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
368
- if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
369
- return MAP_KEY_TO_FOCUS_INTENT[key];
370
- }
371
- //#endregion
372
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxRoot.js
373
- var [injectListboxRootContext, provideListboxRootContext] = require_VisuallyHidden.createContext("ListboxRoot");
374
- var ListboxRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
375
- __name: "ListboxRoot",
376
- props: {
377
- modelValue: {
378
- type: null,
379
- required: false
380
- },
381
- defaultValue: {
382
- type: null,
383
- required: false
384
- },
385
- multiple: {
386
- type: Boolean,
387
- required: false
388
- },
389
- orientation: {
390
- type: String,
391
- required: false,
392
- default: "vertical"
393
- },
394
- dir: {
395
- type: String,
396
- required: false
397
- },
398
- disabled: {
399
- type: Boolean,
400
- required: false
401
- },
402
- selectionBehavior: {
403
- type: String,
404
- required: false,
405
- default: "toggle"
406
- },
407
- highlightOnHover: {
408
- type: Boolean,
409
- required: false
410
- },
411
- by: {
412
- type: [String, Function],
413
- required: false
414
- },
415
- asChild: {
416
- type: Boolean,
417
- required: false
418
- },
419
- as: {
420
- type: null,
421
- required: false
422
- },
423
- name: {
424
- type: String,
425
- required: false
426
- },
427
- required: {
428
- type: Boolean,
429
- required: false
430
- }
431
- },
432
- emits: [
433
- "update:modelValue",
434
- "highlight",
435
- "entryFocus",
436
- "leave"
437
- ],
438
- setup(__props, { expose: __expose, emit: __emit }) {
439
- const props = __props;
440
- const emits = __emit;
441
- const { multiple, highlightOnHover, orientation, disabled, selectionBehavior, dir: propDir } = (0, vue.toRefs)(props);
442
- const { getItems } = useCollection({ isProvider: true });
443
- const { handleTypeaheadSearch } = useTypeahead();
444
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
445
- const kbd = require_useKbd.useKbd();
446
- const dir = require_VisuallyHidden.useDirection(propDir);
447
- const isFormControl = useFormControl(currentElement);
448
- const firstValue = (0, vue.ref)();
449
- const isUserAction = (0, vue.ref)(false);
450
- const focusable = (0, vue.ref)(true);
451
- const modelValue = require_dist.useVModel(props, "modelValue", emits, {
452
- defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
453
- passive: props.modelValue === void 0,
454
- deep: true
455
- });
456
- function onValueChange(val) {
457
- isUserAction.value = true;
458
- if (props.multiple) {
459
- const modelArray = Array.isArray(modelValue.value) ? [...modelValue.value] : [];
460
- const index = modelArray.findIndex((i) => compare(i, val, props.by));
461
- if (props.selectionBehavior === "toggle") {
462
- index === -1 ? modelArray.push(val) : modelArray.splice(index, 1);
463
- modelValue.value = modelArray;
464
- } else {
465
- modelValue.value = [val];
466
- firstValue.value = val;
467
- }
468
- } else if (props.selectionBehavior === "toggle") if (compare(modelValue.value, val, props.by)) modelValue.value = void 0;
469
- else modelValue.value = val;
470
- else modelValue.value = val;
471
- setTimeout(() => {
472
- isUserAction.value = false;
473
- }, 1);
474
- }
475
- const highlightedElement = (0, vue.ref)(null);
476
- const previousElement = (0, vue.ref)(null);
477
- const isVirtual = (0, vue.ref)(false);
478
- const isComposing = (0, vue.ref)(false);
479
- const virtualFocusHook = require_dist.createEventHook();
480
- const virtualKeydownHook = require_dist.createEventHook();
481
- const virtualHighlightHook = require_dist.createEventHook();
482
- function getCollectionItem() {
483
- return getItems().map((i) => i.ref).filter((i) => i.dataset.disabled !== "");
484
- }
485
- function changeHighlight(el, scrollIntoView = true) {
486
- if (!el) return;
487
- highlightedElement.value = el;
488
- if (focusable.value) highlightedElement.value.focus();
489
- if (scrollIntoView) highlightedElement.value.scrollIntoView({ block: "nearest" });
490
- emits("highlight", getItems().find((i) => i.ref === el));
491
- }
492
- function highlightItem(value) {
493
- if (isVirtual.value) virtualHighlightHook.trigger(value);
494
- else {
495
- const item = getItems().find((i) => compare(i.value, value, props.by));
496
- if (item) {
497
- highlightedElement.value = item.ref;
498
- changeHighlight(item.ref);
499
- }
500
- }
501
- }
502
- function onKeydownEnter(event) {
503
- if (highlightedElement.value && highlightedElement.value.isConnected) {
504
- event.preventDefault();
505
- event.stopPropagation();
506
- if (!isComposing.value) highlightedElement.value.click();
507
- }
508
- }
509
- function onKeydownTypeAhead(event) {
510
- if (!focusable.value) return;
511
- isUserAction.value = true;
512
- if (isVirtual.value) virtualKeydownHook.trigger(event);
513
- else {
514
- const isMetaKey = event.altKey || event.ctrlKey || event.metaKey;
515
- if (isMetaKey && event.key === "a" && multiple.value) {
516
- const collection = getItems();
517
- modelValue.value = [...collection.map((i) => i.value)];
518
- event.preventDefault();
519
- changeHighlight(collection[collection.length - 1].ref);
520
- } else if (!isMetaKey) {
521
- const el = handleTypeaheadSearch(event.key, getItems());
522
- if (el) changeHighlight(el);
523
- }
524
- }
525
- setTimeout(() => {
526
- isUserAction.value = false;
527
- }, 1);
528
- }
529
- function onCompositionStart() {
530
- isComposing.value = true;
531
- }
532
- function onCompositionEnd() {
533
- (0, vue.nextTick)(() => {
534
- isComposing.value = false;
535
- });
536
- }
537
- function highlightFirstItem() {
538
- (0, vue.nextTick)(() => {
539
- onKeydownNavigation(new KeyboardEvent("keydown", { key: "PageUp" }));
540
- });
541
- }
542
- function onLeave(event) {
543
- const el = highlightedElement.value;
544
- if (el?.isConnected) previousElement.value = el;
545
- highlightedElement.value = null;
546
- emits("leave", event);
547
- }
548
- function onEnter(event) {
549
- const entryFocusEvent = new CustomEvent("listbox.entryFocus", {
550
- bubbles: false,
551
- cancelable: true
552
- });
553
- event.currentTarget?.dispatchEvent(entryFocusEvent);
554
- emits("entryFocus", entryFocusEvent);
555
- if (entryFocusEvent.defaultPrevented) return;
556
- if (previousElement.value) changeHighlight(previousElement.value);
557
- else {
558
- const el = getCollectionItem()?.[0];
559
- changeHighlight(el);
560
- }
561
- }
562
- function onKeydownNavigation(event) {
563
- const intent = getFocusIntent(event, orientation.value, dir.value);
564
- if (!intent) return;
565
- let collection = getCollectionItem();
566
- if (highlightedElement.value) {
567
- if (intent === "last") collection.reverse();
568
- else if (intent === "prev" || intent === "next") {
569
- if (intent === "prev") collection.reverse();
570
- const currentIndex = collection.indexOf(highlightedElement.value);
571
- collection = collection.slice(currentIndex + 1);
572
- }
573
- handleMultipleReplace(event, collection[0]);
574
- }
575
- if (collection.length) {
576
- const index = !highlightedElement.value && intent === "prev" ? collection.length - 1 : 0;
577
- changeHighlight(collection[index]);
578
- }
579
- if (isVirtual.value) return virtualKeydownHook.trigger(event);
580
- }
581
- function handleMultipleReplace(event, targetEl) {
582
- if (isVirtual.value || props.selectionBehavior !== "replace" || !multiple.value || !Array.isArray(modelValue.value)) return;
583
- if ((event.altKey || event.ctrlKey || event.metaKey) && !event.shiftKey) return;
584
- if (event.shiftKey) {
585
- const collection = getItems().filter((i) => i.ref.dataset.disabled !== "");
586
- let lastValue = collection.find((i) => i.ref === targetEl)?.value;
587
- if (event.key === kbd.END) lastValue = collection[collection.length - 1].value;
588
- else if (event.key === kbd.HOME) lastValue = collection[0].value;
589
- if (!lastValue || !firstValue.value) return;
590
- modelValue.value = findValuesBetween(collection.map((i) => i.value), firstValue.value, lastValue);
591
- }
592
- }
593
- async function highlightSelected(event) {
594
- await (0, vue.nextTick)();
595
- if (isVirtual.value) virtualFocusHook.trigger(event);
596
- else {
597
- const collection = getCollectionItem();
598
- const item = collection.find((i) => i.dataset.state === "checked");
599
- if (item) changeHighlight(item);
600
- else if (collection.length) changeHighlight(collection[0]);
601
- }
602
- }
603
- (0, vue.watch)(modelValue, () => {
604
- if (!isUserAction.value) (0, vue.nextTick)(() => {
605
- highlightSelected();
606
- });
607
- }, {
608
- immediate: true,
609
- deep: true
610
- });
611
- __expose({
612
- highlightedElement,
613
- highlightItem,
614
- highlightFirstItem,
615
- highlightSelected,
616
- getItems
617
- });
618
- provideListboxRootContext({
619
- modelValue,
620
- onValueChange,
621
- multiple,
622
- orientation,
623
- dir,
624
- disabled,
625
- highlightOnHover,
626
- highlightedElement,
627
- isVirtual,
628
- virtualFocusHook,
629
- virtualKeydownHook,
630
- virtualHighlightHook,
631
- by: props.by,
632
- firstValue,
633
- selectionBehavior,
634
- focusable,
635
- onLeave,
636
- onEnter,
637
- changeHighlight,
638
- onKeydownEnter,
639
- onKeydownNavigation,
640
- onKeydownTypeAhead,
641
- onCompositionStart,
642
- onCompositionEnd,
643
- highlightFirstItem
644
- });
645
- return (_ctx, _cache) => {
646
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), {
647
- ref_key: "primitiveElement",
648
- ref: primitiveElement,
649
- as: _ctx.as,
650
- "as-child": _ctx.asChild,
651
- dir: (0, vue.unref)(dir),
652
- "data-disabled": (0, vue.unref)(disabled) ? "" : void 0,
653
- onPointerleave: onLeave,
654
- onFocusout: _cache[0] || (_cache[0] = async (event) => {
655
- const target = event.relatedTarget || event.target;
656
- await (0, vue.nextTick)();
657
- if (highlightedElement.value && (0, vue.unref)(currentElement) && !(0, vue.unref)(currentElement).contains(target)) onLeave(event);
658
- })
659
- }, {
660
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { modelValue: (0, vue.unref)(modelValue) }), (0, vue.unref)(isFormControl) && _ctx.name ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHiddenInput.VisuallyHiddenInput_default), {
661
- key: 0,
662
- name: _ctx.name,
663
- value: (0, vue.unref)(modelValue),
664
- disabled: (0, vue.unref)(disabled),
665
- required: _ctx.required
666
- }, null, 8, [
667
- "name",
668
- "value",
669
- "disabled",
670
- "required"
671
- ])) : (0, vue.createCommentVNode)("v-if", true)]),
672
- _: 3
673
- }, 8, [
674
- "as",
675
- "as-child",
676
- "dir",
677
- "data-disabled"
678
- ]);
679
- };
680
- }
681
- });
682
- //#endregion
683
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxContent.js
684
- var ListboxContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
685
- __name: "ListboxContent",
686
- props: {
687
- asChild: {
688
- type: Boolean,
689
- required: false
690
- },
691
- as: {
692
- type: null,
693
- required: false
694
- }
695
- },
696
- setup(__props) {
697
- const { CollectionSlot } = useCollection();
698
- const rootContext = injectListboxRootContext();
699
- const isClickFocus = require_dist.refAutoReset(false, 10);
700
- return (_ctx, _cache) => {
701
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(CollectionSlot), null, {
702
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), {
703
- role: "listbox",
704
- as: _ctx.as,
705
- "as-child": _ctx.asChild,
706
- tabindex: (0, vue.unref)(rootContext).focusable.value ? (0, vue.unref)(rootContext).highlightedElement.value ? "-1" : "0" : "-1",
707
- "aria-orientation": (0, vue.unref)(rootContext).orientation.value,
708
- "aria-multiselectable": !!(0, vue.unref)(rootContext).multiple.value,
709
- "data-orientation": (0, vue.unref)(rootContext).orientation.value,
710
- onMousedown: _cache[0] || (_cache[0] = (0, vue.withModifiers)(($event) => isClickFocus.value = true, ["left"])),
711
- onFocus: _cache[1] || (_cache[1] = (ev) => {
712
- if ((0, vue.unref)(isClickFocus)) return;
713
- (0, vue.unref)(rootContext).onEnter(ev);
714
- }),
715
- onKeydown: [
716
- _cache[2] || (_cache[2] = (0, vue.withKeys)((event) => {
717
- if ((0, vue.unref)(rootContext).orientation.value === "vertical" && (event.key === "ArrowLeft" || event.key === "ArrowRight") || (0, vue.unref)(rootContext).orientation.value === "horizontal" && (event.key === "ArrowUp" || event.key === "ArrowDown")) return;
718
- event.preventDefault();
719
- (0, vue.unref)(rootContext).focusable.value && (0, vue.unref)(rootContext).onKeydownNavigation(event);
720
- }, [
721
- "down",
722
- "up",
723
- "left",
724
- "right",
725
- "home",
726
- "end"
727
- ])),
728
- (0, vue.withKeys)((0, vue.unref)(rootContext).onKeydownEnter, ["enter"]),
729
- (0, vue.unref)(rootContext).onKeydownTypeAhead
730
- ]
731
- }, {
732
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
733
- _: 3
734
- }, 8, [
735
- "as",
736
- "as-child",
737
- "tabindex",
738
- "aria-orientation",
739
- "aria-multiselectable",
740
- "data-orientation",
741
- "onKeydown"
742
- ])]),
743
- _: 3
744
- });
745
- };
746
- }
747
- });
748
- //#endregion
749
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxFilter.js
750
- var ListboxFilter_default = /* @__PURE__ */ (0, vue.defineComponent)({
751
- __name: "ListboxFilter",
752
- props: {
753
- modelValue: {
754
- type: String,
755
- required: false
756
- },
757
- autoFocus: {
758
- type: Boolean,
759
- required: false
760
- },
761
- disabled: {
762
- type: Boolean,
763
- required: false
764
- },
765
- asChild: {
766
- type: Boolean,
767
- required: false
768
- },
769
- as: {
770
- type: null,
771
- required: false,
772
- default: "input"
773
- }
774
- },
775
- emits: ["update:modelValue"],
776
- setup(__props, { emit: __emit }) {
777
- const props = __props;
778
- const modelValue = require_dist.useVModel(props, "modelValue", __emit, {
779
- defaultValue: "",
780
- passive: props.modelValue === void 0
781
- });
782
- const rootContext = injectListboxRootContext();
783
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
784
- const disabled = (0, vue.computed)(() => props.disabled || rootContext.disabled.value || false);
785
- const activedescendant = (0, vue.ref)();
786
- (0, vue.watchSyncEffect)(() => activedescendant.value = rootContext.highlightedElement.value?.id);
787
- (0, vue.onMounted)(() => {
788
- rootContext.focusable.value = false;
789
- setTimeout(() => {
790
- if (props.autoFocus) currentElement.value?.focus();
791
- }, 1);
792
- });
793
- (0, vue.onUnmounted)(() => {
794
- rootContext.focusable.value = true;
795
- });
796
- return (_ctx, _cache) => {
797
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), {
798
- ref_key: "primitiveElement",
799
- ref: primitiveElement,
800
- as: _ctx.as,
801
- "as-child": _ctx.asChild,
802
- value: (0, vue.unref)(modelValue),
803
- disabled: disabled.value ? "" : void 0,
804
- "data-disabled": disabled.value ? "" : void 0,
805
- "aria-disabled": disabled.value ?? void 0,
806
- "aria-activedescendant": activedescendant.value,
807
- type: "text",
808
- onKeydown: [(0, vue.withKeys)((0, vue.withModifiers)((0, vue.unref)(rootContext).onKeydownNavigation, ["prevent"]), [
809
- "down",
810
- "up",
811
- "home",
812
- "end"
813
- ]), (0, vue.withKeys)((0, vue.unref)(rootContext).onKeydownEnter, ["enter"])],
814
- onInput: _cache[0] || (_cache[0] = (event) => {
815
- modelValue.value = event.target.value;
816
- (0, vue.unref)(rootContext).highlightFirstItem();
817
- }),
818
- onCompositionstart: (0, vue.unref)(rootContext).onCompositionStart,
819
- onCompositionend: (0, vue.unref)(rootContext).onCompositionEnd
820
- }, {
821
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { modelValue: (0, vue.unref)(modelValue) })]),
822
- _: 3
823
- }, 8, [
824
- "as",
825
- "as-child",
826
- "value",
827
- "disabled",
828
- "data-disabled",
829
- "aria-disabled",
830
- "aria-activedescendant",
831
- "onKeydown",
832
- "onCompositionstart",
833
- "onCompositionend"
834
- ]);
835
- };
836
- }
837
- });
838
- //#endregion
839
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItem.js
840
- var LISTBOX_SELECT = "listbox.select";
841
- var [injectListboxItemContext, provideListboxItemContext] = require_VisuallyHidden.createContext("ListboxItem");
842
- var ListboxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
843
- __name: "ListboxItem",
844
- props: {
845
- value: {
846
- type: null,
847
- required: true
848
- },
849
- disabled: {
850
- type: Boolean,
851
- required: false
852
- },
853
- asChild: {
854
- type: Boolean,
855
- required: false
856
- },
857
- as: {
858
- type: null,
859
- required: false,
860
- default: "div"
861
- }
862
- },
863
- emits: ["select"],
864
- setup(__props, { emit: __emit }) {
865
- const props = __props;
866
- const emits = __emit;
867
- const id = require_PopperContent.useId(void 0, "reka-listbox-item");
868
- const { CollectionItem } = useCollection();
869
- const { forwardRef, currentElement } = require_useForwardExpose.useForwardExpose();
870
- const rootContext = injectListboxRootContext();
871
- const isHighlighted = (0, vue.computed)(() => currentElement.value === rootContext.highlightedElement.value);
872
- const isSelected = (0, vue.computed)(() => valueComparator(rootContext.modelValue.value, props.value, rootContext.by));
873
- const disabled = (0, vue.computed)(() => rootContext.disabled.value || props.disabled);
874
- async function handleSelect(ev) {
875
- emits("select", ev);
876
- if (ev?.defaultPrevented) return;
877
- if (!disabled.value && ev) {
878
- rootContext.onValueChange(props.value);
879
- rootContext.changeHighlight(currentElement.value);
880
- }
881
- }
882
- function handleSelectCustomEvent(ev) {
883
- require_PopperContent.handleAndDispatchCustomEvent(LISTBOX_SELECT, handleSelect, {
884
- originalEvent: ev,
885
- value: props.value
886
- });
887
- }
888
- provideListboxItemContext({ isSelected });
889
- return (_ctx, _cache) => {
890
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(CollectionItem), { value: _ctx.value }, {
891
- default: (0, vue.withCtx)(() => [(0, vue.withMemo)([isHighlighted.value, isSelected.value], () => (0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)({ id: (0, vue.unref)(id) }, _ctx.$attrs, {
892
- ref: (0, vue.unref)(forwardRef),
893
- role: "option",
894
- tabindex: (0, vue.unref)(rootContext).focusable.value ? isHighlighted.value ? "0" : "-1" : -1,
895
- "aria-selected": isSelected.value,
896
- as: _ctx.as,
897
- "as-child": _ctx.asChild,
898
- disabled: disabled.value ? "" : void 0,
899
- "data-disabled": disabled.value ? "" : void 0,
900
- "data-highlighted": isHighlighted.value ? "" : void 0,
901
- "data-state": isSelected.value ? "checked" : "unchecked",
902
- onClick: handleSelectCustomEvent,
903
- onKeydown: (0, vue.withKeys)((0, vue.withModifiers)(handleSelectCustomEvent, ["prevent"]), ["space"]),
904
- onPointermove: _cache[0] || (_cache[0] = () => {
905
- if ((0, vue.unref)(rootContext).highlightedElement.value === (0, vue.unref)(currentElement)) return;
906
- if ((0, vue.unref)(rootContext).highlightOnHover.value && !(0, vue.unref)(rootContext).focusable.value) (0, vue.unref)(rootContext).changeHighlight((0, vue.unref)(currentElement), false);
907
- })
908
- }), {
909
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
910
- _: 3
911
- }, 16, [
912
- "id",
913
- "tabindex",
914
- "aria-selected",
915
- "as",
916
- "as-child",
917
- "disabled",
918
- "data-disabled",
919
- "data-highlighted",
920
- "data-state",
921
- "onKeydown"
922
- ]), _cache, 1)]),
923
- _: 3
924
- }, 8, ["value"]);
925
- };
926
- }
927
- });
928
- //#endregion
929
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Listbox/ListboxItemIndicator.js
930
- var ListboxItemIndicator_default = /* @__PURE__ */ (0, vue.defineComponent)({
931
- __name: "ListboxItemIndicator",
932
- props: {
933
- asChild: {
934
- type: Boolean,
935
- required: false
936
- },
937
- as: {
938
- type: null,
939
- required: false,
940
- default: "span"
941
- }
942
- },
943
- setup(__props) {
944
- const props = __props;
945
- require_useForwardExpose.useForwardExpose();
946
- const itemContext = injectListboxItemContext();
947
- return (_ctx, _cache) => {
948
- return (0, vue.unref)(itemContext).isSelected.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)({
949
- key: 0,
950
- "aria-hidden": "true"
951
- }, props), {
952
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
953
- _: 3
954
- }, 16)) : (0, vue.createCommentVNode)("v-if", true);
955
- };
956
- }
957
- });
958
- //#endregion
959
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxRoot.js
960
- var [injectComboboxRootContext, provideComboboxRootContext] = require_VisuallyHidden.createContext("ComboboxRoot");
961
- var ComboboxRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
962
- __name: "ComboboxRoot",
963
- props: {
964
- open: {
965
- type: Boolean,
966
- required: false,
967
- default: void 0
968
- },
969
- defaultOpen: {
970
- type: Boolean,
971
- required: false
972
- },
973
- resetSearchTermOnBlur: {
974
- type: Boolean,
975
- required: false,
976
- default: true
977
- },
978
- resetSearchTermOnSelect: {
979
- type: Boolean,
980
- required: false,
981
- default: true
982
- },
983
- openOnFocus: {
984
- type: Boolean,
985
- required: false,
986
- default: false
987
- },
988
- openOnClick: {
989
- type: Boolean,
990
- required: false,
991
- default: false
992
- },
993
- ignoreFilter: {
994
- type: Boolean,
995
- required: false
996
- },
997
- resetModelValueOnClear: {
998
- type: Boolean,
999
- required: false,
1000
- default: false
1001
- },
1002
- modelValue: {
1003
- type: null,
1004
- required: false
1005
- },
1006
- defaultValue: {
1007
- type: null,
1008
- required: false
1009
- },
1010
- multiple: {
1011
- type: Boolean,
1012
- required: false
1013
- },
1014
- dir: {
1015
- type: String,
1016
- required: false
1017
- },
1018
- disabled: {
1019
- type: Boolean,
1020
- required: false
1021
- },
1022
- highlightOnHover: {
1023
- type: Boolean,
1024
- required: false,
1025
- default: true
1026
- },
1027
- by: {
1028
- type: [String, Function],
1029
- required: false
1030
- },
1031
- asChild: {
1032
- type: Boolean,
1033
- required: false
1034
- },
1035
- as: {
1036
- type: null,
1037
- required: false
1038
- },
1039
- name: {
1040
- type: String,
1041
- required: false
1042
- },
1043
- required: {
1044
- type: Boolean,
1045
- required: false
1046
- }
1047
- },
1048
- emits: [
1049
- "update:modelValue",
1050
- "highlight",
1051
- "update:open"
1052
- ],
1053
- setup(__props, { expose: __expose, emit: __emit }) {
1054
- const props = __props;
1055
- const emits = __emit;
1056
- const { primitiveElement, currentElement: parentElement } = require_VisuallyHidden.usePrimitiveElement();
1057
- const { multiple, disabled, ignoreFilter, resetSearchTermOnSelect, openOnFocus, openOnClick, dir: propDir, resetModelValueOnClear, highlightOnHover } = (0, vue.toRefs)(props);
1058
- const dir = require_VisuallyHidden.useDirection(propDir);
1059
- const modelValue = require_dist.useVModel(props, "modelValue", emits, {
1060
- defaultValue: props.defaultValue ?? (multiple.value ? [] : void 0),
1061
- passive: props.modelValue === void 0,
1062
- deep: true
1063
- });
1064
- const open = require_dist.useVModel(props, "open", emits, {
1065
- defaultValue: props.defaultOpen,
1066
- passive: props.open === void 0
1067
- });
1068
- async function onOpenChange(val) {
1069
- open.value = val;
1070
- filterSearch.value = "";
1071
- if (val) {
1072
- await (0, vue.nextTick)();
1073
- primitiveElement.value?.highlightSelected();
1074
- isUserInputted.value = true;
1075
- inputElement.value?.focus();
1076
- } else {
1077
- isUserInputted.value = false;
1078
- setTimeout(() => {
1079
- if (!val && props.resetSearchTermOnBlur) resetSearchTerm.trigger();
1080
- }, 1);
1081
- }
1082
- }
1083
- const resetSearchTerm = require_dist.createEventHook();
1084
- const isUserInputted = (0, vue.ref)(false);
1085
- const isVirtual = (0, vue.ref)(false);
1086
- const inputElement = (0, vue.ref)();
1087
- const triggerElement = (0, vue.ref)();
1088
- const highlightedElement = (0, vue.computed)(() => primitiveElement.value?.highlightedElement ?? void 0);
1089
- const allItems = (0, vue.ref)(/* @__PURE__ */ new Map());
1090
- const allGroups = (0, vue.ref)(/* @__PURE__ */ new Map());
1091
- const { contains } = useFilter({ sensitivity: "base" });
1092
- const filterSearch = (0, vue.ref)("");
1093
- const filterState = (0, vue.computed)((oldValue) => {
1094
- if (!filterSearch.value || props.ignoreFilter || isVirtual.value) return {
1095
- count: allItems.value.size,
1096
- items: oldValue?.items ?? /* @__PURE__ */ new Map(),
1097
- groups: oldValue?.groups ?? new Set(allGroups.value.keys())
1098
- };
1099
- let itemCount = 0;
1100
- const filteredItems = /* @__PURE__ */ new Map();
1101
- const filteredGroups = /* @__PURE__ */ new Set();
1102
- for (const [id, value] of allItems.value) {
1103
- const score = contains(value, filterSearch.value);
1104
- filteredItems.set(id, score ? 1 : 0);
1105
- if (score) itemCount++;
1106
- }
1107
- for (const [groupId, group] of allGroups.value) for (const itemId of group) if (filteredItems.get(itemId) > 0) {
1108
- filteredGroups.add(groupId);
1109
- break;
1110
- }
1111
- return {
1112
- count: itemCount,
1113
- items: filteredItems,
1114
- groups: filteredGroups
1115
- };
1116
- });
1117
- const inst = (0, vue.getCurrentInstance)();
1118
- (0, vue.onMounted)(() => {
1119
- if (inst?.exposed) {
1120
- inst.exposed.highlightItem = primitiveElement.value?.highlightItem;
1121
- inst.exposed.highlightFirstItem = primitiveElement.value?.highlightFirstItem;
1122
- inst.exposed.highlightSelected = primitiveElement.value?.highlightSelected;
1123
- }
1124
- });
1125
- __expose({
1126
- filtered: filterState,
1127
- highlightedElement,
1128
- highlightItem: primitiveElement.value?.highlightItem,
1129
- highlightFirstItem: primitiveElement.value?.highlightFirstItem,
1130
- highlightSelected: primitiveElement.value?.highlightSelected
1131
- });
1132
- provideComboboxRootContext({
1133
- modelValue,
1134
- multiple,
1135
- disabled,
1136
- open,
1137
- onOpenChange,
1138
- contentId: "",
1139
- isUserInputted,
1140
- isVirtual,
1141
- inputElement,
1142
- highlightedElement,
1143
- onInputElementChange: (val) => inputElement.value = val,
1144
- triggerElement,
1145
- onTriggerElementChange: (val) => triggerElement.value = val,
1146
- parentElement,
1147
- resetSearchTermOnSelect,
1148
- onResetSearchTerm: resetSearchTerm.on,
1149
- allItems,
1150
- allGroups,
1151
- filterSearch,
1152
- filterState,
1153
- ignoreFilter,
1154
- openOnFocus,
1155
- openOnClick,
1156
- resetModelValueOnClear
1157
- });
1158
- return (_ctx, _cache) => {
1159
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_PopperContent.PopperRoot_default), null, {
1160
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ListboxRoot_default), (0, vue.mergeProps)({
1161
- ref_key: "primitiveElement",
1162
- ref: primitiveElement
1163
- }, _ctx.$attrs, {
1164
- modelValue: (0, vue.unref)(modelValue),
1165
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => (0, vue.isRef)(modelValue) ? modelValue.value = $event : null),
1166
- style: { pointerEvents: (0, vue.unref)(open) ? "auto" : void 0 },
1167
- as: _ctx.as,
1168
- "as-child": _ctx.asChild,
1169
- dir: (0, vue.unref)(dir),
1170
- multiple: (0, vue.unref)(multiple),
1171
- name: _ctx.name,
1172
- required: _ctx.required,
1173
- disabled: (0, vue.unref)(disabled),
1174
- "highlight-on-hover": (0, vue.unref)(highlightOnHover),
1175
- by: props.by,
1176
- onHighlight: _cache[1] || (_cache[1] = ($event) => emits("highlight", $event))
1177
- }), {
1178
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {
1179
- open: (0, vue.unref)(open),
1180
- modelValue: (0, vue.unref)(modelValue)
1181
- })]),
1182
- _: 3
1183
- }, 16, [
1184
- "modelValue",
1185
- "style",
1186
- "as",
1187
- "as-child",
1188
- "dir",
1189
- "multiple",
1190
- "name",
1191
- "required",
1192
- "disabled",
1193
- "highlight-on-hover",
1194
- "by"
1195
- ])]),
1196
- _: 3
1197
- });
1198
- };
1199
- }
1200
- });
1201
- //#endregion
1202
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxAnchor.js
1203
- var ComboboxAnchor_default = /* @__PURE__ */ (0, vue.defineComponent)({
1204
- __name: "ComboboxAnchor",
1205
- props: {
1206
- reference: {
1207
- type: null,
1208
- required: false
1209
- },
1210
- asChild: {
1211
- type: Boolean,
1212
- required: false
1213
- },
1214
- as: {
1215
- type: null,
1216
- required: false
1217
- }
1218
- },
1219
- setup(__props) {
1220
- const { forwardRef } = require_useForwardExpose.useForwardExpose();
1221
- return (_ctx, _cache) => {
1222
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_PopperContent.PopperAnchor_default), {
1223
- "as-child": "",
1224
- reference: _ctx.reference
1225
- }, {
1226
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)({
1227
- ref: (0, vue.unref)(forwardRef),
1228
- "as-child": _ctx.asChild,
1229
- as: _ctx.as
1230
- }, _ctx.$attrs), {
1231
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1232
- _: 3
1233
- }, 16, ["as-child", "as"])]),
1234
- _: 3
1235
- }, 8, ["reference"]);
1236
- };
1237
- }
1238
- });
1239
- //#endregion
1240
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContentImpl.js
1241
- var [injectComboboxContentContext, provideComboboxContentContext] = require_VisuallyHidden.createContext("ComboboxContent");
1242
- var ComboboxContentImpl_default = /* @__PURE__ */ (0, vue.defineComponent)({
1243
- __name: "ComboboxContentImpl",
1244
- props: {
1245
- position: {
1246
- type: String,
1247
- required: false,
1248
- default: "inline"
1249
- },
1250
- bodyLock: {
1251
- type: Boolean,
1252
- required: false
1253
- },
1254
- hideWhenEmpty: {
1255
- type: Boolean,
1256
- required: false
1257
- },
1258
- side: {
1259
- type: null,
1260
- required: false
1261
- },
1262
- sideOffset: {
1263
- type: Number,
1264
- required: false
1265
- },
1266
- sideFlip: {
1267
- type: Boolean,
1268
- required: false
1269
- },
1270
- align: {
1271
- type: null,
1272
- required: false
1273
- },
1274
- alignOffset: {
1275
- type: Number,
1276
- required: false
1277
- },
1278
- alignFlip: {
1279
- type: Boolean,
1280
- required: false
1281
- },
1282
- avoidCollisions: {
1283
- type: Boolean,
1284
- required: false
1285
- },
1286
- collisionBoundary: {
1287
- type: null,
1288
- required: false
1289
- },
1290
- collisionPadding: {
1291
- type: [Number, Object],
1292
- required: false
1293
- },
1294
- arrowPadding: {
1295
- type: Number,
1296
- required: false
1297
- },
1298
- hideShiftedArrow: {
1299
- type: Boolean,
1300
- required: false
1301
- },
1302
- sticky: {
1303
- type: String,
1304
- required: false
1305
- },
1306
- hideWhenDetached: {
1307
- type: Boolean,
1308
- required: false
1309
- },
1310
- positionStrategy: {
1311
- type: String,
1312
- required: false
1313
- },
1314
- updatePositionStrategy: {
1315
- type: String,
1316
- required: false
1317
- },
1318
- disableUpdateOnLayoutShift: {
1319
- type: Boolean,
1320
- required: false
1321
- },
1322
- prioritizePosition: {
1323
- type: Boolean,
1324
- required: false
1325
- },
1326
- reference: {
1327
- type: null,
1328
- required: false
1329
- },
1330
- asChild: {
1331
- type: Boolean,
1332
- required: false
1333
- },
1334
- as: {
1335
- type: null,
1336
- required: false
1337
- },
1338
- disableOutsidePointerEvents: {
1339
- type: Boolean,
1340
- required: false
1341
- }
1342
- },
1343
- emits: [
1344
- "escapeKeyDown",
1345
- "pointerDownOutside",
1346
- "focusOutside",
1347
- "interactOutside"
1348
- ],
1349
- setup(__props, { emit: __emit }) {
1350
- const props = __props;
1351
- const emits = __emit;
1352
- const { position } = (0, vue.toRefs)(props);
1353
- const rootContext = injectComboboxRootContext();
1354
- const isEmpty = (0, vue.computed)(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
1355
- const { forwardRef, currentElement } = require_useForwardExpose.useForwardExpose();
1356
- require_PopperContent.useBodyScrollLock(props.bodyLock);
1357
- require_PopperContent.useFocusGuards();
1358
- require_PopperContent.useHideOthers(rootContext.parentElement);
1359
- const forwardedProps = require_PopperContent.useForwardProps((0, vue.computed)(() => {
1360
- if (props.position === "popper") return props;
1361
- else return {};
1362
- }).value);
1363
- const popperStyle = {
1364
- "boxSizing": "border-box",
1365
- "--reka-combobox-content-transform-origin": "var(--reka-popper-transform-origin)",
1366
- "--reka-combobox-content-available-width": "var(--reka-popper-available-width)",
1367
- "--reka-combobox-content-available-height": "var(--reka-popper-available-height)",
1368
- "--reka-combobox-trigger-width": "var(--reka-popper-anchor-width)",
1369
- "--reka-combobox-trigger-height": "var(--reka-popper-anchor-height)"
1370
- };
1371
- provideComboboxContentContext({ position });
1372
- const isInputWithinContent = (0, vue.ref)(false);
1373
- (0, vue.onMounted)(() => {
1374
- if (rootContext.inputElement.value) {
1375
- isInputWithinContent.value = currentElement.value.contains(rootContext.inputElement.value);
1376
- if (isInputWithinContent.value) rootContext.inputElement.value.focus();
1377
- }
1378
- });
1379
- (0, vue.onUnmounted)(() => {
1380
- const activeElement = require_useForwardExpose.getActiveElement();
1381
- if (isInputWithinContent.value && (!activeElement || activeElement === document.body)) rootContext.triggerElement.value?.focus();
1382
- });
1383
- return (_ctx, _cache) => {
1384
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ListboxContent_default), { "as-child": "" }, {
1385
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_PopperContent.FocusScope_default), {
1386
- "as-child": "",
1387
- onMountAutoFocus: _cache[5] || (_cache[5] = (0, vue.withModifiers)(() => {}, ["prevent"])),
1388
- onUnmountAutoFocus: _cache[6] || (_cache[6] = (0, vue.withModifiers)(() => {}, ["prevent"]))
1389
- }, {
1390
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_PopperContent.DismissableLayer_default), {
1391
- "as-child": "",
1392
- "disable-outside-pointer-events": _ctx.disableOutsidePointerEvents,
1393
- onDismiss: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(rootContext).onOpenChange(false)),
1394
- onFocusOutside: _cache[1] || (_cache[1] = (ev) => {
1395
- if ((0, vue.unref)(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();
1396
- emits("focusOutside", ev);
1397
- }),
1398
- onInteractOutside: _cache[2] || (_cache[2] = ($event) => emits("interactOutside", $event)),
1399
- onEscapeKeyDown: _cache[3] || (_cache[3] = ($event) => emits("escapeKeyDown", $event)),
1400
- onPointerDownOutside: _cache[4] || (_cache[4] = (ev) => {
1401
- if ((0, vue.unref)(rootContext).parentElement.value?.contains(ev.target)) ev.preventDefault();
1402
- emits("pointerDownOutside", ev);
1403
- })
1404
- }, {
1405
- default: (0, vue.withCtx)(() => [((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)((0, vue.unref)(position) === "popper" ? (0, vue.unref)(require_PopperContent.PopperContent_default) : (0, vue.unref)(require_VisuallyHidden.Primitive)), (0, vue.mergeProps)({
1406
- ..._ctx.$attrs,
1407
- ...(0, vue.unref)(forwardedProps)
1408
- }, {
1409
- id: (0, vue.unref)(rootContext).contentId,
1410
- ref: (0, vue.unref)(forwardRef),
1411
- "data-state": (0, vue.unref)(rootContext).open.value ? "open" : "closed",
1412
- "data-empty": isEmpty.value ? "" : void 0,
1413
- style: {
1414
- display: props.hideWhenEmpty && isEmpty.value ? "none" : "flex",
1415
- flexDirection: "column",
1416
- outline: "none",
1417
- ...(0, vue.unref)(position) === "popper" ? popperStyle : {}
1418
- }
1419
- }), {
1420
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1421
- _: 3
1422
- }, 16, [
1423
- "id",
1424
- "data-state",
1425
- "data-empty",
1426
- "style"
1427
- ]))]),
1428
- _: 3
1429
- }, 8, ["disable-outside-pointer-events"])]),
1430
- _: 3
1431
- })]),
1432
- _: 3
1433
- });
1434
- };
1435
- }
1436
- });
1437
- //#endregion
1438
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxContent.js
1439
- var ComboboxContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
1440
- __name: "ComboboxContent",
1441
- props: {
1442
- forceMount: {
1443
- type: Boolean,
1444
- required: false
1445
- },
1446
- position: {
1447
- type: String,
1448
- required: false
1449
- },
1450
- bodyLock: {
1451
- type: Boolean,
1452
- required: false
1453
- },
1454
- hideWhenEmpty: {
1455
- type: Boolean,
1456
- required: false
1457
- },
1458
- side: {
1459
- type: null,
1460
- required: false
1461
- },
1462
- sideOffset: {
1463
- type: Number,
1464
- required: false
1465
- },
1466
- sideFlip: {
1467
- type: Boolean,
1468
- required: false
1469
- },
1470
- align: {
1471
- type: null,
1472
- required: false
1473
- },
1474
- alignOffset: {
1475
- type: Number,
1476
- required: false
1477
- },
1478
- alignFlip: {
1479
- type: Boolean,
1480
- required: false
1481
- },
1482
- avoidCollisions: {
1483
- type: Boolean,
1484
- required: false
1485
- },
1486
- collisionBoundary: {
1487
- type: null,
1488
- required: false
1489
- },
1490
- collisionPadding: {
1491
- type: [Number, Object],
1492
- required: false
1493
- },
1494
- arrowPadding: {
1495
- type: Number,
1496
- required: false
1497
- },
1498
- hideShiftedArrow: {
1499
- type: Boolean,
1500
- required: false
1501
- },
1502
- sticky: {
1503
- type: String,
1504
- required: false
1505
- },
1506
- hideWhenDetached: {
1507
- type: Boolean,
1508
- required: false
1509
- },
1510
- positionStrategy: {
1511
- type: String,
1512
- required: false
1513
- },
1514
- updatePositionStrategy: {
1515
- type: String,
1516
- required: false
1517
- },
1518
- disableUpdateOnLayoutShift: {
1519
- type: Boolean,
1520
- required: false
1521
- },
1522
- prioritizePosition: {
1523
- type: Boolean,
1524
- required: false
1525
- },
1526
- reference: {
1527
- type: null,
1528
- required: false
1529
- },
1530
- asChild: {
1531
- type: Boolean,
1532
- required: false
1533
- },
1534
- as: {
1535
- type: null,
1536
- required: false
1537
- },
1538
- disableOutsidePointerEvents: {
1539
- type: Boolean,
1540
- required: false
1541
- }
1542
- },
1543
- emits: [
1544
- "escapeKeyDown",
1545
- "pointerDownOutside",
1546
- "focusOutside",
1547
- "interactOutside"
1548
- ],
1549
- setup(__props, { emit: __emit }) {
1550
- const forwarded = require_PopperContent.useForwardPropsEmits(__props, __emit);
1551
- const { forwardRef } = require_useForwardExpose.useForwardExpose();
1552
- const rootContext = injectComboboxRootContext();
1553
- rootContext.contentId ||= require_PopperContent.useId(void 0, "reka-combobox-content");
1554
- return (_ctx, _cache) => {
1555
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_PopperContent.Presence_default), { present: _ctx.forceMount || (0, vue.unref)(rootContext).open.value }, {
1556
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)(ComboboxContentImpl_default, (0, vue.mergeProps)({
1557
- ...(0, vue.unref)(forwarded),
1558
- ..._ctx.$attrs
1559
- }, { ref: (0, vue.unref)(forwardRef) }), {
1560
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1561
- _: 3
1562
- }, 16)]),
1563
- _: 3
1564
- }, 8, ["present"]);
1565
- };
1566
- }
1567
- });
1568
- //#endregion
1569
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxEmpty.js
1570
- var ComboboxEmpty_default = /* @__PURE__ */ (0, vue.defineComponent)({
1571
- __name: "ComboboxEmpty",
1572
- props: {
1573
- asChild: {
1574
- type: Boolean,
1575
- required: false
1576
- },
1577
- as: {
1578
- type: null,
1579
- required: false
1580
- }
1581
- },
1582
- setup(__props) {
1583
- const props = __props;
1584
- const rootContext = injectComboboxRootContext();
1585
- const isRender = (0, vue.computed)(() => rootContext.ignoreFilter.value ? rootContext.allItems.value.size === 0 : rootContext.filterState.value.count === 0);
1586
- return (_ctx, _cache) => {
1587
- return isRender.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.normalizeProps)((0, vue.mergeProps)({ key: 0 }, props)), {
1588
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [_cache[0] || (_cache[0] = (0, vue.createTextVNode)("No options"))])]),
1589
- _: 3
1590
- }, 16)) : (0, vue.createCommentVNode)("v-if", true);
1591
- };
1592
- }
1593
- });
1594
- //#endregion
1595
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js
1596
- var [injectComboboxGroupContext, provideComboboxGroupContext] = require_VisuallyHidden.createContext("ComboboxGroup");
1597
- //#endregion
1598
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxInput.js
1599
- var ComboboxInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
1600
- __name: "ComboboxInput",
1601
- props: {
1602
- displayValue: {
1603
- type: Function,
1604
- required: false
1605
- },
1606
- modelValue: {
1607
- type: String,
1608
- required: false
1609
- },
1610
- autoFocus: {
1611
- type: Boolean,
1612
- required: false
1613
- },
1614
- disabled: {
1615
- type: Boolean,
1616
- required: false
1617
- },
1618
- asChild: {
1619
- type: Boolean,
1620
- required: false
1621
- },
1622
- as: {
1623
- type: null,
1624
- required: false,
1625
- default: "input"
1626
- }
1627
- },
1628
- emits: ["update:modelValue"],
1629
- setup(__props, { emit: __emit }) {
1630
- const props = __props;
1631
- const emits = __emit;
1632
- const rootContext = injectComboboxRootContext();
1633
- const listboxContext = injectListboxRootContext();
1634
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
1635
- const modelValue = require_dist.useVModel(props, "modelValue", emits, { passive: props.modelValue === void 0 });
1636
- (0, vue.onMounted)(() => {
1637
- if (currentElement.value) rootContext.onInputElementChange(currentElement.value);
1638
- });
1639
- function handleKeyDown(ev) {
1640
- if (!rootContext.open.value) rootContext.onOpenChange(true);
1641
- }
1642
- function handleInput(event) {
1643
- const target = event.target;
1644
- if (!rootContext.open.value) {
1645
- rootContext.onOpenChange(true);
1646
- (0, vue.nextTick)(() => {
1647
- if (target.value) {
1648
- rootContext.filterSearch.value = target.value;
1649
- listboxContext.highlightFirstItem();
1650
- }
1651
- });
1652
- } else rootContext.filterSearch.value = target.value;
1653
- }
1654
- function handleFocus() {
1655
- if (rootContext.openOnFocus.value && !rootContext.open.value) rootContext.onOpenChange(true);
1656
- }
1657
- function handleBlur(ev) {
1658
- if (!rootContext.open.value) return;
1659
- const nextFocus = ev.relatedTarget;
1660
- if (!nextFocus) return;
1661
- const isInsideRoot = rootContext.parentElement.value?.contains(nextFocus);
1662
- const isInsideContent = document.getElementById(rootContext.contentId)?.contains(nextFocus);
1663
- if (!isInsideRoot && !isInsideContent) rootContext.onOpenChange(false);
1664
- }
1665
- function handleClick() {
1666
- if (rootContext.openOnClick.value && !rootContext.open.value) rootContext.onOpenChange(true);
1667
- }
1668
- function resetSearchTerm() {
1669
- const rootModelValue = rootContext.modelValue.value;
1670
- if (props.displayValue) modelValue.value = props.displayValue(rootModelValue);
1671
- else if (!rootContext.multiple.value && rootModelValue && !Array.isArray(rootModelValue)) if (typeof rootModelValue !== "object") modelValue.value = rootModelValue.toString();
1672
- else modelValue.value = "";
1673
- else modelValue.value = "";
1674
- (0, vue.nextTick)(() => {
1675
- modelValue.value = modelValue.value;
1676
- });
1677
- }
1678
- rootContext.onResetSearchTerm(() => {
1679
- resetSearchTerm();
1680
- });
1681
- (0, vue.watch)(rootContext.modelValue, async () => {
1682
- if (!rootContext.isUserInputted.value && rootContext.resetSearchTermOnSelect.value) resetSearchTerm();
1683
- }, {
1684
- immediate: true,
1685
- deep: true
1686
- });
1687
- (0, vue.watch)(rootContext.filterState, (_newValue, oldValue) => {
1688
- if (!rootContext.isVirtual.value && oldValue.count === 0) listboxContext.highlightFirstItem();
1689
- });
1690
- return (_ctx, _cache) => {
1691
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ListboxFilter_default), {
1692
- ref_key: "primitiveElement",
1693
- ref: primitiveElement,
1694
- modelValue: (0, vue.unref)(modelValue),
1695
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => (0, vue.isRef)(modelValue) ? modelValue.value = $event : null),
1696
- as: _ctx.as,
1697
- "as-child": _ctx.asChild,
1698
- "auto-focus": _ctx.autoFocus,
1699
- disabled: _ctx.disabled,
1700
- "aria-expanded": (0, vue.unref)(rootContext).open.value,
1701
- "aria-controls": (0, vue.unref)(rootContext).contentId,
1702
- "aria-autocomplete": "list",
1703
- role: "combobox",
1704
- autocomplete: "off",
1705
- onClick: handleClick,
1706
- onInput: handleInput,
1707
- onKeydown: (0, vue.withKeys)((0, vue.withModifiers)(handleKeyDown, ["prevent"]), ["down", "up"]),
1708
- onFocus: handleFocus,
1709
- onBlur: handleBlur
1710
- }, {
1711
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1712
- _: 3
1713
- }, 8, [
1714
- "modelValue",
1715
- "as",
1716
- "as-child",
1717
- "auto-focus",
1718
- "disabled",
1719
- "aria-expanded",
1720
- "aria-controls",
1721
- "onKeydown"
1722
- ]);
1723
- };
1724
- }
1725
- });
1726
- //#endregion
1727
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItem.js
1728
- var ComboboxItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
1729
- __name: "ComboboxItem",
1730
- props: {
1731
- textValue: {
1732
- type: String,
1733
- required: false
1734
- },
1735
- value: {
1736
- type: null,
1737
- required: true
1738
- },
1739
- disabled: {
1740
- type: Boolean,
1741
- required: false
1742
- },
1743
- asChild: {
1744
- type: Boolean,
1745
- required: false
1746
- },
1747
- as: {
1748
- type: null,
1749
- required: false
1750
- }
1751
- },
1752
- emits: ["select"],
1753
- setup(__props, { emit: __emit }) {
1754
- const props = __props;
1755
- const emits = __emit;
1756
- const id = require_PopperContent.useId(void 0, "reka-combobox-item");
1757
- const rootContext = injectComboboxRootContext();
1758
- const groupContext = injectComboboxGroupContext(null);
1759
- const { primitiveElement, currentElement } = require_VisuallyHidden.usePrimitiveElement();
1760
- if (props.value === "") throw new Error("A <ComboboxItem /> must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");
1761
- const isRender = (0, vue.computed)(() => {
1762
- if (rootContext.isVirtual.value || rootContext.ignoreFilter.value || !rootContext.filterSearch.value) return true;
1763
- else {
1764
- const filteredCurrentItem = rootContext.filterState.value.items.get(id);
1765
- if (filteredCurrentItem === void 0) return true;
1766
- return filteredCurrentItem > 0;
1767
- }
1768
- });
1769
- (0, vue.onMounted)(() => {
1770
- rootContext.allItems.value.set(id, props.textValue || currentElement.value.textContent || currentElement.value.innerText);
1771
- const groupId = groupContext?.id;
1772
- if (groupId) if (!rootContext.allGroups.value.has(groupId)) rootContext.allGroups.value.set(groupId, new Set([id]));
1773
- else rootContext.allGroups.value.get(groupId)?.add(id);
1774
- });
1775
- (0, vue.onUnmounted)(() => {
1776
- rootContext.allItems.value.delete(id);
1777
- });
1778
- return (_ctx, _cache) => {
1779
- return isRender.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ListboxItem_default), (0, vue.mergeProps)({ key: 0 }, props, {
1780
- id: (0, vue.unref)(id),
1781
- ref_key: "primitiveElement",
1782
- ref: primitiveElement,
1783
- disabled: (0, vue.unref)(rootContext).disabled.value || _ctx.disabled,
1784
- onSelect: _cache[0] || (_cache[0] = (event) => {
1785
- emits("select", event);
1786
- if (event.defaultPrevented) return;
1787
- if (!(0, vue.unref)(rootContext).multiple.value && !_ctx.disabled && !(0, vue.unref)(rootContext).disabled.value) {
1788
- event.preventDefault();
1789
- (0, vue.unref)(rootContext).onOpenChange(false);
1790
- (0, vue.unref)(rootContext).modelValue.value = props.value;
1791
- }
1792
- })
1793
- }), {
1794
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(_ctx.value), 1)])]),
1795
- _: 3
1796
- }, 16, ["id", "disabled"])) : (0, vue.createCommentVNode)("v-if", true);
1797
- };
1798
- }
1799
- });
1800
- //#endregion
1801
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxItemIndicator.js
1802
- var ComboboxItemIndicator_default = /* @__PURE__ */ (0, vue.defineComponent)({
1803
- __name: "ComboboxItemIndicator",
1804
- props: {
1805
- asChild: {
1806
- type: Boolean,
1807
- required: false
1808
- },
1809
- as: {
1810
- type: null,
1811
- required: false,
1812
- default: "span"
1813
- }
1814
- },
1815
- setup(__props) {
1816
- const props = __props;
1817
- return (_ctx, _cache) => {
1818
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ListboxItemIndicator_default), (0, vue.normalizeProps)((0, vue.guardReactiveProps)(props)), {
1819
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1820
- _: 3
1821
- }, 16);
1822
- };
1823
- }
1824
- });
1825
- //#endregion
1826
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxPortal.js
1827
- var ComboboxPortal_default = /* @__PURE__ */ (0, vue.defineComponent)({
1828
- __name: "ComboboxPortal",
1829
- props: {
1830
- to: {
1831
- type: null,
1832
- required: false
1833
- },
1834
- disabled: {
1835
- type: Boolean,
1836
- required: false
1837
- },
1838
- defer: {
1839
- type: Boolean,
1840
- required: false
1841
- },
1842
- forceMount: {
1843
- type: Boolean,
1844
- required: false
1845
- }
1846
- },
1847
- setup(__props) {
1848
- const props = __props;
1849
- return (_ctx, _cache) => {
1850
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_PopperContent.Teleport_default), (0, vue.normalizeProps)((0, vue.guardReactiveProps)(props)), {
1851
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1852
- _: 3
1853
- }, 16);
1854
- };
1855
- }
1856
- });
1857
- //#endregion
1858
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxTrigger.js
1859
- var ComboboxTrigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
1860
- __name: "ComboboxTrigger",
1861
- props: {
1862
- disabled: {
1863
- type: Boolean,
1864
- required: false
1865
- },
1866
- asChild: {
1867
- type: Boolean,
1868
- required: false
1869
- },
1870
- as: {
1871
- type: null,
1872
- required: false,
1873
- default: "button"
1874
- }
1875
- },
1876
- setup(__props) {
1877
- const props = __props;
1878
- const { forwardRef, currentElement } = require_useForwardExpose.useForwardExpose();
1879
- const rootContext = injectComboboxRootContext();
1880
- const disabled = (0, vue.computed)(() => props.disabled || rootContext.disabled.value || false);
1881
- (0, vue.onMounted)(() => {
1882
- if (currentElement.value) rootContext.onTriggerElementChange(currentElement.value);
1883
- });
1884
- return (_ctx, _cache) => {
1885
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)(props, {
1886
- ref: (0, vue.unref)(forwardRef),
1887
- type: _ctx.as === "button" ? "button" : void 0,
1888
- tabindex: "-1",
1889
- "aria-label": "Show popup",
1890
- "aria-haspopup": "listbox",
1891
- "aria-expanded": (0, vue.unref)(rootContext).open.value,
1892
- "aria-controls": (0, vue.unref)(rootContext).contentId,
1893
- "data-state": (0, vue.unref)(rootContext).open.value ? "open" : "closed",
1894
- disabled: disabled.value,
1895
- "data-disabled": disabled.value ? "" : void 0,
1896
- "aria-disabled": disabled.value ?? void 0,
1897
- onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(rootContext).onOpenChange(!(0, vue.unref)(rootContext).open.value))
1898
- }), {
1899
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1900
- _: 3
1901
- }, 16, [
1902
- "type",
1903
- "aria-expanded",
1904
- "aria-controls",
1905
- "data-state",
1906
- "disabled",
1907
- "data-disabled",
1908
- "aria-disabled"
1909
- ]);
1910
- };
1911
- }
1912
- });
1913
- //#endregion
1914
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/shared/useNonce.js
1915
- function useNonce(nonce) {
1916
- const context = require_VisuallyHidden.injectConfigProviderContext({ nonce: (0, vue.ref)() });
1917
- return (0, vue.computed)(() => nonce?.value || context.nonce?.value);
1918
- }
1919
- //#endregion
1920
- //#region ../../node_modules/.pnpm/reka-ui@2.9.2_vue@3.5.31_typescript@5.9.3_/node_modules/reka-ui/dist/Combobox/ComboboxViewport.js
1921
- var ComboboxViewport_default = /* @__PURE__ */ (0, vue.defineComponent)({
1922
- __name: "ComboboxViewport",
1923
- props: {
1924
- nonce: {
1925
- type: String,
1926
- required: false
1927
- },
1928
- asChild: {
1929
- type: Boolean,
1930
- required: false
1931
- },
1932
- as: {
1933
- type: null,
1934
- required: false
1935
- }
1936
- },
1937
- setup(__props) {
1938
- const props = __props;
1939
- const { forwardRef } = require_useForwardExpose.useForwardExpose();
1940
- const { nonce: propNonce } = (0, vue.toRefs)(props);
1941
- const nonce = useNonce(propNonce);
1942
- const rootContext = injectComboboxRootContext();
1943
- return (_ctx, _cache) => {
1944
- return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [(0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), (0, vue.mergeProps)({
1945
- ..._ctx.$attrs,
1946
- ...props
1947
- }, {
1948
- ref: (0, vue.unref)(forwardRef),
1949
- "data-reka-combobox-viewport": "",
1950
- role: "presentation",
1951
- style: {
1952
- position: "relative",
1953
- flex: (0, vue.unref)(rootContext).isVirtual.value ? void 0 : 1,
1954
- overflow: "auto"
1955
- }
1956
- }), {
1957
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
1958
- _: 3
1959
- }, 16, ["style"]), (0, vue.createVNode)((0, vue.unref)(require_VisuallyHidden.Primitive), {
1960
- as: "style",
1961
- nonce: (0, vue.unref)(nonce)
1962
- }, {
1963
- default: (0, vue.withCtx)(() => _cache[0] || (_cache[0] = [(0, vue.createTextVNode)(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-combobox-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-combobox-viewport]::-webkit-scrollbar { display: none; } ")])),
1964
- _: 1,
1965
- __: [0]
1966
- }, 8, ["nonce"])], 64);
1967
- };
1968
- }
1969
- });
1970
- //#endregion
1971
- //#region src/components/BAutocomplete/BAutocomplete.vue?vue&type=script&setup=true&lang.ts
1972
- var _hoisted_1 = { key: 0 };
1973
- var _hoisted_2 = { class: "b-autocomplete-input-wrapper" };
1974
- //#endregion
1975
- //#region src/components/BAutocomplete/BAutocomplete.vue
1976
- var BAutocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
1977
- __name: "BAutocomplete",
1978
- props: /* @__PURE__ */ (0, vue.mergeModels)({
1979
- ariaInvalid: {
1980
- type: [Boolean, String],
1981
- default: void 0
1982
- },
1983
- autocomplete: { default: void 0 },
1984
- autofocus: {
1985
- type: Boolean,
1986
- default: false
1987
- },
1988
- by: {
1989
- type: [String, Function],
1990
- default: void 0
1991
- },
1992
- dir: { default: void 0 },
1993
- disabled: {
1994
- type: Boolean,
1995
- default: false
1996
- },
1997
- disabledField: { default: "disabled" },
1998
- filterFunction: {
1999
- type: Function,
2000
- default: void 0
2001
- },
2002
- form: { default: void 0 },
2003
- formatter: {
2004
- type: Function,
2005
- default: void 0
2006
- },
2007
- id: { default: void 0 },
2008
- lazyFormatter: {
2009
- type: Boolean,
2010
- default: false
2011
- },
2012
- multiple: {
2013
- type: Boolean,
2014
- default: false
2015
- },
2016
- name: { default: void 0 },
2017
- noClearButton: {
2018
- type: Boolean,
2019
- default: false
2020
- },
2021
- noToggle: {
2022
- type: Boolean,
2023
- default: false
2024
- },
2025
- open: { type: Boolean },
2026
- openOnFocus: {
2027
- type: Boolean,
2028
- default: false
2029
- },
2030
- options: { default: () => [] },
2031
- placeholder: { default: void 0 },
2032
- plaintext: {
2033
- type: Boolean,
2034
- default: false
2035
- },
2036
- readonly: {
2037
- type: Boolean,
2038
- default: false
2039
- },
2040
- required: {
2041
- type: Boolean,
2042
- default: false
2043
- },
2044
- resetSearchTermOnBlur: {
2045
- type: Boolean,
2046
- default: true
2047
- },
2048
- resetSearchTermOnSelect: {
2049
- type: Boolean,
2050
- default: true
2051
- },
2052
- size: { default: void 0 },
2053
- state: {
2054
- type: [Boolean, null],
2055
- default: void 0
2056
- },
2057
- tags: {
2058
- type: Boolean,
2059
- default: false
2060
- },
2061
- teleportTo: { default: void 0 },
2062
- textField: { default: "text" },
2063
- valueField: { default: "value" }
2064
- }, {
2065
- "modelValue": { default: void 0 },
2066
- "modelModifiers": {},
2067
- "open": {
2068
- type: Boolean,
2069
- default: false
2070
- },
2071
- "openModifiers": {},
2072
- "search": { default: "" },
2073
- "searchModifiers": {}
2074
- }),
2075
- emits: /* @__PURE__ */ (0, vue.mergeModels)([
2076
- "blur",
2077
- "change",
2078
- "clear",
2079
- "focus"
2080
- ], [
2081
- "update:modelValue",
2082
- "update:open",
2083
- "update:search"
2084
- ]),
2085
- setup(__props, { expose: __expose, emit: __emit }) {
2086
- const props = require_useDefaults.useDefaults(__props, "BAutocomplete");
2087
- const emit = __emit;
2088
- const _input = (0, vue.useTemplateRef)("_input");
2089
- const modelValue = (0, vue.useModel)(__props, "modelValue");
2090
- const isOpen = (0, vue.useModel)(__props, "open");
2091
- const searchTerm = (0, vue.useModel)(__props, "search");
2092
- const pendingDelete = (0, vue.ref)(false);
2093
- const computedId = require_useId.useId(() => props.id, "autocomplete");
2094
- const { normalizedOptions } = require_useFormSelect.useFormSelect(() => props.options, props);
2095
- const singleSelectedLabelCache = (0, vue.ref)(null);
2096
- const getLookupKey = (val) => {
2097
- if (props.by && typeof props.by === "string" && val !== null && typeof val === "object") {
2098
- const byVal = val?.[props.by];
2099
- return byVal === void 0 ? void 0 : `by:${String(byVal)}`;
2100
- }
2101
- if (val !== null && val !== void 0 && typeof val !== "object") return `value:${String(val)}`;
2102
- };
2103
- const cacheSingleSelectedLabel = (val, text) => {
2104
- const key = getLookupKey(val);
2105
- if (!key) return;
2106
- singleSelectedLabelCache.value = {
2107
- key,
2108
- text: String(text ?? "")
2109
- };
2110
- };
2111
- if (!props.multiple && modelValue.value !== null && modelValue.value !== void 0 && searchTerm.value !== "") cacheSingleSelectedLabel(modelValue.value, searchTerm.value);
2112
- const findOptionText = (val) => {
2113
- const match = normalizedOptions.value.find((opt) => {
2114
- if (props.by && typeof props.by === "string") return opt.value?.[props.by] === val?.[props.by];
2115
- return opt.value === val;
2116
- });
2117
- if (match) {
2118
- const resolvedText = String(match.text);
2119
- cacheSingleSelectedLabel(val, resolvedText);
2120
- return resolvedText;
2121
- }
2122
- const lookupKey = getLookupKey(val);
2123
- if (lookupKey && singleSelectedLabelCache.value?.key === lookupKey) return singleSelectedLabelCache.value.text;
2124
- return String(val);
2125
- };
2126
- const filteredOptions = (0, vue.computed)(() => {
2127
- const filterText = searchTerm.value;
2128
- if (props.filterFunction) return props.filterFunction(normalizedOptions.value, filterText);
2129
- if (!filterText) return normalizedOptions.value;
2130
- const term = filterText.toLowerCase();
2131
- return normalizedOptions.value.filter((opt) => String(opt.text).toLowerCase().includes(term));
2132
- });
2133
- const displayValueFn = (val) => {
2134
- if (val === null || val === void 0) return "";
2135
- if (props.multiple) return "";
2136
- return findOptionText(val);
2137
- };
2138
- const hasSelection = (0, vue.computed)(() => {
2139
- const currentValue = modelValue.value;
2140
- if (Array.isArray(currentValue)) return currentValue.length > 0;
2141
- return currentValue !== null && currentValue !== void 0;
2142
- });
2143
- const computedAriaInvalid = require_useAriaInvalid.useAriaInvalid(() => props.ariaInvalid, () => props.state);
2144
- const selectedOptions = (0, vue.computed)(() => {
2145
- if (!props.multiple || !modelValue.value) return [];
2146
- return (Array.isArray(modelValue.value) ? modelValue.value : [modelValue.value]).map((val) => normalizedOptions.value.find((opt) => {
2147
- if (props.by && typeof props.by === "string") return opt.value?.[props.by] === val?.[props.by];
2148
- return opt.value === val;
2149
- })).filter((opt) => !!opt);
2150
- });
2151
- const removeSelected = (option) => {
2152
- if (!Array.isArray(modelValue.value)) return;
2153
- modelValue.value = modelValue.value.filter((val) => {
2154
- if (props.by && typeof props.by === "string") return val?.[props.by] !== option.value?.[props.by];
2155
- return val !== option.value;
2156
- });
2157
- emit("change", modelValue.value);
2158
- };
2159
- const optionKey = (option, index) => {
2160
- const val = option.value;
2161
- if (val !== null && val !== void 0 && typeof val !== "object") return String(val);
2162
- return index;
2163
- };
2164
- const isLastSelectedOption = (_opt, index) => index === selectedOptions.value.length - 1;
2165
- const showClearButton = (0, vue.computed)(() => !props.required && !props.noClearButton && !props.disabled && !props.readonly && hasSelection.value);
2166
- const clearSelection = () => {
2167
- modelValue.value = props.multiple ? [] : void 0;
2168
- searchTerm.value = "";
2169
- singleSelectedLabelCache.value = null;
2170
- emit("clear");
2171
- emit("change", modelValue.value);
2172
- _input.value?.focus();
2173
- };
2174
- const onOptionSelect = (option) => {
2175
- cacheSingleSelectedLabel(option.value, String(option.text));
2176
- (0, vue.nextTick)(() => {
2177
- emit("change", modelValue.value);
2178
- });
2179
- _input.value?.focus();
2180
- };
2181
- const resetPendingDelete = () => {
2182
- pendingDelete.value = false;
2183
- };
2184
- const onInputKeydown = (event) => {
2185
- if (!props.multiple || !hasSelection.value) {
2186
- resetPendingDelete();
2187
- return;
2188
- }
2189
- if (event.key === "Backspace" && searchTerm.value === "") {
2190
- if (pendingDelete.value) {
2191
- const lastOpt = selectedOptions.value[selectedOptions.value.length - 1];
2192
- if (lastOpt) removeSelected(lastOpt);
2193
- pendingDelete.value = false;
2194
- } else pendingDelete.value = true;
2195
- return;
2196
- }
2197
- if (pendingDelete.value) resetPendingDelete();
2198
- };
2199
- const comboboxInputProps = (0, vue.computed)(() => ({
2200
- "id": computedId.value,
2201
- "disabled": props.disabled,
2202
- "form": props.form || void 0,
2203
- "placeholder": props.placeholder,
2204
- "readonly": props.readonly || props.plaintext,
2205
- "required": props.required || void 0,
2206
- "autocomplete": props.autocomplete || void 0,
2207
- "plaintext": props.plaintext,
2208
- "size": props.size,
2209
- "state": props.state,
2210
- "aria-invalid": computedAriaInvalid.value,
2211
- "aria-required": props.required || void 0,
2212
- "onBlur": (event) => emit("blur", event),
2213
- "onFocus": (event) => emit("focus", event),
2214
- "onKeydown": (event) => onInputKeydown(event)
2215
- }));
2216
- __expose({
2217
- blur: () => _input.value?.blur(),
2218
- element: (0, vue.computed)(() => _input.value?.element?.value ?? null),
2219
- focus: () => _input.value?.focus()
2220
- });
2221
- return (_ctx, _cache) => {
2222
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ComboboxRoot_default), {
2223
- modelValue: modelValue.value,
2224
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => modelValue.value = $event),
2225
- open: isOpen.value,
2226
- "onUpdate:open": _cache[2] || (_cache[2] = ($event) => isOpen.value = $event),
2227
- multiple: (0, vue.unref)(props).multiple,
2228
- disabled: (0, vue.unref)(props).disabled,
2229
- name: (0, vue.unref)(props).name,
2230
- required: (0, vue.unref)(props).required,
2231
- "ignore-filter": (0, vue.unref)(props).multiple || !!(0, vue.unref)(props).filterFunction,
2232
- "reset-search-term-on-select": (0, vue.unref)(props).resetSearchTermOnSelect,
2233
- "reset-search-term-on-blur": (0, vue.unref)(props).resetSearchTermOnBlur,
2234
- by: (0, vue.unref)(props).by,
2235
- dir: (0, vue.unref)(props).dir,
2236
- "open-on-focus": (0, vue.unref)(props).openOnFocus,
2237
- class: "b-autocomplete"
2238
- }, {
2239
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ComboboxAnchor_default), { "as-child": "" }, {
2240
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)(require_BInputGroup.BInputGroup_default, { size: (0, vue.unref)(props).size }, {
2241
- append: (0, vue.withCtx)(() => [!(0, vue.unref)(props).noToggle ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ComboboxTrigger_default), {
2242
- key: 0,
2243
- "as-child": "",
2244
- disabled: (0, vue.unref)(props).disabled
2245
- }, {
2246
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "toggle", {
2247
- isOpen: isOpen.value,
2248
- disabled: (0, vue.unref)(props).disabled
2249
- }, () => [(0, vue.createVNode)(require_BButton.BButton_default, {
2250
- class: "b-autocomplete-trigger",
2251
- disabled: (0, vue.unref)(props).disabled
2252
- }, {
2253
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "toggle-icon", { isOpen: isOpen.value }, () => [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", {
2254
- xmlns: "http://www.w3.org/2000/svg",
2255
- width: "16",
2256
- height: "16",
2257
- fill: "currentColor",
2258
- viewBox: "0 0 16 16",
2259
- class: (0, vue.normalizeClass)(["b-autocomplete-chevron", { "b-autocomplete-chevron-open": isOpen.value }])
2260
- }, [..._cache[3] || (_cache[3] = [(0, vue.createElementVNode)("path", {
2261
- "fill-rule": "evenodd",
2262
- d: "M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
2263
- }, null, -1)])], 2))])]),
2264
- _: 3
2265
- }, 8, ["disabled"])])]),
2266
- _: 3
2267
- }, 8, ["disabled"])) : (0, vue.createCommentVNode)("", true)]),
2268
- default: (0, vue.withCtx)(() => [(0, vue.unref)(props).multiple && hasSelection.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
2269
- key: 0,
2270
- class: (0, vue.normalizeClass)(["b-autocomplete-selection", {
2271
- "b-autocomplete-selection-tags": (0, vue.unref)(props).tags,
2272
- "b-autocomplete-selection-pending-delete": pendingDelete.value
2273
- }])
2274
- }, [(0, vue.unref)(props).tags ? (0, vue.renderSlot)(_ctx.$slots, "tags", {
2275
- key: 0,
2276
- pendingDelete: pendingDelete.value,
2277
- selected: selectedOptions.value,
2278
- remove: removeSelected
2279
- }, () => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(selectedOptions.value, (opt, i) => {
2280
- return (0, vue.openBlock)(), (0, vue.createBlock)(require_BFormTag.BFormTag_default, {
2281
- key: optionKey(opt, i),
2282
- title: String(opt.text),
2283
- disabled: (0, vue.unref)(props).disabled,
2284
- variant: "secondary",
2285
- class: (0, vue.normalizeClass)({
2286
- "b-autocomplete-tag-muted": pendingDelete.value && !isLastSelectedOption(opt, i),
2287
- "b-autocomplete-tag-pending-delete": pendingDelete.value && isLastSelectedOption(opt, i)
2288
- }),
2289
- onRemove: ($event) => removeSelected(opt)
2290
- }, {
2291
- default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(opt.text), 1)]),
2292
- _: 2
2293
- }, 1032, [
2294
- "title",
2295
- "disabled",
2296
- "class",
2297
- "onRemove"
2298
- ]);
2299
- }), 128))]) : ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, (0, vue.renderList)(selectedOptions.value, (opt, i) => {
2300
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
2301
- key: optionKey(opt, i),
2302
- class: (0, vue.normalizeClass)({ "text-body-tertiary": pendingDelete.value && !isLastSelectedOption(opt, i) })
2303
- }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(opt.text), 1), i < selectedOptions.value.length - 1 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1, ",\xA0")) : (0, vue.createCommentVNode)("", true)], 2);
2304
- }), 128))], 2)) : (0, vue.createCommentVNode)("", true), (0, vue.createElementVNode)("div", _hoisted_2, [(0, vue.createVNode)((0, vue.unref)(ComboboxInput_default), {
2305
- modelValue: searchTerm.value,
2306
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
2307
- "as-child": "",
2308
- "display-value": displayValueFn
2309
- }, {
2310
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "input", (0, vue.mergeProps)(comboboxInputProps.value, { searchTerm: searchTerm.value }), () => [(0, vue.createVNode)(require_BFormInput.BFormInput_default, (0, vue.mergeProps)({
2311
- ref_key: "_input",
2312
- ref: _input,
2313
- "model-value": searchTerm.value
2314
- }, comboboxInputProps.value, { class: { "b-autocomplete-input-clearable": showClearButton.value } }), null, 16, ["model-value", "class"])])]),
2315
- _: 3
2316
- }, 8, ["modelValue"]), showClearButton.value ? ((0, vue.openBlock)(), (0, vue.createBlock)(require_BCloseButton.BCloseButton_default, {
2317
- key: 0,
2318
- class: "b-autocomplete-clear",
2319
- "aria-label": "Clear selected value",
2320
- onClick: (0, vue.withModifiers)(clearSelection, ["stop"])
2321
- })) : (0, vue.createCommentVNode)("", true)])]),
2322
- _: 3
2323
- }, 8, ["size"])]),
2324
- _: 3
2325
- }), (0, vue.createVNode)((0, vue.unref)(ComboboxPortal_default), {
2326
- disabled: !(0, vue.unref)(props).teleportTo,
2327
- to: (0, vue.unref)(props).teleportTo
2328
- }, {
2329
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ComboboxContent_default), {
2330
- position: "popper",
2331
- "side-offset": 4,
2332
- align: "start",
2333
- class: (0, vue.normalizeClass)([
2334
- "b-autocomplete-content",
2335
- "dropdown-menu",
2336
- "show"
2337
- ]),
2338
- "body-lock": false,
2339
- style: { width: "var(--reka-combobox-trigger-width)" }
2340
- }, {
2341
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ComboboxViewport_default), { class: "b-autocomplete-viewport" }, {
2342
- default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ComboboxEmpty_default), { class: "b-autocomplete-empty" }, {
2343
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "empty", {}, () => [_cache[4] || (_cache[4] = (0, vue.createTextVNode)(" No results found ", -1))])]),
2344
- _: 3
2345
- }), ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(filteredOptions.value, (option, index) => {
2346
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ComboboxItem_default), {
2347
- key: optionKey(option, index),
2348
- value: option.value,
2349
- disabled: option.disabled,
2350
- class: (0, vue.normalizeClass)(["b-autocomplete-item", "dropdown-item"]),
2351
- onSelect: ($event) => onOptionSelect(option)
2352
- }, {
2353
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "option", (0, vue.mergeProps)({ ref_for: true }, option), () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(option.text), 1)]), (0, vue.createVNode)((0, vue.unref)(ComboboxItemIndicator_default), { class: "b-autocomplete-item-indicator" }, {
2354
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "option-indicator", {}, () => [_cache[5] || (_cache[5] = (0, vue.createElementVNode)("svg", {
2355
- xmlns: "http://www.w3.org/2000/svg",
2356
- width: "16",
2357
- height: "16",
2358
- fill: "currentColor",
2359
- viewBox: "0 0 16 16"
2360
- }, [(0, vue.createElementVNode)("path", { d: "M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z" })], -1))])]),
2361
- _: 3
2362
- })]),
2363
- _: 2
2364
- }, 1032, [
2365
- "value",
2366
- "disabled",
2367
- "onSelect"
2368
- ]);
2369
- }), 128))]),
2370
- _: 3
2371
- })]),
2372
- _: 3
2373
- })]),
2374
- _: 3
2375
- }, 8, ["disabled", "to"])]),
2376
- _: 3
2377
- }, 8, [
2378
- "modelValue",
2379
- "open",
2380
- "multiple",
2381
- "disabled",
2382
- "name",
2383
- "required",
2384
- "ignore-filter",
2385
- "reset-search-term-on-select",
2386
- "reset-search-term-on-blur",
2387
- "by",
2388
- "dir",
2389
- "open-on-focus"
2390
- ]);
2391
- };
2392
- }
2393
- });
2394
- //#endregion
2395
- Object.defineProperty(exports, "BAutocomplete_default", {
2396
- enumerable: true,
2397
- get: function() {
2398
- return BAutocomplete_default;
2399
- }
2400
- });
2401
-
2402
- //# sourceMappingURL=BAutocomplete-DLDFAV5_.js.map