@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22
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/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-D42J_izE.js +1 -0
- package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
- package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
- package/dist/Button.vue.es-M_jXZda4.js +1 -0
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
- package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
- package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
- package/dist/Chip.vue.es-G8doKsZb.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
- package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
- package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
- package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
- package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
- package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
- package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
- package/dist/Input.vue.es-CTOrmrcB.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
- package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
- package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
- package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
- package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
- package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
- package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
- package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
- package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
- package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
- package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
- package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
- package/dist/Section.vue.es-Btff-cLY.js +1 -0
- package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
- package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
- package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
- package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
- package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
- package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
- package/dist/cn.es-CvmLj7KH.js +1 -0
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +372 -430
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +89 -104
- package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-CSE7dwUr.mjs +6561 -0
- package/dist/customElements-Vox1PB6G.js +1211 -0
- package/dist/customer-5krPxZ8i.mjs +31 -0
- package/dist/customer-Dsq-Moea.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
- package/dist/de-DE-C3DzP1nj.js +1 -0
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
- package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
- package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
- package/dist/en-US-X_pSFsNm.js +1 -0
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +40 -40
- package/dist/invoices-DRgfpkJ6.mjs +118 -0
- package/dist/invoices-xOV2YaEV.js +1 -0
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
- package/dist/it-IT-DT3rfjOY.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
- package/dist/it-IT-YBtHAao1.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C8wnyKju.js +1 -0
- package/dist/nl-NL-DfkhOJKc.js +1 -0
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-CRDIw9lz.js +1 -0
- package/dist/paymentMethods-PmkHYomw.mjs +75 -0
- package/dist/payments-Dvqh6CGW.mjs +45 -0
- package/dist/payments-jAgXhdp_.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
- package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +3 -5237
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-CrVOr5MF.mjs +69 -0
- package/dist/subscription-ZA62t4E9.js +1 -0
- package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
- package/dist/subscriptions-fJcj88X9.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
- package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
- package/dist/useCustomer-CP8eWUZV.mjs +20 -0
- package/dist/useCustomer-DSx-wN-6.js +1 -0
- package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
- package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
- package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
- package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-CRRPdXc6.js +1 -0
- package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
- package/dist/useInvoicesList-DIfQcvER.js +1 -0
- package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
- package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
- package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
- package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
- package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
- package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
- package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
- package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
- package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
- package/dist/usePayments-D9Eo-uBk.js +1 -0
- package/dist/usePayments-Gx9kBvNB.mjs +318 -0
- package/dist/usePortal-3VCZwSUE.mjs +11 -0
- package/dist/usePortal-DsebXdhx.js +1 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-DnL1wVh1.mjs +210 -0
- package/dist/useSubscription-K_gP9TeX.js +1 -0
- package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
- package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-CNIMW5ay.js +1 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +3 -3
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
- package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
- package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
- package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
- package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
- package/dist/Button.vue.es-O8mNivLL.js +0 -1
- package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
- package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
- package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
- package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
- package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
- package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
- package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
- package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
- package/dist/Input.vue.es-DqKJhFTr.js +0 -1
- package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
- package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
- package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
- package/dist/Section.vue.es-CAJvEDn6.js +0 -1
- package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
- package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
- package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
- package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
- package/dist/ach.svg.es-B4tn0_IV.js +0 -1
- package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
- package/dist/adyen-51SvcyqV.mjs +0 -4
- package/dist/adyen-BXi_D9TQ.mjs +0 -123
- package/dist/adyen-DZsyEXkw.js +0 -1
- package/dist/adyen-VS2sDW0m.js +0 -1
- package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
- package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
- package/dist/amex.svg.es-Bn9e31C3.js +0 -1
- package/dist/api.es-C5pe8LUl.mjs +0 -62
- package/dist/api.es-Czekkp_X.js +0 -1
- package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
- package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
- package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
- package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
- package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
- package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
- package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
- package/dist/cn.es-DxSeYcoP.js +0 -1
- package/dist/comparators.es-9VsCB-JI.mjs +0 -175
- package/dist/comparators.es-wrKHduVq.js +0 -1
- package/dist/component-BG6DmXcy.mjs +0 -9
- package/dist/component-hDuDTBt5.js +0 -1
- package/dist/configuration-BjYwV4_B.js +0 -1
- package/dist/configuration-CD8cOXAJ.mjs +0 -15
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customElements-B-89a5oH.mjs +0 -6810
- package/dist/customElements-DD7bpqkx.js +0 -1
- package/dist/customer-DozNwS_a.js +0 -1
- package/dist/customer-Dzj1g9lV.mjs +0 -32
- package/dist/customer.es-C_vSWcVA.mjs +0 -30
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
- package/dist/dana.svg.es-DKZaseoJ.js +0 -1
- package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
- package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
- package/dist/de-DE-BvHD68Ay.js +0 -1
- package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
- package/dist/diners.svg.es-SydF_H-Z.js +0 -1
- package/dist/discover.svg.es-B8vgzVNG.js +0 -1
- package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
- package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
- package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
- package/dist/elo.svg.es-CTOm1rvj.js +0 -1
- package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
- package/dist/en-US-dqfKx3GS.js +0 -1
- package/dist/eps.svg.es-CApyGjyU.js +0 -1
- package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
- package/dist/error-Cg-i7gGl.js +0 -1
- package/dist/error-DY_I2hPx.mjs +0 -13
- package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
- package/dist/formatting.es-DBtYnvI5.js +0 -1
- package/dist/formatting.es-eYgXv_AK.mjs +0 -70
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
- package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
- package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
- package/dist/getComposedString.es-DvSNX-_z.js +0 -1
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
- package/dist/girocard.svg.es-tVgtT23w.js +0 -1
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
- package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
- package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
- package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
- package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
- package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
- package/dist/index-Cai7laNY.mjs +0 -1069
- package/dist/index-DIFK3mcJ.js +0 -6
- package/dist/index-DyvRdSR7.mjs +0 -9673
- package/dist/index-IZaUTAsE.js +0 -1
- package/dist/index.es-2JWHHSgP.js +0 -1
- package/dist/index.es-D5xOw_SJ.mjs +0 -542
- package/dist/invoices-1oYkdQQV.mjs +0 -121
- package/dist/invoices-BAoh6X2a.js +0 -1
- package/dist/it-IT-CEP3oeWs.js +0 -1
- package/dist/it-IT-aPQY57ht.js +0 -1
- package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
- package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
- package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
- package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
- package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
- package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
- package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
- package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
- package/dist/momo.svg.es-BXTQlQRy.js +0 -1
- package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
- package/dist/nl-NL-e_vf6OuT.js +0 -1
- package/dist/nl-NL-zRUAuEHg.js +0 -1
- package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
- package/dist/nyce.svg.es-DM6esO47.js +0 -1
- package/dist/object.es-DFXiU9p3.js +0 -1
- package/dist/object.es-jvvnR8Kr.mjs +0 -12
- package/dist/open-banking.svg.es-DUM360xB.js +0 -1
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
- package/dist/paymentMethods-CZ3ydybI.js +0 -1
- package/dist/paymentMethods-DIV78w0O.mjs +0 -78
- package/dist/payments--lkjiwCt.js +0 -1
- package/dist/payments-Cvqdrprv.mjs +0 -47
- package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
- package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
- package/dist/pricing-3W7XLwL6.js +0 -1
- package/dist/pricing-CJxS2hr2.mjs +0 -17
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
- package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
- package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
- package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
- package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
- package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
- package/dist/slots.es-BpwYO3A3.mjs +0 -18
- package/dist/slots.es-Dq1PTUOv.js +0 -1
- package/dist/sorting.es-CjTrRfSW.mjs +0 -105
- package/dist/sorting.es-RyvcgbSL.js +0 -1
- package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
- package/dist/star.svg.es-Q50IzqXr.js +0 -1
- package/dist/subscription-C41lG-rH.mjs +0 -89
- package/dist/subscription-b0OPx8Du.js +0 -1
- package/dist/subscriptions-300o4ae0.js +0 -1
- package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
- package/dist/trustly.svg.es-CHojqNqm.js +0 -1
- package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
- package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
- package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
- package/dist/url-CjULBkjW.js +0 -1
- package/dist/url-CvNDq4wp.mjs +0 -22
- package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
- package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
- package/dist/useCustomer-DLHOs4BR.js +0 -1
- package/dist/useCustomer-EDhref7T.mjs +0 -25
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
- package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
- package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
- package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
- package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
- package/dist/useInvoiceData-BSjVeJrI.js +0 -1
- package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
- package/dist/useInvoicesList-BRDZqsaB.js +0 -1
- package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
- package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
- package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
- package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
- package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
- package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
- package/dist/usePayments-CANj0QVc.js +0 -1
- package/dist/usePayments-CaT1CBzE.mjs +0 -362
- package/dist/usePortal-BjGoSeLy.js +0 -1
- package/dist/usePortal-CMPQ0M9R.mjs +0 -12
- package/dist/useService-D73FNBjT.js +0 -1
- package/dist/useService-W3Kxems4.mjs +0 -72
- package/dist/useSubscription-D1UKnZAx.mjs +0 -250
- package/dist/useSubscription-DZfRHbL7.js +0 -1
- package/dist/useViewport-Bu0cyeSi.mjs +0 -38
- package/dist/useViewport-CKRY1CKR.js +0 -1
- package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
- package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
- package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
- package/dist/visa.svg.es-D6sc4YTE.js +0 -1
- package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
- package/dist/vpay.svg.es-CLGTyB09.js +0 -1
- package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
- package/dist/zip.svg.es-BRsgmur-.js +0 -1
|
@@ -1,109 +1,97 @@
|
|
|
1
|
-
import { ref, defineComponent, useModel, computed, watch, openBlock, createElementBlock, withModifiers, createElementVNode, createVNode, unref, mergeModels, inject, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, Fragment } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
import { b as
|
|
5
|
-
import { C as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { c as
|
|
14
|
-
import { b as
|
|
15
|
-
import {
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { _ as
|
|
21
|
-
import { _ as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const latestGuard = createLatestGuard();
|
|
31
|
-
const load = async ({
|
|
32
|
-
subscription,
|
|
33
|
-
enabledPricingIds
|
|
1
|
+
import { ref as S, defineComponent as I, useModel as H, computed as _, watch as F, openBlock as m, createElementBlock as z, withModifiers as ce, createElementVNode as A, createVNode as h, unref as e, mergeModels as J, inject as le, createBlock as f, withCtx as b, renderSlot as de, createTextVNode as T, toDisplayString as C, createCommentVNode as R, Fragment as me } from "vue";
|
|
2
|
+
import { _ as K } from "../../Button.vue.es-Dz-2L8dJ.mjs";
|
|
3
|
+
import { _ as Q } from "../../ErrorNotification.vue.es-BGckEwHf.mjs";
|
|
4
|
+
import { b as X, g as ue, c as pe, a as ge, u as E, h as fe, i as be, _ as Z, d as ve, e as he } from "../../customElements-CSE7dwUr.mjs";
|
|
5
|
+
import { C as _e } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
|
|
6
|
+
import { u as ye } from "../../useActionDispatchProvider-B8-oycQk.mjs";
|
|
7
|
+
import { u as we } from "../../usePortal-3VCZwSUE.mjs";
|
|
8
|
+
import { u as Se } from "../../useSubscription-DnL1wVh1.mjs";
|
|
9
|
+
import { u as Pe } from "../../useCustomer-CP8eWUZV.mjs";
|
|
10
|
+
import { u as Me } from "../../usePaymentMethods-CpzqXQUT.mjs";
|
|
11
|
+
import { u as Ie } from "../../usePaymentMethodOptions-B7JYkGsw.mjs";
|
|
12
|
+
import { u as $e } from "../../useLoadInitialData-MUljS38K.mjs";
|
|
13
|
+
import { c as Oe } from "../../invoices-DRgfpkJ6.mjs";
|
|
14
|
+
import { b as ke, c as Ce, d as Ae } from "../../pricingPlanSchedule-BPrS2WRd.mjs";
|
|
15
|
+
import { a as Ee } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs";
|
|
16
|
+
import { _ as Le } from "../../Divider.vue.es-DnP_HqLz.mjs";
|
|
17
|
+
import { _ as xe } from "../../PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs";
|
|
18
|
+
import { _ as je, a as Ne } from "../../AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs";
|
|
19
|
+
import { a as Te } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs";
|
|
20
|
+
import { _ as Ue } from "../../Section.vue.es-DQ5H7mqW.mjs";
|
|
21
|
+
import { _ as ee } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
|
|
22
|
+
import { _ as Be } from "../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs";
|
|
23
|
+
import { M as Ve } from "../../Modal.vue.es-B_G8NQS2.mjs";
|
|
24
|
+
import { g as De } from "../../component-5wqcK7yz.mjs";
|
|
25
|
+
function Ge() {
|
|
26
|
+
const { getInvoicePreview: t } = Oe(), a = X(), n = S(), s = S(!1), c = S(), p = ue();
|
|
27
|
+
return { invoice: n, isPending: s, error: c, load: async ({
|
|
28
|
+
subscription: l,
|
|
29
|
+
enabledPricingIds: v
|
|
34
30
|
}) => {
|
|
35
|
-
const
|
|
36
|
-
enabledPricings:
|
|
37
|
-
pricingPlanScheduleInfos:
|
|
31
|
+
const o = ke({
|
|
32
|
+
enabledPricings: v.map((u) => ({ pricing_id: u })),
|
|
33
|
+
pricingPlanScheduleInfos: l.pricing_plan_schedule_infos
|
|
38
34
|
});
|
|
39
|
-
if (!
|
|
40
|
-
|
|
35
|
+
if (!o) {
|
|
36
|
+
n.value = void 0;
|
|
41
37
|
return;
|
|
42
38
|
}
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
error.value = void 0;
|
|
39
|
+
const i = p();
|
|
40
|
+
s.value = !0, c.value = void 0;
|
|
46
41
|
try {
|
|
47
|
-
const
|
|
42
|
+
const u = await t({
|
|
48
43
|
// The subscription is running already, so it is priced as itself rather than as the
|
|
49
44
|
// template for a new one — and the customer it is invoiced to is known.
|
|
50
|
-
forExistingSubscription:
|
|
51
|
-
pricingPlanSubscriptionId:
|
|
52
|
-
customizations
|
|
45
|
+
forExistingSubscription: !0,
|
|
46
|
+
pricingPlanSubscriptionId: l.id,
|
|
47
|
+
customizations: o
|
|
53
48
|
});
|
|
54
|
-
if (!
|
|
55
|
-
|
|
56
|
-
} catch (
|
|
57
|
-
if (!
|
|
58
|
-
|
|
49
|
+
if (!i()) return;
|
|
50
|
+
n.value = u.invoice;
|
|
51
|
+
} catch (u) {
|
|
52
|
+
if (!i()) return;
|
|
53
|
+
a.error(
|
|
59
54
|
"INVOICE_PREVIEW_FAILED",
|
|
60
55
|
"Failed to preview the subscription upgrade",
|
|
61
56
|
{},
|
|
62
|
-
|
|
63
|
-
);
|
|
64
|
-
error.value = previewError;
|
|
65
|
-
invoice.value = void 0;
|
|
57
|
+
u
|
|
58
|
+
), c.value = u, n.value = void 0;
|
|
66
59
|
} finally {
|
|
67
|
-
|
|
68
|
-
isPending.value = false;
|
|
69
|
-
}
|
|
60
|
+
i() && (s.value = !1);
|
|
70
61
|
}
|
|
71
|
-
};
|
|
72
|
-
return { invoice, isPending, error, load };
|
|
62
|
+
} };
|
|
73
63
|
}
|
|
74
|
-
function
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
scheduleId
|
|
64
|
+
function Fe() {
|
|
65
|
+
const t = pe(), a = ge();
|
|
66
|
+
function n({
|
|
67
|
+
scheduleId: c
|
|
79
68
|
}) {
|
|
80
|
-
return
|
|
81
|
-
url: `${
|
|
69
|
+
return t({
|
|
70
|
+
url: `${a.apiUrls.config}/portal/pricing-plan-schedules/${c}/on-demand-pricing-items`
|
|
82
71
|
});
|
|
83
72
|
}
|
|
84
|
-
function
|
|
85
|
-
pricingPlanSubscriptionId,
|
|
86
|
-
enabledPricings
|
|
73
|
+
function s({
|
|
74
|
+
pricingPlanSubscriptionId: c,
|
|
75
|
+
enabledPricings: p
|
|
87
76
|
}) {
|
|
88
|
-
return
|
|
89
|
-
url: `${
|
|
77
|
+
return t({
|
|
78
|
+
url: `${a.apiUrls.config}/portal/pricing-plan-schedules`,
|
|
90
79
|
options: { method: "POST" },
|
|
91
80
|
data: {
|
|
92
|
-
pricing_plan_subscription_id:
|
|
93
|
-
enabled_pricings:
|
|
81
|
+
pricing_plan_subscription_id: c,
|
|
82
|
+
enabled_pricings: p,
|
|
94
83
|
start_at: (/* @__PURE__ */ new Date()).toJSON()
|
|
95
84
|
}
|
|
96
85
|
});
|
|
97
86
|
}
|
|
98
87
|
return {
|
|
99
|
-
getOnDemandPricingItems,
|
|
100
|
-
createPricingPlanSchedule
|
|
88
|
+
getOnDemandPricingItems: n,
|
|
89
|
+
createPricingPlanSchedule: s
|
|
101
90
|
};
|
|
102
91
|
}
|
|
103
|
-
const
|
|
104
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
92
|
+
const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-4" }, ze = /* @__PURE__ */ I({
|
|
105
93
|
__name: "SubscriptionManagementForm",
|
|
106
|
-
props: /* @__PURE__ */
|
|
94
|
+
props: /* @__PURE__ */ J({
|
|
107
95
|
pricingGroup: { type: Object },
|
|
108
96
|
paymentMethods: { type: Array },
|
|
109
97
|
paymentMethodOptions: { type: Array },
|
|
@@ -111,234 +99,206 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
111
99
|
currency: { type: String },
|
|
112
100
|
disabled: { type: Boolean }
|
|
113
101
|
}, {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
102
|
+
enabledPricingIds: { required: !0 },
|
|
103
|
+
enabledPricingIdsModifiers: {},
|
|
104
|
+
paymentMethodId: {},
|
|
105
|
+
paymentMethodIdModifiers: {}
|
|
118
106
|
}),
|
|
119
|
-
emits: /* @__PURE__ */
|
|
120
|
-
setup(
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
const toTime = (value) => {
|
|
127
|
-
const parsed = value ? Date.parse(value) : NaN;
|
|
128
|
-
return Number.isFinite(parsed) ? parsed : 0;
|
|
129
|
-
};
|
|
130
|
-
const sortedPaymentMethods = computed(
|
|
131
|
-
() => [...props.paymentMethods ?? []].sort((a, b) => toTime(b.created_at) - toTime(a.created_at))
|
|
107
|
+
emits: /* @__PURE__ */ J(["add-payment-method"], ["update:enabledPricingIds", "update:paymentMethodId"]),
|
|
108
|
+
setup(t, { emit: a }) {
|
|
109
|
+
const n = t, s = a, c = H(t, "enabledPricingIds"), p = H(t, "paymentMethodId"), { $t: y } = E(), l = (o) => {
|
|
110
|
+
const i = o ? Date.parse(o) : NaN;
|
|
111
|
+
return Number.isFinite(i) ? i : 0;
|
|
112
|
+
}, v = _(
|
|
113
|
+
() => [...n.paymentMethods ?? []].sort((o, i) => l(i.created_at) - l(o.created_at))
|
|
132
114
|
);
|
|
133
|
-
|
|
134
|
-
() =>
|
|
135
|
-
(
|
|
136
|
-
var
|
|
137
|
-
const
|
|
138
|
-
({ id }) => !(
|
|
115
|
+
return F(
|
|
116
|
+
() => n.paymentMethods,
|
|
117
|
+
(o, i) => {
|
|
118
|
+
var L;
|
|
119
|
+
const u = o == null ? void 0 : o.find(
|
|
120
|
+
({ id: P }) => !(i != null && i.some((U) => U.id === P))
|
|
139
121
|
);
|
|
140
|
-
if (
|
|
141
|
-
|
|
122
|
+
if (u && (i != null && i.length)) {
|
|
123
|
+
p.value = u.id;
|
|
142
124
|
return;
|
|
143
125
|
}
|
|
144
|
-
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
paymentMethodId.value = (_a = (paymentMethods == null ? void 0 : paymentMethods.find(({ is_default }) => is_default)) ?? sortedPaymentMethods.value[0]) == null ? void 0 : _a.id;
|
|
126
|
+
o != null && o.some(({ id: P }) => P === p.value) || (p.value = (L = (o == null ? void 0 : o.find(({ is_default: P }) => P)) ?? v.value[0]) == null ? void 0 : L.id);
|
|
148
127
|
},
|
|
149
|
-
{ immediate:
|
|
150
|
-
)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
])
|
|
186
|
-
], 32);
|
|
187
|
-
};
|
|
128
|
+
{ immediate: !0 }
|
|
129
|
+
), (o, i) => (m(), z("form", {
|
|
130
|
+
class: "sv-subscription-management-form",
|
|
131
|
+
onSubmit: i[3] || (i[3] = ce(() => {
|
|
132
|
+
}, ["prevent"]))
|
|
133
|
+
}, [
|
|
134
|
+
A("div", Re, [
|
|
135
|
+
h(xe, {
|
|
136
|
+
modelValue: c.value,
|
|
137
|
+
"onUpdate:modelValue": i[0] || (i[0] = (u) => c.value = u),
|
|
138
|
+
class: "sv-subscription-management-form__pricing-group",
|
|
139
|
+
"group-name": t.pricingGroup.name,
|
|
140
|
+
pricings: t.pricingGroup.pricings,
|
|
141
|
+
"billing-period": t.billingPeriod,
|
|
142
|
+
currency: t.currency
|
|
143
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"]),
|
|
144
|
+
A("div", null, [
|
|
145
|
+
h(e(Le), { spacing: "xs" })
|
|
146
|
+
]),
|
|
147
|
+
h(je, {
|
|
148
|
+
modelValue: p.value,
|
|
149
|
+
"onUpdate:modelValue": i[1] || (i[1] = (u) => p.value = u),
|
|
150
|
+
class: "sv-subscription-management-form__payment-methods",
|
|
151
|
+
"payment-methods": v.value,
|
|
152
|
+
"payment-method-options": t.paymentMethodOptions,
|
|
153
|
+
required: "",
|
|
154
|
+
disabled: t.disabled,
|
|
155
|
+
label: e(y)({
|
|
156
|
+
defaultMessage: "Payment method",
|
|
157
|
+
id: "subscription_management.payment_method_selector.label",
|
|
158
|
+
description: "Label above the payment method that pays for the subscription change"
|
|
159
|
+
}),
|
|
160
|
+
onAddPaymentMethod: i[2] || (i[2] = (u) => s("add-payment-method"))
|
|
161
|
+
}, null, 8, ["modelValue", "payment-methods", "payment-method-options", "disabled", "label"])
|
|
162
|
+
])
|
|
163
|
+
], 32));
|
|
188
164
|
}
|
|
189
|
-
})
|
|
190
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
165
|
+
}), qe = /* @__PURE__ */ I({
|
|
191
166
|
__name: "TranslationOverride",
|
|
192
167
|
props: {
|
|
193
168
|
messages: { type: Object }
|
|
194
169
|
},
|
|
195
|
-
setup(
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
...settings == null ? void 0 : settings.messages.value,
|
|
200
|
-
...props.messages
|
|
170
|
+
setup(t) {
|
|
171
|
+
const a = t, n = le(fe, void 0), s = _(() => ({
|
|
172
|
+
...n == null ? void 0 : n.messages.value,
|
|
173
|
+
...a.messages
|
|
201
174
|
}));
|
|
202
|
-
return (
|
|
203
|
-
var
|
|
204
|
-
return
|
|
205
|
-
locale: (
|
|
206
|
-
"date-locale": (
|
|
207
|
-
messages:
|
|
208
|
-
"show-timezones":
|
|
175
|
+
return (c, p) => {
|
|
176
|
+
var y, l;
|
|
177
|
+
return m(), f(e(be), {
|
|
178
|
+
locale: (y = e(n)) == null ? void 0 : y.locale.value,
|
|
179
|
+
"date-locale": (l = e(n)) == null ? void 0 : l.dateLocale.value,
|
|
180
|
+
messages: s.value,
|
|
181
|
+
"show-timezones": !1
|
|
209
182
|
}, {
|
|
210
|
-
default:
|
|
211
|
-
|
|
183
|
+
default: b(() => [
|
|
184
|
+
de(c.$slots, "default")
|
|
212
185
|
]),
|
|
213
186
|
_: 3
|
|
214
187
|
}, 8, ["locale", "date-locale", "messages"]);
|
|
215
188
|
};
|
|
216
189
|
}
|
|
217
|
-
})
|
|
218
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
190
|
+
}), Ye = /* @__PURE__ */ I({
|
|
219
191
|
__name: "SubscriptionManagementSummary",
|
|
220
192
|
props: {
|
|
221
193
|
invoice: { type: Object },
|
|
222
194
|
isPending: { type: Boolean },
|
|
223
195
|
hasError: { type: Boolean }
|
|
224
196
|
},
|
|
225
|
-
setup(
|
|
226
|
-
const { $t } =
|
|
227
|
-
|
|
228
|
-
"invoice_preview.total_due_today_heading": $t({
|
|
197
|
+
setup(t) {
|
|
198
|
+
const { $t: a } = E(), n = _(() => ({
|
|
199
|
+
"invoice_preview.total_due_today_heading": a({
|
|
229
200
|
defaultMessage: "Total due",
|
|
230
201
|
id: "subscription_management.summary.total_due_heading",
|
|
231
202
|
description: 'Heading above the total of the invoice previewing a subscription change, replacing the shared preview’s "Total due today"'
|
|
232
203
|
})
|
|
233
204
|
}));
|
|
234
|
-
return (
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}, 8, ["title"]);
|
|
292
|
-
};
|
|
205
|
+
return (s, c) => (m(), f(e(Ue), {
|
|
206
|
+
class: "sv-subscription-management-summary",
|
|
207
|
+
title: e(a)({
|
|
208
|
+
defaultMessage: "Order summary",
|
|
209
|
+
id: "subscription_management.summary.title",
|
|
210
|
+
description: "Title of the block previewing what a subscription change is invoiced for"
|
|
211
|
+
})
|
|
212
|
+
}, {
|
|
213
|
+
default: b(() => [
|
|
214
|
+
t.hasError ? (m(), f(e(Q), {
|
|
215
|
+
key: 0,
|
|
216
|
+
class: "sv-subscription-management-summary__error sv-error",
|
|
217
|
+
title: e(a)({
|
|
218
|
+
defaultMessage: "Unable to calculate the total. Please try again.",
|
|
219
|
+
id: "subscription_management.summary.error",
|
|
220
|
+
description: "Error shown when the invoice preview for a subscription change cannot be loaded"
|
|
221
|
+
})
|
|
222
|
+
}, null, 8, ["title"])) : t.isPending || !t.invoice ? (m(), f(ee, {
|
|
223
|
+
key: 1,
|
|
224
|
+
variant: "section",
|
|
225
|
+
class: "sv-subscription-management-summary__skeleton min-h-[120px]"
|
|
226
|
+
}, {
|
|
227
|
+
default: b(() => [
|
|
228
|
+
t.isPending ? R("", !0) : (m(), f(e(Z), {
|
|
229
|
+
key: 0,
|
|
230
|
+
variant: "body-sm",
|
|
231
|
+
color: "subtle",
|
|
232
|
+
tag: "div",
|
|
233
|
+
class: "sv-subscription-management-summary__empty-state"
|
|
234
|
+
}, {
|
|
235
|
+
default: b(() => [
|
|
236
|
+
T(C(e(a)({
|
|
237
|
+
defaultMessage: "Select your plan to see what it costs.",
|
|
238
|
+
id: "subscription_management.summary.empty_state",
|
|
239
|
+
description: "Shown in the order summary before a plan has been picked to preview"
|
|
240
|
+
})), 1)
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
}))
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
})) : (m(), f(qe, {
|
|
247
|
+
key: 2,
|
|
248
|
+
messages: n.value
|
|
249
|
+
}, {
|
|
250
|
+
default: b(() => [
|
|
251
|
+
h(e(Te), {
|
|
252
|
+
class: "sv-subscription-management-summary__invoice",
|
|
253
|
+
invoice: t.invoice,
|
|
254
|
+
"is-customer-facing": ""
|
|
255
|
+
}, null, 8, ["invoice"])
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}, 8, ["messages"]))
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
}, 8, ["title"]));
|
|
293
262
|
}
|
|
294
|
-
})
|
|
295
|
-
const _hoisted_1$1 = { class: "sv-subscription-management-success grid grid-cols-1 gap-4" };
|
|
296
|
-
const _hoisted_2$1 = { class: "sv-subscription-management-success__message" };
|
|
297
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
263
|
+
}), We = { class: "sv-subscription-management-success grid grid-cols-1 gap-4" }, He = { class: "sv-subscription-management-success__message" }, Je = /* @__PURE__ */ I({
|
|
298
264
|
__name: "SubscriptionManagementSuccess",
|
|
299
265
|
props: {
|
|
300
266
|
pricingGroupName: { type: String }
|
|
301
267
|
},
|
|
302
|
-
setup(
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
const title = computed(
|
|
306
|
-
() => $t({
|
|
268
|
+
setup(t) {
|
|
269
|
+
const a = t, { $t: n } = E(), s = _(
|
|
270
|
+
() => n({
|
|
307
271
|
defaultMessage: "Subscription updated",
|
|
308
272
|
description: "Title shown on the manage subscription screen once the change is committed",
|
|
309
273
|
id: "subscription_management.success.title"
|
|
310
274
|
})
|
|
311
|
-
)
|
|
312
|
-
|
|
313
|
-
() => props.pricingGroupName ? $t(
|
|
275
|
+
), c = _(
|
|
276
|
+
() => a.pricingGroupName ? n(
|
|
314
277
|
{
|
|
315
278
|
defaultMessage: "Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
316
279
|
description: "Confirmation of the pricing group a committed subscription change applied to",
|
|
317
280
|
id: "subscription_management.success.message"
|
|
318
281
|
},
|
|
319
|
-
{ subject:
|
|
320
|
-
) :
|
|
282
|
+
{ subject: a.pricingGroupName }
|
|
283
|
+
) : n({
|
|
321
284
|
defaultMessage: "Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
322
285
|
description: "Confirmation of a committed subscription change when the pricing group is not known",
|
|
323
286
|
id: "subscription_management.success.message_generic"
|
|
324
287
|
})
|
|
325
288
|
);
|
|
326
|
-
return (
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
]);
|
|
338
|
-
};
|
|
289
|
+
return (p, y) => (m(), z("div", We, [
|
|
290
|
+
h(Be, {
|
|
291
|
+
status: "success",
|
|
292
|
+
title: s.value
|
|
293
|
+
}, {
|
|
294
|
+
default: b(() => [
|
|
295
|
+
A("span", He, C(c.value), 1)
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}, 8, ["title"])
|
|
299
|
+
]));
|
|
339
300
|
}
|
|
340
|
-
})
|
|
341
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
301
|
+
}), Ke = /* @__PURE__ */ I({
|
|
342
302
|
__name: "AddPaymentMethodModal",
|
|
343
303
|
props: {
|
|
344
304
|
showModal: { type: Boolean },
|
|
@@ -347,129 +307,102 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
347
307
|
isLoading: { type: Boolean }
|
|
348
308
|
},
|
|
349
309
|
emits: ["success", "failure", "close"],
|
|
350
|
-
setup(
|
|
351
|
-
const
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
var
|
|
356
|
-
|
|
357
|
-
});
|
|
358
|
-
const handleConfirm = () => {
|
|
359
|
-
var _a;
|
|
360
|
-
(_a = addPaymentMethodRef.value) == null ? void 0 : _a.submit();
|
|
361
|
-
};
|
|
362
|
-
return (_ctx, _cache) => {
|
|
363
|
-
return openBlock(), createBlock(unref(Modal), {
|
|
364
|
-
"no-click-away": "",
|
|
365
|
-
size: "lg",
|
|
366
|
-
"show-modal": __props.showModal,
|
|
367
|
-
"is-loading": isSaving.value,
|
|
368
|
-
title: unref($t)({
|
|
369
|
-
defaultMessage: "Add payment method",
|
|
370
|
-
id: "add_payment_method_modal.title",
|
|
371
|
-
description: "Title of the modal for adding a payment method"
|
|
372
|
-
}),
|
|
373
|
-
"sub-title": unref($t)({
|
|
374
|
-
defaultMessage: "Add a new payment method to pay with.",
|
|
375
|
-
id: "add_payment_method_modal.subtitle",
|
|
376
|
-
description: "Subtitle of the modal for adding a payment method"
|
|
377
|
-
}),
|
|
378
|
-
"confirm-button-text": unref($t)({
|
|
379
|
-
defaultMessage: "Save payment method",
|
|
380
|
-
id: "add_payment_method_modal.confirm_button.label",
|
|
381
|
-
description: "Label of the button that stores the payment method being added"
|
|
382
|
-
}),
|
|
383
|
-
"cancel-button-text": unref($t)({
|
|
384
|
-
defaultMessage: "Cancel",
|
|
385
|
-
id: "add_payment_method_modal.cancel_button.label",
|
|
386
|
-
description: "Label of the button that abandons adding a payment method"
|
|
387
|
-
}),
|
|
388
|
-
onConfirm: handleConfirm,
|
|
389
|
-
onClose: _cache[2] || (_cache[2] = ($event) => emit("close"))
|
|
390
|
-
}, {
|
|
391
|
-
body: withCtx(() => [
|
|
392
|
-
createVNode(_sfc_main$h, {
|
|
393
|
-
ref_key: "addPaymentMethodRef",
|
|
394
|
-
ref: addPaymentMethodRef,
|
|
395
|
-
class: "sv-add-payment-method-modal sv-add-payment-method-modal__form",
|
|
396
|
-
customer: __props.customer,
|
|
397
|
-
"payment-method-options": __props.paymentMethodOptions,
|
|
398
|
-
"is-loading": __props.isLoading,
|
|
399
|
-
"is-active": __props.showModal,
|
|
400
|
-
onSuccess: _cache[0] || (_cache[0] = ($event) => emit("success")),
|
|
401
|
-
onFailure: _cache[1] || (_cache[1] = (error) => emit("failure", error))
|
|
402
|
-
}, null, 8, ["customer", "payment-method-options", "is-loading", "is-active"])
|
|
403
|
-
]),
|
|
404
|
-
_: 1
|
|
405
|
-
}, 8, ["show-modal", "is-loading", "title", "sub-title", "confirm-button-text", "cancel-button-text"]);
|
|
310
|
+
setup(t, { emit: a }) {
|
|
311
|
+
const n = a, { $t: s } = E(), c = S(), p = _(() => {
|
|
312
|
+
var l;
|
|
313
|
+
return !!((l = c.value) != null && l.isSaving);
|
|
314
|
+
}), y = () => {
|
|
315
|
+
var l;
|
|
316
|
+
(l = c.value) == null || l.submit();
|
|
406
317
|
};
|
|
318
|
+
return (l, v) => (m(), f(e(Ve), {
|
|
319
|
+
"no-click-away": "",
|
|
320
|
+
size: "lg",
|
|
321
|
+
"show-modal": t.showModal,
|
|
322
|
+
"is-loading": p.value,
|
|
323
|
+
title: e(s)({
|
|
324
|
+
defaultMessage: "Add payment method",
|
|
325
|
+
id: "add_payment_method_modal.title",
|
|
326
|
+
description: "Title of the modal for adding a payment method"
|
|
327
|
+
}),
|
|
328
|
+
"sub-title": e(s)({
|
|
329
|
+
defaultMessage: "Add a new payment method to pay with.",
|
|
330
|
+
id: "add_payment_method_modal.subtitle",
|
|
331
|
+
description: "Subtitle of the modal for adding a payment method"
|
|
332
|
+
}),
|
|
333
|
+
"confirm-button-text": e(s)({
|
|
334
|
+
defaultMessage: "Save payment method",
|
|
335
|
+
id: "add_payment_method_modal.confirm_button.label",
|
|
336
|
+
description: "Label of the button that stores the payment method being added"
|
|
337
|
+
}),
|
|
338
|
+
"cancel-button-text": e(s)({
|
|
339
|
+
defaultMessage: "Cancel",
|
|
340
|
+
id: "add_payment_method_modal.cancel_button.label",
|
|
341
|
+
description: "Label of the button that abandons adding a payment method"
|
|
342
|
+
}),
|
|
343
|
+
onConfirm: y,
|
|
344
|
+
onClose: v[2] || (v[2] = (o) => n("close"))
|
|
345
|
+
}, {
|
|
346
|
+
body: b(() => [
|
|
347
|
+
h(Ne, {
|
|
348
|
+
ref_key: "addPaymentMethodRef",
|
|
349
|
+
ref: c,
|
|
350
|
+
class: "sv-add-payment-method-modal sv-add-payment-method-modal__form",
|
|
351
|
+
customer: t.customer,
|
|
352
|
+
"payment-method-options": t.paymentMethodOptions,
|
|
353
|
+
"is-loading": t.isLoading,
|
|
354
|
+
"is-active": t.showModal,
|
|
355
|
+
onSuccess: v[0] || (v[0] = (o) => n("success")),
|
|
356
|
+
onFailure: v[1] || (v[1] = (o) => n("failure", o))
|
|
357
|
+
}, null, 8, ["customer", "payment-method-options", "is-loading", "is-active"])
|
|
358
|
+
]),
|
|
359
|
+
_: 1
|
|
360
|
+
}, 8, ["show-modal", "is-loading", "title", "sub-title", "confirm-button-text", "cancel-button-text"]));
|
|
407
361
|
}
|
|
408
|
-
})
|
|
409
|
-
const _hoisted_1 = { class: "sv-subscription-management__header" };
|
|
410
|
-
const _hoisted_2 = { class: "flex flex-col gap-2" };
|
|
411
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
362
|
+
}), Qe = { class: "sv-subscription-management__header" }, Xe = { class: "flex flex-col gap-2" }, Ze = /* @__PURE__ */ I({
|
|
412
363
|
__name: "SubscriptionManagement",
|
|
413
364
|
props: {
|
|
414
365
|
configuration: { type: Object }
|
|
415
366
|
},
|
|
416
|
-
setup(
|
|
417
|
-
const
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
const { customer, get: fetchCustomer } = useCustomer({ customerId: portal.value.customer_id });
|
|
430
|
-
const { paymentMethodOptions, get: fetchPaymentMethodOptions } = usePaymentMethodOptions();
|
|
431
|
-
const { isLoading } = useLoadInitialData(
|
|
432
|
-
fetchSubscription(),
|
|
433
|
-
fetchPaymentMethods(),
|
|
434
|
-
fetchCustomer.execute(),
|
|
435
|
-
fetchPaymentMethodOptions({ customerId: portal.value.customer_id })
|
|
436
|
-
);
|
|
437
|
-
const isAddingPaymentMethod = ref(false);
|
|
438
|
-
const handlePaymentMethodAdded = async () => {
|
|
439
|
-
await fetchPaymentMethods();
|
|
440
|
-
isAddingPaymentMethod.value = false;
|
|
441
|
-
};
|
|
442
|
-
const activeScheduleInfo = computed(
|
|
367
|
+
setup(t) {
|
|
368
|
+
const a = t, { $t: n } = E(), s = we(), c = X(), { dispatchAction: p } = ye(), { createPricingPlanSchedule: y } = Fe(), { subscription: l, get: v } = Se({
|
|
369
|
+
subscriptionId: a.configuration.subscriptionId
|
|
370
|
+
}), { items: o, fetchAll: i } = Me({
|
|
371
|
+
customerId: s.value.customer_id
|
|
372
|
+
}), { customer: u, get: L } = Pe({ customerId: s.value.customer_id }), { paymentMethodOptions: P, get: U } = Ie(), { isLoading: B } = $e(
|
|
373
|
+
v(),
|
|
374
|
+
i(),
|
|
375
|
+
L.execute(),
|
|
376
|
+
U({ customerId: s.value.customer_id })
|
|
377
|
+
), x = S(!1), te = async () => {
|
|
378
|
+
await i(), x.value = !1;
|
|
379
|
+
}, V = _(
|
|
443
380
|
() => {
|
|
444
|
-
var
|
|
445
|
-
return
|
|
381
|
+
var r;
|
|
382
|
+
return Ce(((r = l.value) == null ? void 0 : r.pricing_plan_schedule_infos) ?? []);
|
|
446
383
|
}
|
|
447
|
-
)
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
({
|
|
457
|
-
);
|
|
458
|
-
|
|
459
|
-
(pricingId) => getPricingGroupByPricingId({ pricingPlanScheduleInfo: scheduleInfo, pricingId })
|
|
460
|
-
).find((group) => Boolean(group));
|
|
461
|
-
});
|
|
462
|
-
const title = computed(
|
|
384
|
+
), O = _(() => {
|
|
385
|
+
var M;
|
|
386
|
+
const r = V.value;
|
|
387
|
+
if (!r)
|
|
388
|
+
return;
|
|
389
|
+
const { enabledPricingId: d } = a.configuration;
|
|
390
|
+
return (d ? [d] : (((M = r.pricing_plan_schedule) == null ? void 0 : M.enabled_pricings) ?? []).map(
|
|
391
|
+
({ pricing_id: g }) => g
|
|
392
|
+
)).map(
|
|
393
|
+
(g) => Ae({ pricingPlanScheduleInfo: r, pricingId: g })
|
|
394
|
+
).find((g) => !!g);
|
|
395
|
+
}), ne = _(
|
|
463
396
|
() => {
|
|
464
|
-
var
|
|
465
|
-
return
|
|
397
|
+
var r;
|
|
398
|
+
return n(
|
|
466
399
|
{
|
|
467
400
|
defaultMessage: "Manage {subject}",
|
|
468
401
|
id: "subscription_management.title",
|
|
469
402
|
description: "Title for the manage subscription page, naming the pricing group being changed"
|
|
470
403
|
},
|
|
471
404
|
{
|
|
472
|
-
subject: ((
|
|
405
|
+
subject: ((r = O.value) == null ? void 0 : r.name) || n({
|
|
473
406
|
defaultMessage: "subscription",
|
|
474
407
|
id: "subscription_management.title.default_subject",
|
|
475
408
|
description: 'Stands in for the pricing group name in the manage subscription title when no group is known, e.g. "Manage subscription"'
|
|
@@ -477,192 +410,173 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
477
410
|
}
|
|
478
411
|
);
|
|
479
412
|
}
|
|
480
|
-
);
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
);
|
|
490
|
-
const { enabledPricingId } = props.configuration;
|
|
491
|
-
const groupPricingIds = ((group == null ? void 0 : group.pricings) ?? []).map(({ id }) => id);
|
|
492
|
-
enabledPricingIds.value = enabledPricingId && groupPricingIds.includes(enabledPricingId) ? [...scheduled.filter((id) => !groupPricingIds.includes(id)), enabledPricingId] : scheduled;
|
|
413
|
+
), $ = S([]), D = S();
|
|
414
|
+
F(
|
|
415
|
+
[V, O],
|
|
416
|
+
([r, d]) => {
|
|
417
|
+
var W;
|
|
418
|
+
const w = (((W = r == null ? void 0 : r.pricing_plan_schedule) == null ? void 0 : W.enabled_pricings) ?? []).map(
|
|
419
|
+
({ pricing_id: k }) => k
|
|
420
|
+
), { enabledPricingId: M } = a.configuration, g = ((d == null ? void 0 : d.pricings) ?? []).map(({ id: k }) => k);
|
|
421
|
+
$.value = M && g.includes(M) ? [...w.filter((k) => !g.includes(k)), M] : w;
|
|
493
422
|
},
|
|
494
|
-
{ immediate:
|
|
423
|
+
{ immediate: !0 }
|
|
495
424
|
);
|
|
496
425
|
const {
|
|
497
|
-
invoice:
|
|
498
|
-
isPending:
|
|
499
|
-
error:
|
|
500
|
-
load:
|
|
501
|
-
} =
|
|
502
|
-
|
|
503
|
-
[
|
|
504
|
-
([
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
void loadPreview({
|
|
509
|
-
subscription: loadedSubscription,
|
|
510
|
-
enabledPricingIds: pricingIds
|
|
426
|
+
invoice: ie,
|
|
427
|
+
isPending: ae,
|
|
428
|
+
error: se,
|
|
429
|
+
load: oe
|
|
430
|
+
} = Ge();
|
|
431
|
+
F(
|
|
432
|
+
[$, l],
|
|
433
|
+
([r, d]) => {
|
|
434
|
+
!d || r.length === 0 || oe({
|
|
435
|
+
subscription: d,
|
|
436
|
+
enabledPricingIds: r
|
|
511
437
|
});
|
|
512
438
|
},
|
|
513
|
-
{ immediate:
|
|
514
|
-
);
|
|
515
|
-
const isUpdating = ref(false);
|
|
516
|
-
const updateError = ref();
|
|
517
|
-
const isUpdated = ref(false);
|
|
518
|
-
const canUpdate = computed(
|
|
519
|
-
() => !isLoading.value && !isUpdating.value && enabledPricingIds.value.length > 0 && Boolean(subscription.value) && Boolean(paymentMethodId.value)
|
|
439
|
+
{ immediate: !0 }
|
|
520
440
|
);
|
|
521
|
-
const
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
})
|
|
533
|
-
})
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
{
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
} finally {
|
|
548
|
-
isUpdating.value = false;
|
|
441
|
+
const j = S(!1), N = S(), G = S(!1), q = _(
|
|
442
|
+
() => !B.value && !j.value && $.value.length > 0 && !!l.value && !!D.value
|
|
443
|
+
), re = async () => {
|
|
444
|
+
if (!(!q.value || !l.value)) {
|
|
445
|
+
j.value = !0, N.value = void 0;
|
|
446
|
+
try {
|
|
447
|
+
await y({
|
|
448
|
+
pricingPlanSubscriptionId: l.value.id,
|
|
449
|
+
enabledPricings: $.value.map((r) => ({
|
|
450
|
+
pricing_id: r
|
|
451
|
+
}))
|
|
452
|
+
}), G.value = !0;
|
|
453
|
+
} catch (r) {
|
|
454
|
+
c.error(
|
|
455
|
+
"SUBSCRIPTION_UPDATE_FAILED",
|
|
456
|
+
"Failed to start a new pricing plan schedule",
|
|
457
|
+
{},
|
|
458
|
+
r
|
|
459
|
+
), N.value = n({
|
|
460
|
+
defaultMessage: "Something went wrong. Please try again.",
|
|
461
|
+
id: "subscription_management.update_error",
|
|
462
|
+
description: "Error shown when committing a subscription change fails"
|
|
463
|
+
});
|
|
464
|
+
} finally {
|
|
465
|
+
j.value = !1;
|
|
466
|
+
}
|
|
549
467
|
}
|
|
550
|
-
}
|
|
551
|
-
const billingPeriod = computed(
|
|
468
|
+
}, Y = _(
|
|
552
469
|
() => {
|
|
553
|
-
var
|
|
554
|
-
return ((
|
|
470
|
+
var r, d, w;
|
|
471
|
+
return ((d = (r = V.value) == null ? void 0 : r.pricing_plan_schedule) == null ? void 0 : d.billing_period) ?? ((w = l.value) == null ? void 0 : w.billing_period);
|
|
555
472
|
}
|
|
556
473
|
);
|
|
557
|
-
return (
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
474
|
+
return (r, d) => (m(), f(e(_e), { class: "sv-subscription-management sv-root sv-screen" }, {
|
|
475
|
+
header: b(() => [
|
|
476
|
+
A("div", Qe, [
|
|
477
|
+
h(e(Z), {
|
|
478
|
+
variant: "heading-2",
|
|
479
|
+
tag: "h1",
|
|
480
|
+
class: "sv-subscription-management__title"
|
|
481
|
+
}, {
|
|
482
|
+
default: b(() => [
|
|
483
|
+
T(C(ne.value), 1)
|
|
484
|
+
]),
|
|
485
|
+
_: 1
|
|
486
|
+
})
|
|
487
|
+
])
|
|
488
|
+
]),
|
|
489
|
+
content: b(() => {
|
|
490
|
+
var w, M;
|
|
491
|
+
return [
|
|
492
|
+
G.value ? (m(), f(Je, {
|
|
493
|
+
key: 0,
|
|
494
|
+
class: "sv-subscription-management__success",
|
|
495
|
+
"pricing-group-name": (w = O.value) == null ? void 0 : w.name
|
|
496
|
+
}, null, 8, ["pricing-group-name"])) : e(B) ? (m(), f(ee, {
|
|
497
|
+
key: 1,
|
|
498
|
+
variant: "section",
|
|
499
|
+
class: "min-h-[220px]"
|
|
500
|
+
})) : O.value && Y.value ? (m(), f(ze, {
|
|
501
|
+
key: 2,
|
|
502
|
+
"enabled-pricing-ids": $.value,
|
|
503
|
+
"onUpdate:enabledPricingIds": d[0] || (d[0] = (g) => $.value = g),
|
|
504
|
+
"payment-method-id": D.value,
|
|
505
|
+
"onUpdate:paymentMethodId": d[1] || (d[1] = (g) => D.value = g),
|
|
506
|
+
class: "sv-subscription-management__form",
|
|
507
|
+
"pricing-group": O.value,
|
|
508
|
+
"payment-methods": e(o),
|
|
509
|
+
"payment-method-options": e(P),
|
|
510
|
+
"billing-period": Y.value,
|
|
511
|
+
currency: (M = e(l)) == null ? void 0 : M.billing_currency,
|
|
512
|
+
onAddPaymentMethod: d[2] || (d[2] = (g) => x.value = !0)
|
|
513
|
+
}, null, 8, ["enabled-pricing-ids", "payment-method-id", "pricing-group", "payment-methods", "payment-method-options", "billing-period", "currency"])) : R("", !0),
|
|
514
|
+
h(Ke, {
|
|
515
|
+
"show-modal": x.value,
|
|
516
|
+
customer: e(u),
|
|
517
|
+
"payment-method-options": e(P),
|
|
518
|
+
onSuccess: te,
|
|
519
|
+
onClose: d[3] || (d[3] = (g) => x.value = !1)
|
|
520
|
+
}, null, 8, ["show-modal", "customer", "payment-method-options"])
|
|
521
|
+
];
|
|
522
|
+
}),
|
|
523
|
+
aside: b(() => [
|
|
524
|
+
G.value ? (m(), f(e(K), {
|
|
525
|
+
key: 0,
|
|
526
|
+
size: "lg",
|
|
527
|
+
class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__done w-full",
|
|
528
|
+
type: "button",
|
|
529
|
+
onClick: d[4] || (d[4] = (w) => e(p)({ action: "navigate-to-customer-overview" }))
|
|
530
|
+
}, {
|
|
531
|
+
default: b(() => [
|
|
532
|
+
T(C(e(n)({
|
|
533
|
+
defaultMessage: "Done",
|
|
534
|
+
id: "subscription_management.done_button.label",
|
|
535
|
+
description: "Label of the button that leaves the manage subscription screen once the change is committed"
|
|
536
|
+
})), 1)
|
|
537
|
+
]),
|
|
538
|
+
_: 1
|
|
539
|
+
})) : (m(), z(me, { key: 1 }, [
|
|
540
|
+
h(Ye, {
|
|
541
|
+
class: "sv-subscription-management__summary",
|
|
542
|
+
invoice: e(ie),
|
|
543
|
+
"is-pending": e(B) || e(ae),
|
|
544
|
+
"has-error": !!e(se)
|
|
545
|
+
}, null, 8, ["invoice", "is-pending", "has-error"]),
|
|
546
|
+
N.value ? (m(), f(e(Q), {
|
|
547
|
+
key: 0,
|
|
548
|
+
class: "sv-subscription-management__update-error sv-error",
|
|
549
|
+
title: N.value
|
|
550
|
+
}, null, 8, ["title"])) : R("", !0),
|
|
551
|
+
A("div", Xe, [
|
|
552
|
+
h(e(K), {
|
|
553
|
+
size: "lg",
|
|
554
|
+
class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__update w-full",
|
|
555
|
+
type: "button",
|
|
556
|
+
disabled: !q.value,
|
|
557
|
+
loading: j.value,
|
|
558
|
+
onClick: re
|
|
565
559
|
}, {
|
|
566
|
-
default:
|
|
567
|
-
|
|
560
|
+
default: b(() => [
|
|
561
|
+
T(C(e(n)({
|
|
562
|
+
defaultMessage: "Update subscription",
|
|
563
|
+
id: "subscription_management.update_button.label",
|
|
564
|
+
description: "Label of the button that commits the subscription change"
|
|
565
|
+
})), 1)
|
|
568
566
|
]),
|
|
569
567
|
_: 1
|
|
570
|
-
})
|
|
568
|
+
}, 8, ["disabled", "loading"]),
|
|
569
|
+
h(Ee, {
|
|
570
|
+
class: "sv-subscription-management__kpi",
|
|
571
|
+
"payment-method-options": e(P)
|
|
572
|
+
}, null, 8, ["payment-method-options"])
|
|
571
573
|
])
|
|
572
|
-
])
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
isUpdated.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
577
|
-
key: 0,
|
|
578
|
-
class: "sv-subscription-management__success",
|
|
579
|
-
"pricing-group-name": (_a = pricingGroup.value) == null ? void 0 : _a.name
|
|
580
|
-
}, null, 8, ["pricing-group-name"])) : unref(isLoading) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
581
|
-
key: 1,
|
|
582
|
-
variant: "section",
|
|
583
|
-
class: "min-h-[220px]"
|
|
584
|
-
})) : pricingGroup.value && billingPeriod.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
585
|
-
key: 2,
|
|
586
|
-
"enabled-pricing-ids": enabledPricingIds.value,
|
|
587
|
-
"onUpdate:enabledPricingIds": _cache[0] || (_cache[0] = ($event) => enabledPricingIds.value = $event),
|
|
588
|
-
"payment-method-id": paymentMethodId.value,
|
|
589
|
-
"onUpdate:paymentMethodId": _cache[1] || (_cache[1] = ($event) => paymentMethodId.value = $event),
|
|
590
|
-
class: "sv-subscription-management__form",
|
|
591
|
-
"pricing-group": pricingGroup.value,
|
|
592
|
-
"payment-methods": unref(paymentMethods),
|
|
593
|
-
"payment-method-options": unref(paymentMethodOptions),
|
|
594
|
-
"billing-period": billingPeriod.value,
|
|
595
|
-
currency: (_b = unref(subscription)) == null ? void 0 : _b.billing_currency,
|
|
596
|
-
onAddPaymentMethod: _cache[2] || (_cache[2] = ($event) => isAddingPaymentMethod.value = true)
|
|
597
|
-
}, null, 8, ["enabled-pricing-ids", "payment-method-id", "pricing-group", "payment-methods", "payment-method-options", "billing-period", "currency"])) : createCommentVNode("", true),
|
|
598
|
-
createVNode(_sfc_main$2, {
|
|
599
|
-
"show-modal": isAddingPaymentMethod.value,
|
|
600
|
-
customer: unref(customer),
|
|
601
|
-
"payment-method-options": unref(paymentMethodOptions),
|
|
602
|
-
onSuccess: handlePaymentMethodAdded,
|
|
603
|
-
onClose: _cache[3] || (_cache[3] = ($event) => isAddingPaymentMethod.value = false)
|
|
604
|
-
}, null, 8, ["show-modal", "customer", "payment-method-options"])
|
|
605
|
-
];
|
|
606
|
-
}),
|
|
607
|
-
aside: withCtx(() => [
|
|
608
|
-
isUpdated.value ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
609
|
-
key: 0,
|
|
610
|
-
size: "lg",
|
|
611
|
-
class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__done w-full",
|
|
612
|
-
type: "button",
|
|
613
|
-
onClick: _cache[4] || (_cache[4] = ($event) => unref(dispatchAction)({ action: "navigate-to-customer-overview" }))
|
|
614
|
-
}, {
|
|
615
|
-
default: withCtx(() => [
|
|
616
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
617
|
-
defaultMessage: "Done",
|
|
618
|
-
id: "subscription_management.done_button.label",
|
|
619
|
-
description: "Label of the button that leaves the manage subscription screen once the change is committed"
|
|
620
|
-
})), 1)
|
|
621
|
-
]),
|
|
622
|
-
_: 1
|
|
623
|
-
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
624
|
-
createVNode(_sfc_main$4, {
|
|
625
|
-
class: "sv-subscription-management__summary",
|
|
626
|
-
invoice: unref(previewInvoice),
|
|
627
|
-
"is-pending": unref(isLoading) || unref(isPreviewPending),
|
|
628
|
-
"has-error": Boolean(unref(previewError))
|
|
629
|
-
}, null, 8, ["invoice", "is-pending", "has-error"]),
|
|
630
|
-
updateError.value ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
631
|
-
key: 0,
|
|
632
|
-
class: "sv-subscription-management__update-error sv-error",
|
|
633
|
-
title: updateError.value
|
|
634
|
-
}, null, 8, ["title"])) : createCommentVNode("", true),
|
|
635
|
-
createElementVNode("div", _hoisted_2, [
|
|
636
|
-
createVNode(unref(_sfc_main$i), {
|
|
637
|
-
size: "lg",
|
|
638
|
-
class: "sv-action sv-action--primary sv-action--full-width sv-subscription-management__update w-full",
|
|
639
|
-
type: "button",
|
|
640
|
-
disabled: !canUpdate.value,
|
|
641
|
-
loading: isUpdating.value,
|
|
642
|
-
onClick: handleUpdate
|
|
643
|
-
}, {
|
|
644
|
-
default: withCtx(() => [
|
|
645
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
646
|
-
defaultMessage: "Update subscription",
|
|
647
|
-
id: "subscription_management.update_button.label",
|
|
648
|
-
description: "Label of the button that commits the subscription change"
|
|
649
|
-
})), 1)
|
|
650
|
-
]),
|
|
651
|
-
_: 1
|
|
652
|
-
}, 8, ["disabled", "loading"]),
|
|
653
|
-
createVNode(_sfc_main$j, {
|
|
654
|
-
class: "sv-subscription-management__kpi",
|
|
655
|
-
"payment-method-options": unref(paymentMethodOptions)
|
|
656
|
-
}, null, 8, ["payment-method-options"])
|
|
657
|
-
])
|
|
658
|
-
], 64))
|
|
659
|
-
]),
|
|
660
|
-
_: 1
|
|
661
|
-
});
|
|
662
|
-
};
|
|
574
|
+
], 64))
|
|
575
|
+
]),
|
|
576
|
+
_: 1
|
|
577
|
+
}));
|
|
663
578
|
}
|
|
664
|
-
})
|
|
665
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
579
|
+
}), et = /* @__PURE__ */ I({
|
|
666
580
|
__name: "SubscriptionManagement.entry",
|
|
667
581
|
props: {
|
|
668
582
|
environment: { type: String },
|
|
@@ -681,27 +595,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
681
595
|
branding: { type: Object },
|
|
682
596
|
configuration: { type: Object }
|
|
683
597
|
},
|
|
684
|
-
setup(
|
|
685
|
-
const
|
|
686
|
-
return (
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
}, 8, ["entry", "component-name"]);
|
|
698
|
-
};
|
|
598
|
+
setup(t) {
|
|
599
|
+
const a = De("subscription-management");
|
|
600
|
+
return (n, s) => (m(), f(e(ve), {
|
|
601
|
+
entry: n.$props,
|
|
602
|
+
"component-name": e(a),
|
|
603
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
604
|
+
onError: s[0] || (s[0] = (c) => n.$emit("error", c))
|
|
605
|
+
}, {
|
|
606
|
+
default: b(() => [
|
|
607
|
+
h(Ze, { configuration: t.configuration }, null, 8, ["configuration"])
|
|
608
|
+
]),
|
|
609
|
+
_: 1
|
|
610
|
+
}, 8, ["entry", "component-name"]));
|
|
699
611
|
}
|
|
700
|
-
})
|
|
701
|
-
|
|
702
|
-
_sfc_main,
|
|
612
|
+
}), { define: It } = he(
|
|
613
|
+
et,
|
|
703
614
|
"subscription-management"
|
|
704
615
|
);
|
|
705
616
|
export {
|
|
706
|
-
defineSolvimonSubscriptionManagement
|
|
617
|
+
It as defineSolvimonSubscriptionManagement
|
|
707
618
|
};
|