@adyen/bento-vue3 1.26.0 → 1.28.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 (616) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +12 -0
  3. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
  6. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +3 -3
  7. package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +2 -1
  8. package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +91 -0
  9. package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +1 -0
  10. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +2 -0
  11. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +1 -0
  12. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +65 -0
  13. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  14. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  15. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +1 -0
  16. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +2 -0
  17. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -0
  19. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -1
  20. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -0
  21. package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +1 -0
  22. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -18
  23. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -0
  24. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +38 -42
  25. package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +2 -2
  26. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
  27. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +59 -85
  28. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +3 -0
  29. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +48 -80
  30. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +19 -16
  31. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +36 -54
  32. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +27 -22
  33. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +76 -1
  34. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +21 -2
  35. package/dist/@types/packages/vue2/src/index.d.ts +2 -0
  36. package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +78 -0
  37. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +8 -0
  38. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +103 -0
  39. package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +3 -0
  40. package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -12
  41. package/dist/accordion.js +3 -125
  42. package/dist/accordion.js.map +1 -1
  43. package/dist/action-bar.js +2 -270
  44. package/dist/action-bar.js.map +1 -1
  45. package/dist/alert.js +5 -181
  46. package/dist/alert.js.map +1 -1
  47. package/dist/assets/{index10.css → accordion-item.css} +1 -1
  48. package/dist/assets/{index17.css → action-bar.css} +1 -1
  49. package/dist/assets/alert.css +1 -0
  50. package/dist/assets/base-modal.css +1 -1
  51. package/dist/assets/button-actions.css +1 -1
  52. package/dist/assets/button.css +1 -1
  53. package/dist/assets/{index26.css → card.css} +1 -1
  54. package/dist/assets/checkbox-input.css +1 -1
  55. package/dist/assets/{index14.css → code-snippet.css} +1 -1
  56. package/dist/assets/dashboard-section.css +1 -0
  57. package/dist/assets/dashed-underline.css +1 -0
  58. package/dist/assets/data-grid-template.css +1 -0
  59. package/dist/assets/data-grid.css +1 -0
  60. package/dist/assets/dialog-page.css +1 -1
  61. package/dist/assets/dropdown-default-textbox.css +1 -1
  62. package/dist/assets/dropdown.css +1 -1
  63. package/dist/assets/filter-bar.css +1 -0
  64. package/dist/assets/{index43.css → form-layout-title.css} +1 -1
  65. package/dist/assets/{index39.css → input-field.css} +1 -1
  66. package/dist/assets/link.css +1 -0
  67. package/dist/assets/listbox-option-tag.css +1 -1
  68. package/dist/assets/{index7.css → menu.css} +1 -1
  69. package/dist/assets/{index27.css → modal-fullscreen.css} +1 -1
  70. package/dist/assets/{index19.css → popover.css} +1 -1
  71. package/dist/assets/radio-input.css +1 -1
  72. package/dist/assets/segmented-control.css +1 -0
  73. package/dist/assets/selection-card-group.css +1 -0
  74. package/dist/assets/{index44.css → sidepanel.css} +1 -1
  75. package/dist/assets/status.css +1 -0
  76. package/dist/assets/structured-list-item.css +1 -0
  77. package/dist/assets/{index32.css → tabs.css} +1 -1
  78. package/dist/assets/toggle.css +1 -0
  79. package/dist/assets/tutorial.css +1 -0
  80. package/dist/assets/use-cached-selected-values.css +1 -1
  81. package/dist/avatar-image.js +1 -1
  82. package/dist/badge.js +13 -14
  83. package/dist/badge.js.map +1 -1
  84. package/dist/button.js +14 -89
  85. package/dist/button.js.map +1 -1
  86. package/dist/card.js +4 -203
  87. package/dist/card.js.map +1 -1
  88. package/dist/checkbox.js +8 -194
  89. package/dist/checkbox.js.map +1 -1
  90. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  91. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  92. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  93. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  94. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  95. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  96. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  97. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  98. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  99. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  100. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  101. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  102. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  103. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  104. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  105. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  106. package/dist/chunks/{_plugin-vue_export-helper.dad06003.js → _plugin-vue_export-helper.CHgC5LLL.js} +1 -1
  107. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
  108. package/dist/chunks/accordion-item.BcfGYvjn.js +126 -0
  109. package/dist/chunks/accordion-item.BcfGYvjn.js.map +1 -0
  110. package/dist/chunks/action-bar.BvAtk-jI.js +188 -0
  111. package/dist/chunks/action-bar.BvAtk-jI.js.map +1 -0
  112. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  113. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  114. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  115. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  116. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  117. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  118. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  119. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  120. package/dist/chunks/alert.C0gIf7Ka.js +162 -0
  121. package/dist/chunks/alert.C0gIf7Ka.js.map +1 -0
  122. package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
  123. package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
  124. package/dist/chunks/avatar-image.DO4w_loj.js +61 -0
  125. package/dist/chunks/avatar-image.DO4w_loj.js.map +1 -0
  126. package/dist/chunks/{base-button.e84acf30.js → base-button.ewkxHD6W.js} +24 -25
  127. package/dist/chunks/{base-button.e84acf30.js.map → base-button.ewkxHD6W.js.map} +1 -1
  128. package/dist/chunks/{base-modal.29e062d0.js → base-modal.BgYlnM_Q.js} +81 -83
  129. package/dist/chunks/{base-modal.29e062d0.js.map → base-modal.BgYlnM_Q.js.map} +1 -1
  130. package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
  131. package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
  132. package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.C14zvgVo.js} +14 -15
  133. package/dist/chunks/{button-actions-with-menu.7fce47a2.js.map → button-actions-with-menu.C14zvgVo.js.map} +1 -1
  134. package/dist/chunks/{button-actions.642b37de.js → button-actions.hGhRdgC2.js} +41 -40
  135. package/dist/chunks/button-actions.hGhRdgC2.js.map +1 -0
  136. package/dist/chunks/{button.60dad578.js → button.DoqHEvPh.js} +38 -38
  137. package/dist/chunks/button.DoqHEvPh.js.map +1 -0
  138. package/dist/chunks/{calendar.f38cdab9.js → calendar.CwULNbSL.js} +285 -326
  139. package/dist/chunks/{calendar.f38cdab9.js.map → calendar.CwULNbSL.js.map} +1 -1
  140. package/dist/chunks/card.C7zLKdcy.js +205 -0
  141. package/dist/chunks/card.C7zLKdcy.js.map +1 -0
  142. package/dist/chunks/checkbox-group.BcT-eZ2p.js +192 -0
  143. package/dist/chunks/checkbox-group.BcT-eZ2p.js.map +1 -0
  144. package/dist/chunks/{checkbox-input.ab758a81.js → checkbox-input.CR1lHf7f.js} +43 -43
  145. package/dist/chunks/{checkbox-input.ab758a81.js.map → checkbox-input.CR1lHf7f.js.map} +1 -1
  146. package/dist/chunks/{checkbox.f55ee3a5.js → checkbox.xjIFibII.js} +38 -39
  147. package/dist/chunks/{checkbox.f55ee3a5.js.map → checkbox.xjIFibII.js.map} +1 -1
  148. package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +44 -0
  149. package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js.map → checkmark-circle-fill.D29b-JWj.js.map} +1 -1
  150. package/dist/chunks/{checkmark-small.d7e31e5e.js → checkmark-small.BCeGkayS.js} +10 -10
  151. package/dist/chunks/{checkmark-small.d7e31e5e.js.map → checkmark-small.BCeGkayS.js.map} +1 -1
  152. package/dist/chunks/{chevron-left.963d35e9.js → chevron-left.4JHuWe7i.js} +18 -18
  153. package/dist/chunks/{chevron-left.963d35e9.js.map → chevron-left.4JHuWe7i.js.map} +1 -1
  154. package/dist/chunks/{chevron-up.05ca20db.js → chevron-up.5-KtIp8i.js} +19 -19
  155. package/dist/chunks/{chevron-up.05ca20db.js.map → chevron-up.5-KtIp8i.js.map} +1 -1
  156. package/dist/chunks/click-outside.DABh6NLr.js +23 -0
  157. package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
  158. package/dist/chunks/code-snippet.e8bxDBCO.js +1052 -0
  159. package/dist/chunks/code-snippet.e8bxDBCO.js.map +1 -0
  160. package/dist/chunks/{controls-group.9e0f17b2.js → controls-group.DWu8NqKL.js} +17 -18
  161. package/dist/chunks/{controls-group.9e0f17b2.js.map → controls-group.DWu8NqKL.js.map} +1 -1
  162. package/dist/chunks/{copy.852d4cb8.js → copy.BhO7oRgC.js} +39 -40
  163. package/dist/chunks/{copy.852d4cb8.js.map → copy.BhO7oRgC.js.map} +1 -1
  164. package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
  165. package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
  166. package/dist/chunks/country.vX94O3uR.js +98 -0
  167. package/dist/chunks/country.vX94O3uR.js.map +1 -0
  168. package/dist/chunks/{cross-circle-fill.81925c7f.js → cross-circle-fill.vLaelNTN.js} +12 -12
  169. package/dist/chunks/{cross-circle-fill.81925c7f.js.map → cross-circle-fill.vLaelNTN.js.map} +1 -1
  170. package/dist/chunks/cross-small.48UCoOqB.js +29 -0
  171. package/dist/chunks/{cross-small.9bc6a02f.js.map → cross-small.48UCoOqB.js.map} +1 -1
  172. package/dist/chunks/cross.BlL0FyHo.js +29 -0
  173. package/dist/chunks/{cross.a60533f6.js.map → cross.BlL0FyHo.js.map} +1 -1
  174. package/dist/chunks/currency.CgVd9fQN.js +121 -0
  175. package/dist/chunks/currency.CgVd9fQN.js.map +1 -0
  176. package/dist/chunks/dashboard-section.DKeDjvkB.js +167 -0
  177. package/dist/chunks/dashboard-section.DKeDjvkB.js.map +1 -0
  178. package/dist/chunks/dashed-underline.DGTW7Y_-.js +79 -0
  179. package/dist/chunks/dashed-underline.DGTW7Y_-.js.map +1 -0
  180. package/dist/chunks/data-grid-template.6Nls-D4o.js +89 -0
  181. package/dist/chunks/data-grid-template.6Nls-D4o.js.map +1 -0
  182. package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
  183. package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
  184. package/dist/chunks/data-grid.BwfZhc09.js +2733 -0
  185. package/dist/chunks/data-grid.BwfZhc09.js.map +1 -0
  186. package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
  187. package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
  188. package/dist/chunks/date-picker.CoPmllNh.js +273 -0
  189. package/dist/chunks/date-picker.CoPmllNh.js.map +1 -0
  190. package/dist/chunks/{index.96cd0d4c.js → date-range-picker.CiwDo2jW.js} +216 -218
  191. package/dist/chunks/date-range-picker.CiwDo2jW.js.map +1 -0
  192. package/dist/chunks/{index.146f967e.js → date.2ndGvIGE.js} +36 -41
  193. package/dist/chunks/date.2ndGvIGE.js.map +1 -0
  194. package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
  195. package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
  196. package/dist/chunks/{dialog-page.ea67bb14.js → dialog-page.BLqqR73w.js} +48 -49
  197. package/dist/chunks/{dialog-page.ea67bb14.js.map → dialog-page.BLqqR73w.js.map} +1 -1
  198. package/dist/chunks/divider.CnwfddJD.js +22 -0
  199. package/dist/chunks/divider.CnwfddJD.js.map +1 -0
  200. package/dist/chunks/{dropdown-default-textbox.ad5063c2.js → dropdown-default-textbox.-Oy2eT40.js} +75 -77
  201. package/dist/chunks/{dropdown-default-textbox.ad5063c2.js.map → dropdown-default-textbox.-Oy2eT40.js.map} +1 -1
  202. package/dist/chunks/dropdown-tag.C-LxVWlt.js +201 -0
  203. package/dist/chunks/dropdown-tag.C-LxVWlt.js.map +1 -0
  204. package/dist/chunks/{dropdown.d8587f36.js → dropdown.CxBlK83Q.js} +221 -233
  205. package/dist/chunks/dropdown.CxBlK83Q.js.map +1 -0
  206. package/dist/chunks/empty-state.BBxgpI-D.js +185 -0
  207. package/dist/chunks/empty-state.BBxgpI-D.js.map +1 -0
  208. package/dist/chunks/{error-message.3fb5573a.js → error-message.DyjHMyEZ.js} +30 -32
  209. package/dist/chunks/{error-message.3fb5573a.js.map → error-message.DyjHMyEZ.js.map} +1 -1
  210. package/dist/chunks/events.CMzGybJJ.js +47 -0
  211. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  212. package/dist/chunks/filter-bar.U2ZcPmSU.js +2775 -0
  213. package/dist/chunks/filter-bar.U2ZcPmSU.js.map +1 -0
  214. package/dist/chunks/{fixed-scroller.59aefd1b.js → fixed-scroller.DV7HtKDr.js} +20 -21
  215. package/dist/chunks/{fixed-scroller.59aefd1b.js.map → fixed-scroller.DV7HtKDr.js.map} +1 -1
  216. package/dist/chunks/{index.8be283d5.js → focus-trap.CwkbHfT8.js} +20 -20
  217. package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -0
  218. package/dist/chunks/{footer-actions.89e68269.js → footer-actions.D9nQFagi.js} +20 -21
  219. package/dist/chunks/{footer-actions.89e68269.js.map → footer-actions.D9nQFagi.js.map} +1 -1
  220. package/dist/chunks/form-layout-title.4Gz8-dJv.js +204 -0
  221. package/dist/chunks/form-layout-title.4Gz8-dJv.js.map +1 -0
  222. package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
  223. package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
  224. package/dist/chunks/{get-slot-text.bead058f.js → get-slot-text.D5WBGjic.js} +1 -1
  225. package/dist/chunks/{get-slot-text.bead058f.js.map → get-slot-text.D5WBGjic.js.map} +1 -1
  226. package/dist/chunks/{grid-layout.c2fe3057.js → grid-layout.CqLbbEzI.js} +15 -15
  227. package/dist/chunks/{grid-layout.c2fe3057.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
  228. package/dist/chunks/header.Cr7115vM.js +307 -0
  229. package/dist/chunks/header.Cr7115vM.js.map +1 -0
  230. package/dist/chunks/{i18n.f7e6533e.js → i18n.DY5YXG5f.js} +46 -89
  231. package/dist/chunks/{i18n.f7e6533e.js.map → i18n.DY5YXG5f.js.map} +1 -1
  232. package/dist/chunks/image.0KzfycGE.js +78 -0
  233. package/dist/chunks/image.0KzfycGE.js.map +1 -0
  234. package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
  235. package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
  236. package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
  237. package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
  238. package/dist/chunks/index.Dytpif0G.js +125 -0
  239. package/dist/chunks/index.Dytpif0G.js.map +1 -0
  240. package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
  241. package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
  242. package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
  243. package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
  244. package/dist/chunks/info-icon.DvL1e5Iu.js +45 -0
  245. package/dist/chunks/info-icon.DvL1e5Iu.js.map +1 -0
  246. package/dist/chunks/{info.205b4496.js → info.CNegCnli.js} +17 -17
  247. package/dist/chunks/{info.205b4496.js.map → info.CNegCnli.js.map} +1 -1
  248. package/dist/chunks/input-field.iH1ICJkQ.js +344 -0
  249. package/dist/chunks/input-field.iH1ICJkQ.js.map +1 -0
  250. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  251. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  252. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  253. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  254. package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
  255. package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
  256. package/dist/chunks/link.DeNN3Amu.js +111 -0
  257. package/dist/chunks/link.DeNN3Amu.js.map +1 -0
  258. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js +94 -0
  259. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js.map +1 -0
  260. package/dist/chunks/{loading-button.0391ad8b.js → loading-button.BI32pZiW.js} +19 -20
  261. package/dist/chunks/{loading-button.0391ad8b.js.map → loading-button.BI32pZiW.js.map} +1 -1
  262. package/dist/chunks/loading-indicator.BFMEf39U.js +44 -0
  263. package/dist/chunks/loading-indicator.BFMEf39U.js.map +1 -0
  264. package/dist/chunks/{index.030c1dd7.js → menu.DN-xhDQU.js} +80 -82
  265. package/dist/chunks/menu.DN-xhDQU.js.map +1 -0
  266. package/dist/chunks/modal-fullscreen.CeogBGfr.js +264 -0
  267. package/dist/chunks/modal-fullscreen.CeogBGfr.js.map +1 -0
  268. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
  269. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
  270. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js +495 -0
  271. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js.map +1 -0
  272. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  273. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  274. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  275. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  276. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  277. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  278. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  279. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  280. package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
  281. package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
  282. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  283. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  284. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  285. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  286. package/dist/chunks/pagination.BwG1MF4j.js +633 -0
  287. package/dist/chunks/pagination.BwG1MF4j.js.map +1 -0
  288. package/dist/chunks/{payment-method.31a68b9b.js → payment-method.NCItxw1D.js} +26 -27
  289. package/dist/chunks/{payment-method.31a68b9b.js.map → payment-method.NCItxw1D.js.map} +1 -1
  290. package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
  291. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
  292. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  293. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  294. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  295. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  296. package/dist/chunks/{index.5bdebf9d.js → popover.DRb2GW7t.js} +48 -49
  297. package/dist/chunks/popover.DRb2GW7t.js.map +1 -0
  298. package/dist/chunks/{index.9bf04b01.js → popper-container.B76aE-3-.js} +180 -182
  299. package/dist/chunks/popper-container.B76aE-3-.js.map +1 -0
  300. package/dist/chunks/radio-group.B9HCffiZ.js +296 -0
  301. package/dist/chunks/radio-group.B9HCffiZ.js.map +1 -0
  302. package/dist/chunks/{radio-input.1dd15424.js → radio-input.BEzK-fgR.js} +13 -14
  303. package/dist/chunks/radio-input.BEzK-fgR.js.map +1 -0
  304. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  305. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  306. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  307. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  308. package/dist/chunks/refresh.BfxRdaQb.js +29 -0
  309. package/dist/chunks/{refresh.53691839.js.map → refresh.BfxRdaQb.js.map} +1 -1
  310. package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
  311. package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
  312. package/dist/chunks/search-bar.DxskyM4e.js +107 -0
  313. package/dist/chunks/search-bar.DxskyM4e.js.map +1 -0
  314. package/dist/chunks/{search.4e4ee4dd.js → search.0lh99z1F.js} +16 -16
  315. package/dist/chunks/{search.4e4ee4dd.js.map → search.0lh99z1F.js.map} +1 -1
  316. package/dist/chunks/secondary-nav.D66nxbU-.js +112 -0
  317. package/dist/chunks/secondary-nav.D66nxbU-.js.map +1 -0
  318. package/dist/chunks/segmented-control.NnFfAdTq.js +142 -0
  319. package/dist/chunks/segmented-control.NnFfAdTq.js.map +1 -0
  320. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  321. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  322. package/dist/chunks/selection-card-group.C-YLePO4.js +385 -0
  323. package/dist/chunks/selection-card-group.C-YLePO4.js.map +1 -0
  324. package/dist/chunks/sidepanel.B-LtA15e.js +230 -0
  325. package/dist/chunks/sidepanel.B-LtA15e.js.map +1 -0
  326. package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
  327. package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
  328. package/dist/chunks/status.types.Bqdcr1WO.js +42 -0
  329. package/dist/chunks/status.types.Bqdcr1WO.js.map +1 -0
  330. package/dist/chunks/step.CVoaYmVZ.js +284 -0
  331. package/dist/chunks/step.CVoaYmVZ.js.map +1 -0
  332. package/dist/chunks/structured-list-item.DQiPKhOI.js +101 -0
  333. package/dist/chunks/structured-list-item.DQiPKhOI.js.map +1 -0
  334. package/dist/chunks/success.DhioLvPD.js +5 -0
  335. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  336. package/dist/chunks/success.nNwxJRBS.js +5 -0
  337. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  338. package/dist/chunks/summary-grid-item-custom.B941Kdvq.js +720 -0
  339. package/dist/chunks/summary-grid-item-custom.B941Kdvq.js.map +1 -0
  340. package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
  341. package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
  342. package/dist/chunks/tabs.TNKpNgTM.js +185 -0
  343. package/dist/chunks/tabs.TNKpNgTM.js.map +1 -0
  344. package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
  345. package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
  346. package/dist/chunks/tag.CPhtHjDD.js +75 -0
  347. package/dist/chunks/tag.CPhtHjDD.js.map +1 -0
  348. package/dist/chunks/{teleport.afeb4c3b.js → teleport.L8qFCYpr.js} +20 -21
  349. package/dist/chunks/{teleport.afeb4c3b.js.map → teleport.L8qFCYpr.js.map} +1 -1
  350. package/dist/chunks/textarea.CJ8xiMjv.js +288 -0
  351. package/dist/chunks/textarea.CJ8xiMjv.js.map +1 -0
  352. package/dist/chunks/timeline-item.Cap9MXkH.js +531 -0
  353. package/dist/chunks/timeline-item.Cap9MXkH.js.map +1 -0
  354. package/dist/chunks/toast.Bwo57uNy.js +215 -0
  355. package/dist/chunks/toast.Bwo57uNy.js.map +1 -0
  356. package/dist/chunks/toggle-button.q9F2dsIi.js +79 -0
  357. package/dist/chunks/toggle-button.q9F2dsIi.js.map +1 -0
  358. package/dist/chunks/toggle.DmTjGY0a.js +161 -0
  359. package/dist/chunks/toggle.DmTjGY0a.js.map +1 -0
  360. package/dist/chunks/{tooltip.1084d92b.js → tooltip.CTR3s-Rm.js} +60 -61
  361. package/dist/chunks/tooltip.CTR3s-Rm.js.map +1 -0
  362. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js +408 -0
  363. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map +1 -0
  364. package/dist/chunks/typography.D7onlQ9v.js +73 -0
  365. package/dist/chunks/typography.D7onlQ9v.js.map +1 -0
  366. package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
  367. package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
  368. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  369. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  370. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  371. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  372. package/dist/chunks/{use-bento-toast-controller.98d8613c.js → use-bento-toast-controller.C0A5tZgd.js} +3 -3
  373. package/dist/chunks/{use-bento-toast-controller.98d8613c.js.map → use-bento-toast-controller.C0A5tZgd.js.map} +1 -1
  374. package/dist/chunks/{use-cached-selected-values.852aeafe.js → use-cached-selected-values.BQBWFTvi.js} +490 -476
  375. package/dist/chunks/use-cached-selected-values.BQBWFTvi.js.map +1 -0
  376. package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
  377. package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
  378. package/dist/chunks/{use-country-items.32e30471.js → use-country-items.CongYNiX.js} +4 -4
  379. package/dist/chunks/{use-country-items.32e30471.js.map → use-country-items.CongYNiX.js.map} +1 -1
  380. package/dist/chunks/{use-default-slot-validator.1169c221.js → use-default-slot-validator.O02rzsob.js} +1 -1
  381. package/dist/chunks/{use-default-slot-validator.1169c221.js.map → use-default-slot-validator.O02rzsob.js.map} +1 -1
  382. package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
  383. package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
  384. package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
  385. package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
  386. package/dist/chunks/{use-has-slot.4d98bf29.js → use-has-slot.B7eQSabc.js} +1 -1
  387. package/dist/chunks/{use-has-slot.4d98bf29.js.map → use-has-slot.B7eQSabc.js.map} +1 -1
  388. package/dist/chunks/warning-filled.DHw1rVWs.js +29 -0
  389. package/dist/chunks/warning-filled.DHw1rVWs.js.map +1 -0
  390. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  391. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  392. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  393. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  394. package/dist/click-outside.js +2 -20
  395. package/dist/click-outside.js.map +1 -1
  396. package/dist/code-snippet.js +5 -2131
  397. package/dist/code-snippet.js.map +1 -1
  398. package/dist/country.js +8 -101
  399. package/dist/country.js.map +1 -1
  400. package/dist/currency.js +3 -118
  401. package/dist/currency.js.map +1 -1
  402. package/dist/dashboard-template.js +6 -0
  403. package/dist/dashboard-template.js.map +1 -0
  404. package/dist/dashed-underline.js +5 -0
  405. package/dist/dashed-underline.js.map +1 -0
  406. package/dist/data-grid-template.js +2 -87
  407. package/dist/data-grid-template.js.map +1 -1
  408. package/dist/data-grid.js +8 -2643
  409. package/dist/data-grid.js.map +1 -1
  410. package/dist/date-picker.js +5 -272
  411. package/dist/date-picker.js.map +1 -1
  412. package/dist/date-range-picker.js +2 -2
  413. package/dist/date.js +1 -1
  414. package/dist/divider.js +1 -1
  415. package/dist/dropdown.js +12 -205
  416. package/dist/dropdown.js.map +1 -1
  417. package/dist/empty-state.js +5 -176
  418. package/dist/empty-state.js.map +1 -1
  419. package/dist/filter-bar.js +5 -2778
  420. package/dist/filter-bar.js.map +1 -1
  421. package/dist/focus-trap.js +1 -1
  422. package/dist/form-layout.js +5 -205
  423. package/dist/form-layout.js.map +1 -1
  424. package/dist/header.js +2 -306
  425. package/dist/header.js.map +1 -1
  426. package/dist/image.js +4 -75
  427. package/dist/image.js.map +1 -1
  428. package/dist/index.js +263 -256
  429. package/dist/index.js.map +1 -1
  430. package/dist/info-icon.js +2 -43
  431. package/dist/info-icon.js.map +1 -1
  432. package/dist/input-field.js +7 -342
  433. package/dist/input-field.js.map +1 -1
  434. package/dist/internal.js +15 -15
  435. package/dist/link.js +1 -1
  436. package/dist/loading-indicator.js +3 -41
  437. package/dist/loading-indicator.js.map +1 -1
  438. package/dist/menu.js +1 -1
  439. package/dist/modal-fullscreen.js +3 -263
  440. package/dist/modal-fullscreen.js.map +1 -1
  441. package/dist/modal.js +11 -501
  442. package/dist/modal.js.map +1 -1
  443. package/dist/pagination.js +2 -634
  444. package/dist/pagination.js.map +1 -1
  445. package/dist/payment-method.js +4 -4
  446. package/dist/payment-method.js.map +1 -1
  447. package/dist/popover.js +1 -1
  448. package/dist/popper-container.js +1 -1
  449. package/dist/radio-group.js +6 -296
  450. package/dist/radio-group.js.map +1 -1
  451. package/dist/search-bar.js +6 -107
  452. package/dist/search-bar.js.map +1 -1
  453. package/dist/secondary-nav.js +2 -112
  454. package/dist/secondary-nav.js.map +1 -1
  455. package/dist/segmented-control.js +4 -255
  456. package/dist/segmented-control.js.map +1 -1
  457. package/dist/selection-card.js +4 -384
  458. package/dist/selection-card.js.map +1 -1
  459. package/dist/sidepanel.js +4 -229
  460. package/dist/sidepanel.js.map +1 -1
  461. package/dist/status.js +3 -50
  462. package/dist/status.js.map +1 -1
  463. package/dist/stepper.js +5 -283
  464. package/dist/stepper.js.map +1 -1
  465. package/dist/structured-list.js +1 -1
  466. package/dist/summary-grid.js +9 -720
  467. package/dist/summary-grid.js.map +1 -1
  468. package/dist/tabs.js +3 -182
  469. package/dist/tabs.js.map +1 -1
  470. package/dist/tag.js +3 -73
  471. package/dist/tag.js.map +1 -1
  472. package/dist/textarea.js +2 -286
  473. package/dist/textarea.js.map +1 -1
  474. package/dist/timeline.js +7 -530
  475. package/dist/timeline.js.map +1 -1
  476. package/dist/toast.js +2 -215
  477. package/dist/toast.js.map +1 -1
  478. package/dist/toggle.js +4 -159
  479. package/dist/toggle.js.map +1 -1
  480. package/dist/tutorial.js +2 -392
  481. package/dist/tutorial.js.map +1 -1
  482. package/dist/typography.js +1 -1
  483. package/dist/web-types.json +1 -1
  484. package/package.json +10 -10
  485. package/dist/assets/index11.css +0 -1
  486. package/dist/assets/index16.css +0 -1
  487. package/dist/assets/index18.css +0 -1
  488. package/dist/assets/index24.css +0 -1
  489. package/dist/assets/index25.css +0 -1
  490. package/dist/assets/index37.css +0 -1
  491. package/dist/assets/index40.css +0 -1
  492. package/dist/assets/index42.css +0 -1
  493. package/dist/assets/index46.css +0 -1
  494. package/dist/assets/index47.css +0 -1
  495. package/dist/assets/index9.css +0 -1
  496. package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
  497. package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
  498. package/dist/chunks/1-generic-use.ccca5813.js +0 -5
  499. package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
  500. package/dist/chunks/2-generic-use.443db127.js +0 -5
  501. package/dist/chunks/2-generic-use.443db127.js.map +0 -1
  502. package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
  503. package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
  504. package/dist/chunks/3-generic-use.9f74667f.js +0 -5
  505. package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
  506. package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
  507. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
  508. package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
  509. package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
  510. package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
  511. package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
  512. package/dist/chunks/_plugin-vue_export-helper.dad06003.js.map +0 -1
  513. package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
  514. package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
  515. package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
  516. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
  517. package/dist/chunks/adyen-giving.480913b5.js +0 -5
  518. package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
  519. package/dist/chunks/adyen-giving.54ed984c.js +0 -5
  520. package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
  521. package/dist/chunks/button-actions.642b37de.js.map +0 -1
  522. package/dist/chunks/button.60dad578.js.map +0 -1
  523. package/dist/chunks/checkmark-circle-fill.f3a69c6a.js +0 -44
  524. package/dist/chunks/checkmark.87919b24.js +0 -29
  525. package/dist/chunks/checkmark.87919b24.js.map +0 -1
  526. package/dist/chunks/cross-small.9bc6a02f.js +0 -29
  527. package/dist/chunks/cross.a60533f6.js +0 -29
  528. package/dist/chunks/dropdown.d8587f36.js.map +0 -1
  529. package/dist/chunks/events.58c00e6d.js +0 -50
  530. package/dist/chunks/events.58c00e6d.js.map +0 -1
  531. package/dist/chunks/index.030c1dd7.js.map +0 -1
  532. package/dist/chunks/index.07122048.js +0 -23
  533. package/dist/chunks/index.07122048.js.map +0 -1
  534. package/dist/chunks/index.146f967e.js.map +0 -1
  535. package/dist/chunks/index.5bdebf9d.js.map +0 -1
  536. package/dist/chunks/index.6e0e9d21.js +0 -118
  537. package/dist/chunks/index.6e0e9d21.js.map +0 -1
  538. package/dist/chunks/index.8be283d5.js.map +0 -1
  539. package/dist/chunks/index.96cd0d4c.js.map +0 -1
  540. package/dist/chunks/index.9bf04b01.js.map +0 -1
  541. package/dist/chunks/index.a3d60e4f.js +0 -74
  542. package/dist/chunks/index.a3d60e4f.js.map +0 -1
  543. package/dist/chunks/index.ba3396d3.js +0 -62
  544. package/dist/chunks/index.ba3396d3.js.map +0 -1
  545. package/dist/chunks/index.c8ffede1.js +0 -168
  546. package/dist/chunks/index.c8ffede1.js.map +0 -1
  547. package/dist/chunks/internal-error.35cbb071.js +0 -5
  548. package/dist/chunks/internal-error.35cbb071.js.map +0 -1
  549. package/dist/chunks/internal-error.9a4823ed.js +0 -5
  550. package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
  551. package/dist/chunks/listbox-option-tag.b6182b2e.js +0 -129
  552. package/dist/chunks/listbox-option-tag.b6182b2e.js.map +0 -1
  553. package/dist/chunks/no-results-found.58856d70.js +0 -5
  554. package/dist/chunks/no-results-found.58856d70.js.map +0 -1
  555. package/dist/chunks/no-results-found.cbb12f78.js +0 -5
  556. package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
  557. package/dist/chunks/notifications-cleared.71025c22.js +0 -5
  558. package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
  559. package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
  560. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
  561. package/dist/chunks/page-not-found.a500440d.js +0 -5
  562. package/dist/chunks/page-not-found.a500440d.js.map +0 -1
  563. package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
  564. package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
  565. package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
  566. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
  567. package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
  568. package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
  569. package/dist/chunks/radio-input.1dd15424.js.map +0 -1
  570. package/dist/chunks/referrals.178ce0eb.js +0 -5
  571. package/dist/chunks/referrals.178ce0eb.js.map +0 -1
  572. package/dist/chunks/referrals.599047da.js +0 -5
  573. package/dist/chunks/referrals.599047da.js.map +0 -1
  574. package/dist/chunks/refresh.53691839.js +0 -29
  575. package/dist/chunks/success.41981fe8.js +0 -5
  576. package/dist/chunks/success.41981fe8.js.map +0 -1
  577. package/dist/chunks/success.77fac78b.js +0 -5
  578. package/dist/chunks/success.77fac78b.js.map +0 -1
  579. package/dist/chunks/tooltip.1084d92b.js.map +0 -1
  580. package/dist/chunks/upload-files.2708eca7.js +0 -5
  581. package/dist/chunks/upload-files.2708eca7.js.map +0 -1
  582. package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
  583. package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
  584. package/dist/chunks/use-cached-selected-values.852aeafe.js.map +0 -1
  585. package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
  586. package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
  587. package/dist/chunks/wrong-environment.f890a237.js +0 -5
  588. package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
  589. /package/dist/@types/packages/{vue2/src/components/internal → core/src/components}/radio-input/radio-input.types.d.ts +0 -0
  590. /package/dist/assets/{index13.css → avatar-image.css} +0 -0
  591. /package/dist/assets/{index21.css → badge.css} +0 -0
  592. /package/dist/assets/{index5.css → checkbox-group.css} +0 -0
  593. /package/dist/assets/{index4.css → country.css} +0 -0
  594. /package/dist/assets/{checkmark-circle-fill.css → cross.css} +0 -0
  595. /package/dist/assets/{index2.css → date-picker.css} +0 -0
  596. /package/dist/assets/{index20.css → date-range-picker.css} +0 -0
  597. /package/dist/assets/{index3.css → divider.css} +0 -0
  598. /package/dist/assets/{index48.css → dropdown-tag.css} +0 -0
  599. /package/dist/assets/{index8.css → empty-state.css} +0 -0
  600. /package/dist/assets/{index.css → focus-trap.css} +0 -0
  601. /package/dist/assets/{index15.css → header.css} +0 -0
  602. /package/dist/assets/{index6.css → info-icon.css} +0 -0
  603. /package/dist/assets/{index41.css → loading-indicator.css} +0 -0
  604. /package/dist/assets/{index28.css → pagination.css} +0 -0
  605. /package/dist/assets/{index29.css → popper-container.css} +0 -0
  606. /package/dist/assets/{index30.css → radio-group.css} +0 -0
  607. /package/dist/assets/{index22.css → search-bar.css} +0 -0
  608. /package/dist/assets/{index23.css → secondary-nav.css} +0 -0
  609. /package/dist/assets/{index45.css → step.css} +0 -0
  610. /package/dist/assets/{index31.css → summary-grid-item-custom.css} +0 -0
  611. /package/dist/assets/{index33.css → tag.css} +0 -0
  612. /package/dist/assets/{index34.css → textarea.css} +0 -0
  613. /package/dist/assets/{index35.css → timeline-item.css} +0 -0
  614. /package/dist/assets/{index36.css → toast.css} +0 -0
  615. /package/dist/assets/{index12.css → toggle-button.css} +0 -0
  616. /package/dist/assets/{index38.css → typography.css} +0 -0
@@ -0,0 +1,408 @@
1
+ import { defineComponent as k, ref as B, openBlock as c, createBlock as y, unref as o, withCtx as v, createElementVNode as p, normalizeStyle as q, createElementBlock as b, mergeProps as N, toDisplayString as E, createCommentVNode as O, computed as l, isRef as Z, watch as I, nextTick as z, createVNode as S, withKeys as H, createSlots as U, createTextVNode as R, renderSlot as W, pushScopeId as X, popScopeId as G, Fragment as J, renderList as Q } from "vue";
2
+ import { B as Y } from "./menu.DN-xhDQU.js";
3
+ import { a as P, B as tt } from "./popover.DRb2GW7t.js";
4
+ import { B as x } from "./typography.D7onlQ9v.js";
5
+ import { B as et } from "./image.0KzfycGE.js";
6
+ import { u as ot } from "./i18n.DY5YXG5f.js";
7
+ import { R as at } from "./refresh.BfxRdaQb.js";
8
+ import { _ as F } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import { P as A, h as nt, o as it } from "./popper-container.B76aE-3-.js";
10
+ import { B as st } from "./button-actions.hGhRdgC2.js";
11
+ import "../assets/tutorial.css";
12
+ var V;
13
+ const lt = /* @__PURE__ */ k({
14
+ __name: "tutorial-indicator",
15
+ props: {
16
+ /**
17
+ * Tutorial indicator's target element.
18
+ * The indicator will position itself around the target element.
19
+ */
20
+ targetElement: {
21
+ type: (V = A.props) == null ? void 0 : V.targetElement.type,
22
+ required: !0
23
+ }
24
+ },
25
+ setup(t) {
26
+ const e = B({
27
+ width: "0",
28
+ height: "0",
29
+ borderRadius: "0"
30
+ });
31
+ function u(d) {
32
+ try {
33
+ const f = parseFloat(getComputedStyle(d).getPropertyValue("border-radius"));
34
+ return Number.isNaN(f) ? "" : `${f + 2 * 2}px`;
35
+ } catch {
36
+ return "";
37
+ }
38
+ }
39
+ const i = [
40
+ nt(),
41
+ it({
42
+ mainAxis: 2,
43
+ alignmentAxis: -2
44
+ }),
45
+ {
46
+ name: "updateIndicatorSize",
47
+ fn: ({ x: d, y: f, elements: a }) => {
48
+ const n = a.reference;
49
+ return e.value.width = `${n.offsetWidth + 4 * 2}px`, e.value.height = `${n.offsetHeight + 4 * 2}px`, e.value.borderRadius = u(n), { x: d, y: f };
50
+ }
51
+ }
52
+ ];
53
+ return (d, f) => (c(), y(o(A), {
54
+ "target-element": t.targetElement,
55
+ middleware: i,
56
+ position: "top-start",
57
+ "fixed-positioning": "",
58
+ "disabled-focus-trap": "",
59
+ class: "b-tutorial-indicator",
60
+ "data-testid": "tutorial-indicator"
61
+ }, {
62
+ default: v(() => [
63
+ p("div", {
64
+ class: "b-tutorial-indicator__highlight",
65
+ style: q(e.value)
66
+ }, null, 4)
67
+ ]),
68
+ _: 1
69
+ }, 8, ["target-element"]));
70
+ }
71
+ }), rt = /* @__PURE__ */ F(lt, [["__scopeId", "data-v-672deffb"]]);
72
+ let D = 0;
73
+ const ut = {
74
+ beforeCreate() {
75
+ this.uuid = D.toString(), D += 1;
76
+ }
77
+ }, ct = { key: 0 }, pt = ["clip-path"], dt = /* @__PURE__ */ p("path", {
78
+ fill: "#00112C",
79
+ d: "M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z"
80
+ }, null, -1), ft = [
81
+ dt
82
+ ], mt = ["id"], vt = /* @__PURE__ */ p("rect", {
83
+ width: "16",
84
+ height: "16",
85
+ fill: "#fff"
86
+ }, null, -1), _t = [
87
+ vt
88
+ ];
89
+ function gt(t, r, e, u, i, d) {
90
+ return c(), b("svg", N({ role: "img" }, t.$attrs, {
91
+ class: "ui-assets-icons-16",
92
+ xmlns: "http://www.w3.org/2000/svg",
93
+ width: "16",
94
+ height: "16",
95
+ fill: "none"
96
+ }), [
97
+ t.$attrs["svg-title"] ? (c(), b("title", ct, E(t.$attrs["svg-title"]), 1)) : O("", !0),
98
+ p("g", {
99
+ "clip-path": "url(#uia-icons-16-blocked__a" + t.uuid + ")"
100
+ }, ft, 8, pt),
101
+ p("defs", null, [
102
+ p("clipPath", {
103
+ id: "uia-icons-16-blocked__a" + t.uuid
104
+ }, _t, 8, mt)
105
+ ])
106
+ ], 16);
107
+ }
108
+ const ht = /* @__PURE__ */ F(ut, [["render", gt]]), L = {
109
+ "en-US": {
110
+ finish: "Finish",
111
+ next: "Next",
112
+ ok: "OK",
113
+ restartTour: "Restart tour",
114
+ skipTour: "Skip tour",
115
+ startTour: "Start tour",
116
+ stepsOfTotal: "{step} of {totalSteps}"
117
+ }
118
+ }, St = (t) => (X("data-v-9513f48c"), t = t(), G(), t), Ot = { key: 0 }, yt = /* @__PURE__ */ St(() => /* @__PURE__ */ p("div", {
119
+ "aria-hidden": "true",
120
+ class: "b-tutorial-popover__ripple"
121
+ }, null, -1)), bt = { class: "b-tutorial-popover__header" }, Ct = { class: "b-tutorial-popover__footer" }, Tt = { class: "b-tutorial-popover__actions" }, Bt = {
122
+ i18n: { messages: L }
123
+ }, Et = /* @__PURE__ */ k({
124
+ ...Bt,
125
+ __name: "tutorial-popover",
126
+ props: {
127
+ /**
128
+ * Optional configuration for the secondary action.
129
+ * In tour tutorials, this is ignored for the introductory step.
130
+ */
131
+ action: {
132
+ type: Object,
133
+ default: null
134
+ },
135
+ /**
136
+ * Indicates whether this popover is the active step (and should be visible).
137
+ */
138
+ active: {
139
+ type: Boolean,
140
+ default: !1
141
+ },
142
+ /**
143
+ * Optional illustration to display at the top of the popover.
144
+ */
145
+ image: {
146
+ type: Object,
147
+ default: null
148
+ },
149
+ /**
150
+ * Popover's position relative to the target element.
151
+ * Possible values are:
152
+ * 'auto', 'auto-start', 'auto-end',
153
+ * 'top', 'top-start', 'top-end'
154
+ * 'right', 'right-start', 'right-end'
155
+ * 'bottom', 'bottom-start', 'bottom-end'
156
+ * 'left', 'left-start', 'left-end'
157
+ */
158
+ position: {
159
+ type: String,
160
+ default: P.BOTTOM_START,
161
+ validator: (t) => Object.values(P).includes(t)
162
+ },
163
+ /**
164
+ * Options to control the scroll into view behavior.
165
+ * Takes the same options as the `scrollIntoView` function
166
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
167
+ */
168
+ scrollOptions: {
169
+ type: [Boolean, Object],
170
+ default: null
171
+ },
172
+ /**
173
+ * Indicates whether this popover is a single tutorial or a tour.
174
+ */
175
+ single: {
176
+ type: Boolean,
177
+ default: !1
178
+ },
179
+ /**
180
+ * The tutorial step number.
181
+ * In tour tutorials, `0` is the introductory step, and is displayed next
182
+ * to the title.
183
+ */
184
+ step: {
185
+ type: Number,
186
+ default: null
187
+ },
188
+ /**
189
+ * Tutorial popover's target element.
190
+ * The popover will position itself relatively to target element.
191
+ */
192
+ targetElement: {
193
+ type: [Element, Object],
194
+ required: !0
195
+ },
196
+ /**
197
+ * The tutorial step title.
198
+ */
199
+ title: {
200
+ type: String,
201
+ required: !0
202
+ },
203
+ /**
204
+ * Total count of steps.
205
+ * In tour tutorials, this does not include the introductory step, and is
206
+ * displayed next to the title.
207
+ */
208
+ totalSteps: {
209
+ type: Number,
210
+ default: null
211
+ }
212
+ },
213
+ emits: ["next", "finish", "restart"],
214
+ setup(t, { emit: r }) {
215
+ const e = t, u = { behavior: "smooth" }, { t: i } = ot({ messages: L }), d = l(() => ({
216
+ title: i("skipTour"),
217
+ event: () => r("finish")
218
+ })), f = l(() => ({
219
+ title: i("startTour"),
220
+ event: () => r("next")
221
+ })), a = l(() => ({
222
+ title: i("next"),
223
+ event: () => r("next")
224
+ })), n = l(() => ({
225
+ title: i("finish"),
226
+ event: () => r("finish")
227
+ })), g = l(() => ({
228
+ title: i("ok"),
229
+ event: () => r("finish")
230
+ })), C = B(!1), h = B(!1), _ = l(() => {
231
+ var s;
232
+ return Z(e.targetElement) ? ((s = e.targetElement.value) == null ? void 0 : s.$el) || e.targetElement.value : e.targetElement.$el || e.targetElement;
233
+ }), T = l(() => e.step === 0), w = l(() => e.step === e.totalSteps), j = l(() => !T.value), K = l(() => [
234
+ {
235
+ text: i("restartTour"),
236
+ handler: () => r("restart"),
237
+ icon: at
238
+ },
239
+ ...w.value ? [] : [
240
+ {
241
+ text: "Skip tour",
242
+ handler: () => r("finish"),
243
+ icon: ht
244
+ }
245
+ ]
246
+ ]), M = l(() => {
247
+ let s;
248
+ T.value ? s = e.single ? g.value : f.value : w.value ? s = n.value : s = a.value;
249
+ const m = [s];
250
+ return T.value && !e.single ? m.push(d.value) : e.action && m.push(e.action), m;
251
+ });
252
+ return I(
253
+ () => e.active,
254
+ async (s) => {
255
+ var m, $;
256
+ s && ((m = _.value) != null && m.scrollIntoView) && (($ = _.value) == null || $.scrollIntoView(
257
+ e.scrollOptions != null ? e.scrollOptions : u
258
+ ), await z()), C.value = s, h.value = s;
259
+ },
260
+ { immediate: !0 }
261
+ ), (s, m) => t.active && o(_) ? (c(), b("div", Ot, [
262
+ h.value && o(_) ? (c(), y(o(rt), {
263
+ key: 0,
264
+ "target-element": o(_)
265
+ }, null, 8, ["target-element"])) : O("", !0),
266
+ S(o(tt), {
267
+ "target-element": o(_),
268
+ position: t.position,
269
+ open: C.value,
270
+ "aria-label": t.title,
271
+ "fixed-positioning": "",
272
+ class: "b-tutorial-popover",
273
+ onKeydown: m[0] || (m[0] = H(($) => r("finish"), ["esc", "native"]))
274
+ }, U({
275
+ default: v(() => [
276
+ yt,
277
+ p("div", bt, [
278
+ S(o(x), {
279
+ variant: "title",
280
+ el: "span"
281
+ }, {
282
+ default: v(() => [
283
+ R(E(t.title), 1)
284
+ ]),
285
+ _: 1
286
+ }),
287
+ o(j) ? (c(), y(o(x), {
288
+ key: 0,
289
+ el: "span",
290
+ class: "b-tutorial-popover__steps"
291
+ }, {
292
+ default: v(() => [
293
+ R(E(o(i)("stepsOfTotal", { step: t.step, totalSteps: t.totalSteps })), 1)
294
+ ]),
295
+ _: 1
296
+ })) : O("", !0)
297
+ ]),
298
+ S(o(x), null, {
299
+ default: v(() => [
300
+ W(s.$slots, "default", {}, void 0, !0)
301
+ ]),
302
+ _: 3
303
+ }),
304
+ p("div", Ct, [
305
+ o(T) ? O("", !0) : (c(), y(o(Y), {
306
+ key: 0,
307
+ data: o(K),
308
+ class: "b-tutorial-popover__menu",
309
+ "data-testid": "menu-button"
310
+ }, null, 8, ["data"])),
311
+ p("div", Tt, [
312
+ S(o(st), {
313
+ actions: o(M),
314
+ layout: "buttons-end"
315
+ }, null, 8, ["actions"])
316
+ ])
317
+ ])
318
+ ]),
319
+ _: 2
320
+ }, [
321
+ t.image ? {
322
+ name: "image",
323
+ fn: v(() => [
324
+ S(o(et), N(t.image, {
325
+ "aspect-ratio": "landscape",
326
+ class: "b-tutorial-popover__image"
327
+ }), null, 16)
328
+ ]),
329
+ key: "0"
330
+ } : void 0
331
+ ]), 1032, ["target-element", "position", "open", "aria-label"])
332
+ ])) : O("", !0);
333
+ }
334
+ }), $t = /* @__PURE__ */ F(Et, [["__scopeId", "data-v-9513f48c"]]), xt = { class: "b-tutorial" }, It = {}, jt = /* @__PURE__ */ k({
335
+ ...It,
336
+ __name: "tutorial",
337
+ props: {
338
+ /**
339
+ * The current step index. If provided, will start the tutorial in that step.
340
+ */
341
+ index: {
342
+ type: Number,
343
+ default: null
344
+ },
345
+ /**
346
+ * The steps configuration for the tutorial.
347
+ *
348
+ */
349
+ steps: {
350
+ type: Array,
351
+ required: !0,
352
+ validator: (t) => t.length > 0
353
+ },
354
+ /**
355
+ * Options to control the scroll into view behavior.
356
+ * Takes the same options as the `scrollIntoView` function
357
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
358
+ */
359
+ scrollOptions: {
360
+ type: [Boolean, Object],
361
+ default: null
362
+ }
363
+ },
364
+ emits: ["update:index"],
365
+ setup(t, { emit: r }) {
366
+ const e = t, u = B(e.index || 0), i = l(() => e.steps.length - 1), d = l(() => i.value === 0);
367
+ function f(a, n) {
368
+ return {
369
+ // Visual
370
+ targetElement: a.target,
371
+ image: a.image,
372
+ title: a.title,
373
+ step: n,
374
+ totalSteps: i.value,
375
+ action: a.action,
376
+ scrollOptions: e.scrollOptions,
377
+ // Config
378
+ active: n === u.value,
379
+ single: d.value,
380
+ position: a.position
381
+ };
382
+ }
383
+ return I(u, (a) => {
384
+ r("update:index", a);
385
+ }), I(
386
+ () => e.index,
387
+ (a) => {
388
+ a >= -1 && a <= i.value && (u.value = a);
389
+ }
390
+ ), (a, n) => (c(), b("div", xt, [
391
+ (c(!0), b(J, null, Q(t.steps, (g, C) => (c(), y(o($t), N(f(g, C), {
392
+ key: g.title,
393
+ onFinish: n[0] || (n[0] = (h) => u.value = -1),
394
+ onNext: n[1] || (n[1] = (h) => u.value += 1),
395
+ onRestart: n[2] || (n[2] = (h) => u.value = 0)
396
+ }), {
397
+ default: v(() => [
398
+ R(E(g.description), 1)
399
+ ]),
400
+ _: 2
401
+ }, 1040))), 128))
402
+ ]));
403
+ }
404
+ });
405
+ export {
406
+ jt as _
407
+ };
408
+ //# sourceMappingURL=tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js","sources":["../../../vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/blocked.vue","../../../vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue","../../../vue2/src/components/tutorial/tutorial.vue"],"sourcesContent":["<template>\n <popper-container\n :target-element=\"targetElement\"\n :middleware=\"middleware\"\n position=\"top-start\"\n fixed-positioning\n disabled-focus-trap\n class=\"b-tutorial-indicator\"\n data-testid=\"tutorial-indicator\"\n >\n <div class=\"b-tutorial-indicator__highlight\" :style=\"computedStyles\"></div>\n </popper-container>\n</template>\n\n<script setup lang=\"ts\">\n import { ref } from 'vue';\n import { hide, type Middleware, offset } from '@floating-ui/vue';\n import { PopperContainer } from '@/components/popper-container';\n\n const BORDER_OFFSET = 2;\n\n defineProps({\n /**\n * Tutorial indicator's target element.\n * The indicator will position itself around the target element.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n });\n\n const computedStyles = ref({\n width: '0',\n height: '0',\n borderRadius: '0',\n });\n\n function getBorderRadius(element: HTMLElement) {\n try {\n const radius = parseFloat(getComputedStyle(element).getPropertyValue('border-radius'));\n return Number.isNaN(radius) ? '' : `${radius + 2 * BORDER_OFFSET}px`;\n } catch {\n return '';\n }\n }\n\n const middleware = [\n hide(),\n offset({\n mainAxis: BORDER_OFFSET,\n alignmentAxis: -BORDER_OFFSET,\n }),\n {\n name: 'updateIndicatorSize',\n fn: ({ x, y, elements }) => {\n const target = elements.reference as HTMLElement;\n computedStyles.value.width = `${target.offsetWidth + 4 * BORDER_OFFSET}px`;\n computedStyles.value.height = `${target.offsetHeight + 4 * BORDER_OFFSET}px`;\n computedStyles.value.borderRadius = getBorderRadius(target);\n return { x, y };\n },\n } as Middleware,\n ];\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-indicator.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-icons-16-blocked__a' + uuid + ')'\"><path fill=\"#00112C\" d=\"M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z\"/></g><defs><clipPath :id=\"'uia-icons-16-blocked__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","<template>\n <div v-if=\"active && targetElement\">\n <tutorial-indicator v-if=\"isIndicatorVisible && targetElement\" :target-element=\"targetElement\" />\n\n <bento-popover\n :target-element=\"targetElement\"\n :position=\"position\"\n :open=\"isPopoverOpen\"\n :aria-label=\"title\"\n fixed-positioning\n class=\"b-tutorial-popover\"\n @keydown.esc.native=\"emit('finish')\"\n >\n <template v-if=\"image\" #image>\n <bento-image v-bind=\"image\" aspect-ratio=\"landscape\" class=\"b-tutorial-popover__image\" />\n </template>\n\n <div aria-hidden=\"true\" class=\"b-tutorial-popover__ripple\"></div>\n\n <div class=\"b-tutorial-popover__header\">\n <bento-typography variant=\"title\" el=\"span\"> {{ title }} </bento-typography>\n\n <bento-typography v-if=\"showSteps\" el=\"span\" class=\"b-tutorial-popover__steps\">\n {{ t('stepsOfTotal', { step, totalSteps }) }}\n </bento-typography>\n </div>\n\n <bento-typography>\n <slot />\n </bento-typography>\n\n <div class=\"b-tutorial-popover__footer\">\n <bento-menu\n v-if=\"!isFirstStep\"\n :data=\"menuData\"\n class=\"b-tutorial-popover__menu\"\n data-testid=\"menu-button\"\n />\n <div class=\"b-tutorial-popover__actions\">\n <bento-button-actions :actions=\"computedActions\" layout=\"buttons-end\" />\n </div>\n </div>\n </bento-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, isRef, nextTick, PropType, ref, type default as Vue, watch } from 'vue';\n import { BentoMenu } from '@/components/menu';\n import { BentoPopover, BentoPopoverPositions } from '@/components/popover';\n import { BentoTypography } from '@/components/typography';\n import { type BentoButtonActionObject, BentoButtonActions } from '@/components/button';\n import { BentoImage } from '@/components/image';\n import { TutorialIndicator } from './components/tutorial-indicator';\n import { useI18n } from '@/utils/ts/i18n';\n import type { BentoMenuItem } from '@/components/menu/components';\n import type { VueNodeElement } from '@/types';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from '../../tutorial.types';\n import RefreshIcon from '@adyen/ui-assets-icons-16/vue/refresh';\n import BlockedIcon from '@adyen/ui-assets-icons-16/vue/blocked';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_SCROLL_OPTIONS: BentoTutorialScrollOptions = { behavior: 'smooth' };\n\n const props = defineProps({\n /**\n * Optional configuration for the secondary action.\n * In tour tutorials, this is ignored for the introductory step.\n */\n action: {\n type: Object as PropType<BentoButtonActionObject>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is the active step (and should be visible).\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Optional illustration to display at the top of the popover.\n */\n image: {\n type: Object as PropType<BentoTutorialStep['image']>,\n default: null,\n },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<`${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is a single tutorial or a tour.\n */\n single: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The tutorial step number.\n * In tour tutorials, `0` is the introductory step, and is displayed next\n * to the title.\n */\n step: {\n type: Number,\n default: null,\n },\n\n /**\n * Tutorial popover's target element.\n * The popover will position itself relatively to target element.\n */\n targetElement: {\n type: [Element, Object] as PropType<VueNodeElement>,\n required: true,\n },\n\n /**\n * The tutorial step title.\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Total count of steps.\n * In tour tutorials, this does not include the introductory step, and is\n * displayed next to the title.\n */\n totalSteps: {\n type: Number,\n default: null,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const emit = defineEmits<{\n /**\n * Emitted when the user clicks the primary action in popovers during introductory or intermediate steps of tour tutorials\n */\n (e: 'next'): void;\n\n /**\n * Emitted when the user clicks the primary action in a single tutorial, the last step of a tour, or skips the tutorial\n */\n (e: 'finish'): void;\n\n /**\n * Emitted when the user selects the restart tour option\n */\n (e: 'restart'): void;\n }>();\n\n const ACTION_SKIP = computed<BentoButtonActionObject>(() => ({\n title: t('skipTour') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_START = computed<BentoButtonActionObject>(() => ({\n title: t('startTour') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_NEXT = computed<BentoButtonActionObject>(() => ({\n title: t('next') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_FINISH = computed<BentoButtonActionObject>(() => ({\n title: t('finish') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_OK = computed<BentoButtonActionObject>(() => ({\n title: t('ok') as string,\n event: () => emit('finish'),\n }));\n\n const isPopoverOpen = ref(false);\n const isIndicatorVisible = ref(false);\n\n const targetElement = computed(() => {\n if (isRef(props.targetElement)) {\n return ((props.targetElement.value as Vue)?.$el || props.targetElement.value) as HTMLElement;\n }\n return ((props.targetElement as Vue).$el || props.targetElement) as HTMLElement;\n });\n\n const isFirstStep = computed(() => props.step === 0);\n const isLastStep = computed(() => props.step === props.totalSteps);\n\n const showSteps = computed(() => !isFirstStep.value);\n\n const menuData = computed<BentoMenuItem[]>(() => [\n {\n text: t('restartTour'),\n handler: () => emit('restart'),\n icon: RefreshIcon,\n },\n ...(isLastStep.value\n ? []\n : [\n {\n text: 'Skip tour',\n handler: () => emit('finish'),\n icon: BlockedIcon,\n },\n ]),\n ]);\n\n const computedActions = computed(() => {\n let primaryAction: BentoButtonActionObject;\n if (isFirstStep.value) {\n primaryAction = props.single ? ACTION_OK.value : ACTION_START.value;\n } else if (isLastStep.value) {\n primaryAction = ACTION_FINISH.value;\n } else {\n primaryAction = ACTION_NEXT.value;\n }\n\n const actions = [primaryAction];\n if (isFirstStep.value && !props.single) {\n actions.push(ACTION_SKIP.value);\n } else if (props.action) {\n actions.push(props.action);\n }\n\n return actions;\n });\n\n watch(\n () => props.active,\n async isActive => {\n if (isActive && targetElement.value?.scrollIntoView) {\n targetElement.value?.scrollIntoView(\n props.scrollOptions != null ? props.scrollOptions : DEFAULT_SCROLL_OPTIONS\n );\n\n // Skip to next tick to preserve popover appear animation\n await nextTick();\n }\n\n isPopoverOpen.value = isActive;\n isIndicatorVisible.value = isActive;\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-popover.scss\" />\n","<template>\n <div class=\"b-tutorial\">\n <tutorial-popover\n v-for=\"(step, i) in steps\"\n v-bind=\"getPopoverProps(step, i)\"\n :key=\"step.title\"\n @finish=\"currentStep = -1\"\n @next=\"currentStep += 1\"\n @restart=\"currentStep = 0\"\n >\n {{ step.description }}\n </tutorial-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, watch } from 'vue';\n import { TutorialPopover } from './components/tutorial-popover';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';\n\n const props = defineProps({\n /**\n * The current step index. If provided, will start the tutorial in that step.\n */\n index: {\n type: Number,\n default: null,\n },\n\n /**\n * The steps configuration for the tutorial.\n *\n */\n steps: {\n type: Array as PropType<BentoTutorialStep[]>,\n required: true,\n validator: (value: BentoTutorialStep[]) => value.length > 0,\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Fired every time the step index is changed. `-1` value means the tutorial is finished/skipped.\n */\n (e: 'update:index', value: number);\n }>();\n\n const currentStep = ref(props.index || 0);\n\n const totalSteps = computed(() => props.steps.length - 1);\n const isSingleTutorial = computed(() => totalSteps.value === 0);\n\n function getPopoverProps(step: BentoTutorialStep, index: number) {\n return {\n // Visual\n targetElement: step.target,\n image: step.image,\n title: step.title,\n step: index,\n totalSteps: totalSteps.value,\n action: step.action,\n scrollOptions: props.scrollOptions,\n\n // Config\n active: index === currentStep.value,\n single: isSingleTutorial.value,\n position: step.position,\n };\n }\n\n watch(currentStep, step => {\n emit('update:index', step);\n });\n\n watch(\n () => props.index,\n value => {\n if (value >= -1 && value <= totalSteps.value) {\n currentStep.value = value;\n }\n }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The Tutorial is a temporary popover that should be used to educate users about\n * new or unfamiliar features or experiences.\n *\n * You can use single tutorial or chain them into a tour.\n *\n * Only use this component for new features/experiences that are not obvious and\n * self-explanatory on their own.\n *\n * @example\n * import { BentoTutorial } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTutorial },\n * template: `\n * <bento-tutorial\n * :steps=\"[\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * image: { src: imageSource, alt: 'Alt text' }\n * },\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * action: { title: 'Action label', event: () => {} }\n * },\n * ]\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n"],"names":["computedStyles","ref","getBorderRadius","element","radius","middleware","hide","offset","x","y","elements","target","uuid","openBlock","createElementBlock","mergeProps","_ctx","_hoisted_1$2","toDisplayString","__default__$1","messages","DEFAULT_SCROLL_OPTIONS","t","useI18n","ACTION_SKIP","computed","emit","ACTION_START","ACTION_NEXT","ACTION_FINISH","ACTION_OK","isPopoverOpen","isIndicatorVisible","targetElement","isRef","props","_a","isFirstStep","isLastStep","showSteps","menuData","RefreshIcon","BlockedIcon","computedActions","primaryAction","actions","watch","isActive","_b","nextTick","__default__","currentStep","totalSteps","isSingleTutorial","getPopoverProps","step","index","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAgCI,UAAAA,IAAAC,EAAA;AAAA,MAA2B,OAAA;AAAA,MAChB,QAAA;AAAA,MACC,cAAA;AAAA,IACM,CAAA;AAGlB,aAAAC,EAAAC,GAAA;AACI,UAAA;AACI,cAAAC,IAAA,WAAA,iBAAAD,CAAA,EAAA,iBAAA,eAAA,CAAA;AACA,eAAA,OAAA,MAAAC,CAAA,IAAA,KAAA,GAAAA,IAAA,IAAA,CAAA;AAAA,MAAgE,QAAA;AAEhE,eAAA;AAAA,MAAO;AAAA,IACX;AAGJ,UAAAC,IAAA;AAAA,MAAmBC,GAAA;AAAA,MACVC,GAAA;AAAA,QACE,UAAA;AAAA,QACO,eAAA;AAAA,MACM,CAAA;AAAA,MACnB;AAAA,QACD,MAAA;AAAA,QACU,IAAA,CAAA,EAAA,GAAAC,GAAA,GAAAC,GAAA,UAAAC,EAAA,MAAA;AAEF,gBAAAC,IAAAD,EAAA;AACA,iBAAAV,EAAA,MAAA,QAAA,GAAAW,EAAA,cAAA,IAAA,CAAA,MACAX,EAAA,MAAA,SAAA,GAAAW,EAAA,eAAA,IAAA,CAAA,MACAX,EAAA,MAAA,eAAAE,EAAAS,CAA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_google_ignoreList":[1]}
@@ -0,0 +1,73 @@
1
+ import { defineComponent as T, computed as p, openBlock as c, createBlock as d, resolveDynamicComponent as I, normalizeClass as u, unref as v, withCtx as O, renderSlot as D } from "vue";
2
+ import { _ as b } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
+ import "../assets/typography.css";
4
+ var t = /* @__PURE__ */ ((a) => (a.CAPTION = "caption", a.BODY = "body", a.SUBTITLE = "subtitle", a.TITLE = "title", a))(t || {}), r = /* @__PURE__ */ ((a) => (a.WIDE = "wide", a.STRONGER = "stronger", a.STRONGER_WIDE = "stronger-wide", a.STRONGEST = "strongest", a.STRONGEST_WIDE = "strongest-wide", a.MEDIUM = "m", a.LARGE = "l", a.MOBILE = "mobile", a))(r || {}), l = /* @__PURE__ */ ((a) => (a.H1 = "h1", a.H2 = "h2", a.H3 = "h3", a.H4 = "h4", a.H5 = "h5", a.H6 = "h6", a.DIV = "div", a.PARAGRAPH = "p", a.SPAN = "span", a))(l || {});
5
+ const m = ["development", "DEVELOPMENT", "dev", "DEV"], S = () => m.includes(process.env.NODE_ENV);
6
+ function n(...a) {
7
+ S() && console.warn(...a);
8
+ }
9
+ const o = ["color: red", "background: yellow"].join(";"), i = /* @__PURE__ */ new Set();
10
+ function $(a, e, s) {
11
+ i.has(a) || (n(`%cDEPRECATED:\x1B[0m ${a}`, o), n(`${e.replaceAll(" ", "").trim()}`), n(`To be removed in: %c${s}`, o), i.add(a));
12
+ }
13
+ const N = {
14
+ name: "bento-typography",
15
+ inheritAttrs: !0
16
+ }, R = /* @__PURE__ */ T({
17
+ ...N,
18
+ props: {
19
+ el: { default: l.PARAGRAPH },
20
+ large: { type: Boolean, default: !1 },
21
+ medium: { type: Boolean, default: !1 },
22
+ stronger: { type: Boolean, default: !1 },
23
+ strongest: { type: Boolean, default: !1 },
24
+ variant: { default: t.BODY },
25
+ wide: { type: Boolean, default: !1 }
26
+ },
27
+ setup(a) {
28
+ const e = a;
29
+ e.variant === t.SUBTITLE && $(
30
+ 'BentoTypography "subtitle" variant (BentoTypographyVariant.SUBTITLE)',
31
+ `Use the "title" or "BentoTypographyVariant.TITLE" variant and (optionally) combine it with a size property. e.g. medium / large.
32
+ <bento-typography :variant="BentoTypographyVariant.TITLE" medium>`,
33
+ "2.0.0"
34
+ );
35
+ const s = p(() => ({
36
+ // Caption
37
+ [`b-typography--${t.CAPTION}`]: e.variant === t.CAPTION,
38
+ [`b-typography--${t.CAPTION}-${r.WIDE}`]: e.variant === t.CAPTION && e.wide,
39
+ [`b-typography--${t.CAPTION}-${r.STRONGER}`]: e.variant === t.CAPTION && e.stronger,
40
+ // Body
41
+ [`b-typography--${t.BODY}`]: e.variant === t.BODY,
42
+ [`b-typography--${t.BODY}-${r.WIDE}`]: e.variant === t.BODY && e.wide,
43
+ [`b-typography--${t.BODY}-${r.STRONGER}`]: e.variant === t.BODY && e.stronger,
44
+ [`b-typography--${t.BODY}-${r.STRONGEST}`]: e.variant === t.BODY && e.strongest,
45
+ // Subtitle
46
+ [`b-typography--${t.SUBTITLE}`]: e.variant === t.SUBTITLE,
47
+ [`b-typography--${t.SUBTITLE}-${r.STRONGER}`]: e.variant === t.SUBTITLE && e.stronger,
48
+ // Title
49
+ [`b-typography--${t.TITLE}`]: e.variant === t.TITLE && !e.medium && !e.large,
50
+ [`b-typography--${t.TITLE}-${r.MEDIUM}`]: e.variant === t.TITLE && e.medium,
51
+ [`b-typography--${t.TITLE}-${r.LARGE}`]: e.variant === t.TITLE && e.large
52
+ }));
53
+ return (E, g) => (c(), d(I(a.el), {
54
+ class: u(["b-typography", v(s)]),
55
+ "data-testid": "typography"
56
+ }, {
57
+ default: O(() => [
58
+ D(E.$slots, "default", {}, void 0, !0)
59
+ ]),
60
+ _: 3
61
+ }, 8, ["class"]));
62
+ }
63
+ }), f = /* @__PURE__ */ b(R, [["__scopeId", "data-v-3cabb1e2"]]);
64
+ export {
65
+ f as B,
66
+ t as a,
67
+ r as b,
68
+ l as c,
69
+ $ as d,
70
+ S as i,
71
+ n as p
72
+ };
73
+ //# sourceMappingURL=typography.D7onlQ9v.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.D7onlQ9v.js","sources":["../../../core/src/components/typography/typography.types.ts","../../../vue2/src/utils/ts/dev-environment.ts","../../../vue2/src/utils/ts/print-development-warning.ts","../../../vue2/src/utils/ts/deprecate.ts","../../../vue2/src/components/typography/typography.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyVariant {\n CAPTION = 'caption',\n BODY = 'body',\n /** @deprecated Use \"TITLE\" instead. */\n SUBTITLE = 'subtitle',\n TITLE = 'title',\n}\n\nexport enum BentoTypographyModifier {\n WIDE = 'wide',\n STRONGER = 'stronger',\n STRONGER_WIDE = 'stronger-wide',\n STRONGEST = 'strongest',\n STRONGEST_WIDE = 'strongest-wide',\n MEDIUM = 'm',\n LARGE = 'l',\n MOBILE = 'mobile',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyElement {\n H1 = 'h1',\n H2 = 'h2',\n H3 = 'h3',\n H4 = 'h4',\n H5 = 'h5',\n H6 = 'h6',\n DIV = 'div',\n PARAGRAPH = 'p',\n SPAN = 'span',\n}\n","const DEV_ENVIROMENT_NAMES = ['development', 'DEVELOPMENT', 'dev', 'DEV'];\n\nexport const isDevelopmentEnviroment = () => DEV_ENVIROMENT_NAMES.includes(process.env.NODE_ENV);\n","import { isDevelopmentEnviroment } from '@/utils/ts/dev-environment';\n\n/**\n * Prints console.warn messages in development mode only.\n *\n * @see console.warn for what parameters you can use\n */\n\nexport function printDevelopmentWarning(...args: Parameters<typeof console.warn>) {\n if (isDevelopmentEnviroment()) {\n // eslint-disable-next-line no-console\n console.warn(...args);\n }\n}\n","import { printDevelopmentWarning } from './print-development-warning';\n\nconst DEPRECATION_STYLES = ['color: red', 'background: yellow'].join(';');\nconst shownMessages = new Set<string>();\n\n/**\n * Informs users about the deprecations in development mode only.\n *\n * @param title Indicates what is being deprecated.\n * @param deprecationMessage How to avoid the deprecation by giving an example of the alternatives. Backticks can be used to multi-line the message.\n * @param toBeRemovedInVersion The version it will be removed. Must be in X.Y.Z format.\n */\nexport function deprecate(title: string, deprecationMessage: string, toBeRemovedInVersion: string) {\n // If the message is already showing, don't show it again\n if (!shownMessages.has(title)) {\n printDevelopmentWarning(`%cDEPRECATED:\\x1b[0m ${title}`, DEPRECATION_STYLES);\n // Format multi-line descriptions with the backtick\n printDevelopmentWarning(`${deprecationMessage.replaceAll(' ', '').trim()}`);\n printDevelopmentWarning(`To be removed in: %c${toBeRemovedInVersion}`, DEPRECATION_STYLES);\n shownMessages.add(title);\n }\n}\n\n/**\n * Reset shownMessages set\n *\n * @deprecated For testing purposes only. Do not use.\n */\nexport function resetShownMessages() {\n shownMessages.clear();\n}\n","<template>\n <component :is=\"el\" class=\"b-typography\" :class=\"conditionalClasses\" data-testid=\"typography\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed } from 'vue';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n BentoTypographyVariant,\n } from '@/core/components/typography/typography.types';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = withDefaults(\n defineProps<{\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el?: BentoTypographyElement | `${BentoTypographyElement}`;\n\n /**\n * Adds the large class modifier.\n * Applicable to the Title variant.\n */\n large?: boolean;\n\n /**\n * Adds the medium class modifier.\n * Applicable to the Title variant.\n */\n medium?: boolean;\n\n /**\n * Adds the stronger class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n stronger?: boolean;\n\n /**\n * Adds the strongest class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n strongest?: boolean;\n\n /**\n * Sets the type of typography variant.\n * @values caption, body, title.\n */\n variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;\n\n /**\n * Adds the medium class modifier.\n * Applicable to tje Body variant.\n */\n wide?: boolean;\n }>(),\n {\n el: BentoTypographyElement.PARAGRAPH,\n large: false,\n medium: false,\n stronger: false,\n strongest: false,\n variant: BentoTypographyVariant.BODY,\n wide: false,\n }\n );\n\n if (props.variant === BentoTypographyVariant.SUBTITLE) {\n deprecate(\n 'BentoTypography \"subtitle\" variant (BentoTypographyVariant.SUBTITLE)',\n `Use the \"title\" or \"BentoTypographyVariant.TITLE\" variant and (optionally) combine it with a size property. e.g. medium / large.\n <bento-typography :variant=\"BentoTypographyVariant.TITLE\" medium>`,\n '2.0.0'\n );\n }\n\n const conditionalClasses = computed(() => ({\n // Caption\n [`b-typography--${BentoTypographyVariant.CAPTION}`]: props.variant === BentoTypographyVariant.CAPTION,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.wide,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.stronger,\n\n // Body\n [`b-typography--${BentoTypographyVariant.BODY}`]: props.variant === BentoTypographyVariant.BODY,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.BODY && props.wide,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.BODY && props.stronger,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGEST}`]:\n props.variant === BentoTypographyVariant.BODY && props.strongest,\n\n // Subtitle\n [`b-typography--${BentoTypographyVariant.SUBTITLE}`]: props.variant === BentoTypographyVariant.SUBTITLE,\n [`b-typography--${BentoTypographyVariant.SUBTITLE}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.SUBTITLE && props.stronger,\n\n // Title\n [`b-typography--${BentoTypographyVariant.TITLE}`]:\n props.variant === BentoTypographyVariant.TITLE && !props.medium && !props.large,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.MEDIUM}`]:\n props.variant === BentoTypographyVariant.TITLE && props.medium,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.LARGE}`]:\n props.variant === BentoTypographyVariant.TITLE && props.large,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles\n * easily to text. The variants and properties match with those found in Figma.\n *\n * For example, seeing text with the typography styling of\n *\n * @example\n * import { BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTypography },\n * template: `\n * <bento-typography>\n * ... text content\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-typography',\n inheritAttrs: true,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/typography/typography.scss\" />\n<style lang=\"scss\">\n // Reset preset browser margin on all elements but allow for it to be overriden\n .b-typography {\n margin: 0;\n }\n</style>\n"],"names":["BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprecationMessage","toBeRemovedInVersion","__default__","props","conditionalClasses","computed"],"mappings":";;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,OAAA,QAEAA,EAAA,WAAA,YACAA,EAAA,QAAA,SALQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,OAAA,QACAA,EAAA,WAAA,YACAA,EAAA,gBAAA,iBACAA,EAAA,YAAA,aACAA,EAAA,iBAAA,kBACAA,EAAA,SAAA,KACAA,EAAA,QAAA,KACAA,EAAA,SAAA,UARQA,IAAAD,KAAA,CAAA,CAAA,GAcAE,IAAA,kBAAAC,OACRA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EA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YAAAjB,EAAA;AAAA,MAG6B,CAAA,iBAAAA,EAAA,IAAA,IAAAE,EAAA,IAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,QAAAiB,EAAA;AAAA,MAEhC,CAAA,iBAAAjB,EAAA,IAAA,IAAAE,EAAA,QAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,QAAAiB,EAAA;AAAA,MAEA,CAAA,iBAAAjB,EAAA,IAAA,IAAAE,EAAA,SAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,QAAAiB,EAAA;AAAA;AAAA,MAEA,CAAA,iBAAAjB,EAAA,QAAA,EAAA,GAAAiB,EAAA,YAAAjB,EAAA;AAAA,MAGoC,CAAA,iBAAAA,EAAA,QAAA,IAAAE,EAAA,QAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,YAAAiB,EAAA;AAAA;AAAA,MAEhC,CAAA,iBAAAjB,EAAA,KAAA,EAAA,GAAAiB,EAAA,YAAAjB,EAAA,SAAA,CAAAiB,EAAA,UAAA,CAAAA,EAAA;AAAA,MAIe,CAAA,iBAAAjB,EAAA,KAAA,IAAAE,EAAA,MAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,SAAAiB,EAAA;AAAA,MAElB,CAAA,iBAAAjB,EAAA,KAAA,IAAAE,EAAA,KAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,SAAAiB,EAAA;AAAA,IAEA,EAAA;;;;;;;;;;;;"}
@@ -1,34 +1,28 @@
1
1
  let o;
2
- const p = new Uint8Array(16);
3
- function y() {
2
+ const i = new Uint8Array(16);
3
+ function p() {
4
4
  if (!o && (o = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !o))
5
5
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
6
- return o(p);
6
+ return o(i);
7
7
  }
8
8
  const d = [];
9
9
  for (let n = 0; n < 256; ++n)
10
10
  d.push((n + 256).toString(16).slice(1));
11
- function g(n, t = 0) {
11
+ function y(n, t = 0) {
12
12
  return (d[n[t + 0]] + d[n[t + 1]] + d[n[t + 2]] + d[n[t + 3]] + "-" + d[n[t + 4]] + d[n[t + 5]] + "-" + d[n[t + 6]] + d[n[t + 7]] + "-" + d[n[t + 8]] + d[n[t + 9]] + "-" + d[n[t + 10]] + d[n[t + 11]] + d[n[t + 12]] + d[n[t + 13]] + d[n[t + 14]] + d[n[t + 15]]).toLowerCase();
13
13
  }
14
- const m = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), i = {
15
- randomUUID: m
14
+ const g = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), u = {
15
+ randomUUID: g
16
16
  };
17
- function r(n, t, u) {
18
- if (i.randomUUID && !t && !n)
19
- return i.randomUUID();
17
+ function c(n, t, m) {
18
+ if (u.randomUUID && !t && !n)
19
+ return u.randomUUID();
20
20
  n = n || {};
21
- const e = n.random || (n.rng || y)();
22
- if (e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, t) {
23
- u = u || 0;
24
- for (let c = 0; c < 16; ++c)
25
- t[u + c] = e[c];
26
- return t;
27
- }
28
- return g(e);
21
+ const e = n.random || (n.rng || p)();
22
+ return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, y(e);
29
23
  }
30
- const U = (n) => n ? `${n}-${r()}` : r();
24
+ const r = (n) => n ? `${n}-${c()}` : c();
31
25
  export {
32
- U as g
26
+ r as g
33
27
  };
34
- //# sourceMappingURL=unique-id.a2a2b458.js.map
28
+ //# sourceMappingURL=unique-id.XFfoKuc2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unique-id.a2a2b458.js","sources":["../../../../node_modules/uuid/dist/esm-browser/rng.js","../../../../node_modules/uuid/dist/esm-browser/stringify.js","../../../../node_modules/uuid/dist/esm-browser/native.js","../../../../node_modules/uuid/dist/esm-browser/v4.js","../../../vue2/src/utils/ts/unique-id.ts"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import { v4 } from 'uuid';\n\n/**\n * Returns a unique identifier optionally prefixed by a custom string\n * @param value - The string to be prepended to the unique identifier\n */\nexport const generateUid = (value: string): string => (value ? `${value}-${v4()}` : v4());\n"],"names":["getRandomValues","rnds8","rng","byteToHex","i","unsafeStringify","arr","offset","randomUUID","native","v4","options","buf","rnds","generateUid","value"],"mappings":"AAGA,IAAIA;AACJ,MAAMC,IAAQ,IAAI,WAAW,EAAE;AAChB,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAE3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;ACXA,MAAME,IAAY,CAAA;AAElB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAG3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAG/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IA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IAAc,CAACC,MAA2BA,IAAQ,GAAGA,KAASL,QAASA,EAAG;","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"unique-id.XFfoKuc2.js","sources":["../../../../node_modules/uuid/dist/esm-browser/rng.js","../../../../node_modules/uuid/dist/esm-browser/stringify.js","../../../../node_modules/uuid/dist/esm-browser/native.js","../../../../node_modules/uuid/dist/esm-browser/v4.js","../../../vue2/src/utils/ts/unique-id.ts"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import { v4 } from 'uuid';\n\n/**\n * Returns a unique identifier optionally prefixed by a custom string\n * @param value - The string to be prepended to the unique identifier\n */\nexport const generateUid = (value: string): string => (value ? `${value}-${v4()}` : v4());\n"],"names":["getRandomValues","rnds8","rng","byteToHex","i","unsafeStringify","arr","offset","randomUUID","native","v4","options","buf","rnds","generateUid","value"],"mappings":"AAGA,IAAIA;AACJ,MAAMC,IAAQ,IAAI,WAAW,EAAE;AAChB,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAE3G,CAACA;AACH,UAAM,IAAI,MAA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