@solvimon/solvimon-web 0.1.0-alpha.22 → 0.1.0-alpha.23

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 (204) hide show
  1. package/README.md +3 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js} +1 -1
  4. package/dist/Alert.vue.es-RyK53a2P.js +1 -0
  5. package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
  6. package/dist/{Avatar.vue.es-DNJ-jexx.mjs → Avatar.vue.es-2E3laNRb.mjs} +1 -1
  7. package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-DdJreyr_.js} +1 -1
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js} +1 -1
  9. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs} +4 -4
  10. package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-BJEy-e9C.mjs} +1 -1
  11. package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-CJNxYacb.js} +1 -1
  12. package/dist/Checkout.entry.ce-BfLlnQyb.js +1 -0
  13. package/dist/{Checkout.entry.ce-B5-0AM67.mjs → Checkout.entry.ce-CQkrWscC.mjs} +1095 -1073
  14. package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DGbc4L_D.mjs} +2 -2
  15. package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-DLQ4QEPo.js} +1 -1
  16. package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-Bd2kmeVq.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-DL1M7pcr.mjs} +4 -4
  18. package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-CE94ASC3.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-hiFzB43w.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js} +1 -1
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs} +5 -5
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs} +15 -15
  23. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js +1 -0
  24. package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CFZUQ62L.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-CvCgHHXN.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-B3mvv79S.mjs} +2 -2
  29. package/dist/ErrorNotification.vue.es-DI2B7WiR.js +1 -0
  30. package/dist/IconButton.vue.es-Dp8h4YOx.js +1 -0
  31. package/dist/IconButton.vue.es-GLcGhoHC.mjs +56 -0
  32. package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-CzuPQtOX.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-DN9r6nfK.js} +1 -1
  34. package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-5Cq8a7oH.mjs} +2 -2
  35. package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-DM81HeVv.js} +1 -1
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs} +2 -2
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js} +1 -1
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js} +1 -1
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs} +2 -2
  40. package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-DbtqsTuP.mjs} +7 -7
  41. package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-Qy99kLZs.js} +1 -1
  42. package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-DgLl6XBV.js} +1 -1
  43. package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-Z2DWAN2u.mjs} +5 -5
  44. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js +1 -0
  45. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs +294 -0
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js} +1 -1
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs} +3 -3
  48. package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-CjP_514k.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-DS1j-8m-.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-80b19Lkq.js} +1 -1
  53. package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CpOZUf-W.mjs} +1 -1
  54. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs} +3 -3
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js} +1 -1
  56. package/dist/{PaymentIntegrationFormAdyen-DfN7cPYZ.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs} +281 -204
  57. package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +98 -0
  58. package/dist/PaymentIntegrationFormStripe-CMwLqOe6.js +102 -0
  59. package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs} +249 -178
  60. package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-EhRCfeax.mjs} +3 -3
  61. package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-pLCCzVxN.js} +1 -1
  62. package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-Bw2e1tXo.js} +1 -1
  63. package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-D3OY8zK5.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js} +1 -1
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs} +5 -5
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js} +1 -1
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs} +6 -6
  68. package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-BQqkgmzL.mjs} +9 -9
  69. package/dist/PlanCustomizationEditor-RC8kj2rC.js +1 -0
  70. package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-ClkE98ML.js} +2 -2
  71. package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-DNsiUZyT.mjs} +4 -4
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js} +1 -1
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs} +5 -5
  74. package/dist/RadioGroupExtended.vue.es-Dk9xdj76.js +1 -0
  75. package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-vUqn2ZUP.mjs} +3 -3
  76. package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-C2_topx4.mjs} +1 -1
  77. package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-Cybk1Nb8.js} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js} +1 -1
  80. package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-BlCU_xc5.mjs} +1 -1
  81. package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-CNTg_oRy.js} +1 -1
  82. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js +1 -0
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs} +12 -12
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs} +6 -6
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js} +1 -1
  88. package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-Fu9Od3Vr.mjs} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-OX6bAWP9.js} +1 -1
  90. package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-CbjdkR4i.js} +1 -1
  91. package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-c7tZOIW3.mjs} +2 -2
  92. package/dist/{cn.es-BGqYNPM3.mjs → cn.es-C8Ogac5T.mjs} +2 -2
  93. package/dist/{cn.es-CvmLj7KH.js → cn.es-lC4_Xd0R.js} +1 -1
  94. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  95. package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
  96. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  97. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
  98. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  99. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
  100. package/dist/components/Invoice/Invoice.cjs +1 -1
  101. package/dist/components/Invoice/Invoice.mjs +10 -10
  102. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  103. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  104. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  105. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
  106. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  107. package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
  108. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  109. package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
  110. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  111. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
  112. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  113. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
  114. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  115. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
  116. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  117. package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
  118. package/dist/core/index.cjs +1 -1
  119. package/dist/core/index.mjs +26 -23
  120. package/dist/{customElements-Vox1PB6G.js → customElements-BYIdPSzQ.js} +10 -10
  121. package/dist/{customElements-CSE7dwUr.mjs → customElements-Df6dGrN-.mjs} +354 -353
  122. package/dist/{customer-5krPxZ8i.mjs → customer-DmsKYpVi.mjs} +1 -1
  123. package/dist/{customer-Dsq-Moea.js → customer-DoLHZuMG.js} +1 -1
  124. package/dist/{de-DE-DsFtpLsx.mjs → de-DE-Bgm9bnmp.mjs} +19 -0
  125. package/dist/{de-DE-C3DzP1nj.js → de-DE-CAL9Mji2.js} +1 -1
  126. package/dist/{en-US-DvkvbV0p.mjs → en-US-E86eRIxh.mjs} +19 -0
  127. package/dist/{en-US-X_pSFsNm.js → en-US-_xe5H4TQ.js} +1 -1
  128. package/dist/index.cjs +1 -1
  129. package/dist/index.mjs +1 -1
  130. package/dist/{invoices-DRgfpkJ6.mjs → invoices-CrO6p4Ms.mjs} +1 -1
  131. package/dist/{invoices-xOV2YaEV.js → invoices-mw87cNTS.js} +1 -1
  132. package/dist/{it-IT-YBtHAao1.js → it-IT-QFQ1Ajbb.js} +1 -1
  133. package/dist/{it-IT-TE7oqvXa.mjs → it-IT-co1BfV5s.mjs} +21 -2
  134. package/dist/{nl-NL-C8wnyKju.js → nl-NL-CJXJC1bx.js} +1 -1
  135. package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-Drv2E66B.mjs} +19 -0
  136. package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
  137. package/dist/paymentFailure-Cki8c5BX.js +1 -0
  138. package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-BNQbW_f1.mjs} +1 -1
  139. package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-CQdhZwq4.js} +1 -1
  140. package/dist/{payments-jAgXhdp_.js → payments-KTjVHqOa.js} +1 -1
  141. package/dist/{payments-Dvqh6CGW.mjs → payments-VS_N2xpJ.mjs} +1 -1
  142. package/dist/screens/Checkout/Checkout.cjs +1 -1
  143. package/dist/screens/Checkout/Checkout.mjs +2 -2
  144. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  145. package/dist/screens/CustomerOverview/CustomerOverview.mjs +20 -20
  146. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  147. package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
  148. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  149. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  150. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  151. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +20 -20
  152. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  153. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
  154. package/dist/sessionReference-3h-6FdrC.mjs +43 -0
  155. package/dist/sessionReference-m_6Rp4X1.js +1 -0
  156. package/dist/subscriptions-Dugd-oZ1.js +1 -0
  157. package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-U4xg2CO1.mjs} +2 -2
  158. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
  159. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +10 -1
  160. package/dist/types/types/errors.d.ts +5 -0
  161. package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-CTyDGRX8.js} +1 -1
  162. package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-DyQbRCxR.mjs} +1 -1
  163. package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BXI5Vmit.js} +1 -1
  164. package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-dcmU1539.mjs} +1 -1
  165. package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-BC1WfqWo.mjs} +5 -5
  166. package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-Ct6vD_b8.js} +1 -1
  167. package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-4Y-ppDr7.mjs} +1 -1
  168. package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9-p9_nP6.js} +1 -1
  169. package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-B2Z9aD2w.mjs} +2 -2
  170. package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-CGvtl7Ai.js} +1 -1
  171. package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Ba0GO8p-.js} +1 -1
  172. package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-DJPznhig.mjs} +7 -7
  173. package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-BO9ZsSsF.js} +1 -1
  174. package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-CWyI3_RR.mjs} +1 -1
  175. package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-DqIvkjLF.mjs} +4 -4
  176. package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-bkmDrPXY.js} +1 -1
  177. package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-BPBVGNDg.js} +1 -1
  178. package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-MSEp39xQ.mjs} +1 -1
  179. package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BAOtOJZD.js} +1 -1
  180. package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-U7gnZ0F5.mjs} +1 -1
  181. package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-Dq2V6bTV.mjs} +6 -6
  182. package/dist/{usePayments-D9Eo-uBk.js → usePayments-G-HpKpK8.js} +1 -1
  183. package/dist/{usePortal-DsebXdhx.js → usePortal-BplmMkBG.js} +1 -1
  184. package/dist/{usePortal-3VCZwSUE.mjs → usePortal-CMHV-ShD.mjs} +1 -1
  185. package/dist/{useSubscription-K_gP9TeX.js → useSubscription-CvB8ROBt.js} +1 -1
  186. package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-V53WsZwQ.mjs} +1 -1
  187. package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-CtCTu9cz.js} +1 -1
  188. package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-D31Zl1MJ.mjs} +1 -1
  189. package/package.json +2 -1
  190. package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
  191. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
  192. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
  193. package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
  194. package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
  195. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
  196. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
  197. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
  198. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
  199. package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
  200. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
  201. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
  202. package/dist/component-5wqcK7yz.mjs +0 -8
  203. package/dist/component-B7ZDyqBp.js +0 -1
  204. package/dist/subscriptions-fJcj88X9.js +0 -1
