@adyen/bento-vue2 1.31.1 → 1.32.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 (217) hide show
  1. package/dist/@types/components.d.ts +0 -2
  2. package/dist/@types/index.d.ts +4 -2
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/code-snippet.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/filter-bar.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/tag.css +1 -1
  20. package/dist/assets/use-cached-selected-values.css +1 -1
  21. package/dist/avatar.js +1 -1
  22. package/dist/button.js +4 -4
  23. package/dist/card.js +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chunks/{accordion-item.DmnrjNzw.js → accordion-item.CNYpvxwN.js} +2 -2
  26. package/dist/chunks/{accordion-item.DmnrjNzw.js.map → accordion-item.CNYpvxwN.js.map} +1 -1
  27. package/dist/chunks/{action-bar.B_0DvTPe.js → action-bar.Ds_ofJs6.js} +6 -6
  28. package/dist/chunks/{action-bar.B_0DvTPe.js.map → action-bar.Ds_ofJs6.js.map} +1 -1
  29. package/dist/chunks/{alert.CJyTM4Az.js → alert.Ba2hSVeM.js} +3 -3
  30. package/dist/chunks/{alert.CJyTM4Az.js.map → alert.Ba2hSVeM.js.map} +1 -1
  31. package/dist/chunks/{avatar.tSIC1ahz.js → avatar.DohItrb9.js} +2 -2
  32. package/dist/chunks/{avatar.tSIC1ahz.js.map → avatar.DohItrb9.js.map} +1 -1
  33. package/dist/chunks/{base-button.DER7_IsF.js → base-button.-qw8sZSY.js} +2 -2
  34. package/dist/chunks/{base-button.DER7_IsF.js.map → base-button.-qw8sZSY.js.map} +1 -1
  35. package/dist/chunks/{base-modal.ChqzRaIU.js → base-modal.B17Ib1QQ.js} +5 -5
  36. package/dist/chunks/{base-modal.ChqzRaIU.js.map → base-modal.B17Ib1QQ.js.map} +1 -1
  37. package/dist/chunks/{button-actions-with-menu.ZDejXKrX.js → button-actions-with-menu.K8p3AG8r.js} +4 -4
  38. package/dist/chunks/{button-actions-with-menu.ZDejXKrX.js.map → button-actions-with-menu.K8p3AG8r.js.map} +1 -1
  39. package/dist/chunks/{button-actions.BNTiClWe.js → button-actions.IJs0hN8c.js} +3 -3
  40. package/dist/chunks/{button-actions.BNTiClWe.js.map → button-actions.IJs0hN8c.js.map} +1 -1
  41. package/dist/chunks/{button.DhAUh5JA.js → button.qOf7CXY2.js} +3 -3
  42. package/dist/chunks/{button.DhAUh5JA.js.map → button.qOf7CXY2.js.map} +1 -1
  43. package/dist/chunks/{calendar.QEa4jeX-.js → calendar.etLGotqH.js} +4 -4
  44. package/dist/chunks/{calendar.QEa4jeX-.js.map → calendar.etLGotqH.js.map} +1 -1
  45. package/dist/chunks/{card.Bzc_8gg1.js → card.-BYuiE_X.js} +3 -3
  46. package/dist/chunks/{card.Bzc_8gg1.js.map → card.-BYuiE_X.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.BSOHcerG.js → checkbox-group.Bj9gURHB.js} +5 -5
  48. package/dist/chunks/{checkbox-group.BSOHcerG.js.map → checkbox-group.Bj9gURHB.js.map} +1 -1
  49. package/dist/chunks/{checkbox.BP2_1_qF.js → checkbox.CKQZXIR3.js} +4 -4
  50. package/dist/chunks/{checkbox.BP2_1_qF.js.map → checkbox.CKQZXIR3.js.map} +1 -1
  51. package/dist/chunks/{code-snippet.njEtbQlt.js → code-snippet.Dr7HvCcg.js} +37 -37
  52. package/dist/chunks/{code-snippet.njEtbQlt.js.map → code-snippet.Dr7HvCcg.js.map} +1 -1
  53. package/dist/chunks/{controls-group.Xc8GU6VO.js → controls-group.WoEXCpkM.js} +3 -3
  54. package/dist/chunks/{controls-group.Xc8GU6VO.js.map → controls-group.WoEXCpkM.js.map} +1 -1
  55. package/dist/chunks/{copy.9yVc8L5b.js → copy.CIuoE2VU.js} +3 -3
  56. package/dist/chunks/{copy.9yVc8L5b.js.map → copy.CIuoE2VU.js.map} +1 -1
  57. package/dist/chunks/{country.KayLT0zy.js → country.DeYdzMXh.js} +2 -2
  58. package/dist/chunks/{country.KayLT0zy.js.map → country.DeYdzMXh.js.map} +1 -1
  59. package/dist/chunks/{currency.H7n7RQiX.js → currency.Cfq_Yw2V.js} +2 -2
  60. package/dist/chunks/{currency.H7n7RQiX.js.map → currency.Cfq_Yw2V.js.map} +1 -1
  61. package/dist/chunks/{dashboard-section.COlHzwkB.js → dashboard-section.CKy3tW-3.js} +3 -3
  62. package/dist/chunks/{dashboard-section.COlHzwkB.js.map → dashboard-section.CKy3tW-3.js.map} +1 -1
  63. package/dist/chunks/{dashed-underline.C0lIPy0T.js → dashed-underline.OyLCDT1U.js} +4 -4
  64. package/dist/chunks/{dashed-underline.C0lIPy0T.js.map → dashed-underline.OyLCDT1U.js.map} +1 -1
  65. package/dist/chunks/{data-grid-template.D2pO9uS9.js → data-grid-template.CxaInpI8.js} +3 -3
  66. package/dist/chunks/{data-grid-template.D2pO9uS9.js.map → data-grid-template.CxaInpI8.js.map} +1 -1
  67. package/dist/chunks/{data-grid.VZ1STYt0.js → data-grid.Dsv60eRz.js} +501 -498
  68. package/dist/chunks/{data-grid.VZ1STYt0.js.map → data-grid.Dsv60eRz.js.map} +1 -1
  69. package/dist/chunks/{date-picker.MKbisqpp.js → date-picker.CZ34YMMu.js} +17 -17
  70. package/dist/chunks/{date-picker.MKbisqpp.js.map → date-picker.CZ34YMMu.js.map} +1 -1
  71. package/dist/chunks/{date-range-picker.5zSN9d5P.js → date-range-picker.C__cQBs3.js} +25 -25
  72. package/dist/chunks/{date-range-picker.5zSN9d5P.js.map → date-range-picker.C__cQBs3.js.map} +1 -1
  73. package/dist/chunks/{date.DKjxxR6P.js → date.DQaxR7TF.js} +2 -2
  74. package/dist/chunks/{date.DKjxxR6P.js.map → date.DQaxR7TF.js.map} +1 -1
  75. package/dist/chunks/{dialog-page.DAh0M4mT.js → dialog-page.Cc-XASGB.js} +31 -32
  76. package/dist/chunks/{dialog-page.DAh0M4mT.js.map → dialog-page.Cc-XASGB.js.map} +1 -1
  77. package/dist/chunks/{dropdown-default-textbox.Yx8EPd6W.js → dropdown-default-textbox.BM9qsdzQ.js} +2 -2
  78. package/dist/chunks/{dropdown-default-textbox.Yx8EPd6W.js.map → dropdown-default-textbox.BM9qsdzQ.js.map} +1 -1
  79. package/dist/chunks/{dropdown-tag.ChMjZXqI.js → dropdown-tag.DEqYdqVG.js} +6 -6
  80. package/dist/chunks/{dropdown-tag.ChMjZXqI.js.map → dropdown-tag.DEqYdqVG.js.map} +1 -1
  81. package/dist/chunks/{dropdown.D-9cUSSo.js → dropdown.Bn6SRkU5.js} +18 -18
  82. package/dist/chunks/{dropdown.D-9cUSSo.js.map → dropdown.Bn6SRkU5.js.map} +1 -1
  83. package/dist/chunks/{empty-state.BqVOj4v1.js → empty-state.CWy3y5Ly.js} +3 -3
  84. package/dist/chunks/{empty-state.BqVOj4v1.js.map → empty-state.CWy3y5Ly.js.map} +1 -1
  85. package/dist/chunks/{error-message.IjcYmSSd.js → error-message.epR1WJH2.js} +3 -3
  86. package/dist/chunks/{error-message.IjcYmSSd.js.map → error-message.epR1WJH2.js.map} +1 -1
  87. package/dist/chunks/{filter-bar.7nGTSoYh.js → filter-bar.Dcsv7a4q.js} +25 -25
  88. package/dist/chunks/filter-bar.Dcsv7a4q.js.map +1 -0
  89. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js → fixed-scroller.wvGW5A2g.js} +2 -2
  90. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js.map → fixed-scroller.wvGW5A2g.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.C8aAV7xl.js → footer-actions.B6Q5ybfw.js} +4 -4
  92. package/dist/chunks/{footer-actions.C8aAV7xl.js.map → footer-actions.B6Q5ybfw.js.map} +1 -1
  93. package/dist/chunks/{form-layout-title.BzNU0B72.js → form-layout-title.ChRqPBDL.js} +3 -3
  94. package/dist/chunks/{form-layout-title.BzNU0B72.js.map → form-layout-title.ChRqPBDL.js.map} +1 -1
  95. package/dist/chunks/{header.Z0INnUEd.js → header.jOE8ctvn.js} +5 -5
  96. package/dist/chunks/{header.Z0INnUEd.js.map → header.jOE8ctvn.js.map} +1 -1
  97. package/dist/chunks/{info-icon.BkVcFKkT.js → info-icon.DQI7sjBY.js} +2 -2
  98. package/dist/chunks/{info-icon.BkVcFKkT.js.map → info-icon.DQI7sjBY.js.map} +1 -1
  99. package/dist/chunks/{input-field.DMBpk8py.js → input-field.mEo-bCtk.js} +4 -4
  100. package/dist/chunks/{input-field.DMBpk8py.js.map → input-field.mEo-bCtk.js.map} +1 -1
  101. package/dist/chunks/{inspector.types.BbPF5hmc.js → inspector.types.l7r-FN49.js} +3 -3
  102. package/dist/chunks/{inspector.types.BbPF5hmc.js.map → inspector.types.l7r-FN49.js.map} +1 -1
  103. package/dist/chunks/{link.DJ1A53gF.js → link.CjFBXE3D.js} +2 -2
  104. package/dist/chunks/{link.DJ1A53gF.js.map → link.CjFBXE3D.js.map} +1 -1
  105. package/dist/chunks/{listbox-option-tag.cRJfigp-.js → listbox-option-tag.BXz3dHfF.js} +3 -3
  106. package/dist/chunks/{listbox-option-tag.cRJfigp-.js.map → listbox-option-tag.BXz3dHfF.js.map} +1 -1
  107. package/dist/chunks/{loading-button.CcYmeIl8.js → loading-button.Ba8So0d6.js} +2 -2
  108. package/dist/chunks/{loading-button.CcYmeIl8.js.map → loading-button.Ba8So0d6.js.map} +1 -1
  109. package/dist/chunks/{menu.C8ZmHcw8.js → menu.e-PrV4Wl.js} +5 -5
  110. package/dist/chunks/{menu.C8ZmHcw8.js.map → menu.e-PrV4Wl.js.map} +1 -1
  111. package/dist/chunks/{modal-fullscreen.CO8EYRRT.js → modal-fullscreen.PFFfWzPD.js} +5 -5
  112. package/dist/chunks/{modal-fullscreen.CO8EYRRT.js.map → modal-fullscreen.PFFfWzPD.js.map} +1 -1
  113. package/dist/chunks/{modal.DfjUKkg-.js → modal.DPrBUWDe.js} +6 -6
  114. package/dist/chunks/{modal.DfjUKkg-.js.map → modal.DPrBUWDe.js.map} +1 -1
  115. package/dist/chunks/{pagination.Cfx0W4Ol.js → pagination.CT08YpqC.js} +4 -4
  116. package/dist/chunks/{pagination.Cfx0W4Ol.js.map → pagination.CT08YpqC.js.map} +1 -1
  117. package/dist/chunks/{payment-method.D9Qx-s4V.js → payment-method.BnLkBqVQ.js} +2 -2
  118. package/dist/chunks/{payment-method.D9Qx-s4V.js.map → payment-method.BnLkBqVQ.js.map} +1 -1
  119. package/dist/chunks/{popover.BUB-a17X.js → popover.Du6UI6Yh.js} +4 -4
  120. package/dist/chunks/{popover.BUB-a17X.js.map → popover.Du6UI6Yh.js.map} +1 -1
  121. package/dist/chunks/{radio-group.BD2V4FKN.js → radio-group.D650KrHa.js} +5 -5
  122. package/dist/chunks/{radio-group.BD2V4FKN.js.map → radio-group.D650KrHa.js.map} +1 -1
  123. package/dist/chunks/{search-bar.TiQbXYj4.js → search-bar.hxEJk-w0.js} +2 -2
  124. package/dist/chunks/{search-bar.TiQbXYj4.js.map → search-bar.hxEJk-w0.js.map} +1 -1
  125. package/dist/chunks/{secondary-nav.DgAWiJMb.js → secondary-nav.Bsi7Dj0s.js} +3 -3
  126. package/dist/chunks/{secondary-nav.DgAWiJMb.js.map → secondary-nav.Bsi7Dj0s.js.map} +1 -1
  127. package/dist/chunks/{segmented-control.C05AwFnZ.js → segmented-control.BeXMVbce.js} +3 -3
  128. package/dist/chunks/{segmented-control.C05AwFnZ.js.map → segmented-control.BeXMVbce.js.map} +1 -1
  129. package/dist/chunks/{selection-card-group.DJlp94TC.js → selection-card-group.D5DRYhrw.js} +4 -4
  130. package/dist/chunks/{selection-card-group.DJlp94TC.js.map → selection-card-group.D5DRYhrw.js.map} +1 -1
  131. package/dist/chunks/{sidepanel.CS8HWC7H.js → sidepanel.DRP_jFVq.js} +5 -5
  132. package/dist/chunks/{sidepanel.CS8HWC7H.js.map → sidepanel.DRP_jFVq.js.map} +1 -1
  133. package/dist/chunks/{status.types.BhbOYpZx.js → status.types.CcGZuqg5.js} +2 -2
  134. package/dist/chunks/{status.types.BhbOYpZx.js.map → status.types.CcGZuqg5.js.map} +1 -1
  135. package/dist/chunks/{step.CZqxgAkd.js → step.RkChji1p.js} +3 -3
  136. package/dist/chunks/{step.CZqxgAkd.js.map → step.RkChji1p.js.map} +1 -1
  137. package/dist/chunks/{structured-list-item.8NE9UKBY.js → structured-list-item.BfEARGrz.js} +6 -6
  138. package/dist/chunks/{structured-list-item.8NE9UKBY.js.map → structured-list-item.BfEARGrz.js.map} +1 -1
  139. package/dist/chunks/{summary-grid-item-custom.Cl-LVb2n.js → summary-grid-item-custom.Cjv109f8.js} +5 -5
  140. package/dist/chunks/{summary-grid-item-custom.Cl-LVb2n.js.map → summary-grid-item-custom.Cjv109f8.js.map} +1 -1
  141. package/dist/chunks/{tabs.CE65f3E_.js → tabs.BLCcrVbI.js} +3 -3
  142. package/dist/chunks/{tabs.CE65f3E_.js.map → tabs.BLCcrVbI.js.map} +1 -1
  143. package/dist/chunks/{tag.B2o39TYl.js → tag.4Vqj8tm4.js} +4 -4
  144. package/dist/chunks/tag.4Vqj8tm4.js.map +1 -0
  145. package/dist/chunks/{textarea.DzUvpK3q.js → textarea.DM2Cwx14.js} +4 -4
  146. package/dist/chunks/{textarea.DzUvpK3q.js.map → textarea.DM2Cwx14.js.map} +1 -1
  147. package/dist/chunks/{timeline-item.BktaQxIY.js → timeline-item.B2c3eI3L.js} +9 -9
  148. package/dist/chunks/{timeline-item.BktaQxIY.js.map → timeline-item.B2c3eI3L.js.map} +1 -1
  149. package/dist/chunks/{toast.0EYDj8o-.js → toast.rrKNWeM6.js} +4 -4
  150. package/dist/chunks/{toast.0EYDj8o-.js.map → toast.rrKNWeM6.js.map} +1 -1
  151. package/dist/chunks/{toggle-button.2U-vbQhk.js → toggle-button.CBuKACw5.js} +2 -2
  152. package/dist/chunks/{toggle-button.2U-vbQhk.js.map → toggle-button.CBuKACw5.js.map} +1 -1
  153. package/dist/chunks/{toggle.CiOVTWlk.js → toggle.DtrStAja.js} +2 -2
  154. package/dist/chunks/{toggle.CiOVTWlk.js.map → toggle.DtrStAja.js.map} +1 -1
  155. package/dist/chunks/{tooltip.BmKdsFTL.js → tooltip.4f_qwm8o.js} +2 -2
  156. package/dist/chunks/{tooltip.BmKdsFTL.js.map → tooltip.4f_qwm8o.js.map} +1 -1
  157. package/dist/chunks/{tutorial.Cc58Yk8q.js → tutorial.DUjlu3SH.js} +5 -5
  158. package/dist/chunks/{tutorial.Cc58Yk8q.js.map → tutorial.DUjlu3SH.js.map} +1 -1
  159. package/dist/chunks/{typography.Bjtu3Gca.js → typography.CdCYtxYj.js} +1 -2
  160. package/dist/chunks/{typography.Bjtu3Gca.js.map → typography.CdCYtxYj.js.map} +1 -1
  161. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js → use-bento-toast-controller.C66wCsav.js} +2 -2
  162. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js.map → use-bento-toast-controller.C66wCsav.js.map} +1 -1
  163. package/dist/chunks/{use-cached-selected-values.DgARPcHp.js → use-cached-selected-values.DWQ8SMSi.js} +332 -328
  164. package/dist/chunks/use-cached-selected-values.DWQ8SMSi.js.map +1 -0
  165. package/dist/code-snippet.js +1 -1
  166. package/dist/country.js +1 -1
  167. package/dist/currency.js +1 -1
  168. package/dist/dashboard-template.js +1 -1
  169. package/dist/dashed-underline.js +1 -1
  170. package/dist/data-grid-template.js +1 -1
  171. package/dist/data-grid.js +1 -1
  172. package/dist/date-picker.js +2 -2
  173. package/dist/date-range-picker.js +2 -2
  174. package/dist/date.js +1 -1
  175. package/dist/dropdown.js +4 -4
  176. package/dist/empty-state.js +1 -1
  177. package/dist/filter-bar.js +1 -1
  178. package/dist/form-layout.js +1 -1
  179. package/dist/header.js +1 -1
  180. package/dist/index.js +63 -63
  181. package/dist/info-icon.js +1 -1
  182. package/dist/input-field.js +1 -1
  183. package/dist/inspector.js +1 -1
  184. package/dist/internal.js +8 -8
  185. package/dist/link.js +1 -1
  186. package/dist/menu.js +1 -1
  187. package/dist/modal-fullscreen.js +1 -1
  188. package/dist/modal.js +2 -2
  189. package/dist/pagination.js +1 -1
  190. package/dist/payment-method.js +1 -1
  191. package/dist/popover.js +1 -1
  192. package/dist/radio-group.js +1 -1
  193. package/dist/search-bar.js +2 -2
  194. package/dist/secondary-nav.js +1 -1
  195. package/dist/segmented-control.js +1 -1
  196. package/dist/selection-card.js +1 -1
  197. package/dist/sidepanel.js +1 -1
  198. package/dist/status.js +1 -1
  199. package/dist/stepper.js +1 -1
  200. package/dist/structured-list.js +1 -1
  201. package/dist/summary-grid.js +1 -1
  202. package/dist/tabs.js +1 -1
  203. package/dist/tag.js +1 -1
  204. package/dist/textarea.js +1 -1
  205. package/dist/timeline.js +1 -1
  206. package/dist/toast.js +1 -1
  207. package/dist/toggle.js +1 -1
  208. package/dist/tutorial.js +1 -1
  209. package/dist/typography.js +1 -1
  210. package/dist/web-types.json +1 -45
  211. package/package.json +3 -3
  212. package/dist/assets/badge.css +0 -1
  213. package/dist/badge.js +0 -57
  214. package/dist/badge.js.map +0 -1
  215. package/dist/chunks/filter-bar.7nGTSoYh.js.map +0 -1
  216. package/dist/chunks/tag.B2o39TYl.js.map +0 -1
  217. package/dist/chunks/use-cached-selected-values.DgARPcHp.js.map +0 -1
