@adyen/bento-vue2 1.28.0 → 1.29.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 (585) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +364 -107
  3. package/dist/accordion.js +101 -3
  4. package/dist/accordion.js.map +1 -1
  5. package/dist/action-bar.js +146 -2
  6. package/dist/action-bar.js.map +1 -1
  7. package/dist/alert.js +95 -3
  8. package/dist/alert.js.map +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button.css +1 -1
  11. package/dist/assets/checkbox-input.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/dropdown-default-textbox.css +1 -1
  14. package/dist/assets/dropdown.css +1 -1
  15. package/dist/assets/error-message.css +1 -1
  16. package/dist/assets/{data-grid.css → index11.css} +1 -1
  17. package/dist/assets/index14.css +1 -0
  18. package/dist/assets/index18.css +1 -0
  19. package/dist/assets/index19.css +1 -0
  20. package/dist/assets/{secondary-nav.css → index21.css} +1 -1
  21. package/dist/assets/index22.css +1 -0
  22. package/dist/assets/{action-bar.css → index23.css} +1 -1
  23. package/dist/assets/{sidepanel.css → index24.css} +1 -1
  24. package/dist/assets/index28.css +1 -0
  25. package/dist/assets/{accordion-item.css → index3.css} +1 -1
  26. package/dist/assets/index30.css +1 -0
  27. package/dist/assets/index33.css +1 -0
  28. package/dist/assets/{modal-fullscreen.css → index36.css} +1 -1
  29. package/dist/assets/{menu.css → index38.css} +1 -1
  30. package/dist/assets/index39.css +1 -0
  31. package/dist/assets/{popover.css → index40.css} +1 -1
  32. package/dist/assets/index42.css +1 -0
  33. package/dist/assets/index43.css +1 -0
  34. package/dist/assets/index45.css +1 -0
  35. package/dist/assets/{dashboard-section.css → index47.css} +1 -1
  36. package/dist/assets/index48.css +1 -0
  37. package/dist/assets/{card.css → index5.css} +1 -1
  38. package/dist/assets/index7.css +1 -0
  39. package/dist/assets/listbox-option-tag.css +1 -1
  40. package/dist/assets/loading-button.css +1 -1
  41. package/dist/assets/radio-input.css +1 -1
  42. package/dist/assets/segmented-control.css +1 -1
  43. package/dist/avatar.js +75 -0
  44. package/dist/avatar.js.map +1 -0
  45. package/dist/badge.js +24 -22
  46. package/dist/badge.js.map +1 -1
  47. package/dist/button.js +94 -14
  48. package/dist/button.js.map +1 -1
  49. package/dist/card.js +114 -4
  50. package/dist/card.js.map +1 -1
  51. package/dist/checkbox.js +155 -8
  52. package/dist/checkbox.js.map +1 -1
  53. package/dist/chunks/1-generic-use.3ea646cd.js +5 -0
  54. package/dist/chunks/1-generic-use.3ea646cd.js.map +1 -0
  55. package/dist/chunks/1-generic-use.ccca5813.js +5 -0
  56. package/dist/chunks/1-generic-use.ccca5813.js.map +1 -0
  57. package/dist/chunks/2-generic-use.443db127.js +5 -0
  58. package/dist/chunks/2-generic-use.443db127.js.map +1 -0
  59. package/dist/chunks/2-generic-use.d69d7c08.js +5 -0
  60. package/dist/chunks/2-generic-use.d69d7c08.js.map +1 -0
  61. package/dist/chunks/3-generic-use.9f74667f.js +5 -0
  62. package/dist/chunks/3-generic-use.9f74667f.js.map +1 -0
  63. package/dist/chunks/3-generic-use.fe7ae2ce.js +5 -0
  64. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +1 -0
  65. package/dist/chunks/4-generic-use.0356f4a1.js +5 -0
  66. package/dist/chunks/4-generic-use.0356f4a1.js.map +1 -0
  67. package/dist/chunks/4-generic-use.cd04bad0.js +5 -0
  68. package/dist/chunks/4-generic-use.cd04bad0.js.map +1 -0
  69. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +33 -0
  70. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +1 -0
  71. package/dist/chunks/adding-payment-methods.d570e03e.js +5 -0
  72. package/dist/chunks/adding-payment-methods.d570e03e.js.map +1 -0
  73. package/dist/chunks/adding-payment-methods.e419d6c0.js +5 -0
  74. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +1 -0
  75. package/dist/chunks/adyen-giving.480913b5.js +5 -0
  76. package/dist/chunks/adyen-giving.480913b5.js.map +1 -0
  77. package/dist/chunks/adyen-giving.54ed984c.js +5 -0
  78. package/dist/chunks/adyen-giving.54ed984c.js.map +1 -0
  79. package/dist/chunks/{aria-label.CaUURpnB.js → aria-label.ac9651a5.js} +1 -1
  80. package/dist/chunks/{aria-label.CaUURpnB.js.map → aria-label.ac9651a5.js.map} +1 -1
  81. package/dist/chunks/base-button.852204dc.js +88 -0
  82. package/dist/chunks/{base-button.DER7_IsF.js.map → base-button.852204dc.js.map} +1 -1
  83. package/dist/chunks/{base-modal.C5I7bR0d.js → base-modal.00322d31.js} +46 -42
  84. package/dist/chunks/{base-modal.C5I7bR0d.js.map → base-modal.00322d31.js.map} +1 -1
  85. package/dist/chunks/{base-modal.keys.C2PQXcE2.js → base-modal.keys.b08a6bdf.js} +1 -1
  86. package/dist/chunks/{base-modal.keys.C2PQXcE2.js.map → base-modal.keys.b08a6bdf.js.map} +1 -1
  87. package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js → button-actions-with-menu.bc66bc0a.js} +27 -25
  88. package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js.map → button-actions-with-menu.bc66bc0a.js.map} +1 -1
  89. package/dist/chunks/{button-actions.Bg9ey0p6.js → button-actions.430d7510.js} +31 -29
  90. package/dist/chunks/{button-actions.Bg9ey0p6.js.map → button-actions.430d7510.js.map} +1 -1
  91. package/dist/chunks/{button.DhAUh5JA.js → button.9184ade9.js} +24 -22
  92. package/dist/chunks/{button.DhAUh5JA.js.map → button.9184ade9.js.map} +1 -1
  93. package/dist/chunks/{calendar.B69z8gjb.js → calendar.bea81953.js} +332 -287
  94. package/dist/chunks/{calendar.B69z8gjb.js.map → calendar.bea81953.js.map} +1 -1
  95. package/dist/chunks/{checkbox-input.DwDwI2BD.js → checkbox-input.5ab6ebe7.js} +32 -28
  96. package/dist/chunks/{checkbox-input.DwDwI2BD.js.map → checkbox-input.5ab6ebe7.js.map} +1 -1
  97. package/dist/chunks/{checkbox.Bi2RDBEZ.js → checkbox.192e921e.js} +23 -21
  98. package/dist/chunks/{checkbox.Bi2RDBEZ.js.map → checkbox.192e921e.js.map} +1 -1
  99. package/dist/chunks/checkmark-circle-fill.382e27e2.js +26 -0
  100. package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js.map → checkmark-circle-fill.382e27e2.js.map} +1 -1
  101. package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.6f444bd7.js} +9 -7
  102. package/dist/chunks/{checkmark-small.BtF8b2gE.js.map → checkmark-small.6f444bd7.js.map} +1 -1
  103. package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.3cd9eeee.js} +18 -14
  104. package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.3cd9eeee.js.map} +1 -1
  105. package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.bade9c77.js} +19 -15
  106. package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.bade9c77.js.map} +1 -1
  107. package/dist/chunks/{controls-group.cSRFiEVO.js → controls-group.6b05fbb4.js} +19 -17
  108. package/dist/chunks/{controls-group.cSRFiEVO.js.map → controls-group.6b05fbb4.js.map} +1 -1
  109. package/dist/chunks/{copy.BtFWFG3q.js → copy.d5dd2b60.js} +19 -15
  110. package/dist/chunks/{copy.BtFWFG3q.js.map → copy.d5dd2b60.js.map} +1 -1
  111. package/dist/chunks/{country.types.Br0AjxGy.js → country.types.002caff2.js} +5 -5
  112. package/dist/chunks/{country.types.Br0AjxGy.js.map → country.types.002caff2.js.map} +1 -1
  113. package/dist/chunks/cross-circle-fill-small.b0310bd6.js +26 -0
  114. package/dist/chunks/cross-circle-fill-small.b0310bd6.js.map +1 -0
  115. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.dd300d4c.js} +10 -8
  116. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js.map → cross-circle-fill.dd300d4c.js.map} +1 -1
  117. package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.3bb94ec7.js} +12 -10
  118. package/dist/chunks/{cross-small.BLUwtRB-.js.map → cross-small.3bb94ec7.js.map} +1 -1
  119. package/dist/chunks/{cross.CsUPDmaA.js → cross.f47f6b7f.js} +12 -10
  120. package/dist/chunks/{cross.CsUPDmaA.js.map → cross.f47f6b7f.js.map} +1 -1
  121. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js → data-grid-template.keys.a819a991.js} +1 -1
  122. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.a819a991.js.map} +1 -1
  123. package/dist/chunks/{date-input.BqBdAO1E.js → date-input.9186a0bf.js} +1 -1
  124. package/dist/chunks/{date-input.BqBdAO1E.js.map → date-input.9186a0bf.js.map} +1 -1
  125. package/dist/chunks/{debounce.DUTu11PS.js → debounce.b5ef6acf.js} +1 -1
  126. package/dist/chunks/{debounce.DUTu11PS.js.map → debounce.b5ef6acf.js.map} +1 -1
  127. package/dist/chunks/{dialog-page.DAh0M4mT.js → dialog-page.c663c657.js} +24 -20
  128. package/dist/chunks/{dialog-page.DAh0M4mT.js.map → dialog-page.c663c657.js.map} +1 -1
  129. package/dist/chunks/{dropdown-default-textbox.CKOkl_Qa.js → dropdown-default-textbox.346c40ea.js} +64 -51
  130. package/dist/chunks/dropdown-default-textbox.346c40ea.js.map +1 -0
  131. package/dist/chunks/{dropdown.yhhQCKve.js → dropdown.9bee6e1d.js} +248 -230
  132. package/dist/chunks/dropdown.9bee6e1d.js.map +1 -0
  133. package/dist/chunks/error-message.af88c25f.js +111 -0
  134. package/dist/chunks/{error-message.BSxUoE3_.js.map → error-message.af88c25f.js.map} +1 -1
  135. package/dist/chunks/es6.cf6b43e9.js +9 -0
  136. package/dist/chunks/es6.cf6b43e9.js.map +1 -0
  137. package/dist/chunks/events.f14a214b.js +50 -0
  138. package/dist/chunks/{events.CMzGybJJ.js.map → events.f14a214b.js.map} +1 -1
  139. package/dist/chunks/expand.d0ccfcfe.js +26 -0
  140. package/dist/chunks/expand.d0ccfcfe.js.map +1 -0
  141. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js → fixed-scroller.5e51ffb3.js} +20 -18
  142. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js.map → fixed-scroller.5e51ffb3.js.map} +1 -1
  143. package/dist/chunks/{footer-actions.DqMRmlV_.js → footer-actions.b4fe4fdb.js} +13 -11
  144. package/dist/chunks/{footer-actions.DqMRmlV_.js.map → footer-actions.b4fe4fdb.js.map} +1 -1
  145. package/dist/chunks/{form-layout.types.D3EKzbE7.js → form-layout.types.a7a1438d.js} +1 -1
  146. package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.a7a1438d.js.map} +1 -1
  147. package/dist/chunks/{get-slot-text.Cgn-E48s.js → get-slot-text.99c3d860.js} +2 -2
  148. package/dist/chunks/{get-slot-text.Cgn-E48s.js.map → get-slot-text.99c3d860.js.map} +1 -1
  149. package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.e0025286.js} +13 -11
  150. package/dist/chunks/{grid-layout.HvTAa4to.js.map → grid-layout.e0025286.js.map} +1 -1
  151. package/dist/chunks/{i18n.BQkEbtPM.js → i18n.eb5b985b.js} +2 -2
  152. package/dist/chunks/{i18n.BQkEbtPM.js.map → i18n.eb5b985b.js.map} +1 -1
  153. package/dist/chunks/{structured-list-item.C9NTVDvT.js → index.1c8f9245.js} +22 -18
  154. package/dist/chunks/index.1c8f9245.js.map +1 -0
  155. package/dist/chunks/{popover.B8YH92W8.js → index.40b77741.js} +37 -31
  156. package/dist/chunks/index.40b77741.js.map +1 -0
  157. package/dist/chunks/index.4afa7b19.js +32 -0
  158. package/dist/chunks/index.4afa7b19.js.map +1 -0
  159. package/dist/chunks/{index.Cl4_42j5.js → index.4c062058.js} +1 -1
  160. package/dist/chunks/{index.Cl4_42j5.js.map → index.4c062058.js.map} +1 -1
  161. package/dist/chunks/{date.DKjxxR6P.js → index.614a5138.js} +51 -44
  162. package/dist/chunks/index.614a5138.js.map +1 -0
  163. package/dist/chunks/index.6584f75e.js +183 -0
  164. package/dist/chunks/{index.OCPp3NST.js.map → index.6584f75e.js.map} +1 -1
  165. package/dist/chunks/{index.xqFSZOAb.js → index.86453263.js} +2 -2
  166. package/dist/chunks/{index.xqFSZOAb.js.map → index.86453263.js.map} +1 -1
  167. package/dist/chunks/{menu.2TwUMlA9.js → index.8a037a95.js} +94 -82
  168. package/dist/chunks/index.8a037a95.js.map +1 -0
  169. package/dist/chunks/{focus-trap.DSkLNO_i.js → index.ba69cab6.js} +37 -35
  170. package/dist/chunks/index.ba69cab6.js.map +1 -0
  171. package/dist/chunks/{popper-container.Bt02N3o1.js → index.bad400d5.js} +436 -381
  172. package/dist/chunks/index.bad400d5.js.map +1 -0
  173. package/dist/chunks/{index.Z84QE0E2.js → index.d80206ed.js} +2 -2
  174. package/dist/chunks/{index.Z84QE0E2.js.map → index.d80206ed.js.map} +1 -1
  175. package/dist/chunks/{typography.Bjtu3Gca.js → index.e29a6907.js} +32 -30
  176. package/dist/chunks/index.e29a6907.js.map +1 -0
  177. package/dist/chunks/{link.DJ1A53gF.js → index.f46e4190.js} +24 -20
  178. package/dist/chunks/index.f46e4190.js.map +1 -0
  179. package/dist/chunks/{index.B_UZQ6qF.js → index.f55fdc32.js} +243 -209
  180. package/dist/chunks/{index.B_UZQ6qF.js.map → index.f55fdc32.js.map} +1 -1
  181. package/dist/chunks/{date-range-picker.DrnklTJ-.js → index.fc70e413.js} +117 -113
  182. package/dist/chunks/index.fc70e413.js.map +1 -0
  183. package/dist/chunks/{index.B_EJflcs.js → index.fdf12170.js} +2 -2
  184. package/dist/chunks/{index.B_EJflcs.js.map → index.fdf12170.js.map} +1 -1
  185. package/dist/chunks/{info.CyeBsLgt.js → info.a549470f.js} +12 -10
  186. package/dist/chunks/{info.CyeBsLgt.js.map → info.a549470f.js.map} +1 -1
  187. package/dist/chunks/internal-error.35cbb071.js +5 -0
  188. package/dist/chunks/internal-error.35cbb071.js.map +1 -0
  189. package/dist/chunks/internal-error.9a4823ed.js +5 -0
  190. package/dist/chunks/internal-error.9a4823ed.js.map +1 -0
  191. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.bbc3d15c.js} +2 -2
  192. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
  193. package/dist/chunks/listbox-option-tag.bac3121a.js +46 -0
  194. package/dist/chunks/listbox-option-tag.bac3121a.js.map +1 -0
  195. package/dist/chunks/loading-button.b5dca406.js +101 -0
  196. package/dist/chunks/loading-button.b5dca406.js.map +1 -0
  197. package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js → modal-fullscreen.keys.b9f31632.js} +1 -1
  198. package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js.map → modal-fullscreen.keys.b9f31632.js.map} +1 -1
  199. package/dist/chunks/no-results-found.58856d70.js +5 -0
  200. package/dist/chunks/no-results-found.58856d70.js.map +1 -0
  201. package/dist/chunks/no-results-found.cbb12f78.js +5 -0
  202. package/dist/chunks/no-results-found.cbb12f78.js.map +1 -0
  203. package/dist/chunks/notifications-cleared.71025c22.js +5 -0
  204. package/dist/chunks/notifications-cleared.71025c22.js.map +1 -0
  205. package/dist/chunks/notifications-cleared.c4f4bed4.js +5 -0
  206. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +1 -0
  207. package/dist/chunks/{on-click-outside.CcNG5w7_.js → on-click-outside.3e0c3e2a.js} +1 -1
  208. package/dist/chunks/{on-click-outside.CcNG5w7_.js.map → on-click-outside.3e0c3e2a.js.map} +1 -1
  209. package/dist/chunks/page-not-found.a500440d.js +5 -0
  210. package/dist/chunks/page-not-found.a500440d.js.map +1 -0
  211. package/dist/chunks/page-not-found.d1a84ba7.js +5 -0
  212. package/dist/chunks/page-not-found.d1a84ba7.js.map +1 -0
  213. package/dist/chunks/{payment-method.D9Qx-s4V.js → payment-method.c55dd352.js} +21 -19
  214. package/dist/chunks/{payment-method.D9Qx-s4V.js.map → payment-method.c55dd352.js.map} +1 -1
  215. package/dist/chunks/planned-maintenance.7fa5ac16.js +5 -0
  216. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +1 -0
  217. package/dist/chunks/planned-maintenance.cff01aed.js +5 -0
  218. package/dist/chunks/planned-maintenance.cff01aed.js.map +1 -0
  219. package/dist/chunks/{radio-input.BQcC0INR.js → radio-input.e34c0fa8.js} +17 -15
  220. package/dist/chunks/{radio-input.BQcC0INR.js.map → radio-input.e34c0fa8.js.map} +1 -1
  221. package/dist/chunks/referrals.178ce0eb.js +5 -0
  222. package/dist/chunks/referrals.178ce0eb.js.map +1 -0
  223. package/dist/chunks/referrals.599047da.js +5 -0
  224. package/dist/chunks/referrals.599047da.js.map +1 -0
  225. package/dist/chunks/{refresh.BKI9WwKh.js → refresh.2ef3d8a9.js} +10 -8
  226. package/dist/chunks/{refresh.BKI9WwKh.js.map → refresh.2ef3d8a9.js.map} +1 -1
  227. package/dist/chunks/{resize.Bqks3WUm.js → resize.a041304d.js} +1 -1
  228. package/dist/chunks/{resize.Bqks3WUm.js.map → resize.a041304d.js.map} +1 -1
  229. package/dist/chunks/{search.CBKhp7zB.js → search.83bba8e3.js} +13 -11
  230. package/dist/chunks/{search.CBKhp7zB.js.map → search.83bba8e3.js.map} +1 -1
  231. package/dist/chunks/{segmented-control.DGjIC7Ab.js → segmented-control.9f657859.js} +31 -27
  232. package/dist/chunks/{segmented-control.DGjIC7Ab.js.map → segmented-control.9f657859.js.map} +1 -1
  233. package/dist/chunks/{sidepanel.keys.R0DKQuYx.js → sidepanel.keys.1ed8a57c.js} +1 -1
  234. package/dist/chunks/{sidepanel.keys.R0DKQuYx.js.map → sidepanel.keys.1ed8a57c.js.map} +1 -1
  235. package/dist/chunks/success.41981fe8.js +5 -0
  236. package/dist/chunks/success.41981fe8.js.map +1 -0
  237. package/dist/chunks/success.77fac78b.js +5 -0
  238. package/dist/chunks/success.77fac78b.js.map +1 -0
  239. package/dist/chunks/{summary-grid.keys.BBbFrFGF.js → summary-grid.keys.1d1028c2.js} +1 -1
  240. package/dist/chunks/{summary-grid.keys.BBbFrFGF.js.map → summary-grid.keys.1d1028c2.js.map} +1 -1
  241. package/dist/chunks/{tabs.keys.Bc2pSKRw.js → tabs.keys.358742f2.js} +1 -1
  242. package/dist/chunks/{tabs.keys.Bc2pSKRw.js.map → tabs.keys.358742f2.js.map} +1 -1
  243. package/dist/chunks/{teleport.CQKBJZU5.js → teleport.84b0f20b.js} +16 -14
  244. package/dist/chunks/{teleport.CQKBJZU5.js.map → teleport.84b0f20b.js.map} +1 -1
  245. package/dist/chunks/{tooltip.DR8rbIYw.js → tooltip.77610390.js} +32 -29
  246. package/dist/chunks/{tooltip.DR8rbIYw.js.map → tooltip.77610390.js.map} +1 -1
  247. package/dist/chunks/{unique-id.XFfoKuc2.js → unique-id.a2a2b458.js} +20 -14
  248. package/dist/chunks/{unique-id.XFfoKuc2.js.map → unique-id.a2a2b458.js.map} +1 -1
  249. package/dist/chunks/upload-files.2708eca7.js +5 -0
  250. package/dist/chunks/upload-files.2708eca7.js.map +1 -0
  251. package/dist/chunks/upload-files.b4cd9f8b.js +5 -0
  252. package/dist/chunks/upload-files.b4cd9f8b.js.map +1 -0
  253. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js → use-bento-toast-controller.5dac1f3c.js} +4 -4
  254. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js.map → use-bento-toast-controller.5dac1f3c.js.map} +1 -1
  255. package/dist/chunks/{use-cached-selected-values.CVLzxvTi.js → use-cached-selected-values.148bfd7c.js} +237 -217
  256. package/dist/chunks/use-cached-selected-values.148bfd7c.js.map +1 -0
  257. package/dist/chunks/{use-click-outside.DbjR7Lh4.js → use-click-outside.941d1600.js} +2 -2
  258. package/dist/chunks/{use-click-outside.DbjR7Lh4.js.map → use-click-outside.941d1600.js.map} +1 -1
  259. package/dist/chunks/{use-country-items.C25TI6tp.js → use-country-items.6b7985bf.js} +4 -4
  260. package/dist/chunks/{use-country-items.C25TI6tp.js.map → use-country-items.6b7985bf.js.map} +1 -1
  261. package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js → use-default-slot-validator.b9bff4c6.js} +2 -2
  262. package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js.map → use-default-slot-validator.b9bff4c6.js.map} +1 -1
  263. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js → use-expandable-content-height.62fc84e5.js} +1 -1
  264. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.62fc84e5.js.map} +1 -1
  265. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.d03e5d48.js} +2 -2
  266. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.d03e5d48.js.map} +1 -1
  267. package/dist/chunks/use-has-slot.fbeb19ec.js +6 -0
  268. package/dist/chunks/{use-has-slot.C9lQZ6nz.js.map → use-has-slot.fbeb19ec.js.map} +1 -1
  269. package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.1ced4163.js} +12 -10
  270. package/dist/chunks/{warning-filled.CLKRzGMT.js.map → warning-filled.1ced4163.js.map} +1 -1
  271. package/dist/chunks/wrong-environment.c73b0bc0.js +5 -0
  272. package/dist/chunks/wrong-environment.c73b0bc0.js.map +1 -0
  273. package/dist/chunks/wrong-environment.f890a237.js +5 -0
  274. package/dist/chunks/wrong-environment.f890a237.js.map +1 -0
  275. package/dist/click-outside.js +20 -2
  276. package/dist/click-outside.js.map +1 -1
  277. package/dist/code-snippet.js +2034 -5
  278. package/dist/code-snippet.js.map +1 -1
  279. package/dist/country.js +97 -8
  280. package/dist/country.js.map +1 -1
  281. package/dist/currency.js +112 -3
  282. package/dist/currency.js.map +1 -1
  283. package/dist/dashboard-template.js +106 -3
  284. package/dist/dashboard-template.js.map +1 -1
  285. package/dist/dashed-underline.js +58 -2
  286. package/dist/dashed-underline.js.map +1 -1
  287. package/dist/data-grid-template.js +65 -2
  288. package/dist/data-grid-template.js.map +1 -1
  289. package/dist/data-grid.js +2057 -8
  290. package/dist/data-grid.js.map +1 -1
  291. package/dist/date-picker.js +197 -5
  292. package/dist/date-picker.js.map +1 -1
  293. package/dist/date-range-picker.js +2 -2
  294. package/dist/date.js +1 -1
  295. package/dist/divider.js +1 -1
  296. package/dist/dropdown.js +228 -12
  297. package/dist/dropdown.js.map +1 -1
  298. package/dist/empty-state.js +143 -5
  299. package/dist/empty-state.js.map +1 -1
  300. package/dist/filter-bar.js +2164 -5
  301. package/dist/filter-bar.js.map +1 -1
  302. package/dist/focus-trap.js +1 -1
  303. package/dist/form-layout.js +192 -5
  304. package/dist/form-layout.js.map +1 -1
  305. package/dist/header.js +246 -2
  306. package/dist/header.js.map +1 -1
  307. package/dist/image.js +81 -4
  308. package/dist/image.js.map +1 -1
  309. package/dist/index.js +279 -274
  310. package/dist/index.js.map +1 -1
  311. package/dist/info-icon.js +40 -2
  312. package/dist/info-icon.js.map +1 -1
  313. package/dist/input-field.js +224 -7
  314. package/dist/input-field.js.map +1 -1
  315. package/dist/inspector.js +64 -0
  316. package/dist/inspector.js.map +1 -0
  317. package/dist/internal.js +29 -30
  318. package/dist/link.js +1 -1
  319. package/dist/loading-indicator.js +47 -3
  320. package/dist/loading-indicator.js.map +1 -1
  321. package/dist/menu.js +1 -1
  322. package/dist/modal-fullscreen.js +197 -3
  323. package/dist/modal-fullscreen.js.map +1 -1
  324. package/dist/modal.js +451 -11
  325. package/dist/modal.js.map +1 -1
  326. package/dist/pagination.js +507 -2
  327. package/dist/pagination.js.map +1 -1
  328. package/dist/payment-method.js +4 -4
  329. package/dist/payment-method.js.map +1 -1
  330. package/dist/popover.js +1 -1
  331. package/dist/popper-container.js +1 -1
  332. package/dist/radio-group.js +213 -6
  333. package/dist/radio-group.js.map +1 -1
  334. package/dist/search-bar.js +101 -6
  335. package/dist/search-bar.js.map +1 -1
  336. package/dist/secondary-nav.js +115 -2
  337. package/dist/secondary-nav.js.map +1 -1
  338. package/dist/segmented-control.js +4 -4
  339. package/dist/segmented-control.js.map +1 -1
  340. package/dist/selection-card.js +248 -4
  341. package/dist/selection-card.js.map +1 -1
  342. package/dist/sidepanel.js +189 -4
  343. package/dist/sidepanel.js.map +1 -1
  344. package/dist/status.js +35 -3
  345. package/dist/status.js.map +1 -1
  346. package/dist/stepper.js +237 -5
  347. package/dist/stepper.js.map +1 -1
  348. package/dist/structured-list.js +1 -1
  349. package/dist/summary-grid.js +584 -9
  350. package/dist/summary-grid.js.map +1 -1
  351. package/dist/tabs.js +141 -3
  352. package/dist/tabs.js.map +1 -1
  353. package/dist/tag.js +63 -3
  354. package/dist/tag.js.map +1 -1
  355. package/dist/textarea.js +190 -2
  356. package/dist/textarea.js.map +1 -1
  357. package/dist/timeline.js +369 -7
  358. package/dist/timeline.js.map +1 -1
  359. package/dist/toast.js +168 -2
  360. package/dist/toast.js.map +1 -1
  361. package/dist/toggle.js +120 -4
  362. package/dist/toggle.js.map +1 -1
  363. package/dist/tutorial.js +340 -2
  364. package/dist/tutorial.js.map +1 -1
  365. package/dist/typography.js +1 -1
  366. package/dist/web-types.json +142 -9
  367. package/package.json +3 -3
  368. package/dist/assets/avatar-image.css +0 -1
  369. package/dist/assets/code-snippet.css +0 -1
  370. package/dist/assets/filter-bar.css +0 -1
  371. package/dist/assets/input-field.css +0 -1
  372. package/dist/assets/radio-group.css +0 -1
  373. package/dist/assets/search-bar.css +0 -1
  374. package/dist/assets/selection-card-group.css +0 -1
  375. package/dist/assets/structured-list-item.css +0 -1
  376. package/dist/assets/textarea.css +0 -1
  377. package/dist/assets/timeline-item.css +0 -1
  378. package/dist/assets/toggle.css +0 -1
  379. package/dist/assets/tutorial.css +0 -1
  380. package/dist/avatar-image.js +0 -7
  381. package/dist/avatar-image.js.map +0 -1
  382. package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
  383. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
  384. package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
  385. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
  386. package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
  387. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
  388. package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
  389. package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
  390. package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
  391. package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
  392. package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
  393. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
  394. package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
  395. package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
  396. package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
  397. package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
  398. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
  399. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
  400. package/dist/chunks/accordion-item.DmnrjNzw.js +0 -100
  401. package/dist/chunks/accordion-item.DmnrjNzw.js.map +0 -1
  402. package/dist/chunks/action-bar.Bebh6PHI.js +0 -147
  403. package/dist/chunks/action-bar.Bebh6PHI.js.map +0 -1
  404. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
  405. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
  406. package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
  407. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
  408. package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
  409. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
  410. package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
  411. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
  412. package/dist/chunks/alert.CJyTM4Az.js +0 -96
  413. package/dist/chunks/alert.CJyTM4Az.js.map +0 -1
  414. package/dist/chunks/avatar-image.DhlR-7Yg.js +0 -47
  415. package/dist/chunks/avatar-image.DhlR-7Yg.js.map +0 -1
  416. package/dist/chunks/base-button.DER7_IsF.js +0 -86
  417. package/dist/chunks/card.70Xvba2C.js +0 -115
  418. package/dist/chunks/card.70Xvba2C.js.map +0 -1
  419. package/dist/chunks/checkbox-group.B-KdeRXC.js +0 -152
  420. package/dist/chunks/checkbox-group.B-KdeRXC.js.map +0 -1
  421. package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +0 -24
  422. package/dist/chunks/click-outside.DABh6NLr.js +0 -23
  423. package/dist/chunks/click-outside.DABh6NLr.js.map +0 -1
  424. package/dist/chunks/code-snippet.C4IbjAhH.js +0 -968
  425. package/dist/chunks/code-snippet.C4IbjAhH.js.map +0 -1
  426. package/dist/chunks/country.KayLT0zy.js +0 -93
  427. package/dist/chunks/country.KayLT0zy.js.map +0 -1
  428. package/dist/chunks/currency.H7n7RQiX.js +0 -113
  429. package/dist/chunks/currency.H7n7RQiX.js.map +0 -1
  430. package/dist/chunks/dashboard-section.BcH-_en7.js +0 -105
  431. package/dist/chunks/dashboard-section.BcH-_en7.js.map +0 -1
  432. package/dist/chunks/dashed-underline.ChUlcFJR.js +0 -59
  433. package/dist/chunks/dashed-underline.ChUlcFJR.js.map +0 -1
  434. package/dist/chunks/data-grid-template.DqG5bNeD.js +0 -66
  435. package/dist/chunks/data-grid-template.DqG5bNeD.js.map +0 -1
  436. package/dist/chunks/data-grid.CvHAdmvs.js +0 -2022
  437. package/dist/chunks/data-grid.CvHAdmvs.js.map +0 -1
  438. package/dist/chunks/date-picker.ByP2Wpo0.js +0 -196
  439. package/dist/chunks/date-picker.ByP2Wpo0.js.map +0 -1
  440. package/dist/chunks/date-range-picker.DrnklTJ-.js.map +0 -1
  441. package/dist/chunks/date.DKjxxR6P.js.map +0 -1
  442. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  443. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  444. package/dist/chunks/dropdown-default-textbox.CKOkl_Qa.js.map +0 -1
  445. package/dist/chunks/dropdown-tag.DCMKQy-E.js +0 -214
  446. package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +0 -1
  447. package/dist/chunks/dropdown.yhhQCKve.js.map +0 -1
  448. package/dist/chunks/empty-state.BqVOj4v1.js +0 -151
  449. package/dist/chunks/empty-state.BqVOj4v1.js.map +0 -1
  450. package/dist/chunks/error-message.BSxUoE3_.js +0 -107
  451. package/dist/chunks/events.CMzGybJJ.js +0 -47
  452. package/dist/chunks/filter-bar.AhsOPMZ1.js +0 -2119
  453. package/dist/chunks/filter-bar.AhsOPMZ1.js.map +0 -1
  454. package/dist/chunks/focus-trap.DSkLNO_i.js.map +0 -1
  455. package/dist/chunks/form-layout-title.BzNU0B72.js +0 -187
  456. package/dist/chunks/form-layout-title.BzNU0B72.js.map +0 -1
  457. package/dist/chunks/header.DmKHCmXh.js +0 -245
  458. package/dist/chunks/header.DmKHCmXh.js.map +0 -1
  459. package/dist/chunks/image.B3uqhFjl.js +0 -82
  460. package/dist/chunks/image.B3uqhFjl.js.map +0 -1
  461. package/dist/chunks/index.OCPp3NST.js +0 -126
  462. package/dist/chunks/info-icon.CLguYHRt.js +0 -41
  463. package/dist/chunks/info-icon.CLguYHRt.js.map +0 -1
  464. package/dist/chunks/input-field.BnlEPPYr.js +0 -218
  465. package/dist/chunks/input-field.BnlEPPYr.js.map +0 -1
  466. package/dist/chunks/internal-error.BLZodVBE.js +0 -5
  467. package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
  468. package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
  469. package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
  470. package/dist/chunks/link.DJ1A53gF.js.map +0 -1
  471. package/dist/chunks/listbox-option-tag.BDjsYOE1.js +0 -75
  472. package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +0 -1
  473. package/dist/chunks/loading-button.CoF1IhEU.js +0 -97
  474. package/dist/chunks/loading-button.CoF1IhEU.js.map +0 -1
  475. package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
  476. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
  477. package/dist/chunks/menu.2TwUMlA9.js.map +0 -1
  478. package/dist/chunks/modal-fullscreen.BB_8EMNo.js +0 -196
  479. package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +0 -1
  480. package/dist/chunks/modal.DLwvcaRx.js +0 -439
  481. package/dist/chunks/modal.DLwvcaRx.js.map +0 -1
  482. package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
  483. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
  484. package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
  485. package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
  486. package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
  487. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
  488. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
  489. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
  490. package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
  491. package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
  492. package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
  493. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
  494. package/dist/chunks/pagination.BXjbVe4Z.js +0 -494
  495. package/dist/chunks/pagination.BXjbVe4Z.js.map +0 -1
  496. package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
  497. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
  498. package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
  499. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
  500. package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
  501. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
  502. package/dist/chunks/popover.B8YH92W8.js.map +0 -1
  503. package/dist/chunks/popper-container.Bt02N3o1.js.map +0 -1
  504. package/dist/chunks/radio-group.CPbBFTzB.js +0 -211
  505. package/dist/chunks/radio-group.CPbBFTzB.js.map +0 -1
  506. package/dist/chunks/referrals.BvtT-kQS.js +0 -5
  507. package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
  508. package/dist/chunks/referrals.aX8WZigH.js +0 -5
  509. package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
  510. package/dist/chunks/search-bar.CsAgO-t5.js +0 -89
  511. package/dist/chunks/search-bar.CsAgO-t5.js.map +0 -1
  512. package/dist/chunks/secondary-nav.CNgpPxUU.js +0 -97
  513. package/dist/chunks/secondary-nav.CNgpPxUU.js.map +0 -1
  514. package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
  515. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
  516. package/dist/chunks/selection-card-group.DlOs8BkR.js +0 -247
  517. package/dist/chunks/selection-card-group.DlOs8BkR.js.map +0 -1
  518. package/dist/chunks/sidepanel.BBjm2QvZ.js +0 -187
  519. package/dist/chunks/sidepanel.BBjm2QvZ.js.map +0 -1
  520. package/dist/chunks/status.types.BhbOYpZx.js +0 -36
  521. package/dist/chunks/status.types.BhbOYpZx.js.map +0 -1
  522. package/dist/chunks/step.DY8Txb6a.js +0 -234
  523. package/dist/chunks/step.DY8Txb6a.js.map +0 -1
  524. package/dist/chunks/structured-list-item.C9NTVDvT.js.map +0 -1
  525. package/dist/chunks/success.DhioLvPD.js +0 -5
  526. package/dist/chunks/success.DhioLvPD.js.map +0 -1
  527. package/dist/chunks/success.nNwxJRBS.js +0 -5
  528. package/dist/chunks/success.nNwxJRBS.js.map +0 -1
  529. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +0 -573
  530. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +0 -1
  531. package/dist/chunks/tabs.CE65f3E_.js +0 -140
  532. package/dist/chunks/tabs.CE65f3E_.js.map +0 -1
  533. package/dist/chunks/tag.bhKrZHTU.js +0 -64
  534. package/dist/chunks/tag.bhKrZHTU.js.map +0 -1
  535. package/dist/chunks/textarea.CcKbtQBs.js +0 -208
  536. package/dist/chunks/textarea.CcKbtQBs.js.map +0 -1
  537. package/dist/chunks/timeline-item.ScTrUBKC.js +0 -364
  538. package/dist/chunks/timeline-item.ScTrUBKC.js.map +0 -1
  539. package/dist/chunks/toast.0EYDj8o-.js +0 -165
  540. package/dist/chunks/toast.0EYDj8o-.js.map +0 -1
  541. package/dist/chunks/toggle-button.2U-vbQhk.js +0 -83
  542. package/dist/chunks/toggle-button.2U-vbQhk.js.map +0 -1
  543. package/dist/chunks/toggle.CiOVTWlk.js +0 -121
  544. package/dist/chunks/toggle.CiOVTWlk.js.map +0 -1
  545. package/dist/chunks/tutorial.DMm12L0S.js +0 -335
  546. package/dist/chunks/tutorial.DMm12L0S.js.map +0 -1
  547. package/dist/chunks/typography.Bjtu3Gca.js.map +0 -1
  548. package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
  549. package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
  550. package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
  551. package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
  552. package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +0 -1
  553. package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
  554. package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
  555. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
  556. package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
  557. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
  558. /package/dist/assets/{badge.css → index.css} +0 -0
  559. /package/dist/assets/{tabs.css → index10.css} +0 -0
  560. /package/dist/assets/{date-picker.css → index12.css} +0 -0
  561. /package/dist/assets/{empty-state.css → index13.css} +0 -0
  562. /package/dist/assets/{focus-trap.css → index15.css} +0 -0
  563. /package/dist/assets/{form-layout-title.css → index16.css} +0 -0
  564. /package/dist/assets/{info-icon.css → index17.css} +0 -0
  565. /package/dist/assets/{dashed-underline.css → index2.css} +0 -0
  566. /package/dist/assets/{date-range-picker.css → index20.css} +0 -0
  567. /package/dist/assets/{status.css → index25.css} +0 -0
  568. /package/dist/assets/{step.css → index26.css} +0 -0
  569. /package/dist/assets/{link.css → index27.css} +0 -0
  570. /package/dist/assets/{alert.css → index29.css} +0 -0
  571. /package/dist/assets/{header.css → index31.css} +0 -0
  572. /package/dist/assets/{loading-indicator.css → index32.css} +0 -0
  573. /package/dist/assets/{dropdown-tag.css → index34.css} +0 -0
  574. /package/dist/assets/{popper-container.css → index35.css} +0 -0
  575. /package/dist/assets/{summary-grid-item-custom.css → index37.css} +0 -0
  576. /package/dist/assets/{toggle-button.css → index4.css} +0 -0
  577. /package/dist/assets/{tag.css → index41.css} +0 -0
  578. /package/dist/assets/{toast.css → index44.css} +0 -0
  579. /package/dist/assets/{typography.css → index46.css} +0 -0
  580. /package/dist/assets/{data-grid-template.css → index49.css} +0 -0
  581. /package/dist/assets/{pagination.css → index50.css} +0 -0
  582. /package/dist/assets/{checkbox-group.css → index6.css} +0 -0
  583. /package/dist/assets/{country.css → index8.css} +0 -0
  584. /package/dist/assets/{divider.css → index9.css} +0 -0
  585. /package/dist/assets/{cross.css → refresh.css} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as g, toRefs as x, computed as r } from "vue";
