@adyen/bento-vue2 1.9.0 → 1.11.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 (295) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +19 -3580
  3. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
  4. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
  5. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
  6. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
  7. package/dist/@types/packages/vue2/src/components/code-snippet/{composables/useLanguage.d.ts → utils/get-lang-loader.d.ts} +1 -3
  8. package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +3 -3
  9. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryCapital/useCountryCapital.d.ts → use-country-capital/use-country-capital.d.ts} +1 -1
  10. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryName/useCountryName.d.ts → use-country-name/use-country-name.d.ts} +1 -1
  11. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryPhoneCode/useCountryPhoneCode.d.ts → use-country-phone-code/use-country-phon-code.d.ts} +1 -1
  12. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
  14. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
  15. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
  16. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +20 -4
  17. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +10 -8
  19. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.d.ts → use-calculate-column-width/use-calculate-column-width.d.ts} +2 -2
  21. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +121 -0
  22. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +154 -0
  23. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.d.ts → use-keyboard-navigator/use-keyboard-navigator.d.ts} +1 -1
  24. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useResizer.d.ts → use-resizer.d.ts} +0 -1
  25. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useScroller/useScroller.d.ts → use-scroller/use-scroller.d.ts} +1 -1
  26. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSelector.d.ts → use-selector.d.ts} +1 -1
  27. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
  28. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -7
  29. package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
  30. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
  31. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  32. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
  34. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -1
  35. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +10 -0
  36. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
  37. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
  38. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
  39. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
  40. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
  41. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
  42. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
  43. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +1598 -6
  44. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
  45. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
  46. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
  47. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -0
  48. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -0
  49. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
  50. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
  51. package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
  52. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
  53. package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
  54. 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
  55. 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
  56. 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
  57. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
  58. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
  59. 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
  60. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
  61. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
  62. package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
  63. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +12 -3
  64. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
  65. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
  66. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
  67. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  68. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
  69. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +251 -3
  70. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
  71. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +1 -0
  72. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +18 -0
  73. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +1 -0
  74. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +19 -0
  75. package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +2 -0
  76. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +3 -0
  77. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +14 -0
  78. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +20 -0
  79. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
  80. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
  81. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +16 -3
  82. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
  83. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
  84. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  85. package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
  86. package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +1 -0
  87. package/dist/accordion.js +2 -2
  88. package/dist/action-bar.js +5 -5
  89. package/dist/alert.js +8 -8
  90. package/dist/alert.js.map +1 -1
  91. package/dist/assets/base-modal.css +1 -1
  92. package/dist/assets/button.css +1 -1
  93. package/dist/assets/checkbox.css +1 -1
  94. package/dist/assets/controls-group.css +1 -1
  95. package/dist/assets/copy.css +1 -1
  96. package/dist/assets/dropdown-default-textbox.css +1 -1
  97. package/dist/assets/dropdown.css +1 -1
  98. package/dist/assets/fixed-scroller.css +1 -1
  99. package/dist/assets/index10.css +1 -1
  100. package/dist/assets/index11.css +1 -1
  101. package/dist/assets/index12.css +1 -1
  102. package/dist/assets/index13.css +1 -1
  103. package/dist/assets/index14.css +1 -1
  104. package/dist/assets/index15.css +1 -1
  105. package/dist/assets/index16.css +1 -1
  106. package/dist/assets/index17.css +1 -1
  107. package/dist/assets/index18.css +1 -1
  108. package/dist/assets/index19.css +1 -1
  109. package/dist/assets/index2.css +1 -1
  110. package/dist/assets/index20.css +1 -1
  111. package/dist/assets/index21.css +1 -1
  112. package/dist/assets/index22.css +1 -1
  113. package/dist/assets/index24.css +1 -1
  114. package/dist/assets/index25.css +1 -1
  115. package/dist/assets/index26.css +1 -1
  116. package/dist/assets/index27.css +1 -1
  117. package/dist/assets/index28.css +1 -1
  118. package/dist/assets/index29.css +1 -1
  119. package/dist/assets/index3.css +1 -1
  120. package/dist/assets/index30.css +1 -1
  121. package/dist/assets/index31.css +1 -1
  122. package/dist/assets/index32.css +1 -1
  123. package/dist/assets/index33.css +1 -1
  124. package/dist/assets/index34.css +1 -1
  125. package/dist/assets/index35.css +1 -1
  126. package/dist/assets/index36.css +1 -1
  127. package/dist/assets/index37.css +1 -1
  128. package/dist/assets/index38.css +1 -1
  129. package/dist/assets/index39.css +1 -1
  130. package/dist/assets/index4.css +1 -1
  131. package/dist/assets/index40.css +1 -1
  132. package/dist/assets/index41.css +1 -1
  133. package/dist/assets/index42.css +1 -1
  134. package/dist/assets/index43.css +1 -1
  135. package/dist/assets/index44.css +1 -1
  136. package/dist/assets/index45.css +1 -1
  137. package/dist/assets/index46.css +1 -0
  138. package/dist/assets/index5.css +1 -1
  139. package/dist/assets/index6.css +1 -1
  140. package/dist/assets/index7.css +1 -1
  141. package/dist/assets/index8.css +1 -1
  142. package/dist/assets/index9.css +1 -1
  143. package/dist/assets/listbox.css +1 -1
  144. package/dist/assets/loading-button.css +1 -1
  145. package/dist/avatar-image.js +1 -1
  146. package/dist/button.js +19 -17
  147. package/dist/button.js.map +1 -1
  148. package/dist/card.js +2 -2
  149. package/dist/checkbox.js +61 -48
  150. package/dist/checkbox.js.map +1 -1
  151. package/dist/chunks/{base-button.df9a9bea.js → base-button.bd61ab14.js} +2 -2
  152. package/dist/chunks/{base-button.df9a9bea.js.map → base-button.bd61ab14.js.map} +1 -1
  153. package/dist/chunks/{base-modal.75319f4e.js → base-modal.5640a66a.js} +33 -33
  154. package/dist/chunks/base-modal.5640a66a.js.map +1 -0
  155. package/dist/chunks/{button-actions-with-menu.32770485.js → button-actions-with-menu.767344df.js} +3 -3
  156. package/dist/chunks/{button-actions-with-menu.32770485.js.map → button-actions-with-menu.767344df.js.map} +1 -1
  157. package/dist/chunks/button.bb5b4909.js +100 -0
  158. package/dist/chunks/button.bb5b4909.js.map +1 -0
  159. package/dist/chunks/{calendar.a885d8fc.js → calendar.4ab3c2dc.js} +4 -4
  160. package/dist/chunks/{calendar.a885d8fc.js.map → calendar.4ab3c2dc.js.map} +1 -1
  161. package/dist/chunks/checkbox.c684c20a.js +188 -0
  162. package/dist/chunks/checkbox.c684c20a.js.map +1 -0
  163. package/dist/chunks/{controls-group.dd967ccf.js → controls-group.d25f5044.js} +15 -11
  164. package/dist/chunks/controls-group.d25f5044.js.map +1 -0
  165. package/dist/chunks/copy.36c058e9.js +122 -0
  166. package/dist/chunks/copy.36c058e9.js.map +1 -0
  167. package/dist/chunks/country.types.002caff2.js +5871 -0
  168. package/dist/chunks/country.types.002caff2.js.map +1 -0
  169. package/dist/chunks/{cross-circle-fill.7c07d16a.js → cross-circle-fill.27580c4b.js} +5 -5
  170. package/dist/chunks/{cross-circle-fill.7c07d16a.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
  171. package/dist/chunks/{dropdown-default-textbox.465db4d4.js → dropdown-default-textbox.1cba89ea.js} +11 -11
  172. package/dist/chunks/dropdown-default-textbox.1cba89ea.js.map +1 -0
  173. package/dist/chunks/{dropdown.6461dbe3.js → dropdown.4152cc00.js} +351 -313
  174. package/dist/chunks/dropdown.4152cc00.js.map +1 -0
  175. package/dist/chunks/{field-label.01df3cba.js → field-label.a0c54b7d.js} +5 -5
  176. package/dist/chunks/{field-label.01df3cba.js.map → field-label.a0c54b7d.js.map} +1 -1
  177. package/dist/chunks/{fixed-scroller.42354ccc.js → fixed-scroller.5c90f692.js} +2 -2
  178. package/dist/chunks/{fixed-scroller.42354ccc.js.map → fixed-scroller.5c90f692.js.map} +1 -1
  179. package/dist/chunks/{footer-actions.2cd9079e.js → footer-actions.b14cfca8.js} +3 -3
  180. package/dist/chunks/{footer-actions.2cd9079e.js.map → footer-actions.b14cfca8.js.map} +1 -1
  181. package/dist/chunks/{index.16914bb1.js → index.179d485c.js} +29 -29
  182. package/dist/chunks/{index.16914bb1.js.map → index.179d485c.js.map} +1 -1
  183. package/dist/chunks/index.1e8c900a.js +32 -0
  184. package/dist/chunks/index.1e8c900a.js.map +1 -0
  185. package/dist/chunks/{index.152b2b16.js → index.58282364.js} +3 -3
  186. package/dist/chunks/{index.152b2b16.js.map → index.58282364.js.map} +1 -1
  187. package/dist/chunks/{index.322692c8.js → index.720f0cbf.js} +2 -2
  188. package/dist/chunks/{index.322692c8.js.map → index.720f0cbf.js.map} +1 -1
  189. package/dist/chunks/index.75f0e99f.js +147 -0
  190. package/dist/chunks/index.75f0e99f.js.map +1 -0
  191. package/dist/chunks/{index.6cef7328.js → index.7d2ea1de.js} +2 -2
  192. package/dist/chunks/{index.6cef7328.js.map → index.7d2ea1de.js.map} +1 -1
  193. package/dist/chunks/{index.02da8d63.js → index.aaedd8f9.js} +3 -3
  194. package/dist/chunks/{index.02da8d63.js.map → index.aaedd8f9.js.map} +1 -1
  195. package/dist/chunks/{index.b201e81d.js → index.b0a89960.js} +22 -22
  196. package/dist/chunks/index.b0a89960.js.map +1 -0
  197. package/dist/chunks/{index.d1beb704.js → index.f18f79eb.js} +5 -5
  198. package/dist/chunks/{index.d1beb704.js.map → index.f18f79eb.js.map} +1 -1
  199. package/dist/chunks/{index.f358c4bd.js → index.f2223abb.js} +163 -155
  200. package/dist/chunks/index.f2223abb.js.map +1 -0
  201. package/dist/chunks/{listbox-option-tag.55cd9c16.js → listbox-option-tag.9103c011.js} +3 -3
  202. package/dist/chunks/{listbox-option-tag.55cd9c16.js.map → listbox-option-tag.9103c011.js.map} +1 -1
  203. package/dist/chunks/{listbox.a117e6d4.js → listbox.7cf6d6b4.js} +475 -392
  204. package/dist/chunks/listbox.7cf6d6b4.js.map +1 -0
  205. package/dist/chunks/{loading-button.459b9ab4.js → loading-button.fb025a2e.js} +20 -20
  206. package/dist/chunks/{loading-button.459b9ab4.js.map → loading-button.fb025a2e.js.map} +1 -1
  207. package/dist/chunks/{tooltip.b8929659.js → tooltip.f48beb54.js} +22 -22
  208. package/dist/chunks/tooltip.f48beb54.js.map +1 -0
  209. package/dist/chunks/use-has-slot.fbeb19ec.js.map +1 -1
  210. package/dist/chunks/useCountryItems.6b7985bf.js +29 -0
  211. package/dist/chunks/{useCountryItems.34ac8740.js.map → useCountryItems.6b7985bf.js.map} +1 -1
  212. package/dist/code-snippet.js +10 -12
  213. package/dist/code-snippet.js.map +1 -1
  214. package/dist/country.js +41 -5902
  215. package/dist/country.js.map +1 -1
  216. package/dist/currency.js +1 -1
  217. package/dist/data-grid.js +901 -711
  218. package/dist/data-grid.js.map +1 -1
  219. package/dist/date-picker.js +18 -18
  220. package/dist/date-range-picker.js +2 -2
  221. package/dist/date.js +1 -1
  222. package/dist/divider.js +2 -18
  223. package/dist/divider.js.map +1 -1
  224. package/dist/dropdown.js +41 -41
  225. package/dist/dropdown.js.map +1 -1
  226. package/dist/empty-state.js +18 -18
  227. package/dist/empty-state.js.map +1 -1
  228. package/dist/filter-bar.js +512 -504
  229. package/dist/filter-bar.js.map +1 -1
  230. package/dist/focus-trap.js +1 -1
  231. package/dist/form-layout.js +2 -2
  232. package/dist/form-layout.js.map +1 -1
  233. package/dist/header.js +3 -3
  234. package/dist/index.js +178 -174
  235. package/dist/index.js.map +1 -1
  236. package/dist/info-icon.js +3 -3
  237. package/dist/input-field.js +4 -4
  238. package/dist/internal.js +17 -15
  239. package/dist/link.js +2 -2
  240. package/dist/loading-indicator.js +1 -1
  241. package/dist/menu.js +1 -1
  242. package/dist/modal.js +62 -60
  243. package/dist/modal.js.map +1 -1
  244. package/dist/pagination.js +22 -22
  245. package/dist/pagination.js.map +1 -1
  246. package/dist/payment-method.js +2 -2
  247. package/dist/popover.js +1 -1
  248. package/dist/popper-container.js +1 -1
  249. package/dist/radio-group.js +46 -45
  250. package/dist/radio-group.js.map +1 -1
  251. package/dist/search-bar.js +10 -10
  252. package/dist/secondary-nav.js +98 -0
  253. package/dist/secondary-nav.js.map +1 -0
  254. package/dist/segmented-control.js +3 -3
  255. package/dist/sidepanel.js +5 -5
  256. package/dist/status.js +2 -2
  257. package/dist/stepper.js +3 -3
  258. package/dist/structured-list.js +1 -1
  259. package/dist/summary-grid.js +3 -3
  260. package/dist/tabs.js +3 -3
  261. package/dist/tag.js +3 -3
  262. package/dist/textarea.js +95 -88
  263. package/dist/textarea.js.map +1 -1
  264. package/dist/timeline.js +198 -191
  265. package/dist/timeline.js.map +1 -1
  266. package/dist/toast.js +3 -3
  267. package/dist/toggle.js +1 -1
  268. package/dist/tutorial.js +5 -5
  269. package/dist/typography.js +1 -1
  270. package/dist/web-types.json +822 -409
  271. package/package.json +6 -3
  272. package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +0 -67
  273. package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +0 -73
  274. package/dist/chunks/base-modal.75319f4e.js.map +0 -1
  275. package/dist/chunks/button.7dd8d4de.js +0 -125
  276. package/dist/chunks/button.7dd8d4de.js.map +0 -1
  277. package/dist/chunks/checkbox.65743b08.js +0 -184
  278. package/dist/chunks/checkbox.65743b08.js.map +0 -1
  279. package/dist/chunks/controls-group.dd967ccf.js.map +0 -1
  280. package/dist/chunks/copy.e12b418e.js +0 -103
  281. package/dist/chunks/copy.e12b418e.js.map +0 -1
  282. package/dist/chunks/dropdown-default-textbox.465db4d4.js.map +0 -1
  283. package/dist/chunks/dropdown.6461dbe3.js.map +0 -1
  284. package/dist/chunks/index.0890dc99.js +0 -130
  285. package/dist/chunks/index.0890dc99.js.map +0 -1
  286. package/dist/chunks/index.b201e81d.js.map +0 -1
  287. package/dist/chunks/index.f358c4bd.js.map +0 -1
  288. package/dist/chunks/listbox.a117e6d4.js.map +0 -1
  289. package/dist/chunks/tooltip.b8929659.js.map +0 -1
  290. package/dist/chunks/useCountryItems.34ac8740.js +0 -29
  291. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts → use-calculate-column-width/use-calculate-column-width.types.d.ts} +0 -0
  292. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateStickyElementHeight/useCalculateStickyElementHeight.d.ts → use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts} +0 -0
  293. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.types.d.ts → use-keyboard-navigator/use-keyboard-navigator.types.d.ts} +0 -0
  294. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useLazyLoading/useLazyLoading.d.ts → use-lazy-loading/use-lazy-loading.d.ts} +0 -0
  295. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSorter.d.ts → use-sorter.d.ts} +0 -0