@@ -1,26 +1,26 @@
1
- import { computed as i, ref as I, onMounted as te, onUnmounted as _e, watch as se, defineComponent as $, toRef as V } from "vue";
2
- import { B as M } from "./typography.Bjtu3Gca.js";
1
+ import { computed as c, ref as O, onMounted as te, onUnmounted as _e, watch as se, defineComponent as $, toRef as G } from "vue";
2
+ import { B as w } from "./typography.CdCYtxYj.js";
3
3
  import { B as ge } from "./loading-indicator.DXc7I1Lm.js";
4
- import { B as ye } from "./empty-state.BqVOj4v1.js";
4
+ import { B as ye } from "./empty-state.CWy3y5Ly.js";
5
5
  import { u as Y } from "./i18n.BQkEbtPM.js";
6
6
  import { d as pe } from "./debounce.DUTu11PS.js";
7
7
  import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
8
  import { B as k, a as X } from "./keyboard-navigation.Clz1jOaA.js";
9
- import { B as Z } from "./checkbox.BP2_1_qF.js";
9
+ import { B as Z } from "./checkbox.CKQZXIR3.js";
10
10
  import "./index.Cl4_42j5.js";
11
- import { C as Se, a as Ce } from "./chevron-up.B2uWhZf7.js";
12
- import { B as he } from "./base-button.DER7_IsF.js";
11
+ import { C as Ce, a as Se } from "./chevron-up.B2uWhZf7.js";
12
+ import { B as he } from "./base-button.-qw8sZSY.js";
13
13
  import { C as xe } from "./cross-small.BLUwtRB-.js";
