@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
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { computed as d, defineComponent as h, toRefs as z, ref as $, openBlock as n, createElementBlock as i, normalizeClass as s, unref as u, createElementVNode as l, createCommentVNode as c, toDisplayString as L, renderSlot as C, useAttrs as A, createBlock as k, withCtx as m, createVNode as y, mergeProps as B, createTextVNode as T } from "vue";
|
|
2
|
-
import { o as j } from "./object.es-8aLDIncs.mjs";
|
|
3
|
-
import { _ as D, T as M, a as N } from "./TooltipParagraph.vue.es-CIedcXGT.mjs";
|
|
4
|
-
import { _ as p } from "./Button.vue.es-Dz-2L8dJ.mjs";
|
|
5
|
-
const V = "py-2 px-4 text-sm", q = {
|
|
6
|
-
danger: "text-feedback-danger",
|
|
7
|
-
neutral: "text-secondary",
|
|
8
|
-
info: "text-feedback-info",
|
|
9
|
-
success: "text-feedback-success",
|
|
10
|
-
warning: "text-feedback-warning"
|
|
11
|
-
}, P = {
|
|
12
|
-
danger: "bg-feedback-danger",
|
|
13
|
-
neutral: "bg-feedback-neutral",
|
|
14
|
-
info: "bg-feedback-info",
|
|
15
|
-
success: "bg-feedback-success",
|
|
16
|
-
warning: "bg-feedback-warning"
|
|
17
|
-
}, S = {
|
|
18
|
-
danger: "rounded-sm border border-red-200",
|
|
19
|
-
neutral: "rounded-sm border border-gray-200",
|
|
20
|
-
info: "rounded-sm border border-blue-200",
|
|
21
|
-
success: "rounded-sm border border-green-200",
|
|
22
|
-
warning: "rounded-sm border border-yellow-200"
|
|
23
|
-
}, E = "ml-auto -mx-1.5 -my-1.5 rounded focus:ring-2 p-1.5 inline-flex h-8 w-8", H = {
|
|
24
|
-
danger: "hover:bg-red-200 focus:ring-red-400 bg-red-100 text-red-500",
|
|
25
|
-
neutral: "hover:bg-gray-200 focus:ring-gray-400 bg-feedback-neutral text-gray-500",
|
|
26
|
-
info: "hover:bg-blue-200 focus:ring-blue-400 bg-blue-100 text-blue-500",
|
|
27
|
-
success: "bg-green-100 text-green-500 focus:ring-green-400 hover:bg-green-200",
|
|
28
|
-
warning: "focus:ring-yellow-400 hover:bg-yellow-200 bg-yellow-100 text-yellow-500"
|
|
29
|
-
};
|
|
30
|
-
function I(e) {
|
|
31
|
-
const f = d(
|
|
32
|
-
() => [
|
|
33
|
-
V,
|
|
34
|
-
P[e.type.value],
|
|
35
|
-
o.value,
|
|
36
|
-
S[e.type.value],
|
|
37
|
-
e.inline.value ? "flex items-center" : ""
|
|
38
|
-
].filter((t) => !!t).join(" ")
|
|
39
|
-
), o = d(() => q[e.type.value] ?? ""), a = d(
|
|
40
|
-
() => [E, H[e.type.value] ?? ""].filter((t) => !!t).join(" ")
|
|
41
|
-
), g = d(() => e.inline.value ? !e.icon.value && !e.title.value ? "" : e.title.value ? "grow ml-1" : "grow ml-2" : "my-2"), b = d(() => !e.icon.value || !e.inline.value ? ["font-medium", e.inline.value ? "" : "text-lg ml-2"].filter((t) => !!t).join(" ") : ["font-medium ml-2", e.inline.value ? "" : "text-lg"].filter((t) => !!t).join(" "));
|
|
42
|
-
return {
|
|
43
|
-
alertClasses: f,
|
|
44
|
-
textClasses: o,
|
|
45
|
-
closeClasses: a,
|
|
46
|
-
contentClasses: g,
|
|
47
|
-
titleClasses: b
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
const R = {
|
|
51
|
-
key: 0,
|
|
52
|
-
class: "ml-auto inline-flex items-center"
|
|
53
|
-
}, Q = /* @__PURE__ */ h({
|
|
54
|
-
__name: "Alert",
|
|
55
|
-
props: {
|
|
56
|
-
type: { default: "info" },
|
|
57
|
-
title: { default: "" },
|
|
58
|
-
closable: { type: Boolean, default: !1 },
|
|
59
|
-
icon: { type: Boolean, default: !0 },
|
|
60
|
-
inline: { type: Boolean, default: !0 }
|
|
61
|
-
},
|
|
62
|
-
setup(e) {
|
|
63
|
-
const f = e, { alertClasses: o, textClasses: a, closeClasses: g, contentClasses: b, titleClasses: t } = I(
|
|
64
|
-
z(f)
|
|
65
|
-
), x = $(!0), w = () => {
|
|
66
|
-
x.value = !1;
|
|
67
|
-
};
|
|
68
|
-
return (v, r) => x.value ? (n(), i("div", {
|
|
69
|
-
key: 0,
|
|
70
|
-
class: s(u(o)),
|
|
71
|
-
role: "alert"
|
|
72
|
-
}, [
|
|
73
|
-
l("div", {
|
|
74
|
-
class: s(e.inline ? "flex" : "flex items-center")
|
|
75
|
-
}, [
|
|
76
|
-
e.icon ? (n(), i("svg", {
|
|
77
|
-
key: 0,
|
|
78
|
-
class: s(["flex-shrink-0", "w-5", "h-5", u(a)]),
|
|
79
|
-
fill: "currentColor",
|
|
80
|
-
viewBox: "0 0 20 20",
|
|
81
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
82
|
-
}, [...r[0] || (r[0] = [
|
|
83
|
-
l("path", {
|
|
84
|
-
"fill-rule": "evenodd",
|
|
85
|
-
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",
|
|
86
|
-
"clip-rule": "evenodd"
|
|
87
|
-
}, null, -1)
|
|
88
|
-
])], 2)) : c("", !0),
|
|
89
|
-
e.title ? (n(), i("span", {
|
|
90
|
-
key: 1,
|
|
91
|
-
class: s(u(t))
|
|
92
|
-
}, L(e.title), 3)) : c("", !0),
|
|
93
|
-
!e.inline && e.closable ? (n(), i("button", {
|
|
94
|
-
key: 2,
|
|
95
|
-
type: "button",
|
|
96
|
-
class: s(u(g)),
|
|
97
|
-
"aria-label": "Close",
|
|
98
|
-
onClick: w
|
|
99
|
-
}, [...r[1] || (r[1] = [
|
|
100
|
-
l("span", { class: "sr-only" }, "Dismiss", -1),
|
|
101
|
-
l("svg", {
|
|
102
|
-
class: "h-5 w-5",
|
|
103
|
-
fill: "currentColor",
|
|
104
|
-
viewBox: "0 0 20 20",
|
|
105
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
106
|
-
}, [
|
|
107
|
-
l("path", {
|
|
108
|
-
"fill-rule": "evenodd",
|
|
109
|
-
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
110
|
-
"clip-rule": "evenodd"
|
|
111
|
-
})
|
|
112
|
-
], -1)
|
|
113
|
-
])], 2)) : c("", !0)
|
|
114
|
-
], 2),
|
|
115
|
-
l("div", {
|
|
116
|
-
class: s(u(b))
|
|
117
|
-
}, [
|
|
118
|
-
C(v.$slots, "default")
|
|
119
|
-
], 2),
|
|
120
|
-
v.$slots.actions ? (n(), i("div", R, [
|
|
121
|
-
C(v.$slots, "actions")
|
|
122
|
-
])) : c("", !0),
|
|
123
|
-
e.inline && e.closable ? (n(), i("button", {
|
|
124
|
-
key: 1,
|
|
125
|
-
type: "button",
|
|
126
|
-
class: s(u(g)),
|
|
127
|
-
"aria-label": "Close",
|
|
128
|
-
onClick: w
|
|
129
|
-
}, [...r[2] || (r[2] = [
|
|
130
|
-
l("span", { class: "sr-only" }, "Dismiss", -1),
|
|
131
|
-
l("svg", {
|
|
132
|
-
class: "h-5 w-5",
|
|
133
|
-
fill: "currentColor",
|
|
134
|
-
viewBox: "0 0 20 20",
|
|
135
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
136
|
-
}, [
|
|
137
|
-
l("path", {
|
|
138
|
-
"fill-rule": "evenodd",
|
|
139
|
-
d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
|
|
140
|
-
"clip-rule": "evenodd"
|
|
141
|
-
})
|
|
142
|
-
], -1)
|
|
143
|
-
])], 2)) : c("", !0)
|
|
144
|
-
], 2)) : c("", !0);
|
|
145
|
-
}
|
|
146
|
-
}), F = {
|
|
147
|
-
inheritAttrs: !1
|
|
148
|
-
}, U = /* @__PURE__ */ h({
|
|
149
|
-
...F,
|
|
150
|
-
__name: "IconButton",
|
|
151
|
-
props: {
|
|
152
|
-
tooltip: {},
|
|
153
|
-
icon: {},
|
|
154
|
-
type: {},
|
|
155
|
-
intent: {},
|
|
156
|
-
size: {},
|
|
157
|
-
pill: { type: Boolean },
|
|
158
|
-
square: { type: Boolean },
|
|
159
|
-
loading: { type: Boolean },
|
|
160
|
-
disabled: { type: Boolean },
|
|
161
|
-
iconPrefix: {},
|
|
162
|
-
iconSuffix: {},
|
|
163
|
-
tag: {},
|
|
164
|
-
preventDoubleClick: { type: Boolean }
|
|
165
|
-
},
|
|
166
|
-
setup(e) {
|
|
167
|
-
const f = e, o = A(), a = d(() => j({ ...f, ...o }, "icon", "tooltip"));
|
|
168
|
-
return (g, b) => e.tooltip ? (n(), k(D, { key: 0 }, {
|
|
169
|
-
tooltip: m(() => [
|
|
170
|
-
y(M, null, {
|
|
171
|
-
default: m(() => [
|
|
172
|
-
y(N, null, {
|
|
173
|
-
default: m(() => [
|
|
174
|
-
T(L(e.tooltip), 1)
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
})
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
})
|
|
181
|
-
]),
|
|
182
|
-
default: m(() => [
|
|
183
|
-
y(p, B(a.value, {
|
|
184
|
-
"icon-prefix": e.icon,
|
|
185
|
-
square: ""
|
|
186
|
-
}), null, 16, ["icon-prefix"])
|
|
187
|
-
]),
|
|
188
|
-
_: 1
|
|
189
|
-
})) : (n(), k(p, B({ key: 1 }, a.value, {
|
|
190
|
-
square: "",
|
|
191
|
-
"icon-prefix": e.icon
|
|
192
|
-
}), null, 16, ["icon-prefix"]));
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
export {
|
|
196
|
-
Q as _,
|
|
197
|
-
U as a
|
|
198
|
-
};
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, computed as _, openBlock as n, createBlock as r, withCtx as a, unref as e, createVNode as f, createTextVNode as i, toDisplayString as l, createCommentVNode as c, createElementVNode as E } from "vue";
|
|
2
|
-
import { f as T } from "./formatting.es-RclXHhKo.mjs";
|
|
3
|
-
import { a as A, _ as b } from "./Button.vue.es-Dz-2L8dJ.mjs";
|
|
4
|
-
import { u as y, _ as m } from "./customElements-CSE7dwUr.mjs";
|
|
5
|
-
import { _ as g } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs";
|
|
6
|
-
const M = /* @__PURE__ */ p({
|
|
7
|
-
__name: "PaymentCompletedCard",
|
|
8
|
-
props: {
|
|
9
|
-
amount: { type: Object },
|
|
10
|
-
variant: { type: String },
|
|
11
|
-
redirecting: { type: Boolean }
|
|
12
|
-
},
|
|
13
|
-
setup(t) {
|
|
14
|
-
const d = t, { $t: s } = y(), o = _(
|
|
15
|
-
() => d.variant === "AUTHORIZE" ? s({
|
|
16
|
-
defaultMessage: "Payment successful",
|
|
17
|
-
description: "The title for when a payment has been successful",
|
|
18
|
-
id: "payment_completed_card.title.authorize"
|
|
19
|
-
}) : s({
|
|
20
|
-
defaultMessage: "Your payment method is added",
|
|
21
|
-
description: "The title for when a payment method was successfully added",
|
|
22
|
-
id: "payment_completed_card.title.tokenize"
|
|
23
|
-
})
|
|
24
|
-
);
|
|
25
|
-
return (u, h) => (n(), r(g, {
|
|
26
|
-
status: "success",
|
|
27
|
-
title: o.value
|
|
28
|
-
}, {
|
|
29
|
-
default: a(() => [
|
|
30
|
-
t.amount ? (n(), r(e(m), {
|
|
31
|
-
key: 0,
|
|
32
|
-
variant: "body-sm",
|
|
33
|
-
class: "mt-1"
|
|
34
|
-
}, {
|
|
35
|
-
default: a(() => [
|
|
36
|
-
f(e(A), { icon: "check" }),
|
|
37
|
-
i(l(e(T)(t.amount)), 1)
|
|
38
|
-
]),
|
|
39
|
-
_: 1
|
|
40
|
-
})) : c("", !0),
|
|
41
|
-
t.redirecting ? (n(), r(e(m), {
|
|
42
|
-
key: 1,
|
|
43
|
-
variant: "body-xs",
|
|
44
|
-
color: "subtle"
|
|
45
|
-
}, {
|
|
46
|
-
default: a(() => [
|
|
47
|
-
i(l(e(s)({
|
|
48
|
-
defaultMessage: "You are being redirected...",
|
|
49
|
-
description: "The text shown after a successful message before a redirect",
|
|
50
|
-
id: "payment_completed_card.redirect_message"
|
|
51
|
-
})), 1)
|
|
52
|
-
]),
|
|
53
|
-
_: 1
|
|
54
|
-
})) : c("", !0)
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
}, 8, ["title"]));
|
|
58
|
-
}
|
|
59
|
-
}), I = {
|
|
60
|
-
UNKNOWN_ERROR: {
|
|
61
|
-
title: "Something went wrong",
|
|
62
|
-
message: "An unknown error has occurred",
|
|
63
|
-
isReloadButtonVisible: !0
|
|
64
|
-
},
|
|
65
|
-
AUTHORIZATION_FAILED: {
|
|
66
|
-
title: "Payment failed",
|
|
67
|
-
message: "The payment failed"
|
|
68
|
-
},
|
|
69
|
-
PAYMENT_DETAILS_CALL_FAILED: {
|
|
70
|
-
title: "Payment details call failed",
|
|
71
|
-
message: "There was a problem getting the payment details"
|
|
72
|
-
},
|
|
73
|
-
PAYMENT_METHOD_STORAGE_FAILED: {
|
|
74
|
-
title: "Failed storing payment method",
|
|
75
|
-
message: "Something went wrong with storing the payment method"
|
|
76
|
-
},
|
|
77
|
-
REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING: {
|
|
78
|
-
title: "Missing payment acceptor",
|
|
79
|
-
message: "A redirect result is set, but a payment acceptor is missing in the url"
|
|
80
|
-
},
|
|
81
|
-
TOKENIZE_FAILED: {
|
|
82
|
-
title: "Tokenization failed",
|
|
83
|
-
message: "The tokenization of the payment method has failed"
|
|
84
|
-
},
|
|
85
|
-
PAYMENT_INTEGRATION_INITIALIZATION_FAILED: {
|
|
86
|
-
title: "Failed loading payment methods",
|
|
87
|
-
message: "Failed loading payment integration",
|
|
88
|
-
isReloadButtonVisible: !0
|
|
89
|
-
},
|
|
90
|
-
RESOURCE_REVOKED: {
|
|
91
|
-
title: "Resource revoked",
|
|
92
|
-
message: "The resource has been revoked",
|
|
93
|
-
isReloadButtonVisible: !0
|
|
94
|
-
}
|
|
95
|
-
}, R = { class: "flex flex-col items-center gap-6" }, x = /* @__PURE__ */ p({
|
|
96
|
-
__name: "PaymentErrorCard",
|
|
97
|
-
props: {
|
|
98
|
-
error: { type: Object }
|
|
99
|
-
},
|
|
100
|
-
setup(t) {
|
|
101
|
-
const d = t, { $t: s } = y(), o = _(() => I[d.error.code]), u = () => {
|
|
102
|
-
window.location.reload();
|
|
103
|
-
};
|
|
104
|
-
return (h, N) => (n(), r(g, {
|
|
105
|
-
status: "error",
|
|
106
|
-
title: o.value.title
|
|
107
|
-
}, {
|
|
108
|
-
default: a(() => [
|
|
109
|
-
E("div", R, [
|
|
110
|
-
f(e(m), {
|
|
111
|
-
variant: "body-xs",
|
|
112
|
-
color: "subtle",
|
|
113
|
-
class: "mt-3"
|
|
114
|
-
}, {
|
|
115
|
-
default: a(() => [
|
|
116
|
-
i(l(o.value.message), 1)
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
}),
|
|
120
|
-
o.value.isReloadButtonVisible ? (n(), r(e(b), {
|
|
121
|
-
key: 0,
|
|
122
|
-
type: "button",
|
|
123
|
-
intent: "secondary",
|
|
124
|
-
onClick: u
|
|
125
|
-
}, {
|
|
126
|
-
default: a(() => [
|
|
127
|
-
i(l(e(s)({
|
|
128
|
-
defaultMessage: "Try again",
|
|
129
|
-
description: "Retry button text when an error has happened during a payment",
|
|
130
|
-
id: "payments.retry_button.label"
|
|
131
|
-
})), 1)
|
|
132
|
-
]),
|
|
133
|
-
_: 1
|
|
134
|
-
})) : c("", !0)
|
|
135
|
-
])
|
|
136
|
-
]),
|
|
137
|
-
_: 1
|
|
138
|
-
}, 8, ["title"]));
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
export {
|
|
142
|
-
M as _,
|
|
143
|
-
x as a
|
|
144
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),d=require("./formatting.es-C72Nsrmh.js"),i=require("./Button.vue.es-M_jXZda4.js"),o=require("./customElements-Vox1PB6G.js"),c=require("./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js"),u=e.defineComponent({__name:"PaymentCompletedCard",props:{amount:{type:Object},variant:{type:String},redirecting:{type:Boolean}},setup(t){const r=t,{$t:a}=o.useIntl(),n=e.computed(()=>r.variant==="AUTHORIZE"?a({defaultMessage:"Payment successful",description:"The title for when a payment has been successful",id:"payment_completed_card.title.authorize"}):a({defaultMessage:"Your payment method is added",description:"The title for when a payment method was successfully added",id:"payment_completed_card.title.tokenize"}));return(s,l)=>(e.openBlock(),e.createBlock(c._sfc_main,{status:"success",title:n.value},{default:e.withCtx(()=>[t.amount?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(i._sfc_main$1),{icon:"check"}),e.createTextVNode(e.toDisplayString(e.unref(d.formatAmount)(t.amount)),1)]),_:1})):e.createCommentVNode("",!0),t.redirecting?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:1,variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"You are being redirected...",description:"The text shown after a successful message before a redirect",id:"payment_completed_card.redirect_message"})),1)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["title"]))}}),m={UNKNOWN_ERROR:{title:"Something went wrong",message:"An unknown error has occurred",isReloadButtonVisible:!0},AUTHORIZATION_FAILED:{title:"Payment failed",message:"The payment failed"},PAYMENT_DETAILS_CALL_FAILED:{title:"Payment details call failed",message:"There was a problem getting the payment details"},PAYMENT_METHOD_STORAGE_FAILED:{title:"Failed storing payment method",message:"Something went wrong with storing the payment method"},REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING:{title:"Missing payment acceptor",message:"A redirect result is set, but a payment acceptor is missing in the url"},TOKENIZE_FAILED:{title:"Tokenization failed",message:"The tokenization of the payment method has failed"},PAYMENT_INTEGRATION_INITIALIZATION_FAILED:{title:"Failed loading payment methods",message:"Failed loading payment integration",isReloadButtonVisible:!0},RESOURCE_REVOKED:{title:"Resource revoked",message:"The resource has been revoked",isReloadButtonVisible:!0}},_={class:"flex flex-col items-center gap-6"},p=e.defineComponent({__name:"PaymentErrorCard",props:{error:{type:Object}},setup(t){const r=t,{$t:a}=o.useIntl(),n=e.computed(()=>m[r.error.code]),s=()=>{window.location.reload()};return(l,f)=>(e.openBlock(),e.createBlock(c._sfc_main,{status:"error",title:n.value.title},{default:e.withCtx(()=>[e.createElementVNode("div",_,[e.createVNode(e.unref(o._sfc_main),{variant:"body-xs",color:"subtle",class:"mt-3"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.message),1)]),_:1}),n.value.isReloadButtonVisible?(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{key:0,type:"button",intent:"secondary",onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Try again",description:"Retry button text when an error has happened during a payment",id:"payments.retry_button.label"})),1)]),_:1})):e.createCommentVNode("",!0)])]),_:1},8,["title"]))}});exports._sfc_main=u;exports._sfc_main$1=p;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=require("vue"),B=require("./FormMessage.vue.es-dqATjC2N.js"),$=require("./customElements-Vox1PB6G.js"),w=require("./adyen-Druit6gz.js"),S=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="ADYEN"},I=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="STRIPE"},g=({selectedIntegration:e,paymentMethodOption:a})=>{var i,m;return e===((m=(i=a.integration)==null?void 0:i.payment_gateway)==null?void 0:m.variant)},F=(e,{excludeExpressPaymentMethods:a=!1}={})=>{var i;return S(e)?w.getAdyenDropInPaymentMethods(e,{excludeExpressPaymentMethods:a}).length>0:I(e)?!!((i=e.integration.payment_gateway.stripe)!=null&&i.public_key):!1},C=(e,a={})=>e.some(i=>F(i,a)),p=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}},emits:["select","payment-failed","payment-success","ready"],setup(e,{expose:a,emit:i}){const m=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormStripe-BSEqarl7.js")).then(o=>o.default)),P=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormAdyen-Q48aDXR7.js")).then(o=>o.default)),c=e,k=i;a({submit:h});const{$t:b}=$.useIntl(),l=t.ref(),u=t.computed(()=>{var o,n;return l.value??((n=(o=c.paymentMethodOptions[0])==null?void 0:o.integration.payment_gateway)==null?void 0:n.variant)}),y=t.ref(new Map),d=t.ref(!1),f=({paymentGatewayVariant:o,paymentMethodType:n})=>{d.value=!1,l.value=o,k("select",{paymentGatewayVariant:o,paymentMethodType:n})},v=o=>n=>{var r;return y.value.set((r=o.integration.payment_gateway)==null?void 0:r.variant,n)};function h(){var o,n;u.value||(d.value=!0,(o=c.validateOnSubmit)==null||o.call(c)),(n=y.value.get(u.value))==null||n.submit()}return(o,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(P),{key:0,ref_for:!0,ref:v(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(g)({selectedIntegration:u.value,paymentMethodOption:r}),"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[0]||(n[0]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[1]||(n[1]=s=>o.$emit("payment-success")),onReady:n[2]||(n[2]=s=>o.$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"])):t.unref(I)(r)?(t.openBlock(),t.createBlock(t.unref(m),{key:1,ref_for:!0,ref:v(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(g)({selectedIntegration:u.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,onSelect:f,onPaymentFailed:n[3]||(n[3]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[4]||(n[4]=s=>o.$emit("payment-success")),onReady:n[5]||(n[5]=s=>o.$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"])):t.createCommentVNode("",!0)],64))),128)),d.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(b)({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=p;exports.hasRenderablePaymentIntegration=C;
|