@solvimon/solvimon-web 0.1.0-alpha.28 → 0.1.0-alpha.29

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 (189) hide show
  1. package/README.md +26 -1
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  4. package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  5. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
  6. package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  7. package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
  8. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  9. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  10. package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
  11. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  12. package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  13. package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  14. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
  15. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  16. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
  17. package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  18. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  19. package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  20. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  21. package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  22. package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  23. package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
  24. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
  25. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
  26. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  27. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  28. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  29. package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  30. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  31. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  32. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
  33. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  34. package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  35. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
  36. package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  37. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
  38. package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
  39. package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
  40. package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  41. package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  42. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
  43. package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
  44. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
  45. package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
  46. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  47. package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
  48. package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  49. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
  50. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  51. package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  52. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  53. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  54. package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
  55. package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
  56. package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  57. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  58. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
  59. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
  60. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  61. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  62. package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  63. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  64. package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
  65. package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
  66. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
  67. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
  68. package/dist/components/Invoice/Invoice.mjs +2660 -193
  69. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
  70. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
  71. package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
  72. package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
  73. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
  74. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
  75. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
  76. package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
  77. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  78. package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
  79. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  80. package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
  81. package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
  82. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  83. package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
  84. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  85. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  86. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  87. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  88. package/dist/index.es-CpmQmvOg.mjs +633 -0
  89. package/dist/index.mjs +2 -2
  90. package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
  91. package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
  92. package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
  93. package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
  94. package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
  95. package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
  96. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  97. package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
  98. package/dist/payments-BnxbzQUC.mjs +68 -0
  99. package/dist/pricing-BOhvWWMj.mjs +29 -0
  100. package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
  101. package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
  102. package/dist/screens/Checkout/Checkout.mjs +2 -2
  103. package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
  104. package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
  105. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
  106. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  107. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
  108. package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
  109. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  110. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  111. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
  112. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  113. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  114. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  115. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  116. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  117. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  118. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
  119. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
  120. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  121. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
  122. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  123. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  124. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  125. package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
  126. package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
  127. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  128. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
  129. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  130. package/dist/types/public/core/types.d.ts +5 -0
  131. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
  132. package/dist/types/translations/supported.d.ts +1 -1
  133. package/dist/types/types/portalAuthentication.d.ts +2 -0
  134. package/dist/types/types/portalToken.d.ts +9 -0
  135. package/dist/types/types/shippingAddress.d.ts +9 -0
  136. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  137. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  138. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  139. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  140. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  141. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  142. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  143. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  144. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  145. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  146. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  147. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  148. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  149. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  150. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  151. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  152. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  153. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  154. package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
  155. package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  156. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  157. package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
  158. package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
  159. package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
  160. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  161. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  162. package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
  163. package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
  164. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  165. package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
  166. package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
  167. package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
  168. package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  169. package/package.json +7 -7
  170. package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
  171. package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
  172. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  173. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
  174. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  175. package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
  176. package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
  177. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
  178. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
  179. package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
  180. package/dist/customElements-Di3zwlEU.mjs +0 -6447
  181. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  182. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  183. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  184. package/dist/payments-Ci8bF4C6.mjs +0 -45
  185. package/dist/subscriptions-CwogJODR.mjs +0 -54
  186. package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
  187. package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
  188. package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
  189. package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
@@ -1,23 +1,24 @@
1
1
  import { defineComponent as de, computed as b, openBlock as N, createElementBlock as K, createVNode as H, unref as te, withCtx as ne, createTextVNode as ae, toDisplayString as C, ref as M, onMounted as Me, onBeforeUnmount as De, watch as ke, Fragment as Se, createBlock as Z, createCommentVNode as z, Teleport as Ce, createElementVNode as we, nextTick as oe } from "vue";
