@solvimon/solvimon-web 0.1.0-alpha.27 → 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 (500) hide show
  1. package/README.md +151 -17
  2. package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
  3. package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
  4. package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
  5. package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
  7. package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
  8. package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
  9. package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
  10. package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
  11. package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
  12. package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
  13. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  14. package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
  15. package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
  16. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
  17. package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
  18. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
  19. package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
  20. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
  21. package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
  22. package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
  23. package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
  24. package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
  25. package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
  26. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
  27. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
  28. package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
  29. package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
  30. package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
  31. package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
  32. package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
  33. package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
  34. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
  35. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
  36. package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
  37. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
  38. package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
  39. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
  40. package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
  41. package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
  42. package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
  43. package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
  44. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
  45. package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
  46. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
  47. package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
  48. package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
  49. package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
  50. package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
  51. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
  52. package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
  53. package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
  54. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
  55. package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
  56. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
  57. package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
  58. package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
  59. package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
  60. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
  61. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
  62. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
  63. package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
  64. package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
  65. package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
  66. package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
  67. package/dist/amount-CondixVt.mjs +36 -0
  68. package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
  69. package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
  70. package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
  71. package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
  72. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
  73. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
  74. package/dist/components/Invoice/Invoice.mjs +2691 -227
  75. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
  76. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
  77. package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
  78. package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
  79. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
  80. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
  81. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
  82. package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
  83. package/dist/core/index.mjs +61 -95
  84. package/dist/customElements-BTj4ii4f.mjs +5072 -0
  85. package/dist/customer-BIjC0CWJ.mjs +31 -0
  86. package/dist/customer.es-DQKl6wFt.mjs +24 -0
  87. package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
  88. package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
  89. package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
  90. package/dist/formControl-BZQLHnOO.mjs +749 -0
  91. package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
  92. package/dist/fr-FR-IWJE-urI.mjs +431 -0
  93. package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
  94. package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
  95. package/dist/index.es-CpmQmvOg.mjs +633 -0
  96. package/dist/index.mjs +2 -2
  97. package/dist/invoiceState-BJVHaKs7.mjs +14 -0
  98. package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
  99. package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
  100. package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
  101. package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
  102. package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
  103. package/dist/paymentMethods-B_82JGk_.mjs +77 -0
  104. package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
  105. package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
  106. package/dist/payments-BnxbzQUC.mjs +68 -0
  107. package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
  108. package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
  109. package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
  110. package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
  111. package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
  112. package/dist/screens/Checkout/Checkout.mjs +2 -2
  113. package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
  114. package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
  115. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
  116. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
  117. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
  118. package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
  119. package/dist/sorting.es-CVyKw23D.mjs +77 -0
  120. package/dist/subscription-BhxoqwcT.mjs +83 -0
  121. package/dist/subscriptions-BWXZGK0E.mjs +66 -0
  122. package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
  123. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
  124. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
  125. package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
  126. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
  127. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
  128. package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
  129. package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
  130. package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
  131. package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
  132. package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
  133. package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
  134. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
  135. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
  136. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
  137. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
  138. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
  139. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
  140. package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
  141. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
  142. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
  143. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
  144. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
  145. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
  146. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
  147. package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
  148. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
  149. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
  150. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
  151. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
  152. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
  154. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
  155. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
  156. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
  157. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
  158. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
  159. package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
  160. package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
  161. package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
  162. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
  163. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
  164. package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
  165. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
  166. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
  167. package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
  168. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
  169. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
  170. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
  171. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
  172. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
  173. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
  174. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
  175. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
  176. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
  177. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
  178. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
  179. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
  180. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
  181. package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
  182. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
  183. package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
  184. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
  185. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
  186. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
  187. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
  188. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
  189. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
  190. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
  191. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
  192. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
  193. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
  194. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
  195. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
  196. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
  197. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
  198. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
  199. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
  200. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
  201. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
  202. package/dist/types/public/core/action-request.types.d.ts +5 -0
  203. package/dist/types/public/core/registry.ce.d.ts +3 -3
  204. package/dist/types/public/core/registry.d.ts +0 -3
  205. package/dist/types/public/core/types.d.ts +5 -0
  206. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
  207. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
  208. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
  209. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
  210. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
  211. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
  212. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
  213. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
  214. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
  215. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
  216. package/dist/types/services/paymentMethods.types.d.ts +2 -10
  217. package/dist/types/services/requests.types.d.ts +16 -6
  218. package/dist/types/translations/supported.d.ts +1 -1
  219. package/dist/types/types/errors.d.ts +3 -2
  220. package/dist/types/types/portalAuthentication.d.ts +2 -0
  221. package/dist/types/types/portalToken.d.ts +9 -0
  222. package/dist/types/types/shippingAddress.d.ts +9 -0
  223. package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
  224. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
  225. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
  226. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
  227. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
  228. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
  229. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
  230. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
  231. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
  232. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
  233. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
  234. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
  235. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
  236. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
  237. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
  238. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
  239. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
  240. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
  241. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
  242. package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
  243. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
  244. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
  245. package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
  246. package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
  247. package/dist/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
  248. package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
  249. package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
  250. package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
  251. package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
  252. package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
  253. package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
  254. package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
  255. package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
  256. package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
  257. package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
  258. package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
  259. package/dist/usePortal-CwR_FxTb.mjs +7 -0
  260. package/dist/useService-BZcbUZHI.mjs +56 -0
  261. package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
  262. package/dist/useViewport-psZejz_H.mjs +19 -0
  263. package/package.json +33 -60
  264. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
  265. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
  266. package/dist/Alert.vue.es-RyK53a2P.js +0 -1
  267. package/dist/Amount.vue.es-DExaYBqm.js +0 -1
  268. package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
  269. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
  270. package/dist/Button.vue.es-BzkuglKw.js +0 -1
  271. package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
  272. package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
  273. package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
  274. package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
  275. package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
  276. package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
  277. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
  278. package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
  279. package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
  280. package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
  281. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
  282. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
  283. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
  284. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
  285. package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
  286. package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
  287. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
  288. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
  289. package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
  290. package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
  291. package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
  292. package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
  293. package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
  294. package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
  295. package/dist/Input.vue.es-B60eK8Ds.js +0 -1
  296. package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
  297. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
  298. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
  299. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
  300. package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
  301. package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
  302. package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
  303. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
  304. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
  305. package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
  306. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
  307. package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
  308. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
  309. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
  310. package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
  311. package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
  312. package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
  313. package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
  314. package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
  315. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
  316. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
  317. package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
  318. package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
  319. package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
  320. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
  321. package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
  322. package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
  323. package/dist/Section.vue.es-Bbt0RITt.js +0 -1
  324. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
  325. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
  326. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
  327. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
  328. package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
  329. package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
  330. package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
  331. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
  332. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
  333. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
  334. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
  335. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
  336. package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
  337. package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
  338. package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
  339. package/dist/accel.svg.es-DFJXdioD.js +0 -1
  340. package/dist/ach.svg.es-BYP873jU.js +0 -1
  341. package/dist/adyen-BJfC7N6f.js +0 -1
  342. package/dist/adyenSdk-BP2XXzeJ.js +0 -1
  343. package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
  344. package/dist/amex.svg.es-DKhW4Txt.js +0 -1
  345. package/dist/api.es-duCDtZD9.js +0 -1
  346. package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
  347. package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
  348. package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
  349. package/dist/carnet.svg.es-DY04-F2L.js +0 -1
  350. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
  351. package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
  352. package/dist/cn.es-C9Yqq4tg.js +0 -1
  353. package/dist/comparators.es-OGt19O9U.js +0 -1
  354. package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
  355. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
  356. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
  357. package/dist/components/Invoice/Invoice.cjs +0 -1
  358. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
  359. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
  360. package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
  361. package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
  362. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
  363. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
  364. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
  365. package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
  366. package/dist/configuration-akTS7Wiw.js +0 -1
  367. package/dist/core/index.cjs +0 -1
  368. package/dist/countryData.es-C4jHBzfo.js +0 -1
  369. package/dist/customElements-B58FcXIN.mjs +0 -6633
  370. package/dist/customElements-DUMRMFQ5.js +0 -1215
  371. package/dist/customer-B3LPAhaD.mjs +0 -31
  372. package/dist/customer-CisTPaXj.js +0 -1
  373. package/dist/customer.es-B5ppZf0j.mjs +0 -20
  374. package/dist/customer.es-BButyYo0.js +0 -1
  375. package/dist/dana.svg.es-BDtZLpwd.js +0 -1
  376. package/dist/dankort.svg.es-CksaipXF.js +0 -1
  377. package/dist/de-DE-B4TUdnUf.js +0 -1
  378. package/dist/de-DE-DL74pMLb.js +0 -1
  379. package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
  380. package/dist/discover.svg.es-DgqWCMUM.js +0 -1
  381. package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
  382. package/dist/elo.svg.es-C-BzjuRP.js +0 -1
  383. package/dist/en-US-B2XFj-_p.js +0 -1
  384. package/dist/en-US-DQ5vlv9Z.mjs +0 -339
  385. package/dist/en-US-J85TQRI8.js +0 -1
  386. package/dist/en-US-SDhjlY_v.mjs +0 -301
  387. package/dist/eps.svg.es-B_85bP-W.js +0 -1
  388. package/dist/error-BHVZJGwD.mjs +0 -13
  389. package/dist/error-CmduqgVq.js +0 -1
  390. package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
  391. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
  392. package/dist/formControl-ODrpUvcA.js +0 -1
  393. package/dist/formControl-dX7l8o3c.mjs +0 -845
  394. package/dist/formatting.es-C72Nsrmh.js +0 -1
  395. package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
  396. package/dist/getComposedString.es-haS4bAj7.js +0 -1
  397. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
  398. package/dist/girocard.svg.es-HSOEvDif.js +0 -1
  399. package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
  400. package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
  401. package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
  402. package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
  403. package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
  404. package/dist/ideal.svg.es-Booz1IML.js +0 -1
  405. package/dist/index-BPZPnOQQ.js +0 -7
  406. package/dist/index.cjs +0 -1
  407. package/dist/index.es-BclokHQX.js +0 -1
  408. package/dist/invoices-CKQBLar2.js +0 -1
  409. package/dist/it-IT-CSYvGmpT.js +0 -1
  410. package/dist/it-IT-CqNK62qe.js +0 -1
  411. package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
  412. package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
  413. package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
  414. package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
  415. package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
  416. package/dist/momo.svg.es-C5aLYf_R.js +0 -1
  417. package/dist/nl-NL-CpE4IgwO.js +0 -1
  418. package/dist/nl-NL-Dx-TNXQ1.js +0 -1
  419. package/dist/nyce.svg.es-ArAivAZW.js +0 -1
  420. package/dist/object.es-CdriXMPs.js +0 -1
  421. package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
  422. package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
  423. package/dist/paymentFailure-Cki8c5BX.js +0 -1
  424. package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
  425. package/dist/paymentMethods-Cw-i95mM.js +0 -1
  426. package/dist/payments-2qeQdpiW.mjs +0 -45
  427. package/dist/payments-CS7_YcOW.js +0 -1
  428. package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
  429. package/dist/pricing-BOqG21f9.js +0 -1
  430. package/dist/pricing.es-C07bgEZx.js +0 -1
  431. package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
  432. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
  433. package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
  434. package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
  435. package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
  436. package/dist/pulse.svg.es-Dit33E8S.js +0 -1
  437. package/dist/screens/Checkout/Checkout.cjs +0 -1
  438. package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
  439. package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
  440. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
  441. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
  442. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
  443. package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
  444. package/dist/sessionReference-3h-6FdrC.mjs +0 -43
  445. package/dist/sessionReference-m_6Rp4X1.js +0 -1
  446. package/dist/slots.es-T9ZJRGtG.js +0 -1
  447. package/dist/sorting.es-DCihKqD2.mjs +0 -77
  448. package/dist/sorting.es-DQsjKr8A.js +0 -1
  449. package/dist/star.svg.es-D2JncY7b.js +0 -1
  450. package/dist/subscription-D1yHKUNc.mjs +0 -69
  451. package/dist/subscription-ZA62t4E9.js +0 -1
  452. package/dist/subscriptions-DcfcBYAq.mjs +0 -55
  453. package/dist/subscriptions-DwVsf4Ev.js +0 -1
  454. package/dist/trustly.svg.es-GJByiFAs.js +0 -1
  455. package/dist/twint.svg.es-BJ2f48og.js +0 -1
  456. package/dist/typeGuards.es-DS3vZaJn.js +0 -1
  457. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
  458. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
  459. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
  460. package/dist/types/services/portals.types.d.ts +0 -70
  461. package/dist/types/types/subscription.d.ts +0 -4
  462. package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
  463. package/dist/url-TNRgVI8A.mjs +0 -21
  464. package/dist/url-vloPOiXd.js +0 -1
  465. package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
  466. package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
  467. package/dist/useCustomer-BwZKd9i5.js +0 -1
  468. package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
  469. package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
  470. package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
  471. package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
  472. package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
  473. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
  474. package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
  475. package/dist/useInvoiceData-CNV_FMV8.js +0 -1
  476. package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
  477. package/dist/useInvoicesList-S0IbQcrD.js +0 -1
  478. package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
  479. package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
  480. package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
  481. package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
  482. package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
  483. package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
  484. package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
  485. package/dist/usePayments-DDSjo0rH.js +0 -1
  486. package/dist/usePortal-C27omjhz.js +0 -1
  487. package/dist/usePortal-C5AsegpS.mjs +0 -11
  488. package/dist/useService-Bh47bllz.mjs +0 -50
  489. package/dist/useService-H7BjLg8P.js +0 -1
  490. package/dist/useSubscription-BZJL0VOA.mjs +0 -210
  491. package/dist/useSubscription-D787IXY-.js +0 -1
  492. package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
  493. package/dist/useViewport-BgdA2PPt.mjs +0 -29
  494. package/dist/useViewport-hPRVDWCm.js +0 -1
  495. package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
  496. package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
  497. package/dist/visa.svg.es-NY3BHhda.js +0 -1
  498. package/dist/vpay.svg.es-VViQi42w.js +0 -1
  499. package/dist/wallets.es-CNIMW5ay.js +0 -1
  500. package/dist/zip.svg.es-C9S_F31W.js +0 -1
