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

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 (218) hide show
  1. package/README.md +44 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.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-DzjFvLuK.mjs} +1 -1
  7. package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-nr8srGuK.js} +1 -1
  8. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
  9. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
  10. package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
  11. package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-TCF-bvDF.js} +1 -1
  12. package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
  13. package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
  14. package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-CAoisngJ.js} +1 -1
  15. package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DpcOM3Ai.mjs} +2 -2
  16. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
  17. package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
  18. package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
  19. package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
  20. package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
  21. package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
  22. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
  23. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
  24. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +15 -15
  25. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +1 -0
  26. package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
  27. package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
  28. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
  29. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
  30. package/dist/ErrorNotification.vue.es-BF6swP7o.js +1 -0
  31. package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +2 -2
  32. package/dist/IconButton.vue.es-CB1lIPao.js +1 -0
  33. package/dist/IconButton.vue.es-DGflbWFk.mjs +56 -0
  34. package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
  35. package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
  36. package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
  37. package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-CREdT4nB.js} +1 -1
  38. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
  39. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
  40. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
  41. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
  42. package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
  43. package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
  44. package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-BbdtdxsO.js} +1 -1
  45. package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
  46. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js +1 -0
  47. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs +294 -0
  48. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs} +3 -3
  49. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js} +1 -1
  50. package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
  51. package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
  52. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
  53. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
  54. package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
  55. package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
  56. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
  57. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
  58. package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
  59. package/dist/PaymentIntegrationFormAdyen-CyZk9ofV.mjs +798 -0
  60. package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +102 -0
  61. package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +251 -179
  62. package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
  63. package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
  64. package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
  65. package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
  66. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
  67. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
  68. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
  69. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
  70. package/dist/PlanCustomizationEditor-0kEXoOcM.js +1 -0
  71. package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
  72. package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +2 -2
  73. package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
  74. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
  75. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
  76. package/dist/RadioGroupExtended.vue.es-Cf5R1P9a.js +1 -0
  77. package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +3 -3
  78. package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-CBZx5x53.js} +1 -1
  79. package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-KRsHeFoT.mjs} +1 -1
  80. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs} +6 -6
  81. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
  82. package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
  83. package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-B6b6xf-E.mjs} +1 -1
  84. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +1 -0
  85. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +12 -12
  86. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
  87. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
  88. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
  89. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
  90. package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
  91. package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
  92. package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
  93. package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
  94. package/dist/{cn.es-BGqYNPM3.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
  95. package/dist/{cn.es-CvmLj7KH.js → cn.es-BLE3T5Rx.js} +1 -1
  96. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  97. package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
  98. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  99. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
  100. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  101. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
  102. package/dist/components/Invoice/Invoice.cjs +1 -1
  103. package/dist/components/Invoice/Invoice.mjs +10 -10
  104. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  105. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
  106. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  107. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
  108. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  109. package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
  110. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  111. package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
  112. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  113. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
  114. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  115. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
  116. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  117. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
  118. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  119. package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
  120. package/dist/core/index.cjs +1 -1
  121. package/dist/core/index.mjs +26 -23
  122. package/dist/customElements-CSzbVZIH.js +1211 -0
  123. package/dist/{customElements-CSE7dwUr.mjs → customElements-DT1YyL4O.mjs} +663 -626
  124. package/dist/{customer-Dsq-Moea.js → customer-CJonIvSm.js} +1 -1
  125. package/dist/{customer-5krPxZ8i.mjs → customer-Cq4fF__H.mjs} +1 -1
  126. package/dist/{de-DE-DsFtpLsx.mjs → de-DE-CyvjSD9b.mjs} +26 -2
  127. package/dist/{de-DE-C3DzP1nj.js → de-DE-DXsDvO5y.js} +1 -1
  128. package/dist/{en-US-X_pSFsNm.js → en-US-DHdI11k9.js} +1 -1
  129. package/dist/{en-US-DvkvbV0p.mjs → en-US-xQrWj8qI.mjs} +24 -0
  130. package/dist/index.cjs +1 -1
  131. package/dist/index.mjs +1 -1
  132. package/dist/{invoices-DRgfpkJ6.mjs → invoices-CVZOfEOY.mjs} +1 -1
  133. package/dist/{invoices-xOV2YaEV.js → invoices-EamWI_jz.js} +1 -1
  134. package/dist/{it-IT-TE7oqvXa.mjs → it-IT-C09oObBM.mjs} +26 -2
  135. package/dist/{it-IT-YBtHAao1.js → it-IT-CcRIzP1A.js} +1 -1
  136. package/dist/{nl-NL-C8wnyKju.js → nl-NL-5PrgQl8q.js} +1 -1
  137. package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-BhNND_yi.mjs} +24 -0
  138. package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
  139. package/dist/paymentFailure-Cki8c5BX.js +1 -0
  140. package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-Bwym8l9a.js} +1 -1
  141. package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-By1SebnO.mjs} +1 -1
  142. package/dist/{payments-Dvqh6CGW.mjs → payments-BYZLQTJ-.mjs} +1 -1
  143. package/dist/{payments-jAgXhdp_.js → payments-Dnjg9Se4.js} +1 -1
  144. package/dist/screens/Checkout/Checkout.cjs +1 -1
  145. package/dist/screens/Checkout/Checkout.mjs +2 -2
  146. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  147. package/dist/screens/CustomerOverview/CustomerOverview.mjs +21 -21
  148. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  149. package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
  150. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  151. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +11 -11
  152. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  153. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +21 -21
  154. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  155. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
  156. package/dist/sessionReference-3h-6FdrC.mjs +43 -0
  157. package/dist/sessionReference-m_6Rp4X1.js +1 -0
  158. package/dist/subscriptions-BKER9RUc.js +1 -0
  159. package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-Gj3KgCZz.mjs} +2 -2
  160. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
  161. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
  162. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +13 -2
  163. package/dist/types/services/portals.types.d.ts +2 -0
  164. package/dist/types/services/requests.types.d.ts +2 -0
  165. package/dist/types/types/errors.d.ts +5 -0
  166. package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
  167. package/dist/url-vloPOiXd.js +1 -0
  168. package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
  169. package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
  170. package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BW0DBEJh.js} +1 -1
  171. package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
  172. package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-C773h3J0.js} +1 -1
  173. package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
  174. package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9teNYGuP.js} +1 -1
  175. package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
  176. package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-DvV2AsgC.js} +1 -1
  177. package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
  178. package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
  179. package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Xnth6s6U.js} +1 -1
  180. package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
  181. package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-Cjkc70u-.js} +1 -1
  182. package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
  183. package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
  184. package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
  185. package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
  186. package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BDFVB-kK.js} +1 -1
  187. package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
  188. package/dist/{usePayments-D9Eo-uBk.js → usePayments-CIJocDhR.js} +1 -1
  189. package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-D_dyuf6S.mjs} +6 -6
  190. package/dist/{usePortal-DsebXdhx.js → usePortal-BU4ibdWq.js} +1 -1
  191. package/dist/{usePortal-3VCZwSUE.mjs → usePortal-Br5lYuPT.mjs} +1 -1
  192. package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-CqRae2I9.mjs} +1 -1
  193. package/dist/{useSubscription-K_gP9TeX.js → useSubscription-DRBUt9H5.js} +1 -1
  194. package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
  195. package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-DDos3-EH.js} +1 -1
  196. package/package.json +2 -1
  197. package/dist/Checkout.entry.ce-B5-0AM67.mjs +0 -3747
  198. package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
  199. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
  200. package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
  201. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
  202. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
  203. package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
  204. package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
  205. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
  206. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
  207. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +0 -1
  208. package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +0 -621
  209. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
  210. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
  211. package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
  212. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
  213. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
  214. package/dist/component-5wqcK7yz.mjs +0 -8
  215. package/dist/component-B7ZDyqBp.js +0 -1
  216. package/dist/customElements-Vox1PB6G.js +0 -1211
  217. package/dist/subscriptions-fJcj88X9.js +0 -1
  218. package/dist/url-BNKStNY9.js +0 -1
