@adyen/bento-vue3 1.32.0 → 1.33.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 (593) hide show
  1. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +5 -5
  2. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +6 -6
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +8 -8
  4. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +8 -8
  5. package/dist/@types/packages/vue2/src/components/avatar/avatar.vue.d.ts +6 -6
  6. package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.vue.d.ts +8 -8
  7. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +9 -9
  8. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +5 -5
  9. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +7 -7
  10. package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +6 -6
  11. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +8 -8
  12. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +481 -22
  13. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +764 -12
  14. package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +6 -6
  15. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +2149 -17
  16. package/dist/@types/packages/vue2/src/components/country/composables/use-country-capital/use-country-capital.d.ts +1 -1
  17. package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +1 -1
  18. package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +1 -1
  19. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +158 -8
  20. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +157 -7
  21. package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +6 -6
  22. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +2 -2
  23. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +10 -10
  24. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -6
  25. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +10 -10
  26. 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 +229 -10
  27. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1304 -16
  28. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +5 -5
  29. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +6 -6
  30. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +63 -5
  31. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -1
  32. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +4 -4
  33. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +61 -2
  34. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +3 -3
  36. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +4 -4
  37. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +4 -4
  39. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +62 -4
  40. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +5 -5
  41. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector.d.ts +2 -2
  42. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -1
  43. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +43 -9
  44. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +157 -7
  45. package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1701 -21
  47. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +2725 -147
  48. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +3 -2
  49. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +3739 -18
  50. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
  51. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  52. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +9 -9
  53. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +9 -9
  54. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +8 -2
  55. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +10 -10
  56. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +8 -8
  57. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -4
  58. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/use-country-items.d.ts +1 -1
  59. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +4 -4
  60. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +4 -4
  61. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +4 -4
  62. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +4 -4
  63. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
  64. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -1
  65. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +1 -1
  66. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +1 -1
  67. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +455 -11
  68. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -5
  69. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +18251 -1703
  70. 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 +422 -7
  71. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +557 -16
  72. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +7 -5
  73. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +361 -10
  74. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +931 -17
  75. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +3284 -76
  76. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +7588 -145
  77. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +6 -6
  78. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1061 -19
  79. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1056 -14
  80. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +8 -8
  81. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +8 -8
  82. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +59 -0
  83. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +19 -80
  84. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +229 -6
  85. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +73 -9
  86. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +559 -6
  87. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +384 -6
  88. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +587 -7
  89. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +16154 -21
  90. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +8 -8
  91. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +5 -5
  92. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +5 -5
  93. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +4 -4
  94. package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +4 -4
  95. package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/info-icon-with-popover.vue.d.ts +4 -4
  96. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +388 -10
  97. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +7 -7
  98. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +17 -5
  99. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +12 -12
  100. package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +9 -9
  101. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +161 -11
  102. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +5 -5
  103. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
  104. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +726 -144
  105. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +582 -15
  106. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +287 -4
  107. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.props.d.ts +34 -0
  108. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +197 -38
  109. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +5 -135
  110. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +8 -8
  111. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +4 -4
  112. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +185 -9
  113. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -1
  114. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +7 -7
  115. package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +3 -3
  116. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +4 -4
  117. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.d.ts +19 -19
  118. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +4 -4
  119. package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +5 -5
  120. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +7 -7
  121. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +7 -7
  122. 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 +801 -53
  123. 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 +1631 -8
  124. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2534 -21
  125. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +7 -7
  126. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +357 -6
  127. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +153 -3
  128. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +409 -12
  129. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +197 -10
  130. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +8 -2
  131. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +3 -3
  132. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3552 -50
  133. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +7 -7
  134. package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +5 -5
  135. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +8 -8
  136. package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +7 -7
  137. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +358 -8
  138. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +992 -16
  139. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
  140. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +469 -9
  141. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1579 -15
  142. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +9 -9
  143. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +7 -7
  144. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
  145. package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +5 -5
  146. package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +1 -1
  147. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +350 -8
  148. package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +5 -5
  149. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +7 -7
  150. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +1481 -7
  151. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +179 -10
  152. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1489 -9
  153. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +3264 -10
  154. package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +2 -2
  155. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +159 -8
  156. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +172 -6
  157. package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +3 -3
  158. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +157 -7
  159. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +8 -8
  160. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +7 -7
  161. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +16 -8
  162. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +7 -7
  163. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +10 -10
  164. package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
  165. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +5 -5
  166. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +7 -7
  167. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +1 -1
  168. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +1 -1
  169. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +7 -7
  170. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +8 -8
  171. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +8 -8
  172. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +7 -7
  173. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +1 -0
  174. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +22 -7
  175. package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +5 -5
  176. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +6 -6
  177. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +5 -5
  178. package/dist/@types/packages/vue2/src/components/stepper/components/step/step.vue.d.ts +6 -6
  179. package/dist/@types/packages/vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.d.ts +2 -2
  180. package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +1 -1
  181. package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +2 -2
  182. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +7 -7
  183. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +5 -5
  184. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +6 -6
  185. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +619 -11
  186. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +733 -5
  187. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +733 -5
  188. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +733 -5
  189. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +733 -5
  190. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +732 -4
  191. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +49 -6
  192. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -1
  193. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +6 -6
  194. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -1
  195. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +300 -25
  196. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +171 -11
  197. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +12 -12
  198. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +1080 -19
  199. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -1
  200. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +367 -10
  201. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +4 -4
  202. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +3 -3
  203. package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -1
  204. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +162 -11
  205. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +437 -8
  206. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +3 -3
  207. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +14 -28
  208. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +1 -1
  209. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +7 -7
  210. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
  211. package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
  212. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +1 -1
  213. package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +1 -1
  214. package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +1 -1
  215. package/dist/@types/packages/vue2/src/composables/use-expandable-content-height/use-expandable-content-height.d.ts +3 -3
  216. package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +2 -2
  217. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +3 -3
  218. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +2 -2
  219. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +6 -6
  220. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +2 -2
  221. package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +1 -1
  222. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +1 -1
  223. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
  224. package/dist/@types/packages/vue2/src/install.d.ts +1 -1
  225. package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +6 -6
  226. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +6 -6
  227. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +2 -2
  228. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +7 -7
  229. package/dist/@types/packages/vue2/src/types/elements.d.ts +1 -1
  230. package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +1 -1
  231. package/dist/@types/packages/vue2/src/types/refs.d.ts +2 -2
  232. package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
  233. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
  234. package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +1 -1
  235. package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -1
  236. package/dist/accordion.js +1 -1
  237. package/dist/action-bar.js +1 -1
  238. package/dist/alert.js +1 -1
  239. package/dist/assets/accordion-item.css +1 -1
  240. package/dist/assets/action-bar.css +1 -1
  241. package/dist/assets/alert.css +1 -1
  242. package/dist/assets/avatar.css +1 -1
  243. package/dist/assets/base-button.css +1 -1
  244. package/dist/assets/base-modal.css +1 -1
  245. package/dist/assets/button-actions-with-menu.css +1 -1
  246. package/dist/assets/button-actions.css +1 -1
  247. package/dist/assets/button.css +1 -1
  248. package/dist/assets/calendar.css +1 -1
  249. package/dist/assets/card.css +1 -1
  250. package/dist/assets/checkbox-group.css +1 -1
  251. package/dist/assets/checkbox-input.css +1 -1
  252. package/dist/assets/checkbox.css +1 -1
  253. package/dist/assets/code-snippet.css +1 -1
  254. package/dist/assets/controls-group.css +1 -1
  255. package/dist/assets/copy.css +1 -1
  256. package/dist/assets/country.css +1 -1
  257. package/dist/assets/dashboard-section.css +1 -1
  258. package/dist/assets/dashed-underline.css +1 -1
  259. package/dist/assets/data-grid-template.css +1 -1
  260. package/dist/assets/data-grid.css +1 -1
  261. package/dist/assets/date-picker.css +1 -1
  262. package/dist/assets/date-range-picker.css +1 -1
  263. package/dist/assets/dialog-page.css +1 -1
  264. package/dist/assets/dropdown-default-textbox.css +1 -1
  265. package/dist/assets/dropdown-tag.css +1 -1
  266. package/dist/assets/dropdown.css +1 -1
  267. package/dist/assets/empty-state.css +1 -1
  268. package/dist/assets/error-message.css +1 -1
  269. package/dist/assets/filter-bar.css +1 -1
  270. package/dist/assets/fixed-scroller.css +1 -1
  271. package/dist/assets/footer-actions.css +1 -1
  272. package/dist/assets/form-layout-title.css +1 -1
  273. package/dist/assets/grid-layout.css +1 -1
  274. package/dist/assets/header.css +1 -1
  275. package/dist/assets/info-icon.css +1 -1
  276. package/dist/assets/input-field.css +1 -1
  277. package/dist/assets/inspector.css +1 -1
  278. package/dist/assets/link.css +1 -1
  279. package/dist/assets/listbox-option-tag.css +1 -1
  280. package/dist/assets/loading-indicator.css +1 -1
  281. package/dist/assets/menu.css +1 -1
  282. package/dist/assets/modal-fullscreen.css +1 -1
  283. package/dist/assets/pagination.css +1 -1
  284. package/dist/assets/payment-method.css +1 -1
  285. package/dist/assets/popover.css +1 -1
  286. package/dist/assets/popper-container.css +1 -1
  287. package/dist/assets/radio-group.css +1 -1
  288. package/dist/assets/radio-input.css +1 -1
  289. package/dist/assets/search-bar.css +1 -1
  290. package/dist/assets/secondary-nav.css +1 -1
  291. package/dist/assets/segmented-control.css +1 -1
  292. package/dist/assets/selection-card-group.css +1 -1
  293. package/dist/assets/sidepanel.css +1 -1
  294. package/dist/assets/status.css +1 -1
  295. package/dist/assets/step.css +1 -1
  296. package/dist/assets/structured-list-item.css +1 -1
  297. package/dist/assets/summary-grid-item-custom.css +1 -1
  298. package/dist/assets/tabs.css +1 -1
  299. package/dist/assets/tag.css +1 -1
  300. package/dist/assets/textarea.css +1 -1
  301. package/dist/assets/timeline-item.css +1 -1
  302. package/dist/assets/toast.css +1 -1
  303. package/dist/assets/toggle.css +1 -1
  304. package/dist/assets/tooltip.css +1 -1
  305. package/dist/assets/tutorial.css +1 -1
  306. package/dist/assets/typography.css +1 -1
  307. package/dist/assets/use-cached-selected-values.css +1 -1
  308. package/dist/avatar.js +1 -1
  309. package/dist/button.js +4 -4
  310. package/dist/card.js +1 -1
  311. package/dist/checkbox.js +3 -3
  312. package/dist/chunks/accordion-item.CQ8DLt9l.js +126 -0
  313. package/dist/chunks/{accordion-item.C7rQK0Xh.js.map → accordion-item.CQ8DLt9l.js.map} +1 -1
  314. package/dist/chunks/{action-bar.2Ch92mVR.js → action-bar.BsULBDh4.js} +62 -62
  315. package/dist/chunks/{action-bar.2Ch92mVR.js.map → action-bar.BsULBDh4.js.map} +1 -1
  316. package/dist/chunks/alert.Bz4tNKDH.js +162 -0
  317. package/dist/chunks/{alert.BOqbFni9.js.map → alert.Bz4tNKDH.js.map} +1 -1
  318. package/dist/chunks/avatar.mNlMngHQ.js +94 -0
  319. package/dist/chunks/{avatar.DWSW4vWC.js.map → avatar.mNlMngHQ.js.map} +1 -1
  320. package/dist/chunks/{base-button.jyEuuRdl.js → base-button.BxUrydaP.js} +2 -2
  321. package/dist/chunks/{base-button.jyEuuRdl.js.map → base-button.BxUrydaP.js.map} +1 -1
  322. package/dist/chunks/{base-modal.09efJqFH.js → base-modal.BPaKKH3Q.js} +186 -189
  323. package/dist/chunks/base-modal.BPaKKH3Q.js.map +1 -0
  324. package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js → button-actions-with-menu.Cv1s9I3x.js} +16 -16
  325. package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js.map → button-actions-with-menu.Cv1s9I3x.js.map} +1 -1
  326. package/dist/chunks/{button-actions.Dkrp7NsY.js → button-actions.hdK5IgrZ.js} +32 -32
  327. package/dist/chunks/{button-actions.Dkrp7NsY.js.map → button-actions.hdK5IgrZ.js.map} +1 -1
  328. package/dist/chunks/{button.BbV2BOSa.js → button.Br6CyG40.js} +39 -39
  329. package/dist/chunks/{button.BbV2BOSa.js.map → button.Br6CyG40.js.map} +1 -1
  330. package/dist/chunks/{calendar.DrP5wyvL.js → calendar.D--sOCBT.js} +153 -153
  331. package/dist/chunks/calendar.D--sOCBT.js.map +1 -0
  332. package/dist/chunks/card.BvSoujBc.js +205 -0
  333. package/dist/chunks/{card.BKtIXyL-.js.map → card.BvSoujBc.js.map} +1 -1
  334. package/dist/chunks/{checkbox-group.CEzhFcdh.js → checkbox-group.DovPyqmF.js} +20 -20
  335. package/dist/chunks/{checkbox-group.CEzhFcdh.js.map → checkbox-group.DovPyqmF.js.map} +1 -1
  336. package/dist/chunks/{checkbox-input.CR1lHf7f.js → checkbox-input.JdcvpfTa.js} +56 -54
  337. package/dist/chunks/checkbox-input.JdcvpfTa.js.map +1 -0
  338. package/dist/chunks/{checkbox.Blsg-Tvr.js → checkbox.FQ03XNeR.js} +6 -6
  339. package/dist/chunks/{checkbox.Blsg-Tvr.js.map → checkbox.FQ03XNeR.js.map} +1 -1
  340. package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js +44 -0
  341. package/dist/chunks/{checkmark-circle-fill.D29b-JWj.js.map → checkmark-circle-fill.ChV7Jy6r.js.map} +1 -1
  342. package/dist/chunks/checkmark-small.DEc2T64_.js +29 -0
  343. package/dist/chunks/{checkmark-small.BCeGkayS.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
  344. package/dist/chunks/chevron-left.NvV5m76j.js +52 -0
  345. package/dist/chunks/{chevron-left.4JHuWe7i.js.map → chevron-left.NvV5m76j.js.map} +1 -1
  346. package/dist/chunks/chevron-up.DQZG_BP3.js +52 -0
  347. package/dist/chunks/{chevron-up.5-KtIp8i.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
  348. package/dist/chunks/{code-snippet.DyvQts81.js → code-snippet.BP2IQQvW.js} +117 -117
  349. package/dist/chunks/{code-snippet.DyvQts81.js.map → code-snippet.BP2IQQvW.js.map} +1 -1
  350. package/dist/chunks/{controls-group.CLureEBJ.js → controls-group.CY5Hi11Y.js} +18 -18
  351. package/dist/chunks/{controls-group.CLureEBJ.js.map → controls-group.CY5Hi11Y.js.map} +1 -1
  352. package/dist/chunks/{copy._G3BOh-w.js → copy.h-wVGvID.js} +26 -26
  353. package/dist/chunks/{copy._G3BOh-w.js.map → copy.h-wVGvID.js.map} +1 -1
  354. package/dist/chunks/{country.DfvzuoT-.js → country.CVI-oSer.js} +3 -3
  355. package/dist/chunks/{country.DfvzuoT-.js.map → country.CVI-oSer.js.map} +1 -1
  356. package/dist/chunks/cross-circle-fill-small.BXO78Wde.js +29 -0
  357. package/dist/chunks/{cross-circle-fill-small.DiZWEd7W.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
  358. package/dist/chunks/cross-circle-fill.DN5b3_eL.js +44 -0
  359. package/dist/chunks/{cross-circle-fill.vLaelNTN.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
  360. package/dist/chunks/cross-small.CXWTuKA_.js +29 -0
  361. package/dist/chunks/{cross-small.48UCoOqB.js.map → cross-small.CXWTuKA_.js.map} +1 -1
  362. package/dist/chunks/cross.OvPfvoqX.js +29 -0
  363. package/dist/chunks/{cross.BlL0FyHo.js.map → cross.OvPfvoqX.js.map} +1 -1
  364. package/dist/chunks/{currency.CUF_wGMv.js → currency.CFJy6QYU.js} +2 -2
  365. package/dist/chunks/{currency.CUF_wGMv.js.map → currency.CFJy6QYU.js.map} +1 -1
  366. package/dist/chunks/dashboard-section.DcvZOi79.js +167 -0
  367. package/dist/chunks/{dashboard-section.CwOasd7G.js.map → dashboard-section.DcvZOi79.js.map} +1 -1
  368. package/dist/chunks/dashed-underline.C7eCX1CM.js +79 -0
  369. package/dist/chunks/{dashed-underline.D_262wln.js.map → dashed-underline.C7eCX1CM.js.map} +1 -1
  370. package/dist/chunks/data-grid-template.C_8bGAC6.js +93 -0
  371. package/dist/chunks/data-grid-template.C_8bGAC6.js.map +1 -0
  372. package/dist/chunks/data-grid.DWJmWbjg.js +2766 -0
  373. package/dist/chunks/data-grid.DWJmWbjg.js.map +1 -0
  374. package/dist/chunks/{date-picker.CKiY1ZtA.js → date-picker.D36sJUDB.js} +8 -8
  375. package/dist/chunks/{date-picker.CKiY1ZtA.js.map → date-picker.D36sJUDB.js.map} +1 -1
  376. package/dist/chunks/date-range-picker.rytlJBZs.js +942 -0
  377. package/dist/chunks/date-range-picker.rytlJBZs.js.map +1 -0
  378. package/dist/chunks/{date.DXg5sG5Z.js → date.D8rQMzMG.js} +3 -3
  379. package/dist/chunks/{date.DXg5sG5Z.js.map → date.D8rQMzMG.js.map} +1 -1
  380. package/dist/chunks/dialog-page.DALFn9KR.js +171 -0
  381. package/dist/chunks/{dialog-page.CBim-VWH.js.map → dialog-page.DALFn9KR.js.map} +1 -1
  382. package/dist/chunks/divider.ugNXYI-T.js +22 -0
  383. package/dist/chunks/{divider.CnwfddJD.js.map → divider.ugNXYI-T.js.map} +1 -1
  384. package/dist/chunks/{dropdown-default-textbox.Bues7tON.js → dropdown-default-textbox.Bu4bpNGU.js} +116 -116
  385. package/dist/chunks/{dropdown-default-textbox.Bues7tON.js.map → dropdown-default-textbox.Bu4bpNGU.js.map} +1 -1
  386. package/dist/chunks/{dropdown-tag.BiVKlJ-B.js → dropdown-tag.CocbqRcO.js} +67 -67
  387. package/dist/chunks/{dropdown-tag.BiVKlJ-B.js.map → dropdown-tag.CocbqRcO.js.map} +1 -1
  388. package/dist/chunks/{dropdown.CZyiZiox.js → dropdown.DQpKDlC-.js} +355 -355
  389. package/dist/chunks/{dropdown.CZyiZiox.js.map → dropdown.DQpKDlC-.js.map} +1 -1
  390. package/dist/chunks/{empty-state.CApqeBsH.js → empty-state.CyEWCcDk.js} +48 -48
  391. package/dist/chunks/{empty-state.CApqeBsH.js.map → empty-state.CyEWCcDk.js.map} +1 -1
  392. package/dist/chunks/{error-message.DCScf_vk.js → error-message.BfOmvPPb.js} +13 -13
  393. package/dist/chunks/{error-message.DCScf_vk.js.map → error-message.BfOmvPPb.js.map} +1 -1
  394. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  395. package/dist/chunks/expand.CgwNEbbz.js +33 -0
  396. package/dist/chunks/{expand.D1DTqaBO.js.map → expand.CgwNEbbz.js.map} +1 -1
  397. package/dist/chunks/filter-bar.-G1-moOO.js +2767 -0
  398. package/dist/chunks/filter-bar.-G1-moOO.js.map +1 -0
  399. package/dist/chunks/{fixed-scroller.BN3jp9Ss.js → fixed-scroller.DwYB1pqo.js} +4 -4
  400. package/dist/chunks/fixed-scroller.DwYB1pqo.js.map +1 -0
  401. package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -1
  402. package/dist/chunks/{footer-actions.Dj2vH6Hj.js → footer-actions.gtxofUAa.js} +19 -19
  403. package/dist/chunks/{footer-actions.Dj2vH6Hj.js.map → footer-actions.gtxofUAa.js.map} +1 -1
  404. package/dist/chunks/{form-layout-title.BKJPBhsv.js → form-layout-title.Boi0QQZL.js} +42 -42
  405. package/dist/chunks/{form-layout-title.BKJPBhsv.js.map → form-layout-title.Boi0QQZL.js.map} +1 -1
  406. package/dist/chunks/grid-layout.CqLbbEzI.js.map +1 -1
  407. package/dist/chunks/{header.DygonMXo.js → header.BLKs2Erq.js} +8 -8
  408. package/dist/chunks/{header.DygonMXo.js.map → header.BLKs2Erq.js.map} +1 -1
  409. package/dist/chunks/i18n.DL9GT2-k.js +3086 -0
  410. package/dist/chunks/i18n.DL9GT2-k.js.map +1 -0
  411. package/dist/chunks/image.0KzfycGE.js.map +1 -1
  412. package/dist/chunks/{info-icon.Bb20bxQm.js → info-icon.DIu8FeJC.js} +4 -4
  413. package/dist/chunks/{info-icon.Bb20bxQm.js.map → info-icon.DIu8FeJC.js.map} +1 -1
  414. package/dist/chunks/info.CIFBUqf-.js +44 -0
  415. package/dist/chunks/{info.CNegCnli.js.map → info.CIFBUqf-.js.map} +1 -1
  416. package/dist/chunks/{input-field.dPEY8nfT.js → input-field.f4lqnh2q.js} +66 -66
  417. package/dist/chunks/{input-field.dPEY8nfT.js.map → input-field.f4lqnh2q.js.map} +1 -1
  418. package/dist/chunks/inspector.types.t2SPyhw3.js +116 -0
  419. package/dist/chunks/{inspector.types.BpPQ6zrm.js.map → inspector.types.t2SPyhw3.js.map} +1 -1
  420. package/dist/chunks/link.2YS7haGc.js +110 -0
  421. package/dist/chunks/link.2YS7haGc.js.map +1 -0
  422. package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js → listbox-option-tag.QqDEHMKB.js} +3 -3
  423. package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js.map → listbox-option-tag.QqDEHMKB.js.map} +1 -1
  424. package/dist/chunks/{loading-button.CrijUhme.js → loading-button.Mx-oDIGy.js} +39 -39
  425. package/dist/chunks/{loading-button.CrijUhme.js.map → loading-button.Mx-oDIGy.js.map} +1 -1
  426. package/dist/chunks/{menu.CE8khC0O.js → menu.DFMKn3Zr.js} +96 -96
  427. package/dist/chunks/{menu.CE8khC0O.js.map → menu.DFMKn3Zr.js.map} +1 -1
  428. package/dist/chunks/{modal-fullscreen.DYfgO3lG.js → modal-fullscreen.Caqa7dDp.js} +80 -80
  429. package/dist/chunks/{modal-fullscreen.DYfgO3lG.js.map → modal-fullscreen.Caqa7dDp.js.map} +1 -1
  430. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js} +136 -136
  431. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js.map → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js.map} +1 -1
  432. package/dist/chunks/on-click-outside.MUWbmGDn.js.map +1 -1
  433. package/dist/chunks/{pagination.DfKNN2Mb.js → pagination.B4ker8JJ.js} +130 -130
  434. package/dist/chunks/{pagination.DfKNN2Mb.js.map → pagination.B4ker8JJ.js.map} +1 -1
  435. package/dist/chunks/{payment-method.Dyrh0PaX.js → payment-method.-3VYG5ud.js} +2 -2
  436. package/dist/chunks/{payment-method.Dyrh0PaX.js.map → payment-method.-3VYG5ud.js.map} +1 -1
  437. package/dist/chunks/{popover.BSGQxusD.js → popover.CczC6Fhk.js} +63 -63
  438. package/dist/chunks/{popover.BSGQxusD.js.map → popover.CczC6Fhk.js.map} +1 -1
  439. package/dist/chunks/{popper-container.DigB3V2j.js → popper-container.DFpaesDm.js} +239 -239
  440. package/dist/chunks/{popper-container.DigB3V2j.js.map → popper-container.DFpaesDm.js.map} +1 -1
  441. package/dist/chunks/{radio-group.CIXsaLLX.js → radio-group.C18T8QQs.js} +112 -112
  442. package/dist/chunks/{radio-group.CIXsaLLX.js.map → radio-group.C18T8QQs.js.map} +1 -1
  443. package/dist/chunks/{radio-input.Dp-se-SR.js → radio-input.DtvlM-mr.js} +20 -20
  444. package/dist/chunks/{radio-input.Dp-se-SR.js.map → radio-input.DtvlM-mr.js.map} +1 -1
  445. package/dist/chunks/refresh.DvQeGwUF.js +29 -0
  446. package/dist/chunks/{refresh.BfxRdaQb.js.map → refresh.DvQeGwUF.js.map} +1 -1
  447. package/dist/chunks/{search-bar.exXNyvwZ.js → search-bar.C__L0enF.js} +39 -39
  448. package/dist/chunks/{search-bar.exXNyvwZ.js.map → search-bar.C__L0enF.js.map} +1 -1
  449. package/dist/chunks/search.EnLryD8V.js +44 -0
  450. package/dist/chunks/{search.0lh99z1F.js.map → search.EnLryD8V.js.map} +1 -1
  451. package/dist/chunks/secondary-nav.DCe7I3pu.js +137 -0
  452. package/dist/chunks/{secondary-nav.CRJ27DQY.js.map → secondary-nav.DCe7I3pu.js.map} +1 -1
  453. package/dist/chunks/segmented-control.DbR5NYWR.js +142 -0
  454. package/dist/chunks/{segmented-control.hE7kcMb7.js.map → segmented-control.DbR5NYWR.js.map} +1 -1
  455. package/dist/chunks/{selection-card-group.Bxv-t-CN.js → selection-card-group.DNZTT85O.js} +129 -122
  456. package/dist/chunks/selection-card-group.DNZTT85O.js.map +1 -0
  457. package/dist/chunks/{sidepanel.C6ndYx2_.js → sidepanel.CprbeR-2.js} +76 -76
  458. package/dist/chunks/{sidepanel.C6ndYx2_.js.map → sidepanel.CprbeR-2.js.map} +1 -1
  459. package/dist/chunks/{status.types.wKICxOth.js → status.types.r9TfZmvE.js} +12 -12
  460. package/dist/chunks/{status.types.wKICxOth.js.map → status.types.r9TfZmvE.js.map} +1 -1
  461. package/dist/chunks/step.ClnCjesW.js +284 -0
  462. package/dist/chunks/step.ClnCjesW.js.map +1 -0
  463. package/dist/chunks/structured-list-item.Z-1ivOFu.js +101 -0
  464. package/dist/chunks/{structured-list-item.CnrBWJgo.js.map → structured-list-item.Z-1ivOFu.js.map} +1 -1
  465. package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js → summary-grid-item-custom.Dq3IIEvH.js} +5 -5
  466. package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js.map → summary-grid-item-custom.Dq3IIEvH.js.map} +1 -1
  467. package/dist/chunks/{tabs.BeCbcy81.js → tabs.xY_6yqmE.js} +3 -3
  468. package/dist/chunks/{tabs.BeCbcy81.js.map → tabs.xY_6yqmE.js.map} +1 -1
  469. package/dist/chunks/{tag.BZ90rkBe.js → tag.RYw4OhWk.js} +3 -3
  470. package/dist/chunks/{tag.BZ90rkBe.js.map → tag.RYw4OhWk.js.map} +1 -1
  471. package/dist/chunks/teleport.L8qFCYpr.js.map +1 -1
  472. package/dist/chunks/{textarea.C9dCXF7c.js → textarea.C-Oje7QC.js} +100 -101
  473. package/dist/chunks/{textarea.C9dCXF7c.js.map → textarea.C-Oje7QC.js.map} +1 -1
  474. package/dist/chunks/{timeline-item.DVugzZI5.js → timeline-item.FTU5rl7e.js} +209 -209
  475. package/dist/chunks/{timeline-item.DVugzZI5.js.map → timeline-item.FTU5rl7e.js.map} +1 -1
  476. package/dist/chunks/toast.LNgV2jhU.js +215 -0
  477. package/dist/chunks/{toast.CtEylmx6.js.map → toast.LNgV2jhU.js.map} +1 -1
  478. package/dist/chunks/{toggle-button.CYVGUQYj.js → toggle-button.CBRd1v6x.js} +19 -19
  479. package/dist/chunks/{toggle-button.CYVGUQYj.js.map → toggle-button.CBRd1v6x.js.map} +1 -1
  480. package/dist/chunks/{toggle.D1DUlF_5.js → toggle.8t4flh_3.js} +3 -3
  481. package/dist/chunks/{toggle.D1DUlF_5.js.map → toggle.8t4flh_3.js.map} +1 -1
  482. package/dist/chunks/{tooltip.CVUXkVlR.js → tooltip.DvsfWV0-.js} +3 -3
  483. package/dist/chunks/{tooltip.CVUXkVlR.js.map → tooltip.DvsfWV0-.js.map} +1 -1
  484. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js +409 -0
  485. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js.map → tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js.map} +1 -1
  486. package/dist/chunks/{typography.CSIykcgS.js → typography.z9P0Ec3Q.js} +22 -22
  487. package/dist/chunks/{typography.CSIykcgS.js.map → typography.z9P0Ec3Q.js.map} +1 -1
  488. package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js → use-bento-toast-controller.BDYlxAYq.js} +2 -2
  489. package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js.map → use-bento-toast-controller.BDYlxAYq.js.map} +1 -1
  490. package/dist/chunks/{use-cached-selected-values.DplP72ef.js → use-cached-selected-values.DaSn9dB9.js} +593 -589
  491. package/dist/chunks/use-cached-selected-values.DaSn9dB9.js.map +1 -0
  492. package/dist/chunks/{use-country-items.CongYNiX.js → use-country-items.DQR8plsq.js} +2 -2
  493. package/dist/chunks/{use-country-items.CongYNiX.js.map → use-country-items.DQR8plsq.js.map} +1 -1
  494. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  495. package/dist/chunks/warning-filled.Dm_HhqzW.js +29 -0
  496. package/dist/chunks/{warning-filled.DHw1rVWs.js.map → warning-filled.Dm_HhqzW.js.map} +1 -1
  497. package/dist/code-snippet.js +1 -1
  498. package/dist/country.js +1 -1
  499. package/dist/currency.js +1 -1
  500. package/dist/dashboard-template.js +1 -1
  501. package/dist/dashed-underline.js +1 -1
  502. package/dist/data-grid-template.js +1 -1
  503. package/dist/data-grid.js +1 -1
  504. package/dist/date-picker.js +2 -2
  505. package/dist/date-range-picker.js +2 -2
  506. package/dist/date.js +1 -1
  507. package/dist/divider.js +1 -1
  508. package/dist/dropdown.js +4 -4
  509. package/dist/empty-state.js +1 -1
  510. package/dist/filter-bar.js +1 -1
  511. package/dist/form-layout.js +1 -1
  512. package/dist/header.js +1 -1
  513. package/dist/index.js +69 -67
  514. package/dist/index.js.map +1 -1
  515. package/dist/info-icon.js +1 -1
  516. package/dist/input-field.js +1 -1
  517. package/dist/inspector.js +1 -1
  518. package/dist/internal.js +8 -8
  519. package/dist/link.js +1 -1
  520. package/dist/menu.js +1 -1
  521. package/dist/modal-fullscreen.js +1 -1
  522. package/dist/modal.js +2 -2
  523. package/dist/pagination.js +1 -1
  524. package/dist/payment-method.js +1 -1
  525. package/dist/popover.js +1 -1
  526. package/dist/popper-container.js +1 -1
  527. package/dist/radio-group.js +2 -2
  528. package/dist/search-bar.js +2 -2
  529. package/dist/secondary-nav.js +1 -1
  530. package/dist/segmented-control.js +1 -1
  531. package/dist/selection-card.js +1 -1
  532. package/dist/sidepanel.js +1 -1
  533. package/dist/status.js +1 -1
  534. package/dist/stepper.js +1 -1
  535. package/dist/structured-list.js +1 -1
  536. package/dist/summary-grid.js +1 -1
  537. package/dist/tabs.js +1 -1
  538. package/dist/tag.js +1 -1
  539. package/dist/textarea.js +1 -1
  540. package/dist/timeline.js +1 -1
  541. package/dist/toast.js +1 -1
  542. package/dist/toggle.js +1 -1
  543. package/dist/tutorial.js +1 -1
  544. package/dist/typography.js +1 -1
  545. package/dist/web-types.json +1 -1
  546. package/package.json +4 -4
  547. package/dist/chunks/accordion-item.C7rQK0Xh.js +0 -126
  548. package/dist/chunks/alert.BOqbFni9.js +0 -162
  549. package/dist/chunks/avatar.DWSW4vWC.js +0 -94
  550. package/dist/chunks/base-modal.09efJqFH.js.map +0 -1
  551. package/dist/chunks/calendar.DrP5wyvL.js.map +0 -1
  552. package/dist/chunks/card.BKtIXyL-.js +0 -205
  553. package/dist/chunks/checkbox-input.CR1lHf7f.js.map +0 -1
  554. package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +0 -44
  555. package/dist/chunks/checkmark-small.BCeGkayS.js +0 -29
  556. package/dist/chunks/chevron-left.4JHuWe7i.js +0 -52
  557. package/dist/chunks/chevron-up.5-KtIp8i.js +0 -52
  558. package/dist/chunks/cross-circle-fill-small.DiZWEd7W.js +0 -29
  559. package/dist/chunks/cross-circle-fill.vLaelNTN.js +0 -44
  560. package/dist/chunks/cross-small.48UCoOqB.js +0 -29
  561. package/dist/chunks/cross.BlL0FyHo.js +0 -29
  562. package/dist/chunks/dashboard-section.CwOasd7G.js +0 -167
  563. package/dist/chunks/dashed-underline.D_262wln.js +0 -79
  564. package/dist/chunks/data-grid-template.ViVmshHU.js +0 -93
  565. package/dist/chunks/data-grid-template.ViVmshHU.js.map +0 -1
  566. package/dist/chunks/data-grid.CCVRJrXT.js +0 -2765
  567. package/dist/chunks/data-grid.CCVRJrXT.js.map +0 -1
  568. package/dist/chunks/date-range-picker.T10FmcWb.js +0 -923
  569. package/dist/chunks/date-range-picker.T10FmcWb.js.map +0 -1
  570. package/dist/chunks/dialog-page.CBim-VWH.js +0 -171
  571. package/dist/chunks/divider.CnwfddJD.js +0 -22
  572. package/dist/chunks/expand.D1DTqaBO.js +0 -33
  573. package/dist/chunks/filter-bar.DCaEgOFF.js +0 -2809
  574. package/dist/chunks/filter-bar.DCaEgOFF.js.map +0 -1
  575. package/dist/chunks/fixed-scroller.BN3jp9Ss.js.map +0 -1
  576. package/dist/chunks/i18n.DY5YXG5f.js +0 -2652
  577. package/dist/chunks/i18n.DY5YXG5f.js.map +0 -1
  578. package/dist/chunks/info.CNegCnli.js +0 -44
  579. package/dist/chunks/inspector.types.BpPQ6zrm.js +0 -116
  580. package/dist/chunks/link.DgEKZGKQ.js +0 -110
  581. package/dist/chunks/link.DgEKZGKQ.js.map +0 -1
  582. package/dist/chunks/refresh.BfxRdaQb.js +0 -29
  583. package/dist/chunks/search.0lh99z1F.js +0 -44
  584. package/dist/chunks/secondary-nav.CRJ27DQY.js +0 -137
  585. package/dist/chunks/segmented-control.hE7kcMb7.js +0 -142
  586. package/dist/chunks/selection-card-group.Bxv-t-CN.js.map +0 -1
  587. package/dist/chunks/step.D3y_Iv1_.js +0 -284
  588. package/dist/chunks/step.D3y_Iv1_.js.map +0 -1
  589. package/dist/chunks/structured-list-item.CnrBWJgo.js +0 -101
  590. package/dist/chunks/toast.CtEylmx6.js +0 -215
  591. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js +0 -408
  592. package/dist/chunks/use-cached-selected-values.DplP72ef.js.map +0 -1
  593. package/dist/chunks/warning-filled.DHw1rVWs.js +0 -29
