@adyen/bento-vue3 1.52.0 → 1.53.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 (202) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +474 -75
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/checkbox.css +1 -1
  9. package/dist/assets/dashed-underline.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/dropdown.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/filter-bar.css +1 -1
  15. package/dist/assets/header-with-views.css +1 -0
  16. package/dist/assets/input-field-password.css +1 -1
  17. package/dist/assets/inspector.css +1 -1
  18. package/dist/assets/menu.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/popover.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/assets/summary-grid-item-custom.css +1 -1
  23. package/dist/assets/use-cached-selected-values.css +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chunks/{action-bar.eo5EXYmg.js → action-bar.PIz6tShf.js} +4 -4
  26. package/dist/chunks/{action-bar.eo5EXYmg.js.map → action-bar.PIz6tShf.js.map} +1 -1
  27. package/dist/chunks/{base-modal.BlC6TZNz.js → base-modal.D4INiJGX.js} +3 -3
  28. package/dist/chunks/{base-modal.BlC6TZNz.js.map → base-modal.D4INiJGX.js.map} +1 -1
  29. package/dist/chunks/bin.CA6UQCNZ.js +37 -0
  30. package/dist/chunks/bin.CA6UQCNZ.js.map +1 -0
  31. package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js → button-actions-with-menu.DFD7gbdT.js} +4 -4
  32. package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js.map → button-actions-with-menu.DFD7gbdT.js.map} +1 -1
  33. package/dist/chunks/{calendar.D2X834TU.js → calendar.DKHNrb9_.js} +2 -2
  34. package/dist/chunks/{calendar.D2X834TU.js.map → calendar.DKHNrb9_.js.map} +1 -1
  35. package/dist/chunks/{checkbox-group.BVJfN48k.js → checkbox-group.X2fi2jkS.js} +4 -4
  36. package/dist/chunks/{checkbox-group.BVJfN48k.js.map → checkbox-group.X2fi2jkS.js.map} +1 -1
  37. package/dist/chunks/{checkbox.erdZ58Kk.js → checkbox.CXZQtFhM.js} +81 -74
  38. package/dist/chunks/checkbox.CXZQtFhM.js.map +1 -0
  39. package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
  40. package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
  41. package/dist/chunks/{code-snippet.Bb4_r0C8.js → code-snippet.CcdsPxT7.js} +5 -5
  42. package/dist/chunks/{code-snippet.Bb4_r0C8.js.map → code-snippet.CcdsPxT7.js.map} +1 -1
  43. package/dist/chunks/{controls-group.BaDhGB9H.js → controls-group.ClMNznTz.js} +2 -2
  44. package/dist/chunks/{controls-group.BaDhGB9H.js.map → controls-group.ClMNznTz.js.map} +1 -1
  45. package/dist/chunks/{copy.gmSTAqHY.js → copy.BYG9aoNO.js} +2 -2
  46. package/dist/chunks/{copy.gmSTAqHY.js.map → copy.BYG9aoNO.js.map} +1 -1
  47. package/dist/chunks/{dashboard-section.MAHmbUDG.js → dashboard-section.Dz9GpOvy.js} +3 -3
  48. package/dist/chunks/{dashboard-section.MAHmbUDG.js.map → dashboard-section.Dz9GpOvy.js.map} +1 -1
  49. package/dist/chunks/{dashed-underline.DY8xR9GH.js → dashed-underline.BuCIjMch.js} +11 -11
  50. package/dist/chunks/{dashed-underline.DY8xR9GH.js.map → dashed-underline.BuCIjMch.js.map} +1 -1
  51. package/dist/chunks/{data-grid-template.Dievz913.js → data-grid-template.B4jxtwoW.js} +2 -2
  52. package/dist/chunks/{data-grid-template.Dievz913.js.map → data-grid-template.B4jxtwoW.js.map} +1 -1
  53. package/dist/chunks/{data-grid.KZqjmRvk.js → data-grid.CLu8mvil.js} +29 -17
  54. package/dist/chunks/data-grid.CLu8mvil.js.map +1 -0
  55. package/dist/chunks/{date-picker.BWJYkSmo.js → date-picker.CA2i6QxD.js} +17 -17
  56. package/dist/chunks/{date-picker.BWJYkSmo.js.map → date-picker.CA2i6QxD.js.map} +1 -1
  57. package/dist/chunks/{date-range-picker.1Vbf9Zk8.js → date-range-picker.DVQ-j-JX.js} +25 -25
  58. package/dist/chunks/{date-range-picker.1Vbf9Zk8.js.map → date-range-picker.DVQ-j-JX.js.map} +1 -1
  59. package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
  60. package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
  61. package/dist/chunks/{dropdown-tag.C9nM0YHC.js → dropdown-tag.DFWV7Zj_.js} +3 -3
  62. package/dist/chunks/{dropdown-tag.C9nM0YHC.js.map → dropdown-tag.DFWV7Zj_.js.map} +1 -1
  63. package/dist/chunks/{dropdown.qw5oXFYs.js → dropdown.RVt9T6j5.js} +115 -105
  64. package/dist/chunks/dropdown.RVt9T6j5.js.map +1 -0
  65. package/dist/chunks/{error-message.DAjisbU1.js → error-message.BQ5MlnLg.js} +2 -2
  66. package/dist/chunks/{error-message.DAjisbU1.js.map → error-message.BQ5MlnLg.js.map} +1 -1
  67. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  68. package/dist/chunks/{file-uploader.BLJpDgAZ.js → file-uploader.DJLGEmtF.js} +464 -475
  69. package/dist/chunks/file-uploader.DJLGEmtF.js.map +1 -0
  70. package/dist/chunks/{filter-bar.DYrXBQDF.js → filter-bar.GGHRoo6O.js} +492 -486
  71. package/dist/chunks/filter-bar.GGHRoo6O.js.map +1 -0
  72. package/dist/chunks/{focus-trap.DMgm-9f7.js → focus-trap.D-HSKa_Q.js} +2 -2
  73. package/dist/chunks/{focus-trap.DMgm-9f7.js.map → focus-trap.D-HSKa_Q.js.map} +1 -1
  74. package/dist/chunks/header-with-views.BkcFu7QW.js +2354 -0
  75. package/dist/chunks/header-with-views.BkcFu7QW.js.map +1 -0
  76. package/dist/chunks/{header.BASKzNwu.js → header.CyTcPWF4.js} +3 -3
  77. package/dist/chunks/{header.BASKzNwu.js.map → header.CyTcPWF4.js.map} +1 -1
  78. package/dist/chunks/index.C5sL_d0I.js +386 -0
  79. package/dist/chunks/{index.CMGT-6mh.js.map → index.C5sL_d0I.js.map} +1 -1
  80. package/dist/chunks/{info-icon-with-popover.BJccyOFx.js → info-icon-with-popover.DgZh2mnN.js} +2 -2
  81. package/dist/chunks/{info-icon-with-popover.BJccyOFx.js.map → info-icon-with-popover.DgZh2mnN.js.map} +1 -1
  82. package/dist/chunks/{info-icon.L8AexnZg.js → info-icon.DxOAiUg4.js} +2 -2
  83. package/dist/chunks/{info-icon.L8AexnZg.js.map → info-icon.DxOAiUg4.js.map} +1 -1
  84. package/dist/chunks/{input-field-password.CZNUHo6s.js → input-field-password.BSJMbPHf.js} +94 -90
  85. package/dist/chunks/input-field-password.BSJMbPHf.js.map +1 -0
  86. package/dist/chunks/{input-field-phone-number.D1zlBh3R.js → input-field-phone-number.BtRMkC84.js} +3 -3
  87. package/dist/chunks/{input-field-phone-number.D1zlBh3R.js.map → input-field-phone-number.BtRMkC84.js.map} +1 -1
  88. package/dist/chunks/{input-field.DqMdqM2u.js → input-field.CRlXtS3z.js} +3 -3
  89. package/dist/chunks/{input-field.DqMdqM2u.js.map → input-field.CRlXtS3z.js.map} +1 -1
  90. package/dist/chunks/{inspector.types.Dwt3V80X.js → inspector.types.s0va--Nn.js} +3 -3
  91. package/dist/chunks/{inspector.types.Dwt3V80X.js.map → inspector.types.s0va--Nn.js.map} +1 -1
  92. package/dist/chunks/{layout-row.Drm_y8e3.js → layout-row.CwwbWO7s.js} +2 -2
  93. package/dist/chunks/{layout-row.Drm_y8e3.js.map → layout-row.CwwbWO7s.js.map} +1 -1
  94. package/dist/chunks/{listbox-option-tag.YSvtcy4P.js → listbox-option-tag.2k0hRv0z.js} +2 -2
  95. package/dist/chunks/{listbox-option-tag.YSvtcy4P.js.map → listbox-option-tag.2k0hRv0z.js.map} +1 -1
  96. package/dist/chunks/{menu.DfzP2nRU.js → menu.DBRBVdsd.js} +106 -105
  97. package/dist/chunks/menu.DBRBVdsd.js.map +1 -0
  98. package/dist/chunks/{modal-fullscreen.T1x_vroe.js → modal-fullscreen.POY-6qYC.js} +2 -2
  99. package/dist/chunks/{modal-fullscreen.T1x_vroe.js.map → modal-fullscreen.POY-6qYC.js.map} +1 -1
  100. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js} +2 -2
  101. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js.map → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js.map} +1 -1
  102. package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
  103. package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
  104. package/dist/chunks/{pagination.Bt8DNme-.js → pagination.TWtayPVy.js} +2 -2
  105. package/dist/chunks/{pagination.Bt8DNme-.js.map → pagination.TWtayPVy.js.map} +1 -1
  106. package/dist/chunks/{popover.COzLcAET.js → popover.BBnUL5Y_.js} +2 -2
  107. package/dist/chunks/{popover.COzLcAET.js.map → popover.BBnUL5Y_.js.map} +1 -1
  108. package/dist/chunks/{popper-container.CEtaux25.js → popper-container.Be3h7X17.js} +2 -2
  109. package/dist/chunks/{popper-container.CEtaux25.js.map → popper-container.Be3h7X17.js.map} +1 -1
  110. package/dist/chunks/{promo-banner.BCpw2tDD.js → promo-banner.BdaUFMsl.js} +2 -2
  111. package/dist/chunks/{promo-banner.BCpw2tDD.js.map → promo-banner.BdaUFMsl.js.map} +1 -1
  112. package/dist/chunks/{radio-group.rxg-4rF_.js → radio-group.BUazlUAi.js} +4 -4
  113. package/dist/chunks/{radio-group.rxg-4rF_.js.map → radio-group.BUazlUAi.js.map} +1 -1
  114. package/dist/chunks/{search-bar.DlihXfPt.js → search-bar.21CWuOHb.js} +3 -3
  115. package/dist/chunks/{search-bar.DlihXfPt.js.map → search-bar.21CWuOHb.js.map} +1 -1
  116. package/dist/chunks/{secondary-nav.D2loVonk.js → secondary-nav.CUQi4Ybt.js} +3 -3
  117. package/dist/chunks/{secondary-nav.D2loVonk.js.map → secondary-nav.CUQi4Ybt.js.map} +1 -1
  118. package/dist/chunks/{segmented-control.Wn-miTIl.js → segmented-control.BZJ9DzRF.js} +2 -2
  119. package/dist/chunks/{segmented-control.Wn-miTIl.js.map → segmented-control.BZJ9DzRF.js.map} +1 -1
  120. package/dist/chunks/{selection-card-group.CtQaeZFM.js → selection-card-group.Bdrx1b6M.js} +4 -4
  121. package/dist/chunks/{selection-card-group.CtQaeZFM.js.map → selection-card-group.Bdrx1b6M.js.map} +1 -1
  122. package/dist/chunks/{sidepanel.CjaHQEin.js → sidepanel.D_bGUcyi.js} +3 -3
  123. package/dist/chunks/{sidepanel.CjaHQEin.js.map → sidepanel.D_bGUcyi.js.map} +1 -1
  124. package/dist/chunks/{structured-list-item.DAwADFpI.js → structured-list-item.r1jYiX6Y.js} +4 -4
  125. package/dist/chunks/{structured-list-item.DAwADFpI.js.map → structured-list-item.r1jYiX6Y.js.map} +1 -1
  126. package/dist/chunks/{summary-grid-item-custom.DTCzOBBy.js → summary-grid-item-custom.ACP0RH0N.js} +299 -198
  127. package/dist/chunks/summary-grid-item-custom.ACP0RH0N.js.map +1 -0
  128. package/dist/chunks/{tag.B1hW92hG.js → tag.DVkBzXMx.js} +2 -2
  129. package/dist/chunks/{tag.B1hW92hG.js.map → tag.DVkBzXMx.js.map} +1 -1
  130. package/dist/chunks/{teleport.B1NhF5-O.js → teleport.DfTpEQBR.js} +2 -2
  131. package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.DfTpEQBR.js.map} +1 -1
  132. package/dist/chunks/{textarea.DMA29yQA.js → textarea.C8R71Q4l.js} +2 -2
  133. package/dist/chunks/{textarea.DMA29yQA.js.map → textarea.C8R71Q4l.js.map} +1 -1
  134. package/dist/chunks/{timeline-item.kWg3dTy1.js → timeline-item.DBeAlt3N.js} +4 -4
  135. package/dist/chunks/{timeline-item.kWg3dTy1.js.map → timeline-item.DBeAlt3N.js.map} +1 -1
  136. package/dist/chunks/{tooltip.Y730-n-n.js → tooltip.Cbs_YIap.js} +2 -2
  137. package/dist/chunks/{tooltip.Y730-n-n.js.map → tooltip.Cbs_YIap.js.map} +1 -1
  138. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js} +4 -4
  139. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js.map → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js.map} +1 -1
  140. package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js → use-cached-selected-values.Chb18cq_.js} +145 -136
  141. package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js.map → use-cached-selected-values.Chb18cq_.js.map} +1 -1
  142. package/dist/click-outside.js +1 -1
  143. package/dist/code-snippet.js +1 -1
  144. package/dist/dashboard-template.js +1 -1
  145. package/dist/dashed-underline.js +2 -2
  146. package/dist/data-grid-template.js +1 -1
  147. package/dist/data-grid.js +1 -1
  148. package/dist/date-picker.js +2 -2
  149. package/dist/date-range-picker.js +2 -2
  150. package/dist/dropdown.js +3 -3
  151. package/dist/file-uploader.js +1 -1
  152. package/dist/filter-bar.js +1 -1
  153. package/dist/focus-trap.js +1 -1
  154. package/dist/header-with-views.js +5 -0
  155. package/dist/header-with-views.js.map +1 -0
  156. package/dist/header.js +1 -1
  157. package/dist/index.js +196 -194
  158. package/dist/index.js.map +1 -1
  159. package/dist/info-icon.js +1 -1
  160. package/dist/input-field-password.js +1 -1
  161. package/dist/input-field-phone-number.js +1 -1
  162. package/dist/input-field.js +1 -1
  163. package/dist/inspector.js +1 -1
  164. package/dist/internal.js +10 -10
  165. package/dist/layout.js +1 -1
  166. package/dist/menu.js +1 -1
  167. package/dist/modal-fullscreen.js +1 -1
  168. package/dist/modal.js +2 -2
  169. package/dist/pagination.js +1 -1
  170. package/dist/popover.js +1 -1
  171. package/dist/popper-container.js +1 -1
  172. package/dist/promo-banner.js +1 -1
  173. package/dist/radio-group.js +1 -1
  174. package/dist/search-bar.js +2 -2
  175. package/dist/secondary-nav.js +1 -1
  176. package/dist/segmented-control.js +1 -1
  177. package/dist/selection-card.js +1 -1
  178. package/dist/sidepanel.js +1 -1
  179. package/dist/structured-list.js +1 -1
  180. package/dist/styles/bento-dark.css +47 -1
  181. package/dist/styles/bento-light.css +47 -1
  182. package/dist/styles/bento.css +47 -1
  183. package/dist/styles/legacy.css +47 -1
  184. package/dist/styles/styleguide.css +47 -1
  185. package/dist/summary-grid.js +1 -1
  186. package/dist/tag.js +1 -1
  187. package/dist/textarea.js +1 -1
  188. package/dist/timeline.js +1 -1
  189. package/dist/tutorial.js +1 -1
  190. package/dist/use-form-v4.js +8300 -0
  191. package/dist/use-form-v4.js.map +1 -0
  192. package/dist/web-types.json +1 -1
  193. package/package.json +7 -6
  194. package/dist/chunks/checkbox.erdZ58Kk.js.map +0 -1
  195. package/dist/chunks/data-grid.KZqjmRvk.js.map +0 -1
  196. package/dist/chunks/dropdown.qw5oXFYs.js.map +0 -1
  197. package/dist/chunks/file-uploader.BLJpDgAZ.js.map +0 -1
  198. package/dist/chunks/filter-bar.DYrXBQDF.js.map +0 -1
  199. package/dist/chunks/index.CMGT-6mh.js +0 -369
  200. package/dist/chunks/input-field-password.CZNUHo6s.js.map +0 -1
  201. package/dist/chunks/menu.DfzP2nRU.js.map +0 -1
  202. package/dist/chunks/summary-grid-item-custom.DTCzOBBy.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { computed as v, ref as M, onMounted as Le, onUnmounted as xe, watch as Oe, defineComponent as X, resolveComponent as A, createElementBlock as L, openBlock as g, createVNode as P, createElementVNode as F, withCtx as O, createTextVNode as z, toDisplayString as G, renderSlot as Y, mergeProps as U, withKeys as be, createCommentVNode as W, createBlock as B, withModifiers as Ke, normalizeProps as te, guardReactiveProps as ie, withDirectives as ce, vShow as Ie, toRef as le, resolveDirective as Ae, toHandlers as se, Fragment as Z, renderList as x, createSlots as re, normalizeClass as ve, useSlots as We, unref as w, normalizeStyle as qe } from "vue";
