@adyen/bento-vue3 2.0.0-rc.6 → 2.0.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 (301) hide show
  1. package/dist/@types/index.d.ts +47 -89
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/anchor-scroller.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/ai-tag.css +1 -1
  10. package/dist/assets/anchor-scroller.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-group.css +1 -1
  16. package/dist/assets/checkbox.css +1 -1
  17. package/dist/assets/data-grid-template.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-picker.css +1 -1
  20. package/dist/assets/date-range-picker.css +1 -1
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/dropdown.css +1 -1
  23. package/dist/assets/file-uploader.css +1 -1
  24. package/dist/assets/filter-bar.css +1 -1
  25. package/dist/assets/header-with-views.css +1 -1
  26. package/dist/assets/info-icon-with-popover.css +1 -1
  27. package/dist/assets/input-field-password.css +1 -1
  28. package/dist/assets/input-field.css +1 -1
  29. package/dist/assets/inspector.css +1 -1
  30. package/dist/assets/link.css +1 -1
  31. package/dist/assets/modal-fullscreen.css +1 -1
  32. package/dist/assets/navigation-menu-group.css +1 -1
  33. package/dist/assets/pagination.css +1 -1
  34. package/dist/assets/progress-bar.css +1 -1
  35. package/dist/assets/promo-banner.css +1 -1
  36. package/dist/assets/radio-group.css +1 -1
  37. package/dist/assets/rich-text-editor.css +1 -1
  38. package/dist/assets/secondary-nav.css +1 -1
  39. package/dist/assets/segmented-control.css +1 -1
  40. package/dist/assets/selection-card-group.css +1 -1
  41. package/dist/assets/sidepanel.css +1 -1
  42. package/dist/assets/tab.css +1 -1
  43. package/dist/assets/table-of-contents.css +1 -1
  44. package/dist/assets/tag.css +1 -1
  45. package/dist/assets/textarea.css +1 -1
  46. package/dist/assets/timeline-item.css +1 -1
  47. package/dist/assets/toggle.css +1 -1
  48. package/dist/button.js +3 -3
  49. package/dist/card.js +1 -1
  50. package/dist/checkbox.js +2 -2
  51. package/dist/chip.js +1 -1
  52. package/dist/chunks/{accordion-item.CDqXAJ_o.js → accordion-item.l88yjGPT.js} +2 -2
  53. package/dist/chunks/accordion-item.l88yjGPT.js.map +1 -0
  54. package/dist/chunks/{action-bar.Y0-Y1Lxb.js → action-bar.CWjLoeOU.js} +166 -149
  55. package/dist/chunks/action-bar.CWjLoeOU.js.map +1 -0
  56. package/dist/chunks/{ai-button.HyFL1Urc.js → ai-button.CYaCMWFk.js} +2 -2
  57. package/dist/chunks/{ai-button.HyFL1Urc.js.map → ai-button.CYaCMWFk.js.map} +1 -1
  58. package/dist/chunks/{ai-tag.BQQA6de2.js → ai-tag.CjrOE5yl.js} +3 -3
  59. package/dist/chunks/ai-tag.CjrOE5yl.js.map +1 -0
  60. package/dist/chunks/{alert.DPb3_p0K.js → alert.C8Pe1-OO.js} +2 -2
  61. package/dist/chunks/{alert.DPb3_p0K.js.map → alert.C8Pe1-OO.js.map} +1 -1
  62. package/dist/chunks/{anchor-scroller.B2TgWdCo.js → anchor-scroller.C3zkcfPH.js} +13 -13
  63. package/dist/chunks/anchor-scroller.C3zkcfPH.js.map +1 -0
  64. package/dist/chunks/{base-button.C8hw-h9-.js → base-button.Bi5JR_6k.js} +2 -2
  65. package/dist/chunks/{base-button.C8hw-h9-.js.map → base-button.Bi5JR_6k.js.map} +1 -1
  66. package/dist/chunks/base-modal.Bn4ZXwv6.js +441 -0
  67. package/dist/chunks/base-modal.Bn4ZXwv6.js.map +1 -0
  68. package/dist/chunks/{button-actions-with-menu.LF1NNScj.js → button-actions-with-menu.CrbF2BSQ.js} +2 -2
  69. package/dist/chunks/{button-actions-with-menu.LF1NNScj.js.map → button-actions-with-menu.CrbF2BSQ.js.map} +1 -1
  70. package/dist/chunks/{button-actions.BjSTWgNC.js → button-actions.uIjzze43.js} +5 -5
  71. package/dist/chunks/{button-actions.BjSTWgNC.js.map → button-actions.uIjzze43.js.map} +1 -1
  72. package/dist/chunks/{button.D6d4P8nC.js → button.Ciflfide.js} +2 -2
  73. package/dist/chunks/{button.D6d4P8nC.js.map → button.Ciflfide.js.map} +1 -1
  74. package/dist/chunks/{calendar.Dndck6oT.js → calendar.Dtba7fcs.js} +5 -5
  75. package/dist/chunks/calendar.Dtba7fcs.js.map +1 -0
  76. package/dist/chunks/card.ID7LqObu.js +254 -0
  77. package/dist/chunks/card.ID7LqObu.js.map +1 -0
  78. package/dist/chunks/{checkbox-group.BqLVduAB.js → checkbox-group.BCzNXT1-.js} +8 -8
  79. package/dist/chunks/checkbox-group.BCzNXT1-.js.map +1 -0
  80. package/dist/chunks/{checkbox.OqIysGJA.js → checkbox.0RmIkniU.js} +15 -15
  81. package/dist/chunks/checkbox.0RmIkniU.js.map +1 -0
  82. package/dist/chunks/{chip.REcSE76u.js → chip.Bv6IGch0.js} +2 -2
  83. package/dist/chunks/{chip.REcSE76u.js.map → chip.Bv6IGch0.js.map} +1 -1
  84. package/dist/chunks/{code-snippet.B9poUCAs.js → code-snippet.BbswO6TU.js} +5 -5
  85. package/dist/chunks/{code-snippet.B9poUCAs.js.map → code-snippet.BbswO6TU.js.map} +1 -1
  86. package/dist/chunks/{copy.BqYryk37.js → copy.C92qFRaR.js} +2 -2
  87. package/dist/chunks/{copy.BqYryk37.js.map → copy.C92qFRaR.js.map} +1 -1
  88. package/dist/chunks/{cross-circle-fill-small.ganKvfe0.js → cross-circle-fill-small.C87G_8OX.js} +2 -2
  89. package/dist/chunks/cross-circle-fill-small.C87G_8OX.js.map +1 -0
  90. package/dist/chunks/{dashboard-section.D1GPmEU2.js → dashboard-section.Bv-SveGN.js} +3 -3
  91. package/dist/chunks/{dashboard-section.D1GPmEU2.js.map → dashboard-section.Bv-SveGN.js.map} +1 -1
  92. package/dist/chunks/{dashed-underline.E65uUWYF.js → dashed-underline.C3lSC1_R.js} +2 -2
  93. package/dist/chunks/{dashed-underline.E65uUWYF.js.map → dashed-underline.C3lSC1_R.js.map} +1 -1
  94. package/dist/chunks/{data-grid-template.DsZI-ISc.js → data-grid-template.DqZmPeze.js} +4 -4
  95. package/dist/chunks/{data-grid-template.DsZI-ISc.js.map → data-grid-template.DqZmPeze.js.map} +1 -1
  96. package/dist/chunks/{data-grid.oiH-QM7_.js → data-grid.Ca27H24r.js} +20 -20
  97. package/dist/chunks/data-grid.Ca27H24r.js.map +1 -0
  98. package/dist/chunks/{date-picker.94wdYFML.js → date-picker.Dnr2HuxA.js} +7 -7
  99. package/dist/chunks/date-picker.Dnr2HuxA.js.map +1 -0
  100. package/dist/chunks/{date-range-picker.D45JX1VD.js → date-range-picker.CuBygd3O.js} +10 -10
  101. package/dist/chunks/{date-range-picker.D45JX1VD.js.map → date-range-picker.CuBygd3O.js.map} +1 -1
  102. package/dist/chunks/{dialog-page.yakmJ6Bc.js → dialog-page.D60pjDsQ.js} +2 -2
  103. package/dist/chunks/{dialog-page.yakmJ6Bc.js.map → dialog-page.D60pjDsQ.js.map} +1 -1
  104. package/dist/chunks/{draggable-handle.DnvrxRxK.js → draggable-handle.Cvc8gHzx.js} +2 -2
  105. package/dist/chunks/{draggable-handle.DnvrxRxK.js.map → draggable-handle.Cvc8gHzx.js.map} +1 -1
  106. package/dist/chunks/{draggable.Cp2Qnooa.js → draggable.BZsgR26I.js} +2 -2
  107. package/dist/chunks/{draggable.Cp2Qnooa.js.map → draggable.BZsgR26I.js.map} +1 -1
  108. package/dist/chunks/{dropdown-tag.C3ybYQxd.js → dropdown-tag.Bn5FPeEL.js} +3 -3
  109. package/dist/chunks/{dropdown-tag.C3ybYQxd.js.map → dropdown-tag.Bn5FPeEL.js.map} +1 -1
  110. package/dist/chunks/{dropdown.DivEbn7p.js → dropdown.D_jkFrMd.js} +194 -194
  111. package/dist/chunks/dropdown.D_jkFrMd.js.map +1 -0
  112. package/dist/chunks/{empty-state.Bto2psKu.js → empty-state.DpUC-3wv.js} +3 -3
  113. package/dist/chunks/{empty-state.Bto2psKu.js.map → empty-state.DpUC-3wv.js.map} +1 -1
  114. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  115. package/dist/chunks/{file-uploader.BuOQRa-V.js → file-uploader.BglImnqw.js} +6 -6
  116. package/dist/chunks/file-uploader.BglImnqw.js.map +1 -0
  117. package/dist/chunks/{filter-bar.B14faBNI.js → filter-bar.DG4GTi8L.js} +514 -533
  118. package/dist/chunks/filter-bar.DG4GTi8L.js.map +1 -0
  119. package/dist/chunks/{fixed-scroller.B3kEBipG.js → fixed-scroller.DoOR83iH.js} +2 -2
  120. package/dist/chunks/{fixed-scroller.B3kEBipG.js.map → fixed-scroller.DoOR83iH.js.map} +1 -1
  121. package/dist/chunks/{footer-actions.NpAByudT.js → footer-actions.Dl20Q1WX.js} +3 -3
  122. package/dist/chunks/{footer-actions.NpAByudT.js.map → footer-actions.Dl20Q1WX.js.map} +1 -1
  123. package/dist/chunks/{form-layout-title.Dh45kd1K.js → form-layout-title.BZFh_nGD.js} +2 -2
  124. package/dist/chunks/{form-layout-title.Dh45kd1K.js.map → form-layout-title.BZFh_nGD.js.map} +1 -1
  125. package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
  126. package/dist/chunks/{header-with-views.DufmtnZ2.js → header-with-views.WJlXgGI5.js} +875 -849
  127. package/dist/chunks/{header-with-views.DufmtnZ2.js.map → header-with-views.WJlXgGI5.js.map} +1 -1
  128. package/dist/chunks/{header.Jtie5-7g.js → header.Bi3MPZKE.js} +4 -4
  129. package/dist/chunks/{header.Jtie5-7g.js.map → header.Bi3MPZKE.js.map} +1 -1
  130. package/dist/chunks/{info-icon-with-popover.CLGZteKS.js → info-icon-with-popover.uSr6-jzR.js} +3 -3
  131. package/dist/chunks/info-icon-with-popover.uSr6-jzR.js.map +1 -0
  132. package/dist/chunks/{input-field-password.BPjmZ2vh.js → input-field-password.CJZxudne.js} +5 -5
  133. package/dist/chunks/input-field-password.CJZxudne.js.map +1 -0
  134. package/dist/chunks/{input-field-phone-number.BViae6Ex.js → input-field-phone-number.OJ4MG9Gf.js} +2 -2
  135. package/dist/chunks/{input-field-phone-number.BViae6Ex.js.map → input-field-phone-number.OJ4MG9Gf.js.map} +1 -1
  136. package/dist/chunks/{input-field.DgQG5TCW.js → input-field.IyNujUZt.js} +3 -3
  137. package/dist/chunks/input-field.IyNujUZt.js.map +1 -0
  138. package/dist/chunks/{input-time.DYbJUHP5.js → input-time.BJ6YqkFi.js} +3 -3
  139. package/dist/chunks/{input-time.DYbJUHP5.js.map → input-time.BJ6YqkFi.js.map} +1 -1
  140. package/dist/chunks/{inspector-page.BdfORbVT.js → inspector-page.D42_PXHM.js} +3 -3
  141. package/dist/chunks/{inspector-page.BdfORbVT.js.map → inspector-page.D42_PXHM.js.map} +1 -1
  142. package/dist/chunks/{inspector.CEiwH5Pt.js → inspector.BBgrupfO.js} +3 -3
  143. package/dist/chunks/inspector.BBgrupfO.js.map +1 -0
  144. package/dist/chunks/{link.DHhC2vrX.js → link.types.BGj7apK3.js} +36 -36
  145. package/dist/chunks/link.types.BGj7apK3.js.map +1 -0
  146. package/dist/chunks/{list-item.QB0YYGW9.js → list-item.CT7dyMQH.js} +3 -3
  147. package/dist/chunks/{list-item.QB0YYGW9.js.map → list-item.CT7dyMQH.js.map} +1 -1
  148. package/dist/chunks/{listbox-option-tag.DCuA8MoL.js → listbox-option-tag.CwrFdsY1.js} +2 -2
  149. package/dist/chunks/{listbox-option-tag.DCuA8MoL.js.map → listbox-option-tag.CwrFdsY1.js.map} +1 -1
  150. package/dist/chunks/{modal-fullscreen.DtG6vHhq.js → modal-fullscreen.I5bjqzfd.js} +6 -6
  151. package/dist/chunks/modal-fullscreen.I5bjqzfd.js.map +1 -0
  152. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CKWzgLgL.js → modal.vue_vue_type_script_setup_true_lang.CrsIyU7A.js} +5 -5
  153. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CKWzgLgL.js.map → modal.vue_vue_type_script_setup_true_lang.CrsIyU7A.js.map} +1 -1
  154. package/dist/chunks/{navigation-menu-group.E-24hOWI.js → navigation-menu-group.BSGdcUDN.js} +6 -6
  155. package/dist/chunks/navigation-menu-group.BSGdcUDN.js.map +1 -0
  156. package/dist/chunks/{pagination.B2Kgh-MF.js → pagination.C5gZxtZY.js} +5 -5
  157. package/dist/chunks/pagination.C5gZxtZY.js.map +1 -0
  158. package/dist/chunks/{promo-banner.DuottTum.js → promo-banner.kE1-WkzI.js} +9 -9
  159. package/dist/chunks/{promo-banner.DuottTum.js.map → promo-banner.kE1-WkzI.js.map} +1 -1
  160. package/dist/chunks/{radio-group.BANaG-Fa.js → radio-group.XmRPh03c.js} +4 -4
  161. package/dist/chunks/radio-group.XmRPh03c.js.map +1 -0
  162. package/dist/chunks/{rich-text-editor.Dbc9Y2YC.js → rich-text-editor.Cv_Vwt-6.js} +6 -6
  163. package/dist/chunks/{rich-text-editor.Dbc9Y2YC.js.map → rich-text-editor.Cv_Vwt-6.js.map} +1 -1
  164. package/dist/chunks/{search-bar.CAsAh02R.js → search-bar.5tObtLfW.js} +3 -3
  165. package/dist/chunks/{search-bar.CAsAh02R.js.map → search-bar.5tObtLfW.js.map} +1 -1
  166. package/dist/chunks/{secondary-nav.DOgZJUTd.js → secondary-nav.Bhn5bVYI.js} +5 -5
  167. package/dist/chunks/secondary-nav.Bhn5bVYI.js.map +1 -0
  168. package/dist/chunks/{segmented-control.6XApEjVS.js → segmented-control.CEt2dz4n.js} +2 -2
  169. package/dist/chunks/segmented-control.CEt2dz4n.js.map +1 -0
  170. package/dist/chunks/{selection-card-group.emQVruZd.js → selection-card-group.DHXtJpoB.js} +11 -11
  171. package/dist/chunks/selection-card-group.DHXtJpoB.js.map +1 -0
  172. package/dist/chunks/{sidepanel.DcrakBM9.js → sidepanel._30g8POM.js} +6 -6
  173. package/dist/chunks/sidepanel._30g8POM.js.map +1 -0
  174. package/dist/chunks/{step.Ch6oovwT.js → step.5_ZukVqJ.js} +2 -2
  175. package/dist/chunks/{step.Ch6oovwT.js.map → step.5_ZukVqJ.js.map} +1 -1
  176. package/dist/chunks/{structured-list-item.exe4zQXe.js → structured-list-item.CBzznwcF.js} +3 -3
  177. package/dist/chunks/{structured-list-item.exe4zQXe.js.map → structured-list-item.CBzznwcF.js.map} +1 -1
  178. package/dist/chunks/{summary-grid.types.BYqz5zdo.js → summary-grid.types.BR_EGvRg.js} +4 -4
  179. package/dist/chunks/{summary-grid.types.BYqz5zdo.js.map → summary-grid.types.BR_EGvRg.js.map} +1 -1
  180. package/dist/chunks/{tab.Bat55rEc.js → tab.D_k5AVHk.js} +4 -4
  181. package/dist/chunks/tab.D_k5AVHk.js.map +1 -0
  182. package/dist/chunks/{table-of-contents.DIDNJXqh.js → table-of-contents.CJ2yMbAG.js} +15 -15
  183. package/dist/chunks/table-of-contents.CJ2yMbAG.js.map +1 -0
  184. package/dist/chunks/tag.BE1j0Oid.js +69 -0
  185. package/dist/chunks/tag.BE1j0Oid.js.map +1 -0
  186. package/dist/chunks/{textarea.-owTWdhj.js → textarea.BYshPd98.js} +4 -4
  187. package/dist/chunks/textarea.BYshPd98.js.map +1 -0
  188. package/dist/chunks/{timeline-item.DvlhZ_-D.js → timeline-item.Sy_DSw6p.js} +9 -9
  189. package/dist/chunks/{timeline-item.DvlhZ_-D.js.map → timeline-item.Sy_DSw6p.js.map} +1 -1
  190. package/dist/chunks/title-details.C4ZvxPMu.js +144 -0
  191. package/dist/chunks/title-details.C4ZvxPMu.js.map +1 -0
  192. package/dist/chunks/{toast.N4m58lr8.js → toast.u5Y_CGe_.js} +2 -2
  193. package/dist/chunks/{toast.N4m58lr8.js.map → toast.u5Y_CGe_.js.map} +1 -1
  194. package/dist/chunks/{toggle.BqQ7NGMb.js → toggle.BW8ww0Ih.js} +2 -2
  195. package/dist/chunks/toggle.BW8ww0Ih.js.map +1 -0
  196. package/dist/chunks/tooltip.TFOGHOO0.js.map +1 -1
  197. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CMkHWnq2.js → tutorial.vue_vue_type_script_setup_true_lang.BIP-heAH.js} +2 -2
  198. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CMkHWnq2.js.map → tutorial.vue_vue_type_script_setup_true_lang.BIP-heAH.js.map} +1 -1
  199. package/dist/chunks/use-bento-toast-controller.BAoPbtq7.js.map +1 -1
  200. package/dist/chunks/{use-date-input-formatter.DTQ7YmPb.js → use-date-input-formatter._ik1DYYV.js} +2 -2
  201. package/dist/chunks/{use-date-input-formatter.DTQ7YmPb.js.map → use-date-input-formatter._ik1DYYV.js.map} +1 -1
  202. package/dist/chunks/use-dynamic-date-fns-locale.BMO9rsEh.js +39 -0
  203. package/dist/chunks/use-dynamic-date-fns-locale.BMO9rsEh.js.map +1 -0
  204. package/dist/code-snippet.js +1 -1
  205. package/dist/dashboard-template.js +1 -1
  206. package/dist/dashed-underline.js +1 -1
  207. package/dist/data-grid-template.js +1 -1
  208. package/dist/data-grid.js +1 -1
  209. package/dist/date-picker.js +2 -2
  210. package/dist/date-range-picker.js +2 -2
  211. package/dist/date-time-picker.js +4 -4
  212. package/dist/draggable.js +2 -2
  213. package/dist/dropdown.js +2 -2
  214. package/dist/empty-state.js +1 -1
  215. package/dist/file-uploader.js +1 -1
  216. package/dist/filter-bar.js +1 -1
  217. package/dist/form-layout.js +1 -1
  218. package/dist/header-with-views.js +1 -1
  219. package/dist/header.js +1 -1
  220. package/dist/index.js +62 -62
  221. package/dist/input-field-password.js +1 -1
  222. package/dist/input-field-phone-number.js +1 -1
  223. package/dist/input-field.js +1 -1
  224. package/dist/input-time.js +1 -1
  225. package/dist/inspector.js +2 -2
  226. package/dist/internal.js +10 -10
  227. package/dist/link.js +1 -1
  228. package/dist/list.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/navigation-menu.js +1 -1
  233. package/dist/pagination.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/progress-bar.js +6 -6
  236. package/dist/progress-bar.js.map +1 -1
  237. package/dist/promo-banner.js +1 -1
  238. package/dist/radio-group.js +1 -1
  239. package/dist/rich-text-editor.js +1 -1
  240. package/dist/search-bar.js +2 -2
  241. package/dist/secondary-nav.js +1 -1
  242. package/dist/segmented-control.js +1 -1
  243. package/dist/selection-card.js +1 -1
  244. package/dist/sidepanel.js +1 -1
  245. package/dist/stepper.js +1 -1
  246. package/dist/structured-list.js +1 -1
  247. package/dist/styles/bento-dark.css +3 -3
  248. package/dist/styles/bento-light.css +4 -4
  249. package/dist/styles/bento.css +4 -4
  250. package/dist/styles/legacy.css +4 -4
  251. package/dist/styles/styleguide.css +4 -4
  252. package/dist/styles/utility.css +4 -4
  253. package/dist/summary-grid.js +1 -1
  254. package/dist/table-of-contents.js +1 -1
  255. package/dist/tabs.js +1 -1
  256. package/dist/tag.js +1 -1
  257. package/dist/textarea.js +1 -1
  258. package/dist/timeline.js +1 -1
  259. package/dist/toast.js +1 -1
  260. package/dist/toggle.js +1 -1
  261. package/dist/tutorial.js +1 -1
  262. package/dist/web-types.json +2 -2
  263. package/package.json +6 -6
  264. package/dist/chunks/accordion-item.CDqXAJ_o.js.map +0 -1
  265. package/dist/chunks/action-bar.Y0-Y1Lxb.js.map +0 -1
  266. package/dist/chunks/ai-tag.BQQA6de2.js.map +0 -1
  267. package/dist/chunks/anchor-scroller.B2TgWdCo.js.map +0 -1
  268. package/dist/chunks/base-modal.CD51pnsZ.js +0 -433
  269. package/dist/chunks/base-modal.CD51pnsZ.js.map +0 -1
  270. package/dist/chunks/calendar.Dndck6oT.js.map +0 -1
  271. package/dist/chunks/card.DKvGbswE.js +0 -224
  272. package/dist/chunks/card.DKvGbswE.js.map +0 -1
  273. package/dist/chunks/checkbox-group.BqLVduAB.js.map +0 -1
  274. package/dist/chunks/checkbox.OqIysGJA.js.map +0 -1
  275. package/dist/chunks/cross-circle-fill-small.ganKvfe0.js.map +0 -1
  276. package/dist/chunks/data-grid.oiH-QM7_.js.map +0 -1
  277. package/dist/chunks/date-picker.94wdYFML.js.map +0 -1
  278. package/dist/chunks/dropdown.DivEbn7p.js.map +0 -1
  279. package/dist/chunks/file-uploader.BuOQRa-V.js.map +0 -1
  280. package/dist/chunks/filter-bar.B14faBNI.js.map +0 -1
  281. package/dist/chunks/info-icon-with-popover.CLGZteKS.js.map +0 -1
  282. package/dist/chunks/input-field-password.BPjmZ2vh.js.map +0 -1
  283. package/dist/chunks/input-field.DgQG5TCW.js.map +0 -1
  284. package/dist/chunks/inspector.CEiwH5Pt.js.map +0 -1
  285. package/dist/chunks/link.DHhC2vrX.js.map +0 -1
  286. package/dist/chunks/modal-fullscreen.DtG6vHhq.js.map +0 -1
  287. package/dist/chunks/navigation-menu-group.E-24hOWI.js.map +0 -1
  288. package/dist/chunks/pagination.B2Kgh-MF.js.map +0 -1
  289. package/dist/chunks/radio-group.BANaG-Fa.js.map +0 -1
  290. package/dist/chunks/secondary-nav.DOgZJUTd.js.map +0 -1
  291. package/dist/chunks/segmented-control.6XApEjVS.js.map +0 -1
  292. package/dist/chunks/selection-card-group.emQVruZd.js.map +0 -1
  293. package/dist/chunks/sidepanel.DcrakBM9.js.map +0 -1
  294. package/dist/chunks/tab.Bat55rEc.js.map +0 -1
  295. package/dist/chunks/table-of-contents.DIDNJXqh.js.map +0 -1
  296. package/dist/chunks/tag.DmGI_QZ-.js +0 -63
  297. package/dist/chunks/tag.DmGI_QZ-.js.map +0 -1
  298. package/dist/chunks/textarea.-owTWdhj.js.map +0 -1
  299. package/dist/chunks/title-details.DoGThvsa.js +0 -176
  300. package/dist/chunks/title-details.DoGThvsa.js.map +0 -1
  301. package/dist/chunks/toggle.BqQ7NGMb.js.map +0 -1
