@solvimon/solvimon-web 0.1.0-alpha.22 → 0.1.0-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js} +1 -1
- package/dist/Alert.vue.es-RyK53a2P.js +1 -0
- package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
- package/dist/{Avatar.vue.es-DNJ-jexx.mjs → Avatar.vue.es-DzjFvLuK.mjs} +1 -1
- package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-nr8srGuK.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
- package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
- package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-TCF-bvDF.js} +1 -1
- package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
- package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
- package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-CAoisngJ.js} +1 -1
- package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DpcOM3Ai.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
- package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +15 -15
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +1 -0
- package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
- package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
- package/dist/ErrorNotification.vue.es-BF6swP7o.js +1 -0
- package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +2 -2
- package/dist/IconButton.vue.es-CB1lIPao.js +1 -0
- package/dist/IconButton.vue.es-DGflbWFk.mjs +56 -0
- package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
- package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
- package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
- package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-CREdT4nB.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
- package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-BbdtdxsO.js} +1 -1
- package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs +294 -0
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js} +1 -1
- package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
- package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
- package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
- package/dist/PaymentIntegrationFormAdyen-CyZk9ofV.mjs +798 -0
- package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +102 -0
- package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +251 -179
- package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
- package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
- package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
- package/dist/PlanCustomizationEditor-0kEXoOcM.js +1 -0
- package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
- package/dist/RadioGroupExtended.vue.es-Cf5R1P9a.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +3 -3
- package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-CBZx5x53.js} +1 -1
- package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-KRsHeFoT.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
- package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
- package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-B6b6xf-E.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +12 -12
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
- package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
- package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
- package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
- package/dist/{cn.es-BGqYNPM3.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
- package/dist/{cn.es-CvmLj7KH.js → cn.es-BLE3T5Rx.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +10 -10
- 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 +8 -8
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +26 -23
- package/dist/customElements-CSzbVZIH.js +1211 -0
- package/dist/{customElements-CSE7dwUr.mjs → customElements-DT1YyL4O.mjs} +663 -626
- package/dist/{customer-Dsq-Moea.js → customer-CJonIvSm.js} +1 -1
- package/dist/{customer-5krPxZ8i.mjs → customer-Cq4fF__H.mjs} +1 -1
- package/dist/{de-DE-DsFtpLsx.mjs → de-DE-CyvjSD9b.mjs} +26 -2
- package/dist/{de-DE-C3DzP1nj.js → de-DE-DXsDvO5y.js} +1 -1
- package/dist/{en-US-X_pSFsNm.js → en-US-DHdI11k9.js} +1 -1
- package/dist/{en-US-DvkvbV0p.mjs → en-US-xQrWj8qI.mjs} +24 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-DRgfpkJ6.mjs → invoices-CVZOfEOY.mjs} +1 -1
- package/dist/{invoices-xOV2YaEV.js → invoices-EamWI_jz.js} +1 -1
- package/dist/{it-IT-TE7oqvXa.mjs → it-IT-C09oObBM.mjs} +26 -2
- package/dist/{it-IT-YBtHAao1.js → it-IT-CcRIzP1A.js} +1 -1
- package/dist/{nl-NL-C8wnyKju.js → nl-NL-5PrgQl8q.js} +1 -1
- package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-BhNND_yi.mjs} +24 -0
- package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
- package/dist/paymentFailure-Cki8c5BX.js +1 -0
- package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-Bwym8l9a.js} +1 -1
- package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-By1SebnO.mjs} +1 -1
- package/dist/{payments-Dvqh6CGW.mjs → payments-BYZLQTJ-.mjs} +1 -1
- package/dist/{payments-jAgXhdp_.js → payments-Dnjg9Se4.js} +1 -1
- 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 +21 -21
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +11 -11
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +21 -21
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
- package/dist/sessionReference-3h-6FdrC.mjs +43 -0
- package/dist/sessionReference-m_6Rp4X1.js +1 -0
- package/dist/subscriptions-BKER9RUc.js +1 -0
- package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-Gj3KgCZz.mjs} +2 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +13 -2
- package/dist/types/services/portals.types.d.ts +2 -0
- package/dist/types/services/requests.types.d.ts +2 -0
- package/dist/types/types/errors.d.ts +5 -0
- package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
- package/dist/url-vloPOiXd.js +1 -0
- package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
- package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
- package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BW0DBEJh.js} +1 -1
- package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
- package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-C773h3J0.js} +1 -1
- package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
- package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9teNYGuP.js} +1 -1
- package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
- package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-DvV2AsgC.js} +1 -1
- package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
- package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
- package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Xnth6s6U.js} +1 -1
- package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
- package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-Cjkc70u-.js} +1 -1
- package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
- package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
- package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
- package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BDFVB-kK.js} +1 -1
- package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
- package/dist/{usePayments-D9Eo-uBk.js → usePayments-CIJocDhR.js} +1 -1
- package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-D_dyuf6S.mjs} +6 -6
- package/dist/{usePortal-DsebXdhx.js → usePortal-BU4ibdWq.js} +1 -1
- package/dist/{usePortal-3VCZwSUE.mjs → usePortal-Br5lYuPT.mjs} +1 -1
- package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-CqRae2I9.mjs} +1 -1
- package/dist/{useSubscription-K_gP9TeX.js → useSubscription-DRBUt9H5.js} +1 -1
- package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
- package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-DDos3-EH.js} +1 -1
- package/package.json +2 -1
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +0 -3747
- package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
- package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +0 -621
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
- package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
- package/dist/component-5wqcK7yz.mjs +0 -8
- package/dist/component-B7ZDyqBp.js +0 -1
- package/dist/customElements-Vox1PB6G.js +0 -1211
- package/dist/subscriptions-fJcj88X9.js +0 -1
- package/dist/url-BNKStNY9.js +0 -1
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { ref as w, defineComponent as b, computed as h, openBlock as l, createBlock as p, withCtx as n, unref as r, createVNode as u, createTextVNode as i, toDisplayString as d, createCommentVNode as _, onBeforeUnmount as C, createElementVNode as g, createElementBlock as k } from "vue";
|
|
2
|
+
import { f as R } from "./formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { a as A, _ as I } from "./Button.vue.es-PbJFK8z7.mjs";
|
|
4
|
+
import { u as T, _ as f } from "./customElements-DT1YyL4O.mjs";
|
|
5
|
+
import { _ as M } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs";
|
|
6
|
+
import { _ as x } from "./IconButton.vue.es-DGflbWFk.mjs";
|
|
7
|
+
const N = () => {
|
|
8
|
+
const e = w(null);
|
|
9
|
+
return [async (t) => {
|
|
10
|
+
if (!(navigator != null && navigator.clipboard))
|
|
11
|
+
return !1;
|
|
12
|
+
try {
|
|
13
|
+
return await navigator.clipboard.writeText(t), e.value = t, !0;
|
|
14
|
+
} catch {
|
|
15
|
+
return e.value = null, !1;
|
|
16
|
+
}
|
|
17
|
+
}, e.value];
|
|
18
|
+
}, H = /* @__PURE__ */ b({
|
|
19
|
+
__name: "PaymentCompletedCard",
|
|
20
|
+
props: {
|
|
21
|
+
amount: { type: Object },
|
|
22
|
+
variant: { type: String },
|
|
23
|
+
redirecting: { type: Boolean }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
const a = e, { $t: t } = T(), o = h(
|
|
27
|
+
() => a.variant === "AUTHORIZE" ? t({
|
|
28
|
+
defaultMessage: "Payment successful",
|
|
29
|
+
description: "The title for when a payment has been successful",
|
|
30
|
+
id: "payment_completed_card.title.authorize"
|
|
31
|
+
}) : t({
|
|
32
|
+
defaultMessage: "Your payment method is added",
|
|
33
|
+
description: "The title for when a payment method was successfully added",
|
|
34
|
+
id: "payment_completed_card.title.tokenize"
|
|
35
|
+
})
|
|
36
|
+
);
|
|
37
|
+
return (c, s) => (l(), p(M, {
|
|
38
|
+
status: "success",
|
|
39
|
+
title: o.value
|
|
40
|
+
}, {
|
|
41
|
+
default: n(() => [
|
|
42
|
+
e.amount ? (l(), p(r(f), {
|
|
43
|
+
key: 0,
|
|
44
|
+
variant: "body-sm",
|
|
45
|
+
class: "mt-1"
|
|
46
|
+
}, {
|
|
47
|
+
default: n(() => [
|
|
48
|
+
u(r(A), { icon: "check" }),
|
|
49
|
+
i(d(r(R)(e.amount)), 1)
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
})) : _("", !0),
|
|
53
|
+
e.redirecting ? (l(), p(r(f), {
|
|
54
|
+
key: 1,
|
|
55
|
+
variant: "body-xs",
|
|
56
|
+
color: "subtle"
|
|
57
|
+
}, {
|
|
58
|
+
default: n(() => [
|
|
59
|
+
i(d(r(t)({
|
|
60
|
+
defaultMessage: "You are being redirected...",
|
|
61
|
+
description: "The text shown after a successful message before a redirect",
|
|
62
|
+
id: "payment_completed_card.redirect_message"
|
|
63
|
+
})), 1)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
})) : _("", !0)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, ["title"]));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
function O(e) {
|
|
73
|
+
return {
|
|
74
|
+
UNKNOWN_ERROR: {
|
|
75
|
+
title: e({
|
|
76
|
+
defaultMessage: "Something went wrong",
|
|
77
|
+
description: "Title of the error card shown when a payment failed for no known reason",
|
|
78
|
+
id: "payments.error_card.unknown_error.title"
|
|
79
|
+
}),
|
|
80
|
+
message: e({
|
|
81
|
+
defaultMessage: "An unknown error has occurred",
|
|
82
|
+
description: "Message of the error card shown when a payment failed for no known reason",
|
|
83
|
+
id: "payments.error_card.unknown_error.message"
|
|
84
|
+
}),
|
|
85
|
+
isReloadButtonVisible: !0
|
|
86
|
+
},
|
|
87
|
+
AUTHORIZATION_FAILED: {
|
|
88
|
+
title: e({
|
|
89
|
+
defaultMessage: "Payment failed",
|
|
90
|
+
description: "Title of the error card shown when a payment was not authorized",
|
|
91
|
+
id: "payments.error_card.authorization_failed.title"
|
|
92
|
+
}),
|
|
93
|
+
message: e({
|
|
94
|
+
defaultMessage: "The payment could not be completed. Try again, or use a different payment method.",
|
|
95
|
+
description: "Message of the error card shown when a payment was not authorized",
|
|
96
|
+
id: "payments.error_card.authorization_failed.message"
|
|
97
|
+
}),
|
|
98
|
+
isReloadButtonVisible: !0
|
|
99
|
+
},
|
|
100
|
+
PAYMENT_DETAILS_CALL_FAILED: {
|
|
101
|
+
title: e({
|
|
102
|
+
defaultMessage: "Payment could not be confirmed",
|
|
103
|
+
description: "Title of the error card shown when the payment details could not be retrieved",
|
|
104
|
+
id: "payments.error_card.payment_details_call_failed.title"
|
|
105
|
+
}),
|
|
106
|
+
message: e({
|
|
107
|
+
defaultMessage: "There was a problem confirming your payment.",
|
|
108
|
+
description: "Message of the error card shown when the payment details could not be retrieved",
|
|
109
|
+
id: "payments.error_card.payment_details_call_failed.message"
|
|
110
|
+
}),
|
|
111
|
+
isReloadButtonVisible: !0
|
|
112
|
+
},
|
|
113
|
+
PAYMENT_METHOD_STORAGE_FAILED: {
|
|
114
|
+
title: e({
|
|
115
|
+
defaultMessage: "Payment method could not be saved",
|
|
116
|
+
description: "Title of the error card shown when storing a payment method failed",
|
|
117
|
+
id: "payments.error_card.payment_method_storage_failed.title"
|
|
118
|
+
}),
|
|
119
|
+
message: e({
|
|
120
|
+
defaultMessage: "Something went wrong while saving your payment method.",
|
|
121
|
+
description: "Message of the error card shown when storing a payment method failed",
|
|
122
|
+
id: "payments.error_card.payment_method_storage_failed.message"
|
|
123
|
+
}),
|
|
124
|
+
isReloadButtonVisible: !0
|
|
125
|
+
},
|
|
126
|
+
REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING: {
|
|
127
|
+
title: e({
|
|
128
|
+
defaultMessage: "Payment could not be completed",
|
|
129
|
+
description: "Title of the error card shown when a redirect returned without a payment acceptor",
|
|
130
|
+
id: "payments.error_card.redirect_result_payment_acceptor_missing.title"
|
|
131
|
+
}),
|
|
132
|
+
message: e({
|
|
133
|
+
defaultMessage: "Your payment could not be matched to this order.",
|
|
134
|
+
description: "Message of the error card shown when a redirect returned without a payment acceptor",
|
|
135
|
+
id: "payments.error_card.redirect_result_payment_acceptor_missing.message"
|
|
136
|
+
})
|
|
137
|
+
},
|
|
138
|
+
TOKENIZE_FAILED: {
|
|
139
|
+
title: e({
|
|
140
|
+
defaultMessage: "Payment method could not be saved",
|
|
141
|
+
description: "Title of the error card shown when tokenization failed",
|
|
142
|
+
id: "payments.error_card.tokenize_failed.title"
|
|
143
|
+
}),
|
|
144
|
+
message: e({
|
|
145
|
+
defaultMessage: "Your payment method could not be saved. Try again, or use a different one.",
|
|
146
|
+
description: "Message of the error card shown when tokenization failed",
|
|
147
|
+
id: "payments.error_card.tokenize_failed.message"
|
|
148
|
+
}),
|
|
149
|
+
isReloadButtonVisible: !0
|
|
150
|
+
},
|
|
151
|
+
PAYMENT_INTEGRATION_INITIALIZATION_FAILED: {
|
|
152
|
+
title: e({
|
|
153
|
+
defaultMessage: "Payment methods could not be loaded",
|
|
154
|
+
description: "Title of the error card shown when the payment form failed to load",
|
|
155
|
+
id: "payments.error_card.payment_integration_initialization_failed.title"
|
|
156
|
+
}),
|
|
157
|
+
message: e({
|
|
158
|
+
defaultMessage: "The payment form could not be loaded.",
|
|
159
|
+
description: "Message of the error card shown when the payment form failed to load",
|
|
160
|
+
id: "payments.error_card.payment_integration_initialization_failed.message"
|
|
161
|
+
}),
|
|
162
|
+
isReloadButtonVisible: !0
|
|
163
|
+
},
|
|
164
|
+
RESOURCE_REVOKED: {
|
|
165
|
+
title: e({
|
|
166
|
+
defaultMessage: "This page is no longer available",
|
|
167
|
+
description: "Title of the error card shown when the portal resource was revoked",
|
|
168
|
+
id: "payments.error_card.resource_revoked.title"
|
|
169
|
+
}),
|
|
170
|
+
message: e({
|
|
171
|
+
defaultMessage: "The link you followed has expired or was withdrawn.",
|
|
172
|
+
description: "Message of the error card shown when the portal resource was revoked",
|
|
173
|
+
id: "payments.error_card.resource_revoked.message"
|
|
174
|
+
}),
|
|
175
|
+
isReloadButtonVisible: !0
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
const P = 2e3;
|
|
180
|
+
function B({ resetAfterMs: e = P } = {}) {
|
|
181
|
+
const [a] = N(), t = w(!1);
|
|
182
|
+
let o;
|
|
183
|
+
const c = async (s) => {
|
|
184
|
+
const m = await a(s);
|
|
185
|
+
return t.value = m, m && (clearTimeout(o), o = setTimeout(() => {
|
|
186
|
+
t.value = !1;
|
|
187
|
+
}, e)), m;
|
|
188
|
+
};
|
|
189
|
+
return C(() => clearTimeout(o)), { copy: c, hasCopied: t };
|
|
190
|
+
}
|
|
191
|
+
const z = { class: "flex flex-col items-center gap-6" }, L = {
|
|
192
|
+
key: 1,
|
|
193
|
+
class: "flex flex-col items-center gap-1"
|
|
194
|
+
}, V = { class: "flex items-center gap-1" }, j = /* @__PURE__ */ b({
|
|
195
|
+
__name: "PaymentErrorCard",
|
|
196
|
+
props: {
|
|
197
|
+
error: { type: Object }
|
|
198
|
+
},
|
|
199
|
+
setup(e) {
|
|
200
|
+
const a = e, { $t: t } = T(), { copy: o, hasCopied: c } = B(), s = h(() => O(t)[a.error.code]), m = () => {
|
|
201
|
+
window.location.reload();
|
|
202
|
+
}, y = h(
|
|
203
|
+
() => t({
|
|
204
|
+
defaultMessage: "Copy reference",
|
|
205
|
+
description: "Label of the button that copies the payment error reference",
|
|
206
|
+
id: "payments.error_card.reference.copy.label"
|
|
207
|
+
})
|
|
208
|
+
), v = h(
|
|
209
|
+
() => t({
|
|
210
|
+
defaultMessage: "Copied",
|
|
211
|
+
description: "Confirmation shown after copying the payment error reference",
|
|
212
|
+
id: "payments.error_card.reference.copied.label"
|
|
213
|
+
})
|
|
214
|
+
), E = () => {
|
|
215
|
+
a.error.reference && o(a.error.reference);
|
|
216
|
+
};
|
|
217
|
+
return (D, S) => (l(), p(M, {
|
|
218
|
+
status: "error",
|
|
219
|
+
title: s.value.title
|
|
220
|
+
}, {
|
|
221
|
+
default: n(() => [
|
|
222
|
+
g("div", z, [
|
|
223
|
+
u(r(f), {
|
|
224
|
+
variant: "body-xs",
|
|
225
|
+
color: "subtle",
|
|
226
|
+
class: "mt-3"
|
|
227
|
+
}, {
|
|
228
|
+
default: n(() => [
|
|
229
|
+
i(d(s.value.message), 1)
|
|
230
|
+
]),
|
|
231
|
+
_: 1
|
|
232
|
+
}),
|
|
233
|
+
s.value.isReloadButtonVisible ? (l(), p(r(I), {
|
|
234
|
+
key: 0,
|
|
235
|
+
type: "button",
|
|
236
|
+
intent: "secondary",
|
|
237
|
+
onClick: m
|
|
238
|
+
}, {
|
|
239
|
+
default: n(() => [
|
|
240
|
+
i(d(r(t)({
|
|
241
|
+
defaultMessage: "Try again",
|
|
242
|
+
description: "Retry button text when an error has happened during a payment",
|
|
243
|
+
id: "payments.retry_button.label"
|
|
244
|
+
})), 1)
|
|
245
|
+
]),
|
|
246
|
+
_: 1
|
|
247
|
+
})) : _("", !0),
|
|
248
|
+
e.error.reference ? (l(), k("div", L, [
|
|
249
|
+
u(r(f), {
|
|
250
|
+
variant: "body-xs",
|
|
251
|
+
color: "subtle"
|
|
252
|
+
}, {
|
|
253
|
+
default: n(() => [
|
|
254
|
+
i(d(r(t)({
|
|
255
|
+
defaultMessage: "Share this reference with support if the problem continues",
|
|
256
|
+
description: "Explains what the reference below a failed payment is for",
|
|
257
|
+
id: "payments.error_card.reference.description"
|
|
258
|
+
})), 1)
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
}),
|
|
262
|
+
g("div", V, [
|
|
263
|
+
u(r(f), {
|
|
264
|
+
variant: "body-xs",
|
|
265
|
+
tag: "span",
|
|
266
|
+
class: "select-all font-mono",
|
|
267
|
+
"data-testid": "payment-error-reference"
|
|
268
|
+
}, {
|
|
269
|
+
default: n(() => [
|
|
270
|
+
i(d(e.error.reference), 1)
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}),
|
|
274
|
+
u(r(x), {
|
|
275
|
+
type: "button",
|
|
276
|
+
intent: "subtle",
|
|
277
|
+
size: "sm",
|
|
278
|
+
icon: r(c) ? "check" : "content_copy",
|
|
279
|
+
"aria-label": y.value,
|
|
280
|
+
tooltip: r(c) ? v.value : y.value,
|
|
281
|
+
onClick: E
|
|
282
|
+
}, null, 8, ["icon", "aria-label", "tooltip"])
|
|
283
|
+
])
|
|
284
|
+
])) : _("", !0)
|
|
285
|
+
])
|
|
286
|
+
]),
|
|
287
|
+
_: 1
|
|
288
|
+
}, 8, ["title"]));
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
export {
|
|
292
|
+
H as _,
|
|
293
|
+
j as a
|
|
294
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as r, createBlock as c, unref as t, withCtx as s, createElementVNode as i, createVNode as n, normalizeClass as m, createTextVNode as d, toDisplayString as u, renderSlot as f, createCommentVNode as _ } from "vue";
|
|
2
|
-
import { a as p } from "./Button.vue.es-
|
|
3
|
-
import { _ as g } from "./Section.vue.es-
|
|
4
|
-
import { _ as o } from "./customElements-
|
|
2
|
+
import { a as p } from "./Button.vue.es-PbJFK8z7.mjs";
|
|
3
|
+
import { _ as g } from "./Section.vue.es-KRsHeFoT.mjs";
|
|
4
|
+
import { _ as o } from "./customElements-DT1YyL4O.mjs";
|
|
5
5
|
const y = { class: "flex flex-col items-center py-10" }, v = /* @__PURE__ */ l({
|
|
6
6
|
__name: "PaymentFeedbackCard",
|
|
7
7
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),n=require("./Button.vue.es-
|
|
1
|
+
const e=require("vue"),n=require("./Button.vue.es-TCF-bvDF.js"),a=require("./Section.vue.es-CBZx5x53.js"),c=require("./customElements-CSzbVZIH.js"),r={class:"flex flex-col items-center py-10"},i=e.defineComponent({__name:"PaymentFeedbackCard",props:{status:{default:"success",type:String},title:{type:String}},setup(t){return(s,l)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main),null,{default:e.withCtx(()=>[e.createElementVNode("div",r,[e.createVNode(e.unref(n._sfc_main$1),{icon:t.status==="success"?"check_circle":"error",class:e.normalizeClass({"text-green-400":t.status==="success","text-red-600":t.status==="error"}),size:"lg"},null,8,["icon","class"]),e.createVNode(e.unref(c._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),s.$slots.default?(e.openBlock(),e.createBlock(e.unref(c._sfc_main),{key:0,tag:"div",variant:"body-sm"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})):e.createCommentVNode("",!0)])]),_:3}))}});exports._sfc_main=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js");exports.default=e._sfc_main;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as f, openBlock as s, createElementBlock as _, createVNode as o, unref as e, withCtx as a, createTextVNode as i, toDisplayString as n, createElementVNode as c, Fragment as h, renderList as u, createBlock as d, createCommentVNode as g } from "vue";
|
|
2
|
-
import { _ as v } from "./PaymentMethod.vue.es-
|
|
2
|
+
import { _ as v } from "./PaymentMethod.vue.es-C0j580g7.mjs";
|
|
3
3
|
import { a as E } from "./formatting.es-RclXHhKo.mjs";
|
|
4
|
-
import { _ as D } from "./Chip.vue.es-
|
|
5
|
-
import { _ as N } from "./Section.vue.es-
|
|
6
|
-
import { u as k, _ as l } from "./customElements-
|
|
4
|
+
import { _ as D } from "./Chip.vue.es-DpcOM3Ai.mjs";
|
|
5
|
+
import { _ as N } from "./Section.vue.es-KRsHeFoT.mjs";
|
|
6
|
+
import { u as k, _ as l } from "./customElements-DT1YyL4O.mjs";
|
|
7
7
|
const R = { class: "sv-payment-history" }, x = { class: "sv-payment-history__items flex flex-col-reverse gap-1" }, C = { class: "sv-payment-history__item-header mb-2 flex items-center justify-between" }, U = /* @__PURE__ */ f({
|
|
8
8
|
__name: "PaymentHistoryBlock",
|
|
9
9
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("vue"),o=require("./PaymentMethod.vue.es-
|
|
1
|
+
const e=require("vue"),o=require("./PaymentMethod.vue.es-CXV_ThBY.js"),c=require("./formatting.es-C72Nsrmh.js"),m=require("./Chip.vue.es-CAoisngJ.js"),_=require("./Section.vue.es-CBZx5x53.js"),n=require("./customElements-CSzbVZIH.js"),d={class:"sv-payment-history"},l={class:"sv-payment-history__items flex flex-col-reverse gap-1"},y={class:"sv-payment-history__item-header mb-2 flex items-center justify-between"},u=e.defineComponent({__name:"PaymentHistoryBlock",props:{paymentAttempts:{type:Array},customer:{type:Object}},setup(s){const{$t:a,formatDate:i}=n.useIntl(),r={AUTHORIZED:"success",CANCELLED:"danger",ERROR:"danger",PENDING:"warning",PENDING_REFUND:"warning",REFUNDED:"warning",CHARGED_BACK:"warning",REFUSED:"danger"};return(f,p)=>(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(e.unref(n._sfc_main),{tag:"h2",variant:"heading-3",class:"sv-payment-history__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment history",description:"Title for the payment history block on the invoice details page",id:"sdk.invoice_details.payment_history.title"})),1)]),_:1}),e.createElementVNode("div",l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.paymentAttempts,t=>(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:t.id,class:"sv-payment-history__item mt-1 md:mt-2"},{default:e.withCtx(()=>[e.createElementVNode("div",y,[e.createVNode(e.unref(n._sfc_main),{variant:"caps-heading",class:"sv-payment-history__item-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Payment attempt",description:"Title for the payment attempt block",id:"sdk.invoice_details.payment_history.payment_attempt"})),1)]),_:1}),e.createVNode(e.unref(m._sfc_main),{class:"sv-payment-history__item-status",intent:r[t.result]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c.formatEnum)(t.result)),1)]),_:2},1032,["intent"])]),t.payment_method_details?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,class:"sv-payment-history__payment-method","payment-method":t.payment_method_details},{description:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({date:t.created_at,format:"dateTime",offsetType:"offsetted",timezone:s.customer.timezone})),1)]),_:2},1032,["payment-method"])):e.createCommentVNode("",!0)]),_:2},1024))),128))])]))}});exports._sfc_main=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js");exports.default=e._sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("vue"),B=require("./FormMessage.vue.es-dqATjC2N.js"),E=require("./customElements-CSzbVZIH.js"),$=require("./adyen-Druit6gz.js"),S=e=>{var o;return((o=e.integration.payment_gateway)==null?void 0:o.variant)==="ADYEN"},I=e=>{var o;return((o=e.integration.payment_gateway)==null?void 0:o.variant)==="STRIPE"},v=({selectedIntegration:e,paymentMethodOption:o})=>{var i,s;return e===((s=(i=o.integration)==null?void 0:i.payment_gateway)==null?void 0:s.variant)},w=(e,{excludeExpressPaymentMethods:o=!1}={})=>{var i;return S(e)?$.getAdyenDropInPaymentMethods(e,{excludeExpressPaymentMethods:o}).length>0:I(e)?!!((i=e.integration.payment_gateway.stripe)!=null&&i.public_key):!1},F=(e,o={})=>e.some(i=>w(i,o)),C=t.defineComponent({__name:"PaymentIntegrationForm",props:{customerId:{type:String},variant:{type:String},context:{type:Object},paymentMethodOptions:{type:Array},countryCode:{type:String},invoiceId:{type:String},amount:{type:Object},selectedOption:{type:String},email:{type:String},name:{type:String},validateOnSubmit:{type:Function},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean},billingEntityName:{type:String}},emits:["select","payment-failed","payment-success","ready"],setup(e,{expose:o,emit:i}){const s=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormStripe-Bs4F7oK_.js")).then(a=>a.default)),b=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormAdyen-BQXXwpUK.js")).then(a=>a.default)),c=e,P=i;o({submit:h});const{$t:k}=E.useIntl(),d=t.ref(),l=t.computed(()=>{var a,n;return d.value??((n=(a=c.paymentMethodOptions[0])==null?void 0:a.integration.payment_gateway)==null?void 0:n.variant)}),y=t.ref(new Map),u=t.ref(!1),g=({paymentGatewayVariant:a,paymentMethodType:n})=>{u.value=!1,d.value=a,P("select",{paymentGatewayVariant:a,paymentMethodType:n})},f=a=>n=>{var r;return y.value.set((r=a.integration.payment_gateway)==null?void 0:r.variant,n)};function h(){var a,n;l.value||(u.value=!0,(a=c.validateOnSubmit)==null||a.call(c)),(n=y.value.get(l.value))==null||n.submit()}return(a,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.paymentMethodOptions,r=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:r.integration.id},[t.unref(S)(r)?(t.openBlock(),t.createBlock(t.unref(b),{key:0,ref_for:!0,ref:f(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(v)({selectedIntegration:l.value,paymentMethodOption:r}),"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,"billing-entity-name":e.billingEntityName,onSelect:g,onPaymentFailed:n[0]||(n[0]=m=>a.$emit("payment-failed",m)),onPaymentSuccess:n[1]||(n[1]=m=>a.$emit("payment-success")),onReady:n[2]||(n[2]=m=>a.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success","billing-entity-name"])):t.unref(I)(r)?(t.openBlock(),t.createBlock(t.unref(s),{key:1,ref_for:!0,ref:f(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(v)({selectedIntegration:l.value,paymentMethodOption:r}),email:e.email,name:e.name,"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,"billing-entity-name":e.billingEntityName,onSelect:g,onPaymentFailed:n[3]||(n[3]=m=>a.$emit("payment-failed",m)),onPaymentSuccess:n[4]||(n[4]=m=>a.$emit("payment-success")),onReady:n[5]||(n[5]=m=>a.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","email","name","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success","billing-entity-name"])):t.createCommentVNode("",!0)],64))),128)),u.value?(t.openBlock(),t.createBlock(t.unref(B._sfc_main),{key:0,variant:"error",class:"mt-2"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(k)({defaultMessage:"Select a payment method",id:"payment_integration_form.select_payment_method_error",description:"Error shown when no payment method is selected"})),1)]),_:1})):t.createCommentVNode("",!0)],64))}});exports._sfc_main=C;exports.hasRenderablePaymentIntegration=F;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, defineAsyncComponent as h, ref as u, computed as A, openBlock as s, createElementBlock as g, Fragment as v, renderList as B, unref as r, createBlock as f, createCommentVNode as $, withCtx as N, createTextVNode as D, toDisplayString as j } from "vue";
|
|
2
2
|
import { _ as O } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
3
|
-
import { u as T } from "./customElements-
|
|
3
|
+
import { u as T } from "./customElements-DT1YyL4O.mjs";
|
|
4
4
|
import { g as L } from "./adyen-CvsH5fok.mjs";
|
|
5
|
-
const
|
|
5
|
+
const k = (e) => {
|
|
6
6
|
var a;
|
|
7
7
|
return ((a = e.integration.payment_gateway) == null ? void 0 : a.variant) === "ADYEN";
|
|
8
|
-
},
|
|
8
|
+
}, E = (e) => {
|
|
9
9
|
var a;
|
|
10
10
|
return ((a = e.integration.payment_gateway) == null ? void 0 : a.variant) === "STRIPE";
|
|
11
11
|
}, w = ({
|
|
12
12
|
selectedIntegration: e,
|
|
13
13
|
paymentMethodOption: a
|
|
14
14
|
}) => {
|
|
15
|
-
var
|
|
16
|
-
return e === ((c = (
|
|
15
|
+
var o, c;
|
|
16
|
+
return e === ((c = (o = a.integration) == null ? void 0 : o.payment_gateway) == null ? void 0 : c.variant);
|
|
17
17
|
}, M = (e, { excludeExpressPaymentMethods: a = !1 } = {}) => {
|
|
18
|
-
var
|
|
19
|
-
return
|
|
18
|
+
var o;
|
|
19
|
+
return k(e) ? L(e, { excludeExpressPaymentMethods: a }).length > 0 : E(e) ? !!((o = e.integration.payment_gateway.stripe) != null && o.public_key) : !1;
|
|
20
20
|
}, H = (e, a = {}) => e.some(
|
|
21
|
-
(
|
|
22
|
-
), J = /* @__PURE__ */
|
|
21
|
+
(o) => M(o, a)
|
|
22
|
+
), J = /* @__PURE__ */ x({
|
|
23
23
|
__name: "PaymentIntegrationForm",
|
|
24
24
|
props: {
|
|
25
25
|
customerId: { type: String },
|
|
@@ -35,93 +35,96 @@ const p = (e) => {
|
|
|
35
35
|
validateOnSubmit: { type: Function },
|
|
36
36
|
forceStorePaymentMethod: { type: Boolean },
|
|
37
37
|
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
38
|
-
redirectsOnSuccess: { type: Boolean }
|
|
38
|
+
redirectsOnSuccess: { type: Boolean },
|
|
39
|
+
billingEntityName: { type: String }
|
|
39
40
|
},
|
|
40
41
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
41
|
-
setup(e, { expose: a, emit:
|
|
42
|
+
setup(e, { expose: a, emit: o }) {
|
|
42
43
|
const c = h(
|
|
43
|
-
() => import("./PaymentIntegrationFormStripe-
|
|
44
|
+
() => import("./PaymentIntegrationFormStripe-D-GaLHwc.mjs").then(
|
|
44
45
|
(n) => n.default
|
|
45
46
|
)
|
|
46
47
|
), C = h(
|
|
47
|
-
() => import("./PaymentIntegrationFormAdyen-
|
|
48
|
+
() => import("./PaymentIntegrationFormAdyen-CyZk9ofV.mjs").then(
|
|
48
49
|
(n) => n.default
|
|
49
50
|
)
|
|
50
|
-
), d = e, F =
|
|
51
|
-
a({ submit:
|
|
52
|
-
const { $t: R } = T(), S =
|
|
51
|
+
), d = e, F = o;
|
|
52
|
+
a({ submit: p });
|
|
53
|
+
const { $t: R } = T(), S = u(), l = A(
|
|
53
54
|
() => {
|
|
54
55
|
var n, t;
|
|
55
56
|
return S.value ?? ((t = (n = d.paymentMethodOptions[0]) == null ? void 0 : n.integration.payment_gateway) == null ? void 0 : t.variant);
|
|
56
57
|
}
|
|
57
|
-
), I =
|
|
58
|
+
), I = u(/* @__PURE__ */ new Map()), y = u(!1), b = ({
|
|
58
59
|
paymentGatewayVariant: n,
|
|
59
60
|
paymentMethodType: t
|
|
60
61
|
}) => {
|
|
61
62
|
y.value = !1, S.value = n, F("select", { paymentGatewayVariant: n, paymentMethodType: t });
|
|
62
|
-
},
|
|
63
|
-
var
|
|
64
|
-
return I.value.set((
|
|
63
|
+
}, P = (n) => (t) => {
|
|
64
|
+
var i;
|
|
65
|
+
return I.value.set((i = n.integration.payment_gateway) == null ? void 0 : i.variant, t);
|
|
65
66
|
};
|
|
66
|
-
function
|
|
67
|
+
function p() {
|
|
67
68
|
var n, t;
|
|
68
|
-
|
|
69
|
+
l.value || (y.value = !0, (n = d.validateOnSubmit) == null || n.call(d)), (t = I.value.get(l.value)) == null || t.submit();
|
|
69
70
|
}
|
|
70
|
-
return (n, t) => (s(), v
|
|
71
|
-
(s(!0), v
|
|
72
|
-
key:
|
|
71
|
+
return (n, t) => (s(), g(v, null, [
|
|
72
|
+
(s(!0), g(v, null, B(e.paymentMethodOptions, (i) => (s(), g(v, {
|
|
73
|
+
key: i.integration.id
|
|
73
74
|
}, [
|
|
74
|
-
|
|
75
|
+
r(k)(i) ? (s(), f(r(C), {
|
|
75
76
|
key: 0,
|
|
76
77
|
ref_for: !0,
|
|
77
|
-
ref:
|
|
78
|
+
ref: P(i),
|
|
78
79
|
context: e.context,
|
|
79
|
-
"payment-method-option-response-entry":
|
|
80
|
+
"payment-method-option-response-entry": i,
|
|
80
81
|
"country-code": e.countryCode,
|
|
81
82
|
"customer-id": e.customerId,
|
|
82
83
|
variant: e.variant,
|
|
83
84
|
amount: e.amount,
|
|
84
85
|
"invoice-id": e.invoiceId,
|
|
85
|
-
selected:
|
|
86
|
+
selected: r(w)({ selectedIntegration: l.value, paymentMethodOption: i }),
|
|
86
87
|
"validate-on-submit": e.validateOnSubmit,
|
|
87
88
|
"force-store-payment-method": e.forceStorePaymentMethod,
|
|
88
89
|
"store-payment-method": e.storePaymentMethod,
|
|
89
90
|
"redirects-on-success": e.redirectsOnSuccess,
|
|
90
|
-
|
|
91
|
+
"billing-entity-name": e.billingEntityName,
|
|
92
|
+
onSelect: b,
|
|
91
93
|
onPaymentFailed: t[0] || (t[0] = (m) => n.$emit("payment-failed", m)),
|
|
92
94
|
onPaymentSuccess: t[1] || (t[1] = (m) => n.$emit("payment-success")),
|
|
93
95
|
onReady: t[2] || (t[2] = (m) => n.$emit("ready"))
|
|
94
|
-
}, null, 8, ["context", "payment-method-option-response-entry", "country-code", "customer-id", "variant", "amount", "invoice-id", "selected", "validate-on-submit", "force-store-payment-method", "store-payment-method", "redirects-on-success"])) :
|
|
96
|
+
}, null, 8, ["context", "payment-method-option-response-entry", "country-code", "customer-id", "variant", "amount", "invoice-id", "selected", "validate-on-submit", "force-store-payment-method", "store-payment-method", "redirects-on-success", "billing-entity-name"])) : r(E)(i) ? (s(), f(r(c), {
|
|
95
97
|
key: 1,
|
|
96
98
|
ref_for: !0,
|
|
97
|
-
ref:
|
|
99
|
+
ref: P(i),
|
|
98
100
|
context: e.context,
|
|
99
|
-
"payment-method-option-response-entry":
|
|
101
|
+
"payment-method-option-response-entry": i,
|
|
100
102
|
"country-code": e.countryCode,
|
|
101
103
|
"customer-id": e.customerId,
|
|
102
104
|
variant: e.variant,
|
|
103
105
|
amount: e.amount,
|
|
104
106
|
"invoice-id": e.invoiceId,
|
|
105
|
-
selected:
|
|
107
|
+
selected: r(w)({ selectedIntegration: l.value, paymentMethodOption: i }),
|
|
106
108
|
email: e.email,
|
|
107
109
|
name: e.name,
|
|
108
110
|
"validate-on-submit": e.validateOnSubmit,
|
|
109
111
|
"force-store-payment-method": e.forceStorePaymentMethod,
|
|
110
112
|
"store-payment-method": e.storePaymentMethod,
|
|
111
113
|
"redirects-on-success": e.redirectsOnSuccess,
|
|
112
|
-
|
|
114
|
+
"billing-entity-name": e.billingEntityName,
|
|
115
|
+
onSelect: b,
|
|
113
116
|
onPaymentFailed: t[3] || (t[3] = (m) => n.$emit("payment-failed", m)),
|
|
114
117
|
onPaymentSuccess: t[4] || (t[4] = (m) => n.$emit("payment-success")),
|
|
115
118
|
onReady: t[5] || (t[5] = (m) => n.$emit("ready"))
|
|
116
|
-
}, null, 8, ["context", "payment-method-option-response-entry", "country-code", "customer-id", "variant", "amount", "invoice-id", "selected", "email", "name", "validate-on-submit", "force-store-payment-method", "store-payment-method", "redirects-on-success"])) : $("", !0)
|
|
119
|
+
}, null, 8, ["context", "payment-method-option-response-entry", "country-code", "customer-id", "variant", "amount", "invoice-id", "selected", "email", "name", "validate-on-submit", "force-store-payment-method", "store-payment-method", "redirects-on-success", "billing-entity-name"])) : $("", !0)
|
|
117
120
|
], 64))), 128)),
|
|
118
|
-
y.value ? (s(), f(
|
|
121
|
+
y.value ? (s(), f(r(O), {
|
|
119
122
|
key: 0,
|
|
120
123
|
variant: "error",
|
|
121
124
|
class: "mt-2"
|
|
122
125
|
}, {
|
|
123
|
-
default:
|
|
124
|
-
|
|
126
|
+
default: N(() => [
|
|
127
|
+
D(j(r(R)({
|
|
125
128
|
defaultMessage: "Select a payment method",
|
|
126
129
|
id: "payment_integration_form.select_payment_method_error",
|
|
127
130
|
description: "Error shown when no payment method is selected"
|