@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.21

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 (624) hide show
  1. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js +1 -0
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs +223 -0
  3. package/dist/Amount.vue.es-DExaYBqm.js +1 -0
  4. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  5. package/dist/Avatar.vue.es-CJw5z7Uu.js +1 -0
  6. package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
  9. package/dist/Button.vue.es-BWl37nzm.js +1 -0
  10. package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
  11. package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
  12. package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
  13. package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
  14. package/dist/Chip.vue.es-DUgjuRWm.js +1 -0
  15. package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
  16. package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
  17. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  18. package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
  19. package/dist/ContextMenu.vue.es-BllxeDTt.js +1 -0
  20. package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
  21. package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
  22. package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
  23. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  24. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
  25. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
  26. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
  27. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -0
  28. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  29. package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
  30. package/dist/DividerText.vue.es-BBdydUy_.js +1 -0
  31. package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
  32. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
  33. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
  34. package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
  35. package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -0
  36. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  37. package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
  38. package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
  39. package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
  40. package/dist/IconButton.vue.es-DAR7e8NA.mjs +198 -0
  41. package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
  42. package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
  43. package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
  44. package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
  45. package/dist/Input.vue.es-BN95nPBw.js +1 -0
  46. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
  47. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
  48. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
  49. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
  50. package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
  51. package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
  52. package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
  53. package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
  54. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
  55. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
  56. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
  57. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
  58. package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DGJ_PiVq.js} +1 -1
  59. package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
  60. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
  61. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
  62. package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
  63. package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-DqqGcEP1.js} +1 -1
  64. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
  65. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
  66. package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
  67. package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
  68. package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
  69. package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
  70. package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
  71. package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
  72. package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-BQ5TVHlS.js} +1 -1
  73. package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
  74. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
  75. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
  76. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
  77. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
  78. package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
  79. package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
  80. package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
  81. package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
  82. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
  83. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
  84. package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
  85. package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
  86. package/dist/Section.vue.es-By1JltGi.mjs +72 -0
  87. package/dist/Section.vue.es-DuK52y67.js +1 -0
  88. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
  89. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -0
  90. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
  91. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
  92. package/dist/SubscriptionSchedules-DDCjVEbG.mjs +4 -0
  93. package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
  94. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
  95. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
  96. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
  97. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
  98. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
  99. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
  100. package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
  101. package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
  102. package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
  103. package/dist/TrialChip.vue.es-DX53r0ku.mjs +35 -0
  104. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  105. package/dist/accel.svg.es-DFJXdioD.js +1 -0
  106. package/dist/ach.svg.es-BYP873jU.js +1 -0
  107. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  108. package/dist/adyen-BJfC7N6f.js +1 -0
  109. package/dist/adyen-Bugab0JE.mjs +4 -0
  110. package/dist/adyen-CvsH5fok.mjs +117 -0
  111. package/dist/adyen-Druit6gz.js +1 -0
  112. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  113. package/dist/adyenSdk-BP2XXzeJ.js +1 -0
  114. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  115. package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
  116. package/dist/amex.svg.es-DKhW4Txt.js +1 -0
  117. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  118. package/dist/api.es-QaC926Xu.mjs +43 -0
  119. package/dist/api.es-duCDtZD9.js +1 -0
  120. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  121. package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
  122. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  123. package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
  124. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  125. package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
  126. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  127. package/dist/carnet.svg.es-DY04-F2L.js +1 -0
  128. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
  129. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  130. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  131. package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
  132. package/dist/cn.es-CNvIP217.js +1 -0
  133. package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-DjnGlmqV.mjs} +657 -927
  134. package/dist/comparators.es-D8WGL-c4.mjs +153 -0
  135. package/dist/comparators.es-OGt19O9U.js +1 -0
  136. package/dist/component-5wqcK7yz.mjs +8 -0
  137. package/dist/component-B7ZDyqBp.js +1 -0
  138. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  139. package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
  140. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  141. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
  142. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  143. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
  144. package/dist/components/Invoice/Invoice.cjs +1 -1
  145. package/dist/components/Invoice/Invoice.mjs +372 -430
  146. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  147. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
  148. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  149. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
  150. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  151. package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
  152. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  153. package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
  154. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  155. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
  156. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  157. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
  158. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  159. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
  160. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  161. package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
  162. package/dist/configuration-BytDBAWs.mjs +14 -0
  163. package/dist/configuration-akTS7Wiw.js +1 -0
  164. package/dist/core/index.cjs +1 -1
  165. package/dist/core/index.mjs +89 -104
  166. package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
  167. package/dist/countryData.es-C4jHBzfo.js +1 -0
  168. package/dist/customElements-Bt8PbjIn.js +1187 -0
  169. package/dist/customElements-Com2NiGU.mjs +6531 -0
  170. package/dist/customer-CKgMJEgv.mjs +31 -0
  171. package/dist/customer-Q4JGfVfq.js +1 -0
  172. package/dist/customer.es-B5ppZf0j.mjs +20 -0
  173. package/dist/customer.es-BButyYo0.js +1 -0
  174. package/dist/dana.svg.es-BDtZLpwd.js +1 -0
  175. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  176. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  177. package/dist/dankort.svg.es-CksaipXF.js +1 -0
  178. package/dist/{de-DE-CI2zQkiP.mjs → de-DE-CVCmzlNH.mjs} +5 -5
  179. package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DBO5f-Eu.mjs} +38 -56
  180. package/dist/{de-DE-_40QfLNJ.js → de-DE-DqLD4IX2.js} +1 -1
  181. package/dist/de-DE-Ds_yJLS3.js +1 -0
  182. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  183. package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
  184. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  185. package/dist/discover.svg.es-DgqWCMUM.js +1 -0
  186. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  187. package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
  188. package/dist/elo.svg.es-C-BzjuRP.js +1 -0
  189. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  190. package/dist/{en-US-5YWNEi-V.mjs → en-US-3UmnS23B.mjs} +38 -56
  191. package/dist/en-US-C51ILrVv.js +1 -0
  192. package/dist/{en-US--NRsi7Hz.js → en-US-CvFmmI_O.js} +1 -1
  193. package/dist/{en-US-DksUWPIu.mjs → en-US-DVR9O7b_.mjs} +5 -5
  194. package/dist/eps.svg.es-B_85bP-W.js +1 -0
  195. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  196. package/dist/error-BHVZJGwD.mjs +13 -0
  197. package/dist/error-CmduqgVq.js +1 -0
  198. package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
  199. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
  200. package/dist/formatting.es-C72Nsrmh.js +1 -0
  201. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  202. package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
  203. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  204. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  205. package/dist/getComposedString.es-haS4bAj7.js +1 -0
  206. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  207. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
  208. package/dist/girocard.svg.es-HSOEvDif.js +1 -0
  209. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  210. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  211. package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
  212. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  213. package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
  214. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  215. package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
  216. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
  217. package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
  218. package/dist/ideal.svg.es-Booz1IML.js +1 -0
  219. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  220. package/dist/index-BPU8tIml.mjs +828 -0
  221. package/dist/index-BPZPnOQQ.js +7 -0
  222. package/dist/index-CTwLxoOS.mjs +7250 -0
  223. package/dist/index-DwueOtPi.js +1 -0
  224. package/dist/index.cjs +1 -1
  225. package/dist/index.es-BclokHQX.js +1 -0
  226. package/dist/index.es-CXkP_k3u.mjs +345 -0
  227. package/dist/index.mjs +40 -40
  228. package/dist/invoices-CV9iAUHf.mjs +115 -0
  229. package/dist/invoices-CvpL4rv5.js +1 -0
  230. package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-CDMnnFKZ.mjs} +5 -5
  231. package/dist/{it-IT-aPQY57ht.js → it-IT-CFEfSpPH.js} +1 -1
  232. package/dist/{it-IT-B6blp8MI.mjs → it-IT-CxBRisRm.mjs} +38 -56
  233. package/dist/it-IT-Dxw59eR_.js +1 -0
  234. package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
  235. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  236. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  237. package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
  238. package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
  239. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  240. package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
  241. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  242. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  243. package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
  244. package/dist/momo.svg.es-C5aLYf_R.js +1 -0
  245. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  246. package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-BWGkVweu.mjs} +38 -56
  247. package/dist/nl-NL-Btbfd9p2.js +1 -0
  248. package/dist/{nl-NL-zRUAuEHg.js → nl-NL-jtVgF3jx.js} +1 -1
  249. package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-o3UvtSNg.mjs} +5 -5
  250. package/dist/nyce.svg.es-ArAivAZW.js +1 -0
  251. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  252. package/dist/object.es-8aLDIncs.mjs +12 -0
  253. package/dist/object.es-CdriXMPs.js +1 -0
  254. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  255. package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
  256. package/dist/paymentMethods-BuwoJ1y9.mjs +75 -0
  257. package/dist/paymentMethods-ChWAwDSF.js +1 -0
  258. package/dist/payments-C_cMXQzE.mjs +45 -0
  259. package/dist/payments-DGckugN0.js +1 -0
  260. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  261. package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
  262. package/dist/pricing-BVAld27Y.js +1 -0
  263. package/dist/pricing-DLOeiAIB.mjs +16 -0
  264. package/dist/pricingItemConfigs.es-DMf1e6y7.mjs +76 -0
  265. package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
  266. package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
  267. package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -0
  268. package/dist/pulse.svg.es-Dit33E8S.js +1 -0
  269. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  270. package/dist/screens/Checkout/Checkout.cjs +1 -1
  271. package/dist/screens/Checkout/Checkout.mjs +3 -5237
  272. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  273. package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
  274. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  275. package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
  276. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  277. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
  278. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  279. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
  280. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  281. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
  282. package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
  283. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  284. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  285. package/dist/slots.es-T9ZJRGtG.js +1 -0
  286. package/dist/sorting.es-DCihKqD2.mjs +77 -0
  287. package/dist/sorting.es-DQsjKr8A.js +1 -0
  288. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  289. package/dist/star.svg.es-D2JncY7b.js +1 -0
  290. package/dist/subscription-9GORG-Gt.js +1 -0
  291. package/dist/subscription-CvfAEJeP.mjs +69 -0
  292. package/dist/subscriptions-B5VqRayX.mjs +55 -0
  293. package/dist/subscriptions-X0Ciw8z3.js +1 -0
  294. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  295. package/dist/trustly.svg.es-GJByiFAs.js +1 -0
  296. package/dist/twint.svg.es-BJ2f48og.js +1 -0
  297. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  298. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  299. package/dist/typeGuards.es-DS3vZaJn.js +1 -0
  300. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
  301. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
  302. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
  303. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
  304. package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
  305. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  306. package/dist/url-BNKStNY9.js +1 -0
  307. package/dist/url-DwiuKYpu.mjs +20 -0
  308. package/dist/useActionDispatchProvider-B54GYEY7.js +1 -0
  309. package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
  310. package/dist/useCustomer-BJwJ9BkJ.js +1 -0
  311. package/dist/useCustomer-CC9zxV6c.mjs +20 -0
  312. package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
  313. package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
  314. package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
  315. package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
  316. package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
  317. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
  318. package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
  319. package/dist/useInvoiceData-Bblwdl0f.js +1 -0
  320. package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
  321. package/dist/useInvoicesList-_U1-tn9_.js +1 -0
  322. package/dist/useLoadInitialData-CezlvhBV.js +1 -0
  323. package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
  324. package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
  325. package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
  326. package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
  327. package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
  328. package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
  329. package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
  330. package/dist/usePayments-BkwGyZT0.mjs +318 -0
  331. package/dist/usePayments-SQF_V7oL.js +1 -0
  332. package/dist/usePortal-BdM7hDge.js +1 -0
  333. package/dist/usePortal-DDG9b6FI.mjs +11 -0
  334. package/dist/useService-Bh47bllz.mjs +50 -0
  335. package/dist/useService-H7BjLg8P.js +1 -0
  336. package/dist/useSubscription-BJJYHYgr.mjs +210 -0
  337. package/dist/useSubscription-Q4C2DPhw.js +1 -0
  338. package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
  339. package/dist/useTimePeriod.es-pepm2TpV.js +1 -0
  340. package/dist/useViewport-BgdA2PPt.mjs +29 -0
  341. package/dist/useViewport-hPRVDWCm.js +1 -0
  342. package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
  343. package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
  344. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  345. package/dist/visa.svg.es-NY3BHhda.js +1 -0
  346. package/dist/vpay.svg.es-VViQi42w.js +1 -0
  347. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  348. package/dist/zip.svg.es-C9S_F31W.js +1 -0
  349. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  350. package/package.json +3 -3
  351. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
  352. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
  353. package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
  354. package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
  355. package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
  356. package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
  357. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
  358. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
  359. package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
  360. package/dist/Button.vue.es-O8mNivLL.js +0 -1
  361. package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
  362. package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
  363. package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
  364. package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
  365. package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
  366. package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
  367. package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
  368. package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
  369. package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
  370. package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
  371. package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
  372. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
  373. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
  374. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
  375. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
  376. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  377. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  378. package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
  379. package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
  380. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
  381. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
  382. package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
  383. package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
  384. package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
  385. package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
  386. package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
  387. package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
  388. package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
  389. package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
  390. package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
  391. package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
  392. package/dist/Input.vue.es-DqKJhFTr.js +0 -1
  393. package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
  394. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
  395. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
  396. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
  397. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
  398. package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
  399. package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
  400. package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
  401. package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
  402. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
  403. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
  404. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
  405. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
  406. package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
  407. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
  408. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
  409. package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
  410. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
  411. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
  412. package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
  413. package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
  414. package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
  415. package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
  416. package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
  417. package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
  418. package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
  419. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
  420. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
  421. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
  422. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
  423. package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
  424. package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
  425. package/dist/Section.vue.es-CAJvEDn6.js +0 -1
  426. package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
  427. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
  428. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
  429. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
  430. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
  431. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
  432. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
  433. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
  434. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
  435. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
  436. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
  437. package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
  438. package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
  439. package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
  440. package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
  441. package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
  442. package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
  443. package/dist/ach.svg.es-B4tn0_IV.js +0 -1
  444. package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
  445. package/dist/adyen-51SvcyqV.mjs +0 -4
  446. package/dist/adyen-BXi_D9TQ.mjs +0 -123
  447. package/dist/adyen-DZsyEXkw.js +0 -1
  448. package/dist/adyen-VS2sDW0m.js +0 -1
  449. package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
  450. package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
  451. package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
  452. package/dist/amex.svg.es-Bn9e31C3.js +0 -1
  453. package/dist/api.es-C5pe8LUl.mjs +0 -62
  454. package/dist/api.es-Czekkp_X.js +0 -1
  455. package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
  456. package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
  457. package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
  458. package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
  459. package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
  460. package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
  461. package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
  462. package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
  463. package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
  464. package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
  465. package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
  466. package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
  467. package/dist/cn.es-DxSeYcoP.js +0 -1
  468. package/dist/comparators.es-9VsCB-JI.mjs +0 -175
  469. package/dist/comparators.es-wrKHduVq.js +0 -1
  470. package/dist/component-BG6DmXcy.mjs +0 -9
  471. package/dist/component-hDuDTBt5.js +0 -1
  472. package/dist/configuration-BjYwV4_B.js +0 -1
  473. package/dist/configuration-CD8cOXAJ.mjs +0 -15
  474. package/dist/countryData.es-D3MFzU92.js +0 -1
  475. package/dist/customElements-B-89a5oH.mjs +0 -6810
  476. package/dist/customElements-DD7bpqkx.js +0 -1
  477. package/dist/customer-DozNwS_a.js +0 -1
  478. package/dist/customer-Dzj1g9lV.mjs +0 -32
  479. package/dist/customer.es-C_vSWcVA.mjs +0 -30
  480. package/dist/customer.es-D42Md24r.js +0 -1
  481. package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
  482. package/dist/dana.svg.es-DKZaseoJ.js +0 -1
  483. package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
  484. package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
  485. package/dist/de-DE-BvHD68Ay.js +0 -1
  486. package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
  487. package/dist/diners.svg.es-SydF_H-Z.js +0 -1
  488. package/dist/discover.svg.es-B8vgzVNG.js +0 -1
  489. package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
  490. package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
  491. package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
  492. package/dist/elo.svg.es-CTOm1rvj.js +0 -1
  493. package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
  494. package/dist/en-US-dqfKx3GS.js +0 -1
  495. package/dist/eps.svg.es-CApyGjyU.js +0 -1
  496. package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
  497. package/dist/error-Cg-i7gGl.js +0 -1
  498. package/dist/error-DY_I2hPx.mjs +0 -13
  499. package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
  500. package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
  501. package/dist/formatting.es-DBtYnvI5.js +0 -1
  502. package/dist/formatting.es-eYgXv_AK.mjs +0 -70
  503. package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
  504. package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
  505. package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
  506. package/dist/getComposedString.es-DvSNX-_z.js +0 -1
  507. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  508. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  509. package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
  510. package/dist/girocard.svg.es-tVgtT23w.js +0 -1
  511. package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
  512. package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
  513. package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
  514. package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
  515. package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
  516. package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
  517. package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
  518. package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
  519. package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
  520. package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
  521. package/dist/index-Cai7laNY.mjs +0 -1069
  522. package/dist/index-DIFK3mcJ.js +0 -6
  523. package/dist/index-DyvRdSR7.mjs +0 -9673
  524. package/dist/index-IZaUTAsE.js +0 -1
  525. package/dist/index.es-2JWHHSgP.js +0 -1
  526. package/dist/index.es-D5xOw_SJ.mjs +0 -542
  527. package/dist/invoices-1oYkdQQV.mjs +0 -121
  528. package/dist/invoices-BAoh6X2a.js +0 -1
  529. package/dist/it-IT-CEP3oeWs.js +0 -1
  530. package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
  531. package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
  532. package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
  533. package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
  534. package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
  535. package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
  536. package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
  537. package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
  538. package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
  539. package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
  540. package/dist/momo.svg.es-BXTQlQRy.js +0 -1
  541. package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
  542. package/dist/nl-NL-e_vf6OuT.js +0 -1
  543. package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
  544. package/dist/nyce.svg.es-DM6esO47.js +0 -1
  545. package/dist/object.es-DFXiU9p3.js +0 -1
  546. package/dist/object.es-jvvnR8Kr.mjs +0 -12
  547. package/dist/open-banking.svg.es-DUM360xB.js +0 -1
  548. package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
  549. package/dist/paymentMethods-CZ3ydybI.js +0 -1
  550. package/dist/paymentMethods-DIV78w0O.mjs +0 -78
  551. package/dist/payments--lkjiwCt.js +0 -1
  552. package/dist/payments-Cvqdrprv.mjs +0 -47
  553. package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
  554. package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
  555. package/dist/pricing-3W7XLwL6.js +0 -1
  556. package/dist/pricing-CJxS2hr2.mjs +0 -17
  557. package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
  558. package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
  559. package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
  560. package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
  561. package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
  562. package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
  563. package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
  564. package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
  565. package/dist/slots.es-BpwYO3A3.mjs +0 -18
  566. package/dist/slots.es-Dq1PTUOv.js +0 -1
  567. package/dist/sorting.es-CjTrRfSW.mjs +0 -105
  568. package/dist/sorting.es-RyvcgbSL.js +0 -1
  569. package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
  570. package/dist/star.svg.es-Q50IzqXr.js +0 -1
  571. package/dist/subscription-C41lG-rH.mjs +0 -89
  572. package/dist/subscription-b0OPx8Du.js +0 -1
  573. package/dist/subscriptions-300o4ae0.js +0 -1
  574. package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
  575. package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
  576. package/dist/trustly.svg.es-CHojqNqm.js +0 -1
  577. package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
  578. package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
  579. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  580. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  581. package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
  582. package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
  583. package/dist/url-CjULBkjW.js +0 -1
  584. package/dist/url-CvNDq4wp.mjs +0 -22
  585. package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
  586. package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
  587. package/dist/useCustomer-DLHOs4BR.js +0 -1
  588. package/dist/useCustomer-EDhref7T.mjs +0 -25
  589. package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
  590. package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
  591. package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
  592. package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
  593. package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
  594. package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
  595. package/dist/useInvoiceData-BSjVeJrI.js +0 -1
  596. package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
  597. package/dist/useInvoicesList-BRDZqsaB.js +0 -1
  598. package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
  599. package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
  600. package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
  601. package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
  602. package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
  603. package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
  604. package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
  605. package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
  606. package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
  607. package/dist/usePayments-CANj0QVc.js +0 -1
  608. package/dist/usePayments-CaT1CBzE.mjs +0 -362
  609. package/dist/usePortal-BjGoSeLy.js +0 -1
  610. package/dist/usePortal-CMPQ0M9R.mjs +0 -12
  611. package/dist/useService-D73FNBjT.js +0 -1
  612. package/dist/useService-W3Kxems4.mjs +0 -72
  613. package/dist/useSubscription-D1UKnZAx.mjs +0 -250
  614. package/dist/useSubscription-DZfRHbL7.js +0 -1
  615. package/dist/useViewport-Bu0cyeSi.mjs +0 -38
  616. package/dist/useViewport-CKRY1CKR.js +0 -1
  617. package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
  618. package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
  619. package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
  620. package/dist/visa.svg.es-D6sc4YTE.js +0 -1
  621. package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
  622. package/dist/vpay.svg.es-CLGTyB09.js +0 -1
  623. package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
  624. package/dist/zip.svg.es-BRsgmur-.js +0 -1