@@ -1,12 +1,13 @@
1
- import { defineComponent as C, ref as _, onMounted as M, onBeforeUnmount as U, watch as B, openBlock as I, createElementBlock as $, computed as w, createBlock as T, unref as V, createCommentVNode as Y } from "vue";
2
- import { a as Z } from "./useService-Bh47bllz.mjs";
3
- import { t as G, d as H, P as Q } from "./adyen-CvsH5fok.mjs";
4
- import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs";
5
- import { c as X } from "./payments-Dvqh6CGW.mjs";
6
- import { c as ee } from "./paymentMethods-PmkHYomw.mjs";
7
- import { g as S } from "./url-DwiuKYpu.mjs";
8
- import { b as te } from "./customElements-CSE7dwUr.mjs";
9
- const D = "https://js.stripe.com/dahlia/stripe.js", re = `<!DOCTYPE html>
1
+ import { defineComponent as D, ref as g, onMounted as L, onBeforeUnmount as M, watch as B, openBlock as v, createElementBlock as Y, computed as h, createBlock as N, unref as G, createCommentVNode as $ } from "vue";
2
+ import { a as W } from "./useService-Bh47bllz.mjs";
3
+ import { t as V, d as Q, P as X } from "./adyen-CvsH5fok.mjs";
4
+ import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs";
5
+ import { c as ee } from "./payments-BYZLQTJ-.mjs";
6
+ import { c as te } from "./paymentMethods-By1SebnO.mjs";
7
+ import { g as b } from "./url-TNRgVI8A.mjs";
8
+ import { b as re } from "./customElements-DT1YyL4O.mjs";
9
+ import { c as ne, a as ae } from "./paymentFailure-Bh60UhxA.mjs";
10
+ const F = "https://js.stripe.com/dahlia/stripe.js", oe = `<!DOCTYPE html>
10
11
  <html>
