@adyen/bento-vue3 1.84.2 → 1.86.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 (471) hide show
  1. package/dist/@types/components.d.ts +6 -0
  2. package/dist/@types/index.d.ts +480 -268
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +5 -0
  6. package/dist/ai-tag.js.map +1 -0
  7. package/dist/alert.js +1 -1
  8. package/dist/anchor-scroller.js +5 -0
  9. package/dist/anchor-scroller.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -1
  11. package/dist/assets/action-bar.css +1 -1
  12. package/dist/assets/ai-tag.css +1 -0
  13. package/dist/assets/anchor-scroller.css +1 -0
  14. package/dist/assets/base-modal.css +1 -1
  15. package/dist/assets/button-actions.css +1 -1
  16. package/dist/assets/card.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-picker.css +1 -1
  20. package/dist/assets/date-range-picker.css +1 -1
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/draggable-handle.css +1 -0
  23. package/dist/assets/dropdown-default-textbox.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/error-message.css +1 -0
  26. package/dist/assets/file-uploader.css +1 -1
  27. package/dist/assets/filter-bar.css +1 -1
  28. package/dist/assets/fixed-scroller.css +1 -1
  29. package/dist/assets/form-layout-title.css +1 -1
  30. package/dist/assets/inspector.css +1 -1
  31. package/dist/assets/layout-row.css +1 -1
  32. package/dist/assets/modal-fullscreen.css +1 -1
  33. package/dist/assets/radio-group.css +1 -1
  34. package/dist/assets/secondary-nav.css +1 -1
  35. package/dist/assets/sidepanel.css +1 -1
  36. package/dist/assets/use-cached-selected-values.css +1 -1
  37. package/dist/avatar.js +1 -1
  38. package/dist/button.js +3 -3
  39. package/dist/card.js +1 -1
  40. package/dist/checkbox.js +6 -6
  41. package/dist/chip.js +1 -1
  42. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  43. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  44. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  45. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  46. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  47. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  48. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  49. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  50. package/dist/chunks/{accordion-item.yRlQj4VF.js → accordion-item.QQ06tTjt.js} +8 -8
  51. package/dist/chunks/{accordion-item.yRlQj4VF.js.map → accordion-item.QQ06tTjt.js.map} +1 -1
  52. package/dist/chunks/action-bar.g7rM3wUc.js +209 -0
  53. package/dist/chunks/action-bar.g7rM3wUc.js.map +1 -0
  54. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  55. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  56. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  57. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  58. package/dist/chunks/ai-button.XfeGC4-Q.js +57 -0
  59. package/dist/chunks/ai-button.XfeGC4-Q.js.map +1 -0
  60. package/dist/chunks/ai-tag.UlRkq54l.js +139 -0
  61. package/dist/chunks/ai-tag.UlRkq54l.js.map +1 -0
  62. package/dist/chunks/{alert.BYcw-u3b.js → alert.CDWtu0Hu.js} +11 -11
  63. package/dist/chunks/{alert.BYcw-u3b.js.map → alert.CDWtu0Hu.js.map} +1 -1
  64. package/dist/chunks/anchor-scroller.CKIQu3NK.js +215 -0
  65. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +1 -0
  66. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  67. package/dist/chunks/arrow-left.C6UiqO-c.js +29 -0
  68. package/dist/chunks/arrow-left.C6UiqO-c.js.map +1 -0
  69. package/dist/chunks/arrow-right.fSdLV_ho.js +29 -0
  70. package/dist/chunks/arrow-right.fSdLV_ho.js.map +1 -0
  71. package/dist/chunks/artificial-intelligence-ai-filled.AhDHffzT.js +44 -0
  72. package/dist/chunks/artificial-intelligence-ai-filled.AhDHffzT.js.map +1 -0
  73. package/dist/chunks/{avatar.CNGMjwg3.js → avatar.Caeba-pw.js} +3 -3
  74. package/dist/chunks/{avatar.CNGMjwg3.js.map → avatar.Caeba-pw.js.map} +1 -1
  75. package/dist/chunks/{base-button.CUd03aA2.js → base-button.CRYAiuzn.js} +9 -9
  76. package/dist/chunks/{base-button.CUd03aA2.js.map → base-button.CRYAiuzn.js.map} +1 -1
  77. package/dist/chunks/{base-modal.D3GyeCFT.js → base-modal.D5HrjwL1.js} +23 -23
  78. package/dist/chunks/{base-modal.D3GyeCFT.js.map → base-modal.D5HrjwL1.js.map} +1 -1
  79. package/dist/chunks/{bin.DuHlEQBO.js → bin.Cude0fiB.js} +4 -4
  80. package/dist/chunks/{bin.DuHlEQBO.js.map → bin.Cude0fiB.js.map} +1 -1
  81. package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js → button-actions-with-menu.DBqA3Ws5.js} +7 -7
  82. package/dist/chunks/{button-actions-with-menu.B8xFgt-p.js.map → button-actions-with-menu.DBqA3Ws5.js.map} +1 -1
  83. package/dist/chunks/{button-actions.Crj4QFAd.js → button-actions.BH-J7dux.js} +17 -17
  84. package/dist/chunks/{button-actions.Crj4QFAd.js.map → button-actions.BH-J7dux.js.map} +1 -1
  85. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  86. package/dist/chunks/{button.CSp48LJt.js → button.C6t9_lzm.js} +12 -12
  87. package/dist/chunks/{button.CSp48LJt.js.map → button.C6t9_lzm.js.map} +1 -1
  88. package/dist/chunks/{calendar.DKPx_cQU.js → calendar.DzeJoNc2.js} +113 -107
  89. package/dist/chunks/{calendar.DKPx_cQU.js.map → calendar.DzeJoNc2.js.map} +1 -1
  90. package/dist/chunks/{card.C_03IYJe.js → card.DcXXdxWL.js} +7 -7
  91. package/dist/chunks/{card.C_03IYJe.js.map → card.DcXXdxWL.js.map} +1 -1
  92. package/dist/chunks/{checkbox-group.DZrhxIHp.js → checkbox-group.Bh_aqKoA.js} +11 -11
  93. package/dist/chunks/{checkbox-group.DZrhxIHp.js.map → checkbox-group.Bh_aqKoA.js.map} +1 -1
  94. package/dist/chunks/{checkbox-input.Dk9iFQQe.js → checkbox-input.BZjSoCQW.js} +4 -4
  95. package/dist/chunks/{checkbox-input.Dk9iFQQe.js.map → checkbox-input.BZjSoCQW.js.map} +1 -1
  96. package/dist/chunks/{checkbox.BWgWtiLJ.js → checkbox.7kpOXm-b.js} +22 -22
  97. package/dist/chunks/{checkbox.BWgWtiLJ.js.map → checkbox.7kpOXm-b.js.map} +1 -1
  98. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js → checkmark-circle-fill.DugX5fbG.js} +4 -4
  99. package/dist/chunks/{checkmark-circle-fill._6-d40ru.js.map → checkmark-circle-fill.DugX5fbG.js.map} +1 -1
  100. package/dist/chunks/{checkmark-small.x-gmK2Dt.js → checkmark-small.CRuZauJc.js} +5 -5
  101. package/dist/chunks/{checkmark-small.x-gmK2Dt.js.map → checkmark-small.CRuZauJc.js.map} +1 -1
  102. package/dist/chunks/{chevron-down.DCQ6ZLaq.js → chevron-down.XeE-LBV_.js} +5 -5
  103. package/dist/chunks/{chevron-down.DCQ6ZLaq.js.map → chevron-down.XeE-LBV_.js.map} +1 -1
  104. package/dist/chunks/{chevron-left.Cfn1uGLH.js → chevron-left.C_vPW7OR.js} +8 -8
  105. package/dist/chunks/{chevron-left.Cfn1uGLH.js.map → chevron-left.C_vPW7OR.js.map} +1 -1
  106. package/dist/chunks/{chevron-up.kfuLRpZb.js → chevron-up.Cmgl2a3x.js} +5 -5
  107. package/dist/chunks/{chevron-up.kfuLRpZb.js.map → chevron-up.Cmgl2a3x.js.map} +1 -1
  108. package/dist/chunks/{chip.eefnwpgE.js → chip.CyW1V8RU.js} +7 -7
  109. package/dist/chunks/{chip.eefnwpgE.js.map → chip.CyW1V8RU.js.map} +1 -1
  110. package/dist/chunks/{click-outside.C1Ud8AA2.js → click-outside.CDz_x8mN.js} +2 -2
  111. package/dist/chunks/{click-outside.C1Ud8AA2.js.map → click-outside.CDz_x8mN.js.map} +1 -1
  112. package/dist/chunks/{code-snippet.BX3Yeo0x.js → code-snippet.UIqVTv4U.js} +15 -15
  113. package/dist/chunks/{code-snippet.BX3Yeo0x.js.map → code-snippet.UIqVTv4U.js.map} +1 -1
  114. package/dist/chunks/{codemirror.Cy7iSLbd.js → codemirror.D2BAltnu.js} +3688 -3673
  115. package/dist/chunks/codemirror.D2BAltnu.js.map +1 -0
  116. package/dist/chunks/constructNow.B8T1ljs6.js +8 -0
  117. package/dist/chunks/{constructNow.DuaJst0D.js.map → constructNow.B8T1ljs6.js.map} +1 -1
  118. package/dist/chunks/{controls-group.DpFv8c4E.js → controls-group.Dip3WAKV.js} +10 -10
  119. package/dist/chunks/{controls-group.DpFv8c4E.js.map → controls-group.Dip3WAKV.js.map} +1 -1
  120. package/dist/chunks/{copy.xg9ElNxd.js → copy.ByyQlckP.js} +6 -6
  121. package/dist/chunks/{copy.xg9ElNxd.js.map → copy.ByyQlckP.js.map} +1 -1
  122. package/dist/chunks/{country.vSfTQW51.js → country.DJts6kCv.js} +5 -5
  123. package/dist/chunks/{country.vSfTQW51.js.map → country.DJts6kCv.js.map} +1 -1
  124. package/dist/chunks/{country.types.DaVCMxk-.js → country.types.BBQbWkTY.js} +3 -3
  125. package/dist/chunks/{country.types.DaVCMxk-.js.map → country.types.BBQbWkTY.js.map} +1 -1
  126. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js → cross-circle-fill-small.H1wH-vcZ.js} +5 -5
  127. package/dist/chunks/{cross-circle-fill-small.Dv5-PxwF.js.map → cross-circle-fill-small.H1wH-vcZ.js.map} +1 -1
  128. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js → cross-circle-fill.BWCKKn0E.js} +4 -4
  129. package/dist/chunks/{cross-circle-fill.CYLL7jfC.js.map → cross-circle-fill.BWCKKn0E.js.map} +1 -1
  130. package/dist/chunks/{cross-small.n1UO5wNB.js → cross-small.Bjq2Gqvh.js} +5 -5
  131. package/dist/chunks/{cross-small.n1UO5wNB.js.map → cross-small.Bjq2Gqvh.js.map} +1 -1
  132. package/dist/chunks/{cross.B92GxFTY.js → cross.CCHdi6v3.js} +5 -5
  133. package/dist/chunks/{cross.B92GxFTY.js.map → cross.CCHdi6v3.js.map} +1 -1
  134. package/dist/chunks/{currency.DijmAkAB.js → currency.Afx8MVdY.js} +4 -4
  135. package/dist/chunks/{currency.DijmAkAB.js.map → currency.Afx8MVdY.js.map} +1 -1
  136. package/dist/chunks/{dashboard-section.D_k3_Z2T.js → dashboard-section.CIHtXoeW.js} +8 -8
  137. package/dist/chunks/{dashboard-section.D_k3_Z2T.js.map → dashboard-section.CIHtXoeW.js.map} +1 -1
  138. package/dist/chunks/{dashed-underline.B0z2ZZh7.js → dashed-underline.CLwPU-C2.js} +14 -14
  139. package/dist/chunks/{dashed-underline.B0z2ZZh7.js.map → dashed-underline.CLwPU-C2.js.map} +1 -1
  140. package/dist/chunks/{data-grid-template.DdIrvOXp.js → data-grid-template.BTpSfkQt.js} +8 -8
  141. package/dist/chunks/{data-grid-template.DdIrvOXp.js.map → data-grid-template.BTpSfkQt.js.map} +1 -1
  142. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  143. package/dist/chunks/{data-grid.CqtJp9rE.js → data-grid.CXDdiHz8.js} +1239 -1236
  144. package/dist/chunks/data-grid.CXDdiHz8.js.map +1 -0
  145. package/dist/chunks/date-input.XSJuuCHe.js +20 -0
  146. package/dist/chunks/date-input.XSJuuCHe.js.map +1 -0
  147. package/dist/chunks/{date-picker.DGIwFh6T.js → date-picker.CvTSZhMI.js} +82 -81
  148. package/dist/chunks/date-picker.CvTSZhMI.js.map +1 -0
  149. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  150. package/dist/chunks/date-range-picker.BPCt7cwj.js +1100 -0
  151. package/dist/chunks/date-range-picker.BPCt7cwj.js.map +1 -0
  152. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  153. package/dist/chunks/{date.CL55prL0.js → date.BtB1HyWQ.js} +4 -4
  154. package/dist/chunks/{date.CL55prL0.js.map → date.BtB1HyWQ.js.map} +1 -1
  155. package/dist/chunks/de.DvtL0g75.js.map +1 -1
  156. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  157. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  158. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  159. package/dist/chunks/dialog-page.B3ptLXXP.js +162 -0
  160. package/dist/chunks/dialog-page.B3ptLXXP.js.map +1 -0
  161. package/dist/chunks/{differenceInMonths.DcFDl4eH.js → differenceInMonths.BR4Z2HIa.js} +2 -2
  162. package/dist/chunks/{differenceInMonths.DcFDl4eH.js.map → differenceInMonths.BR4Z2HIa.js.map} +1 -1
  163. package/dist/chunks/{directive.Cbdox5VL.js → directive.rXUeDb8p.js} +2 -2
  164. package/dist/chunks/{directive.Cbdox5VL.js.map → directive.rXUeDb8p.js.map} +1 -1
  165. package/dist/chunks/{divider.Dho4_hQ7.js → divider.BIY84UH7.js} +5 -5
  166. package/dist/chunks/{divider.Dho4_hQ7.js.map → divider.BIY84UH7.js.map} +1 -1
  167. package/dist/chunks/{dot.ob6N-5Um.js → dot.DBmwmOUN.js} +5 -5
  168. package/dist/chunks/{dot.ob6N-5Um.js.map → dot.DBmwmOUN.js.map} +1 -1
  169. package/dist/chunks/{dropdown-default-textbox.DFtFMu5G.js → dropdown-default-textbox.B-_dTUVX.js} +107 -117
  170. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +1 -0
  171. package/dist/chunks/{dropdown-tag.Bf6TiNZw.js → dropdown-tag.DDNOZhEG.js} +20 -20
  172. package/dist/chunks/{dropdown-tag.Bf6TiNZw.js.map → dropdown-tag.DDNOZhEG.js.map} +1 -1
  173. package/dist/chunks/dropdown.CU6nfq3V.js +836 -0
  174. package/dist/chunks/dropdown.CU6nfq3V.js.map +1 -0
  175. package/dist/chunks/{empty-state.D_ifpeU-.js → empty-state.DqdPzU-g.js} +15 -15
  176. package/dist/chunks/{empty-state.D_ifpeU-.js.map → empty-state.DqdPzU-g.js.map} +1 -1
  177. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -1
  178. package/dist/chunks/en-US.BZii9jNW.js.map +1 -1
  179. package/dist/chunks/{field-label.D7vU2Icm.js → error-message.BYA2_fPV.js} +67 -67
  180. package/dist/chunks/error-message.BYA2_fPV.js.map +1 -0
  181. package/dist/chunks/es.bz0mzkMq.js.map +1 -1
  182. package/dist/chunks/es6.C1DXQV6f.js.map +1 -1
  183. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  184. package/dist/chunks/{expand.C9IAqYYL.js → expand.BrywY9jl.js} +4 -4
  185. package/dist/chunks/{expand.C9IAqYYL.js.map → expand.BrywY9jl.js.map} +1 -1
  186. package/dist/chunks/{file-uploader.BmBKLzIx.js → file-uploader.Q2ufNRTY.js} +80 -80
  187. package/dist/chunks/file-uploader.Q2ufNRTY.js.map +1 -0
  188. package/dist/chunks/filter-bar.BVj9YVv-.js +4125 -0
  189. package/dist/chunks/filter-bar.BVj9YVv-.js.map +1 -0
  190. package/dist/chunks/fixed-scroller.i1tmEmst.js +161 -0
  191. package/dist/chunks/{fixed-scroller.e56yJp7Q.js.map → fixed-scroller.i1tmEmst.js.map} +1 -1
  192. package/dist/chunks/{focus-trap.BaHvK7aT.js → focus-trap.CBvh2H_m.js} +294 -277
  193. package/dist/chunks/focus-trap.CBvh2H_m.js.map +1 -0
  194. package/dist/chunks/{footer-actions.BqNvwVk7.js → footer-actions.DLzMOB7j.js} +8 -8
  195. package/dist/chunks/{footer-actions.BqNvwVk7.js.map → footer-actions.DLzMOB7j.js.map} +1 -1
  196. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  197. package/dist/chunks/{form-layout-title.CPsEzRzS.js → form-layout-title.DYmTc6M7.js} +7 -7
  198. package/dist/chunks/{form-layout-title.CPsEzRzS.js.map → form-layout-title.DYmTc6M7.js.map} +1 -1
  199. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  200. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -1
  201. package/dist/chunks/fr.Dj7wEToe.js.map +1 -1
  202. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  203. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  204. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js} +3 -3
  205. package/dist/chunks/{getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map → getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map} +1 -1
  206. package/dist/chunks/grab.DJYL4kBq.js +26 -0
  207. package/dist/chunks/grab.DJYL4kBq.js.map +1 -0
  208. package/dist/chunks/{grid-layout.DDaRNz4-.js → grid-layout.Vhv1_zFs.js} +21 -21
  209. package/dist/chunks/{grid-layout.DDaRNz4-.js.map → grid-layout.Vhv1_zFs.js.map} +1 -1
  210. package/dist/chunks/{header-meta.PysBmkSU.js → header-meta.Bw8ZGwJW.js} +15 -15
  211. package/dist/chunks/{header-meta.PysBmkSU.js.map → header-meta.Bw8ZGwJW.js.map} +1 -1
  212. package/dist/chunks/{header-with-views.XzJCg2Ln.js → header-with-views.CJDoE4hw.js} +617 -635
  213. package/dist/chunks/header-with-views.CJDoE4hw.js.map +1 -0
  214. package/dist/chunks/{header.yMTOq8MR.js → header.BeH8KH_l.js} +14 -14
  215. package/dist/chunks/{header.yMTOq8MR.js.map → header.BeH8KH_l.js.map} +1 -1
  216. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  217. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  218. package/dist/chunks/{index.pdBj0KQU.js → index.B875RXHM.js} +3 -3
  219. package/dist/chunks/{index.pdBj0KQU.js.map → index.B875RXHM.js.map} +1 -1
  220. package/dist/chunks/index.CbxHJr39.js +691 -0
  221. package/dist/chunks/{index.E60QniEu.js.map → index.CbxHJr39.js.map} +1 -1
  222. package/dist/chunks/{info-icon.BQDGteil.js → info-icon.BLtyJvY4.js} +9 -9
  223. package/dist/chunks/{info-icon.BQDGteil.js.map → info-icon.BLtyJvY4.js.map} +1 -1
  224. package/dist/chunks/{info.BKwey1HA.js → info.6Z6NxUst.js} +4 -4
  225. package/dist/chunks/{info.BKwey1HA.js.map → info.6Z6NxUst.js.map} +1 -1
  226. package/dist/chunks/{input-field-password.Drp3Gn3x.js → input-field-password.KeKQPIZv.js} +21 -21
  227. package/dist/chunks/{input-field-password.Drp3Gn3x.js.map → input-field-password.KeKQPIZv.js.map} +1 -1
  228. package/dist/chunks/{input-field-phone-number.CcCrGAZb.js → input-field-phone-number.eaU9p15A.js} +10 -10
  229. package/dist/chunks/{input-field-phone-number.CcCrGAZb.js.map → input-field-phone-number.eaU9p15A.js.map} +1 -1
  230. package/dist/chunks/{input-field.CBegTqdQ.js → input-field.CNdqlGw6.js} +9 -9
  231. package/dist/chunks/{input-field.CBegTqdQ.js.map → input-field.CNdqlGw6.js.map} +1 -1
  232. package/dist/chunks/{inspector.Dox76eqN.js → inspector.Bnf0g7QE.js} +16 -16
  233. package/dist/chunks/{inspector.Dox76eqN.js.map → inspector.Bnf0g7QE.js.map} +1 -1
  234. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  235. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  236. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  237. package/dist/chunks/isSameWeek.DjeUtLwI.js +14 -0
  238. package/dist/chunks/{isSameWeek.CUD7czUN.js.map → isSameWeek.DjeUtLwI.js.map} +1 -1
  239. package/dist/chunks/{it.Oaj6BklL.js → it.DIafuXtH.js} +2 -2
  240. package/dist/chunks/{it.Oaj6BklL.js.map → it.DIafuXtH.js.map} +1 -1
  241. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -1
  242. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  243. package/dist/chunks/ko.Ceaof6EP.js.map +1 -1
  244. package/dist/chunks/{layout-row.CX8kV_w0.js → layout-row.Bz-mRqAq.js} +5 -5
  245. package/dist/chunks/layout-row.Bz-mRqAq.js.map +1 -0
  246. package/dist/chunks/{link.BLCQlEZU.js → link.DTCn2EtX.js} +11 -11
  247. package/dist/chunks/{link.BLCQlEZU.js.map → link.DTCn2EtX.js.map} +1 -1
  248. package/dist/chunks/{listbox-option-tag.BQZJF00q.js → listbox-option-tag.C3ihNg6_.js} +9 -9
  249. package/dist/chunks/{listbox-option-tag.BQZJF00q.js.map → listbox-option-tag.C3ihNg6_.js.map} +1 -1
  250. package/dist/chunks/{loading-indicator.Db794TT5.js → loading-indicator.BPol9I84.js} +3 -3
  251. package/dist/chunks/{loading-indicator.Db794TT5.js.map → loading-indicator.BPol9I84.js.map} +1 -1
  252. package/dist/chunks/match.CMBZxEs9.js.map +1 -1
  253. package/dist/chunks/{minus-small.DYIyF5XW.js → minus-small.CnYLTuSv.js} +5 -5
  254. package/dist/chunks/{minus-small.DYIyF5XW.js.map → minus-small.CnYLTuSv.js.map} +1 -1
  255. package/dist/chunks/{modal-fullscreen.BXjxVsAq.js → modal-fullscreen.B3AGUJgl.js} +100 -96
  256. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +1 -0
  257. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js} +13 -13
  258. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map → modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map} +1 -1
  259. package/dist/chunks/nl.B6vCf2B9.js.map +1 -1
  260. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  261. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  262. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  263. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  264. package/dist/chunks/on-click-outside.BW4rkhzG.js +91 -0
  265. package/dist/chunks/on-click-outside.BW4rkhzG.js.map +1 -0
  266. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  267. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  268. package/dist/chunks/{pagination.BofKoYTB.js → pagination.lu9nx8j8.js} +10 -10
  269. package/dist/chunks/{pagination.BofKoYTB.js.map → pagination.lu9nx8j8.js.map} +1 -1
  270. package/dist/chunks/{payment-method.BGEBaa4w.js → payment-method.AeKHZlAO.js} +3 -3
  271. package/dist/chunks/{payment-method.BGEBaa4w.js.map → payment-method.AeKHZlAO.js.map} +1 -1
  272. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  273. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  274. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  275. package/dist/chunks/popover.types.C_Z2JeVK.js +6 -0
  276. package/dist/chunks/{popover.types.DgfeurkF.js.map → popover.types.C_Z2JeVK.js.map} +1 -1
  277. package/dist/chunks/popper-container.BefZxTzP.js +1432 -0
  278. package/dist/chunks/popper-container.BefZxTzP.js.map +1 -0
  279. package/dist/chunks/{promo-banner.BIRH5sVX.js → promo-banner.BLie64oS.js} +11 -11
  280. package/dist/chunks/{promo-banner.BIRH5sVX.js.map → promo-banner.BLie64oS.js.map} +1 -1
  281. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -1
  282. package/dist/chunks/{radio-group.BqsQRDjs.js → radio-group.C6nQRQDB.js} +20 -20
  283. package/dist/chunks/{radio-group.BqsQRDjs.js.map → radio-group.C6nQRQDB.js.map} +1 -1
  284. package/dist/chunks/{radio-input.CBNE-AkM.js → radio-input.DektLjN4.js} +3 -3
  285. package/dist/chunks/{radio-input.CBNE-AkM.js.map → radio-input.DektLjN4.js.map} +1 -1
  286. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  287. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  288. package/dist/chunks/{refresh.BB4ouvz_.js → refresh.C31KClfx.js} +5 -5
  289. package/dist/chunks/{refresh.BB4ouvz_.js.map → refresh.C31KClfx.js.map} +1 -1
  290. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  291. package/dist/chunks/{rich-text-editor.Bafyvjc3.js → rich-text-editor.C39NKgl0.js} +11 -15
  292. package/dist/chunks/rich-text-editor.C39NKgl0.js.map +1 -0
  293. package/dist/chunks/{search-bar.DrkPxPDP.js → search-bar.CbTrg2Sk.js} +10 -10
  294. package/dist/chunks/{search-bar.DrkPxPDP.js.map → search-bar.CbTrg2Sk.js.map} +1 -1
  295. package/dist/chunks/{search.PczW-onY.js → search.ClLmZAgC.js} +4 -4
  296. package/dist/chunks/{search.PczW-onY.js.map → search.ClLmZAgC.js.map} +1 -1
  297. package/dist/chunks/{secondary-nav.C0_VfFa9.js → secondary-nav.DTOZQewf.js} +25 -25
  298. package/dist/chunks/secondary-nav.DTOZQewf.js.map +1 -0
  299. package/dist/chunks/{segmented-control.CFlHfj3N.js → segmented-control.D9rHBysM.js} +9 -9
  300. package/dist/chunks/{segmented-control.CFlHfj3N.js.map → segmented-control.D9rHBysM.js.map} +1 -1
  301. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  302. package/dist/chunks/{selection-card-group.DNPlEqEq.js → selection-card-group.KEsG0D5V.js} +9 -9
  303. package/dist/chunks/{selection-card-group.DNPlEqEq.js.map → selection-card-group.KEsG0D5V.js.map} +1 -1
  304. package/dist/chunks/{show.CT4Augxb.js → show.BreRPkgL.js} +6 -6
  305. package/dist/chunks/{show.CT4Augxb.js.map → show.BreRPkgL.js.map} +1 -1
  306. package/dist/chunks/{sidepanel.RJihFo_R.js → sidepanel.DJCagqzl.js} +73 -69
  307. package/dist/chunks/sidepanel.DJCagqzl.js.map +1 -0
  308. package/dist/chunks/{startOfWeek.Dxw2MhGp.js → startOfWeek.D8Yh4c0G.js} +3 -3
  309. package/dist/chunks/{startOfWeek.Dxw2MhGp.js.map → startOfWeek.D8Yh4c0G.js.map} +1 -1
  310. package/dist/chunks/{status.types.ChOI6XGU.js → status.types.D3v3k-Q8.js} +6 -6
  311. package/dist/chunks/{status.types.ChOI6XGU.js.map → status.types.D3v3k-Q8.js.map} +1 -1
  312. package/dist/chunks/{step.DpgnDx29.js → step.BV7MsrRF.js} +9 -9
  313. package/dist/chunks/{step.DpgnDx29.js.map → step.BV7MsrRF.js.map} +1 -1
  314. package/dist/chunks/{structured-list-item.B-hdp7rW.js → structured-list-item.f1tmHSEN.js} +9 -9
  315. package/dist/chunks/{structured-list-item.B-hdp7rW.js.map → structured-list-item.f1tmHSEN.js.map} +1 -1
  316. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  317. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  318. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  319. package/dist/chunks/{summary-grid.types.BVLRSBAF.js → summary-grid.types.COcV-sOB.js} +13 -13
  320. package/dist/chunks/{summary-grid.types.BVLRSBAF.js.map → summary-grid.types.COcV-sOB.js.map} +1 -1
  321. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -1
  322. package/dist/chunks/{tab.JPngc9oS.js → tab.DRrnMCxe.js} +6 -6
  323. package/dist/chunks/{tab.JPngc9oS.js.map → tab.DRrnMCxe.js.map} +1 -1
  324. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  325. package/dist/chunks/{tag.DFJIvNLs.js → tag.Dr7MKe9q.js} +9 -9
  326. package/dist/chunks/{tag.DFJIvNLs.js.map → tag.Dr7MKe9q.js.map} +1 -1
  327. package/dist/chunks/{textarea.CEDkF8BB.js → textarea.CtgbUCjH.js} +7 -7
  328. package/dist/chunks/{textarea.CEDkF8BB.js.map → textarea.CtgbUCjH.js.map} +1 -1
  329. package/dist/chunks/{timeline-item.BxGaSGLf.js → timeline-item.D9nmCe6u.js} +41 -41
  330. package/dist/chunks/{timeline-item.BxGaSGLf.js.map → timeline-item.D9nmCe6u.js.map} +1 -1
  331. package/dist/chunks/{toast.DiIIrX7h.js → toast.Bbtq3Icj.js} +22 -22
  332. package/dist/chunks/{toast.DiIIrX7h.js.map → toast.Bbtq3Icj.js.map} +1 -1
  333. package/dist/chunks/{toggle.vl0ZwLhN.js → toggle.BupEBkIG.js} +6 -6
  334. package/dist/chunks/{toggle.vl0ZwLhN.js.map → toggle.BupEBkIG.js.map} +1 -1
  335. package/dist/chunks/{tooltip.Nn3o8_vO.js → tooltip.DYpJZ-99.js} +60 -60
  336. package/dist/chunks/tooltip.DYpJZ-99.js.map +1 -0
  337. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  338. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js} +32 -32
  339. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map → tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map} +1 -1
  340. package/dist/chunks/{typography.6Oo5TOMP.js → typography.B3J6_tYk.js} +5 -5
  341. package/dist/chunks/{typography.6Oo5TOMP.js.map → typography.B3J6_tYk.js.map} +1 -1
  342. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  343. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  344. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js → use-bento-toast-controller.BFctDoMg.js} +2 -2
  345. package/dist/chunks/{use-bento-toast-controller.V61h7XzI.js.map → use-bento-toast-controller.BFctDoMg.js.map} +1 -1
  346. package/dist/chunks/{use-cached-selected-values.BZIa5TRx.js → use-cached-selected-values.BiSuG1eX.js} +28 -28
  347. package/dist/chunks/use-cached-selected-values.BiSuG1eX.js.map +1 -0
  348. package/dist/chunks/{use-country-items.JZCYNoW7.js → use-country-items.BTzByPdQ.js} +9 -9
  349. package/dist/chunks/{use-country-items.JZCYNoW7.js.map → use-country-items.BTzByPdQ.js.map} +1 -1
  350. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  351. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
  352. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  353. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  354. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
  355. package/dist/chunks/utils.BzUwtTXc.js +21 -0
  356. package/dist/chunks/utils.BzUwtTXc.js.map +1 -0
  357. package/dist/chunks/{warning-filled.BMGD0G-_.js → warning-filled.BzyK_mMj.js} +5 -5
  358. package/dist/chunks/{warning-filled.BMGD0G-_.js.map → warning-filled.BzyK_mMj.js.map} +1 -1
  359. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  360. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  361. package/dist/chunks/{zh-CN.BzH0fIXr.js → zh-CN.Bw_6j9Cd.js} +2 -2
  362. package/dist/chunks/{zh-CN.BzH0fIXr.js.map → zh-CN.Bw_6j9Cd.js.map} +1 -1
  363. package/dist/click-outside.js +1 -1
  364. package/dist/code-snippet.js +1 -1
  365. package/dist/country.js +2 -2
  366. package/dist/currency.js +1 -1
  367. package/dist/dashboard-template.js +1 -1
  368. package/dist/dashed-underline.js +1 -1
  369. package/dist/data-grid-template.js +1 -1
  370. package/dist/data-grid.js +6 -5
  371. package/dist/date-picker.js +2 -2
  372. package/dist/date-range-picker.js +2 -2
  373. package/dist/date.js +1 -1
  374. package/dist/divider.js +1 -1
  375. package/dist/draggable-handle.js +179 -0
  376. package/dist/draggable-handle.js.map +1 -0
  377. package/dist/dropdown.js +4 -4
  378. package/dist/empty-state.js +1 -1
  379. package/dist/file-uploader.js +1 -1
  380. package/dist/filter-bar.js +1 -1
  381. package/dist/focus-trap.js +1 -1
  382. package/dist/form-layout.js +1 -1
  383. package/dist/header-with-views.js +1 -1
  384. package/dist/header.js +1 -1
  385. package/dist/image.js +1 -1
  386. package/dist/index.js +341 -335
  387. package/dist/index.js.map +1 -1
  388. package/dist/info-icon.js +1 -1
  389. package/dist/input-field-password.js +1 -1
  390. package/dist/input-field-phone-number.js +1 -1
  391. package/dist/input-field.js +1 -1
  392. package/dist/inspector.js +1 -1
  393. package/dist/internal.js +42 -42
  394. package/dist/layout.js +1 -1
  395. package/dist/link.js +1 -1
  396. package/dist/loading-indicator.js +1 -1
  397. package/dist/menu.js +1 -1
  398. package/dist/modal-fullscreen.js +1 -1
  399. package/dist/modal.js +2 -2
  400. package/dist/pagination.js +1 -1
  401. package/dist/payment-method.js +1 -1
  402. package/dist/popover.js +2 -2
  403. package/dist/popper-container.js +1 -1
  404. package/dist/promo-banner.js +1 -1
  405. package/dist/radio-group.js +2 -2
  406. package/dist/rich-text-editor.js +1 -1
  407. package/dist/search-bar.js +2 -2
  408. package/dist/secondary-nav.js +1 -1
  409. package/dist/segmented-control.js +1 -1
  410. package/dist/selection-card.js +1 -1
  411. package/dist/sidepanel.js +1 -1
  412. package/dist/status.js +1 -1
  413. package/dist/stepper.js +1 -1
  414. package/dist/structured-list.js +1 -1
  415. package/dist/styles/bento-dark.css +5 -0
  416. package/dist/styles/bento-light.css +5 -0
  417. package/dist/styles/bento.css +5 -0
  418. package/dist/styles/legacy.css +5 -0
  419. package/dist/styles/styleguide.css +5 -0
  420. package/dist/summary-grid.js +1 -1
  421. package/dist/tabs.js +1 -1
  422. package/dist/tag.js +1 -1
  423. package/dist/textarea.js +1 -1
  424. package/dist/timeline.js +1 -1
  425. package/dist/toast.js +1 -1
  426. package/dist/toggle.js +1 -1
  427. package/dist/tutorial.js +1 -1
  428. package/dist/typography.js +1 -1
  429. package/dist/use-form-v4.js +756 -7787
  430. package/dist/use-form-v4.js.map +1 -1
  431. package/dist/web-types.json +1 -1
  432. package/package.json +6 -7
  433. package/dist/assets/field-label.css +0 -1
  434. package/dist/chunks/action-bar.CriH15oF.js +0 -204
  435. package/dist/chunks/action-bar.CriH15oF.js.map +0 -1
  436. package/dist/chunks/ai-button.CDRPf7IY.js +0 -93
  437. package/dist/chunks/ai-button.CDRPf7IY.js.map +0 -1
  438. package/dist/chunks/codemirror.Cy7iSLbd.js.map +0 -1
  439. package/dist/chunks/constructNow.DuaJst0D.js +0 -8
  440. package/dist/chunks/data-grid.CqtJp9rE.js.map +0 -1
  441. package/dist/chunks/date-input.BbZqj10S.js +0 -15
  442. package/dist/chunks/date-input.BbZqj10S.js.map +0 -1
  443. package/dist/chunks/date-picker.DGIwFh6T.js.map +0 -1
  444. package/dist/chunks/date-range-picker.Df9XyFMH.js +0 -1896
  445. package/dist/chunks/date-range-picker.Df9XyFMH.js.map +0 -1
  446. package/dist/chunks/dialog-page.DaZSlMzY.js +0 -181
  447. package/dist/chunks/dialog-page.DaZSlMzY.js.map +0 -1
  448. package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +0 -1
  449. package/dist/chunks/dropdown.Dct8gr_q.js +0 -837
  450. package/dist/chunks/dropdown.Dct8gr_q.js.map +0 -1
  451. package/dist/chunks/field-label.D7vU2Icm.js.map +0 -1
  452. package/dist/chunks/file-uploader.BmBKLzIx.js.map +0 -1
  453. package/dist/chunks/filter-bar.DHRuvmx9.js +0 -3363
  454. package/dist/chunks/filter-bar.DHRuvmx9.js.map +0 -1
  455. package/dist/chunks/fixed-scroller.e56yJp7Q.js +0 -155
  456. package/dist/chunks/focus-trap.BaHvK7aT.js.map +0 -1
  457. package/dist/chunks/header-with-views.XzJCg2Ln.js.map +0 -1
  458. package/dist/chunks/index.E60QniEu.js +0 -592
  459. package/dist/chunks/isSameWeek.CUD7czUN.js +0 -14
  460. package/dist/chunks/layout-row.CX8kV_w0.js.map +0 -1
  461. package/dist/chunks/modal-fullscreen.BXjxVsAq.js.map +0 -1
  462. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  463. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  464. package/dist/chunks/popover.types.DgfeurkF.js +0 -6
  465. package/dist/chunks/popper-container.I9gzp1NR.js +0 -1413
  466. package/dist/chunks/popper-container.I9gzp1NR.js.map +0 -1
  467. package/dist/chunks/rich-text-editor.Bafyvjc3.js.map +0 -1
  468. package/dist/chunks/secondary-nav.C0_VfFa9.js.map +0 -1
  469. package/dist/chunks/sidepanel.RJihFo_R.js.map +0 -1
  470. package/dist/chunks/tooltip.Nn3o8_vO.js.map +0 -1
  471. package/dist/chunks/use-cached-selected-values.BZIa5TRx.js.map +0 -1
