@adyen/bento-vue2 1.26.0 → 1.28.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 (577) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/index.d.ts +967 -374
  3. package/dist/accordion.js +3 -101
  4. package/dist/accordion.js.map +1 -1
  5. package/dist/action-bar.js +2 -231
  6. package/dist/action-bar.js.map +1 -1
  7. package/dist/alert.js +5 -116
  8. package/dist/alert.js.map +1 -1
  9. package/dist/assets/{index2.css → accordion-item.css} +1 -1
  10. package/dist/assets/{index3.css → action-bar.css} +1 -1
  11. package/dist/assets/alert.css +1 -0
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/button.css +1 -1
  15. package/dist/assets/{index7.css → card.css} +1 -1
  16. package/dist/assets/checkbox-input.css +1 -1
  17. package/dist/assets/{index9.css → code-snippet.css} +1 -1
  18. package/dist/assets/dashboard-section.css +1 -0
  19. package/dist/assets/dashed-underline.css +1 -0
  20. package/dist/assets/data-grid-template.css +1 -0
  21. package/dist/assets/data-grid.css +1 -0
  22. package/dist/assets/dialog-page.css +1 -1
  23. package/dist/assets/dropdown-default-textbox.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/filter-bar.css +1 -0
  26. package/dist/assets/{index15.css → form-layout-title.css} +1 -1
  27. package/dist/assets/{index25.css → input-field.css} +1 -1
  28. package/dist/assets/listbox-option-tag.css +1 -1
  29. package/dist/assets/{index26.css → menu.css} +1 -1
  30. package/dist/assets/{index22.css → modal-fullscreen.css} +1 -1
  31. package/dist/assets/{index28.css → popover.css} +1 -1
  32. package/dist/assets/radio-input.css +1 -1
  33. package/dist/assets/segmented-control.css +1 -0
  34. package/dist/assets/selection-card-group.css +1 -0
  35. package/dist/assets/{index37.css → sidepanel.css} +1 -1
  36. package/dist/assets/status.css +1 -0
  37. package/dist/assets/structured-list-item.css +1 -0
  38. package/dist/assets/{index43.css → tabs.css} +1 -1
  39. package/dist/assets/toggle.css +1 -0
  40. package/dist/assets/tutorial.css +1 -0
  41. package/dist/assets/use-cached-selected-values.css +1 -1
  42. package/dist/avatar-image.js +1 -1
  43. package/dist/badge.js +22 -24
  44. package/dist/badge.js.map +1 -1
  45. package/dist/button.js +14 -94
  46. package/dist/button.js.map +1 -1
  47. package/dist/card.js +4 -114
  48. package/dist/card.js.map +1 -1
  49. package/dist/checkbox.js +8 -155
  50. package/dist/checkbox.js.map +1 -1
  51. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  52. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  53. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  54. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  55. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  56. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  57. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  58. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  59. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  60. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  61. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  62. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  63. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  64. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  65. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  66. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  67. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  68. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  69. package/dist/chunks/accordion-item.DmnrjNzw.js +100 -0
  70. package/dist/chunks/accordion-item.DmnrjNzw.js.map +1 -0
  71. package/dist/chunks/action-bar.Bebh6PHI.js +147 -0
  72. package/dist/chunks/action-bar.Bebh6PHI.js.map +1 -0
  73. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  74. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  75. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  76. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  77. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  78. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  79. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  80. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  81. package/dist/chunks/alert.CJyTM4Az.js +96 -0
  82. package/dist/chunks/alert.CJyTM4Az.js.map +1 -0
  83. package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
  84. package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
  85. package/dist/chunks/{index.7eefc59c.js → avatar-image.DhlR-7Yg.js} +22 -24
  86. package/dist/chunks/avatar-image.DhlR-7Yg.js.map +1 -0
  87. package/dist/chunks/base-button.DER7_IsF.js +86 -0
  88. package/dist/chunks/{base-button.ad74b6f8.js.map → base-button.DER7_IsF.js.map} +1 -1
  89. package/dist/chunks/{base-modal.1fff7abe.js → base-modal.C5I7bR0d.js} +42 -46
  90. package/dist/chunks/{base-modal.1fff7abe.js.map → base-modal.C5I7bR0d.js.map} +1 -1
  91. package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
  92. package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
  93. package/dist/chunks/{button-actions-with-menu.e845d77a.js → button-actions-with-menu.f3yuLK-L.js} +25 -27
  94. package/dist/chunks/{button-actions-with-menu.e845d77a.js.map → button-actions-with-menu.f3yuLK-L.js.map} +1 -1
  95. package/dist/chunks/button-actions.Bg9ey0p6.js +111 -0
  96. package/dist/chunks/button-actions.Bg9ey0p6.js.map +1 -0
  97. package/dist/chunks/button.DhAUh5JA.js +99 -0
  98. package/dist/chunks/button.DhAUh5JA.js.map +1 -0
  99. package/dist/chunks/{calendar.640b8d25.js → calendar.B69z8gjb.js} +287 -332
  100. package/dist/chunks/{calendar.640b8d25.js.map → calendar.B69z8gjb.js.map} +1 -1
  101. package/dist/chunks/card.70Xvba2C.js +115 -0
  102. package/dist/chunks/card.70Xvba2C.js.map +1 -0
  103. package/dist/chunks/checkbox-group.B-KdeRXC.js +152 -0
  104. package/dist/chunks/checkbox-group.B-KdeRXC.js.map +1 -0
  105. package/dist/chunks/{checkbox-input.1c3cc8ed.js → checkbox-input.DwDwI2BD.js} +27 -30
  106. package/dist/chunks/{checkbox-input.1c3cc8ed.js.map → checkbox-input.DwDwI2BD.js.map} +1 -1
  107. package/dist/chunks/{checkbox.bfed007c.js → checkbox.Bi2RDBEZ.js} +21 -23
  108. package/dist/chunks/{checkbox.bfed007c.js.map → checkbox.Bi2RDBEZ.js.map} +1 -1
  109. package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +24 -0
  110. package/dist/chunks/{checkmark-circle-fill.345311d2.js.map → checkmark-circle-fill.DVl6QSwm.js.map} +1 -1
  111. package/dist/chunks/{checkmark-small.520f01b1.js → checkmark-small.BtF8b2gE.js} +6 -8
  112. package/dist/chunks/{checkmark-small.520f01b1.js.map → checkmark-small.BtF8b2gE.js.map} +1 -1
  113. package/dist/chunks/{chevron-left.5edf02ac.js → chevron-left.CtnrsqUy.js} +13 -17
  114. package/dist/chunks/{chevron-left.5edf02ac.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
  115. package/dist/chunks/{chevron-up.81185563.js → chevron-up.B2uWhZf7.js} +14 -18
  116. package/dist/chunks/{chevron-up.81185563.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
  117. package/dist/chunks/click-outside.DABh6NLr.js +23 -0
  118. package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
  119. package/dist/chunks/code-snippet.C4IbjAhH.js +968 -0
  120. package/dist/chunks/code-snippet.C4IbjAhH.js.map +1 -0
  121. package/dist/chunks/{controls-group.4fb50009.js → controls-group.cSRFiEVO.js} +17 -19
  122. package/dist/chunks/{controls-group.4fb50009.js.map → controls-group.cSRFiEVO.js.map} +1 -1
  123. package/dist/chunks/{copy.f85700c6.js → copy.BtFWFG3q.js} +15 -19
  124. package/dist/chunks/{copy.f85700c6.js.map → copy.BtFWFG3q.js.map} +1 -1
  125. package/dist/chunks/country.KayLT0zy.js +93 -0
  126. package/dist/chunks/country.KayLT0zy.js.map +1 -0
  127. package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
  128. package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
  129. package/dist/chunks/{cross-circle-fill.27580c4b.js → cross-circle-fill.CnYH4R_h.js} +7 -9
  130. package/dist/chunks/{cross-circle-fill.27580c4b.js.map → cross-circle-fill.CnYH4R_h.js.map} +1 -1
  131. package/dist/chunks/{cross-small.e851e0de.js → cross-small.BLUwtRB-.js} +9 -11
  132. package/dist/chunks/{cross-small.e851e0de.js.map → cross-small.BLUwtRB-.js.map} +1 -1
  133. package/dist/chunks/{cross.04678d81.js → cross.CsUPDmaA.js} +9 -11
  134. package/dist/chunks/{cross.04678d81.js.map → cross.CsUPDmaA.js.map} +1 -1
  135. package/dist/chunks/currency.H7n7RQiX.js +113 -0
  136. package/dist/chunks/currency.H7n7RQiX.js.map +1 -0
  137. package/dist/chunks/dashboard-section.BcH-_en7.js +105 -0
  138. package/dist/chunks/dashboard-section.BcH-_en7.js.map +1 -0
  139. package/dist/chunks/dashed-underline.ChUlcFJR.js +59 -0
  140. package/dist/chunks/dashed-underline.ChUlcFJR.js.map +1 -0
  141. package/dist/chunks/data-grid-template.DqG5bNeD.js +66 -0
  142. package/dist/chunks/data-grid-template.DqG5bNeD.js.map +1 -0
  143. package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
  144. package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
  145. package/dist/chunks/data-grid.CvHAdmvs.js +2022 -0
  146. package/dist/chunks/data-grid.CvHAdmvs.js.map +1 -0
  147. package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
  148. package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
  149. package/dist/chunks/date-picker.ByP2Wpo0.js +196 -0
  150. package/dist/chunks/date-picker.ByP2Wpo0.js.map +1 -0
  151. package/dist/chunks/{index.8b8c3b16.js → date-range-picker.DrnklTJ-.js} +113 -117
  152. package/dist/chunks/date-range-picker.DrnklTJ-.js.map +1 -0
  153. package/dist/chunks/{index.b21197ca.js → date.DKjxxR6P.js} +44 -51
  154. package/dist/chunks/date.DKjxxR6P.js.map +1 -0
  155. package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
  156. package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
  157. package/dist/chunks/{dialog-page.73da22cf.js → dialog-page.DAh0M4mT.js} +20 -24
  158. package/dist/chunks/{dialog-page.73da22cf.js.map → dialog-page.DAh0M4mT.js.map} +1 -1
  159. package/dist/chunks/divider.BZfeYmB9.js +30 -0
  160. package/dist/chunks/divider.BZfeYmB9.js.map +1 -0
  161. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js → dropdown-default-textbox.CKOkl_Qa.js} +30 -34
  162. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js.map → dropdown-default-textbox.CKOkl_Qa.js.map} +1 -1
  163. package/dist/chunks/dropdown-tag.DCMKQy-E.js +214 -0
  164. package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +1 -0
  165. package/dist/chunks/{dropdown.10c034aa.js → dropdown.yhhQCKve.js} +195 -214
  166. package/dist/chunks/dropdown.yhhQCKve.js.map +1 -0
  167. package/dist/chunks/empty-state.BqVOj4v1.js +151 -0
  168. package/dist/chunks/empty-state.BqVOj4v1.js.map +1 -0
  169. package/dist/chunks/error-message.BSxUoE3_.js +107 -0
  170. package/dist/chunks/{error-message.31ec12b7.js.map → error-message.BSxUoE3_.js.map} +1 -1
  171. package/dist/chunks/events.CMzGybJJ.js +47 -0
  172. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  173. package/dist/chunks/filter-bar.AhsOPMZ1.js +2119 -0
  174. package/dist/chunks/filter-bar.AhsOPMZ1.js.map +1 -0
  175. package/dist/chunks/{fixed-scroller.4eb9a9ac.js → fixed-scroller.Bq1AgPnw.js} +18 -20
  176. package/dist/chunks/{fixed-scroller.4eb9a9ac.js.map → fixed-scroller.Bq1AgPnw.js.map} +1 -1
  177. package/dist/chunks/{index.d553d3d1.js → focus-trap.DSkLNO_i.js} +35 -37
  178. package/dist/chunks/focus-trap.DSkLNO_i.js.map +1 -0
  179. package/dist/chunks/{footer-actions.a1e09b4f.js → footer-actions.DqMRmlV_.js} +11 -13
  180. package/dist/chunks/{footer-actions.a1e09b4f.js.map → footer-actions.DqMRmlV_.js.map} +1 -1
  181. package/dist/chunks/form-layout-title.BzNU0B72.js +187 -0
  182. package/dist/chunks/form-layout-title.BzNU0B72.js.map +1 -0
  183. package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
  184. package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
  185. package/dist/chunks/{get-slot-text.99c3d860.js → get-slot-text.Cgn-E48s.js} +2 -2
  186. package/dist/chunks/{get-slot-text.99c3d860.js.map → get-slot-text.Cgn-E48s.js.map} +1 -1
  187. package/dist/chunks/{grid-layout.e0025286.js → grid-layout.HvTAa4to.js} +11 -13
  188. package/dist/chunks/{grid-layout.e0025286.js.map → grid-layout.HvTAa4to.js.map} +1 -1
  189. package/dist/chunks/header.DmKHCmXh.js +245 -0
  190. package/dist/chunks/header.DmKHCmXh.js.map +1 -0
  191. package/dist/chunks/{i18n.eb5b985b.js → i18n.BQkEbtPM.js} +2 -2
  192. package/dist/chunks/{i18n.eb5b985b.js.map → i18n.BQkEbtPM.js.map} +1 -1
  193. package/dist/chunks/image.B3uqhFjl.js +82 -0
  194. package/dist/chunks/image.B3uqhFjl.js.map +1 -0
  195. package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
  196. package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
  197. package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
  198. package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
  199. package/dist/chunks/{index.4c062058.js → index.Cl4_42j5.js} +1 -1
  200. package/dist/chunks/{index.4c062058.js.map → index.Cl4_42j5.js.map} +1 -1
  201. package/dist/chunks/index.OCPp3NST.js +126 -0
  202. package/dist/chunks/index.OCPp3NST.js.map +1 -0
  203. package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
  204. package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
  205. package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
  206. package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
  207. package/dist/chunks/info-icon.CLguYHRt.js +41 -0
  208. package/dist/chunks/info-icon.CLguYHRt.js.map +1 -0
  209. package/dist/chunks/{info.8b6328aa.js → info.CyeBsLgt.js} +9 -11
  210. package/dist/chunks/{info.8b6328aa.js.map → info.CyeBsLgt.js.map} +1 -1
  211. package/dist/chunks/input-field.BnlEPPYr.js +218 -0
  212. package/dist/chunks/input-field.BnlEPPYr.js.map +1 -0
  213. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  214. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  215. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  216. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  217. package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
  218. package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
  219. package/dist/chunks/{index.317fca12.js → link.DJ1A53gF.js} +20 -24
  220. package/dist/chunks/link.DJ1A53gF.js.map +1 -0
  221. package/dist/chunks/listbox-option-tag.BDjsYOE1.js +75 -0
  222. package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +1 -0
  223. package/dist/chunks/{loading-button.eafc9e1b.js → loading-button.CoF1IhEU.js} +32 -34
  224. package/dist/chunks/{loading-button.eafc9e1b.js.map → loading-button.CoF1IhEU.js.map} +1 -1
  225. package/dist/chunks/loading-indicator.DXc7I1Lm.js +48 -0
  226. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
  227. package/dist/chunks/{index.1ea85d4a.js → menu.2TwUMlA9.js} +82 -94
  228. package/dist/chunks/menu.2TwUMlA9.js.map +1 -0
  229. package/dist/chunks/modal-fullscreen.BB_8EMNo.js +196 -0
  230. package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +1 -0
  231. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
  232. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
  233. package/dist/chunks/modal.DLwvcaRx.js +439 -0
  234. package/dist/chunks/modal.DLwvcaRx.js.map +1 -0
  235. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  236. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  237. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  238. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  239. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  240. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  241. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  242. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  243. package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
  244. package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
  245. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  246. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  247. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  248. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  249. package/dist/chunks/pagination.BXjbVe4Z.js +494 -0
  250. package/dist/chunks/pagination.BXjbVe4Z.js.map +1 -0
  251. package/dist/chunks/{payment-method.6c1ce07c.js → payment-method.D9Qx-s4V.js} +19 -21
  252. package/dist/chunks/{payment-method.6c1ce07c.js.map → payment-method.D9Qx-s4V.js.map} +1 -1
  253. package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
  254. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
  255. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  256. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  257. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  258. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  259. package/dist/chunks/{index.15b088b9.js → popover.B8YH92W8.js} +31 -37
  260. package/dist/chunks/popover.B8YH92W8.js.map +1 -0
  261. package/dist/chunks/{index.671768a1.js → popper-container.Bt02N3o1.js} +12 -15
  262. package/dist/chunks/popper-container.Bt02N3o1.js.map +1 -0
  263. package/dist/chunks/radio-group.CPbBFTzB.js +211 -0
  264. package/dist/chunks/radio-group.CPbBFTzB.js.map +1 -0
  265. package/dist/chunks/{radio-input.c6550a9c.js → radio-input.BQcC0INR.js} +17 -19
  266. package/dist/chunks/radio-input.BQcC0INR.js.map +1 -0
  267. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  268. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  269. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  270. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  271. package/dist/chunks/{refresh.71a03998.js → refresh.BKI9WwKh.js} +7 -9
  272. package/dist/chunks/{refresh.71a03998.js.map → refresh.BKI9WwKh.js.map} +1 -1
  273. package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
  274. package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
  275. package/dist/chunks/search-bar.CsAgO-t5.js +89 -0
  276. package/dist/chunks/search-bar.CsAgO-t5.js.map +1 -0
  277. package/dist/chunks/{search.471270fe.js → search.CBKhp7zB.js} +10 -12
  278. package/dist/chunks/{search.471270fe.js.map → search.CBKhp7zB.js.map} +1 -1
  279. package/dist/chunks/secondary-nav.CNgpPxUU.js +97 -0
  280. package/dist/chunks/secondary-nav.CNgpPxUU.js.map +1 -0
  281. package/dist/chunks/segmented-control.DGjIC7Ab.js +111 -0
  282. package/dist/chunks/segmented-control.DGjIC7Ab.js.map +1 -0
  283. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  284. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  285. package/dist/chunks/selection-card-group.DlOs8BkR.js +247 -0
  286. package/dist/chunks/selection-card-group.DlOs8BkR.js.map +1 -0
  287. package/dist/chunks/sidepanel.BBjm2QvZ.js +187 -0
  288. package/dist/chunks/sidepanel.BBjm2QvZ.js.map +1 -0
  289. package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
  290. package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
  291. package/dist/chunks/status.types.BhbOYpZx.js +36 -0
  292. package/dist/chunks/status.types.BhbOYpZx.js.map +1 -0
  293. package/dist/chunks/step.DY8Txb6a.js +234 -0
  294. package/dist/chunks/step.DY8Txb6a.js.map +1 -0
  295. package/dist/chunks/structured-list-item.C9NTVDvT.js +81 -0
  296. package/dist/chunks/structured-list-item.C9NTVDvT.js.map +1 -0
  297. package/dist/chunks/success.DhioLvPD.js +5 -0
  298. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  299. package/dist/chunks/success.nNwxJRBS.js +5 -0
  300. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  301. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +573 -0
  302. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +1 -0
  303. package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
  304. package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
  305. package/dist/chunks/tabs.CE65f3E_.js +140 -0
  306. package/dist/chunks/tabs.CE65f3E_.js.map +1 -0
  307. package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
  308. package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
  309. package/dist/chunks/tag.bhKrZHTU.js +64 -0
  310. package/dist/chunks/tag.bhKrZHTU.js.map +1 -0
  311. package/dist/chunks/{teleport.84b0f20b.js → teleport.CQKBJZU5.js} +14 -16
  312. package/dist/chunks/{teleport.84b0f20b.js.map → teleport.CQKBJZU5.js.map} +1 -1
  313. package/dist/chunks/textarea.CcKbtQBs.js +208 -0
  314. package/dist/chunks/textarea.CcKbtQBs.js.map +1 -0
  315. package/dist/chunks/timeline-item.ScTrUBKC.js +364 -0
  316. package/dist/chunks/timeline-item.ScTrUBKC.js.map +1 -0
  317. package/dist/chunks/toast.0EYDj8o-.js +165 -0
  318. package/dist/chunks/toast.0EYDj8o-.js.map +1 -0
  319. package/dist/chunks/toggle-button.2U-vbQhk.js +83 -0
  320. package/dist/chunks/toggle-button.2U-vbQhk.js.map +1 -0
  321. package/dist/chunks/toggle.CiOVTWlk.js +121 -0
  322. package/dist/chunks/toggle.CiOVTWlk.js.map +1 -0
  323. package/dist/chunks/{tooltip.58ef3f4a.js → tooltip.DR8rbIYw.js} +29 -32
  324. package/dist/chunks/tooltip.DR8rbIYw.js.map +1 -0
  325. package/dist/chunks/tutorial.DMm12L0S.js +335 -0
  326. package/dist/chunks/tutorial.DMm12L0S.js.map +1 -0
  327. package/dist/chunks/{index.dd30e538.js → typography.Bjtu3Gca.js} +30 -32
  328. package/dist/chunks/typography.Bjtu3Gca.js.map +1 -0
  329. package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
  330. package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
  331. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  332. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  333. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  334. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  335. package/dist/chunks/{use-bento-toast-controller.c3277f73.js → use-bento-toast-controller.BifdE4ak.js} +4 -4
  336. package/dist/chunks/{use-bento-toast-controller.c3277f73.js.map → use-bento-toast-controller.BifdE4ak.js.map} +1 -1
  337. package/dist/chunks/{use-cached-selected-values.69297473.js → use-cached-selected-values.CVLzxvTi.js} +345 -346
  338. package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +1 -0
  339. package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
  340. package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
  341. package/dist/chunks/{use-country-items.6b7985bf.js → use-country-items.C25TI6tp.js} +4 -4
  342. package/dist/chunks/{use-country-items.6b7985bf.js.map → use-country-items.C25TI6tp.js.map} +1 -1
  343. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js → use-default-slot-validator.BDn0wkYP.js} +2 -2
  344. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js.map → use-default-slot-validator.BDn0wkYP.js.map} +1 -1
  345. package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
  346. package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
  347. package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
  348. package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
  349. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  350. package/dist/chunks/{use-has-slot.fbeb19ec.js.map → use-has-slot.C9lQZ6nz.js.map} +1 -1
  351. package/dist/chunks/warning-filled.CLKRzGMT.js +24 -0
  352. package/dist/chunks/warning-filled.CLKRzGMT.js.map +1 -0
  353. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  354. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  355. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  356. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  357. package/dist/click-outside.js +2 -20
  358. package/dist/click-outside.js.map +1 -1
  359. package/dist/code-snippet.js +5 -2050
  360. package/dist/code-snippet.js.map +1 -1
  361. package/dist/country.js +8 -97
  362. package/dist/country.js.map +1 -1
  363. package/dist/currency.js +3 -112
  364. package/dist/currency.js.map +1 -1
  365. package/dist/dashboard-template.js +6 -0
  366. package/dist/dashboard-template.js.map +1 -0
  367. package/dist/dashed-underline.js +5 -0
  368. package/dist/dashed-underline.js.map +1 -0
  369. package/dist/data-grid-template.js +2 -65
  370. package/dist/data-grid-template.js.map +1 -1
  371. package/dist/data-grid.js +8 -1978
  372. package/dist/data-grid.js.map +1 -1
  373. package/dist/date-picker.js +5 -197
  374. package/dist/date-picker.js.map +1 -1
  375. package/dist/date-range-picker.js +2 -2
  376. package/dist/date.js +1 -1
  377. package/dist/divider.js +1 -1
  378. package/dist/dropdown.js +12 -227
  379. package/dist/dropdown.js.map +1 -1
  380. package/dist/empty-state.js +5 -143
  381. package/dist/empty-state.js.map +1 -1
  382. package/dist/filter-bar.js +5 -2154
  383. package/dist/filter-bar.js.map +1 -1
  384. package/dist/focus-trap.js +1 -1
  385. package/dist/form-layout.js +5 -192
  386. package/dist/form-layout.js.map +1 -1
  387. package/dist/header.js +2 -246
  388. package/dist/header.js.map +1 -1
  389. package/dist/image.js +4 -81
  390. package/dist/image.js.map +1 -1
  391. package/dist/index.js +276 -269
  392. package/dist/index.js.map +1 -1
  393. package/dist/info-icon.js +2 -40
  394. package/dist/info-icon.js.map +1 -1
  395. package/dist/input-field.js +7 -217
  396. package/dist/input-field.js.map +1 -1
  397. package/dist/internal.js +15 -15
  398. package/dist/link.js +1 -1
  399. package/dist/loading-indicator.js +3 -47
  400. package/dist/loading-indicator.js.map +1 -1
  401. package/dist/menu.js +1 -1
  402. package/dist/modal-fullscreen.js +3 -197
  403. package/dist/modal-fullscreen.js.map +1 -1
  404. package/dist/modal.js +11 -451
  405. package/dist/modal.js.map +1 -1
  406. package/dist/pagination.js +2 -507
  407. package/dist/pagination.js.map +1 -1
  408. package/dist/payment-method.js +4 -4
  409. package/dist/payment-method.js.map +1 -1
  410. package/dist/popover.js +1 -1
  411. package/dist/popper-container.js +1 -1
  412. package/dist/radio-group.js +6 -213
  413. package/dist/radio-group.js.map +1 -1
  414. package/dist/search-bar.js +6 -90
  415. package/dist/search-bar.js.map +1 -1
  416. package/dist/secondary-nav.js +2 -100
  417. package/dist/secondary-nav.js.map +1 -1
  418. package/dist/segmented-control.js +4 -215
  419. package/dist/segmented-control.js.map +1 -1
  420. package/dist/selection-card.js +4 -248
  421. package/dist/selection-card.js.map +1 -1
  422. package/dist/sidepanel.js +4 -189
  423. package/dist/sidepanel.js.map +1 -1
  424. package/dist/status.js +3 -40
  425. package/dist/status.js.map +1 -1
  426. package/dist/stepper.js +5 -237
  427. package/dist/stepper.js.map +1 -1
  428. package/dist/structured-list.js +1 -1
  429. package/dist/summary-grid.js +9 -584
  430. package/dist/summary-grid.js.map +1 -1
  431. package/dist/tabs.js +3 -140
  432. package/dist/tabs.js.map +1 -1
  433. package/dist/tag.js +3 -63
  434. package/dist/tag.js.map +1 -1
  435. package/dist/textarea.js +2 -209
  436. package/dist/textarea.js.map +1 -1
  437. package/dist/timeline.js +7 -367
  438. package/dist/timeline.js.map +1 -1
  439. package/dist/toast.js +2 -168
  440. package/dist/toast.js.map +1 -1
  441. package/dist/toggle.js +4 -120
  442. package/dist/toggle.js.map +1 -1
  443. package/dist/tutorial.js +2 -325
  444. package/dist/tutorial.js.map +1 -1
  445. package/dist/typography.js +1 -1
  446. package/dist/web-types.json +482 -305
  447. package/package.json +11 -10
  448. package/dist/assets/index11.css +0 -1
  449. package/dist/assets/index18.css +0 -1
  450. package/dist/assets/index33.css +0 -1
  451. package/dist/assets/index34.css +0 -1
  452. package/dist/assets/index35.css +0 -1
  453. package/dist/assets/index38.css +0 -1
  454. package/dist/assets/index4.css +0 -1
  455. package/dist/assets/index40.css +0 -1
  456. package/dist/assets/index44.css +0 -1
  457. package/dist/assets/index46.css +0 -1
  458. package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
  459. package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
  460. package/dist/chunks/1-generic-use.ccca5813.js +0 -5
  461. package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
  462. package/dist/chunks/2-generic-use.443db127.js +0 -5
  463. package/dist/chunks/2-generic-use.443db127.js.map +0 -1
  464. package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
  465. package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
  466. package/dist/chunks/3-generic-use.9f74667f.js +0 -5
  467. package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
  468. package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
  469. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
  470. package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
  471. package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
  472. package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
  473. package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
  474. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +0 -33
  475. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +0 -1
  476. package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
  477. package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
  478. package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
  479. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
  480. package/dist/chunks/adyen-giving.480913b5.js +0 -5
  481. package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
  482. package/dist/chunks/adyen-giving.54ed984c.js +0 -5
  483. package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
  484. package/dist/chunks/base-button.ad74b6f8.js +0 -88
  485. package/dist/chunks/button-actions.81db18e8.js +0 -111
  486. package/dist/chunks/button-actions.81db18e8.js.map +0 -1
  487. package/dist/chunks/button.9d6435ae.js +0 -100
  488. package/dist/chunks/button.9d6435ae.js.map +0 -1
  489. package/dist/chunks/checkmark-circle-fill.345311d2.js +0 -26
  490. package/dist/chunks/checkmark.a6ed8f47.js +0 -26
  491. package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
  492. package/dist/chunks/dropdown.10c034aa.js.map +0 -1
  493. package/dist/chunks/error-message.31ec12b7.js +0 -111
  494. package/dist/chunks/events.58c00e6d.js +0 -50
  495. package/dist/chunks/events.58c00e6d.js.map +0 -1
  496. package/dist/chunks/index.15b088b9.js.map +0 -1
  497. package/dist/chunks/index.1ea85d4a.js.map +0 -1
  498. package/dist/chunks/index.317fca12.js.map +0 -1
  499. package/dist/chunks/index.671768a1.js.map +0 -1
  500. package/dist/chunks/index.7eefc59c.js.map +0 -1
  501. package/dist/chunks/index.885d05a9.js +0 -32
  502. package/dist/chunks/index.885d05a9.js.map +0 -1
  503. package/dist/chunks/index.8b8c3b16.js.map +0 -1
  504. package/dist/chunks/index.aaf965f8.js +0 -147
  505. package/dist/chunks/index.aaf965f8.js.map +0 -1
  506. package/dist/chunks/index.b21197ca.js.map +0 -1
  507. package/dist/chunks/index.d553d3d1.js.map +0 -1
  508. package/dist/chunks/index.dd30e538.js.map +0 -1
  509. package/dist/chunks/internal-error.35cbb071.js +0 -5
  510. package/dist/chunks/internal-error.35cbb071.js.map +0 -1
  511. package/dist/chunks/internal-error.9a4823ed.js +0 -5
  512. package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
  513. package/dist/chunks/listbox-option-tag.6bbb6bbe.js +0 -107
  514. package/dist/chunks/listbox-option-tag.6bbb6bbe.js.map +0 -1
  515. package/dist/chunks/no-results-found.58856d70.js +0 -5
  516. package/dist/chunks/no-results-found.58856d70.js.map +0 -1
  517. package/dist/chunks/no-results-found.cbb12f78.js +0 -5
  518. package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
  519. package/dist/chunks/notifications-cleared.71025c22.js +0 -5
  520. package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
  521. package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
  522. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
  523. package/dist/chunks/page-not-found.a500440d.js +0 -5
  524. package/dist/chunks/page-not-found.a500440d.js.map +0 -1
  525. package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
  526. package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
  527. package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
  528. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
  529. package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
  530. package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
  531. package/dist/chunks/radio-input.c6550a9c.js.map +0 -1
  532. package/dist/chunks/referrals.178ce0eb.js +0 -5
  533. package/dist/chunks/referrals.178ce0eb.js.map +0 -1
  534. package/dist/chunks/referrals.599047da.js +0 -5
  535. package/dist/chunks/referrals.599047da.js.map +0 -1
  536. package/dist/chunks/success.41981fe8.js +0 -5
  537. package/dist/chunks/success.41981fe8.js.map +0 -1
  538. package/dist/chunks/success.77fac78b.js +0 -5
  539. package/dist/chunks/success.77fac78b.js.map +0 -1
  540. package/dist/chunks/tooltip.58ef3f4a.js.map +0 -1
  541. package/dist/chunks/upload-files.2708eca7.js +0 -5
  542. package/dist/chunks/upload-files.2708eca7.js.map +0 -1
  543. package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
  544. package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
  545. package/dist/chunks/use-cached-selected-values.69297473.js.map +0 -1
  546. package/dist/chunks/use-has-slot.fbeb19ec.js +0 -6
  547. package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
  548. package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
  549. package/dist/chunks/wrong-environment.f890a237.js +0 -5
  550. package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
  551. /package/dist/assets/{index5.css → avatar-image.css} +0 -0
  552. /package/dist/assets/{index.css → badge.css} +0 -0
  553. /package/dist/assets/{index8.css → checkbox-group.css} +0 -0
  554. /package/dist/assets/{index10.css → country.css} +0 -0
  555. /package/dist/assets/{index12.css → date-picker.css} +0 -0
  556. /package/dist/assets/{index13.css → date-range-picker.css} +0 -0
  557. /package/dist/assets/{index14.css → divider.css} +0 -0
  558. /package/dist/assets/{index16.css → dropdown-tag.css} +0 -0
  559. /package/dist/assets/{index17.css → empty-state.css} +0 -0
  560. /package/dist/assets/{index19.css → focus-trap.css} +0 -0
  561. /package/dist/assets/{index21.css → header.css} +0 -0
  562. /package/dist/assets/{index27.css → info-icon.css} +0 -0
  563. /package/dist/assets/{index42.css → link.css} +0 -0
  564. /package/dist/assets/{index23.css → loading-indicator.css} +0 -0
  565. /package/dist/assets/{index24.css → pagination.css} +0 -0
  566. /package/dist/assets/{index45.css → popper-container.css} +0 -0
  567. /package/dist/assets/{index20.css → radio-group.css} +0 -0
  568. /package/dist/assets/{index47.css → search-bar.css} +0 -0
  569. /package/dist/assets/{index48.css → secondary-nav.css} +0 -0
  570. /package/dist/assets/{index39.css → step.css} +0 -0
  571. /package/dist/assets/{index41.css → summary-grid-item-custom.css} +0 -0
  572. /package/dist/assets/{index36.css → tag.css} +0 -0
  573. /package/dist/assets/{index30.css → textarea.css} +0 -0
  574. /package/dist/assets/{index31.css → timeline-item.css} +0 -0
  575. /package/dist/assets/{index32.css → toast.css} +0 -0
  576. /package/dist/assets/{index6.css → toggle-button.css} +0 -0
  577. /package/dist/assets/{index29.css → typography.css} +0 -0