@@ -1,23 +1,24 @@
1
- import { defineComponent as W, computed as A, openBlock as g, createElementBlock as C, createVNode as L, unref as G, withCtx as K, createTextVNode as H, toDisplayString as v, ref as T, onMounted as Ee, onBeforeUnmount as fe, watch as ge, Fragment as Ae, createBlock as k, createCommentVNode as D, Teleport as Ie, createElementVNode as Te, nextTick as V } from "vue";
2
- import { a as Ne } from "./useService-Bh47bllz.mjs";
3
- import { a as q, _ as $, b as be } from "./customElements-B58FcXIN.mjs";
4
- import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs";
5
- import { c as Re } from "./payments-2qeQdpiW.mjs";
6
- import { g as J } from "./url-TNRgVI8A.mjs";
7
- import { c as Oe } from "./paymentMethods-CWlvwK5V.mjs";
8
- import { u as Me, g as ke, t as De, a as Se, b as Ce, R as Le, P as we, c as S, d as Q } from "./useExperimentalFeature-BciA3Ok9.mjs";
9
- import { l as xe } from "./adyenSdk-B01MB9Ia.mjs";
10
- import { c as Be, a as Fe } from "./paymentFailure-Bh60UhxA.mjs";
11
- const Ue = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
12
- function Ye(c) {
13
- return (c == null ? void 0 : c.querySelector(Ue)) ?? null;
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 { 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";
9
+ import { t as Ve } from "./amount-CondixVt.mjs";
10
+ import { l as $e } from "./adyenSdk-B01MB9Ia.mjs";
11
+ import { c as We, a as Je, g as qe, i as Qe, b as Xe } from "./paymentOutcome-BXEU5-84.mjs";
12
+ const et = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
13
+ function tt(u) {
14
+ return (u == null ? void 0 : u.querySelector(et)) ?? null;
14
15
  }
15
- function je(c, m) {
16
- return !!c && !!m && !c.contains(m);
16
+ function nt(u, l) {
17
+ return !!u && !!l && !u.contains(l);
17
18
  }
18
- const Ze = (c) => {
19
- let m = {};
20
- return c === "TOKENIZE" && (m = {
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,76 +143,76 @@ const Ze = (c) => {
142
143
  payButton: "Pridėti mokėjimo metodą",
143
144
  confirmPurchase: "Pridėti mokėjimo metodą"
144
145
  }
145
- }), m;
146
- }, ze = { class: "sv-sepa-mandate mt-3" }, Ge = /* @__PURE__ */ W({
146
+ }), l;
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 m = c, { $t: E } = q(), r = A(
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
- ), b = A(
159
- () => m.billingEntityName ? E(
159
+ ), k = b(
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: m.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
- ), a = A(
172
- () => m.billingEntityName ? E(
172
+ ), a = b(
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: m.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",
182
183
  id: "payments.sepa_mandate.recurrence_unnamed"
183
184
  })
184
- ), p = A(
185
+ ), p = b(
185
186
  () => E({
186
187
  defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
187
188
  description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
188
189
  id: "payments.sepa_mandate.refund_rights"
189
190
  })
190
191
  );
191
- return (y, R) => (g(), C("div", ze, [
192
- L(G($), {
192
+ return (y, w) => (N(), K("div", ot, [
193
+ H(te(re), {
193
194
  tag: "p",
194
195
  variant: "body-xs",
195
196
  class: "font-semibold"
196
197
  }, {
197
- default: K(() => [
198
- H(v(r.value), 1)
198
+ default: ne(() => [
199
+ ae(C(r.value), 1)
199
200
  ]),
200
201
  _: 1
201
202
  }),
202
- L(G($), {
203
+ H(te(re), {
203
204
  tag: "p",
204
205
  variant: "body-xs",
205
206
  color: "subtle"
206
207
  }, {
207
- default: K(() => [
208
- H(v(b.value) + " " + v(a.value) + " " + v(p.value), 1)
208
+ default: ne(() => [
209
+ ae(C(k.value) + " " + C(a.value) + " " + C(p.value), 1)
209
210
  ]),
210
211
  _: 1
211
212
  })
212
213
  ]));
213
214
  }
214
- }), N = "ADYEN", tt = /* @__PURE__ */ W({
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,29 @@ const Ze = (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
- emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
232
- setup(c, { expose: m, emit: E }) {
233
- let r = null, b = null;
234
- const a = c, p = E;
235
- m({ submit: ne });
236
- const y = T(), R = T(null), f = T(null);
237
- let l;
238
- const w = T(!1), P = T(), i = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ae } = Oe(), O = Me(), x = A(
233
+ emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
234
+ setup(u, { expose: l, emit: E }) {
235
+ let r = null, k = null;
236
+ const a = u, p = E;
237
+ l({ submit: ye });
238
+ const y = M(), w = M(null), I = M(null);
239
+ let f;
240
+ const L = M(!1), g = M();
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(
239
243
  () => {
240
244
  var e;
241
- return ke(a.paymentMethodOptionResponseEntry, {
242
- excludeExpressPaymentMethods: !!((e = O == null ? void 0 : O.value) != null && e["express-checkout"])
245
+ return Ze(a.paymentMethodOptionResponseEntry, {
246
+ excludeExpressPaymentMethods: !!((e = x == null ? void 0 : x.value) != null && e["express-checkout"])
243
247
  });
244
248
  }
245
- ), B = A(() => x.value.length > 0);
246
- function u(e) {
247
- return Be({
248
- gateway: N,
249
+ ), $ = b(() => V.value.length > 0);
250
+ function m(e) {
251
+ return We({
252
+ gateway: D,
249
253
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
250
254
  variant: a.variant,
251
255
  invoiceId: a.invoiceId,
@@ -253,56 +257,78 @@ const Ze = (c) => {
253
257
  ...e
254
258
  });
255
259
  }
256
- function h(e) {
257
- const t = Fe(e);
258
- P.value = t, p("payment-failed", t);
260
+ function _(e) {
261
+ A = !1;
262
+ const t = Je(e);
263
+ g.value = t, p("payment-failed", t);
264
+ }
265
+ function W() {
266
+ A = !1, B(), L.value = !0, p("payment-success");
267
+ }
268
+ function O(e, t = {}, n) {
269
+ B(), d.warn(
270
+ "PAYMENT_OUTCOME_UNCONFIRMED",
271
+ "The payment outcome could not be confirmed yet",
272
+ m({ reason: e, extra: t, cause: n }),
273
+ n
274
+ ), _({
275
+ code: "PAYMENT_OUTCOME_UNCONFIRMED",
276
+ message: "Payment could not be confirmed",
277
+ error: n
278
+ });
279
+ }
280
+ function B() {
281
+ S = !0, Y();
259
282
  }
260
- function ne() {
261
- if (!(r != null && r.isValid)) {
262
- if (r && !r.activePaymentMethod) {
263
- p("invalid", "NO_PAYMENT_METHOD");
283
+ function ye() {
284
+ if (!A) {
285
+ if (!(r != null && r.isValid)) {
286
+ if (r && !r.activePaymentMethod) {
287
+ p("invalid", "NO_PAYMENT_METHOD");
288
+ return;
289
+ }
290
+ r == null || r.showValidation(), p("invalid");
264
291
  return;
265
292
  }
266
- r == null || r.showValidation(), p("invalid");
267
- return;
268
- }
269
- try {
270
- r.submit();
271
- } catch (e) {
272
- i.error(
273
- "ADYEN_SUBMIT_FAILED",
274
- "Failed to submit Adyen drop-in",
275
- u({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
276
- e
277
- ), h({
278
- code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
279
- message: "Failed to submit Adyen drop-in",
280
- error: e
281
- });
293
+ try {
294
+ r.submit();
295
+ } catch (e) {
296
+ d.error(
297
+ "ADYEN_SUBMIT_FAILED",
298
+ "Failed to submit Adyen drop-in",
299
+ m({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
300
+ e
301
+ ), _({
302
+ code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
303
+ message: "Failed to submit Adyen drop-in",
304
+ error: e
305
+ });
306
+ }
282
307
  }
283
308
  }
284
- async function oe() {
285
- const e = De(a.amount), t = x.value;
309
+ async function he() {
310
+ const e = Ve(a.amount), t = V.value, n = a.selected;
311
+ let o = !1;
286
312
  return {
287
313
  checkoutConfig: {
288
314
  amount: e,
289
- clientKey: Ce(
315
+ clientKey: He(
290
316
  a.paymentMethodOptionResponseEntry
291
317
  ),
292
- environment: Se(
318
+ environment: Ke(
293
319
  a.paymentMethodOptionResponseEntry,
294
- i
320
+ d
295
321
  ),
296
- locale: X,
297
- translations: Ze(a.variant),
322
+ locale: ue,
323
+ translations: at(a.variant),
298
324
  countryCode: a.countryCode,
299
325
  analytics: { enabled: !1 },
300
326
  paymentMethodsResponse: { paymentMethods: t },
301
- onSubmit: ce,
302
- onAdditionalDetails: me,
303
- onPaymentCompleted: le,
304
- onPaymentFailed: ye,
305
- onError: he,
327
+ onSubmit: ge,
328
+ onAdditionalDetails: Te,
329
+ onPaymentCompleted: ve,
330
+ onPaymentFailed: be,
331
+ onError: Pe,
306
332
  showPayButton: !1
307
333
  },
308
334
  dropInConfig: {
@@ -318,76 +344,93 @@ const Ze = (c) => {
318
344
  showPayButton: !0
319
345
  }
320
346
  },
321
- openFirstPaymentMethod: a.selected,
322
- onSelect: ({ props: { type: o } }) => {
323
- o && p("select", { paymentMethodType: o, 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
+ });
324
356
  },
325
357
  onReady: () => p("ready")
326
358
  }
327
359
  };
328
360
  }
329
- function re() {
361
+ function _e() {
330
362
  return Promise.all([
331
- xe(),
363
+ $e(),
332
364
  import("./adyen-Bugab0JE.mjs").then((e) => e.default)
333
365
  ]);
334
366
  }
335
- async function F() {
336
- if (await Y(), P.value = void 0, !B.value) {
337
- const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
338
- i.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
339
- fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
340
- paymentAcceptorId: e.id,
341
- integrationId: t.id,
342
- ...a.invoiceId ? { invoiceId: a.invoiceId } : {}
343
- });
344
- return;
345
- }
346
- if (await V(), !!y.value)
347
- try {
348
- const [e, t] = await re(), { checkoutConfig: o, dropInConfig: n } = await oe();
349
- b = await e.AdyenCheckout(o), r = new e.Dropin(b, {
350
- ...n,
351
- paymentMethodComponents: e.dropInPaymentMethodComponents
352
- }).mount(y.value), se(t), ie();
353
- } catch (e) {
354
- i.error(
355
- "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
356
- "Failed to mount Adyen web drop-in",
357
- u({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
358
- e
359
- ), h({
360
- code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
361
- message: "Failed to mount Adyen web drop-in",
362
- error: e
367
+ async function U() {
368
+ const e = ++v, t = () => e !== v;
369
+ if (!(S || F)) {
370
+ if (await Y(), g.value = void 0, !$.value) {
371
+ const { payment_acceptor: n, integration: o } = a.paymentMethodOptionResponseEntry;
372
+ d.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
373
+ fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", n.id],
374
+ paymentAcceptorId: n.id,
375
+ integrationId: o.id,
376
+ ...a.invoiceId ? { invoiceId: a.invoiceId } : {}
363
377
  });
378
+ return;
364
379
  }
380
+ if (await oe(), !(t() || !y.value))
381
+ try {
382
+ const [n, o] = await _e();
383
+ if (t()) return;
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, {
387
+ ...i,
388
+ paymentMethodComponents: n.dropInPaymentMethodComponents
389
+ }).mount(y.value), Ae(o), fe();
390
+ } catch (n) {
391
+ if (t()) return;
392
+ d.error(
393
+ "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
394
+ "Failed to mount Adyen web drop-in",
395
+ m({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: n }),
396
+ n
397
+ ), _({
398
+ code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
399
+ message: "Failed to mount Adyen web drop-in",
400
+ error: n
401
+ });
402
+ }
403
+ }
365
404
  }
366
- function U() {
367
- const e = Ye(y.value);
368
- if (je(e, R.value)) {
369
- f.value = null, V(() => f.value = e);
405
+ function J() {
406
+ const e = tt(y.value);
407
+ if (nt(e, w.value)) {
408
+ I.value = null, oe(() => I.value = e);
370
409
  return;
371
410
  }
372
- f.value = e;
411
+ I.value = e;
373
412
  }
374
- function ie() {
375
- l == null || l.disconnect(), y.value && (l = new MutationObserver(() => U()), l.observe(y.value, { childList: !0, subtree: !0 }), U());
413
+ function fe() {
414
+ f == null || f.disconnect(), y.value && (f = new MutationObserver(() => J()), f.observe(y.value, { childList: !0, subtree: !0 }), J());
376
415
  }
377
- function de() {
378
- l == null || l.disconnect(), l = void 0, f.value = null;
416
+ function Ee() {
417
+ f == null || f.disconnect(), f = void 0, I.value = null;
379
418
  }
380
419
  async function Y() {
381
- de(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
420
+ Ee(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
421
+ }
422
+ function j(e, t, n) {
423
+ if (e.querySelector(`style[${se}="${t}"]`)) return;
424
+ const o = document.createElement("style");
425
+ o.setAttribute(se, t), o.textContent = n, e.appendChild(o);
382
426
  }
383
- function se(e) {
384
- var o;
385
- const t = (o = y.value) == null ? void 0 : o.getRootNode();
386
- if (t instanceof ShadowRoot) {
387
- const n = document.createElement("style");
388
- n.textContent = e, t.appendChild(n);
389
- const d = document.createElement("style");
390
- d.textContent = `
427
+ function Ae(e) {
428
+ var n;
429
+ const t = (n = y.value) == null ? void 0 : n.getRootNode();
430
+ t instanceof ShadowRoot && (j(t, "sdk", e), j(
431
+ t,
432
+ "overrides",
433
+ `
391
434
  :host {
392
435
  --adyen-sdk-color-background-secondary: transparent;
393
436
  --adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
@@ -480,335 +523,403 @@ const Ze = (c) => {
480
523
  .adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
481
524
  border-color: rgb(229, 231, 235);
482
525
  }
483
- `, a.variant === "AUTHORIZE" && (d.textContent += `
526
+ `
527
+ ), a.variant === "AUTHORIZE" && j(
528
+ t,
529
+ "authorize",
530
+ `
484
531
  .adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
485
532
  display: none;
486
533
  }
487
- `), t.appendChild(d);
488
- }
534
+ `
535
+ ));
489
536
  }
490
- function j(e, {
537
+ function q(e, {
491
538
  paymentMethodType: t,
492
- actions: o,
493
- logFailure: n
539
+ actions: n,
540
+ logFailure: o
494
541
  }) {
495
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
496
- const d = ue(e, t);
497
- if (!d) {
498
- n(e);
542
+ var i;
543
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === D) {
544
+ const c = Ie(e, t);
545
+ if (!c) {
546
+ o(e);
499
547
  return;
500
548
  }
501
- r.handleAction(d), o.resolve({
549
+ p("action-required"), n.resolve({
502
550
  resultCode: e.action.adyen.result_code,
503
- action: d
551
+ action: c
504
552
  });
505
553
  return;
506
554
  }
507
- if (e.payment.result === "AUTHORIZED") {
508
- w.value = !0, o.resolve({ resultCode: "Authorised" });
555
+ const s = Xe(e);
556
+ if (s === "SUCCEEDED") {
557
+ L.value = !0, n.resolve({ resultCode: "Authorised" });
558
+ return;
559
+ }
560
+ if (s === "UNCONFIRMED") {
561
+ O("PAYMENT_PENDING", {
562
+ paymentStatus: e.status,
563
+ paymentResult: (i = e.payment) == null ? void 0 : i.result,
564
+ paymentMethodType: t
565
+ });
509
566
  return;
510
567
  }
511
- n(e), o.resolve({ resultCode: "Error" });
568
+ o(e), n.resolve({ resultCode: "Error" });
512
569
  }
513
- function ce(...e) {
514
- const [t, o, n] = e;
515
- a.validateOnSubmit().then((d) => {
516
- if (!d) {
517
- r == null || r.setStatus("ready"), p("invalid");
570
+ function ge(...e) {
571
+ const [t, n, o] = e;
572
+ A || (A = !0, a.validateOnSubmit().then((s) => {
573
+ if (!s) {
574
+ A = !1, r == null || r.setStatus("ready"), p("invalid");
518
575
  return;
519
576
  }
520
- const s = a.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
521
- risk_data: S(t.data.riskData),
522
- payment_method: S(t.data.paymentMethod),
523
- browser_info: S(t.data.browserInfo)
577
+ p("submitting");
578
+ const i = a.paymentMethodOptionResponseEntry.payment_acceptor.id, c = {
579
+ risk_data: G(t.data.riskData),
580
+ payment_method: G(t.data.paymentMethod),
581
+ browser_info: G(t.data.browserInfo)
524
582
  };
525
583
  if (a.variant === "AUTHORIZE") {
526
- const M = Q({
584
+ const T = ie({
527
585
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
528
586
  redirectUrl: window.location.href
529
587
  });
530
- ee({
531
- payment_acceptor_id: s,
588
+ me({
589
+ payment_acceptor_id: i,
532
590
  ...a.customerId ? { customer_id: a.customerId } : {},
533
- payment_gateway_variant: N,
591
+ payment_gateway_variant: D,
534
592
  adyen: {
535
- ...z,
593
+ ...c,
536
594
  store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
537
595
  },
538
596
  amount: a.amount,
539
597
  ...a.context ? { context: a.context } : {},
540
- return_url: M
598
+ return_url: T
541
599
  }).then(
542
- (_) => j(_, {
600
+ (h) => q(h, {
543
601
  paymentMethodType: t.data.paymentMethod.type,
544
- actions: n,
545
- logFailure: (I) => i.error(
602
+ actions: o,
603
+ logFailure: (R) => d.error(
546
604
  "PAYMENT_AUTHORIZATION_FAILED",
547
- `Failed payment authorization for payment acceptor with id ${s}`,
548
- u({
605
+ `Failed payment authorization for payment acceptor with id ${i}`,
606
+ m({
549
607
  reason: "PAYMENT_AUTHORIZATION_REJECTED",
550
608
  paymentMethodType: t.data.paymentMethod.type,
551
- cause: I
609
+ cause: R
552
610
  }),
553
- I
611
+ R
554
612
  )
555
613
  })
556
- ).catch((_) => {
557
- i.error(
614
+ ).catch((h) => {
615
+ if (d.error(
558
616
  "PAYMENT_AUTHORIZATION_FAILED",
559
- `Failed payment authorization for payment acceptor with id ${s}`,
560
- u({
617
+ `Failed payment authorization for payment acceptor with id ${i}`,
618
+ m({
561
619
  reason: "PAYMENT_AUTHORIZATION_FAILED",
562
620
  paymentMethodType: t.data.paymentMethod.type,
563
- cause: _
621
+ cause: h
564
622
  }),
565
- _
566
- ), n.resolve({ resultCode: "Error" });
623
+ h
624
+ ), Qe(h)) {
625
+ O(
626
+ "PAYMENT_AUTHORIZATION_UNANSWERED",
627
+ { paymentMethodType: t.data.paymentMethod.type },
628
+ h
629
+ );
630
+ return;
631
+ }
632
+ o.resolve({ resultCode: "Error" });
567
633
  });
568
634
  return;
569
635
  }
570
636
  if (a.variant === "TOKENIZE") {
571
- const M = Q({
637
+ const T = ie({
572
638
  paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
573
639
  redirectUrl: window.location.href
574
640
  });
575
641
  if (!a.customerId) {
576
- i.error(
642
+ d.error(
577
643
  "TOKENIZATION_FAILED",
578
- `Missing customer id for payment acceptor with id ${s}`,
579
- u({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
580
- ), h({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
644
+ `Missing customer id for payment acceptor with id ${i}`,
645
+ m({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
646
+ ), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
581
647
  return;
582
648
  }
583
- ae({
649
+ le({
584
650
  customer_id: a.customerId,
585
- payment_acceptor_id: s,
586
- payment_gateway_variant: N,
587
- adyen: z,
588
- return_url: M
651
+ payment_acceptor_id: i,
652
+ payment_gateway_variant: D,
653
+ adyen: c,
654
+ return_url: T
589
655
  }).then(
590
- (_) => j(_, {
656
+ (h) => q(h, {
591
657
  paymentMethodType: t.data.paymentMethod.type,
592
- actions: n,
593
- logFailure: (I) => i.error(
658
+ actions: o,
659
+ logFailure: (R) => d.error(
594
660
  "TOKENIZATION_FAILED",
595
- `Tokenization failed for payment acceptor with id ${s}`,
596
- u({
661
+ `Tokenization failed for payment acceptor with id ${i}`,
662
+ m({
597
663
  reason: "TOKENIZATION_REJECTED",
598
664
  paymentMethodType: t.data.paymentMethod.type,
599
- cause: I
665
+ cause: R
600
666
  }),
601
- I
667
+ R
602
668
  )
603
669
  })
604
- ).catch((_) => {
605
- i.error(
670
+ ).catch((h) => {
671
+ d.error(
606
672
  "TOKENIZATION_FAILED",
607
- `Tokenization failed for payment acceptor with id ${s}`,
608
- u({
673
+ `Tokenization failed for payment acceptor with id ${i}`,
674
+ m({
609
675
  reason: "TOKENIZATION_FAILED",
610
676
  paymentMethodType: t.data.paymentMethod.type,
611
- cause: _
677
+ cause: h
612
678
  }),
613
- _
614
- ), n.resolve({ resultCode: "Error" });
679
+ h
680
+ ), o.resolve({ resultCode: "Error" });
615
681
  });
616
682
  }
617
- }).catch((d) => {
618
- i.error(
683
+ }).catch((s) => {
684
+ d.error(
619
685
  "INTEGRATION_ERROR",
620
686
  "Unhandled error in payment submission flow",
621
- u({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: d }),
622
- d
623
- );
624
- });
687
+ m({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: s }),
688
+ s
689
+ ), A = !1, r == null || r.setStatus("ready"), p("invalid");
690
+ }));
625
691
  }
626
- function ue(e, t) {
692
+ function Ie(e, t) {
627
693
  if (e.status !== "ACTION_REQUIRED")
628
694
  return;
629
- const o = e.action;
630
- if (o.payment_gateway_variant != "ADYEN")
695
+ const n = e.action;
696
+ if (n.payment_gateway_variant != "ADYEN")
631
697
  return;
632
- const n = o.adyen;
698
+ const o = n.adyen;
633
699
  return {
634
- paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
635
- method: o.method,
636
- url: o.url,
637
- data: o.data,
638
- type: n == null ? void 0 : n.action_type,
639
- paymentData: n == null ? void 0 : n.payment_data,
640
- sdkData: n == null ? void 0 : n.sdk_data
700
+ paymentMethodType: (o == null ? void 0 : o.payment_method_type) ?? t,
701
+ method: n.method,
702
+ url: n.url,
703
+ data: n.data,
704
+ type: o == null ? void 0 : o.action_type,
705
+ paymentData: o == null ? void 0 : o.payment_data,
706
+ sdkData: o == null ? void 0 : o.sdk_data
641
707
  };
642
708
  }
643
- function me(...e) {
644
- const [t] = e, o = t.data.details, n = t.data.paymentData;
709
+ function Te(...e) {
710
+ const [t, , n] = e, o = t.data.details, s = t.data.paymentData;
645
711
  if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
646
- Z({
712
+ Q({
647
713
  // For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
648
- detailsResult: o ? pe(o) : void 0,
649
- paymentDataResult: n,
650
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
714
+ detailsResult: o ? Ne(o) : void 0,
715
+ paymentDataResult: s,
716
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
717
+ actions: n
651
718
  });
652
719
  return;
653
720
  }
654
- i.error(
721
+ d.error(
655
722
  "PAYMENT_ACCEPTOR_MISSING",
656
723
  "Additional details arrived without a payment acceptor id",
657
- u({ reason: "PAYMENT_ACCEPTOR_MISSING" })
658
- ), h({
724
+ m({ reason: "PAYMENT_ACCEPTOR_MISSING" })
725
+ ), _({
659
726
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
660
727
  message: "Payment failed",
661
728
  error: e
662
729
  });
663
730
  }
664
- function pe(e) {
731
+ function Ne(e) {
665
732
  return Object.fromEntries(
666
733
  Object.entries(e).filter(([, t]) => t != null)
667
734
  );
668
735
  }
669
- function ye(...e) {
736
+ function be(...e) {
670
737
  const [t] = e;
671
- i.error(
738
+ d.error(
672
739
  "ADYEN_PAYMENT_FAILED",
673
740
  "Adyen reported the payment as failed",
674
- u({
741
+ m({
675
742
  reason: "ADYEN_PAYMENT_FAILED",
676
743
  extra: { resultCode: t == null ? void 0 : t.resultCode }
677
744
  }),
678
745
  t
679
- ), h({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
746
+ ), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
680
747
  }
681
- function le(...e) {
748
+ function ve(...e) {
682
749
  const [, t] = e;
683
- t == null || t.unmount(), p("payment-success");
750
+ t == null || t.unmount(), W();
684
751
  }
685
- function he(...e) {
686
- const [t, o] = e;
687
- t.name !== "CANCEL" && (i.error(
752
+ function Pe(...e) {
753
+ const [t, n] = e;
754
+ if (t.name === "CANCEL") {
755
+ A = !1, p("invalid");
756
+ return;
757
+ }
758
+ d.error(
688
759
  "INTEGRATION_ERROR",
689
760
  "The Adyen drop-in reported an error",
690
- u({
761
+ m({
691
762
  reason: "ADYEN_INTEGRATION_ERROR",
692
763
  cause: t,
693
764
  extra: { adyenErrorName: t.name }
694
765
  }),
695
766
  t
696
- ), h({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
767
+ ), _({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), n == null || n.unmount();
697
768
  }
698
- function Z({
769
+ function Q({
699
770
  detailsResult: e,
700
771
  threeDSResult: t,
701
- redirectResult: o,
702
- paymentDataResult: n,
703
- paymentAcceptorId: d
772
+ redirectResult: n,
773
+ paymentDataResult: o,
774
+ paymentAcceptorId: s,
775
+ actions: i
704
776
  }) {
705
- te({
706
- paymentAcceptorId: d,
707
- paymentGatewayVariant: N,
777
+ return pe({
778
+ paymentAcceptorId: s,
779
+ paymentGatewayVariant: D,
708
780
  adyen: {
709
781
  ...e ? { details: e } : {},
710
- ...o ? { redirect_result: o } : {},
782
+ ...n ? { redirect_result: n } : {},
711
783
  ...t ? { threeds_result: t } : {},
712
- ...n ? { payment_data: n } : {}
784
+ ...o ? { payment_data: o } : {}
713
785
  }
714
- }).then((s) => {
715
- if (s.payment_status === "FAILURE") {
716
- i.error(
717
- "PAYMENT_DETAILS_REJECTED",
718
- "Payment details returned a failed payment",
719
- u({
720
- reason: "PAYMENT_DETAILS_REJECTED",
721
- paymentAcceptorId: d,
722
- extra: { paymentStatus: s.payment_status }
723
- })
724
- ), h({
725
- code: "AUTHORIZATION_FAILED",
726
- message: "Failed getting payment details",
727
- error: s
786
+ }).then((c) => {
787
+ i || (P = void 0);
788
+ const T = qe(c);
789
+ if (T === "SUCCEEDED") {
790
+ i ? i.resolve({ resultCode: "Authorised" }) : W();
791
+ return;
792
+ }
793
+ if (T === "UNCONFIRMED") {
794
+ O("PAYMENT_DETAILS_UNCONFIRMED", {
795
+ paymentStatus: c.payment_status
728
796
  });
729
797
  return;
730
798
  }
731
- if (s.payment_status === "SUCCESS") {
732
- p("payment-success");
799
+ if (d.error(
800
+ "PAYMENT_DETAILS_REJECTED",
801
+ "Payment details returned a failed payment",
802
+ m({
803
+ reason: "PAYMENT_DETAILS_REJECTED",
804
+ paymentAcceptorId: s,
805
+ extra: { paymentStatus: c.payment_status }
806
+ })
807
+ ), i) {
808
+ i.resolve({ resultCode: "Refused" });
733
809
  return;
734
810
  }
735
- }).catch((s) => {
736
- i.error(
811
+ _({
812
+ code: "AUTHORIZATION_FAILED",
813
+ message: "Failed getting payment details",
814
+ error: c
815
+ });
816
+ }).catch((c) => {
817
+ if (d.error(
737
818
  "PAYMENT_DETAILS_CALL_FAILED",
738
819
  "Failed fetching payment details",
739
- u({
820
+ m({
740
821
  reason: "PAYMENT_DETAILS_CALL_FAILED",
741
- paymentAcceptorId: d,
742
- cause: s
822
+ paymentAcceptorId: s,
823
+ cause: c
743
824
  }),
744
- s
745
- ), h({
825
+ c
826
+ ), i) {
827
+ O("PAYMENT_DETAILS_CALL_FAILED", {}, c);
828
+ return;
829
+ }
830
+ B(), _({
746
831
  code: "PAYMENT_DETAILS_CALL_FAILED",
747
832
  message: "Failed fetching payment details",
748
- error: s
833
+ error: c
749
834
  });
750
835
  });
751
836
  }
752
- function _e() {
753
- const e = J(Le), t = J(we);
837
+ async function Oe() {
838
+ const e = ze(
839
+ a.paymentMethodOptionResponseEntry.payment_acceptor.id
840
+ );
754
841
  if (e) {
755
- if (!t) {
756
- i.error(
842
+ if (Ge(), e.kind === "MISSING_PAYMENT_ACCEPTOR") {
843
+ d.error(
757
844
  "INVALID_REDIRECT_RESULT",
758
845
  "Redirect result is set but payment acceptor id is missing",
759
- u({ reason: "INVALID_REDIRECT_RESULT" })
760
- ), h({
846
+ m({ reason: "INVALID_REDIRECT_RESULT" })
847
+ ), _({
761
848
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
762
849
  message: "Redirect result is set but payment acceptor id is missing"
763
850
  });
764
851
  return;
765
852
  }
766
- Z({
767
- paymentAcceptorId: t,
768
- detailsResult: {
769
- redirectResult: decodeURI(e)
770
- }
771
- });
853
+ if (e.kind === "INVALID") {
854
+ O("INVALID_REDIRECT_RESULT");
855
+ return;
856
+ }
857
+ P = e.redirectResult, await X();
858
+ }
859
+ }
860
+ async function X() {
861
+ if (P) {
862
+ F = !0;
863
+ try {
864
+ await Q({
865
+ paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
866
+ detailsResult: { redirectResult: P }
867
+ });
868
+ } finally {
869
+ F = !1;
870
+ }
871
+ }
872
+ }
873
+ async function ee() {
874
+ const e = g.value, t = v + 1;
875
+ await U(), e && t === v && (g.value = e);
876
+ }
877
+ async function Re() {
878
+ if (g.value = void 0, !P) {
879
+ await U();
880
+ return;
772
881
  }
882
+ S = !1, await X(), await ee();
773
883
  }
774
- return Ee(() => {
775
- F(), _e();
776
- }), fe(() => {
777
- Y();
778
- }), ge(
884
+ return Me(async () => {
885
+ await Oe(), await ee();
886
+ }), De(() => {
887
+ v++, Y();
888
+ }), ke(
779
889
  () => a.paymentMethodOptionResponseEntry,
780
890
  (e, t) => {
781
- Ne(e, t) || F();
891
+ Le(e, t) || U();
782
892
  },
783
893
  { deep: !0 }
784
- ), (e, t) => (g(), C(Ae, null, [
785
- w.value ? (g(), k(Pe, {
894
+ ), (e, t) => (N(), K(Se, null, [
895
+ L.value ? (N(), Z(xe, {
786
896
  key: 0,
787
- variant: c.variant,
788
- redirecting: c.redirectsOnSuccess
789
- }, null, 8, ["variant", "redirecting"])) : P.value ? (g(), k(ve, {
897
+ variant: u.variant,
898
+ redirecting: u.redirectsOnSuccess
899
+ }, null, 8, ["variant", "redirecting"])) : g.value ? (N(), Z(Be, {
790
900
  key: 1,
791
- error: P.value
792
- }, null, 8, ["error"])) : D("", !0),
793
- B.value ? (g(), C("div", {
901
+ error: g.value,
902
+ onRetry: Re
903
+ }, null, 8, ["error"])) : z("", !0),
904
+ $.value ? (N(), K("div", {
794
905
  key: 2,
795
906
  ref_key: "dropInContainerRef",
796
907
  ref: y
797
- }, null, 512)) : D("", !0),
798
- f.value ? (g(), k(Ie, {
908
+ }, null, 512)) : z("", !0),
909
+ I.value ? (N(), Z(Ce, {
799
910
  key: 3,
800
- to: f.value
911
+ to: I.value
801
912
  }, [
802
- Te("div", {
913
+ we("div", {
803
914
  ref_key: "sepaNoticeRef",
804
- ref: R
915
+ ref: w
805
916
  }, [
806
- L(Ge, { "billing-entity-name": c.billingEntityName }, null, 8, ["billing-entity-name"])
917
+ H(rt, { "billing-entity-name": u.billingEntityName }, null, 8, ["billing-entity-name"])
807
918
  ], 512)
808
- ], 8, ["to"])) : D("", !0)
919
+ ], 8, ["to"])) : z("", !0)
809
920
  ], 64));
810
921
  }
811
922
  });
812
923
  export {
813
- tt as default
924
+ ft as default
814
925
  };