@solvimon/solvimon-web 0.1.0-alpha.24 → 0.1.0-alpha.26
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.
- package/README.md +14 -11
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
- package/dist/{Avatar.vue.es-nr8srGuK.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
- package/dist/{Avatar.vue.es-DzjFvLuK.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
- package/dist/{Button.vue.es-PbJFK8z7.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
- package/dist/{Button.vue.es-TCF-bvDF.js → Button.vue.es-qGvnOKnK.js} +1 -1
- package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
- package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
- package/dist/{Checkout.entry.ce-DHFx5Vnb.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
- package/dist/{Chip.vue.es-DpcOM3Ai.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
- package/dist/{Chip.vue.es-CAoisngJ.js → Chip.vue.es-D60gTbfe.js} +1 -1
- package/dist/{ContextMenu.vue.es-kzZ3JJHG.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
- package/dist/{ContextMenu.vue.es-tAuFp-6i.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-BQSl9q6W.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-Nac6HgLo.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
- package/dist/{DividerText.vue.es-LJ2kZakb.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
- package/dist/{DividerText.vue.es-CSE7a-T0.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
- package/dist/{ErrorNotification.vue.es-BF6swP7o.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
- package/dist/{ErrorNotification.vue.es-CVUuIt8Z.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
- package/dist/{IconButton.vue.es-CB1lIPao.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
- package/dist/{IconButton.vue.es-DGflbWFk.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
- package/dist/{IconTitle.vue.es-BsdjyGlQ.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
- package/dist/{IconTitle.vue.es-CMO8EyQl.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
- package/dist/{Input.vue.es-CREdT4nB.js → Input.vue.es-B47l_feL.js} +1 -1
- package/dist/{Input.vue.es-BFbiFXsU.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
- package/dist/{InvoiceSummary.vue.es-JtOIQ6SJ.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
- package/dist/{Modal.vue.es-BbdtdxsO.js → Modal.vue.es-8LN4gBh0.js} +1 -1
- package/dist/{Modal.vue.es-jT61xK_A.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-quvnCSFV.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-Dw2wOiAI.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D1oJREmH.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
- package/dist/{PaymentIntegrationForm-CQjUZi22.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
- package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +217 -197
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
- package/dist/{PaymentIntegrationFormStripe-D-GaLHwc.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
- package/dist/{PaymentMethod.vue.es-C0j580g7.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
- package/dist/{PaymentMethodForm-CDV5LR8i.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
- package/dist/{PaymentMethodForm-Bf2Ps6eV.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
- package/dist/{PricingGroupRangeInput.vue.es-CP7-dmxS.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-BchXhunH.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-_QMReyZ8.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-Cf5R1P9a.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
- package/dist/{Section.vue.es-KRsHeFoT.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
- package/dist/{Section.vue.es-CBZx5x53.js → Section.vue.es-zVXBHAL6.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
- package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
- package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
- package/dist/{SubscriptionSchedules-1ikoGncQ.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
- package/dist/{SubscriptionSchedules-B6b6xf-E.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
- package/dist/{TooltipParagraph.vue.es-nGFfHF1A.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
- package/dist/{TrialChip.vue.es-DhC5Bpmy.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
- package/dist/{TrialChip.vue.es-eKgO6an3.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
- package/dist/{cn.es-BD7Afj5Q.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
- package/dist/{cn.es-BLE3T5Rx.js → cn.es-D9YMDvG2.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +201 -212
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-CSzbVZIH.js → customElements-C963-LtW.js} +36 -32
- package/dist/{customElements-DT1YyL4O.mjs → customElements-D5DAoHRI.mjs} +231 -196
- package/dist/{customer-Cq4fF__H.mjs → customer-DKa1B2vp.mjs} +4 -4
- package/dist/{customer-CJonIvSm.js → customer-TE1FnGT0.js} +1 -1
- package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
- package/dist/{de-DE-CyvjSD9b.mjs → de-DE-CLfzTbbX.mjs} +39 -6
- package/dist/de-DE-DaBBl-Ak.js +1 -0
- package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
- package/dist/en-US-BNevqm0M.js +1 -0
- package/dist/{en-US-xQrWj8qI.mjs → en-US-D6SGRAch.mjs} +39 -6
- package/dist/en-US-J85TQRI8.js +1 -0
- package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
- package/dist/formControl-ODrpUvcA.js +1 -0
- package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{invoices-EamWI_jz.js → invoices-ClqTWYF9.js} +1 -1
- package/dist/{invoices-CVZOfEOY.mjs → invoices-DJTwftJv.mjs} +1 -1
- package/dist/it-IT-BkPbTueL.js +1 -0
- package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
- package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
- package/dist/{it-IT-C09oObBM.mjs → it-IT-Cym1UvvK.mjs} +39 -6
- package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
- package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
- package/dist/{nl-NL-BhNND_yi.mjs → nl-NL-D0c4x5C0.mjs} +39 -6
- package/dist/nl-NL-jIfAVGv0.js +1 -0
- package/dist/paymentMethods-AL2U_byg.js +1 -0
- package/dist/{paymentMethods-By1SebnO.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
- package/dist/{payments-Dnjg9Se4.js → payments-BmiHMlQt.js} +1 -1
- package/dist/{payments-BYZLQTJ-.mjs → payments-aXyfylwk.mjs} +6 -6
- package/dist/pricing.es-C07bgEZx.js +1 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
- package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
- package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
- package/dist/{subscriptions-BKER9RUc.js → subscriptions-Cm83ckfl.js} +1 -1
- package/dist/{subscriptions-Gj3KgCZz.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
- package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
- package/dist/types/services/paymentMethods.types.d.ts +4 -2
- package/dist/types/services/requests.types.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
- package/dist/{useActionDispatchProvider-DDHrhy3i.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
- package/dist/{useActionDispatchProvider-MjTckd4f.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
- package/dist/{useCustomer-BW0DBEJh.js → useCustomer-DGYtowRy.js} +1 -1
- package/dist/{useCustomer-CxnF7r8Z.mjs → useCustomer-XZKWsolE.mjs} +1 -1
- package/dist/{useCustomerFormLabels-zPc8QrwJ.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
- package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
- package/dist/{useExperimentalFeature-9teNYGuP.js → useExperimentalFeature-COOU6IZd.js} +1 -1
- package/dist/{useExperimentalFeature-NsSDg-e3.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
- package/dist/{useInvoiceData-GQwk6fl4.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
- package/dist/{useInvoiceData-DvV2AsgC.js → useInvoiceData-CQRn8l9C.js} +1 -1
- package/dist/{useInvoicesList-Xnth6s6U.js → useInvoicesList-BQkKyyXa.js} +1 -1
- package/dist/{useInvoicesList-CGmFSQSg.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
- package/dist/{useLoadInitialData-BvvaWeAe.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
- package/dist/{useLoadInitialData-Cjkc70u-.js → useLoadInitialData-CrKnBZs_.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DKyscbom.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
- package/dist/{usePaymentMethodAvailability-BWaaj3N3.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
- package/dist/{usePaymentMethodOptions-l-wVAmIW.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
- package/dist/{usePaymentMethods-DvQVnsSV.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
- package/dist/{usePaymentMethods-BDFVB-kK.js → usePaymentMethods-BKwrl82-.js} +1 -1
- package/dist/usePayments-Bauj16B-.js +1 -0
- package/dist/{usePayments-D_dyuf6S.mjs → usePayments-CV85OV8V.mjs} +46 -41
- package/dist/{usePortal-BU4ibdWq.js → usePortal-DSLImEfr.js} +1 -1
- package/dist/{usePortal-Br5lYuPT.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
- package/dist/{useSubscription-DRBUt9H5.js → useSubscription-BiYNJT2e.js} +1 -1
- package/dist/{useSubscription-CqRae2I9.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
- package/dist/{useTimePeriod.es-BxIGnCAP.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
- package/dist/{useTimePeriod.es-DDos3-EH.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
- package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
- package/package.json +11 -8
- package/dist/Checkout.entry.ce-D8O4qJ24.js +0 -2
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +0 -1
- package/dist/InvoiceSummary.vue.es-BOnvORpf.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs +0 -141
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +0 -98
- package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +0 -102
- package/dist/PaymentMethod.vue.es-CXV_ThBY.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js +0 -1
- package/dist/PlanCustomizationEditor-0kEXoOcM.js +0 -1
- package/dist/PlanCustomizationEditor-Dv69xPbX.mjs +0 -877
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs +0 -131
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +0 -1
- package/dist/TooltipParagraph.vue.es-7IQdU3Tf.js +0 -1
- package/dist/de-DE-DXsDvO5y.js +0 -1
- package/dist/en-US-9xdcz3T5.js +0 -1
- package/dist/en-US-DHdI11k9.js +0 -1
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
- package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
- package/dist/index-DwueOtPi.js +0 -1
- package/dist/it-IT-CcRIzP1A.js +0 -1
- package/dist/nl-NL-5PrgQl8q.js +0 -1
- package/dist/paymentMethods-Bwym8l9a.js +0 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
- package/dist/useCustomerFormLabels-C773h3J0.js +0 -1
- package/dist/usePaymentMethodOptions-DuXKS36F.js +0 -1
- package/dist/usePayments-CIJocDhR.js +0 -1
- package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
- package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
package/dist/{PaymentIntegrationFormAdyen-CyZk9ofV.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as W, computed as
|
|
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
2
|
import { a as Ne } from "./useService-Bh47bllz.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as Re } from "./payments-
|
|
3
|
+
import { a as q, _ as $, b as be } from "./customElements-D5DAoHRI.mjs";
|
|
4
|
+
import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs";
|
|
5
|
+
import { c as Re } from "./payments-aXyfylwk.mjs";
|
|
6
6
|
import { g as J } from "./url-TNRgVI8A.mjs";
|
|
7
|
-
import { c as Oe } from "./paymentMethods-
|
|
8
|
-
import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as
|
|
7
|
+
import { c as Oe } from "./paymentMethods-CWzJhcWK.mjs";
|
|
8
|
+
import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as S, d as Q } from "./adyen-CvsH5fok.mjs";
|
|
9
9
|
import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
|
|
10
|
-
import { u as xe } from "./useExperimentalFeature-
|
|
10
|
+
import { u as xe } from "./useExperimentalFeature-ierhOt9Q.mjs";
|
|
11
11
|
import { c as Be, a as Fe } from "./paymentFailure-Bh60UhxA.mjs";
|
|
12
12
|
const Ue = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
|
|
13
|
-
function Ye(
|
|
14
|
-
return (
|
|
13
|
+
function Ye(c) {
|
|
14
|
+
return (c == null ? void 0 : c.querySelector(Ue)) ?? null;
|
|
15
15
|
}
|
|
16
|
-
function je(
|
|
17
|
-
return !!
|
|
16
|
+
function je(c, m) {
|
|
17
|
+
return !!c && !!m && !c.contains(m);
|
|
18
18
|
}
|
|
19
|
-
const Ze = (
|
|
20
|
-
let
|
|
21
|
-
return
|
|
19
|
+
const Ze = (c) => {
|
|
20
|
+
let m = {};
|
|
21
|
+
return c === "TOKENIZE" && (m = {
|
|
22
22
|
"en-US": {
|
|
23
23
|
payButton: "Add payment method",
|
|
24
24
|
confirmPurchase: "Add payment method"
|
|
@@ -143,7 +143,7 @@ const Ze = (d) => {
|
|
|
143
143
|
payButton: "Pridėti mokėjimo metodą",
|
|
144
144
|
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
145
145
|
}
|
|
146
|
-
}),
|
|
146
|
+
}), m;
|
|
147
147
|
}, ze = {
|
|
148
148
|
class: "sv-sepa-mandate mt-3",
|
|
149
149
|
"data-testid": "sepa-mandate-notice"
|
|
@@ -152,64 +152,70 @@ const Ze = (d) => {
|
|
|
152
152
|
props: {
|
|
153
153
|
billingEntityName: { type: String }
|
|
154
154
|
},
|
|
155
|
-
setup(
|
|
156
|
-
const
|
|
157
|
-
() =>
|
|
155
|
+
setup(c) {
|
|
156
|
+
const m = c, { $t: E } = q(), r = A(
|
|
157
|
+
() => E({
|
|
158
158
|
defaultMessage: "SEPA Direct Debit mandate — recurring payments",
|
|
159
159
|
description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
|
|
160
160
|
id: "payments.sepa_mandate.title"
|
|
161
161
|
})
|
|
162
|
-
), b =
|
|
163
|
-
() =>
|
|
162
|
+
), b = A(
|
|
163
|
+
() => m.billingEntityName ? E(
|
|
164
164
|
{
|
|
165
165
|
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.",
|
|
166
166
|
description: "SEPA direct debit mandate authorisation, naming the billing entity",
|
|
167
167
|
id: "payments.sepa_mandate.authorisation"
|
|
168
168
|
},
|
|
169
|
-
{ billingEntityName:
|
|
170
|
-
) :
|
|
169
|
+
{ billingEntityName: m.billingEntityName }
|
|
170
|
+
) : E({
|
|
171
171
|
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.",
|
|
172
172
|
description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
|
|
173
173
|
id: "payments.sepa_mandate.authorisation_unnamed"
|
|
174
174
|
})
|
|
175
|
-
),
|
|
176
|
-
() =>
|
|
175
|
+
), a = A(
|
|
176
|
+
() => m.billingEntityName ? E(
|
|
177
177
|
{
|
|
178
178
|
defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
|
|
179
179
|
description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
|
|
180
180
|
id: "payments.sepa_mandate.recurrence"
|
|
181
181
|
},
|
|
182
|
-
{ billingEntityName:
|
|
183
|
-
) :
|
|
182
|
+
{ billingEntityName: m.billingEntityName }
|
|
183
|
+
) : E({
|
|
184
184
|
defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
|
|
185
185
|
description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
|
|
186
186
|
id: "payments.sepa_mandate.recurrence_unnamed"
|
|
187
187
|
})
|
|
188
|
+
), p = A(
|
|
189
|
+
() => E({
|
|
190
|
+
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.",
|
|
191
|
+
description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
|
|
192
|
+
id: "payments.sepa_mandate.refund_rights"
|
|
193
|
+
})
|
|
188
194
|
);
|
|
189
|
-
return (
|
|
190
|
-
|
|
195
|
+
return (y, R) => (g(), C("div", ze, [
|
|
196
|
+
L(G($), {
|
|
191
197
|
tag: "p",
|
|
192
198
|
variant: "body-xs",
|
|
193
199
|
class: "font-semibold"
|
|
194
200
|
}, {
|
|
195
201
|
default: K(() => [
|
|
196
|
-
H(
|
|
202
|
+
H(v(r.value), 1)
|
|
197
203
|
]),
|
|
198
204
|
_: 1
|
|
199
205
|
}),
|
|
200
|
-
|
|
206
|
+
L(G($), {
|
|
201
207
|
tag: "p",
|
|
202
208
|
variant: "body-xs",
|
|
203
209
|
color: "subtle"
|
|
204
210
|
}, {
|
|
205
211
|
default: K(() => [
|
|
206
|
-
H(
|
|
212
|
+
H(v(b.value) + " " + v(a.value) + " " + v(p.value), 1)
|
|
207
213
|
]),
|
|
208
214
|
_: 1
|
|
209
215
|
})
|
|
210
216
|
]));
|
|
211
217
|
}
|
|
212
|
-
}),
|
|
218
|
+
}), N = "ADYEN", at = /* @__PURE__ */ W({
|
|
213
219
|
__name: "PaymentIntegrationFormAdyen",
|
|
214
220
|
props: {
|
|
215
221
|
context: { type: Object },
|
|
@@ -226,62 +232,74 @@ const Ze = (d) => {
|
|
|
226
232
|
redirectsOnSuccess: { type: Boolean },
|
|
227
233
|
billingEntityName: { type: String }
|
|
228
234
|
},
|
|
229
|
-
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
230
|
-
setup(
|
|
231
|
-
let
|
|
232
|
-
const
|
|
233
|
-
|
|
234
|
-
const
|
|
235
|
-
let
|
|
236
|
-
const w =
|
|
235
|
+
emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
|
|
236
|
+
setup(c, { expose: m, emit: E }) {
|
|
237
|
+
let r = null, b = null;
|
|
238
|
+
const a = c, p = E;
|
|
239
|
+
m({ submit: ne });
|
|
240
|
+
const y = T(), R = T(null), f = T(null);
|
|
241
|
+
let l;
|
|
242
|
+
const w = T(!1), P = T(), i = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ae } = Oe(), O = xe(), x = A(
|
|
237
243
|
() => {
|
|
238
244
|
var e;
|
|
239
|
-
return Me(
|
|
240
|
-
excludeExpressPaymentMethods: !!((e =
|
|
245
|
+
return Me(a.paymentMethodOptionResponseEntry, {
|
|
246
|
+
excludeExpressPaymentMethods: !!((e = O == null ? void 0 : O.value) != null && e["express-checkout"])
|
|
241
247
|
});
|
|
242
248
|
}
|
|
243
|
-
), B =
|
|
244
|
-
function
|
|
249
|
+
), B = A(() => x.value.length > 0);
|
|
250
|
+
function u(e) {
|
|
245
251
|
return Be({
|
|
246
|
-
gateway:
|
|
247
|
-
paymentAcceptorId:
|
|
248
|
-
variant:
|
|
249
|
-
invoiceId:
|
|
250
|
-
customerId:
|
|
252
|
+
gateway: N,
|
|
253
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
254
|
+
variant: a.variant,
|
|
255
|
+
invoiceId: a.invoiceId,
|
|
256
|
+
customerId: a.customerId,
|
|
251
257
|
...e
|
|
252
258
|
});
|
|
253
259
|
}
|
|
254
260
|
function h(e) {
|
|
255
261
|
const t = Fe(e);
|
|
256
|
-
P.value = t,
|
|
262
|
+
P.value = t, p("payment-failed", t);
|
|
257
263
|
}
|
|
258
|
-
function
|
|
264
|
+
function ne() {
|
|
265
|
+
if (!(r != null && r.isValid)) {
|
|
266
|
+
if (r && !r.activePaymentMethod) {
|
|
267
|
+
p("invalid", "NO_PAYMENT_METHOD");
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
r == null || r.showValidation(), p("invalid");
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
259
273
|
try {
|
|
260
|
-
|
|
274
|
+
r.submit();
|
|
261
275
|
} catch (e) {
|
|
262
|
-
|
|
276
|
+
i.error(
|
|
263
277
|
"ADYEN_SUBMIT_FAILED",
|
|
264
278
|
"Failed to submit Adyen drop-in",
|
|
265
|
-
|
|
279
|
+
u({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
266
280
|
e
|
|
267
|
-
)
|
|
281
|
+
), h({
|
|
282
|
+
code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
|
|
283
|
+
message: "Failed to submit Adyen drop-in",
|
|
284
|
+
error: e
|
|
285
|
+
});
|
|
268
286
|
}
|
|
269
287
|
}
|
|
270
288
|
async function oe() {
|
|
271
|
-
const e = ke(
|
|
289
|
+
const e = ke(a.amount), t = x.value;
|
|
272
290
|
return {
|
|
273
291
|
checkoutConfig: {
|
|
274
292
|
amount: e,
|
|
275
293
|
clientKey: Se(
|
|
276
|
-
|
|
294
|
+
a.paymentMethodOptionResponseEntry
|
|
277
295
|
),
|
|
278
296
|
environment: De(
|
|
279
|
-
|
|
280
|
-
|
|
297
|
+
a.paymentMethodOptionResponseEntry,
|
|
298
|
+
i
|
|
281
299
|
),
|
|
282
300
|
locale: X,
|
|
283
|
-
translations: Ze(
|
|
284
|
-
countryCode:
|
|
301
|
+
translations: Ze(a.variant),
|
|
302
|
+
countryCode: a.countryCode,
|
|
285
303
|
analytics: { enabled: !1 },
|
|
286
304
|
paymentMethodsResponse: { paymentMethods: t },
|
|
287
305
|
onSubmit: ce,
|
|
@@ -297,18 +315,18 @@ const Ze = (d) => {
|
|
|
297
315
|
card: {
|
|
298
316
|
hasHolderName: !0,
|
|
299
317
|
holderNameRequired: !0,
|
|
300
|
-
enableStoreDetails: !
|
|
318
|
+
enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
|
|
301
319
|
},
|
|
302
320
|
paypal: {
|
|
303
321
|
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
304
322
|
showPayButton: !0
|
|
305
323
|
}
|
|
306
324
|
},
|
|
307
|
-
openFirstPaymentMethod:
|
|
325
|
+
openFirstPaymentMethod: a.selected,
|
|
308
326
|
onSelect: ({ props: { type: o } }) => {
|
|
309
|
-
o &&
|
|
327
|
+
o && p("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
|
|
310
328
|
},
|
|
311
|
-
onReady: () =>
|
|
329
|
+
onReady: () => p("ready")
|
|
312
330
|
}
|
|
313
331
|
};
|
|
314
332
|
}
|
|
@@ -320,27 +338,27 @@ const Ze = (d) => {
|
|
|
320
338
|
}
|
|
321
339
|
async function F() {
|
|
322
340
|
if (await Y(), P.value = void 0, !B.value) {
|
|
323
|
-
const { payment_acceptor: e, integration: t } =
|
|
324
|
-
|
|
341
|
+
const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
|
|
342
|
+
i.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
325
343
|
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
|
|
326
344
|
paymentAcceptorId: e.id,
|
|
327
345
|
integrationId: t.id,
|
|
328
|
-
...
|
|
346
|
+
...a.invoiceId ? { invoiceId: a.invoiceId } : {}
|
|
329
347
|
});
|
|
330
348
|
return;
|
|
331
349
|
}
|
|
332
|
-
if (await V(), !!
|
|
350
|
+
if (await V(), !!y.value)
|
|
333
351
|
try {
|
|
334
|
-
const [e, t] = await re(), { checkoutConfig: o, dropInConfig:
|
|
335
|
-
b = await e.AdyenCheckout(o),
|
|
336
|
-
...
|
|
352
|
+
const [e, t] = await re(), { checkoutConfig: o, dropInConfig: n } = await oe();
|
|
353
|
+
b = await e.AdyenCheckout(o), r = new e.Dropin(b, {
|
|
354
|
+
...n,
|
|
337
355
|
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
338
|
-
}).mount(
|
|
356
|
+
}).mount(y.value), se(t), ie();
|
|
339
357
|
} catch (e) {
|
|
340
|
-
|
|
358
|
+
i.error(
|
|
341
359
|
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
342
360
|
"Failed to mount Adyen web drop-in",
|
|
343
|
-
|
|
361
|
+
u({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
|
|
344
362
|
e
|
|
345
363
|
), h({
|
|
346
364
|
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
@@ -350,30 +368,30 @@ const Ze = (d) => {
|
|
|
350
368
|
}
|
|
351
369
|
}
|
|
352
370
|
function U() {
|
|
353
|
-
const e = Ye(
|
|
354
|
-
if (je(e,
|
|
371
|
+
const e = Ye(y.value);
|
|
372
|
+
if (je(e, R.value)) {
|
|
355
373
|
f.value = null, V(() => f.value = e);
|
|
356
374
|
return;
|
|
357
375
|
}
|
|
358
376
|
f.value = e;
|
|
359
377
|
}
|
|
360
378
|
function ie() {
|
|
361
|
-
|
|
379
|
+
l == null || l.disconnect(), y.value && (l = new MutationObserver(() => U()), l.observe(y.value, { childList: !0, subtree: !0 }), U());
|
|
362
380
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
381
|
+
function de() {
|
|
382
|
+
l == null || l.disconnect(), l = void 0, f.value = null;
|
|
365
383
|
}
|
|
366
384
|
async function Y() {
|
|
367
|
-
|
|
385
|
+
de(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
|
|
368
386
|
}
|
|
369
|
-
function
|
|
387
|
+
function se(e) {
|
|
370
388
|
var o;
|
|
371
|
-
const t = (o =
|
|
389
|
+
const t = (o = y.value) == null ? void 0 : o.getRootNode();
|
|
372
390
|
if (t instanceof ShadowRoot) {
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
const
|
|
376
|
-
|
|
391
|
+
const n = document.createElement("style");
|
|
392
|
+
n.textContent = e, t.appendChild(n);
|
|
393
|
+
const d = document.createElement("style");
|
|
394
|
+
d.textContent = `
|
|
377
395
|
:host {
|
|
378
396
|
--adyen-sdk-color-background-secondary: transparent;
|
|
379
397
|
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
@@ -466,27 +484,27 @@ const Ze = (d) => {
|
|
|
466
484
|
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
467
485
|
border-color: rgb(229, 231, 235);
|
|
468
486
|
}
|
|
469
|
-
`,
|
|
487
|
+
`, a.variant === "AUTHORIZE" && (d.textContent += `
|
|
470
488
|
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
471
489
|
display: none;
|
|
472
490
|
}
|
|
473
|
-
`), t.appendChild(
|
|
491
|
+
`), t.appendChild(d);
|
|
474
492
|
}
|
|
475
493
|
}
|
|
476
494
|
function j(e, {
|
|
477
495
|
paymentMethodType: t,
|
|
478
496
|
actions: o,
|
|
479
|
-
logFailure:
|
|
497
|
+
logFailure: n
|
|
480
498
|
}) {
|
|
481
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
482
|
-
const
|
|
483
|
-
if (!
|
|
484
|
-
|
|
499
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
|
|
500
|
+
const d = ue(e, t);
|
|
501
|
+
if (!d) {
|
|
502
|
+
n(e);
|
|
485
503
|
return;
|
|
486
504
|
}
|
|
487
|
-
|
|
505
|
+
r.handleAction(d), o.resolve({
|
|
488
506
|
resultCode: e.action.adyen.result_code,
|
|
489
|
-
action:
|
|
507
|
+
action: d
|
|
490
508
|
});
|
|
491
509
|
return;
|
|
492
510
|
}
|
|
@@ -494,116 +512,118 @@ const Ze = (d) => {
|
|
|
494
512
|
w.value = !0, o.resolve({ resultCode: "Authorised" });
|
|
495
513
|
return;
|
|
496
514
|
}
|
|
497
|
-
|
|
515
|
+
n(e), o.resolve({ resultCode: "Error" });
|
|
498
516
|
}
|
|
499
517
|
function ce(...e) {
|
|
500
|
-
const [t, o,
|
|
501
|
-
|
|
502
|
-
if (!
|
|
518
|
+
const [t, o, n] = e;
|
|
519
|
+
a.validateOnSubmit().then((d) => {
|
|
520
|
+
if (!d) {
|
|
521
|
+
r == null || r.setStatus("ready"), p("invalid");
|
|
503
522
|
return;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
523
|
+
}
|
|
524
|
+
const s = a.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
|
|
525
|
+
risk_data: S(t.data.riskData),
|
|
526
|
+
payment_method: S(t.data.paymentMethod),
|
|
527
|
+
browser_info: S(t.data.browserInfo)
|
|
508
528
|
};
|
|
509
|
-
if (
|
|
510
|
-
const
|
|
511
|
-
paymentAcceptorId:
|
|
529
|
+
if (a.variant === "AUTHORIZE") {
|
|
530
|
+
const M = Q({
|
|
531
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
512
532
|
redirectUrl: window.location.href
|
|
513
533
|
});
|
|
514
534
|
ee({
|
|
515
535
|
payment_acceptor_id: s,
|
|
516
|
-
...
|
|
517
|
-
payment_gateway_variant:
|
|
536
|
+
...a.customerId ? { customer_id: a.customerId } : {},
|
|
537
|
+
payment_gateway_variant: N,
|
|
518
538
|
adyen: {
|
|
519
539
|
...z,
|
|
520
|
-
store_payment_method:
|
|
540
|
+
store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
521
541
|
},
|
|
522
|
-
amount:
|
|
523
|
-
...
|
|
524
|
-
return_url:
|
|
542
|
+
amount: a.amount,
|
|
543
|
+
...a.context ? { context: a.context } : {},
|
|
544
|
+
return_url: M
|
|
525
545
|
}).then(
|
|
526
|
-
(
|
|
546
|
+
(_) => j(_, {
|
|
527
547
|
paymentMethodType: t.data.paymentMethod.type,
|
|
528
|
-
actions:
|
|
529
|
-
logFailure: (
|
|
548
|
+
actions: n,
|
|
549
|
+
logFailure: (I) => i.error(
|
|
530
550
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
531
551
|
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
532
|
-
|
|
552
|
+
u({
|
|
533
553
|
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
534
554
|
paymentMethodType: t.data.paymentMethod.type,
|
|
535
|
-
cause:
|
|
555
|
+
cause: I
|
|
536
556
|
}),
|
|
537
|
-
|
|
557
|
+
I
|
|
538
558
|
)
|
|
539
559
|
})
|
|
540
|
-
).catch((
|
|
541
|
-
|
|
560
|
+
).catch((_) => {
|
|
561
|
+
i.error(
|
|
542
562
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
543
563
|
`Failed payment authorization for payment acceptor with id ${s}`,
|
|
544
|
-
|
|
564
|
+
u({
|
|
545
565
|
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
546
566
|
paymentMethodType: t.data.paymentMethod.type,
|
|
547
|
-
cause:
|
|
567
|
+
cause: _
|
|
548
568
|
}),
|
|
549
|
-
|
|
550
|
-
),
|
|
569
|
+
_
|
|
570
|
+
), n.resolve({ resultCode: "Error" });
|
|
551
571
|
});
|
|
552
572
|
return;
|
|
553
573
|
}
|
|
554
|
-
if (
|
|
555
|
-
const
|
|
556
|
-
paymentAcceptorId:
|
|
574
|
+
if (a.variant === "TOKENIZE") {
|
|
575
|
+
const M = Q({
|
|
576
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
557
577
|
redirectUrl: window.location.href
|
|
558
578
|
});
|
|
559
|
-
if (!
|
|
560
|
-
|
|
579
|
+
if (!a.customerId) {
|
|
580
|
+
i.error(
|
|
561
581
|
"TOKENIZATION_FAILED",
|
|
562
582
|
`Missing customer id for payment acceptor with id ${s}`,
|
|
563
|
-
|
|
583
|
+
u({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
564
584
|
), h({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
565
585
|
return;
|
|
566
586
|
}
|
|
567
|
-
|
|
568
|
-
customer_id:
|
|
587
|
+
ae({
|
|
588
|
+
customer_id: a.customerId,
|
|
569
589
|
payment_acceptor_id: s,
|
|
570
|
-
payment_gateway_variant:
|
|
590
|
+
payment_gateway_variant: N,
|
|
571
591
|
adyen: z,
|
|
572
|
-
return_url:
|
|
592
|
+
return_url: M
|
|
573
593
|
}).then(
|
|
574
|
-
(
|
|
594
|
+
(_) => j(_, {
|
|
575
595
|
paymentMethodType: t.data.paymentMethod.type,
|
|
576
|
-
actions:
|
|
577
|
-
logFailure: (
|
|
596
|
+
actions: n,
|
|
597
|
+
logFailure: (I) => i.error(
|
|
578
598
|
"TOKENIZATION_FAILED",
|
|
579
599
|
`Tokenization failed for payment acceptor with id ${s}`,
|
|
580
|
-
|
|
600
|
+
u({
|
|
581
601
|
reason: "TOKENIZATION_REJECTED",
|
|
582
602
|
paymentMethodType: t.data.paymentMethod.type,
|
|
583
|
-
cause:
|
|
603
|
+
cause: I
|
|
584
604
|
}),
|
|
585
|
-
|
|
605
|
+
I
|
|
586
606
|
)
|
|
587
607
|
})
|
|
588
|
-
).catch((
|
|
589
|
-
|
|
608
|
+
).catch((_) => {
|
|
609
|
+
i.error(
|
|
590
610
|
"TOKENIZATION_FAILED",
|
|
591
611
|
`Tokenization failed for payment acceptor with id ${s}`,
|
|
592
|
-
|
|
612
|
+
u({
|
|
593
613
|
reason: "TOKENIZATION_FAILED",
|
|
594
614
|
paymentMethodType: t.data.paymentMethod.type,
|
|
595
|
-
cause:
|
|
615
|
+
cause: _
|
|
596
616
|
}),
|
|
597
|
-
|
|
598
|
-
),
|
|
617
|
+
_
|
|
618
|
+
), n.resolve({ resultCode: "Error" });
|
|
599
619
|
});
|
|
600
620
|
}
|
|
601
|
-
}).catch((
|
|
602
|
-
|
|
621
|
+
}).catch((d) => {
|
|
622
|
+
i.error(
|
|
603
623
|
"INTEGRATION_ERROR",
|
|
604
624
|
"Unhandled error in payment submission flow",
|
|
605
|
-
|
|
606
|
-
|
|
625
|
+
u({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: d }),
|
|
626
|
+
d
|
|
607
627
|
);
|
|
608
628
|
});
|
|
609
629
|
}
|
|
@@ -613,32 +633,32 @@ const Ze = (d) => {
|
|
|
613
633
|
const o = e.action;
|
|
614
634
|
if (o.payment_gateway_variant != "ADYEN")
|
|
615
635
|
return;
|
|
616
|
-
const
|
|
636
|
+
const n = o.adyen;
|
|
617
637
|
return {
|
|
618
|
-
paymentMethodType: (
|
|
638
|
+
paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
|
|
619
639
|
method: o.method,
|
|
620
640
|
url: o.url,
|
|
621
641
|
data: o.data,
|
|
622
|
-
type:
|
|
623
|
-
paymentData:
|
|
624
|
-
sdkData:
|
|
642
|
+
type: n == null ? void 0 : n.action_type,
|
|
643
|
+
paymentData: n == null ? void 0 : n.payment_data,
|
|
644
|
+
sdkData: n == null ? void 0 : n.sdk_data
|
|
625
645
|
};
|
|
626
646
|
}
|
|
627
647
|
function me(...e) {
|
|
628
|
-
const [t] = e, o = t.data.details,
|
|
629
|
-
if (
|
|
648
|
+
const [t] = e, o = t.data.details, n = t.data.paymentData;
|
|
649
|
+
if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
630
650
|
Z({
|
|
631
651
|
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
632
652
|
detailsResult: o ? pe(o) : void 0,
|
|
633
|
-
paymentDataResult:
|
|
634
|
-
paymentAcceptorId:
|
|
653
|
+
paymentDataResult: n,
|
|
654
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
635
655
|
});
|
|
636
656
|
return;
|
|
637
657
|
}
|
|
638
|
-
|
|
658
|
+
i.error(
|
|
639
659
|
"PAYMENT_ACCEPTOR_MISSING",
|
|
640
660
|
"Additional details arrived without a payment acceptor id",
|
|
641
|
-
|
|
661
|
+
u({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
642
662
|
), h({
|
|
643
663
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
644
664
|
message: "Payment failed",
|
|
@@ -652,10 +672,10 @@ const Ze = (d) => {
|
|
|
652
672
|
}
|
|
653
673
|
function ye(...e) {
|
|
654
674
|
const [t] = e;
|
|
655
|
-
|
|
675
|
+
i.error(
|
|
656
676
|
"ADYEN_PAYMENT_FAILED",
|
|
657
677
|
"Adyen reported the payment as failed",
|
|
658
|
-
|
|
678
|
+
u({
|
|
659
679
|
reason: "ADYEN_PAYMENT_FAILED",
|
|
660
680
|
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
661
681
|
}),
|
|
@@ -664,14 +684,14 @@ const Ze = (d) => {
|
|
|
664
684
|
}
|
|
665
685
|
function le(...e) {
|
|
666
686
|
const [, t] = e;
|
|
667
|
-
t == null || t.unmount(),
|
|
687
|
+
t == null || t.unmount(), p("payment-success");
|
|
668
688
|
}
|
|
669
689
|
function he(...e) {
|
|
670
690
|
const [t, o] = e;
|
|
671
|
-
t.name !== "CANCEL" && (
|
|
691
|
+
t.name !== "CANCEL" && (i.error(
|
|
672
692
|
"INTEGRATION_ERROR",
|
|
673
693
|
"The Adyen drop-in reported an error",
|
|
674
|
-
|
|
694
|
+
u({
|
|
675
695
|
reason: "ADYEN_INTEGRATION_ERROR",
|
|
676
696
|
cause: t,
|
|
677
697
|
extra: { adyenErrorName: t.name }
|
|
@@ -683,26 +703,26 @@ const Ze = (d) => {
|
|
|
683
703
|
detailsResult: e,
|
|
684
704
|
threeDSResult: t,
|
|
685
705
|
redirectResult: o,
|
|
686
|
-
paymentDataResult:
|
|
687
|
-
paymentAcceptorId:
|
|
706
|
+
paymentDataResult: n,
|
|
707
|
+
paymentAcceptorId: d
|
|
688
708
|
}) {
|
|
689
709
|
te({
|
|
690
|
-
paymentAcceptorId:
|
|
691
|
-
paymentGatewayVariant:
|
|
710
|
+
paymentAcceptorId: d,
|
|
711
|
+
paymentGatewayVariant: N,
|
|
692
712
|
adyen: {
|
|
693
713
|
...e ? { details: e } : {},
|
|
694
714
|
...o ? { redirect_result: o } : {},
|
|
695
715
|
...t ? { threeds_result: t } : {},
|
|
696
|
-
...
|
|
716
|
+
...n ? { payment_data: n } : {}
|
|
697
717
|
}
|
|
698
718
|
}).then((s) => {
|
|
699
719
|
if (s.payment_status === "FAILURE") {
|
|
700
|
-
|
|
720
|
+
i.error(
|
|
701
721
|
"PAYMENT_DETAILS_REJECTED",
|
|
702
722
|
"Payment details returned a failed payment",
|
|
703
|
-
|
|
723
|
+
u({
|
|
704
724
|
reason: "PAYMENT_DETAILS_REJECTED",
|
|
705
|
-
paymentAcceptorId:
|
|
725
|
+
paymentAcceptorId: d,
|
|
706
726
|
extra: { paymentStatus: s.payment_status }
|
|
707
727
|
})
|
|
708
728
|
), h({
|
|
@@ -713,16 +733,16 @@ const Ze = (d) => {
|
|
|
713
733
|
return;
|
|
714
734
|
}
|
|
715
735
|
if (s.payment_status === "SUCCESS") {
|
|
716
|
-
|
|
736
|
+
p("payment-success");
|
|
717
737
|
return;
|
|
718
738
|
}
|
|
719
739
|
}).catch((s) => {
|
|
720
|
-
|
|
740
|
+
i.error(
|
|
721
741
|
"PAYMENT_DETAILS_CALL_FAILED",
|
|
722
742
|
"Failed fetching payment details",
|
|
723
|
-
|
|
743
|
+
u({
|
|
724
744
|
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
725
|
-
paymentAcceptorId:
|
|
745
|
+
paymentAcceptorId: d,
|
|
726
746
|
cause: s
|
|
727
747
|
}),
|
|
728
748
|
s
|
|
@@ -737,10 +757,10 @@ const Ze = (d) => {
|
|
|
737
757
|
const e = J(Ce), t = J(Le);
|
|
738
758
|
if (e) {
|
|
739
759
|
if (!t) {
|
|
740
|
-
|
|
760
|
+
i.error(
|
|
741
761
|
"INVALID_REDIRECT_RESULT",
|
|
742
762
|
"Redirect result is set but payment acceptor id is missing",
|
|
743
|
-
|
|
763
|
+
u({ reason: "INVALID_REDIRECT_RESULT" })
|
|
744
764
|
), h({
|
|
745
765
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
746
766
|
message: "Redirect result is set but payment acceptor id is missing"
|
|
@@ -759,40 +779,40 @@ const Ze = (d) => {
|
|
|
759
779
|
F(), _e();
|
|
760
780
|
}), fe(() => {
|
|
761
781
|
Y();
|
|
762
|
-
}),
|
|
763
|
-
() =>
|
|
782
|
+
}), ge(
|
|
783
|
+
() => a.paymentMethodOptionResponseEntry,
|
|
764
784
|
(e, t) => {
|
|
765
785
|
Ne(e, t) || F();
|
|
766
786
|
},
|
|
767
787
|
{ deep: !0 }
|
|
768
|
-
), (e, t) => (
|
|
769
|
-
w.value ? (
|
|
788
|
+
), (e, t) => (g(), C(Ae, null, [
|
|
789
|
+
w.value ? (g(), k(Pe, {
|
|
770
790
|
key: 0,
|
|
771
|
-
variant:
|
|
772
|
-
redirecting:
|
|
773
|
-
}, null, 8, ["variant", "redirecting"])) : P.value ? (
|
|
791
|
+
variant: c.variant,
|
|
792
|
+
redirecting: c.redirectsOnSuccess
|
|
793
|
+
}, null, 8, ["variant", "redirecting"])) : P.value ? (g(), k(ve, {
|
|
774
794
|
key: 1,
|
|
775
795
|
error: P.value
|
|
776
|
-
}, null, 8, ["error"])) :
|
|
777
|
-
B.value ? (
|
|
796
|
+
}, null, 8, ["error"])) : D("", !0),
|
|
797
|
+
B.value ? (g(), C("div", {
|
|
778
798
|
key: 2,
|
|
779
799
|
ref_key: "dropInContainerRef",
|
|
780
|
-
ref:
|
|
781
|
-
}, null, 512)) :
|
|
782
|
-
f.value ? (
|
|
800
|
+
ref: y
|
|
801
|
+
}, null, 512)) : D("", !0),
|
|
802
|
+
f.value ? (g(), k(Ie, {
|
|
783
803
|
key: 3,
|
|
784
804
|
to: f.value
|
|
785
805
|
}, [
|
|
786
806
|
Te("div", {
|
|
787
807
|
ref_key: "sepaNoticeRef",
|
|
788
|
-
ref:
|
|
808
|
+
ref: R
|
|
789
809
|
}, [
|
|
790
|
-
|
|
810
|
+
L(Ge, { "billing-entity-name": c.billingEntityName }, null, 8, ["billing-entity-name"])
|
|
791
811
|
], 512)
|
|
792
|
-
], 8, ["to"])) :
|
|
812
|
+
], 8, ["to"])) : D("", !0)
|
|
793
813
|
], 64));
|
|
794
814
|
}
|
|
795
815
|
});
|
|
796
816
|
export {
|
|
797
|
-
|
|
817
|
+
at as default
|
|
798
818
|
};
|