@adyen/bento-vue2 1.83.0 → 1.84.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 (408) hide show
  1. package/README.md +5 -5
  2. package/dist/@types/index.d.ts +1299 -1235
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/ai-button.css +1 -1
  8. package/dist/assets/alert.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions-with-menu.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox-input.css +1 -1
  18. package/dist/assets/checkbox.css +1 -1
  19. package/dist/assets/chip.css +1 -1
  20. package/dist/assets/code-snippet.css +1 -1
  21. package/dist/assets/controls-group.css +1 -1
  22. package/dist/assets/country.css +1 -1
  23. package/dist/assets/currency.css +1 -1
  24. package/dist/assets/dashboard-section.css +1 -1
  25. package/dist/assets/dashed-underline.css +1 -1
  26. package/dist/assets/data-grid-template.css +1 -1
  27. package/dist/assets/data-grid.css +1 -1
  28. package/dist/assets/date-picker.css +1 -1
  29. package/dist/assets/date-range-picker.css +1 -1
  30. package/dist/assets/date.css +1 -1
  31. package/dist/assets/dialog-page.css +1 -1
  32. package/dist/assets/divider.css +1 -1
  33. package/dist/assets/dropdown-default-textbox.css +1 -1
  34. package/dist/assets/dropdown-tag.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/empty-state.css +1 -1
  37. package/dist/assets/field-label.css +1 -1
  38. package/dist/assets/file-uploader.css +1 -1
  39. package/dist/assets/filter-bar.css +1 -1
  40. package/dist/assets/fixed-scroller.css +1 -1
  41. package/dist/assets/footer-actions.css +1 -1
  42. package/dist/assets/form-layout-title.css +1 -1
  43. package/dist/assets/grid-layout.css +1 -1
  44. package/dist/assets/header-meta.css +1 -1
  45. package/dist/assets/header-with-views.css +1 -1
  46. package/dist/assets/header.css +1 -1
  47. package/dist/assets/index.css +1 -1
  48. package/dist/assets/info-icon.css +1 -1
  49. package/dist/assets/input-field-password.css +1 -1
  50. package/dist/assets/input-field.css +1 -1
  51. package/dist/assets/inspector.css +1 -1
  52. package/dist/assets/layout-row.css +1 -1
  53. package/dist/assets/link.css +1 -1
  54. package/dist/assets/listbox-option-tag.css +1 -1
  55. package/dist/assets/loading-indicator.css +1 -1
  56. package/dist/assets/modal-fullscreen.css +1 -1
  57. package/dist/assets/pagination.css +1 -1
  58. package/dist/assets/payment-method.css +1 -1
  59. package/dist/assets/popper-container.css +1 -1
  60. package/dist/assets/promo-banner.css +1 -1
  61. package/dist/assets/radio-group.css +1 -1
  62. package/dist/assets/radio-input.css +1 -1
  63. package/dist/assets/rich-text-editor.css +1 -1
  64. package/dist/assets/secondary-nav.css +1 -1
  65. package/dist/assets/segmented-control.css +1 -1
  66. package/dist/assets/selection-card-group.css +1 -1
  67. package/dist/assets/sidepanel.css +1 -1
  68. package/dist/assets/status.css +1 -1
  69. package/dist/assets/step.css +1 -1
  70. package/dist/assets/structured-list-item.css +1 -1
  71. package/dist/assets/summary-grid.css +1 -1
  72. package/dist/assets/tab.css +1 -1
  73. package/dist/assets/tag.css +1 -1
  74. package/dist/assets/textarea.css +1 -1
  75. package/dist/assets/timeline-item.css +1 -1
  76. package/dist/assets/toast.css +1 -1
  77. package/dist/assets/toggle.css +1 -1
  78. package/dist/assets/tooltip.css +1 -1
  79. package/dist/assets/tutorial.css +1 -1
  80. package/dist/assets/use-cached-selected-values.css +1 -1
  81. package/dist/button.js +3 -3
  82. package/dist/card.js +1 -1
  83. package/dist/checkbox.js +2 -2
  84. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  85. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  86. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  87. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  88. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  89. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  90. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  91. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  92. package/dist/chunks/accordion-item.DeV8s0oW.js.map +1 -1
  93. package/dist/chunks/{action-bar.C2GnRugW.js → action-bar.y4tcdk7R.js} +8 -6
  94. package/dist/chunks/{action-bar.C2GnRugW.js.map → action-bar.y4tcdk7R.js.map} +1 -1
  95. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  96. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  97. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  98. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  99. package/dist/chunks/{ai-button.C9Uc6vBY.js → ai-button.BEy4Gly-.js} +2 -2
  100. package/dist/chunks/{ai-button.C9Uc6vBY.js.map → ai-button.BEy4Gly-.js.map} +1 -1
  101. package/dist/chunks/{alert.BlJBrD8c.js → alert.B3Pdp02a.js} +29 -21
  102. package/dist/chunks/{alert.BlJBrD8c.js.map → alert.B3Pdp02a.js.map} +1 -1
  103. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  104. package/dist/chunks/avatar.CUCH3CTc.js.map +1 -1
  105. package/dist/chunks/base-button.IN4bpcds.js.map +1 -1
  106. package/dist/chunks/{base-modal.L39wmqVD.js → base-modal.KYkLKswF.js} +20 -18
  107. package/dist/chunks/{base-modal.L39wmqVD.js.map → base-modal.KYkLKswF.js.map} +1 -1
  108. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js → button-actions-with-menu.B5mKwc-F.js} +2 -2
  109. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js.map → button-actions-with-menu.B5mKwc-F.js.map} +1 -1
  110. package/dist/chunks/{button-actions.BWVq6OZQ.js → button-actions.D9n7MxWe.js} +270 -239
  111. package/dist/chunks/{button-actions.BWVq6OZQ.js.map → button-actions.D9n7MxWe.js.map} +1 -1
  112. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  113. package/dist/chunks/{button.C5GvPqe5.js → button.DIU6m9wD.js} +2 -2
  114. package/dist/chunks/{button.C5GvPqe5.js.map → button.DIU6m9wD.js.map} +1 -1
  115. package/dist/chunks/calendar.C8DpZ4Sr.js +1101 -0
  116. package/dist/chunks/calendar.C8DpZ4Sr.js.map +1 -0
  117. package/dist/chunks/{card.CktheSva.js → card.CLX0RGG6.js} +2 -2
  118. package/dist/chunks/{card.CktheSva.js.map → card.CLX0RGG6.js.map} +1 -1
  119. package/dist/chunks/{checkbox-group.DKkaWwMI.js → checkbox-group.BCnhjQie.js} +4 -4
  120. package/dist/chunks/{checkbox-group.DKkaWwMI.js.map → checkbox-group.BCnhjQie.js.map} +1 -1
  121. package/dist/chunks/{checkbox-input.B0NsfSNR.js → checkbox-input.08E9BNeF.js} +45 -40
  122. package/dist/chunks/checkbox-input.08E9BNeF.js.map +1 -0
  123. package/dist/chunks/{checkbox.B_W1TGP2.js → checkbox.CU5ierOq.js} +16 -16
  124. package/dist/chunks/{checkbox.B_W1TGP2.js.map → checkbox.CU5ierOq.js.map} +1 -1
  125. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
  126. package/dist/chunks/{code-snippet.1_edHDaZ.js → code-snippet.9MwDHp50.js} +62 -60
  127. package/dist/chunks/code-snippet.9MwDHp50.js.map +1 -0
  128. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
  129. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  130. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  131. package/dist/chunks/{controls-group.BqPxnEl3.js → controls-group.D4eW9DtP.js} +2 -2
  132. package/dist/chunks/{controls-group.BqPxnEl3.js.map → controls-group.D4eW9DtP.js.map} +1 -1
  133. package/dist/chunks/{copy.I2GvwCvt.js → copy.C0q7xgXs.js} +19 -17
  134. package/dist/chunks/{copy.I2GvwCvt.js.map → copy.C0q7xgXs.js.map} +1 -1
  135. package/dist/chunks/{country.BPrh4fXO.js → country.DyrDj95W.js} +2 -2
  136. package/dist/chunks/{country.BPrh4fXO.js.map → country.DyrDj95W.js.map} +1 -1
  137. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  138. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  139. package/dist/chunks/currency.DYZr_RDk.js.map +1 -1
  140. package/dist/chunks/{dashboard-section.B4bHrFIl.js → dashboard-section.B83FdC0Z.js} +3 -3
  141. package/dist/chunks/{dashboard-section.B4bHrFIl.js.map → dashboard-section.B83FdC0Z.js.map} +1 -1
  142. package/dist/chunks/{dashed-underline.ByK3QxFJ.js → dashed-underline.DQGVy5T2.js} +2 -2
  143. package/dist/chunks/{dashed-underline.ByK3QxFJ.js.map → dashed-underline.DQGVy5T2.js.map} +1 -1
  144. package/dist/chunks/{data-grid-template.CvZbOkih.js → data-grid-template.BTEFoEwf.js} +4 -4
  145. package/dist/chunks/{data-grid-template.CvZbOkih.js.map → data-grid-template.BTEFoEwf.js.map} +1 -1
  146. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  147. package/dist/chunks/{data-grid.CVjZ1tKw.js → data-grid.BPG1GPIl.js} +922 -838
  148. package/dist/chunks/{data-grid.CVjZ1tKw.js.map → data-grid.BPG1GPIl.js.map} +1 -1
  149. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  150. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  151. package/dist/chunks/{date-picker.-a_TXwjx.js → date-picker.CnsC_UMG.js} +78 -74
  152. package/dist/chunks/date-picker.CnsC_UMG.js.map +1 -0
  153. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  154. package/dist/chunks/date-range-picker.B6GSRjjK.js +1693 -0
  155. package/dist/chunks/date-range-picker.B6GSRjjK.js.map +1 -0
  156. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  157. package/dist/chunks/date.DBWzp0So.js.map +1 -1
  158. package/dist/chunks/de.DvtL0g75.js +478 -0
  159. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  160. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  161. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  162. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  163. package/dist/chunks/{dialog-page.Dn-WbcxU.js → dialog-page.QpRiNPyx.js} +29 -23
  164. package/dist/chunks/{dialog-page.Dn-WbcxU.js.map → dialog-page.QpRiNPyx.js.map} +1 -1
  165. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  166. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  167. package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
  168. package/dist/chunks/divider.DX5gwN7p.js.map +1 -1
  169. package/dist/chunks/dropdown-default-textbox.Cq68tN9F.js.map +1 -1
  170. package/dist/chunks/{dropdown-tag.AYIB0ec5.js → dropdown-tag.HBM0wrEV.js} +4 -4
  171. package/dist/chunks/{dropdown-tag.AYIB0ec5.js.map → dropdown-tag.HBM0wrEV.js.map} +1 -1
  172. package/dist/chunks/{dropdown.Dt0_ZUBn.js → dropdown.C2pXf8Li.js} +85 -81
  173. package/dist/chunks/{dropdown.Dt0_ZUBn.js.map → dropdown.C2pXf8Li.js.map} +1 -1
  174. package/dist/chunks/{empty-state.jVTWhJW7.js → empty-state.DpBnqAxu.js} +2 -2
  175. package/dist/chunks/{empty-state.jVTWhJW7.js.map → empty-state.DpBnqAxu.js.map} +1 -1
  176. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  177. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  178. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  179. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  180. package/dist/chunks/es.bz0mzkMq.js +374 -0
  181. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  182. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  183. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  184. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  185. package/dist/chunks/{field-label.BpeaR4Qc.js → field-label.CEkJnsiL.js} +5 -5
  186. package/dist/chunks/{field-label.BpeaR4Qc.js.map → field-label.CEkJnsiL.js.map} +1 -1
  187. package/dist/chunks/{file-uploader.G6mr6RuA.js → file-uploader.CnOqfuI-.js} +299 -253
  188. package/dist/chunks/{file-uploader.G6mr6RuA.js.map → file-uploader.CnOqfuI-.js.map} +1 -1
  189. package/dist/chunks/filter-bar.CnJAxz9B.js +2559 -0
  190. package/dist/chunks/filter-bar.CnJAxz9B.js.map +1 -0
  191. package/dist/chunks/fixed-scroller.Bp4-iO80.js +114 -0
  192. package/dist/chunks/{fixed-scroller.Ca1ujamx.js.map → fixed-scroller.Bp4-iO80.js.map} +1 -1
  193. package/dist/chunks/focus-trap.CNIU5jOz.js.map +1 -1
  194. package/dist/chunks/{footer-actions.3JdT8b0p.js → footer-actions.BOiN47Xd.js} +3 -3
  195. package/dist/chunks/{footer-actions.3JdT8b0p.js.map → footer-actions.BOiN47Xd.js.map} +1 -1
  196. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  197. package/dist/chunks/{form-layout-title.D9GJQfF9.js → form-layout-title.CdC1T4gs.js} +2 -2
  198. package/dist/chunks/{form-layout-title.D9GJQfF9.js.map → form-layout-title.CdC1T4gs.js.map} +1 -1
  199. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  200. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  201. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  202. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  203. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  204. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  205. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  206. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  207. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  208. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -1
  209. package/dist/chunks/header-meta.D_oAu2S9.js +212 -0
  210. package/dist/chunks/header-meta.D_oAu2S9.js.map +1 -0
  211. package/dist/chunks/{header-with-views.3fF_V6F9.js → header-with-views.Dc9LUYNY.js} +379 -315
  212. package/dist/chunks/{header-with-views.3fF_V6F9.js.map → header-with-views.Dc9LUYNY.js.map} +1 -1
  213. package/dist/chunks/{header.D76MKCdS.js → header.BmtlQmPs.js} +3 -3
  214. package/dist/chunks/{header.D76MKCdS.js.map → header.BmtlQmPs.js.map} +1 -1
  215. package/dist/chunks/image.C2D2hKat.js.map +1 -1
  216. package/dist/chunks/index.B6WW_F-J.js.map +1 -1
  217. package/dist/chunks/index.BDK4hwK_.js.map +1 -1
  218. package/dist/chunks/{input-field-password.C7zjyp7f.js → input-field-password.D23H_RvO.js} +48 -42
  219. package/dist/chunks/{input-field-password.C7zjyp7f.js.map → input-field-password.D23H_RvO.js.map} +1 -1
  220. package/dist/chunks/{input-field-phone-number.DwuTziSU.js → input-field-phone-number.Bvk2Pvec.js} +9 -3
  221. package/dist/chunks/{input-field-phone-number.DwuTziSU.js.map → input-field-phone-number.Bvk2Pvec.js.map} +1 -1
  222. package/dist/chunks/{input-field.DsT4AWXC.js → input-field.hf0_ALq0.js} +37 -29
  223. package/dist/chunks/{input-field.DsT4AWXC.js.map → input-field.hf0_ALq0.js.map} +1 -1
  224. package/dist/chunks/{inspector.2A5vWUou.js → inspector.C0iAxxoz.js} +40 -34
  225. package/dist/chunks/{inspector.2A5vWUou.js.map → inspector.C0iAxxoz.js.map} +1 -1
  226. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  227. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  228. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  229. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  230. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  231. package/dist/chunks/it.Oaj6BklL.js +392 -0
  232. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  233. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  234. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  235. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  236. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  237. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  238. package/dist/chunks/layout-row.BPX00mio.js.map +1 -1
  239. package/dist/chunks/{link.BoDUCYmM.js → link.PsTSQjK3.js} +27 -21
  240. package/dist/chunks/{link.BoDUCYmM.js.map → link.PsTSQjK3.js.map} +1 -1
  241. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -1
  242. package/dist/chunks/match.CMBZxEs9.js +302 -0
  243. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  244. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
  245. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js → modal-fullscreen.B1gltlxA.js} +5 -5
  246. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js.map → modal-fullscreen.B1gltlxA.js.map} +1 -1
  247. package/dist/chunks/{modal.6hFEbnZM.js → modal.e3EQ6Kex.js} +5 -5
  248. package/dist/chunks/{modal.6hFEbnZM.js.map → modal.e3EQ6Kex.js.map} +1 -1
  249. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  250. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  251. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  252. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  253. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  254. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  255. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  256. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  257. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  258. package/dist/chunks/{pagination.BSyshRGH.js → pagination.BcFt2FqK.js} +6 -6
  259. package/dist/chunks/{pagination.BSyshRGH.js.map → pagination.BcFt2FqK.js.map} +1 -1
  260. package/dist/chunks/payment-method.BKXLPDC9.js.map +1 -1
  261. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  262. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  263. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  264. package/dist/chunks/popover.types.WDh5ggr3.js.map +1 -1
  265. package/dist/chunks/popper-container.Cdokz_NE.js.map +1 -1
  266. package/dist/chunks/{promo-banner.D3aG5wnp.js → promo-banner.yfBorKj7.js} +2 -2
  267. package/dist/chunks/{promo-banner.D3aG5wnp.js.map → promo-banner.yfBorKj7.js.map} +1 -1
  268. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  269. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  270. package/dist/chunks/{radio-group.DTZwsfwW.js → radio-group.CtTnfkYg.js} +3 -3
  271. package/dist/chunks/{radio-group.DTZwsfwW.js.map → radio-group.CtTnfkYg.js.map} +1 -1
  272. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -1
  273. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  274. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  275. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  276. package/dist/chunks/{rich-text-editor.BbvfrqHl.js → rich-text-editor.Dq2CFGOu.js} +5 -5
  277. package/dist/chunks/{rich-text-editor.BbvfrqHl.js.map → rich-text-editor.Dq2CFGOu.js.map} +1 -1
  278. package/dist/chunks/{search-bar.Bpk-PuYT.js → search-bar.B0SdQBnY.js} +3 -3
  279. package/dist/chunks/{search-bar.Bpk-PuYT.js.map → search-bar.B0SdQBnY.js.map} +1 -1
  280. package/dist/chunks/{secondary-nav.BGOYJrsB.js → secondary-nav.BPGpxd0p.js} +35 -29
  281. package/dist/chunks/{secondary-nav.BGOYJrsB.js.map → secondary-nav.BPGpxd0p.js.map} +1 -1
  282. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  283. package/dist/chunks/{selection-card-group.BWLjFcea.js → selection-card-group.BryV14qP.js} +13 -13
  284. package/dist/chunks/{selection-card-group.BWLjFcea.js.map → selection-card-group.BryV14qP.js.map} +1 -1
  285. package/dist/chunks/{sidepanel.C5SvJNMR.js → sidepanel.NFyZGE57.js} +5 -5
  286. package/dist/chunks/{sidepanel.C5SvJNMR.js.map → sidepanel.NFyZGE57.js.map} +1 -1
  287. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  288. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  289. package/dist/chunks/status.types.Cv5XN4zL.js.map +1 -1
  290. package/dist/chunks/step.BLFXvHL6.js +223 -0
  291. package/dist/chunks/step.BLFXvHL6.js.map +1 -0
  292. package/dist/chunks/{structured-list-item.CbXDKwsF.js → structured-list-item.CptOCpHP.js} +3 -3
  293. package/dist/chunks/{structured-list-item.CbXDKwsF.js.map → structured-list-item.CptOCpHP.js.map} +1 -1
  294. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  295. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  296. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  297. package/dist/chunks/{summary-grid.types.haWi7oaf.js → summary-grid.types.B1T8_k1m.js} +3 -3
  298. package/dist/chunks/{summary-grid.types.haWi7oaf.js.map → summary-grid.types.B1T8_k1m.js.map} +1 -1
  299. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  300. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  301. package/dist/chunks/{tab.ZQfGp_FP.js → tab.FUMpPsBP.js} +2 -2
  302. package/dist/chunks/{tab.ZQfGp_FP.js.map → tab.FUMpPsBP.js.map} +1 -1
  303. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  304. package/dist/chunks/tag.B1Ywhgvc.js.map +1 -1
  305. package/dist/chunks/{textarea.DfR2o1lz.js → textarea.riUt0BiI.js} +31 -31
  306. package/dist/chunks/textarea.riUt0BiI.js.map +1 -0
  307. package/dist/chunks/{timeline-item.rLqeBsyz.js → timeline-item.CFfW1DoD.js} +16 -15
  308. package/dist/chunks/{timeline-item.rLqeBsyz.js.map → timeline-item.CFfW1DoD.js.map} +1 -1
  309. package/dist/chunks/{toast.C7lu_NsX.js → toast.Csv6tMyT.js} +2 -2
  310. package/dist/chunks/{toast.C7lu_NsX.js.map → toast.Csv6tMyT.js.map} +1 -1
  311. package/dist/chunks/toggle.227XgEc7.js.map +1 -1
  312. package/dist/chunks/tooltip.C6YCavPw.js.map +1 -1
  313. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  314. package/dist/chunks/{tutorial.DdRGxTC5.js → tutorial.D18LwXVy.js} +5 -5
  315. package/dist/chunks/{tutorial.DdRGxTC5.js.map → tutorial.D18LwXVy.js.map} +1 -1
  316. package/dist/chunks/typography.Bq-EGj9y.js.map +1 -1
  317. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  318. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  319. package/dist/chunks/use-bento-toast-controller.MmyZXtME.js.map +1 -1
  320. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js → use-cached-selected-values.gDWGi5Nk.js} +240 -231
  321. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js.map → use-cached-selected-values.gDWGi5Nk.js.map} +1 -1
  322. package/dist/chunks/{use-country-items.B3Cd3Tdo.js → use-country-items.ClS_So5N.js} +2 -2
  323. package/dist/chunks/{use-country-items.B3Cd3Tdo.js.map → use-country-items.ClS_So5N.js.map} +1 -1
  324. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  325. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  326. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  327. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  328. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  329. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  330. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  331. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  332. package/dist/code-snippet.js +1 -1
  333. package/dist/country.js +2 -2
  334. package/dist/dashboard-template.js +1 -1
  335. package/dist/dashed-underline.js +1 -1
  336. package/dist/data-grid-template.js +1 -1
  337. package/dist/data-grid.js +1 -1
  338. package/dist/date-picker.js +2 -2
  339. package/dist/date-range-picker.js +2 -2
  340. package/dist/dropdown.js +3 -3
  341. package/dist/empty-state.js +1 -1
  342. package/dist/file-uploader.js +1 -1
  343. package/dist/filter-bar.js +1 -1
  344. package/dist/form-layout.js +1 -1
  345. package/dist/header-with-views.js +1 -1
  346. package/dist/header.js +1 -1
  347. package/dist/index.js +250 -251
  348. package/dist/index.js.map +1 -1
  349. package/dist/input-field-password.js +1 -1
  350. package/dist/input-field-phone-number.js +1 -1
  351. package/dist/input-field.js +1 -1
  352. package/dist/inspector.js +1 -1
  353. package/dist/internal.js +10 -10
  354. package/dist/link.js +1 -1
  355. package/dist/menu.js +1 -1
  356. package/dist/modal-fullscreen.js +1 -1
  357. package/dist/modal.js +2 -2
  358. package/dist/pagination.js +1 -1
  359. package/dist/popover.js +1 -1
  360. package/dist/promo-banner.js +1 -1
  361. package/dist/radio-group.js +1 -1
  362. package/dist/rich-text-editor.js +1 -1
  363. package/dist/search-bar.js +2 -2
  364. package/dist/secondary-nav.js +1 -1
  365. package/dist/selection-card.js +1 -1
  366. package/dist/sidepanel.js +1 -1
  367. package/dist/stepper.js +1 -1
  368. package/dist/structured-list.js +1 -1
  369. package/dist/styles/bento-dark.css +0 -1829
  370. package/dist/styles/bento-light.css +0 -1829
  371. package/dist/styles/bento.css +0 -1829
  372. package/dist/styles/legacy.css +0 -1829
  373. package/dist/styles/styleguide.css +0 -1829
  374. package/dist/summary-grid.js +1 -1
  375. package/dist/tabs.js +1 -1
  376. package/dist/textarea.js +1 -1
  377. package/dist/timeline.js +1 -1
  378. package/dist/toast.js +1 -1
  379. package/dist/tutorial.js +1 -1
  380. package/dist/use-form-v4.js.map +1 -1
  381. package/package.json +15 -26
  382. package/dist/@types/components.d.ts +0 -196
  383. package/dist/@types/use-form-v4.d.ts +0 -86
  384. package/dist/chunks/calendar.DCLyThOl.js +0 -1832
  385. package/dist/chunks/calendar.DCLyThOl.js.map +0 -1
  386. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +0 -1
  387. package/dist/chunks/code-snippet.1_edHDaZ.js.map +0 -1
  388. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  389. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  390. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  391. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  392. package/dist/chunks/date-picker.-a_TXwjx.js.map +0 -1
  393. package/dist/chunks/date-range-picker.Bw1yPTu-.js +0 -906
  394. package/dist/chunks/date-range-picker.Bw1yPTu-.js.map +0 -1
  395. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  396. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  397. package/dist/chunks/es6.MoTTyETW.js +0 -12
  398. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  399. package/dist/chunks/filter-bar.CgJA4tIt.js +0 -2472
  400. package/dist/chunks/filter-bar.CgJA4tIt.js.map +0 -1
  401. package/dist/chunks/fixed-scroller.Ca1ujamx.js +0 -106
  402. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  403. package/dist/chunks/header-meta.C8_W0j_p.js +0 -170
  404. package/dist/chunks/header-meta.C8_W0j_p.js.map +0 -1
  405. package/dist/chunks/step.mqn8E6dm.js +0 -217
  406. package/dist/chunks/step.mqn8E6dm.js.map +0 -1
  407. package/dist/chunks/textarea.DfR2o1lz.js.map +0 -1
  408. package/dist/web-types.json +0 -17280