@@ -1,101 +0,0 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createBlock, unref, createCommentVNode, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, Fragment } from "vue";
2
- import { _ as _sfc_main$1 } from "./Avatar.vue.es-DJzJiYtv.mjs";
3
- import { u as useIntl, _ as _sfc_main$2 } from "./customElements-B-89a5oH.mjs";
4
- import { g as getMostRecentPricingPlan, a as getSubscriptionName, f as findPricingsByIds } from "./subscription-C41lG-rH.mjs";
5
- const _hoisted_1 = { class: "grow" };
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- __name: "SubscriptionSummary",
8
- props: {
9
- subscription: { type: Object },
10
- invoice: { type: Object },
11
- loading: { type: Boolean },
12
- enabledPricingIds: { type: Array },
13
- avatar: { type: String },
14
- noSpacing: { type: Boolean },
15
- trialPeriod: { type: Object }
16
- },
17
- setup(__props) {
18
- const props = __props;
19
- const { $t } = useIntl();
20
- const mostRecentPricingPlan = computed(() => getMostRecentPricingPlan(props.subscription));
21
- const name = computed(
22
- () => getSubscriptionName({
23
- subscription: props.subscription,
24
- fallback: $t({
25
- defaultMessage: "Subscription",
26
- description: "The fallback name for when no subscription name can be determined",
27
- id: "customer_overview.subscriptions_block.fallback_subscription_name"
28
- })
29
- })
30
- );
31
- const description = computed(
32
- () => {
33
- var _a;
34
- return props.subscription.description || ((_a = mostRecentPricingPlan.value) == null ? void 0 : _a.description);
35
- }
36
- );
37
- const selectedPricings = computed(() => {
38
- if (!props.subscription || !props.enabledPricingIds) {
39
- return void 0;
40
- }
41
- const pricings = findPricingsByIds(props.subscription, props.enabledPricingIds);
42
- const names = pricings == null ? void 0 : pricings.map((pricing) => {
43
- var _a, _b;
44
- return pricing.name ?? ((_b = (_a = pricing.products) == null ? void 0 : _a[0]) == null ? void 0 : _b.name);
45
- }).join(" - ");
46
- return names;
47
- });
48
- return (_ctx, _cache) => {
49
- return openBlock(), createElementBlock("div", {
50
- class: normalizeClass(["flex flex-row gap-3", __props.noSpacing ? void 0 : "px-3 py-2"])
51
- }, [
52
- __props.avatar ? (openBlock(), createBlock(unref(_sfc_main$1), {
53
- key: 0,
54
- "image-src": __props.avatar,
55
- size: "lg",
56
- class: "my-1"
57
- }, null, 8, ["image-src"])) : createCommentVNode("", true),
58
- createElementVNode("div", _hoisted_1, [
59
- createVNode(unref(_sfc_main$2), {
60
- variant: "body",
61
- weight: "semibold",
62
- "no-spacing": ""
63
- }, {
64
- default: withCtx(() => [
65
- createTextVNode(toDisplayString(name.value), 1)
66
- ]),
67
- _: 1
68
- }),
69
- selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$2), {
70
- key: 0,
71
- variant: "body-xs",
72
- color: "subtle",
73
- "no-spacing": ""
74
- }, {
75
- default: withCtx(() => [
76
- createTextVNode(toDisplayString(selectedPricings.value), 1)
77
- ]),
78
- _: 1
79
- })) : createCommentVNode("", true),
80
- description.value ? (openBlock(), createBlock(unref(_sfc_main$2), {
81
- key: 1,
82
- variant: "body-xs",
83
- color: "subtle",
84
- "no-spacing": ""
85
- }, {
86
- default: withCtx(() => [
87
- selectedPricings.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
88
- createTextVNode(" • ")
89
- ], 64)) : createCommentVNode("", true),
90
- createTextVNode(" " + toDisplayString(description.value), 1)
91
- ]),
92
- _: 1
93
- })) : createCommentVNode("", true)
94
- ])
95
- ], 2);
96
- };
97
- }
98
- });
99
- export {
100
- _sfc_main as _
101
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./Avatar.vue.es-BGTZSAqU.js"),n=require("./customElements-DD7bpqkx.js"),o=require("./subscription-b0OPx8Du.js"),i={class:"grow"},a=e.defineComponent({__name:"SubscriptionSummary",props:{subscription:{type:Object},invoice:{type:Object},loading:{type:Boolean},enabledPricingIds:{type:Array},avatar:{type:String},noSpacing:{type:Boolean},trialPeriod:{type:Object}},setup(a){const r=a,{$t:c}=n.useIntl(),s=e.computed(()=>o.getMostRecentPricingPlan(r.subscription)),l=e.computed(()=>o.getSubscriptionName({subscription:r.subscription,fallback:c({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})})),u=e.computed(()=>{var e;return r.subscription.description||(null==(e=s.value)?void 0:e.description)}),p=e.computed(()=>{if(!r.subscription||!r.enabledPricingIds)return;const e=o.findPricingsByIds(r.subscription,r.enabledPricingIds);return null==e?void 0:e.map(e=>{var t,n;return e.name??(null==(n=null==(t=e.products)?void 0:t[0])?void 0:n.name)}).join(" - ")});return(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-3",a.noSpacing?void 0:"px-3 py-2"])},[a.avatar?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,"image-src":a.avatar,size:"lg",class:"my-1"},null,8,["image-src"])):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createVNode(e.unref(n._sfc_main),{variant:"body",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1}),p.value?(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:0,variant:"body-xs",color:"subtle","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1})):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:1,variant:"body-xs",color:"subtle","no-spacing":""},{default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" • ")],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(u.value),1)]),_:1})):e.createCommentVNode("",!0)])],2))}});exports._sfc_main=a;
@@ -1 +0,0 @@
1
- const e=require("./useIncrementalLoading-CdtGJm_Y.js"),t=require("./subscriptions-300o4ae0.js"),s=require("vue"),i=require("./Button.vue.es-O8mNivLL.js"),o=require("./Section.vue.es-CAJvEDn6.js"),n=require("./customElements-DD7bpqkx.js"),r=require("./PaymentMethod.vue.es-CdskNJ3Z.js"),c=require("./subscription-b0OPx8Du.js"),a=require("./Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),l=require("./useActionDispatchProvider-Cv9amjTf.js");const u={class:"sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row"},p={class:"sv-subscriptions-list__item-content grow"},d={class:"sv-subscriptions-list__item-meta mt-4 flex items-center gap-6"},m={key:1,class:"sv-subscriptions-list__item-next-invoice flex gap-1"},b={class:"sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row"},_=s.defineComponent({__name:"SubscriptionsListItem",props:{subscription:{type:Object},paymentMethod:{type:Object},customer:{type:Object},showViewSubscriptionDetailsButton:{type:Boolean,default:!0}},emits:["view-subscription-details"],setup(e){const t=e,{$t:a}=n.useIntl(),{formatDate:l}=n.useIntl(),_=s.computed(()=>c.getMostRecentPricingPlan(t.subscription)),v=s.computed(()=>c.getSubscriptionName({subscription:t.subscription,fallback:a({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})})),f=s.computed(()=>{var e;return null==(e=_.value)?void 0:e.description}),h=s.computed(()=>t.showViewSubscriptionDetailsButton);return(t,c)=>(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{class:"sv-subscriptions-list__item"},{default:s.withCtx(()=>[s.createElementVNode("div",u,[s.createElementVNode("div",p,[s.createVNode(s.unref(n._sfc_main),{tag:"h3",variant:"heading-2",class:"sv-subscriptions-list__item-title"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.value),1)]),_:1}),f.value?(s.openBlock(),s.createBlock(s.unref(n._sfc_main),{key:0,variant:"body-sm",tag:"span",color:"subtle",class:"sv-subscriptions-list__item-description"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(f.value),1)]),_:1})):s.createCommentVNode("",!0),s.createElementVNode("div",d,[e.paymentMethod?(s.openBlock(),s.createBlock(s.unref(r._sfc_main),{key:0,variant:"condensed",class:"sv-payment-methods__item","payment-method":e.paymentMethod},null,8,["payment-method"])):s.createCommentVNode("",!0),e.subscription.next_invoice?(s.openBlock(),s.createElementBlock("div",m,[s.createVNode(s.unref(n._sfc_main),{tag:"span",variant:"body-xs",color:"secondary",weight:"semibold"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(a)({defaultMessage:"Next billing date",description:"The label for the next billing date",id:"customer.subscriptions_block.next_billing_date"})),1)]),_:1}),s.createVNode(s.unref(n._sfc_main),{tag:"span",variant:"body-xs",color:"secondary"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(l)({date:e.subscription.next_invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:e.customer.timezone})),1)]),_:1})])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",b,[h.value?(s.openBlock(),s.createBlock(s.unref(i._sfc_main$1),{key:0,intent:"primary",class:"sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",type:"button",onClick:c[0]||(c[0]=s=>t.$emit("view-subscription-details",{subscriptionId:e.subscription.id}))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(a)({defaultMessage:"Subscription details",description:"The label for the subscription details button in the subscriptions block",id:"customer.subscriptions_block.show_details_button_label"})),1)]),_:1})):s.createCommentVNode("",!0)])])]),_:1}))}}),v={key:1,class:"sv-subscriptions-list__items grid grid-cols-1 gap-4"},f=s.defineComponent({__name:"SubscriptionsList",props:{customer:{type:Object},subscriptions:{type:Array},paymentMethods:{default:()=>[],type:Array},isLoading:{type:Boolean},showViewAllButton:{type:Boolean,default:!0},showViewDetailsButton:{type:Boolean,default:!0}},emits:["view-subscription-details","view-all-subscriptions","load-more"],setup(e){const t=e,{$t:r}=n.useIntl(),c=s.computed(()=>t.subscriptions.length>0),a=e=>{if(e)return t.paymentMethods.find(({id:t})=>t===e)},l=s.computed(()=>t.showViewAllButton);return(t,u)=>(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{class:"sv-subscriptions-list","no-spacing":"","no-border":"",title:s.unref(r)({defaultMessage:"{count, plural, one {My subscription} other {My subscriptions}}",description:"Title for the subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.title"},{count:String(e.subscriptions.length)})},s.createSlots({default:s.withCtx(()=>[c.value?(s.openBlock(),s.createElementBlock("div",v,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subscriptions,i=>(s.openBlock(),s.createBlock(_,{key:i.id,subscription:i,"payment-method":a(i.payment_method_id),customer:e.customer,"show-view-subscription-details-button":e.showViewDetailsButton,onViewSubscriptionDetails:u[1]||(u[1]=e=>t.$emit("view-subscription-details",e))},null,8,["subscription","payment-method","customer","show-view-subscription-details-button"]))),128))])):(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{key:0,class:"sv-empty-state sv-subscriptions-list__empty"},{default:s.withCtx(()=>[s.createVNode(s.unref(n._sfc_main),{tag:"h3",variant:"heading-3"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"No subscriptions",description:"Title for the my subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.no_active_subscription_title"})),1)]),_:1}),s.createVNode(s.unref(n._sfc_main),{variant:"body-xs",color:"subtle"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"There’s no active subscription to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.subscriptions_block.no_active_subscription_content"})),1)]),_:1})]),_:1}))]),_:2},[l.value?{name:"right",fn:s.withCtx(()=>[s.createVNode(s.unref(i._sfc_main$1),{size:"sm",intent:"subtle","icon-suffix":"arrow_right_alt",class:"sv-action sv-action--ghost sv-subscriptions-list__view-all",type:"button",onClick:u[0]||(u[0]=e=>t.$emit("view-all-subscriptions"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"View all",description:"The text for the view all subscriptions button",id:"customer_overview.subscriptions_block.view_all_button_label"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),h=s.defineComponent({__name:"SubscriptionsList",props:{customer:{type:null},subscriptions:{type:Array},paymentMethods:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},emits:["load-more"],setup(e){const{dispatchAction:t}=l.useActionDispatchProvider();return(i,o)=>{var n,r;return e.isLoading?(s.openBlock(),s.createBlock(a._sfc_main,{key:0,variant:"section",class:"sv-subscriptions-list sv-root sv-component sv-loading min-h-[100px]","data-testid":"subscriptions-list-skeleton"})):e.customer?(s.openBlock(),s.createBlock(f,{key:1,class:"sv-subscriptions-list sv-root sv-component",customer:e.customer,subscriptions:e.subscriptions,"payment-methods":e.paymentMethods,"is-loading":e.isLoading,"show-view-all-button":null==(n=e.configuration)?void 0:n.showViewAllButton,"show-view-details-button":null==(r=e.configuration)?void 0:r.showViewDetailsButton,onViewSubscriptionDetails:o[0]||(o[0]=e=>s.unref(t)({action:"view-subscription-details",data:{subscriptionId:e.subscriptionId}})),onViewAllSubscriptions:o[1]||(o[1]=e=>s.unref(t)({action:"view-all-subscriptions"})),onLoadMore:o[2]||(o[2]=e=>i.$emit("load-more"))},null,8,["customer","subscriptions","payment-methods","is-loading","show-view-all-button","show-view-details-button"])):s.createCommentVNode("",!0)}}});exports._sfc_main=h,exports.useSubscriptionsList=function({customerId:s,batchSize:i=15}){const o=t.createSubscriptionsService();return e.useIncrementalLoading({service:async e=>o.getActiveSubscriptions({customerId:s,pagination:{page:e,pageSize:i}})})};
@@ -1,309 +0,0 @@
1
- import { u as useIncrementalLoading } from "./useIncrementalLoading-BK9pRYAU.mjs";
2
- import { c as createSubscriptionsService } from "./subscriptions-DcMHBPVJ.mjs";
3
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, createSlots, Fragment, renderList } from "vue";
4
- import { a as _sfc_main$6 } from "./Button.vue.es-Cm9pLU9i.mjs";
5
- import { _ as _sfc_main$3 } from "./Section.vue.es-DX_9ueCG.mjs";
6
- import { u as useIntl, _ as _sfc_main$4 } from "./customElements-B-89a5oH.mjs";
7
- import { _ as _sfc_main$5 } from "./PaymentMethod.vue.es-rv-pu1CC.mjs";
8
- import { g as getMostRecentPricingPlan, a as getSubscriptionName } from "./subscription-C41lG-rH.mjs";
9
- import { _ as _sfc_main$7 } from "./Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
10
- import { u as useActionDispatchProvider } from "./useActionDispatchProvider-BVOBO0Jx.mjs";
11
- function useSubscriptionsList({
12
- customerId,
13
- batchSize: pageSize = 15
14
- }) {
15
- const subscriptionsService = createSubscriptionsService();
16
- const service = async (page) => subscriptionsService.getActiveSubscriptions({
17
- customerId,
18
- pagination: { page, pageSize }
19
- });
20
- return useIncrementalLoading({ service });
21
- }
22
- const _hoisted_1$1 = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row" };
23
- const _hoisted_2 = { class: "sv-subscriptions-list__item-content grow" };
24
- const _hoisted_3 = { class: "sv-subscriptions-list__item-meta mt-4 flex items-center gap-6" };
25
- const _hoisted_4 = {
26
- key: 1,
27
- class: "sv-subscriptions-list__item-next-invoice flex gap-1"
28
- };
29
- const _hoisted_5 = { class: "sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row" };
30
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
31
- __name: "SubscriptionsListItem",
32
- props: {
33
- subscription: { type: Object },
34
- paymentMethod: { type: Object },
35
- customer: { type: Object },
36
- showViewSubscriptionDetailsButton: { type: Boolean, default: true }
37
- },
38
- emits: ["view-subscription-details"],
39
- setup(__props) {
40
- const props = __props;
41
- const { $t } = useIntl();
42
- const { formatDate } = useIntl();
43
- const mostRecentPricingPlan = computed(() => getMostRecentPricingPlan(props.subscription));
44
- const subscriptionName = computed(
45
- () => getSubscriptionName({
46
- subscription: props.subscription,
47
- fallback: $t({
48
- defaultMessage: "Subscription",
49
- description: "The fallback name for when no subscription name can be determined",
50
- id: "customer_overview.subscriptions_block.fallback_subscription_name"
51
- })
52
- })
53
- );
54
- const subscriptionDescription = computed(
55
- () => {
56
- var _a;
57
- return (_a = mostRecentPricingPlan.value) == null ? void 0 : _a.description;
58
- }
59
- );
60
- const isDetailButtonVisible = computed(() => props.showViewSubscriptionDetailsButton);
61
- return (_ctx, _cache) => {
62
- return openBlock(), createBlock(unref(_sfc_main$3), { class: "sv-subscriptions-list__item" }, {
63
- default: withCtx(() => [
64
- createElementVNode("div", _hoisted_1$1, [
65
- createElementVNode("div", _hoisted_2, [
66
- createVNode(unref(_sfc_main$4), {
67
- tag: "h3",
68
- variant: "heading-2",
69
- class: "sv-subscriptions-list__item-title"
70
- }, {
71
- default: withCtx(() => [
72
- createTextVNode(toDisplayString(subscriptionName.value), 1)
73
- ]),
74
- _: 1
75
- }),
76
- subscriptionDescription.value ? (openBlock(), createBlock(unref(_sfc_main$4), {
77
- key: 0,
78
- variant: "body-sm",
79
- tag: "span",
80
- color: "subtle",
81
- class: "sv-subscriptions-list__item-description"
82
- }, {
83
- default: withCtx(() => [
84
- createTextVNode(toDisplayString(subscriptionDescription.value), 1)
85
- ]),
86
- _: 1
87
- })) : createCommentVNode("", true),
88
- createElementVNode("div", _hoisted_3, [
89
- __props.paymentMethod ? (openBlock(), createBlock(unref(_sfc_main$5), {
90
- key: 0,
91
- variant: "condensed",
92
- class: "sv-payment-methods__item",
93
- "payment-method": __props.paymentMethod
94
- }, null, 8, ["payment-method"])) : createCommentVNode("", true),
95
- __props.subscription.next_invoice ? (openBlock(), createElementBlock("div", _hoisted_4, [
96
- createVNode(unref(_sfc_main$4), {
97
- tag: "span",
98
- variant: "body-xs",
99
- color: "secondary",
100
- weight: "semibold"
101
- }, {
102
- default: withCtx(() => [
103
- createTextVNode(toDisplayString(unref($t)({
104
- defaultMessage: "Next billing date",
105
- description: "The label for the next billing date",
106
- id: "customer.subscriptions_block.next_billing_date"
107
- })), 1)
108
- ]),
109
- _: 1
110
- }),
111
- createVNode(unref(_sfc_main$4), {
112
- tag: "span",
113
- variant: "body-xs",
114
- color: "secondary"
115
- }, {
116
- default: withCtx(() => [
117
- createTextVNode(toDisplayString(unref(formatDate)({
118
- date: __props.subscription.next_invoice.invoice_date,
119
- format: "date",
120
- offsetType: "offsetted",
121
- timezone: __props.customer.timezone
122
- })), 1)
123
- ]),
124
- _: 1
125
- })
126
- ])) : createCommentVNode("", true)
127
- ])
128
- ]),
129
- createElementVNode("div", _hoisted_5, [
130
- isDetailButtonVisible.value ? (openBlock(), createBlock(unref(_sfc_main$6), {
131
- key: 0,
132
- intent: "primary",
133
- class: "sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",
134
- type: "button",
135
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-subscription-details", { subscriptionId: __props.subscription.id }))
136
- }, {
137
- default: withCtx(() => [
138
- createTextVNode(toDisplayString(unref($t)({
139
- defaultMessage: "Subscription details",
140
- description: "The label for the subscription details button in the subscriptions block",
141
- id: "customer.subscriptions_block.show_details_button_label"
142
- })), 1)
143
- ]),
144
- _: 1
145
- })) : createCommentVNode("", true)
146
- ])
147
- ])
148
- ]),
149
- _: 1
150
- });
151
- };
152
- }
153
- });
154
- const _hoisted_1 = {
155
- key: 1,
156
- class: "sv-subscriptions-list__items grid grid-cols-1 gap-4"
157
- };
158
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
159
- __name: "SubscriptionsList",
160
- props: {
161
- customer: { type: Object },
162
- subscriptions: { type: Array },
163
- paymentMethods: { default: () => [], type: Array },
164
- isLoading: { type: Boolean },
165
- showViewAllButton: { type: Boolean, default: true },
166
- showViewDetailsButton: { type: Boolean, default: true }
167
- },
168
- emits: ["view-subscription-details", "view-all-subscriptions", "load-more"],
169
- setup(__props) {
170
- const props = __props;
171
- const { $t } = useIntl();
172
- const hasSubscriptions = computed(() => props.subscriptions.length > 0);
173
- const getPaymentMethod = (paymentMethodId) => {
174
- if (!paymentMethodId) return void 0;
175
- return props.paymentMethods.find(({ id }) => id === paymentMethodId);
176
- };
177
- const isViewAllButtonVisible = computed(() => props.showViewAllButton);
178
- return (_ctx, _cache) => {
179
- return openBlock(), createBlock(unref(_sfc_main$3), {
180
- class: "sv-subscriptions-list",
181
- "no-spacing": "",
182
- "no-border": "",
183
- title: unref($t)(
184
- {
185
- defaultMessage: "{count, plural, one {My subscription} other {My subscriptions}}",
186
- description: "Title for the subscriptions block on the customer overview page",
187
- id: "customer_overview.subscriptions_block.title"
188
- },
189
- { count: String(__props.subscriptions.length) }
190
- )
191
- }, createSlots({
192
- default: withCtx(() => [
193
- !hasSubscriptions.value ? (openBlock(), createBlock(unref(_sfc_main$3), {
194
- key: 0,
195
- class: "sv-empty-state sv-subscriptions-list__empty"
196
- }, {
197
- default: withCtx(() => [
198
- createVNode(unref(_sfc_main$4), {
199
- tag: "h3",
200
- variant: "heading-3"
201
- }, {
202
- default: withCtx(() => [
203
- createTextVNode(toDisplayString(unref($t)({
204
- defaultMessage: "No subscriptions",
205
- description: "Title for the my subscriptions block on the customer overview page",
206
- id: "customer_overview.subscriptions_block.no_active_subscription_title"
207
- })), 1)
208
- ]),
209
- _: 1
210
- }),
211
- createVNode(unref(_sfc_main$4), {
212
- variant: "body-xs",
213
- color: "subtle"
214
- }, {
215
- default: withCtx(() => [
216
- createTextVNode(toDisplayString(unref($t)({
217
- defaultMessage: "There’s no active subscription to display.",
218
- description: "Text that is being displayed when there is no active subscription in the subscriptions block",
219
- id: "customer_overview.subscriptions_block.no_active_subscription_content"
220
- })), 1)
221
- ]),
222
- _: 1
223
- })
224
- ]),
225
- _: 1
226
- })) : (openBlock(), createElementBlock("div", _hoisted_1, [
227
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.subscriptions, (subscription) => {
228
- return openBlock(), createBlock(_sfc_main$2, {
229
- key: subscription.id,
230
- subscription,
231
- "payment-method": getPaymentMethod(subscription.payment_method_id),
232
- customer: __props.customer,
233
- "show-view-subscription-details-button": __props.showViewDetailsButton,
234
- onViewSubscriptionDetails: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("view-subscription-details", $event))
235
- }, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button"]);
236
- }), 128))
237
- ]))
238
- ]),
239
- _: 2
240
- }, [
241
- isViewAllButtonVisible.value ? {
242
- name: "right",
243
- fn: withCtx(() => [
244
- createVNode(unref(_sfc_main$6), {
245
- size: "sm",
246
- intent: "subtle",
247
- "icon-suffix": "arrow_right_alt",
248
- class: "sv-action sv-action--ghost sv-subscriptions-list__view-all",
249
- type: "button",
250
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-all-subscriptions"))
251
- }, {
252
- default: withCtx(() => [
253
- createTextVNode(toDisplayString(unref($t)({
254
- defaultMessage: "View all",
255
- description: "The text for the view all subscriptions button",
256
- id: "customer_overview.subscriptions_block.view_all_button_label"
257
- })), 1)
258
- ]),
259
- _: 1
260
- })
261
- ]),
262
- key: "0"
263
- } : void 0
264
- ]), 1032, ["title"]);
265
- };
266
- }
267
- });
268
- const _sfc_main = /* @__PURE__ */ defineComponent({
269
- __name: "SubscriptionsList",
270
- props: {
271
- customer: { type: null },
272
- subscriptions: { type: Array },
273
- paymentMethods: { type: Array },
274
- isLoading: { type: Boolean },
275
- configuration: { type: Object }
276
- },
277
- emits: ["load-more"],
278
- setup(__props) {
279
- const { dispatchAction } = useActionDispatchProvider();
280
- return (_ctx, _cache) => {
281
- var _a, _b;
282
- return __props.isLoading ? (openBlock(), createBlock(_sfc_main$7, {
283
- key: 0,
284
- variant: "section",
285
- class: "sv-subscriptions-list sv-root sv-component sv-loading min-h-[100px]",
286
- "data-testid": "subscriptions-list-skeleton"
287
- })) : __props.customer ? (openBlock(), createBlock(_sfc_main$1, {
288
- key: 1,
289
- class: "sv-subscriptions-list sv-root sv-component",
290
- customer: __props.customer,
291
- subscriptions: __props.subscriptions,
292
- "payment-methods": __props.paymentMethods,
293
- "is-loading": __props.isLoading,
294
- "show-view-all-button": (_a = __props.configuration) == null ? void 0 : _a.showViewAllButton,
295
- "show-view-details-button": (_b = __props.configuration) == null ? void 0 : _b.showViewDetailsButton,
296
- onViewSubscriptionDetails: _cache[0] || (_cache[0] = ($event) => unref(dispatchAction)({
297
- action: "view-subscription-details",
298
- data: { subscriptionId: $event.subscriptionId }
299
- })),
300
- onViewAllSubscriptions: _cache[1] || (_cache[1] = ($event) => unref(dispatchAction)({ action: "view-all-subscriptions" })),
301
- onLoadMore: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("load-more"))
302
- }, null, 8, ["customer", "subscriptions", "payment-methods", "is-loading", "show-view-all-button", "show-view-details-button"])) : createCommentVNode("", true);
303
- };
304
- }
305
- });
306
- export {
307
- _sfc_main as _,
308
- useSubscriptionsList as u
309
- };
@@ -1,136 +0,0 @@
1
- import { defineComponent, ref, inject, provide, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeStyle, renderSlot, unref, createBlock, Teleport, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode } from "vue";
2
- import { u as useFloating, o as offset, f as flip, a as autoUpdate, _ as _export_sfc } from "./floating-ui.vue.es-DWY7pdz8.mjs";
3
- import { T as TOOLTIP_PORTAL_NAME, f as TOOLTIP_DARK_MODE_INJECT_KEY, _ as _sfc_main$3 } from "./customElements-B-89a5oH.mjs";
4
- const _hoisted_1$1 = {
5
- key: 0,
6
- class: "mb-1 px-3"
7
- };
8
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
9
- __name: "Tooltip",
10
- props: {
11
- variant: { default: "default" },
12
- placement: { default: "bottom-end" },
13
- offset: { default: 4 },
14
- maxWidth: { default: "xs" },
15
- rootClass: {},
16
- title: {},
17
- isDarkMode: { type: Boolean }
18
- },
19
- setup(__props) {
20
- const props = __props;
21
- const triggerRef = ref();
22
- const tooltipRef = ref(null);
23
- const isVisible = ref(false);
24
- const tooltipTeleportTarget = inject(TOOLTIP_PORTAL_NAME);
25
- const { floatingStyles } = useFloating(triggerRef, tooltipRef, {
26
- whileElementsMounted: autoUpdate,
27
- placement: props.placement,
28
- middleware: [offset(props.offset), flip()]
29
- });
30
- provide(TOOLTIP_DARK_MODE_INJECT_KEY, props.isDarkMode);
31
- return (_ctx, _cache) => {
32
- return openBlock(), createElementBlock(Fragment, null, [
33
- createElementVNode("span", mergeProps(_ctx.$attrs, {
34
- ref_key: "triggerRef",
35
- ref: triggerRef,
36
- class: "relative leading-none",
37
- onMouseenter: _cache[0] || (_cache[0] = ($event) => isVisible.value = true),
38
- onMouseleave: _cache[1] || (_cache[1] = ($event) => isVisible.value = false)
39
- }), [
40
- createElementVNode("span", {
41
- class: "absolute",
42
- style: normalizeStyle({
43
- inset: `-${__props.offset}px`
44
- })
45
- }, null, 4),
46
- renderSlot(_ctx.$slots, "default")
47
- ], 16),
48
- unref(tooltipTeleportTarget) ? (openBlock(), createBlock(Teleport, {
49
- key: 0,
50
- to: unref(tooltipTeleportTarget)
51
- }, [
52
- isVisible.value ? (openBlock(), createElementBlock("div", {
53
- key: 0,
54
- ref_key: "tooltipRef",
55
- ref: tooltipRef,
56
- style: normalizeStyle(unref(floatingStyles)),
57
- class: normalizeClass(["z-70 border shadow-md", [
58
- __props.rootClass,
59
- `max-w-${__props.maxWidth}`,
60
- {
61
- "rounded border-gray-200 bg-white": !__props.isDarkMode,
62
- "rounded border-gray-700 bg-gray-700": __props.isDarkMode
63
- }
64
- ]]),
65
- onMouseenter: _cache[2] || (_cache[2] = ($event) => isVisible.value = true),
66
- onMouseleave: _cache[3] || (_cache[3] = ($event) => isVisible.value = false)
67
- }, [
68
- createElementVNode("div", {
69
- class: normalizeClass(["rounded", {
70
- "border-gray-50 bg-gray-50": __props.variant === "outline" && !__props.isDarkMode,
71
- "border-gray-600 bg-gray-600": __props.variant === "outline" && __props.isDarkMode,
72
- "border-4": __props.variant === "outline" && !__props.title,
73
- "border-2": __props.variant === "outline" && __props.title,
74
- "pt-0": !!__props.title
75
- }])
76
- }, [
77
- __props.title ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
78
- createVNode(_sfc_main$3, {
79
- variant: "caps-heading",
80
- color: "secondary",
81
- class: normalizeClass({ "!text-gray-100": __props.isDarkMode }),
82
- "no-spacing": ""
83
- }, {
84
- default: withCtx(() => [
85
- createTextVNode(toDisplayString(__props.title), 1)
86
- ]),
87
- _: 1
88
- }, 8, ["class"])
89
- ])) : createCommentVNode("", true),
90
- createElementVNode("div", {
91
- class: normalizeClass(["rounded py-2", {
92
- "bg-white": __props.variant === "outline" && !__props.isDarkMode,
93
- "bg-gray-700": __props.variant === "outline" && __props.isDarkMode
94
- }])
95
- }, [
96
- renderSlot(_ctx.$slots, "tooltip")
97
- ], 2)
98
- ], 2)
99
- ], 38)) : createCommentVNode("", true)
100
- ], 8, ["to"])) : createCommentVNode("", true)
101
- ], 64);
102
- };
103
- }
104
- });
105
- const _sfc_main$1 = {};
106
- const _hoisted_1 = { class: "px-3" };
107
- function _sfc_render(_ctx, _cache) {
108
- return openBlock(), createElementBlock("div", _hoisted_1, [
109
- renderSlot(_ctx.$slots, "default")
110
- ]);
111
- }
112
- const TooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
113
- const _sfc_main = /* @__PURE__ */ defineComponent({
114
- __name: "TooltipParagraph",
115
- setup(__props) {
116
- const isDarkMode = inject(TOOLTIP_DARK_MODE_INJECT_KEY);
117
- return (_ctx, _cache) => {
118
- return openBlock(), createBlock(unref(_sfc_main$3), {
119
- tag: "p",
120
- variant: "body-xs",
121
- color: "secondary",
122
- class: normalizeClass({ "!text-gray-200": unref(isDarkMode) })
123
- }, {
124
- default: withCtx(() => [
125
- renderSlot(_ctx.$slots, "default")
126
- ]),
127
- _: 3
128
- }, 8, ["class"]);
129
- };
130
- }
131
- });
132
- export {
133
- TooltipContent as T,
134
- _sfc_main$2 as _,
135
- _sfc_main as a
136
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./floating-ui.vue.es-Bv94BfDm.js"),o=require("./customElements-DD7bpqkx.js"),a={key:0,class:"mb-1 px-3"},r=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(r){const l=r,n=e.ref(),s=e.ref(null),i=e.ref(!1),d=e.inject(o.TOOLTIP_PORTAL_NAME),{floatingStyles:c}=t.useFloating(n,s,{whileElementsMounted:t.autoUpdate,placement:l.placement,middleware:[t.offset(l.offset),t.flip()]});return e.provide(o.TOOLTIP_DARK_MODE_INJECT_KEY,l.isDarkMode),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(t.$attrs,{ref_key:"triggerRef",ref:n,class:"relative leading-none",onMouseenter:l[0]||(l[0]=e=>i.value=!0),onMouseleave:l[1]||(l[1]=e=>i.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${r.offset}px`})},null,4),e.renderSlot(t.$slots,"default")],16),e.unref(d)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(d)},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:s,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["z-70 border shadow-md",[r.rootClass,`max-w-${r.maxWidth}`,{"rounded border-gray-200 bg-white":!r.isDarkMode,"rounded border-gray-700 bg-gray-700":r.isDarkMode}]]),onMouseenter:l[2]||(l[2]=e=>i.value=!0),onMouseleave:l[3]||(l[3]=e=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===r.variant&&!r.isDarkMode,"border-gray-600 bg-gray-600":"outline"===r.variant&&r.isDarkMode,"border-4":"outline"===r.variant&&!r.title,"border-2":"outline"===r.variant&&r.title,"pt-0":!!r.title}])},[r.title?(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(o._sfc_main,{variant:"caps-heading",color:"secondary",class:e.normalizeClass({"!text-gray-100":r.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["rounded py-2",{"bg-white":"outline"===r.variant&&!r.isDarkMode,"bg-gray-700":"outline"===r.variant&&r.isDarkMode}])},[e.renderSlot(t.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),l={},n={class:"px-3"};const s=t._export_sfc(l,[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"default")])}]]),i=e.defineComponent({__name:"TooltipParagraph",setup(t){const a=e.inject(o.TOOLTIP_DARK_MODE_INJECT_KEY);return(t,r)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{tag:"p",variant:"body-xs",color:"secondary",class:e.normalizeClass({"!text-gray-200":e.unref(a)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}});exports.TooltipContent=s,exports._sfc_main=r,exports._sfc_main$1=i;
@@ -1,56 +0,0 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useTimePeriod } from "./PricingGroupRangeInput.vue.es-ButaePib.mjs";
3
- import { _ as _sfc_main$1 } from "./Chip.vue.es-BBmn-qJp.mjs";
4
- const convertDateRangeToTimePeriod = (startDate, endDate) => {
5
- const start = new Date(startDate);
6
- const end = new Date(endDate);
7
- const yearDiff = end.getFullYear() - start.getFullYear();
8
- const testYearDate = new Date(start);
9
- testYearDate.setFullYear(testYearDate.getFullYear() + yearDiff);
10
- if (yearDiff > 0 && testYearDate.getTime() === end.getTime()) {
11
- return { type: "YEAR", value: yearDiff };
12
- }
13
- const monthDiff = (end.getFullYear() - start.getFullYear()) * 12 + (end.getMonth() - start.getMonth());
14
- const testMonthDate = new Date(start);
15
- testMonthDate.setMonth(testMonthDate.getMonth() + monthDiff);
16
- if (monthDiff > 0 && testMonthDate.getTime() === end.getTime()) {
17
- return { type: "MONTH", value: monthDiff };
18
- }
19
- const dayDiff = Math.round((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24));
20
- if (dayDiff > 0 && dayDiff % 7 === 0) {
21
- return { type: "WEEK", value: dayDiff / 7 };
22
- }
23
- return { type: "DAY", value: dayDiff };
24
- };
25
- const _sfc_main = /* @__PURE__ */ defineComponent({
26
- __name: "TrialChip",
27
- props: {
28
- trialPeriod: {},
29
- size: { default: "sm" }
30
- },
31
- setup(__props) {
32
- const props = __props;
33
- const { formatTimePeriod } = useTimePeriod();
34
- const label = computed(() => {
35
- if (typeof props.trialPeriod === "string") {
36
- return props.trialPeriod;
37
- }
38
- return `${formatTimePeriod(props.trialPeriod, { short: true, singular: true })} trial`;
39
- });
40
- return (_ctx, _cache) => {
41
- return openBlock(), createBlock(unref(_sfc_main$1), {
42
- intent: "info",
43
- size: __props.size
44
- }, {
45
- default: withCtx(() => [
46
- createTextVNode(toDisplayString(label.value), 1)
47
- ]),
48
- _: 1
49
- }, 8, ["size"]);
50
- };
51
- }
52
- });
53
- export {
54
- _sfc_main as _,
55
- convertDateRangeToTimePeriod as c
56
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./PricingGroupRangeInput.vue.es-Cls2lm80.js"),r=require("./Chip.vue.es-DmCjC1hi.js"),i=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(i){const n=i,{formatTimePeriod:a}=t.useTimePeriod(),o=e.computed(()=>"string"==typeof n.trialPeriod?n.trialPeriod:`${a(n.trialPeriod,{short:!0,singular:!0})} trial`);return(t,n)=>(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{intent:"info",size:i.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["size"]))}});exports._sfc_main=i,exports.convertDateRangeToTimePeriod=(e,t)=>{const r=new Date(e),i=new Date(t),n=i.getFullYear()-r.getFullYear(),a=new Date(r);if(a.setFullYear(a.getFullYear()+n),n>0&&a.getTime()===i.getTime())return{type:"YEAR",value:n};const o=12*(i.getFullYear()-r.getFullYear())+(i.getMonth()-r.getMonth()),u=new Date(r);if(u.setMonth(u.getMonth()+o),o>0&&u.getTime()===i.getTime())return{type:"MONTH",value:o};const l=Math.round((i.getTime()-r.getTime())/864e5);return l>0&&l%7==0?{type:"WEEK",value:l/7}:{type:"DAY",value:l}};
@@ -1,4 +0,0 @@
1
- const accel = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23f26b21'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M9.04%2016.6c.71%200%201.21.28%201.57.64.32.36.53.93.46%201.5l-1%206.54q-.05.37-.29.74a2%202%200%200%201-.57.65%203%203%200%200%201-.82.46%203%203%200%200%201-.85.14H6.07a2%202%200%200%201-1.57-.64%201.8%201.8%200%200%201-.47-1.5l.3-2.21c.06-.57.13-1%20.53-1.47.35-.35.85-.6%201.53-.6h2.82l.36-2.22a.6.6%200%200%200-.18-.53c-.1-.11-.21-.18-.5-.18H7.46c-.28%200-.42.1-.57.21-.18.14-.25.32-.32.5%200%200-.14.57-.53.57h-.58c-.39%200-.46-.32-.42-.46q.06-.44.28-.82c.14-.25.36-.54.6-.72q.33-.26.76-.42c.28-.11.68-.18.96-.18zm-2.61%205.53c-.25%200-.36.07-.46.18q-.15.2-.18.6l-.29%202.3c-.04.31.14.7.64.7h1.43c.29%200%20.5-.1.64-.2.29-.26.32-.5.32-.5L9%2022.12z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M16.04%2016.63c.6%200%201.14.18%201.57.65q.55.53.46%201.5c0%20.35-.28.42-.46.42h-.57c-.54%200-.43-.57-.43-.57a.7.7%200%200%200-.15-.53q-.14-.17-.5-.18h-1.42a1%201%200%200%200-.61.21q-.32.28-.32.5l-1%206.6a.5.5%200%200%200%20.14.5.7.7%200%200%200%20.5.22h1.43a1%201%200%200%200%20.6-.21c.15-.14.3-.29.33-.5%200-.01.1-.57.53-.57h.57c.4%200%20.47.28.47.46a2.4%202.4%200%200%201-.89%201.54q-.34.27-.79.43a3%203%200%200%201-.93.17h-1.43q-1.03%200-1.57-.6a1.8%201.8%200%200%201-.5-1.5l.97-6.4c.03-.28.18-.6.28-.82.14-.25.36-.5.57-.67a4%204%200%200%201%20.79-.47c.25-.1.6-.18.93-.18z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M30.25%2016.6c.71%200%201.21.28%201.57.64.32.4.54.86.47%201.46l-.22%201.79c-.07.57-.14%201-.53%201.46a2%202%200%200%201-1.54.61h-2.86l-.39%202.64a.6.6%200%200%200%20.18.54c.1.1.21.18.5.18h1.43c.28%200%20.43-.07.57-.18.18-.14.25-.32.32-.5%200%200%20.14-.57.54-.57h.57c.39%200%20.46.32.43.46a2%202%200%200%201-.29.82c-.14.25-.36.54-.6.72a3%203%200%200%201-.76.43%203%203%200%200%201-.96.17h-1.4a2%202%200%200%201-1.57-.64%202%202%200%200%201-.46-1.5l.4-2.6h-.26c-.28%200-.46.14-.57.2a.9.9%200%200%200-.4.72c0%20.25-.06.36-.5.36h-.5c-.45%200-.5-.36-.46-.46q.04-.35.29-.83.28-.4.6-.67c.26-.22.58-.36.8-.43.28-.07.57-.15.78-.15h.43l.39-2.67q.06-.37.29-.75c.23-.38.35-.47.57-.65.21-.17.53-.35.82-.46a3%203%200%200%201%20.86-.14zm-.1%201.35H28.7c-.28%200-.5.11-.64.22-.28.25-.32.5-.32.5l-.4%202.64h2.54c.25%200%20.36-.07.47-.18q.14-.2.18-.6l.21-1.9c.07-.32-.14-.71-.6-.68'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M35.53%2012.06c.22%200%20.5.1.47.47L33.86%2026.8c-.07.4-.36.47-.5.47h-.58c-.39%200-.46-.3-.46-.47l2.14-14.28c.04-.18.15-.47.5-.47zM23.18%2016.6c.6%200%201.14.17%201.57.64q.55.6.46%201.5c-.07.4-.35.46-.5.43h-.57c-.53%200-.43-.56-.43-.57q.04-.37-.14-.54c-.18-.17-.25-.18-.5-.18h-1.43c-.25%200-.43.11-.6.22a1%201%200%200%200-.33.5l-1%206.6a.5.5%200%200%200%20.15.5c.14.18.35.22.5.22h1.42a1%201%200%200%200%20.61-.22%201%201%200%200%200%20.32-.5c0-.01.12-.57.54-.57h.57c.43%200%20.5.32.46.47-.03.35-.17.64-.32.89s-.35.46-.57.64a3%203%200%200%201-.78.43%203%203%200%200%201-.93.18h-1.43q-1.02-.02-1.57-.6a1.8%201.8%200%200%201-.5-1.5l1-6.4a2%202%200%200%201%20.28-.82%202.6%202.6%200%200%201%201.36-1.15c.25-.1.6-.17.93-.17z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
- export {
3
- accel as default
4
- };