@adyen/bento-vue3 1.27.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (578) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +91 -0
  3. package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +2 -0
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +65 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +1 -0
  9. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +38 -42
  10. package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +2 -2
  11. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
  12. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +59 -85
  13. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +3 -0
  14. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +48 -80
  15. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +19 -16
  16. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  17. package/dist/accordion.js +3 -125
  18. package/dist/accordion.js.map +1 -1
  19. package/dist/action-bar.js +2 -186
  20. package/dist/action-bar.js.map +1 -1
  21. package/dist/alert.js +5 -181
  22. package/dist/alert.js.map +1 -1
  23. package/dist/assets/{index2.css → accordion-item.css} +1 -1
  24. package/dist/assets/{index5.css → action-bar.css} +1 -1
  25. package/dist/assets/base-modal.css +1 -1
  26. package/dist/assets/button.css +1 -1
  27. package/dist/assets/{index18.css → card.css} +1 -1
  28. package/dist/assets/checkbox-input.css +1 -1
  29. package/dist/assets/{index39.css → dashboard-section.css} +1 -1
  30. package/dist/assets/dashed-underline.css +1 -0
  31. package/dist/assets/{index49.css → data-grid-template.css} +1 -1
  32. package/dist/assets/{index21.css → data-grid.css} +1 -1
  33. package/dist/assets/dialog-page.css +1 -1
  34. package/dist/assets/dropdown-default-textbox.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/filter-bar.css +1 -0
  37. package/dist/assets/link.css +1 -0
  38. package/dist/assets/listbox-option-tag.css +1 -1
  39. package/dist/assets/{index10.css → menu.css} +1 -1
  40. package/dist/assets/{index11.css → modal-fullscreen.css} +1 -1
  41. package/dist/assets/{index17.css → popover.css} +1 -1
  42. package/dist/assets/radio-input.css +1 -1
  43. package/dist/assets/segmented-control.css +1 -0
  44. package/dist/assets/selection-card-group.css +1 -0
  45. package/dist/assets/{index38.css → sidepanel.css} +1 -1
  46. package/dist/assets/status.css +1 -0
  47. package/dist/assets/toggle.css +1 -0
  48. package/dist/assets/tutorial.css +1 -0
  49. package/dist/avatar-image.js +1 -1
  50. package/dist/badge.js +13 -14
  51. package/dist/badge.js.map +1 -1
  52. package/dist/button.js +14 -89
  53. package/dist/button.js.map +1 -1
  54. package/dist/card.js +4 -203
  55. package/dist/card.js.map +1 -1
  56. package/dist/checkbox.js +8 -194
  57. package/dist/checkbox.js.map +1 -1
  58. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  59. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  60. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  61. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  62. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  63. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  64. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  65. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  66. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  67. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  68. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  69. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  70. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  71. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  72. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  73. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  74. package/dist/chunks/{_plugin-vue_export-helper.dad06003.js → _plugin-vue_export-helper.CHgC5LLL.js} +1 -1
  75. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
  76. package/dist/chunks/accordion-item.BcfGYvjn.js +126 -0
  77. package/dist/chunks/accordion-item.BcfGYvjn.js.map +1 -0
  78. package/dist/chunks/action-bar.BvAtk-jI.js +188 -0
  79. package/dist/chunks/action-bar.BvAtk-jI.js.map +1 -0
  80. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  81. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  82. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  83. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  84. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  85. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  86. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  87. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  88. package/dist/chunks/alert.C0gIf7Ka.js +162 -0
  89. package/dist/chunks/alert.C0gIf7Ka.js.map +1 -0
  90. package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
  91. package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
  92. package/dist/chunks/avatar-image.DO4w_loj.js +61 -0
  93. package/dist/chunks/avatar-image.DO4w_loj.js.map +1 -0
  94. package/dist/chunks/{base-button.a0140a4c.js → base-button.ewkxHD6W.js} +24 -25
  95. package/dist/chunks/{base-button.a0140a4c.js.map → base-button.ewkxHD6W.js.map} +1 -1
  96. package/dist/chunks/{base-modal.4102f69d.js → base-modal.BgYlnM_Q.js} +81 -83
  97. package/dist/chunks/{base-modal.4102f69d.js.map → base-modal.BgYlnM_Q.js.map} +1 -1
  98. package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
  99. package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
  100. package/dist/chunks/{button-actions-with-menu.4f311411.js → button-actions-with-menu.C14zvgVo.js} +14 -15
  101. package/dist/chunks/{button-actions-with-menu.4f311411.js.map → button-actions-with-menu.C14zvgVo.js.map} +1 -1
  102. package/dist/chunks/{button-actions.82163994.js → button-actions.hGhRdgC2.js} +32 -33
  103. package/dist/chunks/{button-actions.82163994.js.map → button-actions.hGhRdgC2.js.map} +1 -1
  104. package/dist/chunks/{button.ae4760cd.js → button.DoqHEvPh.js} +34 -35
  105. package/dist/chunks/{button.ae4760cd.js.map → button.DoqHEvPh.js.map} +1 -1
  106. package/dist/chunks/{calendar.a9c5a68c.js → calendar.CwULNbSL.js} +285 -326
  107. package/dist/chunks/{calendar.a9c5a68c.js.map → calendar.CwULNbSL.js.map} +1 -1
  108. package/dist/chunks/card.C7zLKdcy.js +205 -0
  109. package/dist/chunks/card.C7zLKdcy.js.map +1 -0
  110. package/dist/chunks/checkbox-group.BcT-eZ2p.js +192 -0
  111. package/dist/chunks/checkbox-group.BcT-eZ2p.js.map +1 -0
  112. package/dist/chunks/{checkbox-input.99336948.js → checkbox-input.CR1lHf7f.js} +43 -43
  113. package/dist/chunks/{checkbox-input.99336948.js.map → checkbox-input.CR1lHf7f.js.map} +1 -1
  114. package/dist/chunks/{checkbox.9c30c07b.js → checkbox.xjIFibII.js} +38 -39
  115. package/dist/chunks/{checkbox.9c30c07b.js.map → checkbox.xjIFibII.js.map} +1 -1
  116. package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +44 -0
  117. package/dist/chunks/{checkmark-circle-fill.c45a999d.js.map → checkmark-circle-fill.D29b-JWj.js.map} +1 -1
  118. package/dist/chunks/{checkmark-small.c79220d9.js → checkmark-small.BCeGkayS.js} +9 -9
  119. package/dist/chunks/{checkmark-small.c79220d9.js.map → checkmark-small.BCeGkayS.js.map} +1 -1
  120. package/dist/chunks/{chevron-left.4ee92950.js → chevron-left.4JHuWe7i.js} +17 -17
  121. package/dist/chunks/{chevron-left.4ee92950.js.map → chevron-left.4JHuWe7i.js.map} +1 -1
  122. package/dist/chunks/{chevron-up.638a9f34.js → chevron-up.5-KtIp8i.js} +18 -18
  123. package/dist/chunks/{chevron-up.638a9f34.js.map → chevron-up.5-KtIp8i.js.map} +1 -1
  124. package/dist/chunks/click-outside.DABh6NLr.js +23 -0
  125. package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
  126. package/dist/chunks/code-snippet.e8bxDBCO.js +1052 -0
  127. package/dist/chunks/code-snippet.e8bxDBCO.js.map +1 -0
  128. package/dist/chunks/{controls-group.8357e3fd.js → controls-group.DWu8NqKL.js} +17 -18
  129. package/dist/chunks/{controls-group.8357e3fd.js.map → controls-group.DWu8NqKL.js.map} +1 -1
  130. package/dist/chunks/{copy.60ee6ac3.js → copy.BhO7oRgC.js} +39 -40
  131. package/dist/chunks/{copy.60ee6ac3.js.map → copy.BhO7oRgC.js.map} +1 -1
  132. package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
  133. package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
  134. package/dist/chunks/country.vX94O3uR.js +98 -0
  135. package/dist/chunks/country.vX94O3uR.js.map +1 -0
  136. package/dist/chunks/{cross-circle-fill.1abec1a2.js → cross-circle-fill.vLaelNTN.js} +11 -11
  137. package/dist/chunks/{cross-circle-fill.1abec1a2.js.map → cross-circle-fill.vLaelNTN.js.map} +1 -1
  138. package/dist/chunks/cross-small.48UCoOqB.js +29 -0
  139. package/dist/chunks/{cross-small.b85406fe.js.map → cross-small.48UCoOqB.js.map} +1 -1
  140. package/dist/chunks/cross.BlL0FyHo.js +29 -0
  141. package/dist/chunks/{cross.26509efc.js.map → cross.BlL0FyHo.js.map} +1 -1
  142. package/dist/chunks/currency.CgVd9fQN.js +121 -0
  143. package/dist/chunks/currency.CgVd9fQN.js.map +1 -0
  144. package/dist/chunks/dashboard-section.DKeDjvkB.js +167 -0
  145. package/dist/chunks/dashboard-section.DKeDjvkB.js.map +1 -0
  146. package/dist/chunks/dashed-underline.DGTW7Y_-.js +79 -0
  147. package/dist/chunks/dashed-underline.DGTW7Y_-.js.map +1 -0
  148. package/dist/chunks/data-grid-template.6Nls-D4o.js +89 -0
  149. package/dist/chunks/data-grid-template.6Nls-D4o.js.map +1 -0
  150. package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
  151. package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
  152. package/dist/chunks/data-grid.BwfZhc09.js +2733 -0
  153. package/dist/chunks/data-grid.BwfZhc09.js.map +1 -0
  154. package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
  155. package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
  156. package/dist/chunks/date-picker.CoPmllNh.js +273 -0
  157. package/dist/chunks/date-picker.CoPmllNh.js.map +1 -0
  158. package/dist/chunks/{index.2d7b4511.js → date-range-picker.CiwDo2jW.js} +217 -219
  159. package/dist/chunks/date-range-picker.CiwDo2jW.js.map +1 -0
  160. package/dist/chunks/{index.f9d081d2.js → date.2ndGvIGE.js} +36 -41
  161. package/dist/chunks/date.2ndGvIGE.js.map +1 -0
  162. package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
  163. package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
  164. package/dist/chunks/{dialog-page.cb6ce9b6.js → dialog-page.BLqqR73w.js} +48 -49
  165. package/dist/chunks/{dialog-page.cb6ce9b6.js.map → dialog-page.BLqqR73w.js.map} +1 -1
  166. package/dist/chunks/divider.CnwfddJD.js +22 -0
  167. package/dist/chunks/divider.CnwfddJD.js.map +1 -0
  168. package/dist/chunks/{dropdown-default-textbox.cda0798f.js → dropdown-default-textbox.-Oy2eT40.js} +75 -77
  169. package/dist/chunks/{dropdown-default-textbox.cda0798f.js.map → dropdown-default-textbox.-Oy2eT40.js.map} +1 -1
  170. package/dist/chunks/dropdown-tag.C-LxVWlt.js +201 -0
  171. package/dist/chunks/dropdown-tag.C-LxVWlt.js.map +1 -0
  172. package/dist/chunks/{dropdown.0ae3b842.js → dropdown.CxBlK83Q.js} +237 -239
  173. package/dist/chunks/dropdown.CxBlK83Q.js.map +1 -0
  174. package/dist/chunks/empty-state.BBxgpI-D.js +185 -0
  175. package/dist/chunks/empty-state.BBxgpI-D.js.map +1 -0
  176. package/dist/chunks/{error-message.d2bdeb80.js → error-message.DyjHMyEZ.js} +30 -32
  177. package/dist/chunks/{error-message.d2bdeb80.js.map → error-message.DyjHMyEZ.js.map} +1 -1
  178. package/dist/chunks/events.CMzGybJJ.js +47 -0
  179. package/dist/chunks/{events.f14a214b.js.map → events.CMzGybJJ.js.map} +1 -1
  180. package/dist/chunks/filter-bar.U2ZcPmSU.js +2775 -0
  181. package/dist/chunks/filter-bar.U2ZcPmSU.js.map +1 -0
  182. package/dist/chunks/{fixed-scroller.7b42cb1e.js → fixed-scroller.DV7HtKDr.js} +20 -21
  183. package/dist/chunks/{fixed-scroller.7b42cb1e.js.map → fixed-scroller.DV7HtKDr.js.map} +1 -1
  184. package/dist/chunks/{index.9d7fb316.js → focus-trap.CwkbHfT8.js} +20 -20
  185. package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -0
  186. package/dist/chunks/{footer-actions.64f6f5d8.js → footer-actions.D9nQFagi.js} +20 -21
  187. package/dist/chunks/{footer-actions.64f6f5d8.js.map → footer-actions.D9nQFagi.js.map} +1 -1
  188. package/dist/chunks/form-layout-title.4Gz8-dJv.js +204 -0
  189. package/dist/chunks/form-layout-title.4Gz8-dJv.js.map +1 -0
  190. package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
  191. package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
  192. package/dist/chunks/{get-slot-text.bead058f.js → get-slot-text.D5WBGjic.js} +1 -1
  193. package/dist/chunks/{get-slot-text.bead058f.js.map → get-slot-text.D5WBGjic.js.map} +1 -1
  194. package/dist/chunks/{grid-layout.c2fe3057.js → grid-layout.CqLbbEzI.js} +15 -15
  195. package/dist/chunks/{grid-layout.c2fe3057.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
  196. package/dist/chunks/header.Cr7115vM.js +307 -0
  197. package/dist/chunks/header.Cr7115vM.js.map +1 -0
  198. package/dist/chunks/{i18n.f7e6533e.js → i18n.DY5YXG5f.js} +46 -89
  199. package/dist/chunks/{i18n.f7e6533e.js.map → i18n.DY5YXG5f.js.map} +1 -1
  200. package/dist/chunks/image.0KzfycGE.js +78 -0
  201. package/dist/chunks/image.0KzfycGE.js.map +1 -0
  202. package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
  203. package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
  204. package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
  205. package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
  206. package/dist/chunks/{index.fedbb4c2.js → index.Dytpif0G.js} +2 -2
  207. package/dist/chunks/{index.fedbb4c2.js.map → index.Dytpif0G.js.map} +1 -1
  208. package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
  209. package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
  210. package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
  211. package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
  212. package/dist/chunks/info-icon.DvL1e5Iu.js +45 -0
  213. package/dist/chunks/info-icon.DvL1e5Iu.js.map +1 -0
  214. package/dist/chunks/{info.550f9511.js → info.CNegCnli.js} +16 -16
  215. package/dist/chunks/{info.550f9511.js.map → info.CNegCnli.js.map} +1 -1
  216. package/dist/chunks/input-field.iH1ICJkQ.js +344 -0
  217. package/dist/chunks/input-field.iH1ICJkQ.js.map +1 -0
  218. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  219. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  220. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  221. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  222. package/dist/chunks/{keyboard-navigation.bbc3d15c.js → keyboard-navigation.Clz1jOaA.js} +2 -2
  223. package/dist/chunks/{keyboard-navigation.bbc3d15c.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
  224. package/dist/chunks/link.DeNN3Amu.js +111 -0
  225. package/dist/chunks/link.DeNN3Amu.js.map +1 -0
  226. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js +94 -0
  227. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js.map +1 -0
  228. package/dist/chunks/{loading-button.6b81b546.js → loading-button.BI32pZiW.js} +19 -20
  229. package/dist/chunks/{loading-button.6b81b546.js.map → loading-button.BI32pZiW.js.map} +1 -1
  230. package/dist/chunks/loading-indicator.BFMEf39U.js +44 -0
  231. package/dist/chunks/loading-indicator.BFMEf39U.js.map +1 -0
  232. package/dist/chunks/{index.6bb6f38c.js → menu.DN-xhDQU.js} +80 -82
  233. package/dist/chunks/menu.DN-xhDQU.js.map +1 -0
  234. package/dist/chunks/modal-fullscreen.CeogBGfr.js +264 -0
  235. package/dist/chunks/modal-fullscreen.CeogBGfr.js.map +1 -0
  236. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
  237. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
  238. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js +495 -0
  239. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js.map +1 -0
  240. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  241. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  242. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  243. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  244. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  245. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  246. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  247. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  248. package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
  249. package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
  250. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  251. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  252. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  253. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  254. package/dist/chunks/pagination.BwG1MF4j.js +633 -0
  255. package/dist/chunks/pagination.BwG1MF4j.js.map +1 -0
  256. package/dist/chunks/{payment-method.d5595a7c.js → payment-method.NCItxw1D.js} +26 -27
  257. package/dist/chunks/{payment-method.d5595a7c.js.map → payment-method.NCItxw1D.js.map} +1 -1
  258. package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
  259. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
  260. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  261. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  262. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  263. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  264. package/dist/chunks/{index.a001a0a8.js → popover.DRb2GW7t.js} +48 -49
  265. package/dist/chunks/popover.DRb2GW7t.js.map +1 -0
  266. package/dist/chunks/{index.6295e754.js → popper-container.B76aE-3-.js} +180 -182
  267. package/dist/chunks/popper-container.B76aE-3-.js.map +1 -0
  268. package/dist/chunks/radio-group.B9HCffiZ.js +296 -0
  269. package/dist/chunks/radio-group.B9HCffiZ.js.map +1 -0
  270. package/dist/chunks/{radio-input.1dd15424.js → radio-input.BEzK-fgR.js} +13 -14
  271. package/dist/chunks/radio-input.BEzK-fgR.js.map +1 -0
  272. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  273. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  274. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  275. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  276. package/dist/chunks/{refresh.bd60f6a8.js → refresh.BfxRdaQb.js} +12 -12
  277. package/dist/chunks/{refresh.bd60f6a8.js.map → refresh.BfxRdaQb.js.map} +1 -1
  278. package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
  279. package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
  280. package/dist/chunks/search-bar.DxskyM4e.js +107 -0
  281. package/dist/chunks/search-bar.DxskyM4e.js.map +1 -0
  282. package/dist/chunks/{search.ade93bda.js → search.0lh99z1F.js} +15 -15
  283. package/dist/chunks/{search.ade93bda.js.map → search.0lh99z1F.js.map} +1 -1
  284. package/dist/chunks/secondary-nav.D66nxbU-.js +112 -0
  285. package/dist/chunks/secondary-nav.D66nxbU-.js.map +1 -0
  286. package/dist/chunks/segmented-control.NnFfAdTq.js +142 -0
  287. package/dist/chunks/segmented-control.NnFfAdTq.js.map +1 -0
  288. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  289. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  290. package/dist/chunks/selection-card-group.C-YLePO4.js +385 -0
  291. package/dist/chunks/selection-card-group.C-YLePO4.js.map +1 -0
  292. package/dist/chunks/sidepanel.B-LtA15e.js +230 -0
  293. package/dist/chunks/sidepanel.B-LtA15e.js.map +1 -0
  294. package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
  295. package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
  296. package/dist/chunks/status.types.Bqdcr1WO.js +42 -0
  297. package/dist/chunks/status.types.Bqdcr1WO.js.map +1 -0
  298. package/dist/chunks/step.CVoaYmVZ.js +284 -0
  299. package/dist/chunks/step.CVoaYmVZ.js.map +1 -0
  300. package/dist/chunks/structured-list-item.DQiPKhOI.js +101 -0
  301. package/dist/chunks/structured-list-item.DQiPKhOI.js.map +1 -0
  302. package/dist/chunks/success.DhioLvPD.js +5 -0
  303. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  304. package/dist/chunks/success.nNwxJRBS.js +5 -0
  305. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  306. package/dist/chunks/summary-grid-item-custom.B941Kdvq.js +720 -0
  307. package/dist/chunks/summary-grid-item-custom.B941Kdvq.js.map +1 -0
  308. package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
  309. package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
  310. package/dist/chunks/tabs.TNKpNgTM.js +185 -0
  311. package/dist/chunks/tabs.TNKpNgTM.js.map +1 -0
  312. package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
  313. package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
  314. package/dist/chunks/tag.CPhtHjDD.js +75 -0
  315. package/dist/chunks/tag.CPhtHjDD.js.map +1 -0
  316. package/dist/chunks/{teleport.afeb4c3b.js → teleport.L8qFCYpr.js} +20 -21
  317. package/dist/chunks/{teleport.afeb4c3b.js.map → teleport.L8qFCYpr.js.map} +1 -1
  318. package/dist/chunks/textarea.CJ8xiMjv.js +288 -0
  319. package/dist/chunks/textarea.CJ8xiMjv.js.map +1 -0
  320. package/dist/chunks/timeline-item.Cap9MXkH.js +531 -0
  321. package/dist/chunks/timeline-item.Cap9MXkH.js.map +1 -0
  322. package/dist/chunks/toast.Bwo57uNy.js +215 -0
  323. package/dist/chunks/toast.Bwo57uNy.js.map +1 -0
  324. package/dist/chunks/toggle-button.q9F2dsIi.js +79 -0
  325. package/dist/chunks/toggle-button.q9F2dsIi.js.map +1 -0
  326. package/dist/chunks/toggle.DmTjGY0a.js +161 -0
  327. package/dist/chunks/toggle.DmTjGY0a.js.map +1 -0
  328. package/dist/chunks/{tooltip.36172265.js → tooltip.CTR3s-Rm.js} +60 -61
  329. package/dist/chunks/tooltip.CTR3s-Rm.js.map +1 -0
  330. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js +408 -0
  331. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map +1 -0
  332. package/dist/chunks/typography.D7onlQ9v.js +73 -0
  333. package/dist/chunks/typography.D7onlQ9v.js.map +1 -0
  334. package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
  335. package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
  336. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  337. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  338. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  339. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  340. package/dist/chunks/{use-bento-toast-controller.3dc4e113.js → use-bento-toast-controller.C0A5tZgd.js} +3 -3
  341. package/dist/chunks/{use-bento-toast-controller.3dc4e113.js.map → use-bento-toast-controller.C0A5tZgd.js.map} +1 -1
  342. package/dist/chunks/{use-cached-selected-values.3c312296.js → use-cached-selected-values.BQBWFTvi.js} +271 -278
  343. package/dist/chunks/{use-cached-selected-values.3c312296.js.map → use-cached-selected-values.BQBWFTvi.js.map} +1 -1
  344. package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
  345. package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
  346. package/dist/chunks/{use-country-items.32e30471.js → use-country-items.CongYNiX.js} +4 -4
  347. package/dist/chunks/{use-country-items.32e30471.js.map → use-country-items.CongYNiX.js.map} +1 -1
  348. package/dist/chunks/{use-default-slot-validator.1169c221.js → use-default-slot-validator.O02rzsob.js} +1 -1
  349. package/dist/chunks/{use-default-slot-validator.1169c221.js.map → use-default-slot-validator.O02rzsob.js.map} +1 -1
  350. package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
  351. package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
  352. package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
  353. package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
  354. package/dist/chunks/{use-has-slot.4d98bf29.js → use-has-slot.B7eQSabc.js} +1 -1
  355. package/dist/chunks/{use-has-slot.4d98bf29.js.map → use-has-slot.B7eQSabc.js.map} +1 -1
  356. package/dist/chunks/warning-filled.DHw1rVWs.js +29 -0
  357. package/dist/chunks/warning-filled.DHw1rVWs.js.map +1 -0
  358. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  359. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  360. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  361. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  362. package/dist/click-outside.js +2 -20
  363. package/dist/click-outside.js.map +1 -1
  364. package/dist/code-snippet.js +5 -2133
  365. package/dist/code-snippet.js.map +1 -1
  366. package/dist/country.js +8 -101
  367. package/dist/country.js.map +1 -1
  368. package/dist/currency.js +3 -118
  369. package/dist/currency.js.map +1 -1
  370. package/dist/dashboard-template.js +3 -166
  371. package/dist/dashboard-template.js.map +1 -1
  372. package/dist/dashed-underline.js +5 -0
  373. package/dist/dashed-underline.js.map +1 -0
  374. package/dist/data-grid-template.js +2 -87
  375. package/dist/data-grid-template.js.map +1 -1
  376. package/dist/data-grid.js +8 -2651
  377. package/dist/data-grid.js.map +1 -1
  378. package/dist/date-picker.js +5 -272
  379. package/dist/date-picker.js.map +1 -1
  380. package/dist/date-range-picker.js +2 -2
  381. package/dist/date.js +1 -1
  382. package/dist/divider.js +1 -1
  383. package/dist/dropdown.js +12 -205
  384. package/dist/dropdown.js.map +1 -1
  385. package/dist/empty-state.js +5 -176
  386. package/dist/empty-state.js.map +1 -1
  387. package/dist/filter-bar.js +5 -2780
  388. package/dist/filter-bar.js.map +1 -1
  389. package/dist/focus-trap.js +1 -1
  390. package/dist/form-layout.js +5 -205
  391. package/dist/form-layout.js.map +1 -1
  392. package/dist/header.js +2 -306
  393. package/dist/header.js.map +1 -1
  394. package/dist/image.js +4 -75
  395. package/dist/image.js.map +1 -1
  396. package/dist/index.js +263 -259
  397. package/dist/index.js.map +1 -1
  398. package/dist/info-icon.js +2 -43
  399. package/dist/info-icon.js.map +1 -1
  400. package/dist/input-field.js +7 -342
  401. package/dist/input-field.js.map +1 -1
  402. package/dist/internal.js +15 -15
  403. package/dist/link.js +1 -1
  404. package/dist/loading-indicator.js +3 -41
  405. package/dist/loading-indicator.js.map +1 -1
  406. package/dist/menu.js +1 -1
  407. package/dist/modal-fullscreen.js +3 -263
  408. package/dist/modal-fullscreen.js.map +1 -1
  409. package/dist/modal.js +11 -501
  410. package/dist/modal.js.map +1 -1
  411. package/dist/pagination.js +2 -634
  412. package/dist/pagination.js.map +1 -1
  413. package/dist/payment-method.js +4 -4
  414. package/dist/payment-method.js.map +1 -1
  415. package/dist/popover.js +1 -1
  416. package/dist/popper-container.js +1 -1
  417. package/dist/radio-group.js +6 -296
  418. package/dist/radio-group.js.map +1 -1
  419. package/dist/search-bar.js +6 -107
  420. package/dist/search-bar.js.map +1 -1
  421. package/dist/secondary-nav.js +2 -112
  422. package/dist/secondary-nav.js.map +1 -1
  423. package/dist/segmented-control.js +4 -249
  424. package/dist/segmented-control.js.map +1 -1
  425. package/dist/selection-card.js +4 -384
  426. package/dist/selection-card.js.map +1 -1
  427. package/dist/sidepanel.js +4 -229
  428. package/dist/sidepanel.js.map +1 -1
  429. package/dist/status.js +3 -50
  430. package/dist/status.js.map +1 -1
  431. package/dist/stepper.js +5 -283
  432. package/dist/stepper.js.map +1 -1
  433. package/dist/structured-list.js +1 -1
  434. package/dist/summary-grid.js +9 -720
  435. package/dist/summary-grid.js.map +1 -1
  436. package/dist/tabs.js +3 -184
  437. package/dist/tabs.js.map +1 -1
  438. package/dist/tag.js +3 -73
  439. package/dist/tag.js.map +1 -1
  440. package/dist/textarea.js +2 -286
  441. package/dist/textarea.js.map +1 -1
  442. package/dist/timeline.js +7 -530
  443. package/dist/timeline.js.map +1 -1
  444. package/dist/toast.js +2 -215
  445. package/dist/toast.js.map +1 -1
  446. package/dist/toggle.js +4 -159
  447. package/dist/toggle.js.map +1 -1
  448. package/dist/tutorial.js +2 -407
  449. package/dist/tutorial.js.map +1 -1
  450. package/dist/typography.js +1 -1
  451. package/dist/web-types.json +1 -1
  452. package/package.json +4 -6
  453. package/dist/assets/index.css +0 -1
  454. package/dist/assets/index26.css +0 -1
  455. package/dist/assets/index30.css +0 -1
  456. package/dist/assets/index34.css +0 -1
  457. package/dist/assets/index37.css +0 -1
  458. package/dist/assets/index40.css +0 -1
  459. package/dist/assets/index6.css +0 -1
  460. package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
  461. package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
  462. package/dist/chunks/1-generic-use.ccca5813.js +0 -5
  463. package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
  464. package/dist/chunks/2-generic-use.443db127.js +0 -5
  465. package/dist/chunks/2-generic-use.443db127.js.map +0 -1
  466. package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
  467. package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
  468. package/dist/chunks/3-generic-use.9f74667f.js +0 -5
  469. package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
  470. package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
  471. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
  472. package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
  473. package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
  474. package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
  475. package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
  476. package/dist/chunks/_plugin-vue_export-helper.dad06003.js.map +0 -1
  477. package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
  478. package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
  479. package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
  480. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
  481. package/dist/chunks/adyen-giving.480913b5.js +0 -5
  482. package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
  483. package/dist/chunks/adyen-giving.54ed984c.js +0 -5
  484. package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
  485. package/dist/chunks/checkmark-circle-fill.c45a999d.js +0 -44
  486. package/dist/chunks/cross-small.b85406fe.js +0 -29
  487. package/dist/chunks/cross.26509efc.js +0 -29
  488. package/dist/chunks/dropdown.0ae3b842.js.map +0 -1
  489. package/dist/chunks/events.f14a214b.js +0 -50
  490. package/dist/chunks/index.2d7b4511.js.map +0 -1
  491. package/dist/chunks/index.2fcd1233.js +0 -103
  492. package/dist/chunks/index.2fcd1233.js.map +0 -1
  493. package/dist/chunks/index.6295e754.js.map +0 -1
  494. package/dist/chunks/index.6bb6f38c.js.map +0 -1
  495. package/dist/chunks/index.8aa536a8.js +0 -62
  496. package/dist/chunks/index.8aa536a8.js.map +0 -1
  497. package/dist/chunks/index.9d7fb316.js.map +0 -1
  498. package/dist/chunks/index.a001a0a8.js.map +0 -1
  499. package/dist/chunks/index.b18c78d6.js +0 -23
  500. package/dist/chunks/index.b18c78d6.js.map +0 -1
  501. package/dist/chunks/index.eb38a6c4.js +0 -118
  502. package/dist/chunks/index.eb38a6c4.js.map +0 -1
  503. package/dist/chunks/index.ee15db35.js +0 -74
  504. package/dist/chunks/index.ee15db35.js.map +0 -1
  505. package/dist/chunks/index.f9d081d2.js.map +0 -1
  506. package/dist/chunks/internal-error.35cbb071.js +0 -5
  507. package/dist/chunks/internal-error.35cbb071.js.map +0 -1
  508. package/dist/chunks/internal-error.9a4823ed.js +0 -5
  509. package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
  510. package/dist/chunks/listbox-option-tag.2aea037c.js +0 -129
  511. package/dist/chunks/listbox-option-tag.2aea037c.js.map +0 -1
  512. package/dist/chunks/no-results-found.58856d70.js +0 -5
  513. package/dist/chunks/no-results-found.58856d70.js.map +0 -1
  514. package/dist/chunks/no-results-found.cbb12f78.js +0 -5
  515. package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
  516. package/dist/chunks/notifications-cleared.71025c22.js +0 -5
  517. package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
  518. package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
  519. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
  520. package/dist/chunks/page-not-found.a500440d.js +0 -5
  521. package/dist/chunks/page-not-found.a500440d.js.map +0 -1
  522. package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
  523. package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
  524. package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
  525. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
  526. package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
  527. package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
  528. package/dist/chunks/radio-input.1dd15424.js.map +0 -1
  529. package/dist/chunks/referrals.178ce0eb.js +0 -5
  530. package/dist/chunks/referrals.178ce0eb.js.map +0 -1
  531. package/dist/chunks/referrals.599047da.js +0 -5
  532. package/dist/chunks/referrals.599047da.js.map +0 -1
  533. package/dist/chunks/success.41981fe8.js +0 -5
  534. package/dist/chunks/success.41981fe8.js.map +0 -1
  535. package/dist/chunks/success.77fac78b.js +0 -5
  536. package/dist/chunks/success.77fac78b.js.map +0 -1
  537. package/dist/chunks/tooltip.36172265.js.map +0 -1
  538. package/dist/chunks/upload-files.2708eca7.js +0 -5
  539. package/dist/chunks/upload-files.2708eca7.js.map +0 -1
  540. package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
  541. package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
  542. package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
  543. package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
  544. package/dist/chunks/wrong-environment.f890a237.js +0 -5
  545. package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
  546. /package/dist/@types/packages/{vue2/src/components/internal → core/src/components}/radio-input/radio-input.types.d.ts +0 -0
  547. /package/dist/assets/{index44.css → alert.css} +0 -0
  548. /package/dist/assets/{index15.css → avatar-image.css} +0 -0
  549. /package/dist/assets/{index3.css → badge.css} +0 -0
  550. /package/dist/assets/{index16.css → checkbox-group.css} +0 -0
  551. /package/dist/assets/{index46.css → code-snippet.css} +0 -0
  552. /package/dist/assets/{index19.css → country.css} +0 -0
  553. /package/dist/assets/{index22.css → date-picker.css} +0 -0
  554. /package/dist/assets/{index42.css → date-range-picker.css} +0 -0
  555. /package/dist/assets/{index14.css → divider.css} +0 -0
  556. /package/dist/assets/{index47.css → dropdown-tag.css} +0 -0
  557. /package/dist/assets/{index43.css → empty-state.css} +0 -0
  558. /package/dist/assets/{index7.css → focus-trap.css} +0 -0
  559. /package/dist/assets/{index45.css → form-layout-title.css} +0 -0
  560. /package/dist/assets/{index20.css → header.css} +0 -0
  561. /package/dist/assets/{index8.css → info-icon.css} +0 -0
  562. /package/dist/assets/{index41.css → input-field.css} +0 -0
  563. /package/dist/assets/{index9.css → loading-indicator.css} +0 -0
  564. /package/dist/assets/{index13.css → pagination.css} +0 -0
  565. /package/dist/assets/{index4.css → popper-container.css} +0 -0
  566. /package/dist/assets/{index23.css → radio-group.css} +0 -0
  567. /package/dist/assets/{index24.css → search-bar.css} +0 -0
  568. /package/dist/assets/{index25.css → secondary-nav.css} +0 -0
  569. /package/dist/assets/{index27.css → step.css} +0 -0
  570. /package/dist/assets/{index31.css → structured-list-item.css} +0 -0
  571. /package/dist/assets/{index33.css → summary-grid-item-custom.css} +0 -0
  572. /package/dist/assets/{index29.css → tabs.css} +0 -0
  573. /package/dist/assets/{index35.css → tag.css} +0 -0
  574. /package/dist/assets/{index28.css → textarea.css} +0 -0
  575. /package/dist/assets/{index32.css → timeline-item.css} +0 -0
  576. /package/dist/assets/{index36.css → toast.css} +0 -0
  577. /package/dist/assets/{index12.css → toggle-button.css} +0 -0
  578. /package/dist/assets/{index48.css → typography.css} +0 -0
@@ -0,0 +1,385 @@
1
+ import { defineComponent as K, useSlots as Q, computed as n, inject as ae, ref as V, openBlock as r, createElementBlock as w, normalizeClass as b, unref as a, createElementVNode as R, renderSlot as v, createCommentVNode as m, withModifiers as te, createBlock as d, withCtx as s, createTextVNode as O, toDisplayString as T, createVNode as le, watch as oe, provide as ne, Fragment as re, renderList as ie, mergeProps as de, createSlots as se, normalizeProps as q, guardReactiveProps as M } from "vue";
2
+ import { B as S } from "./typography.D7onlQ9v.js";
3
+ import { u as ce } from "./aria-label.CaUURpnB.js";
4
+ import { g as U } from "./unique-id.XFfoKuc2.js";
5
+ import { u as ue } from "./use-has-slot.B7eQSabc.js";
6
+ import { a as be } from "./radio-input.BEzK-fgR.js";
7
+ import { a as ye } from "./checkbox-input.CR1lHf7f.js";
8
+ import { _ as W } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import { C as fe } from "./controls-group.DWu8NqKL.js";
10
+ import { E as me } from "./error-message.DyjHMyEZ.js";
11
+ import "../assets/selection-card-group.css";
12
+ var x = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.READONLY = "readonly", e.ERROR = "error", e))(x || {});
13
+ const X = Symbol("selection card radio input injection key"), ve = {
14
+ key: 0,
15
+ class: "b-selection-card__icon",
16
+ role: "presentation"
17
+ }, pe = ["for", "onClick"], he = {
18
+ name: "bento-selection-card"
19
+ }, ge = /* @__PURE__ */ K({
20
+ ...he,
21
+ props: {
22
+ /**
23
+ * The description of the selection card
24
+ */
25
+ description: {
26
+ type: String,
27
+ default: void 0
28
+ },
29
+ /**
30
+ * Disables the selection card
31
+ */
32
+ disabled: { type: Boolean, default: !1 },
33
+ /**
34
+ * Shows the selection card in error state
35
+ */
36
+ hasError: { type: Boolean, default: !1 },
37
+ /**
38
+ * This property should not be used directly.
39
+ * It will be used by v-model directive on selection card component.
40
+ *
41
+ * When handling a single input, use a string or a number.
42
+ *
43
+ * When handling multiple inputs, use an array of keys.
44
+ * These keys exist as a set "value" prop for each input.
45
+ */
46
+ modelValue: {
47
+ type: [Boolean, String, Array],
48
+ default: null
49
+ },
50
+ /**
51
+ * Sets the selection card to readonly
52
+ */
53
+ readonly: { type: Boolean, default: !1 },
54
+ /**
55
+ * The subtitle of the selection card
56
+ */
57
+ subtitle: {
58
+ type: String,
59
+ default: void 0
60
+ },
61
+ /**
62
+ * The title of the selection card
63
+ */
64
+ title: {
65
+ type: String,
66
+ required: !0
67
+ },
68
+ /**
69
+ * Indicates the value of the input that will be returned when it's checked.
70
+ */
71
+ value: {
72
+ type: [String, Number],
73
+ required: !0
74
+ }
75
+ },
76
+ emits: ["input", "update:model-value"],
77
+ setup(e, { emit: p }) {
78
+ const t = e, E = Q(), c = ue(E), h = U("selection-card-input-id"), y = U("selection-card-description"), I = n(
79
+ () => t.modelValue
80
+ ), g = n(
81
+ () => t.modelValue
82
+ ), B = n(() => ({
83
+ "b-selection-card--checked": Y.value
84
+ })), $ = n(() => ({
85
+ [`b-selection-card--${x.DISABLED}`]: t.disabled,
86
+ [`b-selection-card--${x.ERROR}`]: t.hasError,
87
+ [`b-selection-card--${x.READONLY}`]: t.readonly,
88
+ "b-selection-card--center-aligned": A.value
89
+ })), i = n(() => ({
90
+ "b-selection-card__checkbox-container--center-aligned": A.value
91
+ })), z = n(() => ({
92
+ "b-selection-card__checkbox-container-text--center-aligned": A.value
93
+ })), o = n(() => ({
94
+ "b-selection-card__slot--with-icon": c("icon")
95
+ })), G = ce({
96
+ ariaLabel: t.title,
97
+ label: t.value
98
+ }), P = n(() => Array.isArray(t.modelValue)), Y = n(() => _.value ? t.value === t.modelValue : P.value ? t.modelValue.some((l) => l === t.value) : t.modelValue), _ = ae(X, V(!1)), A = n(() => !t.subtitle && !t.description), k = V(null), L = V(null), N = V(null), j = (l) => {
99
+ var f, u, C, F, H, J;
100
+ if (!t.disabled && !t.readonly) {
101
+ if (L.value && ((u = (f = L.value) == null ? void 0 : f.$el) != null && u.contains(l.target)) || N.value && ((F = (C = N.value) == null ? void 0 : C.$el) != null && F.contains(l.target)) || k.value && ((J = (H = k.value) == null ? void 0 : H.$el) != null && J.contains(l.target)))
102
+ return;
103
+ const ee = Z();
104
+ D(ee);
105
+ }
106
+ }, Z = () => {
107
+ var f;
108
+ const l = ((f = k.value) == null ? void 0 : f.$refs.inputRef).checked;
109
+ if (P.value) {
110
+ const u = [...t.modelValue], C = u.indexOf(t.value);
111
+ return C === -1 ? u.push(t.value) : u.splice(C, 1), u;
112
+ }
113
+ return _.value ? t.value : !l;
114
+ }, D = (l) => {
115
+ !t.disabled && !t.readonly && (p("update:model-value", l), p("input", l));
116
+ };
117
+ return (l, f) => (r(), w("div", {
118
+ class: b(["b-selection-card", a(B)]),
119
+ onClick: j
120
+ }, [
121
+ R("div", {
122
+ class: b(["b-selection-card__container", a($)])
123
+ }, [
124
+ R("div", {
125
+ class: b(["b-selection-card__checkbox-container", a(i)])
126
+ }, [
127
+ R("div", {
128
+ class: b(["b-selection-card__checkbox-container-text", a(z)])
129
+ }, [
130
+ a(c)("icon") ? (r(), w("div", ve, [
131
+ v(l.$slots, "icon", {}, void 0, !0)
132
+ ])) : m("", !0),
133
+ R("label", {
134
+ for: a(h),
135
+ class: "b-selection-card__text",
136
+ onClick: te(j, ["stop", "prevent"])
137
+ }, [
138
+ e.subtitle ? (r(), d(a(S), {
139
+ key: 0,
140
+ class: "b-selection-card__description",
141
+ el: "span",
142
+ variant: "caption"
143
+ }, {
144
+ default: s(() => [
145
+ O(T(e.subtitle), 1)
146
+ ]),
147
+ _: 1
148
+ })) : m("", !0),
149
+ le(a(S), {
150
+ el: "span",
151
+ variant: "title"
152
+ }, {
153
+ default: s(() => [
154
+ O(T(e.title), 1)
155
+ ]),
156
+ _: 1
157
+ }),
158
+ e.description ? (r(), d(a(S), {
159
+ key: 1,
160
+ id: "descriptionId",
161
+ class: "b-selection-card__description",
162
+ el: "span",
163
+ variant: "body"
164
+ }, {
165
+ default: s(() => [
166
+ O(T(e.description), 1)
167
+ ]),
168
+ _: 1
169
+ })) : m("", !0)
170
+ ], 8, pe)
171
+ ], 2),
172
+ a(_) ? (r(), d(a(be), {
173
+ key: 0,
174
+ id: a(h),
175
+ ref_key: "inputRef",
176
+ ref: k,
177
+ "aria-label": a(G),
178
+ "aria-describedby": e.description ? a(y) : void 0,
179
+ disabled: e.disabled,
180
+ "has-error": e.hasError,
181
+ "aria-readonly": e.readonly ?? void 0,
182
+ value: e.value,
183
+ readonly: e.readonly,
184
+ "model-value": a(I),
185
+ "onUpdate:modelValue": D
186
+ }, null, 8, ["id", "aria-label", "aria-describedby", "disabled", "has-error", "aria-readonly", "value", "readonly", "model-value"])) : (r(), d(a(ye), {
187
+ key: 1,
188
+ id: a(h),
189
+ ref_key: "inputRef",
190
+ ref: k,
191
+ "aria-label": a(G),
192
+ "aria-describedby": e.description ? a(y) : void 0,
193
+ disabled: e.disabled,
194
+ "has-error": e.hasError,
195
+ "aria-readonly": e.readonly ?? void 0,
196
+ value: e.value,
197
+ readonly: e.readonly,
198
+ "model-value": a(g),
199
+ "onUpdate:modelValue": D
200
+ }, null, 8, ["id", "aria-label", "aria-describedby", "disabled", "has-error", "aria-readonly", "value", "readonly", "model-value"]))
201
+ ], 2),
202
+ a(c)("content") ? (r(), d(a(S), {
203
+ key: 0,
204
+ ref_key: "slotRef",
205
+ ref: L,
206
+ el: "div",
207
+ class: b(["b-selection-card__slot", a(o)])
208
+ }, {
209
+ default: s(() => [
210
+ v(l.$slots, "content", {}, void 0, !0)
211
+ ]),
212
+ _: 3
213
+ }, 8, ["class"])) : m("", !0),
214
+ a(c)("dynamicContent") && a(Y) ? (r(), d(a(S), {
215
+ key: 1,
216
+ ref_key: "dynamicSlotRef",
217
+ ref: N,
218
+ el: "div",
219
+ class: b(["b-selection-card__slot", a(o)])
220
+ }, {
221
+ default: s(() => [
222
+ v(l.$slots, "dynamicContent", {}, void 0, !0)
223
+ ]),
224
+ _: 3
225
+ }, 8, ["class"])) : m("", !0)
226
+ ], 2)
227
+ ], 2));
228
+ }
229
+ }), ke = /* @__PURE__ */ W(ge, [["__scopeId", "data-v-cd9d5db4"]]), Ce = {}, Se = /* @__PURE__ */ K({
230
+ ...Ce,
231
+ __name: "selection-card-group",
232
+ props: {
233
+ /**
234
+ * Descriptive supporting text visbile underneath the label.
235
+ */
236
+ description: { type: String, default: null },
237
+ /**
238
+ * If set to true, renders all cards in the group in a disabled state.
239
+ */
240
+ disabled: { type: Boolean, default: !1 },
241
+ /**
242
+ * Renders all cards in an error state with an error message.
243
+ */
244
+ errorMessage: { type: String, default: null },
245
+ /**
246
+ * The form id the selection card group is associated with. Defaults to null, as a selection card group can also be used standalone.
247
+ */
248
+ formId: { type: String, default: null },
249
+ /**
250
+ * Shows/hides the group label.
251
+ */
252
+ hideLabel: { type: Boolean, default: null },
253
+ /**
254
+ * Label of the group. Required for accessibility purposes, even if it's not shown
255
+ */
256
+ label: {
257
+ type: String,
258
+ required: !0
259
+ },
260
+ /**
261
+ * The selection card group's layout. It can be vertical or horizontal. Defaults to vertical.
262
+ * @values horizontal, vertical
263
+ */
264
+ layout: {
265
+ type: String,
266
+ default: "vertical"
267
+ },
268
+ /**
269
+ * The selection card group's items.
270
+ */
271
+ items: {
272
+ type: Array,
273
+ required: !0
274
+ },
275
+ /**
276
+ * Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
277
+ * Defaults to no value selected.
278
+ */
279
+ modelValue: {
280
+ type: [Array, String, Number],
281
+ default: null
282
+ },
283
+ /**
284
+ * Indicates the field is optional.
285
+ */
286
+ optional: { type: Boolean, default: !1 },
287
+ /**
288
+ * Indicates the field is required.
289
+ */
290
+ required: { type: Boolean, default: !1 },
291
+ /**
292
+ * Tooltip message.
293
+ */
294
+ tooltipText: { type: String, default: null },
295
+ /**
296
+ * If set to true, renders all cards in the group in a readonly state.
297
+ */
298
+ readonly: { type: Boolean, default: !1 },
299
+ /**
300
+ * Renders the cards with a checkbox or a radio input. Selection logic will also apply in accordance.
301
+ * @values checkbox, radio
302
+ */
303
+ variant: { type: String, default: "checkbox" }
304
+ },
305
+ emits: ["input", "update:model-value"],
306
+ setup(e, { emit: p }) {
307
+ const t = e, E = Q(), c = (i) => !!E[i], h = n(() => ({
308
+ "b-selection-card-group__items--horizontal": t.layout === "horizontal"
309
+ })), y = V(t.modelValue);
310
+ oe(
311
+ () => t.modelValue,
312
+ () => {
313
+ y.value = t.modelValue;
314
+ }
315
+ );
316
+ const I = U("error"), g = n(() => !t.disabled && !t.readonly && !!t.errorMessage), B = (i) => {
317
+ y.value = i, p("update:model-value", i), p("input", i);
318
+ }, $ = n(() => t.variant === "radio");
319
+ return ne(X, $), (i, z) => (r(), d(a(fe), {
320
+ "aria-describedby": a(g) ? a(I) : null,
321
+ label: e.label,
322
+ "hide-label": e.hideLabel,
323
+ description: e.description,
324
+ disabled: e.disabled,
325
+ "tooltip-text": e.tooltipText,
326
+ readonly: e.readonly,
327
+ required: e.required,
328
+ optional: e.optional,
329
+ class: "b-selection-card-group",
330
+ "component-name": "selection-card-group"
331
+ }, {
332
+ default: s(() => [
333
+ R("div", {
334
+ class: b(["b-selection-card-group__items", a(h)])
335
+ }, [
336
+ (r(!0), w(re, null, ie(e.items, (o) => (r(), d(ke, de({
337
+ key: `selection-card-${o.value}`,
338
+ class: "b-selection-card-group__item"
339
+ }, o, {
340
+ "model-value": y.value,
341
+ readonly: e.readonly || o.readonly,
342
+ "has-error": a(g),
343
+ disabled: e.disabled || o.disabled,
344
+ "onUpdate:modelValue": B
345
+ }), se({ _: 2 }, [
346
+ c("icon") && o.icon ? {
347
+ name: "icon",
348
+ fn: s(() => [
349
+ v(i.$slots, "icon", q(M(o)), void 0, !0)
350
+ ]),
351
+ key: "0"
352
+ } : void 0,
353
+ c("content") && o.content ? {
354
+ name: "content",
355
+ fn: s(() => [
356
+ v(i.$slots, "content", q(M(o)), void 0, !0)
357
+ ]),
358
+ key: "1"
359
+ } : void 0,
360
+ c("dynamicContent") && o.dynamicContent ? {
361
+ name: "dynamicContent",
362
+ fn: s(() => [
363
+ v(i.$slots, "dynamicContent", q(M(o)), void 0, !0)
364
+ ]),
365
+ key: "2"
366
+ } : void 0
367
+ ]), 1040, ["model-value", "readonly", "has-error", "disabled"]))), 128))
368
+ ], 2),
369
+ a(g) ? (r(), d(a(me), {
370
+ key: 0,
371
+ id: a(I),
372
+ "error-message": e.errorMessage,
373
+ class: "b-selection-card-group__error-message"
374
+ }, null, 8, ["id", "error-message"])) : m("", !0)
375
+ ]),
376
+ _: 3
377
+ }, 8, ["aria-describedby", "label", "hide-label", "description", "disabled", "tooltip-text", "readonly", "required", "optional"]));
378
+ }
379
+ }), Ne = /* @__PURE__ */ W(Se, [["__scopeId", "data-v-8da9dd7f"]]);
380
+ export {
381
+ ke as B,
382
+ x as a,
383
+ Ne as s
384
+ };
385
+ //# sourceMappingURL=selection-card-group.C-YLePO4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection-card-group.C-YLePO4.js","sources":["../../../vue2/src/components/selection-card/selection-card.types.ts","../../../vue2/src/components/selection-card/selection-card.keys.ts","../../../vue2/src/components/selection-card/selection-card.vue","../../../vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue"],"sourcesContent":["import { RadioInputValue } from '../internal/radio-input';\nimport { BentoCheckboxType } from '../checkbox';\nimport { VueNodeElement } from '@/types';\n\nexport enum BentoSelectionCardState {\n DISABLED = 'disabled',\n READONLY = 'readonly',\n ERROR = 'error',\n}\n\nexport type BentoSelectionCardValue = string | number;\n\nexport type BentoSelectionCardModelValue = BentoCheckboxType | RadioInputValue;\n\nexport interface BentoSelectionCardItem {\n content?: string | object;\n description?: string;\n disabled?: boolean;\n dynamicContent?: string | object;\n hasError?: boolean;\n icon?: VueNodeElement;\n readonly?: boolean;\n subtitle?: string;\n title: string;\n value: BentoSelectionCardValue;\n}\n","export const SELECTION_CARD_RADIO_INPUT_INJECTION_KEY = Symbol('selection card radio input injection key');\n","<template>\n <div class=\"b-selection-card\" :class=\"conditionalClasses\" @click=\"handleCardClick\">\n <div class=\"b-selection-card__container\" :class=\"containerConditionalClasses\">\n <div class=\"b-selection-card__checkbox-container\" :class=\"checkboxContainerConditionalClasses\">\n <div class=\"b-selection-card__checkbox-container-text\" :class=\"checkboxContainerTextConditionalClasses\">\n <div v-if=\"hasSlot('icon')\" class=\"b-selection-card__icon\" role=\"presentation\">\n <slot name=\"icon\" />\n </div>\n <label :for=\"inputId\" class=\"b-selection-card__text\" @click.stop.prevent=\"handleCardClick\">\n <bento-typography\n v-if=\"subtitle\"\n class=\"b-selection-card__description\"\n el=\"span\"\n variant=\"caption\"\n >{{ subtitle }}</bento-typography\n >\n <bento-typography el=\"span\" variant=\"title\">{{ title }}</bento-typography>\n <bento-typography\n v-if=\"description\"\n id=\"descriptionId\"\n class=\"b-selection-card__description\"\n el=\"span\"\n variant=\"body\"\n >\n {{ description }}\n </bento-typography>\n </label>\n </div>\n <radio-input\n v-if=\"isRadioInput\"\n :id=\"inputId\"\n ref=\"inputRef\"\n :aria-label=\"ariaLabel\"\n :aria-describedby=\"description ? descriptionId : undefined\"\n :disabled=\"disabled\"\n :has-error=\"hasError\"\n :aria-readonly=\"readonly ?? undefined\"\n :value=\"value\"\n :readonly=\"readonly\"\n :model-value=\"computedRadioInputModelValue\"\n @update:model-value=\"onChange\"\n />\n <checkbox-input\n v-else\n :id=\"inputId\"\n ref=\"inputRef\"\n :aria-label=\"ariaLabel\"\n :aria-describedby=\"description ? descriptionId : undefined\"\n :disabled=\"disabled\"\n :has-error=\"hasError\"\n :aria-readonly=\"readonly ?? undefined\"\n :value=\"value\"\n :readonly=\"readonly\"\n :model-value=\"computedCheckboxInputModelValue\"\n @update:model-value=\"onChange\"\n />\n </div>\n <bento-typography\n v-if=\"hasSlot('content')\"\n ref=\"slotRef\"\n el=\"div\"\n class=\"b-selection-card__slot\"\n :class=\"slotConditionalClasses\"\n >\n <slot name=\"content\" />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('dynamicContent') && isChecked\"\n ref=\"dynamicSlotRef\"\n el=\"div\"\n class=\"b-selection-card__slot\"\n :class=\"slotConditionalClasses\"\n >\n <slot name=\"dynamicContent\" />\n </bento-typography>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import { BentoCheckboxType, BentoMultiCheckboxType, CheckboxInput } from '../internal/checkbox-input';\n import { RadioInput, RadioInputValue } from '../internal/radio-input';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { generateUid } from '@/utils/ts/unique-id';\n import { computed, ComputedRef, inject, PropType, Ref, ref, useSlots } from 'vue';\n import { useHasSlot } from '@/composables';\n import type { BentoSelectionCardModelValue, BentoSelectionCardValue } from './selection-card.types';\n import { BentoSelectionCardState } from './selection-card.types';\n import { SELECTION_CARD_RADIO_INPUT_INJECTION_KEY } from './selection-card.keys';\n\n const props = defineProps({\n /**\n * The description of the selection card\n */\n description: {\n type: String,\n default: undefined,\n },\n\n /**\n * Disables the selection card\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Shows the selection card in error state\n */\n hasError: { type: Boolean, default: false },\n\n /**\n * This property should not be used directly.\n * It will be used by v-model directive on selection card component.\n *\n * When handling a single input, use a string or a number.\n *\n * When handling multiple inputs, use an array of keys.\n * These keys exist as a set \"value\" prop for each input.\n */\n modelValue: {\n type: [Boolean, String, Array] as PropType<BentoSelectionCardModelValue>,\n default: null,\n },\n\n /**\n * Sets the selection card to readonly\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * The subtitle of the selection card\n */\n subtitle: {\n type: String,\n default: undefined,\n },\n\n /**\n * The title of the selection card\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Indicates the value of the input that will be returned when it's checked.\n */\n value: {\n type: [String, Number] as PropType<BentoSelectionCardValue>,\n required: true,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the selection card is clicked. Enables Vue2 \"v-model\"\n */\n (e: 'input', value: BentoSelectionCardValue);\n /**\n * Emitted when the selection card is clicked. Enables Vue3 \"v-model\"\n */\n (e: 'update:model-value', value: BentoSelectionCardValue);\n }>();\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const inputId = generateUid('selection-card-input-id');\n const descriptionId = generateUid('selection-card-description');\n\n const computedRadioInputModelValue: ComputedRef<RadioInputValue> = computed(\n () => props.modelValue as RadioInputValue\n );\n const computedCheckboxInputModelValue: ComputedRef<BentoCheckboxType> = computed(\n () => props.modelValue as BentoCheckboxType\n );\n\n const conditionalClasses = computed(() => ({\n 'b-selection-card--checked': isChecked.value,\n }));\n\n const containerConditionalClasses = computed(() => ({\n [`b-selection-card--${BentoSelectionCardState.DISABLED}`]: props.disabled,\n [`b-selection-card--${BentoSelectionCardState.ERROR}`]: props.hasError,\n [`b-selection-card--${BentoSelectionCardState.READONLY}`]: props.readonly,\n 'b-selection-card--center-aligned': isTitleOnly.value,\n }));\n\n const checkboxContainerConditionalClasses = computed(() => ({\n 'b-selection-card__checkbox-container--center-aligned': isTitleOnly.value,\n }));\n\n const checkboxContainerTextConditionalClasses = computed(() => ({\n 'b-selection-card__checkbox-container-text--center-aligned': isTitleOnly.value,\n }));\n\n const slotConditionalClasses = computed(() => ({\n 'b-selection-card__slot--with-icon': hasSlot('icon'),\n }));\n\n const ariaLabel = useAriaLabel({\n ariaLabel: props.title,\n label: props.value as string,\n });\n\n const isCheckboxGroup = computed(() => Array.isArray(props.modelValue));\n\n const isChecked: ComputedRef<boolean> = computed(() => {\n if (isRadioInput.value) {\n return props.value === props.modelValue;\n }\n if (!isCheckboxGroup.value) {\n return props.modelValue as boolean;\n }\n\n return (props.modelValue as BentoMultiCheckboxType).some(item => item === props.value);\n });\n\n const isRadioInput: Ref<boolean> = inject(SELECTION_CARD_RADIO_INPUT_INJECTION_KEY, ref(false));\n\n const isTitleOnly = computed(() => !props.subtitle && !props.description);\n\n const inputRef = ref<InstanceType<typeof RadioInput> | InstanceType<typeof CheckboxInput>>(null);\n const slotRef = ref(null);\n const dynamicSlotRef = ref(null);\n // Handle click on the whole card area\n const handleCardClick = event => {\n if (!props.disabled && !props.readonly) {\n // Check if the click originated from the slot - in that case, do nothng\n if (slotRef.value && slotRef.value?.$el?.contains(event.target)) {\n return;\n }\n // Check if the click originated from the dynamic slot - in that case, do nothng\n if (dynamicSlotRef.value && dynamicSlotRef.value?.$el?.contains(event.target)) {\n return;\n }\n // Check if the click originated from the input - in that case do nothing, as the input will emit the event already\n if (inputRef.value && inputRef.value?.$el?.contains(event.target)) {\n return;\n }\n\n // If the click originated outside of these two areas, emit the change event\n const newValue = toggleInput();\n\n onChange(newValue);\n }\n };\n\n const toggleInput = (): BentoSelectionCardModelValue => {\n const currentValue: boolean = (inputRef.value?.$refs.inputRef as HTMLInputElement).checked;\n\n if (isCheckboxGroup.value) {\n const newCheckedList = [...(props.modelValue as BentoMultiCheckboxType)];\n const index = newCheckedList.indexOf(props.value);\n\n if (index === -1) {\n newCheckedList.push(props.value);\n } else {\n newCheckedList.splice(index, 1);\n }\n return newCheckedList;\n }\n\n if (isRadioInput.value) {\n return props.value;\n }\n return !currentValue;\n };\n\n const onChange = newValue => {\n if (!props.disabled && !props.readonly) {\n emit('update:model-value', newValue);\n emit('input', newValue);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Selection card component. If used standalone, only the checkbox variant can be used. If the checkbox variant is needed, please use the bento-selection-card-group component.\n *\n * @example\n * import { BentoSelectionCard } from '@adyen/bento-vue2';\n * import EmoticonHappyIcon from '@adyen/ui-assets-icons-16/vue/emoticon-happy';\n *\n * export default {\n * components: { BentoSelectionCard, EmoticonHappyIcon },\n * template: `\n * <bento-selection-card title=\"Card title\" :model-value.sync=\"yourModelValue\">\n * <template #icon>\n * <emoticon-happy-icon />\n * </template>\n * </bento-selection-card>\n * `\n * }\n */\n export default {\n name: 'bento-selection-card',\n };\n</script>\n<style lang=\"scss\" scoped src=\"./selection-card.scss\" />\n","<template>\n <controls-group\n :aria-describedby=\"shouldShowGroupError ? errorMessageId : null\"\n :label=\"label\"\n :hide-label=\"hideLabel\"\n :description=\"description\"\n :disabled=\"disabled\"\n :tooltip-text=\"tooltipText\"\n :readonly=\"readonly\"\n :required=\"required\"\n :optional=\"optional\"\n class=\"b-selection-card-group\"\n component-name=\"selection-card-group\"\n >\n <div class=\"b-selection-card-group__items\" :class=\"conditionalItemsClasses\">\n <bento-selection-card\n v-for=\"item in items\"\n :key=\"`selection-card-${item.value}`\"\n class=\"b-selection-card-group__item\"\n v-bind=\"item\"\n :model-value=\"inputValue\"\n :readonly=\"readonly || item.readonly\"\n :has-error=\"shouldShowGroupError\"\n :disabled=\"disabled || item.disabled\"\n @update:model-value=\"onInput\"\n >\n <template v-if=\"hasSlot('icon') && item.icon\" #icon>\n <slot name=\"icon\" v-bind=\"item\"></slot>\n </template>\n <template v-if=\"hasSlot('content') && item.content\" #content>\n <slot name=\"content\" v-bind=\"item\"></slot>\n </template>\n <template v-if=\"hasSlot('dynamicContent') && item.dynamicContent\" #dynamicContent>\n <slot name=\"dynamicContent\" v-bind=\"item\"></slot>\n </template>\n </bento-selection-card>\n </div>\n <error-message\n v-if=\"shouldShowGroupError\"\n :id=\"errorMessageId\"\n :error-message=\"errorMessage\"\n class=\"b-selection-card-group__error-message\"\n />\n </controls-group>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, provide, ref, useSlots, watch } from 'vue';\n import { BentoSelectionCardGroupLayout, BentoSelectionCardGroupVariant } from './selection-card-group.types';\n import BentoSelectionCard from '../../selection-card.vue';\n import { ControlsGroup, ErrorMessage } from '../../../internal';\n import { BentoSelectionCardItem, BentoSelectionCardModelValue } from '../../selection-card.types';\n import { SELECTION_CARD_RADIO_INPUT_INJECTION_KEY } from '../../selection-card.keys';\n import { generateUid } from '@/utils/ts/unique-id';\n\n const props = defineProps({\n /**\n * Descriptive supporting text visbile underneath the label.\n */\n description: { type: String, default: null },\n\n /**\n * If set to true, renders all cards in the group in a disabled state.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Renders all cards in an error state with an error message.\n */\n errorMessage: { type: String, default: null },\n\n /**\n * The form id the selection card group is associated with. Defaults to null, as a selection card group can also be used standalone.\n */\n formId: { type: String, default: null },\n\n /**\n * Shows/hides the group label.\n */\n hideLabel: { type: Boolean, default: null },\n\n /**\n * Label of the group. Required for accessibility purposes, even if it's not shown\n */\n label: {\n type: String,\n required: true,\n },\n\n /**\n * The selection card group's layout. It can be vertical or horizontal. Defaults to vertical.\n * @values horizontal, vertical\n */\n layout: {\n type: String as PropType<BentoSelectionCardGroupLayout>,\n default: 'vertical',\n },\n\n /**\n * The selection card group's items.\n */\n items: {\n type: Array as PropType<BentoSelectionCardItem[]>,\n required: true,\n },\n /**\n * Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.\n * Defaults to no value selected.\n */\n modelValue: {\n type: [Array, String, Number] as PropType<BentoSelectionCardModelValue>,\n default: null,\n },\n\n /**\n * Indicates the field is optional.\n */\n optional: { type: Boolean, default: false },\n\n /**\n * Indicates the field is required.\n */\n required: { type: Boolean, default: false },\n\n /**\n * Tooltip message.\n */\n tooltipText: { type: String, default: null },\n\n /**\n * If set to true, renders all cards in the group in a readonly state.\n */\n readonly: { type: Boolean, default: false },\n\n /**\n * Renders the cards with a checkbox or a radio input. Selection logic will also apply in accordance.\n * @values checkbox, radio\n */\n variant: { type: String as PropType<BentoSelectionCardGroupVariant>, default: 'checkbox' },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the selection card is clicked. Enables Vue2 \"v-model\"\n */\n (e: 'input', value: BentoSelectionCardModelValue);\n /**\n * Emitted when the selection card is clicked. Enables Vue3 \"v-model\"\n */\n (e: 'update:model-value', value: BentoSelectionCardModelValue);\n }>();\n const slots = useSlots();\n // Slots logic\n // Temporary, use-has-slots composable doesn't currently work for vue3 named scoped slots\n // We do the same in bento-checkbox-group\n const hasSlot = name => !!slots[name];\n\n const conditionalItemsClasses = computed(() => ({\n 'b-selection-card-group__items--horizontal': props.layout === 'horizontal',\n }));\n\n const inputValue = ref(props.modelValue);\n watch(\n () => props.modelValue,\n () => {\n inputValue.value = props.modelValue;\n }\n );\n\n // Error message logic\n const errorMessageId = generateUid('error');\n const shouldShowGroupError = computed(() => !props.disabled && !props.readonly && !!props.errorMessage);\n\n const onInput = value => {\n inputValue.value = value;\n emit('update:model-value', value);\n emit('input', value);\n };\n\n const isRadioVariant = computed(() => props.variant === 'radio');\n\n provide(SELECTION_CARD_RADIO_INPUT_INJECTION_KEY, isRadioVariant);\n</script>\n\n<script lang=\"ts\">\n /**\n * Group of bento-selection-cards.\n *\n * @example\n * import { BentoSelectionCardGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSelectionCardGroup },\n * template: `\n * <bento-selection-card-group\n * :items=\"[\n * {\n * title: 'Card 1',\n * value: 'card-1',\n * content: 'Slot content 1',\n * icon: RetailIcon,\n * },\n * {\n * title: 'Card 2',\n * value: 'card-2',\n * content: 'Slot content 2',\n * icon: LeafIcon,\n * },\n * ]\"\n * >\n * <template #icon=\"{ icon }\">\n * <component :is=\"icon\"/>\n * </template>\n * <template #content=\"{ content }\">\n * <div>{{ content }}</div>\n * </template>\n * </bento-selection-card-group>\n * `,\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./selection-card-group.scss\" />\n"],"names":["BentoSelectionCardState","BentoSelectionCardState2","SELECTION_CARD_RADIO_INPUT_INJECTION_KEY","__default__$1","slots","useSlots","hasSlot","useHasSlot","inputId","generateUid","descriptionId","computedRadioInputModelValue","computed","props","computedCheckboxInputModelValue","conditionalClasses","isChecked","containerConditionalClasses","isTitleOnly","checkboxContainerConditionalClasses","checkboxContainerTextConditionalClasses","slotConditionalClasses","ariaLabel","useAriaLabel","isCheckboxGroup","isRadioInput","item","inject","ref","inputRef","slotRef","dynamicSlotRef","handleCardClick","event","_b","_a","_d","_c","_f","_e","newValue","toggleInput","onChange","currentValue","newCheckedList","index","emit","__default__","name","conditionalItemsClasses","inputValue","watch","errorMessageId","shouldShowGroupError","onInput","value","isRadioVariant","provide"],"mappings":";;;;;;;;;;;AAIY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,WAAA,YACAA,EAAA,WAAA,YACAA,EAAA,QAAA,SAHQA,IAAAD,KAAA,CAAA,CAAA;ACJC,MAAAE,IAAA,OAAA,0CAAA;;;;4BCySTC,KAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAtIAC,IAAAC,EAAA,GACAC,IAAAC,GAAAH,CAAA,GAEAI,IAAAC,EAAA,yBAAA,GACAC,IAAAD,EAAA,4BAAA,GAEAE,IAAAC;AAAA,MAAmE,MAAAC,EAAA;AAAA,IACnD,GAEhBC,IAAAF;AAAA,MAAwE,MAAAC,EAAA;AAAA,IACxD,GAGhBE,IAAAH,EAAA,OAAA;AAAA,MAA2C,6BAAAI,EAAA;AAAA,IACA,EAAA,GAG3CC,IAAAL,EAAA,OAAA;AAAA,MAAoD,CAAA,qBAAAZ,EAAA,QAAA,EAAA,GAAAa,EAAA;AAAA,MACiB,CAAA,qBAAAb,EAAA,KAAA,EAAA,GAAAa,EAAA;AAAA,MACH,CAAA,qBAAAb,EAAA,QAAA,EAAA,GAAAa,EAAA;AAAA,MACG,oCAAAK,EAAA;AAAA,IACjB,EAAA,GAGpDC,IAAAP,EAAA,OAAA;AAAA,MAA4D,wDAAAM,EAAA;AAAA,IACY,EAAA,GAGxEE,IAAAR,EAAA,OAAA;AAAA,MAAgE,6DAAAM,EAAA;AAAA,IACa,EAAA,GAG7EG,IAAAT,EAAA,OAAA;AAAA,MAA+C,qCAAAN,EAAA,MAAA;AAAA,IACQ,EAAA,GAGvDgB,IAAAC,GAAA;AAAA,MAA+B,WAAAV,EAAA;AAAA,MACV,OAAAA,EAAA;AAAA,IACJ,CAAA,GAGjBW,IAAAZ,EAAA,MAAA,MAAA,QAAAC,EAAA,UAAA,CAAA,GAEAG,IAAAJ,EAAA,MACIa,EAAA,QACIZ,EAAA,UAAAA,EAAA,aAEJW,EAAA,QAIAX,EAAA,WAAA,KAAA,CAAAa,MAAAA,MAAAb,EAAA,KAAA,IAHIA,EAAA,UAGiF,GAGzFY,IAAAE,GAAAzB,GAAA0B,EAAA,EAAA,CAAA,GAEAV,IAAAN,EAAA,MAAA,CAAAC,EAAA,YAAA,CAAAA,EAAA,WAAA,GAEAgB,IAAAD,EAAA,IAAA,GACAE,IAAAF,EAAA,IAAA,GACAG,IAAAH,EAAA,IAAA,GAEAI,IAAA,CAAAC,MAAA;;AACI,UAAA,CAAApB,EAAA,YAAA,CAAAA,EAAA,UAAA;AAUI,YARAiB,EAAA,WAAAI,KAAAC,IAAAL,EAAA,UAAA,gBAAAK,EAAA,QAAA,QAAAD,EAAA,SAAAD,EAAA,YAIAF,EAAA,WAAAK,KAAAC,IAAAN,EAAA,UAAA,gBAAAM,EAAA,QAAA,QAAAD,EAAA,SAAAH,EAAA,YAIAJ,EAAA,WAAAS,KAAAC,IAAAV,EAAA,UAAA,gBAAAU,EAAA,QAAA,QAAAD,EAAA,SAAAL,EAAA;AACI;AAIJ,cAAAO,KAAAC,EAAA;AAEA,QAAAC,EAAAF,EAAA;AAAA,MAAiB;AAAA,IACrB,GAGJC,IAAA,MAAA;;AACI,YAAAE,MAAAR,IAAAN,EAAA,UAAA,gBAAAM,EAAA,MAAA,UAAA;AAEA,UAAAX,EAAA,OAAA;AACI,cAAAoB,IAAA,CAAA,GAAA/B,EAAA,UAAA,GACAgC,IAAAD,EAAA,QAAA/B,EAAA,KAAA;AAEA,eAAAgC,MAAA,KACID,EAAA,KAAA/B,EAAA,KAAA,IAEA+B,EAAA,OAAAC,GAAA,CAAA,GAEJD;AAAA,MAAO;AAGX,aAAAnB,EAAA,QACIZ,EAAA,QAEJ,CAAA8B;AAAA,IAAQ,GAGZD,IAAA,CAAAF,MAAA;AACI,MAAA,CAAA3B,EAAA,YAAA,CAAAA,EAAA,aACIiC,EAAA,sBAAAN,CAAA,GACAM,EAAA,SAAAN,CAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oECtDJO,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBArEA3C,IAAAC,EAAA,GAIAC,IAAA,CAAA0C,MAAA,CAAA,CAAA5C,EAAA4C,CAAA,GAEAC,IAAArC,EAAA,OAAA;AAAA,MAAgD,6CAAAC,EAAA,WAAA;AAAA,IACkB,EAAA,GAGlEqC,IAAAtB,EAAAf,EAAA,UAAA;AACA,IAAAsC;AAAA,MAAA,MAAAtC,EAAA;AAAA,MACgB,MAAA;AAER,QAAAqC,EAAA,QAAArC,EAAA;AAAA,MAAyB;AAAA,IAC7B;AAIJ,UAAAuC,IAAA3C,EAAA,OAAA,GACA4C,IAAAzC,EAAA,MAAA,CAAAC,EAAA,YAAA,CAAAA,EAAA,YAAA,CAAA,CAAAA,EAAA,YAAA,GAEAyC,IAAA,CAAAC,MAAA;AACI,MAAAL,EAAA,QAAAK,GACAT,EAAA,sBAAAS,CAAA,GACAT,EAAA,SAAAS,CAAA;AAAA,IAAmB,GAGvBC,IAAA5C,EAAA,MAAAC,EAAA,YAAA,OAAA;AAEA,WAAA4C,GAAAvD,GAAAsD,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,230 @@
1
+ import { defineComponent as T, openBlock as E, createBlock as $, unref as a, createSlots as x, withCtx as n, createElementVNode as m, createVNode as r, createTextVNode as K, toDisplayString as R, renderSlot as h, toRefs as F, ref as i, computed as J, watch as Y, nextTick as M, provide as g, createElementBlock as C, normalizeClass as z, withKeys as j, withModifiers as q, createCommentVNode as H } from "vue";
2
+ import { B as D } from "./typography.D7onlQ9v.js";
3
+ import { F as Q } from "./footer-actions.D9nQFagi.js";
4
+ import { D as W, B as X, b as Z, a as ee } from "./dialog-page.BLqqR73w.js";
5
+ import { _ as N } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
+ import { B as te } from "./button.DoqHEvPh.js";
7
+ import { B as ae } from "./focus-trap.CwkbHfT8.js";
8
+ import { C as se } from "./cross.BlL0FyHo.js";
9
+ import { S as ie } from "./sidepanel.keys.R0DKQuYx.js";
10
+ import { u as ne } from "./i18n.DY5YXG5f.js";
11
+ import { g as oe } from "./unique-id.XFfoKuc2.js";
12
+ import "../assets/sidepanel.css";
13
+ const le = { class: "b-sidepanel-page__header" }, re = { class: "b-sidepanel-page__content" }, ce = { class: "b-sidepanel-page__actions" }, de = {}, ue = /* @__PURE__ */ T({
14
+ ...de,
15
+ __name: "sidepanel-page",
16
+ props: {
17
+ /**
18
+ * List of actions that will be used to render the buttons.
19
+ * First element in the list will be rendered as "primary".
20
+ * All elements after the first will be rendered as "secondary".
21
+ *
22
+ * ```
23
+ * [{
24
+ * title: 'Primary',
25
+ * event: () => { ... },
26
+ * icon: FourPeopleIcon
27
+ * }, {
28
+ * title: 'Secondary',
29
+ * event: () => { ... }
30
+ * }]
31
+ * ```
32
+ */
33
+ actions: {
34
+ type: Array,
35
+ default: null
36
+ },
37
+ /**
38
+ * Text label that is displayed left to the action buttons
39
+ */
40
+ actionsLabel: {
41
+ type: String,
42
+ default: null
43
+ },
44
+ /**
45
+ * If passed - sets first button color to red
46
+ */
47
+ destructiveActions: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ /**
52
+ * Identifier of the page, used with activePage prop to handle sidepanel navigation
53
+ */
54
+ pageId: {
55
+ type: String,
56
+ default: void 0
57
+ },
58
+ /**
59
+ * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior
60
+ * Used when the back button should not take the user to the natural previous page
61
+ * Set to `null` to hide back button in the page
62
+ */
63
+ previousPage: {
64
+ type: String,
65
+ default: void 0
66
+ },
67
+ /**
68
+ * Title of the sidepanel page
69
+ */
70
+ title: {
71
+ type: String,
72
+ default: null
73
+ }
74
+ },
75
+ setup(e) {
76
+ return (c, A) => (E(), $(a(W), {
77
+ class: "b-sidepanel-page",
78
+ "page-id": e.pageId,
79
+ "previous-page": e.previousPage
80
+ }, x({
81
+ header: n(() => [
82
+ m("div", le, [
83
+ r(a(D), {
84
+ class: "b-sidepanel-page__title",
85
+ el: "h2",
86
+ variant: "title"
87
+ }, {
88
+ default: n(() => [
89
+ K(R(e.title), 1)
90
+ ]),
91
+ _: 1
92
+ })
93
+ ])
94
+ ]),
95
+ content: n(() => [
96
+ m("div", re, [
97
+ r(a(D), {
98
+ el: "div",
99
+ variant: "body"
100
+ }, {
101
+ default: n(() => [
102
+ h(c.$slots, "default", {}, void 0, !0)
103
+ ]),
104
+ _: 3
105
+ })
106
+ ])
107
+ ]),
108
+ _: 2
109
+ }, [
110
+ e.actions && e.actions.length > 0 ? {
111
+ name: "footer",
112
+ fn: n(() => [
113
+ m("div", ce, [
114
+ r(a(Q), {
115
+ actions: e.actions,
116
+ "actions-label": e.actionsLabel,
117
+ "destructive-actions": e.destructiveActions
118
+ }, null, 8, ["actions", "actions-label", "destructive-actions"])
119
+ ])
120
+ ]),
121
+ key: "0"
122
+ } : void 0
123
+ ]), 1032, ["page-id", "previous-page"]));
124
+ }
125
+ }), he = /* @__PURE__ */ N(ue, [["__scopeId", "data-v-b0fa716c"]]);
126
+ var v = /* @__PURE__ */ ((e) => (e.UPDATE_ACTIVE_PAGE = "update:active-page", e.UPDATE_IS_OPEN = "update:is-open", e))(v || {});
127
+ const O = {
128
+ "en-US": {
129
+ close: "Close"
130
+ }
131
+ }, pe = ["id"], fe = {
132
+ key: 0,
133
+ class: "b-sidepanel__close-button"
134
+ }, ve = {
135
+ i18n: { messages: O }
136
+ }, _e = /* @__PURE__ */ T({
137
+ ...ve,
138
+ __name: "sidepanel",
139
+ props: {
140
+ /**
141
+ * The id of the current active page
142
+ * Should be the same id as the BentoSidepanelPage to be displayed
143
+ * If the component only has one page, it can be left null/undefined.
144
+ */
145
+ activePage: {
146
+ type: String,
147
+ default: null
148
+ },
149
+ /**
150
+ * If set to true, it allows the sidepanel to be closed
151
+ */
152
+ isDismissible: {
153
+ type: Boolean,
154
+ default: !1
155
+ },
156
+ /**
157
+ * Controls the sidepanel's state from the outside. Set it to true to open the sidepanel
158
+ */
159
+ isOpen: {
160
+ type: Boolean,
161
+ default: null
162
+ }
163
+ },
164
+ setup(e, { emit: c }) {
165
+ const A = e, { activePage: I, isOpen: P } = F(A), { t: S } = ne({ messages: O }), o = i(null), d = i([]), l = i([]), B = i(X.TRANSITION_LEVEL_DEEPER), u = i(!1), b = oe("sidepanel"), _ = i(!1), y = i(!1), G = J(() => ({
166
+ "b-sidepanel--hide": u.value,
167
+ "b-sidepanel--animation": y.value
168
+ })), k = () => {
169
+ u.value && (o.value.close(), l.value[0] && c(v.UPDATE_ACTIVE_PAGE, l.value[0]), l.value = [], u.value = !1, _.value = !1, c(v.UPDATE_IS_OPEN, !1));
170
+ }, p = () => {
171
+ o.value.open && (u.value = !0);
172
+ }, L = ({ target: t }) => {
173
+ t && t.tagName === "DIALOG" && p();
174
+ };
175
+ Y(
176
+ () => P.value,
177
+ async () => {
178
+ await M(), o.value && (P.value ? (_.value = !0, o.value.showModal(), l.value.length || l.value.push(I.value)) : o.value.open && p());
179
+ },
180
+ { immediate: !0 }
181
+ );
182
+ const V = (t) => c(v.UPDATE_ACTIVE_PAGE, t), w = (t) => () => {
183
+ var s;
184
+ d.value = (s = d.value) == null ? void 0 : s.filter((f) => f !== t);
185
+ }, U = (t) => (d.value.push(t), { unregisterPage: w(t) });
186
+ return g(Z, {
187
+ activePage: I,
188
+ animation: B,
189
+ isAnimationActive: y,
190
+ isOpen: _,
191
+ pages: d,
192
+ previousPages: l,
193
+ updatePage: V
194
+ }), g(ee, U), g(ie, b), (t, s) => (E(), C("dialog", {
195
+ id: a(b),
196
+ ref_key: "sidepanel",
197
+ ref: o,
198
+ class: z(["b-sidepanel", a(G)]),
199
+ onAnimationend: k,
200
+ onClick: s[0] || (s[0] = (f) => e.isDismissible && L(f)),
201
+ onKeydown: s[1] || (s[1] = j(q((f) => e.isDismissible && p, ["prevent"]), ["esc"]))
202
+ }, [
203
+ r(a(ae), null, {
204
+ default: n(() => [
205
+ e.isDismissible ? (E(), C("div", fe, [
206
+ r(a(te), {
207
+ variant: "tertiary",
208
+ onClick: p
209
+ }, {
210
+ default: n(() => [
211
+ r(a(se), {
212
+ "svg-title": a(S)("close")
213
+ }, null, 8, ["svg-title"])
214
+ ]),
215
+ _: 1
216
+ })
217
+ ])) : H("", !0),
218
+ h(t.$slots, "default", {}, void 0, !0)
219
+ ]),
220
+ _: 3
221
+ })
222
+ ], 42, pe));
223
+ }
224
+ }), Ne = /* @__PURE__ */ N(_e, [["__scopeId", "data-v-2df3d3b5"]]);
225
+ export {
226
+ v as B,
227
+ Ne as a,
228
+ he as s
229
+ };
230
+ //# sourceMappingURL=sidepanel.B-LtA15e.js.map