@adyen/bento-vue2 1.89.2 → 1.91.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 (296) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +381 -118
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-picker.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/draggable-handle.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/error-message.css +1 -1
  20. package/dist/assets/field-label.css +1 -0
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/input-time.css +1 -0
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/secondary-nav.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/use-cached-selected-values.css +1 -1
  31. package/dist/button.js +3 -3
  32. package/dist/card.js +1 -1
  33. package/dist/checkbox.js +2 -2
  34. package/dist/chip.js +1 -1
  35. package/dist/chunks/accordion-item.D0WVCLec.js +145 -0
  36. package/dist/chunks/{accordion-item.BZDSJamR.js.map → accordion-item.D0WVCLec.js.map} +1 -1
  37. package/dist/chunks/action-bar.Dj830k6L.js +334 -0
  38. package/dist/chunks/{action-bar.CYGUYI0V.js.map → action-bar.Dj830k6L.js.map} +1 -1
  39. package/dist/chunks/{ai-button.CR_ePQRR.js → ai-button.7L9bANlk.js} +2 -2
  40. package/dist/chunks/{ai-button.CR_ePQRR.js.map → ai-button.7L9bANlk.js.map} +1 -1
  41. package/dist/chunks/ai-tag.AyG2UWCB.js +110 -0
  42. package/dist/chunks/{ai-tag.Cjf38mjR.js.map → ai-tag.AyG2UWCB.js.map} +1 -1
  43. package/dist/chunks/alert.CXRb-Smf.js +160 -0
  44. package/dist/chunks/{alert.QVQ6Zjbm.js.map → alert.CXRb-Smf.js.map} +1 -1
  45. package/dist/chunks/{anchor-scroller.CjJ26PJS.js → anchor-scroller.DWaykZQj.js} +66 -39
  46. package/dist/chunks/{anchor-scroller.CjJ26PJS.js.map → anchor-scroller.DWaykZQj.js.map} +1 -1
  47. package/dist/chunks/{base-modal.DmWkavtf.js → base-modal.C52VMtnd.js} +104 -67
  48. package/dist/chunks/{base-modal.DmWkavtf.js.map → base-modal.C52VMtnd.js.map} +1 -1
  49. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js → button-actions-with-menu.OsPQ-POD.js} +2 -2
  50. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js.map → button-actions-with-menu.OsPQ-POD.js.map} +1 -1
  51. package/dist/chunks/{button-actions.BLk114As.js → button-actions.Bdbu0bvt.js} +222 -148
  52. package/dist/chunks/{button-actions.BLk114As.js.map → button-actions.Bdbu0bvt.js.map} +1 -1
  53. package/dist/chunks/{button.DxhJNOtr.js → button.C9b2AC9w.js} +2 -2
  54. package/dist/chunks/{button.DxhJNOtr.js.map → button.C9b2AC9w.js.map} +1 -1
  55. package/dist/chunks/{calendar.CXKhBF2f.js → calendar.CqsfThnC.js} +438 -346
  56. package/dist/chunks/calendar.CqsfThnC.js.map +1 -0
  57. package/dist/chunks/card.8z7UQeVK.js +165 -0
  58. package/dist/chunks/{card.GjhsXOT0.js.map → card.8z7UQeVK.js.map} +1 -1
  59. package/dist/chunks/{checkbox-group.B2BjU3ZN.js → checkbox-group.Dur2Edtw.js} +4 -4
  60. package/dist/chunks/{checkbox-group.B2BjU3ZN.js.map → checkbox-group.Dur2Edtw.js.map} +1 -1
  61. package/dist/chunks/{checkbox.CIv8WgGp.js → checkbox.vNjt6QDJ.js} +93 -56
  62. package/dist/chunks/{checkbox.CIv8WgGp.js.map → checkbox.vNjt6QDJ.js.map} +1 -1
  63. package/dist/chunks/chip.BFY_-VCz.js +84 -0
  64. package/dist/chunks/{chip.DTpENaGC.js.map → chip.BFY_-VCz.js.map} +1 -1
  65. package/dist/chunks/{click-outside.CDz_x8mN.js → click-outside.BG01Sm0A.js} +2 -2
  66. package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BG01Sm0A.js.map} +1 -1
  67. package/dist/chunks/{code-snippet.YIm2oO_o.js → code-snippet.BVpFBhKq.js} +133 -76
  68. package/dist/chunks/{code-snippet.YIm2oO_o.js.map → code-snippet.BVpFBhKq.js.map} +1 -1
  69. package/dist/chunks/{controls-group.CqotnNEF.js → controls-group.DSm2Ujwt.js} +2 -2
  70. package/dist/chunks/{controls-group.CqotnNEF.js.map → controls-group.DSm2Ujwt.js.map} +1 -1
  71. package/dist/chunks/copy.qqGYFbKJ.js +133 -0
  72. package/dist/chunks/{copy.BVGQcf22.js.map → copy.qqGYFbKJ.js.map} +1 -1
  73. package/dist/chunks/{country.D20NCLLG.js → country.BEwW8TQo.js} +3 -3
  74. package/dist/chunks/{country.D20NCLLG.js.map → country.BEwW8TQo.js.map} +1 -1
  75. package/dist/chunks/country.types.jjXwaoMl.js +2537 -0
  76. package/dist/chunks/country.types.jjXwaoMl.js.map +1 -0
  77. package/dist/chunks/{dashboard-section.BubZyu8i.js → dashboard-section.DNxNVV44.js} +3 -3
  78. package/dist/chunks/{dashboard-section.BubZyu8i.js.map → dashboard-section.DNxNVV44.js.map} +1 -1
  79. package/dist/chunks/{dashed-underline.pjYTS0m1.js → dashed-underline.DL2_sik5.js} +3 -3
  80. package/dist/chunks/{dashed-underline.pjYTS0m1.js.map → dashed-underline.DL2_sik5.js.map} +1 -1
  81. package/dist/chunks/{data-grid-template.D8RhngPj.js → data-grid-template.BFv1zr6g.js} +4 -4
  82. package/dist/chunks/{data-grid-template.D8RhngPj.js.map → data-grid-template.BFv1zr6g.js.map} +1 -1
  83. package/dist/chunks/data-grid.ZHY5EzP3.js +4071 -0
  84. package/dist/chunks/data-grid.ZHY5EzP3.js.map +1 -0
  85. package/dist/chunks/date-picker.kl6aFlr1.js +237 -0
  86. package/dist/chunks/date-picker.kl6aFlr1.js.map +1 -0
  87. package/dist/chunks/date-range-picker.LCWVAa5R.js +1089 -0
  88. package/dist/chunks/date-range-picker.LCWVAa5R.js.map +1 -0
  89. package/dist/chunks/dialog-page.EdejG53a.js +143 -0
  90. package/dist/chunks/{dialog-page.oyG153fC.js.map → dialog-page.EdejG53a.js.map} +1 -1
  91. package/dist/chunks/{directive.rXUeDb8p.js → directive.Bfr4fuOy.js} +2 -2
  92. package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Bfr4fuOy.js.map} +1 -1
  93. package/dist/chunks/draggable-handle.Ba28eM8o.js +245 -0
  94. package/dist/chunks/draggable-handle.Ba28eM8o.js.map +1 -0
  95. package/dist/chunks/{dropdown-tag.BRB-emd1.js → dropdown-tag.B61hPq5n.js} +5 -5
  96. package/dist/chunks/{dropdown-tag.BRB-emd1.js.map → dropdown-tag.B61hPq5n.js.map} +1 -1
  97. package/dist/chunks/dropdown.Ca-f8tdX.js +1140 -0
  98. package/dist/chunks/dropdown.Ca-f8tdX.js.map +1 -0
  99. package/dist/chunks/{empty-state.D_Ac-XXH.js → empty-state.DMV23IZy.js} +2 -2
  100. package/dist/chunks/{empty-state.D_Ac-XXH.js.map → empty-state.DMV23IZy.js.map} +1 -1
  101. package/dist/chunks/error-message.CyERcfdt.js +72 -0
  102. package/dist/chunks/error-message.CyERcfdt.js.map +1 -0
  103. package/dist/chunks/field-label.DjjjkcO6.js +97 -0
  104. package/dist/chunks/field-label.DjjjkcO6.js.map +1 -0
  105. package/dist/chunks/{file-uploader.D5Rjsx4k.js → file-uploader.DeWmLpfp.js} +751 -469
  106. package/dist/chunks/{file-uploader.D5Rjsx4k.js.map → file-uploader.DeWmLpfp.js.map} +1 -1
  107. package/dist/chunks/{filter-bar.zD_ctViU.js → filter-bar.Bd4ghW_B.js} +1596 -1039
  108. package/dist/chunks/filter-bar.Bd4ghW_B.js.map +1 -0
  109. package/dist/chunks/fixed-scroller.DR2E_No4.js +148 -0
  110. package/dist/chunks/{fixed-scroller.MerESbd_.js.map → fixed-scroller.DR2E_No4.js.map} +1 -1
  111. package/dist/chunks/{footer-actions.CiPj7hZG.js → footer-actions.CvUaoMzj.js} +3 -3
  112. package/dist/chunks/{footer-actions.CiPj7hZG.js.map → footer-actions.CvUaoMzj.js.map} +1 -1
  113. package/dist/chunks/form-layout-title.DzGajv4U.js +248 -0
  114. package/dist/chunks/form-layout-title.DzGajv4U.js.map +1 -0
  115. package/dist/chunks/{header-meta.Dq6TlNPw.js → header-meta.AXUGoqDd.js} +127 -73
  116. package/dist/chunks/{header-meta.Dq6TlNPw.js.map → header-meta.AXUGoqDd.js.map} +1 -1
  117. package/dist/chunks/{header-with-views.DaEhkSS8.js → header-with-views.Ba4dswJF.js} +1121 -680
  118. package/dist/chunks/{header-with-views.DaEhkSS8.js.map → header-with-views.Ba4dswJF.js.map} +1 -1
  119. package/dist/chunks/{header.DkC-KKWa.js → header.C7B7RBib.js} +3 -3
  120. package/dist/chunks/{header.DkC-KKWa.js.map → header.C7B7RBib.js.map} +1 -1
  121. package/dist/chunks/{info-icon.BF8KxU-k.js → info-icon.DCR42Kvm.js} +2 -2
  122. package/dist/chunks/{info-icon.BF8KxU-k.js.map → info-icon.DCR42Kvm.js.map} +1 -1
  123. package/dist/chunks/input-field-password.BNAtIn_D.js +381 -0
  124. package/dist/chunks/{input-field-password.BKT1mYUw.js.map → input-field-password.BNAtIn_D.js.map} +1 -1
  125. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js → input-field-phone-number.CEYx1s4b.js} +98 -71
  126. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js.map → input-field-phone-number.CEYx1s4b.js.map} +1 -1
  127. package/dist/chunks/input-field.Dh5W0Az-.js +211 -0
  128. package/dist/chunks/input-field.Dh5W0Az-.js.map +1 -0
  129. package/dist/chunks/input-time.BLuMfakv.js +135 -0
  130. package/dist/chunks/input-time.BLuMfakv.js.map +1 -0
  131. package/dist/chunks/inspector.BzBPlz-5.js +172 -0
  132. package/dist/chunks/{inspector.Bnm0hl_D.js.map → inspector.BzBPlz-5.js.map} +1 -1
  133. package/dist/chunks/{link.MhoM3zQj.js → link.DB5g6d48.js} +56 -29
  134. package/dist/chunks/{link.MhoM3zQj.js.map → link.DB5g6d48.js.map} +1 -1
  135. package/dist/chunks/{list-item.BnzU1LIu.js → list-item.DqTHh8-Z.js} +2 -2
  136. package/dist/chunks/{list-item.BnzU1LIu.js.map → list-item.DqTHh8-Z.js.map} +1 -1
  137. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js → listbox-option-tag.CvbE-EuG.js} +2 -2
  138. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js.map → listbox-option-tag.CvbE-EuG.js.map} +1 -1
  139. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js → modal-fullscreen.DTvg2NLk.js} +63 -36
  140. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js.map → modal-fullscreen.DTvg2NLk.js.map} +1 -1
  141. package/dist/chunks/{modal.o0KddMiG.js → modal.D_TcWTkf.js} +63 -36
  142. package/dist/chunks/{modal.o0KddMiG.js.map → modal.D_TcWTkf.js.map} +1 -1
  143. package/dist/chunks/on-click-outside.Cy1eFULD.js +109 -0
  144. package/dist/chunks/on-click-outside.Cy1eFULD.js.map +1 -0
  145. package/dist/chunks/{pagination.ZISqB4M_.js → pagination.D6BxMw5L.js} +221 -99
  146. package/dist/chunks/{pagination.ZISqB4M_.js.map → pagination.D6BxMw5L.js.map} +1 -1
  147. package/dist/chunks/promo-banner.Dc_kK1x9.js +91 -0
  148. package/dist/chunks/{promo-banner.Db2kh2qK.js.map → promo-banner.Dc_kK1x9.js.map} +1 -1
  149. package/dist/chunks/{radio-group.DnMy7brs.js → radio-group.Bb-L-0io.js} +4 -4
  150. package/dist/chunks/{radio-group.DnMy7brs.js.map → radio-group.Bb-L-0io.js.map} +1 -1
  151. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js → rich-text-editor.Dtdfh-0V.js} +1782 -1731
  152. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js.map → rich-text-editor.Dtdfh-0V.js.map} +1 -1
  153. package/dist/chunks/search-bar.MVJS9-Mh.js +126 -0
  154. package/dist/chunks/{search-bar.DPjYDhja.js.map → search-bar.MVJS9-Mh.js.map} +1 -1
  155. package/dist/chunks/secondary-nav.C-nPZR-2.js +226 -0
  156. package/dist/chunks/secondary-nav.C-nPZR-2.js.map +1 -0
  157. package/dist/chunks/{segmented-control.BqIiX9hv.js → segmented-control.DDtjX-V5.js} +2 -2
  158. package/dist/chunks/{segmented-control.BqIiX9hv.js.map → segmented-control.DDtjX-V5.js.map} +1 -1
  159. package/dist/chunks/{selection-card-group.IPiouuot.js → selection-card-group.CLJPaknG.js} +3 -3
  160. package/dist/chunks/{selection-card-group.IPiouuot.js.map → selection-card-group.CLJPaknG.js.map} +1 -1
  161. package/dist/chunks/{sidepanel.BGMjjB3F.js → sidepanel.BTRfwGiS.js} +66 -39
  162. package/dist/chunks/{sidepanel.BGMjjB3F.js.map → sidepanel.BTRfwGiS.js.map} +1 -1
  163. package/dist/chunks/{step.QFER3tSj.js → step.TDm_ts1S.js} +92 -63
  164. package/dist/chunks/{step.QFER3tSj.js.map → step.TDm_ts1S.js.map} +1 -1
  165. package/dist/chunks/{structured-list-item.BDJKRC_8.js → structured-list-item.BBBtie1s.js} +58 -31
  166. package/dist/chunks/{structured-list-item.BDJKRC_8.js.map → structured-list-item.BBBtie1s.js.map} +1 -1
  167. package/dist/chunks/{summary-grid.types.CIkArZf5.js → summary-grid.types.DUIqCmwg.js} +5 -5
  168. package/dist/chunks/{summary-grid.types.CIkArZf5.js.map → summary-grid.types.DUIqCmwg.js.map} +1 -1
  169. package/dist/chunks/{tab.CaXF0dho.js → tab.CNIZyfZt.js} +2 -2
  170. package/dist/chunks/{tab.CaXF0dho.js.map → tab.CNIZyfZt.js.map} +1 -1
  171. package/dist/chunks/{tag.CocLKztJ.js → tag.D2xagTJv.js} +2 -2
  172. package/dist/chunks/{tag.CocLKztJ.js.map → tag.D2xagTJv.js.map} +1 -1
  173. package/dist/chunks/textarea.CJS-1I41.js +219 -0
  174. package/dist/chunks/{textarea.D4X6Ss9q.js.map → textarea.CJS-1I41.js.map} +1 -1
  175. package/dist/chunks/timeline-item.BOUWkLi1.js +322 -0
  176. package/dist/chunks/{timeline-item.C8BxWdy1.js.map → timeline-item.BOUWkLi1.js.map} +1 -1
  177. package/dist/chunks/{toast.BRI3G7TL.js → toast.d8vg71CB.js} +81 -54
  178. package/dist/chunks/{toast.BRI3G7TL.js.map → toast.d8vg71CB.js.map} +1 -1
  179. package/dist/chunks/{tooltip.CbsNGnhw.js → tooltip.BxtnF3is.js} +38 -36
  180. package/dist/chunks/tooltip.BxtnF3is.js.map +1 -0
  181. package/dist/chunks/{tutorial.BzV6bHQJ.js → tutorial.CZt_mcuT.js} +190 -103
  182. package/dist/chunks/{tutorial.BzV6bHQJ.js.map → tutorial.CZt_mcuT.js.map} +1 -1
  183. package/dist/chunks/{use-cached-selected-values.DqX2qsMC.js → use-cached-selected-values.BJbWbkEQ.js} +553 -417
  184. package/dist/chunks/use-cached-selected-values.BJbWbkEQ.js.map +1 -0
  185. package/dist/chunks/{use-country-items.CI8C7MLU.js → use-country-items.B4j8pAvW.js} +3 -3
  186. package/dist/chunks/{use-country-items.CI8C7MLU.js.map → use-country-items.B4j8pAvW.js.map} +1 -1
  187. package/dist/chunks/use-country-phon-code.ByqnuIni.js +6386 -0
  188. package/dist/chunks/use-country-phon-code.ByqnuIni.js.map +1 -0
  189. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js → use-date-input-formatter.Djf8AoLr.js} +2 -2
  190. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js.map → use-date-input-formatter.Djf8AoLr.js.map} +1 -1
  191. package/dist/chunks/use-touch-device.DTqFAbXh.js +11 -0
  192. package/dist/chunks/use-touch-device.DTqFAbXh.js.map +1 -0
  193. package/dist/click-outside.js +1 -1
  194. package/dist/code-snippet.js +1 -1
  195. package/dist/country.js +3 -3
  196. package/dist/dashboard-template.js +1 -1
  197. package/dist/dashed-underline.js +1 -1
  198. package/dist/data-grid-template.js +1 -1
  199. package/dist/data-grid.js +1 -1
  200. package/dist/date-picker.js +2 -2
  201. package/dist/date-range-picker.js +2 -2
  202. package/dist/draggable.js +1396 -0
  203. package/dist/draggable.js.map +1 -0
  204. package/dist/dropdown.js +11 -12
  205. package/dist/dropdown.js.map +1 -1
  206. package/dist/empty-state.js +1 -1
  207. package/dist/file-uploader.js +1 -1
  208. package/dist/filter-bar.js +1 -1
  209. package/dist/form-layout.js +1 -1
  210. package/dist/header-with-views.js +1 -1
  211. package/dist/header.js +1 -1
  212. package/dist/index.js +280 -275
  213. package/dist/index.js.map +1 -1
  214. package/dist/info-icon.js +1 -1
  215. package/dist/input-field-password.js +1 -1
  216. package/dist/input-field-phone-number.js +1 -1
  217. package/dist/input-field.js +1 -1
  218. package/dist/input-time.js +5 -0
  219. package/dist/input-time.js.map +1 -0
  220. package/dist/inspector.js +1 -1
  221. package/dist/internal.js +26 -25
  222. package/dist/internal.js.map +1 -1
  223. package/dist/link.js +1 -1
  224. package/dist/list.js +1 -1
  225. package/dist/menu.js +1 -1
  226. package/dist/modal-fullscreen.js +1 -1
  227. package/dist/modal.js +2 -2
  228. package/dist/pagination.js +1 -1
  229. package/dist/popover.js +1 -1
  230. package/dist/promo-banner.js +1 -1
  231. package/dist/radio-group.js +1 -1
  232. package/dist/rich-text-editor.js +1 -1
  233. package/dist/search-bar.js +2 -2
  234. package/dist/secondary-nav.js +1 -1
  235. package/dist/segmented-control.js +1 -1
  236. package/dist/selection-card.js +1 -1
  237. package/dist/sidepanel.js +1 -1
  238. package/dist/stepper.js +1 -1
  239. package/dist/structured-list.js +1 -1
  240. package/dist/summary-grid.js +1 -1
  241. package/dist/tabs.js +1 -1
  242. package/dist/tag.js +1 -1
  243. package/dist/textarea.js +1 -1
  244. package/dist/timeline.js +1 -1
  245. package/dist/toast.js +1 -1
  246. package/dist/tutorial.js +1 -1
  247. package/dist/web-types.json +297 -4
  248. package/package.json +10 -15
  249. package/dist/assets/dropdown-default-textbox.css +0 -1
  250. package/dist/chunks/accordion-item.BZDSJamR.js +0 -108
  251. package/dist/chunks/action-bar.CYGUYI0V.js +0 -207
  252. package/dist/chunks/ai-tag.Cjf38mjR.js +0 -73
  253. package/dist/chunks/alert.QVQ6Zjbm.js +0 -93
  254. package/dist/chunks/calendar.CXKhBF2f.js.map +0 -1
  255. package/dist/chunks/card.GjhsXOT0.js +0 -128
  256. package/dist/chunks/chip.DTpENaGC.js +0 -57
  257. package/dist/chunks/copy.BVGQcf22.js +0 -86
  258. package/dist/chunks/country.types.DxKjyd0S.js +0 -20
  259. package/dist/chunks/country.types.DxKjyd0S.js.map +0 -1
  260. package/dist/chunks/data-grid.DJG8Ty0A.js +0 -3194
  261. package/dist/chunks/data-grid.DJG8Ty0A.js.map +0 -1
  262. package/dist/chunks/date-picker.CnazYcSX.js +0 -155
  263. package/dist/chunks/date-picker.CnazYcSX.js.map +0 -1
  264. package/dist/chunks/date-range-picker.Bf9pRNL7.js +0 -811
  265. package/dist/chunks/date-range-picker.Bf9pRNL7.js.map +0 -1
  266. package/dist/chunks/debounce.DUTu11PS.js +0 -10
  267. package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
  268. package/dist/chunks/dialog-page.oyG153fC.js +0 -116
  269. package/dist/chunks/dropdown-default-textbox.Dvzg0StF.js +0 -337
  270. package/dist/chunks/dropdown-default-textbox.Dvzg0StF.js.map +0 -1
  271. package/dist/chunks/dropdown.Ct7uhPr6.js +0 -696
  272. package/dist/chunks/dropdown.Ct7uhPr6.js.map +0 -1
  273. package/dist/chunks/error-message.RxdStT3S.js +0 -106
  274. package/dist/chunks/error-message.RxdStT3S.js.map +0 -1
  275. package/dist/chunks/filter-bar.zD_ctViU.js.map +0 -1
  276. package/dist/chunks/fixed-scroller.MerESbd_.js +0 -111
  277. package/dist/chunks/form-layout-title.Bw7VgOO5.js +0 -210
  278. package/dist/chunks/form-layout-title.Bw7VgOO5.js.map +0 -1
  279. package/dist/chunks/input-field-password.BKT1mYUw.js +0 -234
  280. package/dist/chunks/input-field.m1PMwa4C.js +0 -170
  281. package/dist/chunks/input-field.m1PMwa4C.js.map +0 -1
  282. package/dist/chunks/inspector.Bnm0hl_D.js +0 -105
  283. package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
  284. package/dist/chunks/on-click-outside.BW4rkhzG.js.map +0 -1
  285. package/dist/chunks/promo-banner.Db2kh2qK.js +0 -64
  286. package/dist/chunks/search-bar.DPjYDhja.js +0 -89
  287. package/dist/chunks/secondary-nav.CwJjkJkj.js +0 -112
  288. package/dist/chunks/secondary-nav.CwJjkJkj.js.map +0 -1
  289. package/dist/chunks/textarea.D4X6Ss9q.js +0 -169
  290. package/dist/chunks/timeline-item.C8BxWdy1.js +0 -238
  291. package/dist/chunks/tooltip.CbsNGnhw.js.map +0 -1
  292. package/dist/chunks/use-cached-selected-values.DqX2qsMC.js.map +0 -1
  293. package/dist/chunks/use-country-phon-code.C6orQNnM.js +0 -291
  294. package/dist/chunks/use-country-phon-code.C6orQNnM.js.map +0 -1
  295. package/dist/draggable-handle.js +0 -149
  296. package/dist/draggable-handle.js.map +0 -1
