@adyen/bento-vue3 1.6.1 → 1.7.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 (286) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +45 -0
  4. package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
  6. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +229 -220
  8. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
  9. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
  10. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  11. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
  12. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
  14. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +44 -46
  15. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  16. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -2
  17. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +6 -0
  18. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +8 -2
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
  20. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
  21. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +46 -28
  22. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
  23. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
  24. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
  25. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
  26. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +802 -52
  27. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
  28. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
  30. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
  31. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
  32. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
  33. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
  34. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +2 -2
  35. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
  36. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -0
  37. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
  38. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
  40. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +64 -7
  41. package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
  42. package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
  43. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
  44. package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
  45. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
  46. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
  47. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +10 -1
  48. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
  49. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
  50. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
  51. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
  52. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
  53. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
  54. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
  55. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -1
  56. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
  57. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
  58. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
  59. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
  60. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
  61. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
  62. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
  63. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
  64. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
  65. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +7 -4
  66. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
  67. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +15 -15
  68. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
  69. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
  70. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
  71. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +173 -0
  72. package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
  73. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
  74. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
  75. package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
  76. package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
  77. package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
  78. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
  79. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
  80. package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
  81. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
  82. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
  83. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  84. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +4 -4
  85. package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
  86. package/dist/accordion.js +52 -43
  87. package/dist/accordion.js.map +1 -1
  88. package/dist/action-bar.js +210 -0
  89. package/dist/action-bar.js.map +1 -0
  90. package/dist/alert.js +3 -3
  91. package/dist/assets/base-modal.css +1 -1
  92. package/dist/assets/button-actions-with-menu.css +1 -0
  93. package/dist/assets/button.css +1 -1
  94. package/dist/assets/calendar.css +1 -1
  95. package/dist/assets/checkbox.css +1 -1
  96. package/dist/assets/checkmark.css +1 -0
  97. package/dist/assets/chevron-left.css +1 -0
  98. package/dist/assets/dropdown-default-textbox.css +1 -1
  99. package/dist/assets/dropdown.css +1 -1
  100. package/dist/assets/fixed-scroller.css +1 -0
  101. package/dist/assets/index.css +1 -1
  102. package/dist/assets/index10.css +1 -1
  103. package/dist/assets/index11.css +1 -1
  104. package/dist/assets/index12.css +1 -1
  105. package/dist/assets/index13.css +1 -1
  106. package/dist/assets/index14.css +1 -1
  107. package/dist/assets/index15.css +1 -1
  108. package/dist/assets/index16.css +1 -1
  109. package/dist/assets/index17.css +1 -1
  110. package/dist/assets/index18.css +1 -1
  111. package/dist/assets/index19.css +1 -1
  112. package/dist/assets/index2.css +1 -1
  113. package/dist/assets/index20.css +1 -1
  114. package/dist/assets/index21.css +1 -1
  115. package/dist/assets/index22.css +1 -1
  116. package/dist/assets/index23.css +1 -1
  117. package/dist/assets/index24.css +1 -1
  118. package/dist/assets/index25.css +1 -1
  119. package/dist/assets/index26.css +1 -1
  120. package/dist/assets/index27.css +1 -1
  121. package/dist/assets/index28.css +1 -1
  122. package/dist/assets/index29.css +1 -1
  123. package/dist/assets/index3.css +1 -1
  124. package/dist/assets/index30.css +1 -1
  125. package/dist/assets/index31.css +1 -1
  126. package/dist/assets/index32.css +1 -1
  127. package/dist/assets/index33.css +1 -1
  128. package/dist/assets/index34.css +1 -1
  129. package/dist/assets/index35.css +1 -1
  130. package/dist/assets/index36.css +1 -1
  131. package/dist/assets/index37.css +1 -1
  132. package/dist/assets/index38.css +1 -1
  133. package/dist/assets/index39.css +1 -1
  134. package/dist/assets/index40.css +1 -1
  135. package/dist/assets/index41.css +1 -1
  136. package/dist/assets/index42.css +1 -1
  137. package/dist/assets/index43.css +1 -1
  138. package/dist/assets/index44.css +1 -1
  139. package/dist/assets/index45.css +1 -1
  140. package/dist/assets/index46.css +1 -0
  141. package/dist/assets/index5.css +1 -1
  142. package/dist/assets/index6.css +1 -1
  143. package/dist/assets/index7.css +1 -1
  144. package/dist/assets/index8.css +1 -1
  145. package/dist/assets/index9.css +1 -1
  146. package/dist/assets/listbox.css +1 -1
  147. package/dist/assets/refresh.css +1 -0
  148. package/dist/avatar-image.js +1 -1
  149. package/dist/badge.js +1 -1
  150. package/dist/button.js +30 -22
  151. package/dist/button.js.map +1 -1
  152. package/dist/card.js +84 -84
  153. package/dist/card.js.map +1 -1
  154. package/dist/checkbox.js +6 -6
  155. package/dist/chunks/{base-button.4b5ab17e.js → base-button.7897a95e.js} +2 -2
  156. package/dist/chunks/{base-button.4b5ab17e.js.map → base-button.7897a95e.js.map} +1 -1
  157. package/dist/chunks/{base-modal.53a229ac.js → base-modal.0c85e7cb.js} +4 -4
  158. package/dist/chunks/{base-modal.53a229ac.js.map → base-modal.0c85e7cb.js.map} +1 -1
  159. package/dist/chunks/button-actions-with-menu.fa35390c.js +107 -0
  160. package/dist/chunks/button-actions-with-menu.fa35390c.js.map +1 -0
  161. package/dist/chunks/{button.975d0bb8.js → button.e5177388.js} +44 -36
  162. package/dist/chunks/button.e5177388.js.map +1 -0
  163. package/dist/chunks/{calendar.cc37ac1f.js → calendar.c83d4e99.js} +274 -250
  164. package/dist/chunks/calendar.c83d4e99.js.map +1 -0
  165. package/dist/chunks/{checkbox.67ceb148.js → checkbox.3cdbdd52.js} +7 -7
  166. package/dist/chunks/{checkbox.67ceb148.js.map → checkbox.3cdbdd52.js.map} +1 -1
  167. package/dist/chunks/checkmark.83e4f1e0.js +30 -0
  168. package/dist/chunks/checkmark.83e4f1e0.js.map +1 -0
  169. package/dist/chunks/{chevron-right.aef416c6.js → chevron-left.2fd6b083.js} +10 -10
  170. package/dist/chunks/chevron-left.2fd6b083.js.map +1 -0
  171. package/dist/chunks/{controls-group.7214dc7f.js → controls-group.38b436f6.js} +2 -2
  172. package/dist/chunks/{controls-group.7214dc7f.js.map → controls-group.38b436f6.js.map} +1 -1
  173. package/dist/chunks/{copy.7a73d1fd.js → copy.86236c8d.js} +4 -4
  174. package/dist/chunks/{copy.7a73d1fd.js.map → copy.86236c8d.js.map} +1 -1
  175. package/dist/chunks/{dropdown-default-textbox.0f878a8d.js → dropdown-default-textbox.0b38fac3.js} +4 -4
  176. package/dist/chunks/dropdown-default-textbox.0b38fac3.js.map +1 -0
  177. package/dist/chunks/{dropdown.7a104ce3.js → dropdown.afff433b.js} +144 -110
  178. package/dist/chunks/dropdown.afff433b.js.map +1 -0
  179. package/dist/chunks/{error-message.b91afffc.js → error-message.64e1964b.js} +2 -2
  180. package/dist/chunks/{error-message.b91afffc.js.map → error-message.64e1964b.js.map} +1 -1
  181. package/dist/chunks/fixed-scroller.e5aa7b00.js +148 -0
  182. package/dist/chunks/fixed-scroller.e5aa7b00.js.map +1 -0
  183. package/dist/chunks/{footer-actions.13f19a22.js → footer-actions.1ce44374.js} +3 -3
  184. package/dist/chunks/{footer-actions.13f19a22.js.map → footer-actions.1ce44374.js.map} +1 -1
  185. package/dist/chunks/{index.7f24db66.js → index.2bd3812b.js} +2 -2
  186. package/dist/chunks/{index.7f24db66.js.map → index.2bd3812b.js.map} +1 -1
  187. package/dist/chunks/{index.1dc4ebae.js → index.369b0e66.js} +112 -92
  188. package/dist/chunks/index.369b0e66.js.map +1 -0
  189. package/dist/chunks/{index.536bcb56.js → index.6a665ade.js} +3 -3
  190. package/dist/chunks/{index.536bcb56.js.map → index.6a665ade.js.map} +1 -1
  191. package/dist/chunks/{index.4c951e0d.js → index.77f35162.js} +6 -6
  192. package/dist/chunks/{index.4c951e0d.js.map → index.77f35162.js.map} +1 -1
  193. package/dist/chunks/index.bcc58fdd.js +1334 -0
  194. package/dist/chunks/index.bcc58fdd.js.map +1 -0
  195. package/dist/chunks/index.c207e9ab.js +602 -0
  196. package/dist/chunks/index.c207e9ab.js.map +1 -0
  197. package/dist/chunks/{index.6700224a.js → index.e579bc02.js} +2 -2
  198. package/dist/chunks/{index.6700224a.js.map → index.e579bc02.js.map} +1 -1
  199. package/dist/chunks/{index.d68847b0.js → index.fa7b44f1.js} +2 -2
  200. package/dist/chunks/{index.d68847b0.js.map → index.fa7b44f1.js.map} +1 -1
  201. package/dist/chunks/{listbox-option-tag.0f31ecb2.js → listbox-option-tag.809ec40e.js} +3 -3
  202. package/dist/chunks/{listbox-option-tag.0f31ecb2.js.map → listbox-option-tag.809ec40e.js.map} +1 -1
  203. package/dist/chunks/listbox.f6e5a11d.js +1306 -0
  204. package/dist/chunks/listbox.f6e5a11d.js.map +1 -0
  205. package/dist/chunks/{loading-button.6523a015.js → loading-button.746b7fa1.js} +2 -2
  206. package/dist/chunks/{loading-button.6523a015.js.map → loading-button.746b7fa1.js.map} +1 -1
  207. package/dist/chunks/refresh.c38c9eee.js +30 -0
  208. package/dist/chunks/refresh.c38c9eee.js.map +1 -0
  209. package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
  210. package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
  211. package/dist/chunks/{tooltip.b5391514.js → tooltip.f769eb14.js} +54 -51
  212. package/dist/chunks/{tooltip.b5391514.js.map → tooltip.f769eb14.js.map} +1 -1
  213. package/dist/code-snippet.js +6 -6
  214. package/dist/code-snippet.js.map +1 -1
  215. package/dist/country.js +553 -541
  216. package/dist/country.js.map +1 -1
  217. package/dist/currency.js +1 -1
  218. package/dist/data-grid.js +10 -10
  219. package/dist/data-grid.js.map +1 -1
  220. package/dist/date-picker.js +129 -118
  221. package/dist/date-picker.js.map +1 -1
  222. package/dist/date-range-picker.js +2 -2
  223. package/dist/date.js +1 -1
  224. package/dist/divider.js +1 -1
  225. package/dist/dropdown.js +4 -4
  226. package/dist/empty-state.js +44 -42
  227. package/dist/empty-state.js.map +1 -1
  228. package/dist/filter-bar.js +696 -683
  229. package/dist/filter-bar.js.map +1 -1
  230. package/dist/focus-trap.js +1 -1
  231. package/dist/form-layout.js +3 -3
  232. package/dist/header.js +121 -198
  233. package/dist/header.js.map +1 -1
  234. package/dist/image.js +4 -4
  235. package/dist/index.js +164 -158
  236. package/dist/index.js.map +1 -1
  237. package/dist/info-icon.js +8 -8
  238. package/dist/input-field.js +7 -7
  239. package/dist/internal.js +20 -144
  240. package/dist/internal.js.map +1 -1
  241. package/dist/link.js +2 -2
  242. package/dist/loading-indicator.js +1 -1
  243. package/dist/menu.js +3 -592
  244. package/dist/menu.js.map +1 -1
  245. package/dist/modal.js +3 -3
  246. package/dist/pagination.js +37 -21
  247. package/dist/pagination.js.map +1 -1
  248. package/dist/payment-method.js +50 -40
  249. package/dist/payment-method.js.map +1 -1
  250. package/dist/popover.js +16 -16
  251. package/dist/popper-container.js +6 -1276
  252. package/dist/popper-container.js.map +1 -1
  253. package/dist/radio-group.js +128 -97
  254. package/dist/radio-group.js.map +1 -1
  255. package/dist/search-bar.js +2 -2
  256. package/dist/segmented-control.js +130 -106
  257. package/dist/segmented-control.js.map +1 -1
  258. package/dist/sidepanel.js +94 -91
  259. package/dist/sidepanel.js.map +1 -1
  260. package/dist/status.js +2 -2
  261. package/dist/stepper.js +3 -3
  262. package/dist/structured-list.js +1 -1
  263. package/dist/summary-grid.js +146 -163
  264. package/dist/summary-grid.js.map +1 -1
  265. package/dist/tabs.js +128 -99
  266. package/dist/tabs.js.map +1 -1
  267. package/dist/tag.js +3 -3
  268. package/dist/textarea.js +4 -4
  269. package/dist/timeline.js +216 -203
  270. package/dist/timeline.js.map +1 -1
  271. package/dist/toast.js +3 -3
  272. package/dist/toggle.js +6 -6
  273. package/dist/tutorial.js +375 -0
  274. package/dist/tutorial.js.map +1 -0
  275. package/dist/typography.js +1 -1
  276. package/dist/web-types.json +1 -1
  277. package/package.json +5 -2
  278. package/dist/assets/chevron-right.css +0 -1
  279. package/dist/chunks/button.975d0bb8.js.map +0 -1
  280. package/dist/chunks/calendar.cc37ac1f.js.map +0 -1
  281. package/dist/chunks/chevron-right.aef416c6.js.map +0 -1
  282. package/dist/chunks/dropdown-default-textbox.0f878a8d.js.map +0 -1
  283. package/dist/chunks/dropdown.7a104ce3.js.map +0 -1
  284. package/dist/chunks/index.1dc4ebae.js.map +0 -1
  285. package/dist/chunks/listbox.0f25778d.js +0 -1213
  286. package/dist/chunks/listbox.0f25778d.js.map +0 -1
