@adyen/bento-vue2 1.3.0 → 1.4.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 (363) hide show
  1. package/dist/@types/components.d.ts +8 -4
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
  3. package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
  4. package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
  5. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -51
  6. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +24 -28
  7. package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
  8. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
  9. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
  10. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +161 -150
  11. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
  12. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
  13. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
  14. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +77 -15
  15. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
  16. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +4 -6
  17. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -4
  18. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
  19. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +36 -11
  20. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
  21. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
  22. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +2 -22
  23. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -5
  24. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
  25. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +326 -14
  27. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
  28. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1 -21
  29. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
  30. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +1 -21
  31. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
  32. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +277 -104
  34. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
  35. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +5 -5
  36. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
  37. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +5 -6
  38. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +5 -5
  40. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
  41. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +5 -5
  42. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
  43. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +6 -6
  44. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
  45. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
  46. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
  47. package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
  48. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
  49. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
  50. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +0 -26
  51. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
  52. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +0 -10
  53. package/dist/@types/packages/vue2/src/components/filter-bar/components/{base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts → filter-bar-button/filter-bar-button.vue.d.ts} +17 -22
  54. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
  55. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
  56. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
  57. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -4
  58. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -4
  59. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
  60. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +3 -0
  61. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
  62. package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
  63. package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
  64. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
  65. package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
  66. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
  67. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -0
  68. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +50 -47
  69. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
  70. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
  71. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
  72. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +1 -1
  73. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
  74. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  75. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
  76. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -2
  77. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +0 -2
  78. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
  79. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
  80. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
  81. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
  82. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
  83. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
  84. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
  85. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
  86. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
  87. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
  88. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
  89. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
  90. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
  91. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
  92. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
  93. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
  94. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
  95. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
  96. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
  97. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
  98. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
  99. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
  100. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
  101. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -4
  102. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +16 -339
  103. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
  104. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
  105. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
  106. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
  107. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
  108. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
  109. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
  110. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
  111. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
  112. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
  113. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
  114. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
  115. package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
  116. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
  117. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
  118. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +4 -7
  119. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -9
  120. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +6 -12
  121. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
  122. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
  123. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
  124. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
  125. package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
  126. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +4 -1
  127. package/dist/@types/packages/vue2/src/index.d.ts +3 -0
  128. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
  129. package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
  130. package/dist/accordion.js +69 -177
  131. package/dist/accordion.js.map +1 -1
  132. package/dist/alert.js +57 -60
  133. package/dist/alert.js.map +1 -1
  134. package/dist/assets/base-button.css +1 -1
  135. package/dist/assets/base-modal.css +1 -0
  136. package/dist/assets/button.css +1 -1
  137. package/dist/assets/calendar.css +1 -1
  138. package/dist/assets/checkbox.css +1 -1
  139. package/dist/assets/chevron-up.css +1 -0
  140. package/dist/assets/controls-group.css +1 -1
  141. package/dist/assets/copy.css +1 -1
  142. package/dist/assets/dropdown-default-textbox.css +1 -1
  143. package/dist/assets/dropdown.css +1 -1
  144. package/dist/assets/error-message.css +1 -1
  145. package/dist/assets/footer-actions.css +1 -1
  146. package/dist/assets/index.css +1 -1
  147. package/dist/assets/index10.css +1 -1
  148. package/dist/assets/index11.css +1 -1
  149. package/dist/assets/index12.css +1 -1
  150. package/dist/assets/index13.css +1 -1
  151. package/dist/assets/index14.css +1 -1
  152. package/dist/assets/index15.css +1 -1
  153. package/dist/assets/index16.css +1 -1
  154. package/dist/assets/index17.css +1 -1
  155. package/dist/assets/index18.css +1 -1
  156. package/dist/assets/index19.css +1 -1
  157. package/dist/assets/index2.css +1 -1
  158. package/dist/assets/index20.css +1 -1
  159. package/dist/assets/index21.css +1 -1
  160. package/dist/assets/index22.css +1 -1
  161. package/dist/assets/index23.css +1 -1
  162. package/dist/assets/index24.css +1 -1
  163. package/dist/assets/index25.css +1 -1
  164. package/dist/assets/index26.css +1 -1
  165. package/dist/assets/index27.css +1 -1
  166. package/dist/assets/index28.css +1 -1
  167. package/dist/assets/index29.css +1 -1
  168. package/dist/assets/index3.css +1 -1
  169. package/dist/assets/index30.css +1 -1
  170. package/dist/assets/index31.css +1 -1
  171. package/dist/assets/index32.css +1 -1
  172. package/dist/assets/index33.css +1 -1
  173. package/dist/assets/index34.css +1 -1
  174. package/dist/assets/index35.css +1 -1
  175. package/dist/assets/index36.css +1 -1
  176. package/dist/assets/index37.css +1 -1
  177. package/dist/assets/index38.css +1 -1
  178. package/dist/assets/index39.css +1 -1
  179. package/dist/assets/index4.css +1 -1
  180. package/dist/assets/index40.css +1 -1
  181. package/dist/assets/index41.css +1 -1
  182. package/dist/assets/index42.css +1 -0
  183. package/dist/assets/index5.css +1 -1
  184. package/dist/assets/index6.css +1 -1
  185. package/dist/assets/index7.css +1 -1
  186. package/dist/assets/index8.css +1 -1
  187. package/dist/assets/index9.css +1 -1
  188. package/dist/assets/listbox-option-tag.css +1 -1
  189. package/dist/assets/listbox.css +1 -1
  190. package/dist/assets/loading-button.css +1 -1
  191. package/dist/assets/tooltip.css +1 -1
  192. package/dist/avatar-image.js +1 -1
  193. package/dist/badge.js +2 -2
  194. package/dist/button.js +110 -12
  195. package/dist/button.js.map +1 -1
  196. package/dist/card.js +66 -67
  197. package/dist/card.js.map +1 -1
  198. package/dist/checkbox.js +27 -26
  199. package/dist/checkbox.js.map +1 -1
  200. package/dist/chunks/{base-button.98379576.js → base-button.bd8fa976.js} +24 -27
  201. package/dist/chunks/base-button.bd8fa976.js.map +1 -0
  202. package/dist/chunks/base-modal.a365f260.js +207 -0
  203. package/dist/chunks/base-modal.a365f260.js.map +1 -0
  204. package/dist/chunks/{button.d0c9527d.js → button.fb307df3.js} +36 -39
  205. package/dist/chunks/button.fb307df3.js.map +1 -0
  206. package/dist/chunks/{calendar.0ae43a96.js → calendar.79ea42c1.js} +214 -217
  207. package/dist/chunks/calendar.79ea42c1.js.map +1 -0
  208. package/dist/chunks/checkbox.c7d791ed.js +173 -0
  209. package/dist/chunks/checkbox.c7d791ed.js.map +1 -0
  210. package/dist/chunks/{chevron-down.b851a6da.js → chevron-up.674ec2e5.js} +8 -8
  211. package/dist/chunks/chevron-up.674ec2e5.js.map +1 -0
  212. package/dist/chunks/{controls-group.b827382b.js → controls-group.5d3e04dd.js} +20 -20
  213. package/dist/chunks/controls-group.5d3e04dd.js.map +1 -0
  214. package/dist/chunks/{copy.5a4cbd4d.js → copy.ac796536.js} +37 -38
  215. package/dist/chunks/copy.ac796536.js.map +1 -0
  216. package/dist/chunks/{dropdown-default-textbox.819e43f7.js → dropdown-default-textbox.109c36d2.js} +38 -40
  217. package/dist/chunks/dropdown-default-textbox.109c36d2.js.map +1 -0
  218. package/dist/chunks/{dropdown.c05678d0.js → dropdown.fd93f0ce.js} +351 -335
  219. package/dist/chunks/dropdown.fd93f0ce.js.map +1 -0
  220. package/dist/chunks/error-message.3b3c33d4.js +47 -0
  221. package/dist/chunks/error-message.3b3c33d4.js.map +1 -0
  222. package/dist/chunks/{footer-actions.67642347.js → footer-actions.f02e8699.js} +23 -23
  223. package/dist/chunks/footer-actions.f02e8699.js.map +1 -0
  224. package/dist/chunks/get-slot-text.c1114034.js +9 -0
  225. package/dist/chunks/get-slot-text.c1114034.js.map +1 -0
  226. package/dist/chunks/{grid-layout.73f23b1b.js → grid-layout.b7e0d964.js} +2 -2
  227. package/dist/chunks/{grid-layout.73f23b1b.js.map → grid-layout.b7e0d964.js.map} +1 -1
  228. package/dist/chunks/{index.56858f4e.js → index.45295dd3.js} +23 -19
  229. package/dist/chunks/index.45295dd3.js.map +1 -0
  230. package/dist/chunks/{index.10aaf539.js → index.88ff49c2.js} +136 -142
  231. package/dist/chunks/index.88ff49c2.js.map +1 -0
  232. package/dist/chunks/{index.73d50fa6.js → index.9902cae4.js} +65 -68
  233. package/dist/chunks/{index.73d50fa6.js.map → index.9902cae4.js.map} +1 -1
  234. package/dist/chunks/{index.0cf00b47.js → index.bd734551.js} +35 -37
  235. package/dist/chunks/index.bd734551.js.map +1 -0
  236. package/dist/chunks/{index.133e4da0.js → index.c85a1ab9.js} +81 -79
  237. package/dist/chunks/{index.133e4da0.js.map → index.c85a1ab9.js.map} +1 -1
  238. package/dist/chunks/{index.f0f8ed98.js → index.c8f81673.js} +23 -26
  239. package/dist/chunks/index.c8f81673.js.map +1 -0
  240. package/dist/chunks/{listbox-option-tag.8d6cccac.js → listbox-option-tag.ec42431b.js} +32 -36
  241. package/dist/chunks/listbox-option-tag.ec42431b.js.map +1 -0
  242. package/dist/chunks/{listbox.116ed0c1.js → listbox.e792d2d6.js} +244 -251
  243. package/dist/chunks/listbox.e792d2d6.js.map +1 -0
  244. package/dist/chunks/loading-button.429c8416.js +86 -0
  245. package/dist/chunks/loading-button.429c8416.js.map +1 -0
  246. package/dist/chunks/tabs.keys.358742f2.js +7 -0
  247. package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
  248. package/dist/chunks/{tooltip.2aff4fa6.js → tooltip.a47ace87.js} +49 -52
  249. package/dist/chunks/tooltip.a47ace87.js.map +1 -0
  250. package/dist/chunks/use-default-slot-validator.cbdfe693.js +13 -0
  251. package/dist/chunks/use-default-slot-validator.cbdfe693.js.map +1 -0
  252. package/dist/chunks/use-has-slot.6052d56a.js +6 -0
  253. package/dist/chunks/use-has-slot.6052d56a.js.map +1 -0
  254. package/dist/code-snippet.js +469 -413
  255. package/dist/code-snippet.js.map +1 -1
  256. package/dist/country.js +492 -494
  257. package/dist/country.js.map +1 -1
  258. package/dist/currency.js +32 -35
  259. package/dist/currency.js.map +1 -1
  260. package/dist/data-grid.js +595 -603
  261. package/dist/data-grid.js.map +1 -1
  262. package/dist/date-picker.js +76 -80
  263. package/dist/date-picker.js.map +1 -1
  264. package/dist/date-range-picker.js +2 -2
  265. package/dist/date.js +1 -1
  266. package/dist/divider.js +1 -1
  267. package/dist/dropdown.js +37 -39
  268. package/dist/dropdown.js.map +1 -1
  269. package/dist/empty-state.js +134 -0
  270. package/dist/empty-state.js.map +1 -0
  271. package/dist/filter-bar.js +648 -638
  272. package/dist/filter-bar.js.map +1 -1
  273. package/dist/focus-trap.js +1 -1
  274. package/dist/form-layout.js +64 -64
  275. package/dist/form-layout.js.map +1 -1
  276. package/dist/header.js +61 -63
  277. package/dist/header.js.map +1 -1
  278. package/dist/image.js +82 -0
  279. package/dist/image.js.map +1 -0
  280. package/dist/index.js +216 -205
  281. package/dist/index.js.map +1 -1
  282. package/dist/info-icon.js +2 -2
  283. package/dist/input-field.js +99 -123
  284. package/dist/input-field.js.map +1 -1
  285. package/dist/internal.js +7 -7
  286. package/dist/link.js +27 -26
  287. package/dist/link.js.map +1 -1
  288. package/dist/loading-indicator.js +1 -1
  289. package/dist/menu.js +96 -104
  290. package/dist/menu.js.map +1 -1
  291. package/dist/modal.js +111 -264
  292. package/dist/modal.js.map +1 -1
  293. package/dist/pagination.js +148 -145
  294. package/dist/pagination.js.map +1 -1
  295. package/dist/payment-method.js +16 -18
  296. package/dist/payment-method.js.map +1 -1
  297. package/dist/popover.js +58 -54
  298. package/dist/popover.js.map +1 -1
  299. package/dist/popper-container.js +13 -17
  300. package/dist/popper-container.js.map +1 -1
  301. package/dist/radio-group.js +71 -72
  302. package/dist/radio-group.js.map +1 -1
  303. package/dist/search-bar.js +54 -66
  304. package/dist/search-bar.js.map +1 -1
  305. package/dist/segmented-control.js +68 -55
  306. package/dist/segmented-control.js.map +1 -1
  307. package/dist/sidepanel.js +65 -64
  308. package/dist/sidepanel.js.map +1 -1
  309. package/dist/status.js +20 -23
  310. package/dist/status.js.map +1 -1
  311. package/dist/structured-list.js +1 -1
  312. package/dist/summary-grid.js +110 -141
  313. package/dist/summary-grid.js.map +1 -1
  314. package/dist/tabs.js +68 -60
  315. package/dist/tabs.js.map +1 -1
  316. package/dist/tag.js +23 -26
  317. package/dist/tag.js.map +1 -1
  318. package/dist/textarea.js +97 -96
  319. package/dist/textarea.js.map +1 -1
  320. package/dist/timeline.js +125 -125
  321. package/dist/timeline.js.map +1 -1
  322. package/dist/toast.js +44 -48
  323. package/dist/toast.js.map +1 -1
  324. package/dist/toggle.js +54 -52
  325. package/dist/toggle.js.map +1 -1
  326. package/dist/typography.js +1 -1
  327. package/dist/web-types.json +651 -397
  328. package/package.json +9 -12
  329. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
  330. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
  331. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
  332. package/dist/assets/button-actions.css +0 -1
  333. package/dist/assets/chevron-down.css +0 -1
  334. package/dist/chunks/base-button.98379576.js.map +0 -1
  335. package/dist/chunks/button-actions.bd397c79.js +0 -104
  336. package/dist/chunks/button-actions.bd397c79.js.map +0 -1
  337. package/dist/chunks/button.d0c9527d.js.map +0 -1
  338. package/dist/chunks/calendar.0ae43a96.js.map +0 -1
  339. package/dist/chunks/checkbox.f8457c93.js +0 -164
  340. package/dist/chunks/checkbox.f8457c93.js.map +0 -1
  341. package/dist/chunks/chevron-down.b851a6da.js.map +0 -1
  342. package/dist/chunks/controls-group.b827382b.js.map +0 -1
  343. package/dist/chunks/copy.5a4cbd4d.js.map +0 -1
  344. package/dist/chunks/dropdown-default-textbox.819e43f7.js.map +0 -1
  345. package/dist/chunks/dropdown.c05678d0.js.map +0 -1
  346. package/dist/chunks/error-message.0433b539.js +0 -47
  347. package/dist/chunks/error-message.0433b539.js.map +0 -1
  348. package/dist/chunks/footer-actions.67642347.js.map +0 -1
  349. package/dist/chunks/get-slot-text.e5c766d0.js +0 -9
  350. package/dist/chunks/get-slot-text.e5c766d0.js.map +0 -1
  351. package/dist/chunks/index.0cf00b47.js.map +0 -1
  352. package/dist/chunks/index.10aaf539.js.map +0 -1
  353. package/dist/chunks/index.56858f4e.js.map +0 -1
  354. package/dist/chunks/index.f0f8ed98.js.map +0 -1
  355. package/dist/chunks/listbox-option-tag.8d6cccac.js.map +0 -1
  356. package/dist/chunks/listbox.116ed0c1.js.map +0 -1
  357. package/dist/chunks/loading-button.1c201f87.js +0 -84
  358. package/dist/chunks/loading-button.1c201f87.js.map +0 -1
  359. package/dist/chunks/tooltip.2aff4fa6.js.map +0 -1
  360. package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
  361. package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
  362. package/dist/chunks/use-has-slot.068222e6.js +0 -5
  363. package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
