@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
@@ -0,0 +1,2766 @@
1
+ import { ref as I, reactive as Qe, toRefs as et, computed as R, watchEffect as An, watch as ce, onMounted as tt, nextTick as re, onUnmounted as Ut, onBeforeUpdate as Tn, openBlock as d, createElementBlock as L, mergeProps as Y, toDisplayString as V, createCommentVNode as k, createElementVNode as C, defineComponent as Le, normalizeClass as ae, Fragment as ue, renderList as ve, unref as a, toHandlers as Ze, createVNode as Z, withCtx as G, renderSlot as ye, createBlock as F, withModifiers as wn, resolveComponent as oe, createTextVNode as ee, withDirectives as nt, vShow as $n, toRef as kt, resolveDirective as Nn, Transition as Mn, createSlots as Be, resolveDynamicComponent as Re, useSlots as Dt, provide as Un, inject as ut, normalizeStyle as He, normalizeProps as kn, guardReactiveProps as Dn } from "vue";
2
+ import { C as Pn } from "./checkmark-circle-fill.ChV7Jy6r.js";
3
+ import { W as Fn } from "./warning-filled.Dm_HhqzW.js";
4
+ import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import { C as Pt } from "./cross.OvPfvoqX.js";
6
+ import { N as ct } from "./checkbox-input.JdcvpfTa.js";
7
+ import { K as Ce, B as zn } from "./tooltip.DvsfWV0-.js";
8
+ import { d as Wn } from "./popper-container.DFpaesDm.js";
9
+ import { B as Hn } from "./action-bar.BsULBDh4.js";
10
+ import { B as Gn } from "./pagination.B4ker8JJ.js";
11
+ import { B as Ft } from "./loading-indicator.BFMEf39U.js";
12
+ import { B as xe, p as zt } from "./typography.z9P0Ec3Q.js";
13
+ import { u as Vn } from "./aria-label.CaUURpnB.js";
14
+ import { g as Bn } from "./get-slot-text.D5WBGjic.js";
15
+ import { u as Ee } from "./i18n.DL9GT2-k.js";
16
+ import { B as Zn } from "./empty-state.CyEWCcDk.js";
17
+ import { B as Ge } from "./filter-bar.-G1-moOO.js";
18
+ import { E as xn } from "./tabs.keys.Bc2pSKRw.js";
19
+ import { D as jn } from "./data-grid-template.keys.2_AkxuNT.js";
20
+ import { o as Wt } from "./resize.Bqks3WUm.js";
21
+ import { a as gt, B as qn } from "./popover.CczC6Fhk.js";
22
+ import { B as Ht } from "./button.Br6CyG40.js";
23
+ import { B as Gt } from "./toggle.8t4flh_3.js";
24
+ import { B as Yn } from "./search-bar.C__L0enF.js";
25
+ import { u as Xn } from "./dropdown.DQpKDlC-.js";
26
+ import { B as Kn } from "./directive.O3yEdalv.js";
27
+ import { g as Jn } from "./unique-id.XFfoKuc2.js";
28
+ import { S as Qn } from "./search.EnLryD8V.js";
29
+ import { B as Vt } from "./toggle-button.CBRd1v6x.js";
30
+ import { B as Bt } from "./checkbox.FQ03XNeR.js";
31
+ import { B as el } from "./info-icon.DIu8FeJC.js";
32
+ import { B as Ke, O as tl, D as nl } from "./menu.DFMKn3Zr.js";
33
+ import { A as ll } from "./dialog-page.DALFn9KR.js";
34
+ import { l as ft } from "./events.CMzGybJJ.js";
35
+ import { C as sl } from "./copy.h-wVGvID.js";
36
+ import { u as il } from "./use-has-slot.B7eQSabc.js";
37
+ import { B as vt, a as mt } from "./loading-button.Mx-oDIGy.js";
38
+ import "../assets/data-grid.css";
39
+ var Je = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Je || {}), he = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(he || {}), pe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(pe || {}), $ = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))($ || {}), Ve = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ve || {}), x = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SORT = "sort", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(x || {});
40
+ const ol = (e, l) => {
41
+ const f = I(null), t = I(!1), r = I(void 0), u = e.value.reduce((_, S) => (_[S.field] = null, _), {}), i = Qe(u), h = et(i);
42
+ let v = 0, O = "";
43
+ const b = R(
44
+ () => Object.fromEntries(e.value.map(({ field: _, width: S, minWidth: A }) => [_, { width: S, minWidth: A }]))
45
+ );
46
+ An(() => r.value = b.value);
47
+ let g = null, N = null;
48
+ const n = (_) => {
49
+ const S = _.clientX - v, A = O, z = r.value[A].width + S;
50
+ r.value[A].width = z > b.value[A].minWidth ? z : b.value[A].minWidth, l(x.COLUMN_RESIZING, r.value), v = _.clientX;
51
+ }, m = () => {
52
+ t.value = !1, g == null || g(), N == null || N(), O && l(x.COLUMN_RESIZE, {
53
+ field: O,
54
+ width: r.value[O].width
55
+ }), g = null, N = null, O = "", v = null;
56
+ }, o = (_, S, A) => {
57
+ if (A.preventDefault(), _) {
58
+ if (t.value = !0, A.buttons !== 1) {
59
+ m();
60
+ return;
61
+ }
62
+ O = S, v = A.clientX, g = ft(window, "mousemove", n), N = ft(window, "mouseup", m);
63
+ }
64
+ };
65
+ return ce(
66
+ () => t.value,
67
+ (_, S) => {
68
+ !_ && S && (l(x.COLUMN_HOVER, f.value), f.value = null);
69
+ }
70
+ ), {
71
+ resizeData: r,
72
+ allColumnRefs: h,
73
+ startResize: o,
74
+ isResizing: t,
75
+ columnHoverEventToEmitAfterResizing: f
76
+ };
77
+ }, al = 100, Ct = 50, be = "b-select", rl = 32, dl = 56, ul = 1, cl = 16, gl = (e, l, f) => {
78
+ const t = {}, r = [], u = (h) => {
79
+ const v = t[h];
80
+ v && v.frozen !== !0 && (t[h].frozen = !0, r.push(h));
81
+ };
82
+ function i() {
83
+ if (r.length === f.length)
84
+ return;
85
+ const h = { min: {}, max: {} };
86
+ let v = e, O = l, b = 0;
87
+ r.forEach((g) => {
88
+ v -= t[g].computedWidth, O -= t[g].flex;
89
+ });
90
+ for (let g = 0, N = f.length; g < N; g += 1) {
91
+ const n = f[g];
92
+ if (t[n.field] && t[n.field].frozen === !0)
93
+ continue;
94
+ let o = v / O * n.flex;
95
+ o < n.minWidth && (b += n.minWidth - o, o = n.minWidth, h.min[n.field] = !0), t[n.field] = {
96
+ frozen: !1,
97
+ computedWidth: o,
98
+ flex: n.flex
99
+ };
100
+ }
101
+ b > 0 ? Object.keys(h.min).forEach((g) => {
102
+ u(g);
103
+ }) : f.forEach(({ field: g }) => {
104
+ u(g);
105
+ }), i();
106
+ }
107
+ return i(), t;
108
+ }, ht = (e, l) => {
109
+ let f = ul;
110
+ return l && (f += cl * 2), e != null && e.offsetWidth ? e.offsetWidth + f : 0;
111
+ }, fl = (e, l, f, t, r, u) => {
112
+ const i = I(e.value), h = I(l), v = I(f), O = I(t), b = I(r), g = I(!1);
113
+ ce(
114
+ () => e.value,
115
+ (y, E) => {
116
+ var M, U;
117
+ const c = (y == null ? void 0 : y.map(({ field: D }) => D).toString()) === (E == null ? void 0 : E.map(({ field: D }) => D).toString());
118
+ if (!((M = u == null ? void 0 : u.allowColumnDragAndDrop) != null && M.value) || !c) {
119
+ i.value = e.value;
120
+ return;
121
+ }
122
+ i.value = ((U = i.value) == null ? void 0 : U.length) === 0 ? e.value : e.value.sort((D, te) => {
123
+ const K = i.value.findIndex((B) => B.field === D.field), X = i.value.findIndex((B) => B.field === te.field);
124
+ return K === -1 ? 1 : X === -1 ? -1 : K - X;
125
+ });
126
+ }
127
+ );
128
+ const N = I();
129
+ let n = null;
130
+ const m = R(() => {
131
+ var K, X;
132
+ const y = [];
133
+ let E = 0, c = 0;
134
+ const M = {};
135
+ let U = i.value.filter((B) => B.visible !== !1);
136
+ const D = i.value.filter((B) => B.visible === !1);
137
+ if ((K = u == null ? void 0 : u.hasSelectableColumn) != null && K.value) {
138
+ const B = (X = u == null ? void 0 : u.hasSelectableAcrossPages) != null && X.value ? dl : rl;
139
+ U = [
140
+ {
141
+ field: be,
142
+ label: "",
143
+ minWidth: B,
144
+ width: B,
145
+ frozen: !0,
146
+ padding: { left: !1, right: !1 }
147
+ },
148
+ ...U
149
+ ];
150
+ }
151
+ U.forEach((B) => {
152
+ const W = { ...B };
153
+ let ge;
154
+ W.flex && W.flex > 0 ? (E += W.flex, ge = 0, y.push(W)) : ge = Math.max(
155
+ (W == null ? void 0 : W.width) ?? al,
156
+ (W == null ? void 0 : W.minWidth) ?? Ct
157
+ ), c += ge, W.width = ge, W.minWidth = (W == null ? void 0 : W.minWidth) ?? Ct, M[W.field] = W;
158
+ });
159
+ const te = Math.max(N.value - c, 0);
160
+ if (E > 0 && N.value > 0) {
161
+ const B = gl(te, E, y);
162
+ Object.keys(B).forEach((W) => {
163
+ M[W].width = B[W].computedWidth;
164
+ });
165
+ }
166
+ return D.forEach((B) => {
167
+ const W = { ...B };
168
+ M[W.field] = W;
169
+ }), Object.values(M);
170
+ }), o = I(void 0), _ = (y) => {
171
+ o.value = { ...o.value, ...y };
172
+ }, S = async () => {
173
+ i.value.some((y) => y == null ? void 0 : y.autoWidth) && (g.value = !0, await re(), await re(), i == null || i.value.filter((y) => y == null ? void 0 : y.autoWidth).forEach(({ field: y, minWidth: E }) => {
174
+ var D, te, K, X;
175
+ const c = ht(
176
+ (D = O.value) == null ? void 0 : D[y],
177
+ (te = u == null ? void 0 : u.hasColumnPanel) == null ? void 0 : te.value
178
+ ), M = (X = (K = b.value) == null ? void 0 : K[y]) == null ? void 0 : X.reduce(
179
+ (B, W) => Math.max(B, ht(W)),
180
+ 0
181
+ ), U = Math.max(c, M ?? 0);
182
+ (E === void 0 || U > E) && _({
183
+ [y]: {
184
+ width: U
185
+ }
186
+ });
187
+ }), g.value = !1);
188
+ };
189
+ ce([() => i.value, () => h.value], async () => {
190
+ i.value.some((y) => y == null ? void 0 : y.autoWidth) && await S();
191
+ });
192
+ const A = R(
193
+ () => m.value.map((y) => {
194
+ var E, c;
195
+ return {
196
+ ...y,
197
+ // Override column width with resized ones
198
+ width: ((c = (E = o.value) == null ? void 0 : E[y.field]) == null ? void 0 : c.width) ?? y.width
199
+ };
200
+ })
201
+ ), z = R(
202
+ () => {
203
+ var y;
204
+ return (y = A.value) == null ? void 0 : y.filter(({ visible: E }) => E !== !1).reduce((E, c) => c.width + E, 0);
205
+ }
206
+ ), j = R(
207
+ () => N.value <= z.value
208
+ ), fe = R(() => ({
209
+ width: N.value > z.value ? "100%" : "fit-content"
210
+ }));
211
+ return tt(() => {
212
+ var y;
213
+ re(() => {
214
+ v.value && (N.value = v.value.getBoundingClientRect().width);
215
+ const E = ce(
216
+ v,
217
+ () => {
218
+ v.value && (re(() => E()), n = Wt(v.value, ({ width: c }) => {
219
+ N.value = c;
220
+ }));
221
+ },
222
+ { immediate: !0 }
223
+ );
224
+ }), (y = document == null ? void 0 : document.fonts) != null && y.ready ? document.fonts.ready.then(() => {
225
+ S();
226
+ }) : S();
227
+ }), Ut(() => {
228
+ n == null || n.disconnect();
229
+ }), Tn(() => {
230
+ var y;
231
+ b.value && ((y = Object.keys(b.value)) == null ? void 0 : y.length) > 0 && Object.keys(b.value).forEach((c) => {
232
+ b.value[c] = [];
233
+ });
234
+ }), {
235
+ columnDefs: A,
236
+ gridColumnWidthStyle: fe,
237
+ onColumnWidthOverride: _,
238
+ isMeasuringColumnWidths: g,
239
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: j,
240
+ columns: i
241
+ };
242
+ }, vl = (e, l, f, t, r) => {
243
+ const u = I(e.value ?? []), i = Qe({
244
+ allItemsSelected: !1,
245
+ isIndeterminate: !1
246
+ }), h = () => {
247
+ l($.SELECT, u.value), l($.UPDATE_SELECTION, u.value);
248
+ }, v = (g) => {
249
+ var n, m, o, _, S;
250
+ if (u.value = g, ((n = f.value) == null ? void 0 : n.length) > 0 && ((m = f.value) == null ? void 0 : m.filter((A) => !r(A)).every((A) => u.value.includes(t(A))))) {
251
+ i.allItemsSelected = !0;
252
+ const A = ((o = f.value) == null ? void 0 : o.length) > 0 && f.value.every((z) => u.value.includes(t(z)));
253
+ i.isIndeterminate = !A;
254
+ } else
255
+ i.allItemsSelected = !1, i.isIndeterminate = ((_ = u.value) == null ? void 0 : _.length) > 0 && ((S = f.value) == null ? void 0 : S.length) > 0 && f.value.some((A) => u.value.includes(t(A)));
256
+ }, O = (g) => {
257
+ re(() => {
258
+ var N, n, m;
259
+ if (i.allItemsSelected = g, g) {
260
+ u.value = (n = (N = f.value) == null ? void 0 : N.filter((_) => !r(_))) == null ? void 0 : n.map((_) => t(_));
261
+ const o = ((m = f.value) == null ? void 0 : m.length) > 0 && f.value.every((_) => u.value.includes(t(_)));
262
+ i.isIndeterminate = u.value.length > 0 && !o;
263
+ } else
264
+ u.value = [], i.isIndeterminate = !1;
265
+ h();
266
+ });
267
+ }, b = (g) => {
268
+ re(() => {
269
+ v(g), h();
270
+ });
271
+ };
272
+ return ce(
273
+ () => e.value,
274
+ () => {
275
+ v(e.value ?? []);
276
+ },
277
+ { immediate: !0 }
278
+ ), ce(
279
+ () => f.value,
280
+ () => {
281
+ v(u.value);
282
+ }
283
+ ), { onAllRowSelect: O, onRowSelect: b, allItemsSelectedState: i, selectedItems: u };
284
+ }, ml = (e, l, f) => ({ isSorting: (i) => e.value.some((h) => h.field === i), getSortingDirection: (i) => {
285
+ var h;
286
+ return (h = e.value.find((v) => v.field === i)) == null ? void 0 : h.direction;
287
+ }, sortByColumnField: (i) => {
288
+ var O;
289
+ if (!l.value.some((b) => b.field === i && b.sortable))
290
+ return;
291
+ const v = [{
292
+ field: i,
293
+ direction: ((O = e.value.find((b) => b.field === i)) == null ? void 0 : O.direction) === pe.ASCENDING ? pe.DESCENDING : pe.ASCENDING
294
+ }];
295
+ f(x.SORT, v);
296
+ } });
297
+ var Q = ((e) => (e[e.ARROW_DOWN = Ce.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = Ce.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = Ce.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = Ce.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = Ce.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = Ce.PAGE_DOWN] = "PAGE_DOWN", e[e.END = Ce.END] = "END", e[e.HOME = Ce.HOME] = "HOME", e))(Q || {});
298
+ const Cl = (e, l, f) => {
299
+ const t = R(() => {
300
+ const n = l.value.filter(({ visible: m }) => m !== !1);
301
+ return f.value ? n.length + 1 : n.length;
302
+ }), r = R(
303
+ () => [...Object.values(e.value)].flat(1).sort((n, m) => {
304
+ const o = Number(n.getAttribute("data-cellindex")), _ = Number(m.getAttribute("data-cellindex"));
305
+ return o > _ ? 1 : _ > o ? -1 : 0;
306
+ })
307
+ ), u = (n) => Math.floor(n / t.value), i = (n, m, o) => {
308
+ const _ = r.value.length - 1, S = t.value - 1, A = u(n), z = n - t.value * A;
309
+ return {
310
+ [Q.PAGE_UP]: z,
311
+ [Q.PAGE_DOWN]: _ - S + z,
312
+ [Q.END]: o ? _ : t.value * A + S,
313
+ [Q.HOME]: o ? 0 : t.value * A
314
+ }[m];
315
+ }, h = (n, m) => {
316
+ const _ = {
317
+ [Q.ARROW_DOWN]: t.value,
318
+ [Q.ARROW_UP]: -t.value,
319
+ [Q.ARROW_LEFT]: -1,
320
+ [Q.ARROW_RIGHT]: 1
321
+ }[m], S = n + _;
322
+ return S < 0 || S >= r.value.length ? n : S;
323
+ }, v = (n) => [
324
+ Q.PAGE_UP,
325
+ Q.PAGE_DOWN,
326
+ Q.END,
327
+ Q.HOME
328
+ ].includes(n), O = (n, m, o) => {
329
+ const _ = r.value.indexOf(n);
330
+ return v(m) ? i(_, m, o) : h(_, m);
331
+ }, b = (n, m, o) => {
332
+ if (!r.value.includes(n))
333
+ return;
334
+ const _ = O(n, m, o);
335
+ r.value[_].focus();
336
+ }, g = (n) => n in Q;
337
+ return {
338
+ isNavigationKeyCode: g,
339
+ focusOnNextGridcell: b,
340
+ navigationInput: (n) => {
341
+ const { ctrlKey: m, keyCode: o, target: _ } = n;
342
+ Object.values(e.value).flat(1).includes(_) && g(o) && b(_, o, m);
343
+ }
344
+ };
345
+ }, hl = 90, _l = (e, l, f, t, r) => {
346
+ const u = I(e), i = I(l), h = I(f), v = I(t), O = R(() => u.value !== "none"), b = R(() => u.value === "automatic"), g = () => {
347
+ r($.UPDATE_SHOW_MORE);
348
+ };
349
+ return ce(
350
+ () => i.value,
351
+ () => {
352
+ b.value && h.value.offsetHeight / i.value * 100 > hl && !v.value && g();
353
+ }
354
+ ), { isLazyLoad: O, isInfiniteScroll: b, verticalScrollPosition: i, emitLazyLoadEvent: g };
355
+ }, pl = (e, l, f) => {
356
+ const t = I(e), r = I(l), u = Qe({
357
+ dragging: null,
358
+ dragToLeft: null,
359
+ target: null
360
+ }), i = (n, m = 0) => {
361
+ const o = t.value.findIndex((A) => A.field === n.field), _ = o + m;
362
+ if (_ < 0 || _ > t.value.length - 1)
363
+ return;
364
+ const S = [...t.value];
365
+ S.splice(_, 0, S.splice(o, 1)[0]), f($.COLUMNS, S), f($.UPDATE_COLUMNS, S);
366
+ }, h = (n, m) => {
367
+ u.dragging = n, m.dataTransfer.setData("text", ""), m.dataTransfer.dropEffect = "move";
368
+ }, v = (n, m) => {
369
+ u.target = n;
370
+ const o = m.currentTarget.getBoundingClientRect(), _ = o.left + o.width / 2, S = m.clientX ?? 0;
371
+ u.dragToLeft = S <= _;
372
+ }, O = (n) => {
373
+ var m, o;
374
+ if (((m = u.dragging) == null ? void 0 : m.field) !== n.field) {
375
+ const _ = t.value.findIndex((y) => {
376
+ var E;
377
+ return y.field === ((E = u.dragging) == null ? void 0 : E.field);
378
+ }), S = t.value.findIndex((y) => y.field === n.field), A = u.dragToLeft ? S : S + 1, z = A > _ ? A - 1 : A;
379
+ let j = [...t.value];
380
+ j.splice(
381
+ z === -1 ? 0 : z,
382
+ 0,
383
+ j.splice(_, 1)[0]
384
+ );
385
+ const fe = t.value.findIndex((y) => !(y != null && y.frozen));
386
+ ((o = u.dragging) == null ? void 0 : o.frozen) !== n.frozen && A !== fe && (j = j.map(
387
+ (y) => {
388
+ var E;
389
+ return ((E = u.dragging) == null ? void 0 : E.field) === y.field ? { ...y, frozen: !!(n != null && n.frozen) } : y;
390
+ }
391
+ )), f($.COLUMNS, j), f($.UPDATE_COLUMNS, j);
392
+ }
393
+ u.dragging = null, u.target = null;
394
+ }, b = () => {
395
+ u.dragging = null, u.dragToLeft = null, u.target = null;
396
+ }, g = R(() => r.value ? {
397
+ [x.COLUMN_DRAG_START]: (n, m) => h(n, m),
398
+ [x.COLUMN_DRAG_ENTER]: (n, m) => v(n, m),
399
+ [x.COLUMN_DROP]: (n) => O(n),
400
+ [x.COLUMN_DRAG_END]: () => b()
401
+ } : {}), N = R(() => (n) => r.value ? {
402
+ dragenter: (m) => {
403
+ m.preventDefault(), v(n, m);
404
+ },
405
+ drop: () => {
406
+ O(n);
407
+ },
408
+ dragover: (m) => {
409
+ m.preventDefault();
410
+ }
411
+ } : {});
412
+ return {
413
+ // Values
414
+ draggingColumns: u,
415
+ // Methods
416
+ draggingEventsForColumns: g,
417
+ draggingEventsForRowCell: N,
418
+ onMoveColumnByOffset: i
419
+ };
420
+ }, Ll = (e, l) => {
421
+ const f = I(e), t = R(
422
+ () => [...f.value].sort((g, N) => g.frozen === N.frozen ? 0 : g.frozen ? -1 : 1)
423
+ ), r = R(
424
+ () => t.value.filter((g) => g.frozen && g.visible !== !1)
425
+ ), u = R(
426
+ () => t.value.filter((g) => !g.frozen && g.visible !== !1)
427
+ ), i = R(
428
+ () => [
429
+ { columnSet: r.value, id: "frozen", isFrozenColumns: !0 },
430
+ { columnSet: u.value, id: "unfrozen" }
431
+ ].filter(({ columnSet: g }) => g.length)
432
+ ), h = R(
433
+ () => f.value.filter((g) => (g == null ? void 0 : g.visible) !== !1 && (g == null ? void 0 : g.field) !== be).length === 1
434
+ ), v = (g) => l($.UPDATE_CONDENSED, g), O = (g) => {
435
+ l($.COLUMNS, g), l($.UPDATE_COLUMNS, g);
436
+ };
437
+ return {
438
+ // Values
439
+ columnSets: i,
440
+ isOnlyOneVisibleColumn: h,
441
+ sortedColumns: t,
442
+ // Methods
443
+ onConfigSettingsUpdate: v,
444
+ onConfigSettingsColumnsUpdate: O,
445
+ onConfigSettingsColumnUpdate: (g) => {
446
+ const N = t.value.map(
447
+ (n) => (n == null ? void 0 : n.field) === g.field ? g : n
448
+ );
449
+ O(N);
450
+ }
451
+ };
452
+ }, _t = (e, l) => {
453
+ const f = I(0);
454
+ let t = null;
455
+ const r = () => {
456
+ e != null && e.value && l.value && (f.value = e.value.offsetHeight);
457
+ };
458
+ return tt(() => {
459
+ re(() => {
460
+ const u = ce(
461
+ e,
462
+ () => {
463
+ e != null && e.value && (re(() => u()), t = Wt(e.value, () => {
464
+ r();
465
+ }));
466
+ },
467
+ { immediate: !0 }
468
+ );
469
+ ce(
470
+ l,
471
+ () => {
472
+ l.value ? r() : f.value = 0;
473
+ },
474
+ { immediate: !0 }
475
+ );
476
+ });
477
+ }), Ut(() => {
478
+ t == null || t.disconnect();
479
+ }), f;
480
+ }, Sl = (e, l, f) => {
481
+ const t = I(0), r = I(!1), u = I(!1);
482
+ return ce(
483
+ () => t.value,
484
+ () => {
485
+ e.value.scrollLeft = t.value, l.value.scrollLeft = t.value, r.value = !!t.value, u.value = l.value.scrollWidth - l.value.offsetWidth > t.value;
486
+ }
487
+ ), tt(async () => {
488
+ var v, O;
489
+ await re(), await re(), ((v = l.value) == null ? void 0 : v.offsetWidth) < ((O = l.value) == null ? void 0 : O.scrollWidth) && (u.value = !0);
490
+ }), {
491
+ // Values
492
+ scrollLeftPosition: t,
493
+ hasLeftOverflow: r,
494
+ hasRightOverflow: u,
495
+ // Methods
496
+ updateScrollPosition: (v) => {
497
+ t.value = v.target.scrollLeft, f.value = e.value.scrollHeight - v.target.scrollTop;
498
+ },
499
+ updateScrollPositionOnFrozenColumnsNavigation: (v) => {
500
+ v.key !== "Tab" && v.key !== "ArrowRight" && v.key !== "ArrowLeft" || (v.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
501
+ e.value.style.overflowX = "auto";
502
+ }));
503
+ }
504
+ };
505
+ }, bl = (e, l, f, t) => {
506
+ const r = I(null), u = R(() => {
507
+ var o, _, S, A;
508
+ if (!r.value || r.value.field === be)
509
+ return {
510
+ hoveredOverColumnField: "",
511
+ isSeparatorOffset: !1,
512
+ noBorderLeft: !1,
513
+ noBorderRight: !1
514
+ };
515
+ const i = (_ = (o = e.value.find((z) => z.isFrozenColumns)) == null ? void 0 : o.columnSet) == null ? void 0 : _.filter((z) => z.field !== be), h = e.value.find((z) => !(z != null && z.isFrozenColumns)), v = r.value.frozen && (i == null ? void 0 : i[0].field) === r.value.field, O = !r.value.frozen && ((S = h == null ? void 0 : h.columnSet) == null ? void 0 : S[0].field) === r.value.field, b = (l.value || f.value) && v, g = (l.value || f.value) && !i && O, N = i && O, n = (i == null ? void 0 : i.length) > 0 && r.value.frozen && (i == null ? void 0 : i[i.length - 1].field) === r.value.field, m = f.value && t.value && !r.value.frozen && ((A = h == null ? void 0 : h.columnSet) == null ? void 0 : A[h.columnSet.length - 1].field) === r.value.field;
516
+ return {
517
+ hoveredOverColumnField: r.value.field,
518
+ isSeparatorOffset: m,
519
+ noBorderLeft: !!b || !!g || !!N,
520
+ noBorderRight: !!n || !!m
521
+ };
522
+ });
523
+ return {
524
+ hoveredOverColumn: r,
525
+ hoveredOverColumnState: u
526
+ };
527
+ };
528
+ let pt = 0;
529
+ const El = {
530
+ beforeCreate() {
531
+ this.uuid = pt.toString(), pt += 1;
532
+ }
533
+ }, yl = { key: 0 }, Ol = ["clip-path"], Il = ["id"];
534
+ function Rl(e, l, f, t, r, u) {
535
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
536
+ class: "ui-assets-icons-16",
537
+ xmlns: "http://www.w3.org/2000/svg",
538
+ width: "16",
539
+ height: "16",
540
+ fill: "none"
541
+ }), [
542
+ e.$attrs["svg-title"] ? (d(), L("title", yl, V(e.$attrs["svg-title"]), 1)) : k("", !0),
543
+ C("g", {
544
+ fill: "#00112C",
545
+ "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")"
546
+ }, l[0] || (l[0] = [
547
+ C("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
548
+ C("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
549
+ ]), 8, Ol),
550
+ C("defs", null, [
551
+ C("clipPath", {
552
+ id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid
553
+ }, l[1] || (l[1] = [
554
+ C("rect", {
555
+ width: "16",
556
+ height: "16",
557
+ fill: "#fff"
558
+ }, null, -1)
559
+ ]), 8, Il)
560
+ ])
561
+ ], 16);
562
+ }
563
+ const Al = /* @__PURE__ */ q(El, [["render", Rl]]);
564
+ let Lt = 0;
565
+ const Tl = {
566
+ beforeCreate() {
567
+ this.uuid = Lt.toString(), Lt += 1;
568
+ }
569
+ }, wl = { key: 0 };
570
+ function $l(e, l, f, t, r, u) {
571
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
572
+ class: "ui-assets-icons-16",
573
+ xmlns: "http://www.w3.org/2000/svg",
574
+ width: "16",
575
+ height: "16",
576
+ fill: "none"
577
+ }), [
578
+ e.$attrs["svg-title"] ? (d(), L("title", wl, V(e.$attrs["svg-title"]), 1)) : k("", !0),
579
+ l[0] || (l[0] = C("path", {
580
+ fill: "#00112C",
581
+ d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z"
582
+ }, null, -1))
583
+ ], 16);
584
+ }
585
+ const Nl = /* @__PURE__ */ q(Tl, [["render", $l]]);
586
+ let St = 0;
587
+ const Ml = {
588
+ beforeCreate() {
589
+ this.uuid = St.toString(), St += 1;
590
+ }
591
+ }, Ul = { key: 0 }, kl = ["clip-path"], Dl = ["id"];
592
+ function Pl(e, l, f, t, r, u) {
593
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
594
+ class: "ui-assets-icons-16",
595
+ xmlns: "http://www.w3.org/2000/svg",
596
+ width: "16",
597
+ height: "16",
598
+ fill: "none"
599
+ }), [
600
+ e.$attrs["svg-title"] ? (d(), L("title", Ul, V(e.$attrs["svg-title"]), 1)) : k("", !0),
601
+ C("g", {
602
+ "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
603
+ }, l[0] || (l[0] = [
604
+ C("path", {
605
+ fill: "#00112C",
606
+ d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z"
607
+ }, null, -1)
608
+ ]), 8, kl),
609
+ C("defs", null, [
610
+ C("clipPath", {
611
+ id: "uia-icons-16-freeze__a" + e.uuid
612
+ }, l[1] || (l[1] = [
613
+ C("rect", {
614
+ width: "16",
615
+ height: "16",
616
+ fill: "#fff",
617
+ transform: "matrix(1 0 0 -1 0 16)"
618
+ }, null, -1)
619
+ ]), 8, Dl)
620
+ ])
621
+ ], 16);
622
+ }
623
+ const Zt = /* @__PURE__ */ q(Ml, [["render", Pl]]);
624
+ let bt = 0;
625
+ const Fl = {
626
+ beforeCreate() {
627
+ this.uuid = bt.toString(), bt += 1;
628
+ }
629
+ }, zl = { key: 0 };
630
+ function Wl(e, l, f, t, r, u) {
631
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
632
+ class: "ui-assets-icons-16",
633
+ xmlns: "http://www.w3.org/2000/svg",
634
+ width: "16",
635
+ height: "16",
636
+ fill: "none"
637
+ }), [
638
+ e.$attrs["svg-title"] ? (d(), L("title", zl, V(e.$attrs["svg-title"]), 1)) : k("", !0),
639
+ l[0] || (l[0] = C("path", {
640
+ fill: "#00112C",
641
+ d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z"
642
+ }, null, -1)),
643
+ l[1] || (l[1] = C("path", {
644
+ fill: "#00112C",
645
+ d: "M13.9404 5.23L12.8704 6.3C13.4704 6.97 13.9004 7.62 14.1304 8C13.4704 9.07 11.2504 12.25 8.00039 12.25C7.67039 12.25 7.34039 12.22 7.03039 12.14L5.80039 13.37C6.48039 13.61 7.21039 13.75 8.00039 13.75C12.7425 13.75 15.4838 8.69421 15.6649 8.36011C15.6671 8.35603 15.6689 8.35265 15.6704 8.35L15.8504 8L15.6704 7.65C15.6204 7.55 15.0204 6.43 13.9404 5.23Z"
646
+ }, null, -1)),
647
+ l[2] || (l[2] = C("path", {
648
+ fill: "#00112C",
649
+ d: "M8.96039 3.85C8.65039 3.78 8.33039 3.75 8.00039 3.75C4.75039 3.75 2.53039 6.93 1.87039 8C2.10039 8.38 2.53039 9.02 3.12039 9.69L2.06039 10.75C0.98039 9.56 0.380391 8.45 0.330391 8.35L0.150391 8L0.330391 7.65C0.331838 7.64735 0.333668 7.64397 0.33588 7.63989C0.517034 7.30578 3.25829 2.25 8.00039 2.25C8.79039 2.25 9.52039 2.39 10.1904 2.62L8.96039 3.85Z"
650
+ }, null, -1))
651
+ ], 16);
652
+ }
653
+ const Hl = /* @__PURE__ */ q(Fl, [["render", Wl]]);
654
+ let Et = 0;
655
+ const Gl = {
656
+ beforeCreate() {
657
+ this.uuid = Et.toString(), Et += 1;
658
+ }
659
+ }, Vl = { key: 0 }, Bl = ["clip-path"], Zl = ["id"];
660
+ function xl(e, l, f, t, r, u) {
661
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
662
+ class: "ui-assets-icons-16",
663
+ xmlns: "http://www.w3.org/2000/svg",
664
+ width: "16",
665
+ height: "16",
666
+ fill: "none"
667
+ }), [
668
+ e.$attrs["svg-title"] ? (d(), L("title", Vl, V(e.$attrs["svg-title"]), 1)) : k("", !0),
669
+ C("g", {
670
+ fill: "#00112C",
671
+ "clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")"
672
+ }, l[0] || (l[0] = [
673
+ C("path", { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" }, null, -1),
674
+ C("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
675
+ C("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
676
+ C("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
677
+ ]), 8, Bl),
678
+ C("defs", null, [
679
+ C("clipPath", {
680
+ id: "uia-icons-16-sort_ascending__a" + e.uuid
681
+ }, l[1] || (l[1] = [
682
+ C("rect", {
683
+ width: "16",
684
+ height: "16",
685
+ fill: "#fff"
686
+ }, null, -1)
687
+ ]), 8, Zl)
688
+ ])
689
+ ], 16);
690
+ }
691
+ const jl = /* @__PURE__ */ q(Gl, [["render", xl]]);
692
+ let yt = 0;
693
+ const ql = {
694
+ beforeCreate() {
695
+ this.uuid = yt.toString(), yt += 1;
696
+ }
697
+ }, Yl = { key: 0 }, Xl = ["clip-path"], Kl = ["id"];
698
+ function Jl(e, l, f, t, r, u) {
699
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
700
+ class: "ui-assets-icons-16",
701
+ xmlns: "http://www.w3.org/2000/svg",
702
+ width: "16",
703
+ height: "16",
704
+ fill: "none"
705
+ }), [
706
+ e.$attrs["svg-title"] ? (d(), L("title", Yl, V(e.$attrs["svg-title"]), 1)) : k("", !0),
707
+ C("g", {
708
+ fill: "#00112C",
709
+ "clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")"
710
+ }, l[0] || (l[0] = [
711
+ C("path", { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" }, null, -1),
712
+ C("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
713
+ C("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
714
+ C("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
715
+ ]), 8, Xl),
716
+ C("defs", null, [
717
+ C("clipPath", {
718
+ id: "uia-icons-16-sort_descending__a" + e.uuid
719
+ }, l[1] || (l[1] = [
720
+ C("rect", {
721
+ width: "16",
722
+ height: "16",
723
+ fill: "#fff"
724
+ }, null, -1)
725
+ ]), 8, Kl)
726
+ ])
727
+ ], 16);
728
+ }
729
+ const Ql = /* @__PURE__ */ q(ql, [["render", Jl]]);
730
+ let Ot = 0;
731
+ const es = {
732
+ beforeCreate() {
733
+ this.uuid = Ot.toString(), Ot += 1;
734
+ }
735
+ }, ts = { key: 0 };
736
+ function ns(e, l, f, t, r, u) {
737
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
738
+ class: "ui-assets-icons-16",
739
+ xmlns: "http://www.w3.org/2000/svg",
740
+ width: "16",
741
+ height: "16",
742
+ fill: "none"
743
+ }), [
744
+ e.$attrs["svg-title"] ? (d(), L("title", ts, V(e.$attrs["svg-title"]), 1)) : k("", !0),
745
+ l[0] || (l[0] = C("path", {
746
+ fill: "#00112C",
747
+ d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z"
748
+ }, null, -1)),
749
+ l[1] || (l[1] = C("path", {
750
+ fill: "#00112C",
751
+ d: "M7.99964 2.25C5.50387 2.25 3.57073 3.66588 2.3086 4.9806C1.6704 5.64539 1.18078 6.30745 0.850599 6.80272C0.685043 7.05106 0.558349 7.2593 0.471981 7.40748C0.428769 7.48162 0.395568 7.54087 0.372564 7.58275C0.36106 7.60369 0.352097 7.6203 0.345701 7.63227L0.338032 7.64672L0.335646 7.65126L0.334488 7.65348L0.154297 8L0.334225 8.34601L0.999638 8C0.334225 8.34601 0.334814 8.34715 0.334814 8.34715L0.335646 8.34874L0.338032 8.35328L0.345701 8.36773C0.352097 8.3797 0.36106 8.39631 0.372564 8.41725C0.395568 8.45913 0.428769 8.51838 0.471981 8.59252C0.558349 8.7407 0.685043 8.94894 0.850599 9.19728C1.18078 9.69255 1.6704 10.3546 2.3086 11.0194C3.57073 12.3341 5.50387 13.75 7.99964 13.75C10.4954 13.75 12.4285 12.3341 13.6907 11.0194C14.3289 10.3546 14.8185 9.69255 15.1487 9.19728C15.3142 8.94894 15.4409 8.7407 15.5273 8.59252C15.5705 8.51838 15.6037 8.45913 15.6267 8.41725C15.6382 8.39631 15.6472 8.3797 15.6536 8.36773L15.6612 8.35328L15.6636 8.34874L15.6648 8.34652L15.845 8L15.6651 7.65399L14.9996 8C15.6651 7.65399 15.6645 7.65285 15.6645 7.65285L15.6636 7.65126L15.6612 7.64672L15.6536 7.63227C15.6472 7.6203 15.6382 7.60369 15.6267 7.58275C15.6037 7.54087 15.5705 7.48162 15.5273 7.40748C15.4409 7.2593 15.3142 7.05106 15.1487 6.80272C14.8185 6.30745 14.3289 5.64539 13.6907 4.9806C12.4285 3.66588 10.4954 2.25 7.99964 2.25ZM14.9996 8L15.6648 8.34652C15.6648 8.34652 15.6651 8.34601 14.9996 8ZM0.999638 8L0.334488 7.65348C0.334488 7.65348 0.334225 7.65399 0.999638 8ZM2.09867 8.36522C2.00649 8.22694 1.92852 8.10363 1.86519 8C1.92852 7.89637 2.00649 7.77306 2.09867 7.63478C2.39349 7.19255 2.82887 6.60461 3.39068 6.0194C4.52855 4.83412 6.09541 3.75 7.99964 3.75C9.90387 3.75 11.4707 4.83412 12.6086 6.0194C13.1704 6.60461 13.6058 7.19255 13.9006 7.63478C13.9928 7.77306 14.0708 7.89637 14.1341 8C14.0708 8.10363 13.9928 8.22694 13.9006 8.36522C13.6058 8.80745 13.1704 9.39539 12.6086 9.9806C11.4707 11.1659 9.90387 12.25 7.99964 12.25C6.09541 12.25 4.52855 11.1659 3.39068 9.9806C2.82887 9.39539 2.39349 8.80745 2.09867 8.36522Z"
752
+ }, null, -1))
753
+ ], 16);
754
+ }
755
+ const ls = /* @__PURE__ */ q(es, [["render", ns]]);
756
+ let It = 0;
757
+ const ss = {
758
+ beforeCreate() {
759
+ this.uuid = It.toString(), It += 1;
760
+ }
761
+ }, is = { key: 0 };
762
+ function os(e, l, f, t, r, u) {
763
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
764
+ class: "ui-assets-icons-16",
765
+ xmlns: "http://www.w3.org/2000/svg",
766
+ width: "16",
767
+ height: "16",
768
+ fill: "none"
769
+ }), [
770
+ e.$attrs["svg-title"] ? (d(), L("title", is, V(e.$attrs["svg-title"]), 1)) : k("", !0),
771
+ l[0] || (l[0] = C("path", {
772
+ fill: "#00112C",
773
+ d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
774
+ }, null, -1))
775
+ ], 16);
776
+ }
777
+ const as = /* @__PURE__ */ q(ss, [["render", os]]), xt = {
778
+ "en-US": {
779
+ sortColumn: "Sort {name} column",
780
+ sortColumnInAscendingOrder: "Sort {name} column in ascending order",
781
+ sortColumnInDescendingOrder: "Sort {name} column in descending order",
782
+ freezeColumn: "Freeze column",
783
+ hideColumn: "Hide column",
784
+ moveColumnLeft: "Move column left",
785
+ moveColumnRight: "Move column right",
786
+ selectAll: "Select all",
787
+ selectPage: "Select this page",
788
+ selectionMenu: "Selection menu",
789
+ showColumn: "Show column",
790
+ unfreezeColumn: "Unfreeze column",
791
+ columnActions: "{name} column actions"
792
+ }
793
+ }, rs = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], ds = ["aria-label"], us = { class: "b-data-grid-columns__label" }, cs = {
794
+ key: 0,
795
+ class: "b-data-grid-columns__column-info-icon"
796
+ }, gs = {
797
+ key: 1,
798
+ class: "b-data-grid-columns__column-sort"
799
+ }, fs = ["data-testid", "onMousedown"], vs = {
800
+ key: 0,
801
+ class: "b-data-grid-columns__column-separator"
802
+ }, ms = {
803
+ key: 1,
804
+ class: "b-data-grid-columns__select-column"
805
+ }, Cs = {
806
+ i18n: { messages: xt },
807
+ name: "data-grid-columns"
808
+ }, hs = /* @__PURE__ */ Le({
809
+ ...Cs,
810
+ props: {
811
+ /**
812
+ * Column definitions using 'key' to relate to data object.
813
+ */
814
+ columns: {
815
+ type: Array,
816
+ required: !0
817
+ },
818
+ /**
819
+ * Columns being dragged, contains dragging column and a target column
820
+ */
821
+ draggingColumns: {
822
+ type: Object,
823
+ default: void 0
824
+ },
825
+ /**
826
+ * Toggle the columns draggable events.
827
+ */
828
+ hasDraggableColumns: {
829
+ type: Boolean,
830
+ default: !0
831
+ },
832
+ /**
833
+ * If resize is enabled
834
+ */
835
+ hasResizableColumns: {
836
+ type: Boolean,
837
+ default: !0
838
+ },
839
+ /**
840
+ * Signifies if the column panel is enabled.
841
+ */
842
+ hasColumnPanel: {
843
+ type: Boolean,
844
+ default: !1
845
+ },
846
+ /**
847
+ * If set to true, aligns the first column panel to the right of its button.
848
+ */
849
+ hasFirstColumnPanelRightAligned: {
850
+ type: Boolean,
851
+ default: !1
852
+ },
853
+ /**
854
+ * If the data grid has overflow on the left side
855
+ */
856
+ hasLeftOverflow: {
857
+ type: Boolean,
858
+ default: !1
859
+ },
860
+ /**
861
+ * The column hovered over state and whether the hovered over column should show a border right or left.
862
+ */
863
+ hoveredOverColumnState: {
864
+ type: Object,
865
+ required: !0
866
+ },
867
+ /**
868
+ * Toggled to true when the DataGrid has auto width columns and is measuring the
869
+ */
870
+ isMeasuringColumnWidths: {
871
+ type: Boolean,
872
+ default: !1
873
+ },
874
+ /**
875
+ * Used to disable hiding the last visible column.
876
+ */
877
+ isOnlyOneVisibleColumn: {
878
+ type: Boolean,
879
+ default: !1
880
+ },
881
+ /**
882
+ * If these columns are frozen (pinned) columns
883
+ */
884
+ isFrozenColumns: {
885
+ type: Boolean,
886
+ default: !1
887
+ },
888
+ /**
889
+ * Show frozen columns separator
890
+ */
891
+ showFrozenColumnsSeparator: {
892
+ type: Boolean,
893
+ default: !1
894
+ },
895
+ /**
896
+ * The column all items selected state
897
+ */
898
+ allItemsSelectedState: {
899
+ type: Object,
900
+ default: void 0
901
+ },
902
+ /**
903
+ * Adds an extra option when selecting all, to select items in other pages too
904
+ */
905
+ selectableAcrossPages: {
906
+ type: Boolean,
907
+ default: !1
908
+ },
909
+ /**
910
+ * Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
911
+ * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
912
+ */
913
+ sortBy: {
914
+ type: Array,
915
+ // NOTE: is an array to allow multi-sorting in the future
916
+ default: () => []
917
+ },
918
+ /**
919
+ * Truncates all data grid column headers
920
+ */
921
+ truncateColumnHeaders: {
922
+ type: Boolean,
923
+ default: !1
924
+ }
925
+ },
926
+ emits: ["column-hover"],
927
+ setup(e, { expose: l, emit: f }) {
928
+ const t = e, r = f, u = 100, { t: i } = Ee({ messages: xt }), { columns: h, sortBy: v } = et(t), O = I({}), b = I({}), g = I(), N = I(), n = (s) => r(x.SELECT_ALL_ROWS, s), m = (s) => s.field === be, o = R(() => [
929
+ {
930
+ text: i("selectPage"),
931
+ handler: () => n(!0)
932
+ },
933
+ {
934
+ text: i("selectAll"),
935
+ handler: () => r(x.SELECT_ALL_ACROSS_PAGES)
936
+ }
937
+ ]), { startResize: _, isResizing: S, columnHoverEventToEmitAfterResizing: A } = ol(h, r), { isSorting: z, getSortingDirection: j, sortByColumnField: fe } = ml(v, h, r), y = (s) => {
938
+ var se;
939
+ if (!s.sortable)
940
+ return null;
941
+ const P = (se = t.sortBy.find(({ field: J }) => J === s.field)) == null ? void 0 : se.direction;
942
+ return P ? {
943
+ [pe.ASCENDING]: Ve.ASCENDING,
944
+ [pe.DESCENDING]: Ve.DESCENDING
945
+ }[P] : Ve.NONE;
946
+ }, E = R(() => (s) => t.hasDraggableColumns ? {
947
+ dragstart: (P) => {
948
+ r(x.COLUMN_DRAG_START, s, P);
949
+ },
950
+ dragover: (P) => {
951
+ P.preventDefault();
952
+ },
953
+ dragenter: (P) => {
954
+ P.preventDefault(), r(x.COLUMN_DRAG_ENTER, s, P);
955
+ },
956
+ drop: () => {
957
+ r(x.COLUMN_DROP, s);
958
+ },
959
+ dragend: () => {
960
+ r(x.COLUMN_DRAG_END);
961
+ }
962
+ } : {}), c = R(() => (s) => [
963
+ {
964
+ text: i("moveColumnLeft"),
965
+ handler: () => r(x.COLUMN_MOVE, s, -1),
966
+ icon: ll,
967
+ disabled: t.columns[0].field === s.field
968
+ },
969
+ {
970
+ text: i("moveColumnRight"),
971
+ handler: () => r(x.COLUMN_MOVE, s, 1),
972
+ icon: Nl,
973
+ disabled: t.columns[t.columns.length - 1].field === s.field
974
+ },
975
+ {
976
+ text: s != null && s.frozen ? i("unfreezeColumn") : i("freezeColumn"),
977
+ handler: () => r(x.COLUMN_UPDATE, { ...s, frozen: !(s != null && s.frozen) }),
978
+ icon: Zt
979
+ },
980
+ {
981
+ text: (s == null ? void 0 : s.visible) !== !1 ? i("hideColumn") : i("showColumn"),
982
+ handler: () => {
983
+ r(x.COLUMN_UPDATE, {
984
+ ...s,
985
+ visible: (s == null ? void 0 : s.visible) === !1
986
+ });
987
+ },
988
+ icon: (s == null ? void 0 : s.visible) !== !1 ? Hl : ls,
989
+ disabled: (s == null ? void 0 : s.mandatory) || (s == null ? void 0 : s.visible) !== !1 && t.isOnlyOneVisibleColumn
990
+ }
991
+ ]), M = (s) => {
992
+ g.value = s.field, N.value && clearTimeout(N.value);
993
+ }, U = () => {
994
+ const s = setTimeout(() => {
995
+ g.value = "";
996
+ }, u);
997
+ N.value = s;
998
+ }, D = (s) => {
999
+ let P = {
1000
+ mouseenter: () => {
1001
+ M(s), S.value ? A.value = s : r("column-hover", s);
1002
+ },
1003
+ mouseleave: () => {
1004
+ U(), S.value ? A.value = null : r("column-hover", null);
1005
+ },
1006
+ focus: () => M(s)
1007
+ };
1008
+ return m(s) || (P = {
1009
+ ...P,
1010
+ ...E.value(s)
1011
+ }), P;
1012
+ }, te = (s) => s.infoIconTooltip || s.sortable || t.hasColumnPanel, K = (s, P) => {
1013
+ var T;
1014
+ ((T = O.value) == null ? void 0 : T[P]) === void 0 && (O.value = { ...O.value, [P]: null }), s !== null && (O.value[P] = s);
1015
+ }, X = R(() => {
1016
+ var P;
1017
+ const s = {
1018
+ "b-data-grid-columns--is-measuring": t.isMeasuringColumnWidths
1019
+ };
1020
+ return (P = h.value[0]) != null && P.frozen ? {
1021
+ ...s,
1022
+ "b-data-grid-columns--frozen": !0,
1023
+ "b-data-grid-columns--frozen-separator": t.showFrozenColumnsSeparator,
1024
+ "b-data-grid-columns--overflow-shadow-left": t.hasLeftOverflow
1025
+ } : {
1026
+ ...s,
1027
+ "b-data-grid-columns--unfrozen": !0
1028
+ };
1029
+ }), B = (s, P) => s && P === 0 ? gt.BOTTOM_START : gt.BOTTOM_END, W = (s, P) => {
1030
+ var T, se, J, Te, me, we, $e, Ne, Me, Oe;
1031
+ return {
1032
+ "b-data-grid-columns__column--column-hovered": s.field === t.hoveredOverColumnState.hoveredOverColumnField,
1033
+ "b-data-grid-columns__column--column-hovered-no-border-left": s.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1034
+ "b-data-grid-columns__column--column-hovered-no-border-right": s.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1035
+ "b-data-grid-columns__column--last-frozen-frozen-column": t.isFrozenColumns && P === h.value.length - 1,
1036
+ "b-data-grid-columns__column--sortable": s.sortable,
1037
+ "b-data-grid-columns__column--padding-left-unset": ((T = s == null ? void 0 : s.padding) == null ? void 0 : T.left) === !1,
1038
+ "b-data-grid-columns__column--padding-right-unset": ((se = s == null ? void 0 : s.padding) == null ? void 0 : se.right) === !1,
1039
+ "b-data-grid-columns__column--numeric": s == null ? void 0 : s.numeric,
1040
+ "b-data-grid-columns__column--frozen": s == null ? void 0 : s.frozen,
1041
+ "b-data-grid-columns__column--is-re-ordering": (s == null ? void 0 : s.field) === ((Te = (J = t.draggingColumns) == null ? void 0 : J.dragging) == null ? void 0 : Te.field),
1042
+ "b-data-grid-columns__column--is-re-ordering-target-left": (s == null ? void 0 : s.field) === ((we = (me = t.draggingColumns) == null ? void 0 : me.target) == null ? void 0 : we.field) && (($e = t.draggingColumns) == null ? void 0 : $e.dragToLeft),
1043
+ "b-data-grid-columns__column--is-re-ordering-target-right": (s == null ? void 0 : s.field) === ((Me = (Ne = t.draggingColumns) == null ? void 0 : Ne.target) == null ? void 0 : Me.field) && !((Oe = t.draggingColumns) != null && Oe.dragToLeft),
1044
+ "b-data-grid-columns__column--with-sorting-or-column-panel": s.sortable || s.infoIconTooltip || t.hasColumnPanel && g.value === s.field || t.selectableAcrossPages
1045
+ };
1046
+ }, ge = (s) => ({
1047
+ "b-data-grid-columns__column-header-and-actions--numeric": s == null ? void 0 : s.numeric
1048
+ }), qe = (s) => ({
1049
+ "b-data-grid-columns__column-actions--numeric": s == null ? void 0 : s.numeric
1050
+ }), Ae = (s) => ({
1051
+ "b-data-grid-columns__column-separator-container--is-resizeable": t.hasResizableColumns,
1052
+ "b-data-grid-columns__column-separator-container--is-offset": t.hoveredOverColumnState.hoveredOverColumnField === s.field && t.hoveredOverColumnState.isSeparatorOffset
1053
+ }), Ye = R(() => ({
1054
+ "b-data-grid-columns__column-header--truncated": t.truncateColumnHeaders
1055
+ }));
1056
+ return l({
1057
+ columnHeaderRefs: O
1058
+ }), (s, P) => (d(), L("div", {
1059
+ class: ae(["b-data-grid-columns", X.value]),
1060
+ "data-testid": "data-grid-columns"
1061
+ }, [
1062
+ (d(!0), L(ue, null, ve(a(h), (T, se) => (d(), L("div", Y({
1063
+ key: T.field,
1064
+ ref_for: !0,
1065
+ ref: (J) => K(J, T.field),
1066
+ "aria-colindex": se + 1,
1067
+ "aria-label": T.label,
1068
+ "aria-sort": y(T),
1069
+ class: [W(T, se), "b-data-grid-columns__column"],
1070
+ "data-testid": `${T.field}-column-header`,
1071
+ draggable: e.hasDraggableColumns && !a(S) && !m(T),
1072
+ role: "columnheader",
1073
+ tabindex: T.sortable || e.hasColumnPanel || T.infoIconTooltip ? "0" : "-1",
1074
+ style: { width: T.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${T.width}px` }
1075
+ }, Ze(D(T), !0)), [
1076
+ m(T) ? (d(), L("div", ms, [
1077
+ Z(a(Bt), {
1078
+ "model-value": e.allItemsSelectedState.allItemsSelected,
1079
+ "data-testid": "checkbox-select-all",
1080
+ indeterminate: e.allItemsSelectedState.isIndeterminate,
1081
+ value: "data-grid-select-all",
1082
+ "onUpdate:modelValue": n
1083
+ }, null, 8, ["model-value", "indeterminate"]),
1084
+ e.selectableAcrossPages ? (d(), F(a(Ke), {
1085
+ key: 0,
1086
+ class: "b-data-grid-columns__select-column-menu",
1087
+ data: o.value,
1088
+ "menu-position": "bottom-start",
1089
+ "menu-fixed-positioning": "",
1090
+ button: { variant: "tertiary", condensed: !0 }
1091
+ }, {
1092
+ iconLeft: G(() => [
1093
+ Z(a(as), {
1094
+ "svg-title": a(i)("selectionMenu")
1095
+ }, null, 8, ["svg-title"])
1096
+ ]),
1097
+ _: 1
1098
+ }, 8, ["data"])) : k("", !0)
1099
+ ])) : (d(), L(ue, { key: 0 }, [
1100
+ C("div", {
1101
+ "aria-label": a(i)("columnActions", { name: T.label }),
1102
+ "aria-live": "polite",
1103
+ role: "region",
1104
+ class: ae(["b-data-grid-columns__column-header-and-actions", ge(T)])
1105
+ }, [
1106
+ Z(a(xe), {
1107
+ el: "div",
1108
+ strongest: "",
1109
+ class: ae(["b-data-grid-columns__column-header", Ye.value])
1110
+ }, {
1111
+ default: G(() => [
1112
+ ye(s.$slots, `head-${T.field}`, { column: T }, () => [
1113
+ C("span", us, V(T.label), 1)
1114
+ ], !0)
1115
+ ]),
1116
+ _: 2
1117
+ }, 1032, ["class"]),
1118
+ te(T) ? (d(), L("div", {
1119
+ key: 0,
1120
+ class: ae(["b-data-grid-columns__column-actions", qe(T)])
1121
+ }, [
1122
+ T.infoIconTooltip ? (d(), L("div", cs, [
1123
+ Z(a(el), {
1124
+ "tooltip-text": T.infoIconTooltip
1125
+ }, null, 8, ["tooltip-text"])
1126
+ ])) : k("", !0),
1127
+ T.sortable ? (d(), L("div", gs, [
1128
+ Z(a(Vt), {
1129
+ condensed: "",
1130
+ toggled: a(z)(T.field),
1131
+ variant: "tertiary",
1132
+ onClick: (J) => a(fe)(T.field)
1133
+ }, {
1134
+ iconLeft: G(() => [
1135
+ a(j)(T.field) ? a(j)(T.field) === a(pe).ASCENDING ? (d(), F(a(jl), {
1136
+ key: 1,
1137
+ "svg-title": a(i)("sortColumnInDescendingOrder", { name: T.label })
1138
+ }, null, 8, ["svg-title"])) : a(j)(T.field) === a(pe).DESCENDING ? (d(), F(a(Ql), {
1139
+ key: 2,
1140
+ "svg-title": a(i)("sortColumnInAscendingOrder", { name: T.label })
1141
+ }, null, 8, ["svg-title"])) : k("", !0) : (d(), F(a(Al), {
1142
+ key: 0,
1143
+ "svg-title": a(i)("sortColumn", { name: T.label })
1144
+ }, null, 8, ["svg-title"]))
1145
+ ]),
1146
+ _: 2
1147
+ }, 1032, ["toggled", "onClick"])
1148
+ ])) : k("", !0),
1149
+ e.hasColumnPanel && g.value === T.field ? (d(), F(a(Ke), {
1150
+ key: 2,
1151
+ ref_for: !0,
1152
+ ref: (J) => b.value[T.field] = J,
1153
+ class: "b-data-grid-columns__menu",
1154
+ data: c.value(T),
1155
+ "menu-position": B(e.hasFirstColumnPanelRightAligned, se),
1156
+ "menu-fixed-positioning": !0,
1157
+ button: { variant: "tertiary", condensed: !0 },
1158
+ onOpen: P[0] || (P[0] = (J) => s.$emit(a(x).COLUMN_MENU_OPEN)),
1159
+ onClose: P[1] || (P[1] = (J) => s.$emit(a(x).COLUMN_MENU_CLOSE))
1160
+ }, null, 8, ["data", "menu-position"])) : k("", !0)
1161
+ ], 2)) : k("", !0)
1162
+ ], 10, ds),
1163
+ C("div", {
1164
+ "data-testid": `data-grid-column-${T.field}`,
1165
+ class: ae(["b-data-grid-columns__column-separator-container", Ae(T)]),
1166
+ role: "presentation",
1167
+ onMousedown: (J) => a(_)(e.hasResizableColumns, T.field, J),
1168
+ onClick: P[2] || (P[2] = wn(() => {
1169
+ }, ["stop"]))
1170
+ }, [
1171
+ !e.isFrozenColumns || e.isFrozenColumns && se !== a(h).length - 1 ? (d(), L("div", vs)) : k("", !0)
1172
+ ], 42, fs)
1173
+ ], 64))
1174
+ ], 16, rs))), 128))
1175
+ ], 2));
1176
+ }
1177
+ }), _s = /* @__PURE__ */ q(hs, [["__scopeId", "data-v-cc5ac630"]]);
1178
+ var _e = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(_e || {});
1179
+ let Rt = 0;
1180
+ const ps = {
1181
+ beforeCreate() {
1182
+ this.uuid = Rt.toString(), Rt += 1;
1183
+ }
1184
+ }, Ls = { key: 0 }, Ss = ["clip-path"], bs = ["id"];
1185
+ function Es(e, l, f, t, r, u) {
1186
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
1187
+ class: "ui-assets-icons-16",
1188
+ xmlns: "http://www.w3.org/2000/svg",
1189
+ width: "16",
1190
+ height: "16",
1191
+ fill: "none"
1192
+ }), [
1193
+ e.$attrs["svg-title"] ? (d(), L("title", Ls, V(e.$attrs["svg-title"]), 1)) : k("", !0),
1194
+ C("g", {
1195
+ fill: "#00112C",
1196
+ "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
1197
+ }, l[0] || (l[0] = [
1198
+ C("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
1199
+ C("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
1200
+ ]), 8, Ss),
1201
+ C("defs", null, [
1202
+ C("clipPath", {
1203
+ id: "uia-icons-16-settings__a" + e.uuid
1204
+ }, l[1] || (l[1] = [
1205
+ C("rect", {
1206
+ width: "16",
1207
+ height: "16",
1208
+ fill: "#fff"
1209
+ }, null, -1)
1210
+ ]), 8, bs)
1211
+ ])
1212
+ ], 16);
1213
+ }
1214
+ const ys = /* @__PURE__ */ q(ps, [["render", Es]]), At = {
1215
+ "en-US": {
1216
+ toggleColumnVisibility: "Toggle {label} column visibility",
1217
+ toggleColumnFreeze: "Toggle {label} column freeze"
1218
+ }
1219
+ }, Os = Le({
1220
+ i18n: { messages: At },
1221
+ name: "bento-data-grid",
1222
+ components: {
1223
+ BentoFreezeIcon: Zt,
1224
+ BentoToggle: Gt
1225
+ },
1226
+ props: {
1227
+ /**
1228
+ * Is column visibitlity toggle disabled
1229
+ */
1230
+ isColumnVisibilityToggleDisabled: {
1231
+ type: Boolean,
1232
+ required: !0
1233
+ },
1234
+ /**
1235
+ * Column definition
1236
+ */
1237
+ column: {
1238
+ type: Object,
1239
+ required: !0
1240
+ }
1241
+ },
1242
+ emits: ["visible-column", "updated-column"],
1243
+ setup(e, { emit: l }) {
1244
+ const { t: f } = Ee({ messages: At }), t = I(!1), r = R(() => {
1245
+ var g;
1246
+ return (g = e.column) == null ? void 0 : g.frozen;
1247
+ }), u = R(() => {
1248
+ var g;
1249
+ return ((g = e.column) == null ? void 0 : g.visible) !== !1;
1250
+ }), i = () => {
1251
+ l("visible-column", { ...e.column, visible: !u.value });
1252
+ }, h = () => {
1253
+ l("updated-column", { ...e.column, frozen: !r.value });
1254
+ }, v = () => {
1255
+ r.value || (t.value = !0);
1256
+ }, O = () => {
1257
+ r.value || (t.value = !1);
1258
+ }, b = R(() => ({
1259
+ "b-data-grid-config-settings-column-row__freeze-icon--frozen": r.value
1260
+ }));
1261
+ return {
1262
+ // Values
1263
+ isFreezeIconOptionShown: t,
1264
+ isColumnFrozen: r,
1265
+ freezeIconConditionalClasses: b,
1266
+ isColumnVisible: u,
1267
+ // Methods
1268
+ toggleColumnVisibility: i,
1269
+ showFreezeIcon: v,
1270
+ hideFreezeIcon: O,
1271
+ toggleColumnFreeze: h,
1272
+ // Translations
1273
+ t: f
1274
+ };
1275
+ }
1276
+ });
1277
+ function Is(e, l, f, t, r, u) {
1278
+ const i = oe("bento-toggle"), h = oe("bento-freeze-icon");
1279
+ return d(), L("div", {
1280
+ class: "b-data-grid-config-settings-column-row",
1281
+ onMouseover: l[0] || (l[0] = (...v) => e.showFreezeIcon && e.showFreezeIcon(...v)),
1282
+ onMouseleave: l[1] || (l[1] = (...v) => e.hideFreezeIcon && e.hideFreezeIcon(...v))
1283
+ }, [
1284
+ Z(i, {
1285
+ "aria-label": e.t("toggleColumnVisibility", { label: e.column.label }),
1286
+ disabled: e.isColumnVisibilityToggleDisabled,
1287
+ "label-position": "after",
1288
+ value: e.isColumnVisible,
1289
+ onInput: e.toggleColumnVisibility
1290
+ }, {
1291
+ default: G(() => [
1292
+ ee(V(e.column.label), 1)
1293
+ ]),
1294
+ _: 1
1295
+ }, 8, ["aria-label", "disabled", "value", "onInput"]),
1296
+ nt(Z(h, {
1297
+ "aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
1298
+ class: ae(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1299
+ onClick: e.toggleColumnFreeze
1300
+ }, null, 8, ["aria-label", "class", "onClick"]), [
1301
+ [$n, e.isColumnFrozen || e.isFreezeIconOptionShown]
1302
+ ])
1303
+ ], 32);
1304
+ }
1305
+ const Rs = /* @__PURE__ */ q(Os, [["render", Is], ["__scopeId", "data-v-bb87a729"]]), Tt = {
1306
+ "en-US": {
1307
+ closeConfigSettingsPanel: "Close configuration settings panel",
1308
+ configSettingsPanel: "Configuration settings Panel",
1309
+ displayOptions: "Display options",
1310
+ condensed: "Condensed",
1311
+ condensedToggle: "Condensed toggle",
1312
+ size: "Size",
1313
+ toggleConfigSettingsPanelVisibility: "Toggle Configuration settings panel visibility",
1314
+ columns: "Columns",
1315
+ showAllColumns: "Show all columns ({numberOfColumns})",
1316
+ columnVisibilitySearchFilter: "Column visibility search filter",
1317
+ search: "Search",
1318
+ closeSearch: "Close search",
1319
+ noColumnsMatch: "No columns match this search"
1320
+ }
1321
+ }, As = Le({
1322
+ i18n: { messages: Tt },
1323
+ name: "bento-data-grid",
1324
+ components: {
1325
+ BentoButton: Ht,
1326
+ BentoCrossIcon: Pt,
1327
+ BentoPopover: qn,
1328
+ BentoSettingsIcon: ys,
1329
+ BentoToggleButton: Vt,
1330
+ BentoDataGridConfigSettingsConfigRow: Rs,
1331
+ BentoSearchBar: Yn,
1332
+ BentoSearchIcon: Qn,
1333
+ BentoToggle: Gt,
1334
+ BentoTypography: xe
1335
+ },
1336
+ directives: { BentoClickOutsideDirective: Kn },
1337
+ props: {
1338
+ /**
1339
+ * Column definitions
1340
+ */
1341
+ columns: {
1342
+ type: Array,
1343
+ required: !0
1344
+ },
1345
+ /**
1346
+ * Sets the row cells to the condensed padding state.
1347
+ */
1348
+ condensed: {
1349
+ type: Boolean,
1350
+ default: !1
1351
+ }
1352
+ },
1353
+ emits: [_e.CONFIG_SETTINGS, _e.UPDATE_COLUMNS],
1354
+ setup(e, { emit: l }) {
1355
+ const { t: f } = Ee({ messages: Tt }), t = I(null), r = Jn("data-grid-config-settings-popover"), u = I(null), i = I(!1), h = I(!0), v = I(null), O = I(""), b = kt(e, "columns"), g = I(!1), N = Xn(O, b), n = () => {
1356
+ O.value = "";
1357
+ }, m = R(
1358
+ () => !e.columns.some((E) => E.visible === !1 && !E.mandatory)
1359
+ ), o = () => {
1360
+ n(), g.value = !g.value, g.value ? re(() => {
1361
+ var E;
1362
+ return (E = u.value.$refs.bentoInputField) == null ? void 0 : E.focusInput();
1363
+ }) : re(() => {
1364
+ var E, c;
1365
+ return (c = (E = v == null ? void 0 : v.value) == null ? void 0 : E.$el) == null ? void 0 : c.focus();
1366
+ }), h.value = m.value;
1367
+ }, _ = (E) => E.mandatory ?? !1, S = (E) => {
1368
+ const c = e.columns.map((M) => ({
1369
+ ...M,
1370
+ visible: E.field === M.field ? E.visible : M.visible
1371
+ }));
1372
+ l(_e.UPDATE_COLUMNS, c);
1373
+ }, A = (E) => {
1374
+ E ? l(
1375
+ _e.UPDATE_COLUMNS,
1376
+ e.columns.map((c) => ({ ...c, visible: !0 }))
1377
+ ) : l(
1378
+ _e.UPDATE_COLUMNS,
1379
+ e.columns.map((c) => ({ ...c, visible: (c == null ? void 0 : c.mandatory) === !0 }))
1380
+ );
1381
+ }, z = (E) => {
1382
+ const c = e.columns.map((M) => ({
1383
+ ...M,
1384
+ frozen: E.field === M.field ? !!(E != null && E.frozen) : !!(M != null && M.frozen)
1385
+ }));
1386
+ l(_e.UPDATE_COLUMNS, c);
1387
+ }, j = (E) => {
1388
+ i.value = E, h.value = m.value;
1389
+ };
1390
+ return {
1391
+ // Values
1392
+ configSettingsButtonRef: t,
1393
+ popoverId: r,
1394
+ isConfigSettingsPanelOpen: i,
1395
+ allColumnsVisbilityToggleState: h,
1396
+ filteredColumnVisibilityColumns: N,
1397
+ searchTerm: O,
1398
+ isColumnVisibilityFilterShown: g,
1399
+ searchBarRef: u,
1400
+ searchButtonRef: v,
1401
+ DATAGRID_SELECT_FIELD_NAME: be,
1402
+ // Methods
1403
+ setConfigSettingsPanelVisibility: j,
1404
+ emitCondensedToggle: (E) => l(_e.CONFIG_SETTINGS, E),
1405
+ toggleAllColumnVisibility: A,
1406
+ clearAction: n,
1407
+ toggleColumnFilter: o,
1408
+ emitVisibleColumns: S,
1409
+ emitFrozenColumns: z,
1410
+ onClickOutside: () => j(!1),
1411
+ isColumnVisibilityToggleDisabled: _,
1412
+ // Translations
1413
+ t: f
1414
+ };
1415
+ }
1416
+ }), Ts = { class: "b-data-grid-config-settings" }, ws = { class: "b-data-grid-config-settings__button-and-separator" }, $s = {
1417
+ ref: "configSettingsButtonRef",
1418
+ class: "b-data-grid-config-settings__button-container"
1419
+ }, Ns = { class: "b-data-grid-config-settings__panel-header" }, Ms = { class: "b-data-grid-config-settings__condensed-view-settings" }, Us = { class: "b-data-grid-config-settings__column-visibility-settings" }, ks = { class: "b-data-grid-config-settings__column-visibility-header" }, Ds = {
1420
+ key: 0,
1421
+ class: "b-data-grid-config-settings__column-visibility-search"
1422
+ }, Ps = {
1423
+ key: 1,
1424
+ class: "b-data-grid-config-settings__column-visibility-show-all"
1425
+ }, Fs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1426
+ function zs(e, l, f, t, r, u) {
1427
+ const i = oe("bento-settings-icon"), h = oe("bento-toggle-button"), v = oe("bento-typography"), O = oe("bento-cross-icon"), b = oe("bento-button"), g = oe("bento-toggle"), N = oe("bento-search-icon"), n = oe("bento-search-bar"), m = oe("bento-data-grid-config-settings-config-row"), o = oe("bento-popover"), _ = Nn("bento-click-outside-directive");
1428
+ return nt((d(), L("div", Ts, [
1429
+ C("div", ws, [
1430
+ C("div", $s, [
1431
+ Z(h, {
1432
+ "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
1433
+ variant: "tertiary",
1434
+ condensed: "",
1435
+ toggled: e.isConfigSettingsPanelOpen,
1436
+ onClick: l[0] || (l[0] = (S) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1437
+ }, {
1438
+ iconLeft: G(() => [
1439
+ Z(i, {
1440
+ "svg-title": e.t("toggleConfigSettingsPanelVisibility")
1441
+ }, null, 8, ["svg-title"])
1442
+ ]),
1443
+ _: 1
1444
+ }, 8, ["aria-controls", "toggled"])
1445
+ ], 512)
1446
+ ]),
1447
+ e.configSettingsButtonRef ? (d(), F(o, {
1448
+ key: 0,
1449
+ id: e.popoverId,
1450
+ open: e.isConfigSettingsPanelOpen,
1451
+ class: "b-data-grid-config-settings__panel",
1452
+ "aria-label": e.t("configSettingsPanel"),
1453
+ "target-element": e.configSettingsButtonRef,
1454
+ position: "bottom-end"
1455
+ }, {
1456
+ default: G(() => [
1457
+ C("div", Ns, [
1458
+ Z(v, {
1459
+ el: "span",
1460
+ strongest: ""
1461
+ }, {
1462
+ default: G(() => [
1463
+ ee(V(e.t("displayOptions")), 1)
1464
+ ]),
1465
+ _: 1
1466
+ }),
1467
+ Z(b, {
1468
+ variant: "tertiary",
1469
+ onClick: l[1] || (l[1] = (S) => e.setConfigSettingsPanelVisibility(!1))
1470
+ }, {
1471
+ iconLeft: G(() => [
1472
+ Z(O, {
1473
+ "svg-title": e.t("closeConfigSettingsPanel")
1474
+ }, null, 8, ["svg-title"])
1475
+ ]),
1476
+ _: 1
1477
+ })
1478
+ ]),
1479
+ C("div", Ms, [
1480
+ Z(v, {
1481
+ class: "b-data-grid-config-settings__condensed-view-title",
1482
+ el: "span",
1483
+ stronger: ""
1484
+ }, {
1485
+ default: G(() => [
1486
+ ee(V(e.t("size")), 1)
1487
+ ]),
1488
+ _: 1
1489
+ }),
1490
+ Z(g, {
1491
+ "label-position": "after",
1492
+ "aria-label": e.t("condensedToggle"),
1493
+ value: e.condensed,
1494
+ onInput: e.emitCondensedToggle
1495
+ }, {
1496
+ default: G(() => [
1497
+ ee(V(e.t("condensed")), 1)
1498
+ ]),
1499
+ _: 1
1500
+ }, 8, ["aria-label", "value", "onInput"])
1501
+ ]),
1502
+ C("div", Us, [
1503
+ C("div", ks, [
1504
+ Z(v, {
1505
+ class: "b-data-grid-config-settings__column-visibility-title",
1506
+ el: "span",
1507
+ stronger: ""
1508
+ }, {
1509
+ default: G(() => [
1510
+ ee(V(e.t("columns")), 1)
1511
+ ]),
1512
+ _: 1
1513
+ }),
1514
+ e.isColumnVisibilityFilterShown ? (d(), F(b, {
1515
+ key: 1,
1516
+ variant: "tertiary",
1517
+ onClick: e.toggleColumnFilter
1518
+ }, {
1519
+ iconLeft: G(() => [
1520
+ Z(O)
1521
+ ]),
1522
+ default: G(() => [
1523
+ ee(" " + V(e.t("closeSearch")), 1)
1524
+ ]),
1525
+ _: 1
1526
+ }, 8, ["onClick"])) : (d(), F(b, {
1527
+ key: 0,
1528
+ ref: "searchButtonRef",
1529
+ variant: "tertiary",
1530
+ onClick: e.toggleColumnFilter
1531
+ }, {
1532
+ iconLeft: G(() => [
1533
+ Z(N)
1534
+ ]),
1535
+ default: G(() => [
1536
+ ee(V(e.t("search")), 1)
1537
+ ]),
1538
+ _: 1
1539
+ }, 8, ["onClick"]))
1540
+ ]),
1541
+ e.isColumnVisibilityFilterShown ? (d(), L("div", Ds, [
1542
+ Z(n, {
1543
+ ref: "searchBarRef",
1544
+ value: e.searchTerm,
1545
+ "input-field-aria-label": e.t("columnVisibilitySearchFilter").toString(),
1546
+ onInput: l[2] || (l[2] = (S) => e.searchTerm = S),
1547
+ onClear: e.clearAction,
1548
+ onEscapePressed: e.toggleColumnFilter
1549
+ }, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
1550
+ ])) : (d(), L("div", Ps, [
1551
+ Z(g, {
1552
+ "label-position": "after",
1553
+ value: e.allColumnsVisbilityToggleState,
1554
+ onInput: e.toggleAllColumnVisibility
1555
+ }, {
1556
+ default: G(() => [
1557
+ ee(V(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1558
+ ]),
1559
+ _: 1
1560
+ }, 8, ["value", "onInput"])
1561
+ ])),
1562
+ C("div", Fs, [
1563
+ (d(!0), L(ue, null, ve(e.filteredColumnVisibilityColumns, (S) => (d(), L("div", {
1564
+ key: S.field
1565
+ }, [
1566
+ S.field !== e.DATAGRID_SELECT_FIELD_NAME ? (d(), F(m, {
1567
+ key: 0,
1568
+ column: S,
1569
+ "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(S),
1570
+ onVisibleColumn: e.emitVisibleColumns,
1571
+ onUpdatedColumn: e.emitFrozenColumns
1572
+ }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : k("", !0)
1573
+ ]))), 128)),
1574
+ e.filteredColumnVisibilityColumns.length === 0 ? (d(), F(v, {
1575
+ key: 0,
1576
+ el: "span",
1577
+ class: "b-data-grid-config-settings__column-visibility-empty-search-message"
1578
+ }, {
1579
+ default: G(() => [
1580
+ ee(V(e.t("noColumnsMatch")), 1)
1581
+ ]),
1582
+ _: 1
1583
+ })) : k("", !0)
1584
+ ])
1585
+ ])
1586
+ ]),
1587
+ _: 1
1588
+ }, 8, ["id", "open", "aria-label", "target-element"])) : k("", !0)
1589
+ ])), [
1590
+ [_, e.onClickOutside]
1591
+ ]);
1592
+ }
1593
+ const Ws = /* @__PURE__ */ q(As, [["render", zs], ["__scopeId", "data-v-e2bc2576"]]), je = {
1594
+ "en-US": {
1595
+ gettingYourData: "Getting your data",
1596
+ loading: "Loading",
1597
+ showMore: "Show more",
1598
+ sortAscending: "{field} sort ascending",
1599
+ sortDescending: "{field} sort descending",
1600
+ sortInactive: "{field} sort inactive",
1601
+ selectRow: "Select row"
1602
+ }
1603
+ }, Hs = { class: "b-data-grid-lazy-load" }, Gs = {
1604
+ i18n: { messages: je }
1605
+ }, Vs = /* @__PURE__ */ Le({
1606
+ ...Gs,
1607
+ __name: "data-grid-lazy-load",
1608
+ props: {
1609
+ loading: { type: Boolean },
1610
+ isInfiniteScroll: { type: Boolean }
1611
+ },
1612
+ setup(e) {
1613
+ const { t: l } = Ee({ messages: je });
1614
+ return (f, t) => (d(), L("div", Hs, [
1615
+ f.loading && f.isInfiniteScroll ? (d(), F(a(Ft), { key: 0 })) : k("", !0),
1616
+ f.loading && !f.isInfiniteScroll ? (d(), F(a(vt), {
1617
+ key: 1,
1618
+ variant: "secondary",
1619
+ state: a(mt).LOADING
1620
+ }, {
1621
+ default: G(() => [
1622
+ ee(V(a(l)("loading")), 1)
1623
+ ]),
1624
+ _: 1
1625
+ }, 8, ["state"])) : k("", !0),
1626
+ !f.loading && !f.isInfiniteScroll ? (d(), F(a(vt), {
1627
+ key: 2,
1628
+ state: a(mt).START,
1629
+ variant: "secondary",
1630
+ onClick: t[0] || (t[0] = (r) => f.$emit(a($).UPDATE_SHOW_MORE))
1631
+ }, {
1632
+ default: G(() => [
1633
+ ee(V(a(l)("showMore")), 1)
1634
+ ]),
1635
+ _: 1
1636
+ }, 8, ["state"])) : k("", !0)
1637
+ ]));
1638
+ }
1639
+ }), Bs = /* @__PURE__ */ q(Vs, [["__scopeId", "data-v-a4824c2d"]]);
1640
+ let wt = 0;
1641
+ const Zs = {
1642
+ beforeCreate() {
1643
+ this.uuid = wt.toString(), wt += 1;
1644
+ }
1645
+ }, xs = { key: 0 };
1646
+ function js(e, l, f, t, r, u) {
1647
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
1648
+ class: "ui-assets-icons-16",
1649
+ xmlns: "http://www.w3.org/2000/svg",
1650
+ width: "16",
1651
+ height: "16",
1652
+ fill: "none"
1653
+ }), [
1654
+ e.$attrs["svg-title"] ? (d(), L("title", xs, V(e.$attrs["svg-title"]), 1)) : k("", !0),
1655
+ l[0] || (l[0] = C("path", {
1656
+ fill: "#00112C",
1657
+ d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z"
1658
+ }, null, -1))
1659
+ ], 16);
1660
+ }
1661
+ const qs = /* @__PURE__ */ q(Zs, [["render", js]]);
1662
+ let $t = 0;
1663
+ const Ys = {
1664
+ beforeCreate() {
1665
+ this.uuid = $t.toString(), $t += 1;
1666
+ }
1667
+ }, Xs = { key: 0 };
1668
+ function Ks(e, l, f, t, r, u) {
1669
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
1670
+ class: "ui-assets-icons-16",
1671
+ xmlns: "http://www.w3.org/2000/svg",
1672
+ width: "16",
1673
+ height: "16",
1674
+ fill: "none"
1675
+ }), [
1676
+ e.$attrs["svg-title"] ? (d(), L("title", Xs, V(e.$attrs["svg-title"]), 1)) : k("", !0),
1677
+ l[0] || (l[0] = C("path", {
1678
+ fill: "#00112C",
1679
+ d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
1680
+ }, null, -1))
1681
+ ], 16);
1682
+ }
1683
+ const Nt = /* @__PURE__ */ q(Ys, [["render", Ks]]), jt = {
1684
+ "en-US": {
1685
+ copy: "Copy",
1686
+ edit: "Edit",
1687
+ open: "Open",
1688
+ more: "More"
1689
+ }
1690
+ }, Js = { class: "b-data-grid-cell-actions" }, Qs = {
1691
+ class: "b-data-grid-cell-actions__actions",
1692
+ role: "group"
1693
+ }, ei = {
1694
+ i18n: { messages: jt },
1695
+ name: "data-grid-cell-actions"
1696
+ }, ti = /* @__PURE__ */ Le({
1697
+ ...ei,
1698
+ props: {
1699
+ /**
1700
+ * Column definitions using 'key' to relate to data object.
1701
+ */
1702
+ cellActions: {
1703
+ type: Array,
1704
+ required: !0,
1705
+ validator: (e) => (e == null ? void 0 : e.length) <= 2
1706
+ },
1707
+ /**
1708
+ * The column field key.
1709
+ */
1710
+ columnKey: {
1711
+ type: String,
1712
+ required: !0
1713
+ },
1714
+ /**
1715
+ * The row data item object.
1716
+ */
1717
+ rowDataItem: {
1718
+ type: Object,
1719
+ required: !0
1720
+ }
1721
+ },
1722
+ emits: ["menu-item-click-close"],
1723
+ setup(e, { emit: l }) {
1724
+ const { t: f } = Ee({ messages: jt }), t = e, r = l, u = R(() => {
1725
+ var n;
1726
+ return ((n = t.cellActions) == null ? void 0 : n.length) > 2 && zt(
1727
+ "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1728
+ ), t.cellActions.slice(0, 2);
1729
+ }), i = R(() => (n, m) => {
1730
+ if (!(!m && n.isShort || m && !n.isShort))
1731
+ switch (n.variant) {
1732
+ case "copy":
1733
+ return f("copy");
1734
+ case "edit":
1735
+ return f("edit");
1736
+ case "open":
1737
+ return f("open");
1738
+ case "more":
1739
+ return f("more");
1740
+ default:
1741
+ return n.title;
1742
+ }
1743
+ }), h = (n) => (n == null ? void 0 : n.event) !== void 0 ? {
1744
+ click: () => n.event(t.rowDataItem, t.columnKey)
1745
+ } : {}, v = (n) => ({
1746
+ ...n,
1747
+ handler: () => {
1748
+ n != null && n.handler && typeof n.handler == "function" && (n == null || n.handler()), n != null && n.event && typeof n.event == "function" && (n == null || n.event(t.rowDataItem, t.columnKey));
1749
+ }
1750
+ }), O = (n) => n.map((m) => {
1751
+ const o = m;
1752
+ return o != null && o.items && (o.items = O(o.items)), { ...v(o) };
1753
+ }), b = (n) => {
1754
+ var m, o;
1755
+ return (n == null ? void 0 : n.getCopyData) !== void 0 ? n.getCopyData(t.rowDataItem, t.columnKey) : (o = (m = t.rowDataItem) == null ? void 0 : m[t.columnKey]) == null ? void 0 : o.toString();
1756
+ }, g = (n) => n.iconRight || ((n == null ? void 0 : n.variant) === "more" || (n == null ? void 0 : n.variant) === "open") && !n.isShort, N = (n) => n.iconLeft || (n == null ? void 0 : n.variant) === "more";
1757
+ return (n, m) => (d(), F(Mn, {
1758
+ name: "b-data-grid-cell-actions__animation",
1759
+ appear: ""
1760
+ }, {
1761
+ default: G(() => [
1762
+ C("div", Js, [
1763
+ m[1] || (m[1] = C("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)),
1764
+ C("div", Qs, [
1765
+ (d(!0), L(ue, null, ve(u.value, (o, _) => (d(), L("div", {
1766
+ key: _,
1767
+ class: "b-data-grid-cell-actions__action"
1768
+ }, [
1769
+ o.menuData ? (d(), F(a(Ke), {
1770
+ key: 0,
1771
+ data: O(o.menuData),
1772
+ button: {
1773
+ condensed: !0,
1774
+ variant: "secondary",
1775
+ disabled: o.disabled
1776
+ },
1777
+ teleport: "",
1778
+ onMenuItemClick: m[0] || (m[0] = (S) => r("menu-item-click-close"))
1779
+ }, Be({ _: 2 }, [
1780
+ N(o) ? {
1781
+ name: "iconLeft",
1782
+ fn: G(() => [
1783
+ (o == null ? void 0 : o.variant) === "more" ? (d(), F(a(tl), {
1784
+ key: 0,
1785
+ "svg-title": i.value(o, !0)
1786
+ }, null, 8, ["svg-title"])) : (d(), F(Re(o.iconLeft), {
1787
+ key: 1,
1788
+ "svg-title": i.value(o, !0)
1789
+ }, null, 8, ["svg-title"]))
1790
+ ]),
1791
+ key: "0"
1792
+ } : void 0,
1793
+ o != null && o.isShort ? void 0 : {
1794
+ name: "default",
1795
+ fn: G(() => [
1796
+ ee(V(i.value(o)), 1)
1797
+ ]),
1798
+ key: "1"
1799
+ },
1800
+ g(o) ? {
1801
+ name: "iconRight",
1802
+ fn: G(() => [
1803
+ (o == null ? void 0 : o.variant) === "open" ? (d(), F(a(Nt), {
1804
+ key: 0,
1805
+ "svg-title": i.value(o, !0)
1806
+ }, null, 8, ["svg-title"])) : (d(), F(Re(o.iconRight), {
1807
+ key: 1,
1808
+ "svg-title": o.title
1809
+ }, null, 8, ["svg-title"]))
1810
+ ]),
1811
+ key: "2"
1812
+ } : void 0
1813
+ ]), 1032, ["data", "button"])) : o.variant === "copy" ? (d(), F(a(sl), {
1814
+ key: 1,
1815
+ text: b(o),
1816
+ "button-text": i.value(o),
1817
+ button: {
1818
+ condensed: !0,
1819
+ variant: "secondary"
1820
+ }
1821
+ }, null, 8, ["text", "button-text"])) : (d(), F(a(Ht), Y({
1822
+ key: 2,
1823
+ condensed: "",
1824
+ variant: "secondary",
1825
+ critical: o.critical,
1826
+ disabled: o.disabled,
1827
+ link: o.link
1828
+ }, Ze(h(o))), Be({ _: 2 }, [
1829
+ o.iconLeft || o.variant === "edit" ? {
1830
+ name: "iconLeft",
1831
+ fn: G(() => [
1832
+ (o == null ? void 0 : o.variant) === "edit" ? (d(), F(a(qs), {
1833
+ key: 0,
1834
+ "svg-title": i.value(o, !0)
1835
+ }, null, 8, ["svg-title"])) : (d(), F(Re(o.iconLeft), {
1836
+ key: 1,
1837
+ "svg-title": o.title
1838
+ }, null, 8, ["svg-title"]))
1839
+ ]),
1840
+ key: "0"
1841
+ } : void 0,
1842
+ o != null && o.isShort ? void 0 : {
1843
+ name: "default",
1844
+ fn: G(() => [
1845
+ ee(V(i.value(o)), 1)
1846
+ ]),
1847
+ key: "1"
1848
+ },
1849
+ o.iconRight || o.variant === "open" ? {
1850
+ name: "iconRight",
1851
+ fn: G(() => [
1852
+ (o == null ? void 0 : o.variant) === "open" ? (d(), F(a(Nt), {
1853
+ key: 0,
1854
+ "svg-title": i.value(o, !0)
1855
+ }, null, 8, ["svg-title"])) : (d(), F(Re(o.iconRight), {
1856
+ key: 1,
1857
+ "svg-title": o.title
1858
+ }, null, 8, ["svg-title"]))
1859
+ ]),
1860
+ key: "2"
1861
+ } : void 0
1862
+ ]), 1040, ["critical", "disabled", "link"]))
1863
+ ]))), 128))
1864
+ ])
1865
+ ])
1866
+ ]),
1867
+ _: 1
1868
+ }));
1869
+ }
1870
+ }), ni = /* @__PURE__ */ q(ti, [["__scopeId", "data-v-da2fa02e"]]);
1871
+ var le = /* @__PURE__ */ ((e) => (e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(le || {});
1872
+ const qt = {
1873
+ "en-US": {
1874
+ selectRow: "Select row"
1875
+ }
1876
+ }, li = ["data-testid", "data-cellindex", "tabindex", "aria-colindex"], si = ["title"], ii = {
1877
+ key: 0,
1878
+ class: "b-data-grid-cell__cell-actions"
1879
+ }, oi = {
1880
+ i18n: { messages: qt },
1881
+ name: "data-grid-cell"
1882
+ }, ai = /* @__PURE__ */ Le({
1883
+ ...oi,
1884
+ props: {
1885
+ draggingEventsForRowCell: {
1886
+ type: Function,
1887
+ required: !0
1888
+ },
1889
+ /**
1890
+ * The columns sets including
1891
+ */
1892
+ columnSets: {
1893
+ type: Array,
1894
+ required: !0
1895
+ },
1896
+ /**
1897
+ * The columns set we are iterating over
1898
+ */
1899
+ column: {
1900
+ type: Object,
1901
+ required: !0
1902
+ },
1903
+ colIndex: {
1904
+ type: Number,
1905
+ required: !0
1906
+ },
1907
+ columnSetIndex: {
1908
+ type: Number,
1909
+ required: !0
1910
+ },
1911
+ /**
1912
+ * Sets the row cells to the condensed padding state.
1913
+ */
1914
+ condensed: {
1915
+ type: Boolean,
1916
+ default: !1
1917
+ },
1918
+ /**
1919
+ * Columns being dragged, contains dragging column and a target column
1920
+ */
1921
+ draggingColumns: {
1922
+ type: Object,
1923
+ default: void 0
1924
+ },
1925
+ /**
1926
+ * A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
1927
+ * This is used selecting and performance reasons and must exist in each data item.
1928
+ */
1929
+ getDataItemId: {
1930
+ type: Function,
1931
+ default: (e) => e.id
1932
+ },
1933
+ /**
1934
+ * The column hovered over state and whether the hovered over column should show a border right or left.
1935
+ */
1936
+ hoveredOverColumnState: {
1937
+ type: Object,
1938
+ required: !0
1939
+ },
1940
+ /**
1941
+ * A customisable method to determine if a row is not selectable.
1942
+ * The default is that every row is selectable.
1943
+ */
1944
+ isDataItemDisabled: {
1945
+ type: Function,
1946
+ default: () => !1
1947
+ },
1948
+ isMeasuringColumnWidths: {
1949
+ type: Boolean,
1950
+ default: !1
1951
+ },
1952
+ /**
1953
+ * The row data object
1954
+ */
1955
+ rowData: {
1956
+ type: Object,
1957
+ required: !0
1958
+ },
1959
+ rowIndex: {
1960
+ type: Number,
1961
+ required: !0
1962
+ },
1963
+ selectedItems: {
1964
+ type: Array,
1965
+ required: !0
1966
+ }
1967
+ },
1968
+ emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered"],
1969
+ setup(e, { expose: l, emit: f }) {
1970
+ const t = Dt(), r = il(t), { t: u } = Ee({ messages: qt }), i = e, h = f, v = I(null), O = I(null), b = I(!1), g = I([]), N = R(() => {
1971
+ var c;
1972
+ return !!((c = i.rowData) != null && c[i.column.field]);
1973
+ }), n = (c, M) => (c == null ? void 0 : c.overflow) === Je.ELLIPSIS ? `${M}` : void 0, m = (c) => c ?? "-", o = (c) => i.columnSets.slice(0, c).reduce((M, { columnSet: U }) => M + U.length, 0), _ = (c, M) => c + o(M), S = (c, M, U) => o() * c + _(M, U), A = (c) => {
1974
+ var M;
1975
+ (c === null || !v.value.contains(c) && !((M = g.value) != null && M.map((U) => U.value).some((U) => U === c || (U == null ? void 0 : U.contains(c))))) && (b.value = !1);
1976
+ }, z = () => {
1977
+ b.value = !1;
1978
+ }, j = (c) => {
1979
+ const U = { ...{
1980
+ ...i.draggingEventsForRowCell(c)
1981
+ } };
1982
+ return c.frozen && (U.keyup = (D) => h("on-frozen-columns-key-press", D), U.keydown = (D) => h("on-frozen-columns-key-press", D)), c.cellActions && (U.mouseenter = () => {
1983
+ b.value = !0;
1984
+ }, U.mouseleave = (D) => {
1985
+ b.value = !1, A(D == null ? void 0 : D.relatedTarget);
1986
+ }, U.mouseleave = (D) => {
1987
+ A(D == null ? void 0 : D.relatedTarget);
1988
+ }, U.focus = (D) => {
1989
+ b.value = !0;
1990
+ }, U.focusout = (D) => {
1991
+ A(D == null ? void 0 : D.relatedTarget);
1992
+ }), U;
1993
+ };
1994
+ ce(
1995
+ () => b.value,
1996
+ () => {
1997
+ b.value === !0 ? h("cell-hovered", i.rowIndex) : h("cell-hovered", -1);
1998
+ }
1999
+ ), Un(nl, {
2000
+ registerMenuContainerElement: (c) => {
2001
+ g.value.push(c);
2002
+ },
2003
+ menuMouseLeave: (c) => {
2004
+ v.value.contains(c == null ? void 0 : c.relatedTarget) || (b.value = !1);
2005
+ }
2006
+ });
2007
+ const E = (c) => {
2008
+ var M, U, D, te, K, X, B;
2009
+ return {
2010
+ [`b-data-grid-cell--${le.COLUMN_HOVERED}`]: (c == null ? void 0 : c.field) === i.hoveredOverColumnState.hoveredOverColumnField,
2011
+ [`b-data-grid-cell--${le.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (c == null ? void 0 : c.field) === i.hoveredOverColumnState.hoveredOverColumnField && i.hoveredOverColumnState.noBorderLeft,
2012
+ [`b-data-grid-cell--${le.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (c == null ? void 0 : c.field) === i.hoveredOverColumnState.hoveredOverColumnField && i.hoveredOverColumnState.noBorderRight,
2013
+ [`b-data-grid-cell--${le.PADDING_LEFT_UNSET}`]: ((M = c == null ? void 0 : c.padding) == null ? void 0 : M.left) === !1,
2014
+ [`b-data-grid-cell--${le.PADDING_RIGHT_UNSET}`]: ((U = c == null ? void 0 : c.padding) == null ? void 0 : U.right) === !1,
2015
+ [`b-data-grid-cell--${le.NUMERIC}`]: c == null ? void 0 : c.numeric,
2016
+ [`b-data-grid-cell--${le.CONDENSED}`]: i.condensed,
2017
+ [`b-data-grid-cell--${le.OVERFLOW_ELLIPSIS}`]: (c == null ? void 0 : c.overflow) === Je.ELLIPSIS,
2018
+ [`b-data-grid-cell--${le.IS_COLUMN_REORDERING}`]: ((D = i.draggingColumns.dragging) == null ? void 0 : D.field) === c.field,
2019
+ [`b-data-grid-cell--${le.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((te = i.draggingColumns.target) == null ? void 0 : te.field) === c.field && ((K = i.draggingColumns) == null ? void 0 : K.dragToLeft),
2020
+ [`b-data-grid-cell--${le.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((X = i.draggingColumns.target) == null ? void 0 : X.field) === c.field && !((B = i.draggingColumns) != null && B.dragToLeft),
2021
+ [`b-data-grid-cell--${le.FROZEN}`]: c == null ? void 0 : c.frozen
2022
+ };
2023
+ };
2024
+ return l({
2025
+ gridcellRef: v
2026
+ }), (c, M) => {
2027
+ var U;
2028
+ return d(), L("div", Y({
2029
+ key: `cell-${e.column.field}`,
2030
+ ref_key: "gridcellRef",
2031
+ ref: v,
2032
+ "data-testid": `cell-${e.column.field}`,
2033
+ "data-cellindex": S(e.rowIndex, e.colIndex, e.columnSetIndex),
2034
+ class: ["b-data-grid-cell", E(e.column)],
2035
+ role: "gridcell",
2036
+ tabindex: S(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
2037
+ "aria-colindex": _(e.colIndex, e.columnSetIndex) + 1,
2038
+ style: {
2039
+ width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
2040
+ }
2041
+ }, Ze(j(e.column), !0)), [
2042
+ e.column.field !== a(be) ? (d(), L(ue, { key: 0 }, [
2043
+ Z(a(xe), { el: "div" }, {
2044
+ default: G(() => [
2045
+ ye(c.$slots, `item-${e.column.field}`, { item: e.rowData }, () => [
2046
+ C("span", {
2047
+ title: n(e.column, e.rowData[e.column.field])
2048
+ }, V(m(e.rowData[e.column.field])), 9, si)
2049
+ ], !0)
2050
+ ]),
2051
+ _: 3
2052
+ }),
2053
+ ((U = e.column.cellActions) == null ? void 0 : U.length) > 0 ? (d(), L("div", ii, [
2054
+ b.value && (N.value || a(r)(`item-${e.column.field}`)) ? (d(), F(ni, {
2055
+ key: 0,
2056
+ ref_key: "cellActionsRef",
2057
+ ref: O,
2058
+ "cell-actions": e.column.cellActions,
2059
+ "column-key": e.column.field,
2060
+ "row-data-item": e.rowData,
2061
+ onMenuItemClickClose: z
2062
+ }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : k("", !0)
2063
+ ])) : k("", !0)
2064
+ ], 64)) : (d(), F(a(Bt), {
2065
+ key: 1,
2066
+ class: "b-data-grid-cell__select-cell",
2067
+ "aria-label": a(u)("selectRow"),
2068
+ "model-value": e.selectedItems,
2069
+ disabled: e.isDataItemDisabled(e.rowData),
2070
+ value: e.getDataItemId(e.rowData),
2071
+ "onUpdate:modelValue": M[0] || (M[0] = (D) => c.$emit("select-row", D))
2072
+ }, null, 8, ["aria-label", "model-value", "disabled", "value"]))
2073
+ ], 16, li);
2074
+ };
2075
+ }
2076
+ }), ri = /* @__PURE__ */ q(ai, [["__scopeId", "data-v-17add437"]]);
2077
+ let Mt = 0;
2078
+ const di = {
2079
+ beforeCreate() {
2080
+ this.uuid = Mt.toString(), Mt += 1;
2081
+ }
2082
+ }, ui = { key: 0 }, ci = ["clip-path"], gi = ["id"];
2083
+ function fi(e, l, f, t, r, u) {
2084
+ return d(), L("svg", Y({ role: "img" }, e.$attrs, {
2085
+ class: "ui-assets-icons-16",
2086
+ xmlns: "http://www.w3.org/2000/svg",
2087
+ width: "16",
2088
+ height: "16",
2089
+ fill: "none"
2090
+ }), [
2091
+ e.$attrs["svg-title"] ? (d(), L("title", ui, V(e.$attrs["svg-title"]), 1)) : k("", !0),
2092
+ C("g", {
2093
+ "clip-path": "url(#uia-icons-16-warning_circle_fill__a" + e.uuid + ")"
2094
+ }, l[0] || (l[0] = [
2095
+ C("path", {
2096
+ fill: "#00112C",
2097
+ d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z"
2098
+ }, null, -1)
2099
+ ]), 8, ci),
2100
+ C("defs", null, [
2101
+ C("clipPath", {
2102
+ id: "uia-icons-16-warning_circle_fill__a" + e.uuid
2103
+ }, l[1] || (l[1] = [
2104
+ C("rect", {
2105
+ width: "16",
2106
+ height: "16",
2107
+ fill: "#fff"
2108
+ }, null, -1)
2109
+ ]), 8, gi)
2110
+ ])
2111
+ ], 16);
2112
+ }
2113
+ const vi = /* @__PURE__ */ q(di, [["render", fi]]), mi = ["aria-label"], Ci = {}, hi = /* @__PURE__ */ Le({
2114
+ ...Ci,
2115
+ __name: "data-grid-static-icon",
2116
+ props: {
2117
+ colored: { type: Boolean, default: !1 },
2118
+ tooltipText: {},
2119
+ variant: { default: "no-value" }
2120
+ },
2121
+ setup(e) {
2122
+ const l = e, f = R(() => {
2123
+ switch (l.variant) {
2124
+ case "checkmark":
2125
+ return Pn;
2126
+ case "warning":
2127
+ return Fn;
2128
+ case "error":
2129
+ return vi;
2130
+ case "cross":
2131
+ return Pt;
2132
+ case "no-value":
2133
+ return ct;
2134
+ default:
2135
+ return ct;
2136
+ }
2137
+ }), t = R(() => ({
2138
+ "b-data-grid-static-icon--colored": l.colored && l.variant !== "no-value"
2139
+ })), r = R(() => `b-data-grid-static-icon__${l.variant}`), u = R(() => Wn.AUTO);
2140
+ return (i, h) => nt((d(), L("div", {
2141
+ "aria-label": i.tooltipText,
2142
+ class: ae(["b-data-grid-static-icon", t.value]),
2143
+ tabindex: "0"
2144
+ }, [
2145
+ (d(), F(Re(f.value), {
2146
+ class: ae(r.value),
2147
+ "svg-title": i.tooltipText
2148
+ }, null, 8, ["class", "svg-title"]))
2149
+ ], 10, mi)), [
2150
+ [a(zn), i.tooltipText, u.value]
2151
+ ]);
2152
+ }
2153
+ }), mo = /* @__PURE__ */ q(hi, [["__scopeId", "data-v-3ee55e9a"]]), _i = ["aria-rowcount", "aria-colcount", "aria-label"], pi = {
2154
+ key: 1,
2155
+ class: "b-data-grid__header"
2156
+ }, Li = ["tabindex"], Si = ["tabindex", "aria-busy"], bi = {
2157
+ key: 0,
2158
+ class: "b-data-grid__loading"
2159
+ }, Ei = {
2160
+ key: 1,
2161
+ class: "b-data-grid__empty-state"
2162
+ }, yi = ["aria-rowindex", "aria-selected", "onClick"], Oi = ["data-testid"], Ii = {
2163
+ key: 4,
2164
+ class: "b-data-grid__footer"
2165
+ }, Ri = {
2166
+ i18n: { messages: je },
2167
+ name: "bento-data-grid"
2168
+ }, Ai = /* @__PURE__ */ Le({
2169
+ ...Ri,
2170
+ props: {
2171
+ /**
2172
+ * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
2173
+ */
2174
+ allowRowClicks: { type: Boolean, default: !1 },
2175
+ /**
2176
+ * When true, column headers will become draggable, allowing users to rearrange columns.
2177
+ */
2178
+ allowColumnDragAndDrop: { type: Boolean, default: !0 },
2179
+ /**
2180
+ * List of actions that will be rendered in the action bar when user selects items.
2181
+ *
2182
+ * Each object in the list should have a `title`, an `event` and,
2183
+ * optionally, an `icon`.
2184
+ *
2185
+ * The component will display 4 actions and the hide the rest inside a menu.
2186
+ *
2187
+ * @see BentoButton for a list of all the other props supported by each button action.
2188
+ */
2189
+ bulkActions: {
2190
+ type: Array,
2191
+ default: null
2192
+ },
2193
+ /**
2194
+ * Sets the row cells to the condensed padding state.
2195
+ */
2196
+ condensed: {
2197
+ type: Boolean,
2198
+ default: !1
2199
+ },
2200
+ /**
2201
+ * Column definitions using 'key' to relate to data object.
2202
+ */
2203
+ columns: {
2204
+ type: Array,
2205
+ required: !0
2206
+ },
2207
+ /**
2208
+ * Enables / hides the display options panel and the column contextual menu functionality.
2209
+ */
2210
+ columnPanel: { type: Boolean, default: !1 },
2211
+ /**
2212
+ * An array of data objects to display.
2213
+ */
2214
+ data: {
2215
+ type: Array,
2216
+ required: !0
2217
+ },
2218
+ /**
2219
+ * Empty state props that will be passed down to inner empty-state component
2220
+ */
2221
+ emptyState: {
2222
+ type: Object,
2223
+ default: void 0
2224
+ },
2225
+ /**
2226
+ * filter-bar value (i.e. filters) that will be passed down to inner filter-bar component
2227
+ * {@see BentoFilterBarModel}
2228
+ */
2229
+ filters: {
2230
+ type: Ge.props.value.type,
2231
+ default: void 0
2232
+ },
2233
+ /**
2234
+ * An array of the values for each filter set in `value`.
2235
+ * {@see BentoFilterValues}
2236
+ */
2237
+ filterValues: {
2238
+ type: Ge.props.filterValues.type,
2239
+ default: () => []
2240
+ },
2241
+ /**
2242
+ * Filter bar search term useful to filter all the data by text
2243
+ */
2244
+ filterSearchTerm: {
2245
+ type: Ge.props.searchTerm.type,
2246
+ default: void 0
2247
+ },
2248
+ /**
2249
+ * Allows the grid to be rendered inside a confined space.
2250
+ */
2251
+ fitContent: { type: Boolean, default: !1 },
2252
+ /**
2253
+ * A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
2254
+ * This is used selecting and performance reasons and must exist in each data item.
2255
+ */
2256
+ getDataItemId: {
2257
+ type: Function,
2258
+ default: (e) => e.id
2259
+ },
2260
+ /**
2261
+ * If resize is enabled
2262
+ */
2263
+ hasResizableColumns: {
2264
+ type: Boolean,
2265
+ default: !0
2266
+ },
2267
+ /**
2268
+ * A customisable method to determine if a row is not selectable.
2269
+ * The default is that every row is selectable.
2270
+ */
2271
+ isDataItemDisabled: {
2272
+ type: Function,
2273
+ default: () => !1
2274
+ },
2275
+ /**
2276
+ * The type of `Lazy Load`.
2277
+ * Type "automatic" will enable infinite scrolling
2278
+ * Type "button" will enable lazy loading with "Show more" button
2279
+ * @values automatic, button, none
2280
+ */
2281
+ lazyLoadType: {
2282
+ type: String,
2283
+ default: "none",
2284
+ validator: (e) => ["automatic", "button", "none"].includes(e)
2285
+ },
2286
+ /**
2287
+ * If the loading indicator should be shown.
2288
+ */
2289
+ loading: {
2290
+ type: Boolean,
2291
+ default: !1
2292
+ },
2293
+ /**
2294
+ * Enables / Disables the table's surrounding border.
2295
+ */
2296
+ outline: {
2297
+ type: Boolean,
2298
+ default: !1
2299
+ },
2300
+ /**
2301
+ * Pagination props that will be passed down to inner pagination component
2302
+ */
2303
+ pagination: {
2304
+ type: Object,
2305
+ default: void 0
2306
+ },
2307
+ /**
2308
+ * Adds an extra option when selecting all items that allows user to select items in other pages too.
2309
+ */
2310
+ selectableAcrossPages: {
2311
+ type: Boolean,
2312
+ default: !1
2313
+ },
2314
+ /**
2315
+ * Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
2316
+ * Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
2317
+ */
2318
+ stickyPagination: {
2319
+ type: Boolean,
2320
+ default: !1
2321
+ },
2322
+ /**
2323
+ * Make data-grid filters stick to the top of the page along with the data-grid headers.
2324
+ * Defaults to true.
2325
+ */
2326
+ stickyFilters: {
2327
+ type: Boolean,
2328
+ default: !0
2329
+ },
2330
+ /**
2331
+ * Enables / Disables rows to be selected via a checkbox. On select the "select" event will be emitted.
2332
+ */
2333
+ selectable: {
2334
+ type: Boolean,
2335
+ default: !1
2336
+ },
2337
+ /**
2338
+ * Selected items
2339
+ */
2340
+ selection: {
2341
+ type: Array,
2342
+ default: () => []
2343
+ },
2344
+ /**
2345
+ * Highlighted items
2346
+ */
2347
+ highlightedRows: {
2348
+ type: Array,
2349
+ default: () => []
2350
+ },
2351
+ /**
2352
+ * Renders the data grid with no top spacing, to render inside containers that already have spacing
2353
+ */
2354
+ noSpacingTop: {
2355
+ type: Boolean,
2356
+ default: !1
2357
+ },
2358
+ /**
2359
+ * Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
2360
+ * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
2361
+ */
2362
+ sortBy: {
2363
+ type: Array,
2364
+ // NOTE: is an array to allow multi-sorting in the future
2365
+ default: () => []
2366
+ },
2367
+ /**
2368
+ * Title of the data grid to be rendered as tab title when a data grid is passed in a tab layout.
2369
+ */
2370
+ tabTitle: {
2371
+ type: String,
2372
+ default: null
2373
+ },
2374
+ /**
2375
+ * Truncates all data grid column headers
2376
+ */
2377
+ truncateColumnHeaders: {
2378
+ type: Boolean,
2379
+ default: !1
2380
+ }
2381
+ },
2382
+ emits: [
2383
+ $.COLUMNS,
2384
+ $.COLUMN_RESIZE,
2385
+ $.ITEMS_PAGE,
2386
+ $.FILTER_SEARCH_INPUT,
2387
+ $.FILTER_SEARCH_CLEAR,
2388
+ $.NAVIGATE,
2389
+ $.UPDATE_COLUMNS,
2390
+ $.UPDATE_CONDENSED,
2391
+ $.UPDATE_FILTER_VALUES,
2392
+ $.UPDATE_FILTERS,
2393
+ $.UPDATE_FILTER_SEARCH_TERM,
2394
+ $.UPDATE_SHOW_MORE,
2395
+ $.UPDATE_PAGINATION,
2396
+ $.UPDATE_SELECTION,
2397
+ $.UPDATE_SORT_BY,
2398
+ $.ROW_CLICK,
2399
+ $.SELECT,
2400
+ $.SELECT_ALL_ACROSS_PAGES,
2401
+ $.SORT
2402
+ ],
2403
+ setup(e, { expose: l, emit: f }) {
2404
+ const t = e, r = Dt(), u = I(null), i = I(), h = I({}), v = I(null), O = I(null), b = I(), g = I(null), {
2405
+ allowColumnDragAndDrop: N,
2406
+ columns: n,
2407
+ columnPanel: m,
2408
+ data: o,
2409
+ lazyLoadType: _,
2410
+ selectable: S,
2411
+ selection: A,
2412
+ loading: z,
2413
+ selectableAcrossPages: j,
2414
+ outline: fe
2415
+ } = et(t), y = I(-1), { t: E } = Ee({ messages: je }), c = R(() => X.value.filter((p) => p.frozen).length), M = ut(
2416
+ jn,
2417
+ () => ({
2418
+ isDataGridTemplate: !1,
2419
+ stickyTabs: I(!1),
2420
+ tabsRef: I(null)
2421
+ })
2422
+ ), { isDataGridTemplate: U, stickyTabs: D, tabsRef: te } = M(), K = R(() => t.fitContent || U ? 0 : null), {
2423
+ columnDefs: X,
2424
+ onColumnWidthOverride: B,
2425
+ gridColumnWidthStyle: W,
2426
+ isMeasuringColumnWidths: ge,
2427
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: qe,
2428
+ columns: Ae
2429
+ } = fl(n, o, u, h, v, {
2430
+ hasColumnPanel: m,
2431
+ hasSelectableColumn: S,
2432
+ hasSelectableAcrossPages: j,
2433
+ allowColumnDragAndDrop: N
2434
+ }), Ye = f, s = (p, ...w) => {
2435
+ (p === $.COLUMNS || p === $.UPDATE_COLUMNS) && ([Ae.value] = w), Ye(p, ...w);
2436
+ }, P = _t(te, D), T = R(
2437
+ () => t.stickyFilters ? `${P.value}px` : null
2438
+ ), se = _t(O, kt(t, "stickyFilters")), J = R(
2439
+ () => `${se.value + P.value}px`
2440
+ ), {
2441
+ sortedColumns: Te,
2442
+ columnSets: me,
2443
+ isOnlyOneVisibleColumn: we,
2444
+ onConfigSettingsUpdate: $e,
2445
+ onConfigSettingsColumnsUpdate: Ne,
2446
+ onConfigSettingsColumnUpdate: Me
2447
+ } = Ll(X, s), { hoveredOverColumn: Oe, hoveredOverColumnState: lt } = bl(
2448
+ me,
2449
+ S,
2450
+ fe,
2451
+ qe
2452
+ ), { draggingColumns: Xe, draggingEventsForColumns: Yt, draggingEventsForRowCell: Xt, onMoveColumnByOffset: Kt } = pl(Te, N, s), { onAllRowSelect: st, onRowSelect: Jt, selectedItems: Ue, allItemsSelectedState: Qt } = vl(
2453
+ A,
2454
+ s,
2455
+ o,
2456
+ t.getDataItemId,
2457
+ t.isDataItemDisabled
2458
+ ), { navigationInput: it } = Cl(v, n, S), { isLazyLoad: ke, isInfiniteScroll: en, verticalScrollPosition: tn, emitLazyLoadEvent: nn } = _l(
2459
+ _,
2460
+ g,
2461
+ u,
2462
+ z,
2463
+ s
2464
+ ), { updateScrollPosition: De, updateScrollPositionOnFrozenColumnsNavigation: ln, hasLeftOverflow: Pe, hasRightOverflow: sn } = Sl(u, i, tn), on = () => {
2465
+ b.value.isClearAllVisible ? b.value.clearAllFilters() : b.value.isResetAllVisible && b.value.resetAllFilters();
2466
+ }, an = R(() => {
2467
+ var p, w;
2468
+ return {
2469
+ ...t.emptyState,
2470
+ variant: ((p = t.emptyState) == null ? void 0 : p.variant) === "embedded" || ((w = t.emptyState) == null ? void 0 : w.variant) === "basic" ? t.emptyState.variant : "basic"
2471
+ };
2472
+ }), rn = R(() => ({
2473
+ [`b-data-grid--${he.OUTLINE}`]: t.outline,
2474
+ [`b-data-grid--${he.SCROLL}`]: t.fitContent || ke.value,
2475
+ [`b-data-grid--${he.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
2476
+ [`b-data-grid--${he.OVERFLOW_SHADOW_LEFT}`]: Pe.value && !c.value,
2477
+ [`b-data-grid--${he.OVERFLOW_SHADOW_RIGHT}`]: sn.value,
2478
+ [`b-data-grid--${he.NO_SPACING_TOP}`]: t.noSpacingTop
2479
+ })), dn = R(() => me.value.findIndex((p) => p.columnSet.length)), un = (p, w) => {
2480
+ var ie;
2481
+ return {
2482
+ "b-data-grid__row--disabled": t.isDataItemDisabled(p),
2483
+ "b-data-grid__row--row-clicks-enabled": t.allowRowClicks,
2484
+ "b-data-grid__cell--is-re-ordering": ((ie = Xe.target) == null ? void 0 : ie.field) !== void 0,
2485
+ "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(p)) || Ue.value.includes(t.getDataItemId(p)),
2486
+ "b-data-grid__row--hovered": y.value === w
2487
+ };
2488
+ }, ot = R(() => !(t.selectable && c.value === 1) || Pe.value), cn = (p) => ({
2489
+ "b-data-grid__row-cell-set--frozen": p,
2490
+ [`b-data-grid__row-cell-set--${he.OVERFLOW_SHADOW_LEFT}`]: p && Pe.value,
2491
+ "b-data-grid__row-cell-set--frozen-separator": p && ot.value,
2492
+ "b-data-grid__row-cell-set--unfrozen": !p,
2493
+ "b-data-grid__row-cell-set--is-measuring": ge.value
2494
+ }), gn = R(() => {
2495
+ var p, w, ie, H, ne, de;
2496
+ return {
2497
+ "b-data-grid__pagination--padding-left-unset": ((ie = (w = (p = t.columns) == null ? void 0 : p[0]) == null ? void 0 : w.padding) == null ? void 0 : ie.left) === !1,
2498
+ "b-data-grid__pagination--padding-right-unset": ((de = (ne = (H = t.columns) == null ? void 0 : H[t.columns.length - 1]) == null ? void 0 : ne.padding) == null ? void 0 : de.right) === !1,
2499
+ "b-data-grid__pagination--sticky": !!t.stickyPagination || U
2500
+ };
2501
+ }), fn = (p) => {
2502
+ const w = p;
2503
+ p !== null && (w != null && w.columnHeaderRefs) && Object.entries(w == null ? void 0 : w.columnHeaderRefs).forEach(([ie, H]) => {
2504
+ h.value[ie] = H;
2505
+ });
2506
+ }, vn = (p, w, ie) => {
2507
+ var ne;
2508
+ const H = p;
2509
+ ((ne = v.value) == null ? void 0 : ne[w]) === void 0 && (v.value = { ...v.value, [w]: [] }), p !== null && (H != null && H.gridcellRef) && (v.value[w][ie] = H.gridcellRef);
2510
+ }, mn = (p, w) => {
2511
+ t.allowRowClicks && s($.ROW_CLICK, p, w);
2512
+ }, Cn = (p) => {
2513
+ y.value = p;
2514
+ }, hn = R(() => !!t.selectableAcrossPages && !!t.pagination), at = Vn({
2515
+ label: r != null && r.header ? Bn(r)("header") : null,
2516
+ defaultFallback: "data grid"
2517
+ }), _n = (p) => {
2518
+ if (!t.selectable)
2519
+ return null;
2520
+ const w = t.getDataItemId(p);
2521
+ return Ue.value.includes(w).toString();
2522
+ }, rt = R(() => {
2523
+ var p;
2524
+ return ((p = Ue.value) == null ? void 0 : p.length) ?? 0;
2525
+ }), pn = R(() => t.bulkActions && rt.value > 0), Ln = (p) => s($.COLUMN_RESIZE, p), Sn = (p) => {
2526
+ s($.UPDATE_SORT_BY, p), s($.SORT, p);
2527
+ }, bn = (p, w) => {
2528
+ s($.NAVIGATE, p), s($.UPDATE_PAGINATION, {
2529
+ ...t.pagination,
2530
+ size: w,
2531
+ page: p
2532
+ });
2533
+ }, En = (p) => {
2534
+ s($.ITEMS_PAGE, p);
2535
+ }, yn = () => {
2536
+ s($.FILTER_SEARCH_CLEAR);
2537
+ }, On = (p) => {
2538
+ s($.UPDATE_FILTER_SEARCH_TERM, p), s($.FILTER_SEARCH_INPUT, p);
2539
+ };
2540
+ return R(() => n.value.some((p) => p.mandatory)).value || zt(
2541
+ "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2542
+ ), ut(xn, () => null)(t.tabTitle), l({ onEmptyStateClearResetButtonClick: on }), (p, w) => {
2543
+ var ie;
2544
+ return d(), L("div", {
2545
+ class: ae(["b-data-grid", rn.value]),
2546
+ role: "grid",
2547
+ "aria-rowcount": a(o).length,
2548
+ "aria-colcount": a(n).length,
2549
+ "aria-label": a(at)
2550
+ }, [
2551
+ e.filters ? (d(), L("div", {
2552
+ key: 0,
2553
+ ref_key: "filtersRef",
2554
+ ref: O,
2555
+ class: "b-data-grid__filters",
2556
+ style: He({ top: T.value })
2557
+ }, [
2558
+ e.filters ? (d(), F(Ge, {
2559
+ key: 0,
2560
+ ref_key: "filterBarRef",
2561
+ ref: b,
2562
+ config: e.filters,
2563
+ "filter-values": e.filterValues,
2564
+ "search-term": e.filterSearchTerm,
2565
+ onSearchInput: On,
2566
+ onSearchClear: yn,
2567
+ onInput: w[0] || (w[0] = (H) => p.$emit(a($).UPDATE_FILTERS, H)),
2568
+ "onUpdate:filterValues": w[1] || (w[1] = (H) => p.$emit(a($).UPDATE_FILTER_VALUES, H))
2569
+ }, null, 8, ["config", "filter-values", "search-term"])) : k("", !0)
2570
+ ], 4)) : k("", !0),
2571
+ p.$slots.header ? (d(), L("div", pi, [
2572
+ ye(p.$slots, "header", {}, void 0, !0)
2573
+ ])) : k("", !0),
2574
+ C("div", {
2575
+ class: "b-data-grid__column-headers",
2576
+ style: He({ top: J.value })
2577
+ }, [
2578
+ a(m) ? (d(), F(a(Ws), {
2579
+ key: 0,
2580
+ class: "b-data-grid__config-settings",
2581
+ columns: a(Ae),
2582
+ condensed: e.condensed,
2583
+ onConfigSettings: a($e),
2584
+ "onUpdate:columns": a(Ne)
2585
+ }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : k("", !0),
2586
+ C("div", {
2587
+ ref_key: "columnsRef",
2588
+ ref: i,
2589
+ role: "rowgroup",
2590
+ class: "b-data-grid__columns-row",
2591
+ tabindex: K.value,
2592
+ onScroll: w[4] || (w[4] = //@ts-ignore
2593
+ (...H) => a(De) && a(De)(...H))
2594
+ }, [
2595
+ C("div", {
2596
+ style: He(a(W)),
2597
+ class: "b-data-grid__columns",
2598
+ role: "row"
2599
+ }, [
2600
+ (d(!0), L(ue, null, ve(a(me), ({ columnSet: H, id: ne, isFrozenColumns: de }, Fe) => (d(), L(ue, null, [
2601
+ H != null && H.length ? (d(), F(a(_s), Y({
2602
+ key: `data-grid-columns-${ne}`,
2603
+ ref_for: !0,
2604
+ ref: (Se) => fn(Se),
2605
+ columns: H,
2606
+ "has-resizable-columns": e.hasResizableColumns,
2607
+ "sort-by": e.sortBy,
2608
+ "all-items-selected-state": a(Qt),
2609
+ "is-frozen-columns": de,
2610
+ "show-frozen-columns-separator": ot.value,
2611
+ "dragging-columns": a(Xe),
2612
+ "has-draggable-columns": a(N),
2613
+ "has-column-panel": a(m),
2614
+ "has-left-overflow": a(Pe),
2615
+ "has-first-column-panel-right-aligned": Fe === dn.value,
2616
+ "hovered-over-column-state": a(lt),
2617
+ "is-measuring-column-widths": a(ge),
2618
+ "is-only-one-visible-column": a(we),
2619
+ "selectable-across-pages": hn.value,
2620
+ "truncate-column-headers": e.truncateColumnHeaders
2621
+ }, Ze(a(Yt)), {
2622
+ onColumnHover: w[2] || (w[2] = (Se) => Oe.value = Se),
2623
+ onColumnMove: a(Kt),
2624
+ onColumnUpdate: a(Me),
2625
+ onColumnResize: Ln,
2626
+ onColumnResizing: a(B),
2627
+ onSelectAllRows: a(st),
2628
+ onSelectAllAcrossPages: w[3] || (w[3] = (Se) => s(a($).SELECT_ALL_ACROSS_PAGES)),
2629
+ onSort: Sn
2630
+ }), Be({ _: 2 }, [
2631
+ ve(a(r), (Se, ze) => ({
2632
+ name: ze,
2633
+ fn: G((Ie) => [
2634
+ ye(p.$slots, ze, Y({ ref_for: !0 }, Ie), void 0, !0)
2635
+ ])
2636
+ }))
2637
+ ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : k("", !0)
2638
+ ], 64))), 256))
2639
+ ], 4)
2640
+ ], 40, Li)
2641
+ ], 4),
2642
+ C("div", {
2643
+ ref_key: "body",
2644
+ ref: u,
2645
+ "data-testid": "data-grid-body",
2646
+ class: "b-data-grid__body",
2647
+ tabindex: a(z) ? "0" : "-1",
2648
+ "aria-busy": a(z),
2649
+ "aria-live": "polite",
2650
+ onScroll: w[7] || (w[7] = //@ts-ignore
2651
+ (...H) => a(De) && a(De)(...H))
2652
+ }, [
2653
+ a(z) && !a(ke) ? (d(), L("div", bi, [
2654
+ Z(a(Ft), {
2655
+ class: "b-data-grid__loading-indicator",
2656
+ large: ""
2657
+ }),
2658
+ Z(a(xe), {
2659
+ el: "span",
2660
+ variant: "caption"
2661
+ }, {
2662
+ default: G(() => [
2663
+ ee(V(a(E)("gettingYourData")), 1)
2664
+ ]),
2665
+ _: 1
2666
+ })
2667
+ ])) : ((ie = a(o)) == null ? void 0 : ie.length) === 0 && e.emptyState ? (d(), L("div", Ei, [
2668
+ Z(a(Zn), kn(Dn(an.value)), null, 16)
2669
+ ])) : (d(), L("div", {
2670
+ key: 2,
2671
+ class: "b-data-grid__rows",
2672
+ role: "rowgroup",
2673
+ onKeydown: w[6] || (w[6] = //@ts-ignore
2674
+ (...H) => a(it) && a(it)(...H))
2675
+ }, [
2676
+ (d(!0), L(ue, null, ve(a(o), (H, ne) => (d(), L("div", {
2677
+ key: ne,
2678
+ style: He(a(W)),
2679
+ class: ae(["b-data-grid__row", un(H, ne)]),
2680
+ role: "row",
2681
+ "aria-rowindex": ne + 1,
2682
+ "aria-selected": _n(H),
2683
+ onClick: (de) => mn(H, de)
2684
+ }, [
2685
+ (d(!0), L(ue, null, ve(a(me), ({ columnSet: de, id: Fe, isFrozenColumns: Se }, ze) => (d(), L(ue, null, [
2686
+ de != null && de.length ? (d(), L("div", {
2687
+ key: `data-grid-rows-${Fe}`,
2688
+ class: ae(["b-data-grid__cells", cn(Se)]),
2689
+ "data-testid": `data-grid-${Fe}-rows`
2690
+ }, [
2691
+ (d(!0), L(ue, null, ve(de, (Ie, In) => (d(), F(a(ri), {
2692
+ key: `cell-${Ie.field}`,
2693
+ ref_for: !0,
2694
+ ref: (We) => vn(We, Ie.field, ne),
2695
+ column: Ie,
2696
+ "column-set-index": ze,
2697
+ "col-index": In,
2698
+ "column-sets": a(me),
2699
+ condensed: e.condensed,
2700
+ "dragging-columns": a(Xe),
2701
+ "dragging-events-for-row-cell": a(Xt),
2702
+ "get-data-item-id": e.getDataItemId,
2703
+ "hovered-over-column-state": a(lt),
2704
+ "is-data-item-disabled": e.isDataItemDisabled,
2705
+ "is-measuring-column-widths": a(ge),
2706
+ "row-data": H,
2707
+ "row-index": ne,
2708
+ "selected-items": a(Ue),
2709
+ onCellHover: w[5] || (w[5] = (We) => Oe.value = We),
2710
+ onOnFrozenColumnsKeyPress: a(ln),
2711
+ onSelectRow: a(Jt),
2712
+ onCellHovered: Cn
2713
+ }, Be({ _: 2 }, [
2714
+ ve(a(r), (We, dt) => ({
2715
+ name: dt,
2716
+ fn: G((Rn) => [
2717
+ ye(p.$slots, dt, Y({ ref_for: !0 }, Rn), void 0, !0)
2718
+ ])
2719
+ }))
2720
+ ]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "row-data", "row-index", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow"]))), 128))
2721
+ ], 10, Oi)) : k("", !0)
2722
+ ], 64))), 256))
2723
+ ], 14, yi))), 128))
2724
+ ], 32))
2725
+ ], 40, Si),
2726
+ a(ke) ? (d(), F(a(Bs), {
2727
+ key: 2,
2728
+ loading: a(z),
2729
+ "is-infinite-scroll": a(en),
2730
+ "onUpdate:showMore": a(nn)
2731
+ }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : k("", !0),
2732
+ e.pagination && !a(ke) ? (d(), L("div", {
2733
+ key: 3,
2734
+ "data-testid": "pagination-container",
2735
+ class: ae(["b-data-grid__pagination", gn.value])
2736
+ }, [
2737
+ Z(a(Gn), Y(e.pagination, {
2738
+ "aria-label": `${a(at)} navigation`,
2739
+ onNavigate: bn,
2740
+ onItemsPage: En
2741
+ }), null, 16, ["aria-label"])
2742
+ ], 2)) : k("", !0),
2743
+ p.$slots.footer ? (d(), L("div", Ii, [
2744
+ ye(p.$slots, "footer", {}, void 0, !0)
2745
+ ])) : k("", !0),
2746
+ pn.value ? (d(), F(a(Hn), {
2747
+ key: 5,
2748
+ actions: e.bulkActions,
2749
+ "item-counter": rt.value,
2750
+ "extra-bottom-spacing": e.stickyPagination,
2751
+ onClose: w[8] || (w[8] = (H) => a(st)(!1))
2752
+ }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : k("", !0)
2753
+ ], 10, _i);
2754
+ };
2755
+ }
2756
+ }), Co = /* @__PURE__ */ q(Ai, [["__scopeId", "data-v-dd1ba1a7"]]);
2757
+ export {
2758
+ Je as B,
2759
+ mo as a,
2760
+ he as b,
2761
+ pe as c,
2762
+ Co as d,
2763
+ $ as e,
2764
+ Ve as f
2765
+ };
2766
+ //# sourceMappingURL=data-grid.DWJmWbjg.js.map