2
- import { i as Le } from "./useService-B0OQJmif.mjs";
3
- import { a as ce, _ as re, d as xe } from "./customElements-Di3zwlEU.mjs";
4
- import { _ as Fe, a as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs";
5
- import { c as Ue } from "./payments-Ci8bF4C6.mjs";
6
- import { c as Ye } from "./paymentMethods-BUuOmDq9.mjs";
7
- import { a as je, g as Ze, r as ze, c as Ge, b as Ke, d as He, t as G, e as ie } from "./usePaymentFormHold-FfNc578l.mjs";
2
+ import { a as Le } from "./useService-BZcbUZHI.mjs";
3
+ import { a as ce, d as re, e as Fe } from "./customElements-BTj4ii4f.mjs";
4
+ import { _ as xe } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs";
5
+ import { _ as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs";
6
+ import { c as Ue } from "./payments-BnxbzQUC.mjs";
7
+ import { c as Ye } from "./paymentMethods-B_82JGk_.mjs";
8
+ import { a as je, g as Ze, r as ze, c as Ge, b as Ke, d as He, t as G, e as ie } from "./usePaymentFormHold-ByUZi3A-.mjs";
8
9
  import { t as Ve } from "./amount-CondixVt.mjs";
9
10
  import { l as $e } from "./adyenSdk-B01MB9Ia.mjs";
10
- import { c as We, a as Je, g as qe, i as Qe, b as Xe } from "./paymentOutcome-D17VD4MV.mjs";
11
+ import { c as We, a as Je, g as qe, i as Qe, b as Xe } from "./paymentOutcome-BXEU5-84.mjs";
11
12
  const et = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
12
- function tt(c) {
13
- return (c == null ? void 0 : c.querySelector(et)) ?? null;
13
+ function tt(u) {
14
+ return (u == null ? void 0 : u.querySelector(et)) ?? null;
14
15
  }
15
- function nt(c, y) {
16
- return !!c && !!y && !c.contains(y);
16
+ function nt(u, l) {
17
+ return !!u && !!l && !u.contains(l);
17
18
  }
18
- const at = (c) => {
19
- let y = {};
20
- return c === "TOKENIZE" && (y = {
19
+ const at = (u) => {
20
+ let l = {};
21
+ return u === "TOKENIZE" && (l = {
21
22
  "en-US": {
22
23
  payButton: "Add payment method",
23
24
  confirmPurchase: "Add payment method"
@@ -142,40 +143,40 @@ const at = (c) => {
142
143
  payButton: "Pridėti mokėjimo metodą",
143
144
  confirmPurchase: "Pridėti mokėjimo metodą"
144
145
  }
145
- }), y;
146
+ }), l;
146
147
  }, ot = { class: "sv-sepa-mandate mt-3" }, rt = /* @__PURE__ */ de({
147
148
  __name: "SepaMandateNotice",
148
149
  props: {
149
150
  billingEntityName: { type: String }
150
151
  },
151
- setup(c) {
152
- const y = c, { $t: E } = ce(), r = b(
152
+ setup(u) {
153
+ const l = u, { $t: E } = ce(), r = b(
153
154
  () => E({
154
155
  defaultMessage: "SEPA Direct Debit mandate — recurring payments",
155
156
  description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
156
157
  id: "payments.sepa_mandate.title"
157
158
  })
158
159
  ), k = b(
159
- () => y.billingEntityName ? E(
160
+ () => l.billingEntityName ? E(
160
161
  {
161
162
  defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
162
163
  description: "SEPA direct debit mandate authorisation, naming the billing entity",
163
164
  id: "payments.sepa_mandate.authorisation"
164
165
  },
165
- { billingEntityName: y.billingEntityName }
166
+ { billingEntityName: l.billingEntityName }
166
167
  ) : E({
167
168
  defaultMessage: "By confirming this mandate, you authorise us to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
168
169
  description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
169
170
  id: "payments.sepa_mandate.authorisation_unnamed"
170
171
  })
171
172
  ), a = b(
172
- () => y.billingEntityName ? E(
173
+ () => l.billingEntityName ? E(
173
174
  {
174
175
  defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
175
176
  description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
176
177
  id: "payments.sepa_mandate.recurrence"
177
178
  },
178
- { billingEntityName: y.billingEntityName }
179
+ { billingEntityName: l.billingEntityName }
179
180
  ) : E({
180
181
  defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
181
182
  description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
@@ -188,7 +189,7 @@ const at = (c) => {
188
189
  id: "payments.sepa_mandate.refund_rights"
189
190
  })
190
191
  );
191
- return (l, w) => (N(), K("div", ot, [
192
+ return (y, w) => (N(), K("div", ot, [
192
193
  H(te(re), {
193
194
  tag: "p",
194
195
  variant: "body-xs",
@@ -211,7 +212,7 @@ const at = (c) => {
211
212
  })
212
213
  ]));
213
214
  }
214
- }), D = "ADYEN", se = "data-sv-adyen-styles", _t = /* @__PURE__ */ de({
215
+ }), D = "ADYEN", se = "data-sv-adyen-styles", ft = /* @__PURE__ */ de({
215
216
  __name: "PaymentIntegrationFormAdyen",
216
217
  props: {
217
218
  context: { type: Object },
@@ -226,26 +227,27 @@ const at = (c) => {
226
227
  forceStorePaymentMethod: { type: Boolean },
227
228
  storePaymentMethod: { type: Boolean, default: void 0 },
228
229
  redirectsOnSuccess: { type: Boolean },
229
- billingEntityName: { type: String }
230
+ billingEntityName: { type: String },
231
+ collapsed: { type: Boolean }
230
232
  },
231
233
  emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
232
- setup(c, { expose: y, emit: E }) {
234
+ setup(u, { expose: l, emit: E }) {
233
235
  let r = null, k = null;
234
- const a = c, p = E;
235
- y({ submit: le });
236
- const l = M(), w = M(null), I = M(null);
236
+ const a = u, p = E;
237
+ l({ submit: ye });
238
+ const y = M(), w = M(null), I = M(null);
237
239
  let f;
238
240
  const L = M(!1), g = M();
239
- let S = !1, A = !1, v = 0, P, x = !1;
240
- const s = xe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: ye } = Ye(), F = je(), V = b(
241
+ let S = !1, A = !1, v = 0, P, F = !1;
242
+ const d = Fe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: le } = Ye(), x = je(), V = b(
241
243
  () => {
242
244
  var e;
243
245
  return Ze(a.paymentMethodOptionResponseEntry, {
244
- excludeExpressPaymentMethods: !!((e = F == null ? void 0 : F.value) != null && e["express-checkout"])
246
+ excludeExpressPaymentMethods: !!((e = x == null ? void 0 : x.value) != null && e["express-checkout"])
245
247
  });
246
248
  }
247
249
  ), $ = b(() => V.value.length > 0);
248
- function u(e) {
250
+ function m(e) {
249
251
  return We({
250
252
  gateway: D,
251
253
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
@@ -264,10 +266,10 @@ const at = (c) => {
264
266
  A = !1, B(), L.value = !0, p("payment-success");
265
267
  }
266
268
  function O(e, t = {}, n) {
267
- B(), s.warn(
269
+ B(), d.warn(
268
270
  "PAYMENT_OUTCOME_UNCONFIRMED",
269
271
  "The payment outcome could not be confirmed yet",
270
- u({ reason: e, extra: t, cause: n }),
272
+ m({ reason: e, extra: t, cause: n }),
271
273
  n
272
274
  ), _({
273
275
  code: "PAYMENT_OUTCOME_UNCONFIRMED",
@@ -278,7 +280,7 @@ const at = (c) => {
278
280
  function B() {
279
281
  S = !0, Y();
280
282
  }
281
- function le() {
283
+ function ye() {
282
284
  if (!A) {
283
285
  if (!(r != null && r.isValid)) {
284
286
  if (r && !r.activePaymentMethod) {
@@ -291,10 +293,10 @@ const at = (c) => {
291
293
  try {
292
294
  r.submit();
293
295
  } catch (e) {
294
- s.error(
296
+ d.error(
295
297
  "ADYEN_SUBMIT_FAILED",
296
298
  "Failed to submit Adyen drop-in",
297
- u({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
299
+ m({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
298
300
  e
299
301
  ), _({
300
302
  code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
@@ -305,7 +307,8 @@ const at = (c) => {
305
307
  }
306
308
  }
307
309
  async function he() {
308
- const e = Ve(a.amount), t = V.value;
310
+ const e = Ve(a.amount), t = V.value, n = a.selected;
311
+ let o = !1;
309
312
  return {
310
313
  checkoutConfig: {
311
314
  amount: e,
@@ -314,7 +317,7 @@ const at = (c) => {
314
317
  ),
315
318
  environment: Ke(
316
319
  a.paymentMethodOptionResponseEntry,
317
- s
320
+ d
318
321
  ),
319
322
  locale: ue,
320
323
  translations: at(a.variant),
@@ -341,9 +344,15 @@ const at = (c) => {
341
344
  showPayButton: !0
342
345
  }
343
346
  },
344
- openFirstPaymentMethod: a.selected,
345
- onSelect: ({ props: { type: n } }) => {
346
- n && p("select", { paymentMethodType: n, paymentGatewayVariant: "ADYEN" });
347
+ openFirstPaymentMethod: n,
348
+ onSelect: ({ props: { type: s } }) => {
349
+ if (!s) return;
350
+ const i = n && !o;
351
+ o = !0, p("select", {
352
+ paymentMethodType: s,
353
+ paymentGatewayVariant: "ADYEN",
354
+ ...i && { isAutomatic: !0 }
355
+ });
347
356
  },
348
357
  onReady: () => p("ready")
349
358
  }
@@ -357,10 +366,10 @@ const at = (c) => {
357
366
  }
358
367
  async function U() {
359
368
  const e = ++v, t = () => e !== v;
360
- if (!(S || x)) {
369
+ if (!(S || F)) {
361
370
  if (await Y(), g.value = void 0, !$.value) {
362
371
  const { payment_acceptor: n, integration: o } = a.paymentMethodOptionResponseEntry;
363
- s.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
372
+ d.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
364
373
  fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", n.id],
365
374
  paymentAcceptorId: n.id,
366
375
  integrationId: o.id,
@@ -368,22 +377,22 @@ const at = (c) => {
368
377
  });
369
378
  return;
370
379
  }
371
- if (await oe(), !(t() || !l.value))
380
+ if (await oe(), !(t() || !y.value))
372
381
  try {
373
382
  const [n, o] = await _e();
374
383
  if (t()) return;
375
- const { checkoutConfig: m, dropInConfig: i } = await he(), d = await n.AdyenCheckout(m);
376
- if (t() || S || !l.value) return;
377
- k = d, r = new n.Dropin(k, {
384
+ const { checkoutConfig: s, dropInConfig: i } = await he(), c = await n.AdyenCheckout(s);
385
+ if (t() || S || !y.value) return;
386
+ k = c, r = new n.Dropin(k, {
378
387
  ...i,
379
388
  paymentMethodComponents: n.dropInPaymentMethodComponents
380
- }).mount(l.value), Ae(o), fe();
389
+ }).mount(y.value), Ae(o), fe();
381
390
  } catch (n) {
382
391
  if (t()) return;
383
- s.error(
392
+ d.error(
384
393
  "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
385
394
  "Failed to mount Adyen web drop-in",
386
- u({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: n }),
395
+ m({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: n }),
387
396
  n
388
397
  ), _({
389
398
  code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
@@ -394,7 +403,7 @@ const at = (c) => {
394
403
  }
395
404
  }
396
405
  function J() {
397
- const e = tt(l.value);
406
+ const e = tt(y.value);
398
407
  if (nt(e, w.value)) {
399
408
  I.value = null, oe(() => I.value = e);
400
409
  return;
@@ -402,13 +411,13 @@ const at = (c) => {
402
411
  I.value = e;
403
412
  }
404
413
  function fe() {
405
- f == null || f.disconnect(), l.value && (f = new MutationObserver(() => J()), f.observe(l.value, { childList: !0, subtree: !0 }), J());
414
+ f == null || f.disconnect(), y.value && (f = new MutationObserver(() => J()), f.observe(y.value, { childList: !0, subtree: !0 }), J());
406
415
  }
407
416
  function Ee() {
408
417
  f == null || f.disconnect(), f = void 0, I.value = null;
409
418
  }
410
419
  async function Y() {
411
- Ee(), r && (r.unmount(), r = null), l.value && (l.value.innerHTML = "");
420
+ Ee(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
412
421
  }
413
422
  function j(e, t, n) {
414
423
  if (e.querySelector(`style[${se}="${t}"]`)) return;
@@ -417,7 +426,7 @@ const at = (c) => {
417
426
  }
418
427
  function Ae(e) {
419
428
  var n;
420
- const t = (n = l.value) == null ? void 0 : n.getRootNode();
429
+ const t = (n = y.value) == null ? void 0 : n.getRootNode();
421
430
  t instanceof ShadowRoot && (j(t, "sdk", e), j(
422
431
  t,
423
432
  "overrides",
@@ -532,23 +541,23 @@ const at = (c) => {
532
541
  }) {
533
542
  var i;
534
543
  if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === D) {
535
- const d = Ie(e, t);
536
- if (!d) {
544
+ const c = Ie(e, t);
545
+ if (!c) {
537
546
  o(e);
538
547
  return;
539
548
  }
540
549
  p("action-required"), n.resolve({
541
550
  resultCode: e.action.adyen.result_code,
542
- action: d
551
+ action: c
543
552
  });
544
553
  return;
545
554
  }
546
- const m = Xe(e);
547
- if (m === "SUCCEEDED") {
555
+ const s = Xe(e);
556
+ if (s === "SUCCEEDED") {
548
557
  L.value = !0, n.resolve({ resultCode: "Authorised" });
549
558
  return;
550
559
  }
551
- if (m === "UNCONFIRMED") {
560
+ if (s === "UNCONFIRMED") {
552
561
  O("PAYMENT_PENDING", {
553
562
  paymentStatus: e.status,
554
563
  paymentResult: (i = e.payment) == null ? void 0 : i.result,
@@ -560,13 +569,13 @@ const at = (c) => {
560
569
  }
561
570
  function ge(...e) {
562
571
  const [t, n, o] = e;
563
- A || (A = !0, a.validateOnSubmit().then((m) => {
564
- if (!m) {
572
+ A || (A = !0, a.validateOnSubmit().then((s) => {
573
+ if (!s) {
565
574
  A = !1, r == null || r.setStatus("ready"), p("invalid");
566
575
  return;
567
576
  }
568
577
  p("submitting");
569
- const i = a.paymentMethodOptionResponseEntry.payment_acceptor.id, d = {
578
+ const i = a.paymentMethodOptionResponseEntry.payment_acceptor.id, c = {
570
579
  risk_data: G(t.data.riskData),
571
580
  payment_method: G(t.data.paymentMethod),
572
581
  browser_info: G(t.data.browserInfo)
@@ -581,7 +590,7 @@ const at = (c) => {
581
590
  ...a.customerId ? { customer_id: a.customerId } : {},
582
591
  payment_gateway_variant: D,
583
592
  adyen: {
584
- ...d,
593
+ ...c,
585
594
  store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
586
595
  },
587
596
  amount: a.amount,
@@ -591,10 +600,10 @@ const at = (c) => {
591
600
  (h) => q(h, {
592
601
  paymentMethodType: t.data.paymentMethod.type,
593
602
  actions: o,
594
- logFailure: (R) => s.error(
603
+ logFailure: (R) => d.error(
595
604
  "PAYMENT_AUTHORIZATION_FAILED",
596
605
  `Failed payment authorization for payment acceptor with id ${i}`,
597
- u({
606
+ m({
598
607
  reason: "PAYMENT_AUTHORIZATION_REJECTED",
599
608
  paymentMethodType: t.data.paymentMethod.type,
600
609
  cause: R
@@ -603,10 +612,10 @@ const at = (c) => {
603
612
  )
604
613
  })
605
614
  ).catch((h) => {
606
- if (s.error(
615
+ if (d.error(
607
616
  "PAYMENT_AUTHORIZATION_FAILED",
608
617
  `Failed payment authorization for payment acceptor with id ${i}`,
609
- u({
618
+ m({
610
619
  reason: "PAYMENT_AUTHORIZATION_FAILED",
611
620
  paymentMethodType: t.data.paymentMethod.type,
612
621
  cause: h
@@ -630,27 +639,27 @@ const at = (c) => {
630
639
  redirectUrl: window.location.href
631
640
  });
632
641
  if (!a.customerId) {
633
- s.error(
642
+ d.error(
634
643
  "TOKENIZATION_FAILED",
635
644
  `Missing customer id for payment acceptor with id ${i}`,
636
- u({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
645
+ m({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
637
646
  ), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
638
647
  return;
639
648
  }
640
- ye({
649
+ le({
641
650
  customer_id: a.customerId,
642
651
  payment_acceptor_id: i,
643
652
  payment_gateway_variant: D,
644
- adyen: d,
653
+ adyen: c,
645
654
  return_url: T
646
655
  }).then(
647
656
  (h) => q(h, {
648
657
  paymentMethodType: t.data.paymentMethod.type,
649
658
  actions: o,
650
- logFailure: (R) => s.error(
659
+ logFailure: (R) => d.error(
651
660
  "TOKENIZATION_FAILED",
652
661
  `Tokenization failed for payment acceptor with id ${i}`,
653
- u({
662
+ m({
654
663
  reason: "TOKENIZATION_REJECTED",
655
664
  paymentMethodType: t.data.paymentMethod.type,
656
665
  cause: R
@@ -659,10 +668,10 @@ const at = (c) => {
659
668
  )
660
669
  })
661
670
  ).catch((h) => {
662
- s.error(
671
+ d.error(
663
672
  "TOKENIZATION_FAILED",
664
673
  `Tokenization failed for payment acceptor with id ${i}`,
665
- u({
674
+ m({
666
675
  reason: "TOKENIZATION_FAILED",
667
676
  paymentMethodType: t.data.paymentMethod.type,
668
677
  cause: h
@@ -671,12 +680,12 @@ const at = (c) => {
671
680
  ), o.resolve({ resultCode: "Error" });
672
681
  });
673
682
  }
674
- }).catch((m) => {
675
- s.error(
683
+ }).catch((s) => {
684
+ d.error(
676
685
  "INTEGRATION_ERROR",
677
686
  "Unhandled error in payment submission flow",
678
- u({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: m }),
679
- m
687
+ m({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: s }),
688
+ s
680
689
  ), A = !1, r == null || r.setStatus("ready"), p("invalid");
681
690
  }));
682
691
  }
@@ -698,21 +707,21 @@ const at = (c) => {
698
707
  };
699
708
  }
700
709
  function Te(...e) {
701
- const [t, , n] = e, o = t.data.details, m = t.data.paymentData;
710
+ const [t, , n] = e, o = t.data.details, s = t.data.paymentData;
702
711
  if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
703
712
  Q({
704
713
  // For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
705
714
  detailsResult: o ? Ne(o) : void 0,
706
- paymentDataResult: m,
715
+ paymentDataResult: s,
707
716
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
708
717
  actions: n
709
718
  });
710
719
  return;
711
720
  }
712
- s.error(
721
+ d.error(
713
722
  "PAYMENT_ACCEPTOR_MISSING",
714
723
  "Additional details arrived without a payment acceptor id",
715
- u({ reason: "PAYMENT_ACCEPTOR_MISSING" })
724
+ m({ reason: "PAYMENT_ACCEPTOR_MISSING" })
716
725
  ), _({
717
726
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
718
727
  message: "Payment failed",
@@ -726,10 +735,10 @@ const at = (c) => {
726
735
  }
727
736
  function be(...e) {
728
737
  const [t] = e;
729
- s.error(
738
+ d.error(
730
739
  "ADYEN_PAYMENT_FAILED",
731
740
  "Adyen reported the payment as failed",
732
- u({
741
+ m({
733
742
  reason: "ADYEN_PAYMENT_FAILED",
734
743
  extra: { resultCode: t == null ? void 0 : t.resultCode }
735
744
  }),
@@ -746,10 +755,10 @@ const at = (c) => {
746
755
  A = !1, p("invalid");
747
756
  return;
748
757
  }
749
- s.error(
758
+ d.error(
750
759
  "INTEGRATION_ERROR",
751
760
  "The Adyen drop-in reported an error",
752
- u({
761
+ m({
753
762
  reason: "ADYEN_INTEGRATION_ERROR",
754
763
  cause: t,
755
764
  extra: { adyenErrorName: t.name }
@@ -762,11 +771,11 @@ const at = (c) => {
762
771
  threeDSResult: t,
763
772
  redirectResult: n,
764
773
  paymentDataResult: o,
765
- paymentAcceptorId: m,
774
+ paymentAcceptorId: s,
766
775
  actions: i
767
776
  }) {
768
777
  return pe({
769
- paymentAcceptorId: m,
778
+ paymentAcceptorId: s,
770
779
  paymentGatewayVariant: D,
771
780
  adyen: {
772
781
  ...e ? { details: e } : {},
@@ -774,26 +783,26 @@ const at = (c) => {
774
783
  ...t ? { threeds_result: t } : {},
775
784
  ...o ? { payment_data: o } : {}
776
785
  }
777
- }).then((d) => {
786
+ }).then((c) => {
778
787
  i || (P = void 0);
779
- const T = qe(d);
788
+ const T = qe(c);
780
789
  if (T === "SUCCEEDED") {
781
790
  i ? i.resolve({ resultCode: "Authorised" }) : W();
782
791
  return;
783
792
  }
784
793
  if (T === "UNCONFIRMED") {
785
794
  O("PAYMENT_DETAILS_UNCONFIRMED", {
786
- paymentStatus: d.payment_status
795
+ paymentStatus: c.payment_status
787
796
  });
788
797
  return;
789
798
  }
790
- if (s.error(
799
+ if (d.error(
791
800
  "PAYMENT_DETAILS_REJECTED",
792
801
  "Payment details returned a failed payment",
793
- u({
802
+ m({
794
803
  reason: "PAYMENT_DETAILS_REJECTED",
795
- paymentAcceptorId: m,
796
- extra: { paymentStatus: d.payment_status }
804
+ paymentAcceptorId: s,
805
+ extra: { paymentStatus: c.payment_status }
797
806
  })
798
807
  ), i) {
799
808
  i.resolve({ resultCode: "Refused" });
@@ -802,26 +811,26 @@ const at = (c) => {
802
811
  _({
803
812
  code: "AUTHORIZATION_FAILED",
804
813
  message: "Failed getting payment details",
805
- error: d
814
+ error: c
806
815
  });
807
- }).catch((d) => {
808
- if (s.error(
816
+ }).catch((c) => {
817
+ if (d.error(
809
818
  "PAYMENT_DETAILS_CALL_FAILED",
810
819
  "Failed fetching payment details",
811
- u({
820
+ m({
812
821
  reason: "PAYMENT_DETAILS_CALL_FAILED",
813
- paymentAcceptorId: m,
814
- cause: d
822
+ paymentAcceptorId: s,
823
+ cause: c
815
824
  }),
816
- d
825
+ c
817
826
  ), i) {
818
- O("PAYMENT_DETAILS_CALL_FAILED", {}, d);
827
+ O("PAYMENT_DETAILS_CALL_FAILED", {}, c);
819
828
  return;
820
829
  }
821
830
  B(), _({
822
831
  code: "PAYMENT_DETAILS_CALL_FAILED",
823
832
  message: "Failed fetching payment details",
824
- error: d
833
+ error: c
825
834
  });
826
835
  });
827
836
  }
@@ -831,10 +840,10 @@ const at = (c) => {
831
840
  );
832
841
  if (e) {
833
842
  if (Ge(), e.kind === "MISSING_PAYMENT_ACCEPTOR") {
834
- s.error(
843
+ d.error(
835
844
  "INVALID_REDIRECT_RESULT",
836
845
  "Redirect result is set but payment acceptor id is missing",
837
- u({ reason: "INVALID_REDIRECT_RESULT" })
846
+ m({ reason: "INVALID_REDIRECT_RESULT" })
838
847
  ), _({
839
848
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
840
849
  message: "Redirect result is set but payment acceptor id is missing"
@@ -850,14 +859,14 @@ const at = (c) => {
850
859
  }
851
860
  async function X() {
852
861
  if (P) {
853
- x = !0;
862
+ F = !0;
854
863
  try {
855
864
  await Q({
856
865
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
857
866
  detailsResult: { redirectResult: P }
858
867
  });
859
868
  } finally {
860
- x = !1;
869
+ F = !1;
861
870
  }
862
871
  }
863
872
  }
@@ -883,10 +892,10 @@ const at = (c) => {
883
892
  },
884
893
  { deep: !0 }
885
894
  ), (e, t) => (N(), K(Se, null, [
886
- L.value ? (N(), Z(Fe, {
895
+ L.value ? (N(), Z(xe, {
887
896
  key: 0,
888
- variant: c.variant,
889
- redirecting: c.redirectsOnSuccess
897
+ variant: u.variant,
898
+ redirecting: u.redirectsOnSuccess
890
899
  }, null, 8, ["variant", "redirecting"])) : g.value ? (N(), Z(Be, {
891
900
  key: 1,
892
901
  error: g.value,
@@ -895,7 +904,7 @@ const at = (c) => {
895
904
  $.value ? (N(), K("div", {
896
905
  key: 2,
897
906
  ref_key: "dropInContainerRef",
898
- ref: l
907
+ ref: y
899
908
  }, null, 512)) : z("", !0),
900
909
  I.value ? (N(), Z(Ce, {
901
910
  key: 3,
@@ -905,12 +914,12 @@ const at = (c) => {
905
914
  ref_key: "sepaNoticeRef",
906
915
  ref: w
907
916
  }, [
908
- H(rt, { "billing-entity-name": c.billingEntityName }, null, 8, ["billing-entity-name"])
917
+ H(rt, { "billing-entity-name": u.billingEntityName }, null, 8, ["billing-entity-name"])
909
918
  ], 512)
910
919
  ], 8, ["to"])) : z("", !0)
911
920
  ], 64));
912
921
  }
913
922
  });
914
923
  export {
915
- _t as default
924
+ ft as default
916
925
  };