@adyen/bento-vue2 1.9.0 → 1.10.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 (253) hide show
  1. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +19 -3580
  2. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
  3. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
  4. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
  5. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
  9. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +20 -4
  10. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  11. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -0
  12. package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +54 -0
  13. package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +81 -0
  14. package/dist/@types/packages/vue2/src/components/data-grid/composables/useSelector.d.ts +1 -1
  15. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
  16. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -7
  17. package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  20. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
  21. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
  22. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +9 -0
  23. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
  24. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
  25. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
  26. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
  27. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
  28. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
  29. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
  30. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +11 -1
  31. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
  32. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
  34. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -0
  35. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -0
  36. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
  37. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
  38. package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
  39. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
  40. package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
  41. 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.types.d.ts +2 -1
  42. 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 +82 -0
  43. 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 +10 -0
  44. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
  45. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
  46. 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 +12 -0
  47. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
  48. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
  49. package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
  50. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +12 -3
  51. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
  52. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
  53. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
  54. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  55. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
  56. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +251 -3
  57. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
  58. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
  59. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
  60. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +16 -3
  61. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
  62. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
  63. package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
  64. package/dist/accordion.js +2 -2
  65. package/dist/action-bar.js +5 -5
  66. package/dist/alert.js +8 -8
  67. package/dist/alert.js.map +1 -1
  68. package/dist/assets/base-modal.css +1 -1
  69. package/dist/assets/button.css +1 -1
  70. package/dist/assets/checkbox.css +1 -1
  71. package/dist/assets/controls-group.css +1 -1
  72. package/dist/assets/copy.css +1 -1
  73. package/dist/assets/dropdown-default-textbox.css +1 -1
  74. package/dist/assets/dropdown.css +1 -1
  75. package/dist/assets/index.css +1 -1
  76. package/dist/assets/index10.css +1 -1
  77. package/dist/assets/index11.css +1 -1
  78. package/dist/assets/index12.css +1 -1
  79. package/dist/assets/index13.css +1 -1
  80. package/dist/assets/index14.css +1 -1
  81. package/dist/assets/index15.css +1 -1
  82. package/dist/assets/index16.css +1 -1
  83. package/dist/assets/index17.css +1 -1
  84. package/dist/assets/index18.css +1 -1
  85. package/dist/assets/index19.css +1 -1
  86. package/dist/assets/index2.css +1 -1
  87. package/dist/assets/index20.css +1 -1
  88. package/dist/assets/index21.css +1 -1
  89. package/dist/assets/index22.css +1 -1
  90. package/dist/assets/index23.css +1 -1
  91. package/dist/assets/index24.css +1 -1
  92. package/dist/assets/index25.css +1 -1
  93. package/dist/assets/index26.css +1 -1
  94. package/dist/assets/index27.css +1 -1
  95. package/dist/assets/index28.css +1 -1
  96. package/dist/assets/index29.css +1 -1
  97. package/dist/assets/index3.css +1 -1
  98. package/dist/assets/index30.css +1 -1
  99. package/dist/assets/index31.css +1 -1
  100. package/dist/assets/index32.css +1 -1
  101. package/dist/assets/index33.css +1 -1
  102. package/dist/assets/index34.css +1 -1
  103. package/dist/assets/index35.css +1 -1
  104. package/dist/assets/index36.css +1 -1
  105. package/dist/assets/index37.css +1 -1
  106. package/dist/assets/index38.css +1 -1
  107. package/dist/assets/index39.css +1 -1
  108. package/dist/assets/index4.css +1 -1
  109. package/dist/assets/index40.css +1 -1
  110. package/dist/assets/index41.css +1 -1
  111. package/dist/assets/index42.css +1 -1
  112. package/dist/assets/index43.css +1 -1
  113. package/dist/assets/index44.css +1 -1
  114. package/dist/assets/index45.css +1 -1
  115. package/dist/assets/index5.css +1 -1
  116. package/dist/assets/index6.css +1 -1
  117. package/dist/assets/index7.css +1 -1
  118. package/dist/assets/index8.css +1 -1
  119. package/dist/assets/index9.css +1 -1
  120. package/dist/assets/listbox.css +1 -1
  121. package/dist/assets/loading-button.css +1 -1
  122. package/dist/avatar-image.js +1 -1
  123. package/dist/badge.js +1 -1
  124. package/dist/button.js +20 -18
  125. package/dist/button.js.map +1 -1
  126. package/dist/card.js +2 -2
  127. package/dist/checkbox.js +61 -48
  128. package/dist/checkbox.js.map +1 -1
  129. package/dist/chunks/{base-button.df9a9bea.js → base-button.46843461.js} +2 -2
  130. package/dist/chunks/{base-button.df9a9bea.js.map → base-button.46843461.js.map} +1 -1
  131. package/dist/chunks/{base-modal.75319f4e.js → base-modal.193ce866.js} +33 -33
  132. package/dist/chunks/base-modal.193ce866.js.map +1 -0
  133. package/dist/chunks/{button-actions-with-menu.32770485.js → button-actions-with-menu.11988565.js} +3 -3
  134. package/dist/chunks/{button-actions-with-menu.32770485.js.map → button-actions-with-menu.11988565.js.map} +1 -1
  135. package/dist/chunks/button.f3f05408.js +100 -0
  136. package/dist/chunks/button.f3f05408.js.map +1 -0
  137. package/dist/chunks/{calendar.a885d8fc.js → calendar.7dbac3b8.js} +4 -4
  138. package/dist/chunks/{calendar.a885d8fc.js.map → calendar.7dbac3b8.js.map} +1 -1
  139. package/dist/chunks/checkbox.f6f6ce39.js +188 -0
  140. package/dist/chunks/checkbox.f6f6ce39.js.map +1 -0
  141. package/dist/chunks/{controls-group.dd967ccf.js → controls-group.24a9efb1.js} +15 -11
  142. package/dist/chunks/controls-group.24a9efb1.js.map +1 -0
  143. package/dist/chunks/copy.f4019f8d.js +122 -0
  144. package/dist/chunks/copy.f4019f8d.js.map +1 -0
  145. package/dist/chunks/{cross-circle-fill.7c07d16a.js → cross-circle-fill.27580c4b.js} +5 -5
  146. package/dist/chunks/{cross-circle-fill.7c07d16a.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
  147. package/dist/chunks/{dropdown-default-textbox.465db4d4.js → dropdown-default-textbox.a1240b9d.js} +11 -11
  148. package/dist/chunks/dropdown-default-textbox.a1240b9d.js.map +1 -0
  149. package/dist/chunks/{dropdown.6461dbe3.js → dropdown.f784ac67.js} +258 -221
  150. package/dist/chunks/dropdown.f784ac67.js.map +1 -0
  151. package/dist/chunks/{field-label.01df3cba.js → field-label.bdf22f47.js} +5 -5
  152. package/dist/chunks/{field-label.01df3cba.js.map → field-label.bdf22f47.js.map} +1 -1
  153. package/dist/chunks/{fixed-scroller.42354ccc.js → fixed-scroller.28158c25.js} +2 -2
  154. package/dist/chunks/{fixed-scroller.42354ccc.js.map → fixed-scroller.28158c25.js.map} +1 -1
  155. package/dist/chunks/{footer-actions.2cd9079e.js → footer-actions.08a8323b.js} +3 -3
  156. package/dist/chunks/{footer-actions.2cd9079e.js.map → footer-actions.08a8323b.js.map} +1 -1
  157. package/dist/chunks/{index.02da8d63.js → index.1036f656.js} +3 -3
  158. package/dist/chunks/{index.02da8d63.js.map → index.1036f656.js.map} +1 -1
  159. package/dist/chunks/{index.322692c8.js → index.158c522b.js} +2 -2
  160. package/dist/chunks/{index.322692c8.js.map → index.158c522b.js.map} +1 -1
  161. package/dist/chunks/{index.f358c4bd.js → index.4824eab5.js} +163 -155
  162. package/dist/chunks/index.4824eab5.js.map +1 -0
  163. package/dist/chunks/{index.6cef7328.js → index.6c299479.js} +2 -2
  164. package/dist/chunks/{index.6cef7328.js.map → index.6c299479.js.map} +1 -1
  165. package/dist/chunks/{index.152b2b16.js → index.7039d901.js} +3 -3
  166. package/dist/chunks/{index.152b2b16.js.map → index.7039d901.js.map} +1 -1
  167. package/dist/chunks/{index.b201e81d.js → index.858b0720.js} +2 -2
  168. package/dist/chunks/{index.b201e81d.js.map → index.858b0720.js.map} +1 -1
  169. package/dist/chunks/{index.16914bb1.js → index.9051abfc.js} +9 -9
  170. package/dist/chunks/{index.16914bb1.js.map → index.9051abfc.js.map} +1 -1
  171. package/dist/chunks/index.9bdf4d78.js +147 -0
  172. package/dist/chunks/index.9bdf4d78.js.map +1 -0
  173. package/dist/chunks/{index.d1beb704.js → index.ad4b770b.js} +5 -5
  174. package/dist/chunks/{index.d1beb704.js.map → index.ad4b770b.js.map} +1 -1
  175. package/dist/chunks/index.f651209d.js +32 -0
  176. package/dist/chunks/index.f651209d.js.map +1 -0
  177. package/dist/chunks/{listbox-option-tag.55cd9c16.js → listbox-option-tag.60c0beca.js} +3 -3
  178. package/dist/chunks/{listbox-option-tag.55cd9c16.js.map → listbox-option-tag.60c0beca.js.map} +1 -1
  179. package/dist/chunks/{listbox.a117e6d4.js → listbox.163433c5.js} +475 -392
  180. package/dist/chunks/listbox.163433c5.js.map +1 -0
  181. package/dist/chunks/{loading-button.459b9ab4.js → loading-button.7b5d0c22.js} +20 -20
  182. package/dist/chunks/{loading-button.459b9ab4.js.map → loading-button.7b5d0c22.js.map} +1 -1
  183. package/dist/chunks/{tooltip.b8929659.js → tooltip.4a1300d5.js} +22 -22
  184. package/dist/chunks/tooltip.4a1300d5.js.map +1 -0
  185. package/dist/chunks/use-has-slot.fbeb19ec.js.map +1 -1
  186. package/dist/code-snippet.js +7 -7
  187. package/dist/code-snippet.js.map +1 -1
  188. package/dist/country.js +2 -2
  189. package/dist/currency.js +1 -1
  190. package/dist/data-grid.js +858 -668
  191. package/dist/data-grid.js.map +1 -1
  192. package/dist/date-picker.js +8 -8
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/date.js +1 -1
  195. package/dist/divider.js +2 -18
  196. package/dist/divider.js.map +1 -1
  197. package/dist/dropdown.js +4 -4
  198. package/dist/empty-state.js +18 -18
  199. package/dist/empty-state.js.map +1 -1
  200. package/dist/filter-bar.js +408 -399
  201. package/dist/filter-bar.js.map +1 -1
  202. package/dist/focus-trap.js +1 -1
  203. package/dist/form-layout.js +2 -2
  204. package/dist/header.js +3 -3
  205. package/dist/index.js +66 -65
  206. package/dist/info-icon.js +3 -3
  207. package/dist/input-field.js +4 -4
  208. package/dist/internal.js +17 -15
  209. package/dist/link.js +2 -2
  210. package/dist/loading-indicator.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal.js +62 -60
  213. package/dist/modal.js.map +1 -1
  214. package/dist/pagination.js +4 -4
  215. package/dist/payment-method.js +2 -2
  216. package/dist/popover.js +1 -1
  217. package/dist/popper-container.js +1 -1
  218. package/dist/radio-group.js +46 -45
  219. package/dist/radio-group.js.map +1 -1
  220. package/dist/search-bar.js +10 -10
  221. package/dist/segmented-control.js +3 -3
  222. package/dist/sidepanel.js +5 -5
  223. package/dist/status.js +2 -2
  224. package/dist/stepper.js +3 -3
  225. package/dist/structured-list.js +1 -1
  226. package/dist/summary-grid.js +3 -3
  227. package/dist/tabs.js +3 -3
  228. package/dist/tag.js +3 -3
  229. package/dist/textarea.js +95 -88
  230. package/dist/textarea.js.map +1 -1
  231. package/dist/timeline.js +198 -191
  232. package/dist/timeline.js.map +1 -1
  233. package/dist/toast.js +3 -3
  234. package/dist/toggle.js +2 -2
  235. package/dist/tutorial.js +5 -5
  236. package/dist/typography.js +1 -1
  237. package/dist/web-types.json +646 -361
  238. package/package.json +2 -2
  239. package/dist/chunks/base-modal.75319f4e.js.map +0 -1
  240. package/dist/chunks/button.7dd8d4de.js +0 -125
  241. package/dist/chunks/button.7dd8d4de.js.map +0 -1
  242. package/dist/chunks/checkbox.65743b08.js +0 -184
  243. package/dist/chunks/checkbox.65743b08.js.map +0 -1
  244. package/dist/chunks/controls-group.dd967ccf.js.map +0 -1
  245. package/dist/chunks/copy.e12b418e.js +0 -103
  246. package/dist/chunks/copy.e12b418e.js.map +0 -1
  247. package/dist/chunks/dropdown-default-textbox.465db4d4.js.map +0 -1
  248. package/dist/chunks/dropdown.6461dbe3.js.map +0 -1
  249. package/dist/chunks/index.0890dc99.js +0 -130
  250. package/dist/chunks/index.0890dc99.js.map +0 -1
  251. package/dist/chunks/index.f358c4bd.js.map +0 -1
  252. package/dist/chunks/listbox.a117e6d4.js.map +0 -1
  253. package/dist/chunks/tooltip.b8929659.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B as a } from "./chunks/index.6cef7328.js";