@@ -1,108 +1,107 @@
1
- import { computed as o, ref as S, onMounted as Me, onUnmounted as we, watch as J, defineComponent as G, nextTick as ge, toRef as H, useSlots as Ge, useAttrs as Pe } from "vue";
2
- import { B as $, a as se } from "./keyboard-navigation.DWmhelVv.js";
1
+ import { computed as n, ref as x, onMounted as Ne, onUnmounted as we, watch as X, defineComponent as G, nextTick as pe, toRef as H, useSlots as Ge, useAttrs as Pe } from "vue";
2
+ import { B as M, a as se } from "./keyboard-navigation.DWmhelVv.js";
3
3
  import { B as j } from "./typography.C8lPlsbD.js";
4
4
  import { B as Fe } from "./loading-indicator.PxbRzshH.js";
5
- import { B as Ye } from "./empty-state.D_Ac-XXH.js";
5
+ import { B as Ye } from "./empty-state.DMV23IZy.js";
6
6
  import { u as le } from "./index.B6WW_F-J.js";
7
- import { d as Ue } from "./debounce.DUTu11PS.js";
8
7
  import { o as ze } from "./resize.Bqks3WUm.js";
9
8
  import "./index.Cl4_42j5.js";
10
- import { C as X, N as Ve } from "./minus-small.DJacLGTw.js";
11
- import { C as We } from "./checkmark-small.DVDtD4HQ.js";
9
+ import { C as J, N as Ue } from "./minus-small.DJacLGTw.js";
10
+ import { C as Ve } from "./checkmark-small.DVDtD4HQ.js";
12
11
  /* empty css */
13
- import { n as M } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
14
- import { B as Ke } from "./chip.DTpENaGC.js";
15
- import { C as je } from "./chevron-down.eYtgv5ly.js";
16
- import { C as qe } from "./chevron-up.d8cwIlA_.js";
17
- import { g as be } from "./generate-uid.NJ8tVoha.js";
18
- import { a as He, b as fe } from "./button-actions.BLk114As.js";
12
+ import { n as N } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
13
+ import { B as We } from "./chip.BFY_-VCz.js";
14
+ import { C as Ke } from "./chevron-down.eYtgv5ly.js";
15
+ import { C as je } from "./chevron-up.d8cwIlA_.js";
16
+ import { g as me } from "./generate-uid.NJ8tVoha.js";
17
+ import { a as qe, b as fe } from "./button-actions.Bdbu0bvt.js";
19
18
  import "../assets/use-cached-selected-values.css";
