@adyen/bento-vue3 1.44.0 → 1.46.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 (845) hide show
  1. package/dist/@types/index.d.ts +17557 -0
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-button.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/dropdown-default-textbox.css +1 -1
  14. package/dist/assets/dropdown.css +1 -1
  15. package/dist/assets/file-uploader.css +1 -1
  16. package/dist/assets/focus-trap.css +1 -1
  17. package/dist/assets/header.css +1 -1
  18. package/dist/assets/info-icon-with-popover.css +1 -0
  19. package/dist/assets/input-field.css +1 -1
  20. package/dist/assets/inspector.css +1 -1
  21. package/dist/assets/layout-row.css +1 -1
  22. package/dist/assets/link.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/popover.css +1 -1
  26. package/dist/assets/popper-container.css +1 -1
  27. package/dist/assets/radio-input.css +1 -1
  28. package/dist/assets/sidepanel.css +1 -1
  29. package/dist/assets/step.css +1 -1
  30. package/dist/assets/tabs.css +1 -1
  31. package/dist/assets/use-cached-selected-values.css +1 -1
  32. package/dist/button.js +3 -3
  33. package/dist/card.js +1 -1
  34. package/dist/checkbox.js +2 -2
  35. package/dist/chunks/{action-bar.B-_JS43H.js → action-bar.DHa6nS5J.js} +6 -6
  36. package/dist/chunks/{action-bar.B-_JS43H.js.map → action-bar.DHa6nS5J.js.map} +1 -1
  37. package/dist/chunks/{alert.B9V6kUmo.js → alert.BffQNg4e.js} +2 -2
  38. package/dist/chunks/{alert.B9V6kUmo.js.map → alert.BffQNg4e.js.map} +1 -1
  39. package/dist/chunks/{base-button.N4QTXNIp.js → base-button.DgHMejMF.js} +20 -20
  40. package/dist/chunks/base-button.DgHMejMF.js.map +1 -0
  41. package/dist/chunks/{base-modal.BR_pB6eH.js → base-modal.BP7bUB84.js} +5 -5
  42. package/dist/chunks/{base-modal.BR_pB6eH.js.map → base-modal.BP7bUB84.js.map} +1 -1
  43. package/dist/chunks/{button-actions-with-menu.GT_kNv28.js → button-actions-with-menu.DzQQlXXK.js} +4 -4
  44. package/dist/chunks/{button-actions-with-menu.GT_kNv28.js.map → button-actions-with-menu.DzQQlXXK.js.map} +1 -1
  45. package/dist/chunks/{button-actions.BjlQS6tm.js → button-actions.C8CJcXxS.js} +3 -3
  46. package/dist/chunks/{button-actions.BjlQS6tm.js.map → button-actions.C8CJcXxS.js.map} +1 -1
  47. package/dist/chunks/{button.pwNCxwPu.js → button.DSnv5X7y.js} +3 -3
  48. package/dist/chunks/button.DSnv5X7y.js.map +1 -0
  49. package/dist/chunks/{calendar.S9HFQA8j.js → calendar.DlvMzTO4.js} +2 -2
  50. package/dist/chunks/{calendar.S9HFQA8j.js.map → calendar.DlvMzTO4.js.map} +1 -1
  51. package/dist/chunks/{card.BrEfcUoE.js → card.9fQrkeSH.js} +2 -2
  52. package/dist/chunks/{card.BrEfcUoE.js.map → card.9fQrkeSH.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.C5IweVVx.js → checkbox-group.Dq57AigF.js} +4 -4
  54. package/dist/chunks/{checkbox-group.C5IweVVx.js.map → checkbox-group.Dq57AigF.js.map} +1 -1
  55. package/dist/chunks/{checkbox.B72ok3Yu.js → checkbox.BphbrpUx.js} +17 -17
  56. package/dist/chunks/checkbox.BphbrpUx.js.map +1 -0
  57. package/dist/chunks/code-snippet.BXMQTve4.js +422 -0
  58. package/dist/chunks/code-snippet.BXMQTve4.js.map +1 -0
  59. package/dist/chunks/{codemirror.BlV6WO5w.js → codemirror.OjJ-3ixa.js} +4645 -4333
  60. package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
  61. package/dist/chunks/{controls-group.Dg_YRS1e.js → controls-group.J99mAGhx.js} +2 -2
  62. package/dist/chunks/{controls-group.Dg_YRS1e.js.map → controls-group.J99mAGhx.js.map} +1 -1
  63. package/dist/chunks/{copy.CnzLQyvJ.js → copy.CT8wuwho.js} +3 -3
  64. package/dist/chunks/{copy.CnzLQyvJ.js.map → copy.CT8wuwho.js.map} +1 -1
  65. package/dist/chunks/{country.DEQhE7oa.js → country.CcTaTBE0.js} +2 -2
  66. package/dist/chunks/{country.DEQhE7oa.js.map → country.CcTaTBE0.js.map} +1 -1
  67. package/dist/chunks/{country.types.Br0AjxGy.js → country.types.pilf5B3F.js} +483 -480
  68. package/dist/chunks/{country.types.Br0AjxGy.js.map → country.types.pilf5B3F.js.map} +1 -1
  69. package/dist/chunks/{dashboard-section.LWxBcOV_.js → dashboard-section.C90L1bhS.js} +4 -4
  70. package/dist/chunks/{dashboard-section.LWxBcOV_.js.map → dashboard-section.C90L1bhS.js.map} +1 -1
  71. package/dist/chunks/{dashed-underline.CRlWNPrd.js → dashed-underline.BewlZNvL.js} +3 -3
  72. package/dist/chunks/{dashed-underline.CRlWNPrd.js.map → dashed-underline.BewlZNvL.js.map} +1 -1
  73. package/dist/chunks/{data-grid-template.BZVeRN6g.js → data-grid-template.DeAeq2Ij.js} +3 -3
  74. package/dist/chunks/{data-grid-template.BZVeRN6g.js.map → data-grid-template.DeAeq2Ij.js.map} +1 -1
  75. package/dist/chunks/{data-grid.CKDW-rbM.js → data-grid.DSPcFy6O.js} +22 -19
  76. package/dist/chunks/{data-grid.CKDW-rbM.js.map → data-grid.DSPcFy6O.js.map} +1 -1
  77. package/dist/chunks/{date-picker.BrZ2X1nQ.js → date-picker.wNOf4DoV.js} +5 -5
  78. package/dist/chunks/{date-picker.BrZ2X1nQ.js.map → date-picker.wNOf4DoV.js.map} +1 -1
  79. package/dist/chunks/{date-range-picker.4y2goCI8.js → date-range-picker.C4l0Xe9R.js} +9 -9
  80. package/dist/chunks/{date-range-picker.4y2goCI8.js.map → date-range-picker.C4l0Xe9R.js.map} +1 -1
  81. package/dist/chunks/{dialog-page.CnDOg98_.js → dialog-page.DNwtSB1o.js} +12 -12
  82. package/dist/chunks/dialog-page.DNwtSB1o.js.map +1 -0
  83. package/dist/chunks/{dropdown-default-textbox.ZjVeMHVC.js → dropdown-default-textbox.3HzBUxC3.js} +138 -126
  84. package/dist/chunks/dropdown-default-textbox.3HzBUxC3.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.ClKm4xAo.js → dropdown-tag.BRNZ7KIi.js} +5 -5
  86. package/dist/chunks/{dropdown-tag.ClKm4xAo.js.map → dropdown-tag.BRNZ7KIi.js.map} +1 -1
  87. package/dist/chunks/{dropdown.Sj2OLuEF.js → dropdown.DhvCTlVl.js} +236 -229
  88. package/dist/chunks/dropdown.DhvCTlVl.js.map +1 -0
  89. package/dist/chunks/{empty-state.CpXSj1aU.js → empty-state.DYfl7gnt.js} +2 -2
  90. package/dist/chunks/{empty-state.CpXSj1aU.js.map → empty-state.DYfl7gnt.js.map} +1 -1
  91. package/dist/chunks/{error-message.BYXS0kUN.js → error-message.C6QpZ9ux.js} +2 -2
  92. package/dist/chunks/{error-message.BYXS0kUN.js.map → error-message.C6QpZ9ux.js.map} +1 -1
  93. package/dist/chunks/{es6.C-HLzYPA.js → es6.D11bE5vq.js} +7 -7
  94. package/dist/chunks/{es6.C-HLzYPA.js.map → es6.D11bE5vq.js.map} +1 -1
  95. package/dist/chunks/file-uploader.DiqPKVVt.js +2226 -0
  96. package/dist/chunks/file-uploader.DiqPKVVt.js.map +1 -0
  97. package/dist/chunks/{filter-bar.CM1FZ02d.js → filter-bar.ChU2rr8r.js} +19 -19
  98. package/dist/chunks/{filter-bar.CM1FZ02d.js.map → filter-bar.ChU2rr8r.js.map} +1 -1
  99. package/dist/chunks/{fixed-scroller.DM2JOokC.js → fixed-scroller.C4zzWgje.js} +2 -2
  100. package/dist/chunks/{fixed-scroller.DM2JOokC.js.map → fixed-scroller.C4zzWgje.js.map} +1 -1
  101. package/dist/chunks/focus-trap.DOiVbmpZ.js +496 -0
  102. package/dist/chunks/focus-trap.DOiVbmpZ.js.map +1 -0
  103. package/dist/chunks/{footer-actions.Dvsb0g5Y.js → footer-actions.Cl2aupkj.js} +3 -3
  104. package/dist/chunks/{footer-actions.Dvsb0g5Y.js.map → footer-actions.Cl2aupkj.js.map} +1 -1
  105. package/dist/chunks/{form-layout-title.BqNDCnLk.js → form-layout-title.Du4aY15F.js} +2 -2
  106. package/dist/chunks/{form-layout-title.BqNDCnLk.js.map → form-layout-title.Du4aY15F.js.map} +1 -1
  107. package/dist/chunks/header.CUyEq2ER.js +256 -0
  108. package/dist/chunks/header.CUyEq2ER.js.map +1 -0
  109. package/dist/chunks/{index.lHdwuJAx.js → index.BHiMheJx.js} +2 -1
  110. package/dist/chunks/{index.lHdwuJAx.js.map → index.BHiMheJx.js.map} +1 -1
  111. package/dist/chunks/info-icon-with-popover._ZiXaIcp.js +97 -0
  112. package/dist/chunks/info-icon-with-popover._ZiXaIcp.js.map +1 -0
  113. package/dist/chunks/{info-icon.CUC0fwLb.js → info-icon.B6QPdxPi.js} +2 -2
  114. package/dist/chunks/{info-icon.CUC0fwLb.js.map → info-icon.B6QPdxPi.js.map} +1 -1
  115. package/dist/chunks/{input-field-password.CXsERnQX.js → input-field-password.LVaJy8_K.js} +6 -6
  116. package/dist/chunks/{input-field-password.CXsERnQX.js.map → input-field-password.LVaJy8_K.js.map} +1 -1
  117. package/dist/chunks/{input-field.C-7_iMIS.js → input-field.BVewQng_.js} +124 -115
  118. package/dist/chunks/input-field.BVewQng_.js.map +1 -0
  119. package/dist/chunks/{inspector.types.DcdY_5cC.js → inspector.types.DKL2_Mku.js} +3 -3
  120. package/dist/chunks/{inspector.types.DcdY_5cC.js.map → inspector.types.DKL2_Mku.js.map} +1 -1
  121. package/dist/chunks/{layout-row.DcyZ3DP3.js → layout-row.CwYDJeG_.js} +18 -19
  122. package/dist/chunks/layout-row.CwYDJeG_.js.map +1 -0
  123. package/dist/chunks/link.DHXLGTkn.js +107 -0
  124. package/dist/chunks/link.DHXLGTkn.js.map +1 -0
  125. package/dist/chunks/{listbox-option-tag.DU_NVK_z.js → listbox-option-tag.DsI3DdjJ.js} +2 -2
  126. package/dist/chunks/{listbox-option-tag.DU_NVK_z.js.map → listbox-option-tag.DsI3DdjJ.js.map} +1 -1
  127. package/dist/chunks/{menu.hDynz4lc.js → menu.C5Y5nSvX.js} +4 -4
  128. package/dist/chunks/{menu.hDynz4lc.js.map → menu.C5Y5nSvX.js.map} +1 -1
  129. package/dist/chunks/{modal-fullscreen.BCGaxVNb.js → modal-fullscreen.Bw0CzdjS.js} +5 -5
  130. package/dist/chunks/{modal-fullscreen.BCGaxVNb.js.map → modal-fullscreen.Bw0CzdjS.js.map} +1 -1
  131. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js} +5 -5
  132. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js.map → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js.map} +1 -1
  133. package/dist/chunks/{pagination.C9kqX5tD.js → pagination.OzqU46-J.js} +3 -3
  134. package/dist/chunks/{pagination.C9kqX5tD.js.map → pagination.OzqU46-J.js.map} +1 -1
  135. package/dist/chunks/{popover.DwGgnCyn.js → popover.BFZU1OKv.js} +4 -4
  136. package/dist/chunks/{popover.DwGgnCyn.js.map → popover.BFZU1OKv.js.map} +1 -1
  137. package/dist/chunks/{popper-container.Cyf6zCPq.js → popper-container.CQblHdJf.js} +4 -4
  138. package/dist/chunks/popper-container.CQblHdJf.js.map +1 -0
  139. package/dist/chunks/{promo-banner.CzR9ri5v.js → promo-banner.DB6C9Tgr.js} +3 -3
  140. package/dist/chunks/{promo-banner.CzR9ri5v.js.map → promo-banner.DB6C9Tgr.js.map} +1 -1
  141. package/dist/chunks/{radio-group.DIyCKfOQ.js → radio-group.DVPnBI92.js} +5 -5
  142. package/dist/chunks/{radio-group.DIyCKfOQ.js.map → radio-group.DVPnBI92.js.map} +1 -1
  143. package/dist/chunks/{radio-input.DtvlM-mr.js → radio-input.ButaAWTD.js} +2 -2
  144. package/dist/chunks/radio-input.ButaAWTD.js.map +1 -0
  145. package/dist/chunks/{search-bar.DPC0amNg.js → search-bar.CPOGuVqp.js} +3 -3
  146. package/dist/chunks/{search-bar.DPC0amNg.js.map → search-bar.CPOGuVqp.js.map} +1 -1
  147. package/dist/chunks/{secondary-nav.DH7aXddE.js → secondary-nav.B1zTf8Ls.js} +9 -9
  148. package/dist/chunks/{secondary-nav.DH7aXddE.js.map → secondary-nav.B1zTf8Ls.js.map} +1 -1
  149. package/dist/chunks/{segmented-control.B5H5Wiyz.js → segmented-control.DV9mJM7g.js} +2 -2
  150. package/dist/chunks/{segmented-control.B5H5Wiyz.js.map → segmented-control.DV9mJM7g.js.map} +1 -1
  151. package/dist/chunks/{selection-card-group.DDBJ423n.js → selection-card-group.z0SNFpjN.js} +13 -13
  152. package/dist/chunks/{selection-card-group.DDBJ423n.js.map → selection-card-group.z0SNFpjN.js.map} +1 -1
  153. package/dist/chunks/{sidepanel.8NclWh0V.js → sidepanel.B-YKxXQA.js} +5 -5
  154. package/dist/chunks/{sidepanel.8NclWh0V.js.map → sidepanel.B-YKxXQA.js.map} +1 -1
  155. package/dist/chunks/{step.Db0UJ8mx.js → step.CGHc2hFZ.js} +2 -2
  156. package/dist/chunks/{step.Db0UJ8mx.js.map → step.CGHc2hFZ.js.map} +1 -1
  157. package/dist/chunks/{structured-list-item.C_6ju-IY.js → structured-list-item.DNP6fkCb.js} +5 -5
  158. package/dist/chunks/{structured-list-item.C_6ju-IY.js.map → structured-list-item.DNP6fkCb.js.map} +1 -1
  159. package/dist/chunks/{summary-grid-item-custom.FxBnzHzb.js → summary-grid-item-custom.Dm2rULoZ.js} +4 -4
  160. package/dist/chunks/{summary-grid-item-custom.FxBnzHzb.js.map → summary-grid-item-custom.Dm2rULoZ.js.map} +1 -1
  161. package/dist/chunks/{tabs.B3DGxpmI.js → tabs.BXuDJsCU.js} +3 -3
  162. package/dist/chunks/{tabs.B3DGxpmI.js.map → tabs.BXuDJsCU.js.map} +1 -1
  163. package/dist/chunks/{tag.xvqrfTwk.js → tag.bo9YuJ9f.js} +2 -2
  164. package/dist/chunks/{tag.xvqrfTwk.js.map → tag.bo9YuJ9f.js.map} +1 -1
  165. package/dist/chunks/{textarea.D1weaQCC.js → textarea.FlyFaC5n.js} +3 -3
  166. package/dist/chunks/{textarea.D1weaQCC.js.map → textarea.FlyFaC5n.js.map} +1 -1
  167. package/dist/chunks/{timeline-item.BDYrjKhM.js → timeline-item.DYgnYAx0.js} +7 -7
  168. package/dist/chunks/timeline-item.DYgnYAx0.js.map +1 -0
  169. package/dist/chunks/{toast.D8AYOorS.js → toast.Cp-osZLV.js} +2 -2
  170. package/dist/chunks/{toast.D8AYOorS.js.map → toast.Cp-osZLV.js.map} +1 -1
  171. package/dist/chunks/{toggle-button.Bf77_tMh.js → toggle-button.BABftVnA.js} +2 -2
  172. package/dist/chunks/{toggle-button.Bf77_tMh.js.map → toggle-button.BABftVnA.js.map} +1 -1
  173. package/dist/chunks/{tooltip.BvJoy09y.js → tooltip.Ch4_ew27.js} +2 -2
  174. package/dist/chunks/{tooltip.BvJoy09y.js.map → tooltip.Ch4_ew27.js.map} +1 -1
  175. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js} +5 -5
  176. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js.map → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js.map} +1 -1
  177. package/dist/chunks/{use-cached-selected-values.B6beyyvX.js → use-cached-selected-values.CvdhdRHz.js} +37 -37
  178. package/dist/chunks/use-cached-selected-values.CvdhdRHz.js.map +1 -0
  179. package/dist/chunks/{use-country-items.CTyhUEHS.js → use-country-items.D4T1eUtC.js} +2 -2
  180. package/dist/chunks/{use-country-items.CTyhUEHS.js.map → use-country-items.D4T1eUtC.js.map} +1 -1
  181. package/dist/code-snippet.js +1 -1
  182. package/dist/country.js +2 -2
  183. package/dist/dashboard-template.js +1 -1
  184. package/dist/dashed-underline.js +1 -1
  185. package/dist/data-grid-template.js +1 -1
  186. package/dist/data-grid.js +1 -1
  187. package/dist/date-picker.js +2 -2
  188. package/dist/date-range-picker.js +2 -2
  189. package/dist/dropdown.js +4 -4
  190. package/dist/empty-state.js +1 -1
  191. package/dist/file-uploader.js +1 -1
  192. package/dist/filter-bar.js +1 -1
  193. package/dist/focus-trap.js +1 -1
  194. package/dist/form-layout.js +1 -1
  195. package/dist/header.js +1 -1
  196. package/dist/index.js +57 -57
  197. package/dist/info-icon.js +1 -1
  198. package/dist/input-field-password.js +1 -1
  199. package/dist/input-field.js +1 -1
  200. package/dist/inspector.js +1 -1
  201. package/dist/internal.js +27 -25
  202. package/dist/internal.js.map +1 -1
  203. package/dist/layout.js +1 -1
  204. package/dist/link.js +1 -1
  205. package/dist/menu.js +1 -1
  206. package/dist/modal-fullscreen.js +1 -1
  207. package/dist/modal.js +2 -2
  208. package/dist/pagination.js +1 -1
  209. package/dist/popover.js +1 -1
  210. package/dist/popper-container.js +1 -1
  211. package/dist/promo-banner.js +1 -1
  212. package/dist/radio-group.js +2 -2
  213. package/dist/search-bar.js +2 -2
  214. package/dist/secondary-nav.js +1 -1
  215. package/dist/segmented-control.js +1 -1
  216. package/dist/selection-card.js +1 -1
  217. package/dist/sidepanel.js +1 -1
  218. package/dist/stepper.js +1 -1
  219. package/dist/structured-list.js +1 -1
  220. package/dist/styles/bento-dark.css +1 -0
  221. package/dist/styles/bento-light.css +1 -0
  222. package/dist/styles/bento.css +1 -0
  223. package/dist/styles/legacy.css +6 -5
  224. package/dist/styles/styleguide.css +1 -0
  225. package/dist/summary-grid.js +1 -1
  226. package/dist/tabs.js +1 -1
  227. package/dist/tag.js +1 -1
  228. package/dist/textarea.js +1 -1
  229. package/dist/timeline.js +1 -1
  230. package/dist/toast.js +1 -1
  231. package/dist/tutorial.js +1 -1
  232. package/dist/web-types.json +1 -1
  233. package/package.json +29 -22
  234. package/dist/@types/packages/core/src/components/button/button.types.d.ts +0 -25
  235. package/dist/@types/packages/core/src/components/button-actions/button-actions.types.d.ts +0 -32
  236. package/dist/@types/packages/core/src/components/checkbox/checkbox.types.d.ts +0 -9
  237. package/dist/@types/packages/core/src/components/checkbox-group/checkbox-group.types.d.ts +0 -20
  238. package/dist/@types/packages/core/src/components/internal/checkbox-input/checkbox-input.types.d.ts +0 -20
  239. package/dist/@types/packages/core/src/components/link/link.types.d.ts +0 -38
  240. package/dist/@types/packages/core/src/components/loading-button/loading-button.types.d.ts +0 -9
  241. package/dist/@types/packages/core/src/components/loading-indicator/loading-indicator.types.d.ts +0 -4
  242. package/dist/@types/packages/core/src/components/popper-container/popper-container.types.d.ts +0 -49
  243. package/dist/@types/packages/core/src/components/radio-input/radio-input.types.d.ts +0 -6
  244. package/dist/@types/packages/core/src/components/tag/tag.types.d.ts +0 -25
  245. package/dist/@types/packages/core/src/components/tooltip/tooltip.types.d.ts +0 -11
  246. package/dist/@types/packages/core/src/components/typography/typography.types.d.ts +0 -34
  247. package/dist/@types/packages/core/src/types/index.d.ts +0 -1
  248. package/dist/@types/packages/core/src/types/omit-strict.d.ts +0 -1
  249. package/dist/@types/packages/core/src/utils/ts/generate-uid.d.ts +0 -5
  250. package/dist/@types/packages/core/src/utils/ts/index.d.ts +0 -1
  251. package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +0 -12
  252. package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +0 -1
  253. package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +0 -2
  254. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +0 -56
  255. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +0 -68
  256. package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +0 -2
  257. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.types.d.ts +0 -1
  258. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +0 -156
  259. package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +0 -2
  260. package/dist/@types/packages/vue2/src/components/alert/alert.types.d.ts +0 -22
  261. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -88
  262. package/dist/@types/packages/vue2/src/components/alert/index.d.ts +0 -2
  263. package/dist/@types/packages/vue2/src/components/avatar/avatar.vue.d.ts +0 -70
  264. package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.types.d.ts +0 -10
  265. package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.vue.d.ts +0 -87
  266. package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/index.d.ts +0 -2
  267. package/dist/@types/packages/vue2/src/components/avatar/index.d.ts +0 -1
  268. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +0 -178
  269. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +0 -5
  270. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +0 -156
  271. package/dist/@types/packages/vue2/src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.d.ts +0 -10
  272. package/dist/@types/packages/vue2/src/components/button/components/button-actions/index.d.ts +0 -2
  273. package/dist/@types/packages/vue2/src/components/button/components/loading-button/index.d.ts +0 -2
  274. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +0 -130
  275. package/dist/@types/packages/vue2/src/components/button/components/toggle-button/index.d.ts +0 -1
  276. package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +0 -116
  277. package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle.types.d.ts +0 -1
  278. package/dist/@types/packages/vue2/src/components/button/index.d.ts +0 -5
  279. package/dist/@types/packages/vue2/src/components/card/card.types.d.ts +0 -14
  280. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +0 -192
  281. package/dist/@types/packages/vue2/src/components/card/index.d.ts +0 -2
  282. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +0 -536
  283. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +0 -873
  284. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/index.d.ts +0 -2
  285. package/dist/@types/packages/vue2/src/components/checkbox/index.d.ts +0 -3
  286. package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +0 -23
  287. package/dist/@types/packages/vue2/src/components/click-outside/index.d.ts +0 -1
  288. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +0 -22
  289. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +0 -2349
  290. package/dist/@types/packages/vue2/src/components/code-snippet/highlight.d.ts +0 -2
  291. package/dist/@types/packages/vue2/src/components/code-snippet/index.d.ts +0 -2
  292. package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +0 -14
  293. package/dist/@types/packages/vue2/src/components/code-snippet/utils/indent-same-as-line-before-extension.d.ts +0 -12
  294. package/dist/@types/packages/vue2/src/components/code-snippet/utils/index.d.ts +0 -2
  295. package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +0 -3
  296. package/dist/@types/packages/vue2/src/components/country/composables/use-country-capital/use-country-capital.d.ts +0 -8
  297. package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +0 -7
  298. package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +0 -9
  299. package/dist/@types/packages/vue2/src/components/country/country.types.d.ts +0 -264
  300. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -235
  301. package/dist/@types/packages/vue2/src/components/country/index.d.ts +0 -3
  302. package/dist/@types/packages/vue2/src/components/currency/currency.types.d.ts +0 -188
  303. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -48
  304. package/dist/@types/packages/vue2/src/components/currency/index.d.ts +0 -2
  305. package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +0 -91
  306. package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +0 -1
  307. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +0 -1
  308. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +0 -49
  309. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +0 -289
  310. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +0 -22
  311. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +0 -90
  312. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -33
  313. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +0 -364
  314. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -277
  315. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +0 -7
  316. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -1385
  317. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +0 -33
  318. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-row/data-grid-row.vue.d.ts +0 -41
  319. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +0 -2
  320. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +0 -1
  321. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +0 -65
  322. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +0 -7
  323. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +0 -11
  324. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +0 -2
  325. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +0 -179
  326. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +0 -16
  327. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +0 -9
  328. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/index.d.ts +0 -2
  329. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +0 -125
  330. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +0 -12
  331. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +0 -154
  332. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +0 -81
  333. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config.settings.types.d.ts +0 -7
  334. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +0 -17
  335. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.types.d.ts +0 -10
  336. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +0 -18
  337. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +0 -139
  338. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +0 -25
  339. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector/use-selector.d.ts +0 -20
  340. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +0 -14
  341. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +0 -93
  342. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +0 -642
  343. package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +0 -3
  344. package/dist/@types/packages/vue2/src/components/date/date.types.d.ts +0 -18
  345. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +0 -234
  346. package/dist/@types/packages/vue2/src/components/date/index.d.ts +0 -2
  347. package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +0 -7
  348. package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +0 -10
  349. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +0 -5
  350. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -1946
  351. package/dist/@types/packages/vue2/src/components/date-picker/index.d.ts +0 -2
  352. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +0 -25
  353. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2998
  354. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/index.d.ts +0 -1
  355. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +0 -3
  356. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +0 -12
  357. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-granularity-memory.d.ts +0 -7
  358. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-granularity-memory.types.d.ts +0 -22
  359. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +0 -5
  360. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -4172
  361. package/dist/@types/packages/vue2/src/components/date-range-picker/index.d.ts +0 -2
  362. package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +0 -1
  363. package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +0 -13
  364. package/dist/@types/packages/vue2/src/components/divider/index.d.ts +0 -1
  365. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +0 -97
  366. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +0 -301
  367. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -282
  368. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +0 -46
  369. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +0 -329
  370. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/index.d.ts +0 -1
  371. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +0 -221
  372. package/dist/@types/packages/vue2/src/components/dropdown/components/index.d.ts +0 -3
  373. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +0 -5
  374. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +0 -37
  375. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +0 -2
  376. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/use-country-items.d.ts +0 -13
  377. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +0 -8
  378. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -37
  379. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +0 -2
  380. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +0 -6
  381. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +0 -37
  382. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +0 -2
  383. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +0 -5
  384. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +0 -37
  385. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +0 -2
  386. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +0 -6
  387. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +0 -35
  388. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +0 -2
  389. package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +0 -2
  390. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +0 -12
  391. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +0 -8
  392. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +0 -54
  393. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +0 -15
  394. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +0 -15
  395. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +0 -932
  396. package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +0 -7
  397. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +0 -28
  398. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +0 -149
  399. package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +0 -2
  400. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/file-uploader-file-card-animation/file-uploader-file-card-animation.vue.d.ts +0 -24
  401. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/index.d.ts +0 -1
  402. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/composables/use-truncated-file-name.d.ts +0 -10
  403. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.types.d.ts +0 -11
  404. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.vue.d.ts +0 -63
  405. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/index.d.ts +0 -1
  406. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon/get-file-icon.d.ts +0 -8
  407. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon-color/get-file-icon-color.d.ts +0 -8
  408. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/index.d.ts +0 -2
  409. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.types.d.ts +0 -39
  410. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.vue.d.ts +0 -68
  411. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/index.d.ts +0 -1
  412. package/dist/@types/packages/vue2/src/components/file-uploader/composables/index.d.ts +0 -1
  413. package/dist/@types/packages/vue2/src/components/file-uploader/composables/use-file-type-list/use-file-type-list.d.ts +0 -11
  414. package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +0 -103
  415. package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.vue.d.ts +0 -85
  416. package/dist/@types/packages/vue2/src/components/file-uploader/index.d.ts +0 -2
  417. package/dist/@types/packages/vue2/src/components/file-uploader/utils/format-file-size/format-file-size.d.ts +0 -9
  418. package/dist/@types/packages/vue2/src/components/file-uploader/utils/get-file-type/get-file-type.d.ts +0 -8
  419. package/dist/@types/packages/vue2/src/components/file-uploader/utils/index.d.ts +0 -3
  420. package/dist/@types/packages/vue2/src/components/file-uploader/utils/read-file/read-file.d.ts +0 -14
  421. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.types.d.ts +0 -3
  422. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +0 -19369
  423. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +0 -505
  424. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.types.d.ts +0 -7
  425. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +0 -757
  426. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +0 -8
  427. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/index.d.ts +0 -2
  428. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +0 -482
  429. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +0 -1079
  430. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/index.d.ts +0 -1
  431. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +0 -3495
  432. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/index.d.ts +0 -1
  433. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +0 -7959
  434. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/index.d.ts +0 -1
  435. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +0 -112
  436. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +0 -1
  437. package/dist/@types/packages/vue2/src/components/filter-bar/components/index.d.ts +0 -13
  438. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/index.d.ts +0 -1
  439. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.keys.d.ts +0 -4
  440. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +0 -1207
  441. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/index.d.ts +0 -1
  442. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.d.ts +0 -1
  443. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.vue.d.ts +0 -108
  444. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +0 -1
  445. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -1190
  446. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +0 -2
  447. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +0 -163
  448. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +0 -165
  449. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/index.d.ts +0 -1
  450. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +0 -66
  451. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +0 -98
  452. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +0 -1
  453. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +0 -288
  454. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +0 -1
  455. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -113
  456. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +0 -1
  457. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +0 -464
  458. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +0 -1
  459. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +0 -448
  460. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +0 -1
  461. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -489
  462. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +0 -190
  463. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -16581
  464. package/dist/@types/packages/vue2/src/components/filter-bar/index.d.ts +0 -2
  465. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.types.d.ts +0 -27
  466. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +0 -96
  467. package/dist/@types/packages/vue2/src/components/focus-trap/index.d.ts +0 -1
  468. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +0 -56
  469. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.d.ts +0 -3
  470. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/index.d.ts +0 -1
  471. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.d.ts +0 -2
  472. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +0 -91
  473. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/index.d.ts +0 -1
  474. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +0 -73
  475. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/index.d.ts +0 -1
  476. package/dist/@types/packages/vue2/src/components/form-layout/components/index.d.ts +0 -3
  477. package/dist/@types/packages/vue2/src/components/form-layout/form-layout.types.d.ts +0 -1
  478. package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +0 -82
  479. package/dist/@types/packages/vue2/src/components/form-layout/index.d.ts +0 -2
  480. package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/index.d.ts +0 -1
  481. package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/info-icon-with-popover.vue.d.ts +0 -59
  482. package/dist/@types/packages/vue2/src/components/header/header.types.d.ts +0 -13
  483. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -531
  484. package/dist/@types/packages/vue2/src/components/header/index.d.ts +0 -1
  485. package/dist/@types/packages/vue2/src/components/image/const.d.ts +0 -1
  486. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +0 -45
  487. package/dist/@types/packages/vue2/src/components/image/index.d.ts +0 -2
  488. package/dist/@types/packages/vue2/src/components/info-icon/index.d.ts +0 -1
  489. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +0 -61
  490. package/dist/@types/packages/vue2/src/components/input-field/index.d.ts +0 -2
  491. package/dist/@types/packages/vue2/src/components/input-field/input-field.keys.d.ts +0 -2
  492. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +0 -56
  493. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +0 -377
  494. package/dist/@types/packages/vue2/src/components/input-field-password/index.d.ts +0 -3
  495. package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.types.d.ts +0 -77
  496. package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +0 -90
  497. package/dist/@types/packages/vue2/src/components/input-field-password/utilities/input-field-password.validation.d.ts +0 -37
  498. package/dist/@types/packages/vue2/src/components/inspector/index.d.ts +0 -2
  499. package/dist/@types/packages/vue2/src/components/inspector/inspector.d.ts +0 -2
  500. package/dist/@types/packages/vue2/src/components/inspector/inspector.types.d.ts +0 -2
  501. package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +0 -110
  502. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.types.d.ts +0 -15
  503. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +0 -262
  504. package/dist/@types/packages/vue2/src/components/internal/base-button/index.d.ts +0 -2
  505. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.d.ts +0 -1
  506. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +0 -172
  507. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/index.d.ts +0 -2
  508. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +0 -38
  509. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +0 -906
  510. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.types.d.ts +0 -18
  511. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -817
  512. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +0 -299
  513. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.props.d.ts +0 -34
  514. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.types.d.ts +0 -20
  515. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +0 -280
  516. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/index.d.ts +0 -2
  517. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.d.ts +0 -7
  518. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.d.ts +0 -13
  519. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +0 -38
  520. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/index.d.ts +0 -2
  521. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.d.ts +0 -9
  522. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +0 -14
  523. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-range-pane.d.ts +0 -8
  524. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-single-pane.d.ts +0 -2
  525. package/dist/@types/packages/vue2/src/components/internal/calendar/index.d.ts +0 -2
  526. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +0 -181
  527. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +0 -3
  528. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +0 -177
  529. package/dist/@types/packages/vue2/src/components/internal/controls-group/index.d.ts +0 -1
  530. package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +0 -13
  531. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -263
  532. package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +0 -2
  533. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.keys.d.ts +0 -2
  534. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +0 -17
  535. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +0 -101
  536. package/dist/@types/packages/vue2/src/components/internal/dialog-page/index.d.ts +0 -3
  537. package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +0 -18
  538. package/dist/@types/packages/vue2/src/components/internal/error-message/index.d.ts +0 -1
  539. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +0 -100
  540. package/dist/@types/packages/vue2/src/components/internal/field-label/index.d.ts +0 -1
  541. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/index.d.ts +0 -1
  542. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.d.ts +0 -40
  543. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +0 -59
  544. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/index.d.ts +0 -1
  545. package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +0 -114
  546. package/dist/@types/packages/vue2/src/components/internal/footer-actions/index.d.ts +0 -1
  547. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.types.d.ts +0 -11
  548. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +0 -68
  549. package/dist/@types/packages/vue2/src/components/internal/grid-layout/index.d.ts +0 -2
  550. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +0 -12
  551. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/index.d.ts +0 -1
  552. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +0 -76
  553. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/index.d.ts +0 -1
  554. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.d.ts +0 -8
  555. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -773
  556. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/index.d.ts +0 -1
  557. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.types.d.ts +0 -5
  558. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +0 -1483
  559. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/index.d.ts +0 -1
  560. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2229
  561. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/index.d.ts +0 -1
  562. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +0 -62
  563. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/index.d.ts +0 -1
  564. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -224
  565. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +0 -1
  566. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +0 -177
  567. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/index.d.ts +0 -1
  568. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +0 -547
  569. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/index.d.ts +0 -1
  570. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -272
  571. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +0 -33
  572. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +0 -16
  573. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +0 -11
  574. package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +0 -4
  575. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.types.d.ts +0 -0
  576. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +0 -3393
  577. package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +0 -3
  578. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +0 -164
  579. package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +0 -1
  580. package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +0 -52
  581. package/dist/@types/packages/vue2/src/components/internal/tooltip/index.d.ts +0 -1
  582. package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +0 -589
  583. package/dist/@types/packages/vue2/src/components/layout/components/layout-row/layout-row.vue.d.ts +0 -54
  584. package/dist/@types/packages/vue2/src/components/layout/index.d.ts +0 -3
  585. package/dist/@types/packages/vue2/src/components/layout/layout.keys.d.ts +0 -1
  586. package/dist/@types/packages/vue2/src/components/layout/layout.types.d.ts +0 -19
  587. package/dist/@types/packages/vue2/src/components/layout/layout.vue.d.ts +0 -53
  588. package/dist/@types/packages/vue2/src/components/link/index.d.ts +0 -2
  589. package/dist/@types/packages/vue2/src/components/link/link.types.d.ts +0 -3
  590. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +0 -53
  591. package/dist/@types/packages/vue2/src/components/loading-indicator/index.d.ts +0 -2
  592. package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +0 -60
  593. package/dist/@types/packages/vue2/src/components/menu/components/index.d.ts +0 -2
  594. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/index.d.ts +0 -2
  595. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +0 -13
  596. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +0 -520
  597. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/index.d.ts +0 -1
  598. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +0 -1102
  599. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +0 -12
  600. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +0 -541
  601. package/dist/@types/packages/vue2/src/components/menu/index.d.ts +0 -2
  602. package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +0 -1
  603. package/dist/@types/packages/vue2/src/components/menu/menu.types.d.ts +0 -13
  604. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +0 -1792
  605. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.keys.d.ts +0 -1
  606. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +0 -294
  607. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/index.d.ts +0 -1
  608. package/dist/@types/packages/vue2/src/components/modal/components/index.d.ts +0 -3
  609. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +0 -292
  610. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +0 -185
  611. package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +0 -234
  612. package/dist/@types/packages/vue2/src/components/modal/index.d.ts +0 -3
  613. package/dist/@types/packages/vue2/src/components/modal/modal.keys.d.ts +0 -1
  614. package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +0 -61
  615. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +0 -666
  616. package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +0 -145
  617. package/dist/@types/packages/vue2/src/components/modal-fullscreen/index.d.ts +0 -2
  618. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.keys.d.ts +0 -1
  619. package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +0 -135
  620. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -58
  621. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -55
  622. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -47
  623. package/dist/@types/packages/vue2/src/components/pagination/index.d.ts +0 -1
  624. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +0 -151
  625. package/dist/@types/packages/vue2/src/components/payment-method/composables/index.d.ts +0 -1
  626. package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +0 -15
  627. package/dist/@types/packages/vue2/src/components/payment-method/index.d.ts +0 -2
  628. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.types.d.ts +0 -1086
  629. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -230
  630. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -184
  631. package/dist/@types/packages/vue2/src/components/popover/components/popover-image/index.d.ts +0 -1
  632. package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +0 -34
  633. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +0 -198
  634. package/dist/@types/packages/vue2/src/components/popover/index.d.ts +0 -2
  635. package/dist/@types/packages/vue2/src/components/popover/popover.keys.d.ts +0 -1
  636. package/dist/@types/packages/vue2/src/components/popover/popover.types.d.ts +0 -22
  637. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +0 -384
  638. package/dist/@types/packages/vue2/src/components/popper-container/index.d.ts +0 -2
  639. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +0 -25
  640. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +0 -259
  641. package/dist/@types/packages/vue2/src/components/promo-banner/__mock-image.d.ts +0 -1
  642. package/dist/@types/packages/vue2/src/components/promo-banner/index.d.ts +0 -2
  643. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.types.d.ts +0 -83
  644. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +0 -65
  645. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/index.d.ts +0 -2
  646. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.types.d.ts +0 -5
  647. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +0 -174
  648. package/dist/@types/packages/vue2/src/components/radio-group/index.d.ts +0 -3
  649. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +0 -19
  650. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +0 -257
  651. package/dist/@types/packages/vue2/src/components/search-bar/index.d.ts +0 -3
  652. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.types.d.ts +0 -16
  653. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +0 -158
  654. package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +0 -12
  655. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +0 -1
  656. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +0 -33
  657. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +0 -1
  658. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +0 -36
  659. package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +0 -2
  660. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +0 -3
  661. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +0 -14
  662. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +0 -60
  663. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -101
  664. package/dist/@types/packages/vue2/src/components/segmented-control/index.d.ts +0 -2
  665. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +0 -11
  666. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +0 -92
  667. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/index.d.ts +0 -2
  668. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +0 -4
  669. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +0 -288
  670. package/dist/@types/packages/vue2/src/components/selection-card/index.d.ts +0 -3
  671. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.keys.d.ts +0 -1
  672. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +0 -23
  673. package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +0 -186
  674. package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +0 -170
  675. package/dist/@types/packages/vue2/src/components/sidepanel/index.d.ts +0 -3
  676. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +0 -1
  677. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +0 -4
  678. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +0 -131
  679. package/dist/@types/packages/vue2/src/components/status/index.d.ts +0 -2
  680. package/dist/@types/packages/vue2/src/components/status/status.types.d.ts +0 -11
  681. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +0 -39
  682. package/dist/@types/packages/vue2/src/components/stepper/components/step/index.d.ts +0 -1
  683. package/dist/@types/packages/vue2/src/components/stepper/components/step/step.vue.d.ts +0 -69
  684. package/dist/@types/packages/vue2/src/components/stepper/composables/index.d.ts +0 -2
  685. package/dist/@types/packages/vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.d.ts +0 -21
  686. package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +0 -11
  687. package/dist/@types/packages/vue2/src/components/stepper/index.d.ts +0 -3
  688. package/dist/@types/packages/vue2/src/components/stepper/stepper.keys.d.ts +0 -1
  689. package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +0 -25
  690. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +0 -84
  691. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -91
  692. package/dist/@types/packages/vue2/src/components/structured-list/index.d.ts +0 -2
  693. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.keys.d.ts +0 -2
  694. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +0 -2
  695. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +0 -90
  696. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/index.d.ts +0 -2
  697. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +0 -10
  698. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +0 -653
  699. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +0 -785
  700. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +0 -654
  701. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +0 -769
  702. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +0 -769
  703. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +0 -668
  704. package/dist/@types/packages/vue2/src/components/summary-grid/index.d.ts +0 -7
  705. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +0 -1
  706. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +0 -25
  707. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +0 -90
  708. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +0 -10
  709. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +0 -68
  710. package/dist/@types/packages/vue2/src/components/tabs/index.d.ts +0 -2
  711. package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +0 -3
  712. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +0 -13
  713. package/dist/@types/packages/vue2/src/components/tabs/tabs.utils.d.ts +0 -3
  714. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +0 -417
  715. package/dist/@types/packages/vue2/src/components/tag/index.d.ts +0 -2
  716. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +0 -29
  717. package/dist/@types/packages/vue2/src/components/textarea/index.d.ts +0 -1
  718. package/dist/@types/packages/vue2/src/components/textarea/textarea.types.d.ts +0 -23
  719. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +0 -255
  720. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +0 -1115
  721. package/dist/@types/packages/vue2/src/components/timeline/index.d.ts +0 -3
  722. package/dist/@types/packages/vue2/src/components/timeline/timeline.keys.d.ts +0 -2
  723. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +0 -89
  724. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +0 -460
  725. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -14
  726. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.types.d.ts +0 -5
  727. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +0 -7
  728. package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -1
  729. package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +0 -2
  730. package/dist/@types/packages/vue2/src/components/toggle/index.d.ts +0 -2
  731. package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +0 -10
  732. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +0 -286
  733. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +0 -1
  734. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +0 -20
  735. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +0 -1
  736. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +0 -213
  737. package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +0 -2
  738. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +0 -14
  739. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +0 -97
  740. package/dist/@types/packages/vue2/src/components/typography/index.d.ts +0 -2
  741. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +0 -146
  742. package/dist/@types/packages/vue2/src/composables/index.d.ts +0 -10
  743. package/dist/@types/packages/vue2/src/composables/initials.d.ts +0 -10
  744. package/dist/@types/packages/vue2/src/composables/use-bento-theme/index.d.ts +0 -2
  745. package/dist/@types/packages/vue2/src/composables/use-bento-theme/install.d.ts +0 -18
  746. package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.d.ts +0 -20
  747. package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.types.d.ts +0 -6
  748. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/index.d.ts +0 -2
  749. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/install.d.ts +0 -6
  750. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/toast-stack.d.ts +0 -7
  751. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.d.ts +0 -2
  752. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +0 -23
  753. package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +0 -46
  754. package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +0 -1
  755. package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +0 -10
  756. package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +0 -2
  757. package/dist/@types/packages/vue2/src/composables/use-expandable-content-height/use-expandable-content-height.d.ts +0 -36
  758. package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +0 -14
  759. package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +0 -2
  760. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +0 -65
  761. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +0 -15
  762. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +0 -20
  763. package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +0 -2
  764. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +0 -53
  765. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +0 -20
  766. package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +0 -11
  767. package/dist/@types/packages/vue2/src/directives/click-outside/index.d.ts +0 -1
  768. package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +0 -11
  769. package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +0 -19
  770. package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +0 -61
  771. package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/types.d.ts +0 -6
  772. package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +0 -14
  773. package/dist/@types/packages/vue2/src/directives/index.d.ts +0 -3
  774. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/index.d.ts +0 -2
  775. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +0 -7
  776. package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +0 -7
  777. package/dist/@types/packages/vue2/src/directives/tooltip/index.d.ts +0 -2
  778. package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.d.ts +0 -35
  779. package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -4
  780. package/dist/@types/packages/vue2/src/index.d.ts +0 -67
  781. package/dist/@types/packages/vue2/src/install.d.ts +0 -11
  782. package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +0 -78
  783. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +0 -8
  784. package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +0 -103
  785. package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +0 -3
  786. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.keys.d.ts +0 -1
  787. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +0 -14
  788. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +0 -91
  789. package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +0 -2
  790. package/dist/@types/packages/vue2/src/types/date-format.d.ts +0 -18
  791. package/dist/@types/packages/vue2/src/types/elements.d.ts +0 -36
  792. package/dist/@types/packages/vue2/src/types/functions.d.ts +0 -8
  793. package/dist/@types/packages/vue2/src/types/index.d.ts +0 -9
  794. package/dist/@types/packages/vue2/src/types/keyboard-navigation.d.ts +0 -16
  795. package/dist/@types/packages/vue2/src/types/lazy-load.d.ts +0 -1
  796. package/dist/@types/packages/vue2/src/types/listbox.d.ts +0 -52
  797. package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +0 -7
  798. package/dist/@types/packages/vue2/src/types/prop-types.d.ts +0 -1
  799. package/dist/@types/packages/vue2/src/types/refs.d.ts +0 -30
  800. package/dist/@types/packages/vue2/src/types/utils-events.d.ts +0 -35
  801. package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +0 -16
  802. package/dist/@types/packages/vue2/src/utils/ts/currency/countries-list.d.ts +0 -11
  803. package/dist/@types/packages/vue2/src/utils/ts/currency/currency.d.ts +0 -35
  804. package/dist/@types/packages/vue2/src/utils/ts/currency/currency.types.d.ts +0 -24
  805. package/dist/@types/packages/vue2/src/utils/ts/date-input.d.ts +0 -2
  806. package/dist/@types/packages/vue2/src/utils/ts/debounce/debounce.d.ts +0 -10
  807. package/dist/@types/packages/vue2/src/utils/ts/debounce/index.d.ts +0 -1
  808. package/dist/@types/packages/vue2/src/utils/ts/deep-merge/deep-merge.d.ts +0 -1
  809. package/dist/@types/packages/vue2/src/utils/ts/deep-merge/index.d.ts +0 -1
  810. package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +0 -14
  811. package/dist/@types/packages/vue2/src/utils/ts/dev-environment.d.ts +0 -1
  812. package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +0 -22
  813. package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +0 -33
  814. package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +0 -11
  815. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +0 -9
  816. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/index.d.ts +0 -1
  817. package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +0 -52
  818. package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +0 -6
  819. package/dist/@types/packages/vue2/src/utils/ts/resize.d.ts +0 -1
  820. package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +0 -11
  821. package/dist/@types/packages/vue2/src/utils/ts/time-input.d.ts +0 -2
  822. package/dist/@types/packages/vue2/src/utils/ts/truncate.d.ts +0 -7
  823. package/dist/chunks/base-button.N4QTXNIp.js.map +0 -1
  824. package/dist/chunks/button.pwNCxwPu.js.map +0 -1
  825. package/dist/chunks/checkbox.B72ok3Yu.js.map +0 -1
  826. package/dist/chunks/code-snippet.S5NdUu0p.js +0 -392
  827. package/dist/chunks/code-snippet.S5NdUu0p.js.map +0 -1
  828. package/dist/chunks/codemirror.BlV6WO5w.js.map +0 -1
  829. package/dist/chunks/dialog-page.CnDOg98_.js.map +0 -1
  830. package/dist/chunks/dropdown-default-textbox.ZjVeMHVC.js.map +0 -1
  831. package/dist/chunks/dropdown.Sj2OLuEF.js.map +0 -1
  832. package/dist/chunks/file-uploader.BgRbkW2V.js +0 -1077
  833. package/dist/chunks/file-uploader.BgRbkW2V.js.map +0 -1
  834. package/dist/chunks/focus-trap.CwkbHfT8.js +0 -445
  835. package/dist/chunks/focus-trap.CwkbHfT8.js.map +0 -1
  836. package/dist/chunks/header.8BzBNgxj.js +0 -343
  837. package/dist/chunks/header.8BzBNgxj.js.map +0 -1
  838. package/dist/chunks/input-field.C-7_iMIS.js.map +0 -1
  839. package/dist/chunks/layout-row.DcyZ3DP3.js.map +0 -1
  840. package/dist/chunks/link.D7wA0jkY.js +0 -104
  841. package/dist/chunks/link.D7wA0jkY.js.map +0 -1
  842. package/dist/chunks/popper-container.Cyf6zCPq.js.map +0 -1
  843. package/dist/chunks/radio-input.DtvlM-mr.js.map +0 -1
  844. package/dist/chunks/timeline-item.BDYrjKhM.js.map +0 -1
  845. package/dist/chunks/use-cached-selected-values.B6beyyvX.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"sidepanel.8NclWh0V.js","sources":["../../../vue2/src/components/sidepanel/components/sidepanel-page.vue","../../../vue2/src/components/sidepanel/sidepanel.types.ts","../../../vue2/src/components/sidepanel/sidepanel.vue"],"sourcesContent":["<template>\n <dialog-page class=\"b-sidepanel-page\" :page-id=\"pageId\" :previous-page=\"previousPage\">\n <template #header>\n <div class=\"b-sidepanel-page__header\">\n <bento-typography class=\"b-sidepanel-page__title\" el=\"h2\" variant=\"title\">\n {{ title }}\n </bento-typography>\n </div>\n </template>\n <template #content>\n <div class=\"b-sidepanel-page__content\">\n <bento-typography el=\"div\" variant=\"body\">\n <slot />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-sidepanel-page__actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n\n import { BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { FooterActions } from '@/components/internal/footer-actions';\n import { DialogPage } from '@/internal';\n\n defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Identifier of the page, used with activePage prop to handle sidepanel navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title of the sidepanel page\n */\n title: {\n type: String,\n default: null,\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * SidepanelPage is used to render different pages of Sidepanel component\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./sidepanel-page.scss\" />\n","export enum BentoSidepanelEvent {\n UPDATE_ACTIVE_PAGE = 'update:active-page',\n UPDATE_IS_OPEN = 'update:is-open',\n}\n","<template>\n <dialog\n ref=\"sidepanel\"\n class=\"b-sidepanel\"\n :class=\"conditionalClasses\"\n @animationend=\"closeSidepanelAfterAnimation\"\n @keydown.esc.prevent=\"isDismissible && startCloseSidepanelAnimation\"\n >\n <bento-focus-trap :id=\"sidepanelId\" v-bento-click-outside-directive=\"closeSidepanelOnClickOutside\">\n <div v-if=\"!computedHideCloseButton\" class=\"b-sidepanel__close-button\">\n <bento-button variant=\"tertiary\" @click=\"startCloseSidepanelAnimation\">\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n <slot />\n </bento-focus-trap>\n </dialog>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, provide, ref, toRefs, watch } from 'vue';\n\n import { BentoButton } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { BentoSidepanelEvent } from './sidepanel.types';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n import { SIDEPANEL_DIALOG_ID_INJECTION_KEY } from './sidepanel.keys';\n\n import { BentoClickOutsideDirective as vBentoClickOutsideDirective } from '@/directives/click-outside';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n import { generateUid } from '@/core/utils/ts';\n import { deprecate } from '@/utils/ts/deprecate';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * The id of the current active page\n * Should be the same id as the BentoSidepanelPage to be displayed\n * If the component only has one page, it can be left null/undefined.\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * If set to true, it allows the sidepanel to be closed.\n * Shows close button when `true` and hides close button when `false`.\n *\n * _Note: This property will not set the visibility of the close button in v2.0.0_\n */\n isDismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Controls the sidepanel's state from the outside. Set it to true to open the sidepanel.\n */\n isOpen: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Controls the visibility of close button on the sidepanel.\n * Defaults to `true` when `isDismissible=false`, and `true` when `isDimissible=true`.\n *\n * _Note: This property will be set to `false` by default, independent of `isDismissible` in v2.0.0_\n */\n hideCloseButton: {\n type: Boolean,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page: string): void;\n /**\n * Emits close-sidepanel event when the sidepanel is closed\n */\n (e: BentoSidepanelEvent.UPDATE_IS_OPEN, isOpen: boolean): void;\n }>();\n\n // Refs\n const { activePage, isOpen } = toRefs(props);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const sidepanel = ref(null);\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n const isClosing = ref(false);\n const sidepanelId = generateUid('sidepanel');\n const internalIsOpen = ref(false);\n const isAnimationActive = ref(false);\n\n // Animation styling\n const conditionalClasses = computed(() => ({\n 'b-sidepanel--hide': isClosing.value,\n 'b-sidepanel--animation': isAnimationActive.value,\n }));\n\n // Handle closing and closing animation for dialog element\n const closeSidepanelAfterAnimation = () => {\n if (isClosing.value) {\n sidepanel.value.close();\n if (previousPages.value[0]) {\n emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n internalIsOpen.value = false;\n emit(BentoSidepanelEvent.UPDATE_IS_OPEN, false);\n }\n };\n\n const startCloseSidepanelAnimation = () => {\n if (!sidepanel.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n const closeSidepanelOnClickOutside = () => {\n if (props.isDismissible) {\n startCloseSidepanelAnimation();\n }\n };\n\n // TODO: Remove in upcoming major. See properties `hideCloseButton` and `isDismissible`.\n const computedHideCloseButton = computed(() => {\n if (props.hideCloseButton !== null) {\n return props.hideCloseButton;\n }\n\n return !props.isDismissible;\n });\n\n // Watching isOpen prop to toggle open/close the dialog element\n watch(\n () => isOpen.value,\n async () => {\n // Wait for sidepanel ref to be created\n await nextTick();\n\n if (!sidepanel.value) {\n return;\n }\n\n if (isOpen.value) {\n internalIsOpen.value = true;\n sidepanel.value.showModal();\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (sidepanel.value.open) {\n startCloseSidepanelAnimation();\n }\n },\n { immediate: true }\n );\n\n // Pages\n const updatePage = page => emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n pages.value.push(pageId);\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isAnimationActive,\n isOpen: internalIsOpen,\n pages,\n previousPages,\n updatePage,\n });\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n\n // Let's Children components know they are inside a SidePanel (dialog element)\n provide(SIDEPANEL_DIALOG_ID_INJECTION_KEY, sidepanelId);\n\n if (!props.isDismissible && props.hideCloseButton === null) {\n deprecate(\n 'BentoSidepanel \"isDismissible\" property’s behavior',\n 'BentoSidepanel \"isDismissible\" will no longer hide the close button. Use \"hideCloseButton=true\" instead.',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Sidepanel component is a slide-in panel that should be used for presenting actions, settings or features that are directly associated with a specific task or interaction on the main screen.\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n<style lang=\"scss\" scoped src=\"./sidepanel.scss\" />\n"],"names":["__default__$1","BentoSidepanelEvent","BentoSidepanelEvent2","__default__","messages","props","__props","emit","__emit","activePage","isOpen","toRefs","t","useI18n","sidepanel","ref","pages","previousPages","animation","BentoDialogPageAnimation","isClosing","sidepanelId","generateUid","internalIsOpen","isAnimationActive","conditionalClasses","computed","closeSidepanelAfterAnimation","startCloseSidepanelAnimation","closeSidepanelOnClickOutside","computedHideCloseButton","watch","nextTick","updatePage","page","unregisterPage","pageIdToRemove","_a","pageId","registerPage","provide","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY","SIDEPANEL_DIALOG_ID_INJECTION_KEY","deprecate"],"mappings":";;;;;;;;;;;;;4IA2IIA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3IQ,IAAAC,IAAA,kBAAAC,OACRA,EAAA,qBAAA,sBACAA,EAAA,iBAAA,kBAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;;;;;;;GC6PRE,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhNA,UAAAC,IAAAC,GA0CAC,IAAAC,GAYA,EAAA,YAAAC,GAAA,QAAAC,EAAA,IAAAC,EAAAN,CAAA,GACA,EAAA,GAAAO,EAAA,IAAAC,GAAA,EAAA,UAAAT,EAAA,CAAA,GACAU,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,CAAA,CAAA,GACAE,IAAAF,EAAA,CAAA,CAAA,GACAG,IAAAH,EAAAI,GAAA,uBAAA,GACAC,IAAAL,EAAA,EAAA,GACAM,IAAAC,GAAA,WAAA,GACAC,IAAAR,EAAA,EAAA,GACAS,IAAAT,EAAA,EAAA,GAGAU,IAAAC,EAAA,OAAA;AAAA,MAA2C,qBAAAN,EAAA;AAAA,MACR,0BAAAI,EAAA;AAAA,IACa,EAAA,GAIhDG,IA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GAEJO,EAAAE,IAAAH,CAAA,GAGAC,EAAAG,IAAAtB,CAAA,GAEA,CAAAhB,EAAA,iBAAAA,EAAA,oBAAA,QACIuC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"sidepanel.B-YKxXQA.js","sources":["../../../vue2/src/components/sidepanel/components/sidepanel-page.vue","../../../vue2/src/components/sidepanel/sidepanel.types.ts","../../../vue2/src/components/sidepanel/sidepanel.vue"],"sourcesContent":["<template>\n <dialog-page class=\"b-sidepanel-page\" :page-id=\"pageId\" :previous-page=\"previousPage\">\n <template #header>\n <div class=\"b-sidepanel-page__header\">\n <bento-typography class=\"b-sidepanel-page__title\" el=\"h2\" variant=\"title\">\n {{ title }}\n </bento-typography>\n </div>\n </template>\n <template #content>\n <div class=\"b-sidepanel-page__content\">\n <bento-typography el=\"div\" variant=\"body\">\n <slot />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-sidepanel-page__actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n\n import { BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { FooterActions } from '@/components/internal/footer-actions';\n import { DialogPage } from '@/internal';\n\n defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Identifier of the page, used with activePage prop to handle sidepanel navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title of the sidepanel page\n */\n title: {\n type: String,\n default: null,\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * SidepanelPage is used to render different pages of Sidepanel component\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./sidepanel-page.scss\" />\n","export enum BentoSidepanelEvent {\n UPDATE_ACTIVE_PAGE = 'update:active-page',\n UPDATE_IS_OPEN = 'update:is-open',\n}\n","<template>\n <dialog\n ref=\"sidepanel\"\n class=\"b-sidepanel\"\n :class=\"conditionalClasses\"\n @animationend=\"closeSidepanelAfterAnimation\"\n @keydown.esc.prevent=\"isDismissible && startCloseSidepanelAnimation\"\n >\n <bento-focus-trap :id=\"sidepanelId\" v-bento-click-outside-directive=\"closeSidepanelOnClickOutside\">\n <div v-if=\"!computedHideCloseButton\" class=\"b-sidepanel__close-button\">\n <bento-button variant=\"tertiary\" @click=\"startCloseSidepanelAnimation\">\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n <slot />\n </bento-focus-trap>\n </dialog>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, provide, ref, toRefs, watch } from 'vue';\n\n import { BentoButton } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { BentoSidepanelEvent } from './sidepanel.types';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n import { SIDEPANEL_DIALOG_ID_INJECTION_KEY } from './sidepanel.keys';\n\n import { BentoClickOutsideDirective as vBentoClickOutsideDirective } from '@/directives/click-outside';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n import { generateUid } from '@/core/utils/ts';\n import { deprecate } from '@/utils/ts/deprecate';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * The id of the current active page\n * Should be the same id as the BentoSidepanelPage to be displayed\n * If the component only has one page, it can be left null/undefined.\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * If set to true, it allows the sidepanel to be closed.\n * Shows close button when `true` and hides close button when `false`.\n *\n * _Note: This property will not set the visibility of the close button in v2.0.0_\n */\n isDismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Controls the sidepanel's state from the outside. Set it to true to open the sidepanel.\n */\n isOpen: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Controls the visibility of close button on the sidepanel.\n * Defaults to `true` when `isDismissible=false`, and `true` when `isDimissible=true`.\n *\n * _Note: This property will be set to `false` by default, independent of `isDismissible` in v2.0.0_\n */\n hideCloseButton: {\n type: Boolean,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page: string): void;\n /**\n * Emits close-sidepanel event when the sidepanel is closed\n */\n (e: BentoSidepanelEvent.UPDATE_IS_OPEN, isOpen: boolean): void;\n }>();\n\n // Refs\n const { activePage, isOpen } = toRefs(props);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const sidepanel = ref(null);\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n const isClosing = ref(false);\n const sidepanelId = generateUid('sidepanel');\n const internalIsOpen = ref(false);\n const isAnimationActive = ref(false);\n\n // Animation styling\n const conditionalClasses = computed(() => ({\n 'b-sidepanel--hide': isClosing.value,\n 'b-sidepanel--animation': isAnimationActive.value,\n }));\n\n // Handle closing and closing animation for dialog element\n const closeSidepanelAfterAnimation = () => {\n if (isClosing.value) {\n sidepanel.value.close();\n if (previousPages.value[0]) {\n emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n internalIsOpen.value = false;\n emit(BentoSidepanelEvent.UPDATE_IS_OPEN, false);\n }\n };\n\n const startCloseSidepanelAnimation = () => {\n if (!sidepanel.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n const closeSidepanelOnClickOutside = () => {\n if (props.isDismissible) {\n startCloseSidepanelAnimation();\n }\n };\n\n // TODO: Remove in upcoming major. See properties `hideCloseButton` and `isDismissible`.\n const computedHideCloseButton = computed(() => {\n if (props.hideCloseButton !== null) {\n return props.hideCloseButton;\n }\n\n return !props.isDismissible;\n });\n\n // Watching isOpen prop to toggle open/close the dialog element\n watch(\n () => isOpen.value,\n async () => {\n // Wait for sidepanel ref to be created\n await nextTick();\n\n if (!sidepanel.value) {\n return;\n }\n\n if (isOpen.value) {\n internalIsOpen.value = true;\n sidepanel.value.showModal();\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (sidepanel.value.open) {\n startCloseSidepanelAnimation();\n }\n },\n { immediate: true }\n );\n\n // Pages\n const updatePage = page => emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n pages.value.push(pageId);\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isAnimationActive,\n isOpen: internalIsOpen,\n pages,\n previousPages,\n updatePage,\n });\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n\n // Let's Children components know they are inside a SidePanel (dialog element)\n provide(SIDEPANEL_DIALOG_ID_INJECTION_KEY, sidepanelId);\n\n if (!props.isDismissible && props.hideCloseButton === null) {\n deprecate(\n 'BentoSidepanel \"isDismissible\" property’s behavior',\n 'BentoSidepanel \"isDismissible\" will no longer hide the close button. Use \"hideCloseButton=true\" instead.',\n '2.0.0'\n );\n }\n</script>\n\n<script lang=\"ts\">\n /**\n * Sidepanel component is a slide-in panel that should be used for presenting actions, settings or features that are directly associated with a specific task or interaction on the main screen.\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n<style lang=\"scss\" scoped src=\"./sidepanel.scss\" />\n"],"names":["__default__$1","BentoSidepanelEvent","BentoSidepanelEvent2","__default__","messages","props","__props","emit","__emit","activePage","isOpen","toRefs","t","useI18n","sidepanel","ref","pages","previousPages","animation","BentoDialogPageAnimation","isClosing","sidepanelId","generateUid","internalIsOpen","isAnimationActive","conditionalClasses","computed","closeSidepanelAfterAnimation","startCloseSidepanelAnimation","closeSidepanelOnClickOutside","computedHideCloseButton","watch","nextTick","updatePage","page","unregisterPage","pageIdToRemove","_a","pageId","registerPage","provide","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY","SIDEPANEL_DIALOG_ID_INJECTION_KEY","deprecate"],"mappings":";;;;;;;;;;;;;4IA2IIA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3IQ,IAAAC,IAAA,kBAAAC,OACRA,EAAA,qBAAA,sBACAA,EAAA,iBAAA,kBAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;;;;;;;GC6PRE,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhNA,UAAAC,IAAAC,GA0CAC,IAAAC,GAYA,EAAA,YAAAC,GAAA,QAAAC,EAAA,IAAAC,EAAAN,CAAA,GACA,EAAA,GAAAO,EAAA,IAAAC,GAAA,EAAA,UAAAT,EAAA,CAAA,GACAU,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,CAAA,CAAA,GACAE,IAAAF,EAAA,CAAA,CAAA,GACAG,IAAAH,EAAAI,GAAA,uBAAA,GACAC,IAAAL,EAAA,EAAA,GACAM,IAAAC,GAAA,WAAA,GACAC,IAAAR,EAAA,EAA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AhC;AAAA,MACjE,WAAAS;AAAA,MACA,mBAAAM;AAAA,MACA,QAAAD;AAAA,MACQ,OAAAP;AAAA,MACR,eAAAC;AAAA,MACA,YAAAgB;AAAA,IACA,CAAA,GAEJO,EAAAE,IAAAH,CAAA,GAGAC,EAAAG,IAAAtB,CAAA,GAEA,CAAAhB,EAAA,iBAAAA,EAAA,oBAAA,QACIuC;AAAA,MAAA;AAAA,MACI;AAAA,MACA;AAAA,IACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,7 +4,7 @@ import "./events.FNmSWp_P.js";