1
+ import { computed as v, ref as P, onMounted as Te, onUnmounted as xe, watch as Oe, defineComponent as X, resolveComponent as A, createElementBlock as T, openBlock as f, createVNode as D, createElementVNode as F, withCtx as O, createTextVNode as z, toDisplayString as G, renderSlot as Y, mergeProps as U, withKeys as be, createCommentVNode as W, createBlock as B, withModifiers as Ke, normalizeProps as te, guardReactiveProps as ie, withDirectives as ce, vShow as Ie, toRef as le, resolveDirective as Ae, toHandlers as se, Fragment as Z, renderList as x, createSlots as re, normalizeClass as ve, useSlots as We, unref as w, normalizeStyle as qe } from "vue";
2
2
  import { B as K, a as pe } from "./keyboard-navigation.CqgGzfZQ.js";
3
3
  import "./events.FNmSWp_P.js";
4
4
  import { B as oe } from "./typography.DN5eC5ch.js";
@@ -6,7 +6,7 @@ import { B as je } from "./loading-indicator.DEepb9Wl.js";
6
6
  import { B as He } from "./empty-state.BffIZp3a.js";
7
7
  import { u as ye } from "./i18n.D9azDLPe.js";
8
8
  import { d as Xe } from "./debounce.DUTu11PS.js";