20
- const pe = (s, e, l, t) => {
21
- const a = o(
19
+ const ye = (s, e, l, t) => {
20
+ const o = n(
22
21
  () => {
23
- var f, L;
24
- return !!((f = s.value) != null && f.length) && ((L = s.value) == null ? void 0 : L.length) === e.value.length;
22
+ var m, A;
23
+ return !!((m = s.value) != null && m.length) && ((A = s.value) == null ? void 0 : A.length) === e.value.length;
25
24
  }
26
- ), n = o(() => {
27
- var f;
28
- return s.value == null || s.value.length === 0 ? !1 : ((f = s.value) == null ? void 0 : f.length) !== e.value.length;
25
+ ), a = n(() => {
26
+ var m;
27
+ return s.value == null || s.value.length === 0 ? !1 : ((m = s.value) == null ? void 0 : m.length) !== e.value.length;
29
28
  });
30
29
  return {
31
- isAllSelected: a,
32
- isIndeterminate: n,
33
- toggleSelectAll: (f) => {
34
- f ? l() : t();
30
+ isAllSelected: o,
31
+ isIndeterminate: a,
32
+ toggleSelectAll: (m) => {
33
+ m ? l() : t();
35
34
  }
36
35
  };
37
36
  };
38
- function Je(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: a }) {
39
- const n = S(null), r = S([]), f = S(0), L = S(0), d = S(0);
37
+ function He(s, { disabled: e, itemHeight: l, overscan: t = 5, prefixHeight: o }) {
38
+ const a = x(null), r = x([]), m = x(0), A = x(0), d = x(0);
40
39
  let b;
41
- const T = o(() => {
42
- const I = typeof l == "number" ? s.value.length * l : s.value.reduce((C, m, y) => C + l(y), 0), O = typeof l == "number" ? f.value * l : s.value.slice(0, f.value).reduce((C, m, y) => C + l(y), 0);
40
+ const T = n(() => {
41
+ const I = typeof l == "number" ? s.value.length * l : s.value.reduce((S, v, y) => S + l(y), 0), O = typeof l == "number" ? m.value * l : s.value.slice(0, m.value).reduce((S, v, y) => S + l(y), 0);
43
42
  return {
44
43
  style: {
45
44
  marginTop: `${O}px`,
46
45
  height: `${I - O}px`
47
46
  }
48
47
  };
49
- }), g = () => {
50
- const I = (a == null ? void 0 : a.value) ?? 0, O = Math.max(n.value.scrollTop - I, 0);
48
+ }), _ = () => {
49
+ const I = (o == null ? void 0 : o.value) ?? 0, O = Math.max(a.value.scrollTop - I, 0);
51
50
  if (typeof l == "number")
52
51
  return Math.floor(O / l);
53
- let C = 0, m = 0;
52
+ let S = 0, v = 0;
54
53
  for (let y = 0; y < s.value.length; y += 1) {
55
54
  const D = l(y);
56
- if (C += D, C >= O) {
57
- m = y;
55
+ if (S += D, S >= O) {
56
+ v = y;
58
57
  break;
59
58
  }
60
59
  }
61
- return m;
60
+ return v;
62
61
  }, p = () => {
63
- if (d.value = n.value.clientHeight, typeof l == "number")
62
+ if (d.value = a.value.clientHeight, typeof l == "number")
64
63
  return Math.ceil(d.value / l);
65
- const I = f.value ?? 0;
66
- let O = 0, C = 0;
67
- for (let m = I; m < s.value.length; m += 1) {
68
- const y = l(m);
69
- if (O += y, C = m, O > d.value)
64
+ const I = m.value ?? 0;
65
+ let O = 0, S = 0;
66
+ for (let v = I; v < s.value.length; v += 1) {
67
+ const y = l(v);
68
+ if (O += y, S = v, O > d.value)
70
69
  break;
71
70
  }
72
- return C - I;
73
- }, x = () => {
74
- if (n.value) {
71
+ return S - I;
72
+ }, C = () => {
73
+ if (a.value) {
75
74
  const I = p();
76
- f.value = g(), L.value = Math.min(f.value + I + t, s.value.length), r.value = s.value.slice(f.value, L.value);
75
+ m.value = _(), A.value = Math.min(m.value + I + t, s.value.length), r.value = s.value.slice(m.value, A.value);
77
76
  }
78
77
  }, R = () => {
79
- x();
78
+ C();
80
79
  };
81
- e || (Me(() => {
82
- n.value && (d.value = n.value.clientHeight, b = ze(n.value, ({ clientHeight: I }) => {
83
- d.value = I, x();
84
- }), x());
80
+ e || (Ne(() => {
81
+ a.value && (d.value = a.value.clientHeight, b = ze(a.value, ({ clientHeight: I }) => {
82
+ d.value = I, C();
83
+ }), C());
85
84
  }), we(() => {
86
85
  b == null || b.disconnect();
87
- }), J(
86
+ }), X(
88
87
  () => s.value,
89
88
  () => {
90
- x();
89
+ C();
91
90
  }
92
91
  ));
93
92
  const B = {
94
- ref: n,
93
+ ref: a,
95
94
  style: { overflowY: "auto" }
96
95
  };
97
96
  return e ? {
98
- containerRef: n,
97
+ containerRef: a,
99
98
  containerProps: B,
100
99
  // eslint-disable-next-line @typescript-eslint/no-empty-function
101
100
  onScroll: () => {
102
101
  },
103
102
  list: s
104
103
  } : {
105
- containerRef: n,
104
+ containerRef: a,
106
105
  containerProps: B,
107
106
  onScroll: R,
108
107
  list: r,
@@ -125,18 +124,18 @@ const Xe = G({
125
124
  }
126
125
  }
127
126
  });
128
- var Ze = function() {
127
+ var Je = function() {
129
128
  var e = this, l = e._self._c;
130
129
  return e._self._setupProxy, l("div", { staticClass: "b-listbox-single-select-category", attrs: { role: "group", "aria-label": e.categoryLabel } }, [l("bento-typography", { staticClass: "b-listbox-single-select-category__label-text", attrs: { variant: "caption", el: "span", "aria-hidden": "true" } }, [e._v(" " + e._s(e.categoryLabel) + " ")]), l("div", [e._t("default")], 2)], 1);
131
- }, Qe = [], et = /* @__PURE__ */ M(
130
+ }, Ze = [], Qe = /* @__PURE__ */ N(
132
131
  Xe,
132
+ Je,
133
133
  Ze,
134
- Qe,
135
134
  !1,
136
135
  null,
137
136
  "bfbc1649"
138
137
  );
139
- const tt = et.exports, st = G({
138
+ const et = Qe.exports, tt = G({
140
139
  name: "bento-listbox-option",
141
140
  props: {
142
141
  /**
@@ -150,27 +149,27 @@ const tt = et.exports, st = G({
150
149
  },
151
150
  emits: [c.CLICK, c.ENTER, c.SPACE, c.TAB],
152
151
  setup(s, { emit: e }) {
153
- const l = o(() => ({
152
+ const l = n(() => ({
154
153
  "b-listbox-option--disabled": s.disabled,
155
154
  "b-listbox-option--selected": s.selected
156
155
  }));
157
156
  return {
158
157
  // Enums
159
- BentoKeyboardNavigationKeyDownEvent: $,
158
+ BentoKeyboardNavigationKeyDownEvent: M,
160
159
  BentoListboxEvent: c,
161
160
  // Values
162
161
  conditionalClasses: l,
163
162
  // Events
164
- onClick: (n) => {
165
- e(c.CLICK, n);
163
+ onClick: (a) => {
164
+ e(c.CLICK, a);
166
165
  },
167
- onOptionSelected: (n, r) => {
168
- e(n, r);
166
+ onOptionSelected: (a, r) => {
167
+ e(a, r);
169
168
  }
170
169
  };
171
170
  }
172
171
  });
173
- var lt = function() {
172
+ var st = function() {
174
173
  var e = this, l = e._self._c;
175
174
  return e._self._setupProxy, l("div", e._b({ staticClass: "b-listbox-option", class: e.conditionalClasses, attrs: { role: "option" }, on: { click: e.onClick, keydown: [function(t) {
176
175
  return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : e.onOptionSelected(e.BentoListboxEvent.ENTER, t);
@@ -179,38 +178,38 @@ var lt = function() {
179
178
  }, function(t) {
180
179
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, t);
181
180
  }] } }, "div", e.$attrs, !1), [e._t("default")], 2);
182
- }, at = [], nt = /* @__PURE__ */ M(
181
+ }, lt = [], ot = /* @__PURE__ */ N(
182
+ tt,
183
183
  st,
184
184
  lt,
185
- at,
186
185
  !1,
187
186
  null,
188
187
  "c345b6c0"
189
188
  );
190
- const Z = nt.exports;
189
+ const Z = ot.exports;
191
190
  let ve = 0;
192
- const ot = {
191
+ const at = {
193
192
  beforeCreate() {
194
193
  this.uuid = ve.toString(), ve += 1;
195
194
  }
196
195
  };
197
- var it = function() {
196
+ var nt = function() {
198
197
  var e = this, l = e._self._c;
199
198
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#001222", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
200
- }, ct = [], rt = /* @__PURE__ */ M(
201
- ot,
199
+ }, it = [], ct = /* @__PURE__ */ N(
200
+ at,
201
+ nt,
202
202
  it,
203
- ct,
204
203
  !1,
205
204
  null,
206
205
  null
207
206
  );
208
- const ut = rt.exports, dt = G({
207
+ const rt = ct.exports, ut = G({
209
208
  name: "bento-listbox-single-select-option",
210
209
  components: {
211
210
  BentoListboxOption: Z,
212
211
  BentoTypography: j,
213
- CheckmarkIcon: ut
212
+ CheckmarkIcon: rt
214
213
  },
215
214
  props: {
216
215
  /**
@@ -234,12 +233,12 @@ const ut = rt.exports, dt = G({
234
233
  setup(s, { emit: e }) {
235
234
  const l = (r) => {
236
235
  s.disabled || e(r, s.option);
237
- }, t = o(() => s.disabled ? !0 : null), a = o(() => s.selected ? !0 : null), n = o(() => s.disabled ? -1 : 0);
236
+ }, t = n(() => s.disabled ? !0 : null), o = n(() => s.selected ? !0 : null), a = n(() => s.disabled ? -1 : 0);
238
237
  return {
239
238
  // Values
240
239
  ariaDisabled: t,
241
- ariaSelected: a,
242
- tabIndex: n,
240
+ ariaSelected: o,
241
+ tabIndex: a,
243
242
  // Enums
244
243
  BentoListboxEvent: c,
245
244
  // Events
@@ -247,7 +246,7 @@ const ut = rt.exports, dt = G({
247
246
  };
248
247
  }
249
248
  });
250
- var bt = function() {
249
+ var dt = function() {
251
250
  var e = this, l = e._self._c;
252
251
  return e._self._setupProxy, l("bento-listbox-option", { staticClass: "b-listbox-single-select-option", attrs: { disabled: e.disabled, selected: e.selected, "aria-selected": e.ariaSelected, "aria-disabled": e.ariaDisabled, tabindex: e.tabIndex }, on: { click: function(t) {
253
252
  return e.onOptionSelected(e.BentoListboxEvent.SELECT);
@@ -260,17 +259,17 @@ var bt = function() {
260
259
  } } }, [e._t("default", function() {
261
260
  return [l("span", { staticClass: "b-listbox-single-select-option__text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.option.label))]), e.option.description ? l("bento-typography", { staticClass: "b-listbox-single-select-option__description", attrs: { el: "span" } }, [e._v(" " + e._s(e.option.description) + " ")]) : e._e()], 1)];
262
261
  }, null, e.option), l("span", { staticClass: "b-listbox-single-select-option__check-icon" }, [l("checkmark-icon", { directives: [{ name: "show", rawName: "v-show", value: e.selected, expression: "selected" }], attrs: { "svg-title": "selected" } })], 1)], 2);
263
- }, ft = [], vt = /* @__PURE__ */ M(
262
+ }, bt = [], mt = /* @__PURE__ */ N(
263
+ ut,
264
264
  dt,
265
265
  bt,
266
- ft,
267
266
  !1,
268
267
  null,
269
268
  "bb14d75a"
270
269
  );
271
- const mt = vt.exports, ye = ({ items: s }, e) => {
272
- const l = o(() => s.value.length - 1), t = S(0), a = (g) => {
273
- switch (g) {
270
+ const ft = mt.exports, he = ({ items: s }, e) => {
271
+ const l = n(() => s.value.length - 1), t = x(0), o = (_) => {
272
+ switch (_) {
274
273
  case "increase":
275
274
  t.value += 1;
276
275
  break;
@@ -278,67 +277,67 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
278
277
  t.value -= 1;
279
278
  break;
280
279
  }
281
- }, n = ({ edgeCaseItem: g }, p) => {
282
- t.value !== g && (a(p), e(t.value));
283
- }, r = (g) => {
284
- T(g), n(
280
+ }, a = ({ edgeCaseItem: _ }, p) => {
281
+ t.value !== _ && (o(p), e(t.value));
282
+ }, r = (_) => {
283
+ T(_), a(
285
284
  {
286
285
  edgeCaseItem: l.value
287
286
  },
288
287
  "increase"
289
288
  /* INCREASE */
290
289
  );
291
- }, f = (g) => {
292
- T(g), n(
290
+ }, m = (_) => {
291
+ T(_), a(
293
292
  {
294
293
  edgeCaseItem: 0
295
294
  },
296
295
  "decrease"
297
296
  /* DECREASE */
298
297
  );
299
- }, L = () => {
298
+ }, A = () => {
300
299
  t.value = 0, e(t.value);
301
300
  }, d = () => {
302
301
  t.value = l.value, e(t.value);
303
- }, b = (g) => {
304
- t.value = g;
305
- }, T = (g) => {
302
+ }, b = (_) => {
303
+ t.value = _;
304
+ }, T = (_) => {
306
305
  var p;
307
- (p = g == null ? void 0 : g.detail) == null || p.preventDefault();
306
+ (p = _ == null ? void 0 : _.detail) == null || p.preventDefault();
308
307
  };
309
308
  return {
310
- moveToFirstElement: L,
309
+ moveToFirstElement: A,
311
310
  moveToLastElement: d,
312
311
  moveToNextElement: r,
313
- moveToPreviousElement: f,
312
+ moveToPreviousElement: m,
314
313
  setListboxFocusedIndex: b,
315
314
  preventDefault: T,
316
315
  focusedIndex: t
317
316
  };
318
- }, he = (s, e, l = S("option"), t = !0) => {
319
- const a = S([]), n = async () => {
317
+ }, Se = (s, e, l = x("option"), t = !0) => {
318
+ const o = x([]), a = async () => {
320
319
  if (!s.value || s.value.nodeType === Node.COMMENT_NODE)
321
320
  return;
322
321
  const r = Array.from(s.value.querySelectorAll(`[role="${l.value}"]`));
323
- a.value = t ? r.filter((f) => f.checkVisibility()) : r;
322
+ o.value = t ? r.filter((m) => m.checkVisibility()) : r;
324
323
  };
325
- return J(
324
+ return X(
326
325
  e,
327
326
  () => {
328
- ge(() => {
329
- n();
327
+ pe(() => {
328
+ a();
330
329
  });
331
330
  },
332
331
  { immediate: !0 }
333
332
  ), {
334
- visibleDomOptions: a,
335
- updateVisibleDomOptions: n
333
+ visibleDomOptions: o,
334
+ updateVisibleDomOptions: a
336
335
  };
337
- }, _t = G({
336
+ }, vt = G({
338
337
  name: "bento-listbox-single-select",
339
338
  components: {
340
- BentoListboxSingleSelectCategory: tt,
341
- BentoListboxSingleSelectOption: mt
339
+ BentoListboxSingleSelectCategory: et,
340
+ BentoListboxSingleSelectOption: ft
342
341
  },
343
342
  directives: { BentoKeyboardNavigationDirective: se },
344
343
  inheritAttrs: !1,
@@ -382,42 +381,42 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
382
381
  staticCategories: { type: Boolean, default: !1 }
383
382
  },
384
383
  emits: [c.SELECT, c.ENTER, c.SPACE, c.TAB],
385
- setup(s, { emit: e, expose: l, slots: t, attrs: a }) {
386
- const n = S(null), r = S([]), f = o(() => {
387
- var m;
388
- return !!((m = s.selectedValue) != null && m.length) && s.selectedValue.at(0);
389
- }), L = o(
384
+ setup(s, { emit: e, expose: l, slots: t, attrs: o }) {
385
+ const a = x(null), r = x([]), m = n(() => {
386
+ var v;
387
+ return !!((v = s.selectedValue) != null && v.length) && s.selectedValue.at(0);
388
+ }), A = n(
390
389
  () => {
391
- var m, y, D, P;
390
+ var v, y, D, P;
392
391
  return {
393
- "aria-label": (m = a["aria-label"]) == null ? void 0 : m.toString(),
394
- "aria-busy": (y = a["aria-busy"]) == null ? void 0 : y.toString(),
395
- "aria-atomic": (D = a["aria-atomic"]) == null ? void 0 : D.toString(),
396
- "aria-live": (P = a["aria-live"]) == null ? void 0 : P.toString()
392
+ "aria-label": (v = o["aria-label"]) == null ? void 0 : v.toString(),
393
+ "aria-busy": (y = o["aria-busy"]) == null ? void 0 : y.toString(),
394
+ "aria-atomic": (D = o["aria-atomic"]) == null ? void 0 : D.toString(),
395
+ "aria-live": (P = o["aria-live"]) == null ? void 0 : P.toString()
397
396
  };
398
397
  }
399
- ), d = o(() => !!s.items.some(({ items: m }) => !!m)), b = (m) => (y) => {
400
- e(m, [y]);
401
- }, { visibleDomOptions: T } = he(n, H(s, "items"), S("option"), !1), g = (m) => {
398
+ ), d = n(() => !!s.items.some(({ items: v }) => !!v)), b = (v) => (y) => {
399
+ e(v, [y]);
400
+ }, { visibleDomOptions: T } = Se(a, H(s, "items"), x("option"), !1), _ = (v) => {
402
401
  var y;
403
- (y = T.value[m]) == null || y.focus();
402
+ (y = T.value[v]) == null || y.focus();
404
403
  }, {
405
404
  moveToNextElement: p,
406
- moveToPreviousElement: x,
405
+ moveToPreviousElement: C,
407
406
  moveToFirstElement: R,
408
407
  moveToLastElement: B,
409
408
  setListboxFocusedIndex: I
410
- } = ye(
409
+ } = he(
411
410
  {
412
411
  items: T
413
412
  },
414
- g
413
+ _
415
414
  ), O = {
416
- [$.ARROW_UP]: x,
417
- [$.ARROW_DOWN]: p,
418
- [$.HOME]: R,
419
- [$.END]: B
420
- }, C = {
415
+ [M.ARROW_UP]: C,
416
+ [M.ARROW_DOWN]: p,
417
+ [M.HOME]: R,
418
+ [M.END]: B
419
+ }, S = {
421
420
  [c.SELECT]: b(c.SELECT),
422
421
  [c.SPACE]: b(c.SPACE),
423
422
  [c.TAB]: b(c.TAB),
@@ -438,66 +437,66 @@ const mt = vt.exports, ye = ({ items: s }, e) => {
438
437
  // Enums
439
438
  BentoListboxEvent: c,
440
439
  // Values
441
- listboxRef: n,
440
+ listboxRef: a,
442
441
  listboxItemRef: r,
443
- selectedItem: f,
442
+ selectedItem: m,
444
443
  slots: t,
445
- ariaAttributes: L,
444
+ ariaAttributes: A,
446
445
  // Computed
447
446
  hasCategories: d,
448
447
  // Methods
449
448
  onOptionSelected: b,
450
449
  // Keyboard navigation
451
450
  listboxListeners: O,
452
- listboxOptionListeners: C
451
+ listboxOptionListeners: S
453
452
  };
454
453
  }
455
454
  });
456
455
  var gt = function() {
457
456
  var e = this, l = e._self._c;
458
457
  return e._self._setupProxy, l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", attrs: { role: "listbox" } }, "div", e.ariaAttributes, !1), e.listboxListeners), [e.hasCategories && e.staticCategories ? e._l(e.items, function(t) {
459
- return l("bento-listbox-single-select-category", { key: t.value, attrs: { "category-label": t.label } }, e._l(t.items, function(a) {
460
- return l("bento-listbox-single-select-option", e._g({ key: a.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: a, disabled: e.isOptionDisabled ? e.isOptionDisabled(a) : null, selected: a.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(n, r) {
461
- return { key: r, fn: function(f) {
462
- return [e._t(r, null, null, f)];
458
+ return l("bento-listbox-single-select-category", { key: t.value, attrs: { "category-label": t.label } }, e._l(t.items, function(o) {
459
+ return l("bento-listbox-single-select-option", e._g({ key: o.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: o, disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null, selected: o.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(a, r) {
460
+ return { key: r, fn: function(m) {
461
+ return [e._t(r, null, null, m)];
463
462
  } };
464
463
  })], null, !0) }, e.listboxOptionListeners));
465
464
  }), 1);
466
465
  }) : e._l(e.items, function(t) {
467
- return l("bento-listbox-single-select-option", e._g({ key: t.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
468
- return { key: n, fn: function(r) {
469
- return [e._t(n, null, null, r)];
466
+ return l("bento-listbox-single-select-option", e._g({ key: t.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: t, disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, selected: t.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(o, a) {
467
+ return { key: a, fn: function(r) {
468
+ return [e._t(a, null, null, r)];
470
469
  } };
471
470
  })], null, !0) }, e.listboxOptionListeners));
472
471
  })], 2);
473
- }, pt = [], yt = /* @__PURE__ */ M(
474
- _t,
472
+ }, _t = [], pt = /* @__PURE__ */ N(
473
+ vt,
475
474
  gt,
476
- pt,
475
+ _t,
477
476
  !1,
478
477
  null,
479
478
  null
480
479
  );
481
- const ht = yt.exports;
482
- let me = 0;
483
- const Ct = {
480
+ const yt = pt.exports;
481
+ let ge = 0;
482
+ const ht = {
484
483
  beforeCreate() {
485
- this.uuid = me.toString(), me += 1;
484
+ this.uuid = ge.toString(), ge += 1;
486
485
  }
487
486
  };
488
- var xt = function() {
487
+ var St = function() {
489
488
  var e = this, l = e._self._c;
490
489
  return l("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#001222", d: "M9.69043 5.75L4.62988 10.8105L1.56934 7.75L2.62988 6.68945L4.62988 8.68945L8.62988 4.68945L9.69043 5.75Z" } }), l("path", { attrs: { fill: "#001222", d: "M13.9307 5.75L8.87012 10.8105L7.80957 9.75L12.8701 4.68945L13.9307 5.75Z" } })]);
491
- }, St = [], Ot = /* @__PURE__ */ M(
492
- Ct,
493
- xt,
490
+ }, Ct = [], xt = /* @__PURE__ */ N(
491
+ ht,
494
492
  St,
493
+ Ct,
495
494
  !1,
496
495
  null,
497
496
  null
498
497
  );
499
- const Et = Ot.exports, Tt = {}, It = /* @__PURE__ */ G({
500
- ...Tt,
498
+ const Ot = xt.exports, Et = {}, Tt = /* @__PURE__ */ G({
499
+ ...Et,
501
500
  __name: "decorative-checkbox",
502
501
  props: {
503
502
  disabled: { type: Boolean, default: !1 },
@@ -506,42 +505,79 @@ const Et = Ot.exports, Tt = {}, It = /* @__PURE__ */ G({
506
505
  allSelected: { type: Boolean, default: !1 }
507
506
  },
508
507
  setup(s) {
509
- const e = s, l = o(() => ({
510
- [`b-checkbox-input--${X.DISABLED}`]: e.disabled
511
- })), t = o(() => ({
512
- [`b-checkbox-input__outline--${X.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
513
- [`b-checkbox-input__outline--${X.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
514
- [`b-checkbox-input__outline--${X.INDETERMINATE}`]: e.indeterminate
508
+ const e = s, l = n(() => ({
509
+ [`b-checkbox-input--${J.DISABLED}`]: e.disabled
510
+ })), t = n(() => ({
511
+ [`b-checkbox-input__outline--${J.UNCHECKED}`]: !e.checked && !e.indeterminate && !e.allSelected,
512
+ [`b-checkbox-input__outline--${J.CHECKED}`]: (e.checked || e.allSelected) && !e.indeterminate,
513
+ [`b-checkbox-input__outline--${J.INDETERMINATE}`]: e.indeterminate
515
514
  }));
516
- return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: We, MinusSmallIcon: Ve, DoubleCheckmarkSmallIcon: Et };
515
+ return { __sfc: !0, props: e, conditionalClasses: l, outlineConditionalClasses: t, CheckmarkSmallIcon: Ve, MinusSmallIcon: Ue, DoubleCheckmarkSmallIcon: Ot };
517
516
  }
518
517
  });
519
- var Lt = function() {
518
+ var It = function() {
520
519
  var e = this, l = e._self._c, t = e._self._setupProxy;
521
520
  return l("div", { staticClass: "b-checkbox-input", class: t.conditionalClasses, attrs: { role: "presentation" } }, [e.indeterminate ? l(t.MinusSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true" } }) : e.allSelected ? l(t.DoubleCheckmarkSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true", "data-testid": "decorative-checkbox-double-checkmark-icon" } }) : e.checked ? l(t.CheckmarkSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "", "aria-hidden": "true" } }) : e._e(), l("div", { staticClass: "b-checkbox-input__outline", class: t.outlineConditionalClasses })], 1);
522
- }, At = [], kt = /* @__PURE__ */ M(
521
+ }, At = [], Lt = /* @__PURE__ */ N(
522
+ Tt,
523
523
  It,
524
- Lt,
525
524
  At,
526
525
  !1,
527
526
  null,
528
527
  "b87bbaf9"
529
528
  );
530
- const ae = kt.exports;
531
- var Ce = /* @__PURE__ */ ((s) => (s.DISABLED = "disabled", s.STATIC_CATEGORY = "static-category", s))(Ce || {}), z = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.UNSELECT_CATEGORY = "unselect-category", s.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", s))(z || {});
532
- const Rt = {
533
- "en-US": { categoryClosed: "{category} closed", categoryOpened: "{category} opened" },
534
- "ja-JP": { categoryClosed: "{category}を閉じました", categoryOpened: "{category}を開きました" },
535
- "pt-BR": { categoryClosed: "{category} fechado", categoryOpened: "{categoria} aberta" }
536
- }, Dt = G({
537
- i18n: { messages: Rt },
529
+ const oe = Lt.exports;
530
+ var Ce = /* @__PURE__ */ ((s) => (s.DISABLED = "disabled", s.STATIC_CATEGORY = "static-category", s))(Ce || {}), U = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.UNSELECT_CATEGORY = "unselect-category", s.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", s))(U || {});
531
+ const kt = {
532
+ "de-DE": {
533
+ categoryClosed: "{category} geschlossen",
534
+ categoryOpened: "{category} geöffnet"
535
+ },
536
+ "en-GB": {
537
+ categoryClosed: "{category} closed",
538
+ categoryOpened: "{category} opened"
539
+ },
540
+ "en-US": {
541
+ categoryClosed: "{category} closed",
542
+ categoryOpened: "{category} opened"
543
+ },
544
+ "es-ES": {
545
+ categoryClosed: "{category} cerrado",
546
+ categoryOpened: "{category} abierto"
547
+ },
548
+ "es-MX": {
549
+ categoryClosed: "{category} cerrado",
550
+ categoryOpened: "{category} abierto"
551
+ },
552
+ "fr-FR": {
553
+ categoryClosed: "{category} fermée",
554
+ categoryOpened: "{category} ouverte"
555
+ },
556
+ "it-IT": {
557
+ categoryClosed: "{category} chiuso",
558
+ categoryOpened: "{category} aperto"
559
+ },
560
+ "ja-JP": {
561
+ categoryClosed: "{category}を閉じました",
562
+ categoryOpened: "{category}を開きました"
563
+ },
564
+ "pt-BR": {
565
+ categoryClosed: "{category} fechada",
566
+ categoryOpened: "{categoria} aberta"
567
+ },
568
+ "zh-CN": {
569
+ categoryClosed: "{category} 已关闭",
570
+ categoryOpened: "{category} 已打开"
571
+ }
572
+ }, Rt = G({
573
+ i18n: { messages: kt },
538
574
  name: "bento-listbox-multi-select-category",
539
575
  components: {
540
576
  BentoTypography: j,
541
577
  BentoListboxOption: Z,
542
- ChevronDownIcon: je,
543
- ChevronUpIcon: qe,
544
- DecorativeCheckbox: ae
578
+ ChevronDownIcon: Ke,
579
+ ChevronUpIcon: je,
580
+ DecorativeCheckbox: oe
545
581
  },
546
582
  props: {
547
583
  /**
@@ -587,75 +623,75 @@ const Rt = {
587
623
  tabindex: { type: Number, default: -1 }
588
624
  },
589
625
  emits: [
590
- z.SELECT_CATEGORY,
591
- z.UNSELECT_CATEGORY,
592
- z.TOGGLE_CATEGORY_VISIBILITY
626
+ U.SELECT_CATEGORY,
627
+ U.UNSELECT_CATEGORY,
628
+ U.TOGGLE_CATEGORY_VISIBILITY
593
629
  ],
594
630
  setup(s, { emit: e }) {
595
- const l = S(!1), { t } = le(), a = be("category-group"), n = be("category-name"), r = (E) => s.isOptionDisabled ? s.isOptionDisabled(E) : !1, f = o(
631
+ const l = x(!1), { t } = le(), o = me("category-group"), a = me("category-name"), r = (E) => s.isOptionDisabled ? s.isOptionDisabled(E) : !1, m = n(
596
632
  () => s.category.items.every((E) => r(E))
597
- ), L = H(s, "staticCategories"), d = o(() => l.value || s.staticCategories), b = o(() => ({
598
- [`b-listbox-multi-select-category--${Ce.DISABLED}`]: f.value
599
- })), T = (E, A) => {
600
- E.preventDefault(), l.value = A !== void 0 ? A : !l.value, e(z.TOGGLE_CATEGORY_VISIBILITY, s.category.value);
601
- }, g = (E) => {
633
+ ), A = H(s, "staticCategories"), d = n(() => l.value || s.staticCategories), b = n(() => ({
634
+ [`b-listbox-multi-select-category--${Ce.DISABLED}`]: m.value
635
+ })), T = (E, L) => {
636
+ E.preventDefault(), l.value = L !== void 0 ? L : !l.value, e(U.TOGGLE_CATEGORY_VISIBILITY, s.category.value);
637
+ }, _ = (E) => {
602
638
  var Y;
603
- const A = r(E), N = ((Y = s.selectedItemsList) == null ? void 0 : Y.includes(E.value)) || !1;
604
- return { isDisabled: A, isPreSelected: N };
605
- }, p = o(
639
+ const L = r(E), $ = ((Y = s.selectedItemsList) == null ? void 0 : Y.includes(E.value)) || !1;
640
+ return { isDisabled: L, isPreSelected: $ };
641
+ }, p = n(
606
642
  () => s.category.items.filter((E) => {
607
- const { isDisabled: A, isPreSelected: N } = g(E);
608
- return A && N || !A;
643
+ const { isDisabled: L, isPreSelected: $ } = _(E);
644
+ return L && $ || !L;
609
645
  })
610
- ), x = o(
646
+ ), C = n(
611
647
  () => {
612
648
  var E;
613
649
  return (E = p.value) == null ? void 0 : E.filter(
614
- ({ value: A }) => {
615
- var N;
616
- return (N = s.selectedItemsList) == null ? void 0 : N.includes(A);
650
+ ({ value: L }) => {
651
+ var $;
652
+ return ($ = s.selectedItemsList) == null ? void 0 : $.includes(L);
617
653
  }
618
654
  );
619
655
  }
620
- ), R = o(() => {
656
+ ), R = n(() => {
621
657
  const E = l.value ? "categoryOpened" : "categoryClosed";
622
658
  return t(E, { category: s.category.label });
623
659
  }), B = () => {
624
- e(z.SELECT_CATEGORY);
660
+ e(U.SELECT_CATEGORY);
625
661
  }, I = () => {
626
- e(z.UNSELECT_CATEGORY);
627
- }, { isAllSelected: O, isIndeterminate: C, toggleSelectAll: m } = pe(
628
- x,
662
+ e(U.UNSELECT_CATEGORY);
663
+ }, { isAllSelected: O, isIndeterminate: S, toggleSelectAll: v } = ye(
664
+ C,
629
665
  p,
630
666
  B,
631
667
  I
632
- ), y = o(() => C.value ? "mixed" : `${O.value}`), D = S(O.value), P = () => {
633
- D.value = !D.value, m(D.value);
668
+ ), y = n(() => S.value ? "mixed" : `${O.value}`), D = x(O.value), P = () => {
669
+ D.value = !D.value, v(D.value);
634
670
  };
635
- return J(O, () => {
671
+ return X(O, () => {
636
672
  D.value = O.value;
637
673
  }), {
638
674
  // Values
639
675
  chevronTitle: R,
640
676
  conditionalClass: b,
641
- hasAllPropsDisabled: f,
677
+ hasAllPropsDisabled: m,
642
678
  isOpen: l,
643
679
  isAllSelected: O,
644
- isIndeterminate: C,
645
- isStaticCategory: L,
646
- categoryGroupId: a,
647
- categoryNameId: n,
680
+ isIndeterminate: S,
681
+ isStaticCategory: A,
682
+ categoryGroupId: o,
683
+ categoryNameId: a,
648
684
  // Computed
649
685
  showItemChildren: d,
650
686
  ariaCheckedComputed: y,
651
687
  // Methods
652
688
  handleSelectAll: P,
653
689
  toggleOpen: T,
654
- toggleSelectAll: m
690
+ toggleSelectAll: v
655
691
  };
656
692
  }
657
693
  });
658
- var Bt = function() {
694
+ var Dt = function() {
659
695
  var e = this, l = e._self._c;
660
696
  return e._self._setupProxy, l("div", [e.isStaticCategory ? l("div", { staticClass: "b-listbox-multi-select-category b-listbox-multi-select-category--static-category", attrs: { "aria-hidden": "true" } }, [l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { el: "span", variant: "caption" } }, [e._v(" " + e._s(e.category.label) + " ")])], 1)]) : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-category__option", class: e.conditionalClass, attrs: { tabindex: e.tabindex, "aria-selected": e.ariaCheckedComputed !== "false", "aria-checked": e.ariaCheckedComputed, "aria-disabled": e.hasAllPropsDisabled, "aria-expanded": `${e.isOpen}`, role: "treeitem", "aria-owns": e.categoryGroupId, "aria-labelledby": e.categoryNameId }, on: { click: e.handleSelectAll, "enter-pressed": e.handleSelectAll, "space-pressed": function(t) {
661
697
  return t.preventDefault(), e.handleSelectAll.apply(null, arguments);
@@ -666,23 +702,23 @@ var Bt = function() {
666
702
  }] } }, [l("decorative-checkbox", { attrs: { indeterminate: e.isIndeterminate, disabled: e.hasAllPropsDisabled, checked: e.isAllSelected } }), l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { id: e.categoryNameId, el: "span" } }, [e._v(" " + e._s(e.category.label) + " ")]), l("div", { staticClass: "b-listbox-multi-select-category__label-chevron", attrs: { "aria-hidden": "true", "data-testid": "toggle-listbox" }, on: { "!click": function(t) {
667
703
  return t.stopPropagation(), e.toggleOpen.apply(null, arguments);
668
704
  } } }, [e.isOpen ? l("chevron-up-icon", { attrs: { "svg-title": e.chevronTitle } }) : l("chevron-down-icon", { attrs: { "svg-title": e.chevronTitle } })], 1)], 1)], 1), l("div", { directives: [{ name: "show", rawName: "v-show", value: e.showItemChildren, expression: "showItemChildren" }], attrs: { id: e.categoryGroupId, role: "group", "aria-label": e.category.label } }, [e._t("default")], 2)], 1);
669
- }, $t = [], Nt = /* @__PURE__ */ M(
705
+ }, Bt = [], Mt = /* @__PURE__ */ N(
706
+ Rt,
670
707
  Dt,
671
708
  Bt,
672
- $t,
673
709
  !1,
674
710
  null,
675
711
  "00ccd708"
676
712
  );
677
- const Mt = Nt.exports;
713
+ const $t = Mt.exports;
678
714
  var w = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", s.UNSELECT_CATEGORY = "unselect-category", s.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", s))(w || {});
679
- const wt = G({
715
+ const Nt = G({
680
716
  name: "listbox-multi-select-options",
681
717
  components: {
682
718
  BentoListboxOption: Z,
683
719
  BentoTypography: j,
684
- ListboxMultiSelectCategory: Mt,
685
- DecorativeCheckbox: ae
720
+ ListboxMultiSelectCategory: $t,
721
+ DecorativeCheckbox: oe
686
722
  },
687
723
  inheritAttrs: !1,
688
724
  props: {
@@ -760,25 +796,25 @@ const wt = G({
760
796
  setup(s, { emit: e }) {
761
797
  const l = (d) => {
762
798
  s.isOptionDisabled(d) || e(w.TOGGLE_CHECKBOX_SELECTION, d);
763
- }, t = (d) => !!d.items, a = (d) => {
799
+ }, t = (d) => !!d.items, o = (d) => {
764
800
  const b = s.isMultiLevel && s.searching;
765
801
  return d.description && (!s.isMultiLevel || b);
766
- }, n = (d) => d.items ? !!d.items.find((b) => s.selectedItemsList.includes(b.value)) : s.selectedItemsList.includes(d.value), r = (d) => {
802
+ }, a = (d) => d.items ? !!d.items.find((b) => s.selectedItemsList.includes(b.value)) : s.selectedItemsList.includes(d.value), r = (d) => {
767
803
  if (t(d)) {
768
- const b = n(d) ? w.UNSELECT_CATEGORY : w.SELECT_CATEGORY;
804
+ const b = a(d) ? w.UNSELECT_CATEGORY : w.SELECT_CATEGORY;
769
805
  e(b, d);
770
806
  } else
771
807
  l(d);
772
808
  };
773
809
  return {
774
810
  // Values
775
- conditionalClasses: o(() => ({
811
+ conditionalClasses: n(() => ({
776
812
  "b-listbox-multi-select-options__static-category-option": s.staticCategories,
777
813
  "b-listbox-multi-select-options__category-option": s.categoryItems
778
814
  })),
779
815
  // Methods
780
- isOptionSelected: n,
781
- shouldShowDescription: a,
816
+ isOptionSelected: a,
817
+ shouldShowDescription: o,
782
818
  toggleCheckboxSelection: l,
783
819
  toggleSearchOption: r,
784
820
  computedTabindex: (d) => s.itemsIndex[d] === s.focusedIndex ? 0 : -1,
@@ -788,59 +824,116 @@ const wt = G({
788
824
  };
789
825
  }
790
826
  });
791
- var Gt = function() {
827
+ var wt = function() {
792
828
  var e = this, l = e._self._c;
793
829
  return e._self._setupProxy, l("div", e._l(e.items, function(t) {
794
- return l("div", { key: `selected-${t.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role || "option" }, on: { click: function(a) {
830
+ return l("div", { key: `selected-${t.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role || "option" }, on: { click: function(o) {
795
831
  return e.toggleSearchOption(t);
796
- }, "enter-pressed": function(a) {
832
+ }, "enter-pressed": function(o) {
797
833
  return e.toggleSearchOption(t);
798
- }, "space-pressed": function(a) {
799
- return a.preventDefault(), e.toggleSearchOption(t);
834
+ }, "space-pressed": function(o) {
835
+ return o.preventDefault(), e.toggleSearchOption(t);
800
836
  } } }, [l("decorative-checkbox", { attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, checked: e.isOptionSelected(t) } }), e._t("default", function() {
801
837
  return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(t.label))]), e.shouldShowDescription(t) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(t.description) + " ")]) : e._e()], 1)];
802
- }, null, t)], 2)] : [t.items ? [l("listbox-multi-select-category", { attrs: { category: t, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled, "selected-items-list": e.selectedItemsList, tabindex: e.computedTabindex(t.value) }, on: { "select-category": function(a) {
838
+ }, null, t)], 2)] : [t.items ? [l("listbox-multi-select-category", { attrs: { category: t, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled, "selected-items-list": e.selectedItemsList, tabindex: e.computedTabindex(t.value) }, on: { "select-category": function(o) {
803
839
  return e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, t);
804
- }, "unselect-category": function(a) {
840
+ }, "unselect-category": function(o) {
805
841
  return e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, t);
806
- }, "toggle-category-visibility": function(a) {
807
- return e.$emit(e.ListboxMultiSelectOptionsEvent.TOGGLE_CATEGORY_VISIBILITY, a);
808
- } } }, [l("listbox-multi-select-options", { attrs: { "category-items": "", items: t.items, "is-option-disabled": e.isOptionDisabled, "items-index": e.itemsIndex, "focused-index": e.focusedIndex, "is-multi-level": e.isMultiLevel, "static-categories": e.staticCategories, "selected-items-list": e.selectedItemsList, searching: e.searching, role: e.$attrs.role || "option" }, on: { "toggle-checkbox-selection": (a) => e.toggleCheckboxSelection(a) } })], 1)] : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role || "option" }, on: { click: function(a) {
842
+ }, "toggle-category-visibility": function(o) {
843
+ return e.$emit(e.ListboxMultiSelectOptionsEvent.TOGGLE_CATEGORY_VISIBILITY, o);
844
+ } } }, [l("listbox-multi-select-options", { attrs: { "category-items": "", items: t.items, "is-option-disabled": e.isOptionDisabled, "items-index": e.itemsIndex, "focused-index": e.focusedIndex, "is-multi-level": e.isMultiLevel, "static-categories": e.staticCategories, "selected-items-list": e.selectedItemsList, searching: e.searching, role: e.$attrs.role || "option" }, on: { "toggle-checkbox-selection": (o) => e.toggleCheckboxSelection(o) } })], 1)] : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, tabindex: e.computedTabindex(t.value), "aria-selected": `${e.isOptionSelected(t)}`, "aria-checked": `${e.isOptionSelected(t)}`, "aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(t) : null, role: e.$attrs.role || "option" }, on: { click: function(o) {
809
845
  return e.toggleCheckboxSelection(t);
810
- }, "enter-pressed": function(a) {
846
+ }, "enter-pressed": function(o) {
811
847
  return e.toggleCheckboxSelection(t);
812
- }, "space-pressed": function(a) {
813
- return a.preventDefault(), e.toggleCheckboxSelection(t);
848
+ }, "space-pressed": function(o) {
849
+ return o.preventDefault(), e.toggleCheckboxSelection(t);
814
850
  } } }, [l("decorative-checkbox", { attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(t) : null, checked: e.isOptionSelected(t) } }), e._t("default", function() {
815
851
  return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(t.label))]), e.shouldShowDescription(t) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(t.description) + " ")]) : e._e()], 1)];
816
852
  }, null, t)], 2)]], 2);
817
853
  }), 0);
818
- }, Pt = [], Ft = /* @__PURE__ */ M(
854
+ }, Gt = [], Pt = /* @__PURE__ */ N(
855
+ Nt,
819
856
  wt,
820
857
  Gt,
821
- Pt,
822
858
  !1,
823
859
  null,
824
860
  "0985e0a4"
825
861
  );
826
- const Yt = Ft.exports, Ut = (s) => {
827
- const e = o(() => {
862
+ const Ft = Pt.exports, Yt = (s) => {
863
+ const e = n(() => {
828
864
  var t;
829
- return !!((t = s.value) != null && t.find(({ items: a }) => !!a));
830
- }), l = o(() => {
865
+ return !!((t = s.value) != null && t.find(({ items: o }) => !!o));
866
+ }), l = n(() => {
831
867
  var t;
832
- return e.value ? (t = s.value) == null ? void 0 : t.reduce((a, n) => (n.items ? a.push(...n.items.flat()) : a.push(n), a), []) : s.value;
868
+ return e.value ? (t = s.value) == null ? void 0 : t.reduce((o, a) => (a.items ? o.push(...a.items.flat()) : o.push(a), o), []) : s.value;
833
869
  });
834
870
  return {
835
871
  isMultiLevelSelect: e,
836
872
  flattenedItemsList: l
837
873
  };
838
874
  }, zt = {
839
- "en-US": { allSelected: "All selected ({total})", numberOfTotalSelected: "{number} of {total} selected", numbersSelected: "{number} selected", selectAll: "Select all ({total})" },
840
- "ja-JP": { allSelected: "すべて選択 ({total})", numberOfTotalSelected: "{number}/{total}件が選択されました", numbersSelected: "{number}件選択済み", selectAll: "すべて選択 ({total})" },
841
- "pt-BR": { allSelected: "Todos os selecionados ({total})", numberOfTotalSelected: "{number} de {total} selecionados", numbersSelected: "{number} selecionados", selectAll: "Selecionar tudo ({total})" }
842
- }, Vt = { i18n: { messages: zt } }, Wt = /* @__PURE__ */ G({
843
- ...Vt,
875
+ "de-DE": {
876
+ allSelected: "Alle ausgewählt ({total})",
877
+ numberOfTotalSelected: "{number} von {total} ausgewählt",
878
+ numbersSelected: "{number} ausgewählt",
879
+ selectAll: "Alle auswählen ({total})"
880
+ },
881
+ "en-GB": {
882
+ allSelected: "All selected ({total})",
883
+ numberOfTotalSelected: "{number} of {total} selected",
884
+ numbersSelected: "{number} selected",
885
+ selectAll: "Select all ({total})"
886
+ },
887
+ "en-US": {
888
+ allSelected: "All selected ({total})",
889
+ numberOfTotalSelected: "{number} of {total} selected",
890
+ numbersSelected: "{number} selected",
891
+ selectAll: "Select all ({total})"
892
+ },
893
+ "es-ES": {
894
+ allSelected: "Todos seleccionados ({total})",
895
+ numberOfTotalSelected: "{number} de {total} seleccionados",
896
+ numbersSelected: "{number} seleccionado",
897
+ selectAll: "Seleccionar todo ({total})"
898
+ },
899
+ "es-MX": {
900
+ allSelected: "Todos seleccionados ({total})",
901
+ numberOfTotalSelected: "{number} de {total} seleccionados",
902
+ numbersSelected: "{número} seleccionado",
903
+ selectAll: "Seleccionar todo ({total})"
904
+ },
905
+ "fr-FR": {
906
+ allSelected: "Tous sélectionnés ({total})",
907
+ numberOfTotalSelected: "{number} sélectionné(s) sur {total}",
908
+ numbersSelected: "{number} sélectionné(s)",
909
+ selectAll: "Tout sélectionner ({total})"
910
+ },
911
+ "it-IT": {
912
+ allSelected: "Tutti i selezionati ({total})",
913
+ numberOfTotalSelected: "{numero} su {totale} selezionati",
914
+ numbersSelected: "{numero} selezionati",
915
+ selectAll: "Seleziona tutto ({total})"
916
+ },
917
+ "ja-JP": {
918
+ allSelected: "すべて選択 ({total})",
919
+ numberOfTotalSelected: "{number}/{total}件が選択されました",
920
+ numbersSelected: "{number}件選択済み",
921
+ selectAll: "すべて選択 ({total})"
922
+ },
923
+ "pt-BR": {
924
+ allSelected: "Todos os selecionados ({total})",
925
+ numberOfTotalSelected: "{number} de {total} selecionados",
926
+ numbersSelected: "{number} selecionados",
927
+ selectAll: "Selecionar tudo ({total})"
928
+ },
929
+ "zh-CN": {
930
+ allSelected: "全部已选 ({total})",
931
+ numberOfTotalSelected: "已选择 {number} 个,共 {total} 个",
932
+ numbersSelected: "已选择 {number} 个",
933
+ selectAll: "选择全部({total})个"
934
+ }
935
+ }, Ut = { i18n: { messages: zt } }, Vt = /* @__PURE__ */ G({
936
+ ...Ut,
844
937
  __name: "listbox-multi-select",
845
938
  props: {
846
939
  hasMoreItems: { type: Boolean, default: !1 },
@@ -853,184 +946,226 @@ const Yt = Ft.exports, Ut = (s) => {
853
946
  },
854
947
  emits: ["select"],
855
948
  setup(s, { expose: e, emit: l }) {
856
- const t = s, { t: a, n } = le(), r = Ge(), f = Pe(), L = o(
949
+ const t = s, { t: o, n: a } = le(), r = Ge(), m = Pe(), A = n(
857
950
  () => {
858
- var i, u, v, h;
951
+ var i, u, f, h;
859
952
  return {
860
- "aria-label": (i = f["aria-label"]) == null ? void 0 : i.toString(),
861
- "aria-busy": (u = f["aria-busy"]) == null ? void 0 : u.toString(),
862
- "aria-atomic": (v = f["aria-atomic"]) == null ? void 0 : v.toString(),
863
- "aria-live": (h = f["aria-live"]) == null ? void 0 : h.toString(),
953
+ "aria-label": (i = m["aria-label"]) == null ? void 0 : i.toString(),
954
+ "aria-busy": (u = m["aria-busy"]) == null ? void 0 : u.toString(),
955
+ "aria-atomic": (f = m["aria-atomic"]) == null ? void 0 : f.toString(),
956
+ "aria-live": (h = m["aria-live"]) == null ? void 0 : h.toString(),
864
957
  "aria-multiselectable": !0
865
958
  };
866
959
  }
867
- ), d = S(null), b = S(null), T = S(null), g = S(null), p = o(() => t.selectedValues.map(({ value: i }) => i)), { isMultiLevelSelect: x, flattenedItemsList: R } = Ut(H(t, "items")), B = o(() => x.value && !t.staticCategories), I = o(() => B.value ? "tree" : "listbox"), O = o(() => B.value ? "treeitem" : "option"), C = (i) => {
960
+ ), d = x(null), b = x(null), T = x(null), _ = x(null), p = n(() => t.selectedValues.map(({ value: i }) => i)), { isMultiLevelSelect: C, flattenedItemsList: R } = Yt(H(t, "items")), B = n(() => C.value && !t.staticCategories), I = n(() => B.value ? "tree" : "listbox"), O = n(() => B.value ? "treeitem" : "option"), S = (i) => {
868
961
  var h;
869
- const u = t.isOptionDisabled(i), v = ((h = p.value) == null ? void 0 : h.includes(i.value)) || !1;
870
- return { isDisabled: u, isPreSelected: v };
871
- }, m = o(() => {
872
- if (t.searching && x)
962
+ const u = t.isOptionDisabled(i), f = ((h = p.value) == null ? void 0 : h.includes(i.value)) || !1;
963
+ return { isDisabled: u, isPreSelected: f };
964
+ }, v = n(() => {
965
+ if (t.searching && C)
873
966
  return t.items;
874
967
  const i = R.value.filter((u) => {
875
- const { isDisabled: v, isPreSelected: h } = C(u);
876
- return v && h || !v;
968
+ const { isDisabled: f, isPreSelected: h } = S(u);
969
+ return f && h || !f;
877
970
  });
878
971
  return t.selectedValues.forEach((u) => {
879
- i.find((v) => v.value === u.value) || i.push(u);
972
+ i.find((f) => f.value === u.value) || i.push(u);
880
973
  }), i;
881
- }), y = o(
974
+ }), y = n(
882
975
  () => {
883
976
  var i;
884
- return (i = m.value) == null ? void 0 : i.filter((u) => {
885
- var v;
886
- return u.items && x.value && t.searching ? u.items.filter(
887
- (_) => (t.selectedValues ?? []).includes(_.value)
888
- ).length === u.items.length : (v = p.value) == null ? void 0 : v.includes(u.value);
977
+ return (i = v.value) == null ? void 0 : i.filter((u) => {
978
+ var f;
979
+ return u.items && C.value && t.searching ? u.items.filter(
980
+ (g) => (t.selectedValues ?? []).includes(g.value)
981
+ ).length === u.items.length : (f = p.value) == null ? void 0 : f.includes(u.value);
889
982
  });
890
983
  }
891
- ), D = () => x.value && !t.searching ? R.value.length : t.items.length, P = o(() => {
984
+ ), D = () => C.value && !t.searching ? R.value.length : t.items.length, P = n(() => {
892
985
  var h;
893
- const i = m.value.length, u = D(), v = ((h = y.value) == null ? void 0 : h.length) || 0;
894
- return v === 0 ? a("selectAll", { total: n(i) }) : v === u ? a("allSelected", { total: n(u) }) : v <= u ? a("numberOfTotalSelected", { number: n(v), total: n(u) }) : a("numbersSelected", { number: n(v) });
986
+ const i = v.value.length, u = D(), f = ((h = y.value) == null ? void 0 : h.length) || 0;
987
+ return f === 0 ? o("selectAll", { total: a(i) }) : f === u ? o("allSelected", { total: a(u) }) : f <= u ? o("numberOfTotalSelected", { number: a(f), total: a(u) }) : o("numbersSelected", { number: a(f) });
895
988
  }), E = (i) => {
896
989
  const u = (h) => {
897
- const { isDisabled: _, isPreSelected: F } = C(h);
898
- return _ && F || !_;
899
- }, v = i.filter(u).filter((h) => !p.value.includes(h.value));
900
- l("select", [...t.selectedValues, ...v]);
901
- }, A = (i) => {
902
- const u = (_) => {
903
- const { isDisabled: F, isPreSelected: Ne } = C(_);
904
- return !(F && Ne);
905
- }, v = i.filter(u).map(({ value: _ }) => _), h = t.selectedValues.filter((_) => !(v != null && v.includes(_.value)));
990
+ const { isDisabled: g, isPreSelected: F } = S(h);
991
+ return g && F || !g;
992
+ }, f = i.filter(u).filter((h) => !p.value.includes(h.value));
993
+ l("select", [...t.selectedValues, ...f]);
994
+ }, L = (i) => {
995
+ const u = (g) => {
996
+ const { isDisabled: F, isPreSelected: $e } = S(g);
997
+ return !(F && $e);
998
+ }, f = i.filter(u).map(({ value: g }) => g), h = t.selectedValues.filter((g) => !(f != null && f.includes(g.value)));
906
999
  l("select", h);
907
- }, N = () => {
1000
+ }, $ = () => {
908
1001
  E(R.value);
909
1002
  }, Y = () => {
910
- A(R.value);
911
- }, { isAllSelected: U, isIndeterminate: k, toggleSelectAll: V } = pe(
1003
+ L(R.value);
1004
+ }, { isAllSelected: z, isIndeterminate: k, toggleSelectAll: V } = ye(
912
1005
  y,
913
- m,
914
- N,
1006
+ v,
1007
+ $,
915
1008
  Y
916
- ), xe = o(() => k.value ? "mixed" : `${U.value}`), q = S(U.value), Se = () => {
1009
+ ), xe = n(() => k.value ? "mixed" : `${z.value}`), q = x(z.value), Oe = () => {
917
1010
  q.value = !q.value, V(q.value);
918
1011
  };
919
- J(U, () => {
920
- q.value = U.value;
1012
+ X(z, () => {
1013
+ q.value = z.value;
921
1014
  });
922
- const Oe = (i) => {
1015
+ const Ee = (i) => {
923
1016
  E(i.items);
924
- }, Ee = (i) => {
925
- A(i.items);
926
- }, Te = (i, u) => {
927
- let v = !1;
928
- const h = t.selectedValues.filter(({ value: _ }) => u.value === _ ? (v = !0, !1) : !0);
929
- v || h.push(u), l(i, h);
930
- }, Ie = o(() => {
931
- if (!x.value)
1017
+ }, Te = (i) => {
1018
+ L(i.items);
1019
+ }, Ie = (i, u) => {
1020
+ let f = !1;
1021
+ const h = t.selectedValues.filter(({ value: g }) => u.value === g ? (f = !0, !1) : !0);
1022
+ f || h.push(u), l(i, h);
1023
+ }, Ae = n(() => {
1024
+ if (!C.value)
932
1025
  return t.selectedValues;
933
- const i = (_) => p.value.includes(_.value), u = (_) => !t.staticCategories && _.every((F) => i(F));
1026
+ const i = (g) => p.value.includes(g.value), u = (g) => !t.staticCategories && g.every((F) => i(F));
934
1027
  return t.items.flatMap(
935
- (_) => _.items && !u(_.items) ? _.items : _
936
- ).filter((_) => _.items ? !0 : i(_));
937
- }), Le = o(() => {
938
- var v, h, _, F;
939
- const i = ["automatic", "button"].includes(t.lazyLoadType), u = ((v = t.selectedValues) == null ? void 0 : v.length) > 0 && ((h = y.value) == null ? void 0 : h.length) !== ((_ = R.value) == null ? void 0 : _.length);
1028
+ (g) => g.items && !u(g.items) ? g.items : g
1029
+ ).filter((g) => g.items ? !0 : i(g));
1030
+ }), Le = n(() => {
1031
+ var f, h, g, F;
1032
+ const i = ["automatic", "button"].includes(t.lazyLoadType), u = ((f = t.selectedValues) == null ? void 0 : f.length) > 0 && ((h = y.value) == null ? void 0 : h.length) !== ((g = R.value) == null ? void 0 : g.length);
940
1033
  return i && t.hasMoreItems ? !!((F = t.selectedValues) != null && F.length) : u;
941
- }), Ae = o(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), W = S([]), { visibleDomOptions: Q, updateVisibleDomOptions: ne } = he(
1034
+ }), ae = n(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), W = x([]), { visibleDomOptions: Q, updateVisibleDomOptions: ne } = Se(
942
1035
  d,
943
1036
  H(t, "items"),
944
1037
  O
945
1038
  ), ke = (i) => {
946
- W.value.includes(i) ? W.value = W.value.filter((u) => u !== i) : W.value.push(i), ge(() => {
1039
+ W.value.includes(i) ? W.value = W.value.filter((u) => u !== i) : W.value.push(i), pe(() => {
947
1040
  ne();
948
1041
  });
949
- }, oe = (i) => {
1042
+ }, ie = (i) => {
950
1043
  var u;
951
1044
  (u = Q.value[i]) == null || u.focus();
952
1045
  }, {
953
- moveToNextElement: ie,
954
- moveToPreviousElement: ce,
955
- moveToFirstElement: re,
956
- moveToLastElement: ue,
1046
+ moveToNextElement: ce,
1047
+ moveToPreviousElement: re,
1048
+ moveToFirstElement: ue,
1049
+ moveToLastElement: de,
957
1050
  preventDefault: ee,
958
1051
  focusedIndex: Re,
959
- setListboxFocusedIndex: de
960
- } = ye(
1052
+ setListboxFocusedIndex: be
1053
+ } = he(
961
1054
  {
962
1055
  items: Q
963
1056
  },
964
- oe
1057
+ ie
965
1058
  ), De = {
966
- [$.ARROW_UP]: (i) => ce(i),
967
- [$.ARROW_DOWN]: (i) => ie(i),
968
- [$.HOME]: re,
969
- [$.END]: ue
1059
+ [M.ARROW_UP]: (i) => re(i),
1060
+ [M.ARROW_DOWN]: (i) => ce(i),
1061
+ [M.HOME]: ue,
1062
+ [M.END]: de
970
1063
  };
971
1064
  e({
972
1065
  /**
973
1066
  * Method to set the index of the item to be focused on
974
1067
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
975
1068
  */
976
- setListboxFocusedIndex: de
1069
+ setListboxFocusedIndex: be
977
1070
  });
978
1071
  const Be = {
979
- [$.ARROW_UP]: ee,
980
- [$.ARROW_DOWN]: ee
981
- }, $e = o(() => {
982
- let i = 1;
1072
+ [M.ARROW_UP]: ee,
1073
+ [M.ARROW_DOWN]: ee
1074
+ }, Me = n(() => {
1075
+ let i = ae.value ? 1 : 0;
983
1076
  const u = {};
984
- return t.items.forEach((v) => {
985
- let h = W.value.includes(v.value);
986
- v.items ? (t.staticCategories ? h = !0 : u[v.value] = i++, h && v.items.forEach((_) => u[_.value] = i++)) : u[v.value] = i++;
1077
+ return t.items.forEach((f) => {
1078
+ let h = W.value.includes(f.value);
1079
+ f.items ? (t.staticCategories ? h = !0 : u[f.value] = i++, h && f.items.forEach((g) => u[g.value] = i++)) : u[f.value] = i++;
987
1080
  }), u;
988
1081
  });
989
- return { __sfc: !0, props: t, emit: l, t: a, n, slots: r, attrs: f, ariaAttributes: L, listboxRef: d, selectAllListboxItemsRef: b, selectedListboxItemsRef: T, listboxItemsRef: g, selectedItemsList: p, isMultiLevelSelect: x, flattenedItemsList: R, isTreePattern: B, computedRole: I, computedOptionRole: O, optionStates: C, enabledItems: m, visibleSelectedList: y, calculateTotalItems: D, selectAllCheckboxText: P, selectAll: E, unselectAll: A, selectAllItems: N, unselectAllItems: Y, isAllSelected: U, isIndeterminate: k, toggleSelectAll: V, ariaCheckedComputed: xe, isSelectAllOn: q, handleSelectAll: Se, selectAllCategory: Oe, unselectAllCategory: Ee, toggleCheckboxSelection: Te, selectedOptions: Ie, showSelectedItems: Le, showSelectAllCheckbox: Ae, expandedCategories: W, visibleDomOptions: Q, updateVisibleDomOptions: ne, toggleCategoryVisibility: ke, focusItem: oe, moveToNextElement: ie, moveToPreviousElement: ce, moveToFirstElement: re, moveToLastElement: ue, preventDefault: ee, focusedIndex: Re, setListboxFocusedIndex: de, listboxListeners: De, chipsSectionListeners: Be, computedItemsIndex: $e, DecorativeCheckbox: ae, BentoTypography: j, BentoChip: Ke, BentoListboxOption: Z, ListboxMultiSelectOptions: Yt, vBentoKeyboardNavigationDirective: se, BentoListboxEvent: c };
1082
+ return { __sfc: !0, props: t, emit: l, t: o, n: a, slots: r, attrs: m, ariaAttributes: A, listboxRef: d, selectAllListboxItemsRef: b, selectedListboxItemsRef: T, listboxItemsRef: _, selectedItemsList: p, isMultiLevelSelect: C, flattenedItemsList: R, isTreePattern: B, computedRole: I, computedOptionRole: O, optionStates: S, enabledItems: v, visibleSelectedList: y, calculateTotalItems: D, selectAllCheckboxText: P, selectAll: E, unselectAll: L, selectAllItems: $, unselectAllItems: Y, isAllSelected: z, isIndeterminate: k, toggleSelectAll: V, ariaCheckedComputed: xe, isSelectAllOn: q, handleSelectAll: Oe, selectAllCategory: Ee, unselectAllCategory: Te, toggleCheckboxSelection: Ie, selectedOptions: Ae, showSelectedItems: Le, showSelectAllCheckbox: ae, expandedCategories: W, visibleDomOptions: Q, updateVisibleDomOptions: ne, toggleCategoryVisibility: ke, focusItem: ie, moveToNextElement: ce, moveToPreviousElement: re, moveToFirstElement: ue, moveToLastElement: de, preventDefault: ee, focusedIndex: Re, setListboxFocusedIndex: be, listboxListeners: De, chipsSectionListeners: Be, computedItemsIndex: Me, DecorativeCheckbox: oe, BentoTypography: j, BentoChip: We, BentoListboxOption: Z, ListboxMultiSelectOptions: Ft, vBentoKeyboardNavigationDirective: se, BentoListboxEvent: c };
990
1083
  }
991
1084
  });
992
- var Kt = function() {
1085
+ var Wt = function() {
993
1086
  var e = this, l = e._self._c, t = e._self._setupProxy;
994
- return l("div", { ref: "listboxRef", staticClass: "b-listbox-multi-select" }, [t.showSelectedItems ? l("div", [l("ul", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select__chips" }, t.chipsSectionListeners), e._l(t.selectedOptions, function(a) {
995
- return l("li", { key: a.value }, [l(t.BentoChip, { ref: "selectedListboxItemsRef", refInFor: !0, attrs: { disabled: e.isOptionDisabled(a), label: a.label, condensed: "" }, on: { click: function(n) {
996
- a.items ? t.unselectAllCategory(a) : t.toggleCheckboxSelection("select", a);
1087
+ return l("div", { ref: "listboxRef", staticClass: "b-listbox-multi-select" }, [t.showSelectedItems ? l("div", [l("ul", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select__chips" }, t.chipsSectionListeners), e._l(t.selectedOptions, function(o) {
1088
+ return l("li", { key: o.value }, [l(t.BentoChip, { ref: "selectedListboxItemsRef", refInFor: !0, attrs: { disabled: e.isOptionDisabled(o), label: o.label, condensed: "" }, on: { click: function(a) {
1089
+ o.items ? t.unselectAllCategory(o) : t.toggleCheckboxSelection("select", o);
997
1090
  } } })], 1);
998
- }), 0), l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } })]) : e._e(), l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], attrs: { role: t.computedRole } }, "div", t.ariaAttributes, !1), t.listboxListeners), [t.showSelectAllCheckbox ? l(t.BentoListboxOption, { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option", attrs: { tabindex: t.focusedIndex === 0 ? 0 : -1, "aria-selected": t.ariaCheckedComputed !== "false", "aria-checked": t.ariaCheckedComputed, role: t.computedOptionRole }, on: { click: t.handleSelectAll, "enter-pressed": t.handleSelectAll, "space-pressed": function(a) {
999
- return a.preventDefault(), t.handleSelectAll.apply(null, arguments);
1000
- } } }, [l(t.DecorativeCheckbox, { attrs: { checked: t.isAllSelected, indeterminate: t.isIndeterminate } }), l(t.BentoTypography, { attrs: { el: "span" } }, [e._v(" " + e._s(t.selectAllCheckboxText) + " ")])], 1) : e._e(), t.showSelectAllCheckbox ? l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } }) : e._e(), l(t.ListboxMultiSelectOptions, { ref: "listboxItemsRef", attrs: { items: e.items, "is-option-disabled": e.isOptionDisabled, "is-multi-level": t.isMultiLevelSelect, "static-categories": e.staticCategories, searching: e.searching, "selected-items-list": t.selectedItemsList, "focused-index": t.focusedIndex, "items-index": t.computedItemsIndex, role: t.computedOptionRole }, on: { "toggle-checkbox-selection": function(a) {
1001
- return t.toggleCheckboxSelection("select", a);
1002
- }, "select-category": t.selectAllCategory, "unselect-category": t.unselectAllCategory, "toggle-category-visibility": t.toggleCategoryVisibility, "space-pressed": function(a) {
1003
- return t.toggleCheckboxSelection(t.BentoListboxEvent.SPACE, a);
1004
- }, "tab-pressed": function(a) {
1005
- return t.toggleCheckboxSelection(t.BentoListboxEvent.TAB, a);
1006
- }, "enter-pressed": function(a) {
1007
- return t.toggleCheckboxSelection(t.BentoListboxEvent.ENTER, a);
1008
- } }, scopedSlots: e._u([e._l(t.slots, function(a, n) {
1009
- return { key: n, fn: function(r) {
1010
- return [e._t(n, null, null, r)];
1091
+ }), 0), l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } })]) : e._e(), l("div", e._g(e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], attrs: { role: t.computedRole } }, "div", t.ariaAttributes, !1), t.listboxListeners), [t.showSelectAllCheckbox ? l(t.BentoListboxOption, { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option", attrs: { tabindex: t.focusedIndex === 0 ? 0 : -1, "aria-selected": t.ariaCheckedComputed !== "false", "aria-checked": t.ariaCheckedComputed, role: t.computedOptionRole }, on: { click: t.handleSelectAll, "enter-pressed": t.handleSelectAll, "space-pressed": function(o) {
1092
+ return o.preventDefault(), t.handleSelectAll.apply(null, arguments);
1093
+ } } }, [l(t.DecorativeCheckbox, { attrs: { checked: t.isAllSelected, indeterminate: t.isIndeterminate } }), l(t.BentoTypography, { attrs: { el: "span" } }, [e._v(" " + e._s(t.selectAllCheckboxText) + " ")])], 1) : e._e(), t.showSelectAllCheckbox ? l("hr", { staticClass: "b-listbox-multi-select__divider", attrs: { "aria-hidden": "true" } }) : e._e(), l(t.ListboxMultiSelectOptions, { ref: "listboxItemsRef", attrs: { items: e.items, "is-option-disabled": e.isOptionDisabled, "is-multi-level": t.isMultiLevelSelect, "static-categories": e.staticCategories, searching: e.searching, "selected-items-list": t.selectedItemsList, "focused-index": t.focusedIndex, "items-index": t.computedItemsIndex, role: t.computedOptionRole }, on: { "toggle-checkbox-selection": function(o) {
1094
+ return t.toggleCheckboxSelection("select", o);
1095
+ }, "select-category": t.selectAllCategory, "unselect-category": t.unselectAllCategory, "toggle-category-visibility": t.toggleCategoryVisibility, "space-pressed": function(o) {
1096
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.SPACE, o);
1097
+ }, "tab-pressed": function(o) {
1098
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.TAB, o);
1099
+ }, "enter-pressed": function(o) {
1100
+ return t.toggleCheckboxSelection(t.BentoListboxEvent.ENTER, o);
1101
+ } }, scopedSlots: e._u([e._l(t.slots, function(o, a) {
1102
+ return { key: a, fn: function(r) {
1103
+ return [e._t(a, null, null, r)];
1011
1104
  } };
1012
1105
  })], null, !0) })], 1)]);
1013
- }, jt = [], qt = /* @__PURE__ */ M(
1106
+ }, Kt = [], jt = /* @__PURE__ */ N(
1107
+ Vt,
1014
1108
  Wt,
1015
1109
  Kt,
1016
- jt,
1017
1110
  !1,
1018
1111
  null,
1019
- "efcc8ad5"
1112
+ "b81d7402"
1020
1113
  );
1021
- const _e = qt.exports, Ht = {
1022
- "en-US": { loading: "Loading", showMore: "Show more" },
1023
- "ja-JP": { loading: "読み込み中", showMore: "表示内容を増やす" },
1024
- "pt-BR": { loading: "Carregando", showMore: "Mostrar mais" }
1025
- }, Jt = 36, Xt = G({
1114
+ const _e = jt.exports, qt = (s, e = 300) => {
1115
+ let l;
1116
+ return (...o) => {
1117
+ l && clearTimeout(l), l = setTimeout(() => s(...o), e);
1118
+ };
1119
+ }, Ht = {
1120
+ "de-DE": {
1121
+ loading: "Laden",
1122
+ showMore: "Mehr anzeigen"
1123
+ },
1124
+ "en-GB": {
1125
+ loading: "Loading",
1126
+ showMore: "Show more"
1127
+ },
1128
+ "en-US": {
1129
+ loading: "Loading",
1130
+ showMore: "Show more"
1131
+ },
1132
+ "es-ES": {
1133
+ loading: "Cargando",
1134
+ showMore: "Mostrar más"
1135
+ },
1136
+ "es-MX": {
1137
+ loading: "Cargando",
1138
+ showMore: "Mostrar más"
1139
+ },
1140
+ "fr-FR": {
1141
+ loading: "Chargement",
1142
+ showMore: "Afficher plus"
1143
+ },
1144
+ "it-IT": {
1145
+ loading: "Caricamento",
1146
+ showMore: "Mostra di più"
1147
+ },
1148
+ "ja-JP": {
1149
+ loading: "読み込み中",
1150
+ showMore: "さらに表示"
1151
+ },
1152
+ "pt-BR": {
1153
+ loading: "Carregando",
1154
+ showMore: "Mostrar mais"
1155
+ },
1156
+ "zh-CN": {
1157
+ loading: "正在加载",
1158
+ showMore: "显示更多"
1159
+ }
1160
+ }, Xt = 36, Jt = G({
1026
1161
  name: "bento-listbox",
1027
1162
  components: {
1028
1163
  BentoEmptyState: Ye,
1029
- BentoListboxSingleSelect: ht,
1164
+ BentoListboxSingleSelect: yt,
1030
1165
  BentoListboxMultiSelect: _e,
1031
1166
  BentoTypography: j,
1032
1167
  BentoLoadingIndicator: Fe,
1033
- BentoLoadingButton: He
1168
+ BentoLoadingButton: qe
1034
1169
  },
1035
1170
  directives: { BentoKeyboardNavigationDirective: se },
1036
1171
  i18n: { messages: Ht },
@@ -1142,64 +1277,64 @@ const _e = qt.exports, Ht = {
1142
1277
  c.TAB
1143
1278
  ],
1144
1279
  setup(s, { emit: e, slots: l }) {
1145
- const t = S([]), a = H(s, "items"), { t: n } = le(), r = o(() => s.lazyLoadType !== K.AUTOMATIC), f = o(() => s.lazyLoadType === K.AUTOMATIC), L = () => {
1280
+ const t = x([]), o = H(s, "items"), { t: a } = le(), r = n(() => s.lazyLoadType !== K.AUTOMATIC), m = n(() => s.lazyLoadType === K.AUTOMATIC), A = () => {
1146
1281
  var k;
1147
- return typeof (s == null ? void 0 : s.virtualScroll) == "object" && ((k = s == null ? void 0 : s.virtualScroll) != null && k.itemHeight) ? s.virtualScroll.itemHeight : Jt;
1282
+ return typeof (s == null ? void 0 : s.virtualScroll) == "object" && ((k = s == null ? void 0 : s.virtualScroll) != null && k.itemHeight) ? s.virtualScroll.itemHeight : Xt;
1148
1283
  }, {
1149
1284
  containerRef: d,
1150
1285
  containerProps: b,
1151
1286
  onScroll: T,
1152
- list: g,
1287
+ list: _,
1153
1288
  wrapperProps: p
1154
- } = Je(a, {
1155
- itemHeight: L(),
1289
+ } = He(o, {
1290
+ itemHeight: A(),
1156
1291
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1157
1292
  disabled: (s == null ? void 0 : s.multiple) || (s == null ? void 0 : s.virtualScroll) === !1 || (s == null ? void 0 : s.lazyLoadType) !== "none"
1158
- }), x = o(
1293
+ }), C = n(
1159
1294
  () => s.componentLoading !== void 0 || r.value ? "true" : void 0
1160
- ), R = o(
1295
+ ), R = n(
1161
1296
  () => r.value && s.loading || s.componentLoading ? "true" : "false"
1162
- ), B = o(
1297
+ ), B = n(
1163
1298
  () => r.value || s.componentLoading !== void 0 ? "polite" : void 0
1164
- ), I = o(
1299
+ ), I = n(
1165
1300
  () => ({
1166
1301
  "aria-label": s.ariaLabel,
1167
1302
  "aria-busy": R.value,
1168
- "aria-atomic": x.value,
1303
+ "aria-atomic": C.value,
1169
1304
  "aria-live": B.value
1170
1305
  })
1171
- ), O = o(
1306
+ ), O = n(
1172
1307
  () => s.componentLoading ? {
1173
1308
  ...I.value,
1174
1309
  role: "alert"
1175
1310
  } : {}
1176
- ), C = (k) => (V) => {
1311
+ ), S = (k) => (V) => {
1177
1312
  e(k, V);
1178
- }, m = () => {
1313
+ }, v = () => {
1179
1314
  e(c.SHOW_MORE);
1180
- }, y = Ue(() => {
1315
+ }, y = qt(() => {
1181
1316
  const k = d.value;
1182
1317
  if (!k)
1183
1318
  return;
1184
1319
  const V = Math.round(k.scrollTop) + k.clientHeight >= k.scrollHeight;
1185
- s.hasMoreItems && V && !s.loading && m();
1320
+ s.hasMoreItems && V && !s.loading && v();
1186
1321
  }), D = () => {
1187
- f.value ? y() : T();
1188
- }, P = o(() => {
1322
+ m.value ? y() : T();
1323
+ }, P = n(() => {
1189
1324
  var k;
1190
1325
  return ((k = s.items) == null ? void 0 : k.length) === 0;
1191
- }), E = o(
1326
+ }), E = n(
1192
1327
  () => s.lazyLoadType === K.BUTTON && s.hasMoreItems
1193
- ), A = o(
1328
+ ), L = n(
1194
1329
  () => s.loading ? fe.LOADING : fe.START
1195
- ), N = o(() => s.loading ? n("loading") : n("showMore")), Y = o(() => ({
1330
+ ), $ = n(() => s.loading ? a("loading") : a("showMore")), Y = n(() => ({
1196
1331
  ...s.emptyState,
1197
1332
  variant: "condensed"
1198
- })), U = {
1199
- [c.SELECT]: C(c.SELECT),
1200
- [c.SPACE]: C(c.SPACE),
1201
- [c.TAB]: C(c.TAB),
1202
- [c.ENTER]: C(c.ENTER)
1333
+ })), z = {
1334
+ [c.SELECT]: S(c.SELECT),
1335
+ [c.SPACE]: S(c.SPACE),
1336
+ [c.TAB]: S(c.TAB),
1337
+ [c.ENTER]: S(c.ENTER)
1203
1338
  };
1204
1339
  return {
1205
1340
  // Refs
@@ -1212,46 +1347,46 @@ const _e = qt.exports, Ht = {
1212
1347
  containerProps: b,
1213
1348
  isSearchResultEmpty: P,
1214
1349
  limitedEmptyStateProps: Y,
1215
- loadingButtonState: A,
1350
+ loadingButtonState: L,
1216
1351
  slots: l,
1217
1352
  shouldDisplayShowMoreButton: E,
1218
- showMoreButtonText: N,
1219
- virtualisedItems: g,
1353
+ showMoreButtonText: $,
1354
+ virtualisedItems: _,
1220
1355
  wrapperProps: p,
1221
1356
  // Enums
1222
- BentoKeyboardNavigationKeyDownEvent: $,
1357
+ BentoKeyboardNavigationKeyDownEvent: M,
1223
1358
  BentoListboxEvent: c,
1224
1359
  // Methods
1225
1360
  onListboxContainerScroll: D,
1226
- onOptionSelected: C,
1227
- emitShowMore: m,
1228
- listboxListeners: U
1361
+ onOptionSelected: S,
1362
+ emitShowMore: v,
1363
+ listboxListeners: z
1229
1364
  };
1230
1365
  }
1231
1366
  });
1232
1367
  var Zt = function() {
1233
1368
  var t;
1234
1369
  var e = this, l = e._self._c;
1235
- return e._self._setupProxy, l("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (t = e.containerProps) == null ? void 0 : t.style, attrs: { id: e.id, tabindex: "-1", "data-testid": "listbox-container" }, on: { scroll: e.onListboxContainerScroll } }, "div", e.listboxContainerAttributes, !1), [l("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? l("div", { staticClass: "b-listbox__loading-filtered-items" }, [l("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? l("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g(e._b({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
1236
- return { key: n, fn: function(r) {
1237
- return [e._t(n, null, null, r)];
1370
+ return e._self._setupProxy, l("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (t = e.containerProps) == null ? void 0 : t.style, attrs: { id: e.id, tabindex: "-1", "data-testid": "listbox-container" }, on: { scroll: e.onListboxContainerScroll } }, "div", e.listboxContainerAttributes, !1), [l("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? l("div", { staticClass: "b-listbox__loading-filtered-items" }, [l("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? l("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g(e._b({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(o, a) {
1371
+ return { key: a, fn: function(r) {
1372
+ return [e._t(a, null, null, r)];
1238
1373
  } };
1239
- })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(a, n) {
1240
- return { key: n, fn: function(r) {
1241
- return [e._t(n, null, null, r)];
1374
+ })], null, !0) }, "bento-listbox-multi-select", e.ariaAttributes, !1), e.listboxListeners))] : [l("bento-listbox-single-select", e._g(e._b({ ref: "listboxItemRef", attrs: { items: e.virtualisedItems, "selected-value": e.selectedValue, "static-categories": e.staticCategories, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(o, a) {
1375
+ return { key: a, fn: function(r) {
1376
+ return [e._t(a, null, null, r)];
1242
1377
  } };
1243
- })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(a) {
1378
+ })], null, !0) }, "bento-listbox-single-select", e.ariaAttributes, !1), e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(o) {
1244
1379
  return e.emitShowMore.apply(null, arguments);
1245
1380
  } } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-indicator")], 1) : e._e()]], 2)]);
1246
- }, Qt = [], es = /* @__PURE__ */ M(
1247
- Xt,
1381
+ }, Qt = [], es = /* @__PURE__ */ N(
1382
+ Jt,
1248
1383
  Zt,
1249
1384
  Qt,
1250
1385
  !1,
1251
1386
  null,
1252
1387
  "35cb3605"
1253
1388
  );
1254
- const hs = es.exports, te = (s, e) => {
1389
+ const ys = es.exports, te = (s, e) => {
1255
1390
  for (const l of s) {
1256
1391
  if (l.value === e)
1257
1392
  return l;
@@ -1262,58 +1397,59 @@ const hs = es.exports, te = (s, e) => {
1262
1397
  }
1263
1398
  }
1264
1399
  return null;
1265
- }, ts = (s) => typeof s == "object" && s !== null && "value" in s && "label" in s, Cs = (s, e, l, t) => {
1266
- const a = S([]), n = S(), r = (b) => {
1267
- l.value ? n.value = b.map(({ value: T }) => T) : n.value = b.length > 0 ? b[0].value : null;
1268
- }, f = (b) => {
1269
- l.value ? n.value = b.map(({ value: T, label: g }) => ({ value: T, label: g })) : n.value = b.length > 0 ? { value: b[0].value, label: b[0].label } : null;
1270
- }, L = (b) => {
1271
- a.value = b, t != null && t.value ? f(b) : r(b);
1400
+ }, ts = (s) => typeof s == "object" && s !== null && "value" in s && "label" in s, hs = (s, e, l, t) => {
1401
+ const o = x([]), a = x(), r = (b) => {
1402
+ l.value ? a.value = b.map(({ value: T }) => T) : a.value = b.length > 0 ? b[0].value : null;
1403
+ }, m = (b) => {
1404
+ l.value ? a.value = b.map(({ value: T, label: _ }) => ({ value: T, label: _ })) : a.value = b.length > 0 ? { value: b[0].value, label: b[0].label } : null;
1405
+ }, A = (b) => {
1406
+ o.value = b, t != null && t.value ? m(b) : r(b);
1272
1407
  }, d = () => {
1273
- a.value = [], n.value = null;
1408
+ o.value = [], a.value = null;
1274
1409
  };
1275
- return J(
1410
+ return X(
1276
1411
  () => e.value,
1277
1412
  () => {
1278
1413
  if (!e.value && e.value !== 0) {
1279
1414
  d();
1280
1415
  return;
1281
1416
  }
1282
- const b = !Array.isArray(e.value), T = [...a.value];
1417
+ const b = !Array.isArray(e.value), T = [...o.value];
1283
1418
  d();
1284
- const g = (p) => {
1419
+ const _ = (p) => {
1285
1420
  if (ts(p))
1286
- a.value.push(p);
1421
+ o.value.push(p);
1287
1422
  else {
1288
- let x = te(s.value, p);
1289
- x || (x = te(T, p)), x || (x = { value: p, label: p.toString() }), a.value.push(x);
1423
+ let C = te(s.value, p);
1424
+ C || (C = te(T, p)), C || (C = { value: p, label: p.toString() }), o.value.push(C);
1290
1425
  }
1291
1426
  };
1292
1427
  if (b) {
1293
1428
  const p = e.value;
1294
- g(p), t != null && t.value ? f(a.value) : r(a.value);
1429
+ _(p), t != null && t.value ? m(o.value) : r(o.value);
1295
1430
  return;
1296
1431
  }
1297
- e.value.forEach(g), t != null && t.value ? f(a.value) : r(a.value);
1432
+ e.value.forEach(_), t != null && t.value ? m(o.value) : r(o.value);
1298
1433
  },
1299
1434
  { immediate: !0 }
1300
1435
  ), {
1301
1436
  // Values
1302
- cachedSelectedListboxOptions: a,
1303
- cachedListboxSelectedValues: n,
1437
+ cachedSelectedListboxOptions: o,
1438
+ cachedListboxSelectedValues: a,
1304
1439
  // Methods
1305
1440
  resetCache: d,
1306
- setCachedValues: L
1441
+ setCachedValues: A
1307
1442
  };
1308
1443
  };
1309
1444
  export {
1310
1445
  c as B,
1311
- ut as C,
1312
- ae as D,
1446
+ rt as C,
1447
+ oe as D,
1313
1448
  K as a,
1314
- hs as b,
1315
- Ut as c,
1316
- he as d,
1317
- Cs as u
1449
+ ys as b,
1450
+ Yt as c,
1451
+ qt as d,
1452
+ Se as e,
1453
+ hs as u
1318
1454
  };
1319
- //# sourceMappingURL=use-cached-selected-values.DqX2qsMC.js.map
1455
+ //# sourceMappingURL=use-cached-selected-values.BJbWbkEQ.js.map