4
4
  import { B as R, a as de } from "./keyboard-navigation.C3QMVRKY.js";
5
5
  import { u as me } from "./i18n.CPGoe9tN.js";
6
6
  import { _ as G } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
- import { B as be } from "./base-button.N4QTXNIp.js";
7
+ import { B as be } from "./base-button.DgHMejMF.js";
8
8
  import { C as fe } from "./checkmark-small.DEc2T64_.js";
9
9
  import { D as Se } from "./dot.pQfhaKda.js";
10
10
  import "../assets/step.css";
@@ -261,4 +261,4 @@ export {
261
261
  W as b,
262
262
  De as s
263
263
  };
264
- //# sourceMappingURL=step.Db0UJ8mx.js.map
264
+ //# sourceMappingURL=step.CGHc2hFZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"step.Db0UJ8mx.js","sources":["../../../vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.ts","../../../vue2/src/components/stepper/composables/use-step-register/use-step-register.ts","../../../vue2/src/components/stepper/stepper.keys.ts","../../../vue2/src/components/stepper/stepper.types.ts","../../../vue2/src/components/stepper/stepper.vue","../../../vue2/src/components/stepper/components/step/step.vue"],"sourcesContent":["import { Ref, UnwrapRef } from 'vue';\n\nimport { BentoKeyboardNavigationKeyDownEvent } from '@/types';\n\n/**\n * Returns keyboard navigation's event handlers to navigate through the steps\n *\n * @param steps the list of bento-steps DOM elements to focus on the navigation\n * @returns\n */\nexport const useKeyboardNavigation = (steps: Ref<UnwrapRef<HTMLButtonElement[]>>) => {\n // Returns the event handler that moves the focus on a given step offset\n function focusOnStep(indexOffset: number) {\n return ({ detail: event }) => {\n event.preventDefault();\n\n const currentIndex = steps.value.indexOf(document.activeElement as HTMLButtonElement);\n if (currentIndex < 0) {\n return;\n }\n\n steps.value[currentIndex + indexOffset]?.focus();\n };\n }\n\n const focusOnPreviousStep = focusOnStep(-1);\n const focusOnNextStep = focusOnStep(1);\n\n return {\n [BentoKeyboardNavigationKeyDownEvent.ARROW_DOWN]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_RIGHT]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_UP]: focusOnPreviousStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_LEFT]: focusOnPreviousStep,\n };\n};\n","import type { Ref, UnwrapRef } from 'vue';\nimport type { BentoStepperStepExposeState } from '../../stepper.types';\n\n/**\n * Gets the position of a `bento-step` element within its `bento-stepper` parent.\n * @param stepState The `bento-step` state.\n * @returns The index of the element.\n */\nconst getStepPosition = (stepState: BentoStepperStepExposeState) => {\n // Button is wrapped by <li> element\n const listItemElement = (stepState.buttonElement as Ref<UnwrapRef<HTMLButtonElement>>).value.parentElement;\n const listElement = listItemElement.parentElement;\n return Array.from(listElement.children).indexOf(listItemElement);\n};\n\n/**\n * Provides methods to register/unregister `bento-step` elements to/from the `bento-stepper` step state.\n * These methods allow for tracking the child step elements, including their position in the DOM tree.\n * @param childrenSteps The `bento-stepper` (or `bento-step` if substeps) step state.\n */\nexport const useStepRegister = (childrenSteps: Ref<BentoStepperStepExposeState[]>) => {\n /**\n * Registers a step's HTML element in the stepper state.\n * Should be called by a `bento-step` when it is mounted.\n * @param stepState The `bento-step` state.\n */\n const registerStep = (stepState: BentoStepperStepExposeState) => {\n const position = getStepPosition(stepState);\n childrenSteps.value.splice(position, 0, {\n stepContent: stepState.stepContent as string,\n buttonElement: stepState.buttonElement as HTMLButtonElement,\n substeps: stepState.substeps as BentoStepperStepExposeState[],\n });\n };\n\n /**\n * Unregisters a step's HTML element in the stepper state.\n * Should be called by a `bento-step` before it is unmounted.\n * @param stepState The `bento-step` state.\n */\n const removeStep = (stepState: BentoStepperStepExposeState) => {\n childrenSteps.value.splice(\n childrenSteps.value.findIndex(step => step.buttonElement === stepState.buttonElement.value),\n 1\n );\n };\n\n return { registerStep, removeStep };\n};\n","export const STEPPER_STATE = Symbol('stepper state');\n","import type { ComputedRef, Ref, UnwrapRef } from 'vue';\n\nexport enum BentoStepperTypeOption {\n LINEAR = 'linear',\n NON_LINEAR = 'non-linear',\n}\n\nexport enum BentoStepperVariantOption {\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n}\n\nexport interface BentoStepperStepExposeState {\n buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;\n substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;\n stepContent: string | ComputedRef<string>;\n}\n\nexport type BentoStepperState = Ref<{\n activeStepIndex: number;\n latestActiveStep: number;\n type: `${BentoStepperTypeOption}`;\n variant: `${BentoStepperVariantOption}`;\n steps: HTMLElement[];\n isParentStep?: boolean;\n navigateToStep: (index: number) => void;\n registerStep: (stepState: BentoStepperStepExposeState) => void;\n removeStep: (stepState: BentoStepperStepExposeState) => void;\n}>;\n","<template>\n <nav class=\"b-stepper\">\n <ol\n v-bento-keyboard-navigation-directive\n class=\"b-stepper__list\"\n :class=\"conditionalClasses\"\n v-on=\"keyboardNavigationListeners\"\n >\n <slot></slot>\n </ol>\n\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-stepper__text-stepper\"\n >{{\n t('step', { currentIndex: activeStepIndex + 1, totalSteps: stepsAmount, content: currentStepContent })\n }}\n </bento-typography>\n </nav>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n\n import { computed, type DeepReadonly, PropType, provide, readonly, ref, watch } from 'vue';\n import { BentoKeyboardNavigationDirective as vBentoKeyboardNavigationDirective } from '@/directives';\n\n import { useKeyboardNavigation, useStepRegister } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import { STEPPER_STATE } from './stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from './stepper.types';\n\n import messages from './messages.json';\n\n const props = defineProps({\n /**\n * Type of stepper; defines how the stepper should behave. Default: linear\n * @values linear, non-linear\n */\n type: {\n type: String as PropType<`${BentoStepperTypeOption}`>,\n default: 'linear',\n },\n /**\n * Stepper variant; defines how the stepper should be displayed. Default: vertical\n * @values vertical, horizontal\n */\n variant: {\n type: String as PropType<`${BentoStepperVariantOption}`>,\n default: 'vertical',\n },\n /**\n * Active step index\n */\n index: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when step is updated by the stepper\n */\n (e: 'update:index', index: number): void;\n }>();\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const childrenSteps = ref<BentoStepperStepExposeState[]>([]);\n const activeStepIndex = ref(props.index);\n const latestActiveStep = ref(activeStepIndex.value);\n\n const navigateToStep = (index: number) => {\n // Stores latest active step index so users can navigate backwards and forwards on linear stepper\n if (index > latestActiveStep.value) {\n latestActiveStep.value = index;\n }\n activeStepIndex.value = index;\n };\n\n const currentStepContent = computed(() => childrenSteps.value[activeStepIndex.value]?.stepContent);\n const stepsAmount = computed(() => childrenSteps.value.length);\n const childrenStepsElements = computed(() => childrenSteps.value.map(({ buttonElement }) => buttonElement));\n const isHorizontalVariant = computed(() => props.variant === BentoStepperVariantOption.HORIZONTAL);\n\n // List of all visible steps nested on the stepper, including the substeps of the children steps\n // Flattening the steps on a single list makes the keyboard navigation easier to be handled\n const allVisibleStepsElements = computed(() =>\n childrenSteps.value\n .map(({ buttonElement, substeps }, index) => {\n const isStepActive = activeStepIndex.value === index;\n const isSubstepsVisible = !isHorizontalVariant.value && isStepActive;\n\n if (!isSubstepsVisible) {\n return [buttonElement];\n }\n\n return [buttonElement].concat(substeps.map(step => step.buttonElement));\n })\n .flat()\n );\n\n const { registerStep, removeStep } = useStepRegister(childrenSteps);\n\n const stepperState: BentoStepperState = ref({\n activeStepIndex,\n latestActiveStep,\n steps: childrenStepsElements,\n type: props.type,\n variant: props.variant,\n navigateToStep,\n registerStep,\n removeStep,\n });\n\n const conditionalClasses = computed(() => ({\n 'b-stepper__list--horizontal': isHorizontalVariant.value,\n }));\n\n watch(() => props.index, navigateToStep);\n watch(activeStepIndex, index => {\n emit('update:index', index);\n });\n\n const keyboardNavigationListeners = useKeyboardNavigation(allVisibleStepsElements);\n\n // Provides stepper state to BentoStep children components\n provide<DeepReadonly<BentoStepperState>>(STEPPER_STATE, readonly(stepperState));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steppers break down complex processes into manageable steps to guide users through a sequential or multi-step process.\n *\n * @example\n * import { BentoStep, BentoStepper } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep, BentoStepper },\n * template: `\n * <bento-stepper :index=\"1\">\n * <bento-step>Step 1</bento-step>\n * <bento-step>Step 2</bento-step>\n * <bento-step>Step 3</bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n i18n: { messages },\n name: 'stepper',\n };\n</script>\n\n<style scoped src=\"./stepper.scss\" />\n","<template>\n <li :class=\"conditionalClasses\" class=\"b-step\">\n <base-button\n ref=\"buttonComponent\"\n :aria-current=\"ariaCurrentValue\"\n :aria-disabled=\"ariaDisabledValue\"\n class=\"b-step__button\"\n type=\"button\"\n :tabindex=\"tabIndexValue\"\n :disabled=\"isDisabled\"\n @click=\"navigateToStep\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n >\n <template #iconLeft>\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-step__index\" aria-hidden=\"true\">\n <checkmark-small-icon v-if=\"isCompleted\" />\n <template v-else-if=\"!isSubstep\">{{ index + 1 }}</template>\n <dot-icon v-else />\n </bento-typography>\n </template>\n\n <bento-typography ref=\"stepContent\" el=\"span\" variant=\"body\" :stronger=\"isActive\" class=\"b-step__content\">\n <slot></slot>\n </bento-typography>\n </base-button>\n\n <ul v-show=\"isSubstepsVisible\" ref=\"substepList\" class=\"b-step__substep-list\">\n <slot name=\"substeps\"></slot>\n </ul>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, onBeforeUnmount, onMounted, provide, ref, useSlots, watch } from 'vue';\n import { BaseButton } from '@/components/internal/base-button';\n import { BentoTypography } from '@/components/typography';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import DotIcon from '@adyen/ui-assets-icons-16/vue/dot';\n\n import { useStepRegister } from '../../composables';\n import { STEPPER_STATE } from '../../stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from '../../stepper.types';\n import { Booleanish } from '@/types';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Completed status. Used on non-linear steppers to indicate if the step is completed.\n */\n completed: {\n type: Boolean,\n default: false,\n },\n /**\n * Active substep index\n */\n substepIndex: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when substep is updated by the parent step\n */\n (e: 'update:substep-index', index: number): void;\n }>();\n\n // Element refs\n const buttonComponent = ref<InstanceType<typeof BaseButton> | null>(null);\n const stepContent = ref<InstanceType<typeof BentoTypography> | null>(null);\n const substeps = ref<BentoStepperStepExposeState[]>([]);\n\n // Injects parent BentoStepper state data\n const stepper = inject<BentoStepperState>(STEPPER_STATE);\n\n const buttonElement = computed(() => buttonComponent.value?.$el as HTMLButtonElement);\n const index = computed(() => stepper?.value.steps.indexOf(buttonElement.value));\n\n const stepContentValue = computed(() => stepContent.value?.$el.textContent);\n\n // Substep logic\n const substepsButtonElements = computed(() => substeps.value.map(({ buttonElement }) => buttonElement));\n\n const activeSubStepIndex = ref(props.substepIndex);\n const latestActiveSubStepIndex = ref(activeSubStepIndex.value);\n\n const navigateToSubstep = (value: number) => {\n if (value > latestActiveSubStepIndex.value) {\n latestActiveSubStepIndex.value = value;\n }\n\n activeSubStepIndex.value = value;\n };\n\n const { registerStep, removeStep } = useStepRegister(substeps);\n\n const stepState: BentoStepperState = ref({\n activeStepIndex: activeSubStepIndex,\n latestActiveStep: latestActiveSubStepIndex,\n type: stepper.value.type,\n variant: stepper.value.variant,\n steps: substepsButtonElements,\n isParentStep: true,\n navigateToStep: navigateToSubstep,\n registerStep,\n removeStep,\n });\n\n provide(STEPPER_STATE, stepState);\n\n watch(() => props.substepIndex, navigateToSubstep);\n watch(activeSubStepIndex, value => {\n emit('update:substep-index', value);\n });\n\n onMounted(() => {\n if (!stepper) {\n throw new Error(\n 'BentoStep components should only be used inside BentoStepper or other BentoStep components.'\n );\n }\n\n stepper.value.registerStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n onBeforeUnmount(() => {\n stepper.value.removeStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n // Step states\n const isSubstep = computed(() => stepper.value.isParentStep);\n const isFocused = ref(false);\n const isActive = computed(() => stepper?.value.activeStepIndex === index.value);\n const isSubstepsVisible = computed(\n () =>\n isActive.value &&\n stepper.value.variant !== BentoStepperVariantOption.HORIZONTAL &&\n !isSubstep.value &&\n slots.substeps\n );\n const isCompleted = computed(() => {\n if (stepper?.value.type === BentoStepperTypeOption.NON_LINEAR) {\n return props.completed;\n }\n\n return stepper?.value.latestActiveStep > index.value;\n });\n const isDisabled = computed(\n () => stepper?.value.type === BentoStepperTypeOption.LINEAR && index.value > stepper?.value.latestActiveStep\n );\n\n const navigateToStep = () => {\n if (isDisabled.value) {\n return;\n }\n\n stepper.value.navigateToStep(index.value);\n };\n\n // Styling and a11y\n const ariaCurrentValue = computed(() => (isActive.value ? 'step' : ('false' as Booleanish)));\n const ariaDisabledValue = computed(() => isDisabled.value.toString() as Booleanish);\n const tabIndexValue = computed(() => (isFocused.value || (index.value === 0 && !isSubstep.value) ? '0' : '-1'));\n\n const conditionalClasses = computed(() => ({\n 'b-step--active': isActive.value,\n 'b-step--completed': isCompleted.value,\n 'b-step--substep': isSubstep.value,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steps are components placed inside BentoSteppers to break down complex processes\n *\n * @example\n * import { BentoStep } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep },\n * template: `\n * <bento-stepper>\n * <bento-step>Step 1</bento-step>\n * <bento-step>\n * Step 2\n * <template #substeps>\n * <bento-step>Substep 1</bento-step>\n * <bento-step>Substep 2</bento-step>\n * </template>\n * </bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n name: 'step',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./step.scss\" />\n"],"names":["useKeyboardNavigation","steps","focusOnStep","indexOffset","event","currentIndex","_a","focusOnPreviousStep","focusOnNextStep","BentoKeyboardNavigationKeyDownEvent","getStepPosition","stepState","listItemElement","listElement","useStepRegister","childrenSteps","position","step","STEPPER_STATE","BentoStepperTypeOption","BentoStepperTypeOption2","BentoStepperVariantOption","BentoStepperVariantOption2","__default__$1","messages","props","__props","emit","__emit","t","useI18n","ref","activeStepIndex","latestActiveStep","navigateToStep","index","currentStepContent","computed","stepsAmount","childrenStepsElements","buttonElement","isHorizontalVariant","allVisibleStepsElements","substeps","isStepActive","registerStep","removeStep","stepperState","conditionalClasses","watch","keyboardNavigationListeners","provide","readonly","__default__","slots","useSlots","buttonComponent","stepContent","stepper","inject","stepContentValue","substepsButtonElements","buttonElement2","activeSubStepIndex","latestActiveSubStepIndex","navigateToSubstep","value","onMounted","onBeforeUnmount","isSubstep","isFocused","isActive","isSubstepsVisible","isCompleted","isDisabled","ariaCurrentValue","ariaDisabledValue","tabIndexValue"],"mappings":";;;;;;;;;;AAUa,MAAAA,KAAA,CAAAC,MAAA;AAET,WAAAC,EAAAC,GAAA;AACI,WAAA,CAAA,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AA,UAAAgB,EAAA,SAAAuB,KAAA,gBAAAA,EAAA,MAAA;AAAA,IAC6E,GAGhGxB,IAAA,MAAA;AACI,MAAAwC,EAAA,SAIAhB,EAAA,MAAA,eAAAvB,EAAA,KAAA;AAAA,IAAwC,GAI5CwC,IAAAtC,EAAA,MAAAkC,EAAA,QAAA,SAAA,OAAA,GACAK,IAAAvC,EAAA,MAAAqC,EAAA,MAAA,SAAA,CAAA,GACAG,IAAAxC,EAAA,MAAAiC,EAAA,SAAAnC,EAAA,UAAA,KAAA,CAAAkC,EAAA,QAAA,MAAA,IAAA,GAEArB,KAAAX,EAAA,OAAA;AAAA,MAA2C,kBAAAkC,EAAA;AAAA,MACZ,qBAAAE,EAAA;AAAA,MACM,mBAAAJ,EAAA;AAAA,IACJ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"step.CGHc2hFZ.js","sources":["../../../vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.ts","../../../vue2/src/components/stepper/composables/use-step-register/use-step-register.ts","../../../vue2/src/components/stepper/stepper.keys.ts","../../../vue2/src/components/stepper/stepper.types.ts","../../../vue2/src/components/stepper/stepper.vue","../../../vue2/src/components/stepper/components/step/step.vue"],"sourcesContent":["import { Ref, UnwrapRef } from 'vue';\n\nimport { BentoKeyboardNavigationKeyDownEvent } from '@/types';\n\n/**\n * Returns keyboard navigation's event handlers to navigate through the steps\n *\n * @param steps the list of bento-steps DOM elements to focus on the navigation\n * @returns\n */\nexport const useKeyboardNavigation = (steps: Ref<UnwrapRef<HTMLButtonElement[]>>) => {\n // Returns the event handler that moves the focus on a given step offset\n function focusOnStep(indexOffset: number) {\n return ({ detail: event }) => {\n event.preventDefault();\n\n const currentIndex = steps.value.indexOf(document.activeElement as HTMLButtonElement);\n if (currentIndex < 0) {\n return;\n }\n\n steps.value[currentIndex + indexOffset]?.focus();\n };\n }\n\n const focusOnPreviousStep = focusOnStep(-1);\n const focusOnNextStep = focusOnStep(1);\n\n return {\n [BentoKeyboardNavigationKeyDownEvent.ARROW_DOWN]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_RIGHT]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_UP]: focusOnPreviousStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_LEFT]: focusOnPreviousStep,\n };\n};\n","import type { Ref, UnwrapRef } from 'vue';\nimport type { BentoStepperStepExposeState } from '../../stepper.types';\n\n/**\n * Gets the position of a `bento-step` element within its `bento-stepper` parent.\n * @param stepState The `bento-step` state.\n * @returns The index of the element.\n */\nconst getStepPosition = (stepState: BentoStepperStepExposeState) => {\n // Button is wrapped by <li> element\n const listItemElement = (stepState.buttonElement as Ref<UnwrapRef<HTMLButtonElement>>).value.parentElement;\n const listElement = listItemElement.parentElement;\n return Array.from(listElement.children).indexOf(listItemElement);\n};\n\n/**\n * Provides methods to register/unregister `bento-step` elements to/from the `bento-stepper` step state.\n * These methods allow for tracking the child step elements, including their position in the DOM tree.\n * @param childrenSteps The `bento-stepper` (or `bento-step` if substeps) step state.\n */\nexport const useStepRegister = (childrenSteps: Ref<BentoStepperStepExposeState[]>) => {\n /**\n * Registers a step's HTML element in the stepper state.\n * Should be called by a `bento-step` when it is mounted.\n * @param stepState The `bento-step` state.\n */\n const registerStep = (stepState: BentoStepperStepExposeState) => {\n const position = getStepPosition(stepState);\n childrenSteps.value.splice(position, 0, {\n stepContent: stepState.stepContent as string,\n buttonElement: stepState.buttonElement as HTMLButtonElement,\n substeps: stepState.substeps as BentoStepperStepExposeState[],\n });\n };\n\n /**\n * Unregisters a step's HTML element in the stepper state.\n * Should be called by a `bento-step` before it is unmounted.\n * @param stepState The `bento-step` state.\n */\n const removeStep = (stepState: BentoStepperStepExposeState) => {\n childrenSteps.value.splice(\n childrenSteps.value.findIndex(step => step.buttonElement === stepState.buttonElement.value),\n 1\n );\n };\n\n return { registerStep, removeStep };\n};\n","export const STEPPER_STATE = Symbol('stepper state');\n","import type { ComputedRef, Ref, UnwrapRef } from 'vue';\n\nexport enum BentoStepperTypeOption {\n LINEAR = 'linear',\n NON_LINEAR = 'non-linear',\n}\n\nexport enum BentoStepperVariantOption {\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n}\n\nexport interface BentoStepperStepExposeState {\n buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;\n substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;\n stepContent: string | ComputedRef<string>;\n}\n\nexport type BentoStepperState = Ref<{\n activeStepIndex: number;\n latestActiveStep: number;\n type: `${BentoStepperTypeOption}`;\n variant: `${BentoStepperVariantOption}`;\n steps: HTMLElement[];\n isParentStep?: boolean;\n navigateToStep: (index: number) => void;\n registerStep: (stepState: BentoStepperStepExposeState) => void;\n removeStep: (stepState: BentoStepperStepExposeState) => void;\n}>;\n","<template>\n <nav class=\"b-stepper\">\n <ol\n v-bento-keyboard-navigation-directive\n class=\"b-stepper__list\"\n :class=\"conditionalClasses\"\n v-on=\"keyboardNavigationListeners\"\n >\n <slot></slot>\n </ol>\n\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-stepper__text-stepper\"\n >{{\n t('step', { currentIndex: activeStepIndex + 1, totalSteps: stepsAmount, content: currentStepContent })\n }}\n </bento-typography>\n </nav>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n\n import { computed, type DeepReadonly, PropType, provide, readonly, ref, watch } from 'vue';\n import { BentoKeyboardNavigationDirective as vBentoKeyboardNavigationDirective } from '@/directives';\n\n import { useKeyboardNavigation, useStepRegister } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import { STEPPER_STATE } from './stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from './stepper.types';\n\n import messages from './messages.json';\n\n const props = defineProps({\n /**\n * Type of stepper; defines how the stepper should behave. Default: linear\n * @values linear, non-linear\n */\n type: {\n type: String as PropType<`${BentoStepperTypeOption}`>,\n default: 'linear',\n },\n /**\n * Stepper variant; defines how the stepper should be displayed. Default: vertical\n * @values vertical, horizontal\n */\n variant: {\n type: String as PropType<`${BentoStepperVariantOption}`>,\n default: 'vertical',\n },\n /**\n * Active step index\n */\n index: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when step is updated by the stepper\n */\n (e: 'update:index', index: number): void;\n }>();\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const childrenSteps = ref<BentoStepperStepExposeState[]>([]);\n const activeStepIndex = ref(props.index);\n const latestActiveStep = ref(activeStepIndex.value);\n\n const navigateToStep = (index: number) => {\n // Stores latest active step index so users can navigate backwards and forwards on linear stepper\n if (index > latestActiveStep.value) {\n latestActiveStep.value = index;\n }\n activeStepIndex.value = index;\n };\n\n const currentStepContent = computed(() => childrenSteps.value[activeStepIndex.value]?.stepContent);\n const stepsAmount = computed(() => childrenSteps.value.length);\n const childrenStepsElements = computed(() => childrenSteps.value.map(({ buttonElement }) => buttonElement));\n const isHorizontalVariant = computed(() => props.variant === BentoStepperVariantOption.HORIZONTAL);\n\n // List of all visible steps nested on the stepper, including the substeps of the children steps\n // Flattening the steps on a single list makes the keyboard navigation easier to be handled\n const allVisibleStepsElements = computed(() =>\n childrenSteps.value\n .map(({ buttonElement, substeps }, index) => {\n const isStepActive = activeStepIndex.value === index;\n const isSubstepsVisible = !isHorizontalVariant.value && isStepActive;\n\n if (!isSubstepsVisible) {\n return [buttonElement];\n }\n\n return [buttonElement].concat(substeps.map(step => step.buttonElement));\n })\n .flat()\n );\n\n const { registerStep, removeStep } = useStepRegister(childrenSteps);\n\n const stepperState: BentoStepperState = ref({\n activeStepIndex,\n latestActiveStep,\n steps: childrenStepsElements,\n type: props.type,\n variant: props.variant,\n navigateToStep,\n registerStep,\n removeStep,\n });\n\n const conditionalClasses = computed(() => ({\n 'b-stepper__list--horizontal': isHorizontalVariant.value,\n }));\n\n watch(() => props.index, navigateToStep);\n watch(activeStepIndex, index => {\n emit('update:index', index);\n });\n\n const keyboardNavigationListeners = useKeyboardNavigation(allVisibleStepsElements);\n\n // Provides stepper state to BentoStep children components\n provide<DeepReadonly<BentoStepperState>>(STEPPER_STATE, readonly(stepperState));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steppers break down complex processes into manageable steps to guide users through a sequential or multi-step process.\n *\n * @example\n * import { BentoStep, BentoStepper } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep, BentoStepper },\n * template: `\n * <bento-stepper :index=\"1\">\n * <bento-step>Step 1</bento-step>\n * <bento-step>Step 2</bento-step>\n * <bento-step>Step 3</bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n i18n: { messages },\n name: 'stepper',\n };\n</script>\n\n<style scoped src=\"./stepper.scss\" />\n","<template>\n <li :class=\"conditionalClasses\" class=\"b-step\">\n <base-button\n ref=\"buttonComponent\"\n :aria-current=\"ariaCurrentValue\"\n :aria-disabled=\"ariaDisabledValue\"\n class=\"b-step__button\"\n type=\"button\"\n :tabindex=\"tabIndexValue\"\n :disabled=\"isDisabled\"\n @click=\"navigateToStep\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n >\n <template #iconLeft>\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-step__index\" aria-hidden=\"true\">\n <checkmark-small-icon v-if=\"isCompleted\" />\n <template v-else-if=\"!isSubstep\">{{ index + 1 }}</template>\n <dot-icon v-else />\n </bento-typography>\n </template>\n\n <bento-typography ref=\"stepContent\" el=\"span\" variant=\"body\" :stronger=\"isActive\" class=\"b-step__content\">\n <slot></slot>\n </bento-typography>\n </base-button>\n\n <ul v-show=\"isSubstepsVisible\" ref=\"substepList\" class=\"b-step__substep-list\">\n <slot name=\"substeps\"></slot>\n </ul>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, onBeforeUnmount, onMounted, provide, ref, useSlots, watch } from 'vue';\n import { BaseButton } from '@/components/internal/base-button';\n import { BentoTypography } from '@/components/typography';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import DotIcon from '@adyen/ui-assets-icons-16/vue/dot';\n\n import { useStepRegister } from '../../composables';\n import { STEPPER_STATE } from '../../stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from '../../stepper.types';\n import { Booleanish } from '@/types';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Completed status. Used on non-linear steppers to indicate if the step is completed.\n */\n completed: {\n type: Boolean,\n default: false,\n },\n /**\n * Active substep index\n */\n substepIndex: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when substep is updated by the parent step\n */\n (e: 'update:substep-index', index: number): void;\n }>();\n\n // Element refs\n const buttonComponent = ref<InstanceType<typeof BaseButton> | null>(null);\n const stepContent = ref<InstanceType<typeof BentoTypography> | null>(null);\n const substeps = ref<BentoStepperStepExposeState[]>([]);\n\n // Injects parent BentoStepper state data\n const stepper = inject<BentoStepperState>(STEPPER_STATE);\n\n const buttonElement = computed(() => buttonComponent.value?.$el as HTMLButtonElement);\n const index = computed(() => stepper?.value.steps.indexOf(buttonElement.value));\n\n const stepContentValue = computed(() => stepContent.value?.$el.textContent);\n\n // Substep logic\n const substepsButtonElements = computed(() => substeps.value.map(({ buttonElement }) => buttonElement));\n\n const activeSubStepIndex = ref(props.substepIndex);\n const latestActiveSubStepIndex = ref(activeSubStepIndex.value);\n\n const navigateToSubstep = (value: number) => {\n if (value > latestActiveSubStepIndex.value) {\n latestActiveSubStepIndex.value = value;\n }\n\n activeSubStepIndex.value = value;\n };\n\n const { registerStep, removeStep } = useStepRegister(substeps);\n\n const stepState: BentoStepperState = ref({\n activeStepIndex: activeSubStepIndex,\n latestActiveStep: latestActiveSubStepIndex,\n type: stepper.value.type,\n variant: stepper.value.variant,\n steps: substepsButtonElements,\n isParentStep: true,\n navigateToStep: navigateToSubstep,\n registerStep,\n removeStep,\n });\n\n provide(STEPPER_STATE, stepState);\n\n watch(() => props.substepIndex, navigateToSubstep);\n watch(activeSubStepIndex, value => {\n emit('update:substep-index', value);\n });\n\n onMounted(() => {\n if (!stepper) {\n throw new Error(\n 'BentoStep components should only be used inside BentoStepper or other BentoStep components.'\n );\n }\n\n stepper.value.registerStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n onBeforeUnmount(() => {\n stepper.value.removeStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n // Step states\n const isSubstep = computed(() => stepper.value.isParentStep);\n const isFocused = ref(false);\n const isActive = computed(() => stepper?.value.activeStepIndex === index.value);\n const isSubstepsVisible = computed(\n () =>\n isActive.value &&\n stepper.value.variant !== BentoStepperVariantOption.HORIZONTAL &&\n !isSubstep.value &&\n slots.substeps\n );\n const isCompleted = computed(() => {\n if (stepper?.value.type === BentoStepperTypeOption.NON_LINEAR) {\n return props.completed;\n }\n\n return stepper?.value.latestActiveStep > index.value;\n });\n const isDisabled = computed(\n () => stepper?.value.type === BentoStepperTypeOption.LINEAR && index.value > stepper?.value.latestActiveStep\n );\n\n const navigateToStep = () => {\n if (isDisabled.value) {\n return;\n }\n\n stepper.value.navigateToStep(index.value);\n };\n\n // Styling and a11y\n const ariaCurrentValue = computed(() => (isActive.value ? 'step' : ('false' as Booleanish)));\n const ariaDisabledValue = computed(() => isDisabled.value.toString() as Booleanish);\n const tabIndexValue = computed(() => (isFocused.value || (index.value === 0 && !isSubstep.value) ? '0' : '-1'));\n\n const conditionalClasses = computed(() => ({\n 'b-step--active': isActive.value,\n 'b-step--completed': isCompleted.value,\n 'b-step--substep': isSubstep.value,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steps are components placed inside BentoSteppers to break down complex processes\n *\n * @example\n * import { BentoStep } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep },\n * template: `\n * <bento-stepper>\n * <bento-step>Step 1</bento-step>\n * <bento-step>\n * Step 2\n * <template #substeps>\n * <bento-step>Substep 1</bento-step>\n * <bento-step>Substep 2</bento-step>\n * </template>\n * </bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n name: 'step',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./step.scss\" />\n"],"names":["useKeyboardNavigation","steps","focusOnStep","indexOffset","event","currentIndex","_a","focusOnPreviousStep","focusOnNextStep","BentoKeyboardNavigationKeyDownEvent","getStepPosition","stepState","listItemElement","listElement","useStepRegister","childrenSteps","position","step","STEPPER_STATE","BentoStepperTypeOption","BentoStepperTypeOption2","BentoStepperVariantOption","BentoStepperVariantOption2","__default__$1","messages","props","__props","emit","__emit","t","useI18n","ref","activeStepIndex","latestActiveStep","navigateToStep","index","currentStepContent","computed","stepsAmount","childrenStepsElements","buttonElement","isHorizontalVariant","allVisibleStepsElements","substeps","isStepActive","registerStep","removeStep","stepperState","conditionalClasses","watch","keyboardNavigationListeners","provide","readonly","__default__","slots","useSlots","buttonComponent","stepContent","stepper","inject","stepContentValue","substepsButtonElements","buttonElement2","activeSubStepIndex","latestActiveSubStepIndex","navigateToSubstep","value","onMounted","onBeforeUnmount","isSubstep","isFocused","isActive","isSubstepsVisible","isCompleted","isDisabled","ariaCurrentValue","ariaDisabledValue","tabIndexValue"],"mappings":";;;;;;;;;;AAUa,MAAAA,KAAA,CAAAC,MAAA;AAET,WAAAC,EAAAC,GAAA;AACI,WAAA,CAAA,EAAA,QAAAC,EAAA,MAAA;;AACI,MAAAA,EAAA,eAAA;AAEA,YAAAC,IAAAJ,EAAA,MAAA,QAAA,SAAA,aAAA;AACA,MAAAI,IAAA,MAIAC,IAAAL,EAAA,MAAAI,IAAAF,CAAA,MAAA,QAAAG,EAAA;AAAA,IAA+C;AAAA,EACnD;AAGJ,QAAAC,IAAAL,EAAA,E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AA,MAAAqC,EAAA,MAAA,SAAA,CAAA,GACAG,IAAAxC,EAAA,MAAAiC,EAAA,SAAAnC,EAAA,UAAA,KAAA,CAAAkC,EAAA,QAAA,MAAA,IAAA,GAEArB,KAAAX,EAAA,OAAA;AAAA,MAA2C,kBAAAkC,EAAA;AAAA,MACZ,qBAAAE,EAAA;AAAA,MACM,mBAAAJ,EAAA;AAAA,IACJ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as h, inject as p, computed as o, provide as D, openBlock as r, createElementBlock as v, renderSlot as B, ref as N, normalizeClass as _, createElementVNode as f, normalizeStyle as W, createVNode as y, unref as e, withCtx as b, createTextVNode as $, toDisplayString as g, createBlock as u, createCommentVNode as d, withDirectives as U } from "vue";
2
2
  import { _ as S } from "./_plugin-vue_export-helper.CHgC5LLL.js";