9
- import { B as Se } from "./checkbox.erdZ58Kk.js";
9
+ import { B as Se } from "./checkbox.CXZQtFhM.js";
10
10
  import { B as Je } from "./chip.3T0x6FuI.js";
11
11
  import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
12
12
  import { C as Ze, a as Qe } from "./chevron-up.-0oLlHmh.js";
@@ -33,7 +33,7 @@ const $e = (e, t, s, c) => {
33
33
  };
34
34
  };
35
35
  function st(e, { disabled: t, itemHeight: s, overscan: c = 5, prefixHeight: b }) {
36
- const i = M(null), l = M([]), u = M(0), a = M(0), n = M(0);
36
+ const i = P(null), l = P([]), u = P(0), a = P(0), n = P(0);
37
37
  let C;
38
38
  const o = v(() => {
39
39
  const y = typeof s == "number" ? e.value.length * s : e.value.reduce((k, E, I) => k + s(I), 0), h = typeof s == "number" ? u.value * s : e.value.slice(0, u.value).reduce((k, E, I) => k + s(I), 0);
@@ -72,10 +72,10 @@ function st(e, { disabled: t, itemHeight: s, overscan: c = 5, prefixHeight: b })
72
72
  const y = R();
73
73
  u.value = S(), a.value = Math.min(u.value + y + c, e.value.length), l.value = e.value.slice(u.value, a.value);
74
74
  }
75
- }, D = () => {
75
+ }, M = () => {
76
76
  $();
77
77
  };
78
- t || (Le(() => {
78
+ t || (Te(() => {
79
79
  i.value && (n.value = i.value.clientHeight, C = tt(i.value, ({ clientHeight: y }) => {
80
80
  n.value = y, $();
81
81
  }), $());
@@ -101,7 +101,7 @@ function st(e, { disabled: t, itemHeight: s, overscan: c = 5, prefixHeight: b })
101
101
  } : {
102
102
  containerRef: i,
103
103
  containerProps: p,
104
- onScroll: D,
104
+ onScroll: M,
105
105
  list: l,
106
106
  wrapperProps: o
107
107
  };
@@ -124,8 +124,8 @@ const lt = X({
124
124
  }), ot = { class: "b-listbox-single-select-category" };
125
125
  function nt(e, t, s, c, b, i) {
126
126
  const l = A("bento-typography");
127
- return g(), L("div", ot, [
128
- P(l, {
127
+ return f(), T("div", ot, [
128
+ D(l, {
129
129
  variant: "caption",
130
130
  el: "span",
131
131
  class: "b-listbox-single-select-category__label-text"
@@ -175,7 +175,7 @@ const at = /* @__PURE__ */ q(lt, [["render", nt], ["__scopeId", "data-v-a90eff17
175
175
  }
176
176
  });
177
177
  function rt(e, t, s, c, b, i) {
178
- return g(), L("label", U({
178
+ return f(), T("label", U({
179
179
  class: ["b-listbox-option", e.conditionalClasses],
180
180
  role: "option"
181
181
  }, e.$attrs, {
@@ -197,14 +197,14 @@ const ct = {
197
197
  }
198
198
  }, ut = { key: 0 };
199
199
  function dt(e, t, s, c, b, i) {
200
- return g(), L("svg", U({ role: "img" }, e.$attrs, {
200
+ return f(), T("svg", U({ role: "img" }, e.$attrs, {
201
201
  class: "ui-assets-icons-16",
202
202
  xmlns: "http://www.w3.org/2000/svg",
203
203
  width: "16",
204
204
  height: "16",
205
205
  fill: "none"
206
206
  }), [
207
- e.$attrs["svg-title"] ? (g(), L("title", ut, G(e.$attrs["svg-title"]), 1)) : W("", !0),
207
+ e.$attrs["svg-title"] ? (f(), T("title", ut, G(e.$attrs["svg-title"]), 1)) : W("", !0),
208
208
  t[0] || (t[0] = F("path", {
209
209
  fill: "#00112C",
210
210
  d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z"
@@ -255,7 +255,7 @@ const mt = /* @__PURE__ */ q(ct, [["render", dt]]), bt = X({
255
255
  }), vt = { class: "b-listbox-single-select-option__text" }, ft = { class: "b-listbox-single-select-option__check-icon" };
256
256
  function gt(e, t, s, c, b, i) {
257
257
  const l = A("bento-typography"), u = A("checkmark-icon"), a = A("bento-listbox-option");
258
- return g(), B(a, {
258
+ return f(), B(a, {
259
259
  class: "b-listbox-single-select-option",
260
260
  disabled: e.disabled,
261
261
  selected: e.selected,
@@ -270,13 +270,13 @@ function gt(e, t, s, c, b, i) {
270
270
  default: O(() => [
271
271
  Y(e.$slots, "default", te(ie(e.option)), () => [
272
272
  F("span", vt, [
273
- P(l, { el: "span" }, {
273
+ D(l, { el: "span" }, {
274
274
  default: O(() => [
275
275
  z(G(e.option.label), 1)
276
276
  ]),
277
277
  _: 1
278
278
  }),
279
- e.option.description ? (g(), B(l, {
279
+ e.option.description ? (f(), B(l, {
280
280
  key: 0,
281
281
  class: "b-listbox-single-select-option__description",
282
282
  el: "span"
@@ -289,7 +289,7 @@ function gt(e, t, s, c, b, i) {
289
289
  ])
290
290
  ], !0),
291
291
  F("span", ft, [
292
- ce(P(u, { "svg-title": "selected" }, null, 512), [
292
+ ce(D(u, { "svg-title": "selected" }, null, 512), [
293
293
  [Ie, e.selected]
294
294
  ])
295
295
  ])
@@ -300,8 +300,8 @@ function gt(e, t, s, c, b, i) {
300
300
  const pt = /* @__PURE__ */ q(bt, [["render", gt], ["__scopeId", "data-v-226f4c84"]]), ke = ({ items: e, isOptionDisabled: t, hasStaticCategories: s }, c) => {
301
301
  const b = v(
302
302
  () => s.value ? e.value.flatMap((p) => p.items) : e.value
303
- ), i = v(() => b.value.length - 1), l = M(0);
304
- Le(() => {
303
+ ), i = v(() => b.value.length - 1), l = P(0);
304
+ Te(() => {
305
305
  t && (l.value = e.value.findIndex((p) => !t(p)));
306
306
  });
307
307
  const u = (p) => !t || !!t && t(e.value[p]), a = (p) => !t || !!t && !t(e.value[p]), n = (p) => {
@@ -404,7 +404,7 @@ const pt = /* @__PURE__ */ q(bt, [["render", gt], ["__scopeId", "data-v-226f4c84
404
404
  },
405
405
  emits: [d.SELECT, d.ENTER, d.SPACE, d.TAB],
406
406
  setup(e, { emit: t, expose: s, slots: c }) {
407
- const b = M(null), i = M([]), l = v(() => {
407
+ const b = P(null), i = P([]), l = v(() => {
408
408
  var y;
409
409
  return !!((y = e.selectedValue) != null && y.length) && e.selectedValue.at(0);
410
410
  }), u = v(() => !!e.items.some(({ items: y }) => !!y)), a = (y) => (h) => {
@@ -425,7 +425,7 @@ const pt = /* @__PURE__ */ q(bt, [["render", gt], ["__scopeId", "data-v-226f4c84
425
425
  hasStaticCategories: le(e, "staticCategories")
426
426
  },
427
427
  n
428
- ), D = {
428
+ ), M = {
429
429
  [K.ARROW_UP]: o,
430
430
  [K.ARROW_DOWN]: C,
431
431
  [K.HOME]: S,
@@ -460,21 +460,21 @@ const pt = /* @__PURE__ */ q(bt, [["render", gt], ["__scopeId", "data-v-226f4c84
460
460
  // Methods
461
461
  onOptionSelected: a,
462
462
  // Keyboard navigation
463
- listboxListeners: D,
463
+ listboxListeners: M,
464
464
  listboxOptionListeners: p
465
465
  };
466
466
  }
467
467
  });
468
468
  function St(e, t, s, c, b, i) {
469
469
  const l = A("bento-listbox-single-select-option"), u = A("bento-listbox-single-select-category"), a = Ae("bento-keyboard-navigation-directive");
470
- return ce((g(), L("div", U({ ref: "listboxRef" }, se(e.listboxListeners, !0)), [
471
- e.hasCategories && e.staticCategories ? (g(!0), L(Z, { key: 0 }, x(e.items, (n) => (g(), B(u, {
470
+ return ce((f(), T("div", U({ ref: "listboxRef" }, se(e.listboxListeners, !0)), [
471
+ e.hasCategories && e.staticCategories ? (f(!0), T(Z, { key: 0 }, x(e.items, (n) => (f(), B(u, {
472
472
  key: n.value,
473
473
  "category-label": n.label,
474
474
  role: "group"
475
475
  }, {
476
476
  default: O(() => [
477
- (g(!0), L(Z, null, x(n.items, (C) => (g(), B(l, U({
477
+ (f(!0), T(Z, null, x(n.items, (C) => (f(), B(l, U({
478
478
  key: C.value,
479
479
  ref_for: !0,
480
480
  ref: "listboxItemRef",
@@ -492,7 +492,7 @@ function St(e, t, s, c, b, i) {
492
492
  ]), 1040, ["option", "disabled", "selected"]))), 128))
493
493
  ]),
494
494
  _: 2
495
- }, 1032, ["category-label"]))), 128)) : (g(!0), L(Z, { key: 1 }, x(e.items, (n) => (g(), B(l, U({
495
+ }, 1032, ["category-label"]))), 128)) : (f(!0), T(Z, { key: 1 }, x(e.items, (n) => (f(), B(l, U({
496
496
  key: n.value,
497
497
  ref_for: !0,
498
498
  ref: "listboxItemRef",
@@ -570,7 +570,7 @@ const Et = {
570
570
  },
571
571
  emits: [ae.SELECT_CATEGORY, ae.UNSELECT_CATEGORY],
572
572
  setup(e, { emit: t }) {
573
- const s = M(!1), { t: c } = ye(), b = (E) => e.isOptionDisabled ? e.isOptionDisabled(E) : !1, i = v(
573
+ const s = P(!1), { t: c } = ye(), b = (E) => e.isOptionDisabled ? e.isOptionDisabled(E) : !1, i = v(
574
574
  () => e.category.items.every((E) => b(E))
575
575
  ), l = le(e, "staticCategories"), u = v(() => s.value || e.staticCategories), a = v(() => ({
576
576
  [`b-listbox-multi-select-category--${fe.DISABLED}`]: i.value,
@@ -604,14 +604,14 @@ const Et = {
604
604
  el: "span",
605
605
  variant: e.staticCategories ? "caption" : "body"
606
606
  })
607
- ), D = () => {
607
+ ), M = () => {
608
608
  t(ae.SELECT_CATEGORY);
609
609
  }, p = () => {
610
610
  t(ae.UNSELECT_CATEGORY);
611
611
  }, { isAllSelected: y, isIndeterminate: h, toggleSelectAll: k } = $e(
612
612
  S,
613
613
  o,
614
- D,
614
+ M,
615
615
  p
616
616
  );
617
617
  return {
@@ -632,14 +632,14 @@ const Et = {
632
632
  };
633
633
  }
634
634
  }), _t = { class: "b-listbox-multi-select-category__label" };
635
- function Tt(e, t, s, c, b, i) {
635
+ function Lt(e, t, s, c, b, i) {
636
636
  const l = A("bento-checkbox"), u = A("bento-typography"), a = A("chevron-up-icon"), n = A("chevron-down-icon"), C = A("bento-listbox-option");
637
- return g(), L("div", null, [
638
- P(C, {
637
+ return f(), T("div", null, [
638
+ D(C, {
639
639
  class: ve(["b-listbox-multi-select-category__option", e.conditionalClass])
640
640
  }, {
641
641
  default: O(() => [
642
- e.isStaticCategory ? W("", !0) : (g(), B(l, {
642
+ e.isStaticCategory ? W("", !0) : (f(), B(l, {
643
643
  key: 0,
644
644
  "model-value": e.isAllSelected,
645
645
  indeterminate: e.isIndeterminate,
@@ -649,22 +649,22 @@ function Tt(e, t, s, c, b, i) {
649
649
  "onUpdate:modelValue": e.toggleSelectAll
650
650
  }, null, 8, ["model-value", "indeterminate", "disabled", "aria-label", "value", "onUpdate:modelValue"])),
651
651
  F("span", _t, [
652
- P(u, U(e.categoryLabelProps, { class: "b-listbox-multi-select-category__label-text" }), {
652
+ D(u, U(e.categoryLabelProps, { class: "b-listbox-multi-select-category__label-text" }), {
653
653
  default: O(() => [
654
654
  z(G(e.category.label), 1)
655
655
  ]),
656
656
  _: 1
657
657
  }, 16),
658
- e.isStaticCategory ? W("", !0) : (g(), L("div", {
658
+ e.isStaticCategory ? W("", !0) : (f(), T("div", {
659
659
  key: 0,
660
660
  class: "b-listbox-multi-select-category__label-chevron",
661
661
  "data-testid": "toggle-listbox",
662
662
  onClickCapture: t[0] || (t[0] = (...o) => e.toggleOpen && e.toggleOpen(...o))
663
663
  }, [
664
- e.isOpen ? (g(), B(a, {
664
+ e.isOpen ? (f(), B(a, {
665
665
  key: 0,
666
666
  "svg-title": e.chevronTitle
667
- }, null, 8, ["svg-title"])) : (g(), B(n, {
667
+ }, null, 8, ["svg-title"])) : (f(), B(n, {
668
668
  key: 1,
669
669
  "svg-title": e.chevronTitle
670
670
  }, null, 8, ["svg-title"]))
@@ -680,7 +680,7 @@ function Tt(e, t, s, c, b, i) {
680
680
  ])
681
681
  ]);
682
682
  }
683
- const Lt = /* @__PURE__ */ q(ht, [["render", Tt], ["__scopeId", "data-v-9a00de22"]]);
683
+ const Tt = /* @__PURE__ */ q(ht, [["render", Lt], ["__scopeId", "data-v-9a00de22"]]);
684
684
  var H = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e))(H || {});
685
685
  const Ot = X({
686
686
  name: "listbox-multi-select-options",
@@ -688,7 +688,7 @@ const Ot = X({
688
688
  BentoCheckbox: Se,
689
689
  BentoListboxOption: de,
690
690
  BentoTypography: oe,
691
- ListboxMultiSelectCategory: Lt
691
+ ListboxMultiSelectCategory: Tt
692
692
  },
693
693
  props: {
694
694
  /**
@@ -780,17 +780,17 @@ const Ot = X({
780
780
  }), It = { class: "b-listbox-multi-select__option-text" }, At = { class: "b-listbox-multi-select__option-text" };
781
781
  function $t(e, t, s, c, b, i) {
782
782
  const l = A("bento-checkbox"), u = A("bento-typography"), a = A("bento-listbox-option"), n = A("listbox-multi-select-options", !0), C = A("listbox-multi-select-category");
783
- return g(), L("div", null, [
784
- (g(!0), L(Z, null, x(e.items, (o) => (g(), L("div", {
783
+ return f(), T("div", null, [
784
+ (f(!0), T(Z, null, x(e.items, (o) => (f(), T("div", {
785
785
  key: `selected-${o.value}`
786
786
  }, [
787
- e.searching && e.isMultiLevel ? (g(), B(a, {
787
+ e.searching && e.isMultiLevel ? (f(), B(a, {
788
788
  key: 0,
789
789
  class: ve(["b-listbox-multi-select-options", e.conditionalClasses]),
790
790
  disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null
791
791
  }, {
792
792
  default: O(() => [
793
- P(l, {
793
+ D(l, {
794
794
  "model-value": e.isOptionSelected(o),
795
795
  "aria-label": o.label,
796
796
  disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null,
@@ -799,13 +799,13 @@ function $t(e, t, s, c, b, i) {
799
799
  }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
800
800
  Y(e.$slots, "default", U({ ref_for: !0 }, o), () => [
801
801
  F("span", It, [
802
- P(u, { el: "span" }, {
802
+ D(u, { el: "span" }, {
803
803
  default: O(() => [
804
804
  z(G(o.label), 1)
805
805
  ]),
806
806
  _: 2
807
807
  }, 1024),
808
- e.shouldShowDescription(o) ? (g(), B(u, {
808
+ e.shouldShowDescription(o) ? (f(), B(u, {
809
809
  key: 0,
810
810
  class: "b-listbox-multi-select__option-description",
811
811
  el: "span"
@@ -819,8 +819,8 @@ function $t(e, t, s, c, b, i) {
819
819
  ], !0)
820
820
  ]),
821
821
  _: 2
822
- }, 1032, ["class", "disabled"])) : (g(), L(Z, { key: 1 }, [
823
- o.items ? (g(), B(C, {
822
+ }, 1032, ["class", "disabled"])) : (f(), T(Z, { key: 1 }, [
823
+ o.items ? (f(), B(C, {
824
824
  key: 0,
825
825
  category: o,
826
826
  "static-categories": e.staticCategories,
@@ -830,7 +830,7 @@ function $t(e, t, s, c, b, i) {
830
830
  onUnselectCategory: (S) => e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, o)
831
831
  }, {
832
832
  default: O(() => [
833
- P(n, {
833
+ D(n, {
834
834
  "category-items": "",
835
835
  items: o.items,
836
836
  "is-option-disabled": e.isOptionDisabled,
@@ -842,13 +842,13 @@ function $t(e, t, s, c, b, i) {
842
842
  }, null, 8, ["items", "is-option-disabled", "is-multi-level", "static-categories", "selected-items-list", "searching"])
843
843
  ]),
844
844
  _: 2
845
- }, 1032, ["category", "static-categories", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (g(), B(a, {
845
+ }, 1032, ["category", "static-categories", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (f(), B(a, {
846
846
  key: 1,
847
847
  class: ve(["b-listbox-multi-select-options", e.conditionalClasses]),
848
848
  disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null
849
849
  }, {
850
850
  default: O(() => [
851
- P(l, {
851
+ D(l, {
852
852
  "model-value": e.selectedItemsList,
853
853
  "aria-label": o.label,
854
854
  disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null,
@@ -857,13 +857,13 @@ function $t(e, t, s, c, b, i) {
857
857
  }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
858
858
  Y(e.$slots, "default", U({ ref_for: !0 }, o), () => [
859
859
  F("span", At, [
860
- P(u, { el: "span" }, {
860
+ D(u, { el: "span" }, {
861
861
  default: O(() => [
862
862
  z(G(o.label), 1)
863
863
  ]),
864
864
  _: 2
865
865
  }, 1024),
866
- e.shouldShowDescription(o) ? (g(), B(u, {
866
+ e.shouldShowDescription(o) ? (f(), B(u, {
867
867
  key: 0,
868
868
  class: "b-listbox-multi-select__option-description",
869
869
  el: "span"
@@ -918,46 +918,46 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
918
918
  },
919
919
  emits: ["select"],
920
920
  setup(e, { emit: t }) {
921
- const s = e, c = t, { t: b } = ye({ messages: Be }), i = We(), l = M(null), u = M(null), a = M(null), n = v(() => s.selectedValues.map(({ value: r }) => r)), { isMultiLevelSelect: C, flattenedItemsList: o } = Bt(le(s, "items")), S = (r) => {
922
- var T;
923
- const f = s.isOptionDisabled(r), m = ((T = n.value) == null ? void 0 : T.includes(r.value)) || !1;
924
- return { isDisabled: f, isPreSelected: m };
921
+ const s = e, c = t, { t: b } = ye({ messages: Be }), i = We(), l = P(null), u = P(null), a = P(null), n = v(() => s.selectedValues.map(({ value: r }) => r)), { isMultiLevelSelect: C, flattenedItemsList: o } = Bt(le(s, "items")), S = (r) => {
922
+ var L;
923
+ const g = s.isOptionDisabled(r), m = ((L = n.value) == null ? void 0 : L.includes(r.value)) || !1;
924
+ return { isDisabled: g, isPreSelected: m };
925
925
  }, R = v(() => {
926
926
  if (s.searching && C)
927
927
  return s.items;
928
- const r = o.value.filter((f) => {
929
- const { isDisabled: m, isPreSelected: T } = S(f);
930
- return m && T || !m;
928
+ const r = o.value.filter((g) => {
929
+ const { isDisabled: m, isPreSelected: L } = S(g);
930
+ return m && L || !m;
931
931
  });
932
- return s.selectedValues.forEach((f) => {
933
- r.find((m) => m.value === f.value) || r.push(f);
932
+ return s.selectedValues.forEach((g) => {
933
+ r.find((m) => m.value === g.value) || r.push(g);
934
934
  }), r;
935
935
  }), $ = v(
936
936
  () => {
937
937
  var r;
938
- return (r = R.value) == null ? void 0 : r.filter((f) => {
938
+ return (r = R.value) == null ? void 0 : r.filter((g) => {
939
939
  var m;
940
- return f.items && C.value && s.searching ? f.items.filter(
940
+ return g.items && C.value && s.searching ? g.items.filter(
941
941
  (_) => (s.selectedValues ?? []).includes(_.value)
942
- ).length === f.items.length : (m = n.value) == null ? void 0 : m.includes(f.value);
942
+ ).length === g.items.length : (m = n.value) == null ? void 0 : m.includes(g.value);
943
943
  });
944
944
  }
945
- ), D = () => C.value && !s.searching ? o.value.length : s.items.length, p = v(() => {
946
- var T;
947
- const r = R.value.length, f = D(), m = ((T = $.value) == null ? void 0 : T.length) || 0;
948
- return m === 0 ? b("selectAll", { total: r }) : m === f ? b("allSelected", { total: f }) : m <= f ? b("numberOfTotalSelected", { number: m, total: f }) : b("numbersSelected", { number: m });
945
+ ), M = () => C.value && !s.searching ? o.value.length : s.items.length, p = v(() => {
946
+ var L;
947
+ const r = R.value.length, g = M(), m = ((L = $.value) == null ? void 0 : L.length) || 0;
948
+ return m === 0 ? b("selectAll", { total: r }) : m === g ? b("allSelected", { total: g }) : m <= g ? b("numberOfTotalSelected", { number: m, total: g }) : b("numbersSelected", { number: m });
949
949
  }), y = (r) => {
950
- const f = (T) => {
951
- const { isDisabled: _, isPreSelected: j } = S(T);
950
+ const g = (L) => {
951
+ const { isDisabled: _, isPreSelected: j } = S(L);
952
952
  return _ && j || !_;
953
- }, m = r.filter(f).filter((T) => !n.value.includes(T.value));
953
+ }, m = r.filter(g).filter((L) => !n.value.includes(L.value));
954
954
  c("select", [...s.selectedValues, ...m]);
955
955
  }, h = (r) => {
956
- const f = (_) => {
956
+ const g = (_) => {
957
957
  const { isDisabled: j, isPreSelected: Ye } = S(_);
958
958
  return !(j && Ye);
959
- }, m = r.filter(f).map(({ value: _ }) => _), T = s.selectedValues.filter((_) => !(m != null && m.includes(_.value)));
960
- c("select", T);
959
+ }, m = r.filter(g).map(({ value: _ }) => _), L = s.selectedValues.filter((_) => !(m != null && m.includes(_.value)));
960
+ c("select", L);
961
961
  }, k = () => {
962
962
  y(o.value);
963
963
  }, E = () => {
@@ -971,21 +971,21 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
971
971
  y(r.items);
972
972
  }, ue = (r) => {
973
973
  h(r.items);
974
- }, J = (r, f) => {
974
+ }, J = (r, g) => {
975
975
  let m = !1;
976
- const T = s.selectedValues.filter(({ value: _ }) => f.value === _ ? (m = !0, !1) : !0);
977
- m || T.push(f), c(r, T);
976
+ const L = s.selectedValues.filter(({ value: _ }) => g.value === _ ? (m = !0, !1) : !0);
977
+ m || L.push(g), c(r, L);
978
978
  }, N = v(() => {
979
979
  if (!C.value)
980
980
  return s.selectedValues;
981
- const r = (_) => n.value.includes(_.value), f = (_) => !s.staticCategories && _.every((j) => r(j));
981
+ const r = (_) => n.value.includes(_.value), g = (_) => !s.staticCategories && _.every((j) => r(j));
982
982
  return s.items.flatMap(
983
- (_) => _.items && !f(_.items) ? _.items : _
983
+ (_) => _.items && !g(_.items) ? _.items : _
984
984
  ).filter((_) => _.items ? !0 : r(_));
985
985
  }), ne = v(() => {
986
- var m, T, _, j;
987
- const r = ["automatic", "button"].includes(s.lazyLoadType), f = ((m = s.selectedValues) == null ? void 0 : m.length) > 0 && ((T = $.value) == null ? void 0 : T.length) !== ((_ = o.value) == null ? void 0 : _.length);
988
- return r && s.hasMoreItems ? !!((j = s.selectedValues) != null && j.length) : f;
986
+ var m, L, _, j;
987
+ const r = ["automatic", "button"].includes(s.lazyLoadType), g = ((m = s.selectedValues) == null ? void 0 : m.length) > 0 && ((L = $.value) == null ? void 0 : L.length) !== ((_ = o.value) == null ? void 0 : _.length);
988
+ return r && s.hasMoreItems ? !!((j = s.selectedValues) != null && j.length) : g;
989
989
  }), Ce = v(() => ["automatic", "button"].includes(s.lazyLoadType) ? !s.hasMoreItems : !0), Re = v(
990
990
  () => l.value ? [l.value] : []
991
991
  ), De = v(
@@ -995,8 +995,8 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
995
995
  }
996
996
  ), Me = v(
997
997
  () => {
998
- var r, f;
999
- return (f = (r = a.value) == null ? void 0 : r.$children) != null && f.length ? a.value.$children : [];
998
+ var r, g;
999
+ return (g = (r = a.value) == null ? void 0 : r.$children) != null && g.length ? a.value.$children : [];
1000
1000
  }
1001
1001
  ), Pe = v(() => ({ label: p, value: I })), Ne = v(() => [
1002
1002
  ...N.value,
@@ -1010,7 +1010,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1010
1010
  ][r].$el.focus();
1011
1011
  }, { moveToNextElement: Ue, moveToPreviousElement: Ve, moveToFirstElement: Ge, moveToLastElement: ze } = ke(
1012
1012
  {
1013
- items: M(Ne),
1013
+ items: P(Ne),
1014
1014
  isOptionDisabled: s.isOptionDisabled,
1015
1015
  hasStaticCategories: le(s, "staticCategories")
1016
1016
  },
@@ -1021,39 +1021,39 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1021
1021
  [K.HOME]: Ge,
1022
1022
  [K.END]: ze
1023
1023
  };
1024
- return (r, f) => ce((g(), L("div", U({ class: "b-listbox-multi-select" }, se(Fe, !0)), [
1025
- ne.value ? (g(), L("div", Rt, [
1024
+ return (r, g) => ce((f(), T("div", U({ class: "b-listbox-multi-select" }, se(Fe, !0)), [
1025
+ ne.value ? (f(), T("div", Rt, [
1026
1026
  F("ul", Dt, [
1027
- (g(!0), L(Z, null, x(N.value, (m) => (g(), L("li", {
1027
+ (f(!0), T(Z, null, x(N.value, (m) => (f(), T("li", {
1028
1028
  key: m.value
1029
1029
  }, [
1030
- P(w(Je), {
1030
+ D(w(Je), {
1031
1031
  ref_for: !0,
1032
1032
  ref_key: "selectedListboxItemsRef",
1033
1033
  ref: u,
1034
1034
  disabled: r.isOptionDisabled(m),
1035
1035
  label: m.label,
1036
1036
  condensed: "",
1037
- onClick: (T) => m.items ? ue(m) : J("select", m)
1037
+ onClick: (L) => m.items ? ue(m) : J("select", m)
1038
1038
  }, null, 8, ["disabled", "label", "onClick"])
1039
1039
  ]))), 128))
1040
1040
  ]),
1041
- f[4] || (f[4] = F("hr", { class: "b-listbox-multi-select__divider" }, null, -1))
1041
+ g[4] || (g[4] = F("hr", { class: "b-listbox-multi-select__divider" }, null, -1))
1042
1042
  ])) : W("", !0),
1043
- Ce.value ? (g(), B(w(de), {
1043
+ Ce.value ? (f(), B(w(de), {
1044
1044
  key: 1,
1045
1045
  ref_key: "selectAllListboxItemsRef",
1046
1046
  ref: l,
1047
1047
  class: "b-listbox-multi-select__option"
1048
1048
  }, {
1049
1049
  default: O(() => [
1050
- P(w(Se), {
1050
+ D(w(Se), {
1051
1051
  "aria-label": p.value,
1052
1052
  "model-value": w(I),
1053
1053
  indeterminate: w(V),
1054
1054
  "onUpdate:modelValue": w(Q)
1055
1055
  }, null, 8, ["aria-label", "model-value", "indeterminate", "onUpdate:modelValue"]),
1056
- P(w(oe), {
1056
+ D(w(oe), {
1057
1057
  el: "span",
1058
1058
  "aria-hidden": "true"
1059
1059
  }, {
@@ -1065,8 +1065,8 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1065
1065
  ]),
1066
1066
  _: 1
1067
1067
  }, 512)) : W("", !0),
1068
- Ce.value ? (g(), L("hr", Mt)) : W("", !0),
1069
- P(w(kt), {
1068
+ Ce.value ? (f(), T("hr", Mt)) : W("", !0),
1069
+ D(w(kt), {
1070
1070
  ref_key: "listboxItemsRef",
1071
1071
  ref: a,
1072
1072
  items: r.items,
@@ -1075,17 +1075,17 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1075
1075
  "static-categories": r.staticCategories,
1076
1076
  searching: r.searching,
1077
1077
  "selected-items-list": n.value,
1078
- onToggleCheckboxSelection: f[0] || (f[0] = (m) => J("select", m)),
1078
+ onToggleCheckboxSelection: g[0] || (g[0] = (m) => J("select", m)),
1079
1079
  onSelectCategory: me,
1080
1080
  onUnselectCategory: ue,
1081
- onSpacePressed: f[1] || (f[1] = (m) => J(w(d).SPACE, m)),
1082
- onTabPressed: f[2] || (f[2] = (m) => J(w(d).TAB, m)),
1083
- onEnterPressed: f[3] || (f[3] = (m) => J(w(d).ENTER, m))
1081
+ onSpacePressed: g[1] || (g[1] = (m) => J(w(d).SPACE, m)),
1082
+ onTabPressed: g[2] || (g[2] = (m) => J(w(d).TAB, m)),
1083
+ onEnterPressed: g[3] || (g[3] = (m) => J(w(d).ENTER, m))
1084
1084
  }, re({ _: 2 }, [
1085
- x(w(i), (m, T) => ({
1086
- name: T,
1085
+ x(w(i), (m, L) => ({
1086
+ name: L,
1087
1087
  fn: O((_) => [
1088
- Y(r.$slots, T, te(ie(_)), void 0, !0)
1088
+ Y(r.$slots, L, te(ie(_)), void 0, !0)
1089
1089
  ])
1090
1090
  }))
1091
1091
  ]), 1032, ["items", "is-option-disabled", "is-multi-level", "static-categories", "searching", "selected-items-list"])
@@ -1093,7 +1093,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1093
1093
  [w(pe)]
1094
1094
  ]);
1095
1095
  }
1096
- }), _e = /* @__PURE__ */ q(Nt, [["__scopeId", "data-v-2d553b90"]]), Te = {
1096
+ }), _e = /* @__PURE__ */ q(Nt, [["__scopeId", "data-v-2d553b90"]]), Le = {
1097
1097
  "en-US": {
1098
1098
  loading: "Loading",
1099
1099
  showMore: "Show more"
@@ -1117,7 +1117,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1117
1117
  BentoLoadingButton: et
1118
1118
  },
1119
1119
  directives: { BentoKeyboardNavigationDirective: pe },
1120
- i18n: { messages: Te },
1120
+ i18n: { messages: Le },
1121
1121
  props: {
1122
1122
  /**
1123
1123
  * Defines a string value that labels an interactive element.
@@ -1163,7 +1163,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1163
1163
  required: !0
1164
1164
  },
1165
1165
  /**
1166
- * Indicates if new options are loading.
1166
+ * Indicates if new options are lazy loading.
1167
1167
  */
1168
1168
  loading: { type: Boolean, default: !1 },
1169
1169
  /**
@@ -1176,6 +1176,10 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1176
1176
  default: ee.NONE,
1177
1177
  validator: (e) => Object.values(ee).includes(e)
1178
1178
  },
1179
+ /**
1180
+ * Indicates the listbox is loading filtered items.
1181
+ */
1182
+ componentLoading: { type: Boolean, default: !1 },
1179
1183
  /**
1180
1184
  * If enabled, the user will be able to select multiple items.
1181
1185
  */
@@ -1222,7 +1226,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1222
1226
  d.TAB
1223
1227
  ],
1224
1228
  setup(e, { emit: t, slots: s }) {
1225
- const c = M([]), b = le(e, "items"), { t: i } = ye({ messages: Te }), l = v(() => e.lazyLoadType !== ee.AUTOMATIC), u = v(() => e.lazyLoadType === ee.AUTOMATIC), a = () => {
1229
+ const c = P([]), b = le(e, "items"), { t: i } = ye({ messages: Le }), l = v(() => e.lazyLoadType !== ee.AUTOMATIC), u = v(() => e.lazyLoadType === ee.AUTOMATIC), a = () => {
1226
1230
  var N;
1227
1231
  return typeof (e == null ? void 0 : e.virtualScroll) == "object" && ((N = e == null ? void 0 : e.virtualScroll) != null && N.itemHeight) ? e.virtualScroll.itemHeight : wt;
1228
1232
  }, {
@@ -1236,11 +1240,11 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1236
1240
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1237
1241
  disabled: (e == null ? void 0 : e.multiple) || (e == null ? void 0 : e.virtualScroll) === !1 || (e == null ? void 0 : e.lazyLoadType) !== "none"
1238
1242
  }), $ = v(
1239
- () => l.value ? "true" : void 0
1240
- ), D = v(
1241
- () => l.value && e.loading ? "true" : "false"
1243
+ () => e.componentLoading !== void 0 || l.value ? "true" : void 0
1244
+ ), M = v(
1245
+ () => l.value && e.loading || e.componentLoading ? "true" : "false"
1242
1246
  ), p = v(
1243
- () => l.value ? "polite" : void 0
1247
+ () => l.value || e.componentLoading !== void 0 ? "polite" : void 0
1244
1248
  ), y = (N) => (ne) => {
1245
1249
  t(N, ne);
1246
1250
  }, h = () => {
@@ -1275,7 +1279,7 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1275
1279
  listboxItemRef: c,
1276
1280
  // a11y
1277
1281
  ariaAtomic: $,
1278
- ariaBusy: D,
1282
+ ariaBusy: M,
1279
1283
  ariaLive: p,
1280
1284
  // Values
1281
1285
  containerProps: C,
@@ -1299,18 +1303,21 @@ const kt = /* @__PURE__ */ q(Ot, [["render", $t], ["__scopeId", "data-v-25938a72
1299
1303
  }
1300
1304
  }), Vt = ["id", "aria-busy", "aria-atomic", "aria-label", "aria-live"], Gt = {
1301
1305
  key: 0,
1302
- class: "b-listbox__empty-search-message"
1306
+ class: "b-listbox__loading-filtered-items"
1303
1307
  }, zt = {
1308
+ key: 1,
1309
+ class: "b-listbox__empty-search-message"
1310
+ }, Ft = {
1304
1311
  key: 2,
1305
1312
  class: "b-listbox__lazy-load"
1306
- }, Ft = {
1313
+ }, Yt = {
1307
1314
  key: 3,
1308
1315
  class: "b-listbox__lazy-load"
1309
1316
  };
1310
- function Yt(e, t, s, c, b, i) {
1317
+ function xt(e, t, s, c, b, i) {
1311
1318
  var R;
1312
- const l = A("bento-empty-state"), u = A("bento-typography"), a = A("bento-listbox-multi-select"), n = A("bento-listbox-single-select"), C = A("bento-loading-button"), o = A("bento-loading-indicator"), S = Ae("bento-keyboard-navigation-directive");
1313
- return ce((g(), L("div", {
1319
+ const l = A("bento-loading-indicator"), u = A("bento-empty-state"), a = A("bento-typography"), n = A("bento-listbox-multi-select"), C = A("bento-listbox-single-select"), o = A("bento-loading-button"), S = Ae("bento-keyboard-navigation-directive");
1320
+ return ce((f(), T("div", {
1314
1321
  id: e.id,
1315
1322
  ref: "listboxRef",
1316
1323
  class: "b-listbox",
@@ -1324,8 +1331,10 @@ function Yt(e, t, s, c, b, i) {
1324
1331
  onScroll: t[0] || (t[0] = (...$) => e.onListboxContainerScroll && e.onListboxContainerScroll(...$))
1325
1332
  }, [
1326
1333
  F("div", te(ie(e.wrapperProps)), [
1327
- e.isSearchResultEmpty ? (g(), L("div", Gt, [
1328
- e.emptyState ? (g(), B(l, te(U({ key: 0 }, e.limitedEmptyStateProps)), null, 16)) : (g(), B(u, {
1334
+ e.componentLoading ? (f(), T("div", Gt, [
1335
+ D(l)
1336
+ ])) : e.isSearchResultEmpty ? (f(), T("div", zt, [
1337
+ e.emptyState ? (f(), B(u, te(U({ key: 0 }, e.limitedEmptyStateProps)), null, 16)) : (f(), B(a, {
1329
1338
  key: 1,
1330
1339
  el: "span"
1331
1340
  }, {
@@ -1334,8 +1343,8 @@ function Yt(e, t, s, c, b, i) {
1334
1343
  ]),
1335
1344
  _: 1
1336
1345
  }))
1337
- ])) : (g(), L(Z, { key: 1 }, [
1338
- e.multiple ? (g(), B(a, U({
1346
+ ])) : (f(), T(Z, { key: 2 }, [
1347
+ e.multiple ? (f(), B(n, U({
1339
1348
  key: 0,
1340
1349
  ref: "listboxItemRef",
1341
1350
  "has-more-items": e.hasMoreItems,
@@ -1346,13 +1355,13 @@ function Yt(e, t, s, c, b, i) {
1346
1355
  searching: e.searching,
1347
1356
  "is-option-disabled": e.isOptionDisabled
1348
1357
  }, se(e.listboxListeners)), re({ _: 2 }, [
1349
- x(e.slots, ($, D) => ({
1350
- name: D,
1358
+ x(e.slots, ($, M) => ({
1359
+ name: M,
1351
1360
  fn: O((p) => [
1352
- Y(e.$slots, D, te(ie(p)), void 0, !0)
1361
+ Y(e.$slots, M, te(ie(p)), void 0, !0)
1353
1362
  ])
1354
1363
  }))
1355
- ]), 1040, ["has-more-items", "items", "lazy-load-type", "static-categories", "selected-values", "searching", "is-option-disabled"])) : (g(), B(n, U({
1364
+ ]), 1040, ["has-more-items", "items", "lazy-load-type", "static-categories", "selected-values", "searching", "is-option-disabled"])) : (f(), B(C, U({
1356
1365
  key: 1,
1357
1366
  ref: "listboxItemRef",
1358
1367
  items: e.virtualisedItems,
@@ -1360,15 +1369,15 @@ function Yt(e, t, s, c, b, i) {
1360
1369
  "static-categories": e.staticCategories,
1361
1370
  "is-option-disabled": e.isOptionDisabled
1362
1371
  }, se(e.listboxListeners)), re({ _: 2 }, [
1363
- x(e.slots, ($, D) => ({
1364
- name: D,
1372
+ x(e.slots, ($, M) => ({
1373
+ name: M,
1365
1374
  fn: O((p) => [
1366
- Y(e.$slots, D, te(ie(p)), void 0, !0)
1375
+ Y(e.$slots, M, te(ie(p)), void 0, !0)
1367
1376
  ])
1368
1377
  }))
1369
1378
  ]), 1040, ["items", "selected-value", "static-categories", "is-option-disabled"])),
1370
- e.shouldDisplayShowMoreButton ? (g(), L("div", zt, [
1371
- P(C, {
1379
+ e.shouldDisplayShowMoreButton ? (f(), T("div", Ft, [
1380
+ D(o, {
1372
1381
  state: e.loadingButtonState,
1373
1382
  variant: "secondary",
1374
1383
  onClickCapture: e.emitShowMore
@@ -1378,8 +1387,8 @@ function Yt(e, t, s, c, b, i) {
1378
1387
  ]),
1379
1388
  _: 1
1380
1389
  }, 8, ["state", "onClickCapture"])
1381
- ])) : e.loading ? (g(), L("div", Ft, [
1382
- P(o)
1390
+ ])) : e.loading ? (f(), T("div", Yt, [
1391
+ D(l)
1383
1392
  ])) : W("", !0)
1384
1393
  ], 64))
1385
1394
  ], 16)
@@ -1387,7 +1396,7 @@ function Yt(e, t, s, c, b, i) {
1387
1396
  [S]
1388
1397
  ]);
1389
1398
  }
1390
- const ns = /* @__PURE__ */ q(Ut, [["render", Yt], ["__scopeId", "data-v-3d72f45a"]]), ge = (e, t) => {
1399
+ const as = /* @__PURE__ */ q(Ut, [["render", xt], ["__scopeId", "data-v-7b74fe4e"]]), ge = (e, t) => {
1391
1400
  for (const s of e) {
1392
1401
  if (s.value === t)
1393
1402
  return s;
@@ -1398,8 +1407,8 @@ const ns = /* @__PURE__ */ q(Ut, [["render", Yt], ["__scopeId", "data-v-3d72f45a
1398
1407
  }
1399
1408
  }
1400
1409
  return null;
1401
- }, as = (e, t, s) => {
1402
- const c = M([]), b = M(), i = (a) => {
1410
+ }, is = (e, t, s) => {
1411
+ const c = P([]), b = P(), i = (a) => {
1403
1412
  b.value = s.value ? a.map(({ value: n }) => n) : a[0].value;
1404
1413
  }, l = (a) => {
1405
1414
  c.value = a, i(a);
@@ -1439,8 +1448,8 @@ const ns = /* @__PURE__ */ q(Ut, [["render", Yt], ["__scopeId", "data-v-3d72f45a
1439
1448
  export {
1440
1449
  ee as B,
1441
1450
  d as a,
1442
- ns as b,
1443
- as as c,
1451
+ as as b,
1452
+ is as c,
1444
1453
  Bt as u
1445
1454
  };
1446
- //# sourceMappingURL=use-cached-selected-values.DDP7LJoI.js.map
1455
+ //# sourceMappingURL=use-cached-selected-values.Chb18cq_.js.map