@@ -0,0 +1,836 @@
1
+ import { ref as E, watch as be, computed as u, defineComponent as q, useSlots as $e, toRefs as Re, openBlock as S, createBlock as z, resolveDynamicComponent as ke, mergeProps as _, withCtx as W, createElementVNode as oe, withKeys as nt, unref as n, createVNode as Q, toHandlers as ee, createSlots as ce, renderList as pe, renderSlot as X, normalizeProps as fe, guardReactiveProps as me, createElementBlock as F, toDisplayString as ge, createCommentVNode as V, normalizeClass as ve, withDirectives as te, vShow as xe, nextTick as A, useAttrs as st, toRef as I, inject as it, createTextVNode as rt } from "vue";
2
+ import { d as re, B as dt } from "./typography.B3J6_tYk.js";
3
+ import { a as de, b as j, c as ut, B as G, D as ct } from "./dropdown-default-textbox.B-_dTUVX.js";
4
+ /* empty css */
5
+ import { _ as J } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import { s as ue } from "./events.BQOQSSb7.js";
7
+ import { g as H } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as pt } from "./aria-label.CaUURpnB.js";
9
+ import { u as he } from "./index.B875RXHM.js";
10
+ import { u as ft } from "./form-field.D_2g7vaP.js";
11
+ import { B as m, b as ye, a as Ie, u as mt, c as vt, d as yt } from "./use-cached-selected-values.BiSuG1eX.js";
12
+ import { u as bt } from "./use-form-layout-loading.CWbjZiwP.js";
13
+ import { d as gt } from "./debounce.DUTu11PS.js";
14
+ import { B as ht } from "./directive.rXUeDb8p.js";
15
+ import { B as M, a as Lt } from "./keyboard-navigation.DWmhelVv.js";
16
+ import { u as St } from "./use-has-slot.B7eQSabc.js";
17
+ import { F as wt, E as Et } from "./error-message.BYA2_fPV.js";
18
+ import { P as Ae } from "./popper-container.BefZxTzP.js";
19
+ import { h as Ct } from "./button-actions.BH-J7dux.js";
20
+ import "../assets/dropdown.css";
21
+ const Le = {
22
+ "en-US": {
23
+ apply: "Apply",
24
+ cancel: "Cancel",
25
+ noOptionsMatchThisSearch: "No options match this search"
26
+ },
27
+ "ja-JP": {
28
+ apply: "適用",
29
+ cancel: "キャンセル",
30
+ noOptionsMatchThisSearch: "この検索条件に一致するオプションはありません"
31
+ },
32
+ "pt-BR": {
33
+ apply: "Aplicar",
34
+ cancel: "Cancelar",
35
+ noOptionsMatchThisSearch: "A busca não retornou nenhuma opção"
36
+ }
37
+ }, Ot = (a, r, i, t) => {
38
+ const s = E(a.value), { t: l } = he({ messages: Le });
39
+ be(a, () => {
40
+ s.value = a.value;
41
+ });
42
+ const e = u(
43
+ () => JSON.stringify(s.value) === JSON.stringify(a.value)
44
+ ), d = () => {
45
+ t(m.SELECT, s.value), t(m.CLOSE_DROPDOWN);
46
+ }, h = () => {
47
+ s.value = a.value, t(m.CLOSE_DROPDOWN);
48
+ }, C = () => {
49
+ i.value && r.value && (s.value = a.value);
50
+ }, c = u(() => [
51
+ {
52
+ title: l("apply"),
53
+ event: d,
54
+ disabled: e.value
55
+ },
56
+ {
57
+ title: l("cancel"),
58
+ event: h
59
+ }
60
+ ]), b = (g) => {
61
+ s.value = g, r.value || t(m.SELECT, g);
62
+ }, p = (g) => {
63
+ b(g), t(m.TAB);
64
+ }, f = (g) => {
65
+ b(g), t(m.ENTER);
66
+ }, O = (g) => {
67
+ b(g), t(m.SPACE);
68
+ }, v = () => {
69
+ h(), t(m.ESCAPE);
70
+ }, B = () => {
71
+ t(m.SHOW_MORE);
72
+ }, D = {
73
+ [m.SELECT]: b,
74
+ [m.SHOW_MORE]: B,
75
+ [m.TAB]: p,
76
+ [m.SPACE]: O,
77
+ [m.ENTER]: f
78
+ };
79
+ return {
80
+ // Values
81
+ actions: c,
82
+ internalSelectedValue: s,
83
+ // Methods
84
+ listeners: D,
85
+ onEscapeKey: v,
86
+ onOutsideDropdownClick: C
87
+ };
88
+ }, Bt = q({
89
+ i18n: { messages: Le },
90
+ name: "bento-dropdown-options-container"
91
+ }), Dt = /* @__PURE__ */ q({
92
+ ...Bt,
93
+ props: {
94
+ /**
95
+ * Defines a string value that labels an interactive element.
96
+ */
97
+ ariaLabel: { type: String, default: null },
98
+ /**
99
+ * Indicates that dropdown items are loading
100
+ */
101
+ componentLoading: { type: Boolean, default: !1 },
102
+ /**
103
+ * Empty state props used with the inner empty state component which is displayed when no search results are found.
104
+ */
105
+ emptyState: {
106
+ type: Object,
107
+ default: void 0
108
+ },
109
+ /**
110
+ * Disables dropdown functionality
111
+ */
112
+ disabled: { type: Boolean, default: !1 },
113
+ /**
114
+ * Indicates whether there are more items to load
115
+ */
116
+ hasMoreItems: { type: Boolean, default: !1 },
117
+ /**
118
+ * Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
119
+ */
120
+ id: { type: String, required: !0 },
121
+ /**
122
+ * Function that allows the options to be disabled
123
+ *
124
+ * @type {BentoDropdownIsOptionDisabled}
125
+ * @param {BentoDropdownOptionItem} option - Dropdown option object
126
+ * @param {string} option.label - Option's label text
127
+ * @param {string|number} option.value - Option's value
128
+ * @param {unknown} option.data - Option's extra data to be passed to the default slot
129
+ */
130
+ isOptionDisabled: {
131
+ type: Function,
132
+ default: void 0
133
+ },
134
+ /**
135
+ * The option elements to populate the dropdown with.
136
+ * It must be an array of {@see BentoDropdownOptionItem }
137
+ * * @property {string} value.label - Text to be displayed in the option
138
+ * * @property {string,number} value.value - Value of the option
139
+ */
140
+ items: {
141
+ type: Array,
142
+ required: !0
143
+ },
144
+ /**
145
+ * The type of `Lazy Load`.
146
+ * Type "automatic" will enable infinite scrolling
147
+ * Type "button" will enable lazy loading with "Show more" button
148
+ */
149
+ lazyLoadType: {
150
+ type: String,
151
+ default: Ie.AUTOMATIC,
152
+ validator: (a) => Object.values(Ie).includes(a)
153
+ },
154
+ /**
155
+ * Indicates if new options are lazy loading.
156
+ */
157
+ loading: { type: Boolean, default: !1 },
158
+ /**
159
+ * If enabled, the user will be able to select multiple items.
160
+ */
161
+ multiple: { type: Boolean, default: !1 },
162
+ /**
163
+ * Indicates if the dropdown is open so that
164
+ * the container can be displayed.
165
+ */
166
+ open: { type: Boolean, required: !0 },
167
+ /**
168
+ * The `input` value.
169
+ * Providing an empty string or empty array will select no options.
170
+ * Set to an empty string `''` if you don't want any of the available options to be selected for single select
171
+ */
172
+ selectedValue: {
173
+ type: Array,
174
+ default: null
175
+ },
176
+ /**
177
+ * Flag that indicates that an external search it's being made
178
+ * to filter out the items inside the the multi-select listbox
179
+ *
180
+ * If enabled, hides the "Select all" checkbox in "multiple" mode.
181
+ */
182
+ searching: ye.props.searching,
183
+ /**
184
+ * If enabled, dropdown will display non-selectable, static categories
185
+ */
186
+ staticCategories: { type: Boolean, default: !1 },
187
+ /**
188
+ * Reference to the DOM element or Vue component for positioning
189
+ * the Dropdown container.
190
+ */
191
+ targetElement: { type: Ae.props.targetElement.type, required: !0 },
192
+ /**
193
+ * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
194
+ * The itemHeight function is used to calculate the height of rendered item given it's index.
195
+ */
196
+ virtualScroll: {
197
+ type: [Boolean, Object],
198
+ default: !1
199
+ }
200
+ },
201
+ setup(a, { expose: r, emit: i }) {
202
+ const t = $e(), s = i, l = a, { selectedValue: e, multiple: d } = Re(l), h = E(null), { t: C } = he({ messages: Le }), c = u(() => l.open && !l.disabled), b = u(() => C("noOptionsMatchThisSearch")), p = u(() => ({
203
+ "b-dropdown-options-container--single": !(l != null && l.multiple)
204
+ })), f = u(() => ({
205
+ "b-dropdown-options-container__listbox--single": !(l != null && l.multiple)
206
+ })), { actions: O, internalSelectedValue: v, listeners: B, onEscapeKey: D, onOutsideDropdownClick: g } = Ot(e, d, c, s), L = u(() => l != null && l.multiple ? Ct : Ae), K = u(() => {
207
+ var T;
208
+ const N = {
209
+ "min-width": `${(T = l == null ? void 0 : l.targetElement) == null ? void 0 : T.clientWidth}px`,
210
+ "max-width": "min(500px, 95%)"
211
+ };
212
+ return l != null && l.multiple ? {
213
+ actionsLayout: "space-between",
214
+ ariaLabel: l.ariaLabel,
215
+ actions: O.value,
216
+ divider: !0,
217
+ fallbackPosition: ["top-start"],
218
+ id: H(`dropdown-options-${l.id}`),
219
+ open: l.open,
220
+ position: "bottom-start",
221
+ style: {
222
+ width: "auto",
223
+ ...N
224
+ },
225
+ targetElement: l.targetElement
226
+ } : {
227
+ fallbackPosition: ["top-start"],
228
+ offset: [0, 8],
229
+ position: "bottom-start",
230
+ style: {
231
+ display: c.value ? "block" : "none",
232
+ ...N
233
+ },
234
+ targetElement: l.targetElement
235
+ };
236
+ });
237
+ return r({
238
+ onOutsideDropdownClick: g
239
+ }), (N, T) => (S(), z(ke(L.value), _({
240
+ class: ["b-dropdown-options-container", p.value]
241
+ }, K.value), {
242
+ default: W(() => [
243
+ oe("div", {
244
+ onKeydown: T[0] || (T[0] = nt(
245
+ //@ts-ignore
246
+ (...U) => n(D) && n(D)(...U),
247
+ ["esc"]
248
+ ))
249
+ }, [
250
+ Q(n(ye), _({
251
+ id: a.id,
252
+ ref_key: "dropdownOptionsListboxRef",
253
+ ref: h,
254
+ "aria-label": a.ariaLabel,
255
+ class: ["b-dropdown-options-container__listbox", f.value],
256
+ "component-loading": a.componentLoading,
257
+ "empty-state": a.emptyState,
258
+ "is-option-disabled": a.isOptionDisabled,
259
+ items: a.items,
260
+ "selected-value": n(v),
261
+ multiple: n(d),
262
+ "static-categories": a.staticCategories,
263
+ "no-results-message": b.value,
264
+ searching: a.searching,
265
+ loading: a.loading,
266
+ "lazy-load-type": a.lazyLoadType,
267
+ "has-more-items": a.hasMoreItems,
268
+ "virtual-scroll": a.virtualScroll
269
+ }, ee(n(B))), ce({ _: 2 }, [
270
+ pe(n(t), (U, y) => ({
271
+ name: y,
272
+ fn: W((w) => [
273
+ X(N.$slots, y, fe(me(w)), void 0, !0)
274
+ ])
275
+ }))
276
+ ]), 1040, ["id", "aria-label", "class", "component-loading", "empty-state", "is-option-disabled", "items", "selected-value", "multiple", "static-categories", "no-results-message", "searching", "loading", "lazy-load-type", "has-more-items", "virtual-scroll"])
277
+ ], 32)
278
+ ]),
279
+ _: 3
280
+ }, 16, ["class"]));
281
+ }
282
+ }), Tt = /* @__PURE__ */ J(Dt, [["__scopeId", "data-v-d87d28cd"]]);
283
+ let Ne = 0;
284
+ const xt = {
285
+ beforeCreate() {
286
+ this.uuid = Ne.toString(), Ne += 1;
287
+ }
288
+ }, It = { key: 0 };
289
+ function At(a, r, i, t, s, l) {
290
+ return S(), F("svg", _({ role: "img" }, a.$attrs, {
291
+ class: "ui-assets-icons-16",
292
+ xmlns: "http://www.w3.org/2000/svg",
293
+ width: "16",
294
+ height: "16",
295
+ fill: "none"
296
+ }), [
297
+ a.$attrs["svg-title"] ? (S(), F("title", It, ge(a.$attrs["svg-title"]), 1)) : V("", !0),
298
+ r[0] || (r[0] = oe("path", {
299
+ fill: "#001222",
300
+ d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
301
+ }, null, -1))
302
+ ], 16);
303
+ }
304
+ const Nt = /* @__PURE__ */ J(xt, [["render", At]]);
305
+ let Me = 0;
306
+ const Mt = {
307
+ beforeCreate() {
308
+ this.uuid = Me.toString(), Me += 1;
309
+ }
310
+ }, $t = { key: 0 };
311
+ function Rt(a, r, i, t, s, l) {
312
+ return S(), F("svg", _({ role: "img" }, a.$attrs, {
313
+ class: "ui-assets-icons-16",
314
+ xmlns: "http://www.w3.org/2000/svg",
315
+ width: "16",
316
+ height: "16",
317
+ fill: "none"
318
+ }), [
319
+ a.$attrs["svg-title"] ? (S(), F("title", $t, ge(a.$attrs["svg-title"]), 1)) : V("", !0),
320
+ r[0] || (r[0] = oe("path", {
321
+ fill: "#001222",
322
+ d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
323
+ }, null, -1))
324
+ ], 16);
325
+ }
326
+ const kt = /* @__PURE__ */ J(Mt, [["render", Rt]]), Pt = { class: "b-dropdown-small-textbox__chevron" }, _t = q({
327
+ name: "dropdown-small-textbox",
328
+ inheritAttrs: !1
329
+ }), Ft = /* @__PURE__ */ q({
330
+ ..._t,
331
+ props: {
332
+ /**
333
+ * The number of additional items that have been selected in the dropdown.
334
+ */
335
+ additionalItemsSelected: { type: [Number, String], default: 0 },
336
+ /**
337
+ * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.
338
+ */
339
+ ariaControls: { type: String, required: !0 },
340
+ /**
341
+ * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.
342
+ */
343
+ ariaExpanded: {
344
+ type: [String, Boolean],
345
+ required: !0
346
+ },
347
+ /**
348
+ * If no label element is used then the aria-label is be set should be set.
349
+ */
350
+ ariaLabel: { type: String, default: null },
351
+ /**
352
+ * Corresponds to the label's id that labels the textbox element.
353
+ */
354
+ ariaLabelledby: { type: String, default: null },
355
+ /**
356
+ * Disables any textbox functionality
357
+ */
358
+ disabled: { type: Boolean, default: !1 },
359
+ /**
360
+ * Selected option's label
361
+ */
362
+ displayValue: { type: String, default: null },
363
+ /**
364
+ * Sets the possibility to type into the textbox
365
+ */
366
+ dynamicFiltering: { type: Boolean, default: !1 },
367
+ /**
368
+ * Marks the textbox as invalid, rendering an error state
369
+ */
370
+ isInvalid: { type: Boolean, default: !1 },
371
+ /**
372
+ * Indicates if the dropdown is open so that
373
+ * the respective event can be emitted
374
+ */
375
+ open: { type: Boolean, default: !1 },
376
+ /**
377
+ * Sets the dropdown to readonly state
378
+ */
379
+ readonly: { type: Boolean, default: !1 },
380
+ /**
381
+ * The input value
382
+ */
383
+ value: { type: String, default: "" }
384
+ },
385
+ emits: ["clear", "close", "input", "keydown", "open"],
386
+ setup(a, { expose: r, emit: i }) {
387
+ const t = i, s = a, l = E(null), e = u(() => ({
388
+ [`b-dropdown-small-textbox--${de.DISABLED}`]: s.disabled,
389
+ [`b-dropdown-small-textbox--${de.READONLY}`]: s.readonly,
390
+ [`b-dropdown-small-textbox--${de.OPENED}`]: s.open
391
+ })), d = u(() => s.open && !s.disabled && !s.readonly), h = (v) => {
392
+ t("input", v);
393
+ }, C = (v) => {
394
+ t("keydown", v);
395
+ }, c = (v) => {
396
+ ue(v), t("open");
397
+ }, b = (v) => {
398
+ ue(v), t("close");
399
+ }, p = (v) => {
400
+ ue(v), t("clear");
401
+ }, f = {
402
+ [j.INPUT]: h,
403
+ [j.OPEN]: c,
404
+ [j.CLOSE]: b,
405
+ [j.CLEAR]: p,
406
+ [j.KEYDOWN]: C
407
+ };
408
+ return r({
409
+ focus: () => {
410
+ l.value.focus();
411
+ }
412
+ }), (v, B) => (S(), F("div", {
413
+ class: ve(["b-dropdown-small-textbox", e.value])
414
+ }, [
415
+ Q(ut, _({
416
+ ref_key: "baseTextbox",
417
+ ref: l
418
+ }, { ...v.$attrs, ...v.$props }, {
419
+ class: "b-dropdown-small-textbox__textbox",
420
+ size: n(G).SMALL
421
+ }, ee(f)), {
422
+ icon: W(() => [
423
+ oe("div", Pt, [
424
+ te(Q(n(kt), { "svg-title": "opened" }, null, 512), [
425
+ [xe, d.value]
426
+ ]),
427
+ te(Q(n(Nt), { "svg-title": "closed" }, null, 512), [
428
+ [xe, !d.value]
429
+ ])
430
+ ])
431
+ ]),
432
+ _: 1
433
+ }, 16, ["size"])
434
+ ], 2));
435
+ }
436
+ }), Kt = /* @__PURE__ */ J(Ft, [["__scopeId", "data-v-39ce3ec8"]]), zt = (a, r) => r.value.reduce((i, t) => {
437
+ if (t.items) {
438
+ const s = t.items.filter(
439
+ (e) => a.value.find((d) => d.value === e.value)
440
+ );
441
+ s.length === t.items.length ? i.push(t.displayValue ?? t.label) : s.forEach(({ label: e, displayValue: d }) => i.push(d ?? e));
442
+ }
443
+ return a.value.find((s) => s.value === t.value) && i.push(t.displayValue ?? t.label), i;
444
+ }, []).join(", "), Vt = ({ items: a, placeholder: r, selectedValues: i, isMultiSelect: t }) => {
445
+ const s = u(
446
+ () => t.value && a.value.find((e) => {
447
+ var d;
448
+ return (d = e.items) == null ? void 0 : d.length;
449
+ })
450
+ );
451
+ return u(() => i.value.length ? s.value ? zt(i, a) : i.value.map(({ label: e, displayValue: d }) => d ?? e).join(", ") : r.value || null);
452
+ }, Pe = (a) => {
453
+ var r;
454
+ (r = a.value.$children) == null || r[0].$refs.textbox.focus();
455
+ }, Wt = ({
456
+ inputContainerRef: a,
457
+ optionsContainerRef: r,
458
+ selectedValueIndex: i,
459
+ isDropdownOpen: t,
460
+ isDynamicFltering: s,
461
+ items: l,
462
+ isMultiple: e
463
+ }, d, h, C) => {
464
+ const c = async (y) => {
465
+ var w;
466
+ s.value && await A(), (w = l.value[y]) == null || w.focus();
467
+ }, b = async (y) => {
468
+ var $, Y;
469
+ s.value && await A();
470
+ const w = ($ = r.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : $.$el.querySelectorAll(
471
+ "button"
472
+ );
473
+ w.length ? (Y = w[y]) == null || Y.focus() : c(y);
474
+ }, p = (y) => {
475
+ var w;
476
+ return (w = r.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.setListboxFocusedIndex(
477
+ y
478
+ );
479
+ }, f = () => {
480
+ t.value || h(), A(() => {
481
+ p(0), c(0);
482
+ });
483
+ }, O = () => {
484
+ t.value || h(), A(() => {
485
+ p(l.value.length - 1), c(l.value.length - 1);
486
+ });
487
+ }, v = ({ detail: y }) => {
488
+ y.preventDefault(), f();
489
+ }, B = ({ detail: y }) => {
490
+ y.preventDefault(), O();
491
+ }, D = () => {
492
+ f();
493
+ }, g = () => {
494
+ O();
495
+ }, L = ({ detail: y }) => {
496
+ y.preventDefault(), d(), t.value && A(() => {
497
+ e ? b(0) : (p(i.value), c(i.value));
498
+ });
499
+ }, K = ({ detail: y }) => {
500
+ y.preventDefault(), d(), t.value && A(() => {
501
+ e ? b(0) : (p(i.value), c(i.value));
502
+ });
503
+ }, N = () => {
504
+ t.value && C();
505
+ }, T = () => {
506
+ t.value && (C(), Pe(a));
507
+ };
508
+ return u(() => ({
509
+ [M.ARROW_DOWN]: v,
510
+ [M.ARROW_UP]: B,
511
+ [M.HOME]: D,
512
+ [M.END]: g,
513
+ ...s.value ? {} : { [M.SPACE]: L },
514
+ [M.ENTER]: K,
515
+ [M.TAB]: N,
516
+ [M.ESCAPE]: T
517
+ }));
518
+ }, qt = ({ inputContainerRef: a, isDropdownOpen: r }, i) => {
519
+ const t = () => {
520
+ r.value && i(), A(() => {
521
+ Pe(a);
522
+ });
523
+ };
524
+ return {
525
+ [m.ENTER]: t,
526
+ [m.ESCAPE]: t,
527
+ [m.TAB]: t,
528
+ [m.SPACE]: t
529
+ };
530
+ };
531
+ function Ut(a, r, i, t, s) {
532
+ const l = E(a), e = E(r), d = (c, b = []) => b.flatMap((p) => p.label.toLocaleLowerCase().includes(c) ? t != null && t.value && p.items ? [...d(c, p.items)] : [p, ...d(c, p.items)] : p.items ? [...d(c, p.items)] : []), h = i !== void 0 ? gt(() => i(l.value), s ?? 300) : void 0;
533
+ return be(l, () => {
534
+ h !== void 0 && h();
535
+ }), u(() => {
536
+ if (!l.value || i !== void 0)
537
+ return e.value;
538
+ const c = l.value.toLocaleLowerCase();
539
+ return d(c, e.value);
540
+ });
541
+ }
542
+ const _e = {
543
+ "en-US": {
544
+ all: "All",
545
+ ariaLabelFallback: "Dropdown",
546
+ clearSearch: "Clear filter"
547
+ },
548
+ "ja-JP": {
549
+ all: "すべて",
550
+ ariaLabelFallback: "ドロップダウン",
551
+ clearSearch: "フィルターをクリア"
552
+ },
553
+ "pt-BR": {
554
+ all: "Todos",
555
+ ariaLabelFallback: "Menu suspenso",
556
+ clearSearch: "Limpar filtro"
557
+ }
558
+ }, jt = /* @__PURE__ */ Symbol("input field component injection key"), vo = /* @__PURE__ */ Symbol("input field hint injection key"), yo = /* @__PURE__ */ Symbol("input field parent component injection key"), Ht = q({
559
+ i18n: { messages: _e },
560
+ name: "b-dropdown",
561
+ components: {
562
+ DropdownInputDefault: ct,
563
+ DropdownInputSmall: Kt
564
+ },
565
+ model: { prop: "modelValue" }
566
+ }), Jt = /* @__PURE__ */ q({
567
+ ...Ht,
568
+ props: {
569
+ ariaLabel: { default: null },
570
+ condensed: { type: Boolean, default: !1 },
571
+ emptyState: { default: void 0 },
572
+ dynamicFiltering: { type: Boolean, default: !1 },
573
+ error: { type: Boolean, default: !1 },
574
+ hasMoreItems: { type: Boolean, default: !1 },
575
+ isOptionDisabled: { type: Function, default: void 0 },
576
+ items: { default: () => [] },
577
+ loading: { type: Boolean, default: !1 },
578
+ componentLoading: { type: Boolean, default: !1 },
579
+ lazyLoadType: { default: ye.props.lazyLoadType.default },
580
+ multiple: { type: Boolean, default: !1 },
581
+ search: { default: void 0 },
582
+ showSlotContentInMultiple: { type: Boolean, default: !1 },
583
+ size: { default: null },
584
+ staticCategories: { type: Boolean, default: !1 },
585
+ value: { default: null },
586
+ modelValue: { default: null },
587
+ virtualScroll: { type: [Boolean, Object], default: !1 },
588
+ enableValueLabelPair: { type: Boolean, default: !1 },
589
+ description: { default: null },
590
+ disabled: { type: Boolean, default: !1 },
591
+ errorMessage: { default: null },
592
+ label: { default: null },
593
+ optional: { type: Boolean, default: !1 },
594
+ placeholder: { default: null },
595
+ readonly: { type: Boolean, default: !1 },
596
+ required: { type: Boolean, default: !1 },
597
+ tooltipText: { default: null }
598
+ },
599
+ emits: ["input", "update:model-value", "show-more", "open"],
600
+ setup(a, { expose: r, emit: i }) {
601
+ var De, Te;
602
+ const t = st(), s = $e(), l = St(s), e = a, d = i, { t: h } = he({ messages: _e }), { emitValue: C } = ft(d), c = E(null), b = E(null), p = E(null), f = E(!1), O = H("bento-dropdown-options-container"), v = H("dropdown-label"), B = H("dropdown-description"), D = H("dropdown-error"), { isReadOnly: g } = bt(I(e, "readonly")), L = u(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: K, cachedListboxSelectedValues: N, setCachedValues: T } = mt(
603
+ I(e, "items"),
604
+ L,
605
+ I(e, "multiple"),
606
+ I(e, "enableValueLabelPair")
607
+ ), U = E(t["aria-label"]), y = E(t["aria-describedby"]), { ariaLabel: w, label: $ } = Re(e), Y = u(() => h("ariaLabelFallback")), Se = pt({
608
+ // TODO: take ariaLabel ref away when aria-label prop is removed
609
+ ariaLabel: w.value || U,
610
+ label: $,
611
+ defaultFallback: Y
612
+ }), we = e.size === G.SMALL || it(jt, !1), Fe = u(() => we ? G.SMALL : G.DEFAULT), Ke = u(() => ({
613
+ "b-dropdown--condensed": e.condensed
614
+ })), ze = u(() => ({
615
+ "b-dropdown__description--error": !!e.errorMessage
616
+ })), R = E(""), Z = I(e, "items"), Ee = I(e, "staticCategories"), ae = Ut(
617
+ R,
618
+ Z,
619
+ (De = e == null ? void 0 : e.search) == null ? void 0 : De.searchEvent,
620
+ Ee,
621
+ (Te = e == null ? void 0 : e.search) == null ? void 0 : Te.debounceTime
622
+ ), le = u(() => e.dynamicFiltering && !!R.value), Ve = Vt({
623
+ items: Z,
624
+ placeholder: I(e, "placeholder"),
625
+ isMultiSelect: I(e, "multiple"),
626
+ selectedValues: K
627
+ }), We = u(() => {
628
+ if (e != null && e.multiple && Array.isArray(L.value))
629
+ return e.items.filter(
630
+ ({ value: o }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(o)
631
+ );
632
+ if (!e.multiple && e.staticCategories) {
633
+ const o = e.items.find(
634
+ (k) => k.items.some((P) => P.value === L.value)
635
+ );
636
+ return o ? o.items.find((k) => k.value === L.value) : null;
637
+ }
638
+ return e.items.find(({ value: o }) => o === L.value);
639
+ }), qe = u(() => {
640
+ const o = ae.value.findIndex(({ value: x }) => e.enableValueLabelPair ? L.value.value === x : L.value === x);
641
+ return o > -1 ? o : 0;
642
+ }), { isMultiLevelSelect: Ce, flattenedItemsList: Ue } = vt(Z), je = u(() => Ce.value && !e.staticCategories), He = u(() => je.value ? "treeitem" : "option"), Je = u(() => {
643
+ if (e.multiple) {
644
+ const o = Array.isArray(L.value) ? L.value.length : 0, x = Ce.value ? Ue.value.length : Z.value.length;
645
+ return o === 0 ? null : !e.hasMoreItems && x > 0 && x === o ? h("all") : o;
646
+ }
647
+ return null;
648
+ }), Ye = u(
649
+ () => [
650
+ e.description ? B : null,
651
+ y.value,
652
+ e.errorMessage ? D : null
653
+ ].filter(Boolean).join(" ") || null
654
+ ), Ze = u(() => {
655
+ var o;
656
+ return (o = p.value) == null ? void 0 : o.$el;
657
+ }), { visibleDomOptions: Qe, updateVisibleDomOptions: Oe } = yt(
658
+ Ze,
659
+ ae,
660
+ He
661
+ ), Xe = () => {
662
+ g.value || (f.value = !0, A(() => {
663
+ Oe();
664
+ }));
665
+ }, ne = () => {
666
+ f.value = !1;
667
+ }, se = () => {
668
+ g.value || (f.value = !f.value, A(() => {
669
+ Oe();
670
+ }), le.value && (R.value = ""));
671
+ }, Ge = () => {
672
+ le.value && (R.value = ""), f.value && (f.value = !1, p.value.onOutsideDropdownClick());
673
+ }, et = (o) => {
674
+ e.multiple || (R.value = "", f.value = !1, Be()), T(o), C(N.value);
675
+ }, tt = () => {
676
+ d(m.SHOW_MORE);
677
+ }, ot = Wt(
678
+ {
679
+ inputContainerRef: c,
680
+ optionsContainerRef: p,
681
+ selectedValueIndex: qe,
682
+ isDropdownOpen: f,
683
+ isDynamicFltering: I(e, "dynamicFiltering"),
684
+ items: Qe,
685
+ isMultiple: e.multiple
686
+ },
687
+ se,
688
+ Xe,
689
+ ne
690
+ ), at = qt(
691
+ {
692
+ inputContainerRef: c,
693
+ isDropdownOpen: f
694
+ },
695
+ ne
696
+ ), lt = {
697
+ [m.CLOSE_DROPDOWN]: ne,
698
+ [m.SELECT]: et,
699
+ [m.SHOW_MORE]: tt,
700
+ ...at
701
+ };
702
+ e.error && re(
703
+ 'BentoDropdown "error" property',
704
+ `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
705
+ Having the field as "undefined" will hide/remove the error.
706
+ <bento-dropdown errorMessage="Error message text" />`,
707
+ "2.0.0"
708
+ ), e.size && re('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && re(
709
+ 'BentoDropdown "value" property',
710
+ `The use of "value" prop in "BentoDropdown" is no longer supported.
711
+ Use the "v-model" or "model-value" property instead.`,
712
+ "2.0.0"
713
+ );
714
+ const Be = () => {
715
+ c.value.focus();
716
+ };
717
+ return be(
718
+ () => f.value,
719
+ (o) => {
720
+ o && d("open");
721
+ }
722
+ ), r({
723
+ focus: Be
724
+ }), (o, x) => te((S(), F("div", {
725
+ class: ve(["b-dropdown", Ke.value])
726
+ }, [
727
+ n($) ? (S(), z(n(wt), {
728
+ key: 0,
729
+ id: n(v),
730
+ condensed: o.condensed,
731
+ label: n($),
732
+ "tooltip-text": o.tooltipText,
733
+ optional: o.optional,
734
+ required: o.required
735
+ }, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) : V("", !0),
736
+ te((S(), F("div", _({
737
+ ref_key: "inputContainerRefWrapper",
738
+ ref: b
739
+ }, ee(n(ot), !0)), [
740
+ (S(), z(ke(Fe.value), {
741
+ ref_key: "inputContainerRef",
742
+ ref: c,
743
+ condensed: o.condensed,
744
+ value: R.value,
745
+ "additional-items-selected": Je.value,
746
+ "aria-controls": n(O),
747
+ ariaExpanded: f.value,
748
+ "aria-labelledby": n($) ? n(v) : null,
749
+ "aria-describedby": Ye.value,
750
+ "aria-label": n(Se),
751
+ "aria-readonly": n(g),
752
+ readonly: n(g),
753
+ required: o.required,
754
+ disabled: o.disabled,
755
+ "display-value": n(Ve),
756
+ "dynamic-filtering": o.dynamicFiltering,
757
+ "is-invalid": !!o.errorMessage || o.error,
758
+ multiple: o.multiple,
759
+ open: f.value,
760
+ "selected-value-item": n(we) ? void 0 : We.value,
761
+ "show-slot-content-in-multiple": o.showSlotContentInMultiple,
762
+ onInput: x[0] || (x[0] = (k) => R.value = k),
763
+ onOpen: se,
764
+ onClose: se
765
+ }, ce({ _: 2 }, [
766
+ pe(n(s), (k, P) => ({
767
+ name: P,
768
+ fn: W((ie) => [
769
+ X(o.$slots, P, fe(me(ie)), void 0, !0)
770
+ ])
771
+ }))
772
+ ]), 1064, ["condensed", "value", "additional-items-selected", "aria-controls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "required", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
773
+ ], 16)), [
774
+ [n(Lt)]
775
+ ]),
776
+ c.value ? (S(), z(n(Tt), _({
777
+ key: 1,
778
+ id: n(O),
779
+ ref_key: "optionsContainerRef",
780
+ ref: p,
781
+ "aria-label": n(Se),
782
+ "component-loading": o.componentLoading,
783
+ "empty-state": o.emptyState,
784
+ disabled: o.disabled,
785
+ "is-option-disabled": o.isOptionDisabled,
786
+ items: n(ae),
787
+ multiple: o.multiple,
788
+ "static-categories": Ee.value,
789
+ open: f.value,
790
+ "selected-value": n(K),
791
+ searching: le.value,
792
+ "target-element": b.value,
793
+ loading: o.loading,
794
+ "has-more-items": o.hasMoreItems,
795
+ "lazy-load-type": o.lazyLoadType,
796
+ "virtual-scroll": o.virtualScroll
797
+ }, ee(lt)), ce({ _: 2 }, [
798
+ pe(n(s), (k, P) => ({
799
+ name: P,
800
+ fn: W((ie) => [
801
+ X(o.$slots, P, fe(me(ie)), void 0, !0)
802
+ ])
803
+ }))
804
+ ]), 1040, ["id", "aria-label", "component-loading", "empty-state", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : V("", !0),
805
+ o.errorMessage ? (S(), z(n(Et), {
806
+ key: 2,
807
+ id: n(D),
808
+ "error-message": o.errorMessage,
809
+ class: "b-dropdown__error-message"
810
+ }, null, 8, ["id", "error-message"])) : V("", !0),
811
+ o.description || n(l)("description") ? (S(), z(n(dt), {
812
+ key: 3,
813
+ id: n(B),
814
+ class: ve(["b-dropdown__description", ze.value]),
815
+ el: "span"
816
+ }, {
817
+ default: W(() => [
818
+ X(o.$slots, "description", {}, () => [
819
+ rt(ge(o.description), 1)
820
+ ], !0)
821
+ ]),
822
+ _: 3
823
+ }, 8, ["id", "class"])) : V("", !0)
824
+ ], 2)), [
825
+ [n(ht), Ge]
826
+ ]);
827
+ }
828
+ }), bo = /* @__PURE__ */ J(Jt, [["__scopeId", "data-v-eab55520"]]);
829
+ export {
830
+ bo as B,
831
+ vo as I,
832
+ jt as a,
833
+ yo as b,
834
+ Ut as u
835
+ };
836
+ //# sourceMappingURL=dropdown.CU6nfq3V.js.map