14
- import { B as Ee, a as J } from "./loading-button.CcYmeIl8.js";
14
+ import { B as Ee, a as J } from "./loading-button.Ba8So0d6.js";
15
15
  import { o as Le } from "./resize.Bqks3WUm.js";
16
16
  import "../assets/use-cached-selected-values.css";
17
17
  const le = (t, e, s, l) => {
18
- const n = i(
18
+ const n = c(
19
19
  () => {
20
- var r, u;
21
- return !!((r = t.value) != null && r.length) && ((u = t.value) == null ? void 0 : u.length) === e.value.length;
20
+ var r, b;
21
+ return !!((r = t.value) != null && r.length) && ((b = t.value) == null ? void 0 : b.length) === e.value.length;
22
22
  }
23
- ), a = i(() => {
23
+ ), a = c(() => {
24
24
  var r;
25
25
  return t.value == null || t.value.length === 0 ? !1 : ((r = t.value) == null ? void 0 : r.length) !== e.value.length;
26
26
  });
@@ -33,84 +33,84 @@ const le = (t, e, s, l) => {
33
33
  };
34
34
  };
35
35
  function Oe(t, { disabled: e, itemHeight: s, overscan: l = 5, prefixHeight: n }) {
36
- const a = I(null), v = I([]), r = I(0), u = I(0), d = I(0);
37
- let S;
38
- const x = i(() => {
39
- const p = typeof s == "number" ? t.value.length * s : t.value.reduce((T, f, C) => T + s(C), 0), O = typeof s == "number" ? r.value * s : t.value.slice(0, r.value).reduce((T, f, C) => T + s(C), 0);
36
+ const a = O(null), i = O([]), r = O(0), b = O(0), m = O(0);
37
+ let E;
38
+ const p = c(() => {
39
+ const _ = typeof s == "number" ? t.value.length * s : t.value.reduce((L, f, h) => L + s(h), 0), C = typeof s == "number" ? r.value * s : t.value.slice(0, r.value).reduce((L, f, h) => L + s(h), 0);
40
40
  return {
41
41
  style: {
42
- marginTop: `${O}px`,
43
- height: `${p - O}px`
42
+ marginTop: `${C}px`,
43
+ height: `${_ - C}px`
44
44
  }
45
45
  };
46
- }), E = () => {
47
- const p = (n == null ? void 0 : n.value) ?? 0, O = Math.max(a.value.scrollTop - p, 0);
46
+ }), S = () => {
47
+ const _ = (n == null ? void 0 : n.value) ?? 0, C = Math.max(a.value.scrollTop - _, 0);
48
48
  if (typeof s == "number")
49
- return Math.floor(O / s);
50
- let T = 0, f = 0;
51
- for (let C = 0; C < t.value.length; C += 1) {
52
- const B = s(C);
53
- if (T += B, T >= O) {
54
- f = C;
49
+ return Math.floor(C / s);
50
+ let L = 0, f = 0;
51
+ for (let h = 0; h < t.value.length; h += 1) {
52
+ const A = s(h);
53
+ if (L += A, L >= C) {
54
+ f = h;
55
55
  break;
56
56
  }
57
57
  }
58
58
  return f;
59
59
  }, R = () => {
60
- if (d.value = a.value.clientHeight, typeof s == "number")
61
- return Math.ceil(d.value / s);
62
- const p = r.value ?? 0;
63
- let O = 0, T = 0;
64
- for (let f = p; f < t.value.length; f += 1) {
65
- const C = s(f);
66
- if (O += C, T = f, O > d.value)
60
+ if (m.value = a.value.clientHeight, typeof s == "number")
61
+ return Math.ceil(m.value / s);
62
+ const _ = r.value ?? 0;
63
+ let C = 0, L = 0;
64
+ for (let f = _; f < t.value.length; f += 1) {
65
+ const h = s(f);
66
+ if (C += h, L = f, C > m.value)
67
67
  break;
68
68
  }
69
- return T - p;
70
- }, b = () => {
69
+ return L - _;
70
+ }, T = () => {
71
71
  if (a.value) {
72
- const p = R();
73
- r.value = E(), u.value = Math.min(r.value + p + l, t.value.length), v.value = t.value.slice(r.value, u.value);
72
+ const _ = R();
73
+ r.value = S(), b.value = Math.min(r.value + _ + l, t.value.length), i.value = t.value.slice(r.value, b.value);
74
74
  }
75
- }, L = () => {
76
- b();
75
+ }, B = () => {
76
+ T();
77
77
  };
78
78
  e || (te(() => {
79
- a.value && (d.value = a.value.clientHeight, S = Le(a.value, ({ clientHeight: p }) => {
80
- d.value = p, b();
81
- }), b());
79
+ a.value && (m.value = a.value.clientHeight, E = Le(a.value, ({ clientHeight: _ }) => {
80
+ m.value = _, T();
81
+ }), T());
82
82
  }), _e(() => {
83
- S == null || S.disconnect();
83
+ E == null || E.disconnect();
84
84
  }), se(
85
85
  () => t.value,
86
86
  () => {
87
- b();
87
+ T();
88
88
  }
89
89
  ));
90
- const y = {
90
+ const u = {
91
91
  ref: a,
92
92
  style: { overflowY: "auto" }
93
93
  };
94
94
  return e ? {
95
95
  containerRef: a,
96
- containerProps: y,
96
+ containerProps: u,
97
97
  // eslint-disable-next-line @typescript-eslint/no-empty-function
98
98
  onScroll: () => {
99
99
  },
100
100
  list: t
101
101
  } : {
102
102
  containerRef: a,
103
- containerProps: y,
104
- onScroll: L,
105
- list: v,
106
- wrapperProps: x
103
+ containerProps: u,
104
+ onScroll: B,
105
+ list: i,
106
+ wrapperProps: p
107
107
  };
108
108
  }
109
- var o = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(o || {}), w = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(w || {});
109
+ var o = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(o || {}), M = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(M || {});
110
110
  const Te = $({
111
111
  name: "bento-listbox-static-category",
112
112
  components: {
113
- BentoTypography: M
113
+ BentoTypography: w
114
114
  },
115
115
  props: {
116
116
  /**
@@ -147,7 +147,7 @@ const Re = Be.exports, ke = $({
147
147
  },
148
148
  emits: [o.CLICK, o.ENTER, o.SPACE, o.TAB],
149
149
  setup(t, { emit: e }) {
150
- const s = i(() => ({
150
+ const s = c(() => ({
151
151
  "b-listbox-option--disabled": t.disabled,
152
152
  "b-listbox-option--selected": t.selected
153
153
  }));
@@ -161,8 +161,8 @@ const Re = Be.exports, ke = $({
161
161
  onClick: (a) => {
162
162
  e(o.CLICK, a);
163
163
  },
164
- onOptionSelected: (a, v) => {
165
- e(a, v);
164
+ onOptionSelected: (a, i) => {
165
+ e(a, i);
166
166
  }
167
167
  };
168
168
  }
@@ -191,13 +191,13 @@ const Pe = {
191
191
  this.uuid = Q.toString(), Q += 1;
192
192
  }
193
193
  };
194
- var we = function() {
194
+ var Me = function() {
195
195
  var e = this, s = e._self._c;
196
196
  return s("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"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
197
- }, Me = [], Fe = /* @__PURE__ */ D(
197
+ }, we = [], Fe = /* @__PURE__ */ D(
198
198
  Pe,
199
- we,
200
199
  Me,
200
+ we,
201
201
  !1,
202
202
  null,
203
203
  null
@@ -206,7 +206,7 @@ const Ge = Fe.exports, Ue = $({
206
206
  name: "bento-listbox-single-select-option",
207
207
  components: {
208
208
  BentoListboxOption: q,
209
- BentoTypography: M,
209
+ BentoTypography: w,
210
210
  CheckmarkIcon: Ge
211
211
  },
212
212
  props: {
@@ -229,9 +229,9 @@ const Ge = Fe.exports, Ue = $({
229
229
  },
230
230
  emits: [o.ENTER, o.SELECT, o.SPACE, o.TAB],
231
231
  setup(t, { emit: e }) {
232
- const s = (v) => {
233
- t.disabled || e(v, t.option);
234
- }, l = i(() => t.disabled ? !0 : null), n = i(() => t.selected ? !0 : null), a = i(() => t.disabled ? -1 : 0);
232
+ const s = (i) => {
233
+ t.disabled || e(i, t.option);
234
+ }, l = c(() => t.disabled ? !0 : null), n = c(() => t.selected ? !0 : null), a = c(() => t.disabled ? -1 : 0);
235
235
  return {
236
236
  // Values
237
237
  ariaDisabled: l,
@@ -251,7 +251,7 @@ var ze = function() {
251
251
  }, "enter-pressed": function(l) {
252
252
  return e.onOptionSelected(e.BentoListboxEvent.ENTER);
253
253
  }, "space-pressed": function(l) {
254
- return e.onOptionSelected(e.BentoListboxEvent.SPACE);
254
+ return l.preventDefault(), e.onOptionSelected(e.BentoListboxEvent.SPACE);
255
255
  }, "tab-pressed": function(l) {
256
256
  return e.onOptionSelected(e.BentoListboxEvent.TAB);
257
257
  } } }, [e._t("default", function() {
@@ -263,45 +263,47 @@ var ze = function() {
263
263
  Ve,
264
264
  !1,
265
265
  null,
266
- "7b6a8f1e"
266
+ "5a5ff36a"
267
267
  );
268
- const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e }, s) => {
269
- const l = i(() => t.value.length - 1), n = I(0);
268
+ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e, hasStaticCategories: s }, l) => {
269
+ const n = c(
270
+ () => s.value ? t.value.flatMap((u) => u.items) : t.value
271
+ ), a = c(() => n.value.length - 1), i = O(0);
270
272
  te(() => {
271
- e && (n.value = t.value.findIndex((b) => !e(b)));
273
+ e && (i.value = t.value.findIndex((u) => !e(u)));
272
274
  });
273
- const a = (b) => !e || !!e && e(t.value[b]), v = (b) => !e || !!e && !e(t.value[b]), r = (b) => {
274
- switch (b) {
275
+ const r = (u) => !e || !!e && e(t.value[u]), b = (u) => !e || !!e && !e(t.value[u]), m = (u) => {
276
+ switch (u) {
275
277
  case "increase":
276
- n.value += 1;
278
+ i.value += 1;
277
279
  break;
278
280
  case "decrease":
279
- n.value -= 1;
281
+ i.value -= 1;
280
282
  break;
281
283
  }
282
- }, u = ({ edgeCaseItem: b, isItemBeforeEdgeCaseItem: L }, y, p) => {
283
- n.value !== b && (L ? v(b) && r(p) : (r(p), a(n.value) && y()), s(n.value));
284
- }, d = (b) => {
285
- var y;
286
- (y = b == null ? void 0 : b.detail) == null || y.preventDefault();
287
- const L = n.value === l.value - 2;
288
- u(
284
+ }, E = ({ edgeCaseItem: u, isItemBeforeEdgeCaseItem: _ }, C, L) => {
285
+ i.value !== u && (_ ? b(u) && m(L) : (m(L), r(i.value) && C()), l(i.value));
286
+ }, p = (u) => {
287
+ var C;
288
+ (C = u == null ? void 0 : u.detail) == null || C.preventDefault();
289
+ const _ = i.value === a.value - 2;
290
+ E(
289
291
  {
290
- isItemBeforeEdgeCaseItem: L,
291
- edgeCaseItem: l.value
292
+ isItemBeforeEdgeCaseItem: _,
293
+ edgeCaseItem: a.value
292
294
  },
293
- d,
295
+ p,
294
296
  "increase"
295
297
  /* INCREASE */
296
298
  );
297
- }, S = (b) => {
298
- var y;
299
- (y = b == null ? void 0 : b.detail) == null || y.preventDefault();
300
- const L = n.value === 1;
301
- u(
299
+ }, S = (u) => {
300
+ var C;
301
+ (C = u == null ? void 0 : u.detail) == null || C.preventDefault();
302
+ const _ = i.value === 1;
303
+ E(
302
304
  {
303
305
  edgeCaseItem: 0,
304
- isItemBeforeEdgeCaseItem: L
306
+ isItemBeforeEdgeCaseItem: _
305
307
  },
306
308
  S,
307
309
  "decrease"
@@ -310,15 +312,15 @@ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e }, s) => {
310
312
  };
311
313
  return {
312
314
  moveToFirstElement: () => {
313
- n.value = 0, a(n.value) ? d() : s(n.value);
315
+ i.value = 0, r(i.value) ? p() : l(i.value);
314
316
  },
315
317
  moveToLastElement: () => {
316
- n.value = l.value, a(n.value) ? S() : s(n.value);
318
+ i.value = a.value, r(i.value) ? S() : l(i.value);
317
319
  },
318
- moveToNextElement: d,
320
+ moveToNextElement: p,
319
321
  moveToPreviousElement: S,
320
- setListboxFocusedIndex: (b) => {
321
- n.value = b;
322
+ setListboxFocusedIndex: (u) => {
323
+ i.value = u;
322
324
  }
323
325
  };
324
326
  }, We = $({
@@ -370,29 +372,30 @@ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e }, s) => {
370
372
  },
371
373
  emits: [o.SELECT, o.ENTER, o.SPACE, o.TAB],
372
374
  setup(t, { emit: e, expose: s, slots: l }) {
373
- const n = I([]), a = i(() => {
374
- var y;
375
- return !!((y = t.selectedValue) != null && y.length) && t.selectedValue.at(0);
376
- }), v = i(() => !!t.items.some(({ items: y }) => !!y)), r = (y) => (p) => {
377
- e(y, [p]);
378
- }, u = (y) => n.value[y].$el.focus(), {
379
- moveToNextElement: d,
380
- moveToPreviousElement: S,
381
- moveToFirstElement: x,
382
- moveToLastElement: E,
375
+ const n = O([]), a = c(() => {
376
+ var u;
377
+ return !!((u = t.selectedValue) != null && u.length) && t.selectedValue.at(0);
378
+ }), i = c(() => !!t.items.some(({ items: u }) => !!u)), r = (u) => (_) => {
379
+ e(u, [_]);
380
+ }, b = (u) => n.value[u].$el.focus(), {
381
+ moveToNextElement: m,
382
+ moveToPreviousElement: E,
383
+ moveToFirstElement: p,
384
+ moveToLastElement: S,
383
385
  setListboxFocusedIndex: R
384
386
  } = ne(
385
387
  {
386
- items: V(t, "items"),
387
- isOptionDisabled: t.isOptionDisabled
388
+ items: G(t, "items"),
389
+ isOptionDisabled: t.isOptionDisabled,
390
+ hasStaticCategories: G(t, "staticCategories")
388
391
  },
389
- u
390
- ), b = {
391
- [k.ARROW_UP]: S,
392
- [k.ARROW_DOWN]: d,
393
- [k.HOME]: x,
394
- [k.END]: E
395
- }, L = {
392
+ b
393
+ ), T = {
394
+ [k.ARROW_UP]: E,
395
+ [k.ARROW_DOWN]: m,
396
+ [k.HOME]: p,
397
+ [k.END]: S
398
+ }, B = {
396
399
  [o.SELECT]: r(o.SELECT),
397
400
  [o.SPACE]: r(o.SPACE),
398
401
  [o.TAB]: r(o.TAB),
@@ -417,12 +420,12 @@ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e }, s) => {
417
420
  selectedItem: a,
418
421
  slots: l,
419
422
  // Computed
420
- hasCategories: v,
423
+ hasCategories: i,
421
424
  // Methods
422
425
  onOptionSelected: r,
423
426
  // Keyboard navigation
424
- listboxListeners: b,
425
- listboxOptionListeners: L
427
+ listboxListeners: T,
428
+ listboxOptionListeners: B
426
429
  };
427
430
  }
428
431
  });
@@ -430,16 +433,16 @@ var Ke = function() {
430
433
  var e = this, s = e._self._c;
431
434
  return e._self._setupProxy, s("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }] }, e.listboxListeners), [e.hasCategories && e.staticCategories ? e._l(e.items, function(l) {
432
435
  return s("bento-listbox-single-select-category", { key: l.value, attrs: { "category-label": l.label, role: "group" } }, e._l(l.items, function(n) {
433
- return s("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, v) {
434
- return { key: v, fn: function(r) {
435
- return [e._t(v, null, null, r)];
436
+ return s("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, i) {
437
+ return { key: i, fn: function(r) {
438
+ return [e._t(i, null, null, r)];
436
439
  } };
437
440
  })], null, !0) }, e.listboxOptionListeners));
438
441
  }), 1);
439
442
  }) : e._l(e.items, function(l) {
440
443
  return s("bento-listbox-single-select-option", e._g({ key: l.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: l, disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null, selected: l.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(n, a) {
441
- return { key: a, fn: function(v) {
442
- return [e._t(a, null, null, v)];
444
+ return { key: a, fn: function(i) {
445
+ return [e._t(a, null, null, i)];
443
446
  } };
444
447
  })], null, !0) }, e.listboxOptionListeners));
445
448
  })], 2);
@@ -452,7 +455,7 @@ var Ke = function() {
452
455
  null
453
456
  );
454
457
  const Xe = He.exports;
455
- var j = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.STATIC_CATEGORY = "static-category", t))(j || {}), U = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.UNSELECT_CATEGORY = "unselect-category", t))(U || {});
458
+ var j = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.STATIC_CATEGORY = "static-category", t))(j || {}), z = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.UNSELECT_CATEGORY = "unselect-category", t))(z || {});
456
459
  const Ze = {
457
460
  "en-US": {
458
461
  categoryClosed: "{category} closed",
@@ -463,10 +466,10 @@ const Ze = {
463
466
  name: "bento-listbox-multi-select-category",
464
467
  components: {
465
468
  BentoCheckbox: Z,
466
- BentoTypography: M,
469
+ BentoTypography: w,
467
470
  BentoListboxOption: q,
468
- ChevronDownIcon: Se,
469
- ChevronUpIcon: Ce
471
+ ChevronDownIcon: Ce,
472
+ ChevronUpIcon: Se
470
473
  },
471
474
  props: {
472
475
  /**
@@ -507,67 +510,67 @@ const Ze = {
507
510
  */
508
511
  staticCategories: { type: Boolean, default: !1 }
509
512
  },
510
- emits: [U.SELECT_CATEGORY, U.UNSELECT_CATEGORY],
513
+ emits: [z.SELECT_CATEGORY, z.UNSELECT_CATEGORY],
511
514
  setup(t, { emit: e }) {
512
- const s = I(!1), { t: l } = Y(), n = (f) => t.isOptionDisabled ? t.isOptionDisabled(f) : !1, a = i(
515
+ const s = O(!1), { t: l } = Y(), n = (f) => t.isOptionDisabled ? t.isOptionDisabled(f) : !1, a = c(
513
516
  () => t.category.items.every((f) => n(f))
514
- ), v = V(t, "staticCategories"), r = i(() => s.value || t.staticCategories), u = i(() => ({
517
+ ), i = G(t, "staticCategories"), r = c(() => s.value || t.staticCategories), b = c(() => ({
515
518
  [`b-listbox-multi-select-category--${j.DISABLED}`]: a.value,
516
519
  [`b-listbox-multi-select-category--${j.STATIC_CATEGORY}`]: t.staticCategories
517
- })), d = (f) => {
520
+ })), m = (f) => {
518
521
  f.preventDefault(), s.value = !s.value;
519
- }, S = (f) => {
522
+ }, E = (f) => {
520
523
  var F;
521
- const C = n(f), B = ((F = t.selectedItemsList) == null ? void 0 : F.includes(f.value)) || !1;
522
- return { isDisabled: C, isPreSelected: B };
523
- }, x = i(
524
+ const h = n(f), A = ((F = t.selectedItemsList) == null ? void 0 : F.includes(f.value)) || !1;
525
+ return { isDisabled: h, isPreSelected: A };
526
+ }, p = c(
524
527
  () => t.category.items.filter((f) => {
525
- const { isDisabled: C, isPreSelected: B } = S(f);
526
- return C && B || !C;
528
+ const { isDisabled: h, isPreSelected: A } = E(f);
529
+ return h && A || !h;
527
530
  })
528
- ), E = i(
531
+ ), S = c(
529
532
  () => {
530
533
  var f;
531
- return (f = x.value) == null ? void 0 : f.filter(
532
- ({ value: C }) => {
533
- var B;
534
- return (B = t.selectedItemsList) == null ? void 0 : B.includes(C);
534
+ return (f = p.value) == null ? void 0 : f.filter(
535
+ ({ value: h }) => {
536
+ var A;
537
+ return (A = t.selectedItemsList) == null ? void 0 : A.includes(h);
535
538
  }
536
539
  );
537
540
  }
538
- ), R = i(() => {
541
+ ), R = c(() => {
539
542
  const f = s.value ? "categoryOpened" : "categoryClosed";
540
543
  return l(f, { category: t.category.label });
541
- }), b = i(
544
+ }), T = c(
542
545
  () => ({
543
546
  el: "span",
544
547
  variant: t.staticCategories ? "caption" : "body"
545
548
  })
546
- ), L = () => {
547
- e(U.SELECT_CATEGORY);
548
- }, y = () => {
549
- e(U.UNSELECT_CATEGORY);
550
- }, { isAllSelected: p, isIndeterminate: O, toggleSelectAll: T } = le(
551
- E,
552
- x,
553
- L,
554
- y
549
+ ), B = () => {
550
+ e(z.SELECT_CATEGORY);
551
+ }, u = () => {
552
+ e(z.UNSELECT_CATEGORY);
553
+ }, { isAllSelected: _, isIndeterminate: C, toggleSelectAll: L } = le(
554
+ S,
555
+ p,
556
+ B,
557
+ u
555
558
  );
556
559
  return {
557
560
  // Values
558
561
  chevronTitle: R,
559
- conditionalClass: u,
562
+ conditionalClass: b,
560
563
  hasAllPropsDisabled: a,
561
564
  isOpen: s,
562
- isAllSelected: p,
563
- isIndeterminate: O,
564
- isStaticCategory: v,
565
+ isAllSelected: _,
566
+ isIndeterminate: C,
567
+ isStaticCategory: i,
565
568
  // Computed
566
569
  showItemChildren: r,
567
- categoryLabelProps: b,
570
+ categoryLabelProps: T,
568
571
  // Methods
569
- toggleOpen: d,
570
- toggleSelectAll: T
572
+ toggleOpen: m,
573
+ toggleSelectAll: L
571
574
  };
572
575
  }
573
576
  });
@@ -591,7 +594,7 @@ const lt = $({
591
594
  components: {
592
595
  BentoCheckbox: Z,
593
596
  BentoListboxOption: q,
594
- BentoTypography: M,
597
+ BentoTypography: w,
595
598
  ListboxMultiSelectCategory: st
596
599
  },
597
600
  props: {
@@ -655,19 +658,19 @@ const lt = $({
655
658
  P.UNSELECT_CATEGORY
656
659
  ],
657
660
  setup(t, { emit: e }) {
658
- const s = (u) => {
659
- e(P.TOGGLE_CHECKBOX_SELECTION, u);
660
- }, l = (u) => !!u.items, n = (u) => {
661
- const d = t.isMultiLevel && t.searching;
662
- return u.description && (!t.isMultiLevel || d);
663
- }, a = (u) => u.items ? !!u.items.find((d) => t.selectedItemsList.includes(d.value)) : t.selectedItemsList.includes(u.value), v = (u, d) => {
664
- if (l(d))
665
- return e(u ? P.SELECT_CATEGORY : P.UNSELECT_CATEGORY, d);
666
- s(d.value);
661
+ const s = (b) => {
662
+ e(P.TOGGLE_CHECKBOX_SELECTION, b);
663
+ }, l = (b) => !!b.items, n = (b) => {
664
+ const m = t.isMultiLevel && t.searching;
665
+ return b.description && (!t.isMultiLevel || m);
666
+ }, a = (b) => b.items ? !!b.items.find((m) => t.selectedItemsList.includes(m.value)) : t.selectedItemsList.includes(b.value), i = (b, m) => {
667
+ if (l(m))
668
+ return e(b ? P.SELECT_CATEGORY : P.UNSELECT_CATEGORY, m);
669
+ s(m.value);
667
670
  };
668
671
  return {
669
672
  // Values
670
- conditionalClasses: i(() => ({
673
+ conditionalClasses: c(() => ({
671
674
  "b-listbox-multi-select-options__static-category-option": t.staticCategories,
672
675
  "b-listbox-multi-select-options__category-option": t.categoryItems
673
676
  })),
@@ -675,7 +678,7 @@ const lt = $({
675
678
  isOptionSelected: a,
676
679
  shouldShowDescription: n,
677
680
  toggleCheckboxSelection: s,
678
- selectSearch: v,
681
+ selectSearch: i,
679
682
  // Enums
680
683
  BentoListboxEvent: o,
681
684
  ListboxMultiSelectOptionsEvent: P
@@ -737,7 +740,7 @@ const it = ot.exports, ct = {
737
740
  emits: ["unselect-item", "unselect-category"],
738
741
  setup(t, { emit: e }) {
739
742
  const { t: s } = Y();
740
- return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: M, BaseButton: he, CrossSmallIcon: xe };
743
+ return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: w, BaseButton: he, CrossSmallIcon: xe };
741
744
  }
742
745
  });
743
746
  var dt = function() {
@@ -765,10 +768,10 @@ const vt = mt.exports, ft = {
765
768
  selectAll: "Select all ({total})"
766
769
  }
767
770
  }, _t = (t) => {
768
- const e = i(() => {
771
+ const e = c(() => {
769
772
  var l;
770
773
  return !!((l = t.value) != null && l.find(({ items: n }) => !!n));
771
- }), s = i(() => {
774
+ }), s = c(() => {
772
775
  var l;
773
776
  return e.value ? (l = t.value) == null ? void 0 : l.reduce((n, a) => (a.items ? n.push(...a.items.flat()) : n.push(a), n), []) : t.value;
774
777
  });
@@ -782,7 +785,7 @@ const vt = mt.exports, ft = {
782
785
  components: {
783
786
  BentoCheckbox: Z,
784
787
  BentoListboxOption: q,
785
- BentoTypography: M,
788
+ BentoTypography: w,
786
789
  ListboxMultiSelectOptions: it,
787
790
  ListboxMultiSelectChips: vt
788
791
  },
@@ -823,8 +826,8 @@ const vt = mt.exports, ft = {
823
826
  */
824
827
  lazyLoadType: {
825
828
  type: String,
826
- default: w.NONE,
827
- validator: (t) => Object.values(w).includes(t)
829
+ default: M.NONE,
830
+ validator: (t) => Object.values(M).includes(t)
828
831
  },
829
832
  /**
830
833
  * Flag that indicates that an external search it's being made
@@ -848,107 +851,108 @@ const vt = mt.exports, ft = {
848
851
  },
849
852
  emits: [o.SELECT],
850
853
  setup(t, { emit: e, slots: s }) {
851
- const { t: l } = Y(), n = I(null), a = I(null), v = I(null), r = i(
852
- () => t.selectedValues.map(({ value: c }) => c)
853
- ), { isMultiLevelSelect: u, flattenedItemsList: d } = _t(V(t, "items")), S = (c) => {
854
- var h;
855
- const m = t.isOptionDisabled(c), _ = ((h = r.value) == null ? void 0 : h.includes(c.value)) || !1;
856
- return { isDisabled: m, isPreSelected: _ };
857
- }, x = i(() => {
858
- if (t.searching && u)
854
+ const { t: l } = Y(), n = O(null), a = O(null), i = O(null), r = c(
855
+ () => t.selectedValues.map(({ value: d }) => d)
856
+ ), { isMultiLevelSelect: b, flattenedItemsList: m } = _t(G(t, "items")), E = (d) => {
857
+ var x;
858
+ const v = t.isOptionDisabled(d), g = ((x = r.value) == null ? void 0 : x.includes(d.value)) || !1;
859
+ return { isDisabled: v, isPreSelected: g };
860
+ }, p = c(() => {
861
+ if (t.searching && b)
859
862
  return t.items;
860
- const c = d.value.filter((m) => {
861
- const { isDisabled: _, isPreSelected: h } = S(m);
862
- return _ && h || !_;
863
+ const d = m.value.filter((v) => {
864
+ const { isDisabled: g, isPreSelected: x } = E(v);
865
+ return g && x || !g;
863
866
  });
864
- return t.selectedValues.forEach((m) => {
865
- c.find((_) => _.value === m.value) || c.push(m);
866
- }), c;
867
- }), E = i(
867
+ return t.selectedValues.forEach((v) => {
868
+ d.find((g) => g.value === v.value) || d.push(v);
869
+ }), d;
870
+ }), S = c(
868
871
  () => {
869
- var c;
870
- return (c = x.value) == null ? void 0 : c.filter((m) => {
871
- var _;
872
- return m.items && u.value && t.searching ? m.items.filter(
873
- (g) => (t.selectedValues ?? []).includes(g.value)
874
- ).length === m.items.length : (_ = r.value) == null ? void 0 : _.includes(m.value);
872
+ var d;
873
+ return (d = p.value) == null ? void 0 : d.filter((v) => {
874
+ var g;
875
+ return v.items && b.value && t.searching ? v.items.filter(
876
+ (y) => (t.selectedValues ?? []).includes(y.value)
877
+ ).length === v.items.length : (g = r.value) == null ? void 0 : g.includes(v.value);
875
878
  });
876
879
  }
877
- ), R = () => u.value && !t.searching ? d.value.length : t.items.length, b = i(() => {
878
- var h;
879
- const c = x.value.length, m = R(), _ = ((h = E.value) == null ? void 0 : h.length) || 0;
880
- return _ === 0 ? l("selectAll", { total: c }) : _ === m ? l("allSelected", { total: m }) : _ <= m ? l("numberOfTotalSelected", { number: _, total: m }) : l("numbersSelected", { number: _ });
881
- }), L = (c) => {
882
- const m = (h) => {
883
- const { isDisabled: g, isPreSelected: N } = S(h);
884
- return g && N || !g;
885
- }, _ = c.filter(m).filter((h) => !r.value.includes(h.value));
886
- e(o.SELECT, [...t.selectedValues, ..._]);
887
- }, y = (c) => {
888
- const m = (g) => {
889
- const { isDisabled: N, isPreSelected: fe } = S(g);
880
+ ), R = () => b.value && !t.searching ? m.value.length : t.items.length, T = c(() => {
881
+ var x;
882
+ const d = p.value.length, v = R(), g = ((x = S.value) == null ? void 0 : x.length) || 0;
883
+ return g === 0 ? l("selectAll", { total: d }) : g === v ? l("allSelected", { total: v }) : g <= v ? l("numberOfTotalSelected", { number: g, total: v }) : l("numbersSelected", { number: g });
884
+ }), B = (d) => {
885
+ const v = (x) => {
886
+ const { isDisabled: y, isPreSelected: N } = E(x);
887
+ return y && N || !y;
888
+ }, g = d.filter(v).filter((x) => !r.value.includes(x.value));
889
+ e(o.SELECT, [...t.selectedValues, ...g]);
890
+ }, u = (d) => {
891
+ const v = (y) => {
892
+ const { isDisabled: N, isPreSelected: fe } = E(y);
890
893
  return !(N && fe);
891
- }, _ = c.filter(m).map(({ value: g }) => g), h = t.selectedValues.filter((g) => !(_ != null && _.includes(g.value)));
892
- e(o.SELECT, h);
893
- }, p = () => {
894
- L(d.value);
895
- }, O = () => {
896
- y(d.value);
897
- }, { isAllSelected: T, isIndeterminate: f, toggleSelectAll: C } = le(
898
- E,
899
- x,
894
+ }, g = d.filter(v).map(({ value: y }) => y), x = t.selectedValues.filter((y) => !(g != null && g.includes(y.value)));
895
+ e(o.SELECT, x);
896
+ }, _ = () => {
897
+ B(m.value);
898
+ }, C = () => {
899
+ u(m.value);
900
+ }, { isAllSelected: L, isIndeterminate: f, toggleSelectAll: h } = le(
901
+ S,
900
902
  p,
901
- O
902
- ), B = (c) => {
903
- L(c.items);
904
- }, F = (c) => {
905
- y(c.items);
906
- }, W = (c, m) => {
907
- let _ = !1;
908
- const h = t.selectedValues.filter(({ value: g }) => m.value === g ? (_ = !0, !1) : !0);
909
- _ || h.push(m), e(c, h);
910
- }, z = i(() => {
911
- if (!u.value)
903
+ _,
904
+ C
905
+ ), A = (d) => {
906
+ B(d.items);
907
+ }, F = (d) => {
908
+ u(d.items);
909
+ }, W = (d, v) => {
910
+ let g = !1;
911
+ const x = t.selectedValues.filter(({ value: y }) => v.value === y ? (g = !0, !1) : !0);
912
+ g || x.push(v), e(d, x);
913
+ }, V = c(() => {
914
+ if (!b.value)
912
915
  return t.selectedValues;
913
- const c = (g) => r.value.includes(g.value), m = (g) => !t.staticCategories && g.every((N) => c(N));
916
+ const d = (y) => r.value.includes(y.value), v = (y) => !t.staticCategories && y.every((N) => d(N));
914
917
  return t.items.flatMap(
915
- (g) => g.items && !m(g.items) ? g.items : g
916
- ).filter((g) => g.items ? !0 : c(g));
917
- }), K = i(() => {
918
- var _, h, g, N;
919
- const c = ["automatic", "button"].includes(t.lazyLoadType), m = ((_ = t.selectedValues) == null ? void 0 : _.length) > 0 && ((h = E.value) == null ? void 0 : h.length) !== ((g = d.value) == null ? void 0 : g.length);
920
- return c && t.hasMoreItems ? !!((N = t.selectedValues) != null && N.length) : m;
921
- }), A = i(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), G = i(
918
+ (y) => y.items && !v(y.items) ? y.items : y
919
+ ).filter((y) => y.items ? !0 : d(y));
920
+ }), K = c(() => {
921
+ var g, x, y, N;
922
+ const d = ["automatic", "button"].includes(t.lazyLoadType), v = ((g = t.selectedValues) == null ? void 0 : g.length) > 0 && ((x = S.value) == null ? void 0 : x.length) !== ((y = m.value) == null ? void 0 : y.length);
923
+ return d && t.hasMoreItems ? !!((N = t.selectedValues) != null && N.length) : v;
924
+ }), I = c(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), U = c(
922
925
  () => n.value ? [n.value] : []
923
- ), ae = i(
926
+ ), ae = c(
924
927
  () => {
925
- var c, m;
926
- return (m = (c = a.value) == null ? void 0 : c.$children) != null && m.length ? a.value.$children : [];
928
+ var d, v;
929
+ return (v = (d = a.value) == null ? void 0 : d.$children) != null && v.length ? a.value.$children : [];
927
930
  }
928
- ), oe = i(
931
+ ), oe = c(
929
932
  () => {
930
- var c, m;
931
- return (m = (c = v.value) == null ? void 0 : c.$children) != null && m.length ? v.value.$children : [];
933
+ var d, v;
934
+ return (v = (d = i.value) == null ? void 0 : d.$children) != null && v.length ? i.value.$children : [];
932
935
  }
933
- ), ie = i(() => ({ label: b, value: T })), ce = i(() => [
936
+ ), ie = c(() => ({ label: T, value: L })), ce = c(() => [
934
937
  ie,
935
- ...z.value,
936
- ...d.value
937
- ]), re = (c) => {
938
+ ...V.value,
939
+ ...m.value
940
+ ]), re = (d) => {
938
941
  [
939
- ...G.value,
942
+ ...U.value,
940
943
  ...ae.value,
941
944
  ...oe.value
942
- ][c].$el.focus();
945
+ ][d].$el.focus();
943
946
  }, { moveToNextElement: ue, moveToPreviousElement: de, moveToFirstElement: be, moveToLastElement: me } = ne(
944
947
  {
945
- items: I(ce),
946
- isOptionDisabled: t.isOptionDisabled
948
+ items: O(ce),
949
+ isOptionDisabled: t.isOptionDisabled,
950
+ hasStaticCategories: G(t, "staticCategories")
947
951
  },
948
952
  re
949
953
  ), ve = {
950
- [k.ARROW_UP]: (c) => de(c),
951
- [k.ARROW_DOWN]: (c) => ue(c),
954
+ [k.ARROW_UP]: (d) => de(d),
955
+ [k.ARROW_DOWN]: (d) => ue(d),
952
956
  [k.HOME]: be,
953
957
  [k.END]: me
954
958
  };
@@ -956,24 +960,24 @@ const vt = mt.exports, ft = {
956
960
  // Refs
957
961
  selectAllListboxItemsRef: n,
958
962
  selectedListboxItemsRef: a,
959
- listboxItemsRef: v,
963
+ listboxItemsRef: i,
960
964
  // Values
961
- isAllSelected: T,
965
+ isAllSelected: L,
962
966
  showSelectedItems: K,
963
967
  isIndeterminate: f,
964
- isMultiLevelSelect: u,
965
- flattenedItemsList: d,
968
+ isMultiLevelSelect: b,
969
+ flattenedItemsList: m,
966
970
  selectedItemsList: r,
967
- selectAllCheckboxText: b,
968
- selectedOptions: z,
969
- showSelectAllCheckbox: A,
971
+ selectAllCheckboxText: T,
972
+ selectedOptions: V,
973
+ showSelectAllCheckbox: I,
970
974
  slots: s,
971
975
  // Enums
972
976
  BentoListboxEvent: o,
973
977
  // Methods
974
- selectAllCategory: B,
978
+ selectAllCategory: A,
975
979
  toggleCheckboxSelection: W,
976
- toggleSelectAll: C,
980
+ toggleSelectAll: h,
977
981
  unselectAllCategory: F,
978
982
  // Events
979
983
  listboxListeners: ve
@@ -997,15 +1001,15 @@ var yt = function() {
997
1001
  return [e._t(n, null, null, a)];
998
1002
  } };
999
1003
  })], null, !0) })], 1);
1000
- }, pt = [], St = /* @__PURE__ */ D(
1004
+ }, pt = [], Ct = /* @__PURE__ */ D(
1001
1005
  gt,
1002
1006
  yt,
1003
1007
  pt,
1004
1008
  !1,
1005
1009
  null,
1006
- "99f17c3c"
1010
+ "38dead9f"
1007
1011
  );
1008
- const ee = St.exports, Ct = {
1012
+ const ee = Ct.exports, St = {
1009
1013
  "en-US": {
1010
1014
  showMore: "Show more",
1011
1015
  loading: "Loading"
@@ -1016,12 +1020,12 @@ const ee = St.exports, Ct = {
1016
1020
  BentoEmptyState: ye,
1017
1021
  BentoListboxSingleSelect: Xe,
1018
1022
  BentoListboxMultiSelect: ee,
1019
- BentoTypography: M,
1023
+ BentoTypography: w,
1020
1024
  BentoLoadingIndicator: ge,
1021
1025
  BentoLoadingButton: Ee
1022
1026
  },
1023
1027
  directives: { BentoKeyboardNavigationDirective: X },
1024
- i18n: { messages: Ct },
1028
+ i18n: { messages: St },
1025
1029
  props: {
1026
1030
  /**
1027
1031
  * Defines a string value that labels an interactive element.
@@ -1077,8 +1081,8 @@ const ee = St.exports, Ct = {
1077
1081
  */
1078
1082
  lazyLoadType: {
1079
1083
  type: String,
1080
- default: w.NONE,
1081
- validator: (t) => Object.values(w).includes(t)
1084
+ default: M.NONE,
1085
+ validator: (t) => Object.values(M).includes(t)
1082
1086
  },
1083
1087
  /**
1084
1088
  * If enabled, the user will be able to select multiple items.
@@ -1126,78 +1130,78 @@ const ee = St.exports, Ct = {
1126
1130
  o.TAB
1127
1131
  ],
1128
1132
  setup(t, { emit: e, slots: s }) {
1129
- const l = I([]), n = V(t, "items"), { t: a } = Y(), v = i(() => t.lazyLoadType !== w.AUTOMATIC), r = i(() => t.lazyLoadType === w.AUTOMATIC), u = () => {
1130
- var A;
1131
- return typeof (t == null ? void 0 : t.virtualScroll) == "object" && ((A = t == null ? void 0 : t.virtualScroll) != null && A.itemHeight) ? t.virtualScroll.itemHeight : ht;
1133
+ const l = O([]), n = G(t, "items"), { t: a } = Y(), i = c(() => t.lazyLoadType !== M.AUTOMATIC), r = c(() => t.lazyLoadType === M.AUTOMATIC), b = () => {
1134
+ var I;
1135
+ return typeof (t == null ? void 0 : t.virtualScroll) == "object" && ((I = t == null ? void 0 : t.virtualScroll) != null && I.itemHeight) ? t.virtualScroll.itemHeight : ht;
1132
1136
  }, {
1133
- containerRef: d,
1134
- containerProps: S,
1135
- onScroll: x,
1136
- list: E,
1137
+ containerRef: m,
1138
+ containerProps: E,
1139
+ onScroll: p,
1140
+ list: S,
1137
1141
  wrapperProps: R
1138
1142
  } = Oe(n, {
1139
- itemHeight: u(),
1143
+ itemHeight: b(),
1140
1144
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1141
1145
  disabled: (t == null ? void 0 : t.multiple) || (t == null ? void 0 : t.virtualScroll) === !1 || (t == null ? void 0 : t.lazyLoadType) !== "none"
1142
- }), b = i(
1143
- () => v.value ? "true" : void 0
1144
- ), L = i(
1145
- () => v.value && t.loading ? "true" : "false"
1146
- ), y = i(
1147
- () => v.value ? "polite" : void 0
1148
- ), p = (A) => (G) => {
1149
- e(A, G);
1150
- }, O = () => {
1146
+ }), T = c(
1147
+ () => i.value ? "true" : void 0
1148
+ ), B = c(
1149
+ () => i.value && t.loading ? "true" : "false"
1150
+ ), u = c(
1151
+ () => i.value ? "polite" : void 0
1152
+ ), _ = (I) => (U) => {
1153
+ e(I, U);
1154
+ }, C = () => {
1151
1155
  e(o.SHOW_MORE);
1152
- }, T = pe(() => {
1153
- const A = d.value;
1154
- if (!A)
1156
+ }, L = pe(() => {
1157
+ const I = m.value;
1158
+ if (!I)
1155
1159
  return;
1156
- const G = Math.round(A.scrollTop) + A.clientHeight >= A.scrollHeight;
1157
- t.hasMoreItems && G && !t.loading && O();
1160
+ const U = Math.round(I.scrollTop) + I.clientHeight >= I.scrollHeight;
1161
+ t.hasMoreItems && U && !t.loading && C();
1158
1162
  }), f = () => {
1159
- r.value ? T() : x();
1160
- }, C = i(() => {
1161
- var A;
1162
- return t.searching && ((A = t.items) == null ? void 0 : A.length) === 0;
1163
- }), B = i(
1164
- () => t.lazyLoadType === w.BUTTON && t.hasMoreItems
1165
- ), F = i(
1163
+ r.value ? L() : p();
1164
+ }, h = c(() => {
1165
+ var I;
1166
+ return ((I = t.items) == null ? void 0 : I.length) === 0;
1167
+ }), A = c(
1168
+ () => t.lazyLoadType === M.BUTTON && t.hasMoreItems
1169
+ ), F = c(
1166
1170
  () => t.loading ? J.LOADING : J.START
1167
- ), W = i(() => t.loading ? a("loading") : a("showMore")), z = i(() => ({
1171
+ ), W = c(() => t.loading ? a("loading") : a("showMore")), V = c(() => ({
1168
1172
  ...t.emptyState,
1169
1173
  variant: "condensed"
1170
1174
  })), K = {
1171
- [o.SELECT]: p(o.SELECT),
1172
- [o.SPACE]: p(o.SPACE),
1173
- [o.TAB]: p(o.TAB),
1174
- [o.ENTER]: p(o.ENTER)
1175
+ [o.SELECT]: _(o.SELECT),
1176
+ [o.SPACE]: _(o.SPACE),
1177
+ [o.TAB]: _(o.TAB),
1178
+ [o.ENTER]: _(o.ENTER)
1175
1179
  };
1176
1180
  return {
1177
1181
  // Refs
1178
- listboxRef: d,
1182
+ listboxRef: m,
1179
1183
  listboxItemRef: l,
1180
1184
  // a11y
1181
- ariaAtomic: b,
1182
- ariaBusy: L,
1183
- ariaLive: y,
1185
+ ariaAtomic: T,
1186
+ ariaBusy: B,
1187
+ ariaLive: u,
1184
1188
  // Values
1185
- containerProps: S,
1186
- isSearchResultEmpty: C,
1187
- limitedEmptyStateProps: z,
1189
+ containerProps: E,
1190
+ isSearchResultEmpty: h,
1191
+ limitedEmptyStateProps: V,
1188
1192
  loadingButtonState: F,
1189
1193
  slots: s,
1190
- shouldDisplayShowMoreButton: B,
1194
+ shouldDisplayShowMoreButton: A,
1191
1195
  showMoreButtonText: W,
1192
- virtualisedItems: E,
1196
+ virtualisedItems: S,
1193
1197
  wrapperProps: R,
1194
1198
  // Enums
1195
1199
  BentoKeyboardNavigationKeyDownEvent: k,
1196
1200
  BentoListboxEvent: o,
1197
1201
  // Methods
1198
1202
  onListboxContainerScroll: f,
1199
- onOptionSelected: p,
1200
- emitShowMore: O,
1203
+ onOptionSelected: _,
1204
+ emitShowMore: C,
1201
1205
  listboxListeners: K
1202
1206
  };
1203
1207
  }
@@ -1221,7 +1225,7 @@ var Et = function() {
1221
1225
  Lt,
1222
1226
  !1,
1223
1227
  null,
1224
- "28929030"
1228
+ "23d9e786"
1225
1229
  );
1226
1230
  const zt = Ot.exports, H = (t, e) => {
1227
1231
  for (const s of t) {
@@ -1232,10 +1236,10 @@ const zt = Ot.exports, H = (t, e) => {
1232
1236
  }
1233
1237
  return null;
1234
1238
  }, Vt = (t, e, s) => {
1235
- const l = I([]), n = I(), a = (u) => {
1236
- n.value = s.value ? u.map(({ value: d }) => d) : u[0].value;
1237
- }, v = (u) => {
1238
- l.value = u, a(u);
1239
+ const l = O([]), n = O(), a = (b) => {
1240
+ n.value = s.value ? b.map(({ value: m }) => m) : b[0].value;
1241
+ }, i = (b) => {
1242
+ l.value = b, a(b);
1239
1243
  }, r = () => {
1240
1244
  l.value = [], n.value = null;
1241
1245
  };
@@ -1246,18 +1250,18 @@ const zt = Ot.exports, H = (t, e) => {
1246
1250
  r();
1247
1251
  return;
1248
1252
  }
1249
- const u = !Array.isArray(e.value), d = [...l.value];
1253
+ const b = !Array.isArray(e.value), m = [...l.value];
1250
1254
  r();
1251
- const S = (x) => {
1252
- let E = H(t.value, x);
1253
- E || (E = H(d, x)), E || (E = x.toString()), l.value.push({ value: x, label: E });
1255
+ const E = (p) => {
1256
+ let S = H(t.value, p);
1257
+ S || (S = H(m, p)), S || (S = p.toString()), l.value.push({ value: p, label: S });
1254
1258
  };
1255
- if (u) {
1256
- const x = e.value;
1257
- S(x), a(l.value);
1259
+ if (b) {
1260
+ const p = e.value;
1261
+ E(p), a(l.value);
1258
1262
  return;
1259
1263
  }
1260
- e.value.forEach(S), a(l.value);
1264
+ e.value.forEach(E), a(l.value);
1261
1265
  },
1262
1266
  { immediate: !0 }
1263
1267
  ), {
@@ -1266,14 +1270,14 @@ const zt = Ot.exports, H = (t, e) => {
1266
1270
  cachedListboxSelectedValues: n,
1267
1271
  // Methods
1268
1272
  resetCache: r,
1269
- setCachedValues: v
1273
+ setCachedValues: i
1270
1274
  };
1271
1275
  };
1272
1276
  export {
1273
- w as B,
1277
+ M as B,
1274
1278
  o as a,
1275
1279
  zt as b,
1276
1280
  Vt as c,
1277
1281
  _t as u
1278
1282
  };
1279
- //# sourceMappingURL=use-cached-selected-values.DgARPcHp.js.map
1283
+ //# sourceMappingURL=use-cached-selected-values.DWQ8SMSi.js.map