@@ -1,433 +0,0 @@
1
- import { defineComponent as G, useSlots as X, ref as m, computed as d, inject as ue, watch as U, nextTick as re, onUnmounted as me, openBlock as y, createBlock as E, normalizeClass as K, createSlots as Z, withCtx as n, createElementVNode as b, normalizeStyle as C, unref as a, renderSlot as u, createCommentVNode as T, createVNode as H, useAttrs as ge, onMounted as ve, provide as B, toRefs as pe, createElementBlock as fe, withKeys as _e, withDirectives as be } from "vue";
2
- import { B as ye } from "./button.D6d4P8nC.js";
3
- import { B as Le } from "./focus-trap.Co-S6goa.js";
4
- import { u as x } from "./use-has-slot.CyMiImRQ.js";
5
- import { u as he } from "./index.B875RXHM.js";
6
- import { l as Ce } from "./button-actions.BjSTWgNC.js";
7
- import { g as Ee } from "./generate-uid.DBWe4g6T.js";
8
- import { B as Ae } from "./directive.D1-d-C2K.js";
9
- import { _ as Oe } from "./cross.Daa8LxjC.js";
10
- import { B as Ie, D as ke, a as Pe } from "./dialog-page.keys.Dym9e6k3.js";
11
- import { B as V } from "./typography.wIM07Hbl.js";
12
- import { F as Se } from "./footer-actions.NpAByudT.js";
13
- import { D as De } from "./dialog-page.yakmJ6Bc.js";
14
- import { o as Be } from "./resize.Bqks3WUm.js";
15
- import { G as Te, a as Ne } from "./grid-layout.CCWNscU_.js";
16
- import { _ as ee } from "./_plugin-vue_export-helper.CHgC5LLL.js";
17
- import "../assets/base-modal.css";
18
- var Ge = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.DIALOG = "dialog", e))(Ge || {}), Fe = /* @__PURE__ */ ((e) => (e.DEFAULT = "BentoModalDefault", e.DIALOG = "BentoModalDialog", e))(Fe || {}), N = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(N || {}), I = /* @__PURE__ */ ((e) => (e.SMALLER = "smaller", e.EQUAL = "equal", e.BIGGER = "bigger", e))(I || {}), Y = /* @__PURE__ */ ((e) => (e.DIALOG = "dialog", e.ALERT_DIALOG = "alertdialog", e))(Y || {}), Re = /* @__PURE__ */ ((e) => (e.CONFIRMATION = "confirmation", e.DESTRUCTIVE = "destructive", e.INFO = "info", e.ACKNOWLEDGEMENT = "acknowledgement", e))(Re || {}), we = /* @__PURE__ */ ((e) => (e.CLOSE_MODAL = "close-modal", e))(we || {});
19
- const ae = {
20
- "de-DE": { ariaLabelFallback: "Modal", close: "Schließen" },
21
- "en-GB": { ariaLabelFallback: "modal", close: "Close" },
22
- "en-US": { ariaLabelFallback: "modal", close: "Close" },
23
- "es-419": { ariaLabelFallback: "modal", close: "Cerrar" },
24
- "es-ES": { ariaLabelFallback: "modal", close: "Cerrar" },
25
- "es-MX": { ariaLabelFallback: "modal", close: "Cerrar" },
26
- "fr-FR": { ariaLabelFallback: "fenêtre modale", close: "Fermer" },
27
- "it-IT": { ariaLabelFallback: "modale", close: "Chiudi" },
28
- "ja-JP": { ariaLabelFallback: "モーダル", close: "閉じる" },
29
- "pt-BR": { ariaLabelFallback: "modal", close: "Fechar" },
30
- "zh-CN": { ariaLabelFallback: "模态", close: "关闭" }
31
- }, te = /* @__PURE__ */ Symbol("modal config data injection key"), $e = { class: "b-modal-page__header" }, Me = {
32
- "aria-label": "modal actions",
33
- class: "b-modal-page__actions"
34
- }, ze = G({}), Ue = /* @__PURE__ */ G({
35
- ...ze,
36
- __name: "modal-page",
37
- props: {
38
- actions: { default: null },
39
- actionsLabel: { default: null },
40
- columnsSize: { default: I.SMALLER },
41
- customPadding: { default: null },
42
- destructiveActions: { type: Boolean, default: !1 },
43
- withColumnLayout: { type: Boolean, default: !1 },
44
- pageId: { default: void 0 },
45
- previousPage: { default: void 0 }
46
- },
47
- setup(e) {
48
- const F = X(), c = x(F), v = m(null), o = e, R = d(() => ({
49
- "b-modal-page--custom-padding": o.customPadding
50
- })), p = d(() => ({
51
- "b-modal-page__content--with-header": c("default"),
52
- "b-modal-page__content--with-actions": c("actions") || o.actions?.length
53
- })), i = d(() => {
54
- if (!o.customPadding)
55
- return {};
56
- const l = {
57
- paddingLeft: o.customPadding,
58
- paddingRight: o.customPadding
59
- }, r = { ...l, paddingTop: void 0, paddingBottom: void 0 };
60
- return c("default") || (r.paddingTop = o.customPadding), c("actions") || (r.paddingBottom = o.customPadding), {
61
- header: {
62
- ...l,
63
- paddingTop: o.customPadding,
64
- paddingRight: `${parseInt(o.customPadding, 10) + 26}px`,
65
- flex: 1
66
- },
67
- content: r,
68
- actions: { ...l, paddingBottom: o.customPadding },
69
- backButton: { top: o.customPadding, paddingLeft: o.customPadding }
70
- };
71
- }), f = d(() => o.withColumnLayout && $.value === N.LARGE), k = d(() => o.columnsSize === I.SMALLER ? [
72
- { small: 4, medium: 4, large: 4 },
73
- { small: 8, medium: 8, large: 8 }
74
- ] : o.columnsSize === I.BIGGER ? [
75
- { small: 8, medium: 8, large: 8 },
76
- { small: 4, medium: 4, large: 4 }
77
- ] : [
78
- { small: 6, medium: 6, large: 6 },
79
- { small: 6, medium: 6, large: 6 }
80
- ]), { activePage: _, height: t, isAnimationActive: A, pageCustomPadding: L, showCloseButton: w, size: $ } = ue(te), M = d(() => _.value === o.pageId || !_.value);
81
- let O = null;
82
- return U(
83
- () => _.value,
84
- async (l, r) => {
85
- M.value && (await re(), t.value = `${v.value?.$el?.clientHeight}px`, L.value = o.customPadding, A.value = r !== void 0, O = Be(v.value, () => {
86
- const g = `${v.value?.$el?.clientHeight}px`;
87
- g && g !== t.value && (t.value = g);
88
- }));
89
- },
90
- { immediate: !0 }
91
- ), me(() => {
92
- O?.disconnect();
93
- }), (l, r) => (y(), E(De, {
94
- ref_key: "page",
95
- ref: v,
96
- class: K(["b-modal-page", R.value]),
97
- "page-id": l.pageId,
98
- "always-show-border": f.value,
99
- "back-button-styling": i.value?.backButton,
100
- "previous-page": l.previousPage,
101
- onAnimationend: r[0] || (r[0] = (g) => A.value = !1)
102
- }, Z({
103
- content: n(() => [
104
- b("div", {
105
- class: K(["b-modal-page__content", p.value]),
106
- style: C(i.value.content)
107
- }, [
108
- a(c)("content") || a(c)("content-col-1") && a(c)("content-col-2") ? (y(), E(a(V), {
109
- key: 0,
110
- el: "div"
111
- }, {
112
- default: n(() => [
113
- f.value ? (y(), E(a(Te), {
114
- key: 0,
115
- "column-width": k.value,
116
- "container-type": a(Ne).NORMAL,
117
- "no-gap": "",
118
- class: "b-modal-page__grid"
119
- }, {
120
- "col-1": n(() => [
121
- u(l.$slots, "content-col-1", {}, void 0, !0)
122
- ]),
123
- "col-2": n(() => [
124
- u(l.$slots, "content-col-2", {}, void 0, !0)
125
- ]),
126
- _: 3
127
- }, 8, ["column-width", "container-type"])) : u(l.$slots, "content", { key: 1 }, void 0, !0)
128
- ]),
129
- _: 3
130
- })) : T("", !0)
131
- ], 6)
132
- ]),
133
- _: 2
134
- }, [
135
- a(c)("default") || a(w) ? {
136
- name: "header",
137
- fn: n(() => [
138
- b("div", {
139
- class: "b-modal-page__header-container",
140
- style: C(i.value.header)
141
- }, [
142
- b("div", $e, [
143
- H(a(V), {
144
- class: "b-modal-page__title",
145
- el: "span",
146
- variant: "title",
147
- stronger: ""
148
- }, {
149
- default: n(() => [
150
- a(c)("default") ? u(l.$slots, "default", { key: 0 }, void 0, !0) : T("", !0)
151
- ]),
152
- _: 3
153
- })
154
- ])
155
- ], 4)
156
- ]),
157
- key: "0"
158
- } : void 0,
159
- a(c)("actions") ? {
160
- name: "footer",
161
- fn: n(() => [
162
- b("div", {
163
- class: "b-modal-page__actions-container",
164
- style: C(i.value.actions)
165
- }, [
166
- b("div", Me, [
167
- u(l.$slots, "actions", {}, void 0, !0)
168
- ])
169
- ], 4)
170
- ]),
171
- key: "1"
172
- } : l.actions && l.actions.length > 0 ? {
173
- name: "footer",
174
- fn: n(() => [
175
- b("div", {
176
- class: "b-modal-page__actions-container",
177
- style: C(i.value.actions)
178
- }, [
179
- H(a(Se), {
180
- actions: l.actions,
181
- "actions-label": l.actionsLabel,
182
- "destructive-actions": l.destructiveActions
183
- }, null, 8, ["actions", "actions-label", "destructive-actions"])
184
- ], 4)
185
- ]),
186
- key: "2"
187
- } : void 0
188
- ]), 1032, ["class", "page-id", "always-show-border", "back-button-styling", "previous-page"]));
189
- }
190
- }), Ke = /* @__PURE__ */ ee(Ue, [["__scopeId", "data-v-16a88a6c"]]), He = { class: "b-modal-base" }, Ye = ["role", "aria-label", "open"], Je = G({
191
- i18n: { messages: ae },
192
- name: "base-modal"
193
- }), qe = /* @__PURE__ */ G({
194
- ...Je,
195
- props: {
196
- /**
197
- * List of actions that will be used to render the buttons.
198
- * First element in the list will be rendered as "primary".
199
- * All elements after the first will be rendered as "secondary".
200
- * But you may change the color of 1-st action to red with 'critial' key
201
- * Not more than 3 action buttons can be provided
202
- * Or 2 action buttons and 1 Label for them
203
- *
204
- * Each object in the list should have a `title`, an `event` and
205
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
206
- *
207
- * `title`: Button's text.
208
- *
209
- * `event`: Event triggered when clicking the Button.
210
- *
211
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
212
- *
213
- * ```
214
- * [{
215
- * title: 'Primary',2
216
- * event: () => { ... },
217
- * icon: FourPeopleIcon
218
- * }, {
219
- * title: 'Secondary',
220
- * event: () => { ... }
221
- * }]
222
- * ```
223
- */
224
- actions: {
225
- type: Array,
226
- default: null
227
- },
228
- /**
229
- * The id of the current active page
230
- * Should be the same id as the BentoModalPage to be displayed
231
- */
232
- activePage: {
233
- type: String,
234
- default: null
235
- },
236
- /**
237
- * 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.
238
- */
239
- columnsSize: {
240
- type: String,
241
- default: I.SMALLER
242
- },
243
- /**
244
- * If provided, manages the padding of the whole modal container
245
- */
246
- customPadding: { type: String, default: null },
247
- /**
248
- * If passed - sets first button color to red
249
- */
250
- destructiveActions: { type: Boolean, default: !1 },
251
- /**
252
- * Hides a cross icon on the right side of the title
253
- */
254
- hideCloseButton: { type: Boolean, required: !0 },
255
- /**
256
- * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.
257
- */
258
- initiallyOpen: { type: Boolean, default: !1 },
259
- /**
260
- * If set to true, it allows the modal to be closed by clicking outside of it
261
- */
262
- isDismissible: { type: Boolean, required: !0 },
263
- /**
264
- * Controls the modal's state from the outside. Set it to true to open the modal
265
- */
266
- isOpen: { type: Boolean, required: !0 },
267
- /**
268
- * Defines whether the modal will be an alert modal
269
- */
270
- modalRole: { type: String, default: Y.DIALOG },
271
- /**
272
- * Sets the width of the modal
273
- */
274
- size: {
275
- type: String,
276
- default: N.SMALL
277
- },
278
- /**
279
- * If provided, renders the modal's content in a two-column layout an wth dividers separating its content
280
- */
281
- withColumnLayout: { type: Boolean, default: !1 }
282
- },
283
- emits: ["update:active-page", "close-modal"],
284
- setup(e, { expose: J, emit: F }) {
285
- const { t: v } = he({ messages: ae }), o = X(), R = ge(), p = x(o), i = m(null), f = m(!1), k = Ee("modal"), _ = F, t = e, A = d(() => t.isDismissible && !t.hideCloseButton), L = m(t.customPadding), w = d(() => L.value ? { top: L.value, right: L.value } : {}), $ = d(() => R["aria-label"] ?? v("ariaLabelFallback")), M = d(() => t.withColumnLayout && t.size === N.LARGE), O = () => {
286
- i.value.showModal();
287
- }, l = () => {
288
- _("close-modal");
289
- }, r = () => {
290
- f.value && i.value && (i.value.close(), h.value[0] && _("update:active-page", h.value[0]), h.value = [], f.value = !1, l());
291
- }, g = () => {
292
- i.value.open && (f.value = !0);
293
- }, P = (s) => {
294
- s && s.preventDefault(), !(!t.isDismissible && t.modalRole === Y.DIALOG) && g();
295
- }, oe = () => {
296
- t.isDismissible && P();
297
- }, le = d(() => ({
298
- [`b-modal-base__container--${t.size}`]: t.size,
299
- "b-modal-base__container--hide": f.value,
300
- "b-modal-base__container--column-layout": M.value,
301
- "b-modal-base__container--animation": Q.value
302
- }));
303
- U(
304
- () => [t.isOpen, i.value],
305
- ([s, D], [, de]) => {
306
- if (!D)
307
- return;
308
- s ? (O(), h.value.length || h.value.push(z.value)) : !de || g();
309
- }
310
- ), U(
311
- () => t.actions,
312
- () => {
313
- t.actions?.[0]?.state === "success" && setTimeout(g, 500);
314
- },
315
- { deep: !0 }
316
- ), ve(() => {
317
- t.isOpen && i.value && O();
318
- }), J({
319
- internalModalActionClose: P
320
- }), B(Ce, k);
321
- const { activePage: z, isOpen: q, size: W } = pe(t), se = m(Ie.TRANSITION_LEVEL_DEEPER), S = m([]), h = m([]), ne = (s) => _("update:active-page", s), ie = (s) => () => {
322
- S.value = S.value?.filter((D) => D !== s);
323
- }, ce = (s) => (s && S.value.push(s), { unregisterPage: ie(s) }), j = m(""), Q = m(!1);
324
- return B(te, {
325
- activePage: z,
326
- height: j,
327
- isAnimationActive: Q,
328
- pageCustomPadding: L,
329
- showCloseButton: A,
330
- size: W
331
- }), B(ke, {
332
- activePage: z,
333
- animation: se,
334
- isOpen: q,
335
- pages: S,
336
- previousPages: h,
337
- updatePage: ne
338
- }), B(Pe, ce), (s, D) => (y(), fe("div", He, [
339
- b("dialog", {
340
- ref_key: "modal",
341
- ref: i,
342
- role: e.modalRole,
343
- "aria-label": $.value,
344
- style: C({ height: j.value }),
345
- class: K(["b-modal-base__container", le.value]),
346
- open: e.initiallyOpen,
347
- onAnimationend: r,
348
- onKeydown: _e(P, ["esc"])
349
- }, [
350
- a(q) || e.initiallyOpen ? be((y(), E(a(Le), {
351
- key: 0,
352
- id: a(k)
353
- }, {
354
- default: n(() => [
355
- A.value ? (y(), E(a(ye), {
356
- key: 0,
357
- class: "b-modal-base__close-button",
358
- variant: "tertiary",
359
- type: "button",
360
- style: C(w.value),
361
- onClick: P
362
- }, {
363
- default: n(() => [
364
- H(a(Oe), {
365
- "svg-title": a(v)("close")
366
- }, null, 8, ["svg-title"])
367
- ]),
368
- _: 1
369
- }, 8, ["style"])) : T("", !0),
370
- t.activePage ? u(s.$slots, "default", { key: 1 }, void 0, !0) : (y(), E(a(Ke), {
371
- key: 2,
372
- "with-column-layout": e.withColumnLayout,
373
- size: a(W),
374
- "custom-padding": e.customPadding,
375
- "columns-size": e.columnsSize
376
- }, Z({ _: 2 }, [
377
- a(p)("default") ? {
378
- name: "default",
379
- fn: n(() => [
380
- u(s.$slots, "default", {}, void 0, !0)
381
- ]),
382
- key: "0"
383
- } : void 0,
384
- a(p)("content-col-1") ? {
385
- name: "content-col-1",
386
- fn: n(() => [
387
- u(s.$slots, "content-col-1", {}, void 0, !0)
388
- ]),
389
- key: "1"
390
- } : void 0,
391
- a(p)("content-col-2") ? {
392
- name: "content-col-2",
393
- fn: n(() => [
394
- u(s.$slots, "content-col-2", {}, void 0, !0)
395
- ]),
396
- key: "2"
397
- } : void 0,
398
- a(p)("content") ? {
399
- name: "content",
400
- fn: n(() => [
401
- u(s.$slots, "content", {}, void 0, !0)
402
- ]),
403
- key: "3"
404
- } : void 0,
405
- a(p)("actions") ? {
406
- name: "actions",
407
- fn: n(() => [
408
- u(s.$slots, "actions", {}, void 0, !0)
409
- ]),
410
- key: "4"
411
- } : void 0
412
- ]), 1032, ["with-column-layout", "size", "custom-padding", "columns-size"]))
413
- ]),
414
- _: 3
415
- }, 8, ["id"])), [
416
- [a(Ae), oe]
417
- ]) : T("", !0)
418
- ], 46, Ye)
419
- ]));
420
- }
421
- }), ua = /* @__PURE__ */ ee(qe, [["__scopeId", "data-v-e95be378"]]);
422
- export {
423
- I as B,
424
- Re as a,
425
- we as b,
426
- Ke as c,
427
- Y as d,
428
- N as e,
429
- Ge as f,
430
- Fe as g,
431
- ua as h
432
- };
433
- //# sourceMappingURL=base-modal.CD51pnsZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-modal.CD51pnsZ.js","sources":["../../../vue2/src/components/modal/modal.types.ts","../../../vue2/src/components/modal/modal.keys.ts","../../../vue2/src/components/modal/components/modal-page/modal-page.vue","../../../vue2/src/components/modal/components/base-modal/base-modal.vue"],"sourcesContent":["/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoModalVariant {\n DEFAULT = 'default',\n DIALOG = 'dialog',\n}\n\n/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoModalVariantMapping {\n DEFAULT = 'BentoModalDefault',\n DIALOG = 'BentoModalDialog',\n}\n\n/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoModalSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoModalColumnLayoutVariant {\n SMALLER = 'smaller',\n EQUAL = 'equal',\n BIGGER = 'bigger',\n}\n\nexport enum BentoModalRole {\n DIALOG = 'dialog',\n ALERT_DIALOG = 'alertdialog',\n}\n\n/**\n * @deprecated Since v2.0.0. Use string literal instead.\n */\nexport enum BentoModalDialogType {\n CONFIRMATION = 'confirmation',\n DESTRUCTIVE = 'destructive',\n INFO = 'info',\n ACKNOWLEDGEMENT = 'acknowledgement',\n}\n\nexport enum BentoModalEvent {\n CLOSE_MODAL = 'close-modal',\n}\n","export const MODAL_CONFIG_INJECTION_KEY = Symbol('modal config data injection key');\n","<template>\n <dialog-page\n ref=\"page\"\n class=\"b-modal-page\"\n :class=\"modalPageConditionalClasses\"\n :page-id=\"pageId\"\n :always-show-border=\"hasColumnLayout\"\n :back-button-styling=\"customPaddingStyles?.backButton\"\n :previous-page=\"previousPage\"\n @animationend=\"isAnimationActive = false\"\n >\n <template v-if=\"hasSlot('default') || showCloseButton\" #header>\n <div class=\"b-modal-page__header-container\" :style=\"customPaddingStyles.header\">\n <div class=\"b-modal-page__header\">\n <bento-typography class=\"b-modal-page__title\" el=\"span\" variant=\"title\" stronger>\n <slot v-if=\"hasSlot('default')\" />\n </bento-typography>\n </div>\n </div>\n </template>\n\n <template #content>\n <div\n class=\"b-modal-page__content\"\n :class=\"modalContentConditionalClasses\"\n :style=\"customPaddingStyles.content\"\n >\n <bento-typography\n v-if=\"hasSlot('content') || (hasSlot('content-col-1') && hasSlot('content-col-2'))\"\n el=\"div\"\n >\n <grid-layout\n v-if=\"hasColumnLayout\"\n :column-width=\"computedColumnWidth\"\n :container-type=\"GridLayoutContainerType.NORMAL\"\n no-gap\n class=\"b-modal-page__grid\"\n >\n <template #col-1><slot name=\"content-col-1\"></slot></template>\n <template #col-2><slot name=\"content-col-2\"></slot></template>\n </grid-layout>\n <slot v-else name=\"content\" />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"hasSlot('actions')\" #footer>\n <div class=\"b-modal-page__actions-container\" :style=\"customPaddingStyles.actions\">\n <div aria-label=\"modal actions\" class=\"b-modal-page__actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n </template>\n <template v-else-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-modal-page__actions-container\" :style=\"customPaddingStyles.actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, inject, nextTick, onUnmounted, ref, useSlots, watch } from 'vue';\n import { BentoModalColumnLayoutVariant, BentoModalSize } from '@/components/modal/modal.types';\n import { type BentoModalConfigData } from '@/components/modal/modal.internal.types';\n import { BentoTypography } from '@/components/typography';\n import { GridLayout, GridLayoutContainerType } from '@/internal';\n import { useHasSlot } from '@/composables';\n\n import { FooterActions } from '@/components/internal/footer-actions';\n\n import DialogPage from '@/internal/dialog-page/dialog-page.vue';\n import { MODAL_CONFIG_INJECTION_KEY } from '../../modal.keys';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n import type { BentoModalPageProps } from './modal-page.types';\n\n const CLOSE_BUTTON_ICON_WIDTH = 26;\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const page = ref<InstanceType<typeof DialogPage>>(null);\n\n const props = withDefaults(defineProps<BentoModalPageProps>(), {\n actions: null,\n actionsLabel: null,\n columnsSize: BentoModalColumnLayoutVariant.SMALLER,\n customPadding: null,\n destructiveActions: false,\n withColumnLayout: false,\n pageId: undefined,\n previousPage: undefined,\n });\n\n const modalPageConditionalClasses = computed(() => ({\n 'b-modal-page--custom-padding': props.customPadding,\n }));\n\n const modalContentConditionalClasses = computed(() => ({\n 'b-modal-page__content--with-header': hasSlot('default'),\n 'b-modal-page__content--with-actions': hasSlot('actions') || props.actions?.length,\n }));\n\n // Setting custom padding styles\n const customPaddingStyles = computed(() => {\n if (!props.customPadding) {\n return {};\n }\n\n const xPadding = {\n paddingLeft: props.customPadding,\n paddingRight: props.customPadding,\n };\n\n const content = { ...xPadding, paddingTop: undefined, paddingBottom: undefined };\n\n if (!hasSlot('default')) {\n content.paddingTop = props.customPadding;\n }\n\n if (!hasSlot('actions')) {\n content.paddingBottom = props.customPadding;\n }\n\n return {\n header: {\n ...xPadding,\n paddingTop: props.customPadding,\n paddingRight: `${parseInt(props.customPadding, 10) + CLOSE_BUTTON_ICON_WIDTH}px`,\n flex: 1,\n },\n content,\n actions: { ...xPadding, paddingBottom: props.customPadding },\n backButton: { top: props.customPadding, paddingLeft: props.customPadding },\n };\n });\n\n // Column layout styles\n const hasColumnLayout = computed(() => props.withColumnLayout && size.value === BentoModalSize.LARGE);\n\n const computedColumnWidth = computed(() => {\n if (props.columnsSize === BentoModalColumnLayoutVariant.SMALLER) {\n return [\n { small: 4, medium: 4, large: 4 },\n { small: 8, medium: 8, large: 8 },\n ];\n }\n if (props.columnsSize === BentoModalColumnLayoutVariant.BIGGER) {\n return [\n { small: 8, medium: 8, large: 8 },\n { small: 4, medium: 4, large: 4 },\n ];\n }\n return [\n { small: 6, medium: 6, large: 6 },\n { small: 6, medium: 6, large: 6 },\n ];\n });\n\n // Register page to parent component and inject data from parent component\n const { activePage, height, isAnimationActive, pageCustomPadding, showCloseButton, size } =\n inject<BentoModalConfigData>(MODAL_CONFIG_INJECTION_KEY);\n\n const isCurrentPage = computed(() => activePage.value === props.pageId || !activePage.value);\n\n // Animation\n // Set resize observer on mount of update the height of the dialog on resize\n let pageElementObserver: ResizeObserver | null = null;\n\n // Watching activePage changes to set the height of the page and set isAnimationActive\n watch(\n () => activePage.value,\n async (value, oldValue) => {\n if (isCurrentPage.value) {\n await nextTick();\n height.value = `${page.value?.$el?.clientHeight}px`;\n pageCustomPadding.value = props.customPadding;\n // only set isAnimationActive to true if its going from two different pages and not from null to the first page\n isAnimationActive.value = oldValue !== undefined;\n\n pageElementObserver = observeSizeOfElement(page.value, () => {\n const pageHeight = `${page.value?.$el?.clientHeight}px`;\n if (pageHeight && pageHeight !== height.value) {\n height.value = pageHeight;\n }\n });\n }\n },\n { immediate: true }\n );\n\n // Disconnect observer on unmounting the page\n onUnmounted(() => {\n pageElementObserver?.disconnect();\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * ModalPage is used to render different pages of the Modal component\n *\n * @example\n * import { BentoModal, BentoModalPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoModal, BentoModalPage },\n * template: `\n * <bento-modal active-page='page1' :is-open='true'>\n * <bento-modal-page\n * pageId='page1'\n * actions-label='Move to next page'\n * :actions=\"[\n * {\n * title: 'Next page',\n * event: () => {\n * activePage.value = 'page2';\n * },\n * }]\">\n * Page 1\n * <template #content>\n * Page 1 content\n * </template>\n * </bento-modal-page>\n * <bento-modal-page\n * pageId='page2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Page 2\n * <template #content>\n * Page 2 content\n * </template>\n * </bento-modal-page>\n * </bento-modal>\n * `\n * }\n */\n export default defineComponent({});\n</script>\n\n<style lang=\"scss\" scoped src=\"./modal-page.scss\" />\n","<template>\n <div class=\"b-modal-base\">\n <dialog\n ref=\"modal\"\n :role=\"modalRole\"\n :aria-label=\"computedAriaLabel\"\n :style=\"{ height: height }\"\n class=\"b-modal-base__container\"\n :class=\"modalConditionalClasses\"\n :open=\"initiallyOpen\"\n @animationend=\"closeModalAfterAnimation\"\n @keydown.esc=\"internalModalActionClose\"\n >\n <bento-focus-trap\n v-if=\"isOpen || initiallyOpen\"\n :id=\"modalId\"\n v-bento-click-outside-directive=\"closeModalOnClickOutside\"\n >\n <bento-button\n v-if=\"showCloseButton\"\n class=\"b-modal-base__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n :style=\"customPaddingStyles\"\n @click=\"internalModalActionClose\"\n >\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n <template v-if=\"props.activePage\">\n <slot />\n </template>\n <bento-modal-page\n v-else\n :with-column-layout=\"withColumnLayout\"\n :size=\"size\"\n :custom-padding=\"customPadding\"\n :columns-size=\"columnsSize\"\n >\n <template v-if=\"hasSlot('default')\" #default>\n <slot></slot>\n </template>\n <template v-if=\"hasSlot('content-col-1')\" #content-col-1\n ><slot name=\"content-col-1\"></slot\n ></template>\n <template v-if=\"hasSlot('content-col-2')\" #content-col-2\n ><slot name=\"content-col-2\"></slot\n ></template>\n <template v-if=\"hasSlot('content')\" #content><slot name=\"content\"></slot></template>\n <template v-if=\"hasSlot('actions')\" #actions><slot name=\"actions\"></slot></template>\n </bento-modal-page>\n </bento-focus-trap>\n </dialog>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import {\n computed,\n defineComponent,\n onMounted,\n type PropType,\n provide,\n ref,\n toRefs,\n useAttrs,\n useSlots,\n watch,\n } from 'vue';\n import { BentoModalColumnLayoutVariant, BentoModalRole, BentoModalSize } from '@/components/modal/modal.types';\n import { type BentoModalConfigData } from '@/components/modal/modal.internal.types';\n import { BentoButton, type BentoButtonActionsList } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import { MODAL_DIALOG_ID_INJECTION_KEY } from '@/components/modal/components/base-modal/base-modal.keys';\n import { generateUid } from '@/core/utils/ts';\n import { BentoClickOutsideDirective as vBentoClickOutsideDirective } from '@/directives/click-outside';\n import messages from './messages.json';\n\n import { BentoModalPage } from '@/components/modal/components/modal-page';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { MODAL_CONFIG_INJECTION_KEY } from '../../modal.keys';\n import {\n BentoDialogPageAnimation,\n type BentoDialogPageConfigData,\n type BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n type MessageSchema = (typeof messages)['en-US'];\n const LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME = 500;\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const slots = useSlots();\n const attrs = useAttrs();\n const hasSlot = useHasSlot(slots);\n const modal = ref<HTMLDialogElement>(null);\n const isClosing = ref(false);\n const modalId = generateUid('modal');\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: 'update:active-page', page: string): void;\n /**\n * Emitted when the modal is closed.\n */\n (e: 'close-modal');\n }>();\n\n const props = defineProps({\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 /**\n * The id of the current active page\n * Should be the same id as the BentoModalPage to be displayed\n */\n activePage: {\n type: String,\n default: null,\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 * If provided, manages the padding of the whole modal container\n */\n customPadding: { type: String, default: null },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: { type: Boolean, default: false },\n\n /**\n * Hides a cross icon on the right side of the title\n */\n hideCloseButton: { type: Boolean, required: true },\n\n /**\n * Sets the open attribute on the dialog element, use isOpen instead to toggle modal visbility.\n */\n initiallyOpen: { type: Boolean, default: false },\n\n /**\n * If set to true, it allows the modal to be closed by clicking outside of it\n */\n isDismissible: { type: Boolean, required: true },\n\n /**\n * Controls the modal's state from the outside. Set it to true to open the modal\n */\n isOpen: { type: Boolean, required: true },\n\n /**\n * Defines whether the modal will be an alert modal\n */\n modalRole: { type: String, default: BentoModalRole.DIALOG },\n\n /**\n * Sets the width of the modal\n */\n size: {\n type: String as PropType<BentoModalSize | `${BentoModalSize}`>,\n default: BentoModalSize.SMALL,\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: { type: Boolean, default: false },\n });\n\n const showCloseButton = computed(() => props.isDismissible && !props.hideCloseButton);\n\n const pageCustomPadding = ref(props.customPadding);\n\n const customPaddingStyles = computed(() => {\n if (!pageCustomPadding.value) {\n return {};\n }\n\n return { top: pageCustomPadding.value, right: pageCustomPadding.value };\n });\n\n const computedAriaLabel = computed(() => (attrs['aria-label'] as string) ?? (t('ariaLabelFallback') as string));\n const hasColumnLayout = computed(() => props.withColumnLayout && props.size === BentoModalSize.LARGE);\n\n const openModal = (): void => {\n modal.value.showModal();\n };\n\n const emitCloseEvent = (): void => {\n emit('close-modal');\n };\n\n // Handle closing and closing animation for dialog element\n const closeModalAfterAnimation = () => {\n if (isClosing.value && modal.value) {\n modal.value.close();\n if (previousPages.value[0]) {\n emit('update:active-page', previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n emitCloseEvent();\n }\n };\n\n const startCloseModalAnimation = () => {\n if (!modal.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n /**\n * If the user has pressed escape, clicked outside or clicked the close icon.\n * Needs to be called from outside, following the \"dialog.close()\" pattern,\n * when the closing event is triggered outside of the \"base-modal\"\n * component (e.g. from a closing action).\n */\n const internalModalActionClose = (event?: Event) => {\n if (event) {\n event.preventDefault();\n }\n if (!props.isDismissible && props.modalRole === BentoModalRole.DIALOG) {\n return;\n }\n startCloseModalAnimation();\n };\n\n const closeModalOnClickOutside = () => {\n if (props.isDismissible) {\n internalModalActionClose();\n }\n };\n\n const modalConditionalClasses = computed(() => ({\n [`b-modal-base__container--${props.size}`]: props.size,\n 'b-modal-base__container--hide': isClosing.value,\n 'b-modal-base__container--column-layout': hasColumnLayout.value,\n 'b-modal-base__container--animation': isAnimationActive.value,\n }));\n\n watch(\n () => [props.isOpen, modal.value],\n ([newIsOpen, newModalValue], [, oldModalValue]): void => {\n if (!newModalValue) {\n return;\n }\n\n const isFirstMutation = !oldModalValue;\n if (newIsOpen) {\n openModal();\n // add the first page to the array when the modal opens\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (!isFirstMutation) {\n startCloseModalAnimation();\n }\n }\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(startCloseModalAnimation, LOADING_BTN_CLOSE_AFTER_SUCCESS_DELAY_TIME);\n }\n },\n { deep: true }\n );\n\n onMounted(() => {\n if (props.isOpen && modal.value) {\n openModal();\n }\n });\n\n /**\n * Expose methods through its 'ref'\n */\n defineExpose({\n internalModalActionClose,\n });\n\n // Let's Children components know they are inside a Modal (dialog element)\n provide(MODAL_DIALOG_ID_INJECTION_KEY, modalId);\n\n // Modal pagination\n const { activePage, isOpen, size } = toRefs(props);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n\n const pages = ref<Array<string>>([]);\n const previousPages = ref([]);\n\n const updatePage = page => emit('update:active-page', page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n if (pageId) {\n pages.value.push(pageId);\n }\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n const height = ref('');\n const isAnimationActive = ref(false);\n\n provide<BentoModalConfigData>(MODAL_CONFIG_INJECTION_KEY, {\n activePage,\n height,\n isAnimationActive,\n pageCustomPadding,\n showCloseButton,\n size,\n });\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isOpen,\n pages,\n previousPages,\n updatePage,\n });\n\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n</script>\n\n<script lang=\"ts\">\n /**\n * Dialog container. It creates a dialog HTML element for the modal to use.\n *\n * @example\n * import BaseModal from './components/base-modal/base-modal.vue';\n *\n * export default {\n * components: { BaseModal },\n * template: `\n * <base-modal\n * :hide-close-button=\"true\"\n * :is-dismissible=\"false\"\n * :is-open=\"isOpen\"\n * @close-modal=\"isOpen = false\"\n * >\n * <template #content-col-1>\n * // Content on the left side column\n * </template>\n *\n * <template #content-col-2>\n * // Content on the right side column\n * </template>\n *\n * <template v-if=\"actions\" #actions>\n * <footer-actions :actions=\"actions\" />\n * </template>\n * </base-modal>\n * `,\n * setup() {\n * const isOpen = ref(true)\n * const footerActions = [{\n * title: 'Primary action',\n * event: () => { ... }\n * }]\n * }\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'base-modal',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./base-modal.scss\" />\n"],"names":["BentoModalVariant","BentoModalVariant2","BentoModalVariantMapping","BentoModalVariantMapping2","BentoModalSize","BentoModalSize2","BentoModalColumnLayoutVariant","BentoModalColumnLayoutVariant2","BentoModalRole","BentoModalRole2","BentoModalDialogType","BentoModalDialogType2","BentoModalEvent","BentoModalEvent2","MODAL_CONFIG_INJECTION_KEY","__default__$1","defineComponent","slots","useSlots","hasSlot","useHasSlot","page","ref","props","__props","modalPageConditionalClasses","computed","modalContentConditionalClasses","customPaddingStyles","xPadding","content","hasColumnLayout","size","computedColumnWidth","activePage","height","isAnimationActive","pageCustomPadding","showCloseButton","inject","isCurrentPage","pageElementObserver","watch","value","oldValue","nextTick","observeSizeOfElement","pageHeight","onUnmounted","__default__","messages","t","useI18n","attrs","useAttrs","modal","isClosing","modalId","generateUid","emit","__emit","computedAriaLabel","openModal","emitCloseEvent","closeModalAfterAnimation","previousPages","startCloseModalAnimation","internalModalActionClose","event","closeModalOnClickOutside","modalConditionalClasses","newIsOpen","newModalValue","oldModalValue","onMounted","__expose","provide","MODAL_DIALOG_ID_INJECTION_KEY","isOpen","toRefs","animation","BentoDialogPageAnimation","pages","updatePage","unregisterPage","pageIdToRemove","pageId","registerPage","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY"],"mappings":";;;;;;;;;;;;;;;;;AAGO,IAAAA,KAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,SAAA,UAFQA,IAAAD,MAAA,CAAA,CAAA,GAQLE,KAAA,kBAAAC,OACHA,EAAA,UAAA,qBACAA,EAAA,SAAA,oBAFQA,IAAAD,MAAA,CAAA,CAAA,GAQLE,IAAA,kBAAAC,OACHA,EAAA,QAAA,SACAA,EAAA,SAAA,UACAA,EAAA,QAAA,SAHQA,IAAAD,KAAA,CAAA,CAAA,GASLE,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,QAAA,SACAA,EAAA,SAAA,UAHQA,IAAAD,KAAA,CAAA,CAAA,GAMLE,IAAA,kBAAAC,OACHA,EAAA,SAAA,UACAA,EAAA,eAAA,eAFQA,IAAAD,KAAA,CAAA,CAAA,GAQLE,KAAA,kBAAAC,OACHA,EAAA,eAAA,gBACAA,EAAA,cAAA,eACAA,EAAA,OAAA,QACAA,EAAA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