@@ -1,41 +1,41 @@
1
- import { computed as m, ref as M, onMounted as Oe, onUnmounted as xe, watch as Ie, defineComponent as H, resolveComponent as L, openBlock as v, createElementBlock as T, createVNode as R, withCtx as _, createTextVNode as V, toDisplayString as w, createElementVNode as q, renderSlot as G, mergeProps as F, withKeys as ve, createCommentVNode as K, createBlock as D, withModifiers as Ye, normalizeProps as x, guardReactiveProps as j, withDirectives as ae, vShow as Ae, toRef as le, resolveDirective as ye, toHandlers as se, Fragment as Q, renderList as z, createSlots as ie, normalizeClass as ge, unref as ce, pushScopeId as Ke, popScopeId as qe } from "vue";
2
- import { B as Y, a as Se } from "./keyboard-navigation.Clz1jOaA.js";
3
- import { B as ee } from "./typography.CSIykcgS.js";
4
- import { B as We } from "./loading-indicator.BFMEf39U.js";
5
- import { B as je } from "./empty-state.CApqeBsH.js";
6
- import { u as ue } from "./i18n.DY5YXG5f.js";
7
- import { d as He } from "./debounce.DUTu11PS.js";
8
- import { _ as W } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
- import { B as Ce } from "./checkbox.Blsg-Tvr.js";
10
- import { a as Xe, C as Ze } from "./chevron-up.5-KtIp8i.js";
11
- import { B as Je } from "./base-button.jyEuuRdl.js";
12
- import { C as Qe } from "./cross-small.48UCoOqB.js";
13
- import { B as et, a as he } from "./loading-button.CrijUhme.js";
14
- import { o as tt } from "./resize.Bqks3WUm.js";
1
+ import { computed as v, ref as M, onMounted as Oe, onUnmounted as Fe, watch as Ie, defineComponent as W, resolveComponent as L, openBlock as f, createElementBlock as _, createVNode as B, withCtx as T, createTextVNode as G, toDisplayString as w, createElementVNode as K, renderSlot as z, mergeProps as U, withKeys as ve, createCommentVNode as Y, createBlock as D, withModifiers as Ye, normalizeProps as ee, guardReactiveProps as ne, withDirectives as ae, vShow as Ae, toRef as se, resolveDirective as pe, toHandlers as te, Fragment as Z, renderList as x, createSlots as ie, normalizeClass as fe, unref as ce, normalizeStyle as Ke } from "vue";
2
+ import { B as F, a as Se } from "./keyboard-navigation.Clz1jOaA.js";
3
+ import { B as J } from "./typography.z9P0Ec3Q.js";
4
+ import { B as qe } from "./loading-indicator.BFMEf39U.js";
5
+ import { B as We } from "./empty-state.CyEWCcDk.js";
6
+ import { u as ue } from "./i18n.DL9GT2-k.js";
7
+ import { d as je } from "./debounce.DUTu11PS.js";
8
+ import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import { B as Ce } from "./checkbox.FQ03XNeR.js";
10
+ import { a as He, C as Xe } from "./chevron-up.DQZG_BP3.js";
11
+ import { B as Ze } from "./base-button.BxUrydaP.js";
12
+ import { C as Je } from "./cross-small.CXWTuKA_.js";
13
+ import { B as Qe, a as he } from "./loading-button.Mx-oDIGy.js";
14
+ import { o as et } from "./resize.Bqks3WUm.js";
15
15
  import "../assets/use-cached-selected-values.css";