@@ -1,12 +1,12 @@
1
- import { computed as i, ref as S, onMounted as Me, onUnmounted as we, watch as X, defineComponent as G, nextTick as ge, toRef as H, useSlots as Ge, useAttrs as Pe } from "vue";
1
+ import { computed as o, ref as S, onMounted as Me, onUnmounted as we, watch as J, defineComponent as G, nextTick as ge, toRef as H, useSlots as Ge, useAttrs as Pe } from "vue";
2
2
  import { B as $, a as se } from "./keyboard-navigation.DWmhelVv.js";
3
3
  import { B as j } from "./typography.Bq-EGj9y.js";
4
4
  import { B as Fe } from "./loading-indicator.PxbRzshH.js";
5
- import { B as Ye } from "./empty-state.jVTWhJW7.js";
5
+ import { B as Ye } from "./empty-state.DpBnqAxu.js";
6
6
  import { u as le } from "./index.B6WW_F-J.js";
7
7
  import { d as Ue } from "./debounce.DUTu11PS.js";
8
8
  import "./index.Cl4_42j5.js";
9
- import { C as Z, N as ze } from "./minus-small.DJacLGTw.js";
9
+ import { C as X, N as ze } from "./minus-small.DJacLGTw.js";
10
10
  import { C as Ve } from "./checkmark-small.DVDtD4HQ.js";