3
- import { B as R } from "./button.pwNCxwPu.js";
4
- import { B as V } from "./info-icon.CUC0fwLb.js";
3
+ import { B as R } from "./button.DSnv5X7y.js";
4
+ import { B as V } from "./info-icon.B6QPdxPi.js";
5
5
  import { B as j } from "./typography.DNzU41ah.js";
6
- import { C as O } from "./copy.CnzLQyvJ.js";
6
+ import { C as O } from "./copy.CT8wuwho.js";
7
7
  import { S as w } from "./search.EnLryD8V.js";
8
8
  import { u as A } from "./i18n.CPGoe9tN.js";
9
9
  import "./events.FNmSWp_P.js";
10
- import { B as J } from "./tooltip.BvJoy09y.js";
10
+ import { B as J } from "./tooltip.Ch4_ew27.js";
11
11
  import "../assets/structured-list-item.css";
12
12
  const C = Symbol("structured list condensed style injection key"), I = Symbol("structured list labels width injection key"), x = ["25-75", "33-66", "42-58", "50-50"], z = { class: "b-structured-list" }, F = {}, H = /* @__PURE__ */ h({
13
13
  ...F,
@@ -105,4 +105,4 @@ export {
105
105
  C as S,
106
106
  at as a
107
107
  };
108
- //# sourceMappingURL=structured-list-item.C_6ju-IY.js.map
108
+ //# sourceMappingURL=structured-list-item.DNP6fkCb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"structured-list-item.C_6ju-IY.js","sources":["../../../vue2/src/components/structured-list/structured-list.keys.ts","../../../vue2/src/components/structured-list/structured-list.types.ts","../../../vue2/src/components/structured-list/structured-list.vue","../../../vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue"],"sourcesContent":["export const STRUCTURED_LIST_CONDENSED_INJECTION_KEY = Symbol('structured list condensed style injection key');\nexport const STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY = Symbol('structured list labels width injection key');\n","export type BentoStructuredListLayoutOptions = '25-75' | '33-66' | '42-58' | '50-50';\nexport const BentoStructuredListLayoutOptions = ['25-75', '33-66', '42-58', '50-50'];\n","<template>\n <dl class=\"b-structured-list\">\n <slot />\n </dl>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, provide } from 'vue';\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '@/components/structured-list/structured-list.keys';\n import { BentoStructuredListLayoutOptions } from './structured-list.types';\n\n const props = withDefaults(\n defineProps<{\n /**\n * Width of the labels container, in pixels. Overrides layout prop.\n */\n labelsWidth?: number;\n /**\n * The layout of the label value pair in percentage.\n * If labelsWidth is set, layout will be overriden by the static pixel value.\n *\n * If the value entered is not listed in the example\n * list below '33-66' will be applied\n * @example\n * '25-75'\n * '33-66'\n * '42-58'\n * '50-50'\n */\n layout?: BentoStructuredListLayoutOptions;\n }>(),\n {\n labelsWidth: null,\n layout: '33-66',\n }\n );\n\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n\n const computedLayout = computed(() =>\n BentoStructuredListLayoutOptions.includes(props.layout) ? props.layout : '33-66'\n );\n\n const computedLabelsWidth = computed(() => {\n if (isCondensed) {\n return '130px';\n }\n\n if (props.labelsWidth) {\n return `${props.labelsWidth}px`;\n }\n\n return `${computedLayout.value.split('-')[0]}%`;\n });\n\n provide(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, computedLabelsWidth);\n</script>\n\n<script lang=\"ts\">\n /**\n * This is a list used to display pairs of information in a clear and organized manner.\n * `BentoStructureListItem` should be used to pass the label/value pairs to the list.\n *\n * @example\n * import { BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredList, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Payment\">\n * <bento-payment-method label=\"Klarna\" type=\"Klarna\" />\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\">\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\" :value=\"123456\" />\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list.scss\" />\n","<template>\n <div class=\"b-structured-list-item\" :class=\"conditionalClasses\">\n <dt class=\"b-structured-list-item__label\" :style=\"computedLabelStyle\">\n <bento-typography :variant=\"labelTypographyVariant\">{{ label }}</bento-typography>\n <bento-info-icon v-if=\"labelInfo\" class=\"b-structured-list-item__icon\" :tooltip-text=\"labelInfo\" />\n </dt>\n <dd class=\"b-structured-list-item__value\" :class=\"valueConditionalClasses\">\n <slot />\n <copy v-if=\"copy\" class=\"b-structured-list-item__icon\" :text=\"copy\" />\n <bento-button\n v-if=\"search\"\n v-bento-tooltip-directive:top=\"searchTooltip ? searchTooltip : t('search')\"\n class=\"b-structured-list-item__icon\"\n variant=\"tertiary\"\n @click=\"search\"\n >\n <template #iconLeft>\n <search-icon :svg-title=\"t('search')\" />\n </template>\n </bento-button>\n </dd>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, Ref } from 'vue';\n\n // Components\n import { BentoButton } from '@/components/button';\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography } from '@/components/typography';\n import Copy from '@/components/internal/copy/copy.vue';\n import SearchIcon from '@adyen/ui-assets-icons-16/vue/search';\n\n // Utils\n import { useI18n } from '@/utils/ts/i18n';\n\n // Directives\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n\n // Keys\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '../../structured-list.keys';\n\n import messages from '../../messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_LABELS_WIDTH = '33%';\n\n const props = defineProps<{\n /**\n * Label to display for the value\n */\n label: string;\n /**\n * Text to display in info icon tooltip in the label to display for the value\n */\n labelInfo?: string;\n /**\n * Text to copy when the user clicks `Copy` icon\n */\n copy?: string;\n /**\n * Function to trigger when user clicks `Search` icon\n */\n search?: (event: Event) => void;\n /**\n * Text to display when the user hovers over `Search` icon\n */\n searchTooltip?: string;\n /**\n * Truncates the value of the item\n */\n truncate?: boolean;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n const labelsWidth = inject<Ref<string>>(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, ref(DEFAULT_LABELS_WIDTH));\n const computedLabelStyle = computed(() => `flex-basis:${labelsWidth.value}`);\n const conditionalClasses = computed(() => ({\n 'b-structured-list-item--condensed': isCondensed,\n }));\n\n const valueConditionalClasses = computed(() => ({\n 'b-structured-list-item__value--truncate': props.truncate,\n }));\n\n const labelTypographyVariant = computed(() => (isCondensed ? 'caption' : 'body'));\n</script>\n\n<script lang=\"ts\">\n /**\n * This is an item of the `BentoStructuredList` meant to be used only with that component.\n * It consists of a label/value pair, and also the optional copy and search modifiers.\n *\n * @example\n * import { BentoCurrencyISOCode, BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredListItem, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Shopper\" search='searchShopper' search-tooltip='Find shopper'>\n * <bento-typography>\n * 143442642\n * </bento-status>\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\" copy='123456'>\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\" :value=\"123456\" />\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list-item.scss\" />\n"],"names":["STRUCTURED_LIST_CONDENSED_INJECTION_KEY","STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY","BentoStructuredListLayoutOptions","__default__$1","props","__props","isCondensed","inject","computedLayout","computed","computedLabelsWidth","provide","__default__","messages","DEFAULT_LABELS_WIDTH","t","useI18n","labelsWidth","ref","computedLabelStyle","conditionalClasses","valueConditionalClasses","labelTypographyVariant"],"mappings":";;;;;;;;;;;AAAa,MAAAA,IAAA,OAAA,+CAAA,GACAC,IAAA,OAAA,4CAAA,GCANC,IAAA,CAAA,SAAA,SAAA,SAAA,OAAA,uCCkFHC,IAAA,CAAA;;;;;;;;AArEA,UAAAC,IAAAC,GA0BAC,IAAAC,EAAAP,GAAA,EAAA,GAEAQ,IAAAC;AAAA,MAAuB,MAAAP,EAAA,SAAAE,EAAA,MAAA,IAAAA,EAAA,SAAA;AAAA,IACsD,GAG7EM,IAAAD,EAAA,MACIH,IACI,UAGJF,EAAA,cACI,GAAAA,EAAA,WAAA,OAGJ,GAAAI,EAAA,MAAA,MAAA,GAAA,EAAA,CAAA,CAAA,GAA4C;AAGhD,WAAAG,EAAAV,GAAAS,CAAA;;;;;;;;;;;;;;GC4DAE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;AAtEA,UAAAC,IAAA,OAEAV,IAAAC,GA2BA,EAAA,GAAAU,EAAA,IAAAC,EAAA,EAAA,UAAAH,EAAA,CAAA,GACAP,IAAAC,EAAAP,GAAA,EAAA,GACAiB,IAAAV,EAAAN,GAAAiB,EAAAJ,CAAA,CAAA,GACAK,IAAAV,EAAA,MAAA,cAAAQ,EAAA,KAAA,EAAA,GACAG,IAAAX,EAAA,OAAA;AAAA,MAA2C,qCAAAH;AAAA,IACF,EAAA,GAGzCe,IAAAZ,EAAA,OAAA;AAAA,MAAgD,2CAAAL,EAAA;AAAA,IACK,EAAA,GAGrDkB,IAAAb,EAAA,MAAAH,IAAA,YAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"structured-list-item.DNP6fkCb.js","sources":["../../../vue2/src/components/structured-list/structured-list.keys.ts","../../../vue2/src/components/structured-list/structured-list.types.ts","../../../vue2/src/components/structured-list/structured-list.vue","../../../vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue"],"sourcesContent":["export const STRUCTURED_LIST_CONDENSED_INJECTION_KEY = Symbol('structured list condensed style injection key');\nexport const STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY = Symbol('structured list labels width injection key');\n","export type BentoStructuredListLayoutOptions = '25-75' | '33-66' | '42-58' | '50-50';\nexport const BentoStructuredListLayoutOptions = ['25-75', '33-66', '42-58', '50-50'];\n","<template>\n <dl class=\"b-structured-list\">\n <slot />\n </dl>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, provide } from 'vue';\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '@/components/structured-list/structured-list.keys';\n import { BentoStructuredListLayoutOptions } from './structured-list.types';\n\n const props = withDefaults(\n defineProps<{\n /**\n * Width of the labels container, in pixels. Overrides layout prop.\n */\n labelsWidth?: number;\n /**\n * The layout of the label value pair in percentage.\n * If labelsWidth is set, layout will be overriden by the static pixel value.\n *\n * If the value entered is not listed in the example\n * list below '33-66' will be applied\n * @example\n * '25-75'\n * '33-66'\n * '42-58'\n * '50-50'\n */\n layout?: BentoStructuredListLayoutOptions;\n }>(),\n {\n labelsWidth: null,\n layout: '33-66',\n }\n );\n\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n\n const computedLayout = computed(() =>\n BentoStructuredListLayoutOptions.includes(props.layout) ? props.layout : '33-66'\n );\n\n const computedLabelsWidth = computed(() => {\n if (isCondensed) {\n return '130px';\n }\n\n if (props.labelsWidth) {\n return `${props.labelsWidth}px`;\n }\n\n return `${computedLayout.value.split('-')[0]}%`;\n });\n\n provide(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, computedLabelsWidth);\n</script>\n\n<script lang=\"ts\">\n /**\n * This is a list used to display pairs of information in a clear and organized manner.\n * `BentoStructureListItem` should be used to pass the label/value pairs to the list.\n *\n * @example\n * import { BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredList, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Payment\">\n * <bento-payment-method label=\"Klarna\" type=\"Klarna\" />\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\">\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\" :value=\"123456\" />\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list.scss\" />\n","<template>\n <div class=\"b-structured-list-item\" :class=\"conditionalClasses\">\n <dt class=\"b-structured-list-item__label\" :style=\"computedLabelStyle\">\n <bento-typography :variant=\"labelTypographyVariant\">{{ label }}</bento-typography>\n <bento-info-icon v-if=\"labelInfo\" class=\"b-structured-list-item__icon\" :tooltip-text=\"labelInfo\" />\n </dt>\n <dd class=\"b-structured-list-item__value\" :class=\"valueConditionalClasses\">\n <slot />\n <copy v-if=\"copy\" class=\"b-structured-list-item__icon\" :text=\"copy\" />\n <bento-button\n v-if=\"search\"\n v-bento-tooltip-directive:top=\"searchTooltip ? searchTooltip : t('search')\"\n class=\"b-structured-list-item__icon\"\n variant=\"tertiary\"\n @click=\"search\"\n >\n <template #iconLeft>\n <search-icon :svg-title=\"t('search')\" />\n </template>\n </bento-button>\n </dd>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, Ref } from 'vue';\n\n // Components\n import { BentoButton } from '@/components/button';\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography } from '@/components/typography';\n import Copy from '@/components/internal/copy/copy.vue';\n import SearchIcon from '@adyen/ui-assets-icons-16/vue/search';\n\n // Utils\n import { useI18n } from '@/utils/ts/i18n';\n\n // Directives\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n\n // Keys\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '../../structured-list.keys';\n\n import messages from '../../messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_LABELS_WIDTH = '33%';\n\n const props = defineProps<{\n /**\n * Label to display for the value\n */\n label: string;\n /**\n * Text to display in info icon tooltip in the label to display for the value\n */\n labelInfo?: string;\n /**\n * Text to copy when the user clicks `Copy` icon\n */\n copy?: string;\n /**\n * Function to trigger when user clicks `Search` icon\n */\n search?: (event: Event) => void;\n /**\n * Text to display when the user hovers over `Search` icon\n */\n searchTooltip?: string;\n /**\n * Truncates the value of the item\n */\n truncate?: boolean;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n const labelsWidth = inject<Ref<string>>(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, ref(DEFAULT_LABELS_WIDTH));\n const computedLabelStyle = computed(() => `flex-basis:${labelsWidth.value}`);\n const conditionalClasses = computed(() => ({\n 'b-structured-list-item--condensed': isCondensed,\n }));\n\n const valueConditionalClasses = computed(() => ({\n 'b-structured-list-item__value--truncate': props.truncate,\n }));\n\n const labelTypographyVariant = computed(() => (isCondensed ? 'caption' : 'body'));\n</script>\n\n<script lang=\"ts\">\n /**\n * This is an item of the `BentoStructuredList` meant to be used only with that component.\n * It consists of a label/value pair, and also the optional copy and search modifiers.\n *\n * @example\n * import { BentoCurrencyISOCode, BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredListItem, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Shopper\" search='searchShopper' search-tooltip='Find shopper'>\n * <bento-typography>\n * 143442642\n * </bento-status>\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\" copy='123456'>\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\" :value=\"123456\" />\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list-item.scss\" />\n"],"names":["STRUCTURED_LIST_CONDENSED_INJECTION_KEY","STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY","BentoStructuredListLayoutOptions","__default__$1","props","__props","isCondensed","inject","computedLayout","computed","computedLabelsWidth","provide","__default__","messages","DEFAULT_LABELS_WIDTH","t","useI18n","labelsWidth","ref","computedLabelStyle","conditionalClasses","valueConditionalClasses","labelTypographyVariant"],"mappings":";;;;;;;;;;;AAAa,MAAAA,IAAA,OAAA,+CAAA,GACAC,IAAA,OAAA,4CAAA,GCANC,IAAA,CAAA,SAAA,SAAA,SAAA,OAAA,uCCkFHC,IAAA,CAAA;;;;;;;;AArEA,UAAAC,IAAAC,GA0BAC,IAAAC,EAAAP,GAAA,EAAA,GAEAQ,IAAAC;AAAA,MAAuB,MAAAP,EAAA,SAAAE,EAAA,MAAA,IAAAA,EAAA,SAAA;AAAA,IACsD,GAG7EM,IAAAD,EAAA,MACIH,IACI,UAGJF,EAAA,cACI,GAAAA,EAAA,WAAA,OAGJ,GAAAI,EAAA,MAAA,MAAA,GAAA,EAAA,CAAA,CAAA,GAA4C;AAGhD,WAAAG,EAAAV,GAAAS,CAAA;;;;;;;;;;;;;;GC4DAE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;AAtEA,UAAAC,IAAA,OAEAV,IAAAC,GA2BA,EAAA,GAAAU,EAAA,IAAAC,EAAA,EAAA,UAAAH,EAAA,CAAA,GACAP,IAAAC,EAAAP,GAAA,EAAA,GACAiB,IAAAV,EAAAN,GAAAiB,EAAAJ,CAAA,CAAA,GACAK,IAAAV,EAAA,MAAA,cAAAQ,EAAA,KAAA,EAAA,GACAG,IAAAX,EAAA,OAAA;AAAA,MAA2C,qCAAAH;AAAA,IACF,EAAA,GAGzCe,IAAAZ,EAAA,OAAA;AAAA,MAAgD,2CAAAL,EAAA;AAAA,IACK,EAAA,GAGrDkB,IAAAb,EAAA,MAAAH,IAAA,YAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,10 +3,10 @@ import { u as k } from "./use-has-slot.B7eQSabc.js";
3
3
  import { S as q } from "./summary-grid.keys.BBbFrFGF.js";
4
4
  import { G as U } from "./grid-layout.CqLbbEzI.js";
5
5
  import { _ as T } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
- import { B as Y } from "./info-icon.CUC0fwLb.js";
6
+ import { B as Y } from "./info-icon.B6QPdxPi.js";
7
7
  import { B as W, a as V } from "./typography.DNzU41ah.js";
8
- import { B as X, a as L } from "./tag.xvqrfTwk.js";
9
- import { C as F } from "./copy.CnzLQyvJ.js";
8
+ import { B as X, a as L } from "./tag.bo9YuJ9f.js";
9
+ import { C as F } from "./copy.CT8wuwho.js";
10
10
  import "../assets/summary-grid-item-custom.css";
11
11
  const H = S({
12
12
  name: "bento-summary-grid",
@@ -717,4 +717,4 @@ export {
717
717
  o as f,
718
718
  _e as s
719
719
  };
720
- //# sourceMappingURL=summary-grid-item-custom.FxBnzHzb.js.map
720
+ //# sourceMappingURL=summary-grid-item-custom.Dm2rULoZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"summary-grid-item-custom.FxBnzHzb.js","sources":["../../../vue2/src/components/summary-grid/summary-grid.vue","../../../vue2/src/components/summary-grid/summary-grid.types.ts","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.ts","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType, provide } from 'vue';\n import { BentoSummaryGridColumnWidth, BentoSummaryGridLayout } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { useHasSlot } from '@/composables';\n import { SUMMARY_GRID_LAYOUT_INJECTION_KEY } from '@/components/summary-grid/summary-grid.keys';\n\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid',\n components: { GridLayout },\n props: {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth: {\n type: Object as PropType<BentoSummaryGridColumnWidth>,\n default: null,\n },\n },\n\n setup(_props, { slots }) {\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n }\n\n const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => {\n const isSummaryGridLayout = true;\n\n return { isSummaryGridLayout };\n };\n\n provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid);\n\n return {\n hasSlot: useHasSlot(slots),\n numberOfRows,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","import { GridLayoutColumnWidths } from '@/components/internal/grid-layout/grid-layout.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: GridLayoutColumnWidths;\n row2?: GridLayoutColumnWidths;\n row3?: GridLayoutColumnWidths;\n}\n\nexport type BentoSummaryGridLayout = () => {\n isSummaryGridLayout: boolean;\n};\n","/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum SummaryGridItemType {\n AMOUNT = 'amount',\n PERCENTAGE = 'percentage',\n NUMERIC = 'numeric',\n TEXT = 'text',\n CUSTOM = 'custom',\n}\n","<template>\n <div class=\"b-summary-grid-item\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography class=\"b-summary-grid-item__title\" el=\"span\" variant=\"body\">\n {{ title }}\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n tooltip-position=\"top\"\n class=\"b-summary-grid-item__title-tooltip\"\n />\n </div>\n </div>\n <bento-typography\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n el=\"span\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== 'text'\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('secondary')\"\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n el=\"span\"\n variant=\"caption\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, toRefs } from 'vue';\n\n // Components\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, BentoTagVariant } from '@/components/tag';\n import { Copy } from '@/internal';\n\n // Utils\n import { useHasSlot } from '@/composables';\n\n // Types\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItemType } from './summary-grid-item.types';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'summary-grid-item',\n components: { BentoInfoIcon, BentoTypography, BentoTag, Copy },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Applies styling based on content type\n */\n // TODO add text truncation for SummaryGridItemType.TEXT\n itemType: {\n type: String as PropType<SummaryGridItemType | `${SummaryGridItemType}`>,\n default: SummaryGridItemType.CUSTOM,\n validator: (value: SummaryGridItemType) => Object.values(SummaryGridItemType).includes(value),\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n\n // amount, percentage and numeric props\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n // TODO implement logic for Large size\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Shows colored trend tag next to secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of secondary trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n },\n setup(props, { slots }) {\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n\n const tagVariantColor = direction => {\n switch (direction) {\n case BentoSummaryGridItemTrendDirection.POSITIVE:\n return BentoTagVariant.GREEN;\n case BentoSummaryGridItemTrendDirection.NEGATIVE:\n return BentoTagVariant.RED;\n default:\n return BentoTagVariant.BLUE;\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const typographyContentElement = computed(() => {\n if (size.value === BentoSummaryGridItemSize.SMALL) {\n return BentoTypographyVariant.BODY;\n }\n if (itemType.value !== SummaryGridItemType.TEXT) {\n return BentoTypographyVariant.TITLE;\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === BentoSummaryGridItemSize.LARGE,\n strongest: size.value === BentoSummaryGridItemSize.SMALL,\n wide: size.value === BentoSummaryGridItemSize.SMALL,\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const summaryBarItemTrendConditionalClasses = computed(() => ({\n [`b-summary-grid-item__content-trend--${props.trend}`]: props.trend,\n }));\n\n return {\n // Values\n trendVariant,\n secondaryTrendVariant,\n typographyProps,\n\n // Styles\n computedStyles,\n summaryBarItemTrendConditionalClasses,\n\n // Utils\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"amount\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-amount\"\n >\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-amount',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n\n /**\n * Adds additional label next to amount content\n */\n secondaryLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Shows colored trend label next to main label\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"numeric\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-numeric\"\n >\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-numeric',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to main numeric content\n */\n trend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n item-type=\"percentage\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-percentage\"\n >\n {{ label }}%\n <template v-if=\"secondaryMetric\" #secondary> {{ secondaryMetric }}% </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-percentage',\n components: { SummaryGridItem },\n props: {\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n item-type=\"text\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n class=\"b-summary-grid-item-text\"\n >\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-text',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n @copy-to-clipoard=\"$emit('copy-to-clipboard')\"\n >\n <slot />\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import SummaryGridItem from '../summary-grid-item/summary-grid-item.vue';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-custom',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n },\n emits: ['copy-to-clipboard'],\n });\n</script>\n"],"names":["_sfc_main$6","defineComponent","GridLayout","_props","slots","numberOfRows","slotRows","_b","_a","slotName","provide","SUMMARY_GRID_LAYOUT_INJECTION_KEY","useHasSlot","openBlock","createElementBlock","_hoisted_1$2","Fragment","renderList","_ctx","index","createBlock","_component_grid_layout","columnWidth","createSlots","withCtx","renderSlot","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2","SummaryGridItemType","SummaryGridItemType2","_sfc_main$5","BentoInfoIcon","BentoTypography","BentoTag","Copy","value","props","trendDirection","secondaryTrendDirection","itemType","size","toRefs","tagVariantColor","direction","BentoTagVariant","trendVariant","computed","secondaryTrendVariant","typographyContentElement","BentoTypographyVariant","typographyProps","computedStyles","summaryBarItemTrendConditionalClasses","normalizeStyle","createVNode","_component_bento_typography","createTextVNode","toDisplayString","_component_copy","createCommentVNode","_component_bento_info_icon","_component_bento_tag","hasSlot","_sfc_main$4","SummaryGridItem","_hoisted_1","_component_summary_grid_item","resolveComponent","title","createElementVNode","_hoisted_2","secondaryMetric","_sfc_main$3","_sfc_main$2","_sfc_main$1","_sfc_main","copy","_cache","$event"],"mappings":";;;;;;;;;;AA2DI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA,EAAA,YAAAC,EAAA;AAAA,EACmB,OAAA;AAA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AAA,IACvB,eAAAA,EAAA;AAAA,IANT,kBAAA6D,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA,CAAAC,MAAA9D,EAAA,MAAA,mBAAA;AAAA,EAQgB,GAAA;AAAA;MARhBO,EAAAP,EAAA,QAAA,SAAA;AAAA,IAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"summary-grid-item-custom.Dm2rULoZ.js","sources":["../../../vue2/src/components/summary-grid/summary-grid.vue","../../../vue2/src/components/summary-grid/summary-grid.types.ts","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.ts","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType, provide } from 'vue';\n import { BentoSummaryGridColumnWidth, BentoSummaryGridLayout } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { useHasSlot } from '@/composables';\n import { SUMMARY_GRID_LAYOUT_INJECTION_KEY } from '@/components/summary-grid/summary-grid.keys';\n\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid',\n components: { GridLayout },\n props: {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth: {\n type: Object as PropType<BentoSummaryGridColumnWidth>,\n default: null,\n },\n },\n\n setup(_props, { slots }) {\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n }\n\n const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => {\n const isSummaryGridLayout = true;\n\n return { isSummaryGridLayout };\n };\n\n provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid);\n\n return {\n hasSlot: useHasSlot(slots),\n numberOfRows,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","import { GridLayoutColumnWidths } from '@/components/internal/grid-layout/grid-layout.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: GridLayoutColumnWidths;\n row2?: GridLayoutColumnWidths;\n row3?: GridLayoutColumnWidths;\n}\n\nexport type BentoSummaryGridLayout = () => {\n isSummaryGridLayout: boolean;\n};\n","/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum SummaryGridItemType {\n AMOUNT = 'amount',\n PERCENTAGE = 'percentage',\n NUMERIC = 'numeric',\n TEXT = 'text',\n CUSTOM = 'custom',\n}\n","<template>\n <div class=\"b-summary-grid-item\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography class=\"b-summary-grid-item__title\" el=\"span\" variant=\"body\">\n {{ title }}\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n tooltip-position=\"top\"\n class=\"b-summary-grid-item__title-tooltip\"\n />\n </div>\n </div>\n <bento-typography\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n el=\"span\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== 'text'\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('secondary')\"\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n el=\"span\"\n variant=\"caption\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, toRefs } from 'vue';\n\n // Components\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, BentoTagVariant } from '@/components/tag';\n import { Copy } from '@/internal';\n\n // Utils\n import { useHasSlot } from '@/composables';\n\n // Types\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItemType } from './summary-grid-item.types';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'summary-grid-item',\n components: { BentoInfoIcon, BentoTypography, BentoTag, Copy },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Applies styling based on content type\n */\n // TODO add text truncation for SummaryGridItemType.TEXT\n itemType: {\n type: String as PropType<SummaryGridItemType | `${SummaryGridItemType}`>,\n default: SummaryGridItemType.CUSTOM,\n validator: (value: SummaryGridItemType) => Object.values(SummaryGridItemType).includes(value),\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n\n // amount, percentage and numeric props\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n // TODO implement logic for Large size\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Shows colored trend tag next to secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of secondary trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n },\n setup(props, { slots }) {\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n\n const tagVariantColor = direction => {\n switch (direction) {\n case BentoSummaryGridItemTrendDirection.POSITIVE:\n return BentoTagVariant.GREEN;\n case BentoSummaryGridItemTrendDirection.NEGATIVE:\n return BentoTagVariant.RED;\n default:\n return BentoTagVariant.BLUE;\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const typographyContentElement = computed(() => {\n if (size.value === BentoSummaryGridItemSize.SMALL) {\n return BentoTypographyVariant.BODY;\n }\n if (itemType.value !== SummaryGridItemType.TEXT) {\n return BentoTypographyVariant.TITLE;\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === BentoSummaryGridItemSize.LARGE,\n strongest: size.value === BentoSummaryGridItemSize.SMALL,\n wide: size.value === BentoSummaryGridItemSize.SMALL,\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const summaryBarItemTrendConditionalClasses = computed(() => ({\n [`b-summary-grid-item__content-trend--${props.trend}`]: props.trend,\n }));\n\n return {\n // Values\n trendVariant,\n secondaryTrendVariant,\n typographyProps,\n\n // Styles\n computedStyles,\n summaryBarItemTrendConditionalClasses,\n\n // Utils\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"amount\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-amount\"\n >\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-amount',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n\n /**\n * Adds additional label next to amount content\n */\n secondaryLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Shows colored trend label next to main label\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"numeric\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-numeric\"\n >\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-numeric',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to main numeric content\n */\n trend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n item-type=\"percentage\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-percentage\"\n >\n {{ label }}%\n <template v-if=\"secondaryMetric\" #secondary> {{ secondaryMetric }}% </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-percentage',\n components: { SummaryGridItem },\n props: {\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n validator: (value: BentoSummaryGridItemTrendDirection) =>\n Object.values(BentoSummaryGridItemTrendDirection).includes(value),\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`>,\n default: BentoSummaryGridItemSize.SMALL,\n validator: (value: BentoSummaryGridItemSize) => Object.values(BentoSummaryGridItemSize).includes(value),\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n item-type=\"text\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n class=\"b-summary-grid-item-text\"\n >\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import { SummaryGridItem } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-text',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n @copy-to-clipoard=\"$emit('copy-to-clipboard')\"\n >\n <slot />\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import SummaryGridItem from '../summary-grid-item/summary-grid-item.vue';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-custom',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n },\n emits: ['copy-to-clipboard'],\n });\n</script>\n"],"names":["_sfc_main$6","defineComponent","GridLayout","_props","slots","numberOfRows","slotRows","_b","_a","slotName","provide","SUMMARY_GRID_LAYOUT_INJECTION_KEY","useHasSlot","openBlock","createElementBlock","_hoisted_1$2","Fragment","renderList","_ctx","index","createBlock","_component_grid_layout","columnWidth","createSlots","withCtx","renderSlot","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2","SummaryGridItemType","SummaryGridItemType2","_sfc_main$5","BentoInfoIcon","BentoTypography","BentoTag","Copy","value","props","trendDirection","secondaryTrendDirection","itemType","size","toRefs","tagVariantColor","direction","BentoTagVariant","trendVariant","computed","secondaryTrendVariant","typographyContentElement","BentoTypographyVariant","typographyProps","computedStyles","summaryBarItemTrendConditionalClasses","normalizeStyle","createVNode","_component_bento_typography","createTextVNode","toDisplayString","_component_copy","createCommentVNode","_component_bento_info_icon","_component_bento_tag","hasSlot","_sfc_main$4","SummaryGridItem","_hoisted_1","_component_summary_grid_item","resolveComponent","title","createElementVNode","_hoisted_2","secondaryMetric","_sfc_main$3","_sfc_main$2","_sfc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