11
12
  <head>
12
13
  <meta charset="UTF-8">
@@ -18,7 +19,7 @@ body { overflow: hidden; }
18
19
  </head>
19
20
  <body>
20
21
  <div id="stripe-root"></div>
21
- <script src="${D}"><\/script>
22
+ <script src="${F}"><\/script>
22
23
  <script>
23
24
  (function () {
24
25
  let stripe, elements, countryCode, email, name, parentOrigin;
@@ -107,7 +108,7 @@ body { overflow: hidden; }
107
108
  })();
108
109
  <\/script>
109
110
  </body>
110
- </html>`, ne = ["src", "height"], ae = /* @__PURE__ */ C({
111
+ </html>`, ie = ["src", "height"], se = /* @__PURE__ */ D({
111
112
  __name: "PaymentIntegrationFormStripeFrame",
112
113
  props: {
113
114
  publicKey: { type: String },
@@ -117,13 +118,13 @@ body { overflow: hidden; }
117
118
  name: { type: String }
118
119
  },
119
120
  emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
120
- setup(m, { expose: f, emit: E }) {
121
- const t = m, s = E;
122
- f({ triggerSubmit: O });
123
- const p = _(), d = _(0), g = _();
124
- function h() {
125
- var a, n;
126
- (n = (a = p.value) == null ? void 0 : a.contentWindow) == null || n.postMessage(
121
+ setup(p, { expose: E, emit: A }) {
122
+ const t = p, c = A;
123
+ E({ triggerSubmit: O });
124
+ const u = g(), d = g(0), I = g();
125
+ function S() {
126
+ var i, a;
127
+ (a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
127
128
  {
128
129
  type: "stripe:init",
129
130
  publicKey: t.publicKey,
@@ -136,77 +137,77 @@ body { overflow: hidden; }
136
137
  );
137
138
  }
138
139
  function O() {
139
- var a, n;
140
- (n = (a = p.value) == null ? void 0 : a.contentWindow) == null || n.postMessage(
140
+ var i, a;
141
+ (a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
141
142
  { type: "stripe:submit", email: t.email, name: t.name },
142
143
  "*"
143
144
  );
144
145
  }
145
- function l(a) {
146
- return typeof a == "object" && a !== null;
146
+ function y(i) {
147
+ return typeof i == "object" && i !== null;
147
148
  }
148
- function c(a) {
149
- if (!p.value || a.source !== p.value.contentWindow || !l(a.data)) return;
150
- const n = a.data, R = n.type;
151
- if (!(typeof R != "string" || !R.startsWith("stripe:")))
152
- switch (R) {
149
+ function m(i) {
150
+ if (!u.value || i.source !== u.value.contentWindow || !y(i.data)) return;
151
+ const a = i.data, _ = a.type;
152
+ if (!(typeof _ != "string" || !_.startsWith("stripe:")))
153
+ switch (_) {
153
154
  case "stripe:ready":
154
- s("ready");
155
+ c("ready");
155
156
  break;
156
157
  case "stripe:change":
157
- s(
158
+ c(
158
159
  "change",
159
- typeof n.paymentMethodType == "string" ? n.paymentMethodType : "card"
160
+ typeof a.paymentMethodType == "string" ? a.paymentMethodType : "card"
160
161
  );
161
162
  break;
162
163
  case "stripe:loaderror": {
163
- const u = l(n.error) ? n.error : {};
164
- s("loaderror", {
165
- message: typeof u.message == "string" ? u.message : void 0,
166
- type: typeof u.type == "string" ? u.type : void 0
164
+ const n = y(a.error) ? a.error : {};
165
+ c("loaderror", {
166
+ message: typeof n.message == "string" ? n.message : void 0,
167
+ type: typeof n.type == "string" ? n.type : void 0
167
168
  });
168
169
  break;
169
170
  }
170
171
  case "stripe:resize":
171
- typeof n.height == "number" && (d.value = n.height);
172
+ typeof a.height == "number" && (d.value = a.height);
172
173
  break;
173
174
  case "stripe:submit:success":
174
- typeof n.confirmationTokenId == "string" && s("submit-success", n.confirmationTokenId);
175
+ typeof a.confirmationTokenId == "string" && c("submit-success", a.confirmationTokenId);
175
176
  break;
176
177
  case "stripe:submit:error": {
177
- const u = l(n.error) ? n.error : {};
178
- s("submit-error", {
179
- message: typeof u.message == "string" ? u.message : void 0,
180
- type: typeof u.type == "string" ? u.type : void 0,
181
- code: typeof u.code == "string" ? u.code : void 0
178
+ const n = y(a.error) ? a.error : {};
179
+ c("submit-error", {
180
+ message: typeof n.message == "string" ? n.message : void 0,
181
+ type: typeof n.type == "string" ? n.type : void 0,
182
+ code: typeof n.code == "string" ? n.code : void 0
182
183
  });
183
184
  break;
184
185
  }
185
186
  }
186
187
  }
187
- return M(() => {
188
- const a = new Blob([re], { type: "text/html" });
189
- g.value = URL.createObjectURL(a), window.addEventListener("message", c);
190
- }), U(() => {
191
- window.removeEventListener("message", c), g.value && URL.revokeObjectURL(g.value);
188
+ return L(() => {
189
+ const i = new Blob([oe], { type: "text/html" });
190
+ I.value = URL.createObjectURL(i), window.addEventListener("message", m);
191
+ }), M(() => {
192
+ window.removeEventListener("message", m), I.value && URL.revokeObjectURL(I.value);
192
193
  }), B(
193
194
  () => t.options,
194
- (a, n) => {
195
- Z(a, n) || h();
195
+ (i, a) => {
196
+ W(i, a) || S();
196
197
  },
197
198
  { deep: !0 }
198
- ), (a, n) => (I(), $("iframe", {
199
+ ), (i, a) => (v(), Y("iframe", {
199
200
  ref_key: "iframeRef",
200
- ref: p,
201
- src: g.value,
201
+ ref: u,
202
+ src: I.value,
202
203
  height: d.value || void 0,
203
204
  frameborder: "0",
204
205
  style: { width: "100%", display: "block", border: "none" },
205
206
  title: "Payment form",
206
- onLoad: h
207
- }, null, 40, ne));
207
+ onLoad: S
208
+ }, null, 40, ie));
208
209
  }
209
- }), A = { link: "never" }, k = {
210
+ }), w = { link: "never" }, C = {
210
211
  variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
211
212
  rules: {
212
213
  ".TermsText": { fontSize: "14px" },
@@ -217,41 +218,41 @@ body { overflow: hidden; }
217
218
  }
218
219
  }
219
220
  };
220
- function oe(m, f) {
221
+ function ce(p, E) {
221
222
  return {
222
223
  billingDetails: {
223
224
  address: { country: "never" },
224
- ...m ? { email: "never" } : {},
225
- ...f ? { name: "never" } : {}
225
+ ...p ? { email: "never" } : {},
226
+ ...E ? { name: "never" } : {}
226
227
  }
227
228
  };
228
229
  }
229
- function ie({
230
- amount: m,
231
- email: f,
232
- name: E,
230
+ function me({
231
+ amount: p,
232
+ email: E,
233
+ name: A,
233
234
  variant: t,
234
- storePaymentMethod: s = !1
235
+ storePaymentMethod: c = !1
235
236
  }) {
236
- const p = m.currency.toLowerCase(), d = oe(f, E);
237
+ const u = p.currency.toLowerCase(), d = ce(E, A);
237
238
  return t === "TOKENIZE" ? {
238
239
  mode: "setup",
239
- currency: p,
240
+ currency: u,
240
241
  setup_future_usage: "off_session",
241
- wallets: A,
242
+ wallets: w,
242
243
  fields: d,
243
- appearance: k
244
+ appearance: C
244
245
  } : {
245
246
  mode: "payment",
246
- currency: p,
247
- amount: G(m).value,
248
- ...s ? { setup_future_usage: "off_session" } : {},
249
- wallets: A,
247
+ currency: u,
248
+ amount: V(p).value,
249
+ ...c ? { setup_future_usage: "off_session" } : {},
250
+ wallets: w,
250
251
  fields: d,
251
- appearance: k
252
+ appearance: C
252
253
  };
253
254
  }
254
- const v = "STRIPE", fe = /* @__PURE__ */ C({
255
+ const R = "STRIPE", ge = /* @__PURE__ */ D({
255
256
  __name: "PaymentIntegrationFormStripe",
256
257
  props: {
257
258
  email: { type: String },
@@ -267,222 +268,293 @@ const v = "STRIPE", fe = /* @__PURE__ */ C({
267
268
  context: { type: Object },
268
269
  forceStorePaymentMethod: { type: Boolean },
269
270
  storePaymentMethod: { type: Boolean },
270
- redirectsOnSuccess: { type: Boolean }
271
+ redirectsOnSuccess: { type: Boolean },
272
+ billingEntityName: { type: String }
271
273
  },
272
274
  emits: ["select", "payment-failed", "payment-success", "ready"],
273
- setup(m, { expose: f, emit: E }) {
274
- const t = m, s = E;
275
- f({ submit: u });
276
- const p = _(!1), d = _(), g = _(), h = w(
275
+ setup(p, { expose: E, emit: A }) {
276
+ const t = p, c = A;
277
+ E({ submit: k });
278
+ const u = g(!1), d = g(), I = g(), S = h(
277
279
  () => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
278
- ), O = w(
279
- () => ie({
280
+ ), O = h(
281
+ () => me({
280
282
  amount: t.amount,
281
283
  email: t.email,
282
284
  name: t.name,
283
285
  variant: t.variant,
284
- storePaymentMethod: h.value
286
+ storePaymentMethod: S.value
285
287
  })
286
- ), l = _(null), c = te(), { authorizePayment: a } = X(), { tokenizePaymentMethod: n } = ee(), R = w(
288
+ ), y = g(null), m = re(), { authorizePayment: i } = ee(), { tokenizePaymentMethod: a } = te(), _ = h(
287
289
  () => {
288
290
  var e, r;
289
291
  return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
290
292
  }
291
293
  );
292
- function u() {
293
- L().catch((e) => {
294
- c.error(
294
+ function n(e) {
295
+ return ne({
296
+ gateway: R,
297
+ paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
298
+ variant: t.variant,
299
+ invoiceId: t.invoiceId,
300
+ customerId: t.customerId,
301
+ ...e
302
+ });
303
+ }
304
+ function k() {
305
+ U().catch((e) => {
306
+ m.error(
295
307
  "STRIPE_SUBMIT_FAILED",
296
308
  "Unexpected error during Stripe submission",
297
- {},
309
+ n({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
298
310
  e
299
311
  );
300
312
  });
301
313
  }
302
- async function L() {
314
+ async function U() {
303
315
  var r;
304
- await t.validateOnSubmit() && ((r = g.value) == null || r.triggerSubmit());
316
+ await t.validateOnSubmit() && ((r = I.value) == null || r.triggerSubmit());
305
317
  }
306
- function F(e) {
307
- return new Promise((r, i) => {
318
+ function x(e) {
319
+ return new Promise((r, s) => {
308
320
  if (window.Stripe) {
309
321
  r(window.Stripe(e));
310
322
  return;
311
323
  }
312
324
  const o = document.createElement("script");
313
- o.src = D, o.onload = () => {
325
+ o.src = F, o.onload = () => {
314
326
  if (!window.Stripe) {
315
- i(new Error("Stripe not available after script load"));
327
+ s(new Error("Stripe not available after script load"));
316
328
  return;
317
329
  }
318
330
  r(window.Stripe(e));
319
- }, o.onerror = () => i(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
331
+ }, o.onerror = () => s(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
320
332
  });
321
333
  }
322
- async function x() {
323
- if (l.value)
324
- return l.value;
325
- const e = R.value;
334
+ async function Z() {
335
+ if (y.value)
336
+ return y.value;
337
+ const e = _.value;
326
338
  if (!e)
327
339
  throw new Error("Missing Stripe public key");
328
- const r = await F(e);
329
- return l.value = r, r;
340
+ const r = await x(e);
341
+ return y.value = r, r;
330
342
  }
331
343
  async function K(e) {
332
- const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, i = H({
344
+ const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, s = Q({
333
345
  paymentAcceptorId: r,
334
346
  redirectUrl: window.location.href
335
347
  });
336
348
  if (t.variant === "AUTHORIZE") {
337
349
  try {
338
- const o = await a({
350
+ const o = await i({
339
351
  payment_acceptor_id: r,
340
352
  ...t.customerId ? { customer_id: t.customerId } : {},
341
- payment_gateway_variant: v,
353
+ payment_gateway_variant: R,
342
354
  stripe: { confirmation_token_id: e },
343
355
  amount: t.amount,
344
356
  ...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
345
- return_url: i
357
+ return_url: s
346
358
  });
347
- await N(o);
359
+ await P(o);
348
360
  } catch (o) {
349
- c.error(
361
+ m.error(
350
362
  "PAYMENT_AUTHORIZATION_FAILED",
351
363
  `Failed payment authorization for payment acceptor with id ${r}`,
352
- { error: o }
353
- ), y({ code: "UNKNOWN_ERROR", message: "Payment authorization failed", error: o });
364
+ n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: o }),
365
+ o
366
+ ), l({
367
+ code: "AUTHORIZATION_FAILED",
368
+ message: "Payment authorization failed",
369
+ error: o
370
+ });
354
371
  }
355
372
  return;
356
373
  }
357
374
  if (t.variant === "TOKENIZE") {
358
375
  if (!t.customerId) {
359
- c.error(
376
+ m.error(
360
377
  "TOKENIZATION_FAILED",
361
- `Missing customer id for payment acceptor with id ${r}`
362
- );
378
+ `Missing customer id for payment acceptor with id ${r}`,
379
+ n({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
380
+ ), l({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
363
381
  return;
364
382
  }
365
383
  try {
366
- const o = await n({
384
+ const o = await a({
367
385
  customer_id: t.customerId,
368
386
  payment_acceptor_id: r,
369
- payment_gateway_variant: v,
387
+ payment_gateway_variant: R,
370
388
  stripe: { confirmation_token_id: e },
371
- return_url: i
389
+ return_url: s
372
390
  });
373
- await N(o);
391
+ await P(o);
374
392
  } catch (o) {
375
- c.error(
393
+ m.error(
376
394
  "TOKENIZATION_FAILED",
377
395
  `Tokenization failed for payment acceptor with id ${r}`,
378
- { error: o }
379
- ), y({ code: "UNKNOWN_ERROR", message: "Tokenization failed", error: o });
396
+ n({ reason: "TOKENIZATION_FAILED", cause: o }),
397
+ o
398
+ ), l({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: o });
380
399
  }
381
400
  }
382
401
  }
383
- async function N(e) {
402
+ async function P(e) {
384
403
  var r;
385
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === v) {
386
- const i = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
387
- if (!i) {
388
- c.error(
404
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === R) {
405
+ const s = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
406
+ if (!s) {
407
+ m.error(
389
408
  "STRIPE_ACTION_FAILED",
390
- "Missing client_secret in Stripe ACTION_REQUIRED response"
391
- ), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: e });
409
+ "Missing client_secret in Stripe ACTION_REQUIRED response",
410
+ n({
411
+ reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
412
+ extra: { paymentStatus: e.status }
413
+ })
414
+ ), l({
415
+ code: "AUTHORIZATION_FAILED",
416
+ message: "Payment action failed",
417
+ error: e
418
+ });
392
419
  return;
393
420
  }
394
421
  let o;
395
422
  try {
396
- o = await x();
397
- } catch (P) {
398
- c.error("STRIPE_ACTION_FAILED", "Failed to load Stripe.js", { error: P }), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: P });
423
+ o = await Z();
424
+ } catch (T) {
425
+ m.error(
426
+ "STRIPE_ACTION_FAILED",
427
+ "Failed to load Stripe.js",
428
+ n({ reason: "STRIPE_SDK_LOAD_FAILED", cause: T }),
429
+ T
430
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: T });
399
431
  return;
400
432
  }
401
- const { error: b } = await o.handleNextAction({ clientSecret: i });
402
- if (b) {
403
- c.error("STRIPE_ACTION_FAILED", "Stripe handleNextAction failed", { error: b }), y({ code: "UNKNOWN_ERROR", message: "Payment action failed", error: b });
433
+ const { error: f } = await o.handleNextAction({ clientSecret: s });
434
+ if (f) {
435
+ m.error(
436
+ "STRIPE_ACTION_FAILED",
437
+ "Stripe handleNextAction failed",
438
+ n({
439
+ reason: "STRIPE_NEXT_ACTION_FAILED",
440
+ cause: f,
441
+ extra: { stripeErrorCode: f.code, stripeErrorType: f.type }
442
+ }),
443
+ f
444
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: f });
404
445
  return;
405
446
  }
406
- p.value = !0, s("payment-success");
447
+ u.value = !0, c("payment-success");
407
448
  return;
408
449
  }
409
450
  if (e.status === "SUCCESS") {
410
- p.value = !0, s("payment-success");
451
+ u.value = !0, c("payment-success");
411
452
  return;
412
453
  }
413
- c.error("STRIPE_ACTION_FAILED", "Unexpected payment result status", { error: e }), y({ code: "UNKNOWN_ERROR", message: "Payment failed", error: e });
454
+ m.error(
455
+ "STRIPE_ACTION_FAILED",
456
+ "Unexpected payment result status",
457
+ n({
458
+ reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
459
+ extra: { paymentStatus: e.status }
460
+ })
461
+ ), l({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
414
462
  }
415
- async function W() {
463
+ async function H() {
416
464
  const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
417
- if (S(Q) !== e) return;
418
- const i = S("redirect_status"), o = S("payment_intent_client_secret"), b = S("setup_intent_client_secret");
419
- if (!(!i || !o && !b)) {
420
- if (i === "succeeded") {
421
- p.value = !0, s("payment-success");
422
- return;
423
- }
424
- c.error("STRIPE_REDIRECT_RETURN_FAILED", "Stripe redirect returned non-succeeded status", {
425
- redirectStatus: i
426
- }), y({
427
- code: "UNKNOWN_ERROR",
428
- message: "Payment failed",
429
- error: new globalThis.Error(`Stripe redirect returned status: ${i}`)
430
- });
465
+ if (b(X) !== e) return;
466
+ const s = b("redirect_status"), o = b("payment_intent_client_secret"), f = b("setup_intent_client_secret");
467
+ if (!s || !o && !f) return;
468
+ if (s === "succeeded") {
469
+ u.value = !0, c("payment-success");
470
+ return;
431
471
  }
472
+ const T = new globalThis.Error(
473
+ `Stripe redirect returned status: ${s}`
474
+ );
475
+ m.error(
476
+ "STRIPE_REDIRECT_RETURN_FAILED",
477
+ "Stripe redirect returned non-succeeded status",
478
+ n({
479
+ reason: "STRIPE_REDIRECT_RETURN_FAILED",
480
+ extra: { redirectStatus: s }
481
+ }),
482
+ T
483
+ ), l({
484
+ code: "AUTHORIZATION_FAILED",
485
+ message: "Payment failed",
486
+ error: T
487
+ });
432
488
  }
433
489
  function j() {
434
- s("select", {
490
+ c("select", {
435
491
  paymentMethodType: "card",
436
- paymentGatewayVariant: v
437
- }), s("ready");
492
+ paymentGatewayVariant: R
493
+ }), c("ready");
438
494
  }
439
495
  function z(e) {
440
- y({
441
- code: "UNKNOWN_ERROR",
496
+ m.error(
497
+ "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
498
+ "Failed to load the Stripe payment form",
499
+ n({
500
+ reason: "STRIPE_FORM_LOAD_FAILED",
501
+ cause: e,
502
+ extra: { stripeErrorType: e.type }
503
+ }),
504
+ e
505
+ ), l({
506
+ code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
442
507
  message: e.message ?? "Failed to load payment form",
443
508
  error: e
444
509
  });
445
510
  }
446
- function y(e) {
447
- d.value = e, s("payment-failed", e);
511
+ function l(e) {
512
+ const r = ae(e);
513
+ d.value = r, c("payment-failed", r);
448
514
  }
449
- return M(() => {
450
- W().catch((e) => {
451
- c.error("STRIPE_REDIRECT_RETURN_FAILED", "handleRedirectReturn threw unexpectedly", {
452
- error: e
453
- });
515
+ return L(() => {
516
+ H().catch((e) => {
517
+ m.error(
518
+ "STRIPE_REDIRECT_RETURN_FAILED",
519
+ "handleRedirectReturn threw unexpectedly",
520
+ n({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
521
+ e
522
+ );
454
523
  });
455
- }), U(() => {
456
- l.value = null;
457
- }), (e, r) => p.value ? (I(), T(q, {
524
+ }), M(() => {
525
+ y.value = null;
526
+ }), (e, r) => u.value ? (v(), N(q, {
458
527
  key: 0,
459
- variant: m.variant,
460
- redirecting: m.redirectsOnSuccess
461
- }, null, 8, ["variant", "redirecting"])) : d.value ? (I(), T(J, {
528
+ variant: p.variant,
529
+ redirecting: p.redirectsOnSuccess
530
+ }, null, 8, ["variant", "redirecting"])) : d.value ? (v(), N(J, {
462
531
  key: 1,
463
532
  error: d.value
464
- }, null, 8, ["error"])) : R.value ? (I(), T(ae, {
533
+ }, null, 8, ["error"])) : _.value ? (v(), N(se, {
465
534
  key: 2,
466
535
  ref_key: "frameRef",
467
- ref: g,
468
- "public-key": R.value,
536
+ ref: I,
537
+ "public-key": _.value,
469
538
  options: O.value,
470
- "country-code": m.countryCode,
471
- email: m.email,
472
- name: m.name,
539
+ "country-code": p.countryCode,
540
+ email: p.email,
541
+ name: p.name,
473
542
  onReady: j,
474
- onChange: r[0] || (r[0] = (i) => s("select", {
475
- paymentMethodType: i,
476
- paymentGatewayVariant: v
543
+ onChange: r[0] || (r[0] = (s) => c("select", {
544
+ paymentMethodType: s,
545
+ paymentGatewayVariant: R
477
546
  })),
478
547
  onLoaderror: z,
479
548
  onSubmitSuccess: K,
480
- onSubmitError: r[1] || (r[1] = (i) => V(c).error("STRIPE_CONFIRMATION_TOKEN_FAILED", "Stripe submission failed", {
481
- error: i
482
- }))
483
- }, null, 8, ["public-key", "options", "country-code", "email", "name"])) : Y("", !0);
549
+ onSubmitError: r[1] || (r[1] = (s) => G(m).error(
550
+ "STRIPE_CONFIRMATION_TOKEN_FAILED",
551
+ "Stripe submission failed",
552
+ n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: s }),
553
+ s
554
+ ))
555
+ }, null, 8, ["public-key", "options", "country-code", "email", "name"])) : $("", !0);
484
556
  }
485
557
  });
486
558
  export {
487
- fe as default
559
+ ge as default
488
560
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as p, computed as A, openBlock as i, createElementBlock as x, createElementVNode as g, normalizeClass as k, createCommentVNode as m, renderSlot as B, createVNode as l, createBlock as d, withCtx as r, createTextVNode as f, toDisplayString as y, unref as c, shallowRef as S, watch as $, toValue as L, Fragment as R, mergeProps as C } from "vue";
2
2
  import { _ } from "./FormMessage.vue.es-jG3fQZms.mjs";
3
- import { a as O } from "./ContextMenu.vue.es-CzkkNoJG.mjs";
4
- import { u as N, _ as M } from "./customElements-CSE7dwUr.mjs";
5
- import { _ as T } from "./Chip.vue.es-DMK9C78d.mjs";
3
+ import { a as O } from "./ContextMenu.vue.es-tAuFp-6i.mjs";
4
+ import { u as N, _ as M } from "./customElements-DT1YyL4O.mjs";
5
+ import { _ as T } from "./Chip.vue.es-DpcOM3Ai.mjs";
6
6
  const I = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
7
7
  key: 0,
8
8
  class: "pt-3"