@@ -1,1213 +0,0 @@
1
- import { computed as u, defineComponent as z, openBlock as g, createElementBlock as O, mergeProps as U, withKeys as ne, renderSlot as M, toDisplayString as $, createCommentVNode as j, pushScopeId as fe, popScopeId as Ee, createElementVNode as B, resolveComponent as S, createBlock as I, toHandlerKey as w, withCtx as C, normalizeProps as F, guardReactiveProps as K, createVNode as L, createTextVNode as D, withDirectives as X, vShow as ae, ref as R, onMounted as Ge, toRef as xe, resolveDirective as de, toHandlers as J, Fragment as te, renderList as W, createSlots as Q, normalizeClass as ie, watch as Ye } from "vue";
2
- import { B as N, a as re } from "./keyboard-navigation.ca47dfa8.js";
3
- import { B as ee } from "./index.7f24db66.js";
4
- import { BentoLoadingIndicator as Fe } from "../loading-indicator.js";
5
- import { u as ce } from "./i18n.6c402773.js";
6
- import { d as Ke } from "./debounce.b5ef6acf.js";
7
- import { _ as H } from "./_plugin-vue_export-helper.dad06003.js";
8
- import { B as ue } from "./checkbox.67ceb148.js";
9
- import { C as He, a as We } from "./chevron-up.9bf21068.js";
10
- import { B as ze, a as be } from "./loading-button.6523a015.js";
11
- import "../assets/listbox.css";
12
- const ye = (e, t, v, p) => {
13
- const n = u(
14
- () => {
15
- var l, i;
16
- return !!((l = e.value) != null && l.length) && ((i = e.value) == null ? void 0 : i.length) === t.value.length;
17
- }
18
- ), b = u(() => {
19
- var l;
20
- return e.value == null || e.value.length === 0 ? !1 : ((l = e.value) == null ? void 0 : l.length) !== t.value.length;
21
- });
22
- return {
23
- isAllSelected: n,
24
- isIndeterminate: b,
25
- toggleSelectAll: (l) => {
26
- l ? v() : p();
27
- }
28
- };
29
- };
30
- var o = /* @__PURE__ */ ((e) => (e.SELECT = "select", e.SHOW_MORE = "show-more", e.ESCAPE = "escape-pressed", e.CLICK = "click", e.ENTER = "enter-pressed", e.SPACE = "space-pressed", e.TAB = "tab-pressed", e.CLOSE_DROPDOWN = "close-dropdown", e))(o || {}), q = /* @__PURE__ */ ((e) => (e.AUTOMATIC = "automatic", e.BUTTON = "button", e.NONE = "none", e))(q || {});
31
- const qe = z({
32
- name: "bento-listbox-option",
33
- props: {
34
- /**
35
- * Setting this property to true will disable the option.
36
- */
37
- disabled: { type: Boolean, default: !1 },
38
- /**
39
- * Indicates if the value is selected. Only one element can be selected at a time.
40
- */
41
- selected: { type: Boolean, default: !1 }
42
- },
43
- emits: [o.CLICK, o.ENTER, o.SPACE, o.TAB],
44
- setup(e, { emit: t }) {
45
- const v = u(() => ({
46
- "b-listbox-option--disabled": e.disabled,
47
- "b-listbox-option--selected": e.selected
48
- }));
49
- return {
50
- // Enums
51
- BentoKeyboardNavigationKeyDownEvent: N,
52
- BentoListboxEvent: o,
53
- // Values
54
- conditionalClasses: v,
55
- // Events
56
- onClick: (b) => {
57
- t(o.CLICK, b);
58
- },
59
- onOptionSelected: (b, d) => {
60
- t(b, d);
61
- }
62
- };
63
- }
64
- });
65
- function je(e, t, v, p, n, b) {
66
- return g(), O("label", U({
67
- class: ["b-listbox-option", e.conditionalClasses],
68
- role: "option"
69
- }, e.$attrs, {
70
- onClick: t[0] || (t[0] = (...d) => e.onClick && e.onClick(...d)),
71
- onKeydown: [
72
- t[1] || (t[1] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.ENTER, d), ["enter"])),
73
- t[2] || (t[2] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.SPACE, d), ["space"])),
74
- t[3] || (t[3] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.TAB, d), ["tab"]))
75
- ]
76
- }), [
77
- M(e.$slots, "default", {}, void 0, !0)
78
- ], 16);
79
- }
80
- const se = /* @__PURE__ */ H(qe, [["render", je], ["__scopeId", "data-v-18a61f5d"]]);
81
- let me = 0;
82
- const Xe = {
83
- beforeCreate() {
84
- this.uuid = me.toString(), me += 1;
85
- }
86
- }, Ze = (e) => (fe("data-v-4687fbd0"), e = e(), Ee(), e), Je = { key: 0 }, Qe = /* @__PURE__ */ Ze(() => /* @__PURE__ */ B("path", {
87
- fill: "#00112C",
88
- "fill-rule": "evenodd",
89
- d: "M14.5303 4.53033C14.8232 4.23744 14.8232 3.76256 14.5303 3.46967C14.2374 3.17678 13.7626 3.17678 13.4697 3.46967L6 10.9393L2.53033 7.46967C2.23744 7.17678 1.76256 7.17678 1.46967 7.46967C1.17678 7.76256 1.17678 8.23744 1.46967 8.53033L5.46967 12.5303C5.50628 12.5669 5.54574 12.599 5.58732 12.6264C5.87844 12.8186 6.27405 12.7866 6.53033 12.5303L14.5303 4.53033Z",
90
- "clip-rule": "evenodd"
91
- }, null, -1));
92
- function et(e, t, v, p, n, b) {
93
- return g(), O("svg", U({ role: "img" }, e.$attrs, {
94
- xmlns: "http://www.w3.org/2000/svg",
95
- width: "16",
96
- height: "16",
97
- fill: "none"
98
- }), [
99
- e.$attrs["svg-title"] ? (g(), O("title", Je, $(e.$attrs["svg-title"]), 1)) : j("", !0),
100
- Qe
101
- ], 16);
102
- }
103
- const tt = /* @__PURE__ */ H(Xe, [["render", et], ["__scopeId", "data-v-4687fbd0"]]), st = z({
104
- name: "bento-listbox-single-select-option",
105
- components: {
106
- BentoListboxOption: se,
107
- BentoTypography: ee,
108
- CheckmarkIcon: tt
109
- },
110
- props: {
111
- /**
112
- * Setting this property to true will disable the option.
113
- */
114
- disabled: { type: Boolean, default: !1 },
115
- /**
116
- * The option item that contains all the option item's data.
117
- * @type {BentoListboxOptionItem}
118
- */
119
- option: {
120
- type: Object,
121
- required: !0
122
- },
123
- /**
124
- * Indicates if the value is selected. Only one element can be selected at a time.
125
- */
126
- selected: { type: Boolean, default: !1 }
127
- },
128
- emits: [o.ENTER, o.SELECT, o.SPACE, o.TAB],
129
- setup(e, { emit: t }) {
130
- const v = (d) => {
131
- e.disabled || t(d, e.option.value);
132
- }, p = u(() => e.disabled ? !0 : null), n = u(() => e.selected ? !0 : null), b = u(() => e.disabled ? -1 : 0);
133
- return {
134
- // Values
135
- ariaDisabled: p,
136
- ariaSelected: n,
137
- tabIndex: b,
138
- // Enums
139
- BentoListboxEvent: o,
140
- // Events
141
- onOptionSelected: v
142
- };
143
- }
144
- });
145
- const lt = { class: "b-listbox-single-select-option__text" }, ot = { class: "b-listbox-single-select-option__check-icon" };
146
- function nt(e, t, v, p, n, b) {
147
- const d = S("bento-typography"), l = S("checkmark-icon"), i = S("bento-listbox-option");
148
- return g(), I(i, U({
149
- class: "b-listbox-single-select-option",
150
- disabled: e.disabled,
151
- selected: e.selected,
152
- "aria-selected": e.ariaSelected,
153
- "aria-disabled": e.ariaDisabled,
154
- tabindex: e.tabIndex,
155
- onClick: t[0] || (t[0] = (r) => e.onOptionSelected(e.BentoListboxEvent.SELECT))
156
- }, {
157
- [w(e.BentoListboxEvent.ENTER)]: t[1] || (t[1] = (r) => e.onOptionSelected(e.BentoListboxEvent.ENTER))
158
- }, {
159
- [w(e.BentoListboxEvent.SPACE)]: t[2] || (t[2] = (r) => e.onOptionSelected(e.BentoListboxEvent.SPACE))
160
- }, {
161
- [w(e.BentoListboxEvent.TAB)]: t[3] || (t[3] = (r) => e.onOptionSelected(e.BentoListboxEvent.TAB))
162
- }), {
163
- default: C(() => [
164
- M(e.$slots, "default", F(K(e.option)), () => [
165
- B("span", lt, [
166
- L(d, { el: "span" }, {
167
- default: C(() => [
168
- D($(e.option.label), 1)
169
- ]),
170
- _: 1
171
- }),
172
- e.option.description ? (g(), I(d, {
173
- key: 0,
174
- class: "b-listbox-single-select-option__description",
175
- el: "span"
176
- }, {
177
- default: C(() => [
178
- D($(e.option.description), 1)
179
- ]),
180
- _: 1
181
- })) : j("", !0)
182
- ])
183
- ], !0),
184
- B("span", ot, [
185
- X(L(l, { "svg-title": "selected" }, null, 512), [
186
- [ae, e.selected]
187
- ])
188
- ])
189
- ]),
190
- _: 3
191
- }, 16, ["disabled", "selected", "aria-selected", "aria-disabled", "tabindex"]);
192
- }
193
- const it = /* @__PURE__ */ H(st, [["render", nt], ["__scopeId", "data-v-d112952c"]]), Se = ({ items: e, isOptionDisabled: t }, v) => {
194
- const p = u(() => e.value.length - 1), n = R(0);
195
- Ge(() => {
196
- t && (n.value = e.value.findIndex((m) => !t(m)));
197
- });
198
- const b = (m) => !t || !!t && t(e.value[m]), d = (m) => !t || !!t && !t(e.value[m]), l = (m) => {
199
- switch (m) {
200
- case "increase":
201
- n.value += 1;
202
- break;
203
- case "decrease":
204
- n.value -= 1;
205
- break;
206
- }
207
- }, i = ({ edgeCaseItem: m, isItemBeforeEdgeCaseItem: A }, V, P) => {
208
- n.value !== m && (A ? d(m) && l(P) : (l(P), b(n.value) && V()), v(n.value));
209
- }, r = () => {
210
- const m = n.value === p.value - 2;
211
- i(
212
- {
213
- isItemBeforeEdgeCaseItem: m,
214
- edgeCaseItem: p.value
215
- },
216
- r,
217
- "increase"
218
- /* INCREASE */
219
- );
220
- }, y = () => {
221
- const m = n.value === 1;
222
- i(
223
- {
224
- edgeCaseItem: 0,
225
- isItemBeforeEdgeCaseItem: m
226
- },
227
- y,
228
- "decrease"
229
- /* DECREASE */
230
- );
231
- };
232
- return {
233
- moveToFirstElement: () => {
234
- n.value = 0, b(n.value) ? r() : v(n.value);
235
- },
236
- moveToLastElement: () => {
237
- n.value = p.value, b(n.value) ? y() : v(n.value);
238
- },
239
- moveToNextElement: r,
240
- moveToPreviousElement: y
241
- };
242
- }, at = z({
243
- name: "bento-listbox-single-select",
244
- components: {
245
- BentoListboxSingleSelectOption: it
246
- },
247
- directives: { BentoKeyboardNavigationDirective: re },
248
- inheritAttrs: !1,
249
- props: {
250
- /**
251
- * Function that allows the options to be disabled
252
- *
253
- * @type {BentoListboxIsOptionDisabled}
254
- * @param {BentoListboxOptionItem} option - listbox option object
255
- * @param {string} option.label - Option's label text
256
- * @param {string|number} option.value - Option's value
257
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
258
- */
259
- isOptionDisabled: {
260
- type: Function,
261
- default: () => !1
262
- },
263
- /**
264
- * The option elements to populate the listbox with.
265
- * It must be an array of {@see BentoListboxOptionItem }.
266
- *
267
- * @property {string} value.label - Text to be displayed in the option
268
- * @property {string,number} value.value - Value of the option
269
- */
270
- items: {
271
- type: Array,
272
- required: !0
273
- },
274
- /**
275
- * The `input` value.
276
- * Providing an empty string will select no options.
277
- * Set to an empty string `''` if you don't want any of the available options to be selected
278
- */
279
- selectedValue: {
280
- type: [String, Number],
281
- default: void 0
282
- }
283
- },
284
- emits: [o.SELECT, o.ENTER, o.SPACE, o.TAB],
285
- setup(e, { emit: t, slots: v }) {
286
- const p = R([]), n = (f) => (m) => {
287
- t(f, m);
288
- }, b = (f) => p.value[f].$el.focus(), { moveToNextElement: d, moveToPreviousElement: l, moveToFirstElement: i, moveToLastElement: r } = Se(
289
- {
290
- items: xe(e, "items"),
291
- isOptionDisabled: e.isOptionDisabled
292
- },
293
- b
294
- ), y = {
295
- [N.ARROW_UP]: l,
296
- [N.ARROW_DOWN]: d,
297
- [N.HOME]: i,
298
- [N.END]: r
299
- }, s = {
300
- [o.SELECT]: n(o.SELECT),
301
- [o.SPACE]: n(o.SPACE),
302
- [o.TAB]: n(o.TAB),
303
- [o.ENTER]: n(o.ENTER)
304
- };
305
- return {
306
- // Enums
307
- BentoListboxEvent: o,
308
- // Values
309
- listboxItemRef: p,
310
- slots: v,
311
- // Methods
312
- onOptionSelected: n,
313
- // Keyboard navigation
314
- listboxListeners: y,
315
- listboxOptionListeners: s
316
- };
317
- }
318
- });
319
- function dt(e, t, v, p, n, b) {
320
- const d = S("bento-listbox-single-select-option"), l = de("bento-keyboard-navigation-directive");
321
- return X((g(), O("div", J(e.listboxListeners, !0), [
322
- (g(!0), O(te, null, W(e.items, (i) => (g(), I(d, U({
323
- key: i.value,
324
- ref_for: !0,
325
- ref: "listboxItemRef",
326
- role: "option",
327
- option: i,
328
- disabled: e.isOptionDisabled ? e.isOptionDisabled(i) : null,
329
- selected: i.value === e.selectedValue
330
- }, J(e.listboxOptionListeners)), Q({ _: 2 }, [
331
- W(e.slots, (r, y) => ({
332
- name: y,
333
- fn: C((s) => [
334
- M(e.$slots, y, F(K(s)))
335
- ])
336
- }))
337
- ]), 1040, ["option", "disabled", "selected"]))), 128))
338
- ], 16)), [
339
- [l]
340
- ]);
341
- }
342
- const rt = /* @__PURE__ */ H(at, [["render", dt]]);
343
- var Ce = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e))(Ce || {}), Z = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.UNSELECT_CATEGORY = "unselect-category", e))(Z || {});
344
- const ct = {
345
- "en-US": {
346
- categoryClosed: "{category} closed",
347
- categoryOpened: "{category} opened"
348
- }
349
- }, ut = z({
350
- i18n: { messages: ct },
351
- name: "bento-listbox-multi-select-category",
352
- components: {
353
- BentoCheckbox: ue,
354
- BentoTypography: ee,
355
- BentoListboxOption: se,
356
- ChevronDownIcon: He,
357
- ChevronUpIcon: We
358
- },
359
- props: {
360
- /**
361
- * The option elements to populate the listbox with.
362
- * It must be an array of {@see BentoListboxOptionItem }.
363
- *
364
- * @property {string} value.label - Text to be displayed in the option
365
- * @property {string,number} value.value - Value of the option
366
- * @property {BentoListboxOptionItem} value.items - Category items list
367
- */
368
- category: {
369
- type: Object,
370
- required: !0
371
- },
372
- /**
373
- * Function that allows the options to be disabled
374
- *
375
- * @type {BentoListboxIsOptionDisabled}
376
- * @param {BentoListboxOptionItem} option - listbox option object
377
- * @param {string} option.label - Option's label text
378
- * @param {string|number} option.value - Option's value
379
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
380
- */
381
- isOptionDisabled: {
382
- type: [Function],
383
- default: () => !1
384
- },
385
- /**
386
- * The `input` value.
387
- * Providing an empty array will select no options.
388
- */
389
- selectedItemsList: {
390
- type: Array,
391
- default: () => []
392
- }
393
- },
394
- emits: [Z.SELECT_CATEGORY, Z.UNSELECT_CATEGORY],
395
- setup(e, { emit: t }) {
396
- const v = R(!1), { t: p } = ce(), n = (_) => e.isOptionDisabled ? e.isOptionDisabled(_) : !1, b = u(
397
- () => e.category.items.every((_) => n(_))
398
- ), d = u(() => ({
399
- [`b-listbox-multi-select-category--${Ce.DISABLED}`]: b.value
400
- })), l = (_) => {
401
- _.preventDefault(), v.value = !v.value;
402
- }, i = (_) => {
403
- var G;
404
- const k = n(_), T = ((G = e.selectedItemsList) == null ? void 0 : G.includes(_.value)) || !1;
405
- return { isDisabled: k, isPreSelected: T };
406
- }, r = u(
407
- () => e.category.items.filter((_) => {
408
- const { isDisabled: k, isPreSelected: T } = i(_);
409
- return k && T || !k;
410
- })
411
- ), y = u(
412
- () => {
413
- var _;
414
- return (_ = r.value) == null ? void 0 : _.filter(
415
- ({ value: k }) => {
416
- var T;
417
- return (T = e.selectedItemsList) == null ? void 0 : T.includes(k);
418
- }
419
- );
420
- }
421
- ), s = u(() => {
422
- const _ = v.value ? "categoryOpened" : "categoryClosed";
423
- return p(_, { category: e.category.label });
424
- }), f = () => {
425
- t(Z.SELECT_CATEGORY);
426
- }, m = () => {
427
- t(Z.UNSELECT_CATEGORY);
428
- }, { isAllSelected: A, isIndeterminate: V, toggleSelectAll: P } = ye(
429
- y,
430
- r,
431
- f,
432
- m
433
- );
434
- return {
435
- // Values
436
- chevronTitle: s,
437
- conditionalClass: d,
438
- hasAllPropsDisabled: b,
439
- isOpen: v,
440
- isAllSelected: A,
441
- isIndeterminate: V,
442
- // Methods
443
- toggleOpen: l,
444
- toggleSelectAll: P
445
- };
446
- }
447
- });
448
- const bt = { class: "b-listbox-multi-select-category__label" };
449
- function mt(e, t, v, p, n, b) {
450
- const d = S("bento-checkbox"), l = S("bento-typography"), i = S("chevron-up-icon"), r = S("chevron-down-icon"), y = S("bento-listbox-option");
451
- return g(), O("div", null, [
452
- L(y, {
453
- class: ie(["b-listbox-multi-select-category__option", e.conditionalClass])
454
- }, {
455
- default: C(() => [
456
- L(d, {
457
- "model-value": e.isAllSelected,
458
- indeterminate: e.isIndeterminate,
459
- disabled: e.hasAllPropsDisabled,
460
- "aria-label": e.category.label,
461
- value: e.category.value,
462
- "onUpdate:modelValue": e.toggleSelectAll
463
- }, null, 8, ["model-value", "indeterminate", "disabled", "aria-label", "value", "onUpdate:modelValue"]),
464
- B("span", bt, [
465
- L(l, {
466
- el: "span",
467
- class: "b-listbox-multi-select-category__label-text"
468
- }, {
469
- default: C(() => [
470
- D($(e.category.label), 1)
471
- ]),
472
- _: 1
473
- }),
474
- B("div", {
475
- class: "b-listbox-multi-select-category__label-chevron",
476
- "data-testid": "toggle-listbox",
477
- onClickCapture: t[0] || (t[0] = (...s) => e.toggleOpen && e.toggleOpen(...s))
478
- }, [
479
- e.isOpen ? (g(), I(i, {
480
- key: 0,
481
- "svg-title": e.chevronTitle
482
- }, null, 8, ["svg-title"])) : (g(), I(r, {
483
- key: 1,
484
- "svg-title": e.chevronTitle
485
- }, null, 8, ["svg-title"]))
486
- ], 32)
487
- ])
488
- ]),
489
- _: 1
490
- }, 8, ["class"]),
491
- X(B("div", null, [
492
- M(e.$slots, "default", {}, void 0, !0)
493
- ], 512), [
494
- [ae, e.isOpen]
495
- ])
496
- ]);
497
- }
498
- const vt = /* @__PURE__ */ H(ut, [["render", mt], ["__scopeId", "data-v-69a9679a"]]);
499
- var Y = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e))(Y || {});
500
- const pt = z({
501
- name: "listbox-multi-select-options",
502
- components: {
503
- BentoCheckbox: ue,
504
- BentoListboxOption: se,
505
- BentoTypography: ee,
506
- ListboxMultiSelectCategory: vt
507
- },
508
- props: {
509
- /**
510
- * Indicates if the items listed are inside a category
511
- * so they can be padded to right by one level in recursion.
512
- * Items of categories are automatically defined as "categoryItems"
513
- */
514
- categoryItems: { type: Boolean, default: !1 },
515
- /**
516
- * Function that allows the options to be disabled
517
- *
518
- * @type {BentoListboxIsOptionDisabled}
519
- * @param {BentoListboxOptionItem} option - listbox option object
520
- * @param {string} option.label - Option's label text
521
- * @param {string|number} option.value - Option's value
522
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
523
- */
524
- isOptionDisabled: {
525
- type: Function,
526
- default: () => !1
527
- },
528
- /**
529
- * The option elements to populate the listbox with.
530
- * It must be an array of {@see BentoListboxOptionItem }.
531
- *
532
- * @property {string} value.label - Text to be displayed in the option
533
- * @property {string,number} value.value - Value of the option
534
- */
535
- items: {
536
- type: Array,
537
- required: !0
538
- },
539
- /**
540
- * Indicates if the elements options are inside a multi-level category
541
- */
542
- isMultiLevel: { type: Boolean, default: !1 },
543
- /**
544
- * Flag that indicates that an external search it's being made
545
- * to filter out the items inside the the multi-select listbox
546
- *
547
- * If enabled, hides the "Select all" checkbox in "multiple" mode.
548
- */
549
- searching: { type: Boolean, default: !1 },
550
- /**
551
- * List of selected items.
552
- * Providing an empty array will select no options.
553
- */
554
- selectedItemsList: {
555
- type: Array,
556
- default: () => []
557
- }
558
- },
559
- emits: [
560
- Y.TOGGLE_CHECKBOX_SELECTION,
561
- Y.SELECT_CATEGORY,
562
- Y.UNSELECT_CATEGORY
563
- ],
564
- setup(e, { emit: t }) {
565
- const v = (i) => {
566
- t(Y.TOGGLE_CHECKBOX_SELECTION, i);
567
- }, p = (i) => !!i.items, n = (i) => {
568
- const r = e.isMultiLevel && e.searching;
569
- return i.description && (!e.isMultiLevel || r);
570
- }, b = (i) => i.items ? !!i.items.find((r) => e.selectedItemsList.includes(r.value)) : e.selectedItemsList.includes(i.value), d = (i, r) => {
571
- if (p(r))
572
- return t(i ? Y.SELECT_CATEGORY : Y.UNSELECT_CATEGORY, r);
573
- v(r.value);
574
- };
575
- return {
576
- // Values
577
- conditionalClasses: u(() => ({
578
- "b-listbox-multi-select-options__category-option": e.categoryItems
579
- })),
580
- // Methods
581
- isCategory: p,
582
- isOptionSelected: b,
583
- shouldShowDescription: n,
584
- toggleCheckboxSelection: v,
585
- selectSearch: d,
586
- // Enums
587
- BentoListboxEvent: o,
588
- ListboxMultiSelectOptionsEvent: Y
589
- };
590
- }
591
- });
592
- const gt = { class: "b-listbox-multi-select__option-text" }, ft = { class: "b-listbox-multi-select__option-text" };
593
- function Et(e, t, v, p, n, b) {
594
- const d = S("bento-checkbox"), l = S("bento-typography"), i = S("bento-listbox-option"), r = S("listbox-multi-select-options", !0), y = S("listbox-multi-select-category");
595
- return g(), O("div", null, [
596
- (g(!0), O(te, null, W(e.items, (s) => (g(), O("div", {
597
- key: `selected-${s.value}`
598
- }, [
599
- e.searching && e.isMultiLevel ? (g(), I(i, {
600
- key: 0,
601
- class: ie(["b-listbox-multi-select-options", e.conditionalClasses]),
602
- disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null
603
- }, {
604
- default: C(() => [
605
- L(d, {
606
- "model-value": e.isOptionSelected(s),
607
- "aria-label": s.label,
608
- disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null,
609
- value: s.value,
610
- "onUpdate:modelValue": (f) => e.selectSearch(f, s)
611
- }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
612
- M(e.$slots, "default", F(K(s)), () => [
613
- B("span", gt, [
614
- L(l, { el: "span" }, {
615
- default: C(() => [
616
- D($(s.label), 1)
617
- ]),
618
- _: 2
619
- }, 1024),
620
- e.shouldShowDescription(s) ? (g(), I(l, {
621
- key: 0,
622
- class: "b-listbox-multi-select__option-description",
623
- el: "span"
624
- }, {
625
- default: C(() => [
626
- D($(s.description), 1)
627
- ]),
628
- _: 2
629
- }, 1024)) : j("", !0)
630
- ])
631
- ], !0)
632
- ]),
633
- _: 2
634
- }, 1032, ["class", "disabled"])) : (g(), O(te, { key: 1 }, [
635
- s.items ? (g(), I(y, {
636
- key: 0,
637
- category: s,
638
- "is-option-disabled": e.isOptionDisabled,
639
- "selected-items-list": e.selectedItemsList,
640
- onSelectCategory: (f) => e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, s),
641
- onUnselectCategory: (f) => e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, s)
642
- }, {
643
- default: C(() => [
644
- L(r, {
645
- "category-items": "",
646
- items: s.items,
647
- "is-option-disabled": e.isOptionDisabled,
648
- "is-multi-level": e.isMultiLevel,
649
- "selected-items-list": e.selectedItemsList,
650
- searching: e.searching,
651
- onToggleCheckboxSelection: t[0] || (t[0] = (f) => e.toggleCheckboxSelection(f))
652
- }, null, 8, ["items", "is-option-disabled", "is-multi-level", "selected-items-list", "searching"])
653
- ]),
654
- _: 2
655
- }, 1032, ["category", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (g(), I(i, {
656
- key: 1,
657
- class: ie(["b-listbox-multi-select-options", e.conditionalClasses]),
658
- disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null
659
- }, {
660
- default: C(() => [
661
- L(d, {
662
- "model-value": e.selectedItemsList,
663
- "aria-label": s.label,
664
- disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null,
665
- value: s.value,
666
- "onUpdate:modelValue": (f) => e.toggleCheckboxSelection(s.value)
667
- }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
668
- M(e.$slots, "default", F(K(s)), () => [
669
- B("span", ft, [
670
- L(l, { el: "span" }, {
671
- default: C(() => [
672
- D($(s.label), 1)
673
- ]),
674
- _: 2
675
- }, 1024),
676
- e.shouldShowDescription(s) ? (g(), I(l, {
677
- key: 0,
678
- class: "b-listbox-multi-select__option-description",
679
- el: "span"
680
- }, {
681
- default: C(() => [
682
- D($(s.description), 1)
683
- ]),
684
- _: 2
685
- }, 1024)) : j("", !0)
686
- ])
687
- ], !0)
688
- ]),
689
- _: 2
690
- }, 1032, ["class", "disabled"]))
691
- ], 64))
692
- ]))), 128))
693
- ]);
694
- }
695
- const yt = /* @__PURE__ */ H(pt, [["render", Et], ["__scopeId", "data-v-55a6d406"]]), ve = {
696
- "en-US": {
697
- allSelected: "All selected ({total})",
698
- numberOfTotalSelected: "{number} of {total} selected",
699
- selectAll: "Select all ({total})"
700
- }
701
- }, St = z({
702
- i18n: { messages: ve },
703
- name: "bento-listbox-multi-select",
704
- components: {
705
- BentoCheckbox: ue,
706
- BentoListboxOption: se,
707
- BentoTypography: ee,
708
- ListboxMultiSelectOptions: yt
709
- },
710
- directives: { BentoKeyboardNavigationDirective: re },
711
- props: {
712
- /**
713
- * Function that allows the options to be disabled
714
- *
715
- * @type {BentoListboxIsOptionDisabled}
716
- * @param {BentoListboxOptionItem} option - listbox option object
717
- * @param {string} option.label - Option's label text
718
- * @param {string|number} option.value - Option's value
719
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
720
- */
721
- isOptionDisabled: {
722
- type: Function,
723
- default: () => !1
724
- },
725
- /**
726
- * The option elements to populate the listbox with.
727
- * It must be an array of {@see BentoListboxOptionItem }.
728
- *
729
- * @property {string} value.label - Text to be displayed in the option
730
- * @property {string,number} value.value - Value of the option
731
- */
732
- items: {
733
- type: Array,
734
- required: !0
735
- },
736
- /**
737
- * Flag that indicates that an external search it's being made
738
- * to filter out the items inside the the multi-select listbox
739
- *
740
- * If enabled, hides the "Select all" checkbox in "multiple" mode.
741
- */
742
- searching: { type: Boolean, default: !1 },
743
- /**
744
- * The `input` value.
745
- * Providing an empty array will select no options.
746
- */
747
- selectedValues: {
748
- type: Array,
749
- default: () => []
750
- }
751
- },
752
- emits: [o.SELECT],
753
- setup(e, { emit: t, slots: v }) {
754
- const { t: p } = ce({ messages: ve }), n = R(null), b = R(null), d = R(null), l = R();
755
- Ye(
756
- () => e.selectedValues,
757
- () => {
758
- l.value = [...e.selectedValues ?? []];
759
- },
760
- {
761
- immediate: !0
762
- }
763
- );
764
- const i = u(() => !!e.items.find(({ items: a }) => !!a)), r = u(() => i.value ? e.items.reduce((a, c) => (c.items ? a.push(...c.items.flat()) : a.push(c), a), []) : e.items), y = (a) => {
765
- var E;
766
- const c = e.isOptionDisabled(a), h = ((E = l.value) == null ? void 0 : E.includes(a.value)) || !1;
767
- return { isDisabled: c, isPreSelected: h };
768
- }, s = u(
769
- () => e.searching && i ? e.items : r.value.filter((a) => {
770
- const { isDisabled: c, isPreSelected: h } = y(a);
771
- return c && h || !c;
772
- })
773
- ), f = u(
774
- () => {
775
- var a;
776
- return (a = s.value) == null ? void 0 : a.filter((c) => {
777
- var h;
778
- return c.items && i.value && e.searching ? c.items.filter(
779
- (x) => (e.selectedValues ?? []).includes(
780
- x.value
781
- )
782
- ).length === c.items.length : (h = l.value) == null ? void 0 : h.includes(c.value);
783
- });
784
- }
785
- ), m = () => i.value && !e.searching ? s.value.length : e.items.length, A = u(() => {
786
- var h;
787
- const a = m(), c = ((h = f.value) == null ? void 0 : h.length) || 0;
788
- return c === 0 ? p("selectAll", { total: a }) : c === a ? p("allSelected", { total: a }) : p("numberOfTotalSelected", { number: c, total: a });
789
- }), V = (a) => {
790
- const c = (E) => {
791
- const { isDisabled: x, isPreSelected: oe } = y(E);
792
- return x && oe || !x;
793
- }, h = a.filter(c).filter((E) => !l.value.includes(E.value)).map(({ value: E }) => E);
794
- l.value = [...l.value, ...h], t(o.SELECT, l.value);
795
- }, P = (a) => {
796
- const c = (E) => {
797
- const { isDisabled: x, isPreSelected: oe } = y(E);
798
- return !(x && oe);
799
- }, h = a.filter(c).map(({ value: E }) => E);
800
- l.value = l.value.filter((E) => !(h != null && h.includes(E))), t(o.SELECT, l.value);
801
- }, _ = () => {
802
- V(r.value);
803
- }, k = () => {
804
- P(r.value);
805
- }, { isAllSelected: T, isIndeterminate: G, toggleSelectAll: he } = ye(
806
- f,
807
- s,
808
- _,
809
- k
810
- ), Te = (a) => {
811
- V(a.items);
812
- }, Le = (a) => {
813
- P(a.items);
814
- }, Oe = (a, c) => {
815
- let h = !1;
816
- l.value = l.value.filter((E) => c === E ? (h = !0, !1) : !0), h || l.value.push(c), t(a, l.value);
817
- }, le = u(() => {
818
- const a = (E) => l.value.includes(E.value), c = (E) => !!E.find((x) => a(x));
819
- return e.items.filter((E) => E.items && c(E.items) ? !0 : a(E));
820
- }), Ae = u(() => {
821
- var a;
822
- return ((a = le.value) == null ? void 0 : a.length) > 0;
823
- }), Ie = u(
824
- () => {
825
- var a, c;
826
- return ((a = f.value) == null ? void 0 : a.length) === ((c = r.value) == null ? void 0 : c.length);
827
- }
828
- ), $e = u(
829
- () => n.value ? [n.value] : []
830
- ), Be = u(
831
- () => {
832
- var a, c;
833
- return (c = (a = b.value) == null ? void 0 : a.$children) != null && c.length ? b.value.$children : [];
834
- }
835
- ), ke = u(
836
- () => {
837
- var a, c;
838
- return (c = (a = d.value) == null ? void 0 : a.$children) != null && c.length ? d.value.$children : [];
839
- }
840
- ), Re = u(() => ({ label: A, value: T })), De = u(() => [
841
- Re,
842
- ...le.value,
843
- ...r.value
844
- ]), Ne = (a) => {
845
- [
846
- ...$e.value,
847
- ...Be.value,
848
- ...ke.value
849
- ][a].$el.focus();
850
- }, { moveToNextElement: Me, moveToPreviousElement: Pe, moveToFirstElement: we, moveToLastElement: Ue } = Se(
851
- {
852
- items: R(De),
853
- isOptionDisabled: e.isOptionDisabled
854
- },
855
- Ne
856
- ), Ve = {
857
- [N.ARROW_UP]: Pe,
858
- [N.ARROW_DOWN]: Me,
859
- [N.HOME]: we,
860
- [N.END]: Ue
861
- };
862
- return {
863
- // Refs
864
- selectAllListboxItemsRef: n,
865
- selectedListboxItemsRef: b,
866
- listboxItemsRef: d,
867
- // Values
868
- isAllSelected: T,
869
- isAllItemsIncludingDisabled: Ie,
870
- isAnOptionSelected: Ae,
871
- isIndeterminate: G,
872
- isMultiLevelSelect: i,
873
- flattenedItemsList: r,
874
- selectedItemsList: l,
875
- selectAllCheckboxText: A,
876
- selectedOptions: le,
877
- slots: v,
878
- // Enums
879
- BentoListboxEvent: o,
880
- // Methods
881
- selectAllCategory: Te,
882
- toggleCheckboxSelection: Oe,
883
- toggleSelectAll: he,
884
- unselectAllCategory: Le,
885
- // Events
886
- listboxListeners: Ve
887
- };
888
- }
889
- });
890
- const _e = (e) => (fe("data-v-8c62bb32"), e = e(), Ee(), e), Ct = { key: 0 }, _t = /* @__PURE__ */ _e(() => /* @__PURE__ */ B("hr", { class: "b-listbox-multi-select__divider" }, null, -1)), ht = /* @__PURE__ */ _e(() => /* @__PURE__ */ B("hr", { class: "b-listbox-multi-select__divider" }, null, -1));
891
- function Tt(e, t, v, p, n, b) {
892
- const d = S("bento-checkbox"), l = S("bento-typography"), i = S("bento-listbox-option"), r = S("listbox-multi-select-options"), y = de("bento-keyboard-navigation-directive");
893
- return X((g(), O("div", U({ class: "b-listbox-multi-select" }, J(e.listboxListeners, !0)), [
894
- L(i, {
895
- ref: "selectAllListboxItemsRef",
896
- class: "b-listbox-multi-select__option"
897
- }, {
898
- default: C(() => [
899
- L(d, {
900
- "aria-label": e.selectAllCheckboxText,
901
- "model-value": e.isAllSelected,
902
- indeterminate: e.isIndeterminate,
903
- "onUpdate:modelValue": e.toggleSelectAll
904
- }, null, 8, ["aria-label", "model-value", "indeterminate", "onUpdate:modelValue"]),
905
- L(l, { el: "span" }, {
906
- default: C(() => [
907
- D($(e.selectAllCheckboxText), 1)
908
- ]),
909
- _: 1
910
- })
911
- ]),
912
- _: 1
913
- }, 512),
914
- e.isAnOptionSelected ? (g(), O("div", Ct, [
915
- _t,
916
- L(r, U({
917
- ref: "selectedListboxItemsRef",
918
- items: e.selectedOptions,
919
- "is-option-disabled": e.isOptionDisabled,
920
- "is-multi-level": e.isMultiLevelSelect,
921
- searching: e.searching,
922
- "selected-items-list": e.selectedItemsList,
923
- onSelectCategory: e.selectAllCategory,
924
- onUnselectCategory: e.unselectAllCategory,
925
- onToggleCheckboxSelection: t[0] || (t[0] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.SELECT, s))
926
- }, {
927
- [w(e.BentoListboxEvent.SPACE)]: t[1] || (t[1] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.SPACE, s))
928
- }, {
929
- [w(e.BentoListboxEvent.TAB)]: t[2] || (t[2] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.TAB, s))
930
- }, {
931
- [w(e.BentoListboxEvent.ENTER)]: t[3] || (t[3] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.ENTER, s))
932
- }), Q({ _: 2 }, [
933
- W(e.slots, (s, f) => ({
934
- name: f,
935
- fn: C((m) => [
936
- M(e.$slots, f, F(K(m)), void 0, !0)
937
- ])
938
- }))
939
- ]), 1040, ["items", "is-option-disabled", "is-multi-level", "searching", "selected-items-list", "onSelectCategory", "onUnselectCategory"])
940
- ])) : j("", !0),
941
- X(B("div", null, [
942
- ht,
943
- L(r, U({
944
- ref: "listboxItemsRef",
945
- items: e.items,
946
- "is-option-disabled": e.isOptionDisabled,
947
- "is-multi-level": e.isMultiLevelSelect,
948
- searching: e.searching,
949
- "selected-items-list": e.selectedItemsList,
950
- onToggleCheckboxSelection: t[4] || (t[4] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.SELECT, s)),
951
- onSelectCategory: e.selectAllCategory,
952
- onUnselectCategory: e.unselectAllCategory
953
- }, {
954
- [w(e.BentoListboxEvent.SPACE)]: t[5] || (t[5] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.SPACE, s))
955
- }, {
956
- [w(e.BentoListboxEvent.TAB)]: t[6] || (t[6] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.TAB, s))
957
- }, {
958
- [w(e.BentoListboxEvent.ENTER)]: t[7] || (t[7] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.ENTER, s))
959
- }), Q({ _: 2 }, [
960
- W(e.slots, (s, f) => ({
961
- name: f,
962
- fn: C((m) => [
963
- M(e.$slots, f, F(K(m)), void 0, !0)
964
- ])
965
- }))
966
- ]), 1040, ["items", "is-option-disabled", "is-multi-level", "searching", "selected-items-list", "onSelectCategory", "onUnselectCategory"])
967
- ], 512), [
968
- [ae, !e.isAllItemsIncludingDisabled]
969
- ])
970
- ], 16)), [
971
- [y]
972
- ]);
973
- }
974
- const pe = /* @__PURE__ */ H(St, [["render", Tt], ["__scopeId", "data-v-8c62bb32"]]), ge = {
975
- "en-US": {
976
- showMore: "Show more",
977
- loading: "Loading"
978
- }
979
- }, Lt = z({
980
- name: "bento-listbox",
981
- components: {
982
- BentoListboxSingleSelect: rt,
983
- BentoListboxMultiSelect: pe,
984
- BentoTypography: ee,
985
- BentoLoadingIndicator: Fe,
986
- BentoLoadingButton: ze
987
- },
988
- directives: { BentoKeyboardNavigationDirective: re },
989
- i18n: { messages: ge },
990
- props: {
991
- /**
992
- * Defines a string value that labels an interactive element.
993
- */
994
- ariaLabel: { type: String, default: null },
995
- /**
996
- * Indicates whether there are more items to load
997
- */
998
- hasMoreItems: { type: Boolean, default: !1 },
999
- /**
1000
- * Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
1001
- */
1002
- id: { type: String, required: !0 },
1003
- /**
1004
- * Function that allows the options to be disabled
1005
- *
1006
- * @type {BentoListboxIsOptionDisabled}
1007
- * @param {BentoListboxOptionItem} option - Listbox option object
1008
- * @param {string} option.label - Option's label text
1009
- * @param {string|number} option.value - Option's value
1010
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
1011
- */
1012
- isOptionDisabled: {
1013
- type: Function,
1014
- default: () => {
1015
- }
1016
- },
1017
- /**
1018
- * The option elements to populate the listbox with.
1019
- * It must be an array of {@see BentoListboxOptionItem }
1020
- * * @property {string} value.label - Text to be displayed in the option
1021
- * * @property {string,number} value.value - Value of the option
1022
- */
1023
- items: {
1024
- type: Array,
1025
- required: !0
1026
- },
1027
- /**
1028
- * Indicates if new options are loading.
1029
- */
1030
- loading: { type: Boolean, default: !1 },
1031
- /**
1032
- * The type of `Lazy Load`.
1033
- * Type "automatic" will enable infinite scrolling
1034
- * Type "button" will enable lazy loading with "Show more" button
1035
- */
1036
- lazyLoadType: {
1037
- type: String,
1038
- default: q.NONE,
1039
- validator: (e) => Object.values(q).includes(e)
1040
- },
1041
- /**
1042
- * If enabled, the user will be able to select multiple items.
1043
- */
1044
- multiple: { type: Boolean, default: !1 },
1045
- /**
1046
- * Messaged displayed when no items are listed in the listbox
1047
- */
1048
- noResultsMessage: { type: String, required: !0 },
1049
- /**
1050
- * Flag that indicates that an external search it's being made
1051
- * to filter out the items inside the the multi-select listbox
1052
- *
1053
- * If enabled, hides the "Select all" checkbox in "multiple" mode.
1054
- */
1055
- searching: pe.props.searching,
1056
- /**
1057
- * The `input` value.
1058
- * Providing an empty string or empty array will select no options.
1059
- * Set to an empty string `''` if you don't want any of the available options to be selected for single select
1060
- */
1061
- selectedValue: {
1062
- type: [String, Number, Array],
1063
- default: void 0
1064
- }
1065
- },
1066
- emits: [
1067
- o.SELECT,
1068
- o.SPACE,
1069
- o.SHOW_MORE,
1070
- o.ENTER,
1071
- o.ESCAPE,
1072
- o.TAB
1073
- ],
1074
- setup(e, { emit: t, slots: v }) {
1075
- const { t: p } = ce({ messages: ge }), n = R(null), b = R([]), d = u(() => e.lazyLoadType !== q.AUTOMATIC), l = u(() => e.lazyLoadType === q.AUTOMATIC), i = u(
1076
- () => d.value ? "true" : void 0
1077
- ), r = u(
1078
- () => d.value && e.loading ? "true" : "false"
1079
- ), y = u(
1080
- () => d.value ? "polite" : void 0
1081
- ), s = (T) => (G) => {
1082
- t(T, G);
1083
- }, f = () => {
1084
- t(o.SHOW_MORE);
1085
- }, m = Ke(() => {
1086
- const T = n.value, G = T.scrollTop + T.clientHeight >= T.scrollHeight;
1087
- e.hasMoreItems && G && !e.loading && f();
1088
- }), A = u(() => {
1089
- var T;
1090
- return e.searching && ((T = e.items) == null ? void 0 : T.length) === 0;
1091
- }), V = u(
1092
- () => e.lazyLoadType === q.BUTTON && e.hasMoreItems
1093
- ), P = u(
1094
- () => e.loading ? be.LOADING : be.START
1095
- ), _ = u(() => e.loading ? p("loading") : p("showMore")), k = {
1096
- [o.SELECT]: s(o.SELECT),
1097
- [o.SPACE]: s(o.SPACE),
1098
- [o.TAB]: s(o.TAB),
1099
- [o.ENTER]: s(o.ENTER)
1100
- };
1101
- return {
1102
- // Refs
1103
- listboxRef: n,
1104
- listboxItemRef: b,
1105
- // a11y
1106
- ariaAtomic: i,
1107
- ariaBusy: r,
1108
- ariaLive: y,
1109
- // Values
1110
- hasAutomaticLazyLoader: l,
1111
- isSearchResultEmpty: A,
1112
- loadingButtonState: P,
1113
- slots: v,
1114
- shouldDisplayShowMoreButton: V,
1115
- showMoreButtonText: _,
1116
- // Enums
1117
- BentoKeyboardNavigationKeyDownEvent: N,
1118
- BentoListboxEvent: o,
1119
- // Methods
1120
- onOptionSelected: s,
1121
- emitShowMoreOnScrollEnd: m,
1122
- emitShowMore: f,
1123
- listboxListeners: k
1124
- };
1125
- }
1126
- });
1127
- const Ot = ["id", "aria-busy", "aria-atomic", "aria-label", "aria-live"], At = {
1128
- key: 0,
1129
- class: "b-listbox__empty-search-message"
1130
- }, It = {
1131
- key: 2,
1132
- class: "b-listbox__lazy-load"
1133
- }, $t = {
1134
- key: 3,
1135
- class: "b-listbox__lazy-load"
1136
- };
1137
- function Bt(e, t, v, p, n, b) {
1138
- const d = S("bento-typography"), l = S("bento-listbox-multi-select"), i = S("bento-listbox-single-select"), r = S("bento-loading-button"), y = S("bento-loading-indicator"), s = de("bento-keyboard-navigation-directive");
1139
- return X((g(), O("div", {
1140
- id: e.id,
1141
- ref: "listboxRef",
1142
- class: "b-listbox",
1143
- role: "listbox",
1144
- tabindex: "-1",
1145
- "aria-busy": e.ariaBusy,
1146
- "aria-atomic": e.ariaAtomic,
1147
- "aria-label": e.ariaLabel,
1148
- "aria-live": e.ariaLive,
1149
- onScroll: t[0] || (t[0] = () => e.hasAutomaticLazyLoader ? e.emitShowMoreOnScrollEnd() : void 0)
1150
- }, [
1151
- e.isSearchResultEmpty ? (g(), O("div", At, [
1152
- L(d, { el: "span" }, {
1153
- default: C(() => [
1154
- D($(e.noResultsMessage), 1)
1155
- ]),
1156
- _: 1
1157
- })
1158
- ])) : (g(), O(te, { key: 1 }, [
1159
- e.multiple ? (g(), I(l, U({
1160
- key: 0,
1161
- ref: "listboxItemRef",
1162
- items: e.items,
1163
- "selected-values": e.selectedValue,
1164
- searching: e.searching,
1165
- "is-option-disabled": e.isOptionDisabled
1166
- }, J(e.listboxListeners)), Q({ _: 2 }, [
1167
- W(e.slots, (f, m) => ({
1168
- name: m,
1169
- fn: C((A) => [
1170
- M(e.$slots, m, F(K(A)), void 0, !0)
1171
- ])
1172
- }))
1173
- ]), 1040, ["items", "selected-values", "searching", "is-option-disabled"])) : (g(), I(i, U({
1174
- key: 1,
1175
- ref: "listboxItemRef",
1176
- items: e.items,
1177
- "selected-value": e.selectedValue,
1178
- "is-option-disabled": e.isOptionDisabled
1179
- }, J(e.listboxListeners)), Q({ _: 2 }, [
1180
- W(e.slots, (f, m) => ({
1181
- name: m,
1182
- fn: C((A) => [
1183
- M(e.$slots, m, F(K(A)), void 0, !0)
1184
- ])
1185
- }))
1186
- ]), 1040, ["items", "selected-value", "is-option-disabled"])),
1187
- e.shouldDisplayShowMoreButton ? (g(), O("div", It, [
1188
- L(r, {
1189
- state: e.loadingButtonState,
1190
- variant: "secondary",
1191
- onClickCapture: e.emitShowMore
1192
- }, {
1193
- default: C(() => [
1194
- D($(e.showMoreButtonText), 1)
1195
- ]),
1196
- _: 1
1197
- }, 8, ["state", "onClickCapture"])
1198
- ])) : e.loading ? (g(), O("div", $t, [
1199
- L(y)
1200
- ])) : j("", !0)
1201
- ], 64))
1202
- ], 40, Ot)), [
1203
- [s]
1204
- ]);
1205
- }
1206
- const xt = /* @__PURE__ */ H(Lt, [["render", Bt], ["__scopeId", "data-v-336a01a3"]]);
1207
- export {
1208
- xt as B,
1209
- tt as C,
1210
- o as a,
1211
- q as b
1212
- };
1213
- //# sourceMappingURL=listbox.0f25778d.js.map