1
+ import { B as a } from "./chunks/index.6c299479.js";
2
2
  export {
3
3
  a as BentoFocusTrap
4
4
  };
@@ -3,8 +3,8 @@ import { BentoAlert as d } from "./alert.js";
3
3
  import { F as b } from "./chunks/form-layout.types.a7a1438d.js";
4
4
  import { u as m } from "./chunks/use-has-slot.fbeb19ec.js";
5
5
  import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
6
- import { B as u, c as C } from "./chunks/index.b201e81d.js";
7
- import "./assets/index37.css";
6
+ import { B as u, c as C } from "./chunks/index.858b0720.js";
7
+ import "./assets/index40.css";
8
8
  const B = {}, $ = /* @__PURE__ */ _({
9
9
  ...B,
10
10
  __name: "form-layout",
package/dist/header.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as O, computed as v } from "vue";
2
- import { B as C } from "./chunks/button-actions-with-menu.32770485.js";
2
+ import { B as C } from "./chunks/button-actions-with-menu.11988565.js";
3
3
  import { BentoInfoIcon as E } from "./info-icon.js";
4
4
  import { u as A } from "./chunks/use-has-slot.fbeb19ec.js";
5
- import { B as U, c as T, a as X } from "./chunks/index.b201e81d.js";
5
+ import { B as U, c as T, a as X } from "./chunks/index.858b0720.js";
6
6
  import { u as w } from "./chunks/i18n.eb5b985b.js";
7
7
  import { c as p, a as P } from "./chunks/index.86453263.js";
8
8
  import { r as c, t as i, e as g, g as D, d as R, f as H } from "./chunks/index.f55fdc32.js";
9
9
  import { e as B } from "./chunks/index.fdf12170.js";
10
10
  import { e as Y } from "./chunks/index.d80206ed.js";
11
11
  import { n as G } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
12
- import "./assets/index29.css";
12
+ import "./assets/index34.css";
13
13
  function L(e, t) {
14
14
  c(2, arguments);
15
15
  var a = i(e), n = i(t), l = a.getFullYear() - n.getFullYear(), r = a.getMonth() - n.getMonth();
package/dist/index.js CHANGED
@@ -3,24 +3,24 @@ var i = (e, t, o) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writab
3
3
  var r = (e, t, o) => (i(e, typeof t != "symbol" ? t + "" : t, o), o);
4
4
  import "./chunks/index.4c062058.js";
5
5
  import { reactive as m } from "vue";
6
- import { g as p } from "./chunks/unique-id.a2a2b458.js";
6
+ import { g as s } from "./chunks/unique-id.a2a2b458.js";
7
7
  import { BentoAccordion as T, BentoAccordionItem as C } from "./accordion.js";
8
8
  import { BentoActionBar as D } from "./action-bar.js";
9
9
  import { BentoAlert as I, BentoAlertEvent as b, BentoAlertTypeOption as E, BentoAlertVariant as L } from "./alert.js";
10
- import { a as F, b as V, B as k } from "./chunks/button.7dd8d4de.js";
10
+ import { a as F, b as V, B as k } from "./chunks/button.f3f05408.js";
11
11
  import { BentoColumnOverflow as G, BentoDataGrid as w, BentoDatagridAriaSortValue as M, BentoDatagridEvent as O, BentoDatagridSortDirection as R, BentoDatagridStyleState as _ } from "./data-grid.js";
12
12
  import { BentoCard as q, BentoCardBackground as z, BentoCardTitleSize as U } from "./card.js";
13
13
  import { BentoDatePicker as W, BentoDatePickerEvent as Y } from "./date-picker.js";
14
- import { B as H, a as $ } from "./chunks/index.16914bb1.js";
15
- import { B as Q, u as X } from "./chunks/dropdown.6461dbe3.js";
14
+ import { B as H, a as $ } from "./chunks/index.9051abfc.js";
15
+ import { B as Q, u as X } from "./chunks/dropdown.f784ac67.js";
16
16
  import { BentoDropdownAvatar as tt, BentoDropdownCountry as et, BentoDropdownCurrency as ot, BentoDropdownPaymentMethod as nt, BentoDropdownTag as rt } from "./dropdown.js";
17
- import { B as Bt, b as it, a as mt } from "./chunks/checkbox.65743b08.js";
18
- import { BentoClickOutside as st } from "./click-outside.js";
17
+ import { B as Bt, b as it, a as mt } from "./chunks/checkbox.f6f6ce39.js";
18
+ import { BentoClickOutside as pt } from "./click-outside.js";
19
19
  import { BentoCodeSnippet as ut, BentoCodeSnippetEvent as lt, BentoCodeSnippetSupportedLanguage as ft, BentoCodeSnippetVariant as xt } from "./code-snippet.js";
20
20
  import { BentoCountry as ct, BentoCountryCode as gt, BentoCountryVariant as St, useCountryCapital as Tt, useCountryName as Ct, useCountryPhoneCode as ht } from "./country.js";
21
21
  import { BentoCurrency as vt, BentoCurrencyISOCode as It } from "./currency.js";
22
- import { B as Et, a as Lt } from "./chunks/index.322692c8.js";
23
- import { BentoDivider as Ft } from "./divider.js";
22
+ import { B as Et, a as Lt } from "./chunks/index.158c522b.js";
23
+ import { B as Ft } from "./chunks/index.f651209d.js";
24
24
  import { BentoEmptyState as kt, BentoEmptyStateImage as At, BentoEmptyStateImageVariant as Gt, BentoEmptyStateVariant as wt } from "./empty-state.js";
25
25
  import { BentoFilterBar as Ot, BentoFilterBarEvent as Rt, BentoFilterEvent as _t, BentoFilterItemType as Nt } from "./filter-bar.js";
26
26
  import { BentoFormLayout as zt, BentoFormLayoutFieldTip as Ut, BentoFormLayoutGroup as Kt, BentoFormLayoutTitle as Wt } from "./form-layout.js";
@@ -28,41 +28,41 @@ import { BentoImage as jt, BentoImageAspectRatio as Ht, BentoImageObjectFit as $
28
28
  import { BentoInfoIcon as Qt } from "./info-icon.js";
29
29
  import { BentoInputField as Zt, BentoInputFieldElementPosition as te, BentoInputFieldEvent as ee, BentoInputFieldStateClass as oe, BentoInputFieldType as ne, BentoInputFieldVariant as re } from "./input-field.js";
30
30
  import { BentoLoadingIndicator as Be, BentoLoadingIndicatorEvent as ie } from "./loading-indicator.js";
31
- import { BentoLink as pe, BentoLinkVariant as se } from "./link.js";
32
- import { B as ue, a as le } from "./chunks/index.f358c4bd.js";
31
+ import { BentoLink as se, BentoLinkVariant as pe } from "./link.js";
32
+ import { B as ue, a as le } from "./chunks/index.4824eab5.js";
33
33
  import { BentoModal as xe } from "./modal.js";
34
- import { b as ce, d as ge, e as Se, c as Te, a as Ce, B as he } from "./chunks/base-modal.75319f4e.js";
34
+ import { b as ce, d as ge, e as Se, c as Te, a as Ce, B as he } from "./chunks/base-modal.193ce866.js";
35
35
  import { BentoHeader as ve } from "./header.js";
36
36
  import { BentoPagination as be } from "./pagination.js";
37
37
  import { BentoPaymentMethod as Le, BentoPaymentMethodType as Pe } from "./payment-method.js";
38
- import { a as Ve, B as ke } from "./chunks/index.d1beb704.js";
38
+ import { a as Ve, B as ke } from "./chunks/index.ad4b770b.js";
39
39
  import { BentoRadioGroup as Ge, BentoRadioGroupVariant as we } from "./radio-group.js";
40
40
  import { BentoSearchBar as Oe, BentoSearchBarEvent as Re, BentoSearchBarInternalEvent as _e } from "./search-bar.js";
41
41
  import { BentoSegmentedControl as qe, BentoSegmentedControlEvent as ze } from "./segmented-control.js";
42
42
  import { BentoSidepanel as Ke, BentoSidepanelAnimation as We, BentoSidepanelEvent as Ye, BentoSidepanelPage as je } from "./sidepanel.js";
43
43
  import { BentoStatus as $e, BentoStatusVariant as Je } from "./status.js";
44
44
  import { BentoStep as Xe, BentoStepper as Ze, BentoStepperTypeOption as to, BentoStepperVariantOption as eo } from "./stepper.js";
45
- import { B as no, a as ro } from "./chunks/index.0890dc99.js";
46
- import { BentoSummaryGrid as Bo, BentoSummaryGridItemAmount as io, BentoSummaryGridItemCustom as mo, BentoSummaryGridItemNumeric as po, BentoSummaryGridItemPercentage as so, BentoSummaryGridItemSize as uo, BentoSummaryGridItemText as lo, BentoSummaryGridItemTrendDirection as fo } from "./summary-grid.js";
45
+ import { B as no, a as ro } from "./chunks/index.9bdf4d78.js";
46
+ import { BentoSummaryGrid as Bo, BentoSummaryGridItemAmount as io, BentoSummaryGridItemCustom as mo, BentoSummaryGridItemNumeric as so, BentoSummaryGridItemPercentage as po, BentoSummaryGridItemSize as uo, BentoSummaryGridItemText as lo, BentoSummaryGridItemTrendDirection as fo } from "./summary-grid.js";
47
47
  import { BentoTab as yo, BentoTabs as co } from "./tabs.js";
48
48
  import { BentoTag as So, BentoTagVariant as To } from "./tag.js";
49
49
  import { BentoTextarea as ho } from "./textarea.js";
50
- import { BentoTimeline as vo, BentoTimelineGapUnit as Io, BentoTimelineItem as bo, BentoTimelineItemVariant as Eo, BentoTimelineShowMorePlacement as Lo } from "./timeline.js";
51
- import { BentoToast as Fo } from "./toast.js";
52
- import { u as ko } from "./chunks/toastController.fd667b68.js";
53
- import { BentoToggle as Go, BentoToggleLabelPosition as wo, BentoTogglePropClass as Mo } from "./toggle.js";
54
- import { BentoTutorial as Ro } from "./tutorial.js";
55
- import { B as No, c as qo, b as zo, a as Uo } from "./chunks/index.b201e81d.js";
56
- import { BentoButtonActions as Wo, BentoButtonActionsLayout as Yo, BentoButtonActionsLayoutBasic as jo, BentoButtonActionsLayoutExtended as Ho } from "./button.js";
57
- import { B as Jo, a as Qo } from "./chunks/loading-button.459b9ab4.js";
58
- import { b as Zo, b as tn } from "./chunks/calendar.a885d8fc.js";
59
- import { BentoCheckboxGroup as on, BentoCheckboxGroupVariant as nn } from "./checkbox.js";
60
- import { D as an } from "./chunks/date-input.9186a0bf.js";
61
- import { a as mn, B as pn } from "./chunks/keyboard-navigation.ca47dfa8.js";
62
- import { a as dn, b as un } from "./chunks/listbox.a117e6d4.js";
63
- import { B as fn } from "./chunks/directive.0408e565.js";
64
- import { b as yn, B as cn, a as gn } from "./chunks/tooltip.b8929659.js";
65
- class s {
50
+ import { BentoTimeline as vo, BentoTimelineGapUnit as Io, BentoTimelineItem as bo, BentoTimelineItemVariant as Eo, BentoTimelineShowMorePlacement as Lo, BentoTimelineStatus as Po } from "./timeline.js";
51
+ import { BentoToast as Vo } from "./toast.js";
52
+ import { u as Ao } from "./chunks/toastController.fd667b68.js";
53
+ import { BentoToggle as wo, BentoToggleLabelPosition as Mo, BentoTogglePropClass as Oo } from "./toggle.js";
54
+ import { BentoTutorial as _o } from "./tutorial.js";
55
+ import { B as qo, c as zo, b as Uo, a as Ko } from "./chunks/index.858b0720.js";
56
+ import { BentoButtonActions as Yo, BentoButtonActionsLayout as jo, BentoButtonActionsLayoutBasic as Ho, BentoButtonActionsLayoutExtended as $o } from "./button.js";
57
+ import { B as Qo, a as Xo } from "./chunks/loading-button.7b5d0c22.js";
58
+ import { b as tn, b as en } from "./chunks/calendar.7dbac3b8.js";
59
+ import { BentoCheckboxGroup as nn, BentoCheckboxGroupVariant as rn } from "./checkbox.js";
60
+ import { D as Bn } from "./chunks/date-input.9186a0bf.js";
61
+ import { a as sn, B as pn } from "./chunks/keyboard-navigation.ca47dfa8.js";
62
+ import { a as un, b as ln } from "./chunks/listbox.163433c5.js";
63
+ import { B as xn } from "./chunks/directive.0408e565.js";
64
+ import { b as cn, B as gn, a as Sn } from "./chunks/tooltip.4a1300d5.js";
65
+ class p {
66
66
  constructor() {
67
67
  r(this, "_state");
68
68
  this._state = m({ queue: [] });
@@ -74,7 +74,7 @@ class s {
74
74
  this._state.queue.splice(this._state.queue.indexOf(t), 1);
75
75
  }
76
76
  addToast(t) {
77
- const o = p("toast"), n = {
77
+ const o = s("toast"), n = {
78
78
  ...t,
79
79
  id: o,
80
80
  dismiss: () => this.dismissToast(n)
@@ -89,7 +89,7 @@ const a = (e) => {
89
89
  document.body.classList.add(e);
90
90
  }, u = {
91
91
  install: async (e, t) => {
92
- t != null && t.withToast && (e.prototype.$bentoToastController = new s()), (t == null ? void 0 : t.theme) === "b-legacy-theme" ? (a(
92
+ t != null && t.withToast && (e.prototype.$bentoToastController = new p()), (t == null ? void 0 : t.theme) === "b-legacy-theme" ? (a(
93
93
  "b-legacy-theme"
94
94
  /* LEGACY */
95
95
  ), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (t == null ? void 0 : t.theme) === "b-styleguide-theme" ? (a(
@@ -107,10 +107,10 @@ export {
107
107
  E as BentoAlertTypeOption,
108
108
  L as BentoAlertVariant,
109
109
  F as BentoButton,
110
- Wo as BentoButtonActions,
111
- Yo as BentoButtonActionsLayout,
112
- jo as BentoButtonActionsLayoutBasic,
113
- Ho as BentoButtonActionsLayoutExtended,
110
+ Yo as BentoButtonActions,
111
+ jo as BentoButtonActionsLayout,
112
+ Ho as BentoButtonActionsLayoutBasic,
113
+ $o as BentoButtonActionsLayoutExtended,
114
114
  V as BentoButtonPropClass,
115
115
  k as BentoButtonVariant,
116
116
  q as BentoCard,
@@ -118,11 +118,11 @@ export {
118
118
  U as BentoCardTitleSize,
119
119
  Bt as BentoCheckbox,
120
120
  it as BentoCheckboxEvent,
121
- on as BentoCheckboxGroup,
122
- nn as BentoCheckboxGroupVariant,
121
+ nn as BentoCheckboxGroup,
122
+ rn as BentoCheckboxGroupVariant,
123
123
  mt as BentoCheckboxState,
124
- st as BentoClickOutside,
125
- fn as BentoClickOutsideDirective,
124
+ pt as BentoClickOutside,
125
+ xn as BentoClickOutsideDirective,
126
126
  ut as BentoCodeSnippet,
127
127
  lt as BentoCodeSnippetEvent,
128
128
  ft as BentoCodeSnippetSupportedLanguage,
@@ -142,10 +142,10 @@ export {
142
142
  Lt as BentoDateFormat,
143
143
  W as BentoDatePicker,
144
144
  Y as BentoDatePickerEvent,
145
- Zo as BentoDatePickerFirstDayOfWeek,
145
+ tn as BentoDatePickerFirstDayOfWeek,
146
146
  H as BentoDateRangePicker,
147
147
  $ as BentoDateRangePickerEvent,
148
- tn as BentoDateRangePickerFirstDayOfWeek,
148
+ en as BentoDateRangePickerFirstDayOfWeek,
149
149
  Ft as BentoDivider,
150
150
  Q as BentoDropdown,
151
151
  tt as BentoDropdownAvatar,
@@ -176,14 +176,14 @@ export {
176
176
  oe as BentoInputFieldStateClass,
177
177
  ne as BentoInputFieldType,
178
178
  re as BentoInputFieldVariant,
179
- mn as BentoKeyboardNavigationDirective,
179
+ sn as BentoKeyboardNavigationDirective,
180
180
  pn as BentoKeyboardNavigationKeyDownEvent,
181
- pe as BentoLink,
182
- se as BentoLinkVariant,
183
- dn as BentoListboxEvent,
184
- un as BentoListboxLazyLoadType,
185
- Jo as BentoLoadingButton,
186
- Qo as BentoLoadingButtonState,
181
+ se as BentoLink,
182
+ pe as BentoLinkVariant,
183
+ un as BentoListboxEvent,
184
+ ln as BentoListboxLazyLoadType,
185
+ Qo as BentoLoadingButton,
186
+ Xo as BentoLoadingButtonState,
187
187
  Be as BentoLoadingIndicator,
188
188
  ie as BentoLoadingIndicatorEvent,
189
189
  ue as BentoMenu,
@@ -222,8 +222,8 @@ export {
222
222
  Bo as BentoSummaryGrid,
223
223
  io as BentoSummaryGridItemAmount,
224
224
  mo as BentoSummaryGridItemCustom,
225
- po as BentoSummaryGridItemNumeric,
226
- so as BentoSummaryGridItemPercentage,
225
+ so as BentoSummaryGridItemNumeric,
226
+ po as BentoSummaryGridItemPercentage,
227
227
  uo as BentoSummaryGridItemSize,
228
228
  lo as BentoSummaryGridItemText,
229
229
  fo as BentoSummaryGridItemTrendDirection,
@@ -238,21 +238,22 @@ export {
238
238
  bo as BentoTimelineItem,
239
239
  Eo as BentoTimelineItemVariant,
240
240
  Lo as BentoTimelineShowMorePlacement,
241
- Fo as BentoToast,
242
- Go as BentoToggle,
243
- wo as BentoToggleLabelPosition,
244
- Mo as BentoTogglePropClass,
245
- yn as BentoTooltipDirective,
246
- cn as BentoTooltipPosition,
247
- gn as BentoTooltipState,
248
- Ro as BentoTutorial,
249
- No as BentoTypography,
250
- qo as BentoTypographyElement,
251
- zo as BentoTypographyModifier,
252
- Uo as BentoTypographyVariant,
253
- an as DateFormat,
241
+ Po as BentoTimelineStatus,
242
+ Vo as BentoToast,
243
+ wo as BentoToggle,
244
+ Mo as BentoToggleLabelPosition,
245
+ Oo as BentoTogglePropClass,
246
+ cn as BentoTooltipDirective,
247
+ gn as BentoTooltipPosition,
248
+ Sn as BentoTooltipState,
249
+ _o as BentoTutorial,
250
+ qo as BentoTypography,
251
+ zo as BentoTypographyElement,
252
+ Uo as BentoTypographyModifier,
253
+ Ko as BentoTypographyVariant,
254
+ Bn as DateFormat,
254
255
  c as default,
255
- ko as useBentoToastController,
256
+ Ao as useBentoToastController,
256
257
  Tt as useCountryCapital,
257
258
  Ct as useCountryName,
258
259
  ht as useCountryPhoneCode,
package/dist/info-icon.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as r } from "vue";
2
- import { c as i } from "./chunks/index.152b2b16.js";
2
+ import { c as i } from "./chunks/index.7039d901.js";
3
3
  import { n as s } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
4
- import { b as a } from "./chunks/tooltip.b8929659.js";
5
- import "./assets/index31.css";
4
+ import { b as a } from "./chunks/tooltip.4a1300d5.js";
5
+ import "./assets/index33.css";
6
6
  let n = 0;
7
7
  const l = {
8
8
  beforeCreate() {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, useAttrs as F, useSlots as z, ref as O, toRef as j, computed as i, toRefs as W } from "vue";
2
- import { B as Y, a as q } from "./chunks/dropdown.6461dbe3.js";
3
- import { d as X, B as G } from "./chunks/index.b201e81d.js";
2
+ import { B as Y, a as q } from "./chunks/dropdown.f784ac67.js";
3
+ import { d as X, B as G } from "./chunks/index.858b0720.js";
4
4
  import { g as u } from "./chunks/unique-id.a2a2b458.js";
5
5
  import { g as K } from "./chunks/get-slot-text.99c3d860.js";
6
6
  import { u as J } from "./chunks/aria-label.ac9651a5.js";
7
7
  import { u as Q } from "./chunks/i18n.eb5b985b.js";
8
8
  import { u as Z } from "./chunks/use-form-layout-loading.d03e5d48.js";
9
9
  import { u as tt } from "./chunks/use-has-slot.fbeb19ec.js";
10
- import { E as et, F as at } from "./chunks/field-label.01df3cba.js";
10
+ import { E as et, F as at } from "./chunks/field-label.bdf22f47.js";
11
11
  import { n as ot } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
12
- import "./assets/index44.css";
12
+ import "./assets/index35.css";
13
13
  var d = /* @__PURE__ */ ((a) => (a.DEFAULT = "default", a.PAYMENT_METHOD = "payment-method", a.STATIC_VALUE = "static-value", a.DROPDOWN = "dropdown", a))(d || {}), n = /* @__PURE__ */ ((a) => (a.START = "start", a.END = "end", a))(n || {}), p = /* @__PURE__ */ ((a) => (a.CONDENSED = "condensed", a.DISABLED = "disabled", a.READONLY = "readonly", a.ERROR = "error", a))(p || {}), w = /* @__PURE__ */ ((a) => (a.SEARCH = "search", a.TEXT = "text", a.NUMBER = "number", a))(w || {}), rt = /* @__PURE__ */ ((a) => (a.INPUT = "input", a.ESCAPE_PRESSED = "escape-pressed", a.UPDATE_DROPDOWN = "update:dropdown", a.DROPDOWN_INPUT = "dropdown-input", a.FOCUS = "focus", a.CHANGE = "change", a.BLUR = "blur", a.KEYDOWN = "keydown", a))(rt || {});
14
14
  const it = {
15
15
  "en-US": {
package/dist/internal.js CHANGED
@@ -1,24 +1,26 @@
1
- import { B as o, L as e } from "./chunks/listbox-option-tag.55cd9c16.js";
2
- import { C as s, a as p, b as x } from "./chunks/calendar.a885d8fc.js";
3
- import { C as f } from "./chunks/copy.e12b418e.js";
4
- import { C } from "./chunks/controls-group.dd967ccf.js";
5
- import { E as m, F as d } from "./chunks/field-label.01df3cba.js";
6
- import { F as y } from "./chunks/fixed-scroller.42354ccc.js";
1
+ import { B as r, L as e } from "./chunks/listbox-option-tag.60c0beca.js";
2
+ import { C as s, a as p, b as i } from "./chunks/calendar.7dbac3b8.js";
3
+ import { C as x, a as n } from "./chunks/copy.f4019f8d.js";
4
+ import { C as f } from "./chunks/controls-group.24a9efb1.js";
5
+ import { E as d, F as L } from "./chunks/field-label.bdf22f47.js";
6
+ import { F as y } from "./chunks/fixed-scroller.28158c25.js";
7
7
  import { G as b, a as B } from "./chunks/grid-layout.e0025286.js";
8
- import { B as u } from "./chunks/listbox.a117e6d4.js";
8
+ import { B as v, u as E } from "./chunks/listbox.163433c5.js";
9
9
  export {
10
- o as BentoAvatar,
11
- u as BentoListbox,
10
+ r as BentoAvatar,
11
+ v as BentoListbox,
12
12
  s as Calendar,
13
13
  p as CalendarEvent,
14
- x as CalendarFirstDayOfWeek,
15
- C as ControlsGroup,
16
- f as Copy,
17
- m as ErrorMessage,
18
- d as FieldLabel,
14
+ i as CalendarFirstDayOfWeek,
15
+ f as ControlsGroup,
16
+ x as Copy,
17
+ n as CopyTooltipState,
18
+ d as ErrorMessage,
19
+ L as FieldLabel,
19
20
  y as FixedScroller,
20
21
  b as GridLayout,
21
22
  B as GridLayoutContainerType,
22
- e as ListboxOptionTag
23
+ e as ListboxOptionTag,
24
+ E as useMultiLevelItems
23
25
  };
24
26
  //# sourceMappingURL=internal.js.map
package/dist/link.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as c, computed as p, useAttrs as _ } from "vue";
2
2
  import { RouterLink as u } from "vue-router";
3
- import { B as f } from "./chunks/index.b201e81d.js";
3
+ import { B as f } from "./chunks/index.858b0720.js";
4
4
  import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
5
- import "./assets/index38.css";
5
+ import "./assets/index6.css";
6
6
  var a = /* @__PURE__ */ ((s) => (s.DEFAULT = "default", s.QUIET = "quiet", s))(a || {});
7
7
  const k = {
8
8
  name: "bento-link",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, onMounted as s, onUnmounted as l, computed as i } from "vue";
2
2
  import { n as r } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
3
- import "./assets/index32.css";
3
+ import "./assets/index45.css";
4
4
  var a = /* @__PURE__ */ ((n) => (n.START = "loading-start", n.END = "loading-end", n))(a || {});
5
5
  const d = t({
6
6
  name: "bento-loading-indicator",
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/index.f358c4bd.js";
1
+ import { B as o, a as t } from "./chunks/index.4824eab5.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent
package/dist/modal.js CHANGED
@@ -1,14 +1,14 @@
1
- import { defineComponent as _, onMounted as C, toRefs as M, computed as f, useAttrs as h, watch as E } from "vue";
2
- import { f as A, b as p, e as r, d as u, c as w, B as y, a as B } from "./chunks/base-modal.75319f4e.js";
1
+ import { defineComponent as _, onMounted as C, toRefs as h, ref as E, computed as f, useAttrs as w, watch as x } from "vue";
2
+ import { f as A, b as p, e as c, d as r, c as T, B as y, a as B } from "./chunks/base-modal.193ce866.js";
3
3
  import { u as v } from "./chunks/use-has-slot.fbeb19ec.js";
4
- import { F as x } from "./chunks/footer-actions.2cd9079e.js";
4
+ import { F as k } from "./chunks/footer-actions.08a8323b.js";
5
5
  import { n as b } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
6
- import { B as S } from "./chunks/button.7dd8d4de.js";
7
- import { u as T } from "./chunks/i18n.eb5b985b.js";
8
- import { BentoButtonActions as k } from "./button.js";
9
- const N = _({
6
+ import { B as S } from "./chunks/button.f3f05408.js";
7
+ import { u as R } from "./chunks/i18n.eb5b985b.js";
8
+ import { BentoButtonActions as N } from "./button.js";
9
+ const z = _({
10
10
  name: "bento-modal-default",
11
- components: { BaseModal: A, FooterActions: x },
11
+ components: { BaseModal: A, FooterActions: k },
12
12
  props: {
13
13
  /**
14
14
  * Adds a cross icon on the right side of the alert
@@ -123,10 +123,10 @@ const N = _({
123
123
  default: !1
124
124
  }
125
125
  },
126
- emits: [r.CLOSE_MODAL],
126
+ emits: [c.CLOSE_MODAL],
127
127
  setup(e, { slots: t, emit: n }) {
128
128
  const l = v(t), s = () => {
129
- n(r.CLOSE_MODAL);
129
+ n(c.CLOSE_MODAL);
130
130
  };
131
131
  return C(() => {
132
132
  if (!(l("content") || l("content-col-1") && l("content-col-2")))
@@ -138,7 +138,7 @@ const N = _({
138
138
  };
139
139
  }
140
140
  });
141
- var R = function() {
141
+ var V = function() {
142
142
  var t = this, n = t._self._c;
143
143
  return t._self._setupProxy, n("base-modal", t._b({ staticClass: "b-modal-default", attrs: { actions: t.actions, size: t.size, "hide-close-button": t.hideCloseButton, "custom-padding": t.customPadding, "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "with-column-layout": t.withColumnLayout, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([t.hasSlot("default") ? { key: "default", fn: function() {
144
144
  return [t._t("default")];
@@ -153,24 +153,24 @@ var R = function() {
153
153
  return [n("footer-actions", { attrs: { actions: t.actions, "actions-label": t.actionsLabel, "destructive-actions": t.destructiveActions } })];
154
154
  })];
155
155
  }, proxy: !0 } : null], null, !0) }, "base-modal", t.$attrs, !1));
156
- }, z = [], V = /* @__PURE__ */ b(
157
- N,
158
- R,
156
+ }, P = [], $ = /* @__PURE__ */ b(
159
157
  z,
158
+ V,
159
+ P,
160
160
  !1,
161
161
  null,
162
162
  null,
163
163
  null,
164
164
  null
165
165
  );
166
- const P = V.exports, $ = {
166
+ const F = $.exports, q = {
167
167
  "en-US": {
168
168
  okButtonText: "OK"
169
169
  }
170
- }, F = _({
171
- i18n: { messages: $ },
170
+ }, I = _({
171
+ i18n: { messages: q },
172
172
  name: "bento-modal-dialog",
173
- components: { BaseModal: A, BentoButtonActions: k },
173
+ components: { BaseModal: A, BentoButtonActions: N },
174
174
  props: {
175
175
  /**
176
176
  * Controls the modal's state from the outside. Set it to true to open the modal
@@ -240,76 +240,78 @@ const P = V.exports, $ = {
240
240
  default: !1
241
241
  }
242
242
  },
243
- emits: [r.CLOSE_MODAL],
243
+ emits: [c.CLOSE_MODAL],
244
244
  setup(e, { slots: t, emit: n }) {
245
- const { t: l } = T(), s = v(t), { actions: o, dialogType: a } = M(e), c = () => {
246
- n(r.CLOSE_MODAL);
247
- }, m = () => {
248
- c();
249
- }, O = f(() => [
245
+ const { t: l } = R(), s = v(t), { actions: o, dialogType: a } = h(e), d = E(null), O = () => {
246
+ n(c.CLOSE_MODAL);
247
+ }, m = (i) => {
248
+ d.value.internalModalActionClose(i);
249
+ }, L = f(() => [
250
250
  {
251
251
  title: l("okButtonText"),
252
252
  event: m,
253
253
  variant: S.SECONDARY
254
254
  }
255
- ]), L = f(() => {
255
+ ]), M = f(() => {
256
256
  var g;
257
- const d = {
257
+ const i = {
258
258
  title: "Cancel",
259
259
  event: m
260
- }, i = (g = o == null ? void 0 : o.value) == null ? void 0 : g[0];
261
- return a.value === u.DESTRUCTIVE ? i.critical = !0 : a.value === u.INFO && (i.variant = S.SECONDARY), [i, d];
260
+ }, u = (g = o == null ? void 0 : o.value) == null ? void 0 : g[0];
261
+ return a.value === r.DESTRUCTIVE ? u.critical = !0 : a.value === r.INFO && (u.variant = S.SECONDARY), [u, i];
262
262
  }), D = f(() => ({
263
263
  [`b-modal-dialog--${a.value}`]: a.value
264
264
  }));
265
265
  return C(() => {
266
- var d, i;
266
+ var i, u;
267
267
  if (!s("default") || !e.content && !s("content"))
268
268
  throw new Error("Bento Modal Dialog requires header title and content");
269
- if (((d = o == null ? void 0 : o.value) == null ? void 0 : d.length) > 1)
269
+ if (((i = o == null ? void 0 : o.value) == null ? void 0 : i.length) > 1)
270
270
  throw new Error("Not more than 1 action button may be provided to Modal Dialog");
271
- if (a.value !== u.ACKNOWLEDGEMENT && !(o != null && o.value))
271
+ if (a.value !== r.ACKNOWLEDGEMENT && !(o != null && o.value))
272
272
  throw new Error(
273
273
  "Modal Dialog, except ACKNOWLEDGEMENT type, always has to contain one action button"
274
274
  );
275
- if (a.value === u.ACKNOWLEDGEMENT && ((i = o == null ? void 0 : o.value) != null && i.length))
275
+ if (a.value === r.ACKNOWLEDGEMENT && ((u = o == null ? void 0 : o.value) != null && u.length))
276
276
  throw new Error("Acknowledgement Modal Dialog does not accept action buttons");
277
277
  }), {
278
+ // Refs
279
+ modalRef: d,
278
280
  // Values
279
- dialogActions: L,
280
- acknowledgementDialogActions: O,
281
+ dialogActions: M,
282
+ acknowledgementDialogActions: L,
281
283
  // Methods
282
- onCloseModal: c,
284
+ onCloseModal: O,
283
285
  onCloseActionButton: m,
284
286
  // Styles
285
287
  modalDialogConditionalClasses: D,
286
288
  // Enums
287
- BentoModalRole: w
289
+ BentoModalRole: T
288
290
  };
289
291
  }
290
292
  });
291
- var q = function() {
293
+ var j = function() {
292
294
  var t = this, n = t._self._c;
293
- return t._self._setupProxy, n("base-modal", t._b({ staticClass: "b-modal-dialog", class: t.modalDialogConditionalClasses, attrs: { actions: t.actions, "hide-close-button": !0, size: "small", "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "modal-role": t.BentoModalRole.ALERT_DIALOG, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([{ key: "default", fn: function() {
295
+ return t._self._setupProxy, n("base-modal", t._b({ ref: "modalRef", staticClass: "b-modal-dialog", class: t.modalDialogConditionalClasses, attrs: { actions: t.actions, "hide-close-button": !0, size: "small", "is-dismissible": t.isDismissible, "is-open": t.isOpen, "overflow-visible": t.overflowVisible, "modal-role": t.BentoModalRole.ALERT_DIALOG, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([{ key: "default", fn: function() {
294
296
  return [t._t("default")];
295
297
  }, proxy: !0 }, { key: "content", fn: function() {
296
298
  return [t._v(" " + t._s(t.content) + " ")];
297
299
  }, proxy: !0 }, { key: "actions", fn: function() {
298
300
  return [t.dialogType === "acknowledgement" ? n("bento-button-actions", { attrs: { actions: t.acknowledgementDialogActions, layout: "buttons-end" } }) : n("bento-button-actions", { attrs: { actions: t.dialogActions, layout: "buttons-end" } })];
299
301
  }, proxy: !0 }], null, !0) }, "base-modal", t.$attrs, !1));
300
- }, I = [], j = /* @__PURE__ */ b(
301
- F,
302
- q,
302
+ }, G = [], U = /* @__PURE__ */ b(
303
303
  I,
304
+ j,
305
+ G,
304
306
  !1,
305
307
  null,
306
308
  null,
307
309
  null,
308
310
  null
309
311
  );
310
- const G = j.exports, U = 500, K = _({
312
+ const K = U.exports, W = 500, Y = _({
311
313
  name: "bento-modal",
312
- components: { BentoModalDefault: P, BentoModalDialog: G },
314
+ components: { BentoModalDefault: F, BentoModalDialog: K },
313
315
  props: {
314
316
  /**
315
317
  * Choose between default or dialog versions of modal
@@ -435,8 +437,8 @@ const G = j.exports, U = 500, K = _({
435
437
  */
436
438
  dialogType: {
437
439
  type: String,
438
- default: u.CONFIRMATION,
439
- validator: (e) => Object.values(u).includes(e)
440
+ default: r.CONFIRMATION,
441
+ validator: (e) => Object.values(r).includes(e)
440
442
  },
441
443
  /**
442
444
  * Text that will be displayed in the content section of Modal
@@ -446,9 +448,9 @@ const G = j.exports, U = 500, K = _({
446
448
  default: null
447
449
  }
448
450
  },
449
- emits: [r.CLOSE_MODAL],
451
+ emits: [c.CLOSE_MODAL],
450
452
  setup(e, { slots: t, emit: n }) {
451
- const l = h(), s = f(
453
+ const l = w(), s = f(
452
454
  () => e.variant === y.DEFAULT ? {
453
455
  hideCloseButton: e.hideCloseButton,
454
456
  size: e.size,
@@ -468,13 +470,13 @@ const G = j.exports, U = 500, K = _({
468
470
  ...l
469
471
  }
470
472
  ), o = () => {
471
- n(r.CLOSE_MODAL);
473
+ n(c.CLOSE_MODAL);
472
474
  };
473
- return E(
475
+ return x(
474
476
  () => e.actions,
475
477
  () => {
476
- var a, c;
477
- ((c = (a = e.actions) == null ? void 0 : a[0]) == null ? void 0 : c.state) === "success" && setTimeout(o, U);
478
+ var a, d;
479
+ ((d = (a = e.actions) == null ? void 0 : a[0]) == null ? void 0 : d.state) === "success" && setTimeout(o, W);
478
480
  }
479
481
  ), {
480
482
  onCloseModal: o,
@@ -483,7 +485,7 @@ const G = j.exports, U = 500, K = _({
483
485
  };
484
486
  }
485
487
  });
486
- var W = function() {
488
+ var H = function() {
487
489
  var t = this, n = t._self._c;
488
490
  return t._self._setupProxy, n(t.variant, t._b({ tag: "component", staticClass: "b-modal", attrs: { "is-open": t.isOpen, actions: t.actions, "initially-open": t.initiallyOpen }, on: { "close-modal": t.onCloseModal }, scopedSlots: t._u([t.hasSlot("default") ? { key: "default", fn: function() {
489
491
  return [t._t("default")];
@@ -494,23 +496,23 @@ var W = function() {
494
496
  }, proxy: !0 } : null, t.hasSlot("content") ? { key: "content", fn: function() {
495
497
  return [t._t("content")];
496
498
  }, proxy: !0 } : null], null, !0) }, "component", t.customProps, !1));
497
- }, Y = [], H = /* @__PURE__ */ b(
498
- K,
499
- W,
499
+ }, J = [], Q = /* @__PURE__ */ b(
500
500
  Y,
501
+ H,
502
+ J,
501
503
  !1,
502
504
  null,
503
505
  null,
504
506
  null,
505
507
  null
506
508
  );
507
- const lt = H.exports;
509
+ const st = Q.exports;
508
510
  export {
509
- lt as BentoModal,
511
+ st as BentoModal,
510
512
  p as BentoModalColumnLayoutVariant,
511
- u as BentoModalDialogType,
512
- r as BentoModalEvent,
513
- w as BentoModalRole,
513
+ r as BentoModalDialogType,
514
+ c as BentoModalEvent,
515
+ T as BentoModalRole,
514
516
  B as BentoModalSize,
515
517
  y as BentoModalVariant
516
518
  };