@@ -1,15 +1,14 @@
1
- import { computed as r, defineComponent as N, ref as C, onMounted as _e, toRef as be, watch as me } from "vue";
2
- import { B as P, a as $ } from "./index.56858f4e.js";
1
+ import { computed as r, defineComponent as k, ref as C, onMounted as de, toRef as _e, watch as be } from "vue";
2
+ import { B as $ } from "./index.45295dd3.js";
3
3
  import { BentoLoadingIndicator as ve } from "../loading-indicator.js";
4
- import { a as fe } from "./button.d0c9527d.js";
5
- import { u as G } from "./i18n.155748d6.js";
6
- import { B as h, a as U, d as ge } from "./debounce.f8d92e44.js";
4
+ import { u as F } from "./i18n.155748d6.js";
5
+ import { B as h, a as G, d as me } from "./debounce.f8d92e44.js";
7
6
  import { n as R } from "./_plugin-vue2_normalizer.71e2aa87.js";
8
- import { B as Y } from "./checkbox.f8457c93.js";
9
- import { C as pe, a as Ee } from "./chevron-down.b851a6da.js";
10
- import { B as ye, a as V } from "./loading-button.1c201f87.js";
7
+ import { B as U } from "./checkbox.c7d791ed.js";
8
+ import { C as fe, a as ge } from "./chevron-up.674ec2e5.js";
9
+ import { B as pe, a as Y } from "./loading-button.429c8416.js";
11
10
  import "../assets/listbox.css";