16
- const $e = (e, t, n, u) => {
17
- const c = m(
16
+ const $e = (e, t, a, c) => {
17
+ const u = v(
18
18
  () => {
19
- var i, r;
20
- return !!((i = e.value) != null && i.length) && ((r = e.value) == null ? void 0 : r.length) === t.value.length;
19
+ var l, r;
20
+ return !!((l = e.value) != null && l.length) && ((r = e.value) == null ? void 0 : r.length) === t.value.length;
21
21
  }
22
- ), a = m(() => {
23
- var i;
24
- return e.value == null || e.value.length === 0 ? !1 : ((i = e.value) == null ? void 0 : i.length) !== t.value.length;
22
+ ), n = v(() => {
23
+ var l;
24
+ return e.value == null || e.value.length === 0 ? !1 : ((l = e.value) == null ? void 0 : l.length) !== t.value.length;
25
25
  });
26
26
  return {
27
- isAllSelected: c,
28
- isIndeterminate: a,
29
- toggleSelectAll: (i) => {
30
- i ? n() : u();
27
+ isAllSelected: u,
28
+ isIndeterminate: n,
29
+ toggleSelectAll: (l) => {
30
+ l ? a() : c();
31
31
  }
32
32
  };
33
33
  };
34
- function st(e, { disabled: t, itemHeight: n, overscan: u = 5, prefixHeight: c }) {
35
- const a = M(null), s = M([]), i = M(0), r = M(0), o = M(0);
36
- let p;
37
- const l = m(() => {
38
- const C = typeof n == "number" ? e.value.length * n : e.value.reduce((B, S, A) => B + n(A), 0), O = typeof n == "number" ? i.value * n : e.value.slice(0, i.value).reduce((B, S, A) => B + n(A), 0);
34
+ function tt(e, { disabled: t, itemHeight: a, overscan: c = 5, prefixHeight: u }) {
35
+ const n = M(null), s = M([]), l = M(0), r = M(0), i = M(0);
36
+ let y;
37
+ const o = v(() => {
38
+ const C = typeof a == "number" ? e.value.length * a : e.value.reduce((k, S, I) => k + a(I), 0), O = typeof a == "number" ? l.value * a : e.value.slice(0, l.value).reduce((k, S, I) => k + a(I), 0);
39
39
  return {
40
40
  style: {
41
41
  marginTop: `${O}px`,
@@ -43,73 +43,73 @@ function st(e, { disabled: t, itemHeight: n, overscan: u = 5, prefixHeight: c })
43
43
  }
44
44
  };
45
45
  }), d = () => {
46
- const C = (c == null ? void 0 : c.value) ?? 0, O = Math.max(a.value.scrollTop - C, 0);
47
- if (typeof n == "number")
48
- return Math.floor(O / n);
49
- let B = 0, S = 0;
50
- for (let A = 0; A < e.value.length; A += 1) {
51
- const U = n(A);
52
- if (B += U, B >= O) {
53
- S = A;
46
+ const C = (u == null ? void 0 : u.value) ?? 0, O = Math.max(n.value.scrollTop - C, 0);
47
+ if (typeof a == "number")
48
+ return Math.floor(O / a);
49
+ let k = 0, S = 0;
50
+ for (let I = 0; I < e.value.length; I += 1) {
51
+ const V = a(I);
52
+ if (k += V, k >= O) {
53
+ S = I;
54
54
  break;
55
55
  }
56
56
  }
57
57
  return S;
58
- }, k = () => {
59
- if (o.value = a.value.clientHeight, typeof n == "number")
60
- return Math.ceil(o.value / n);
61
- const C = i.value ?? 0;
62
- let O = 0, B = 0;
58
+ }, R = () => {
59
+ if (i.value = n.value.clientHeight, typeof a == "number")
60
+ return Math.ceil(i.value / a);
61
+ const C = l.value ?? 0;
62
+ let O = 0, k = 0;
63
63
  for (let S = C; S < e.value.length; S += 1) {
64
- const A = n(S);
65
- if (O += A, B = S, O > o.value)
64
+ const I = a(S);
65
+ if (O += I, k = S, O > i.value)
66
66
  break;
67
67
  }
68
- return B - C;
69
- }, I = () => {
70
- if (a.value) {
71
- const C = k();
72
- i.value = d(), r.value = Math.min(i.value + C + u, e.value.length), s.value = e.value.slice(i.value, r.value);
68
+ return k - C;
69
+ }, $ = () => {
70
+ if (n.value) {
71
+ const C = R();
72
+ l.value = d(), r.value = Math.min(l.value + C + c, e.value.length), s.value = e.value.slice(l.value, r.value);
73
73
  }
74
74
  }, N = () => {
75
- I();
75
+ $();
76
76
  };
77
77
  t || (Oe(() => {
78
- a.value && (o.value = a.value.clientHeight, p = tt(a.value, ({ clientHeight: C }) => {
79
- o.value = C, I();
80
- }), I());
81
- }), xe(() => {
82
- p == null || p.disconnect();
78
+ n.value && (i.value = n.value.clientHeight, y = et(n.value, ({ clientHeight: C }) => {
79
+ i.value = C, $();
80
+ }), $());
81
+ }), Fe(() => {
82
+ y == null || y.disconnect();
83
83
  }), Ie(
84
84
  () => e.value,
85
85
  () => {
86
- I();
86
+ $();
87
87
  }
88
88
  ));
89
- const g = {
90
- ref: a,
89
+ const m = {
90
+ ref: n,
91
91
  style: { overflowY: "auto" }
92
92
  };
93
93
  return t ? {
94
- containerRef: a,
95
- containerProps: g,
94
+ containerRef: n,
95
+ containerProps: m,
96
96
  // eslint-disable-next-line @typescript-eslint/no-empty-function
97
97
  onScroll: () => {
98
98
  },
99
99
  list: e
100
100
  } : {
101
- containerRef: a,
102
- containerProps: g,
101
+ containerRef: n,
102
+ containerProps: m,
103
103
  onScroll: N,
104
104
  list: s,
105
- wrapperProps: l
105
+ wrapperProps: o
106
106
  };
107
107
  }
108
- var b = /* @__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))(b || {}), J = /* @__PURE__ */ ((e) => (e.AUTOMATIC = "automatic", e.BUTTON = "button", e.NONE = "none", e))(J || {});
109
- const lt = H({
108
+ var b = /* @__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))(b || {}), X = /* @__PURE__ */ ((e) => (e.AUTOMATIC = "automatic", e.BUTTON = "button", e.NONE = "none", e))(X || {});
109
+ const st = W({
110
110
  name: "bento-listbox-static-category",
111
111
  components: {
112
- BentoTypography: ee
112
+ BentoTypography: J
113
113
  },
114
114
  props: {
115
115
  /**
@@ -120,26 +120,26 @@ const lt = H({
120
120
  required: !0
121
121
  }
122
122
  }
123
- }), ot = { class: "b-listbox-single-select-category" };
124
- function nt(e, t, n, u, c, a) {
123
+ }), lt = { class: "b-listbox-single-select-category" };
124
+ function ot(e, t, a, c, u, n) {
125
125
  const s = L("bento-typography");
126
- return v(), T("div", ot, [
127
- R(s, {
126
+ return f(), _("div", lt, [
127
+ B(s, {
128
128
  variant: "caption",
129
129
  el: "span",
130
130
  class: "b-listbox-single-select-category__label-text"
131
131
  }, {
132
- default: _(() => [
133
- V(w(e.categoryLabel), 1)
132
+ default: T(() => [
133
+ G(w(e.categoryLabel), 1)
134
134
  ]),
135
135
  _: 1
136
136
  }),
137
- q("div", null, [
138
- G(e.$slots, "default", {}, void 0, !0)
137
+ K("div", null, [
138
+ z(e.$slots, "default", {}, void 0, !0)
139
139
  ])
140
140
  ]);
141
141
  }
142
- const it = /* @__PURE__ */ W(lt, [["render", nt], ["__scopeId", "data-v-a90eff17"]]), at = H({
142
+ const nt = /* @__PURE__ */ q(st, [["render", ot], ["__scopeId", "data-v-a90eff17"]]), it = W({
143
143
  name: "bento-listbox-option",
144
144
  props: {
145
145
  /**
@@ -153,28 +153,28 @@ const it = /* @__PURE__ */ W(lt, [["render", nt], ["__scopeId", "data-v-a90eff17
153
153
  },
154
154
  emits: [b.CLICK, b.ENTER, b.SPACE, b.TAB],
155
155
  setup(e, { emit: t }) {
156
- const n = m(() => ({
156
+ const a = v(() => ({
157
157
  "b-listbox-option--disabled": e.disabled,
158
158
  "b-listbox-option--selected": e.selected
159
159
  }));
160
160
  return {
161
161
  // Enums
162
- BentoKeyboardNavigationKeyDownEvent: Y,
162
+ BentoKeyboardNavigationKeyDownEvent: F,
163
163
  BentoListboxEvent: b,
164
164
  // Values
165
- conditionalClasses: n,
165
+ conditionalClasses: a,
166
166
  // Events
167
- onClick: (a) => {
168
- t(b.CLICK, a);
167
+ onClick: (n) => {
168
+ t(b.CLICK, n);
169
169
  },
170
- onOptionSelected: (a, s) => {
171
- t(a, s);
170
+ onOptionSelected: (n, s) => {
171
+ t(n, s);
172
172
  }
173
173
  };
174
174
  }
175
175
  });
176
- function rt(e, t, n, u, c, a) {
177
- return v(), T("label", F({
176
+ function at(e, t, a, c, u, n) {
177
+ return f(), _("label", U({
178
178
  class: ["b-listbox-option", e.conditionalClasses],
179
179
  role: "option"
180
180
  }, e.$attrs, {
@@ -185,37 +185,37 @@ function rt(e, t, n, u, c, a) {
185
185
  t[3] || (t[3] = ve((s) => e.onOptionSelected(e.BentoListboxEvent.TAB, s), ["tab"]))
186
186
  ]
187
187
  }), [
188
- G(e.$slots, "default", {}, void 0, !0)
188
+ z(e.$slots, "default", {}, void 0, !0)
189
189
  ], 16);
190
190
  }
191
- const de = /* @__PURE__ */ W(at, [["render", rt], ["__scopeId", "data-v-18a61f5d"]]);
191
+ const de = /* @__PURE__ */ q(it, [["render", at], ["__scopeId", "data-v-18a61f5d"]]);
192
192
  let Ee = 0;
193
- const ct = {
193
+ const rt = {
194
194
  beforeCreate() {
195
195
  this.uuid = Ee.toString(), Ee += 1;
196
196
  }
197
- }, ut = { key: 0 }, dt = /* @__PURE__ */ q("path", {
198
- fill: "#00112C",
199
- d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z"
200
- }, null, -1);
201
- function bt(e, t, n, u, c, a) {
202
- return v(), T("svg", F({ role: "img" }, e.$attrs, {
197
+ }, ct = { key: 0 };
198
+ function ut(e, t, a, c, u, n) {
199
+ return f(), _("svg", U({ role: "img" }, e.$attrs, {
203
200
  class: "ui-assets-icons-16",
204
201
  xmlns: "http://www.w3.org/2000/svg",
205
202
  width: "16",
206
203
  height: "16",
207
204
  fill: "none"
208
205
  }), [
209
- e.$attrs["svg-title"] ? (v(), T("title", ut, w(e.$attrs["svg-title"]), 1)) : K("", !0),
210
- dt
206
+ e.$attrs["svg-title"] ? (f(), _("title", ct, w(e.$attrs["svg-title"]), 1)) : Y("", !0),
207
+ t[0] || (t[0] = K("path", {
208
+ fill: "#00112C",
209
+ d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z"
210
+ }, null, -1))
211
211
  ], 16);
212
212
  }
213
- const mt = /* @__PURE__ */ W(ct, [["render", bt]]), vt = H({
213
+ const dt = /* @__PURE__ */ q(rt, [["render", ut]]), bt = W({
214
214
  name: "bento-listbox-single-select-option",
215
215
  components: {
216
216
  BentoListboxOption: de,
217
- BentoTypography: ee,
218
- CheckmarkIcon: mt
217
+ BentoTypography: J,
218
+ CheckmarkIcon: dt
219
219
  },
220
220
  props: {
221
221
  /**
@@ -237,58 +237,58 @@ const mt = /* @__PURE__ */ W(ct, [["render", bt]]), vt = H({
237
237
  },
238
238
  emits: [b.ENTER, b.SELECT, b.SPACE, b.TAB],
239
239
  setup(e, { emit: t }) {
240
- const n = (s) => {
240
+ const a = (s) => {
241
241
  e.disabled || t(s, e.option);
242
- }, u = m(() => e.disabled ? !0 : null), c = m(() => e.selected ? !0 : null), a = m(() => e.disabled ? -1 : 0);
242
+ }, c = v(() => e.disabled ? !0 : null), u = v(() => e.selected ? !0 : null), n = v(() => e.disabled ? -1 : 0);
243
243
  return {
244
244
  // Values
245
- ariaDisabled: u,
246
- ariaSelected: c,
247
- tabIndex: a,
245
+ ariaDisabled: c,
246
+ ariaSelected: u,
247
+ tabIndex: n,
248
248
  // Enums
249
249
  BentoListboxEvent: b,
250
250
  // Events
251
- onOptionSelected: n
251
+ onOptionSelected: a
252
252
  };
253
253
  }
254
- }), gt = { class: "b-listbox-single-select-option__text" }, ft = { class: "b-listbox-single-select-option__check-icon" };
255
- function pt(e, t, n, u, c, a) {
256
- const s = L("bento-typography"), i = L("checkmark-icon"), r = L("bento-listbox-option");
257
- return v(), D(r, {
254
+ }), mt = { class: "b-listbox-single-select-option__text" }, vt = { class: "b-listbox-single-select-option__check-icon" };
255
+ function ft(e, t, a, c, u, n) {
256
+ const s = L("bento-typography"), l = L("checkmark-icon"), r = L("bento-listbox-option");
257
+ return f(), D(r, {
258
258
  class: "b-listbox-single-select-option",
259
259
  disabled: e.disabled,
260
260
  selected: e.selected,
261
261
  "aria-selected": e.ariaSelected,
262
262
  "aria-disabled": e.ariaDisabled,
263
263
  tabindex: e.tabIndex,
264
- onClick: t[0] || (t[0] = (o) => e.onOptionSelected(e.BentoListboxEvent.SELECT)),
265
- onEnterPressed: t[1] || (t[1] = (o) => e.onOptionSelected(e.BentoListboxEvent.ENTER)),
266
- onSpacePressed: t[2] || (t[2] = Ye((o) => e.onOptionSelected(e.BentoListboxEvent.SPACE), ["prevent"])),
267
- onTabPressed: t[3] || (t[3] = (o) => e.onOptionSelected(e.BentoListboxEvent.TAB))
264
+ onClick: t[0] || (t[0] = (i) => e.onOptionSelected(e.BentoListboxEvent.SELECT)),
265
+ onEnterPressed: t[1] || (t[1] = (i) => e.onOptionSelected(e.BentoListboxEvent.ENTER)),
266
+ onSpacePressed: t[2] || (t[2] = Ye((i) => e.onOptionSelected(e.BentoListboxEvent.SPACE), ["prevent"])),
267
+ onTabPressed: t[3] || (t[3] = (i) => e.onOptionSelected(e.BentoListboxEvent.TAB))
268
268
  }, {
269
- default: _(() => [
270
- G(e.$slots, "default", x(j(e.option)), () => [
271
- q("span", gt, [
272
- R(s, { el: "span" }, {
273
- default: _(() => [
274
- V(w(e.option.label), 1)
269
+ default: T(() => [
270
+ z(e.$slots, "default", ee(ne(e.option)), () => [
271
+ K("span", mt, [
272
+ B(s, { el: "span" }, {
273
+ default: T(() => [
274
+ G(w(e.option.label), 1)
275
275
  ]),
276
276
  _: 1
277
277
  }),
278
- e.option.description ? (v(), D(s, {
278
+ e.option.description ? (f(), D(s, {
279
279
  key: 0,
280
280
  class: "b-listbox-single-select-option__description",
281
281
  el: "span"
282
282
  }, {
283
- default: _(() => [
284
- V(w(e.option.description), 1)
283
+ default: T(() => [
284
+ G(w(e.option.description), 1)
285
285
  ]),
286
286
  _: 1
287
- })) : K("", !0)
287
+ })) : Y("", !0)
288
288
  ])
289
289
  ], !0),
290
- q("span", ft, [
291
- ae(R(i, { "svg-title": "selected" }, null, 512), [
290
+ K("span", vt, [
291
+ ae(B(l, { "svg-title": "selected" }, null, 512), [
292
292
  [Ae, e.selected]
293
293
  ])
294
294
  ])
@@ -296,15 +296,15 @@ function pt(e, t, n, u, c, a) {
296
296
  _: 3
297
297
  }, 8, ["disabled", "selected", "aria-selected", "aria-disabled", "tabindex"]);
298
298
  }
299
- const yt = /* @__PURE__ */ W(vt, [["render", pt], ["__scopeId", "data-v-226f4c84"]]), ke = ({ items: e, isOptionDisabled: t, hasStaticCategories: n }, u) => {
300
- const c = m(
301
- () => n.value ? e.value.flatMap((g) => g.items) : e.value
302
- ), a = m(() => c.value.length - 1), s = M(0);
299
+ const gt = /* @__PURE__ */ q(bt, [["render", ft], ["__scopeId", "data-v-226f4c84"]]), ke = ({ items: e, isOptionDisabled: t, hasStaticCategories: a }, c) => {
300
+ const u = v(
301
+ () => a.value ? e.value.flatMap((m) => m.items) : e.value
302
+ ), n = v(() => u.value.length - 1), s = M(0);
303
303
  Oe(() => {
304
- t && (s.value = e.value.findIndex((g) => !t(g)));
304
+ t && (s.value = e.value.findIndex((m) => !t(m)));
305
305
  });
306
- const i = (g) => !t || !!t && t(e.value[g]), r = (g) => !t || !!t && !t(e.value[g]), o = (g) => {
307
- switch (g) {
306
+ const l = (m) => !t || !!t && t(e.value[m]), r = (m) => !t || !!t && !t(e.value[m]), i = (m) => {
307
+ switch (m) {
308
308
  case "increase":
309
309
  s.value += 1;
310
310
  break;
@@ -312,26 +312,26 @@ const yt = /* @__PURE__ */ W(vt, [["render", pt], ["__scopeId", "data-v-226f4c84
312
312
  s.value -= 1;
313
313
  break;
314
314
  }
315
- }, p = ({ edgeCaseItem: g, isItemBeforeEdgeCaseItem: C }, O, B) => {
316
- s.value !== g && (C ? r(g) && o(B) : (o(B), i(s.value) && O()), u(s.value));
317
- }, l = (g) => {
315
+ }, y = ({ edgeCaseItem: m, isItemBeforeEdgeCaseItem: C }, O, k) => {
316
+ s.value !== m && (C ? r(m) && i(k) : (i(k), l(s.value) && O()), c(s.value));
317
+ }, o = (m) => {
318
318
  var O;
319
- (O = g == null ? void 0 : g.detail) == null || O.preventDefault();
320
- const C = s.value === a.value - 2;
321
- p(
319
+ (O = m == null ? void 0 : m.detail) == null || O.preventDefault();
320
+ const C = s.value === n.value - 2;
321
+ y(
322
322
  {
323
323
  isItemBeforeEdgeCaseItem: C,
324
- edgeCaseItem: a.value
324
+ edgeCaseItem: n.value
325
325
  },
326
- l,
326
+ o,
327
327
  "increase"
328
328
  /* INCREASE */
329
329
  );
330
- }, d = (g) => {
330
+ }, d = (m) => {
331
331
  var O;
332
- (O = g == null ? void 0 : g.detail) == null || O.preventDefault();
332
+ (O = m == null ? void 0 : m.detail) == null || O.preventDefault();
333
333
  const C = s.value === 1;
334
- p(
334
+ y(
335
335
  {
336
336
  edgeCaseItem: 0,
337
337
  isItemBeforeEdgeCaseItem: C
@@ -343,22 +343,22 @@ const yt = /* @__PURE__ */ W(vt, [["render", pt], ["__scopeId", "data-v-226f4c84
343
343
  };
344
344
  return {
345
345
  moveToFirstElement: () => {
346
- s.value = 0, i(s.value) ? l() : u(s.value);
346
+ s.value = 0, l(s.value) ? o() : c(s.value);
347
347
  },
348
348
  moveToLastElement: () => {
349
- s.value = a.value, i(s.value) ? d() : u(s.value);
349
+ s.value = n.value, l(s.value) ? d() : c(s.value);
350
350
  },
351
- moveToNextElement: l,
351
+ moveToNextElement: o,
352
352
  moveToPreviousElement: d,
353
- setListboxFocusedIndex: (g) => {
354
- s.value = g;
353
+ setListboxFocusedIndex: (m) => {
354
+ s.value = m;
355
355
  }
356
356
  };
357
- }, St = H({
357
+ }, yt = W({
358
358
  name: "bento-listbox-single-select",
359
359
  components: {
360
- BentoListboxSingleSelectCategory: it,
361
- BentoListboxSingleSelectOption: yt
360
+ BentoListboxSingleSelectCategory: nt,
361
+ BentoListboxSingleSelectOption: gt
362
362
  },
363
363
  directives: { BentoKeyboardNavigationDirective: Se },
364
364
  inheritAttrs: !1,
@@ -402,104 +402,104 @@ const yt = /* @__PURE__ */ W(vt, [["render", pt], ["__scopeId", "data-v-226f4c84
402
402
  staticCategories: { type: Boolean, default: !1 }
403
403
  },
404
404
  emits: [b.SELECT, b.ENTER, b.SPACE, b.TAB],
405
- setup(e, { emit: t, expose: n, slots: u }) {
406
- const c = M([]), a = m(() => {
407
- var g;
408
- return !!((g = e.selectedValue) != null && g.length) && e.selectedValue.at(0);
409
- }), s = m(() => !!e.items.some(({ items: g }) => !!g)), i = (g) => (C) => {
410
- t(g, [C]);
411
- }, r = (g) => c.value[g].$el.focus(), {
412
- moveToNextElement: o,
413
- moveToPreviousElement: p,
414
- moveToFirstElement: l,
405
+ setup(e, { emit: t, expose: a, slots: c }) {
406
+ const u = M([]), n = v(() => {
407
+ var m;
408
+ return !!((m = e.selectedValue) != null && m.length) && e.selectedValue.at(0);
409
+ }), s = v(() => !!e.items.some(({ items: m }) => !!m)), l = (m) => (C) => {
410
+ t(m, [C]);
411
+ }, r = (m) => u.value[m].$el.focus(), {
412
+ moveToNextElement: i,
413
+ moveToPreviousElement: y,
414
+ moveToFirstElement: o,
415
415
  moveToLastElement: d,
416
- setListboxFocusedIndex: k
416
+ setListboxFocusedIndex: R
417
417
  } = ke(
418
418
  {
419
- items: le(e, "items"),
419
+ items: se(e, "items"),
420
420
  isOptionDisabled: e.isOptionDisabled,
421
- hasStaticCategories: le(e, "staticCategories")
421
+ hasStaticCategories: se(e, "staticCategories")
422
422
  },
423
423
  r
424
- ), I = {
425
- [Y.ARROW_UP]: p,
426
- [Y.ARROW_DOWN]: o,
427
- [Y.HOME]: l,
428
- [Y.END]: d
424
+ ), $ = {
425
+ [F.ARROW_UP]: y,
426
+ [F.ARROW_DOWN]: i,
427
+ [F.HOME]: o,
428
+ [F.END]: d
429
429
  }, N = {
430
- [b.SELECT]: i(b.SELECT),
431
- [b.SPACE]: i(b.SPACE),
432
- [b.TAB]: i(b.TAB),
433
- [b.ENTER]: i(b.ENTER)
430
+ [b.SELECT]: l(b.SELECT),
431
+ [b.SPACE]: l(b.SPACE),
432
+ [b.TAB]: l(b.TAB),
433
+ [b.ENTER]: l(b.ENTER)
434
434
  };
435
- return n({
435
+ return a({
436
436
  /**
437
437
  * Reference for a single listbox item.
438
438
  * Required for keyboard navigation in dropdown as $children is removed in vue@3
439
439
  */
440
- listboxItemRef: c,
440
+ listboxItemRef: u,
441
441
  /**
442
442
  * Method to set the index of the item to be focused on
443
443
  * Used for focus management to be kept in-sync with parent e.g. dropdowns
444
444
  */
445
- setListboxFocusedIndex: k
445
+ setListboxFocusedIndex: R
446
446
  }), {
447
447
  // Enums
448
448
  BentoListboxEvent: b,
449
449
  // Values
450
- listboxItemRef: c,
451
- selectedItem: a,
452
- slots: u,
450
+ listboxItemRef: u,
451
+ selectedItem: n,
452
+ slots: c,
453
453
  // Computed
454
454
  hasCategories: s,
455
455
  // Methods
456
- onOptionSelected: i,
456
+ onOptionSelected: l,
457
457
  // Keyboard navigation
458
- listboxListeners: I,
458
+ listboxListeners: $,
459
459
  listboxOptionListeners: N
460
460
  };
461
461
  }
462
462
  });
463
- function Ct(e, t, n, u, c, a) {
464
- const s = L("bento-listbox-single-select-option"), i = L("bento-listbox-single-select-category"), r = ye("bento-keyboard-navigation-directive");
465
- return ae((v(), T("div", se(e.listboxListeners, !0), [
466
- e.hasCategories && e.staticCategories ? (v(!0), T(Q, { key: 0 }, z(e.items, (o) => (v(), D(i, {
467
- key: o.value,
468
- "category-label": o.label,
463
+ function pt(e, t, a, c, u, n) {
464
+ const s = L("bento-listbox-single-select-option"), l = L("bento-listbox-single-select-category"), r = pe("bento-keyboard-navigation-directive");
465
+ return ae((f(), _("div", te(e.listboxListeners, !0), [
466
+ e.hasCategories && e.staticCategories ? (f(!0), _(Z, { key: 0 }, x(e.items, (i) => (f(), D(l, {
467
+ key: i.value,
468
+ "category-label": i.label,
469
469
  role: "group"
470
470
  }, {
471
- default: _(() => [
472
- (v(!0), T(Q, null, z(o.items, (p) => (v(), D(s, F({
473
- key: p.value,
471
+ default: T(() => [
472
+ (f(!0), _(Z, null, x(i.items, (y) => (f(), D(s, U({
473
+ key: y.value,
474
474
  ref_for: !0,
475
475
  ref: "listboxItemRef",
476
476
  role: "option",
477
- option: p,
478
- disabled: e.isOptionDisabled ? e.isOptionDisabled(p) : null,
479
- selected: p.value === e.selectedItem.value
480
- }, se(e.listboxOptionListeners)), ie({ _: 2 }, [
481
- z(e.slots, (l, d) => ({
477
+ option: y,
478
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(y) : null,
479
+ selected: y.value === e.selectedItem.value
480
+ }, te(e.listboxOptionListeners)), ie({ _: 2 }, [
481
+ x(e.slots, (o, d) => ({
482
482
  name: d,
483
- fn: _((k) => [
484
- G(e.$slots, d, x(j(k)))
483
+ fn: T((R) => [
484
+ z(e.$slots, d, U({ ref_for: !0 }, R))
485
485
  ])
486
486
  }))
487
487
  ]), 1040, ["option", "disabled", "selected"]))), 128))
488
488
  ]),
489
489
  _: 2
490
- }, 1032, ["category-label"]))), 128)) : (v(!0), T(Q, { key: 1 }, z(e.items, (o) => (v(), D(s, F({
491
- key: o.value,
490
+ }, 1032, ["category-label"]))), 128)) : (f(!0), _(Z, { key: 1 }, x(e.items, (i) => (f(), D(s, U({
491
+ key: i.value,
492
492
  ref_for: !0,
493
493
  ref: "listboxItemRef",
494
494
  role: "option",
495
- option: o,
496
- disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null,
497
- selected: o.value === e.selectedItem.value
498
- }, se(e.listboxOptionListeners)), ie({ _: 2 }, [
499
- z(e.slots, (p, l) => ({
500
- name: l,
501
- fn: _((d) => [
502
- G(e.$slots, l, x(j(d)))
495
+ option: i,
496
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(i) : null,
497
+ selected: i.value === e.selectedItem.value
498
+ }, te(e.listboxOptionListeners)), ie({ _: 2 }, [
499
+ x(e.slots, (y, o) => ({
500
+ name: o,
501
+ fn: T((d) => [
502
+ z(e.$slots, o, U({ ref_for: !0 }, d))
503
503
  ])
504
504
  }))
505
505
  ]), 1040, ["option", "disabled", "selected"]))), 128))
@@ -507,22 +507,22 @@ function Ct(e, t, n, u, c, a) {
507
507
  [r]
508
508
  ]);
509
509
  }
510
- const ht = /* @__PURE__ */ W(St, [["render", Ct]]);
511
- var fe = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.STATIC_CATEGORY = "static-category", e))(fe || {}), ne = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.UNSELECT_CATEGORY = "unselect-category", e))(ne || {});
512
- const Et = {
510
+ const St = /* @__PURE__ */ q(yt, [["render", pt]]);
511
+ var ge = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.STATIC_CATEGORY = "static-category", e))(ge || {}), oe = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.UNSELECT_CATEGORY = "unselect-category", e))(oe || {});
512
+ const Ct = {
513
513
  "en-US": {
514
514
  categoryClosed: "{category} closed",
515
515
  categoryOpened: "{category} opened"
516
516
  }
517
- }, Lt = H({
518
- i18n: { messages: Et },
517
+ }, ht = W({
518
+ i18n: { messages: Ct },
519
519
  name: "bento-listbox-multi-select-category",
520
520
  components: {
521
521
  BentoCheckbox: Ce,
522
- BentoTypography: ee,
522
+ BentoTypography: J,
523
523
  BentoListboxOption: de,
524
- ChevronDownIcon: Xe,
525
- ChevronUpIcon: Ze
524
+ ChevronDownIcon: He,
525
+ ChevronUpIcon: Xe
526
526
  },
527
527
  props: {
528
528
  /**
@@ -563,78 +563,78 @@ const Et = {
563
563
  */
564
564
  staticCategories: { type: Boolean, default: !1 }
565
565
  },
566
- emits: [ne.SELECT_CATEGORY, ne.UNSELECT_CATEGORY],
566
+ emits: [oe.SELECT_CATEGORY, oe.UNSELECT_CATEGORY],
567
567
  setup(e, { emit: t }) {
568
- const n = M(!1), { t: u } = ue(), c = (S) => e.isOptionDisabled ? e.isOptionDisabled(S) : !1, a = m(
569
- () => e.category.items.every((S) => c(S))
570
- ), s = le(e, "staticCategories"), i = m(() => n.value || e.staticCategories), r = m(() => ({
571
- [`b-listbox-multi-select-category--${fe.DISABLED}`]: a.value,
572
- [`b-listbox-multi-select-category--${fe.STATIC_CATEGORY}`]: e.staticCategories
573
- })), o = (S) => {
574
- S.preventDefault(), n.value = !n.value;
575
- }, p = (S) => {
576
- var te;
577
- const A = c(S), U = ((te = e.selectedItemsList) == null ? void 0 : te.includes(S.value)) || !1;
578
- return { isDisabled: A, isPreSelected: U };
579
- }, l = m(
568
+ const a = M(!1), { t: c } = ue(), u = (S) => e.isOptionDisabled ? e.isOptionDisabled(S) : !1, n = v(
569
+ () => e.category.items.every((S) => u(S))
570
+ ), s = se(e, "staticCategories"), l = v(() => a.value || e.staticCategories), r = v(() => ({
571
+ [`b-listbox-multi-select-category--${ge.DISABLED}`]: n.value,
572
+ [`b-listbox-multi-select-category--${ge.STATIC_CATEGORY}`]: e.staticCategories
573
+ })), i = (S) => {
574
+ S.preventDefault(), a.value = !a.value;
575
+ }, y = (S) => {
576
+ var Q;
577
+ const I = u(S), V = ((Q = e.selectedItemsList) == null ? void 0 : Q.includes(S.value)) || !1;
578
+ return { isDisabled: I, isPreSelected: V };
579
+ }, o = v(
580
580
  () => e.category.items.filter((S) => {
581
- const { isDisabled: A, isPreSelected: U } = p(S);
582
- return A && U || !A;
581
+ const { isDisabled: I, isPreSelected: V } = y(S);
582
+ return I && V || !I;
583
583
  })
584
- ), d = m(
584
+ ), d = v(
585
585
  () => {
586
586
  var S;
587
- return (S = l.value) == null ? void 0 : S.filter(
588
- ({ value: A }) => {
589
- var U;
590
- return (U = e.selectedItemsList) == null ? void 0 : U.includes(A);
587
+ return (S = o.value) == null ? void 0 : S.filter(
588
+ ({ value: I }) => {
589
+ var V;
590
+ return (V = e.selectedItemsList) == null ? void 0 : V.includes(I);
591
591
  }
592
592
  );
593
593
  }
594
- ), k = m(() => {
595
- const S = n.value ? "categoryOpened" : "categoryClosed";
596
- return u(S, { category: e.category.label });
597
- }), I = m(
594
+ ), R = v(() => {
595
+ const S = a.value ? "categoryOpened" : "categoryClosed";
596
+ return c(S, { category: e.category.label });
597
+ }), $ = v(
598
598
  () => ({
599
599
  el: "span",
600
600
  variant: e.staticCategories ? "caption" : "body"
601
601
  })
602
602
  ), N = () => {
603
- t(ne.SELECT_CATEGORY);
604
- }, g = () => {
605
- t(ne.UNSELECT_CATEGORY);
606
- }, { isAllSelected: C, isIndeterminate: O, toggleSelectAll: B } = $e(
603
+ t(oe.SELECT_CATEGORY);
604
+ }, m = () => {
605
+ t(oe.UNSELECT_CATEGORY);
606
+ }, { isAllSelected: C, isIndeterminate: O, toggleSelectAll: k } = $e(
607
607
  d,
608
- l,
608
+ o,
609
609
  N,
610
- g
610
+ m
611
611
  );
612
612
  return {
613
613
  // Values
614
- chevronTitle: k,
614
+ chevronTitle: R,
615
615
  conditionalClass: r,
616
- hasAllPropsDisabled: a,
617
- isOpen: n,
616
+ hasAllPropsDisabled: n,
617
+ isOpen: a,
618
618
  isAllSelected: C,
619
619
  isIndeterminate: O,
620
620
  isStaticCategory: s,
621
621
  // Computed
622
- showItemChildren: i,
623
- categoryLabelProps: I,
622
+ showItemChildren: l,
623
+ categoryLabelProps: $,
624
624
  // Methods
625
- toggleOpen: o,
626
- toggleSelectAll: B
625
+ toggleOpen: i,
626
+ toggleSelectAll: k
627
627
  };
628
628
  }
629
- }), _t = { class: "b-listbox-multi-select-category__label" };
630
- function Tt(e, t, n, u, c, a) {
631
- const s = L("bento-checkbox"), i = L("bento-typography"), r = L("chevron-up-icon"), o = L("chevron-down-icon"), p = L("bento-listbox-option");
632
- return v(), T("div", null, [
633
- R(p, {
634
- class: ge(["b-listbox-multi-select-category__option", e.conditionalClass])
629
+ }), Et = { class: "b-listbox-multi-select-category__label" };
630
+ function Lt(e, t, a, c, u, n) {
631
+ const s = L("bento-checkbox"), l = L("bento-typography"), r = L("chevron-up-icon"), i = L("chevron-down-icon"), y = L("bento-listbox-option");
632
+ return f(), _("div", null, [
633
+ B(y, {
634
+ class: fe(["b-listbox-multi-select-category__option", e.conditionalClass])
635
635
  }, {
636
- default: _(() => [
637
- e.isStaticCategory ? K("", !0) : (v(), D(s, {
636
+ default: T(() => [
637
+ e.isStaticCategory ? Y("", !0) : (f(), D(s, {
638
638
  key: 0,
639
639
  "model-value": e.isAllSelected,
640
640
  indeterminate: e.isIndeterminate,
@@ -643,23 +643,23 @@ function Tt(e, t, n, u, c, a) {
643
643
  value: e.category.value,
644
644
  "onUpdate:modelValue": e.toggleSelectAll
645
645
  }, null, 8, ["model-value", "indeterminate", "disabled", "aria-label", "value", "onUpdate:modelValue"])),
646
- q("span", _t, [
647
- R(i, F(e.categoryLabelProps, { class: "b-listbox-multi-select-category__label-text" }), {
648
- default: _(() => [
649
- V(w(e.category.label), 1)
646
+ K("span", Et, [
647
+ B(l, U(e.categoryLabelProps, { class: "b-listbox-multi-select-category__label-text" }), {
648
+ default: T(() => [
649
+ G(w(e.category.label), 1)
650
650
  ]),
651
651
  _: 1
652
652
  }, 16),
653
- e.isStaticCategory ? K("", !0) : (v(), T("div", {
653
+ e.isStaticCategory ? Y("", !0) : (f(), _("div", {
654
654
  key: 0,
655
655
  class: "b-listbox-multi-select-category__label-chevron",
656
656
  "data-testid": "toggle-listbox",
657
- onClickCapture: t[0] || (t[0] = (...l) => e.toggleOpen && e.toggleOpen(...l))
657
+ onClickCapture: t[0] || (t[0] = (...o) => e.toggleOpen && e.toggleOpen(...o))
658
658
  }, [
659
- e.isOpen ? (v(), D(r, {
659
+ e.isOpen ? (f(), D(r, {
660
660
  key: 0,
661
661
  "svg-title": e.chevronTitle
662
- }, null, 8, ["svg-title"])) : (v(), D(o, {
662
+ }, null, 8, ["svg-title"])) : (f(), D(i, {
663
663
  key: 1,
664
664
  "svg-title": e.chevronTitle
665
665
  }, null, 8, ["svg-title"]))
@@ -668,22 +668,22 @@ function Tt(e, t, n, u, c, a) {
668
668
  ]),
669
669
  _: 1
670
670
  }, 8, ["class"]),
671
- ae(q("div", null, [
672
- G(e.$slots, "default", {}, void 0, !0)
671
+ ae(K("div", null, [
672
+ z(e.$slots, "default", {}, void 0, !0)
673
673
  ], 512), [
674
674
  [Ae, e.showItemChildren]
675
675
  ])
676
676
  ]);
677
677
  }
678
- const Ot = /* @__PURE__ */ W(Lt, [["render", Tt], ["__scopeId", "data-v-9a00de22"]]);
679
- var Z = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e))(Z || {});
680
- const It = H({
678
+ const Tt = /* @__PURE__ */ q(ht, [["render", Lt], ["__scopeId", "data-v-9a00de22"]]);
679
+ var H = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e))(H || {});
680
+ const _t = W({
681
681
  name: "listbox-multi-select-options",
682
682
  components: {
683
683
  BentoCheckbox: Ce,
684
684
  BentoListboxOption: de,
685
- BentoTypography: ee,
686
- ListboxMultiSelectCategory: Ot
685
+ BentoTypography: J,
686
+ ListboxMultiSelectCategory: Tt
687
687
  },
688
688
  props: {
689
689
  /**
@@ -741,93 +741,93 @@ const It = H({
741
741
  staticCategories: { type: Boolean, default: !1 }
742
742
  },
743
743
  emits: [
744
- Z.TOGGLE_CHECKBOX_SELECTION,
745
- Z.SELECT_CATEGORY,
746
- Z.UNSELECT_CATEGORY
744
+ H.TOGGLE_CHECKBOX_SELECTION,
745
+ H.SELECT_CATEGORY,
746
+ H.UNSELECT_CATEGORY
747
747
  ],
748
748
  setup(e, { emit: t }) {
749
- const n = (r) => {
750
- t(Z.TOGGLE_CHECKBOX_SELECTION, r);
751
- }, u = (r) => !!r.items, c = (r) => {
752
- const o = e.isMultiLevel && e.searching;
753
- return r.description && (!e.isMultiLevel || o);
754
- }, a = (r) => r.items ? !!r.items.find((o) => e.selectedItemsList.includes(o.value)) : e.selectedItemsList.includes(r.value), s = (r, o) => {
755
- if (u(o))
756
- return t(r ? Z.SELECT_CATEGORY : Z.UNSELECT_CATEGORY, o);
757
- n(o.value);
749
+ const a = (r) => {
750
+ t(H.TOGGLE_CHECKBOX_SELECTION, r);
751
+ }, c = (r) => !!r.items, u = (r) => {
752
+ const i = e.isMultiLevel && e.searching;
753
+ return r.description && (!e.isMultiLevel || i);
754
+ }, n = (r) => r.items ? !!r.items.find((i) => e.selectedItemsList.includes(i.value)) : e.selectedItemsList.includes(r.value), s = (r, i) => {
755
+ if (c(i))
756
+ return t(r ? H.SELECT_CATEGORY : H.UNSELECT_CATEGORY, i);
757
+ a(i.value);
758
758
  };
759
759
  return {
760
760
  // Values
761
- conditionalClasses: m(() => ({
761
+ conditionalClasses: v(() => ({
762
762
  "b-listbox-multi-select-options__static-category-option": e.staticCategories,
763
763
  "b-listbox-multi-select-options__category-option": e.categoryItems
764
764
  })),
765
765
  // Methods
766
- isOptionSelected: a,
767
- shouldShowDescription: c,
768
- toggleCheckboxSelection: n,
766
+ isOptionSelected: n,
767
+ shouldShowDescription: u,
768
+ toggleCheckboxSelection: a,
769
769
  selectSearch: s,
770
770
  // Enums
771
771
  BentoListboxEvent: b,
772
- ListboxMultiSelectOptionsEvent: Z
772
+ ListboxMultiSelectOptionsEvent: H
773
773
  };
774
774
  }
775
- }), At = { class: "b-listbox-multi-select__option-text" }, $t = { class: "b-listbox-multi-select__option-text" };
776
- function kt(e, t, n, u, c, a) {
777
- const s = L("bento-checkbox"), i = L("bento-typography"), r = L("bento-listbox-option"), o = L("listbox-multi-select-options", !0), p = L("listbox-multi-select-category");
778
- return v(), T("div", null, [
779
- (v(!0), T(Q, null, z(e.items, (l) => (v(), T("div", {
780
- key: `selected-${l.value}`
775
+ }), Ot = { class: "b-listbox-multi-select__option-text" }, It = { class: "b-listbox-multi-select__option-text" };
776
+ function At(e, t, a, c, u, n) {
777
+ const s = L("bento-checkbox"), l = L("bento-typography"), r = L("bento-listbox-option"), i = L("listbox-multi-select-options", !0), y = L("listbox-multi-select-category");
778
+ return f(), _("div", null, [
779
+ (f(!0), _(Z, null, x(e.items, (o) => (f(), _("div", {
780
+ key: `selected-${o.value}`
781
781
  }, [
782
- e.searching && e.isMultiLevel ? (v(), D(r, {
782
+ e.searching && e.isMultiLevel ? (f(), D(r, {
783
783
  key: 0,
784
- class: ge(["b-listbox-multi-select-options", e.conditionalClasses]),
785
- disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null
784
+ class: fe(["b-listbox-multi-select-options", e.conditionalClasses]),
785
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null
786
786
  }, {
787
- default: _(() => [
788
- R(s, {
789
- "model-value": e.isOptionSelected(l),
790
- "aria-label": l.label,
791
- disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
792
- value: l.value,
793
- "onUpdate:modelValue": (d) => e.selectSearch(d, l)
787
+ default: T(() => [
788
+ B(s, {
789
+ "model-value": e.isOptionSelected(o),
790
+ "aria-label": o.label,
791
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null,
792
+ value: o.value,
793
+ "onUpdate:modelValue": (d) => e.selectSearch(d, o)
794
794
  }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
795
- G(e.$slots, "default", x(j(l)), () => [
796
- q("span", At, [
797
- R(i, { el: "span" }, {
798
- default: _(() => [
799
- V(w(l.label), 1)
795
+ z(e.$slots, "default", U({ ref_for: !0 }, o), () => [
796
+ K("span", Ot, [
797
+ B(l, { el: "span" }, {
798
+ default: T(() => [
799
+ G(w(o.label), 1)
800
800
  ]),
801
801
  _: 2
802
802
  }, 1024),
803
- e.shouldShowDescription(l) ? (v(), D(i, {
803
+ e.shouldShowDescription(o) ? (f(), D(l, {
804
804
  key: 0,
805
805
  class: "b-listbox-multi-select__option-description",
806
806
  el: "span"
807
807
  }, {
808
- default: _(() => [
809
- V(w(l.description), 1)
808
+ default: T(() => [
809
+ G(w(o.description), 1)
810
810
  ]),
811
811
  _: 2
812
- }, 1024)) : K("", !0)
812
+ }, 1024)) : Y("", !0)
813
813
  ])
814
814
  ], !0)
815
815
  ]),
816
816
  _: 2
817
- }, 1032, ["class", "disabled"])) : (v(), T(Q, { key: 1 }, [
818
- l.items ? (v(), D(p, {
817
+ }, 1032, ["class", "disabled"])) : (f(), _(Z, { key: 1 }, [
818
+ o.items ? (f(), D(y, {
819
819
  key: 0,
820
- category: l,
820
+ category: o,
821
821
  "static-categories": e.staticCategories,
822
822
  "is-option-disabled": e.isOptionDisabled,
823
823
  "selected-items-list": e.selectedItemsList,
824
- onSelectCategory: (d) => e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, l),
825
- onUnselectCategory: (d) => e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, l)
824
+ onSelectCategory: (d) => e.$emit(e.ListboxMultiSelectOptionsEvent.SELECT_CATEGORY, o),
825
+ onUnselectCategory: (d) => e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, o)
826
826
  }, {
827
- default: _(() => [
828
- R(o, {
827
+ default: T(() => [
828
+ B(i, {
829
829
  "category-items": "",
830
- items: l.items,
830
+ items: o.items,
831
831
  "is-option-disabled": e.isOptionDisabled,
832
832
  "is-multi-level": e.isMultiLevel,
833
833
  "static-categories": e.staticCategories,
@@ -837,37 +837,37 @@ function kt(e, t, n, u, c, a) {
837
837
  }, null, 8, ["items", "is-option-disabled", "is-multi-level", "static-categories", "selected-items-list", "searching"])
838
838
  ]),
839
839
  _: 2
840
- }, 1032, ["category", "static-categories", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (v(), D(r, {
840
+ }, 1032, ["category", "static-categories", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (f(), D(r, {
841
841
  key: 1,
842
- class: ge(["b-listbox-multi-select-options", e.conditionalClasses]),
843
- disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null
842
+ class: fe(["b-listbox-multi-select-options", e.conditionalClasses]),
843
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null
844
844
  }, {
845
- default: _(() => [
846
- R(s, {
845
+ default: T(() => [
846
+ B(s, {
847
847
  "model-value": e.selectedItemsList,
848
- "aria-label": l.label,
849
- disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
850
- value: l.value,
851
- "onUpdate:modelValue": (d) => e.toggleCheckboxSelection(l)
848
+ "aria-label": o.label,
849
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(o) : null,
850
+ value: o.value,
851
+ "onUpdate:modelValue": (d) => e.toggleCheckboxSelection(o)
852
852
  }, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
853
- G(e.$slots, "default", x(j(l)), () => [
854
- q("span", $t, [
855
- R(i, { el: "span" }, {
856
- default: _(() => [
857
- V(w(l.label), 1)
853
+ z(e.$slots, "default", U({ ref_for: !0 }, o), () => [
854
+ K("span", It, [
855
+ B(l, { el: "span" }, {
856
+ default: T(() => [
857
+ G(w(o.label), 1)
858
858
  ]),
859
859
  _: 2
860
860
  }, 1024),
861
- e.shouldShowDescription(l) ? (v(), D(i, {
861
+ e.shouldShowDescription(o) ? (f(), D(l, {
862
862
  key: 0,
863
863
  class: "b-listbox-multi-select__option-description",
864
864
  el: "span"
865
865
  }, {
866
- default: _(() => [
867
- V(w(l.description), 1)
866
+ default: T(() => [
867
+ G(w(o.description), 1)
868
868
  ]),
869
869
  _: 2
870
- }, 1024)) : K("", !0)
870
+ }, 1024)) : Y("", !0)
871
871
  ])
872
872
  ], !0)
873
873
  ]),
@@ -877,14 +877,14 @@ function kt(e, t, n, u, c, a) {
877
877
  ]))), 128))
878
878
  ]);
879
879
  }
880
- const Bt = /* @__PURE__ */ W(It, [["render", kt], ["__scopeId", "data-v-25938a72"]]), Be = {
880
+ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72"]]), Be = {
881
881
  "en-US": {
882
882
  remove: "Remove"
883
883
  }
884
- }, Rt = { class: "b-listbox-multi-select-chips" }, Dt = {
884
+ }, kt = { class: "b-listbox-multi-select-chips" }, Bt = {
885
885
  i18n: { messages: Be }
886
- }, Nt = /* @__PURE__ */ H({
887
- ...Dt,
886
+ }, Rt = /* @__PURE__ */ W({
887
+ ...Bt,
888
888
  __name: "listbox-multi-select-chips",
889
889
  props: {
890
890
  /**
@@ -908,29 +908,29 @@ const Bt = /* @__PURE__ */ W(It, [["render", kt], ["__scopeId", "data-v-25938a72
908
908
  },
909
909
  emits: ["unselect-item", "unselect-category"],
910
910
  setup(e, { emit: t }) {
911
- const { t: n } = ue({ messages: Be }), u = (c) => c.items ? t("unselect-category", c) : t("unselect-item", c);
912
- return (c, a) => (v(), T("div", Rt, [
913
- (v(!0), T(Q, null, z(e.items, (s) => (v(), T("div", {
914
- key: `selected-${s.value}`
911
+ const a = t, { t: c } = ue({ messages: Be }), u = (n) => n.items ? a("unselect-category", n) : a("unselect-item", n);
912
+ return (n, s) => (f(), _("div", kt, [
913
+ (f(!0), _(Z, null, x(e.items, (l) => (f(), _("div", {
914
+ key: `selected-${l.value}`
915
915
  }, [
916
- R(ce(Je), {
916
+ B(ce(Ze), {
917
917
  class: "b-listbox-multi-select-chips__chip",
918
- disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null,
919
- onClick: (i) => u(s)
918
+ disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
919
+ onClick: (r) => u(l)
920
920
  }, {
921
- iconRight: _(() => [
922
- R(ce(Qe), {
923
- "svg-title": ce(n)("remove")
921
+ iconRight: T(() => [
922
+ B(ce(Je), {
923
+ "svg-title": ce(c)("remove")
924
924
  }, null, 8, ["svg-title"])
925
925
  ]),
926
- default: _(() => [
927
- R(ce(ee), {
926
+ default: T(() => [
927
+ B(ce(J), {
928
928
  el: "span",
929
929
  variant: "caption",
930
930
  class: "b-listbox-multi-select-chips__option-text"
931
931
  }, {
932
- default: _(() => [
933
- V(w(s.label), 1)
932
+ default: T(() => [
933
+ G(w(l.label), 1)
934
934
  ]),
935
935
  _: 2
936
936
  }, 1024)
@@ -940,34 +940,34 @@ const Bt = /* @__PURE__ */ W(It, [["render", kt], ["__scopeId", "data-v-25938a72
940
940
  ]))), 128))
941
941
  ]));
942
942
  }
943
- }), Mt = /* @__PURE__ */ W(Nt, [["__scopeId", "data-v-7c5f8bdb"]]), Le = {
943
+ }), Dt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-7c5f8bdb"]]), Le = {
944
944
  "en-US": {
945
945
  allSelected: "All selected ({total})",
946
946
  numberOfTotalSelected: "{number} of {total} selected",
947
947
  numbersSelected: "{number} selected",
948
948
  selectAll: "Select all ({total})"
949
949
  }
950
- }, Pt = (e) => {
951
- const t = m(() => {
952
- var u;
953
- return !!((u = e.value) != null && u.find(({ items: c }) => !!c));
954
- }), n = m(() => {
955
- var u;
956
- return t.value ? (u = e.value) == null ? void 0 : u.reduce((c, a) => (a.items ? c.push(...a.items.flat()) : c.push(a), c), []) : e.value;
950
+ }, Nt = (e) => {
951
+ const t = v(() => {
952
+ var c;
953
+ return !!((c = e.value) != null && c.find(({ items: u }) => !!u));
954
+ }), a = v(() => {
955
+ var c;
956
+ return t.value ? (c = e.value) == null ? void 0 : c.reduce((u, n) => (n.items ? u.push(...n.items.flat()) : u.push(n), u), []) : e.value;
957
957
  });
958
958
  return {
959
959
  isMultiLevelSelect: t,
960
- flattenedItemsList: n
960
+ flattenedItemsList: a
961
961
  };
962
- }, wt = H({
962
+ }, Mt = W({
963
963
  i18n: { messages: Le },
964
964
  name: "bento-listbox-multi-select",
965
965
  components: {
966
966
  BentoCheckbox: Ce,
967
967
  BentoListboxOption: de,
968
- BentoTypography: ee,
969
- ListboxMultiSelectOptions: Bt,
970
- ListboxMultiSelectChips: Mt
968
+ BentoTypography: J,
969
+ ListboxMultiSelectOptions: $t,
970
+ ListboxMultiSelectChips: Dt
971
971
  },
972
972
  directives: { BentoKeyboardNavigationDirective: Se },
973
973
  props: {
@@ -1006,8 +1006,8 @@ const Bt = /* @__PURE__ */ W(It, [["render", kt], ["__scopeId", "data-v-25938a72
1006
1006
  */
1007
1007
  lazyLoadType: {
1008
1008
  type: String,
1009
- default: J.NONE,
1010
- validator: (e) => Object.values(J).includes(e)
1009
+ default: X.NONE,
1010
+ validator: (e) => Object.values(X).includes(e)
1011
1011
  },
1012
1012
  /**
1013
1013
  * Flag that indicates that an external search it's being made
@@ -1030,182 +1030,182 @@ const Bt = /* @__PURE__ */ W(It, [["render", kt], ["__scopeId", "data-v-25938a72
1030
1030
  staticCategories: { type: Boolean, default: !1 }
1031
1031
  },
1032
1032
  emits: [b.SELECT],
1033
- setup(e, { emit: t, slots: n }) {
1034
- const { t: u } = ue({ messages: Le }), c = M(null), a = M(null), s = M(null), i = m(
1035
- () => e.selectedValues.map(({ value: f }) => f)
1036
- ), { isMultiLevelSelect: r, flattenedItemsList: o } = Pt(le(e, "items")), p = (f) => {
1037
- var $;
1038
- const y = e.isOptionDisabled(f), h = (($ = i.value) == null ? void 0 : $.includes(f.value)) || !1;
1039
- return { isDisabled: y, isPreSelected: h };
1040
- }, l = m(() => {
1033
+ setup(e, { emit: t, slots: a }) {
1034
+ const { t: c } = ue({ messages: Le }), u = M(null), n = M(null), s = M(null), l = v(
1035
+ () => e.selectedValues.map(({ value: g }) => g)
1036
+ ), { isMultiLevelSelect: r, flattenedItemsList: i } = Nt(se(e, "items")), y = (g) => {
1037
+ var A;
1038
+ const p = e.isOptionDisabled(g), h = ((A = l.value) == null ? void 0 : A.includes(g.value)) || !1;
1039
+ return { isDisabled: p, isPreSelected: h };
1040
+ }, o = v(() => {
1041
1041
  if (e.searching && r)
1042
1042
  return e.items;
1043
- const f = o.value.filter((y) => {
1044
- const { isDisabled: h, isPreSelected: $ } = p(y);
1045
- return h && $ || !h;
1043
+ const g = i.value.filter((p) => {
1044
+ const { isDisabled: h, isPreSelected: A } = y(p);
1045
+ return h && A || !h;
1046
1046
  });
1047
- return e.selectedValues.forEach((y) => {
1048
- f.find((h) => h.value === y.value) || f.push(y);
1049
- }), f;
1050
- }), d = m(
1047
+ return e.selectedValues.forEach((p) => {
1048
+ g.find((h) => h.value === p.value) || g.push(p);
1049
+ }), g;
1050
+ }), d = v(
1051
1051
  () => {
1052
- var f;
1053
- return (f = l.value) == null ? void 0 : f.filter((y) => {
1052
+ var g;
1053
+ return (g = o.value) == null ? void 0 : g.filter((p) => {
1054
1054
  var h;
1055
- return y.items && r.value && e.searching ? y.items.filter(
1055
+ return p.items && r.value && e.searching ? p.items.filter(
1056
1056
  (E) => (e.selectedValues ?? []).includes(E.value)
1057
- ).length === y.items.length : (h = i.value) == null ? void 0 : h.includes(y.value);
1057
+ ).length === p.items.length : (h = l.value) == null ? void 0 : h.includes(p.value);
1058
1058
  });
1059
1059
  }
1060
- ), k = () => r.value && !e.searching ? o.value.length : e.items.length, I = m(() => {
1061
- var $;
1062
- const f = l.value.length, y = k(), h = (($ = d.value) == null ? void 0 : $.length) || 0;
1063
- return h === 0 ? u("selectAll", { total: f }) : h === y ? u("allSelected", { total: y }) : h <= y ? u("numberOfTotalSelected", { number: h, total: y }) : u("numbersSelected", { number: h });
1064
- }), N = (f) => {
1065
- const y = ($) => {
1066
- const { isDisabled: E, isPreSelected: X } = p($);
1067
- return E && X || !E;
1068
- }, h = f.filter(y).filter(($) => !i.value.includes($.value));
1060
+ ), R = () => r.value && !e.searching ? i.value.length : e.items.length, $ = v(() => {
1061
+ var A;
1062
+ const g = o.value.length, p = R(), h = ((A = d.value) == null ? void 0 : A.length) || 0;
1063
+ return h === 0 ? c("selectAll", { total: g }) : h === p ? c("allSelected", { total: p }) : h <= p ? c("numberOfTotalSelected", { number: h, total: p }) : c("numbersSelected", { number: h });
1064
+ }), N = (g) => {
1065
+ const p = (A) => {
1066
+ const { isDisabled: E, isPreSelected: j } = y(A);
1067
+ return E && j || !E;
1068
+ }, h = g.filter(p).filter((A) => !l.value.includes(A.value));
1069
1069
  t(b.SELECT, [...e.selectedValues, ...h]);
1070
- }, g = (f) => {
1071
- const y = (E) => {
1072
- const { isDisabled: X, isPreSelected: Fe } = p(E);
1073
- return !(X && Fe);
1074
- }, h = f.filter(y).map(({ value: E }) => E), $ = e.selectedValues.filter((E) => !(h != null && h.includes(E.value)));
1075
- t(b.SELECT, $);
1070
+ }, m = (g) => {
1071
+ const p = (E) => {
1072
+ const { isDisabled: j, isPreSelected: xe } = y(E);
1073
+ return !(j && xe);
1074
+ }, h = g.filter(p).map(({ value: E }) => E), A = e.selectedValues.filter((E) => !(h != null && h.includes(E.value)));
1075
+ t(b.SELECT, A);
1076
1076
  }, C = () => {
1077
- N(o.value);
1077
+ N(i.value);
1078
1078
  }, O = () => {
1079
- g(o.value);
1080
- }, { isAllSelected: B, isIndeterminate: S, toggleSelectAll: A } = $e(
1079
+ m(i.value);
1080
+ }, { isAllSelected: k, isIndeterminate: S, toggleSelectAll: I } = $e(
1081
1081
  d,
1082
- l,
1082
+ o,
1083
1083
  C,
1084
1084
  O
1085
- ), U = (f) => {
1086
- N(f.items);
1087
- }, te = (f) => {
1088
- g(f.items);
1089
- }, be = (f, y) => {
1085
+ ), V = (g) => {
1086
+ N(g.items);
1087
+ }, Q = (g) => {
1088
+ m(g.items);
1089
+ }, be = (g, p) => {
1090
1090
  let h = !1;
1091
- const $ = e.selectedValues.filter(({ value: E }) => y.value === E ? (h = !0, !1) : !0);
1092
- h || $.push(y), t(f, $);
1093
- }, re = m(() => {
1091
+ const A = e.selectedValues.filter(({ value: E }) => p.value === E ? (h = !0, !1) : !0);
1092
+ h || A.push(p), t(g, A);
1093
+ }, re = v(() => {
1094
1094
  if (!r.value)
1095
1095
  return e.selectedValues;
1096
- const f = (E) => i.value.includes(E.value), y = (E) => !e.staticCategories && E.every((X) => f(X));
1096
+ const g = (E) => l.value.includes(E.value), p = (E) => !e.staticCategories && E.every((j) => g(j));
1097
1097
  return e.items.flatMap(
1098
- (E) => E.items && !y(E.items) ? E.items : E
1099
- ).filter((E) => E.items ? !0 : f(E));
1100
- }), me = m(() => {
1101
- var h, $, E, X;
1102
- const f = ["automatic", "button"].includes(e.lazyLoadType), y = ((h = e.selectedValues) == null ? void 0 : h.length) > 0 && (($ = d.value) == null ? void 0 : $.length) !== ((E = o.value) == null ? void 0 : E.length);
1103
- return f && e.hasMoreItems ? !!((X = e.selectedValues) != null && X.length) : y;
1104
- }), P = m(() => ["automatic", "button"].includes(e.lazyLoadType) ? !e.hasMoreItems : !0), oe = m(
1105
- () => c.value ? [c.value] : []
1106
- ), Re = m(
1098
+ (E) => E.items && !p(E.items) ? E.items : E
1099
+ ).filter((E) => E.items ? !0 : g(E));
1100
+ }), me = v(() => {
1101
+ var h, A, E, j;
1102
+ const g = ["automatic", "button"].includes(e.lazyLoadType), p = ((h = e.selectedValues) == null ? void 0 : h.length) > 0 && ((A = d.value) == null ? void 0 : A.length) !== ((E = i.value) == null ? void 0 : E.length);
1103
+ return g && e.hasMoreItems ? !!((j = e.selectedValues) != null && j.length) : p;
1104
+ }), P = v(() => ["automatic", "button"].includes(e.lazyLoadType) ? !e.hasMoreItems : !0), le = v(
1105
+ () => u.value ? [u.value] : []
1106
+ ), Re = v(
1107
1107
  () => {
1108
- var f, y;
1109
- return (y = (f = a.value) == null ? void 0 : f.$children) != null && y.length ? a.value.$children : [];
1108
+ var g, p;
1109
+ return (p = (g = n.value) == null ? void 0 : g.$children) != null && p.length ? n.value.$children : [];
1110
1110
  }
1111
- ), De = m(
1111
+ ), De = v(
1112
1112
  () => {
1113
- var f, y;
1114
- return (y = (f = s.value) == null ? void 0 : f.$children) != null && y.length ? s.value.$children : [];
1113
+ var g, p;
1114
+ return (p = (g = s.value) == null ? void 0 : g.$children) != null && p.length ? s.value.$children : [];
1115
1115
  }
1116
- ), Ne = m(() => ({ label: I, value: B })), Me = m(() => [
1116
+ ), Ne = v(() => ({ label: $, value: k })), Me = v(() => [
1117
1117
  Ne,
1118
1118
  ...re.value,
1119
- ...o.value
1120
- ]), Pe = (f) => {
1119
+ ...i.value
1120
+ ]), Pe = (g) => {
1121
1121
  [
1122
- ...oe.value,
1122
+ ...le.value,
1123
1123
  ...Re.value,
1124
1124
  ...De.value
1125
- ][f].$el.focus();
1125
+ ][g].$el.focus();
1126
1126
  }, { moveToNextElement: we, moveToPreviousElement: Ue, moveToFirstElement: Ve, moveToLastElement: Ge } = ke(
1127
1127
  {
1128
1128
  items: M(Me),
1129
1129
  isOptionDisabled: e.isOptionDisabled,
1130
- hasStaticCategories: le(e, "staticCategories")
1130
+ hasStaticCategories: se(e, "staticCategories")
1131
1131
  },
1132
1132
  Pe
1133
1133
  ), ze = {
1134
- [Y.ARROW_UP]: (f) => Ue(f),
1135
- [Y.ARROW_DOWN]: (f) => we(f),
1136
- [Y.HOME]: Ve,
1137
- [Y.END]: Ge
1134
+ [F.ARROW_UP]: (g) => Ue(g),
1135
+ [F.ARROW_DOWN]: (g) => we(g),
1136
+ [F.HOME]: Ve,
1137
+ [F.END]: Ge
1138
1138
  };
1139
1139
  return {
1140
1140
  // Refs
1141
- selectAllListboxItemsRef: c,
1142
- selectedListboxItemsRef: a,
1141
+ selectAllListboxItemsRef: u,
1142
+ selectedListboxItemsRef: n,
1143
1143
  listboxItemsRef: s,
1144
1144
  // Values
1145
- isAllSelected: B,
1145
+ isAllSelected: k,
1146
1146
  showSelectedItems: me,
1147
1147
  isIndeterminate: S,
1148
1148
  isMultiLevelSelect: r,
1149
- flattenedItemsList: o,
1150
- selectedItemsList: i,
1151
- selectAllCheckboxText: I,
1149
+ flattenedItemsList: i,
1150
+ selectedItemsList: l,
1151
+ selectAllCheckboxText: $,
1152
1152
  selectedOptions: re,
1153
1153
  showSelectAllCheckbox: P,
1154
- slots: n,
1154
+ slots: a,
1155
1155
  // Enums
1156
1156
  BentoListboxEvent: b,
1157
1157
  // Methods
1158
- selectAllCategory: U,
1158
+ selectAllCategory: V,
1159
1159
  toggleCheckboxSelection: be,
1160
- toggleSelectAll: A,
1161
- unselectAllCategory: te,
1160
+ toggleSelectAll: I,
1161
+ unselectAllCategory: Q,
1162
1162
  // Events
1163
1163
  listboxListeners: ze
1164
1164
  };
1165
1165
  }
1166
- }), Ut = (e) => (Ke("data-v-282f5857"), e = e(), qe(), e), Vt = {
1166
+ }), Pt = {
1167
1167
  key: 1,
1168
1168
  class: "b-listbox-multi-select__divider"
1169
- }, Gt = { key: 2 }, zt = /* @__PURE__ */ Ut(() => /* @__PURE__ */ q("hr", { class: "b-listbox-multi-select__divider" }, null, -1));
1170
- function Ft(e, t, n, u, c, a) {
1171
- const s = L("bento-checkbox"), i = L("bento-typography"), r = L("bento-listbox-option"), o = L("listbox-multi-select-chips"), p = L("listbox-multi-select-options"), l = ye("bento-keyboard-navigation-directive");
1172
- return ae((v(), T("div", F({ class: "b-listbox-multi-select" }, se(e.listboxListeners, !0)), [
1173
- e.showSelectAllCheckbox ? (v(), D(r, {
1169
+ }, wt = { key: 2 };
1170
+ function Ut(e, t, a, c, u, n) {
1171
+ const s = L("bento-checkbox"), l = L("bento-typography"), r = L("bento-listbox-option"), i = L("listbox-multi-select-chips"), y = L("listbox-multi-select-options"), o = pe("bento-keyboard-navigation-directive");
1172
+ return ae((f(), _("div", U({ class: "b-listbox-multi-select" }, te(e.listboxListeners, !0)), [
1173
+ e.showSelectAllCheckbox ? (f(), D(r, {
1174
1174
  key: 0,
1175
1175
  ref: "selectAllListboxItemsRef",
1176
1176
  class: "b-listbox-multi-select__option"
1177
1177
  }, {
1178
- default: _(() => [
1179
- R(s, {
1178
+ default: T(() => [
1179
+ B(s, {
1180
1180
  "aria-label": e.selectAllCheckboxText,
1181
1181
  "model-value": e.isAllSelected,
1182
1182
  indeterminate: e.isIndeterminate,
1183
1183
  "onUpdate:modelValue": e.toggleSelectAll
1184
1184
  }, null, 8, ["aria-label", "model-value", "indeterminate", "onUpdate:modelValue"]),
1185
- R(i, {
1185
+ B(l, {
1186
1186
  el: "span",
1187
1187
  "aria-hidden": "true"
1188
1188
  }, {
1189
- default: _(() => [
1190
- V(w(e.selectAllCheckboxText), 1)
1189
+ default: T(() => [
1190
+ G(w(e.selectAllCheckboxText), 1)
1191
1191
  ]),
1192
1192
  _: 1
1193
1193
  })
1194
1194
  ]),
1195
1195
  _: 1
1196
- }, 512)) : K("", !0),
1197
- e.showSelectAllCheckbox ? (v(), T("hr", Vt)) : K("", !0),
1198
- e.showSelectedItems ? (v(), T("div", Gt, [
1199
- R(o, {
1196
+ }, 512)) : Y("", !0),
1197
+ e.showSelectAllCheckbox ? (f(), _("hr", Pt)) : Y("", !0),
1198
+ e.showSelectedItems ? (f(), _("div", wt, [
1199
+ B(i, {
1200
1200
  ref: "selectedListboxItemsRef",
1201
1201
  items: e.selectedOptions,
1202
1202
  "is-option-disabled": e.isOptionDisabled,
1203
1203
  onUnselectCategory: e.unselectAllCategory,
1204
1204
  onUnselectItem: t[0] || (t[0] = (d) => e.toggleCheckboxSelection(e.BentoListboxEvent.SELECT, d))
1205
1205
  }, null, 8, ["items", "is-option-disabled", "onUnselectCategory"]),
1206
- zt
1207
- ])) : K("", !0),
1208
- R(p, {
1206
+ t[5] || (t[5] = K("hr", { class: "b-listbox-multi-select__divider" }, null, -1))
1207
+ ])) : Y("", !0),
1208
+ B(y, {
1209
1209
  ref: "listboxItemsRef",
1210
1210
  items: e.items,
1211
1211
  "is-option-disabled": e.isOptionDisabled,
@@ -1220,34 +1220,34 @@ function Ft(e, t, n, u, c, a) {
1220
1220
  onTabPressed: t[3] || (t[3] = (d) => e.toggleCheckboxSelection(e.BentoListboxEvent.TAB, d)),
1221
1221
  onEnterPressed: t[4] || (t[4] = (d) => e.toggleCheckboxSelection(e.BentoListboxEvent.ENTER, d))
1222
1222
  }, ie({ _: 2 }, [
1223
- z(e.slots, (d, k) => ({
1224
- name: k,
1225
- fn: _((I) => [
1226
- G(e.$slots, k, x(j(I)), void 0, !0)
1223
+ x(e.slots, (d, R) => ({
1224
+ name: R,
1225
+ fn: T(($) => [
1226
+ z(e.$slots, R, ee(ne($)), void 0, !0)
1227
1227
  ])
1228
1228
  }))
1229
1229
  ]), 1032, ["items", "is-option-disabled", "is-multi-level", "static-categories", "searching", "selected-items-list", "onSelectCategory", "onUnselectCategory"])
1230
1230
  ], 16)), [
1231
- [l]
1231
+ [o]
1232
1232
  ]);
1233
1233
  }
1234
- const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857"]]), Te = {
1234
+ const Te = /* @__PURE__ */ q(Mt, [["render", Ut], ["__scopeId", "data-v-282f5857"]]), _e = {
1235
1235
  "en-US": {
1236
1236
  showMore: "Show more",
1237
1237
  loading: "Loading"
1238
1238
  }
1239
- }, xt = 36, Yt = H({
1239
+ }, Vt = 36, Gt = W({
1240
1240
  name: "bento-listbox",
1241
1241
  components: {
1242
- BentoEmptyState: je,
1243
- BentoListboxSingleSelect: ht,
1244
- BentoListboxMultiSelect: _e,
1245
- BentoTypography: ee,
1246
- BentoLoadingIndicator: We,
1247
- BentoLoadingButton: et
1242
+ BentoEmptyState: We,
1243
+ BentoListboxSingleSelect: St,
1244
+ BentoListboxMultiSelect: Te,
1245
+ BentoTypography: J,
1246
+ BentoLoadingIndicator: qe,
1247
+ BentoLoadingButton: Qe
1248
1248
  },
1249
1249
  directives: { BentoKeyboardNavigationDirective: Se },
1250
- i18n: { messages: Te },
1250
+ i18n: { messages: _e },
1251
1251
  props: {
1252
1252
  /**
1253
1253
  * Defines a string value that labels an interactive element.
@@ -1303,8 +1303,8 @@ const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857
1303
1303
  */
1304
1304
  lazyLoadType: {
1305
1305
  type: String,
1306
- default: J.NONE,
1307
- validator: (e) => Object.values(J).includes(e)
1306
+ default: X.NONE,
1307
+ validator: (e) => Object.values(X).includes(e)
1308
1308
  },
1309
1309
  /**
1310
1310
  * If enabled, the user will be able to select multiple items.
@@ -1324,7 +1324,7 @@ const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857
1324
1324
  *
1325
1325
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
1326
1326
  */
1327
- searching: _e.props.searching,
1327
+ searching: Te.props.searching,
1328
1328
  /**
1329
1329
  * The `input` value.
1330
1330
  * Providing an empty string or empty array will select no options.
@@ -1351,46 +1351,46 @@ const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857
1351
1351
  b.ESCAPE,
1352
1352
  b.TAB
1353
1353
  ],
1354
- setup(e, { emit: t, slots: n }) {
1355
- const u = M([]), c = le(e, "items"), { t: a } = ue({ messages: Te }), s = m(() => e.lazyLoadType !== J.AUTOMATIC), i = m(() => e.lazyLoadType === J.AUTOMATIC), r = () => {
1354
+ setup(e, { emit: t, slots: a }) {
1355
+ const c = M([]), u = se(e, "items"), { t: n } = ue({ messages: _e }), s = v(() => e.lazyLoadType !== X.AUTOMATIC), l = v(() => e.lazyLoadType === X.AUTOMATIC), r = () => {
1356
1356
  var P;
1357
- return typeof (e == null ? void 0 : e.virtualScroll) == "object" && ((P = e == null ? void 0 : e.virtualScroll) != null && P.itemHeight) ? e.virtualScroll.itemHeight : xt;
1357
+ return typeof (e == null ? void 0 : e.virtualScroll) == "object" && ((P = e == null ? void 0 : e.virtualScroll) != null && P.itemHeight) ? e.virtualScroll.itemHeight : Vt;
1358
1358
  }, {
1359
- containerRef: o,
1360
- containerProps: p,
1361
- onScroll: l,
1359
+ containerRef: i,
1360
+ containerProps: y,
1361
+ onScroll: o,
1362
1362
  list: d,
1363
- wrapperProps: k
1364
- } = st(c, {
1363
+ wrapperProps: R
1364
+ } = tt(u, {
1365
1365
  itemHeight: r(),
1366
1366
  // Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
1367
1367
  disabled: (e == null ? void 0 : e.multiple) || (e == null ? void 0 : e.virtualScroll) === !1 || (e == null ? void 0 : e.lazyLoadType) !== "none"
1368
- }), I = m(
1368
+ }), $ = v(
1369
1369
  () => s.value ? "true" : void 0
1370
- ), N = m(
1370
+ ), N = v(
1371
1371
  () => s.value && e.loading ? "true" : "false"
1372
- ), g = m(
1372
+ ), m = v(
1373
1373
  () => s.value ? "polite" : void 0
1374
- ), C = (P) => (oe) => {
1375
- t(P, oe);
1374
+ ), C = (P) => (le) => {
1375
+ t(P, le);
1376
1376
  }, O = () => {
1377
1377
  t(b.SHOW_MORE);
1378
- }, B = He(() => {
1379
- const P = o.value;
1378
+ }, k = je(() => {
1379
+ const P = i.value;
1380
1380
  if (!P)
1381
1381
  return;
1382
- const oe = Math.round(P.scrollTop) + P.clientHeight >= P.scrollHeight;
1383
- e.hasMoreItems && oe && !e.loading && O();
1382
+ const le = Math.round(P.scrollTop) + P.clientHeight >= P.scrollHeight;
1383
+ e.hasMoreItems && le && !e.loading && O();
1384
1384
  }), S = () => {
1385
- i.value ? B() : l();
1386
- }, A = m(() => {
1385
+ l.value ? k() : o();
1386
+ }, I = v(() => {
1387
1387
  var P;
1388
1388
  return ((P = e.items) == null ? void 0 : P.length) === 0;
1389
- }), U = m(
1390
- () => e.lazyLoadType === J.BUTTON && e.hasMoreItems
1391
- ), te = m(
1389
+ }), V = v(
1390
+ () => e.lazyLoadType === X.BUTTON && e.hasMoreItems
1391
+ ), Q = v(
1392
1392
  () => e.loading ? he.LOADING : he.START
1393
- ), be = m(() => e.loading ? a("loading") : a("showMore")), re = m(() => ({
1393
+ ), be = v(() => e.loading ? n("loading") : n("showMore")), re = v(() => ({
1394
1394
  ...e.emptyState,
1395
1395
  variant: "condensed"
1396
1396
  })), me = {
@@ -1401,24 +1401,24 @@ const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857
1401
1401
  };
1402
1402
  return {
1403
1403
  // Refs
1404
- listboxRef: o,
1405
- listboxItemRef: u,
1404
+ listboxRef: i,
1405
+ listboxItemRef: c,
1406
1406
  // a11y
1407
- ariaAtomic: I,
1407
+ ariaAtomic: $,
1408
1408
  ariaBusy: N,
1409
- ariaLive: g,
1409
+ ariaLive: m,
1410
1410
  // Values
1411
- containerProps: p,
1412
- isSearchResultEmpty: A,
1411
+ containerProps: y,
1412
+ isSearchResultEmpty: I,
1413
1413
  limitedEmptyStateProps: re,
1414
- loadingButtonState: te,
1415
- slots: n,
1416
- shouldDisplayShowMoreButton: U,
1414
+ loadingButtonState: Q,
1415
+ slots: a,
1416
+ shouldDisplayShowMoreButton: V,
1417
1417
  showMoreButtonText: be,
1418
1418
  virtualisedItems: d,
1419
- wrapperProps: k,
1419
+ wrapperProps: R,
1420
1420
  // Enums
1421
- BentoKeyboardNavigationKeyDownEvent: Y,
1421
+ BentoKeyboardNavigationKeyDownEvent: F,
1422
1422
  BentoListboxEvent: b,
1423
1423
  // Methods
1424
1424
  onListboxContainerScroll: S,
@@ -1427,19 +1427,22 @@ const _e = /* @__PURE__ */ W(wt, [["render", Ft], ["__scopeId", "data-v-282f5857
1427
1427
  listboxListeners: me
1428
1428
  };
1429
1429
  }
1430
- }), Kt = ["id", "aria-busy", "aria-atomic", "aria-label", "aria-live"], qt = {
1430
+ }), zt = ["id", "aria-busy", "aria-atomic", "aria-label", "aria-live"], xt = {
1431
1431
  key: 0,
1432
1432
  class: "b-listbox__empty-search-message"
1433
- }, Wt = {
1433
+ }, Ft = {
1434
1434
  key: 2,
1435
1435
  class: "b-listbox__lazy-load"
1436
- }, jt = {
1436
+ }, Yt = {
1437
1437
  key: 3,
1438
1438
  class: "b-listbox__lazy-load"
1439
1439
  };
1440
- function Ht(e, t, n, u, c, a) {
1441
- const s = L("bento-empty-state"), i = L("bento-typography"), r = L("bento-listbox-multi-select"), o = L("bento-listbox-single-select"), p = L("bento-loading-button"), l = L("bento-loading-indicator"), d = ye("bento-keyboard-navigation-directive");
1442
- return ae((v(), T("div", F({ id: e.id }, e.containerProps, {
1440
+ function Kt(e, t, a, c, u, n) {
1441
+ var R;
1442
+ const s = L("bento-empty-state"), l = L("bento-typography"), r = L("bento-listbox-multi-select"), i = L("bento-listbox-single-select"), y = L("bento-loading-button"), o = L("bento-loading-indicator"), d = pe("bento-keyboard-navigation-directive");
1443
+ return ae((f(), _("div", {
1444
+ id: e.id,
1445
+ ref: "listboxRef",
1443
1446
  class: "b-listbox",
1444
1447
  role: "listbox",
1445
1448
  tabindex: "-1",
@@ -1447,21 +1450,22 @@ function Ht(e, t, n, u, c, a) {
1447
1450
  "aria-atomic": e.ariaAtomic,
1448
1451
  "aria-label": e.ariaLabel,
1449
1452
  "aria-live": e.ariaLive,
1450
- onScroll: t[0] || (t[0] = (...k) => e.onListboxContainerScroll && e.onListboxContainerScroll(...k))
1451
- }), [
1452
- q("div", x(j(e.wrapperProps)), [
1453
- e.isSearchResultEmpty ? (v(), T("div", qt, [
1454
- e.emptyState ? (v(), D(s, x(F({ key: 0 }, e.limitedEmptyStateProps)), null, 16)) : (v(), D(i, {
1453
+ style: Ke((R = e.containerProps) == null ? void 0 : R.style),
1454
+ onScroll: t[0] || (t[0] = (...$) => e.onListboxContainerScroll && e.onListboxContainerScroll(...$))
1455
+ }, [
1456
+ K("div", ee(ne(e.wrapperProps)), [
1457
+ e.isSearchResultEmpty ? (f(), _("div", xt, [
1458
+ e.emptyState ? (f(), D(s, ee(U({ key: 0 }, e.limitedEmptyStateProps)), null, 16)) : (f(), D(l, {
1455
1459
  key: 1,
1456
1460
  el: "span"
1457
1461
  }, {
1458
- default: _(() => [
1459
- V(w(e.noResultsMessage), 1)
1462
+ default: T(() => [
1463
+ G(w(e.noResultsMessage), 1)
1460
1464
  ]),
1461
1465
  _: 1
1462
1466
  }))
1463
- ])) : (v(), T(Q, { key: 1 }, [
1464
- e.multiple ? (v(), D(r, F({
1467
+ ])) : (f(), _(Z, { key: 1 }, [
1468
+ e.multiple ? (f(), D(r, U({
1465
1469
  key: 0,
1466
1470
  ref: "listboxItemRef",
1467
1471
  "has-more-items": e.hasMoreItems,
@@ -1471,99 +1475,99 @@ function Ht(e, t, n, u, c, a) {
1471
1475
  "selected-values": e.selectedValue,
1472
1476
  searching: e.searching,
1473
1477
  "is-option-disabled": e.isOptionDisabled
1474
- }, se(e.listboxListeners)), ie({ _: 2 }, [
1475
- z(e.slots, (k, I) => ({
1476
- name: I,
1477
- fn: _((N) => [
1478
- G(e.$slots, I, x(j(N)), void 0, !0)
1478
+ }, te(e.listboxListeners)), ie({ _: 2 }, [
1479
+ x(e.slots, ($, N) => ({
1480
+ name: N,
1481
+ fn: T((m) => [
1482
+ z(e.$slots, N, ee(ne(m)), void 0, !0)
1479
1483
  ])
1480
1484
  }))
1481
- ]), 1040, ["has-more-items", "items", "lazy-load-type", "static-categories", "selected-values", "searching", "is-option-disabled"])) : (v(), D(o, F({
1485
+ ]), 1040, ["has-more-items", "items", "lazy-load-type", "static-categories", "selected-values", "searching", "is-option-disabled"])) : (f(), D(i, U({
1482
1486
  key: 1,
1483
1487
  ref: "listboxItemRef",
1484
1488
  items: e.virtualisedItems,
1485
1489
  "selected-value": e.selectedValue,
1486
1490
  "static-categories": e.staticCategories,
1487
1491
  "is-option-disabled": e.isOptionDisabled
1488
- }, se(e.listboxListeners)), ie({ _: 2 }, [
1489
- z(e.slots, (k, I) => ({
1490
- name: I,
1491
- fn: _((N) => [
1492
- G(e.$slots, I, x(j(N)), void 0, !0)
1492
+ }, te(e.listboxListeners)), ie({ _: 2 }, [
1493
+ x(e.slots, ($, N) => ({
1494
+ name: N,
1495
+ fn: T((m) => [
1496
+ z(e.$slots, N, ee(ne(m)), void 0, !0)
1493
1497
  ])
1494
1498
  }))
1495
1499
  ]), 1040, ["items", "selected-value", "static-categories", "is-option-disabled"])),
1496
- e.shouldDisplayShowMoreButton ? (v(), T("div", Wt, [
1497
- R(p, {
1500
+ e.shouldDisplayShowMoreButton ? (f(), _("div", Ft, [
1501
+ B(y, {
1498
1502
  state: e.loadingButtonState,
1499
1503
  variant: "secondary",
1500
1504
  onClickCapture: e.emitShowMore
1501
1505
  }, {
1502
- default: _(() => [
1503
- V(w(e.showMoreButtonText), 1)
1506
+ default: T(() => [
1507
+ G(w(e.showMoreButtonText), 1)
1504
1508
  ]),
1505
1509
  _: 1
1506
1510
  }, 8, ["state", "onClickCapture"])
1507
- ])) : e.loading ? (v(), T("div", jt, [
1508
- R(l)
1509
- ])) : K("", !0)
1511
+ ])) : e.loading ? (f(), _("div", Yt, [
1512
+ B(o)
1513
+ ])) : Y("", !0)
1510
1514
  ], 64))
1511
1515
  ], 16)
1512
- ], 16, Kt)), [
1516
+ ], 44, zt)), [
1513
1517
  [d]
1514
1518
  ]);
1515
1519
  }
1516
- const us = /* @__PURE__ */ W(Yt, [["render", Ht], ["__scopeId", "data-v-6994e724"]]), pe = (e, t) => {
1517
- for (const n of e) {
1518
- if (n.value === t)
1519
- return n.label;
1520
- if (n.items)
1521
- return pe(n.items, t);
1520
+ const is = /* @__PURE__ */ q(Gt, [["render", Kt], ["__scopeId", "data-v-c6bccc42"]]), ye = (e, t) => {
1521
+ for (const a of e) {
1522
+ if (a.value === t)
1523
+ return a.label;
1524
+ if (a.items)
1525
+ return ye(a.items, t);
1522
1526
  }
1523
1527
  return null;
1524
- }, ds = (e, t, n) => {
1525
- const u = M([]), c = M(), a = (r) => {
1526
- c.value = n.value ? r.map(({ value: o }) => o) : r[0].value;
1528
+ }, as = (e, t, a) => {
1529
+ const c = M([]), u = M(), n = (r) => {
1530
+ u.value = a.value ? r.map(({ value: i }) => i) : r[0].value;
1527
1531
  }, s = (r) => {
1528
- u.value = r, a(r);
1529
- }, i = () => {
1530
- u.value = [], c.value = null;
1532
+ c.value = r, n(r);
1533
+ }, l = () => {
1534
+ c.value = [], u.value = null;
1531
1535
  };
1532
1536
  return Ie(
1533
1537
  () => t.value,
1534
1538
  () => {
1535
1539
  if (!t.value) {
1536
- i();
1540
+ l();
1537
1541
  return;
1538
1542
  }
1539
- const r = !Array.isArray(t.value), o = [...u.value];
1540
- i();
1541
- const p = (l) => {
1542
- let d = pe(e.value, l);
1543
- d || (d = pe(o, l)), d || (d = l.toString()), u.value.push({ value: l, label: d });
1543
+ const r = !Array.isArray(t.value), i = [...c.value];
1544
+ l();
1545
+ const y = (o) => {
1546
+ let d = ye(e.value, o);
1547
+ d || (d = ye(i, o)), d || (d = o.toString()), c.value.push({ value: o, label: d });
1544
1548
  };
1545
1549
  if (r) {
1546
- const l = t.value;
1547
- p(l), a(u.value);
1550
+ const o = t.value;
1551
+ y(o), n(c.value);
1548
1552
  return;
1549
1553
  }
1550
- t.value.forEach(p), a(u.value);
1554
+ t.value.forEach(y), n(c.value);
1551
1555
  },
1552
1556
  { immediate: !0 }
1553
1557
  ), {
1554
1558
  // Values
1555
- cachedSelectedListboxOptions: u,
1556
- cachedListboxSelectedValues: c,
1559
+ cachedSelectedListboxOptions: c,
1560
+ cachedListboxSelectedValues: u,
1557
1561
  // Methods
1558
- resetCache: i,
1562
+ resetCache: l,
1559
1563
  setCachedValues: s
1560
1564
  };
1561
1565
  };
1562
1566
  export {
1563
- J as B,
1567
+ X as B,
1564
1568
  b as a,
1565
- us as b,
1566
- ds as c,
1567
- Pt as u
1569
+ is as b,
1570
+ as as c,
1571
+ Nt as u
1568
1572
  };
1569
- //# sourceMappingURL=use-cached-selected-values.DplP72ef.js.map
1573
+ //# sourceMappingURL=use-cached-selected-values.DaSn9dB9.js.map