@adyen/bento-vue3 1.83.1 → 1.84.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 (306) hide show
  1. package/dist/@types/index.d.ts +57 -6
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/ai-button.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/avatar.css +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions-with-menu.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.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-input.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/chip.css +1 -1
  19. package/dist/assets/code-snippet.css +1 -1
  20. package/dist/assets/controls-group.css +1 -1
  21. package/dist/assets/country.css +1 -1
  22. package/dist/assets/currency.css +1 -1
  23. package/dist/assets/dashboard-section.css +1 -1
  24. package/dist/assets/dashed-underline.css +1 -1
  25. package/dist/assets/data-grid-template.css +1 -1
  26. package/dist/assets/data-grid.css +1 -1
  27. package/dist/assets/date-picker.css +1 -1
  28. package/dist/assets/date-range-picker.css +1 -1
  29. package/dist/assets/date.css +1 -1
  30. package/dist/assets/dialog-page.css +1 -1
  31. package/dist/assets/divider.css +1 -1
  32. package/dist/assets/dropdown-default-textbox.css +1 -1
  33. package/dist/assets/dropdown-tag.css +1 -1
  34. package/dist/assets/dropdown.css +1 -1
  35. package/dist/assets/empty-state.css +1 -1
  36. package/dist/assets/field-label.css +1 -1
  37. package/dist/assets/file-uploader.css +1 -1
  38. package/dist/assets/filter-bar.css +1 -1
  39. package/dist/assets/fixed-scroller.css +1 -1
  40. package/dist/assets/footer-actions.css +1 -1
  41. package/dist/assets/form-layout-title.css +1 -1
  42. package/dist/assets/grid-layout.css +1 -1
  43. package/dist/assets/header-meta.css +1 -1
  44. package/dist/assets/header-with-views.css +1 -1
  45. package/dist/assets/header.css +1 -1
  46. package/dist/assets/index.css +1 -1
  47. package/dist/assets/info-icon.css +1 -1
  48. package/dist/assets/input-field-password.css +1 -1
  49. package/dist/assets/input-field.css +1 -1
  50. package/dist/assets/inspector.css +1 -1
  51. package/dist/assets/layout-row.css +1 -1
  52. package/dist/assets/link.css +1 -1
  53. package/dist/assets/listbox-option-tag.css +1 -1
  54. package/dist/assets/loading-indicator.css +1 -1
  55. package/dist/assets/modal-fullscreen.css +1 -1
  56. package/dist/assets/pagination.css +1 -1
  57. package/dist/assets/payment-method.css +1 -1
  58. package/dist/assets/popper-container.css +1 -1
  59. package/dist/assets/promo-banner.css +1 -1
  60. package/dist/assets/radio-group.css +1 -1
  61. package/dist/assets/radio-input.css +1 -1
  62. package/dist/assets/rich-text-editor.css +1 -1
  63. package/dist/assets/secondary-nav.css +1 -1
  64. package/dist/assets/segmented-control.css +1 -1
  65. package/dist/assets/selection-card-group.css +1 -1
  66. package/dist/assets/sidepanel.css +1 -1
  67. package/dist/assets/status.css +1 -1
  68. package/dist/assets/step.css +1 -1
  69. package/dist/assets/structured-list-item.css +1 -1
  70. package/dist/assets/summary-grid.css +1 -1
  71. package/dist/assets/tab.css +1 -1
  72. package/dist/assets/tag.css +1 -1
  73. package/dist/assets/textarea.css +1 -1
  74. package/dist/assets/timeline-item.css +1 -1
  75. package/dist/assets/toast.css +1 -1
  76. package/dist/assets/toggle.css +1 -1
  77. package/dist/assets/tooltip.css +1 -1
  78. package/dist/assets/tutorial.css +1 -1
  79. package/dist/assets/use-cached-selected-values.css +1 -1
  80. package/dist/button.js +1 -1
  81. package/dist/card.js +1 -1
  82. package/dist/checkbox.js +2 -2
  83. package/dist/chunks/{action-bar.D5y9JWnT.js → action-bar.CriH15oF.js} +11 -9
  84. package/dist/chunks/{action-bar.D5y9JWnT.js.map → action-bar.CriH15oF.js.map} +1 -1
  85. package/dist/chunks/{alert.CYaIUaUn.js → alert.BYcw-u3b.js} +48 -40
  86. package/dist/chunks/{alert.CYaIUaUn.js.map → alert.BYcw-u3b.js.map} +1 -1
  87. package/dist/chunks/{base-modal.B8HZItVN.js → base-modal.D3GyeCFT.js} +44 -42
  88. package/dist/chunks/{base-modal.B8HZItVN.js.map → base-modal.D3GyeCFT.js.map} +1 -1
  89. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js → button-actions-with-menu.B8xFgt-p.js} +2 -2
  90. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js.map → button-actions-with-menu.B8xFgt-p.js.map} +1 -1
  91. package/dist/chunks/{button-actions.O0cnu1_g.js → button-actions.Crj4QFAd.js} +445 -413
  92. package/dist/chunks/button-actions.Crj4QFAd.js.map +1 -0
  93. package/dist/chunks/calendar.DKPx_cQU.js +1237 -0
  94. package/dist/chunks/calendar.DKPx_cQU.js.map +1 -0
  95. package/dist/chunks/{card.Dqt_BOMI.js → card.C_03IYJe.js} +2 -2
  96. package/dist/chunks/{card.Dqt_BOMI.js.map → card.C_03IYJe.js.map} +1 -1
  97. package/dist/chunks/{checkbox-group.S0FqSg9s.js → checkbox-group.DZrhxIHp.js} +4 -4
  98. package/dist/chunks/{checkbox-group.S0FqSg9s.js.map → checkbox-group.DZrhxIHp.js.map} +1 -1
  99. package/dist/chunks/{checkbox-input.BXNGT9U0.js → checkbox-input.Dk9iFQQe.js} +62 -57
  100. package/dist/chunks/checkbox-input.Dk9iFQQe.js.map +1 -0
  101. package/dist/chunks/{checkbox.B_WaHSop.js → checkbox.BWgWtiLJ.js} +10 -10
  102. package/dist/chunks/{checkbox.B_WaHSop.js.map → checkbox.BWgWtiLJ.js.map} +1 -1
  103. package/dist/chunks/{code-snippet.Bfq5pgmE.js → code-snippet.4HtbNUDE.js} +78 -76
  104. package/dist/chunks/code-snippet.4HtbNUDE.js.map +1 -0
  105. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  106. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  107. package/dist/chunks/{controls-group.CdnMYv1j.js → controls-group.DpFv8c4E.js} +2 -2
  108. package/dist/chunks/{controls-group.CdnMYv1j.js.map → controls-group.DpFv8c4E.js.map} +1 -1
  109. package/dist/chunks/{copy.Cg-VyVQ4.js → copy.xg9ElNxd.js} +35 -33
  110. package/dist/chunks/{copy.Cg-VyVQ4.js.map → copy.xg9ElNxd.js.map} +1 -1
  111. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  112. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  113. package/dist/chunks/{country.CPGT2RsT.js → country.vSfTQW51.js} +2 -2
  114. package/dist/chunks/{country.CPGT2RsT.js.map → country.vSfTQW51.js.map} +1 -1
  115. package/dist/chunks/{dashboard-section.CGS38Swm.js → dashboard-section.D_k3_Z2T.js} +3 -3
  116. package/dist/chunks/{dashboard-section.CGS38Swm.js.map → dashboard-section.D_k3_Z2T.js.map} +1 -1
  117. package/dist/chunks/{dashed-underline.DV3p60Ne.js → dashed-underline.B0z2ZZh7.js} +2 -2
  118. package/dist/chunks/{dashed-underline.DV3p60Ne.js.map → dashed-underline.B0z2ZZh7.js.map} +1 -1
  119. package/dist/chunks/{data-grid-template.D2g9KHSZ.js → data-grid-template.DdIrvOXp.js} +4 -4
  120. package/dist/chunks/{data-grid-template.D2g9KHSZ.js.map → data-grid-template.DdIrvOXp.js.map} +1 -1
  121. package/dist/chunks/{data-grid.BoPfKLRj.js → data-grid.BBkF9ojy.js} +896 -812
  122. package/dist/chunks/{data-grid.BoPfKLRj.js.map → data-grid.BBkF9ojy.js.map} +1 -1
  123. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  124. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  125. package/dist/chunks/date-picker.dyp0YK9_.js +249 -0
  126. package/dist/chunks/date-picker.dyp0YK9_.js.map +1 -0
  127. package/dist/chunks/date-range-picker.TsUvRvGy.js +1896 -0
  128. package/dist/chunks/date-range-picker.TsUvRvGy.js.map +1 -0
  129. package/dist/chunks/de.DvtL0g75.js +478 -0
  130. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  131. package/dist/chunks/{dialog-page.CTEyyZ_R.js → dialog-page.DaZSlMzY.js} +23 -17
  132. package/dist/chunks/{dialog-page.CTEyyZ_R.js.map → dialog-page.DaZSlMzY.js.map} +1 -1
  133. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  134. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  135. package/dist/chunks/{dropdown-tag.BWnAPzEN.js → dropdown-tag.DtpDzWl4.js} +4 -4
  136. package/dist/chunks/{dropdown-tag.BWnAPzEN.js.map → dropdown-tag.DtpDzWl4.js.map} +1 -1
  137. package/dist/chunks/{dropdown.CtP9keJ4.js → dropdown.D0_8f9Mz.js} +114 -110
  138. package/dist/chunks/{dropdown.CtP9keJ4.js.map → dropdown.D0_8f9Mz.js.map} +1 -1
  139. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  140. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  141. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  142. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  143. package/dist/chunks/es.bz0mzkMq.js +374 -0
  144. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  145. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  146. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  147. package/dist/chunks/{field-label.CfizwLcQ.js → field-label.D7vU2Icm.js} +8 -8
  148. package/dist/chunks/{field-label.CfizwLcQ.js.map → field-label.D7vU2Icm.js.map} +1 -1
  149. package/dist/chunks/{file-uploader.C9qXXyin.js → file-uploader.BmBKLzIx.js} +253 -207
  150. package/dist/chunks/{file-uploader.C9qXXyin.js.map → file-uploader.BmBKLzIx.js.map} +1 -1
  151. package/dist/chunks/filter-bar.D0BEt7ia.js +3363 -0
  152. package/dist/chunks/filter-bar.D0BEt7ia.js.map +1 -0
  153. package/dist/chunks/{fixed-scroller.DCjtCzKy.js → fixed-scroller.e56yJp7Q.js} +52 -44
  154. package/dist/chunks/{fixed-scroller.DCjtCzKy.js.map → fixed-scroller.e56yJp7Q.js.map} +1 -1
  155. package/dist/chunks/{footer-actions.CTCV-SW-.js → footer-actions.BqNvwVk7.js} +2 -2
  156. package/dist/chunks/{footer-actions.CTCV-SW-.js.map → footer-actions.BqNvwVk7.js.map} +1 -1
  157. package/dist/chunks/{form-layout-title.Dvlo-2z_.js → form-layout-title.CPsEzRzS.js} +2 -2
  158. package/dist/chunks/{form-layout-title.Dvlo-2z_.js.map → form-layout-title.CPsEzRzS.js.map} +1 -1
  159. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  160. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  161. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  162. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  163. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  164. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  165. package/dist/chunks/header-meta.PysBmkSU.js +263 -0
  166. package/dist/chunks/header-meta.PysBmkSU.js.map +1 -0
  167. package/dist/chunks/{header-with-views.CHObq1kM.js → header-with-views.BGIZadqh.js} +844 -780
  168. package/dist/chunks/{header-with-views.CHObq1kM.js.map → header-with-views.BGIZadqh.js.map} +1 -1
  169. package/dist/chunks/{header.BMTf9s8L.js → header.yMTOq8MR.js} +3 -3
  170. package/dist/chunks/{header.BMTf9s8L.js.map → header.yMTOq8MR.js.map} +1 -1
  171. package/dist/chunks/{input-field-password.CTdUPz2y.js → input-field-password.DN3ltmAg.js} +101 -95
  172. package/dist/chunks/{input-field-password.CTdUPz2y.js.map → input-field-password.DN3ltmAg.js.map} +1 -1
  173. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js → input-field-phone-number.CouE9QiR.js} +180 -174
  174. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js.map → input-field-phone-number.CouE9QiR.js.map} +1 -1
  175. package/dist/chunks/{input-field.DzNDGqBP.js → input-field.C2SQq0V1.js} +67 -59
  176. package/dist/chunks/{input-field.DzNDGqBP.js.map → input-field.C2SQq0V1.js.map} +1 -1
  177. package/dist/chunks/{inspector.p4ukEAWH.js → inspector.Dox76eqN.js} +41 -35
  178. package/dist/chunks/{inspector.p4ukEAWH.js.map → inspector.Dox76eqN.js.map} +1 -1
  179. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  180. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  181. package/dist/chunks/it.Oaj6BklL.js +392 -0
  182. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  183. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  184. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  185. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  186. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  187. package/dist/chunks/match.CMBZxEs9.js +302 -0
  188. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  189. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js → modal-fullscreen.BXjxVsAq.js} +3 -3
  190. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js.map → modal-fullscreen.BXjxVsAq.js.map} +1 -1
  191. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js} +4 -4
  192. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js.map → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map} +1 -1
  193. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  194. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  195. package/dist/chunks/{pagination.0cHVUbmR.js → pagination.Biy7xN75.js} +5 -5
  196. package/dist/chunks/{pagination.0cHVUbmR.js.map → pagination.Biy7xN75.js.map} +1 -1
  197. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  198. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  199. package/dist/chunks/{radio-group.B2JLD8_2.js → radio-group.BqsQRDjs.js} +3 -3
  200. package/dist/chunks/{radio-group.B2JLD8_2.js.map → radio-group.BqsQRDjs.js.map} +1 -1
  201. package/dist/chunks/{rich-text-editor.Dw01KOhU.js → rich-text-editor.Bafyvjc3.js} +4 -4
  202. package/dist/chunks/{rich-text-editor.Dw01KOhU.js.map → rich-text-editor.Bafyvjc3.js.map} +1 -1
  203. package/dist/chunks/{search-bar.fCnPv83a.js → search-bar.BF8M5OSY.js} +3 -3
  204. package/dist/chunks/{search-bar.fCnPv83a.js.map → search-bar.BF8M5OSY.js.map} +1 -1
  205. package/dist/chunks/secondary-nav.D2lBMjqY.js +144 -0
  206. package/dist/chunks/{secondary-nav.D1y_GiqG.js.map → secondary-nav.D2lBMjqY.js.map} +1 -1
  207. package/dist/chunks/{selection-card-group.CPSDSz7m.js → selection-card-group.DNPlEqEq.js} +5 -5
  208. package/dist/chunks/{selection-card-group.CPSDSz7m.js.map → selection-card-group.DNPlEqEq.js.map} +1 -1
  209. package/dist/chunks/{sidepanel.1WPpJp8O.js → sidepanel.RJihFo_R.js} +4 -4
  210. package/dist/chunks/{sidepanel.1WPpJp8O.js.map → sidepanel.RJihFo_R.js.map} +1 -1
  211. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  212. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  213. package/dist/chunks/step.DpgnDx29.js +271 -0
  214. package/dist/chunks/step.DpgnDx29.js.map +1 -0
  215. package/dist/chunks/{structured-list-item.C4Fnc7sX.js → structured-list-item.B-hdp7rW.js} +2 -2
  216. package/dist/chunks/{structured-list-item.C4Fnc7sX.js.map → structured-list-item.B-hdp7rW.js.map} +1 -1
  217. package/dist/chunks/{summary-grid.types.CbROj1cf.js → summary-grid.types.BVLRSBAF.js} +3 -3
  218. package/dist/chunks/{summary-grid.types.CbROj1cf.js.map → summary-grid.types.BVLRSBAF.js.map} +1 -1
  219. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  220. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  221. package/dist/chunks/{tab.C-kmkQiE.js → tab.JPngc9oS.js} +2 -2
  222. package/dist/chunks/{tab.C-kmkQiE.js.map → tab.JPngc9oS.js.map} +1 -1
  223. package/dist/chunks/{textarea.C0tLoH2I.js → textarea.CEDkF8BB.js} +45 -45
  224. package/dist/chunks/textarea.CEDkF8BB.js.map +1 -0
  225. package/dist/chunks/{timeline-item.-IGN2sbj.js → timeline-item.BxGaSGLf.js} +14 -13
  226. package/dist/chunks/{timeline-item.-IGN2sbj.js.map → timeline-item.BxGaSGLf.js.map} +1 -1
  227. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BGbo_qv_.js → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js} +2 -2
  228. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BGbo_qv_.js.map → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map} +1 -1
  229. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js → use-cached-selected-values.BZIa5TRx.js} +97 -88
  230. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js.map → use-cached-selected-values.BZIa5TRx.js.map} +1 -1
  231. package/dist/chunks/{use-country-items.Dzbl2UsO.js → use-country-items.JZCYNoW7.js} +2 -2
  232. package/dist/chunks/{use-country-items.Dzbl2UsO.js.map → use-country-items.JZCYNoW7.js.map} +1 -1
  233. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  234. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  235. package/dist/code-snippet.js +1 -1
  236. package/dist/country.js +2 -2
  237. package/dist/dashboard-template.js +1 -1
  238. package/dist/dashed-underline.js +1 -1
  239. package/dist/data-grid-template.js +1 -1
  240. package/dist/data-grid.js +1 -1
  241. package/dist/date-picker.js +2 -2
  242. package/dist/date-range-picker.js +2 -2
  243. package/dist/dropdown.js +3 -3
  244. package/dist/file-uploader.js +1 -1
  245. package/dist/filter-bar.js +1 -1
  246. package/dist/form-layout.js +1 -1
  247. package/dist/header-with-views.js +1 -1
  248. package/dist/header.js +1 -1
  249. package/dist/index.js +248 -249
  250. package/dist/index.js.map +1 -1
  251. package/dist/input-field-password.js +1 -1
  252. package/dist/input-field-phone-number.js +1 -1
  253. package/dist/input-field.js +1 -1
  254. package/dist/inspector.js +1 -1
  255. package/dist/internal.js +10 -10
  256. package/dist/menu.js +1 -1
  257. package/dist/modal-fullscreen.js +1 -1
  258. package/dist/modal.js +2 -2
  259. package/dist/pagination.js +1 -1
  260. package/dist/popover.js +1 -1
  261. package/dist/radio-group.js +1 -1
  262. package/dist/rich-text-editor.js +1 -1
  263. package/dist/search-bar.js +2 -2
  264. package/dist/secondary-nav.js +1 -1
  265. package/dist/selection-card.js +1 -1
  266. package/dist/sidepanel.js +1 -1
  267. package/dist/stepper.js +1 -1
  268. package/dist/structured-list.js +1 -1
  269. package/dist/styles/bento-dark.css +0 -1829
  270. package/dist/styles/bento-light.css +0 -1829
  271. package/dist/styles/bento.css +0 -1829
  272. package/dist/styles/legacy.css +0 -1829
  273. package/dist/styles/styleguide.css +0 -1829
  274. package/dist/summary-grid.js +1 -1
  275. package/dist/tabs.js +1 -1
  276. package/dist/textarea.js +1 -1
  277. package/dist/timeline.js +1 -1
  278. package/dist/tutorial.js +1 -1
  279. package/dist/web-types.json +1 -1
  280. package/package.json +7 -7
  281. package/dist/chunks/button-actions.O0cnu1_g.js.map +0 -1
  282. package/dist/chunks/calendar.NVmCgJrJ.js +0 -1962
  283. package/dist/chunks/calendar.NVmCgJrJ.js.map +0 -1
  284. package/dist/chunks/checkbox-input.BXNGT9U0.js.map +0 -1
  285. package/dist/chunks/code-snippet.Bfq5pgmE.js.map +0 -1
  286. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  287. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  288. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  289. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  290. package/dist/chunks/date-picker.BIdfeL7b.js +0 -245
  291. package/dist/chunks/date-picker.BIdfeL7b.js.map +0 -1
  292. package/dist/chunks/date-range-picker.BT3I5M44.js +0 -1109
  293. package/dist/chunks/date-range-picker.BT3I5M44.js.map +0 -1
  294. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  295. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  296. package/dist/chunks/es6.MoTTyETW.js +0 -12
  297. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  298. package/dist/chunks/filter-bar.DB87uMbx.js +0 -3211
  299. package/dist/chunks/filter-bar.DB87uMbx.js.map +0 -1
  300. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  301. package/dist/chunks/header-meta.C2W1eMZc.js +0 -221
  302. package/dist/chunks/header-meta.C2W1eMZc.js.map +0 -1
  303. package/dist/chunks/secondary-nav.D1y_GiqG.js +0 -138
  304. package/dist/chunks/step._8f9kwI5.js +0 -267
  305. package/dist/chunks/step._8f9kwI5.js.map +0 -1
  306. package/dist/chunks/textarea.C0tLoH2I.js.map +0 -1