11
11
  /* empty css */
12
12
  import { n as M } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
@@ -14,31 +14,31 @@ import { B as We } from "./chip.C6DRfdJ8.js";
14
14
  import { C as Ke } from "./chevron-down.eYtgv5ly.js";
15
15
  import { C as je } from "./chevron-up.d8cwIlA_.js";
16
16
  import { g as be } from "./generate-uid.NJ8tVoha.js";
17
- import { a as qe, b as fe } from "./button-actions.BWVq6OZQ.js";
17
+ import { a as qe, b as fe } from "./button-actions.D9n7MxWe.js";
18
18
  import { o as He } from "./resize.Bqks3WUm.js";
19
19
  import "../assets/use-cached-selected-values.css";
20
20
  const pe = (s, e, l, t) => {
21
- const n = i(
21
+ const a = o(
22
22
  () => {
23
23
  var f, L;
24
24
  return !!((f = s.value) != null && f.length) && ((L = s.value) == null ? void 0 : L.length) === e.value.length;
25
25
  }
26
- ), a = i(() => {
26
+ ), n = o(() => {
27
27
  var f;
28
28
  return s.value == null || s.value.length === 0 ? !1 : ((f = s.value) == null ? void 0 : f.length) !== e.value.length;
29
29
  });
30
30
  return {
31
- isAllSelected: n,
32
- isIndeterminate: a,
31
+ isAllSelected: a,
32
+ isIndeterminate: n,
33
33
  toggleSelectAll: (f) => {
34
34
  f ? l() : t();
35
35
  }
36
36
  };
37
37
  };
38
- function Xe(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: n }) {
39
- const a = S(null), r = S([]), f = S(0), L = S(0), d = S(0);
38
+ function Je(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: a }) {
39
+ const n = S(null), r = S([]), f = S(0), L = S(0), d = S(0);
40
40
  let b;
41
- const T = i(() => {
41
+ const T = o(() => {
42
42
  const I = typeof l == "number" ? s.value.length * l : s.value.reduce((C, m, y) => C + l(y), 0), O = typeof l == "number" ? f.value * l : s.value.slice(0, f.value).reduce((C, m, y) => C + l(y), 0);
43
43
  return {
44
44
  style: {
@@ -47,20 +47,20 @@ function Xe(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: n })
47
47
  }
48
48
  };
49
49
  }), g = () => {
50
- const I = (n == null ? void 0 : n.value) ?? 0, O = Math.max(a.value.scrollTop - I, 0);
50
+ const I = (a == null ? void 0 : a.value) ?? 0, O = Math.max(n.value.scrollTop - I, 0);
51
51
  if (typeof l == "number")
52
52
  return Math.floor(O / l);
53
53
  let C = 0, m = 0;
54
54
  for (let y = 0; y < s.value.length; y += 1) {
55
- const R = l(y);
56
- if (C += R, C >= O) {
55
+ const D = l(y);
56
+ if (C += D, C >= O) {
57
57
  m = y;
58
58
  break;
59
59
  }
60
60
  }
61
61
  return m;
62
62
  }, p = () => {
63
- if (d.value = a.value.clientHeight, typeof l == "number")
63
+ if (d.value = n.value.clientHeight, typeof l == "number")
64
64
  return Math.ceil(d.value / l);
65
65
  const I = f.value ?? 0;
66
66
  let O = 0, C = 0;
@@ -71,46 +71,46 @@ function Xe(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: n })
71
71
  }
72
72
  return C - I;
73
73
  }, x = () => {
74
- if (a.value) {
74
+ if (n.value) {
75
75
  const I = p();
76
76
  f.value = g(), L.value = Math.min(f.value + I + t, s.value.length), r.value = s.value.slice(f.value, L.value);
77
77
  }
78
- }, D = () => {
78
+ }, R = () => {
79
79
  x();
80
80
  };
81
81
  e || (Me(() => {
82
- a.value && (d.value = a.value.clientHeight, b = He(a.value, ({ clientHeight: I }) => {
82
+ n.value && (d.value = n.value.clientHeight, b = He(n.value, ({ clientHeight: I }) => {
83
83
  d.value = I, x();
84
84
  }), x());
85
85
  }), we(() => {
86
86
  b == null || b.disconnect();
87
- }), X(
87
+ }), J(
88
88
  () => s.value,
89
89
  () => {
90
90
  x();
91
91
  }
92
92
  ));
93
93
  const B = {
94
- ref: a,
94
+ ref: n,
95
95
  style: { overflowY: "auto" }
96
96
  };
97
97
  return e ? {
98
- containerRef: a,
98
+ containerRef: n,
99
99
  containerProps: B,
100
100
  // eslint-disable-next-line @typescript-eslint/no-empty-function
101
101
  onScroll: () => {
102
102
  },
103
103
  list: s
104
104
  } : {
105
- containerRef: a,
105
+ containerRef: n,
106
106
  containerProps: B,
107
- onScroll: D,
107
+ onScroll: R,
108
108
  list: r,
109
109
  wrapperProps: T
110
110
  };
111
111
  }
112
112
  var c = /* @__PURE__ */ ((s) => (s.SELECT = "select", s.SHOW_MORE = "show-more", s.ESCAPE = "escape-pressed", s.CLICK = "click", s.ENTER = "enter-pressed", s.SPACE = "space-pressed", s.TAB = "tab-pressed", s.CLOSE_DROPDOWN = "close-dropdown", s))(c || {}), K = /* @__PURE__ */ ((s) => (s.AUTOMATIC = "automatic", s.BUTTON = "button", s.NONE = "none", s))(K || {});
113
- const Ze = G({
113
+ const Xe = G({
114
114
  name: "bento-listbox-static-category",
115
115
  components: {
116
116
  BentoTypography: j
@@ -125,12 +125,12 @@ const Ze = G({
125
125
  }
126
126
  }
127
127
  });
128
- var Je = function() {
128
+ var Ze = function() {
129
129
  var e = this, l = e._self._c;
130
130
  return e._self._setupProxy, l("div", { staticClass: "b-listbox-single-select-category", attrs: { role: "group", "aria-label": e.categoryLabel } }, [l("bento-typography", { staticClass: "b-listbox-single-select-category__label-text", attrs: { variant: "caption", el: "span", "aria-hidden": "true" } }, [e._v(" " + e._s(e.categoryLabel) + " ")]), l("div", [e._t("default")], 2)], 1);
131
131
  }, Qe = [], et = /* @__PURE__ */ M(
132
+ Xe,
132
133
  Ze,
133
- Je,
134
134
  Qe,
135
135
  !1,
136
136
  null,
@@ -150,7 +150,7 @@ const tt = et.exports, st = G({
150
150
  },
151
151
  emits: [c.CLICK, c.ENTER, c.SPACE, c.TAB],
152
152
  setup(s, { emit: e }) {
153
- const l = i(() => ({
153
+ const l = o(() => ({
154
154
  "b-listbox-option--disabled": s.disabled,
155
155
  "b-listbox-option--selected": s.selected
156
156
  }));
@@ -161,11 +161,11 @@ const tt = et.exports, st = G({
161
161
  // Values
162
162
  conditionalClasses: l,
163
163
  // Events
164
- onClick: (a) => {
165
- e(c.CLICK, a);
164
+ onClick: (n) => {
165
+ e(c.CLICK, n);
166
166
  },
167
- onOptionSelected: (a, r) => {
168
- e(a, r);
167
+ onOptionSelected: (n, r) => {
168
+ e(n, r);
169
169
  }
170
170
  };
171
171
  }
@@ -179,27 +179,27 @@ var lt = function() {
179
179
  }, function(t) {
180
180
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, t);
181
181
  }] } }, "div", e.$attrs, !1), [e._t("default")], 2);
182
- }, nt = [], at = /* @__PURE__ */ M(
182
+ }, at = [], nt = /* @__PURE__ */ M(
183
183
  st,
184
184
  lt,
185
- nt,
185
+ at,
186
186
  !1,
187
187
  null,
188
188
  "c345b6c0"
189
189
  );
190
- const J = at.exports;
190
+ const Z = nt.exports;
191
191
  let ve = 0;
192
- const it = {
192
+ const ot = {
193
193
  beforeCreate() {
194
194
  this.uuid = ve.toString(), ve += 1;
195
195
  }
196
196
  };
197
- var ot = function() {
197
+ var it = function() {
198
198
  var e = this, l = e._self._c;
199
199
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#001222", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
200
200
  }, ct = [], rt = /* @__PURE__ */ M(
201
- it,
202
201
  ot,
202
+ it,
203
203
  ct,
204
204
  !1,
205
205
  null,
@@ -208,7 +208,7 @@ var ot = function() {
208
208
  const ut = rt.exports, dt = G({
209
209
  name: "bento-listbox-single-select-option",
210
210
  components: {
211
- BentoListboxOption: J,
211
+ BentoListboxOption: Z,
212
212
  BentoTypography: j,
213
213
  CheckmarkIcon: ut
214
214
  },
@@ -234,12 +234,12 @@ const ut = rt.exports, dt = G({
234
234
  setup(s, { emit: e }) {
235
235
  const l = (r) => {
236
236
  s.disabled || e(r, s.option);
237
- }, t = i(() => s.disabled ? !0 : null), n = i(() => s.selected ? !0 : null), a = i(() => s.disabled ? -1 : 0);
237
+ }, t = o(() => s.disabled ? !0 : null), a = o(() => s.selected ? !0 : null), n = o(() => s.disabled ? -1 : 0);
238
238
  return {
239
239
  // Values
240
240
  ariaDisabled: t,
241
- ariaSelected: n,
242
- tabIndex: a,
241
+ ariaSelected: a,
242
+ tabIndex: n,
243
243
  // Enums
244
244
  BentoListboxEvent: c,
245
245
  // Events
@@ -269,7 +269,7 @@ var bt = function() {
269
269
  "bb14d75a"
270
270
  );
271
271
  const mt = vt.exports, ye = ({ items: s }, e) => {
272
- const l = i(() => s.value.length - 1), t = S(0), n = (g) => {
272
+ const l = o(() => s.value.length - 1), t = S(0), a = (g) => {
273
273
  switch (g) {
274
274
  case "increase":
275
275
  t.value += 1;
@@ -278,10 +278,10 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
278
278
  t.value -= 1;
279
279
  break;
280
280
  }
281
- }, a = ({ edgeCaseItem: g }, p) => {
282
- t.value !== g && (n(p), e(t.value));
281
+ }, n = ({ edgeCaseItem: g }, p) => {
282
+ t.value !== g && (a(p), e(t.value));
283
283
  }, r = (g) => {
284
- T(g), a(
284
+ T(g), n(
285
285
  {
286
286
  edgeCaseItem: l.value
287
287
  },
@@ -289,7 +289,7 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
289
289
  /* INCREASE */
290
290
  );
291
291
  }, f = (g) => {
292
- T(g), a(
292
+ T(g), n(
293
293
  {
294
294
  edgeCaseItem: 0
295
295
  },
@@ -316,23 +316,23 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
316
316
  focusedIndex: t
317
317
  };
318
318
  }, he = (s, e, l = S("option"), t = !0) => {
319
- const n = S([]), a = async () => {
319
+ const a = S([]), n = async () => {
320
320
  if (!s.value || s.value.nodeType === Node.COMMENT_NODE)
321
321
  return;
322
322
  const r = Array.from(s.value.querySelectorAll(`[role="${l.value}"]`));
323
- n.value = t ? r.filter((f) => f.checkVisibility()) : r;
323
+ a.value = t ? r.filter((f) => f.checkVisibility()) : r;
324
324
  };
325
- return X(
325
+ return J(
326
326
  e,
327
327
  () => {
328
328
  ge(() => {
329
- a();
329
+ n();
330
330
  });
331
331
  },
332
332
  { immediate: !0 }
333
333
  ), {
334
- visibleDomOptions: n,
335
- updateVisibleDomOptions: a
334
+ visibleDomOptions: a,
335
+ updateVisibleDomOptions: n
336
336
  };
337
337
  }, _t = G({
338
338
  name: "bento-listbox-single-select",
@@ -382,29 +382,29 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
382
382
  staticCategories: { type: Boolean, default: !1 }
383
383
  },
384
384
  emits: [c.SELECT, c.ENTER, c.SPACE, c.TAB],
385
- setup(s, { emit: e, expose: l, slots: t, attrs: n }) {
386
- const a = S(null), r = S([]), f = i(() => {
385
+ setup(s, { emit: e, expose: l, slots: t, attrs: a }) {
386
+ const n = S(null), r = S([]), f = o(() => {
387
387
  var m;
388
388
  return !!((m = s.selectedValue) != null && m.length) && s.selectedValue.at(0);
389
- }), L = i(
389
+ }), L = o(
390
390
  () => {
391
- var m, y, R, P;
391
+ var m, y, D, P;
392
392
  return {
393
- "aria-label": (m = n["aria-label"]) == null ? void 0 : m.toString(),
394
- "aria-busy": (y = n["aria-busy"]) == null ? void 0 : y.toString(),
395
- "aria-atomic": (R = n["aria-atomic"]) == null ? void 0 : R.toString(),
396
- "aria-live": (P = n["aria-live"]) == null ? void 0 : P.toString()
393
+ "aria-label": (m = a["aria-label"]) == null ? void 0 : m.toString(),
394
+ "aria-busy": (y = a["aria-busy"]) == null ? void 0 : y.toString(),
395
+ "aria-atomic": (D = a["aria-atomic"]) == null ? void 0 : D.toString(),
396
+ "aria-live": (P = a["aria-live"]) == null ? void 0 : P.toString()
397
397
  };
398
398
  }
399
- ), d = i(() => !!s.items.some(({ items: m }) => !!m)), b = (m) => (y) => {
399
+ ), d = o(() => !!s.items.some(({ items: m }) => !!m)), b = (m) => (y) => {
400
400
  e(m, [y]);
401
- }, { visibleDomOptions: T } = he(a, H(s, "items"), S("option"), !1), g = (m) => {
401
+ }, { visibleDomOptions: T } = he(n, H(s, "items"), S("option"), !1), g = (m) => {
402
402
  var y;
403
403
  (y = T.value[m]) == null || y.focus();
404
404
  }, {
405
405
  moveToNextElement: p,
406
406
  moveToPreviousElement: x,
407
- moveToFirstElement: D,
407
+ moveToFirstElement: R,
408
408
  moveToLastElement: B,
409
409
  setListboxFocusedIndex: I
410
410
  } = ye(
@@ -415,7 +415,7 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
415
415
  ), O = {
416
416
  [$.ARROW_UP]: x,
417
417
  [$.ARROW_DOWN]: p,
418
- [$.HOME]: D,
418
+ [$.HOME]: R,
419
419
  [$.END]: B
420
420
  }, C = {
421
421
  [c.SELECT]: b(c.SELECT),
@@ -438,7 +438,7 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
438
438
  // Enums
439
439
  BentoListboxEvent: c,
440
440
  // Values
441
- listboxRef: a,
441
+ listboxRef: n,
442
442
  listboxItemRef: r,
443
443
  selectedItem: f,
444
444
  slots: t,
@@ -456,17 +456,17 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
456
456
  var gt = function() {
457
457
  var e = this, l = e._self._c;
458
458
  return e._self._setupProxy, l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", attrs: { role: "listbox" } }, "div", e.ariaAttributes, !1), e.listboxListeners), [e.hasCategories && e.staticCategories ? e._l(e.items, function(t) {
459
- return l("bento-listbox-single-select-category", { key: t.value, attrs: { "category-label": t.label } }, e._l(t.items, function(n) {
460
- return l("bento-listbox-single-select-option", e._g({ key: n.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: n, disabled: e.isOptionDisabled ? e.isOptionDisabled(n) : null, selected: n.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(a, r) {
459
+ return l("bento-listbox-single-select-category", { key: t.value, attrs: { "category-label": t.label } }, e._l(t.items, function(a) {
460
+ return l("bento-listbox-single-select-option", e._g({ key: a.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: a, disabled: e.isOptionDisabled ? e.isOptionDisabled(a) : null, selected: a.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(n, r) {
461
461
  return { key: r, fn: function(f) {
462
462
  return [e._t(r, null, null, f)];
463
463
  } };
464
464
  })], null, !0) }, e.listboxOptionListeners));
465
465
  }), 1);
466
466
  }) : e._l(e.items, function(t) {
467
- return l("bento-listbox-single-select-option", e._g({ key: t.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(n, a) {
468
- return { key: a, fn: function(r) {
469
- return [e._t(a, null, null, r)];
467
+ return l("bento-listbox-single-select-option", e._g({ key: t.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
468
+ return { key: n, fn: function(r) {
469
+ return [e._t(n, null, null, r)];
470
470
  } };
471
471
  })], null, !0) }, e.listboxOptionListeners));
472
472
  })], 2);
@@ -506,12 +506,12 @@ const Et = Ot.exports, Tt = {}, It = /* @__PURE__ */ G({
506
506
  allSelected: { type: Boolean, default: !1 }
507
507
  },
508
508
  setup(s) {
509
- const e = s, l = i(() => ({
510
- [`b-checkbox-input--${Z.DISABLED}`]: e.disabled
511
- })), t = i(() => ({
512
- [`b-checkbox-input__outline--${Z.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
513
- [`b-checkbox-input__outline--${Z.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
514
- [`b-checkbox-input__outline--${Z.INDETERMINATE}`]: e.indeterminate
509
+ const e = s, l = o(() => ({
510
+ [`b-checkbox-input--${X.DISABLED}`]: e.disabled
511
+ })), t = o(() => ({
512
+ [`b-checkbox-input__outline--${X.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
513
+ [`b-checkbox-input__outline--${X.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
514
+ [`b-checkbox-input__outline--${X.INDETERMINATE}`]: e.indeterminate
515
515
  }));
516
516
  return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: Ve, MinusSmallIcon: ze, DoubleCheckmarkSmallIcon: Et };
517
517
  }
@@ -527,22 +527,30 @@ var Lt = function() {
527
527
  null,
528
528
  "b87bbaf9"
529
529
  );
530
- const ne = kt.exports;
530
+ const ae = kt.exports;
531
531
  var Ce = /* @__PURE__ */ ((s) => (s.DISABLED = "disabled", s.STATIC_CATEGORY = "static-category", s))(Ce || {}), z = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.UNSELECT_CATEGORY = "unselect-category", s.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", s))(z || {});
532
- const Dt = {
532
+ const Rt = {
533
533
  "en-US": {
534
534
  categoryClosed: "{category} closed",
535
535
  categoryOpened: "{category} opened"
536
+ },
537
+ "ja-JP": {
538
+ categoryClosed: "{category}を閉じました",
539
+ categoryOpened: "{category}を開きました"
540
+ },
541
+ "pt-BR": {
542
+ categoryClosed: "{category} fechado",
543
+ categoryOpened: "{categoria} aberta"
536
544
  }
537
- }, Rt = G({
538
- i18n: { messages: Dt },
545
+ }, Dt = G({
546
+ i18n: { messages: Rt },
539
547
  name: "bento-listbox-multi-select-category",
540
548
  components: {
541
549
  BentoTypography: j,
542
- BentoListboxOption: J,
550
+ BentoListboxOption: Z,
543
551
  ChevronDownIcon: Ke,
544
552
  ChevronUpIcon: je,
545
- DecorativeCheckbox: ne
553
+ DecorativeCheckbox: ae
546
554
  },
547
555
  props: {
548
556
  /**
@@ -593,9 +601,9 @@ const Dt = {
593
601
  z.TOGGLE_CATEGORY_VISIBILITY
594
602
  ],
595
603
  setup(s, { emit: e }) {
596
- const l = S(!1), { t } = le(), n = be("category-group"), a = be("category-name"), r = (E) => s.isOptionDisabled ? s.isOptionDisabled(E) : !1, f = i(
604
+ const l = S(!1), { t } = le(), a = be("category-group"), n = be("category-name"), r = (E) => s.isOptionDisabled ? s.isOptionDisabled(E) : !1, f = o(
597
605
  () => s.category.items.every((E) => r(E))
598
- ), L = H(s, "staticCategories"), d = i(() => l.value || s.staticCategories), b = i(() => ({
606
+ ), L = H(s, "staticCategories"), d = o(() => l.value || s.staticCategories), b = o(() => ({
599
607
  [`b-listbox-multi-select-category--${Ce.DISABLED}`]: f.value
600
608
  })), T = (E, A) => {
601
609
  E.preventDefault(), l.value = A !== void 0 ? A : !l.value, e(z.TOGGLE_CATEGORY_VISIBILITY, s.category.value);
@@ -603,12 +611,12 @@ const Dt = {
603
611
  var Y;
604
612
  const A = r(E), N = ((Y = s.selectedItemsList) == null ? void 0 : Y.includes(E.value)) || !1;
605
613
  return { isDisabled: A, isPreSelected: N };
606
- }, p = i(
614
+ }, p = o(
607
615
  () => s.category.items.filter((E) => {
608
616
  const { isDisabled: A, isPreSelected: N } = g(E);
609
617
  return A && N || !A;
610
618
  })
611
- ), x = i(
619
+ ), x = o(
612
620
  () => {
613
621
  var E;
614
622
  return (E = p.value) == null ? void 0 : E.filter(
@@ -618,7 +626,7 @@ const Dt = {
618
626
  }
619
627
  );
620
628
  }
621
- ), D = i(() => {
629
+ ), R = o(() => {
622
630
  const E = l.value ? "categoryOpened" : "categoryClosed";
623
631
  return t(E, { category: s.category.label });
624
632
  }), B = () => {
@@ -630,22 +638,22 @@ const Dt = {
630
638
  p,
631
639
  B,
632
640
  I
633
- ), y = i(() => C.value ? "mixed" : `${O.value}`), R = S(O.value), P = () => {
634
- R.value = !R.value, m(R.value);
641
+ ), y = o(() => C.value ? "mixed" : `${O.value}`), D = S(O.value), P = () => {
642
+ D.value = !D.value, m(D.value);
635
643
  };
636
- return X(O, () => {
637
- R.value = O.value;
644
+ return J(O, () => {
645
+ D.value = O.value;
638
646
  }), {
639
647
  // Values
640
- chevronTitle: D,
648
+ chevronTitle: R,
641
649
  conditionalClass: b,
642
650
  hasAllPropsDisabled: f,
643
651
  isOpen: l,
644
652
  isAllSelected: O,
645
653
  isIndeterminate: C,
646
654
  isStaticCategory: L,
647
- categoryGroupId: n,
648
- categoryNameId: a,
655
+ categoryGroupId: a,
656
+ categoryNameId: n,
649
657
  // Computed
650
658
  showItemChildren: d,
651
659
  ariaCheckedComputed: y,
@@ -668,7 +676,7 @@ var Bt = function() {
668
676
  return t.stopPropagation(), e.toggleOpen.apply(null, arguments);
669
677
  } } }, [e.isOpen ? l("chevron-up-icon", { attrs: { "svg-title": e.chevronTitle } }) : l("chevron-down-icon", { attrs: { "svg-title": e.chevronTitle } })], 1)], 1)], 1), l("div", { directives: [{ name: "show", rawName: "v-show", value: e.showItemChildren, expression: "showItemChildren" }], attrs: { id: e.categoryGroupId, role: "group", "aria-label": e.category.label } }, [e._t("default")], 2)], 1);
670
678
  }, $t = [], Nt = /* @__PURE__ */ M(
671
- Rt,
679
+ Dt,
672
680
  Bt,
673
681
  $t,
674
682
  !1,
@@ -680,10 +688,10 @@ var w = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.TOGGLE
680
688
  const wt = G({
681
689
  name: "listbox-multi-select-options",
682
690
  components: {
683
- BentoListboxOption: J,
691
+ BentoListboxOption: Z,
684
692
  BentoTypography: j,
685
693
  ListboxMultiSelectCategory: Mt,
686
- DecorativeCheckbox: ne
694
+ DecorativeCheckbox: ae
687
695
  },
688
696
  inheritAttrs: !1,
689
697
  props: {
@@ -761,25 +769,25 @@ const wt = G({
761
769
  setup(s, { emit: e }) {
762
770
  const l = (d) => {
763
771
  s.isOptionDisabled(d) || e(w.TOGGLE_CHECKBOX_SELECTION, d);
764
- }, t = (d) => !!d.items, n = (d) => {
772
+ }, t = (d) => !!d.items, a = (d) => {
765
773
  const b = s.isMultiLevel && s.searching;
766
774
  return d.description && (!s.isMultiLevel || b);
767
- }, a = (d) => d.items ? !!d.items.find((b) => s.selectedItemsList.includes(b.value)) : s.selectedItemsList.includes(d.value), r = (d) => {
775
+ }, n = (d) => d.items ? !!d.items.find((b) => s.selectedItemsList.includes(b.value)) : s.selectedItemsList.includes(d.value), r = (d) => {
768
776
  if (t(d)) {
769
- const b = a(d) ? w.UNSELECT_CATEGORY : w.SELECT_CATEGORY;
777
+ const b = n(d) ? w.UNSELECT_CATEGORY : w.SELECT_CATEGORY;
770
778
  e(b, d);
771
779
  } else
772
780
  l(d);
773
781
  };
774
782
  return {
775
783
  // Values
776
- conditionalClasses: i(() => ({
784
+ conditionalClasses: o(() => ({
777
785
  "b-listbox-multi-select-options__static-category-option": s.staticCategories,
778
786
  "b-listbox-multi-select-options__category-option": s.categoryItems
779
787
  })),
780
788
  // Methods
781
- isOptionSelected: a,
782
- shouldShowDescription: n,
789
+ isOptionSelected: n,
790
+ shouldShowDescription: a,
783
791
  toggleCheckboxSelection: l,
784
792
  toggleSearchOption: r,
785
793
  computedTabindex: (d) => s.itemsIndex[d] === s.focusedIndex ? 0 : -1,
@@ -792,26 +800,26 @@ const wt = G({
792
800
  var Gt = function() {
793
801
  var e = this, l = e._self._c;
794
802
  return e._self._setupProxy, l("div", e._l(e.items, function(t) {
795
- return l("div", { key: `selected-${t.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role }, on: { click: function(n) {
803
+ return l("div", { key: `selected-${t.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role }, on: { click: function(a) {
796
804
  return e.toggleSearchOption(t);
797
- }, "enter-pressed": function(n) {
805
+ }, "enter-pressed": function(a) {
798
806
  return e.toggleSearchOption(t);
799
- }, "space-pressed": function(n) {
800
- return n.preventDefault(), e.toggleSearchOption(t);
807
+ }, "space-pressed": function(a) {
808
+ return a.preventDefault(), e.toggleSearchOption(t);
801
809
  } } }, [l("decorative-checkbox", { attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, checked: e.isOptionSelected(t) } }), e._t("default", function() {
802
810
  return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(t.label))]), e.shouldShowDescription(t) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(t.description) + " ")]) : e._e()], 1)];
803
- }, null, t)], 2)] : [t.items ? [l("listbox-multi-select-category", { attrs: { category: t, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled, "selected-items-list": e.selectedItemsList, tabindex: e.computedTabindex(t.value) }, on: { "select-category": function(n) {
811
+ }, null, t)], 2)] : [t.items ? [l("listbox-multi-select-category", { attrs: { category: t, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled, "selected-items-list": e.selectedItemsList, tabindex: e.computedTabindex(t.value) }, on: { "select-category": function(a) {
804
812
  return e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, t);
805
- }, "unselect-category": function(n) {
813
+ }, "unselect-category": function(a) {
806
814
  return e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, t);
807
- }, "toggle-category-visibility": function(n) {
808
- return e.$emit(e.ListboxMultiSelectOptionsEvent.TOGGLE_CATEGORY_VISIBILITY, n);
809
- } } }, [l("listbox-multi-select-options", { attrs: { "category-items": "", items: t.items, "is-option-disabled": e.isOptionDisabled, "items-index": e.itemsIndex, "focused-index": e.focusedIndex, "is-multi-level": e.isMultiLevel, "static-categories": e.staticCategories, "selected-items-list": e.selectedItemsList, searching: e.searching, role: e.$attrs.role }, on: { "toggle-checkbox-selection": (n) => e.toggleCheckboxSelection(n) } })], 1)] : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role }, on: { click: function(n) {
815
+ }, "toggle-category-visibility": function(a) {
816
+ return e.$emit(e.ListboxMultiSelectOptionsEvent.TOGGLE_CATEGORY_VISIBILITY, a);
817
+ } } }, [l("listbox-multi-select-options", { attrs: { "category-items": "", items: t.items, "is-option-disabled": e.isOptionDisabled, "items-index": e.itemsIndex, "focused-index": e.focusedIndex, "is-multi-level": e.isMultiLevel, "static-categories": e.staticCategories, "selected-items-list": e.selectedItemsList, searching: e.searching, role: e.$attrs.role }, on: { "toggle-checkbox-selection": (a) => e.toggleCheckboxSelection(a) } })], 1)] : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role }, on: { click: function(a) {
810
818
  return e.toggleCheckboxSelection(t);
811
- }, "enter-pressed": function(n) {
819
+ }, "enter-pressed": function(a) {
812
820
  return e.toggleCheckboxSelection(t);
813
- }, "space-pressed": function(n) {
814
- return n.preventDefault(), e.toggleCheckboxSelection(t);
821
+ }, "space-pressed": function(a) {
822
+ return a.preventDefault(), e.toggleCheckboxSelection(t);
815
823
  } } }, [l("decorative-checkbox", { attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, checked: e.isOptionSelected(t) } }), e._t("default", function() {
816
824
  return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(t.label))]), e.shouldShowDescription(t) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(t.description) + " ")]) : e._e()], 1)];
817
825
  }, null, t)], 2)]], 2);
@@ -825,12 +833,12 @@ var Gt = function() {
825
833
  "68986632"
826
834
  );
827
835
  const Yt = Ft.exports, Ut = (s) => {
828
- const e = i(() => {
836
+ const e = o(() => {
829
837
  var t;
830
- return !!((t = s.value) != null && t.find(({ items: n }) => !!n));
831
- }), l = i(() => {
838
+ return !!((t = s.value) != null && t.find(({ items: a }) => !!a));
839
+ }), l = o(() => {
832
840
  var t;
833
- return e.value ? (t = s.value) == null ? void 0 : t.reduce((n, a) => (a.items ? n.push(...a.items.flat()) : n.push(a), n), []) : s.value;
841
+ return e.value ? (t = s.value) == null ? void 0 : t.reduce((a, n) => (n.items ? a.push(...n.items.flat()) : a.push(n), a), []) : s.value;
834
842
  });
835
843
  return {
836
844
  isMultiLevelSelect: e,
@@ -844,16 +852,16 @@ const Yt = Ft.exports, Ut = (s) => {
844
852
  selectAll: "Select all ({total})"
845
853
  },
846
854
  "ja-JP": {
847
- allSelected: "すべて選択済み ({total})",
848
- numberOfTotalSelected: "{total}件中{number}件を選択済み",
849
- numbersSelected: "{number}件を選択済み",
855
+ allSelected: "すべて選択 ({total})",
856
+ numberOfTotalSelected: "{number}/{total}件が選択されました",
857
+ numbersSelected: "{number}件選択済み",
850
858
  selectAll: "すべて選択 ({total})"
851
859
  },
852
860
  "pt-BR": {
853
- allSelected: "Todos selecionados ({total})",
861
+ allSelected: "Todos os selecionados ({total})",
854
862
  numberOfTotalSelected: "{number} de {total} selecionados",
855
863
  numbersSelected: "{number} selecionados",
856
- selectAll: "Selecionar todos ({total})"
864
+ selectAll: "Selecionar tudo ({total})"
857
865
  }
858
866
  }, Vt = { i18n: { messages: zt } }, Wt = /* @__PURE__ */ G({
859
867
  ...Vt,
@@ -869,118 +877,118 @@ const Yt = Ft.exports, Ut = (s) => {
869
877
  },
870
878
  emits: ["select"],
871
879
  setup(s, { expose: e, emit: l }) {
872
- const t = s, { t: n, n: a } = le(), r = Ge(), f = Pe(), L = i(
880
+ const t = s, { t: a, n } = le(), r = Ge(), f = Pe(), L = o(
873
881
  () => {
874
- var o, u, v, h;
882
+ var i, u, v, h;
875
883
  return {
876
- "aria-label": (o = f["aria-label"]) == null ? void 0 : o.toString(),
884
+ "aria-label": (i = f["aria-label"]) == null ? void 0 : i.toString(),
877
885
  "aria-busy": (u = f["aria-busy"]) == null ? void 0 : u.toString(),
878
886
  "aria-atomic": (v = f["aria-atomic"]) == null ? void 0 : v.toString(),
879
887
  "aria-live": (h = f["aria-live"]) == null ? void 0 : h.toString(),
880
888
  "aria-multiselectable": !0
881
889
  };
882
890
  }
883
- ), d = S(null), b = S(null), T = S(null), g = S(null), p = i(() => t.selectedValues.map(({ value: o }) => o)), { isMultiLevelSelect: x, flattenedItemsList: D } = Ut(H(t, "items")), B = i(() => x.value && !t.staticCategories), I = i(() => B.value ? "tree" : "listbox"), O = i(() => B.value ? "treeitem" : "option"), C = (o) => {
891
+ ), d = S(null), b = S(null), T = S(null), g = S(null), p = o(() => t.selectedValues.map(({ value: i }) => i)), { isMultiLevelSelect: x, flattenedItemsList: R } = Ut(H(t, "items")), B = o(() => x.value && !t.staticCategories), I = o(() => B.value ? "tree" : "listbox"), O = o(() => B.value ? "treeitem" : "option"), C = (i) => {
884
892
  var h;
885
- const u = t.isOptionDisabled(o), v = ((h = p.value) == null ? void 0 : h.includes(o.value)) || !1;
893
+ const u = t.isOptionDisabled(i), v = ((h = p.value) == null ? void 0 : h.includes(i.value)) || !1;
886
894
  return { isDisabled: u, isPreSelected: v };
887
- }, m = i(() => {
895
+ }, m = o(() => {
888
896
  if (t.searching && x)
889
897
  return t.items;
890
- const o = D.value.filter((u) => {
898
+ const i = R.value.filter((u) => {
891
899
  const { isDisabled: v, isPreSelected: h } = C(u);
892
900
  return v && h || !v;
893
901
  });
894
902
  return t.selectedValues.forEach((u) => {
895
- o.find((v) => v.value === u.value) || o.push(u);
896
- }), o;
897
- }), y = i(
903
+ i.find((v) => v.value === u.value) || i.push(u);
904
+ }), i;
905
+ }), y = o(
898
906
  () => {
899
- var o;
900
- return (o = m.value) == null ? void 0 : o.filter((u) => {
907
+ var i;
908
+ return (i = m.value) == null ? void 0 : i.filter((u) => {
901
909
  var v;
902
910
  return u.items && x.value && t.searching ? u.items.filter(
903
911
  (_) => (t.selectedValues ?? []).includes(_.value)
904
912
  ).length === u.items.length : (v = p.value) == null ? void 0 : v.includes(u.value);
905
913
  });
906
914
  }
907
- ), R = () => x.value && !t.searching ? D.value.length : t.items.length, P = i(() => {
915
+ ), D = () => x.value && !t.searching ? R.value.length : t.items.length, P = o(() => {
908
916
  var h;
909
- const o = m.value.length, u = R(), v = ((h = y.value) == null ? void 0 : h.length) || 0;
910
- return v === 0 ? n("selectAll", { total: a(o) }) : v === u ? n("allSelected", { total: a(u) }) : v <= u ? n("numberOfTotalSelected", { number: a(v), total: a(u) }) : n("numbersSelected", { number: a(v) });
911
- }), E = (o) => {
917
+ const i = m.value.length, u = D(), v = ((h = y.value) == null ? void 0 : h.length) || 0;
918
+ return v === 0 ? a("selectAll", { total: n(i) }) : v === u ? a("allSelected", { total: n(u) }) : v <= u ? a("numberOfTotalSelected", { number: n(v), total: n(u) }) : a("numbersSelected", { number: n(v) });
919
+ }), E = (i) => {
912
920
  const u = (h) => {
913
921
  const { isDisabled: _, isPreSelected: F } = C(h);
914
922
  return _ && F || !_;
915
- }, v = o.filter(u).filter((h) => !p.value.includes(h.value));
923
+ }, v = i.filter(u).filter((h) => !p.value.includes(h.value));
916
924
  l("select", [...t.selectedValues, ...v]);
917
- }, A = (o) => {
925
+ }, A = (i) => {
918
926
  const u = (_) => {
919
927
  const { isDisabled: F, isPreSelected: Ne } = C(_);
920
928
  return !(F && Ne);
921
- }, v = o.filter(u).map(({ value: _ }) => _), h = t.selectedValues.filter((_) => !(v != null && v.includes(_.value)));
929
+ }, v = i.filter(u).map(({ value: _ }) => _), h = t.selectedValues.filter((_) => !(v != null && v.includes(_.value)));
922
930
  l("select", h);
923
931
  }, N = () => {
924
- E(D.value);
932
+ E(R.value);
925
933
  }, Y = () => {
926
- A(D.value);
934
+ A(R.value);
927
935
  }, { isAllSelected: U, isIndeterminate: k, toggleSelectAll: V } = pe(
928
936
  y,
929
937
  m,
930
938
  N,
931
939
  Y
932
- ), xe = i(() => k.value ? "mixed" : `${U.value}`), q = S(U.value), Se = () => {
940
+ ), xe = o(() => k.value ? "mixed" : `${U.value}`), q = S(U.value), Se = () => {
933
941
  q.value = !q.value, V(q.value);
934
942
  };
935
- X(U, () => {
943
+ J(U, () => {
936
944
  q.value = U.value;
937
945
  });
938
- const Oe = (o) => {
939
- E(o.items);
940
- }, Ee = (o) => {
941
- A(o.items);
942
- }, Te = (o, u) => {
946
+ const Oe = (i) => {
947
+ E(i.items);
948
+ }, Ee = (i) => {
949
+ A(i.items);
950
+ }, Te = (i, u) => {
943
951
  let v = !1;
944
952
  const h = t.selectedValues.filter(({ value: _ }) => u.value === _ ? (v = !0, !1) : !0);
945
- v || h.push(u), l(o, h);
946
- }, Ie = i(() => {
953
+ v || h.push(u), l(i, h);
954
+ }, Ie = o(() => {
947
955
  if (!x.value)
948
956
  return t.selectedValues;
949
- const o = (_) => p.value.includes(_.value), u = (_) => !t.staticCategories && _.every((F) => o(F));
957
+ const i = (_) => p.value.includes(_.value), u = (_) => !t.staticCategories && _.every((F) => i(F));
950
958
  return t.items.flatMap(
951
959
  (_) => _.items && !u(_.items) ? _.items : _
952
- ).filter((_) => _.items ? !0 : o(_));
953
- }), Le = i(() => {
960
+ ).filter((_) => _.items ? !0 : i(_));
961
+ }), Le = o(() => {
954
962
  var v, h, _, F;
955
- const o = ["automatic", "button"].includes(t.lazyLoadType), u = ((v = t.selectedValues) == null ? void 0 : v.length) > 0 && ((h = y.value) == null ? void 0 : h.length) !== ((_ = D.value) == null ? void 0 : _.length);
956
- return o && t.hasMoreItems ? !!((F = t.selectedValues) != null && F.length) : u;
957
- }), Ae = i(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), W = S([]), { visibleDomOptions: Q, updateVisibleDomOptions: ae } = he(
963
+ const i = ["automatic", "button"].includes(t.lazyLoadType), u = ((v = t.selectedValues) == null ? void 0 : v.length) > 0 && ((h = y.value) == null ? void 0 : h.length) !== ((_ = R.value) == null ? void 0 : _.length);
964
+ return i && t.hasMoreItems ? !!((F = t.selectedValues) != null && F.length) : u;
965
+ }), Ae = o(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), W = S([]), { visibleDomOptions: Q, updateVisibleDomOptions: ne } = he(
958
966
  d,
959
967
  H(t, "items"),
960
968
  O
961
- ), ke = (o) => {
962
- W.value.includes(o) ? W.value = W.value.filter((u) => u !== o) : W.value.push(o), ge(() => {
963
- ae();
969
+ ), ke = (i) => {
970
+ W.value.includes(i) ? W.value = W.value.filter((u) => u !== i) : W.value.push(i), ge(() => {
971
+ ne();
964
972
  });
965
- }, ie = (o) => {
973
+ }, oe = (i) => {
966
974
  var u;
967
- (u = Q.value[o]) == null || u.focus();
975
+ (u = Q.value[i]) == null || u.focus();
968
976
  }, {
969
- moveToNextElement: oe,
977
+ moveToNextElement: ie,
970
978
  moveToPreviousElement: ce,
971
979
  moveToFirstElement: re,
972
980
  moveToLastElement: ue,
973
981
  preventDefault: ee,
974
- focusedIndex: De,
982
+ focusedIndex: Re,
975
983
  setListboxFocusedIndex: de
976
984
  } = ye(
977
985
  {
978
986
  items: Q
979
987
  },
980
- ie
981
- ), Re = {
982
- [$.ARROW_UP]: (o) => ce(o),
983
- [$.ARROW_DOWN]: (o) => oe(o),
988
+ oe
989
+ ), De = {
990
+ [$.ARROW_UP]: (i) => ce(i),
991
+ [$.ARROW_DOWN]: (i) => ie(i),
984
992
  [$.HOME]: re,
985
993
  [$.END]: ue
986
994
  };
@@ -994,36 +1002,36 @@ const Yt = Ft.exports, Ut = (s) => {
994
1002
  const Be = {
995
1003
  [$.ARROW_UP]: ee,
996
1004
  [$.ARROW_DOWN]: ee
997
- }, $e = i(() => {
998
- let o = 1;
1005
+ }, $e = o(() => {
1006
+ let i = 1;
999
1007
  const u = {};
1000
1008
  return t.items.forEach((v) => {
1001
1009
  let h = W.value.includes(v.value);
1002
- v.items ? (t.staticCategories ? h = !0 : u[v.value] = o++, h && v.items.forEach((_) => u[_.value] = o++)) : u[v.value] = o++;
1010
+ v.items ? (t.staticCategories ? h = !0 : u[v.value] = i++, h && v.items.forEach((_) => u[_.value] = i++)) : u[v.value] = i++;
1003
1011
  }), u;
1004
1012
  });
1005
- return { __sfc: !0, props: t, emit: l, t: n, n: a, slots: r, attrs: f, ariaAttributes: L, listboxRef: d, selectAllListboxItemsRef: b, selectedListboxItemsRef: T, listboxItemsRef: g, selectedItemsList: p, isMultiLevelSelect: x, flattenedItemsList: D, isTreePattern: B, computedRole: I, computedOptionRole: O, optionStates: C, enabledItems: m, visibleSelectedList: y, calculateTotalItems: R, selectAllCheckboxText: P, selectAll: E, unselectAll: A, selectAllItems: N, unselectAllItems: Y, isAllSelected: U, isIndeterminate: k, toggleSelectAll: V, ariaCheckedComputed: xe, isSelectAllOn: q, handleSelectAll: Se, selectAllCategory: Oe, unselectAllCategory: Ee, toggleCheckboxSelection: Te, selectedOptions: Ie, showSelectedItems: Le, showSelectAllCheckbox: Ae, expandedCategories: W, visibleDomOptions: Q, updateVisibleDomOptions: ae, toggleCategoryVisibility: ke, focusItem: ie, moveToNextElement: oe, moveToPreviousElement: ce, moveToFirstElement: re, moveToLastElement: ue, preventDefault: ee, focusedIndex: De, setListboxFocusedIndex: de, listboxListeners: Re, chipsSectionListeners: Be, computedItemsIndex: $e, DecorativeCheckbox: ne, BentoTypography: j, BentoChip: We, BentoListboxOption: J, ListboxMultiSelectOptions: Yt, vBentoKeyboardNavigationDirective: se, BentoListboxEvent: c };
1013
+ return { __sfc: !0, props: t, emit: l, t: a, n, slots: r, attrs: f, ariaAttributes: L, listboxRef: d, selectAllListboxItemsRef: b, selectedListboxItemsRef: T, listboxItemsRef: g, selectedItemsList: p, isMultiLevelSelect: x, flattenedItemsList: R, isTreePattern: B, computedRole: I, computedOptionRole: O, optionStates: C, enabledItems: m, visibleSelectedList: y, calculateTotalItems: D, selectAllCheckboxText: P, selectAll: E, unselectAll: A, selectAllItems: N, unselectAllItems: Y, isAllSelected: U, isIndeterminate: k, toggleSelectAll: V, ariaCheckedComputed: xe, isSelectAllOn: q, handleSelectAll: Se, selectAllCategory: Oe, unselectAllCategory: Ee, toggleCheckboxSelection: Te, selectedOptions: Ie, showSelectedItems: Le, showSelectAllCheckbox: Ae, expandedCategories: W, visibleDomOptions: Q, updateVisibleDomOptions: ne, toggleCategoryVisibility: ke, focusItem: oe, moveToNextElement: ie, moveToPreviousElement: ce, moveToFirstElement: re, moveToLastElement: ue, preventDefault: ee, focusedIndex: Re, setListboxFocusedIndex: de, listboxListeners: De, chipsSectionListeners: Be, computedItemsIndex: $e, DecorativeCheckbox: ae, BentoTypography: j, BentoChip: We, BentoListboxOption: Z, ListboxMultiSelectOptions: Yt, vBentoKeyboardNavigationDirective: se, BentoListboxEvent: c };
1006
1014
  }
1007
1015
  });
1008
1016
  var Kt = function() {
1009
1017
  var e = this, l = e._self._c, t = e._self._setupProxy;
1010
- return l("div", { ref: "listboxRef", staticClass: "b-listbox-multi-select" }, [t.showSelectedItems ? l("div", [l("ul", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select__chips" }, t.chipsSectionListeners), e._l(t.selectedOptions, function(n) {
1011
- return l("li", { key: n.value }, [l(t.BentoChip, { ref: "selectedListboxItemsRef", refInFor: !0, attrs: { disabled: e.isOptionDisabled(n), label: n.label, condensed: "" }, on: { click: function(a) {
1012
- n.items ? t.unselectAllCategory(n) : t.toggleCheckboxSelection("select", n);
1018
+ return l("div", { ref: "listboxRef", staticClass: "b-listbox-multi-select" }, [t.showSelectedItems ? l("div", [l("ul", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select__chips" }, t.chipsSectionListeners), e._l(t.selectedOptions, function(a) {
1019
+ return l("li", { key: a.value }, [l(t.BentoChip, { ref: "selectedListboxItemsRef", refInFor: !0, attrs: { disabled: e.isOptionDisabled(a), label: a.label, condensed: "" }, on: { click: function(n) {
1020
+ a.items ? t.unselectAllCategory(a) : t.toggleCheckboxSelection("select", a);
1013
1021
  } } })], 1);
1014
- }), 0), l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } })]) : e._e(), l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], attrs: { role: t.computedRole } }, "div", t.ariaAttributes, !1), t.listboxListeners), [t.showSelectAllCheckbox ? l(t.BentoListboxOption, { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option", attrs: { tabindex: t.focusedIndex === 0 ? 0 : -1, "aria-selected": t.ariaCheckedComputed !== "false", "aria-checked": t.ariaCheckedComputed, role: t.computedOptionRole }, on: { click: t.handleSelectAll, "enter-pressed": t.handleSelectAll, "space-pressed": function(n) {
1015
- return n.preventDefault(), t.handleSelectAll.apply(null, arguments);
1016
- } } }, [l(t.DecorativeCheckbox, { attrs: { checked: t.isAllSelected, indeterminate: t.isIndeterminate } }), l(t.BentoTypography, { attrs: { el: "span" } }, [e._v(" " + e._s(t.selectAllCheckboxText) + " ")])], 1) : e._e(), t.showSelectAllCheckbox ? l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } }) : e._e(), l(t.ListboxMultiSelectOptions, { ref: "listboxItemsRef", attrs: { items: e.items, "is-option-disabled": e.isOptionDisabled, "is-multi-level": t.isMultiLevelSelect, "static-categories": e.staticCategories, searching: e.searching, "selected-items-list": t.selectedItemsList, "focused-index": t.focusedIndex, "items-index": t.computedItemsIndex, role: t.computedOptionRole }, on: { "toggle-checkbox-selection": function(n) {
1017
- return t.toggleCheckboxSelection("select", n);
1018
- }, "select-category": t.selectAllCategory, "unselect-category": t.unselectAllCategory, "toggle-category-visibility": t.toggleCategoryVisibility, "space-pressed": function(n) {
1019
- return t.toggleCheckboxSelection(t.BentoListboxEvent.SPACE, n);
1020
- }, "tab-pressed": function(n) {
1021
- return t.toggleCheckboxSelection(t.BentoListboxEvent.TAB, n);
1022
- }, "enter-pressed": function(n) {
1023
- return t.toggleCheckboxSelection(t.BentoListboxEvent.ENTER, n);
1024
- } }, scopedSlots: e._u([e._l(t.slots, function(n, a) {
1025
- return { key: a, fn: function(r) {
1026
- return [e._t(a, null, null, r)];
1022
+ }), 0), l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } })]) : e._e(), l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], attrs: { role: t.computedRole } }, "div", t.ariaAttributes, !1), t.listboxListeners), [t.showSelectAllCheckbox ? l(t.BentoListboxOption, { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option", attrs: { tabindex: t.focusedIndex === 0 ? 0 : -1, "aria-selected": t.ariaCheckedComputed !== "false", "aria-checked": t.ariaCheckedComputed, role: t.computedOptionRole }, on: { click: t.handleSelectAll, "enter-pressed": t.handleSelectAll, "space-pressed": function(a) {
1023
+ return a.preventDefault(), t.handleSelectAll.apply(null, arguments);
1024
+ } } }, [l(t.DecorativeCheckbox, { attrs: { checked: t.isAllSelected, indeterminate: t.isIndeterminate } }), l(t.BentoTypography, { attrs: { el: "span" } }, [e._v(" " + e._s(t.selectAllCheckboxText) + " ")])], 1) : e._e(), t.showSelectAllCheckbox ? l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } }) : e._e(), l(t.ListboxMultiSelectOptions, { ref: "listboxItemsRef", attrs: { items: e.items, "is-option-disabled": e.isOptionDisabled, "is-multi-level": t.isMultiLevelSelect, "static-categories": e.staticCategories, searching: e.searching, "selected-items-list": t.selectedItemsList, "focused-index": t.focusedIndex, "items-index": t.computedItemsIndex, role: t.computedOptionRole }, on: { "toggle-checkbox-selection": function(a) {
1025
+ return t.toggleCheckboxSelection("select", a);
1026
+ }, "select-category": t.selectAllCategory, "unselect-category": t.unselectAllCategory, "toggle-category-visibility": t.toggleCategoryVisibility, "space-pressed": function(a) {
1027
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.SPACE, a);
1028
+ }, "tab-pressed": function(a) {
1029
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.TAB, a);
1030
+ }, "enter-pressed": function(a) {
1031
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.ENTER, a);
1032
+ } }, scopedSlots: e._u([e._l(t.slots, function(a, n) {
1033
+ return { key: n, fn: function(r) {
1034
+ return [e._t(n, null, null, r)];
1027
1035
  } };
1028
1036
  })], null, !0) })], 1)]);
1029
1037
  }, jt = [], qt = /* @__PURE__ */ M(
@@ -1047,7 +1055,7 @@ const _e = qt.exports, Ht = {
1047
1055
  loading: "Carregando",
1048
1056
  showMore: "Mostrar mais"
1049
1057
  }
1050
- }, Xt = 36, Zt = G({
1058
+ }, Jt = 36, Xt = G({
1051
1059
  name: "bento-listbox",
1052
1060
  components: {
1053
1061
  BentoEmptyState: Ye,
@@ -1167,33 +1175,33 @@ const _e = qt.exports, Ht = {
1167
1175
  c.TAB
1168
1176
  ],
1169
1177
  setup(s, { emit: e, slots: l }) {
1170
- const t = S([]), n = H(s, "items"), { t: a } = le(), r = i(() => s.lazyLoadType !== K.AUTOMATIC), f = i(() => s.lazyLoadType === K.AUTOMATIC), L = () => {
1178
+ const t = S([]), a = H(s, "items"), { t: n } = le(), r = o(() => s.lazyLoadType !== K.AUTOMATIC), f = o(() => s.lazyLoadType === K.AUTOMATIC), L = () => {
1171
1179
  var k;
1172
- return typeof (s == null ? void 0 : s.virtualScroll) == "object" && ((k = s == null ? void 0 : s.virtualScroll) != null && k.itemHeight) ? s.virtualScroll.itemHeight : Xt;
1180
+ return typeof (s == null ? void 0 : s.virtualScroll) == "object" && ((k = s == null ? void 0 : s.virtualScroll) != null && k.itemHeight) ? s.virtualScroll.itemHeight : Jt;
1173
1181
  }, {
1174
1182
  containerRef: d,
1175
1183
  containerProps: b,
1176
1184
  onScroll: T,
1177
1185
  list: g,
1178
1186
  wrapperProps: p
1179
- } = Xe(n, {
1187
+ } = Je(a, {
1180
1188
  itemHeight: L(),
1181
1189
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1182
1190
  disabled: (s == null ? void 0 : s.multiple) || (s == null ? void 0 : s.virtualScroll) === !1 || (s == null ? void 0 : s.lazyLoadType) !== "none"
1183
- }), x = i(
1191
+ }), x = o(
1184
1192
  () => s.componentLoading !== void 0 || r.value ? "true" : void 0
1185
- ), D = i(
1193
+ ), R = o(
1186
1194
  () => r.value && s.loading || s.componentLoading ? "true" : "false"
1187
- ), B = i(
1195
+ ), B = o(
1188
1196
  () => r.value || s.componentLoading !== void 0 ? "polite" : void 0
1189
- ), I = i(
1197
+ ), I = o(
1190
1198
  () => ({
1191
1199
  "aria-label": s.ariaLabel,
1192
- "aria-busy": D.value,
1200
+ "aria-busy": R.value,
1193
1201
  "aria-atomic": x.value,
1194
1202
  "aria-live": B.value
1195
1203
  })
1196
- ), O = i(
1204
+ ), O = o(
1197
1205
  () => s.componentLoading ? {
1198
1206
  ...I.value,
1199
1207
  role: "alert"
@@ -1208,16 +1216,16 @@ const _e = qt.exports, Ht = {
1208
1216
  return;
1209
1217
  const V = Math.round(k.scrollTop) + k.clientHeight >= k.scrollHeight;
1210
1218
  s.hasMoreItems && V && !s.loading && m();
1211
- }), R = () => {
1219
+ }), D = () => {
1212
1220
  f.value ? y() : T();
1213
- }, P = i(() => {
1221
+ }, P = o(() => {
1214
1222
  var k;
1215
1223
  return ((k = s.items) == null ? void 0 : k.length) === 0;
1216
- }), E = i(
1224
+ }), E = o(
1217
1225
  () => s.lazyLoadType === K.BUTTON && s.hasMoreItems
1218
- ), A = i(
1226
+ ), A = o(
1219
1227
  () => s.loading ? fe.LOADING : fe.START
1220
- ), N = i(() => s.loading ? a("loading") : a("showMore")), Y = i(() => ({
1228
+ ), N = o(() => s.loading ? n("loading") : n("showMore")), Y = o(() => ({
1221
1229
  ...s.emptyState,
1222
1230
  variant: "condensed"
1223
1231
  })), U = {
@@ -1247,30 +1255,30 @@ const _e = qt.exports, Ht = {
1247
1255
  BentoKeyboardNavigationKeyDownEvent: $,
1248
1256
  BentoListboxEvent: c,
1249
1257
  // Methods
1250
- onListboxContainerScroll: R,
1258
+ onListboxContainerScroll: D,
1251
1259
  onOptionSelected: C,
1252
1260
  emitShowMore: m,
1253
1261
  listboxListeners: U
1254
1262
  };
1255
1263
  }
1256
1264
  });
1257
- var Jt = function() {
1265
+ var Zt = function() {
1258
1266
  var t;
1259
1267
  var e = this, l = e._self._c;
1260
- return e._self._setupProxy, l("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (t = e.containerProps) == null ? void 0 : t.style, attrs: { id: e.id, tabindex: "-1", "data-testid": "listbox-container" }, on: { scroll: e.onListboxContainerScroll } }, "div", e.listboxContainerAttributes, !1), [l("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? l("div", { staticClass: "b-listbox__loading-filtered-items" }, [l("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? l("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g(e._b({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(n, a) {
1261
- return { key: a, fn: function(r) {
1262
- return [e._t(a, null, null, r)];
1268
+ return e._self._setupProxy, l("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (t = e.containerProps) == null ? void 0 : t.style, attrs: { id: e.id, tabindex: "-1", "data-testid": "listbox-container" }, on: { scroll: e.onListboxContainerScroll } }, "div", e.listboxContainerAttributes, !1), [l("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? l("div", { staticClass: "b-listbox__loading-filtered-items" }, [l("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? l("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g(e._b({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
1269
+ return { key: n, fn: function(r) {
1270
+ return [e._t(n, null, null, r)];
1263
1271
  } };
1264
- })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(n, a) {
1265
- return { key: a, fn: function(r) {
1266
- return [e._t(a, null, null, r)];
1272
+ })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
1273
+ return { key: n, fn: function(r) {
1274
+ return [e._t(n, null, null, r)];
1267
1275
  } };
1268
- })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(n) {
1276
+ })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(a) {
1269
1277
  return e.emitShowMore.apply(null, arguments);
1270
1278
  } } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-indicator")], 1) : e._e()]], 2)]);
1271
1279
  }, Qt = [], es = /* @__PURE__ */ M(
1280
+ Xt,
1272
1281
  Zt,
1273
- Jt,
1274
1282
  Qt,
1275
1283
  !1,
1276
1284
  null,
@@ -1288,44 +1296,44 @@ const hs = es.exports, te = (s, e) => {
1288
1296
  }
1289
1297
  return null;
1290
1298
  }, ts = (s) => typeof s == "object" && s !== null && "value" in s && "label" in s, Cs = (s, e, l, t) => {
1291
- const n = S([]), a = S(), r = (b) => {
1292
- l.value ? a.value = b.map(({ value: T }) => T) : a.value = b.length > 0 ? b[0].value : null;
1299
+ const a = S([]), n = S(), r = (b) => {
1300
+ l.value ? n.value = b.map(({ value: T }) => T) : n.value = b.length > 0 ? b[0].value : null;
1293
1301
  }, f = (b) => {
1294
- l.value ? a.value = b.map(({ value: T, label: g }) => ({ value: T, label: g })) : a.value = b.length > 0 ? { value: b[0].value, label: b[0].label } : null;
1302
+ l.value ? n.value = b.map(({ value: T, label: g }) => ({ value: T, label: g })) : n.value = b.length > 0 ? { value: b[0].value, label: b[0].label } : null;
1295
1303
  }, L = (b) => {
1296
- n.value = b, t != null && t.value ? f(b) : r(b);
1304
+ a.value = b, t != null && t.value ? f(b) : r(b);
1297
1305
  }, d = () => {
1298
- n.value = [], a.value = null;
1306
+ a.value = [], n.value = null;
1299
1307
  };
1300
- return X(
1308
+ return J(
1301
1309
  () => e.value,
1302
1310
  () => {
1303
1311
  if (!e.value && e.value !== 0) {
1304
1312
  d();
1305
1313
  return;
1306
1314
  }
1307
- const b = !Array.isArray(e.value), T = [...n.value];
1315
+ const b = !Array.isArray(e.value), T = [...a.value];
1308
1316
  d();
1309
1317
  const g = (p) => {
1310
1318
  if (ts(p))
1311
- n.value.push(p);
1319
+ a.value.push(p);
1312
1320
  else {
1313
1321
  let x = te(s.value, p);
1314
- x || (x = te(T, p)), x || (x = { value: p, label: p.toString() }), n.value.push(x);
1322
+ x || (x = te(T, p)), x || (x = { value: p, label: p.toString() }), a.value.push(x);
1315
1323
  }
1316
1324
  };
1317
1325
  if (b) {
1318
1326
  const p = e.value;
1319
- g(p), t != null && t.value ? f(n.value) : r(n.value);
1327
+ g(p), t != null && t.value ? f(a.value) : r(a.value);
1320
1328
  return;
1321
1329
  }
1322
- e.value.forEach(g), t != null && t.value ? f(n.value) : r(n.value);
1330
+ e.value.forEach(g), t != null && t.value ? f(a.value) : r(a.value);
1323
1331
  },
1324
1332
  { immediate: !0 }
1325
1333
  ), {
1326
1334
  // Values
1327
- cachedSelectedListboxOptions: n,
1328
- cachedListboxSelectedValues: a,
1335
+ cachedSelectedListboxOptions: a,
1336
+ cachedListboxSelectedValues: n,
1329
1337
  // Methods
1330
1338
  resetCache: d,
1331
1339
  setCachedValues: L
@@ -1333,11 +1341,12 @@ const hs = es.exports, te = (s, e) => {
1333
1341
  };
1334
1342
  export {
1335
1343
  K as B,
1336
- ne as D,
1344
+ ut as C,
1345
+ ae as D,
1337
1346
  c as a,
1338
1347
  hs as b,
1339
1348
  Cs as c,
1340
1349
  he as d,
1341
1350
  Ut as u
1342
1351
  };
1343
- //# sourceMappingURL=use-cached-selected-values.DIKJ8yNE.js.map
1352
+ //# sourceMappingURL=use-cached-selected-values.gDWGi5Nk.js.map