@@ -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.4152cc00.js";
3
+ import { d as X, B as G } from "./chunks/index.b0a89960.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.a0c54b7d.js";
11
11
  import { n as ot } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
12
- import "./assets/index44.css";
12
+ import "./assets/index25.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.9103c011.js";
2
+ import { C as s, a as p, b as i } from "./chunks/calendar.4ab3c2dc.js";
3
+ import { C as x, a as n } from "./chunks/copy.36c058e9.js";
4
+ import { C as f } from "./chunks/controls-group.d25f5044.js";
5
+ import { E as d, F as L } from "./chunks/field-label.a0c54b7d.js";
6
+ import { F as y } from "./chunks/fixed-scroller.5c90f692.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.7cf6d6b4.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.b0a89960.js";
4
4
  import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
5
- import "./assets/index38.css";
5
+ import "./assets/index34.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/index36.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.f2223abb.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.5640a66a.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.b14cfca8.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.bb5b4909.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
  };
package/dist/modal.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"modal.js","sources":["../src/components/modal/components/modal-default/modal-default.vue","../src/components/modal/components/modal-dialog/modal-dialog.vue","../src/components/modal/modal.vue"],"sourcesContent":["<template>\n <base-modal\n class=\"b-modal-default\"\n v-bind=\"$attrs\"\n :actions=\"actions\"\n :size=\"size\"\n :hide-close-button=\"hideCloseButton\"\n :custom-padding=\"customPadding\"\n :is-dismissible=\"isDismissible\"\n :is-open=\"isOpen\"\n :overflow-visible=\"overflowVisible\"\n :with-column-layout=\"withColumnLayout\"\n :initially-open=\"initiallyOpen\"\n @close-modal=\"onCloseModal\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template #content-col-1><slot name=\"content-col-1\"></slot></template>\n <template #content-col-2><slot name=\"content-col-2\"></slot></template>\n <template #content><slot name=\"content\"></slot></template>\n\n <template v-if=\"actions\" #actions>\n <slot name=\"actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </slot>\n </template>\n </base-modal>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, onMounted, PropType } from 'vue';\n import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalSize } from '@/components/modal/modal.types';\n import { BaseModal } from '@/components/modal/components/base-modal';\n import { useHasSlot } from '@/composables';\n import { BentoButtonActionsList } from '@/components/button';\n import { FooterActions } from '@/components/internal/footer-actions';\n\n export default defineComponent({\n name: 'bento-modal-default',\n components: { BaseModal, FooterActions },\n props: {\n /**\n * Adds a cross icon on the right side of the alert\n */\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n required: true,\n },\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: {\n type: String,\n default: null,\n },\n\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: {\n type: Boolean,\n default: false,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n },\n\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const hasSlot = useHasSlot(slots);\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n onMounted(() => {\n if (!(hasSlot('content') || (hasSlot('content-col-1') && hasSlot('content-col-2')))) {\n throw new Error('Bento Modal default variant requires content slot or column slots');\n }\n });\n\n return {\n // Methods\n onCloseModal,\n hasSlot,\n };\n },\n });\n</script>\n","<template>\n <base-modal\n class=\"b-modal-dialog\"\n :actions=\"actions\"\n :class=\"modalDialogConditionalClasses\"\n :hide-close-button=\"true\"\n size=\"small\"\n :is-dismissible=\"isDismissible\"\n :is-open=\"isOpen\"\n :overflow-visible=\"overflowVisible\"\n :modal-role=\"BentoModalRole.ALERT_DIALOG\"\n :initially-open=\"initiallyOpen\"\n v-bind=\"$attrs\"\n @close-modal=\"onCloseModal\"\n >\n <template #default>\n <slot></slot>\n </template>\n <template #content>\n {{ content }}\n </template>\n\n <template #actions>\n <bento-button-actions\n v-if=\"dialogType === 'acknowledgement'\"\n :actions=\"acknowledgementDialogActions\"\n layout=\"buttons-end\"\n ></bento-button-actions>\n\n <bento-button-actions v-else :actions=\"dialogActions\" layout=\"buttons-end\"></bento-button-actions>\n </template>\n </base-modal>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, PropType, toRefs } from 'vue';\n import { BentoModalDialogType, BentoModalEvent, BentoModalRole } from '@/components/modal/modal.types';\n import { BaseModal } from '@/components/modal/components/base-modal';\n import { useHasSlot } from '@/composables';\n import {\n BentoButtonActionObject,\n BentoButtonActions,\n BentoButtonActionsList,\n BentoButtonVariant,\n } from '@/components/button';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n export default defineComponent({\n i18n: { messages },\n name: 'bento-modal-dialog',\n components: { BaseModal, BentoButtonActions },\n props: {\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets different action buttons styling and appearance\n */\n dialogType: {\n type: String as PropType<BentoModalDialogType | `${BentoModalDialogType}`>,\n required: true,\n },\n /**\n * Text that is displayed in the content section of modal\n */\n content: {\n type: String,\n required: true,\n },\n /**\n * List of actions that will be used to render the buttons.\n * Only 1 action button is allowed for Modal Dialog\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const hasSlot = useHasSlot(slots);\n const { actions, dialogType } = toRefs(props);\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n const onCloseActionButton = () => {\n onCloseModal();\n };\n\n const acknowledgementDialogActions = computed(() => [\n {\n title: t('okButtonText') as string,\n event: onCloseActionButton,\n variant: BentoButtonVariant.SECONDARY,\n },\n ]);\n\n const dialogActions = computed(() => {\n const mandatoryCancelActionButton: BentoButtonActionObject = {\n title: 'Cancel',\n event: onCloseActionButton,\n };\n const updatedPassedActionsObject: BentoButtonActionObject = actions?.value?.[0];\n\n if (dialogType.value === BentoModalDialogType.DESTRUCTIVE) {\n updatedPassedActionsObject.critical = true;\n } else if (dialogType.value === BentoModalDialogType.INFO) {\n updatedPassedActionsObject.variant = BentoButtonVariant.SECONDARY;\n }\n\n return [updatedPassedActionsObject, mandatoryCancelActionButton];\n });\n\n const modalDialogConditionalClasses = computed(() => ({\n [`b-modal-dialog--${dialogType.value}`]: dialogType.value,\n }));\n\n onMounted(() => {\n if (!hasSlot('default') || (!props.content && !hasSlot('content'))) {\n throw new Error('Bento Modal Dialog requires header title and content');\n }\n\n if (actions?.value?.length > 1) {\n throw new Error('Not more than 1 action button may be provided to Modal Dialog');\n }\n\n if (dialogType.value !== BentoModalDialogType.ACKNOWLEDGEMENT && !actions?.value) {\n throw new Error(\n 'Modal Dialog, except ACKNOWLEDGEMENT type, always has to contain one action button'\n );\n }\n\n if (dialogType.value === BentoModalDialogType.ACKNOWLEDGEMENT && actions?.value?.length) {\n throw new Error('Acknowledgement Modal Dialog does not accept action buttons');\n }\n });\n\n return {\n // Values\n dialogActions,\n acknowledgementDialogActions,\n\n // Methods\n onCloseModal,\n onCloseActionButton,\n\n // Styles\n modalDialogConditionalClasses,\n\n // Enums\n BentoModalRole,\n };\n },\n });\n</script>\n","<template>\n <component\n :is=\"variant\"\n class=\"b-modal\"\n :is-open=\"isOpen\"\n :actions=\"actions\"\n :initially-open=\"initiallyOpen\"\n v-bind=\"customProps\"\n @close-modal=\"onCloseModal\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template v-if=\"hasSlot('content-col-1')\" #content-col-1><slot name=\"content-col-1\"></slot></template>\n <template v-if=\"hasSlot('content-col-2')\" #content-col-2><slot name=\"content-col-2\"></slot></template>\n <template v-if=\"hasSlot('content')\" #content><slot name=\"content\"></slot></template>\n </component>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, useAttrs, watch } from 'vue';\n import {\n BentoModalColumnLayoutVariant,\n BentoModalDialogType,\n BentoModalEvent,\n BentoModalSize,\n BentoModalVariant,\n } from '@/components/modal/modal.types';\n import { BentoModalDefault, BentoModalDialog } from '@/components/modal/components';\n import { useHasSlot } from '@/composables';\n import { BentoButtonActionsList } from '@/components/button';\n\n const LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME = 500;\n\n /**\n * Modal is a window that appear over any other page content and focus user attention exclusively on one task or piece of information at the moment.\n *\n * @example\n * import { BentoModal } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModal },\n * template: `\n * <bento-modal :isOpen=\"true\">\n * Title of the Modal\n * <template #content>\n * Mandatory content slot\n * </template>\n * </bento-modal>\n * `\n * };\n */\n export default defineComponent({\n name: 'bento-modal',\n components: { BentoModalDefault, BentoModalDialog },\n props: {\n /**\n * Choose between default or dialog versions of modal\n */\n variant: {\n type: String as PropType<BentoModalVariant | `${BentoModalVariant}`>,\n default: BentoModalVariant.DEFAULT,\n validator: (value: BentoModalVariant) => Object.values(BentoModalVariant).includes(value),\n },\n\n // Shared Modal Default and Modal Default props\n /**\n * If set to true, it allows the modal to be closed without performing an action\n */\n isDismissible: {\n type: Boolean,\n default: null,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n // Specific to Modal Default props\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n default: BentoModalSize.SMALL,\n validator: (value: BentoModalSize) => Object.values(BentoModalSize).includes(value),\n },\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: {\n type: String,\n default: null,\n },\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: {\n type: Boolean,\n default: false,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant | `${BentoModalColumnLayoutVariant}`>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n validator: (value: BentoModalColumnLayoutVariant) =>\n Object.values(BentoModalColumnLayoutVariant).includes(value),\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n // Specific to Modal dialog props\n /**\n * Changes the visual styling of action buttons\n */\n dialogType: {\n type: String as PropType<BentoModalDialogType | `${BentoModalDialogType}`>,\n default: BentoModalDialogType.CONFIRMATION,\n validator: (value: BentoModalDialogType) => Object.values(BentoModalDialogType).includes(value),\n },\n /**\n * Text that will be displayed in the content section of Modal\n */\n content: {\n type: String,\n default: null,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const attrs = useAttrs();\n\n const customProps = computed(() =>\n props.variant === BentoModalVariant.DEFAULT\n ? {\n hideCloseButton: props.hideCloseButton,\n size: props.size,\n customPadding: props.customPadding,\n actionsLabel: props.actionsLabel,\n destructiveActions: props.destructiveActions,\n isDismissible: props.isDismissible ?? true,\n overflowVisible: props.overflowVisible,\n withColumnLayout: props.withColumnLayout,\n columnSize: props.columnsSize,\n ...attrs,\n }\n : {\n dialogType: props.dialogType,\n content: props.content,\n isDismissible: props.isDismissible ?? false,\n overflowVisible: props.overflowVisible,\n ...attrs,\n }\n );\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n // If the first button is a loading button then close the modal have 0.5 seconds\n // if the state is changed to 'success'.\n watch(\n () => props.actions,\n () => {\n if (props.actions?.[0]?.state === 'success') {\n setTimeout(onCloseModal, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME);\n }\n }\n );\n\n return {\n onCloseModal,\n customProps,\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n"],"names":["_sfc_main$2","defineComponent","BaseModal","FooterActions","BentoModalColumnLayoutVariant","BentoModalEvent","props","slots","emit","hasSlot","useHasSlot","onCloseModal","onMounted","_sfc_main$1","messages","BentoButtonActions","t","useI18n","actions","dialogType","toRefs","onCloseActionButton","acknowledgementDialogActions","computed","BentoButtonVariant","dialogActions","mandatoryCancelActionButton","updatedPassedActionsObject","_a","BentoModalDialogType","modalDialogConditionalClasses","_b","BentoModalRole","LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME","_sfc_main","BentoModalDefault","BentoModalDialog","BentoModalVariant","value","BentoModalSize","attrs","useAttrs","customProps","watch"],"mappings":";;;;;;;;AA0CA,MAAAA,IAAAC,EAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA,EAAA,WAAAC,GAAA,eAAAC,EAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,iBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAKA,aAAA;AAAA,MACA,MAAA;AAAA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/modal-default.vue","../src/components/modal/components/modal-dialog/modal-dialog.vue","../src/components/modal/modal.vue"],"sourcesContent":["<template>\n <base-modal\n class=\"b-modal-default\"\n v-bind=\"$attrs\"\n :actions=\"actions\"\n :size=\"size\"\n :hide-close-button=\"hideCloseButton\"\n :custom-padding=\"customPadding\"\n :is-dismissible=\"isDismissible\"\n :is-open=\"isOpen\"\n :overflow-visible=\"overflowVisible\"\n :with-column-layout=\"withColumnLayout\"\n :initially-open=\"initiallyOpen\"\n @close-modal=\"onCloseModal\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template #content-col-1><slot name=\"content-col-1\"></slot></template>\n <template #content-col-2><slot name=\"content-col-2\"></slot></template>\n <template #content><slot name=\"content\"></slot></template>\n\n <template v-if=\"actions\" #actions>\n <slot name=\"actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </slot>\n </template>\n </base-modal>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, onMounted, PropType } from 'vue';\n import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalSize } from '@/components/modal/modal.types';\n import { BaseModal } from '@/components/modal/components/base-modal';\n import { useHasSlot } from '@/composables';\n import { BentoButtonActionsList } from '@/components/button';\n import { FooterActions } from '@/components/internal/footer-actions';\n\n export default defineComponent({\n name: 'bento-modal-default',\n components: { BaseModal, FooterActions },\n props: {\n /**\n * Adds a cross icon on the right side of the alert\n */\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n required: true,\n },\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: {\n type: String,\n default: null,\n },\n\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: {\n type: Boolean,\n default: false,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n },\n\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const hasSlot = useHasSlot(slots);\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n onMounted(() => {\n if (!(hasSlot('content') || (hasSlot('content-col-1') && hasSlot('content-col-2')))) {\n throw new Error('Bento Modal default variant requires content slot or column slots');\n }\n });\n\n return {\n // Methods\n onCloseModal,\n hasSlot,\n };\n },\n });\n</script>\n","<template>\n <base-modal\n ref=\"modalRef\"\n class=\"b-modal-dialog\"\n :actions=\"actions\"\n :class=\"modalDialogConditionalClasses\"\n :hide-close-button=\"true\"\n size=\"small\"\n :is-dismissible=\"isDismissible\"\n :is-open=\"isOpen\"\n :overflow-visible=\"overflowVisible\"\n :modal-role=\"BentoModalRole.ALERT_DIALOG\"\n :initially-open=\"initiallyOpen\"\n v-bind=\"$attrs\"\n @close-modal=\"onCloseModal\"\n >\n <template #default>\n <slot></slot>\n </template>\n <template #content>\n {{ content }}\n </template>\n\n <template #actions>\n <bento-button-actions\n v-if=\"dialogType === 'acknowledgement'\"\n :actions=\"acknowledgementDialogActions\"\n layout=\"buttons-end\"\n />\n\n <bento-button-actions v-else :actions=\"dialogActions\" layout=\"buttons-end\" />\n </template>\n </base-modal>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, PropType, Ref, ref, toRefs } from 'vue';\n import { BentoModalDialogType, BentoModalEvent, BentoModalRole } from '@/components/modal/modal.types';\n import { BaseModal } from '@/components/modal/components/base-modal';\n import { useHasSlot } from '@/composables';\n import {\n BentoButtonActionObject,\n BentoButtonActions,\n BentoButtonActionsList,\n BentoButtonVariant,\n } from '@/components/button';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n export default defineComponent({\n i18n: { messages },\n name: 'bento-modal-dialog',\n components: { BaseModal, BentoButtonActions },\n props: {\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: {\n type: Boolean,\n required: true,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets different action buttons styling and appearance\n */\n dialogType: {\n type: String as PropType<BentoModalDialogType | `${BentoModalDialogType}`>,\n required: true,\n },\n /**\n * Text that is displayed in the content section of modal\n */\n content: {\n type: String,\n required: true,\n },\n /**\n * List of actions that will be used to render the buttons.\n * Only 1 action button is allowed for Modal Dialog\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const hasSlot = useHasSlot(slots);\n const { actions, dialogType } = toRefs(props);\n const modalRef: Ref<InstanceType<typeof BaseModal>> = ref(null);\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n const onCloseActionButton = (event: Event) => {\n // Calls \"base-modal\" internal function to initialize the\n // \"close\" animation and trigger the \"close\" event.\n // This follows the same \"dialog\" pattern of calling \"dialog.close()\"\n modalRef.value.internalModalActionClose(event);\n };\n\n const acknowledgementDialogActions = computed(() => [\n {\n title: t('okButtonText') as string,\n event: onCloseActionButton,\n variant: BentoButtonVariant.SECONDARY,\n },\n ]);\n\n const dialogActions = computed(() => {\n const mandatoryCancelActionButton: BentoButtonActionObject = {\n title: 'Cancel',\n event: onCloseActionButton,\n };\n const updatedPassedActionsObject: BentoButtonActionObject = actions?.value?.[0];\n\n if (dialogType.value === BentoModalDialogType.DESTRUCTIVE) {\n updatedPassedActionsObject.critical = true;\n } else if (dialogType.value === BentoModalDialogType.INFO) {\n updatedPassedActionsObject.variant = BentoButtonVariant.SECONDARY;\n }\n\n return [updatedPassedActionsObject, mandatoryCancelActionButton];\n });\n\n const modalDialogConditionalClasses = computed(() => ({\n [`b-modal-dialog--${dialogType.value}`]: dialogType.value,\n }));\n\n onMounted(() => {\n if (!hasSlot('default') || (!props.content && !hasSlot('content'))) {\n throw new Error('Bento Modal Dialog requires header title and content');\n }\n\n if (actions?.value?.length > 1) {\n throw new Error('Not more than 1 action button may be provided to Modal Dialog');\n }\n\n if (dialogType.value !== BentoModalDialogType.ACKNOWLEDGEMENT && !actions?.value) {\n throw new Error(\n 'Modal Dialog, except ACKNOWLEDGEMENT type, always has to contain one action button'\n );\n }\n\n if (dialogType.value === BentoModalDialogType.ACKNOWLEDGEMENT && actions?.value?.length) {\n throw new Error('Acknowledgement Modal Dialog does not accept action buttons');\n }\n });\n\n return {\n // Refs\n modalRef,\n\n // Values\n dialogActions,\n acknowledgementDialogActions,\n\n // Methods\n onCloseModal,\n onCloseActionButton,\n\n // Styles\n modalDialogConditionalClasses,\n\n // Enums\n BentoModalRole,\n };\n },\n });\n</script>\n","<template>\n <component\n :is=\"variant\"\n class=\"b-modal\"\n :is-open=\"isOpen\"\n :actions=\"actions\"\n :initially-open=\"initiallyOpen\"\n v-bind=\"customProps\"\n @close-modal=\"onCloseModal\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template v-if=\"hasSlot('content-col-1')\" #content-col-1><slot name=\"content-col-1\"></slot></template>\n <template v-if=\"hasSlot('content-col-2')\" #content-col-2><slot name=\"content-col-2\"></slot></template>\n <template v-if=\"hasSlot('content')\" #content><slot name=\"content\"></slot></template>\n </component>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, useAttrs, watch } from 'vue';\n import {\n BentoModalColumnLayoutVariant,\n BentoModalDialogType,\n BentoModalEvent,\n BentoModalSize,\n BentoModalVariant,\n } from '@/components/modal/modal.types';\n import { BentoModalDefault, BentoModalDialog } from '@/components/modal/components';\n import { useHasSlot } from '@/composables';\n import { BentoButtonActionsList } from '@/components/button';\n\n const LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME = 500;\n\n /**\n * Modal is a window that appear over any other page content and focus user attention exclusively on one task or piece of information at the moment.\n *\n * @example\n * import { BentoModal } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModal },\n * template: `\n * <bento-modal :isOpen=\"true\">\n * Title of the Modal\n * <template #content>\n * Mandatory content slot\n * </template>\n * </bento-modal>\n * `\n * };\n */\n export default defineComponent({\n name: 'bento-modal',\n components: { BentoModalDefault, BentoModalDialog },\n props: {\n /**\n * Choose between default or dialog versions of modal\n */\n variant: {\n type: String as PropType<BentoModalVariant | `${BentoModalVariant}`>,\n default: BentoModalVariant.DEFAULT,\n validator: (value: BentoModalVariant) => Object.values(BentoModalVariant).includes(value),\n },\n\n // Shared Modal Default and Modal Default props\n /**\n * If set to true, it allows the modal to be closed without performing an action\n */\n isDismissible: {\n type: Boolean,\n default: null,\n },\n /**\n * If set to true, it will set overflow:visible to the modal, only recommended to be used with dropdown\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: {\n type: Boolean,\n default: false,\n },\n\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n // Specific to Modal Default props\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n default: BentoModalSize.SMALL,\n validator: (value: BentoModalSize) => Object.values(BentoModalSize).includes(value),\n },\n /**\n * If provided, manages the padding of the whole modal container\n */\n customPadding: {\n type: String,\n default: null,\n },\n /**\n * If provided, renders the modal's content in a two-column layout an wth dividers separating its content\n */\n withColumnLayout: {\n type: Boolean,\n default: false,\n },\n\n /**\n * If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.\n */\n columnsSize: {\n type: String as PropType<BentoModalColumnLayoutVariant | `${BentoModalColumnLayoutVariant}`>,\n default: BentoModalColumnLayoutVariant.SMALLER,\n validator: (value: BentoModalColumnLayoutVariant) =>\n Object.values(BentoModalColumnLayoutVariant).includes(value),\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n // Specific to Modal dialog props\n /**\n * Changes the visual styling of action buttons\n */\n dialogType: {\n type: String as PropType<BentoModalDialogType | `${BentoModalDialogType}`>,\n default: BentoModalDialogType.CONFIRMATION,\n validator: (value: BentoModalDialogType) => Object.values(BentoModalDialogType).includes(value),\n },\n /**\n * Text that will be displayed in the content section of Modal\n */\n content: {\n type: String,\n default: null,\n },\n },\n emits: [BentoModalEvent.CLOSE_MODAL],\n setup(props, { slots, emit }) {\n const attrs = useAttrs();\n\n const customProps = computed(() =>\n props.variant === BentoModalVariant.DEFAULT\n ? {\n hideCloseButton: props.hideCloseButton,\n size: props.size,\n customPadding: props.customPadding,\n actionsLabel: props.actionsLabel,\n destructiveActions: props.destructiveActions,\n isDismissible: props.isDismissible ?? true,\n overflowVisible: props.overflowVisible,\n withColumnLayout: props.withColumnLayout,\n columnSize: props.columnsSize,\n ...attrs,\n }\n : {\n dialogType: props.dialogType,\n content: props.content,\n isDismissible: props.isDismissible ?? false,\n overflowVisible: props.overflowVisible,\n ...attrs,\n }\n );\n\n const onCloseModal = () => {\n emit(BentoModalEvent.CLOSE_MODAL);\n };\n\n // If the first button is a loading button then close the modal have 0.5 seconds\n // if the state is changed to 'success'.\n watch(\n () => props.actions,\n () => {\n if (props.actions?.[0]?.state === 'success') {\n setTimeout(onCloseModal, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME);\n }\n }\n );\n\n return {\n onCloseModal,\n customProps,\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n"],"names":["_sfc_main$2","defineComponent","BaseModal","FooterActions","BentoModalColumnLayoutVariant","BentoModalEvent","props","slots","emit","hasSlot","useHasSlot","onCloseModal","onMounted","_sfc_main$1","messages","BentoButtonActions","t","useI18n","actions","dialogType","toRefs","modalRef","ref","onCloseActionButton","event","acknowledgementDialogActions","computed","BentoButtonVariant","dialogActions","mandatoryCancelActionButton","updatedPassedActionsObject","_a","BentoModalDialogType","modalDialogConditionalClasses","_b","BentoModalRole","LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME","_sfc_main","BentoModalDefault","BentoModalDialog","BentoModalVariant","value","BentoModalSize","attrs","useAttrs","customProps","watch"],"mappings":";;;;;;;;AA0CA,MAAAA,IAAAC,EAAA;AAAA,EACA,MAAA;AAAA,EACA,YAAA,EAAA,WAAAC,GAAA,eAAAC,EAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,QAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IAIA,eAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IA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