@@ -1 +1 @@
1
- .b-tutorial-indicator[data-v-672deffb]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-tutorial-indicator[data-v-672deffb],.b-tutorial-indicator[data-v-672deffb]:before,.b-tutorial-indicator[data-v-672deffb]:after{box-sizing:border-box}.b-tutorial-indicator[data-v-672deffb] *,.b-tutorial-indicator[data-v-672deffb] *:before,.b-tutorial-indicator[data-v-672deffb] *:after{box-sizing:border-box}.b-tutorial-indicator[data-v-672deffb] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-indicator[data-v-672deffb] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-indicator__highlight[data-v-672deffb]{border:var(--b-tutorial-indicator-border);left:var(--b-tutorial-indicator-border-offset);pointer-events:none;position:absolute;top:var(--b-tutorial-indicator-border-offset)}.b-tutorial-indicator[data-popper-reference-hidden] .b-tutorial-indicator__highlight[data-v-672deffb]{visibility:hidden}.b-tutorial-popover[data-v-27309751]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-tutorial-popover-background-color);outline:var(--b-tutorial-popover-outline);position:relative}.b-tutorial-popover[data-v-27309751],.b-tutorial-popover[data-v-27309751]:before,.b-tutorial-popover[data-v-27309751]:after{box-sizing:border-box}.b-tutorial-popover[data-v-27309751] *,.b-tutorial-popover[data-v-27309751] *:before,.b-tutorial-popover[data-v-27309751] *:after{box-sizing:border-box}.b-tutorial-popover[data-v-27309751] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-popover[data-v-27309751] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-popover__image[data-v-27309751]{width:100%}.b-tutorial-popover__header[data-v-27309751]{display:flex;flex-grow:1;gap:var(--b-tutorial-popover-header-padding-bottom);justify-content:space-between;padding-bottom:var(--b-tutorial-popover-header-padding-bottom)}.b-tutorial-popover__steps[data-v-27309751]{flex-shrink:0;line-height:var(--b-tutorial-popover-steps-line-height)}.b-tutorial-popover__footer[data-v-27309751]{column-gap:var(--b-tutorial-popover-footer-column-gap);container-type:inline-size;display:grid;grid-template-areas:"menu actions";grid-template-columns:auto 1fr;padding-top:var(--b-tutorial-popover-footer-padding-top)}.b-tutorial-popover__menu[data-v-27309751]{grid-area:menu}.b-tutorial-popover__actions[data-v-27309751]{grid-area:actions}.b-tutorial-popover[data-v-27309751] .b-button:focus-visible{box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-tutorial-popover-background-color),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}
1
+ .b-tutorial-indicator[data-v-672deffb]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-tutorial-indicator[data-v-672deffb],.b-tutorial-indicator[data-v-672deffb]:before,.b-tutorial-indicator[data-v-672deffb]:after{box-sizing:border-box}.b-tutorial-indicator[data-v-672deffb] *,.b-tutorial-indicator[data-v-672deffb] *:before,.b-tutorial-indicator[data-v-672deffb] *:after{box-sizing:border-box}.b-tutorial-indicator[data-v-672deffb] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-indicator[data-v-672deffb] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-indicator__highlight[data-v-672deffb]{border:var(--b-border-width-m) solid var(--b-color-decorative-green);left:-2px;pointer-events:none;position:absolute;top:-2px}.b-tutorial-indicator[data-popper-reference-hidden] .b-tutorial-indicator__highlight[data-v-672deffb]{visibility:hidden}.b-tutorial-popover[data-v-27309751]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-color-background-success-weak);outline:var(--b-border-width-m) solid var(--b-color-decorative-green);position:relative}.b-tutorial-popover[data-v-27309751],.b-tutorial-popover[data-v-27309751]:before,.b-tutorial-popover[data-v-27309751]:after{box-sizing:border-box}.b-tutorial-popover[data-v-27309751] *,.b-tutorial-popover[data-v-27309751] *:before,.b-tutorial-popover[data-v-27309751] *:after{box-sizing:border-box}.b-tutorial-popover[data-v-27309751] ::-webkit-scrollbar{height:14px;width:14px}.b-tutorial-popover[data-v-27309751] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-tutorial-popover__image[data-v-27309751]{width:100%}.b-tutorial-popover__header[data-v-27309751]{display:flex;flex-grow:1;gap:var(--b-spacer-060);justify-content:space-between;padding-bottom:var(--b-spacer-060)}.b-tutorial-popover__steps[data-v-27309751]{flex-shrink:0;line-height:var(--b-text-title-line-height)}.b-tutorial-popover__footer[data-v-27309751]{column-gap:var(--b-spacer-040);container-type:inline-size;display:grid;grid-template-areas:"menu actions";grid-template-columns:auto 1fr;padding-top:var(--b-spacer-060)}.b-tutorial-popover__menu[data-v-27309751]{grid-area:menu}.b-tutorial-popover__actions[data-v-27309751]{grid-area:actions}.b-tutorial-popover[data-v-27309751] .b-button:focus-visible{box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-success-weak),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}
@@ -1 +1 @@
1
- .b-listbox-single-select-category[data-v-27c4e09a]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-bottom:var(--b-listbox-single-select-category-margin-bottom)}.b-listbox-single-select-category[data-v-27c4e09a],.b-listbox-single-select-category[data-v-27c4e09a]:before,.b-listbox-single-select-category[data-v-27c4e09a]:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-27c4e09a] *,.b-listbox-single-select-category[data-v-27c4e09a] *:before,.b-listbox-single-select-category[data-v-27c4e09a] *:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-27c4e09a] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-single-select-category[data-v-27c4e09a] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-single-select-category[data-v-27c4e09a]:last-child{margin-bottom:0}.b-listbox-single-select-category__label-text[data-v-27c4e09a]{color:var(--b-listbox-single-select-category-label-text-color);padding:var(--b-listbox-single-select-category-label-text-padding)}.b-checkbox-input[data-v-1495b1db]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-checkbox-input-container-padding);position:relative}.b-checkbox-input[data-v-1495b1db],.b-checkbox-input[data-v-1495b1db]:before,.b-checkbox-input[data-v-1495b1db]:after{box-sizing:border-box}.b-checkbox-input[data-v-1495b1db] *,.b-checkbox-input[data-v-1495b1db] *:before,.b-checkbox-input[data-v-1495b1db] *:after{box-sizing:border-box}.b-checkbox-input[data-v-1495b1db] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-1495b1db] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-1495b1db],.b-checkbox-input--disabled[data-v-1495b1db] *{cursor:not-allowed}.b-checkbox-input--readonly[data-v-1495b1db],.b-checkbox-input--readonly[data-v-1495b1db] *{pointer-events:none}.b-checkbox-input__outline[data-v-1495b1db]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-checkbox-input-outline-border-radius);border-style:solid;border-width:var(--b-checkbox-input-outline-border-width);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-1495b1db]{background-color:var(--b-checkbox-input-outline-unchecked-background-color);border-color:var(--b-checkbox-input-outline-unchecked-border-color)}.b-checkbox-input__outline--unchecked[data-v-1495b1db]:hover{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-checkbox-input__outline--unchecked[data-v-1495b1db]:active{background-color:var(--b-checkbox-input-outline-unchecked-active-background-color);border-color:var(--b-checkbox-input-outline-unchecked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-1495b1db]{background-color:var(--b-checkbox-input-outline-unchecked-disabled-background-color);border-color:var(--b-checkbox-input-outline-unchecked-disabled-border-color);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-1495b1db],.b-checkbox-input__outline[data-v-1495b1db]:checked{background-color:var(--b-checkbox-input-outline-checked-background-color);border-color:var(--b-checkbox-input-outline-checked-border-color)}.b-checkbox-input__outline--checked[data-v-1495b1db]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-1495b1db]:not(:disabled),.b-checkbox-input__outline[data-v-1495b1db]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-1495b1db]:checked:not(:disabled){background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-checkbox-input__outline--checked[data-v-1495b1db]:active,.b-checkbox-input__outline[data-v-1495b1db]:checked:active{background-color:var(--b-checkbox-input-outline-checked-active-background-color);border-color:var(--b-checkbox-input-outline-checked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-1495b1db],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-1495b1db]:checked{background-color:var(--b-checkbox-input-outline-checked-disabled-background-color);border-color:var(--b-checkbox-input-outline-checked-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-1495b1db],.b-checkbox-input__outline[data-v-1495b1db]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-border-color)}.b-checkbox-input__outline--indeterminate[data-v-1495b1db]:hover,.b-checkbox-input__outline[data-v-1495b1db]:indeterminate:hover{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-checkbox-input__outline--indeterminate[data-v-1495b1db]:active,.b-checkbox-input__outline[data-v-1495b1db]:indeterminate:active{background-color:var(--b-checkbox-input-outline-indeterminate-active-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-1495b1db],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-1495b1db]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline[data-v-1495b1db]:focus-visible{animation:outer-ring-default-1495b1db var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-1495b1db{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-1495b1db]{border:var(--b-checkbox-input-outline-unchecked-error-border)}.b-checkbox-input__outline--error[data-v-1495b1db]:checked{background-color:var(--b-checkbox-input-outline-checked-error-background-color);border-color:var(--b-checkbox-input-outline-checked-error-border-color)}.b-checkbox-input__outline--error[data-v-1495b1db]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-error-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-error-border-color)}.b-checkbox-input__outline--readonly[data-v-1495b1db],.b-checkbox-input__outline--readonly[data-v-1495b1db]:checked,.b-checkbox-input__outline--readonly[data-v-1495b1db]:indeterminate{background-color:var(--b-checkbox-input-outline-readonly-background-color);border-color:var(--b-checkbox-input-outline-readonly-border-color)}.b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-checkbox-input-icon-color);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-checkbox-input-icon-disabled-color)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-checkbox-input-icon-readonly-color)}.b-listbox-option[data-v-1495b1db]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;overflow-wrap:anywhere;padding:var(--b-listbox-option-padding)}.b-listbox-option[data-v-1495b1db],.b-listbox-option[data-v-1495b1db]:before,.b-listbox-option[data-v-1495b1db]:after{box-sizing:border-box}.b-listbox-option[data-v-1495b1db] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-option[data-v-1495b1db] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}@media(hover:hover){.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-hover-background-color)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--unchecked{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--checked{background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled),.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-hover-font-color)}}.b-listbox-option[data-v-1495b1db]:focus-visible{outline:none;box-shadow:var(--b-listbox-option-focus-box-shadow)}.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-active-background-color)}.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled),.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-active-font-color)}.b-listbox-option[data-v-1495b1db] .b-listbox-single-select-option__text,.b-listbox-option[data-v-1495b1db] .b-listbox-multi-select__option-text{display:flex;flex-direction:column}.b-listbox-option[data-v-1495b1db] .b-listbox-single-select-option__description,.b-listbox-option[data-v-1495b1db] .b-listbox-multi-select__option-description{margin-top:var(--b-listbox-option-description-margin-top)}.b-listbox-option[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description,.b-listbox-option[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description{color:var(--b-listbox-option-description-color)}.b-listbox-option--disabled[data-v-1495b1db]{cursor:not-allowed}.b-listbox-option--disabled[data-v-1495b1db],.b-listbox-option--disabled[data-v-1495b1db] .b-avatar__label,.b-listbox-option--disabled[data-v-1495b1db] .b-country__label,.b-listbox-option--disabled[data-v-1495b1db] .b-payment-method__label{color:var(--b-listbox-option-disabled-font-color)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled){background-color:var(--b-listbox-option-selected-background-color)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-listbox-option-selected-font-color)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description:not(.b-listbox-option--disabled){color:var(--b-listbox-option-selected-description-color)}.b-listbox-single-select-option[data-v-4f41af07]{display:flex;justify-content:space-between}.b-listbox-single-select-option__check-icon[data-v-4f41af07]{align-items:center;display:flex;margin-left:var(--b-listbox-single-select-check-icon-margin)}.b-checkbox-input[data-v-08d3142e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-checkbox-input-container-padding);position:relative}.b-checkbox-input[data-v-08d3142e],.b-checkbox-input[data-v-08d3142e]:before,.b-checkbox-input[data-v-08d3142e]:after{box-sizing:border-box}.b-checkbox-input[data-v-08d3142e] *,.b-checkbox-input[data-v-08d3142e] *:before,.b-checkbox-input[data-v-08d3142e] *:after{box-sizing:border-box}.b-checkbox-input[data-v-08d3142e] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-08d3142e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-08d3142e],.b-checkbox-input--disabled[data-v-08d3142e] *{cursor:not-allowed}.b-checkbox-input--readonly[data-v-08d3142e],.b-checkbox-input--readonly[data-v-08d3142e] *{pointer-events:none}.b-checkbox-input__outline[data-v-08d3142e]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-checkbox-input-outline-border-radius);border-style:solid;border-width:var(--b-checkbox-input-outline-border-width);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-08d3142e]{background-color:var(--b-checkbox-input-outline-unchecked-background-color);border-color:var(--b-checkbox-input-outline-unchecked-border-color)}.b-checkbox-input__outline--unchecked[data-v-08d3142e]:hover{background-color:var(--b-checkbox-input-outline-unchecked-hover-background-color);border-color:var(--b-checkbox-input-outline-unchecked-hover-border-color)}.b-checkbox-input__outline--unchecked[data-v-08d3142e]:active{background-color:var(--b-checkbox-input-outline-unchecked-active-background-color);border-color:var(--b-checkbox-input-outline-unchecked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-08d3142e]{background-color:var(--b-checkbox-input-outline-unchecked-disabled-background-color);border-color:var(--b-checkbox-input-outline-unchecked-disabled-border-color);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-08d3142e],.b-checkbox-input__outline[data-v-08d3142e]:checked{background-color:var(--b-checkbox-input-outline-checked-background-color);border-color:var(--b-checkbox-input-outline-checked-border-color)}.b-checkbox-input__outline--checked[data-v-08d3142e]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-08d3142e]:not(:disabled),.b-checkbox-input__outline[data-v-08d3142e]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-08d3142e]:checked:not(:disabled){background-color:var(--b-checkbox-input-outline-checked-hover-background-color);border-color:var(--b-checkbox-input-outline-checked-hover-border-color)}.b-checkbox-input__outline--checked[data-v-08d3142e]:active,.b-checkbox-input__outline[data-v-08d3142e]:checked:active{background-color:var(--b-checkbox-input-outline-checked-active-background-color);border-color:var(--b-checkbox-input-outline-checked-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-08d3142e],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-08d3142e]:checked{background-color:var(--b-checkbox-input-outline-checked-disabled-background-color);border-color:var(--b-checkbox-input-outline-checked-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-08d3142e],.b-checkbox-input__outline[data-v-08d3142e]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-border-color)}.b-checkbox-input__outline--indeterminate[data-v-08d3142e]:hover,.b-checkbox-input__outline[data-v-08d3142e]:indeterminate:hover{background-color:var(--b-checkbox-input-outline-indeterminate-hover-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-hover-border-color)}.b-checkbox-input__outline--indeterminate[data-v-08d3142e]:active,.b-checkbox-input__outline[data-v-08d3142e]:indeterminate:active{background-color:var(--b-checkbox-input-outline-indeterminate-active-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-active-border-color)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-08d3142e],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-08d3142e]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-disabled-background-color);cursor:not-allowed}.b-checkbox-input__outline[data-v-08d3142e]:focus-visible{animation:outer-ring-default-08d3142e var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-08d3142e{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-08d3142e]{border:var(--b-checkbox-input-outline-unchecked-error-border)}.b-checkbox-input__outline--error[data-v-08d3142e]:checked{background-color:var(--b-checkbox-input-outline-checked-error-background-color);border-color:var(--b-checkbox-input-outline-checked-error-border-color)}.b-checkbox-input__outline--error[data-v-08d3142e]:indeterminate{background-color:var(--b-checkbox-input-outline-indeterminate-error-background-color);border-color:var(--b-checkbox-input-outline-indeterminate-error-border-color)}.b-checkbox-input__outline--readonly[data-v-08d3142e],.b-checkbox-input__outline--readonly[data-v-08d3142e]:checked,.b-checkbox-input__outline--readonly[data-v-08d3142e]:indeterminate{background-color:var(--b-checkbox-input-outline-readonly-background-color);border-color:var(--b-checkbox-input-outline-readonly-border-color)}.b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-checkbox-input-icon-color);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-checkbox-input-icon-disabled-color)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-checkbox-input-icon-readonly-color)}.b-listbox-multi-select-category[data-v-60c04867]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select-category[data-v-60c04867],.b-listbox-multi-select-category[data-v-60c04867]:before,.b-listbox-multi-select-category[data-v-60c04867]:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-60c04867] *,.b-listbox-multi-select-category[data-v-60c04867] *:before,.b-listbox-multi-select-category[data-v-60c04867] *:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-60c04867] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-category[data-v-60c04867] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-category--disabled[data-v-60c04867]{cursor:not-allowed}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-text[data-v-60c04867]{color:var(--b-listbox-multi-select-category-disabled-label-text-color)}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-chevron[data-v-60c04867]{cursor:pointer}.b-listbox-multi-select-category--static-category[data-v-60c04867]{gap:var(--b-listbox-multi-select-category-static-category-gap);pointer-events:none}.b-listbox-multi-select-category--static-category .b-listbox-multi-select-category__label-text[data-v-60c04867]{color:var(--b-listbox-multi-select-category-static-category-label-text-color);padding:var(--b-listbox-option-padding)}.b-listbox-multi-select-category__label[data-v-60c04867]{align-items:center;display:flex;justify-content:space-between;width:100%}.b-listbox-multi-select-category__label-chevron[data-v-60c04867]{display:flex;position:relative}.b-listbox-multi-select-category__label-chevron[data-v-60c04867]:before{content:"";height:36px;left:-10px;position:absolute;top:-9px;width:36px}.b-listbox-multi-select-category__option[data-v-60c04867]{display:flex;gap:var(--b-listbox-multi-select-category-option-gap)}.b-listbox-multi-select-options[data-v-0c9e6af6]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:flex;gap:var(--b-listbox-multi-select-options-gap)}.b-listbox-multi-select-options[data-v-0c9e6af6],.b-listbox-multi-select-options[data-v-0c9e6af6]:before,.b-listbox-multi-select-options[data-v-0c9e6af6]:after{box-sizing:border-box}.b-listbox-multi-select-options[data-v-0c9e6af6] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-options[data-v-0c9e6af6] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-options__category-option[data-v-0c9e6af6]{padding-left:var(--b-listbox-multi-select-options-category-option-padding-left)}.b-listbox-multi-select-options__static-category-option[data-v-0c9e6af6]{padding-left:var(--b-listbox-multi-select-options-static-category-option-padding-left)}.b-listbox-multi-select[data-v-d170602c]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select[data-v-d170602c],.b-listbox-multi-select[data-v-d170602c]:before,.b-listbox-multi-select[data-v-d170602c]:after{box-sizing:border-box}.b-listbox-multi-select[data-v-d170602c] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select[data-v-d170602c] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select__divider[data-v-d170602c]{background-color:var(--b-listbox-multi-select-divider-background-color);border:0;height:1px;margin:var(--b-listbox-multi-select-divider-margin)}.b-listbox-multi-select__option[data-v-d170602c]{display:flex;gap:var(--b-listbox-multi-select-options-gap)}.b-listbox-multi-select__chips[data-v-d170602c]{container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--b-listbox-multi-select-chips-gap);list-style-type:none;margin:0;padding:var(--b-listbox-multi-select-chips-padding)}.b-listbox[data-v-ef1c27fa]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-listbox-background-color);color:var(--b-listbox-color);overflow-y:auto;padding:var(--b-listbox-padding)}.b-listbox[data-v-ef1c27fa],.b-listbox[data-v-ef1c27fa]:before,.b-listbox[data-v-ef1c27fa]:after{box-sizing:border-box}.b-listbox[data-v-ef1c27fa] *,.b-listbox[data-v-ef1c27fa] *:before,.b-listbox[data-v-ef1c27fa] *:after{box-sizing:border-box}.b-listbox[data-v-ef1c27fa] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox[data-v-ef1c27fa] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox__empty-search-message[data-v-ef1c27fa]{color:var(--b-listbox-empty-search-message-color);padding:var(--b-listbox-empty-search-message-padding);text-align:center}.b-listbox__empty-search-message[data-v-ef1c27fa] .b-empty-state__title{color:var(--b-listbox-empty-search-message-color)}.b-listbox__loading-filtered-items[data-v-ef1c27fa]{display:flex;justify-content:center}.b-listbox__lazy-load[data-v-ef1c27fa]{display:flex;justify-content:center;margin:var(--b-listbox-lazy-load-margin)}
1
+ .b-listbox-single-select-category[data-v-27c4e09a]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-bottom:var(--b-spacer-070)}.b-listbox-single-select-category[data-v-27c4e09a],.b-listbox-single-select-category[data-v-27c4e09a]:before,.b-listbox-single-select-category[data-v-27c4e09a]:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-27c4e09a] *,.b-listbox-single-select-category[data-v-27c4e09a] *:before,.b-listbox-single-select-category[data-v-27c4e09a] *:after{box-sizing:border-box}.b-listbox-single-select-category[data-v-27c4e09a] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-single-select-category[data-v-27c4e09a] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-single-select-category[data-v-27c4e09a]:last-child{margin-bottom:0}.b-listbox-single-select-category__label-text[data-v-27c4e09a]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070)}.b-checkbox-input[data-v-1495b1db]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-spacer-010) 0;position:relative}.b-checkbox-input[data-v-1495b1db],.b-checkbox-input[data-v-1495b1db]:before,.b-checkbox-input[data-v-1495b1db]:after{box-sizing:border-box}.b-checkbox-input[data-v-1495b1db] *,.b-checkbox-input[data-v-1495b1db] *:before,.b-checkbox-input[data-v-1495b1db] *:after{box-sizing:border-box}.b-checkbox-input[data-v-1495b1db] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-1495b1db] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-1495b1db],.b-checkbox-input--disabled[data-v-1495b1db] *{cursor:not-allowed}.b-checkbox-input--readonly[data-v-1495b1db],.b-checkbox-input--readonly[data-v-1495b1db] *{pointer-events:none}.b-checkbox-input__outline[data-v-1495b1db]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-border-radius-s);border-style:solid;border-width:var(--b-border-width-s);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-1495b1db]{background-color:var(--b-color-background-primary);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-1495b1db]:hover{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-1495b1db]:active{background-color:var(--b-color-background-primary-active);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-1495b1db]{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-1495b1db],.b-checkbox-input__outline[data-v-1495b1db]:checked{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--checked[data-v-1495b1db]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-1495b1db]:not(:disabled),.b-checkbox-input__outline[data-v-1495b1db]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-1495b1db]:checked:not(:disabled){background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--checked[data-v-1495b1db]:active,.b-checkbox-input__outline[data-v-1495b1db]:checked:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-1495b1db],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-1495b1db]:checked{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-1495b1db],.b-checkbox-input__outline[data-v-1495b1db]:indeterminate{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--indeterminate[data-v-1495b1db]:hover,.b-checkbox-input__outline[data-v-1495b1db]:indeterminate:hover{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--indeterminate[data-v-1495b1db]:active,.b-checkbox-input__outline[data-v-1495b1db]:indeterminate:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-1495b1db],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-1495b1db]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline[data-v-1495b1db]:focus-visible{animation:outer-ring-default-1495b1db var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-1495b1db{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-1495b1db]{border:1.5px solid var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-1495b1db]:checked{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-1495b1db]:indeterminate{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--readonly[data-v-1495b1db],.b-checkbox-input__outline--readonly[data-v-1495b1db]:checked,.b-checkbox-input__outline--readonly[data-v-1495b1db]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled)}.b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-color-label-inverse-primary);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-color-label-disabled)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-1495b1db]{color:var(--b-color-label-primary)}.b-listbox-option[data-v-1495b1db]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;overflow-wrap:anywhere;padding:var(--b-spacer-040) var(--b-spacer-070)}.b-listbox-option[data-v-1495b1db],.b-listbox-option[data-v-1495b1db]:before,.b-listbox-option[data-v-1495b1db]:after{box-sizing:border-box}.b-listbox-option[data-v-1495b1db] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-option[data-v-1495b1db] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}@media(hover:hover){.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-hover)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--unchecked{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--checked{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-checkbox-input__outline--indeterminate{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled),.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-1495b1db]:hover:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}}.b-listbox-option[data-v-1495b1db]:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--b-border-width-m) var(--b-focus-ring-color),inset 0 0 0 var(--b-border-width-l) var(--b-color-background-primary)}.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-active)}.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled),.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option[data-v-1495b1db]:active:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}.b-listbox-option[data-v-1495b1db] .b-listbox-single-select-option__text,.b-listbox-option[data-v-1495b1db] .b-listbox-multi-select__option-text{display:flex;flex-direction:column}.b-listbox-option[data-v-1495b1db] .b-listbox-single-select-option__description,.b-listbox-option[data-v-1495b1db] .b-listbox-multi-select__option-description{margin-top:var(--b-spacer-020)}.b-listbox-option[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description,.b-listbox-option[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description{color:var(--b-color-label-secondary)}.b-listbox-option--disabled[data-v-1495b1db]{cursor:not-allowed}.b-listbox-option--disabled[data-v-1495b1db],.b-listbox-option--disabled[data-v-1495b1db] .b-avatar__label,.b-listbox-option--disabled[data-v-1495b1db] .b-country__label,.b-listbox-option--disabled[data-v-1495b1db] .b-payment-method__label{color:var(--b-color-label-disabled)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled){background-color:var(--b-color-background-modal-active)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-avatar__label,.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-country__label,.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-payment-method__label{color:var(--b-color-label-primary)}.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-single-select-option__description:not(.b-listbox-option--disabled),.b-listbox-option--selected[data-v-1495b1db]:not(.b-listbox-option--disabled) .b-listbox-multi-select__option-description:not(.b-listbox-option--disabled){color:var(--b-color-label-secondary)}.b-listbox-single-select-option[data-v-4f41af07]{display:flex;justify-content:space-between}.b-listbox-single-select-option__check-icon[data-v-4f41af07]{align-items:center;display:flex;margin-left:var(--b-spacer-070)}.b-checkbox-input[data-v-08d3142e]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer;display:flex;padding:var(--b-spacer-010) 0;position:relative}.b-checkbox-input[data-v-08d3142e],.b-checkbox-input[data-v-08d3142e]:before,.b-checkbox-input[data-v-08d3142e]:after{box-sizing:border-box}.b-checkbox-input[data-v-08d3142e] *,.b-checkbox-input[data-v-08d3142e] *:before,.b-checkbox-input[data-v-08d3142e] *:after{box-sizing:border-box}.b-checkbox-input[data-v-08d3142e] ::-webkit-scrollbar{height:14px;width:14px}.b-checkbox-input[data-v-08d3142e] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-checkbox-input--disabled[data-v-08d3142e],.b-checkbox-input--disabled[data-v-08d3142e] *{cursor:not-allowed}.b-checkbox-input--readonly[data-v-08d3142e],.b-checkbox-input--readonly[data-v-08d3142e] *{pointer-events:none}.b-checkbox-input__outline[data-v-08d3142e]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--b-border-radius-s);border-style:solid;border-width:var(--b-border-width-s);cursor:pointer;display:inline-block;flex-basis:16px;height:16px;margin:0;min-width:16px;outline:none;position:relative;text-align:center;width:16px}.b-checkbox-input__outline--unchecked[data-v-08d3142e]{background-color:var(--b-color-background-primary);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-08d3142e]:hover{background-color:var(--b-color-background-primary-hover);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input__outline--unchecked[data-v-08d3142e]:active{background-color:var(--b-color-background-primary-active);border-color:var(--b-color-outline-tertiary)}.b-checkbox-input--disabled .b-checkbox-input__outline--unchecked[data-v-08d3142e]{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled);cursor:not-allowed}.b-checkbox-input__outline--checked[data-v-08d3142e],.b-checkbox-input__outline[data-v-08d3142e]:checked{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--checked[data-v-08d3142e]:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline--checked[data-v-08d3142e]:not(:disabled),.b-checkbox-input__outline[data-v-08d3142e]:checked:hover,.b-checkbox-input__icon:hover+.b-checkbox-input__outline[data-v-08d3142e]:checked:not(:disabled){background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--checked[data-v-08d3142e]:active,.b-checkbox-input__outline[data-v-08d3142e]:checked:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--checked[data-v-08d3142e],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-08d3142e]:checked{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline--indeterminate[data-v-08d3142e],.b-checkbox-input__outline[data-v-08d3142e]:indeterminate{background-color:var(--b-color-background-inverse-primary);border-color:var(--b-color-background-inverse-primary)}.b-checkbox-input__outline--indeterminate[data-v-08d3142e]:hover,.b-checkbox-input__outline[data-v-08d3142e]:indeterminate:hover{background-color:var(--b-color-background-inverse-primary-hover);border-color:var(--b-color-background-inverse-primary-hover)}.b-checkbox-input__outline--indeterminate[data-v-08d3142e]:active,.b-checkbox-input__outline[data-v-08d3142e]:indeterminate:active{background-color:var(--b-color-background-inverse-primary-active);border-color:var(--b-color-background-inverse-primary-active)}.b-checkbox-input--disabled .b-checkbox-input__outline--indeterminate[data-v-08d3142e],.b-checkbox-input--disabled .b-checkbox-input__outline[data-v-08d3142e]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-background-disabled);cursor:not-allowed}.b-checkbox-input__outline[data-v-08d3142e]:focus-visible{animation:outer-ring-default-08d3142e var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-08d3142e{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-checkbox-input__outline--error[data-v-08d3142e]{border:1.5px solid var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-08d3142e]:checked{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--error[data-v-08d3142e]:indeterminate{background-color:var(--b-color-background-critical-strong);border-color:var(--b-color-outline-critical)}.b-checkbox-input__outline--readonly[data-v-08d3142e],.b-checkbox-input__outline--readonly[data-v-08d3142e]:checked,.b-checkbox-input__outline--readonly[data-v-08d3142e]:indeterminate{background-color:var(--b-color-background-disabled);border-color:var(--b-color-outline-disabled)}.b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-color-label-inverse-primary);left:0;pointer-events:none;position:absolute;z-index:1}.b-checkbox-input--disabled .b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-color-label-disabled)}.b-checkbox-input--readonly .b-checkbox-input__icon[data-v-08d3142e]{color:var(--b-color-label-primary)}.b-listbox-multi-select-category[data-v-60c04867]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select-category[data-v-60c04867],.b-listbox-multi-select-category[data-v-60c04867]:before,.b-listbox-multi-select-category[data-v-60c04867]:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-60c04867] *,.b-listbox-multi-select-category[data-v-60c04867] *:before,.b-listbox-multi-select-category[data-v-60c04867] *:after{box-sizing:border-box}.b-listbox-multi-select-category[data-v-60c04867] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-category[data-v-60c04867] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-category--disabled[data-v-60c04867]{cursor:not-allowed}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-text[data-v-60c04867]{color:var(--b-color-label-disabled)}.b-listbox-multi-select-category--disabled .b-listbox-multi-select-category__label-chevron[data-v-60c04867]{cursor:pointer}.b-listbox-multi-select-category--static-category[data-v-60c04867]{gap:var(--b-spacer-070);pointer-events:none}.b-listbox-multi-select-category--static-category .b-listbox-multi-select-category__label-text[data-v-60c04867]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070)}.b-listbox-multi-select-category__label[data-v-60c04867]{align-items:center;display:flex;justify-content:space-between;width:100%}.b-listbox-multi-select-category__label-chevron[data-v-60c04867]{display:flex;position:relative}.b-listbox-multi-select-category__label-chevron[data-v-60c04867]:before{content:"";height:36px;left:-10px;position:absolute;top:-9px;width:36px}.b-listbox-multi-select-category__option[data-v-60c04867]{display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select-options[data-v-0c9e6af6]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select-options[data-v-0c9e6af6],.b-listbox-multi-select-options[data-v-0c9e6af6]:before,.b-listbox-multi-select-options[data-v-0c9e6af6]:after{box-sizing:border-box}.b-listbox-multi-select-options[data-v-0c9e6af6] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select-options[data-v-0c9e6af6] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select-options__category-option[data-v-0c9e6af6]{padding-left:var(--b-spacer-100)}.b-listbox-multi-select-options__static-category-option[data-v-0c9e6af6]{padding-left:var(--b-spacer-070)}.b-listbox-multi-select[data-v-d170602c]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.b-listbox-multi-select[data-v-d170602c],.b-listbox-multi-select[data-v-d170602c]:before,.b-listbox-multi-select[data-v-d170602c]:after{box-sizing:border-box}.b-listbox-multi-select[data-v-d170602c] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox-multi-select[data-v-d170602c] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox-multi-select__divider[data-v-d170602c]{background-color:var(--b-color-separator-primary);border:0;height:1px;margin:var(--b-spacer-040) var(--b-spacer-000)}.b-listbox-multi-select__option[data-v-d170602c]{display:flex;gap:var(--b-spacer-070)}.b-listbox-multi-select__chips[data-v-d170602c]{container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--b-spacer-030);list-style-type:none;margin:0;padding:0 var(--b-spacer-070)}.b-listbox[data-v-ef1c27fa]{scrollbar-color:var(--b-color-background-quaternary) transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--b-color-background-modal);color:var(--b-color-label-primary);overflow-y:auto;padding:var(--b-spacer-040) 0}.b-listbox[data-v-ef1c27fa],.b-listbox[data-v-ef1c27fa]:before,.b-listbox[data-v-ef1c27fa]:after{box-sizing:border-box}.b-listbox[data-v-ef1c27fa] *,.b-listbox[data-v-ef1c27fa] *:before,.b-listbox[data-v-ef1c27fa] *:after{box-sizing:border-box}.b-listbox[data-v-ef1c27fa] ::-webkit-scrollbar{height:14px;width:14px}.b-listbox[data-v-ef1c27fa] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-background-quaternary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-listbox__empty-search-message[data-v-ef1c27fa]{color:var(--b-color-label-secondary);padding:var(--b-spacer-040) var(--b-spacer-070);text-align:center}.b-listbox__empty-search-message[data-v-ef1c27fa] .b-empty-state__title{color:var(--b-color-label-secondary)}.b-listbox__loading-filtered-items[data-v-ef1c27fa]{display:flex;justify-content:center}.b-listbox__lazy-load[data-v-ef1c27fa]{display:flex;justify-content:center;margin:var(--b-spacer-040) 0}
package/dist/button.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { B as n, b as B, a } from "./chunks/button.CSp48LJt.js";
2
2
  import { a as s } from "./chunks/ai-button.CDRPf7IY.js";