12
- const W = (t, e, l, s) => {
11
+ const K = (t, e, l, s) => {
13
12
  const n = r(
14
13
  () => {
15
14
  var u, d;
@@ -27,8 +26,8 @@ const W = (t, e, l, s) => {
27
26
  }
28
27
  };
29
28
  };
30
- var o = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(o || {}), k = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(k || {});
31
- const xe = N({
29
+ var o = /* @__PURE__ */ ((t) => (t.SELECT = "select", t.SHOW_MORE = "show-more", t.ESCAPE = "escape-pressed", t.CLICK = "click", t.ENTER = "enter-pressed", t.SPACE = "space-pressed", t.TAB = "tab-pressed", t.CLOSE_DROPDOWN = "close-dropdown", t))(o || {}), D = /* @__PURE__ */ ((t) => (t.AUTOMATIC = "automatic", t.BUTTON = "button", t.NONE = "none", t))(D || {});
30
+ const Ee = k({
32
31
  name: "bento-listbox-option",
33
32
  props: {
34
33
  /**
@@ -56,13 +55,13 @@ const xe = N({
56
55
  onClick: (c) => {
57
56
  e(o.CLICK, c);
58
57
  },
59
- onOptionSelected: (c, m) => {
60
- e(c, m);
58
+ onOptionSelected: (c, v) => {
59
+ e(c, v);
61
60
  }
62
61
  };
63
62
  }
64
63
  });
65
- var Se = function() {
64
+ var xe = function() {
66
65
  var e = this, l = e._self._c;
67
66
  return e._self._setupProxy, l("label", e._b({ staticClass: "b-listbox-option", class: e.conditionalClasses, attrs: { role: "option" }, on: { click: e.onClick, keydown: [function(s) {
68
67
  return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.onOptionSelected(e.BentoListboxEvent.ENTER, s);
@@ -71,42 +70,42 @@ var Se = function() {
71
70
  }, function(s) {
72
71
  return !s.type.indexOf("key") && e._k(s.keyCode, "tab", 9, s.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, s);
73
72
  }] } }, "label", e.$attrs, !1), [e._t("default")], 2);
74
- }, Ce = [], he = /* @__PURE__ */ R(
73
+ }, ye = [], Se = /* @__PURE__ */ R(
74
+ Ee,
75
75
  xe,
76
- Se,
77
- Ce,
76
+ ye,
78
77
  !1,
79
78
  null,
80
79
  "d7fb415c",
81
80
  null,
82
81
  null
83
82
  );
84
- const w = he.exports;
85
- let H = 0;
86
- const Te = {
83
+ const P = Se.exports;
84
+ let V = 0;
85
+ const Ce = {
87
86
  beforeCreate() {
88
- this.uuid = H.toString(), H += 1;
87
+ this.uuid = V.toString(), V += 1;
89
88
  }
90
89
  };
91
- var Ae = function() {
90
+ var he = function() {
92
91
  var e = this, l = e._self._c;
93
92
  return l("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? l("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), l("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
94
- }, Oe = [], Le = /* @__PURE__ */ R(
95
- Te,
96
- Ae,
97
- Oe,
93
+ }, Le = [], Oe = /* @__PURE__ */ R(
94
+ Ce,
95
+ he,
96
+ Le,
98
97
  !1,
99
98
  null,
100
99
  "4687fbd0",
101
100
  null,
102
101
  null
103
102
  );
104
- const Be = Le.exports, Ie = N({
103
+ const Te = Oe.exports, Ae = k({
105
104
  name: "bento-listbox-single-select-option",
106
105
  components: {
107
- BentoListboxOption: w,
108
- BentoTypography: P,
109
- CheckmarkIcon: Be
106
+ BentoListboxOption: P,
107
+ BentoTypography: $,
108
+ CheckmarkIcon: Te
110
109
  },
111
110
  props: {
112
111
  /**
@@ -128,8 +127,8 @@ const Be = Le.exports, Ie = N({
128
127
  },
129
128
  emits: [o.ENTER, o.SELECT, o.SPACE, o.TAB],
130
129
  setup(t, { emit: e }) {
131
- const l = (m) => {
132
- t.disabled || e(m, t.option.value);
130
+ const l = (v) => {
131
+ t.disabled || e(v, t.option.value);
133
132
  }, s = r(() => t.disabled ? !0 : null), n = r(() => t.selected ? !0 : null), c = r(() => t.disabled ? -1 : 0);
134
133
  return {
135
134
  // Values
@@ -137,14 +136,13 @@ const Be = Le.exports, Ie = N({
137
136
  ariaSelected: n,
138
137
  tabIndex: c,
139
138
  // Enums
140
- BentoTypographyElement: $,
141
139
  BentoListboxEvent: o,
142
140
  // Events
143
141
  onOptionSelected: l
144
142
  };
145
143
  }
146
144
  });
147
- var Re = function() {
145
+ var Ie = function() {
148
146
  var e = this, l = e._self._c;
149
147
  return e._self._setupProxy, l("bento-listbox-option", { staticClass: "b-listbox-single-select-option", attrs: { disabled: e.disabled, selected: e.selected, "aria-selected": e.ariaSelected, "aria-disabled": e.ariaDisabled, tabindex: e.tabIndex }, on: e._d({ click: function(s) {
150
148
  return e.onOptionSelected(e.BentoListboxEvent.SELECT);
@@ -155,25 +153,25 @@ var Re = function() {
155
153
  }, e.BentoListboxEvent.TAB, function(s) {
156
154
  return e.onOptionSelected(e.BentoListboxEvent.TAB);
157
155
  }]) }, [e._t("default", function() {
158
- return [l("span", { staticClass: "b-listbox-single-select-option__text" }, [l("bento-typography", { attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(e._s(e.option.label))]), e.option.description ? l("bento-typography", { staticClass: "b-listbox-single-select-option__description", attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(e.option.description) + " ")]) : e._e()], 1)];
156
+ return [l("span", { staticClass: "b-listbox-single-select-option__text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.option.label))]), e.option.description ? l("bento-typography", { staticClass: "b-listbox-single-select-option__description", attrs: { el: "span" } }, [e._v(" " + e._s(e.option.description) + " ")]) : e._e()], 1)];
159
157
  }, null, e.option), l("span", { staticClass: "b-listbox-single-select-option__check-icon" }, [l("checkmark-icon", { directives: [{ name: "show", rawName: "v-show", value: e.selected, expression: "selected" }], attrs: { "svg-title": "selected" } })], 1)], 2);
160
- }, ke = [], Ne = /* @__PURE__ */ R(
158
+ }, Be = [], Re = /* @__PURE__ */ R(
159
+ Ae,
161
160
  Ie,
162
- Re,
163
- ke,
161
+ Be,
164
162
  !1,
165
163
  null,
166
- "cd2f2938",
164
+ "092ed5ee",
167
165
  null,
168
166
  null
169
167
  );
170
- const De = Ne.exports, q = ({ items: t, isOptionDisabled: e }, l) => {
168
+ const ke = Re.exports, W = ({ items: t, isOptionDisabled: e }, l) => {
171
169
  const s = r(() => t.value.length - 1), n = C(0);
172
- _e(() => {
173
- e && (n.value = t.value.findIndex((v) => !e(v)));
170
+ de(() => {
171
+ e && (n.value = t.value.findIndex((m) => !e(m)));
174
172
  });
175
- const c = (v) => !e || !!e && e(t.value[v]), m = (v) => !e || !!e && !e(t.value[v]), u = (v) => {
176
- switch (v) {
173
+ const c = (m) => !e || !!e && e(t.value[m]), v = (m) => !e || !!e && !e(t.value[m]), u = (m) => {
174
+ switch (m) {
177
175
  case "increase":
178
176
  n.value += 1;
179
177
  break;
@@ -181,27 +179,27 @@ const De = Ne.exports, q = ({ items: t, isOptionDisabled: e }, l) => {
181
179
  n.value -= 1;
182
180
  break;
183
181
  }
184
- }, d = ({ edgeCaseItem: v, isItemBeforeEdgeCaseItem: A }, O, T) => {
185
- n.value !== v && (A ? m(v) && u(T) : (u(T), c(n.value) && O()), l(n.value));
182
+ }, d = ({ edgeCaseItem: m, isItemBeforeEdgeCaseItem: O }, T, L) => {
183
+ n.value !== m && (O ? v(m) && u(L) : (u(L), c(n.value) && T()), l(n.value));
186
184
  }, _ = () => {
187
- const v = n.value === s.value - 2;
185
+ const m = n.value === s.value - 2;
188
186
  d(
189
187
  {
190
- isItemBeforeEdgeCaseItem: v,
188
+ isItemBeforeEdgeCaseItem: m,
191
189
  edgeCaseItem: s.value
192
190
  },
193
191
  _,
194
192
  "increase"
195
193
  /* INCREASE */
196
194
  );
197
- }, y = () => {
198
- const v = n.value === 1;
195
+ }, x = () => {
196
+ const m = n.value === 1;
199
197
  d(
200
198
  {
201
199
  edgeCaseItem: 0,
202
- isItemBeforeEdgeCaseItem: v
200
+ isItemBeforeEdgeCaseItem: m
203
201
  },
204
- y,
202
+ x,
205
203
  "decrease"
206
204
  /* DECREASE */
207
205
  );
@@ -211,17 +209,17 @@ const De = Ne.exports, q = ({ items: t, isOptionDisabled: e }, l) => {
211
209
  n.value = 0, c(n.value) ? _() : l(n.value);
212
210
  },
213
211
  moveToLastElement: () => {
214
- n.value = s.value, c(n.value) ? y() : l(n.value);
212
+ n.value = s.value, c(n.value) ? x() : l(n.value);
215
213
  },
216
214
  moveToNextElement: _,
217
- moveToPreviousElement: y
215
+ moveToPreviousElement: x
218
216
  };
219
- }, Pe = N({
217
+ }, De = k({
220
218
  name: "bento-listbox-single-select",
221
219
  components: {
222
- BentoListboxSingleSelectOption: De
220
+ BentoListboxSingleSelectOption: ke
223
221
  },
224
- directives: { BentoKeyboardNavigationDirective: U },
222
+ directives: { BentoKeyboardNavigationDirective: G },
225
223
  inheritAttrs: !1,
226
224
  props: {
227
225
  /**
@@ -260,17 +258,17 @@ const De = Ne.exports, q = ({ items: t, isOptionDisabled: e }, l) => {
260
258
  },
261
259
  emits: [o.SELECT, o.ENTER, o.SPACE, o.TAB],
262
260
  setup(t, { emit: e, slots: l }) {
263
- const s = C([]), n = (x) => (v) => {
264
- e(x, v);
265
- }, c = (x) => s.value[x].$el.focus(), { moveToNextElement: m, moveToPreviousElement: u, moveToFirstElement: d, moveToLastElement: _ } = q(
261
+ const s = C([]), n = (y) => (m) => {
262
+ e(y, m);
263
+ }, c = (y) => s.value[y].$el.focus(), { moveToNextElement: v, moveToPreviousElement: u, moveToFirstElement: d, moveToLastElement: _ } = W(
266
264
  {
267
- items: be(t, "items"),
265
+ items: _e(t, "items"),
268
266
  isOptionDisabled: t.isOptionDisabled
269
267
  },
270
268
  c
271
- ), y = {
269
+ ), x = {
272
270
  [h.ARROW_UP]: u,
273
- [h.ARROW_DOWN]: m,
271
+ [h.ARROW_DOWN]: v,
274
272
  [h.HOME]: d,
275
273
  [h.END]: _
276
274
  }, E = {
@@ -288,46 +286,46 @@ const De = Ne.exports, q = ({ items: t, isOptionDisabled: e }, l) => {
288
286
  // Methods
289
287
  onOptionSelected: n,
290
288
  // Keyboard navigation
291
- listboxListeners: y,
289
+ listboxListeners: x,
292
290
  listboxOptionListeners: E
293
291
  };
294
292
  }
295
293
  });
296
- var $e = function() {
294
+ var Ne = function() {
297
295
  var e = this, l = e._self._c;
298
296
  return e._self._setupProxy, l("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }] }, e.listboxListeners), e._l(e.items, function(s) {
299
297
  return l("bento-listbox-single-select-option", e._g({ key: s.value, ref: "listboxItemRef", refInFor: !0, attrs: { role: "option", option: s, disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null, selected: s.value === e.selectedValue }, scopedSlots: e._u([e._l(e.slots, function(n, c) {
300
- return { key: c, fn: function(m) {
301
- return [e._t(c, null, null, m)];
298
+ return { key: c, fn: function(v) {
299
+ return [e._t(c, null, null, v)];
302
300
  } };
303
301
  })], null, !0) }, e.listboxOptionListeners));
304
302
  }), 1);
305
- }, we = [], Me = /* @__PURE__ */ R(
306
- Pe,
303
+ }, $e = [], Pe = /* @__PURE__ */ R(
304
+ De,
305
+ Ne,
307
306
  $e,
308
- we,
309
307
  !1,
310
308
  null,
311
309
  null,
312
310
  null,
313
311
  null
314
312
  );
315
- const Fe = Me.exports;
316
- var z = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t))(z || {}), D = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.UNSELECT_CATEGORY = "unselect-category", t))(D || {});
317
- const Ge = {
313
+ const we = Pe.exports;
314
+ var q = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t))(q || {}), N = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.UNSELECT_CATEGORY = "unselect-category", t))(N || {});
315
+ const Me = {
318
316
  "en-US": {
319
317
  categoryClosed: "{category} closed",
320
318
  categoryOpened: "{category} opened"
321
319
  }
322
- }, Ue = N({
323
- i18n: { messages: Ge },
320
+ }, Fe = k({
321
+ i18n: { messages: Me },
324
322
  name: "bento-listbox-multi-select-category",
325
323
  components: {
326
- BentoCheckbox: Y,
327
- BentoTypography: P,
328
- BentoListboxOption: w,
329
- ChevronDownIcon: pe,
330
- ChevronUpIcon: Ee
324
+ BentoCheckbox: U,
325
+ BentoTypography: $,
326
+ BentoListboxOption: P,
327
+ ChevronDownIcon: fe,
328
+ ChevronUpIcon: ge
331
329
  },
332
330
  props: {
333
331
  /**
@@ -364,24 +362,24 @@ const Ge = {
364
362
  default: () => []
365
363
  }
366
364
  },
367
- emits: [D.SELECT_CATEGORY, D.UNSELECT_CATEGORY],
365
+ emits: [N.SELECT_CATEGORY, N.UNSELECT_CATEGORY],
368
366
  setup(t, { emit: e }) {
369
- const l = C(!1), { t: s } = G(), n = (f) => t.isOptionDisabled ? t.isOptionDisabled(f) : !1, c = r(
367
+ const l = C(!1), { t: s } = F(), n = (f) => t.isOptionDisabled ? t.isOptionDisabled(f) : !1, c = r(
370
368
  () => t.category.items.every((f) => n(f))
371
- ), m = r(() => ({
372
- [`b-listbox-multi-select-category--${z.DISABLED}`]: c.value
369
+ ), v = r(() => ({
370
+ [`b-listbox-multi-select-category--${q.DISABLED}`]: c.value
373
371
  })), u = (f) => {
374
372
  f.preventDefault(), l.value = !l.value;
375
373
  }, d = (f) => {
376
- var L;
377
- const S = n(f), p = ((L = t.selectedItemsList) == null ? void 0 : L.includes(f.value)) || !1;
374
+ var A;
375
+ const S = n(f), p = ((A = t.selectedItemsList) == null ? void 0 : A.includes(f.value)) || !1;
378
376
  return { isDisabled: S, isPreSelected: p };
379
377
  }, _ = r(
380
378
  () => t.category.items.filter((f) => {
381
379
  const { isDisabled: S, isPreSelected: p } = d(f);
382
380
  return S && p || !S;
383
381
  })
384
- ), y = r(
382
+ ), x = r(
385
383
  () => {
386
384
  var f;
387
385
  return (f = _.value) == null ? void 0 : f.filter(
@@ -394,56 +392,54 @@ const Ge = {
394
392
  ), E = r(() => {
395
393
  const f = l.value ? "categoryOpened" : "categoryClosed";
396
394
  return s(f, { category: t.category.label });
397
- }), x = () => {
398
- e(D.SELECT_CATEGORY);
399
- }, v = () => {
400
- e(D.UNSELECT_CATEGORY);
401
- }, { isAllSelected: A, isIndeterminate: O, toggleSelectAll: T } = W(
402
- y,
403
- _,
395
+ }), y = () => {
396
+ e(N.SELECT_CATEGORY);
397
+ }, m = () => {
398
+ e(N.UNSELECT_CATEGORY);
399
+ }, { isAllSelected: O, isIndeterminate: T, toggleSelectAll: L } = K(
404
400
  x,
405
- v
401
+ _,
402
+ y,
403
+ m
406
404
  );
407
405
  return {
408
406
  // Values
409
407
  chevronTitle: E,
410
- conditionalClass: m,
408
+ conditionalClass: v,
411
409
  hasAllPropsDisabled: c,
412
410
  isOpen: l,
413
- isAllSelected: A,
414
- isIndeterminate: O,
415
- // Enums
416
- BentoTypographyElement: $,
411
+ isAllSelected: O,
412
+ isIndeterminate: T,
417
413
  // Methods
418
414
  toggleOpen: u,
419
- toggleSelectAll: T
415
+ toggleSelectAll: L
420
416
  };
421
417
  }
422
418
  });
423
- var Ye = function() {
419
+ var Ge = function() {
424
420
  var e = this, l = e._self._c;
425
- return e._self._setupProxy, l("div", [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-category__option", class: e.conditionalClass }, [l("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 } }), l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(e.category.label) + " ")]), l("div", { staticClass: "b-listbox-multi-select-category__label-chevron", attrs: { "data-testid": "toggle-listbox" }, on: { "!click": function(s) {
421
+ return e._self._setupProxy, l("div", [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-category__option", class: e.conditionalClass }, [l("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 } }), l("span", { staticClass: "b-listbox-multi-select-category__label" }, [l("bento-typography", { staticClass: "b-listbox-multi-select-category__label-text", attrs: { el: "span" } }, [e._v(" " + e._s(e.category.label) + " ")]), l("div", { staticClass: "b-listbox-multi-select-category__label-chevron", attrs: { "data-testid": "toggle-listbox" }, on: { "!click": function(s) {
426
422
  return e.toggleOpen.apply(null, arguments);
427
423
  } } }, [e.isOpen ? l("chevron-up-icon", { attrs: { "svg-title": e.chevronTitle } }) : l("chevron-down-icon", { attrs: { "svg-title": e.chevronTitle } })], 1)], 1)], 1), l("div", { directives: [{ name: "show", rawName: "v-show", value: e.isOpen, expression: "isOpen" }] }, [e._t("default")], 2)], 1);
428
- }, Ve = [], He = /* @__PURE__ */ R(
424
+ }, Ue = [], Ye = /* @__PURE__ */ R(
425
+ Fe,
426
+ Ge,
429
427
  Ue,
430
- Ye,
431
- Ve,
432
428
  !1,
433
429
  null,
434
- "37db1b68",
430
+ "360ce3ac",
435
431
  null,
436
432
  null
437
433
  );
438
- const Ke = He.exports;
439
- var I = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", t.UNSELECT_CATEGORY = "unselect-category", t))(I || {});
440
- const We = N({
434
+ const Ve = Ye.exports;
435
+ var B = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", t.UNSELECT_CATEGORY = "unselect-category", t))(B || {});
436
+ const He = k({
441
437
  name: "listbox-multi-select-options",
442
438
  components: {
443
- BentoCheckbox: Y,
444
- BentoListboxOption: w,
445
- BentoTypography: P,
446
- ListboxMultiSelectCategory: Ke
439
+ BentoCheckbox: U,
440
+ BentoListboxOption: P,
441
+ BentoTypography: $,
442
+ ListboxMultiSelectCategory: Ve
447
443
  },
448
444
  props: {
449
445
  /**
@@ -497,19 +493,19 @@ const We = N({
497
493
  }
498
494
  },
499
495
  emits: [
500
- I.TOGGLE_CHECKBOX_SELECTION,
501
- I.SELECT_CATEGORY,
502
- I.UNSELECT_CATEGORY
496
+ B.TOGGLE_CHECKBOX_SELECTION,
497
+ B.SELECT_CATEGORY,
498
+ B.UNSELECT_CATEGORY
503
499
  ],
504
500
  setup(t, { emit: e }) {
505
501
  const l = (d) => {
506
- e(I.TOGGLE_CHECKBOX_SELECTION, d);
502
+ e(B.TOGGLE_CHECKBOX_SELECTION, d);
507
503
  }, s = (d) => !!d.items, n = (d) => {
508
504
  const _ = t.isMultiLevel && t.searching;
509
505
  return d.description && (!t.isMultiLevel || _);
510
- }, c = (d) => d.items ? !!d.items.find((_) => t.selectedItemsList.includes(_.value)) : t.selectedItemsList.includes(d.value), m = (d, _) => {
506
+ }, c = (d) => d.items ? !!d.items.find((_) => t.selectedItemsList.includes(_.value)) : t.selectedItemsList.includes(d.value), v = (d, _) => {
511
507
  if (s(_))
512
- return e(d ? I.SELECT_CATEGORY : I.UNSELECT_CATEGORY, _);
508
+ return e(d ? B.SELECT_CATEGORY : B.UNSELECT_CATEGORY, _);
513
509
  l(_.value);
514
510
  };
515
511
  return {
@@ -522,19 +518,18 @@ const We = N({
522
518
  isOptionSelected: c,
523
519
  shouldShowDescription: n,
524
520
  toggleCheckboxSelection: l,
525
- selectSearch: m,
521
+ selectSearch: v,
526
522
  // Enums
527
523
  BentoListboxEvent: o,
528
- BentoTypographyElement: $,
529
- ListboxMultiSelectOptionsEvent: I
524
+ ListboxMultiSelectOptionsEvent: B
530
525
  };
531
526
  }
532
527
  });
533
- var qe = function() {
528
+ var Ke = function() {
534
529
  var e = this, l = e._self._c;
535
530
  return e._self._setupProxy, l("div", e._l(e.items, function(s) {
536
531
  return l("div", { key: `selected-${s.value}` }, [e.searching && e.isMultiLevel ? [l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null } }, [l("bento-checkbox", { attrs: { "model-value": e.isOptionSelected(s), "aria-label": s.label, disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null, value: s.value }, on: { "update:model-value": (n) => e.selectSearch(n, s) } }), e._t("default", function() {
537
- return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(e._s(s.label))]), e.shouldShowDescription(s) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(s.description) + " ")]) : e._e()], 1)];
532
+ return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(s.label))]), e.shouldShowDescription(s) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(s.description) + " ")]) : e._e()], 1)];
538
533
  }, null, s)], 2)] : [s.items ? [l("listbox-multi-select-category", { attrs: { category: s, "is-option-disabled": e.isOptionDisabled, "selected-items-list": e.selectedItemsList }, on: { "select-category": function(n) {
539
534
  return e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, s);
540
535
  }, "unselect-category": function(n) {
@@ -542,35 +537,35 @@ var qe = function() {
542
537
  } } }, [l("listbox-multi-select-options", { attrs: { "category-items": "", items: s.items, "is-option-disabled": e.isOptionDisabled, "is-multi-level": e.isMultiLevel, "selected-items-list": e.selectedItemsList, searching: e.searching }, on: { "toggle-checkbox-selection": (n) => e.toggleCheckboxSelection(n) } })], 1)] : l("bento-listbox-option", { staticClass: "b-listbox-multi-select-options", class: e.conditionalClasses, attrs: { disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null } }, [l("bento-checkbox", { attrs: { "model-value": e.selectedItemsList, "aria-label": s.label, disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null, value: s.value }, on: { "update:model-value": function(n) {
543
538
  return e.toggleCheckboxSelection(s.value);
544
539
  } } }), e._t("default", function() {
545
- return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(e._s(s.label))]), e.shouldShowDescription(s) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(s.description) + " ")]) : e._e()], 1)];
540
+ return [l("span", { staticClass: "b-listbox-multi-select__option-text" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(s.label))]), e.shouldShowDescription(s) ? l("bento-typography", { staticClass: "b-listbox-multi-select__option-description", attrs: { el: "span" } }, [e._v(" " + e._s(s.description) + " ")]) : e._e()], 1)];
546
541
  }, null, s)], 2)]], 2);
547
542
  }), 0);
548
- }, ze = [], je = /* @__PURE__ */ R(
543
+ }, We = [], qe = /* @__PURE__ */ R(
544
+ He,
545
+ Ke,
549
546
  We,
550
- qe,
551
- ze,
552
547
  !1,
553
548
  null,
554
- "e5e8e294",
549
+ "23f75bdb",
555
550
  null,
556
551
  null
557
552
  );
558
- const Xe = je.exports, Ze = {
553
+ const ze = qe.exports, je = {
559
554
  "en-US": {
560
555
  allSelected: "All selected ({total})",
561
556
  numberOfTotalSelected: "{number} of {total} selected",
562
557
  selectAll: "Select all ({total})"
563
558
  }
564
- }, Je = N({
565
- i18n: { messages: Ze },
559
+ }, Xe = k({
560
+ i18n: { messages: je },
566
561
  name: "bento-listbox-multi-select",
567
562
  components: {
568
- BentoCheckbox: Y,
569
- BentoListboxOption: w,
570
- BentoTypography: P,
571
- ListboxMultiSelectOptions: Xe
563
+ BentoCheckbox: U,
564
+ BentoListboxOption: P,
565
+ BentoTypography: $,
566
+ ListboxMultiSelectOptions: ze
572
567
  },
573
- directives: { BentoKeyboardNavigationDirective: U },
568
+ directives: { BentoKeyboardNavigationDirective: G },
574
569
  props: {
575
570
  /**
576
571
  * Function that allows the options to be disabled
@@ -614,8 +609,8 @@ const Xe = je.exports, Ze = {
614
609
  },
615
610
  emits: [o.SELECT],
616
611
  setup(t, { emit: e, slots: l }) {
617
- const { t: s } = G(), n = C(null), c = C(null), m = C(null), u = C();
618
- me(
612
+ const { t: s } = F(), n = C(null), c = C(null), v = C(null), u = C();
613
+ be(
619
614
  () => t.selectedValues,
620
615
  () => {
621
616
  u.value = [...t.selectedValues ?? []];
@@ -624,136 +619,135 @@ const Xe = je.exports, Ze = {
624
619
  immediate: !0
625
620
  }
626
621
  );
627
- const d = r(() => !!t.items.find(({ items: i }) => !!i)), _ = r(() => d.value ? t.items.reduce((i, a) => (a.items ? i.push(...a.items.flat()) : i.push(a), i), []) : t.items), y = (i) => {
622
+ const d = r(() => !!t.items.find(({ items: i }) => !!i)), _ = r(() => d.value ? t.items.reduce((i, a) => (a.items ? i.push(...a.items.flat()) : i.push(a), i), []) : t.items), x = (i) => {
628
623
  var b;
629
624
  const a = t.isOptionDisabled(i), g = ((b = u.value) == null ? void 0 : b.includes(i.value)) || !1;
630
625
  return { isDisabled: a, isPreSelected: g };
631
626
  }, E = r(
632
627
  () => t.searching && d ? t.items : _.value.filter((i) => {
633
- const { isDisabled: a, isPreSelected: g } = y(i);
628
+ const { isDisabled: a, isPreSelected: g } = x(i);
634
629
  return a && g || !a;
635
630
  })
636
- ), x = r(
631
+ ), y = r(
637
632
  () => {
638
633
  var i;
639
634
  return (i = E.value) == null ? void 0 : i.filter((a) => {
640
635
  var g;
641
636
  return a.items && d.value && t.searching ? a.items.filter(
642
- (B) => (t.selectedValues ?? []).includes(
643
- B.value
637
+ (I) => (t.selectedValues ?? []).includes(
638
+ I.value
644
639
  )
645
640
  ).length === a.items.length : (g = u.value) == null ? void 0 : g.includes(a.value);
646
641
  });
647
642
  }
648
- ), v = () => d.value && !t.searching ? E.value.length : t.items.length, A = r(() => {
643
+ ), m = () => d.value && !t.searching ? E.value.length : t.items.length, O = r(() => {
649
644
  var g;
650
- const i = v(), a = ((g = x.value) == null ? void 0 : g.length) || 0;
645
+ const i = m(), a = ((g = y.value) == null ? void 0 : g.length) || 0;
651
646
  return a === 0 ? s("selectAll", { total: i }) : a === i ? s("allSelected", { total: i }) : s("numberOfTotalSelected", { number: a, total: i });
652
- }), O = (i) => {
647
+ }), T = (i) => {
653
648
  const a = (b) => {
654
- const { isDisabled: B, isPreSelected: F } = y(b);
655
- return B && F || !B;
649
+ const { isDisabled: I, isPreSelected: M } = x(b);
650
+ return I && M || !I;
656
651
  }, g = i.filter(a).filter((b) => !u.value.includes(b.value)).map(({ value: b }) => b);
657
652
  u.value = [...u.value, ...g], e(o.SELECT, u.value);
658
- }, T = (i) => {
653
+ }, L = (i) => {
659
654
  const a = (b) => {
660
- const { isDisabled: B, isPreSelected: F } = y(b);
661
- return !(B && F);
655
+ const { isDisabled: I, isPreSelected: M } = x(b);
656
+ return !(I && M);
662
657
  }, g = i.filter(a).map(({ value: b }) => b);
663
658
  u.value = u.value.filter((b) => !(g != null && g.includes(b))), e(o.SELECT, u.value);
664
659
  }, f = () => {
665
- O(_.value);
666
- }, S = () => {
667
660
  T(_.value);
668
- }, { isAllSelected: p, isIndeterminate: L, toggleSelectAll: j } = W(
669
- x,
661
+ }, S = () => {
662
+ L(_.value);
663
+ }, { isAllSelected: p, isIndeterminate: A, toggleSelectAll: z } = K(
664
+ y,
670
665
  E,
671
666
  f,
672
667
  S
673
- ), X = (i) => {
674
- O(i.items);
675
- }, Z = (i) => {
668
+ ), j = (i) => {
676
669
  T(i.items);
677
- }, J = (i, a) => {
670
+ }, X = (i) => {
671
+ L(i.items);
672
+ }, Z = (i, a) => {
678
673
  let g = !1;
679
674
  u.value = u.value.filter((b) => a === b ? (g = !0, !1) : !0), g || u.value.push(a), e(i, u.value);
680
- }, M = r(() => {
681
- const i = (b) => u.value.includes(b.value), a = (b) => !!b.find((B) => i(B));
675
+ }, w = r(() => {
676
+ const i = (b) => u.value.includes(b.value), a = (b) => !!b.find((I) => i(I));
682
677
  return t.items.filter((b) => b.items && a(b.items) ? !0 : i(b));
683
- }), Q = r(() => {
678
+ }), J = r(() => {
684
679
  var i;
685
- return ((i = M.value) == null ? void 0 : i.length) > 0;
686
- }), ee = r(
680
+ return ((i = w.value) == null ? void 0 : i.length) > 0;
681
+ }), Q = r(
687
682
  () => {
688
683
  var i, a;
689
- return ((i = x.value) == null ? void 0 : i.length) === ((a = _.value) == null ? void 0 : a.length);
684
+ return ((i = y.value) == null ? void 0 : i.length) === ((a = _.value) == null ? void 0 : a.length);
690
685
  }
691
- ), te = r(
686
+ ), ee = r(
692
687
  () => n.value ? [n.value] : []
693
- ), se = r(
688
+ ), te = r(
694
689
  () => {
695
690
  var i, a;
696
691
  return (a = (i = c.value) == null ? void 0 : i.$children) != null && a.length ? c.value.$children : [];
697
692
  }
698
- ), le = r(
693
+ ), se = r(
699
694
  () => {
700
695
  var i, a;
701
- return (a = (i = m.value) == null ? void 0 : i.$children) != null && a.length ? m.value.$children : [];
696
+ return (a = (i = v.value) == null ? void 0 : i.$children) != null && a.length ? v.value.$children : [];
702
697
  }
703
- ), ne = r(() => ({ label: A, value: p })), oe = r(() => [
704
- ne,
705
- ...M.value,
698
+ ), le = r(() => ({ label: O, value: p })), ne = r(() => [
699
+ le,
700
+ ...w.value,
706
701
  ..._.value
707
- ]), ie = (i) => {
702
+ ]), oe = (i) => {
708
703
  [
704
+ ...ee.value,
709
705
  ...te.value,
710
- ...se.value,
711
- ...le.value
706
+ ...se.value
712
707
  ][i].$el.focus();
713
- }, { moveToNextElement: ae, moveToPreviousElement: ce, moveToFirstElement: re, moveToLastElement: ue } = q(
708
+ }, { moveToNextElement: ie, moveToPreviousElement: ae, moveToFirstElement: ce, moveToLastElement: re } = W(
714
709
  {
715
- items: C(oe),
710
+ items: C(ne),
716
711
  isOptionDisabled: t.isOptionDisabled
717
712
  },
718
- ie
719
- ), de = {
720
- [h.ARROW_UP]: ce,
721
- [h.ARROW_DOWN]: ae,
722
- [h.HOME]: re,
723
- [h.END]: ue
713
+ oe
714
+ ), ue = {
715
+ [h.ARROW_UP]: ae,
716
+ [h.ARROW_DOWN]: ie,
717
+ [h.HOME]: ce,
718
+ [h.END]: re
724
719
  };
725
720
  return {
726
721
  // Refs
727
722
  selectAllListboxItemsRef: n,
728
723
  selectedListboxItemsRef: c,
729
- listboxItemsRef: m,
724
+ listboxItemsRef: v,
730
725
  // Values
731
726
  isAllSelected: p,
732
- isAllItemsIncludingDisabled: ee,
733
- isAnOptionSelected: Q,
734
- isIndeterminate: L,
727
+ isAllItemsIncludingDisabled: Q,
728
+ isAnOptionSelected: J,
729
+ isIndeterminate: A,
735
730
  isMultiLevelSelect: d,
736
731
  flattenedItemsList: _,
737
732
  selectedItemsList: u,
738
- selectAllCheckboxText: A,
739
- selectedOptions: M,
733
+ selectAllCheckboxText: O,
734
+ selectedOptions: w,
740
735
  slots: l,
741
736
  // Enums
742
- BentoTypographyElement: $,
743
737
  BentoListboxEvent: o,
744
738
  // Methods
745
- selectAllCategory: X,
746
- toggleCheckboxSelection: J,
747
- toggleSelectAll: j,
748
- unselectAllCategory: Z,
739
+ selectAllCategory: j,
740
+ toggleCheckboxSelection: Z,
741
+ toggleSelectAll: z,
742
+ unselectAllCategory: X,
749
743
  // Events
750
- listboxListeners: de
744
+ listboxListeners: ue
751
745
  };
752
746
  }
753
747
  });
754
- var Qe = function() {
748
+ var Ze = function() {
755
749
  var e = this, l = e._self._c;
756
- return e._self._setupProxy, l("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select" }, e.listboxListeners), [l("bento-listbox-option", { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option" }, [l("bento-checkbox", { attrs: { "aria-label": e.selectAllCheckboxText, "model-value": e.isAllSelected, indeterminate: e.isIndeterminate }, on: { "update:model-value": e.toggleSelectAll } }), l("bento-typography", { attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(e.selectAllCheckboxText) + " ")])], 1), e.isAnOptionSelected ? l("div", [l("hr", { staticClass: "b-listbox-multi-select__divider" }), l("listbox-multi-select-options", { ref: "selectedListboxItemsRef", attrs: { items: e.selectedOptions, "is-option-disabled": e.isOptionDisabled, "is-multi-level": e.isMultiLevelSelect, searching: e.searching, "selected-items-list": e.selectedItemsList }, on: e._d({ "select-category": e.selectAllCategory, "unselect-category": e.unselectAllCategory, "toggle-checkbox-selection": function(s) {
750
+ return e._self._setupProxy, l("div", e._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], staticClass: "b-listbox-multi-select" }, e.listboxListeners), [l("bento-listbox-option", { ref: "selectAllListboxItemsRef", staticClass: "b-listbox-multi-select__option" }, [l("bento-checkbox", { attrs: { "aria-label": e.selectAllCheckboxText, "model-value": e.isAllSelected, indeterminate: e.isIndeterminate }, on: { "update:model-value": e.toggleSelectAll } }), l("bento-typography", { attrs: { el: "span" } }, [e._v(" " + e._s(e.selectAllCheckboxText) + " ")])], 1), e.isAnOptionSelected ? l("div", [l("hr", { staticClass: "b-listbox-multi-select__divider" }), l("listbox-multi-select-options", { ref: "selectedListboxItemsRef", attrs: { items: e.selectedOptions, "is-option-disabled": e.isOptionDisabled, "is-multi-level": e.isMultiLevelSelect, searching: e.searching, "selected-items-list": e.selectedItemsList }, on: e._d({ "select-category": e.selectAllCategory, "unselect-category": e.unselectAllCategory, "toggle-checkbox-selection": function(s) {
757
751
  return e.toggleCheckboxSelection(e.BentoListboxEvent.SELECT, s);
758
752
  } }, [e.BentoListboxEvent.SPACE, function(s) {
759
753
  return e.toggleCheckboxSelection(e.BentoListboxEvent.SPACE, s);
@@ -778,32 +772,32 @@ var Qe = function() {
778
772
  return [e._t(n, null, null, c)];
779
773
  } };
780
774
  })], null, !0) })], 1)], 1);
781
- }, et = [], tt = /* @__PURE__ */ R(
775
+ }, Je = [], Qe = /* @__PURE__ */ R(
776
+ Xe,
777
+ Ze,
782
778
  Je,
783
- Qe,
784
- et,
785
779
  !1,
786
780
  null,
787
- "011ec278",
781
+ "70173dcf",
788
782
  null,
789
783
  null
790
784
  );
791
- const K = tt.exports, st = {
785
+ const H = Qe.exports, et = {
792
786
  "en-US": {
793
787
  showMore: "Show more",
794
788
  loading: "Loading"
795
789
  }
796
- }, lt = N({
790
+ }, tt = k({
797
791
  name: "bento-listbox",
798
792
  components: {
799
- BentoListboxSingleSelect: Fe,
800
- BentoListboxMultiSelect: K,
801
- BentoTypography: P,
793
+ BentoListboxSingleSelect: we,
794
+ BentoListboxMultiSelect: H,
795
+ BentoTypography: $,
802
796
  BentoLoadingIndicator: ve,
803
- BentoLoadingButton: ye
797
+ BentoLoadingButton: pe
804
798
  },
805
- directives: { BentoKeyboardNavigationDirective: U },
806
- i18n: { messages: st },
799
+ directives: { BentoKeyboardNavigationDirective: G },
800
+ i18n: { messages: et },
807
801
  props: {
808
802
  /**
809
803
  * Defines a string value that labels an interactive element.
@@ -852,8 +846,8 @@ const K = tt.exports, st = {
852
846
  */
853
847
  lazyLoadType: {
854
848
  type: String,
855
- default: k.NONE,
856
- validator: (t) => Object.values(k).includes(t)
849
+ default: D.NONE,
850
+ validator: (t) => Object.values(D).includes(t)
857
851
  },
858
852
  /**
859
853
  * If enabled, the user will be able to select multiple items.
@@ -869,7 +863,7 @@ const K = tt.exports, st = {
869
863
  *
870
864
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
871
865
  */
872
- searching: K.props.searching,
866
+ searching: H.props.searching,
873
867
  /**
874
868
  * The `input` value.
875
869
  * Providing an empty string or empty array will select no options.
@@ -889,26 +883,26 @@ const K = tt.exports, st = {
889
883
  o.TAB
890
884
  ],
891
885
  setup(t, { emit: e, slots: l }) {
892
- const { t: s } = G(), n = C(null), c = C([]), m = r(() => t.lazyLoadType !== k.AUTOMATIC), u = r(() => t.lazyLoadType === k.AUTOMATIC), d = r(
893
- () => m.value ? "true" : void 0
886
+ const { t: s } = F(), n = C(null), c = C([]), v = r(() => t.lazyLoadType !== D.AUTOMATIC), u = r(() => t.lazyLoadType === D.AUTOMATIC), d = r(
887
+ () => v.value ? "true" : void 0
894
888
  ), _ = r(
895
- () => m.value && t.loading ? "true" : "false"
896
- ), y = r(
897
- () => m.value ? "polite" : void 0
898
- ), E = (p) => (L) => {
899
- e(p, L);
900
- }, x = () => {
889
+ () => v.value && t.loading ? "true" : "false"
890
+ ), x = r(
891
+ () => v.value ? "polite" : void 0
892
+ ), E = (p) => (A) => {
893
+ e(p, A);
894
+ }, y = () => {
901
895
  e(o.SHOW_MORE);
902
- }, v = ge(() => {
903
- const p = n.value, L = p.scrollTop + p.clientHeight >= p.scrollHeight;
904
- t.hasMoreItems && L && !t.loading && x();
905
- }), A = r(() => {
896
+ }, m = me(() => {
897
+ const p = n.value, A = p.scrollTop + p.clientHeight >= p.scrollHeight;
898
+ t.hasMoreItems && A && !t.loading && y();
899
+ }), O = r(() => {
906
900
  var p;
907
901
  return t.searching && ((p = t.items) == null ? void 0 : p.length) === 0;
908
- }), O = r(
909
- () => t.lazyLoadType === k.BUTTON && t.hasMoreItems
910
- ), T = r(
911
- () => t.loading ? V.LOADING : V.START
902
+ }), T = r(
903
+ () => t.lazyLoadType === D.BUTTON && t.hasMoreItems
904
+ ), L = r(
905
+ () => t.loading ? Y.LOADING : Y.START
912
906
  ), f = r(() => t.loading ? s("loading") : s("showMore")), S = {
913
907
  [o.SELECT]: E(o.SELECT),
914
908
  [o.SPACE]: E(o.SPACE),
@@ -922,31 +916,28 @@ const K = tt.exports, st = {
922
916
  // a11y
923
917
  ariaAtomic: d,
924
918
  ariaBusy: _,
925
- ariaLive: y,
919
+ ariaLive: x,
926
920
  // Values
927
921
  hasAutomaticLazyLoader: u,
928
- isSearchResultEmpty: A,
929
- loadingButtonState: T,
922
+ isSearchResultEmpty: O,
923
+ loadingButtonState: L,
930
924
  slots: l,
931
- shouldDisplayShowMoreButton: O,
925
+ shouldDisplayShowMoreButton: T,
932
926
  showMoreButtonText: f,
933
927
  // Enums
934
- BentoTypographyElement: $,
935
- BentoButtonVariant: fe,
936
- BentoListboxLazyLoadType: k,
937
928
  BentoKeyboardNavigationKeyDownEvent: h,
938
929
  BentoListboxEvent: o,
939
930
  // Methods
940
931
  onOptionSelected: E,
941
- emitShowMoreOnScrollEnd: v,
942
- emitShowMore: x,
932
+ emitShowMoreOnScrollEnd: m,
933
+ emitShowMore: y,
943
934
  listboxListeners: S
944
935
  };
945
936
  }
946
937
  });
947
- var nt = function() {
938
+ var st = function() {
948
939
  var e = this, l = e._self._c;
949
- return e._self._setupProxy, l("div", { directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", 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.hasAutomaticLazyLoader ? e.emitShowMoreOnScrollEnd() : void 0 } }, [e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [l("bento-typography", { attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g({ ref: "listboxItemRef", attrs: { items: e.items, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(s, n) {
940
+ return e._self._setupProxy, l("div", { directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", 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.hasAutomaticLazyLoader ? e.emitShowMoreOnScrollEnd() : void 0 } }, [e.isSearchResultEmpty ? l("div", { staticClass: "b-listbox__empty-search-message" }, [l("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [l("bento-listbox-multi-select", e._g({ ref: "listboxItemRef", attrs: { items: e.items, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(s, n) {
950
941
  return { key: n, fn: function(c) {
951
942
  return [e._t(n, null, null, c)];
952
943
  } };
@@ -954,22 +945,24 @@ var nt = function() {
954
945
  return { key: n, fn: function(c) {
955
946
  return [e._t(n, null, null, c)];
956
947
  } };
957
- })], null, !0) }, e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: e.BentoButtonVariant.SECONDARY }, on: { click: e.emitShowMore } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-indicator")], 1) : e._e()]], 2);
958
- }, ot = [], it = /* @__PURE__ */ R(
948
+ })], null, !0) }, e.listboxListeners))], e.shouldDisplayShowMoreButton ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-button", { attrs: { state: e.loadingButtonState, variant: "secondary" }, on: { "!click": function(s) {
949
+ return e.emitShowMore.apply(null, arguments);
950
+ } } }, [e._v(" " + e._s(e.showMoreButtonText) + " ")])], 1) : e.loading ? l("div", { staticClass: "b-listbox__lazy-load" }, [l("bento-loading-indicator")], 1) : e._e()]], 2);
951
+ }, lt = [], nt = /* @__PURE__ */ R(
952
+ tt,
953
+ st,
959
954
  lt,
960
- nt,
961
- ot,
962
955
  !1,
963
956
  null,
964
- "62a0d103",
957
+ "0bc89a2b",
965
958
  null,
966
959
  null
967
960
  );
968
- const gt = it.exports;
961
+ const vt = nt.exports;
969
962
  export {
970
- gt as B,
971
- Be as C,
963
+ vt as B,
964
+ Te as C,
972
965
  o as a,
973
- k as b
966
+ D as b
974
967
  };
975
- //# sourceMappingURL=listbox.116ed0c1.js.map
968
+ //# sourceMappingURL=listbox.e792d2d6.js.map