@@ -1,21 +1,20 @@
1
- import { computed as i, ref as A, onMounted as ee, onUnmounted as ve, watch as te, defineComponent as D, toRef as V } from "vue";
2
- import { B as w } from "./index.dd30e538.js";
3
- import { BentoLoadingIndicator as fe } from "../loading-indicator.js";
4
- import { BentoEmptyState as ge } from "../empty-state.js";
5
- import { u as Y } from "./i18n.eb5b985b.js";
6
- import { d as ye } from "./debounce.b5ef6acf.js";
7
- import { n as N } from "./_plugin-vue2_normalizer.71e2aa87.js";
8
- import { C as pe } from "./checkmark.a6ed8f47.js";
9
- import { B as k, a as X } from "./keyboard-navigation.ca47dfa8.js";
10
- import { B as J } from "./checkbox.bfed007c.js";
11
- import "./index.4c062058.js";
12
- import { C as Se, a as xe } from "./chevron-up.81185563.js";
13
- import { B as Ce } from "./base-button.ad74b6f8.js";
14
- import { C as he } from "./cross-small.e851e0de.js";
15
- import { B as Ee, a as Q } from "./loading-button.eafc9e1b.js";
16
- import { o as Te } from "./resize.a041304d.js";
1
+ import { computed as i, ref as A, onMounted as te, onUnmounted as _e, watch as se, defineComponent as $, toRef as V } from "vue";
2
+ import { B as M } from "./typography.Bjtu3Gca.js";
3
+ import { B as ge } from "./loading-indicator.DXc7I1Lm.js";
4
+ import { B as ye } from "./empty-state.BqVOj4v1.js";
5
+ import { u as Y } from "./i18n.BQkEbtPM.js";
6
+ import { d as Se } from "./debounce.DUTu11PS.js";
7
+ import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
+ import { B as k, a as X } from "./keyboard-navigation.Clz1jOaA.js";
9
+ import { B as Z } from "./checkbox.Bi2RDBEZ.js";
10
+ import "./index.Cl4_42j5.js";
11
+ import { C as pe, a as Ce } from "./chevron-up.B2uWhZf7.js";
12
+ import { B as he } from "./base-button.DER7_IsF.js";
13
+ import { C as xe } from "./cross-small.BLUwtRB-.js";
14
+ import { B as Ee, a as J } from "./loading-button.CoF1IhEU.js";
15
+ import { o as Le } from "./resize.Bqks3WUm.js";
17
16
  import "../assets/use-cached-selected-values.css";