2
- import { C as E } from "./checkmark-small.BtF8b2gE.js";
3
- import { n as h } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
2
+ import { C as E } from "./checkmark-small.6f444bd7.js";
3
+ import { n as h } from "./_plugin-vue2_normalizer.71e2aa87.js";
4
4
  import "../assets/checkbox-input.css";
5
- var s = /* @__PURE__ */ ((n) => (n.UNCHECKED = "unchecked", n.DISABLED = "disabled", n.ERROR = "error", n.READONLY = "readonly", n))(s || {}), u = /* @__PURE__ */ ((n) => (n.UPDATE = "update:model-value", n))(u || {});
5
+ var l = /* @__PURE__ */ ((n) => (n.UNCHECKED = "unchecked", n.DISABLED = "disabled", n.ERROR = "error", n.READONLY = "readonly", n))(l || {}), d = /* @__PURE__ */ ((n) => (n.UPDATE = "update:model-value", n))(d || {});
6
6
  let v = 0;
7
7
  const D = {
8
8
  beforeCreate() {
@@ -18,13 +18,15 @@ var R = function() {
18
18
  A,
19
19
  !1,
20
20
  null,
21
+ null,
22
+ null,
21
23
  null
22
24
  );
23
- const L = $.exports, N = {
25
+ const S = $.exports, I = {
24
26
  name: "checkbox-input",
25
27
  inheritAttrs: !1
26
- }, S = /* @__PURE__ */ g({
27
- ...N,
28
+ }, L = /* @__PURE__ */ g({
29
+ ...I,
28
30
  props: {
29
31
  /**
30
32
  * The aria label associated to the input checkbox.
@@ -78,43 +80,45 @@ const L = $.exports, N = {
78
80
  },
79
81
  emits: ["update:model-value"],
80
82
  setup(n, { emit: e }) {
81
- const a = n, { disabled: t, indeterminate: b, modelValue: l, readonly: _, value: o } = x(a), m = r(() => ({
82
- [`b-checkbox-input--${s.DISABLED}`]: a.disabled,
83
- [`b-checkbox-input--${s.READONLY}`]: a.readonly
83
+ const a = n, { disabled: t, indeterminate: m, modelValue: s, readonly: _, value: o } = x(a), b = r(() => ({
84
+ [`b-checkbox-input--${l.DISABLED}`]: a.disabled,
85
+ [`b-checkbox-input--${l.READONLY}`]: a.readonly
84
86
  })), C = r(() => ({
85
- [`b-checkbox-input__outline--${s.UNCHECKED}`]: !f.value && !a.indeterminate,
86
- [`b-checkbox-input__outline--${s.ERROR}`]: a.hasError,
87
- [`b-checkbox-input__outline--${s.READONLY}`]: a.readonly
88
- })), d = r(() => Array.isArray(l.value)), f = r(() => d.value ? l.value.some((i) => i === o.value) : l.value), k = r(() => a.hasError && !a.disabled && !a.readonly);
89
- return { __sfc: !0, props: a, emit: e, disabled: t, indeterminate: b, modelValue: l, readonly: _, value: o, conditionalClasses: m, outlineConditionalClasses: C, isCheckboxGroup: d, isChecked: f, ariaInvalid: k, onClick: (i) => {
87
+ [`b-checkbox-input__outline--${l.UNCHECKED}`]: !p.value && !a.indeterminate,
88
+ [`b-checkbox-input__outline--${l.ERROR}`]: a.hasError,
89
+ [`b-checkbox-input__outline--${l.READONLY}`]: a.readonly
90
+ })), u = r(() => Array.isArray(s.value)), p = r(() => u.value ? s.value.some((i) => i === o.value) : s.value), k = r(() => a.hasError && !a.disabled && !a.readonly);
91
+ return { __sfc: !0, props: a, emit: e, disabled: t, indeterminate: m, modelValue: s, readonly: _, value: o, conditionalClasses: b, outlineConditionalClasses: C, isCheckboxGroup: u, isChecked: p, ariaInvalid: k, onClick: (i) => {
90
92
  _.value && i.preventDefault();
91
93
  }, onChange: (i) => {
92
94
  if (t.value)
93
95
  return;
94
96
  const y = i.target.checked;
95
- if (d.value) {
96
- const c = [...l.value], p = c.indexOf(o.value);
97
- p === -1 ? c.push(o.value) : c.splice(p, 1), e(u.UPDATE, c);
97
+ if (u.value) {
98
+ const c = [...s.value], f = c.indexOf(o.value);
99
+ f === -1 ? c.push(o.value) : c.splice(f, 1), e(d.UPDATE, c);
98
100
  } else
99
- e(u.UPDATE, y);
100
- }, CheckmarkSmallIcon: E, MinusSmallIcon: L };
101
+ e(d.UPDATE, y);
102
+ }, CheckmarkSmallIcon: E, MinusSmallIcon: S };
101
103
  }
102
104
  });
103
- var w = function() {
105
+ var N = function() {
104
106
  var e = this, a = e._self._c, t = e._self._setupProxy;
105
107
  return a("div", { staticClass: "b-checkbox-input", class: t.conditionalClasses }, [t.indeterminate ? a(t.MinusSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "intermediate" } }) : t.isChecked ? a(t.CheckmarkSmallIcon, { staticClass: "b-checkbox-input__icon", attrs: { "svg-title": "checked" } }) : e._e(), a("input", { ref: "inputRef", staticClass: "b-checkbox-input__outline", class: t.outlineConditionalClasses, attrs: { id: e.id, role: "checkbox", type: "checkbox", "aria-label": e.ariaLabel, "aria-checked": t.isChecked, "aria-describedby": e.ariaDescribedby, "aria-invalid": t.ariaInvalid, disabled: t.disabled, "aria-readonly": t.readonly }, domProps: { checked: t.isChecked, indeterminate: t.indeterminate, value: t.value }, on: { click: t.onClick, change: t.onChange } })], 1);
106
- }, B = [], I = /* @__PURE__ */ h(
107
- S,
108
+ }, w = [], B = /* @__PURE__ */ h(
109
+ L,
110
+ N,
108
111
  w,
109
- B,
110
112
  !1,
111
113
  null,
112
- "af982a96"
114
+ "af982a96",
115
+ null,
116
+ null
113
117
  );
114
- const M = I.exports;
118
+ const M = B.exports;
115
119
  export {
116
- s as C,
117
- L as N,
120
+ l as C,
121
+ S as N,
118
122
  M as a
119
123
  };
120
- //# sourceMappingURL=checkbox-input.DwDwI2BD.js.map
124
+ //# sourceMappingURL=checkbox-input.5ab6ebe7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox-input.DwDwI2BD.js","sources":["../../src/components/internal/checkbox-input/checkbox-input.types.ts","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/minus-small.vue","../../src/components/internal/checkbox-input/checkbox-input.vue"],"sourcesContent":["export type MultiCheckboxInputType = Array<string | number>;\nexport type CheckboxInputType = boolean | MultiCheckboxInputType;\n\nexport enum CheckboxInputState {\n UNCHECKED = 'unchecked',\n DISABLED = 'disabled',\n ERROR = 'error',\n READONLY = 'readonly',\n}\n\nexport enum CheckboxInputEvent {\n UPDATE = 'update:model-value',\n}\n\ninterface CheckboxInputGroupItem {\n value: string | number;\n disabled?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n readonly?: boolean;\n}\n\nexport type CheckboxInputGroupItems = Array<CheckboxInputGroupItem>;\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><path fill=\"#00112C\" d=\"M4.25 7.25H11.75V8.75H4.25V7.25Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n","<template>\n <div class=\"b-checkbox-input\" :class=\"conditionalClasses\">\n <!-- Don't change order because it matters for CSS. Icons first -->\n <minus-small-icon v-if=\"indeterminate\" class=\"b-checkbox-input__icon\" svg-title=\"intermediate\" />\n <checkmark-small-icon v-else-if=\"isChecked\" class=\"b-checkbox-input__icon\" svg-title=\"checked\" />\n <input\n :id=\"id\"\n ref=\"inputRef\"\n role=\"checkbox\"\n type=\"checkbox\"\n class=\"b-checkbox-input__outline\"\n :class=\"outlineConditionalClasses\"\n :aria-label=\"ariaLabel\"\n :aria-checked=\"isChecked\"\n :aria-describedby=\"ariaDescribedby\"\n :aria-invalid=\"ariaInvalid\"\n :checked=\"isChecked\"\n :disabled=\"disabled\"\n :indeterminate.prop=\"indeterminate\"\n :value=\"value\"\n :aria-readonly=\"readonly\"\n @click=\"onClick\"\n @change=\"onChange\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, toRefs } from 'vue';\n import {\n CheckboxInputEvent,\n CheckboxInputGroupItems,\n CheckboxInputState,\n CheckboxInputType,\n MultiCheckboxInputType,\n } from './checkbox-input.types';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import MinusSmallIcon from '@adyen/ui-assets-icons-16/vue/minus-small';\n\n const props = defineProps({\n /**\n * The aria label associated to the input checkbox.\n */\n ariaLabel: { type: String, default: '' },\n\n /**\n * An additional string that serves as description for the input checkbox (useful if the component shows a description).\n */\n ariaDescribedby: { type: String, default: '' },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * Sets the id of the checkbox. Required for accessibility purposes\n */\n id: { type: String, default: null },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<CheckboxInputType | CheckboxInputGroupItems>,\n default: false,\n },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n });\n\n const emit = defineEmits<{\n /**\n * Emit that emits the input value\n */\n (e: 'update:model-value', value: boolean | Array<string | number>): void;\n }>();\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const conditionalClasses = computed(() => ({\n [`b-checkbox-input--${CheckboxInputState.DISABLED}`]: props.disabled,\n [`b-checkbox-input--${CheckboxInputState.READONLY}`]: props.readonly,\n }));\n\n const outlineConditionalClasses = computed(() => ({\n [`b-checkbox-input__outline--${CheckboxInputState.UNCHECKED}`]: !isChecked.value && !props.indeterminate,\n [`b-checkbox-input__outline--${CheckboxInputState.ERROR}`]: props.hasError,\n [`b-checkbox-input__outline--${CheckboxInputState.READONLY}`]: props.readonly,\n }));\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as MultiCheckboxInputType).some(item => item === value.value);\n });\n\n const ariaInvalid = computed(() => props.hasError && !props.disabled && !props.readonly);\n\n // readonly attr doesn't work with checkbox, so we need to manually ignore the click instead\n const onClick = (event: Event) => {\n if (readonly.value) {\n event.preventDefault();\n }\n };\n const onChange = (event: Event) => {\n if (disabled.value) {\n return;\n }\n\n const newValue: boolean = (event.target as HTMLInputElement).checked;\n\n if (isCheckboxGroup.value) {\n const newCheckedList = [...(modelValue.value as MultiCheckboxInputType)];\n const index = newCheckedList.indexOf(value.value);\n\n if (index === -1) {\n newCheckedList.push(value.value);\n } else {\n newCheckedList.splice(index, 1);\n }\n emit(CheckboxInputEvent.UPDATE, newCheckedList);\n } else {\n emit(CheckboxInputEvent.UPDATE, newValue);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component that renders a checkbox input (without label)\n *\n * @example\n * import { BentoCheckboxInput } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckboxInput },\n * template: `\n * <label for=\"checkbox-id\">Your label</label>\n * <span id=\"description-id\">Description</span>\n * <bento-checkbox-input id=\"checkbox-id\" aria=label=\"Your label\" aria-describedby=\"description-id\" />\n * `\n * }\n */\n export default {\n name: 'checkbox-input',\n inheritAttrs: false,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox-input.scss\" />\n"],"names":["CheckboxInputState","CheckboxInputState2","CheckboxInputEvent","CheckboxInputEvent2","uuid","_sfc_main$1","__default__","disabled","indeterminate","modelValue","readonly","value","toRefs","props","conditionalClasses","computed","outlineConditionalClasses","isChecked","isCheckboxGroup","item","ariaInvalid","event","newValue","newCheckedList","index","emit"],"mappings":";;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,QAAA,SACAA,EAAA,WAAA,YAJQA,IAAAD,KAAA,CAAA,CAAA,GAOAE,IAAA,kBAAAC,OACRA,EAAA,SAAA,sBADQA,IAAAD,KAAA,CAAA,CAAA;ACLZ,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;qBCoKIE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,cAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAzEA,EAAA,UAAAC,GAAA,eAAAC,GAAA,YAAAC,GAAA,UAAAC,GAAA,OAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,qBAAAf,EAAA,QAAA,EAAA,GAAAa,EAAA;AAAA,MACqB,CAAA,qBAAAb,EAAA,QAAA,EAAA,GAAAa,EAAA;AAAA,IACA,EAAA,GAGhEG,IAAAD,EAAA,OAAA;AAAA,MAAkD,CAAA,8BAAAf,EAAA,SAAA,EAAA,GAAA,CAAAiB,EAAA,SAAA,CAAAJ,EAAA;AAAA,MAC6C,CAAA,8BAAAb,EAAA,KAAA,EAAA,GAAAa,EAAA;AAAA,MACzB,CAAA,8BAAAb,EAAA,QAAA,EAAA,GAAAa,EAAA;AAAA,IACG,EAAA,GAGzEK,IAAAH,EAAA,MAAA,MAAA,QAAAN,EAAA,KAAA,CAAA,GAEAQ,IAAAF,EAAA,MACIG,EAAA,QAIAT,EAAA,MAAA,KAAA,CAAAU,MAAAA,MAAAR,EAAA,KAAA,IAHIF,EAAA,KAGiF,GAGzFW,IAAAL,EAAA,MAAAF,EAAA,YAAA,CAAAA,EAAA,YAAA,CAAAA,EAAA,QAAA;gOAGA,CAAAQ,MAAA;AACI,MAAAX,EAAA,SACIW,EAAA,eAAA;AAAA,IACJ,aAEJ,CAAAA,MAAA;AACI,UAAAd,EAAA;AACI;AAGJ,YAAAe,IAAAD,EAAA,OAAA;AAEA,UAAAH,EAAA,OAAA;AACI,cAAAK,IAAA,CAAA,GAAAd,EAAA,KAAA,GACAe,IAAAD,EAAA,QAAAZ,EAAA,KAAA;AAEA,QAAAa,MAAA,KACID,EAAA,KAAAZ,EAAA,KAAA,IAEAY,EAAA,OAAAC,GAAA,CAAA,GAEJC,EAAAvB,EAAA,QAAAqB,CAAA;AAAA,MAA8C;AAE9C,QAAAE,EAAAvB,EAAA,QAAAoB,CAAA;AAAA,IACJ;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"checkbox-input.5ab6ebe7.js","sources":["../../src/components/internal/checkbox-input/checkbox-input.types.ts","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/minus-small.vue","../../src/components/internal/checkbox-input/checkbox-input.vue"],"sourcesContent":["export type MultiCheckboxInputType = Array<string | number>;\nexport type CheckboxInputType = boolean | MultiCheckboxInputType;\n\nexport enum CheckboxInputState {\n UNCHECKED = 'unchecked',\n DISABLED = 'disabled',\n ERROR = 'error',\n READONLY = 'readonly',\n}\n\nexport enum CheckboxInputEvent {\n UPDATE = 'update:model-value',\n}\n\ninterface CheckboxInputGroupItem {\n value: string | number;\n disabled?: boolean;\n hasError?: boolean;\n errorMessage?: string;\n readonly?: boolean;\n}\n\nexport type CheckboxInputGroupItems = Array<CheckboxInputGroupItem>;\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><path fill=\"#00112C\" d=\"M4.25 7.25H11.75V8.75H4.25V7.25Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n","<template>\n <div class=\"b-checkbox-input\" :class=\"conditionalClasses\">\n <!-- Don't change order because it matters for CSS. Icons first -->\n <minus-small-icon v-if=\"indeterminate\" class=\"b-checkbox-input__icon\" svg-title=\"intermediate\" />\n <checkmark-small-icon v-else-if=\"isChecked\" class=\"b-checkbox-input__icon\" svg-title=\"checked\" />\n <input\n :id=\"id\"\n ref=\"inputRef\"\n role=\"checkbox\"\n type=\"checkbox\"\n class=\"b-checkbox-input__outline\"\n :class=\"outlineConditionalClasses\"\n :aria-label=\"ariaLabel\"\n :aria-checked=\"isChecked\"\n :aria-describedby=\"ariaDescribedby\"\n :aria-invalid=\"ariaInvalid\"\n :checked=\"isChecked\"\n :disabled=\"disabled\"\n :indeterminate.prop=\"indeterminate\"\n :value=\"value\"\n :aria-readonly=\"readonly\"\n @click=\"onClick\"\n @change=\"onChange\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, toRefs } from 'vue';\n import {\n CheckboxInputEvent,\n CheckboxInputGroupItems,\n CheckboxInputState,\n CheckboxInputType,\n MultiCheckboxInputType,\n } from './checkbox-input.types';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import MinusSmallIcon from '@adyen/ui-assets-icons-16/vue/minus-small';\n\n const props = defineProps({\n /**\n * The aria label associated to the input checkbox.\n */\n ariaLabel: { type: String, default: '' },\n\n /**\n * An additional string that serves as description for the input checkbox (useful if the component shows a description).\n */\n ariaDescribedby: { type: String, default: '' },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * Sets the id of the checkbox. Required for accessibility purposes\n */\n id: { type: String, default: null },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<CheckboxInputType | CheckboxInputGroupItems>,\n default: false,\n },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n });\n\n const emit = defineEmits<{\n /**\n * Emit that emits the input value\n */\n (e: 'update:model-value', value: boolean | Array<string | number>): void;\n }>();\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const conditionalClasses = computed(() => ({\n [`b-checkbox-input--${CheckboxInputState.DISABLED}`]: props.disabled,\n [`b-checkbox-input--${CheckboxInputState.READONLY}`]: props.readonly,\n }));\n\n const outlineConditionalClasses = computed(() => ({\n [`b-checkbox-input__outline--${CheckboxInputState.UNCHECKED}`]: !isChecked.value && !props.indeterminate,\n [`b-checkbox-input__outline--${CheckboxInputState.ERROR}`]: props.hasError,\n [`b-checkbox-input__outline--${CheckboxInputState.READONLY}`]: props.readonly,\n }));\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as MultiCheckboxInputType).some(item => item === value.value);\n });\n\n const ariaInvalid = computed(() => props.hasError && !props.disabled && !props.readonly);\n\n // readonly attr doesn't work with checkbox, so we need to manually ignore the click instead\n const onClick = (event: Event) => {\n if (readonly.value) {\n event.preventDefault();\n }\n };\n const onChange = (event: Event) => {\n if (disabled.value) {\n return;\n }\n\n const newValue: boolean = (event.target as HTMLInputElement).checked;\n\n if (isCheckboxGroup.value) {\n const newCheckedList = [...(modelValue.value as MultiCheckboxInputType)];\n const index = newCheckedList.indexOf(value.value);\n\n if (index === -1) {\n newCheckedList.push(value.value);\n } else {\n newCheckedList.splice(index, 1);\n }\n emit(CheckboxInputEvent.UPDATE, newCheckedList);\n } else {\n emit(CheckboxInputEvent.UPDATE, newValue);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component that renders a checkbox input (without label)\n *\n * @example\n * import { BentoCheckboxInput } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckboxInput },\n * template: `\n * <label for=\"checkbox-id\">Your label</label>\n * <span id=\"description-id\">Description</span>\n * <bento-checkbox-input id=\"checkbox-id\" aria=label=\"Your label\" aria-describedby=\"description-id\" />\n * `\n * }\n */\n export default {\n name: 'checkbox-input',\n inheritAttrs: false,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox-input.scss\" />\n"],"names":["CheckboxInputState","CheckboxInputState2","CheckboxInputEvent","CheckboxInputEvent2","uuid","_sfc_main$1","__default__","disabled","indeterminate","modelValue","readonly","value","toRefs","props","conditionalClasses","computed","outlineConditionalClasses","isChecked","isCheckboxGroup","item","ariaInvalid","event","newValue","newCheckedList","index","emit"],"mappings":";;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,QAAA,SACAA,EAAA,WAAA,YAJQA,IAAAD,KAAA,CAAA,CAAA,GAOAE,IAAA,kBAAAC,OACRA,EAAA,SAAA,sBADQA,IAAAD,KAAA,CAAA,CAAA;ACLZ,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;qBCoKIE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,cAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAzEA,EAAA,UAAAC,GAAA,eAAAC,GAAA,YAAAC,GAAA,UAAAC,GAAA,OAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,qBAAAf,EAAA,UAAA,GAAAa,EAAA;AAAA,MACqB,CAAA,qBAAAb,EAAA,UAAA,GAAAa,EAAA;AAAA,IACA,EAAA,GAGhEG,IAAAD,EAAA,OAAA;AAAA,MAAkD,CAAA,8BAAAf,EAAA,WAAA,GAAA,CAAAiB,EAAA,SAAA,CAAAJ,EAAA;AAAA,MAC6C,CAAA,8BAAAb,EAAA,OAAA,GAAAa,EAAA;AAAA,MACzB,CAAA,8BAAAb,EAAA,UAAA,GAAAa,EAAA;AAAA,IACG,EAAA,GAGzEK,IAAAH,EAAA,MAAA,MAAA,QAAAN,EAAA,KAAA,CAAA,GAEAQ,IAAAF,EAAA,MACIG,EAAA,QAIAT,EAAA,MAAA,KAAA,CAAAU,MAAAA,MAAAR,EAAA,KAAA,IAHIF,EAAA,KAGiF,GAGzFW,IAAAL,EAAA,MAAAF,EAAA,YAAA,CAAAA,EAAA,YAAA,CAAAA,EAAA,QAAA;gOAGA,CAAAQ,MAAA;AACI,MAAAX,EAAA,SACIW,EAAA,eAAA;AAAA,IACJ,aAEJ,CAAAA,MAAA;AACI,UAAAd,EAAA;AACI;AAGJ,YAAAe,IAAAD,EAAA,OAAA;AAEA,UAAAH,EAAA,OAAA;AACI,cAAAK,IAAA,CAAA,GAAAd,EAAA,KAAA,GACAe,IAAAD,EAAA,QAAAZ,EAAA,KAAA;AAEA,QAAAa,MAAA,KACID,EAAA,KAAAZ,EAAA,KAAA,IAEAY,EAAA,OAAAC,GAAA,CAAA,GAEJC,EAAAvB,EAAA,QAAAqB,CAAA;AAAA;AAEA,QAAAE,EAAAvB,EAAA,QAAAoB,CAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as $, toRefs as k, computed as o, ref as N } from "vue";
2
- import { B as w } from "./typography.Bjtu3Gca.js";
3
- import { u as F } from "./use-default-slot-validator.BDn0wkYP.js";
4
- import { u as R } from "./use-has-slot.C9lQZ6nz.js";
5
- import { g as C } from "./unique-id.XFfoKuc2.js";
6
- import { g as f } from "./get-slot-text.Cgn-E48s.js";
7
- import { u as j } from "./i18n.BQkEbtPM.js";
8
- import { u as z } from "./aria-label.CaUURpnB.js";
9
- import { B as H } from "./tag.bhKrZHTU.js";
10
- import { a as O, C as B } from "./checkbox-input.DwDwI2BD.js";
11
- import { E as Y } from "./error-message.BSxUoE3_.js";
12
- import { n as J } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
2
+ import { B as w } from "./index.e29a6907.js";
3
+ import { u as F } from "./use-default-slot-validator.b9bff4c6.js";
4
+ import { u as R } from "./use-has-slot.fbeb19ec.js";
5
+ import { g as C } from "./unique-id.a2a2b458.js";
6
+ import { g as f } from "./get-slot-text.99c3d860.js";
7
+ import { u as j } from "./i18n.eb5b985b.js";
8
+ import { u as z } from "./aria-label.ac9651a5.js";
9
+ import { BentoTag as H } from "../tag.js";
10
+ import { a as O, C as A } from "./checkbox-input.5ab6ebe7.js";
11
+ import { E as Y } from "./error-message.af88c25f.js";
12
+ import { n as J } from "./_plugin-vue2_normalizer.71e2aa87.js";
13
13
  import "../assets/checkbox.css";
14
14
  var i = /* @__PURE__ */ ((a) => (a.UPDATE = "update:model-value", a.INPUT = "input", a))(i || {});
15
15
  const K = {
@@ -93,28 +93,28 @@ const K = {
93
93
  },
94
94
  emits: [i.UPDATE, i.INPUT],
95
95
  setup(a, { attrs: e, emit: t, slots: r }) {
96
- const { t: m } = j(), _ = C("description"), h = C("error"), d = R(r), { disabled: v, indeterminate: A, modelValue: b, readonly: E, value: I } = k(a), y = f(r)("default"), g = f(r)("description");
96
+ const { t: _ } = j(), m = C("description"), h = C("error"), d = R(r), { disabled: v, indeterminate: B, modelValue: b, readonly: E, value: I } = k(a), y = f(r)("default"), g = f(r)("description");
97
97
  F("bento-checkbox", r.default, r.description);
98
- const l = o(() => Array.isArray(b.value)), s = o(() => l.value ? b.value.some((u) => u === I.value) : b.value), n = o(() => A.value), x = o(
98
+ const l = o(() => Array.isArray(b.value)), s = o(() => l.value ? b.value.some((u) => u === I.value) : b.value), n = o(() => B.value), x = o(
99
99
  () => !a.disabled && !a.readonly && (a.hasError || !!a.errorMessage)
100
100
  ), S = o(() => !a.disabled && !a.readonly && !!a.errorMessage), c = o(() => d("content")), p = o(() => (n == null ? void 0 : n.value) || (s == null ? void 0 : s.value)), L = o(
101
101
  () => (c == null ? void 0 : c.value) && (l == null ? void 0 : l.value) && (p == null ? void 0 : p.value)
102
102
  ), D = o(
103
103
  () => n.value ? "mixed" : `${!!s.value}`
104
104
  ), T = o(
105
- () => `${S.value ? h : ""} ${y && g ? _ : ""}`.trim() || null
105
+ () => `${S.value ? h : ""} ${y && g ? m : ""}`.trim() || null
106
106
  ), M = N(e["aria-label"]), { ariaLabel: U } = k(a), q = z({
107
107
  ariaLabel: M.value,
108
108
  // TODO: take this line away when the aria-label props is removed
109
109
  label: U,
110
- defaultFallback: d("default") ? f(r)("default") : m("ariaLabelFallback")
110
+ defaultFallback: d("default") ? f(r)("default") : _("ariaLabelFallback")
111
111
  }), P = o(() => x.value), V = o(() => ({
112
- [`b-checkbox--${B.DISABLED}`]: v.value,
113
- [`b-checkbox--${B.READONLY}`]: E.value
112
+ [`b-checkbox--${A.DISABLED}`]: v.value,
113
+ [`b-checkbox--${A.READONLY}`]: E.value
114
114
  }));
115
115
  return {
116
116
  // Values
117
- descriptionId: _,
117
+ descriptionId: m,
118
118
  errorId: h,
119
119
  ariaChecked: D,
120
120
  ariaDescribedBy: T,
@@ -135,7 +135,7 @@ const K = {
135
135
  onChange: (u) => {
136
136
  v.value || (t(i.UPDATE, u), t(i.INPUT, u));
137
137
  },
138
- t: m
138
+ t: _
139
139
  };
140
140
  }
141
141
  });
@@ -148,11 +148,13 @@ var W = function() {
148
148
  X,
149
149
  !1,
150
150
  null,
151
- "e400ef17"
151
+ "e400ef17",
152
+ null,
153
+ null
152
154
  );
153
155
  const be = Z.exports;
154
156
  export {
155
157
  be as B,
156
158
  i as a
157
159
  };
158
- //# sourceMappingURL=checkbox.Bi2RDBEZ.js.map
160
+ //# sourceMappingURL=checkbox.192e921e.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.Bi2RDBEZ.js","sources":["../../src/components/checkbox/checkbox.types.ts","../../src/components/checkbox/checkbox.vue"],"sourcesContent":["import type { BentoTag } from '@/components/tag';\nimport type { BentoCheckboxType, BentoMultiCheckboxType } from '../internal/checkbox-input';\nimport { BentoCheckboxState } from '../internal/checkbox-input';\n\nexport { BentoCheckboxState, BentoCheckboxType, BentoMultiCheckboxType };\n\nexport enum BentoCheckboxEvent {\n UPDATE = 'update:model-value',\n INPUT = 'input',\n}\n\nexport type BentoCheckboxTag = InstanceType<typeof BentoTag>['$props'];\n","<template>\n <label class=\"b-checkbox\" :class=\"conditionalClass\">\n <checkbox-input\n ref=\"input\"\n v-bind=\"$attrs\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"ariaDescribedBy\"\n :disabled=\"disabled\"\n :has-error=\"shouldShowError\"\n :indeterminate=\"isIndeterminate\"\n :value=\"value\"\n :model-value=\"modelValue\"\n :readonly=\"readonly\"\n @update:model-value=\"onChange\"\n />\n <span v-if=\"hasSlot('default') || shouldShowErrorMessage\" class=\"b-checkbox__text\">\n <bento-typography v-if=\"hasSlot('default')\" class=\"b-checkbox__label\" el=\"span\" variant=\"body\">\n <span><slot /></span>\n <bento-typography v-if=\"optional\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('optional') }})</bento-typography\n >\n <bento-typography v-else-if=\"required\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('required') }})</bento-typography\n >\n <bento-tag v-if=\"tag\" class=\"b-checkbox__label-tag\" v-bind=\"tag\" />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('default') && hasSlot('description')\"\n :id=\"descriptionId\"\n class=\"b-checkbox__description\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"description\"></slot>\n </bento-typography>\n <error-message v-if=\"shouldShowErrorMessage\" :id=\"errorId\" :error-message=\"errorMessage\" />\n\n <bento-typography v-if=\"contentSlotAvailable\" class=\"b-checkbox__content\" el=\"span\" variant=\"body\">\n <slot name=\"content\"></slot>\n </bento-typography>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, ref, toRefs } from 'vue';\n import {\n BentoCheckboxEvent,\n BentoCheckboxState,\n BentoCheckboxTag,\n BentoCheckboxType,\n BentoMultiCheckboxType,\n } from './checkbox.types';\n import { BentoTypography } from '@/components/typography';\n import { CheckboxInput } from '@/components/internal/checkbox-input';\n import { ErrorMessage } from '@/components/internal/error-message';\n import type { HTMLAttributes } from 'vue/types/jsx';\n import { useDefaultSlotValidator, useHasSlot } from '@/composables';\n import { generateUid } from '@/utils/ts/unique-id';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useI18n } from '@/utils/ts/i18n';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { BentoTag } from '@/components/tag';\n import { BentoCheckboxGroupItems } from './components/checkbox-group/checkbox-group.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * Checkboxes are used to make a binary choice about an option.\n * The label tag area is also clickable.\n *\n * @usage\n * import { BentoCheckbox } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckbox },\n * template: `\n * <bento-checkbox>\n * Label text\n * <template #description>Sub label text</template>\n * </bento-checkbox>\n * `,\n * }\n */\n export default defineComponent({\n name: 'bento-checkbox',\n i18n: { messages },\n components: {\n BentoTag,\n BentoTypography,\n CheckboxInput,\n ErrorMessage,\n },\n model: { prop: 'modelValue' },\n props: {\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Accessible name for the radio button component. It is strongly recommended to pas this value in case this component is used without a label.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders the checkbox in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<BentoCheckboxType | BentoCheckboxGroupItems>,\n default: false,\n },\n\n /**\n * Highlights the checkbox is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Highlights the checkbox is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Sets the properties of the BentoTag component that is placed next to the label.\n * {@see BentoTag}\n */\n tag: { type: Object as PropType<BentoCheckboxTag>, default: undefined },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n },\n emits: [BentoCheckboxEvent.UPDATE, BentoCheckboxEvent.INPUT],\n setup(props, { attrs, emit, slots }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const descriptionId = generateUid('description');\n const errorId = generateUid('error');\n const hasSlot = useHasSlot(slots);\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const defaultSlotValue = getSlotText(slots)('default');\n const descriptionSlotValue = getSlotText(slots)('description');\n\n useDefaultSlotValidator('bento-checkbox', slots.default, slots.description);\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as BentoMultiCheckboxType).some(item => item === value.value);\n });\n const isIndeterminate = computed(() => indeterminate.value);\n\n const shouldShowError = computed(\n () => !props.disabled && !props.readonly && (props.hasError || !!props.errorMessage)\n );\n const shouldShowErrorMessage = computed(() => !props.disabled && !props.readonly && !!props.errorMessage);\n\n // Content slot logic\n const hasContentSlot = computed(() => hasSlot('content'));\n const isCheckedOrIntermediate = computed(() => isIndeterminate?.value || isChecked?.value);\n const contentSlotAvailable = computed(\n () => hasContentSlot?.value && isCheckboxGroup?.value && isCheckedOrIntermediate?.value\n );\n\n // ARIA fields\n const ariaChecked = computed<HTMLAttributes['aria-checked']>(() =>\n isIndeterminate.value ? 'mixed' : `${!!isChecked.value}`\n );\n\n const ariaDescribedBy = computed<HTMLAttributes['aria-describedby']>(\n () =>\n `${shouldShowErrorMessage.value ? errorId : ''} ${\n defaultSlotValue && descriptionSlotValue ? descriptionId : ''\n }`.trim() || null\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: hasSlot('default')\n ? (getSlotText(slots)('default') as string)\n : t('ariaLabelFallback'),\n });\n\n const ariaInvalid = computed<HTMLAttributes['aria-invalid']>(() => shouldShowError.value);\n\n const conditionalClass = computed(() => ({\n [`b-checkbox--${BentoCheckboxState.DISABLED}`]: disabled.value,\n [`b-checkbox--${BentoCheckboxState.READONLY}`]: readonly.value,\n }));\n\n const onChange = (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => {\n if (disabled.value) {\n return;\n }\n emit(BentoCheckboxEvent.UPDATE, newValue);\n emit(BentoCheckboxEvent.INPUT, newValue);\n };\n\n return {\n // Values\n descriptionId,\n errorId,\n ariaChecked,\n ariaDescribedBy,\n ariaInvalid,\n computedAriaLabel,\n conditionalClass,\n defaultSlotValue,\n descriptionSlotValue,\n isCheckboxGroup,\n isChecked,\n isIndeterminate,\n shouldShowError,\n shouldShowErrorMessage,\n contentSlotAvailable,\n hasContentSlot,\n\n // Methods\n hasSlot,\n onChange,\n\n t,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox.scss\" />\n"],"names":["BentoCheckboxEvent","BentoCheckboxEvent2","_sfc_main","defineComponent","messages","BentoTag","BentoTypography","CheckboxInput","ErrorMessage","props","attrs","emit","slots","t","useI18n","descriptionId","generateUid","errorId","hasSlot","useHasSlot","disabled","indeterminate","modelValue","readonly","value","toRefs","defaultSlotValue","getSlotText","descriptionSlotValue","useDefaultSlotValidator","isCheckboxGroup","computed","isChecked","item","isIndeterminate","shouldShowError","shouldShowErrorMessage","hasContentSlot","isCheckedOrIntermediate","contentSlotAvailable","ariaChecked","ariaDescribedBy","ariaLabelAttribute","ref","ariaLabel","computedAriaLabel","useAriaLabel","ariaInvalid","conditionalClass","CheckboxInputState","newValue"],"mappings":"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"}
1
+ {"version":3,"file":"checkbox.192e921e.js","sources":["../../src/components/checkbox/checkbox.types.ts","../../src/components/checkbox/checkbox.vue"],"sourcesContent":["import type { BentoTag } from '@/components/tag';\nimport type { BentoCheckboxType, BentoMultiCheckboxType } from '../internal/checkbox-input';\nimport { BentoCheckboxState } from '../internal/checkbox-input';\n\nexport { BentoCheckboxState, BentoCheckboxType, BentoMultiCheckboxType };\n\nexport enum BentoCheckboxEvent {\n UPDATE = 'update:model-value',\n INPUT = 'input',\n}\n\nexport type BentoCheckboxTag = InstanceType<typeof BentoTag>['$props'];\n","<template>\n <label class=\"b-checkbox\" :class=\"conditionalClass\">\n <checkbox-input\n ref=\"input\"\n v-bind=\"$attrs\"\n :aria-label=\"computedAriaLabel\"\n :aria-describedby=\"ariaDescribedBy\"\n :disabled=\"disabled\"\n :has-error=\"shouldShowError\"\n :indeterminate=\"isIndeterminate\"\n :value=\"value\"\n :model-value=\"modelValue\"\n :readonly=\"readonly\"\n @update:model-value=\"onChange\"\n />\n <span v-if=\"hasSlot('default') || shouldShowErrorMessage\" class=\"b-checkbox__text\">\n <bento-typography v-if=\"hasSlot('default')\" class=\"b-checkbox__label\" el=\"span\" variant=\"body\">\n <span><slot /></span>\n <bento-typography v-if=\"optional\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('optional') }})</bento-typography\n >\n <bento-typography v-else-if=\"required\" class=\"b-checkbox__label-requirement\" el=\"span\"\n >({{ t('required') }})</bento-typography\n >\n <bento-tag v-if=\"tag\" class=\"b-checkbox__label-tag\" v-bind=\"tag\" />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('default') && hasSlot('description')\"\n :id=\"descriptionId\"\n class=\"b-checkbox__description\"\n el=\"span\"\n variant=\"body\"\n >\n <slot name=\"description\"></slot>\n </bento-typography>\n <error-message v-if=\"shouldShowErrorMessage\" :id=\"errorId\" :error-message=\"errorMessage\" />\n\n <bento-typography v-if=\"contentSlotAvailable\" class=\"b-checkbox__content\" el=\"span\" variant=\"body\">\n <slot name=\"content\"></slot>\n </bento-typography>\n </span>\n </label>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, ref, toRefs } from 'vue';\n import {\n BentoCheckboxEvent,\n BentoCheckboxState,\n BentoCheckboxTag,\n BentoCheckboxType,\n BentoMultiCheckboxType,\n } from './checkbox.types';\n import { BentoTypography } from '@/components/typography';\n import { CheckboxInput } from '@/components/internal/checkbox-input';\n import { ErrorMessage } from '@/components/internal/error-message';\n import type { HTMLAttributes } from 'vue/types/jsx';\n import { useDefaultSlotValidator, useHasSlot } from '@/composables';\n import { generateUid } from '@/utils/ts/unique-id';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n import { useI18n } from '@/utils/ts/i18n';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { BentoTag } from '@/components/tag';\n import { BentoCheckboxGroupItems } from './components/checkbox-group/checkbox-group.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * Checkboxes are used to make a binary choice about an option.\n * The label tag area is also clickable.\n *\n * @usage\n * import { BentoCheckbox } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoCheckbox },\n * template: `\n * <bento-checkbox>\n * Label text\n * <template #description>Sub label text</template>\n * </bento-checkbox>\n * `,\n * }\n */\n export default defineComponent({\n name: 'bento-checkbox',\n i18n: { messages },\n components: {\n BentoTag,\n BentoTypography,\n CheckboxInput,\n ErrorMessage,\n },\n model: { prop: 'modelValue' },\n props: {\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Accessible name for the radio button component. It is strongly recommended to pas this value in case this component is used without a label.\n */\n ariaLabel: { type: String, default: null },\n\n /**\n * Setting this property to true will disable the checkbox in your form.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders the checkbox in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * Setting this property to true will show the checkbox in error state.\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * The :indeterminate CSS pseudo-class represents any form element\n * whose state is indeterminate, such as checkboxes which have their HTML indeterminate attribute\n * set to true, radio buttons which are members of a group in which all radio buttons are unchecked,\n * and indeterminate <progress> elements. https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate\n * This property lets you control the input.indeterminate native property.\n */\n indeterminate: { type: Boolean, default: false },\n\n /**\n * When handling a single checkbox with a singular state, use a boolean.\n *\n * When handling multiple checkboxes, use an array of keys.\n * These keys exist as a set \"value\" prop for each checkbox.\n */\n modelValue: {\n type: [Boolean, Array] as PropType<BentoCheckboxType | BentoCheckboxGroupItems>,\n default: false,\n },\n\n /**\n * Highlights the checkbox is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * Setting this property to true will set the checkbox to read only state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Highlights the checkbox is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Sets the properties of the BentoTag component that is placed next to the label.\n * {@see BentoTag}\n */\n tag: { type: Object as PropType<BentoCheckboxTag>, default: undefined },\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n *\n * In the case of multiple checkboxes this value is used as a unique key.\n */\n value: { type: [String, Number], default: null },\n },\n emits: [BentoCheckboxEvent.UPDATE, BentoCheckboxEvent.INPUT],\n setup(props, { attrs, emit, slots }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const descriptionId = generateUid('description');\n const errorId = generateUid('error');\n const hasSlot = useHasSlot(slots);\n\n const { disabled, indeterminate, modelValue, readonly, value } = toRefs(props);\n\n const defaultSlotValue = getSlotText(slots)('default');\n const descriptionSlotValue = getSlotText(slots)('description');\n\n useDefaultSlotValidator('bento-checkbox', slots.default, slots.description);\n\n const isCheckboxGroup = computed(() => Array.isArray(modelValue.value));\n const isChecked = computed(() => {\n if (!isCheckboxGroup.value) {\n return modelValue.value as boolean;\n }\n\n return (modelValue.value as BentoMultiCheckboxType).some(item => item === value.value);\n });\n const isIndeterminate = computed(() => indeterminate.value);\n\n const shouldShowError = computed(\n () => !props.disabled && !props.readonly && (props.hasError || !!props.errorMessage)\n );\n const shouldShowErrorMessage = computed(() => !props.disabled && !props.readonly && !!props.errorMessage);\n\n // Content slot logic\n const hasContentSlot = computed(() => hasSlot('content'));\n const isCheckedOrIntermediate = computed(() => isIndeterminate?.value || isChecked?.value);\n const contentSlotAvailable = computed(\n () => hasContentSlot?.value && isCheckboxGroup?.value && isCheckedOrIntermediate?.value\n );\n\n // ARIA fields\n const ariaChecked = computed<HTMLAttributes['aria-checked']>(() =>\n isIndeterminate.value ? 'mixed' : `${!!isChecked.value}`\n );\n\n const ariaDescribedBy = computed<HTMLAttributes['aria-describedby']>(\n () =>\n `${shouldShowErrorMessage.value ? errorId : ''} ${\n defaultSlotValue && descriptionSlotValue ? descriptionId : ''\n }`.trim() || null\n );\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: hasSlot('default')\n ? (getSlotText(slots)('default') as string)\n : t('ariaLabelFallback'),\n });\n\n const ariaInvalid = computed<HTMLAttributes['aria-invalid']>(() => shouldShowError.value);\n\n const conditionalClass = computed(() => ({\n [`b-checkbox--${BentoCheckboxState.DISABLED}`]: disabled.value,\n [`b-checkbox--${BentoCheckboxState.READONLY}`]: readonly.value,\n }));\n\n const onChange = (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => {\n if (disabled.value) {\n return;\n }\n emit(BentoCheckboxEvent.UPDATE, newValue);\n emit(BentoCheckboxEvent.INPUT, newValue);\n };\n\n return {\n // Values\n descriptionId,\n errorId,\n ariaChecked,\n ariaDescribedBy,\n ariaInvalid,\n computedAriaLabel,\n conditionalClass,\n defaultSlotValue,\n descriptionSlotValue,\n isCheckboxGroup,\n isChecked,\n isIndeterminate,\n shouldShowError,\n shouldShowErrorMessage,\n contentSlotAvailable,\n hasContentSlot,\n\n // Methods\n hasSlot,\n onChange,\n\n t,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./checkbox.scss\" />\n"],"names":["BentoCheckboxEvent","BentoCheckboxEvent2","_sfc_main","defineComponent","messages","BentoTag","BentoTypography","CheckboxInput","ErrorMessage","props","attrs","emit","slots","t","useI18n","descriptionId","generateUid","errorId","hasSlot","useHasSlot","disabled","indeterminate","modelValue","readonly","value","toRefs","defaultSlotValue","getSlotText","descriptionSlotValue","useDefaultSlotValidator","isCheckboxGroup","computed","isChecked","item","isIndeterminate","shouldShowError","shouldShowErrorMessage","hasContentSlot","isCheckedOrIntermediate","contentSlotAvailable","ariaChecked","ariaDescribedBy","ariaLabelAttribute","ref","ariaLabel","computedAriaLabel","useAriaLabel","ariaInvalid","conditionalClass","CheckboxInputState","newValue"],"mappings":"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"}
@@ -0,0 +1,26 @@
1
+ import { n as i } from "./_plugin-vue2_normalizer.71e2aa87.js";
2
+ import "../assets/refresh.css";
3
+ let s = 0;
4
+ const l = {
5
+ beforeCreate() {
6
+ this.uuid = s.toString(), s += 1;
7
+ }
8
+ };
9
+ var r = function() {
10
+ var t = this, e = t._self._c;
11
+ return e("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("g", { attrs: { "clip-path": "url(#uia-icons-16-checkmark_circle_fill__a" + t.uuid + ")" } }, [e("path", { attrs: { fill: "#00112C", d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM11.0001 4.93945L7.0001 8.93946L5.00011 6.93947L3.93945 8.00013L7.00011 11.0608L12.0608 6.00011L11.0001 4.93945Z" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-icons-16-checkmark_circle_fill__a" + t.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
12
+ }, a = [], _ = /* @__PURE__ */ i(
13
+ l,
14
+ r,
15
+ a,
16
+ !1,
17
+ null,
18
+ null,
19
+ null,
20
+ null
21
+ );
22
+ const o = _.exports;
23
+ export {
24
+ o as C
25
+ };
26
+ //# sourceMappingURL=checkmark-circle-fill.382e27e2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkmark-circle-fill.DVl6QSwm.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/checkmark-circle-fill.vue"],"sourcesContent":["\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-icons-16-checkmark_circle_fill__a' + uuid + ')'\"><path fill=\"#00112C\" d=\"M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM11.0001 4.93945L7.0001 8.93946L5.00011 6.93947L3.93945 8.00013L7.00011 11.0608L12.0608 6.00011L11.0001 4.93945Z\"/></g><defs><clipPath :id=\"'uia-icons-16-checkmark_circle_fill__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"checkmark-circle-fill.382e27e2.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/checkmark-circle-fill.vue"],"sourcesContent":["\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-icons-16-checkmark_circle_fill__a' + uuid + ')'\"><path fill=\"#00112C\" d=\"M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM11.0001 4.93945L7.0001 8.93946L5.00011 6.93947L3.93945 8.00013L7.00011 11.0608L12.0608 6.00011L11.0001 4.93945Z\"/></g><defs><clipPath :id=\"'uia-icons-16-checkmark_circle_fill__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,24 +1,26 @@
1
- import { n as r } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
2
- import "../assets/cross.css";
1
+ import { n as l } from "./_plugin-vue2_normalizer.71e2aa87.js";
2
+ import "../assets/refresh.css";
3
3
  let e = 0;
4
4
  const n = {
5
5
  beforeCreate() {
6
6
  this.uuid = e.toString(), e += 1;
7
7
  }
8
8
  };
9
- var a = function() {
9
+ var r = function() {
10
10
  var t = this, s = t._self._c;
11
11
  return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("path", { attrs: { fill: "#00112C", d: "M12.0608 6.00011L11.0001 4.93945L7.00011 8.93945L5.00011 6.93945L3.93945 8.00011L7.00011 11.0608L12.0608 6.00011Z" } })]);
12
- }, i = [], l = /* @__PURE__ */ r(
12
+ }, a = [], _ = /* @__PURE__ */ l(
13
13
  n,
14
+ r,
14
15
  a,
15
- i,
16
16
  !1,
17
17
  null,
18
+ null,
19
+ null,
18
20
  null
19
21
  );
20
- const c = l.exports;
22
+ const c = _.exports;
21
23
  export {
22
24
  c as C
23
25
  };
24
- //# sourceMappingURL=checkmark-small.BtF8b2gE.js.map
26
+ //# sourceMappingURL=checkmark-small.6f444bd7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkmark-small.BtF8b2gE.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/checkmark-small.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M12.0608 6.00011L11.0001 4.93945L7.00011 8.93945L5.00011 6.93945L3.93945 8.00011L7.00011 11.0608L12.0608 6.00011Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"checkmark-small.6f444bd7.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/checkmark-small.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M12.0608 6.00011L11.0001 4.93945L7.00011 8.93945L5.00011 6.93945L3.93945 8.00011L7.00011 11.0608L12.0608 6.00011Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,43 +1,47 @@
1
- import { n } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
2
- import "../assets/cross.css";
1
+ import { n as r } from "./_plugin-vue2_normalizer.71e2aa87.js";
2
+ import "../assets/refresh.css";
3
3
  let e = 0;
4
- const a = {
4
+ const l = {
5
5
  beforeCreate() {
6
6
  this.uuid = e.toString(), e += 1;
7
7
  }
8
8
  };
9
- var l = function() {
9
+ var i = function() {
10
10
  var t = this, s = t._self._c;
11
11
  return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("path", { attrs: { fill: "#00112C", d: "M4.43945 12.9999L9.43945 7.99988L4.43945 2.99988L5.50011 1.93922L11.5608 7.99988L5.50011 14.0605L4.43945 12.9999Z" } })]);
12
- }, _ = [], o = /* @__PURE__ */ n(
13
- a,
12
+ }, a = [], o = /* @__PURE__ */ r(
14
13
  l,
15
- _,
14
+ i,
15
+ a,
16
16
  !1,
17
17
  null,
18
+ null,
19
+ null,
18
20
  null
19
21
  );
20
22
  const h = o.exports;
21
- let r = 0;
23
+ let n = 0;
22
24
  const c = {
23
25
  beforeCreate() {
24
- this.uuid = r.toString(), r += 1;
26
+ this.uuid = n.toString(), n += 1;
25
27
  }
26
28
  };
27
29
  var v = function() {
28
30
  var t = this, s = t._self._c;
29
31
  return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("path", { attrs: { fill: "#00112C", d: "M11.5606 3.00011L6.56056 8.00011L11.5606 13.0001L10.4999 14.0608L4.43924 8.00011L10.4999 1.93945L11.5606 3.00011Z" } })]);
30
- }, f = [], g = /* @__PURE__ */ n(
32
+ }, u = [], f = /* @__PURE__ */ r(
31
33
  c,
32
34
  v,
33
- f,
35
+ u,
34
36
  !1,
35
37
  null,
38
+ null,
39
+ null,
36
40
  null
37
41
  );
38
- const m = g.exports;
42
+ const d = f.exports;
39
43
  export {
40
- m as C,
44
+ d as C,
41
45
  h as a
42
46
  };
43
- //# sourceMappingURL=chevron-left.CtnrsqUy.js.map
47
+ //# sourceMappingURL=chevron-left.3cd9eeee.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-left.CtnrsqUy.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-right.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-left.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M4.43945 12.9999L9.43945 7.99988L4.43945 2.99988L5.50011 1.93922L11.5608 7.99988L5.50011 14.0605L4.43945 12.9999Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\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><path fill=\"#00112C\" d=\"M11.5606 3.00011L6.56056 8.00011L11.5606 13.0001L10.4999 14.0608L4.43924 8.00011L10.4999 1.93945L11.5606 3.00011Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid$1","_sfc_main$1","uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;ACPA,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"chevron-left.3cd9eeee.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-right.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-left.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M4.43945 12.9999L9.43945 7.99988L4.43945 2.99988L5.50011 1.93922L11.5608 7.99988L5.50011 14.0605L4.43945 12.9999Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\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><path fill=\"#00112C\" d=\"M11.5606 3.00011L6.56056 8.00011L11.5606 13.0001L10.4999 14.0608L4.43924 8.00011L10.4999 1.93945L11.5606 3.00011Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid$1","_sfc_main$1","uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;ACPA,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
@@ -1,43 +1,47 @@
1
- import { n } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
2
- import "../assets/cross.css";
1
+ import { n as r } from "./_plugin-vue2_normalizer.71e2aa87.js";
2
+ import "../assets/refresh.css";
3
3
  let e = 0;
4
- const i = {
4
+ const l = {
5
5
  beforeCreate() {
6
6
  this.uuid = e.toString(), e += 1;
7
7
  }
8
8
  };
9
- var l = function() {
9
+ var a = function() {
10
10
  var t = this, s = t._self._c;
11
11
  return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("path", { attrs: { fill: "#00112C", d: "M2.99988 4.43923L7.99988 9.43923L12.9999 4.43923L14.0605 5.49989L7.99988 11.5605L1.93922 5.49989L2.99988 4.43923Z" } })]);
12
- }, o = [], _ = /* @__PURE__ */ n(
13
- i,
12
+ }, i = [], o = /* @__PURE__ */ r(
14
13
  l,
15
- o,
14
+ a,
15
+ i,
16
16
  !1,
17
17
  null,
18
+ null,
19
+ null,
18
20
  null
19
21
  );
20
- const h = _.exports;
21
- let r = 0;
22
+ const h = o.exports;
23
+ let n = 0;
22
24
  const c = {
23
25
  beforeCreate() {
24
- this.uuid = r.toString(), r += 1;
26
+ this.uuid = n.toString(), n += 1;
25
27
  }
26
28
  };
27
29
  var v = function() {
28
30
  var t = this, s = t._self._c;
29
31
  return s("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? s("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), s("path", { attrs: { fill: "#00112C", d: "M12.9999 11.5605L7.99989 6.56055L2.99988 11.5605L1.93922 10.4999L7.99989 4.43923L14.0605 10.4999L12.9999 11.5605Z" } })]);
30
- }, f = [], g = /* @__PURE__ */ n(
32
+ }, u = [], f = /* @__PURE__ */ r(
31
33
  c,
32
34
  v,
33
- f,
35
+ u,
34
36
  !1,
35
37
  null,
38
+ null,
39
+ null,
36
40
  null
37
41
  );
38
- const m = g.exports;
42
+ const d = f.exports;
39
43
  export {
40
44
  h as C,
41
- m as a
45
+ d as a
42
46
  };
43
- //# sourceMappingURL=chevron-up.B2uWhZf7.js.map
47
+ //# sourceMappingURL=chevron-up.bade9c77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-up.B2uWhZf7.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-down.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-up.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M2.99988 4.43923L7.99988 9.43923L12.9999 4.43923L14.0605 5.49989L7.99988 11.5605L1.93922 5.49989L2.99988 4.43923Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\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><path fill=\"#00112C\" d=\"M12.9999 11.5605L7.99989 6.56055L2.99988 11.5605L1.93922 10.4999L7.99989 4.43923L14.0605 10.4999L12.9999 11.5605Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid$1","_sfc_main$1","uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;ACPA,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"chevron-up.bade9c77.js","sources":["../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-down.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/chevron-up.vue"],"sourcesContent":["\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><path fill=\"#00112C\" d=\"M2.99988 4.43923L7.99988 9.43923L12.9999 4.43923L14.0605 5.49989L7.99988 11.5605L1.93922 5.49989L2.99988 4.43923Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\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><path fill=\"#00112C\" d=\"M12.9999 11.5605L7.99989 6.56055L2.99988 11.5605L1.93922 10.4999L7.99989 4.43923L14.0605 10.4999L12.9999 11.5605Z\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n"],"names":["uuid$1","_sfc_main$1","uuid","_sfc_main"],"mappings":";;AAKA,IAAAA,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;ACPA,IAAAE,IAAA;AAEA,MAAAC,IAAA;AAAA,EACA,eAAA;AACA,SAAA,OAAAD,EAAA,SAAA,GACAA,KAAA;AAAA,EACA;AACA;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}