3
- import { B as r, a as i, b as c, c as p } from "./chunks/button-actions.O0cnu1_g.js";
3
+ import { B as r, a as i, b as c, c as p } from "./chunks/button-actions.Crj4QFAd.js";
4
4
  import { B as A, a as L, b as d } from "./chunks/button-actions.types.BptAXjD8.js";
5
5
  export {
6
6
  s as BentoAiButton,
package/dist/card.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as o, B as r, a as t } from "./chunks/card.Dqt_BOMI.js";
1
+ import { c as o, B as r, a as t } from "./chunks/card.C_03IYJe.js";
2
2
  export {
3
3
  o as BentoCard,
4
4
  r as BentoCardBackground,
package/dist/checkbox.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as t, a } from "./chunks/checkbox.B_WaHSop.js";
1
+ import { B as t, a } from "./chunks/checkbox.BWgWtiLJ.js";
2
2
  import { C as x } from "./chunks/minus-small.DYIyF5XW.js";
3
- import { B, a as C } from "./chunks/checkbox-group.S0FqSg9s.js";
3
+ import { B, a as C } from "./chunks/checkbox-group.DZrhxIHp.js";
4
4
  export {
5
5
  t as BentoCheckbox,
6
6
  a as BentoCheckboxEvent,
@@ -1,11 +1,11 @@
1
- import { defineComponent as F, computed as c, ref as _, toRefs as G, watch as E, provide as U, nextTick as f, createBlock as b, openBlock as d, Transition as L, withCtx as B, createElementVNode as h, unref as t, normalizeClass as W, createElementBlock as K, createCommentVNode as M, createVNode as y, createTextVNode as z, toDisplayString as S } from "vue";
1
+ import { defineComponent as F, computed as c, ref as _, toRefs as G, watch as E, provide as U, nextTick as f, createBlock as b, openBlock as d, Transition as L, withCtx as B, createElementVNode as S, unref as t, normalizeClass as W, createElementBlock as K, createCommentVNode as M, createVNode as y, createTextVNode as z, toDisplayString as h } from "vue";
2
2
  import { B as D } from "./button.CSp48LJt.js";
3
3
  import { B as J } from "./typography.6Oo5TOMP.js";
4
- import { B as Z } from "./button-actions-with-menu.LlNWeD3B.js";
4
+ import { B as Z } from "./button-actions-with-menu.B8xFgt-p.js";
5
5
  import { C as j } from "./cross.B92GxFTY.js";
6
6
  import { u as q } from "./index.pdBj0KQU.js";
7
7
  import { u as Y } from "./index.E60QniEu.js";
8
- import { P as $, B as H } from "./button-actions.O0cnu1_g.js";
8
+ import { P as $, B as H } from "./button-actions.Crj4QFAd.js";
9
9
  import { _ as Q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
10
  import "../assets/action-bar.css";
11
11
  const N = {
@@ -18,17 +18,19 @@ const N = {
18
18
  unsavedChanges: "unsaved change | unsaved changes"
19
19
  },
20
20
  "ja-JP": {
21
+ actionBar: "アクションバー",
21
22
  cancel: "キャンセル",
22
23
  close: "閉じる",
23
24
  save: "保存",
24
25
  selected: "選択済み",
25
- unsavedChanges: "未保存の変更"
26
+ unsavedChanges: "未保存の変更 | 未保存の変更"
26
27
  },
27
28
  "pt-BR": {
29
+ actionBar: "Barra de ação",
28
30
  cancel: "Cancelar",
29
31
  close: "Fechar",
30
32
  save: "Salvar",
31
- selected: "selecionados",
33
+ selected: "Selecionado",
32
34
  unsavedChanges: "alteração não salva | alterações não salvas"
33
35
  }
34
36
  }, X = ["aria-label"], ee = {
@@ -143,11 +145,11 @@ const N = {
143
145
  appear: ""
144
146
  }, {
145
147
  default: B(() => [
146
- h("section", {
148
+ S("section", {
147
149
  class: W(["b-action-bar", k.value]),
148
150
  "aria-label": t(i)("actionBar")
149
151
  }, [
150
- h("div", {
152
+ S("div", {
151
153
  ref_key: "actionBar",
152
154
  ref: l,
153
155
  class: "b-action-bar__container"
@@ -171,7 +173,7 @@ const N = {
171
173
  class: "b-action-bar__selection"
172
174
  }, {
173
175
  default: B(() => [
174
- z(S(t(T)(n.itemCounter)) + " " + S(u.value ? t(I)("unsavedChanges", n.itemCounter) : O.value), 1)
176
+ z(h(t(T)(n.itemCounter)) + " " + h(u.value ? t(I)("unsavedChanges", n.itemCounter) : O.value), 1)
175
177
  ]),
176
178
  _: 1
177
179
  }),
@@ -199,4 +201,4 @@ const N = {
199
201
  export {
200
202
  fe as B
201
203
  };
202
- //# sourceMappingURL=action-bar.D5y9JWnT.js.map
204
+ //# sourceMappingURL=action-bar.CriH15oF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"action-bar.D5y9JWnT.js","sources":["../../../vue2/src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event emitted when the user click the close button\n */\n (e: 'close'): void;\n (e: 'cancel'): void;\n (e: 'save'): void;\n }>();\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","props","__props","emit","__emit","t","tc","n","useI18n","label","computed","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuPIA,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjMA,UAAAC,IAAAC,GAuDAC,IAAAC,GASA,EAAA,GAAAC,GAAA,IAAAC,GAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAR,EAAA,CAAA,GACAS,IAAAC,EAAA,MAAAT,EAAA,iBAAAA,EAAA,iBAAAI,EAAA,UAAA,CAAA,GAGAM,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAd,CAAA,GACA,EAAA,OAAAe,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAV,EAAA,MAAAT,EAAA,YAAA,cAAA;AAEA,IAAAoB;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAb,EAAA,OAAA;AAAA,MAA2C,+BAAAG,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAA,CAAA;AAGA,UAAAC,IAAAhB,EAAA,MAAA;AAEI,YAAAiB,IAAA1B,EAAA,QAAA,IAAA,CAAA2B,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAArB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAL,EAAA,MAAA;AAAA,QACmB,OAAA,MAAAF,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAAE,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAAF,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJ6B,IAAA,YAAA;AACI,YAAAC,EAAA,GACAjB,EAAA,QAAAL,EAAA,MAAA,cAAA,KAAA,OAAAO,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAc,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAjB,EAAA,QAAAL,EAAA,MAAA,cAAA,MAAAO,EAAA,QAAA,MACIA,EAAA,SAAA,GACAgB,EAAA;AAAA,IACJ;AAIJ,WAAAb;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAmB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAtB,EAAA;AACI;AAEJ,cAAA0B,IAAAF,IAAAC;AACA,QAAApB,EAAA,QAAA,MACIE,EAAA,QAAA,IAAiCmB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"action-bar.CriH15oF.js","sources":["../../../vue2/src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event emitted when the user click the close button\n */\n (e: 'close'): void;\n (e: 'cancel'): void;\n (e: 'save'): void;\n }>();\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","props","__props","emit","__emit","t","tc","n","useI18n","label","computed","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuPIA,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjMA,UAAAC,IAAAC,GAuDAC,IAAAC,GASA,EAAA,GAAAC,GAAA,IAAAC,GAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAR,EAAA,CAAA,GACAS,IAAAC,EAAA,MAAAT,EAAA,iBAAAA,EAAA,iBAAAI,EAAA,UAAA,CAAA,GAGAM,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAd,CAAA,GACA,EAAA,OAAAe,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAV,EAAA,MAAAT,EAAA,YAAA,cAAA;AAEA,IAAAoB;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAb,EAAA,OAAA;AAAA,MAA2C,+BAAAG,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAA,CAAA;AAGA,UAAAC,IAAAhB,EAAA,MAAA;AAEI,YAAAiB,IAAA1B,EAAA,QAAA,IAAA,CAAA2B,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAArB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAL,EAAA,MAAA;AAAA,QACmB,OAAA,MAAAF,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAAE,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAAF,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJ6B,IAAA,YAAA;AACI,YAAAC,EAAA,GACAjB,EAAA,QAAAL,EAAA,MAAA,cAAA,KAAA,OAAAO,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAc,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAjB,EAAA,QAAAL,EAAA,MAAA,cAAA,MAAAO,EAAA,QAAA,MACIA,EAAA,SAAA,GACAgB,EAAA;AAAA,IACJ;AAIJ,WAAAb;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAmB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAtB,EAAA;AACI;AAEJ,cAAA0B,IAAAF,IAAAC;AACA,QAAApB,EAAA,QAAA,MACIE,EAAA,QAAA,IAAiCmB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,23 +1,23 @@
1
- import { createElementBlock as f, openBlock as o, mergeProps as L, createCommentVNode as c, createElementVNode as s, toDisplayString as V, defineComponent as N, useSlots as R, computed as n, onMounted as A, normalizeClass as P, createBlock as p, resolveDynamicComponent as D, unref as e, withCtx as _, renderSlot as v, createVNode as F } from "vue";
1
+ import { createElementBlock as f, openBlock as o, mergeProps as L, createCommentVNode as c, createElementVNode as s, toDisplayString as V, defineComponent as N, useSlots as R, computed as r, onMounted as A, normalizeClass as P, createBlock as p, resolveDynamicComponent as D, unref as e, withCtx as _, renderSlot as h, createVNode as F } from "vue";
2
2
  import { a as I, c as U, B as y } from "./typography.6Oo5TOMP.js";
3
3
  import { B as W } from "./button.CSp48LJt.js";
4
4
  import { C as M } from "./cross-small.n1UO5wNB.js";
5
5
  import { W as Z } from "./warning-filled.BMGD0G-_.js";
6
- import { C as j } from "./cross-circle-fill.CYLL7jfC.js";
7
- import { C as q } from "./checkmark-circle-fill._6-d40ru.js";
6
+ import { C as q } from "./cross-circle-fill.CYLL7jfC.js";
7
+ import { C as j } from "./checkmark-circle-fill._6-d40ru.js";
8
8
  /* empty css */
9
9
  import { _ as b } from "./_plugin-vue_export-helper.CHgC5LLL.js";
10
10
  import { u as z } from "./use-has-slot.B7eQSabc.js";
11
11
  import { u as J } from "./index.pdBj0KQU.js";
12
12
  import "../assets/alert.css";
13
- var m = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.TIP = "tip", t))(m || {}), a = /* @__PURE__ */ ((t) => (t.WARNING = "warning", t.CRITICAL = "critical", t.HIGHLIGHT = "highlight", t.SUCCESS = "success", t))(a || {}), S = /* @__PURE__ */ ((t) => (t.CLOSE_ALERT = "close-alert", t))(S || {});
13
+ var m = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.TIP = "tip", t))(m || {}), n = /* @__PURE__ */ ((t) => (t.WARNING = "warning", t.CRITICAL = "critical", t.HIGHLIGHT = "highlight", t.SUCCESS = "success", t))(n || {}), S = /* @__PURE__ */ ((t) => (t.CLOSE_ALERT = "close-alert", t))(S || {});
14
14
  let H = 0;
15
15
  const O = {
16
16
  beforeCreate() {
17
17
  this.uuid = H.toString(), H += 1;
18
18
  }
19
19
  }, Y = { key: 0 }, K = ["clip-path"], Q = ["id"];
20
- function X(t, r, u, C, h, i) {
20
+ function X(t, a, u, d, v, i) {
21
21
  return o(), f("svg", L({ role: "img" }, t.$attrs, {
22
22
  class: "ui-assets-icons-16",
23
23
  xmlns: "http://www.w3.org/2000/svg",
@@ -28,7 +28,7 @@ function X(t, r, u, C, h, i) {
28
28
  t.$attrs["svg-title"] ? (o(), f("title", Y, V(t.$attrs["svg-title"]), 1)) : c("", !0),
29
29
  s("g", {
30
30
  "clip-path": "url(#uia-ui-assets/icons-16-info_filled__a" + t.uuid + ")"
31
- }, r[0] || (r[0] = [
31
+ }, a[0] || (a[0] = [
32
32
  s("path", {
33
33
  fill: "#001222",
34
34
  "fill-rule": "evenodd",
@@ -39,7 +39,7 @@ function X(t, r, u, C, h, i) {
39
39
  s("defs", null, [
40
40
  s("clipPath", {
41
41
  id: "uia-ui-assets/icons-16-info_filled__a" + t.uuid
42
- }, r[1] || (r[1] = [
42
+ }, a[1] || (a[1] = [
43
43
  s("rect", {
44
44
  width: "16",
45
45
  height: "16",
@@ -58,67 +58,75 @@ const x = /* @__PURE__ */ b(O, [["render", X]]), T = {
58
58
  warningIcon: "Warning icon"
59
59
  },
60
60
  "ja-JP": {
61
- close: "閉じる"
61
+ close: "閉じる",
62
+ criticalIcon: "重大アイコン",
63
+ highlightIcon: "ハイライトアイコン",
64
+ successIcon: "成功アイコン",
65
+ warningIcon: "警告アイコン"
62
66
  },
63
67
  "pt-BR": {
64
- close: "Fechar"
68
+ close: "Fechar",
69
+ criticalIcon: "Ícone crítico",
70
+ highlightIcon: "Ícone de destaque",
71
+ successIcon: "Ícone de sucesso",
72
+ warningIcon: "Ícone de aviso"
65
73
  }
66
- }, t5 = ["role"], e5 = { class: "b-alert__icon" }, o5 = { class: "b-alert__content" }, s5 = {
74
+ }, tt = ["role"], et = { class: "b-alert__icon" }, ot = { class: "b-alert__content" }, st = {
67
75
  key: 2,
68
76
  class: "b-alert__actions",
69
77
  "data-testid": "alert-actions"
70
- }, i5 = {
78
+ }, it = {
71
79
  i18n: { messages: T },
72
80
  name: "bento-alert"
73
- }, a5 = /* @__PURE__ */ N({
74
- ...i5,
81
+ }, nt = /* @__PURE__ */ N({
82
+ ...it,
75
83
  props: {
76
84
  closeButton: { type: Boolean, default: !1 },
77
- type: { default: a.HIGHLIGHT },
85
+ type: { default: n.HIGHLIGHT },
78
86
  variant: { default: m.DEFAULT }
79
87
  },
80
88
  emits: ["close-alert"],
81
- setup(t, { emit: r }) {
82
- const u = R(), C = z(u), h = r, i = t, { t: g } = J({ messages: T }), l = n(() => i.variant === m.TIP), $ = n(() => ({
89
+ setup(t, { emit: a }) {
90
+ const u = R(), d = z(u), v = a, i = t, { t: g } = J({ messages: T }), l = r(() => i.variant === m.TIP), $ = r(() => ({
83
91
  [`b-alert--${i.type}`]: i.type,
84
92
  [`b-alert--${m.TIP}`]: l.value
85
- })), w = n(() => g(`${i.type}Icon`)), B = n(() => {
93
+ })), w = r(() => g(`${i.type}Icon`)), B = r(() => {
86
94
  switch (i.type) {
87
- case a.CRITICAL:
88
- return j;
89
- case a.SUCCESS:
95
+ case n.CRITICAL:
90
96
  return q;
91
- case a.WARNING:
97
+ case n.SUCCESS:
98
+ return j;
99
+ case n.WARNING:
92
100
  return Z;
93
- case a.HIGHLIGHT:
101
+ case n.HIGHLIGHT:
94
102
  default:
95
103
  return x;
96
104
  }
97
- }), k = n(() => ({
105
+ }), k = r(() => ({
98
106
  el: U.DIV,
99
107
  variant: l.value ? I.CAPTION : I.BODY,
100
108
  wide: !0
101
- })), E = n(() => i.type === a.HIGHLIGHT ? "status" : "alert"), G = () => {
102
- h(S.CLOSE_ALERT);
109
+ })), E = r(() => i.type === n.HIGHLIGHT ? "status" : "alert"), G = () => {
110
+ v(S.CLOSE_ALERT);
103
111
  };
104
112
  return A(() => {
105
113
  if (!u.default && !u.description)
106
114
  throw new Error("Alert Component requires a title or a description");
107
- }), (d, r5) => (o(), f("div", {
115
+ }), (C, at) => (o(), f("div", {
108
116
  class: "b-alert",
109
117
  role: E.value
110
118
  }, [
111
119
  s("div", {
112
120
  class: P(["b-alert__inner-container", $.value])
113
121
  }, [
114
- s("div", e5, [
122
+ s("div", et, [
115
123
  (o(), p(D(B.value), {
116
124
  "aria-hidden": "true",
117
125
  "svg-title": w.value
118
126
  }, null, 8, ["svg-title"]))
119
127
  ]),
120
- s("div", o5, [
121
- e(C)("default") && !l.value ? (o(), p(e(y), {
128
+ s("div", ot, [
129
+ e(d)("default") && !l.value ? (o(), p(e(y), {
122
130
  key: 0,
123
131
  class: "b-alert__title",
124
132
  el: "div",
@@ -127,24 +135,24 @@ const x = /* @__PURE__ */ b(O, [["render", X]]), T = {
127
135
  wide: ""
128
136
  }, {
129
137
  default: _(() => [
130
- v(d.$slots, "default", {}, void 0, !0)
138
+ h(C.$slots, "default", {}, void 0, !0)
131
139
  ]),
132
140
  _: 3
133
141
  })) : c("", !0),
134
- e(C)("description") ? (o(), p(e(y), L({
142
+ e(d)("description") ? (o(), p(e(y), L({
135
143
  key: 1,
136
144
  class: "b-alert__description"
137
145
  }, k.value, { "data-testid": "alert-description" }), {
138
146
  default: _(() => [
139
- v(d.$slots, "description", {}, void 0, !0)
147
+ h(C.$slots, "description", {}, void 0, !0)
140
148
  ]),
141
149
  _: 3
142
150
  }, 16)) : c("", !0),
143
- e(C)("actions") && !l.value ? (o(), f("div", s5, [
144
- v(d.$slots, "actions", {}, void 0, !0)
151
+ e(d)("actions") && !l.value ? (o(), f("div", st, [
152
+ h(C.$slots, "actions", {}, void 0, !0)
145
153
  ])) : c("", !0)
146
154
  ]),
147
- d.closeButton && !l.value ? (o(), p(e(W), {
155
+ C.closeButton && !l.value ? (o(), p(e(W), {
148
156
  key: 0,
149
157
  class: "b-alert__close-button",
150
158
  variant: "tertiary",
@@ -159,13 +167,13 @@ const x = /* @__PURE__ */ b(O, [["render", X]]), T = {
159
167
  _: 1
160
168
  })) : c("", !0)
161
169
  ], 2)
162
- ], 8, t5));
170
+ ], 8, tt));
163
171
  }
164
- }), h5 = /* @__PURE__ */ b(a5, [["__scopeId", "data-v-5c5a81b8"]]);
172
+ }), vt = /* @__PURE__ */ b(nt, [["__scopeId", "data-v-5c5a81b8"]]);
165
173
  export {
166
- h5 as B,
174
+ vt as B,
167
175
  m as a,
168
- a as b,
176
+ n as b,
169
177
  S as c
170
178
  };
171
- //# sourceMappingURL=alert.CYaIUaUn.js.map
179
+ //# sourceMappingURL=alert.BYcw-u3b.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.CYaIUaUn.js","sources":["../../../vue2/src/components/alert/alert.types.ts","../../../ui-assets/icons-16/dist/vue/info-filled.vue","../../../vue2/src/components/alert/alert.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\n/**\n * @deprecated from version 2.0.0. Use \"@close-alert\" instead.\n */\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-info_filled__a' + uuid + ')'\"><path fill=\"#001222\" fill-rule=\"evenodd\" d=\"M5.03418 0.839544C6.45015 0.253058 8.00853 0.0992122 9.51172 0.398138C11.015 0.697159 12.3966 1.43547 13.4805 2.51923C14.5642 3.60301 15.3025 4.98476 15.6016 6.48798C15.9005 7.99113 15.7466 9.54958 15.1602 10.9655C14.5736 12.3816 13.5801 13.5925 12.3057 14.444C11.1109 15.2423 9.71924 15.6917 8.28711 15.7448L8 15.7497C5.94458 15.7497 3.97294 14.9336 2.51953 13.4802C1.06623 12.0268 0.250005 10.055 0.25 7.9997C0.250066 6.4671 0.70424 4.96838 1.55566 3.69404C2.40724 2.41967 3.61814 1.42609 5.03418 0.839544ZM6.25 6.2497V7.7497H7.25V10.2497H6.25V11.7497H9.75V10.2497H8.75V6.2497H6.25ZM7.75 3.4997C7.58674 3.4997 7.42763 3.54211 7.28418 3.61786C7.25386 3.63389 7.22303 3.64949 7.19434 3.66865L7.07812 3.75947C7.04744 3.78732 7.01817 3.817 6.99121 3.84833C6.97917 3.86236 6.96827 3.8776 6.95703 3.89228C6.93942 3.91522 6.9228 3.93915 6.90723 3.96357C6.90005 3.97485 6.89248 3.98618 6.88574 3.99775C6.86351 4.03594 6.84324 4.07574 6.82617 4.11689L6.78027 4.25751C6.77017 4.29795 6.7628 4.33927 6.75781 4.38056C6.75552 4.39961 6.75411 4.41902 6.75293 4.43818C6.75166 4.45856 6.75196 4.47926 6.75195 4.4997C6.75195 4.52207 6.75144 4.54472 6.75293 4.56708C6.75579 4.60979 6.76114 4.65273 6.76953 4.69501L6.80859 4.83661C6.82299 4.87685 6.84098 4.91584 6.86035 4.9538C6.86847 4.96971 6.87775 4.98522 6.88672 5.00068C6.89748 5.01922 6.90895 5.03753 6.9209 5.05536C6.93323 5.07376 6.94544 5.09248 6.95898 5.11005C6.98495 5.14371 7.01269 5.17643 7.04297 5.20673L7.1543 5.30341C7.19021 5.33003 7.2285 5.35325 7.26758 5.3747C7.27775 5.38031 7.28847 5.38508 7.29883 5.39033C7.32903 5.40554 7.35995 5.41924 7.3916 5.43134C7.40264 5.43559 7.41361 5.44018 7.4248 5.44404C7.46721 5.45855 7.51041 5.47134 7.55469 5.48017C7.59672 5.48853 7.63919 5.49291 7.68164 5.49579C7.70021 5.49707 7.71872 5.49751 7.7373 5.49775C7.76179 5.49804 7.78614 5.49729 7.81055 5.49579C7.82982 5.49462 7.84899 5.4932 7.86816 5.49091C7.90982 5.48592 7.95139 5.47962 7.99219 5.46943L8.13281 5.42353C8.1739 5.40649 8.21283 5.38517 8.25098 5.36298C8.2626 5.35623 8.27383 5.3487 8.28516 5.3415C8.30964 5.32589 8.33345 5.30934 8.35645 5.29169C8.37116 5.28043 8.38633 5.26958 8.40039 5.25751C8.43176 5.23053 8.46235 5.20229 8.49023 5.17158L8.58105 5.05536C8.69084 4.89096 8.75 4.6974 8.75 4.4997C8.74992 4.2346 8.64449 3.98013 8.45703 3.79267C8.26951 3.60523 8.01514 3.4997 7.75 3.4997Z\" clip-rule=\"evenodd\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-info_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n el=\"div\"\n variant=\"body\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits<{\n /**\n * Emits event when the alert is closed. `closeButton` must be `true`\n */\n (e: 'close-alert');\n }>();\n\n const props = withDefaults(\n defineProps<{\n /**\n * Adds a close button on the right side of the alert\n */\n closeButton?: boolean;\n\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING\n */\n type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;\n\n /**\n * Variant for the alert\n * @values DEFAULT, TIP\n */\n variant?: BentoAlertVariant | `${BentoAlertVariant}`;\n }>(),\n {\n closeButton: false,\n type: BentoAlertTypeOption.HIGHLIGHT,\n variant: BentoAlertVariant.DEFAULT,\n }\n );\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert type=\"highlight\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-alert',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","_hoisted_2$1","_hoisted_3$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__","messages","slots","useSlots","hasSlot","useHasSlot","emit","__emit","props","__props","t","useI18n","isTipVariant","computed","alertConditionalClasses","iconSvgTitle","iconComponent","CrossCircleFillIcon","CheckmarkCircleFillIcon","WarningFilledIcon","Info","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","onMounted"],"mappings":";;;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WAJQA,IAAAD,KAAA,CAAA,CAAA,GAUAE,IAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,KAAA,CAAA,CAAA;ACdR,IAAAE,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;mBAZZC,IAAA,CAAA,WAAA,GAAAC,IAAA,CAAA,IAAA;;AAEI,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE4M,aAAA,+CAAAD,EAAA,OAAA;AAAA;;QAA4E,MAAA;AAAA,QAAe,aAAA;AAAA,QAAoB,GAAA;AAAA,QAAwyE,aAAA;AAAA;IAFnmF,IAAA,GAAAL,CAAA;AAAA;;QAE6oF,IAAA,0CAAAK,EAAA;AAAA;;UAA0D,OAAA;AAAA,UAAW,QAAA;AAAA,UAAY,MAAA;AAAA;MAF9tF,IAAA,GAAAJ,CAAA;AAAA;;;;;;;;;;;;;;;;;;;;;GCqKIM,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;AApGA,UAAAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,GAOAC,IAAAC,GA0BA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAV,EAAA,CAAA,GAEAW,IAAAC,EAAA,MAAAL,EAAA,YAAAtB,EAAA,GAAA,GAEA4B,IAAAD,EAAA,OAAA;AAAA,MAAgD,CAAA,YAAAL,EAAA,IAAA,EAAA,GAAAA,EAAA;AAAA,MACV,CAAA,YAAAtB,EAAA,GAAA,EAAA,GAAA0B,EAAA;AAAA,IACkB,EAAA,GAGxDG,IAAAF,EAAA,MAAAH,EAAA,GAAAF,EAAA,IAAA,MAAA,CAAA,GAEAQ,IAAAH,EAAA,MAAA;AACI,cAAAL,EAAA,MAAA;AAAA,QAAoB,KAAApB,EAAA;AAEZ,iBAAA6B;AAAA,QAAO,KAAA7B,EAAA;AAEP,iBAAA8B;AAAA,QAAO,KAAA9B,EAAA;AAEP,iBAAA+B;AAAA,QAAO,KAAA/B,EAAA;AAAA,QACe;AAEtB,iBAAAgC;AAAA,MAAO;AAAA,IACf,CAAA,GAGJC,IAAAR,EAAA,OAAA;AAAA,MAA8C,IAAAS,EAAA;AAAA,MACf,SAAAV,EAAA,QAAAW,EAAA,UAAAA,EAAA;AAAA,MAC2D,MAAA;AAAA,IAChF,EAAA,GAGVC,IAAAX,EAAA,MAAAL,EAAA,SAAApB,EAAA,YAAA,WAAA,OAAA,GAEAqC,IAAA,MAAA;AACI,MAAAnB,EAAAhB,EAAA,WAAA;AAAA,IAAgC;AAGpC,WAAAoC,EAAA,MAAA;AACI,UAAA,CAAAxB,EAAA,WAAA,CAAAA,EAAA;AACI,cAAA,IAAA,MAAA,mDAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"alert.BYcw-u3b.js","sources":["../../../vue2/src/components/alert/alert.types.ts","../../../ui-assets/icons-16/dist/vue/info-filled.vue","../../../vue2/src/components/alert/alert.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\n/**\n * @deprecated from version 2.0.0. Use \"@close-alert\" instead.\n */\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-info_filled__a' + uuid + ')'\"><path fill=\"#001222\" fill-rule=\"evenodd\" d=\"M5.03418 0.839544C6.45015 0.253058 8.00853 0.0992122 9.51172 0.398138C11.015 0.697159 12.3966 1.43547 13.4805 2.51923C14.5642 3.60301 15.3025 4.98476 15.6016 6.48798C15.9005 7.99113 15.7466 9.54958 15.1602 10.9655C14.5736 12.3816 13.5801 13.5925 12.3057 14.444C11.1109 15.2423 9.71924 15.6917 8.28711 15.7448L8 15.7497C5.94458 15.7497 3.97294 14.9336 2.51953 13.4802C1.06623 12.0268 0.250005 10.055 0.25 7.9997C0.250066 6.4671 0.70424 4.96838 1.55566 3.69404C2.40724 2.41967 3.61814 1.42609 5.03418 0.839544ZM6.25 6.2497V7.7497H7.25V10.2497H6.25V11.7497H9.75V10.2497H8.75V6.2497H6.25ZM7.75 3.4997C7.58674 3.4997 7.42763 3.54211 7.28418 3.61786C7.25386 3.63389 7.22303 3.64949 7.19434 3.66865L7.07812 3.75947C7.04744 3.78732 7.01817 3.817 6.99121 3.84833C6.97917 3.86236 6.96827 3.8776 6.95703 3.89228C6.93942 3.91522 6.9228 3.93915 6.90723 3.96357C6.90005 3.97485 6.89248 3.98618 6.88574 3.99775C6.86351 4.03594 6.84324 4.07574 6.82617 4.11689L6.78027 4.25751C6.77017 4.29795 6.7628 4.33927 6.75781 4.38056C6.75552 4.39961 6.75411 4.41902 6.75293 4.43818C6.75166 4.45856 6.75196 4.47926 6.75195 4.4997C6.75195 4.52207 6.75144 4.54472 6.75293 4.56708C6.75579 4.60979 6.76114 4.65273 6.76953 4.69501L6.80859 4.83661C6.82299 4.87685 6.84098 4.91584 6.86035 4.9538C6.86847 4.96971 6.87775 4.98522 6.88672 5.00068C6.89748 5.01922 6.90895 5.03753 6.9209 5.05536C6.93323 5.07376 6.94544 5.09248 6.95898 5.11005C6.98495 5.14371 7.01269 5.17643 7.04297 5.20673L7.1543 5.30341C7.19021 5.33003 7.2285 5.35325 7.26758 5.3747C7.27775 5.38031 7.28847 5.38508 7.29883 5.39033C7.32903 5.40554 7.35995 5.41924 7.3916 5.43134C7.40264 5.43559 7.41361 5.44018 7.4248 5.44404C7.46721 5.45855 7.51041 5.47134 7.55469 5.48017C7.59672 5.48853 7.63919 5.49291 7.68164 5.49579C7.70021 5.49707 7.71872 5.49751 7.7373 5.49775C7.76179 5.49804 7.78614 5.49729 7.81055 5.49579C7.82982 5.49462 7.84899 5.4932 7.86816 5.49091C7.90982 5.48592 7.95139 5.47962 7.99219 5.46943L8.13281 5.42353C8.1739 5.40649 8.21283 5.38517 8.25098 5.36298C8.2626 5.35623 8.27383 5.3487 8.28516 5.3415C8.30964 5.32589 8.33345 5.30934 8.35645 5.29169C8.37116 5.28043 8.38633 5.26958 8.40039 5.25751C8.43176 5.23053 8.46235 5.20229 8.49023 5.17158L8.58105 5.05536C8.69084 4.89096 8.75 4.6974 8.75 4.4997C8.74992 4.2346 8.64449 3.98013 8.45703 3.79267C8.26951 3.60523 8.01514 3.4997 7.75 3.4997Z\" clip-rule=\"evenodd\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-info_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n el=\"div\"\n variant=\"body\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits<{\n /**\n * Emits event when the alert is closed. `closeButton` must be `true`\n */\n (e: 'close-alert');\n }>();\n\n const props = withDefaults(\n defineProps<{\n /**\n * Adds a close button on the right side of the alert\n */\n closeButton?: boolean;\n\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING\n */\n type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;\n\n /**\n * Variant for the alert\n * @values DEFAULT, TIP\n */\n variant?: BentoAlertVariant | `${BentoAlertVariant}`;\n }>(),\n {\n closeButton: false,\n type: BentoAlertTypeOption.HIGHLIGHT,\n variant: BentoAlertVariant.DEFAULT,\n }\n );\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert type=\"highlight\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-alert',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","_hoisted_2$1","_hoisted_3$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__","messages","slots","useSlots","hasSlot","useHasSlot","emit","__emit","props","__props","t","useI18n","isTipVariant","computed","alertConditionalClasses","iconSvgTitle","iconComponent","CrossCircleFillIcon","CheckmarkCircleFillIcon","WarningFilledIcon","Info","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","onMounted"],"mappings":";;;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WAJQA,IAAAD,KAAA,CAAA,CAAA,GAUAE,IAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,KAAA,CAAA,CAAA;ACdR,IAAAE,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;mBAZZC,IAAA,CAAA,WAAA,GAAAC,IAAA,CAAA,IAAA;;AAEI,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE4M,aAAA,+CAAAD,EAAA,OAAA;AAAA;;QAA4E,MAAA;AAAA,QAAe,aAAA;AAAA,QAAoB,GAAA;AAAA,QAAwyE,aAAA;AAAA;IAFnmF,IAAA,GAAAL,CAAA;AAAA;;QAE6oF,IAAA,0CAAAK,EAAA;AAAA;;UAA0D,OAAA;AAAA,UAAW,QAAA;AAAA,UAAY,MAAA;AAAA;MAF9tF,IAAA,GAAAJ,CAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GCqKIM,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;AApGA,UAAAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,GAOAC,IAAAC,GA0BA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAV,EAAA,CAAA,GAEAW,IAAAC,EAAA,MAAAL,EAAA,YAAAtB,EAAA,GAAA,GAEA4B,IAAAD,EAAA,OAAA;AAAA,MAAgD,CAAA,YAAAL,EAAA,IAAA,EAAA,GAAAA,EAAA;AAAA,MACV,CAAA,YAAAtB,EAAA,GAAA,EAAA,GAAA0B,EAAA;AAAA,IACkB,EAAA,GAGxDG,IAAAF,EAAA,MAAAH,EAAA,GAAAF,EAAA,IAAA,MAAA,CAAA,GAEAQ,IAAAH,EAAA,MAAA;AACI,cAAAL,EAAA,MAAA;AAAA,QAAoB,KAAApB,EAAA;AAEZ,iBAAA6B;AAAA,QAAO,KAAA7B,EAAA;AAEP,iBAAA8B;AAAA,QAAO,KAAA9B,EAAA;AAEP,iBAAA+B;AAAA,QAAO,KAAA/B,EAAA;AAAA,QACe;AAEtB,iBAAAgC;AAAA,MAAO;AAAA,IACf,CAAA,GAGJC,IAAAR,EAAA,OAAA;AAAA,MAA8C,IAAAS,EAAA;AAAA,MACf,SAAAV,EAAA,QAAAW,EAAA,UAAAA,EAAA;AAAA,MAC2D,MAAA;AAAA,IAChF,EAAA,GAGVC,IAAAX,EAAA,MAAAL,EAAA,SAAApB,EAAA,YAAA,WAAA,OAAA,GAEAqC,IAAA,MAAA;AACI,MAAAnB,EAAAhB,EAAA,WAAA;AAAA,IAAgC;AAGpC,WAAAoC,EAAA,MAAA;AACI,UAAA,CAAAxB,EAAA,WAAA,CAAAA,EAAA;AACI,cAAA,IAAA,MAAA,mDAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}