18
- const se = (t, e, s, l) => {
17
+ const le = (t, e, s, l) => {
19
18
  const n = i(
20
19
  () => {
21
20
  var d, r;
@@ -33,56 +32,56 @@ const se = (t, e, s, l) => {
33
32
  }
34
33
  };
35
34
  };
36
- function Le(t, { disabled: e, itemHeight: s, overscan: l = 5, prefixHeight: n }) {
37
- const o = A(null), _ = A([]), d = A(0), r = A(0), u = A(0);
38
- let p;
39
- const h = i(() => {
40
- const S = typeof s == "number" ? t.value.length * s : t.value.reduce((L, m, x) => L + s(x), 0), O = typeof s == "number" ? d.value * s : t.value.slice(0, d.value).reduce((L, m, x) => L + s(x), 0);
35
+ function Te(t, { disabled: e, itemHeight: s, overscan: l = 5, prefixHeight: n }) {
36
+ const o = A(null), b = A([]), d = A(0), r = A(0), u = A(0);
37
+ let S;
38
+ const x = i(() => {
39
+ const p = typeof s == "number" ? t.value.length * s : t.value.reduce((T, v, C) => T + s(C), 0), O = typeof s == "number" ? d.value * s : t.value.slice(0, d.value).reduce((T, v, C) => T + s(C), 0);
41
40
  return {
42
41
  style: {
43
42
  marginTop: `${O}px`,
44
- height: `${S - O}px`
43
+ height: `${p - O}px`
45
44
  }
46
45
  };
47
46
  }), E = () => {
48
- const S = (n == null ? void 0 : n.value) ?? 0, O = Math.max(o.value.scrollTop - S, 0);
47
+ const p = (n == null ? void 0 : n.value) ?? 0, O = Math.max(o.value.scrollTop - p, 0);
49
48
  if (typeof s == "number")
50
49
  return Math.floor(O / s);
51
- let L = 0, m = 0;
52
- for (let x = 0; x < t.value.length; x += 1) {
53
- const R = s(x);
54
- if (L += R, L >= O) {
55
- m = x;
50
+ let T = 0, v = 0;
51
+ for (let C = 0; C < t.value.length; C += 1) {
52
+ const R = s(C);
53
+ if (T += R, T >= O) {
54
+ v = C;
56
55
  break;
57
56
  }
58
57
  }
59
- return m;
60
- }, v = () => {
58
+ return v;
59
+ }, f = () => {
61
60
  if (u.value = o.value.clientHeight, typeof s == "number")
62
61
  return Math.ceil(u.value / s);
63
- const S = d.value ?? 0;
64
- let O = 0, L = 0;
65
- for (let m = S; m < t.value.length; m += 1) {
66
- const x = s(m);
67
- if (O += x, L = m, O > u.value)
62
+ const p = d.value ?? 0;
63
+ let O = 0, T = 0;
64
+ for (let v = p; v < t.value.length; v += 1) {
65
+ const C = s(v);
66
+ if (O += C, T = v, O > u.value)
68
67
  break;
69
68
  }
70
- return L - S;
69
+ return T - p;
71
70
  }, y = () => {
72
71
  if (o.value) {
73
- const S = v();
74
- d.value = E(), r.value = Math.min(d.value + S + l, t.value.length), _.value = t.value.slice(d.value, r.value);
72
+ const p = f();
73
+ d.value = E(), r.value = Math.min(d.value + p + l, t.value.length), b.value = t.value.slice(d.value, r.value);
75
74
  }
76
- }, T = () => {
75
+ }, L = () => {
77
76
  y();
78
77
  };
79
- e || (ee(() => {
80
- o.value && (u.value = o.value.clientHeight, p = Te(o.value, ({ clientHeight: S }) => {
81
- u.value = S, y();
78
+ e || (te(() => {
79
+ o.value && (u.value = o.value.clientHeight, S = Le(o.value, ({ clientHeight: p }) => {
80
+ u.value = p, y();
82
81
  }), y());
83
- }), ve(() => {
84
- p == null || p.disconnect();
85
- }), te(
82
+ }), _e(() => {
83
+ S == null || S.disconnect();
84
+ }), se(
86
85
  () => t.value,
87
86
  () => {
88
87
  y();
@@ -102,16 +101,16 @@ function Le(t, { disabled: e, itemHeight: s, overscan: l = 5, prefixHeight: n })
102
101
  } : {
103
102
  containerRef: o,
104
103
  containerProps: B,
105
- onScroll: T,
106
- list: _,
107
- wrapperProps: h
104
+ onScroll: L,
105
+ list: b,
106
+ wrapperProps: x
108
107
  };
109
108
  }
110
- var a = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(a || {}), M = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(M || {});
111
- const Oe = D({
109
+ var a = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(a || {}), w = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(w || {});
110
+ const Oe = $({
112
111
  name: "bento-listbox-static-category",
113
112
  components: {
114
- BentoTypography: w
113
+ BentoTypography: M
115
114
  },
116
115
  props: {
117
116
  /**
@@ -126,17 +125,15 @@ const Oe = D({
126
125
  var Ae = function() {
127
126
  var e = this, s = e._self._c;
128
127
  return e._self._setupProxy, s("div", { staticClass: "b-listbox-single-select-category" }, [s("bento-typography", { staticClass: "b-listbox-single-select-category__label-text", attrs: { variant: "caption", el: "span" } }, [e._v(" " + e._s(e.categoryLabel) + " ")]), s("div", [e._t("default")], 2)], 1);
129
- }, Ie = [], Be = /* @__PURE__ */ N(
128
+ }, Ie = [], Be = /* @__PURE__ */ D(
130
129
  Oe,
131
130
  Ae,
132
131
  Ie,
133
132
  !1,
134
133
  null,
135
- "4aa8cc6e",
136
- null,
137
- null
134
+ "4aa8cc6e"
138
135
  );
139
- const Re = Be.exports, ke = D({
136
+ const Re = Be.exports, ke = $({
140
137
  name: "bento-listbox-option",
141
138
  props: {
142
139
  /**
@@ -164,8 +161,8 @@ const Re = Be.exports, ke = D({
164
161
  onClick: (o) => {
165
162
  e(a.CLICK, o);
166
163
  },
167
- onOptionSelected: (o, _) => {
168
- e(o, _);
164
+ onOptionSelected: (o, b) => {
165
+ e(o, b);
169
166
  }
170
167
  };
171
168
  }
@@ -179,22 +176,38 @@ var De = function() {
179
176
  }, function(l) {
180
177
  return !l.type.indexOf("key") && e._k(l.keyCode, "tab", 9, l.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, l);
181
178
  }] } }, "label", e.$attrs, !1), [e._t("default")], 2);
182
- }, Ne = [], Pe = /* @__PURE__ */ N(
179
+ }, $e = [], Ne = /* @__PURE__ */ D(
183
180
  ke,
184
181
  De,
185
- Ne,
182
+ $e,
186
183
  !1,
187
184
  null,
188
- "d7fb415c",
185
+ "d7fb415c"
186
+ );
187
+ const q = Ne.exports;
188
+ let Q = 0;
189
+ const Pe = {
190
+ beforeCreate() {
191
+ this.uuid = Q.toString(), Q += 1;
192
+ }
193
+ };
194
+ var we = function() {
195
+ var e = this, s = e._self._c;
196
+ return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
197
+ }, Me = [], Fe = /* @__PURE__ */ D(
198
+ Pe,
199
+ we,
200
+ Me,
201
+ !1,
189
202
  null,
190
203
  null
191
204
  );
192
- const q = Pe.exports, $e = D({
205
+ const Ge = Fe.exports, Ue = $({
193
206
  name: "bento-listbox-single-select-option",
194
207
  components: {
195
208
  BentoListboxOption: q,
196
- BentoTypography: w,
197
- CheckmarkIcon: pe
209
+ BentoTypography: M,
210
+ CheckmarkIcon: Ge
198
211
  },
199
212
  props: {
200
213
  /**
@@ -216,8 +229,8 @@ const q = Pe.exports, $e = D({
216
229
  },
217
230
  emits: [a.ENTER, a.SELECT, a.SPACE, a.TAB],
218
231
  setup(t, { emit: e }) {
219
- const s = (_) => {
220
- t.disabled || e(_, t.option);
232
+ const s = (b) => {
233
+ t.disabled || e(b, t.option);
221
234
  }, l = i(() => t.disabled ? !0 : null), n = i(() => t.selected ? !0 : null), o = i(() => t.disabled ? -1 : 0);
222
235
  return {
223
236
  // Values
@@ -231,7 +244,7 @@ const q = Pe.exports, $e = D({
231
244
  };
232
245
  }
233
246
  });
234
- var Me = function() {
247
+ var ze = function() {
235
248
  var e = this, s = e._self._c;
236
249
  return e._self._setupProxy, s("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: e._d({ click: function(l) {
237
250
  return e.onOptionSelected(e.BentoListboxEvent.SELECT);
@@ -244,23 +257,21 @@ var Me = function() {
244
257
  }]) }, [e._t("default", function() {
245
258
  return [s("span", { staticClass: "b-listbox-single-select-option__text" }, [s("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.option.label))]), e.option.description ? s("bento-typography", { staticClass: "b-listbox-single-select-option__description", attrs: { el: "span" } }, [e._v(" " + e._s(e.option.description) + " ")]) : e._e()], 1)];
246
259
  }, null, e.option), s("span", { staticClass: "b-listbox-single-select-option__check-icon" }, [s("checkmark-icon", { directives: [{ name: "show", rawName: "v-show", value: e.selected, expression: "selected" }], attrs: { "svg-title": "selected" } })], 1)], 2);
247
- }, we = [], Fe = /* @__PURE__ */ N(
248
- $e,
249
- Me,
250
- we,
260
+ }, Ve = [], Ye = /* @__PURE__ */ D(
261
+ Ue,
262
+ ze,
263
+ Ve,
251
264
  !1,
252
265
  null,
253
- "3ba7da5b",
254
- null,
255
- null
266
+ "3ba7da5b"
256
267
  );
257
- const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
268
+ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e }, s) => {
258
269
  const l = i(() => t.value.length - 1), n = A(0);
259
- ee(() => {
260
- e && (n.value = t.value.findIndex((v) => !e(v)));
270
+ te(() => {
271
+ e && (n.value = t.value.findIndex((f) => !e(f)));
261
272
  });
262
- const o = (v) => !e || !!e && e(t.value[v]), _ = (v) => !e || !!e && !e(t.value[v]), d = (v) => {
263
- switch (v) {
273
+ const o = (f) => !e || !!e && e(t.value[f]), b = (f) => !e || !!e && !e(t.value[f]), d = (f) => {
274
+ switch (f) {
264
275
  case "increase":
265
276
  n.value += 1;
266
277
  break;
@@ -268,11 +279,11 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
268
279
  n.value -= 1;
269
280
  break;
270
281
  }
271
- }, r = ({ edgeCaseItem: v, isItemBeforeEdgeCaseItem: y }, T, B) => {
272
- n.value !== v && (y ? _(v) && d(B) : (d(B), o(n.value) && T()), s(n.value));
273
- }, u = (v) => {
274
- var T;
275
- (T = v == null ? void 0 : v.detail) == null || T.preventDefault();
282
+ }, r = ({ edgeCaseItem: f, isItemBeforeEdgeCaseItem: y }, L, B) => {
283
+ n.value !== f && (y ? b(f) && d(B) : (d(B), o(n.value) && L()), s(n.value));
284
+ }, u = (f) => {
285
+ var L;
286
+ (L = f == null ? void 0 : f.detail) == null || L.preventDefault();
276
287
  const y = n.value === l.value - 2;
277
288
  r(
278
289
  {
@@ -283,16 +294,16 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
283
294
  "increase"
284
295
  /* INCREASE */
285
296
  );
286
- }, p = (v) => {
287
- var T;
288
- (T = v == null ? void 0 : v.detail) == null || T.preventDefault();
297
+ }, S = (f) => {
298
+ var L;
299
+ (L = f == null ? void 0 : f.detail) == null || L.preventDefault();
289
300
  const y = n.value === 1;
290
301
  r(
291
302
  {
292
303
  edgeCaseItem: 0,
293
304
  isItemBeforeEdgeCaseItem: y
294
305
  },
295
- p,
306
+ S,
296
307
  "decrease"
297
308
  /* DECREASE */
298
309
  );
@@ -302,16 +313,16 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
302
313
  n.value = 0, o(n.value) ? u() : s(n.value);
303
314
  },
304
315
  moveToLastElement: () => {
305
- n.value = l.value, o(n.value) ? p() : s(n.value);
316
+ n.value = l.value, o(n.value) ? S() : s(n.value);
306
317
  },
307
318
  moveToNextElement: u,
308
- moveToPreviousElement: p
319
+ moveToPreviousElement: S
309
320
  };
310
- }, Ue = D({
321
+ }, We = $({
311
322
  name: "bento-listbox-single-select",
312
323
  components: {
313
324
  BentoListboxSingleSelectCategory: Re,
314
- BentoListboxSingleSelectOption: Ge
325
+ BentoListboxSingleSelectOption: qe
315
326
  },
316
327
  directives: { BentoKeyboardNavigationDirective: X },
317
328
  inheritAttrs: !1,
@@ -359,9 +370,9 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
359
370
  const l = A([]), n = i(() => {
360
371
  var y;
361
372
  return !!((y = t.selectedValue) != null && y.length) && t.selectedValue.at(0);
362
- }), o = i(() => !!t.items.some(({ items: y }) => !!y)), _ = (y) => (T) => {
363
- e(y, [T]);
364
- }, d = (y) => l.value[y].$el.focus(), { moveToNextElement: r, moveToPreviousElement: u, moveToFirstElement: p, moveToLastElement: h } = le(
373
+ }), o = i(() => !!t.items.some(({ items: y }) => !!y)), b = (y) => (L) => {
374
+ e(y, [L]);
375
+ }, d = (y) => l.value[y].$el.focus(), { moveToNextElement: r, moveToPreviousElement: u, moveToFirstElement: S, moveToLastElement: x } = ne(
365
376
  {
366
377
  items: V(t, "items"),
367
378
  isOptionDisabled: t.isOptionDisabled
@@ -370,13 +381,13 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
370
381
  ), E = {
371
382
  [k.ARROW_UP]: u,
372
383
  [k.ARROW_DOWN]: r,
373
- [k.HOME]: p,
374
- [k.END]: h
375
- }, v = {
376
- [a.SELECT]: _(a.SELECT),
377
- [a.SPACE]: _(a.SPACE),
378
- [a.TAB]: _(a.TAB),
379
- [a.ENTER]: _(a.ENTER)
384
+ [k.HOME]: S,
385
+ [k.END]: x
386
+ }, f = {
387
+ [a.SELECT]: b(a.SELECT),
388
+ [a.SPACE]: b(a.SPACE),
389
+ [a.TAB]: b(a.TAB),
390
+ [a.ENTER]: b(a.ENTER)
380
391
  };
381
392
  return {
382
393
  // Enums
@@ -388,56 +399,54 @@ const Ge = Fe.exports, le = ({ items: t, isOptionDisabled: e }, s) => {
388
399
  // Computed
389
400
  hasCategories: o,
390
401
  // Methods
391
- onOptionSelected: _,
402
+ onOptionSelected: b,
392
403
  // Keyboard navigation
393
404
  listboxListeners: E,
394
- listboxOptionListeners: v
405
+ listboxOptionListeners: f
395
406
  };
396
407
  }
397
408
  });
398
- var ze = function() {
409
+ var Ke = function() {
399
410
  var e = this, s = e._self._c;
400
411
  return e._self._setupProxy, s("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }] }, e.listboxListeners), [e.hasCategories && e.staticCategories ? e._l(e.items, function(l) {
401
412
  return s("bento-listbox-single-select-category", { key: l.value, attrs: { "category-label": l.label, role: "group" } }, e._l(l.items, function(n) {
402
- return s("bento-listbox-single-select-option", e._g({ key: n.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: n, disabled: e.isOptionDisabled ? e.isOptionDisabled(n) : null, selected: n.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(o, _) {
403
- return { key: _, fn: function(d) {
404
- return [e._t(_, null, null, d)];
413
+ return s("bento-listbox-single-select-option", e._g({ key: n.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: n, disabled: e.isOptionDisabled ? e.isOptionDisabled(n) : null, selected: n.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(o, b) {
414
+ return { key: b, fn: function(d) {
415
+ return [e._t(b, null, null, d)];
405
416
  } };
406
417
  })], null, !0) }, e.listboxOptionListeners));
407
418
  }), 1);
408
419
  }) : e._l(e.items, function(l) {
409
420
  return s("bento-listbox-single-select-option", e._g({ key: l.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: l, disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null, selected: l.value === e.selectedItem.value }, scopedSlots: e._u([e._l(e.slots, function(n, o) {
410
- return { key: o, fn: function(_) {
411
- return [e._t(o, null, null, _)];
421
+ return { key: o, fn: function(b) {
422
+ return [e._t(o, null, null, b)];
412
423
  } };
413
424
  })], null, !0) }, e.listboxOptionListeners));
414
425
  })], 2);
415
- }, Ve = [], Ye = /* @__PURE__ */ N(
416
- Ue,
417
- ze,
418
- Ve,
426
+ }, je = [], He = /* @__PURE__ */ D(
427
+ We,
428
+ Ke,
429
+ je,
419
430
  !1,
420
431
  null,
421
- null,
422
- null,
423
432
  null
424
433
  );
425
- const qe = Ye.exports;
434
+ const Xe = He.exports;
426
435
  var j = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.STATIC_CATEGORY = "static-category", t))(j || {}), U = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.UNSELECT_CATEGORY = "unselect-category", t))(U || {});
427
- const We = {
436
+ const Ze = {
428
437
  "en-US": {
429
438
  categoryClosed: "{category} closed",
430
439
  categoryOpened: "{category} opened"
431
440
  }
432
- }, Ke = D({
433
- i18n: { messages: We },
441
+ }, Je = $({
442
+ i18n: { messages: Ze },
434
443
  name: "bento-listbox-multi-select-category",
435
444
  components: {
436
- BentoCheckbox: J,
437
- BentoTypography: w,
445
+ BentoCheckbox: Z,
446
+ BentoTypography: M,
438
447
  BentoListboxOption: q,
439
- ChevronDownIcon: Se,
440
- ChevronUpIcon: xe
448
+ ChevronDownIcon: pe,
449
+ ChevronUpIcon: Ce
441
450
  },
442
451
  props: {
443
452
  /**
@@ -480,92 +489,90 @@ const We = {
480
489
  },
481
490
  emits: [U.SELECT_CATEGORY, U.UNSELECT_CATEGORY],
482
491
  setup(t, { emit: e }) {
483
- const s = A(!1), { t: l } = Y(), n = (m) => t.isOptionDisabled ? t.isOptionDisabled(m) : !1, o = i(
484
- () => t.category.items.every((m) => n(m))
485
- ), _ = V(t, "staticCategories"), d = i(() => s.value || t.staticCategories), r = i(() => ({
492
+ const s = A(!1), { t: l } = Y(), n = (v) => t.isOptionDisabled ? t.isOptionDisabled(v) : !1, o = i(
493
+ () => t.category.items.every((v) => n(v))
494
+ ), b = V(t, "staticCategories"), d = i(() => s.value || t.staticCategories), r = i(() => ({
486
495
  [`b-listbox-multi-select-category--${j.DISABLED}`]: o.value,
487
496
  [`b-listbox-multi-select-category--${j.STATIC_CATEGORY}`]: t.staticCategories
488
- })), u = (m) => {
489
- m.preventDefault(), s.value = !s.value;
490
- }, p = (m) => {
497
+ })), u = (v) => {
498
+ v.preventDefault(), s.value = !s.value;
499
+ }, S = (v) => {
491
500
  var F;
492
- const x = n(m), R = ((F = t.selectedItemsList) == null ? void 0 : F.includes(m.value)) || !1;
493
- return { isDisabled: x, isPreSelected: R };
494
- }, h = i(
495
- () => t.category.items.filter((m) => {
496
- const { isDisabled: x, isPreSelected: R } = p(m);
497
- return x && R || !x;
501
+ const C = n(v), R = ((F = t.selectedItemsList) == null ? void 0 : F.includes(v.value)) || !1;
502
+ return { isDisabled: C, isPreSelected: R };
503
+ }, x = i(
504
+ () => t.category.items.filter((v) => {
505
+ const { isDisabled: C, isPreSelected: R } = S(v);
506
+ return C && R || !C;
498
507
  })
499
508
  ), E = i(
500
509
  () => {
501
- var m;
502
- return (m = h.value) == null ? void 0 : m.filter(
503
- ({ value: x }) => {
510
+ var v;
511
+ return (v = x.value) == null ? void 0 : v.filter(
512
+ ({ value: C }) => {
504
513
  var R;
505
- return (R = t.selectedItemsList) == null ? void 0 : R.includes(x);
514
+ return (R = t.selectedItemsList) == null ? void 0 : R.includes(C);
506
515
  }
507
516
  );
508
517
  }
509
- ), v = i(() => {
510
- const m = s.value ? "categoryOpened" : "categoryClosed";
511
- return l(m, { category: t.category.label });
518
+ ), f = i(() => {
519
+ const v = s.value ? "categoryOpened" : "categoryClosed";
520
+ return l(v, { category: t.category.label });
512
521
  }), y = i(
513
522
  () => ({
514
523
  el: "span",
515
524
  variant: t.staticCategories ? "caption" : "body"
516
525
  })
517
- ), T = () => {
526
+ ), L = () => {
518
527
  e(U.SELECT_CATEGORY);
519
528
  }, B = () => {
520
529
  e(U.UNSELECT_CATEGORY);
521
- }, { isAllSelected: S, isIndeterminate: O, toggleSelectAll: L } = se(
530
+ }, { isAllSelected: p, isIndeterminate: O, toggleSelectAll: T } = le(
522
531
  E,
523
- h,
524
- T,
532
+ x,
533
+ L,
525
534
  B
526
535
  );
527
536
  return {
528
537
  // Values
529
- chevronTitle: v,
538
+ chevronTitle: f,
530
539
  conditionalClass: r,
531
540
  hasAllPropsDisabled: o,
532
541
  isOpen: s,
533
- isAllSelected: S,
542
+ isAllSelected: p,
534
543
  isIndeterminate: O,
535
- isStaticCategory: _,
544
+ isStaticCategory: b,
536
545
  // Computed
537
546
  showItemChildren: d,
538
547
  categoryLabelProps: y,
539
548
  // Methods
540
549
  toggleOpen: u,
541
- toggleSelectAll: L
550
+ toggleSelectAll: T
542
551
  };
543
552
  }
544
553
  });
545
- var je = function() {
554
+ var Qe = function() {
546
555
  var e = this, s = e._self._c;
547
556
  return e._self._setupProxy, s("div", [s("bento-listbox-option", { staticClass: "b-listbox-multi-select-category__option", class: e.conditionalClass }, [e.isStaticCategory ? e._e() : s("bento-checkbox", { attrs: { "model-value": e.isAllSelected, indeterminate: e.isIndeterminate, disabled: e.hasAllPropsDisabled, "aria-label": e.category.label, value: e.category.value }, on: { "update:model-value": e.toggleSelectAll } }), s("span", { staticClass: "b-listbox-multi-select-category__label" }, [s("bento-typography", e._b({ staticClass: "b-listbox-multi-select-category__label-text" }, "bento-typography", e.categoryLabelProps, !1), [e._v(" " + e._s(e.category.label) + " ")]), e.isStaticCategory ? e._e() : s("div", { staticClass: "b-listbox-multi-select-category__label-chevron", attrs: { "data-testid": "toggle-listbox" }, on: { "!click": function(l) {
548
557
  return e.toggleOpen.apply(null, arguments);
549
558
  } } }, [e.isOpen ? s("chevron-up-icon", { attrs: { "svg-title": e.chevronTitle } }) : s("chevron-down-icon", { attrs: { "svg-title": e.chevronTitle } })], 1)], 1)], 1), s("div", { directives: [{ name: "show", rawName: "v-show", value: e.showItemChildren, expression: "showItemChildren" }] }, [e._t("default")], 2)], 1);
550
- }, He = [], Xe = /* @__PURE__ */ N(
551
- Ke,
552
- je,
553
- He,
559
+ }, et = [], tt = /* @__PURE__ */ D(
560
+ Je,
561
+ Qe,
562
+ et,
554
563
  !1,
555
564
  null,
556
- "f360ac3d",
557
- null,
558
- null
565
+ "f360ac3d"
559
566
  );
560
- const Je = Xe.exports;
561
- var $ = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", t.UNSELECT_CATEGORY = "unselect-category", t))($ || {});
562
- const Qe = D({
567
+ const st = tt.exports;
568
+ var P = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", t.UNSELECT_CATEGORY = "unselect-category", t))(P || {});
569
+ const lt = $({
563
570
  name: "listbox-multi-select-options",
564
571
  components: {
565
- BentoCheckbox: J,
572
+ BentoCheckbox: Z,
566
573
  BentoListboxOption: q,
567
- BentoTypography: w,
568
- ListboxMultiSelectCategory: Je
574
+ BentoTypography: M,
575
+ ListboxMultiSelectCategory: st
569
576
  },
570
577
  props: {
571
578
  /**
@@ -623,19 +630,19 @@ const Qe = D({
623
630
  staticCategories: { type: Boolean, default: !1 }
624
631
  },
625
632
  emits: [
626
- $.TOGGLE_CHECKBOX_SELECTION,
627
- $.SELECT_CATEGORY,
628
- $.UNSELECT_CATEGORY
633
+ P.TOGGLE_CHECKBOX_SELECTION,
634
+ P.SELECT_CATEGORY,
635
+ P.UNSELECT_CATEGORY
629
636
  ],
630
637
  setup(t, { emit: e }) {
631
638
  const s = (r) => {
632
- e($.TOGGLE_CHECKBOX_SELECTION, r);
639
+ e(P.TOGGLE_CHECKBOX_SELECTION, r);
633
640
  }, l = (r) => !!r.items, n = (r) => {
634
641
  const u = t.isMultiLevel && t.searching;
635
642
  return r.description && (!t.isMultiLevel || u);
636
- }, o = (r) => r.items ? !!r.items.find((u) => t.selectedItemsList.includes(u.value)) : t.selectedItemsList.includes(r.value), _ = (r, u) => {
643
+ }, o = (r) => r.items ? !!r.items.find((u) => t.selectedItemsList.includes(u.value)) : t.selectedItemsList.includes(r.value), b = (r, u) => {
637
644
  if (l(u))
638
- return e(r ? $.SELECT_CATEGORY : $.UNSELECT_CATEGORY, u);
645
+ return e(r ? P.SELECT_CATEGORY : P.UNSELECT_CATEGORY, u);
639
646
  s(u.value);
640
647
  };
641
648
  return {
@@ -648,14 +655,14 @@ const Qe = D({
648
655
  isOptionSelected: o,
649
656
  shouldShowDescription: n,
650
657
  toggleCheckboxSelection: s,
651
- selectSearch: _,
658
+ selectSearch: b,
652
659
  // Enums
653
660
  BentoListboxEvent: a,
654
- ListboxMultiSelectOptionsEvent: $
661
+ ListboxMultiSelectOptionsEvent: P
655
662
  };
656
663
  }
657
664
  });
658
- var Ze = function() {
665
+ var nt = function() {
659
666
  var e = this, s = e._self._c;
660
667
  return e._self._setupProxy, s("div", e._l(e.items, function(l) {
661
668
  return s("div", { key: `selected-${l.value}` }, [e.searching && e.isMultiLevel ? [s("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null } }, [s("bento-checkbox", { attrs: { "model-value": e.isOptionSelected(l), "aria-label": l.label, disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null, value: l.value }, on: { "update:model-value": (n) => e.selectSearch(n, l) } }), e._t("default", function() {
@@ -670,24 +677,22 @@ var Ze = function() {
670
677
  return [s("span", { staticClass: "b-listbox-multi-select__option-text" }, [s("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(l.label))]), e.shouldShowDescription(l) ? s("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(l.description) + " ")]) : e._e()], 1)];
671
678
  }, null, l)], 2)]], 2);
672
679
  }), 0);
673
- }, et = [], tt = /* @__PURE__ */ N(
674
- Qe,
675
- Ze,
676
- et,
680
+ }, ot = [], at = /* @__PURE__ */ D(
681
+ lt,
682
+ nt,
683
+ ot,
677
684
  !1,
678
685
  null,
679
- "b2db9f50",
680
- null,
681
- null
686
+ "b2db9f50"
682
687
  );
683
- const st = tt.exports, lt = {
688
+ const it = at.exports, ct = {
684
689
  "en-US": {
685
690
  remove: "Remove"
686
691
  }
687
- }, nt = {
688
- i18n: { messages: lt }
689
- }, ot = /* @__PURE__ */ D({
690
- ...nt,
692
+ }, rt = {
693
+ i18n: { messages: ct }
694
+ }, ut = /* @__PURE__ */ $({
695
+ ...rt,
691
696
  __name: "listbox-multi-select-chips",
692
697
  props: {
693
698
  /**
@@ -712,10 +717,10 @@ const st = tt.exports, lt = {
712
717
  emits: ["unselect-item", "unselect-category"],
713
718
  setup(t, { emit: e }) {
714
719
  const { t: s } = Y();
715
- return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: w, BaseButton: Ce, CrossSmallIcon: he };
720
+ return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: M, BaseButton: he, CrossSmallIcon: xe };
716
721
  }
717
722
  });
718
- var at = function() {
723
+ var dt = function() {
719
724
  var e = this, s = e._self._c, l = e._self._setupProxy;
720
725
  return s("div", { staticClass: "b-listbox-multi-select-chips" }, e._l(e.items, function(n) {
721
726
  return s("div", { key: `selected-${n.value}` }, [s(l.BaseButton, { staticClass: "b-listbox-multi-select-chips__chip", attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(n) : null }, on: { click: function(o) {
@@ -724,24 +729,22 @@ var at = function() {
724
729
  return [s(l.CrossSmallIcon, { attrs: { "svg-title": l.t("remove") } })];
725
730
  }, proxy: !0 }], null, !0) }, [s(l.BentoTypography, { staticClass: "b-listbox-multi-select-chips__option-text", attrs: { el: "span", variant: "caption" } }, [e._v(e._s(n.label))])], 1)], 1);
726
731
  }), 0);
727
- }, it = [], ct = /* @__PURE__ */ N(
728
- ot,
729
- at,
730
- it,
732
+ }, bt = [], mt = /* @__PURE__ */ D(
733
+ ut,
734
+ dt,
735
+ bt,
731
736
  !1,
732
737
  null,
733
- "931e5246",
734
- null,
735
- null
738
+ "931e5246"
736
739
  );
737
- const rt = ct.exports, ut = {
740
+ const vt = mt.exports, ft = {
738
741
  "en-US": {
739
742
  allSelected: "All selected ({total})",
740
743
  numberOfTotalSelected: "{number} of {total} selected",
741
744
  numbersSelected: "{number} selected",
742
745
  selectAll: "Select all ({total})"
743
746
  }
744
- }, dt = (t) => {
747
+ }, _t = (t) => {
745
748
  const e = i(() => {
746
749
  var l;
747
750
  return !!((l = t.value) != null && l.find(({ items: n }) => !!n));
@@ -753,15 +756,15 @@ const rt = ct.exports, ut = {
753
756
  isMultiLevelSelect: e,
754
757
  flattenedItemsList: s
755
758
  };
756
- }, _t = D({
757
- i18n: { messages: ut },
759
+ }, gt = $({
760
+ i18n: { messages: ft },
758
761
  name: "bento-listbox-multi-select",
759
762
  components: {
760
- BentoCheckbox: J,
763
+ BentoCheckbox: Z,
761
764
  BentoListboxOption: q,
762
- BentoTypography: w,
763
- ListboxMultiSelectOptions: st,
764
- ListboxMultiSelectChips: rt
765
+ BentoTypography: M,
766
+ ListboxMultiSelectOptions: it,
767
+ ListboxMultiSelectChips: vt
765
768
  },
766
769
  directives: { BentoKeyboardNavigationDirective: X },
767
770
  props: {
@@ -800,8 +803,8 @@ const rt = ct.exports, ut = {
800
803
  */
801
804
  lazyLoadType: {
802
805
  type: String,
803
- default: M.NONE,
804
- validator: (t) => Object.values(M).includes(t)
806
+ default: w.NONE,
807
+ validator: (t) => Object.values(w).includes(t)
805
808
  },
806
809
  /**
807
810
  * Flag that indicates that an external search it's being made
@@ -825,119 +828,119 @@ const rt = ct.exports, ut = {
825
828
  },
826
829
  emits: [a.SELECT],
827
830
  setup(t, { emit: e, slots: s }) {
828
- const { t: l } = Y(), n = A(null), o = A(null), _ = A(null), d = i(
831
+ const { t: l } = Y(), n = A(null), o = A(null), b = A(null), d = i(
829
832
  () => t.selectedValues.map(({ value: c }) => c)
830
- ), { isMultiLevelSelect: r, flattenedItemsList: u } = dt(V(t, "items")), p = (c) => {
831
- var C;
832
- const b = t.isOptionDisabled(c), f = ((C = d.value) == null ? void 0 : C.includes(c.value)) || !1;
833
- return { isDisabled: b, isPreSelected: f };
834
- }, h = i(() => {
833
+ ), { isMultiLevelSelect: r, flattenedItemsList: u } = _t(V(t, "items")), S = (c) => {
834
+ var h;
835
+ const m = t.isOptionDisabled(c), _ = ((h = d.value) == null ? void 0 : h.includes(c.value)) || !1;
836
+ return { isDisabled: m, isPreSelected: _ };
837
+ }, x = i(() => {
835
838
  if (t.searching && r)
836
839
  return t.items;
837
- const c = u.value.filter((b) => {
838
- const { isDisabled: f, isPreSelected: C } = p(b);
839
- return f && C || !f;
840
+ const c = u.value.filter((m) => {
841
+ const { isDisabled: _, isPreSelected: h } = S(m);
842
+ return _ && h || !_;
840
843
  });
841
- return t.selectedValues.forEach((b) => {
842
- c.find((f) => f.value === b.value) || c.push(b);
844
+ return t.selectedValues.forEach((m) => {
845
+ c.find((_) => _.value === m.value) || c.push(m);
843
846
  }), c;
844
847
  }), E = i(
845
848
  () => {
846
849
  var c;
847
- return (c = h.value) == null ? void 0 : c.filter((b) => {
848
- var f;
849
- return b.items && r.value && t.searching ? b.items.filter(
850
+ return (c = x.value) == null ? void 0 : c.filter((m) => {
851
+ var _;
852
+ return m.items && r.value && t.searching ? m.items.filter(
850
853
  (g) => (t.selectedValues ?? []).includes(g.value)
851
- ).length === b.items.length : (f = d.value) == null ? void 0 : f.includes(b.value);
854
+ ).length === m.items.length : (_ = d.value) == null ? void 0 : _.includes(m.value);
852
855
  });
853
856
  }
854
- ), v = () => r.value && !t.searching ? u.value.length : t.items.length, y = i(() => {
855
- var C;
856
- const c = h.value.length, b = v(), f = ((C = E.value) == null ? void 0 : C.length) || 0;
857
- return f === 0 ? l("selectAll", { total: c }) : f === b ? l("allSelected", { total: b }) : f <= b ? l("numberOfTotalSelected", { number: f, total: b }) : l("numbersSelected", { number: f });
858
- }), T = (c) => {
859
- const b = (C) => {
860
- const { isDisabled: g, isPreSelected: P } = p(C);
861
- return g && P || !g;
862
- }, f = c.filter(b).filter((C) => !d.value.includes(C.value));
863
- e(a.SELECT, [...t.selectedValues, ...f]);
857
+ ), f = () => r.value && !t.searching ? u.value.length : t.items.length, y = i(() => {
858
+ var h;
859
+ const c = x.value.length, m = f(), _ = ((h = E.value) == null ? void 0 : h.length) || 0;
860
+ return _ === 0 ? l("selectAll", { total: c }) : _ === m ? l("allSelected", { total: m }) : _ <= m ? l("numberOfTotalSelected", { number: _, total: m }) : l("numbersSelected", { number: _ });
861
+ }), L = (c) => {
862
+ const m = (h) => {
863
+ const { isDisabled: g, isPreSelected: N } = S(h);
864
+ return g && N || !g;
865
+ }, _ = c.filter(m).filter((h) => !d.value.includes(h.value));
866
+ e(a.SELECT, [...t.selectedValues, ..._]);
864
867
  }, B = (c) => {
865
- const b = (g) => {
866
- const { isDisabled: P, isPreSelected: me } = p(g);
867
- return !(P && me);
868
- }, f = c.filter(b).map(({ value: g }) => g), C = t.selectedValues.filter((g) => !(f != null && f.includes(g.value)));
869
- e(a.SELECT, C);
870
- }, S = () => {
871
- T(u.value);
868
+ const m = (g) => {
869
+ const { isDisabled: N, isPreSelected: fe } = S(g);
870
+ return !(N && fe);
871
+ }, _ = c.filter(m).map(({ value: g }) => g), h = t.selectedValues.filter((g) => !(_ != null && _.includes(g.value)));
872
+ e(a.SELECT, h);
873
+ }, p = () => {
874
+ L(u.value);
872
875
  }, O = () => {
873
876
  B(u.value);
874
- }, { isAllSelected: L, isIndeterminate: m, toggleSelectAll: x } = se(
877
+ }, { isAllSelected: T, isIndeterminate: v, toggleSelectAll: C } = le(
875
878
  E,
876
- h,
877
- S,
879
+ x,
880
+ p,
878
881
  O
879
882
  ), R = (c) => {
880
- T(c.items);
883
+ L(c.items);
881
884
  }, F = (c) => {
882
885
  B(c.items);
883
- }, W = (c, b) => {
884
- let f = !1;
885
- const C = t.selectedValues.filter(({ value: g }) => b.value === g ? (f = !0, !1) : !0);
886
- f || C.push(b), e(c, C);
886
+ }, W = (c, m) => {
887
+ let _ = !1;
888
+ const h = t.selectedValues.filter(({ value: g }) => m.value === g ? (_ = !0, !1) : !0);
889
+ _ || h.push(m), e(c, h);
887
890
  }, z = i(() => {
888
891
  if (!r.value)
889
892
  return t.selectedValues;
890
- const c = (g) => d.value.includes(g.value), b = (g) => !t.staticCategories && g.every((P) => c(P));
893
+ const c = (g) => d.value.includes(g.value), m = (g) => !t.staticCategories && g.every((N) => c(N));
891
894
  return t.items.flatMap(
892
- (g) => g.items && !b(g.items) ? g.items : g
895
+ (g) => g.items && !m(g.items) ? g.items : g
893
896
  ).filter((g) => g.items ? !0 : c(g));
894
897
  }), K = i(() => {
895
- var f, C, g, P;
896
- const c = ["automatic", "button"].includes(t.lazyLoadType), b = ((f = t.selectedValues) == null ? void 0 : f.length) > 0 && ((C = E.value) == null ? void 0 : C.length) !== ((g = u.value) == null ? void 0 : g.length);
897
- return c && t.hasMoreItems ? !!((P = t.selectedValues) != null && P.length) : b;
898
+ var _, h, g, N;
899
+ const c = ["automatic", "button"].includes(t.lazyLoadType), m = ((_ = t.selectedValues) == null ? void 0 : _.length) > 0 && ((h = E.value) == null ? void 0 : h.length) !== ((g = u.value) == null ? void 0 : g.length);
900
+ return c && t.hasMoreItems ? !!((N = t.selectedValues) != null && N.length) : m;
898
901
  }), I = i(() => ["automatic", "button"].includes(t.lazyLoadType) ? !t.hasMoreItems : !0), G = i(
899
902
  () => n.value ? [n.value] : []
900
- ), ne = i(
903
+ ), oe = i(
901
904
  () => {
902
- var c, b;
903
- return (b = (c = o.value) == null ? void 0 : c.$children) != null && b.length ? o.value.$children : [];
905
+ var c, m;
906
+ return (m = (c = o.value) == null ? void 0 : c.$children) != null && m.length ? o.value.$children : [];
904
907
  }
905
- ), oe = i(
908
+ ), ae = i(
906
909
  () => {
907
- var c, b;
908
- return (b = (c = _.value) == null ? void 0 : c.$children) != null && b.length ? _.value.$children : [];
910
+ var c, m;
911
+ return (m = (c = b.value) == null ? void 0 : c.$children) != null && m.length ? b.value.$children : [];
909
912
  }
910
- ), ae = i(() => ({ label: y, value: L })), ie = i(() => [
911
- ae,
913
+ ), ie = i(() => ({ label: y, value: T })), ce = i(() => [
914
+ ie,
912
915
  ...z.value,
913
916
  ...u.value
914
- ]), ce = (c) => {
917
+ ]), re = (c) => {
915
918
  [
916
919
  ...G.value,
917
- ...ne.value,
918
- ...oe.value
920
+ ...oe.value,
921
+ ...ae.value
919
922
  ][c].$el.focus();
920
- }, { moveToNextElement: re, moveToPreviousElement: ue, moveToFirstElement: de, moveToLastElement: _e } = le(
923
+ }, { moveToNextElement: ue, moveToPreviousElement: de, moveToFirstElement: be, moveToLastElement: me } = ne(
921
924
  {
922
- items: A(ie),
925
+ items: A(ce),
923
926
  isOptionDisabled: t.isOptionDisabled
924
927
  },
925
- ce
926
- ), be = {
927
- [k.ARROW_UP]: (c) => ue(c),
928
- [k.ARROW_DOWN]: (c) => re(c),
929
- [k.HOME]: de,
930
- [k.END]: _e
928
+ re
929
+ ), ve = {
930
+ [k.ARROW_UP]: (c) => de(c),
931
+ [k.ARROW_DOWN]: (c) => ue(c),
932
+ [k.HOME]: be,
933
+ [k.END]: me
931
934
  };
932
935
  return {
933
936
  // Refs
934
937
  selectAllListboxItemsRef: n,
935
938
  selectedListboxItemsRef: o,
936
- listboxItemsRef: _,
939
+ listboxItemsRef: b,
937
940
  // Values
938
- isAllSelected: L,
941
+ isAllSelected: T,
939
942
  showSelectedItems: K,
940
- isIndeterminate: m,
943
+ isIndeterminate: v,
941
944
  isMultiLevelSelect: r,
942
945
  flattenedItemsList: u,
943
946
  selectedItemsList: d,
@@ -950,14 +953,14 @@ const rt = ct.exports, ut = {
950
953
  // Methods
951
954
  selectAllCategory: R,
952
955
  toggleCheckboxSelection: W,
953
- toggleSelectAll: x,
956
+ toggleSelectAll: C,
954
957
  unselectAllCategory: F,
955
958
  // Events
956
- listboxListeners: be
959
+ listboxListeners: ve
957
960
  };
958
961
  }
959
962
  });
960
- var bt = function() {
963
+ var yt = function() {
961
964
  var e = this, s = e._self._c;
962
965
  return e._self._setupProxy, s("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select" }, e.listboxListeners), [e.showSelectAllCheckbox ? s("bento-listbox-option", { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option" }, [s("bento-checkbox", { attrs: { "aria-label": e.selectAllCheckboxText, "model-value": e.isAllSelected, indeterminate: e.isIndeterminate }, on: { "update:model-value": e.toggleSelectAll } }), s("bento-typography", { attrs: { el: "span", "aria-hidden": "true" } }, [e._v(" " + e._s(e.selectAllCheckboxText) + " ")])], 1) : e._e(), e.showSelectAllCheckbox ? s("hr", { staticClass: "b-listbox-multi-select__divider" }) : e._e(), e.showSelectedItems ? s("div", [s("listbox-multi-select-chips", { ref: "selectedListboxItemsRef", attrs: { items: e.selectedOptions, "is-option-disabled": e.isOptionDisabled }, on: { "unselect-category": e.unselectAllCategory, "unselect-item": function(l) {
963
966
  return e.toggleCheckboxSelection(e.BentoListboxEvent.SELECT, l);
@@ -974,33 +977,31 @@ var bt = function() {
974
977
  return [e._t(n, null, null, o)];
975
978
  } };
976
979
  })], null, !0) })], 1);
977
- }, mt = [], vt = /* @__PURE__ */ N(
978
- _t,
979
- bt,
980
- mt,
980
+ }, St = [], pt = /* @__PURE__ */ D(
981
+ gt,
982
+ yt,
983
+ St,
981
984
  !1,
982
985
  null,
983
- "8e21add2",
984
- null,
985
- null
986
+ "8e21add2"
986
987
  );
987
- const Z = vt.exports, ft = {
988
+ const ee = pt.exports, Ct = {
988
989
  "en-US": {
989
990
  showMore: "Show more",
990
991
  loading: "Loading"
991
992
  }
992
- }, gt = 36, yt = D({
993
+ }, ht = 36, xt = $({
993
994
  name: "bento-listbox",
994
995
  components: {
995
- BentoEmptyState: ge,
996
- BentoListboxSingleSelect: qe,
997
- BentoListboxMultiSelect: Z,
998
- BentoTypography: w,
999
- BentoLoadingIndicator: fe,
996
+ BentoEmptyState: ye,
997
+ BentoListboxSingleSelect: Xe,
998
+ BentoListboxMultiSelect: ee,
999
+ BentoTypography: M,
1000
+ BentoLoadingIndicator: ge,
1000
1001
  BentoLoadingButton: Ee
1001
1002
  },
1002
1003
  directives: { BentoKeyboardNavigationDirective: X },
1003
- i18n: { messages: ft },
1004
+ i18n: { messages: Ct },
1004
1005
  props: {
1005
1006
  /**
1006
1007
  * Defines a string value that labels an interactive element.
@@ -1056,8 +1057,8 @@ const Z = vt.exports, ft = {
1056
1057
  */
1057
1058
  lazyLoadType: {
1058
1059
  type: String,
1059
- default: M.NONE,
1060
- validator: (t) => Object.values(M).includes(t)
1060
+ default: w.NONE,
1061
+ validator: (t) => Object.values(w).includes(t)
1061
1062
  },
1062
1063
  /**
1063
1064
  * If enabled, the user will be able to select multiple items.
@@ -1077,7 +1078,7 @@ const Z = vt.exports, ft = {
1077
1078
  *
1078
1079
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1079
1080
  */
1080
- searching: Z.props.searching,
1081
+ searching: ee.props.searching,
1081
1082
  /**
1082
1083
  * The `input` value.
1083
1084
  * Providing an empty string or empty array will select no options.
@@ -1105,52 +1106,52 @@ const Z = vt.exports, ft = {
1105
1106
  a.TAB
1106
1107
  ],
1107
1108
  setup(t, { emit: e, slots: s }) {
1108
- const l = A([]), n = V(t, "items"), { t: o } = Y(), _ = i(() => t.lazyLoadType !== M.AUTOMATIC), d = i(() => t.lazyLoadType === M.AUTOMATIC), r = () => {
1109
+ const l = A([]), n = V(t, "items"), { t: o } = Y(), b = i(() => t.lazyLoadType !== w.AUTOMATIC), d = i(() => t.lazyLoadType === w.AUTOMATIC), r = () => {
1109
1110
  var I;
1110
- return typeof (t == null ? void 0 : t.virtualScroll) == "object" && ((I = t == null ? void 0 : t.virtualScroll) != null && I.itemHeight) ? t.virtualScroll.itemHeight : gt;
1111
+ return typeof (t == null ? void 0 : t.virtualScroll) == "object" && ((I = t == null ? void 0 : t.virtualScroll) != null && I.itemHeight) ? t.virtualScroll.itemHeight : ht;
1111
1112
  }, {
1112
1113
  containerRef: u,
1113
- containerProps: p,
1114
- onScroll: h,
1114
+ containerProps: S,
1115
+ onScroll: x,
1115
1116
  list: E,
1116
- wrapperProps: v
1117
- } = Le(n, {
1117
+ wrapperProps: f
1118
+ } = Te(n, {
1118
1119
  itemHeight: r(),
1119
1120
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1120
1121
  disabled: (t == null ? void 0 : t.multiple) || (t == null ? void 0 : t.virtualScroll) === !1 || (t == null ? void 0 : t.lazyLoadType) !== "none"
1121
1122
  }), y = i(
1122
- () => _.value ? "true" : void 0
1123
- ), T = i(
1124
- () => _.value && t.loading ? "true" : "false"
1123
+ () => b.value ? "true" : void 0
1124
+ ), L = i(
1125
+ () => b.value && t.loading ? "true" : "false"
1125
1126
  ), B = i(
1126
- () => _.value ? "polite" : void 0
1127
- ), S = (I) => (G) => {
1127
+ () => b.value ? "polite" : void 0
1128
+ ), p = (I) => (G) => {
1128
1129
  e(I, G);
1129
1130
  }, O = () => {
1130
1131
  e(a.SHOW_MORE);
1131
- }, L = ye(() => {
1132
+ }, T = Se(() => {
1132
1133
  const I = u.value;
1133
1134
  if (!I)
1134
1135
  return;
1135
1136
  const G = Math.round(I.scrollTop) + I.clientHeight >= I.scrollHeight;
1136
1137
  t.hasMoreItems && G && !t.loading && O();
1137
- }), m = () => {
1138
- d.value ? L() : h();
1139
- }, x = i(() => {
1138
+ }), v = () => {
1139
+ d.value ? T() : x();
1140
+ }, C = i(() => {
1140
1141
  var I;
1141
1142
  return t.searching && ((I = t.items) == null ? void 0 : I.length) === 0;
1142
1143
  }), R = i(
1143
- () => t.lazyLoadType === M.BUTTON && t.hasMoreItems
1144
+ () => t.lazyLoadType === w.BUTTON && t.hasMoreItems
1144
1145
  ), F = i(
1145
- () => t.loading ? Q.LOADING : Q.START
1146
+ () => t.loading ? J.LOADING : J.START
1146
1147
  ), W = i(() => t.loading ? o("loading") : o("showMore")), z = i(() => ({
1147
1148
  ...t.emptyState,
1148
1149
  variant: "condensed"
1149
1150
  })), K = {
1150
- [a.SELECT]: S(a.SELECT),
1151
- [a.SPACE]: S(a.SPACE),
1152
- [a.TAB]: S(a.TAB),
1153
- [a.ENTER]: S(a.ENTER)
1151
+ [a.SELECT]: p(a.SELECT),
1152
+ [a.SPACE]: p(a.SPACE),
1153
+ [a.TAB]: p(a.TAB),
1154
+ [a.ENTER]: p(a.ENTER)
1154
1155
  };
1155
1156
  return {
1156
1157
  // Refs
@@ -1158,30 +1159,30 @@ const Z = vt.exports, ft = {
1158
1159
  listboxItemRef: l,
1159
1160
  // a11y
1160
1161
  ariaAtomic: y,
1161
- ariaBusy: T,
1162
+ ariaBusy: L,
1162
1163
  ariaLive: B,
1163
1164
  // Values
1164
- containerProps: p,
1165
- isSearchResultEmpty: x,
1165
+ containerProps: S,
1166
+ isSearchResultEmpty: C,
1166
1167
  limitedEmptyStateProps: z,
1167
1168
  loadingButtonState: F,
1168
1169
  slots: s,
1169
1170
  shouldDisplayShowMoreButton: R,
1170
1171
  showMoreButtonText: W,
1171
1172
  virtualisedItems: E,
1172
- wrapperProps: v,
1173
+ wrapperProps: f,
1173
1174
  // Enums
1174
1175
  BentoKeyboardNavigationKeyDownEvent: k,
1175
1176
  BentoListboxEvent: a,
1176
1177
  // Methods
1177
- onListboxContainerScroll: m,
1178
- onOptionSelected: S,
1178
+ onListboxContainerScroll: v,
1179
+ onOptionSelected: p,
1179
1180
  emitShowMore: O,
1180
1181
  listboxListeners: K
1181
1182
  };
1182
1183
  }
1183
1184
  });
1184
- var pt = function() {
1185
+ var Et = function() {
1185
1186
  var e = this, s = e._self._c;
1186
1187
  return e._self._setupProxy, s("div", e._b({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox", attrs: { id: e.id, role: "listbox", tabindex: "-1", "aria-busy": e.ariaBusy, "aria-atomic": e.ariaAtomic, "aria-label": e.ariaLabel, "aria-live": e.ariaLive }, on: { scroll: e.onListboxContainerScroll } }, "div", e.containerProps, !1), [s("div", e._b({}, "div", e.wrapperProps, !1), [e.isSearchResultEmpty ? s("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? s("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : s("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [s("bento-listbox-multi-select", e._g({ 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(l, n) {
1187
1188
  return { key: n, fn: function(o) {
@@ -1194,17 +1195,15 @@ var pt = function() {
1194
1195
  })], null, !0) }, e.listboxListeners))], e.shouldDisplayShowMoreButton ? s("div", { staticClass: "b-listbox__lazy-load" }, [s("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(l) {
1195
1196
  return e.emitShowMore.apply(null, arguments);
1196
1197
  } } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? s("div", { staticClass: "b-listbox__lazy-load" }, [s("bento-loading-indicator")], 1) : e._e()]], 2)]);
1197
- }, St = [], xt = /* @__PURE__ */ N(
1198
- yt,
1199
- pt,
1200
- St,
1198
+ }, Lt = [], Tt = /* @__PURE__ */ D(
1199
+ xt,
1200
+ Et,
1201
+ Lt,
1201
1202
  !1,
1202
1203
  null,
1203
- "28929030",
1204
- null,
1205
- null
1204
+ "28929030"
1206
1205
  );
1207
- const wt = xt.exports, H = (t, e) => {
1206
+ const zt = Tt.exports, H = (t, e) => {
1208
1207
  for (const s of t) {
1209
1208
  if (s.value === e)
1210
1209
  return s.label;
@@ -1212,15 +1211,15 @@ const wt = xt.exports, H = (t, e) => {
1212
1211
  return H(s.items, e);
1213
1212
  }
1214
1213
  return null;
1215
- }, Ft = (t, e, s) => {
1214
+ }, Vt = (t, e, s) => {
1216
1215
  const l = A([]), n = A(), o = (r) => {
1217
1216
  n.value = s.value ? r.map(({ value: u }) => u) : r[0].value;
1218
- }, _ = (r) => {
1217
+ }, b = (r) => {
1219
1218
  l.value = r, o(r);
1220
1219
  }, d = () => {
1221
1220
  l.value = [], n.value = null;
1222
1221
  };
1223
- return te(
1222
+ return se(
1224
1223
  () => e.value,
1225
1224
  () => {
1226
1225
  if (!e.value) {
@@ -1229,16 +1228,16 @@ const wt = xt.exports, H = (t, e) => {
1229
1228
  }
1230
1229
  const r = !Array.isArray(e.value), u = [...l.value];
1231
1230
  d();
1232
- const p = (h) => {
1233
- let E = H(t.value, h);
1234
- E || (E = H(u, h)), E || (E = h.toString()), l.value.push({ value: h, label: E });
1231
+ const S = (x) => {
1232
+ let E = H(t.value, x);
1233
+ E || (E = H(u, x)), E || (E = x.toString()), l.value.push({ value: x, label: E });
1235
1234
  };
1236
1235
  if (r) {
1237
- const h = e.value;
1238
- p(h), o(l.value);
1236
+ const x = e.value;
1237
+ S(x), o(l.value);
1239
1238
  return;
1240
1239
  }
1241
- e.value.forEach(p), o(l.value);
1240
+ e.value.forEach(S), o(l.value);
1242
1241
  },
1243
1242
  { immediate: !0 }
1244
1243
  ), {
@@ -1247,14 +1246,14 @@ const wt = xt.exports, H = (t, e) => {
1247
1246
  cachedListboxSelectedValues: n,
1248
1247
  // Methods
1249
1248
  resetCache: d,
1250
- setCachedValues: _
1249
+ setCachedValues: b
1251
1250
  };
1252
1251
  };
1253
1252
  export {
1254
- wt as B,
1255
- Ft as a,
1256
- M as b,
1257
- a as c,
1258
- dt as u
1253
+ w as B,
1254
+ a,
1255
+ zt as b,
1256
+ Vt as c,
1257
+ _t as u
1259
1258
  };
1260
- //# sourceMappingURL=use-cached-selected-values.69297473.js.map
1259
+ //# sourceMappingURL=use-cached-selected-values.CVLzxvTi.js.map