@@ -0,0 +1,294 @@
1
+ import { ref as w, defineComponent as b, computed as h, openBlock as l, createBlock as p, withCtx as n, unref as r, createVNode as u, createTextVNode as i, toDisplayString as d, createCommentVNode as _, onBeforeUnmount as C, createElementVNode as g, createElementBlock as k } from "vue";
2
+ import { f as R } from "./formatting.es-RclXHhKo.mjs";
3
+ import { a as A, _ as I } from "./Button.vue.es-BJEy-e9C.mjs";
4
+ import { u as T, _ as f } from "./customElements-Df6dGrN-.mjs";
5
+ import { _ as M } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs";
6
+ import { _ as x } from "./IconButton.vue.es-GLcGhoHC.mjs";
7
+ const N = () => {
8
+ const e = w(null);
9
+ return [async (t) => {
10
+ if (!(navigator != null && navigator.clipboard))
11
+ return !1;
12
+ try {
13
+ return await navigator.clipboard.writeText(t), e.value = t, !0;
14
+ } catch {
15
+ return e.value = null, !1;
16
+ }
17
+ }, e.value];
18
+ }, H = /* @__PURE__ */ b({
19
+ __name: "PaymentCompletedCard",
20
+ props: {
21
+ amount: { type: Object },
22
+ variant: { type: String },
23
+ redirecting: { type: Boolean }
24
+ },
25
+ setup(e) {
26
+ const a = e, { $t: t } = T(), o = h(
27
+ () => a.variant === "AUTHORIZE" ? t({
28
+ defaultMessage: "Payment successful",
29
+ description: "The title for when a payment has been successful",
30
+ id: "payment_completed_card.title.authorize"
31
+ }) : t({
32
+ defaultMessage: "Your payment method is added",
33
+ description: "The title for when a payment method was successfully added",
34
+ id: "payment_completed_card.title.tokenize"
35
+ })
36
+ );
37
+ return (c, s) => (l(), p(M, {
38
+ status: "success",
39
+ title: o.value
40
+ }, {
41
+ default: n(() => [
42
+ e.amount ? (l(), p(r(f), {
43
+ key: 0,
44
+ variant: "body-sm",
45
+ class: "mt-1"
46
+ }, {
47
+ default: n(() => [
48
+ u(r(A), { icon: "check" }),
49
+ i(d(r(R)(e.amount)), 1)
50
+ ]),
51
+ _: 1
52
+ })) : _("", !0),
53
+ e.redirecting ? (l(), p(r(f), {
54
+ key: 1,
55
+ variant: "body-xs",
56
+ color: "subtle"
57
+ }, {
58
+ default: n(() => [
59
+ i(d(r(t)({
60
+ defaultMessage: "You are being redirected...",
61
+ description: "The text shown after a successful message before a redirect",
62
+ id: "payment_completed_card.redirect_message"
63
+ })), 1)
64
+ ]),
65
+ _: 1
66
+ })) : _("", !0)
67
+ ]),
68
+ _: 1
69
+ }, 8, ["title"]));
70
+ }
71
+ });
72
+ function O(e) {
73
+ return {
74
+ UNKNOWN_ERROR: {
75
+ title: e({
76
+ defaultMessage: "Something went wrong",
77
+ description: "Title of the error card shown when a payment failed for no known reason",
78
+ id: "payments.error_card.unknown_error.title"
79
+ }),
80
+ message: e({
81
+ defaultMessage: "An unknown error has occurred",
82
+ description: "Message of the error card shown when a payment failed for no known reason",
83
+ id: "payments.error_card.unknown_error.message"
84
+ }),
85
+ isReloadButtonVisible: !0
86
+ },
87
+ AUTHORIZATION_FAILED: {
88
+ title: e({
89
+ defaultMessage: "Payment failed",
90
+ description: "Title of the error card shown when a payment was not authorized",
91
+ id: "payments.error_card.authorization_failed.title"
92
+ }),
93
+ message: e({
94
+ defaultMessage: "The payment could not be completed. Try again, or use a different payment method.",
95
+ description: "Message of the error card shown when a payment was not authorized",
96
+ id: "payments.error_card.authorization_failed.message"
97
+ }),
98
+ isReloadButtonVisible: !0
99
+ },
100
+ PAYMENT_DETAILS_CALL_FAILED: {
101
+ title: e({
102
+ defaultMessage: "Payment could not be confirmed",
103
+ description: "Title of the error card shown when the payment details could not be retrieved",
104
+ id: "payments.error_card.payment_details_call_failed.title"
105
+ }),
106
+ message: e({
107
+ defaultMessage: "There was a problem confirming your payment.",
108
+ description: "Message of the error card shown when the payment details could not be retrieved",
109
+ id: "payments.error_card.payment_details_call_failed.message"
110
+ }),
111
+ isReloadButtonVisible: !0
112
+ },
113
+ PAYMENT_METHOD_STORAGE_FAILED: {
114
+ title: e({
115
+ defaultMessage: "Payment method could not be saved",
116
+ description: "Title of the error card shown when storing a payment method failed",
117
+ id: "payments.error_card.payment_method_storage_failed.title"
118
+ }),
119
+ message: e({
120
+ defaultMessage: "Something went wrong while saving your payment method.",
121
+ description: "Message of the error card shown when storing a payment method failed",
122
+ id: "payments.error_card.payment_method_storage_failed.message"
123
+ }),
124
+ isReloadButtonVisible: !0
125
+ },
126
+ REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING: {
127
+ title: e({
128
+ defaultMessage: "Payment could not be completed",
129
+ description: "Title of the error card shown when a redirect returned without a payment acceptor",
130
+ id: "payments.error_card.redirect_result_payment_acceptor_missing.title"
131
+ }),
132
+ message: e({
133
+ defaultMessage: "Your payment could not be matched to this order.",
134
+ description: "Message of the error card shown when a redirect returned without a payment acceptor",
135
+ id: "payments.error_card.redirect_result_payment_acceptor_missing.message"
136
+ })
137
+ },
138
+ TOKENIZE_FAILED: {
139
+ title: e({
140
+ defaultMessage: "Payment method could not be saved",
141
+ description: "Title of the error card shown when tokenization failed",
142
+ id: "payments.error_card.tokenize_failed.title"
143
+ }),
144
+ message: e({
145
+ defaultMessage: "Your payment method could not be saved. Try again, or use a different one.",
146
+ description: "Message of the error card shown when tokenization failed",
147
+ id: "payments.error_card.tokenize_failed.message"
148
+ }),
149
+ isReloadButtonVisible: !0
150
+ },
151
+ PAYMENT_INTEGRATION_INITIALIZATION_FAILED: {
152
+ title: e({
153
+ defaultMessage: "Payment methods could not be loaded",
154
+ description: "Title of the error card shown when the payment form failed to load",
155
+ id: "payments.error_card.payment_integration_initialization_failed.title"
156
+ }),
157
+ message: e({
158
+ defaultMessage: "The payment form could not be loaded.",
159
+ description: "Message of the error card shown when the payment form failed to load",
160
+ id: "payments.error_card.payment_integration_initialization_failed.message"
161
+ }),
162
+ isReloadButtonVisible: !0
163
+ },
164
+ RESOURCE_REVOKED: {
165
+ title: e({
166
+ defaultMessage: "This page is no longer available",
167
+ description: "Title of the error card shown when the portal resource was revoked",
168
+ id: "payments.error_card.resource_revoked.title"
169
+ }),
170
+ message: e({
171
+ defaultMessage: "The link you followed has expired or was withdrawn.",
172
+ description: "Message of the error card shown when the portal resource was revoked",
173
+ id: "payments.error_card.resource_revoked.message"
174
+ }),
175
+ isReloadButtonVisible: !0
176
+ }
177
+ };
178
+ }
179
+ const P = 2e3;
180
+ function B({ resetAfterMs: e = P } = {}) {
181
+ const [a] = N(), t = w(!1);
182
+ let o;
183
+ const c = async (s) => {
184
+ const m = await a(s);
185
+ return t.value = m, m && (clearTimeout(o), o = setTimeout(() => {
186
+ t.value = !1;
187
+ }, e)), m;
188
+ };
189
+ return C(() => clearTimeout(o)), { copy: c, hasCopied: t };
190
+ }
191
+ const z = { class: "flex flex-col items-center gap-6" }, L = {
192
+ key: 1,
193
+ class: "flex flex-col items-center gap-1"
194
+ }, V = { class: "flex items-center gap-1" }, j = /* @__PURE__ */ b({
195
+ __name: "PaymentErrorCard",
196
+ props: {
197
+ error: { type: Object }
198
+ },
199
+ setup(e) {
200
+ const a = e, { $t: t } = T(), { copy: o, hasCopied: c } = B(), s = h(() => O(t)[a.error.code]), m = () => {
201
+ window.location.reload();
202
+ }, y = h(
203
+ () => t({
204
+ defaultMessage: "Copy reference",
205
+ description: "Label of the button that copies the payment error reference",
206
+ id: "payments.error_card.reference.copy.label"
207
+ })
208
+ ), v = h(
209
+ () => t({
210
+ defaultMessage: "Copied",
211
+ description: "Confirmation shown after copying the payment error reference",
212
+ id: "payments.error_card.reference.copied.label"
213
+ })
214
+ ), E = () => {
215
+ a.error.reference && o(a.error.reference);
216
+ };
217
+ return (D, S) => (l(), p(M, {
218
+ status: "error",
219
+ title: s.value.title
220
+ }, {
221
+ default: n(() => [
222
+ g("div", z, [
223
+ u(r(f), {
224
+ variant: "body-xs",
225
+ color: "subtle",
226
+ class: "mt-3"
227
+ }, {
228
+ default: n(() => [
229
+ i(d(s.value.message), 1)
230
+ ]),
231
+ _: 1
232
+ }),
233
+ s.value.isReloadButtonVisible ? (l(), p(r(I), {
234
+ key: 0,
235
+ type: "button",
236
+ intent: "secondary",
237
+ onClick: m
238
+ }, {
239
+ default: n(() => [
240
+ i(d(r(t)({
241
+ defaultMessage: "Try again",
242
+ description: "Retry button text when an error has happened during a payment",
243
+ id: "payments.retry_button.label"
244
+ })), 1)
245
+ ]),
246
+ _: 1
247
+ })) : _("", !0),
248
+ e.error.reference ? (l(), k("div", L, [
249
+ u(r(f), {
250
+ variant: "body-xs",
251
+ color: "subtle"
252
+ }, {
253
+ default: n(() => [
254
+ i(d(r(t)({
255
+ defaultMessage: "Share this reference with support if the problem continues",
256
+ description: "Explains what the reference below a failed payment is for",
257
+ id: "payments.error_card.reference.description"
258
+ })), 1)
259
+ ]),
260
+ _: 1
261
+ }),
262
+ g("div", V, [
263
+ u(r(f), {
264
+ variant: "body-xs",
265
+ tag: "span",
266
+ class: "select-all font-mono",
267
+ "data-testid": "payment-error-reference"
268
+ }, {
269
+ default: n(() => [
270
+ i(d(e.error.reference), 1)
271
+ ]),
272
+ _: 1
273
+ }),
274
+ u(r(x), {
275
+ type: "button",
276
+ intent: "subtle",
277
+ size: "sm",
278
+ icon: r(c) ? "check" : "content_copy",
279
+ "aria-label": y.value,
280
+ tooltip: r(c) ? v.value : y.value,
281
+ onClick: E
282
+ }, null, 8, ["icon", "aria-label", "tooltip"])
283
+ ])
284
+ ])) : _("", !0)
285
+ ])
286
+ ]),
287
+ _: 1
288
+ }, 8, ["title"]));
289
+ }
290
+ });
291
+ export {
292
+ H as _,
293
+ j as a
294
+ };
@@ -1 +1 @@
1
- const e=require("vue"),n=require("./Button.vue.es-M_jXZda4.js"),a=require("./Section.vue.es-Btff-cLY.js"),c=require("./customElements-Vox1PB6G.js"),r={class:"flex flex-col items-center py-10"},i=e.defineComponent({__name:"PaymentFeedbackCard",props:{status:{default:"success",type:String},title:{type:String}},setup(t){return(s,l)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main),null,{default:e.withCtx(()=>[e.createElementVNode("div",r,[e.createVNode(e.unref(n._sfc_main$1),{icon:t.status==="success"?"check_circle":"error",class:e.normalizeClass({"text-green-400":t.status==="success","text-red-600":t.status==="error"}),size:"lg"},null,8,["icon","class"]),e.createVNode(e.unref(c._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),s.$slots.default?(e.openBlock(),e.createBlock(e.unref(c._sfc_main),{key:0,tag:"div",variant:"body-sm"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})):e.createCommentVNode("",!0)])]),_:3}))}});exports._sfc_main=i;
1
+ const e=require("vue"),n=require("./Button.vue.es-CJNxYacb.js"),a=require("./Section.vue.es-Cybk1Nb8.js"),c=require("./customElements-BYIdPSzQ.js"),r={class:"flex flex-col items-center py-10"},i=e.defineComponent({__name:"PaymentFeedbackCard",props:{status:{default:"success",type:String},title:{type:String}},setup(t){return(s,l)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main),null,{default:e.withCtx(()=>[e.createElementVNode("div",r,[e.createVNode(e.unref(n._sfc_main$1),{icon:t.status==="success"?"check_circle":"error",class:e.normalizeClass({"text-green-400":t.status==="success","text-red-600":t.status==="error"}),size:"lg"},null,8,["icon","class"]),e.createVNode(e.unref(c._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),s.$slots.default?(e.openBlock(),e.createBlock(e.unref(c._sfc_main),{key:0,tag:"div",variant:"body-sm"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})):e.createCommentVNode("",!0)])]),_:3}))}});exports._sfc_main=i;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as r, createBlock as c, unref as t, withCtx as s, createElementVNode as i, createVNode as n, normalizeClass as m, createTextVNode as d, toDisplayString as u, renderSlot as f, createCommentVNode as _ } from "vue";
2
- import { a as p } from "./Button.vue.es-Dz-2L8dJ.mjs";
3
- import { _ as g } from "./Section.vue.es-DQ5H7mqW.mjs";
4
- import { _ as o } from "./customElements-CSE7dwUr.mjs";
2
+ import { a as p } from "./Button.vue.es-BJEy-e9C.mjs";
3
+ import { _ as g } from "./Section.vue.es-C2_topx4.mjs";
4
+ import { _ as o } from "./customElements-Df6dGrN-.mjs";
5
5
  const y = { class: "flex flex-col items-center py-10" }, v = /* @__PURE__ */ l({
6
6
  __name: "PaymentFeedbackCard",
7
7
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs";
1
+ import { _ as f } from "./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js");exports.default=e._sfc_main;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js");exports.default=e._sfc_main;
@@ -1 +1 @@
1
- const e=require("vue"),o=require("./PaymentMethod.vue.es-D18g-QB4.js"),c=require("./formatting.es-C72Nsrmh.js"),m=require("./Chip.vue.es-G8doKsZb.js"),_=require("./Section.vue.es-Btff-cLY.js"),n=require("./customElements-Vox1PB6G.js"),d={class:"sv-payment-history"},l={class:"sv-payment-history__items flex flex-col-reverse gap-1"},y={class:"sv-payment-history__item-header mb-2 flex items-center justify-between"},u=e.defineComponent({__name:"PaymentHistoryBlock",props:{paymentAttempts:{type:Array},customer:{type:Object}},setup(s){const{$t:a,formatDate:i}=n.useIntl(),r={AUTHORIZED:"success",CANCELLED:"danger",ERROR:"danger",PENDING:"warning",PENDING_REFUND:"warning",REFUNDED:"warning",CHARGED_BACK:"warning",REFUSED:"danger"};return(f,p)=>(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.unref(n._sfc_main),{tag:"h2",variant:"heading-3",class:"sv-payment-history__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment history",description:"Title for the payment history block on the invoice details page",id:"sdk.invoice_details.payment_history.title"})),1)]),_:1}),e.createElementVNode("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.paymentAttempts,t=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:t.id,class:"sv-payment-history__item mt-1 md:mt-2"},{default:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(e.unref(n._sfc_main),{variant:"caps-heading",class:"sv-payment-history__item-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment attempt",description:"Title for the payment attempt block",id:"sdk.invoice_details.payment_history.payment_attempt"})),1)]),_:1}),e.createVNode(e.unref(m._sfc_main),{class:"sv-payment-history__item-status",intent:r[t.result]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c.formatEnum)(t.result)),1)]),_:2},1032,["intent"])]),t.payment_method_details?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,class:"sv-payment-history__payment-method","payment-method":t.payment_method_details},{description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({date:t.created_at,format:"dateTime",offsetType:"offsetted",timezone:s.customer.timezone})),1)]),_:2},1032,["payment-method"])):e.createCommentVNode("",!0)]),_:2},1024))),128))])]))}});exports._sfc_main=u;
1
+ const e=require("vue"),o=require("./PaymentMethod.vue.es-pLCCzVxN.js"),c=require("./formatting.es-C72Nsrmh.js"),m=require("./Chip.vue.es-DLQ4QEPo.js"),_=require("./Section.vue.es-Cybk1Nb8.js"),n=require("./customElements-BYIdPSzQ.js"),d={class:"sv-payment-history"},l={class:"sv-payment-history__items flex flex-col-reverse gap-1"},y={class:"sv-payment-history__item-header mb-2 flex items-center justify-between"},u=e.defineComponent({__name:"PaymentHistoryBlock",props:{paymentAttempts:{type:Array},customer:{type:Object}},setup(s){const{$t:a,formatDate:i}=n.useIntl(),r={AUTHORIZED:"success",CANCELLED:"danger",ERROR:"danger",PENDING:"warning",PENDING_REFUND:"warning",REFUNDED:"warning",CHARGED_BACK:"warning",REFUSED:"danger"};return(f,p)=>(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.unref(n._sfc_main),{tag:"h2",variant:"heading-3",class:"sv-payment-history__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment history",description:"Title for the payment history block on the invoice details page",id:"sdk.invoice_details.payment_history.title"})),1)]),_:1}),e.createElementVNode("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.paymentAttempts,t=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:t.id,class:"sv-payment-history__item mt-1 md:mt-2"},{default:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(e.unref(n._sfc_main),{variant:"caps-heading",class:"sv-payment-history__item-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment attempt",description:"Title for the payment attempt block",id:"sdk.invoice_details.payment_history.payment_attempt"})),1)]),_:1}),e.createVNode(e.unref(m._sfc_main),{class:"sv-payment-history__item-status",intent:r[t.result]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c.formatEnum)(t.result)),1)]),_:2},1032,["intent"])]),t.payment_method_details?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,class:"sv-payment-history__payment-method","payment-method":t.payment_method_details},{description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({date:t.created_at,format:"dateTime",offsetType:"offsetted",timezone:s.customer.timezone})),1)]),_:2},1032,["payment-method"])):e.createCommentVNode("",!0)]),_:2},1024))),128))])]))}});exports._sfc_main=u;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as f, openBlock as s, createElementBlock as _, createVNode as o, unref as e, withCtx as a, createTextVNode as i, toDisplayString as n, createElementVNode as c, Fragment as h, renderList as u, createBlock as d, createCommentVNode as g } from "vue";
2
- import { _ as v } from "./PaymentMethod.vue.es-DkQdPXfk.mjs";
2
+ import { _ as v } from "./PaymentMethod.vue.es-EhRCfeax.mjs";
3
3
  import { a as E } from "./formatting.es-RclXHhKo.mjs";
4
- import { _ as D } from "./Chip.vue.es-DMK9C78d.mjs";
5
- import { _ as N } from "./Section.vue.es-DQ5H7mqW.mjs";
6
- import { u as k, _ as l } from "./customElements-CSE7dwUr.mjs";
4
+ import { _ as D } from "./Chip.vue.es-DGbc4L_D.mjs";
5
+ import { _ as N } from "./Section.vue.es-C2_topx4.mjs";
6
+ import { u as k, _ as l } from "./customElements-Df6dGrN-.mjs";
7
7
  const R = { class: "sv-payment-history" }, x = { class: "sv-payment-history__items flex flex-col-reverse gap-1" }, C = { class: "sv-payment-history__item-header mb-2 flex items-center justify-between" }, U = /* @__PURE__ */ f({
8
8
  __name: "PaymentHistoryBlock",
9
9
  props: {
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js");exports.default=e._sfc_main;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js");exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs";
1
+ import { _ as f } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as A, defineAsyncComponent as h, ref as l, computed as B, openBlock as s, createElementBlock as v, Fragment as g, renderList as E, unref as i, createBlock as f, createCommentVNode as $, withCtx as D, createTextVNode as N, toDisplayString as j } from "vue";
2
2
  import { _ as O } from "./FormMessage.vue.es-jG3fQZms.mjs";
3
- import { u as T } from "./customElements-CSE7dwUr.mjs";
3
+ import { u as T } from "./customElements-Df6dGrN-.mjs";
4
4
  import { g as L } from "./adyen-CvsH5fok.mjs";
5
5
  const p = (e) => {
6
6
  var a;
@@ -40,11 +40,11 @@ const p = (e) => {
40
40
  emits: ["select", "payment-failed", "payment-success", "ready"],
41
41
  setup(e, { expose: a, emit: r }) {
42
42
  const c = h(
43
- () => import("./PaymentIntegrationFormStripe-CBsXDuhy.mjs").then(
43
+ () => import("./PaymentIntegrationFormStripe-Dx1H3fZ2.mjs").then(
44
44
  (n) => n.default
45
45
  )
46
46
  ), C = h(
47
- () => import("./PaymentIntegrationFormAdyen-DfN7cPYZ.mjs").then(
47
+ () => import("./PaymentIntegrationFormAdyen-BQcgDcik.mjs").then(
48
48
  (n) => n.default
49
49
  )
50
50
  ), d = e, F = r;
@@ -1 +1 @@
1
- const t=require("vue"),B=require("./FormMessage.vue.es-dqATjC2N.js"),$=require("./customElements-Vox1PB6G.js"),w=require("./adyen-Druit6gz.js"),S=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="ADYEN"},I=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="STRIPE"},g=({selectedIntegration:e,paymentMethodOption:a})=>{var i,m;return e===((m=(i=a.integration)==null?void 0:i.payment_gateway)==null?void 0:m.variant)},F=(e,{excludeExpressPaymentMethods:a=!1}={})=>{var i;return S(e)?w.getAdyenDropInPaymentMethods(e,{excludeExpressPaymentMethods:a}).length>0:I(e)?!!((i=e.integration.payment_gateway.stripe)!=null&&i.public_key):!1},C=(e,a={})=>e.some(i=>F(i,a)),p=t.defineComponent({__name:"PaymentIntegrationForm",props:{customerId:{type:String},variant:{type:String},context:{type:Object},paymentMethodOptions:{type:Array},countryCode:{type:String},invoiceId:{type:String},amount:{type:Object},selectedOption:{type:String},email:{type:String},name:{type:String},validateOnSubmit:{type:Function},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean}},emits:["select","payment-failed","payment-success","ready"],setup(e,{expose:a,emit:i}){const m=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormStripe-BSEqarl7.js")).then(o=>o.default)),P=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormAdyen-Q48aDXR7.js")).then(o=>o.default)),c=e,k=i;a({submit:h});const{$t:b}=$.useIntl(),l=t.ref(),u=t.computed(()=>{var o,n;return l.value??((n=(o=c.paymentMethodOptions[0])==null?void 0:o.integration.payment_gateway)==null?void 0:n.variant)}),y=t.ref(new Map),d=t.ref(!1),f=({paymentGatewayVariant:o,paymentMethodType:n})=>{d.value=!1,l.value=o,k("select",{paymentGatewayVariant:o,paymentMethodType:n})},v=o=>n=>{var r;return y.value.set((r=o.integration.payment_gateway)==null?void 0:r.variant,n)};function h(){var o,n;u.value||(d.value=!0,(o=c.validateOnSubmit)==null||o.call(c)),(n=y.value.get(u.value))==null||n.submit()}return(o,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.paymentMethodOptions,r=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:r.integration.id},[t.unref(S)(r)?(t.openBlock(),t.createBlock(t.unref(P),{key:0,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[0]||(n[0]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[1]||(n[1]=s=>o.$emit("payment-success")),onReady:n[2]||(n[2]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.unref(I)(r)?(t.openBlock(),t.createBlock(t.unref(m),{key:1,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),email:e.email,name:e.name,"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[3]||(n[3]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[4]||(n[4]=s=>o.$emit("payment-success")),onReady:n[5]||(n[5]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","email","name","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.createCommentVNode("",!0)],64))),128)),d.value?(t.openBlock(),t.createBlock(t.unref(B._sfc_main),{key:0,variant:"error",class:"mt-2"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)({defaultMessage:"Select a payment method",id:"payment_integration_form.select_payment_method_error",description:"Error shown when no payment method is selected"})),1)]),_:1})):t.createCommentVNode("",!0)],64))}});exports._sfc_main=p;exports.hasRenderablePaymentIntegration=C;
1
+ const t=require("vue"),B=require("./FormMessage.vue.es-dqATjC2N.js"),$=require("./customElements-BYIdPSzQ.js"),w=require("./adyen-Druit6gz.js"),S=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="ADYEN"},I=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="STRIPE"},g=({selectedIntegration:e,paymentMethodOption:a})=>{var i,m;return e===((m=(i=a.integration)==null?void 0:i.payment_gateway)==null?void 0:m.variant)},F=(e,{excludeExpressPaymentMethods:a=!1}={})=>{var i;return S(e)?w.getAdyenDropInPaymentMethods(e,{excludeExpressPaymentMethods:a}).length>0:I(e)?!!((i=e.integration.payment_gateway.stripe)!=null&&i.public_key):!1},C=(e,a={})=>e.some(i=>F(i,a)),p=t.defineComponent({__name:"PaymentIntegrationForm",props:{customerId:{type:String},variant:{type:String},context:{type:Object},paymentMethodOptions:{type:Array},countryCode:{type:String},invoiceId:{type:String},amount:{type:Object},selectedOption:{type:String},email:{type:String},name:{type:String},validateOnSubmit:{type:Function},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean}},emits:["select","payment-failed","payment-success","ready"],setup(e,{expose:a,emit:i}){const m=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormStripe-CMwLqOe6.js")).then(o=>o.default)),P=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormAdyen-DElXsJ96.js")).then(o=>o.default)),c=e,k=i;a({submit:h});const{$t:b}=$.useIntl(),l=t.ref(),u=t.computed(()=>{var o,n;return l.value??((n=(o=c.paymentMethodOptions[0])==null?void 0:o.integration.payment_gateway)==null?void 0:n.variant)}),y=t.ref(new Map),d=t.ref(!1),f=({paymentGatewayVariant:o,paymentMethodType:n})=>{d.value=!1,l.value=o,k("select",{paymentGatewayVariant:o,paymentMethodType:n})},v=o=>n=>{var r;return y.value.set((r=o.integration.payment_gateway)==null?void 0:r.variant,n)};function h(){var o,n;u.value||(d.value=!0,(o=c.validateOnSubmit)==null||o.call(c)),(n=y.value.get(u.value))==null||n.submit()}return(o,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.paymentMethodOptions,r=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:r.integration.id},[t.unref(S)(r)?(t.openBlock(),t.createBlock(t.unref(P),{key:0,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[0]||(n[0]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[1]||(n[1]=s=>o.$emit("payment-success")),onReady:n[2]||(n[2]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.unref(I)(r)?(t.openBlock(),t.createBlock(t.unref(m),{key:1,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),email:e.email,name:e.name,"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[3]||(n[3]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[4]||(n[4]=s=>o.$emit("payment-success")),onReady:n[5]||(n[5]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","email","name","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.createCommentVNode("",!0)],64))),128)),d.value?(t.openBlock(),t.createBlock(t.unref(B._sfc_main),{key:0,variant:"error",class:"mt-2"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)({defaultMessage:"Select a payment method",id:"payment_integration_form.select_payment_method_error",description:"Error shown when no payment method is selected"})),1)]),_:1})):t.createCommentVNode("",!0)],64))}});exports._sfc_main=p;exports.hasRenderablePaymentIntegration=C;