@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.21
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-B9WTpz0k.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.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-CJw5z7Uu.js +1 -0
- package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
- package/dist/Button.vue.es-BWl37nzm.js +1 -0
- package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
- package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
- package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
- package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
- package/dist/Chip.vue.es-DUgjuRWm.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-BllxeDTt.js +1 -0
- package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
- package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -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-BBdydUy_.js +1 -0
- package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
- package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -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-DAR7e8NA.mjs +198 -0
- package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
- package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
- package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
- package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
- package/dist/Input.vue.es-BN95nPBw.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
- package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
- package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
- package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DGJ_PiVq.js} +1 -1
- package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
- package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-DqqGcEP1.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
- package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
- package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
- package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-BQ5TVHlS.js} +1 -1
- package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
- package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
- package/dist/Section.vue.es-By1JltGi.mjs +72 -0
- package/dist/Section.vue.es-DuK52y67.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -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-DDCjVEbG.mjs +4 -0
- package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
- package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
- package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
- package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
- package/dist/TrialChip.vue.es-DX53r0ku.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-CNvIP217.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-DjnGlmqV.mjs} +657 -927
- 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-Bt8PbjIn.js +1187 -0
- package/dist/customElements-Com2NiGU.mjs +6531 -0
- package/dist/customer-CKgMJEgv.mjs +31 -0
- package/dist/customer-Q4JGfVfq.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-CI2zQkiP.mjs → de-DE-CVCmzlNH.mjs} +5 -5
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DBO5f-Eu.mjs} +38 -56
- package/dist/{de-DE-_40QfLNJ.js → de-DE-DqLD4IX2.js} +1 -1
- package/dist/de-DE-Ds_yJLS3.js +1 -0
- 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-5YWNEi-V.mjs → en-US-3UmnS23B.mjs} +38 -56
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-CvFmmI_O.js} +1 -1
- package/dist/{en-US-DksUWPIu.mjs → en-US-DVR9O7b_.mjs} +5 -5
- 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-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-CDMnnFKZ.mjs} +5 -5
- package/dist/{it-IT-aPQY57ht.js → it-IT-CFEfSpPH.js} +1 -1
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-CxBRisRm.mjs} +38 -56
- package/dist/it-IT-Dxw59eR_.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-CjoW8r_M.mjs → nl-NL-BWGkVweu.mjs} +38 -56
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/{nl-NL-zRUAuEHg.js → nl-NL-jtVgF3jx.js} +1 -1
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-o3UvtSNg.mjs} +5 -5
- 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-BuwoJ1y9.mjs +75 -0
- package/dist/paymentMethods-ChWAwDSF.js +1 -0
- package/dist/payments-C_cMXQzE.mjs +45 -0
- package/dist/payments-DGckugN0.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-DMf1e6y7.mjs +76 -0
- package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
- package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -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-9GORG-Gt.js +1 -0
- package/dist/subscription-CvfAEJeP.mjs +69 -0
- package/dist/subscriptions-B5VqRayX.mjs +55 -0
- package/dist/subscriptions-X0Ciw8z3.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/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/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- 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-B54GYEY7.js +1 -0
- package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
- package/dist/useCustomer-BJwJ9BkJ.js +1 -0
- package/dist/useCustomer-CC9zxV6c.mjs +20 -0
- package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
- package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
- package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
- package/dist/useInvoiceData-Bblwdl0f.js +1 -0
- package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
- package/dist/useInvoicesList-_U1-tn9_.js +1 -0
- package/dist/useLoadInitialData-CezlvhBV.js +1 -0
- package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
- package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
- package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
- package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
- package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
- package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
- package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
- package/dist/usePayments-BkwGyZT0.mjs +318 -0
- package/dist/usePayments-SQF_V7oL.js +1 -0
- package/dist/usePortal-BdM7hDge.js +1 -0
- package/dist/usePortal-DDG9b6FI.mjs +11 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-BJJYHYgr.mjs +210 -0
- package/dist/useSubscription-Q4C2DPhw.js +1 -0
- package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
- package/dist/useTimePeriod.es-pepm2TpV.js +1 -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/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/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/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,353 +1,294 @@
|
|
|
1
|
-
import { computed, ref, defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, shallowRef, watch, toRef, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { C as
|
|
7
|
-
import { u as
|
|
8
|
-
import { b as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { u as
|
|
26
|
-
import { u as
|
|
27
|
-
import { u as
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
subscription
|
|
1
|
+
import { computed as u, ref as D, defineComponent as O, openBlock as c, createBlock as m, unref as e, withCtx as p, createElementVNode as U, createVNode as M, createTextVNode as w, toDisplayString as S, createCommentVNode as C, createElementBlock as F, Fragment as Z, renderList as J, shallowRef as K, watch as W, defineAsyncComponent as Q, toRef as X, renderSlot as ee, normalizeProps as te, guardReactiveProps as ne } from "vue";
|
|
2
|
+
import { _ as ae } from "../../IconButton.vue.es-DAR7e8NA.mjs";
|
|
3
|
+
import { _ as V } from "../../Button.vue.es-VQCd3V3C.mjs";
|
|
4
|
+
import { _ as G } from "../../ErrorNotification.vue.es-C6ngWAVU.mjs";
|
|
5
|
+
import { u as N, _ as E, b as se, d as ie, e as oe } from "../../customElements-Com2NiGU.mjs";
|
|
6
|
+
import { C as re } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
|
|
7
|
+
import { u as le } from "../../useActionDispatchProvider-e2lQXTid.mjs";
|
|
8
|
+
import { b as q, a as ce } from "../../subscription-CvfAEJeP.mjs";
|
|
9
|
+
import { _ as ue, u as de } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs";
|
|
10
|
+
import { _ as pe } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs";
|
|
11
|
+
import { _ as me } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs";
|
|
12
|
+
import { _ as be } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
|
|
13
|
+
import { _ as Y } from "../../Section.vue.es-By1JltGi.mjs";
|
|
14
|
+
import { g as ge } from "../../pricing-DLOeiAIB.mjs";
|
|
15
|
+
import { f as z, b as fe } from "../../formatting.es-RclXHhKo.mjs";
|
|
16
|
+
import { _ as he } from "../../PaymentMethod.vue.es-BdMcKq8_.mjs";
|
|
17
|
+
import { M as ve } from "../../Modal.vue.es-DSkC4eMv.mjs";
|
|
18
|
+
import { c as _e } from "../../subscriptions-B5VqRayX.mjs";
|
|
19
|
+
import { _ as ye } from "../../SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs";
|
|
20
|
+
import { g as we } from "../../api.es-QaC926Xu.mjs";
|
|
21
|
+
import { i as Se } from "../../useIncrementalLoading-Cgxw2GD7.mjs";
|
|
22
|
+
import { c as Ce } from "../../paymentMethods-BuwoJ1y9.mjs";
|
|
23
|
+
import { A as Me } from "../../error-BHVZJGwD.mjs";
|
|
24
|
+
import { u as xe } from "../../useSubscription-BJJYHYgr.mjs";
|
|
25
|
+
import { u as $e } from "../../useCustomer-CC9zxV6c.mjs";
|
|
26
|
+
import { u as Pe } from "../../usePaymentMethods-C3QfLSrP.mjs";
|
|
27
|
+
import { u as Ae } from "../../useLoadInitialData-ux_wpNiR.mjs";
|
|
28
|
+
import { g as ke } from "../../component-5wqcK7yz.mjs";
|
|
29
|
+
function Ee({
|
|
30
|
+
subscription: t
|
|
32
31
|
}) {
|
|
33
|
-
const { dispatchAction } =
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (!subscription.value) return;
|
|
51
|
-
pendingVariant.value = "RENEW";
|
|
52
|
-
};
|
|
53
|
-
const dismiss = () => {
|
|
54
|
-
pendingVariant.value = void 0;
|
|
55
|
-
};
|
|
56
|
-
const manage = () => {
|
|
57
|
-
if (!subscription.value) return;
|
|
58
|
-
dispatchAction({
|
|
32
|
+
const { dispatchAction: o } = le(), a = u(() => {
|
|
33
|
+
if (!t.value) return !1;
|
|
34
|
+
const b = t.value.inactive_periods;
|
|
35
|
+
return !b || b.length === 0;
|
|
36
|
+
}), n = u(() => {
|
|
37
|
+
var _;
|
|
38
|
+
const b = (_ = t.value) == null ? void 0 : _.inactive_periods;
|
|
39
|
+
return Array.isArray(b) && b.length > 0;
|
|
40
|
+
}), i = D();
|
|
41
|
+
return { isCancellable: a, isRenewable: n, pendingVariant: i, cancel: () => {
|
|
42
|
+
t.value && (i.value = "CANCEL");
|
|
43
|
+
}, renew: () => {
|
|
44
|
+
t.value && (i.value = "RENEW");
|
|
45
|
+
}, dismiss: () => {
|
|
46
|
+
i.value = void 0;
|
|
47
|
+
}, manage: () => {
|
|
48
|
+
t.value && o({
|
|
59
49
|
action: "manage-subscription",
|
|
60
|
-
data: { subscriptionId:
|
|
50
|
+
data: { subscriptionId: t.value.id }
|
|
61
51
|
});
|
|
62
|
-
};
|
|
63
|
-
return { isCancellable, isRenewable, pendingVariant, cancel, renew, dismiss, manage };
|
|
52
|
+
} };
|
|
64
53
|
}
|
|
65
|
-
function
|
|
66
|
-
var
|
|
67
|
-
const
|
|
68
|
-
const band = (_e = (_d = config == null ? void 0 : config.details) == null ? void 0 : _d.bands) == null ? void 0 : _e[0];
|
|
54
|
+
function Le(t) {
|
|
55
|
+
var n, i, s, r, l, g, b;
|
|
56
|
+
const o = (s = (i = (n = t.items) == null ? void 0 : n[0]) == null ? void 0 : i.configs) == null ? void 0 : s[0], a = (l = (r = o == null ? void 0 : o.details) == null ? void 0 : r.bands) == null ? void 0 : l[0];
|
|
69
57
|
return {
|
|
70
|
-
amount: (
|
|
71
|
-
billingPeriod: ((
|
|
58
|
+
amount: (a == null ? void 0 : a.amount) ?? (a == null ? void 0 : a.fixed_amount),
|
|
59
|
+
billingPeriod: ((g = o == null ? void 0 : o.details) == null ? void 0 : g.pricing_period) ?? ((b = o == null ? void 0 : o.details) == null ? void 0 : b.billing_period)
|
|
72
60
|
};
|
|
73
61
|
}
|
|
74
|
-
function
|
|
75
|
-
var
|
|
76
|
-
const
|
|
77
|
-
(((
|
|
78
|
-
({ pricing_id }) =>
|
|
62
|
+
function Be(t) {
|
|
63
|
+
var n, i, s;
|
|
64
|
+
const o = new Set(
|
|
65
|
+
(((n = t.pricing_plan_schedule) == null ? void 0 : n.enabled_pricings) ?? []).map(
|
|
66
|
+
({ pricing_id: r }) => r
|
|
79
67
|
)
|
|
80
68
|
);
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
(group) => (group.pricings ?? []).filter((pricing) => enabledPricingIds.has(pricing.id)).map((pricing) => ({
|
|
89
|
-
pricingId: pricing.id,
|
|
90
|
-
pricingGroupId: group.id,
|
|
91
|
-
groupName: group.name,
|
|
69
|
+
return o.size === 0 ? [] : (((s = (i = t.pricing_plan_version) == null ? void 0 : i.pricing_categories) == null ? void 0 : s.flatMap(
|
|
70
|
+
(r) => r.pricing_groups ?? []
|
|
71
|
+
)) ?? []).flatMap(
|
|
72
|
+
(r) => (r.pricings ?? []).filter((l) => o.has(l.id)).map((l) => ({
|
|
73
|
+
pricingId: l.id,
|
|
74
|
+
pricingGroupId: r.id,
|
|
75
|
+
groupName: r.name,
|
|
92
76
|
// A pricing without a name of its own is only identifiable by the choice it belongs to.
|
|
93
|
-
name:
|
|
94
|
-
...
|
|
77
|
+
name: ge(l) || r.name,
|
|
78
|
+
...Le(l)
|
|
95
79
|
}))
|
|
96
80
|
);
|
|
97
81
|
}
|
|
98
|
-
const
|
|
99
|
-
const _hoisted_2$1 = { class: "sv-enabled-pricings-list__item-content grow" };
|
|
100
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
82
|
+
const Te = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4" }, Oe = { class: "sv-enabled-pricings-list__item-content grow" }, Re = /* @__PURE__ */ O({
|
|
101
83
|
__name: "EnabledPricingsListItem",
|
|
102
84
|
props: {
|
|
103
85
|
entry: { type: Object }
|
|
104
86
|
},
|
|
105
87
|
emits: ["upgrade"],
|
|
106
|
-
setup(
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
amount: formatAmount(amount),
|
|
125
|
-
period: formatBillingPeriod(billingPeriod, {
|
|
126
|
-
short: true,
|
|
127
|
-
hideValueForExactPeriods: true
|
|
128
|
-
})
|
|
129
|
-
}
|
|
130
|
-
);
|
|
88
|
+
setup(t) {
|
|
89
|
+
const o = t, { $t: a } = N(), n = u(() => {
|
|
90
|
+
const { amount: i, billingPeriod: s } = o.entry;
|
|
91
|
+
if (i)
|
|
92
|
+
return s ? a(
|
|
93
|
+
{
|
|
94
|
+
defaultMessage: "{amount} per {period}",
|
|
95
|
+
id: "enabled_pricings_list.item.price",
|
|
96
|
+
description: 'The recurring price of an enabled pricing, e.g. "€ 100,00 per month"'
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
amount: z(i),
|
|
100
|
+
period: fe(s, {
|
|
101
|
+
short: !0,
|
|
102
|
+
hideValueForExactPeriods: !0
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
) : z(i);
|
|
131
106
|
});
|
|
132
|
-
return (
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
class: "sv-enabled-pricings-list__item-group"
|
|
142
|
-
}, {
|
|
143
|
-
default: withCtx(() => [
|
|
144
|
-
createTextVNode(toDisplayString(__props.entry.groupName), 1)
|
|
145
|
-
]),
|
|
146
|
-
_: 1
|
|
147
|
-
}),
|
|
148
|
-
createVNode(unref(_sfc_main$7), {
|
|
149
|
-
tag: "h3",
|
|
150
|
-
variant: "heading-3",
|
|
151
|
-
"no-spacing": "",
|
|
152
|
-
class: "sv-enabled-pricings-list__item-name"
|
|
153
|
-
}, {
|
|
154
|
-
default: withCtx(() => [
|
|
155
|
-
createTextVNode(toDisplayString(__props.entry.name), 1)
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}),
|
|
159
|
-
price.value ? (openBlock(), createBlock(unref(_sfc_main$7), {
|
|
160
|
-
key: 0,
|
|
161
|
-
tag: "span",
|
|
162
|
-
variant: "body-sm",
|
|
163
|
-
color: "subtle",
|
|
164
|
-
class: "sv-enabled-pricings-list__item-price"
|
|
165
|
-
}, {
|
|
166
|
-
default: withCtx(() => [
|
|
167
|
-
createTextVNode(toDisplayString(price.value), 1)
|
|
168
|
-
]),
|
|
169
|
-
_: 1
|
|
170
|
-
})) : createCommentVNode("", true)
|
|
171
|
-
]),
|
|
172
|
-
createVNode(unref(_sfc_main$8), {
|
|
173
|
-
intent: "secondary",
|
|
174
|
-
class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
|
|
175
|
-
type: "button",
|
|
176
|
-
size: "xs",
|
|
177
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("upgrade", __props.entry))
|
|
107
|
+
return (i, s) => (c(), m(e(Y), { class: "sv-enabled-pricings-list__item" }, {
|
|
108
|
+
default: p(() => [
|
|
109
|
+
U("div", Te, [
|
|
110
|
+
U("div", Oe, [
|
|
111
|
+
M(e(E), {
|
|
112
|
+
tag: "span",
|
|
113
|
+
variant: "body-xs",
|
|
114
|
+
color: "subtle",
|
|
115
|
+
class: "sv-enabled-pricings-list__item-group"
|
|
178
116
|
}, {
|
|
179
|
-
default:
|
|
180
|
-
|
|
181
|
-
defaultMessage: "Upgrade",
|
|
182
|
-
id: "enabled_pricings_list.item.upgrade_button.label",
|
|
183
|
-
description: "Label for the button that changes which pricing is enabled for a group"
|
|
184
|
-
})), 1)
|
|
117
|
+
default: p(() => [
|
|
118
|
+
w(S(t.entry.groupName), 1)
|
|
185
119
|
]),
|
|
186
120
|
_: 1
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
121
|
+
}),
|
|
122
|
+
M(e(E), {
|
|
123
|
+
tag: "h3",
|
|
124
|
+
variant: "heading-3",
|
|
125
|
+
"no-spacing": "",
|
|
126
|
+
class: "sv-enabled-pricings-list__item-name"
|
|
127
|
+
}, {
|
|
128
|
+
default: p(() => [
|
|
129
|
+
w(S(t.entry.name), 1)
|
|
130
|
+
]),
|
|
131
|
+
_: 1
|
|
132
|
+
}),
|
|
133
|
+
n.value ? (c(), m(e(E), {
|
|
134
|
+
key: 0,
|
|
135
|
+
tag: "span",
|
|
136
|
+
variant: "body-sm",
|
|
137
|
+
color: "subtle",
|
|
138
|
+
class: "sv-enabled-pricings-list__item-price"
|
|
139
|
+
}, {
|
|
140
|
+
default: p(() => [
|
|
141
|
+
w(S(n.value), 1)
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
})) : C("", !0)
|
|
145
|
+
]),
|
|
146
|
+
M(e(V), {
|
|
147
|
+
intent: "secondary",
|
|
148
|
+
class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
|
|
149
|
+
type: "button",
|
|
150
|
+
size: "xs",
|
|
151
|
+
onClick: s[0] || (s[0] = (r) => i.$emit("upgrade", t.entry))
|
|
152
|
+
}, {
|
|
153
|
+
default: p(() => [
|
|
154
|
+
w(S(e(a)({
|
|
155
|
+
defaultMessage: "Upgrade",
|
|
156
|
+
id: "enabled_pricings_list.item.upgrade_button.label",
|
|
157
|
+
description: "Label for the button that changes which pricing is enabled for a group"
|
|
158
|
+
})), 1)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
})
|
|
162
|
+
])
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
}));
|
|
193
166
|
}
|
|
194
|
-
})
|
|
195
|
-
const _hoisted_1$2 = { class: "sv-enabled-pricings-list__items grid grid-cols-1 gap-2" };
|
|
196
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
167
|
+
}), Ue = { class: "sv-enabled-pricings-list__items grid grid-cols-1 gap-2" }, Ne = /* @__PURE__ */ O({
|
|
197
168
|
__name: "EnabledPricingsList",
|
|
198
169
|
props: {
|
|
199
170
|
pricingPlanSchedule: { type: Object }
|
|
200
171
|
},
|
|
201
172
|
emits: ["upgrade"],
|
|
202
|
-
setup(
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}), 128))
|
|
228
|
-
])
|
|
229
|
-
]),
|
|
230
|
-
_: 1
|
|
231
|
-
}, 8, ["title"])) : createCommentVNode("", true);
|
|
232
|
-
};
|
|
173
|
+
setup(t) {
|
|
174
|
+
const o = t, { $t: a } = N(), n = u(() => Be(o.pricingPlanSchedule));
|
|
175
|
+
return (i, s) => n.value.length > 0 ? (c(), m(e(Y), {
|
|
176
|
+
key: 0,
|
|
177
|
+
class: "sv-enabled-pricings-list",
|
|
178
|
+
"content-background": "none",
|
|
179
|
+
"no-border": "",
|
|
180
|
+
"no-spacing": "",
|
|
181
|
+
title: e(a)({
|
|
182
|
+
defaultMessage: "Upgrades",
|
|
183
|
+
id: "enabled_pricings_list.title",
|
|
184
|
+
description: "Title for the block listing the pricings enabled on a subscription"
|
|
185
|
+
})
|
|
186
|
+
}, {
|
|
187
|
+
default: p(() => [
|
|
188
|
+
U("div", Ue, [
|
|
189
|
+
(c(!0), F(Z, null, J(n.value, (r) => (c(), m(Re, {
|
|
190
|
+
key: r.pricingId,
|
|
191
|
+
entry: r,
|
|
192
|
+
onUpgrade: s[0] || (s[0] = (l) => i.$emit("upgrade", l))
|
|
193
|
+
}, null, 8, ["entry"]))), 128))
|
|
194
|
+
])
|
|
195
|
+
]),
|
|
196
|
+
_: 1
|
|
197
|
+
}, 8, ["title"])) : C("", !0);
|
|
233
198
|
}
|
|
234
199
|
});
|
|
235
|
-
function
|
|
236
|
-
variant,
|
|
237
|
-
renewableUntil,
|
|
238
|
-
billingPeriodEndsAt
|
|
200
|
+
function Ie({
|
|
201
|
+
variant: t,
|
|
202
|
+
renewableUntil: o,
|
|
203
|
+
billingPeriodEndsAt: a
|
|
239
204
|
}) {
|
|
240
|
-
const { $t } =
|
|
241
|
-
|
|
242
|
-
const title = computed(
|
|
243
|
-
() => isRenewing.value ? $t({
|
|
205
|
+
const { $t: n } = N(), i = u(() => t.value === "RENEW"), s = u(
|
|
206
|
+
() => i.value ? n({
|
|
244
207
|
defaultMessage: "Renew subscription",
|
|
245
208
|
description: "Title of the renew subscription confirmation modal",
|
|
246
209
|
id: "subscription_cancellation_modal.renew.title"
|
|
247
|
-
}) :
|
|
210
|
+
}) : n({
|
|
248
211
|
defaultMessage: "Cancel subscription",
|
|
249
212
|
description: "Title of the cancel subscription confirmation modal",
|
|
250
213
|
id: "subscription_cancellation_modal.cancel.title"
|
|
251
214
|
})
|
|
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
|
-
return $t(
|
|
279
|
-
{
|
|
280
|
-
defaultMessage: "You can renew your subscription until {date}. After this period you can only create a new subscription.",
|
|
281
|
-
description: "Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",
|
|
282
|
-
id: "subscription_cancellation_modal.renew.explanation_with_date"
|
|
283
|
-
},
|
|
284
|
-
{ date: renewableUntil.value }
|
|
285
|
-
);
|
|
286
|
-
});
|
|
287
|
-
const confirmButtonText = computed(
|
|
288
|
-
() => isRenewing.value ? $t({
|
|
215
|
+
), r = u(() => i.value ? o.value ? n(
|
|
216
|
+
{
|
|
217
|
+
defaultMessage: "You can renew your subscription until {date}. After this period you can only create a new subscription.",
|
|
218
|
+
description: "Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",
|
|
219
|
+
id: "subscription_cancellation_modal.renew.explanation_with_date"
|
|
220
|
+
},
|
|
221
|
+
{ date: o.value }
|
|
222
|
+
) : n({
|
|
223
|
+
defaultMessage: "Your subscription will continue as before, and billing will resume on its usual schedule.",
|
|
224
|
+
description: "Explanation of what happens when a cancellation is undone, shown in the renew subscription modal when no end date is known",
|
|
225
|
+
id: "subscription_cancellation_modal.renew.explanation"
|
|
226
|
+
}) : a.value ? n(
|
|
227
|
+
{
|
|
228
|
+
defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until {date}.",
|
|
229
|
+
description: "Explanation of what happens when a running subscription is cancelled, naming the date access ends, shown in the cancel subscription modal",
|
|
230
|
+
id: "subscription_cancellation_modal.cancel.explanation_with_date"
|
|
231
|
+
},
|
|
232
|
+
{ date: a.value }
|
|
233
|
+
) : n({
|
|
234
|
+
defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",
|
|
235
|
+
description: "Explanation of what happens when a running subscription is cancelled, shown in the cancel subscription modal",
|
|
236
|
+
id: "subscription_cancellation_modal.cancel.explanation"
|
|
237
|
+
})), l = u(
|
|
238
|
+
() => i.value ? n({
|
|
289
239
|
defaultMessage: "Renew subscription",
|
|
290
240
|
description: "Label of the confirm button in the renew subscription modal",
|
|
291
241
|
id: "subscription_cancellation_modal.renew.confirm_button.label"
|
|
292
|
-
}) :
|
|
242
|
+
}) : n({
|
|
293
243
|
defaultMessage: "Cancel subscription",
|
|
294
244
|
description: "Label of the confirm button in the cancel subscription modal",
|
|
295
245
|
id: "subscription_cancellation_modal.cancel.confirm_button.label"
|
|
296
246
|
})
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
() => $t({
|
|
247
|
+
), g = u(
|
|
248
|
+
() => n({
|
|
300
249
|
defaultMessage: "Cancel",
|
|
301
250
|
description: "Label of the button that dismisses the cancellation modal",
|
|
302
251
|
id: "subscription_cancellation_modal.cancel_button.label"
|
|
303
252
|
})
|
|
304
|
-
)
|
|
305
|
-
|
|
306
|
-
() => isRenewing.value ? $t({
|
|
253
|
+
), b = u(
|
|
254
|
+
() => i.value ? n({
|
|
307
255
|
defaultMessage: "We could not renew your subscription. Please try again.",
|
|
308
256
|
description: "Error shown when undoing a cancellation fails",
|
|
309
257
|
id: "subscription_cancellation_modal.renew.error"
|
|
310
|
-
}) :
|
|
258
|
+
}) : n({
|
|
311
259
|
defaultMessage: "We could not cancel your subscription. Please try again.",
|
|
312
260
|
description: "Error shown when cancelling a subscription fails",
|
|
313
261
|
id: "subscription_cancellation_modal.cancel.error"
|
|
314
262
|
})
|
|
315
263
|
);
|
|
316
|
-
return { title, explanation, confirmButtonText, cancelButtonText, errorMessage };
|
|
264
|
+
return { title: s, explanation: r, confirmButtonText: l, cancelButtonText: g, errorMessage: b };
|
|
317
265
|
}
|
|
318
|
-
const
|
|
319
|
-
function
|
|
320
|
-
const { getPaymentMethods } =
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
paymentMethodId
|
|
266
|
+
const je = 50;
|
|
267
|
+
function De() {
|
|
268
|
+
const { getPaymentMethods: t } = Ce(), o = K();
|
|
269
|
+
return { paymentMethod: o, get: async ({
|
|
270
|
+
customerId: n,
|
|
271
|
+
paymentMethodId: i
|
|
325
272
|
}) => {
|
|
326
|
-
const
|
|
327
|
-
const
|
|
328
|
-
customerId,
|
|
329
|
-
pagination: { page, pageSize:
|
|
273
|
+
const s = await we(async (r) => {
|
|
274
|
+
const l = await t({
|
|
275
|
+
customerId: n,
|
|
276
|
+
pagination: { page: r, pageSize: je }
|
|
330
277
|
});
|
|
331
|
-
if (!
|
|
278
|
+
if (!Se(l))
|
|
332
279
|
throw new Error("Could not load the customer’s payment methods.");
|
|
333
|
-
|
|
334
|
-
return pageResponse;
|
|
280
|
+
return l;
|
|
335
281
|
});
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
};
|
|
339
|
-
return { paymentMethod, get };
|
|
282
|
+
return o.value = s.data.find(({ id: r }) => r === i), o.value;
|
|
283
|
+
} };
|
|
340
284
|
}
|
|
341
|
-
const
|
|
342
|
-
const _hoisted_2 = {
|
|
285
|
+
const Fe = { class: "sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3" }, We = {
|
|
343
286
|
key: 0,
|
|
344
287
|
class: "sv-subscription-cancellation-modal__meta flex flex-wrap items-center gap-x-6 gap-y-2 px-3 pb-2"
|
|
345
|
-
}
|
|
346
|
-
const _hoisted_3 = {
|
|
288
|
+
}, Ve = {
|
|
347
289
|
key: 0,
|
|
348
290
|
class: "sv-subscription-cancellation-modal__renews flex gap-1"
|
|
349
|
-
}
|
|
350
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
291
|
+
}, Ye = /* @__PURE__ */ O({
|
|
351
292
|
__name: "SubscriptionCancellationModal",
|
|
352
293
|
props: {
|
|
353
294
|
showModal: { type: Boolean },
|
|
@@ -356,190 +297,164 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
356
297
|
avatar: { type: String }
|
|
357
298
|
},
|
|
358
299
|
emits: ["confirmed", "close"],
|
|
359
|
-
setup(
|
|
360
|
-
const
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
const invoiceDate = (_b = (_a = props.subscription) == null ? void 0 : _a.next_invoice) == null ? void 0 : _b.invoice_date;
|
|
380
|
-
if (!invoiceDate) return void 0;
|
|
381
|
-
return formatDate({
|
|
382
|
-
date: invoiceDate,
|
|
383
|
-
format: "date",
|
|
384
|
-
offsetType: "local"
|
|
385
|
-
});
|
|
386
|
-
});
|
|
387
|
-
const renewsOn = billingPeriodEndsAt;
|
|
388
|
-
const enabledPricingIds = computed(
|
|
300
|
+
setup(t, { emit: o }) {
|
|
301
|
+
const a = t, n = o, { $t: i, formatDate: s } = N(), r = se(), { setSubscriptionCancellation: l } = _e(), g = u(() => a.variant), b = u(() => {
|
|
302
|
+
var y;
|
|
303
|
+
const d = ((y = a.subscription) == null ? void 0 : y.inactive_periods) ?? [], v = d.find(({ type: j }) => j === "CANCEL") ?? d[0];
|
|
304
|
+
if (v)
|
|
305
|
+
return s({
|
|
306
|
+
date: v.start_at,
|
|
307
|
+
format: "date",
|
|
308
|
+
offsetType: "local"
|
|
309
|
+
});
|
|
310
|
+
}), _ = u(() => {
|
|
311
|
+
var v, y;
|
|
312
|
+
const d = (y = (v = a.subscription) == null ? void 0 : v.next_invoice) == null ? void 0 : y.invoice_date;
|
|
313
|
+
if (d)
|
|
314
|
+
return s({
|
|
315
|
+
date: d,
|
|
316
|
+
format: "date",
|
|
317
|
+
offsetType: "local"
|
|
318
|
+
});
|
|
319
|
+
}), P = _, A = u(
|
|
389
320
|
() => {
|
|
390
|
-
var
|
|
391
|
-
return (((
|
|
321
|
+
var d, v;
|
|
322
|
+
return (((v = (d = q(a.subscription)) == null ? void 0 : d.pricing_plan_schedule) == null ? void 0 : v.enabled_pricings) ?? []).map(({ pricing_id: y }) => y).filter((y) => !!y);
|
|
392
323
|
}
|
|
393
|
-
);
|
|
394
|
-
|
|
395
|
-
const { paymentMethod, get: fetchPaymentMethod } = usePaymentMethod();
|
|
396
|
-
watch(
|
|
324
|
+
), { title: x, explanation: k, confirmButtonText: L, cancelButtonText: B, errorMessage: T } = Ie({ variant: g, renewableUntil: b, billingPeriodEndsAt: _ }), { paymentMethod: $, get: I } = De();
|
|
325
|
+
W(
|
|
397
326
|
[
|
|
398
|
-
() =>
|
|
327
|
+
() => a.showModal,
|
|
399
328
|
() => {
|
|
400
|
-
var
|
|
401
|
-
return (
|
|
329
|
+
var d;
|
|
330
|
+
return (d = a.subscription) == null ? void 0 : d.payment_method_id;
|
|
402
331
|
},
|
|
403
332
|
() => {
|
|
404
|
-
var
|
|
405
|
-
return (
|
|
333
|
+
var d;
|
|
334
|
+
return (d = a.subscription) == null ? void 0 : d.customer_id;
|
|
406
335
|
}
|
|
407
336
|
],
|
|
408
|
-
([
|
|
409
|
-
var
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
void fetchPaymentMethod({ customerId, paymentMethodId }).catch(() => void 0);
|
|
337
|
+
([d, v, y]) => {
|
|
338
|
+
var j;
|
|
339
|
+
!d || !v || !y || v !== ((j = $.value) == null ? void 0 : j.id) && I({ customerId: y, paymentMethodId: v }).catch(() => {
|
|
340
|
+
});
|
|
413
341
|
},
|
|
414
|
-
{ immediate:
|
|
342
|
+
{ immediate: !0 }
|
|
415
343
|
);
|
|
416
|
-
const
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
() =>
|
|
420
|
-
|
|
421
|
-
if (!showModal) return;
|
|
422
|
-
hasFailed.value = false;
|
|
344
|
+
const f = D(!1), h = D(!1);
|
|
345
|
+
W(
|
|
346
|
+
() => a.showModal,
|
|
347
|
+
(d) => {
|
|
348
|
+
d && (h.value = !1);
|
|
423
349
|
}
|
|
424
350
|
);
|
|
425
|
-
const
|
|
426
|
-
if (!
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
error
|
|
444
|
-
);
|
|
445
|
-
hasFailed.value = true;
|
|
446
|
-
} finally {
|
|
447
|
-
isSubmitting.value = false;
|
|
351
|
+
const R = async () => {
|
|
352
|
+
if (!(!a.subscription || !a.variant || f.value)) {
|
|
353
|
+
f.value = !0, h.value = !1;
|
|
354
|
+
try {
|
|
355
|
+
await l({
|
|
356
|
+
id: a.subscription.id,
|
|
357
|
+
variant: a.variant
|
|
358
|
+
}), n("confirmed"), n("close");
|
|
359
|
+
} catch (d) {
|
|
360
|
+
r.error(
|
|
361
|
+
"SUBSCRIPTION_CANCELLATION_FAILED",
|
|
362
|
+
"Failed to change the cancellation state of a subscription",
|
|
363
|
+
{ variant: a.variant },
|
|
364
|
+
d
|
|
365
|
+
), h.value = !0;
|
|
366
|
+
} finally {
|
|
367
|
+
f.value = !1;
|
|
368
|
+
}
|
|
448
369
|
}
|
|
370
|
+
}, H = () => {
|
|
371
|
+
f.value || n("close");
|
|
449
372
|
};
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
"
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}, null, 8, ["title"])) : createCommentVNode("", true)
|
|
534
|
-
])
|
|
535
|
-
]),
|
|
536
|
-
_: 1
|
|
537
|
-
}, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading", "no-click-away", "no-backdrop-close"]);
|
|
538
|
-
};
|
|
373
|
+
return (d, v) => (c(), m(e(ve), {
|
|
374
|
+
size: "md",
|
|
375
|
+
"show-modal": t.showModal,
|
|
376
|
+
title: e(x),
|
|
377
|
+
"confirm-button-text": e(L),
|
|
378
|
+
"cancel-button-text": e(B),
|
|
379
|
+
"is-loading": f.value,
|
|
380
|
+
"no-click-away": f.value,
|
|
381
|
+
"no-backdrop-close": f.value,
|
|
382
|
+
onConfirm: R,
|
|
383
|
+
onClose: H
|
|
384
|
+
}, {
|
|
385
|
+
body: p(() => [
|
|
386
|
+
U("div", Fe, [
|
|
387
|
+
M(e(E), {
|
|
388
|
+
variant: "body-sm",
|
|
389
|
+
color: "subtle",
|
|
390
|
+
tag: "p",
|
|
391
|
+
class: "sv-subscription-cancellation-modal__explanation"
|
|
392
|
+
}, {
|
|
393
|
+
default: p(() => [
|
|
394
|
+
w(S(e(k)), 1)
|
|
395
|
+
]),
|
|
396
|
+
_: 1
|
|
397
|
+
}),
|
|
398
|
+
t.subscription ? (c(), m(e(Y), {
|
|
399
|
+
key: 0,
|
|
400
|
+
"no-spacing": "",
|
|
401
|
+
class: "sv-subscription-cancellation-modal__subscription"
|
|
402
|
+
}, {
|
|
403
|
+
default: p(() => [
|
|
404
|
+
M(ye, {
|
|
405
|
+
subscription: t.subscription,
|
|
406
|
+
avatar: t.avatar,
|
|
407
|
+
"enabled-pricing-ids": A.value
|
|
408
|
+
}, null, 8, ["subscription", "avatar", "enabled-pricing-ids"]),
|
|
409
|
+
e(P) || e($) ? (c(), F("div", We, [
|
|
410
|
+
e(P) ? (c(), F("div", Ve, [
|
|
411
|
+
M(e(E), {
|
|
412
|
+
tag: "span",
|
|
413
|
+
variant: "body-xs",
|
|
414
|
+
color: "secondary",
|
|
415
|
+
weight: "semibold"
|
|
416
|
+
}, {
|
|
417
|
+
default: p(() => [
|
|
418
|
+
w(S(e(i)({
|
|
419
|
+
defaultMessage: "Renews",
|
|
420
|
+
description: "Label before the date the subscription renews, shown in the cancel subscription modal",
|
|
421
|
+
id: "subscription_cancellation_modal.renews_label"
|
|
422
|
+
})), 1)
|
|
423
|
+
]),
|
|
424
|
+
_: 1
|
|
425
|
+
}),
|
|
426
|
+
M(e(E), {
|
|
427
|
+
tag: "span",
|
|
428
|
+
variant: "body-xs",
|
|
429
|
+
color: "secondary"
|
|
430
|
+
}, {
|
|
431
|
+
default: p(() => [
|
|
432
|
+
w(S(e(P)), 1)
|
|
433
|
+
]),
|
|
434
|
+
_: 1
|
|
435
|
+
})
|
|
436
|
+
])) : C("", !0),
|
|
437
|
+
e($) ? (c(), m(e(he), {
|
|
438
|
+
key: 1,
|
|
439
|
+
variant: "condensed",
|
|
440
|
+
class: "sv-subscription-cancellation-modal__payment-method",
|
|
441
|
+
"payment-method": e($)
|
|
442
|
+
}, null, 8, ["payment-method"])) : C("", !0)
|
|
443
|
+
])) : C("", !0)
|
|
444
|
+
]),
|
|
445
|
+
_: 1
|
|
446
|
+
})) : C("", !0),
|
|
447
|
+
h.value ? (c(), m(e(G), {
|
|
448
|
+
key: 1,
|
|
449
|
+
class: "sv-subscription-cancellation-modal__error sv-error",
|
|
450
|
+
title: e(T)
|
|
451
|
+
}, null, 8, ["title"])) : C("", !0)
|
|
452
|
+
])
|
|
453
|
+
]),
|
|
454
|
+
_: 1
|
|
455
|
+
}, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading", "no-click-away", "no-backdrop-close"]));
|
|
539
456
|
}
|
|
540
|
-
})
|
|
541
|
-
const _hoisted_1 = { class: "sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center" };
|
|
542
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
457
|
+
}), ze = { class: "sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center" }, Ge = /* @__PURE__ */ O({
|
|
543
458
|
__name: "SubscriptionDetails",
|
|
544
459
|
props: {
|
|
545
460
|
subscription: { type: Object },
|
|
@@ -553,195 +468,184 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
553
468
|
error: { type: null }
|
|
554
469
|
},
|
|
555
470
|
emits: ["top-up-charged", "auto-top-up-saved", "auto-top-up-cancelled", "payment-method-stored", "subscription-changed"],
|
|
556
|
-
setup(
|
|
557
|
-
const
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
watch(pendingVariant, (variant) => {
|
|
571
|
-
if (variant) confirmedVariant.value = void 0;
|
|
471
|
+
setup(t, { emit: o }) {
|
|
472
|
+
const a = Q(
|
|
473
|
+
() => import("../../SubscriptionSchedules-DDCjVEbG.mjs")
|
|
474
|
+
), n = t, i = o, { $t: s } = N(), {
|
|
475
|
+
isCancellable: r,
|
|
476
|
+
isRenewable: l,
|
|
477
|
+
pendingVariant: g,
|
|
478
|
+
cancel: b,
|
|
479
|
+
renew: _,
|
|
480
|
+
dismiss: P,
|
|
481
|
+
manage: A
|
|
482
|
+
} = Ee({ subscription: X(n, "subscription") }), x = D();
|
|
483
|
+
W(g, (f) => {
|
|
484
|
+
f && (x.value = void 0);
|
|
572
485
|
});
|
|
573
|
-
const
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
})
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
const subscriptionPaymentMethod = computed(
|
|
591
|
-
() => (props.paymentMethods ?? []).find(({ id }) => {
|
|
592
|
-
var _a;
|
|
593
|
-
return id === ((_a = props.subscription) == null ? void 0 : _a.payment_method_id);
|
|
486
|
+
const k = () => {
|
|
487
|
+
x.value = g.value, i("subscription-changed");
|
|
488
|
+
}, L = u(() => {
|
|
489
|
+
if (x.value)
|
|
490
|
+
return x.value === "RENEW" ? s({
|
|
491
|
+
defaultMessage: "Your subscription has been renewed.",
|
|
492
|
+
id: "subscription_details.renew_success",
|
|
493
|
+
description: "Confirmation shown after a cancellation has been undone"
|
|
494
|
+
}) : s({
|
|
495
|
+
defaultMessage: "Your subscription has been cancelled. You keep access until the end of the billing period.",
|
|
496
|
+
id: "subscription_details.cancel_success",
|
|
497
|
+
description: "Confirmation shown after a subscription has been cancelled"
|
|
498
|
+
});
|
|
499
|
+
}), B = u(() => q(n.subscription)), T = u(
|
|
500
|
+
() => (n.paymentMethods ?? []).find(({ id: f }) => {
|
|
501
|
+
var h;
|
|
502
|
+
return f === ((h = n.subscription) == null ? void 0 : h.payment_method_id);
|
|
594
503
|
})
|
|
595
|
-
)
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
subscription: props.subscription,
|
|
600
|
-
fallback: $t({
|
|
504
|
+
), $ = u(() => n.subscription ? [n.subscription] : []), I = u(
|
|
505
|
+
() => ce({
|
|
506
|
+
subscription: n.subscription,
|
|
507
|
+
fallback: s({
|
|
601
508
|
defaultMessage: "Subscription details",
|
|
602
509
|
id: "subscription_details.title",
|
|
603
510
|
description: "Title for the subscription details page"
|
|
604
511
|
})
|
|
605
512
|
})
|
|
606
513
|
);
|
|
607
|
-
return (
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
unref(isRenewable) ? (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
622
|
-
key: 0,
|
|
623
|
-
intent: "secondary",
|
|
624
|
-
class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
|
|
625
|
-
type: "button",
|
|
626
|
-
onClick: unref(handleRenew)
|
|
627
|
-
}, {
|
|
628
|
-
default: withCtx(() => [
|
|
629
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
630
|
-
defaultMessage: "Renew subscription",
|
|
631
|
-
id: "subscription_details.renew_button.label",
|
|
632
|
-
description: "Label for the renew subscription button on the subscription details page"
|
|
633
|
-
})), 1)
|
|
634
|
-
]),
|
|
635
|
-
_: 1
|
|
636
|
-
}, 8, ["onClick"])) : createCommentVNode("", true),
|
|
637
|
-
unref(isCancellable) ? (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
638
|
-
key: 1,
|
|
639
|
-
intent: "secondary",
|
|
640
|
-
class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
|
|
641
|
-
type: "button",
|
|
642
|
-
onClick: unref(handleCancel)
|
|
643
|
-
}, {
|
|
644
|
-
default: withCtx(() => [
|
|
645
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
646
|
-
defaultMessage: "Cancel subscription",
|
|
647
|
-
id: "subscription_details.cancel_button.label",
|
|
648
|
-
description: "Label for the cancel subscription button on the subscription details page"
|
|
649
|
-
})), 1)
|
|
650
|
-
]),
|
|
651
|
-
_: 1
|
|
652
|
-
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
653
|
-
])
|
|
654
|
-
]),
|
|
655
|
-
content: withCtx(() => [
|
|
656
|
-
cancellationSuccessMessage.value ? (openBlock(), createBlock(unref(_sfc_main$e), {
|
|
514
|
+
return (f, h) => (c(), m(e(re), { class: "sv-subscription-details sv-root sv-screen" }, {
|
|
515
|
+
header: p(() => [
|
|
516
|
+
U("div", ze, [
|
|
517
|
+
M(e(E), {
|
|
518
|
+
variant: "heading-2",
|
|
519
|
+
tag: "h1",
|
|
520
|
+
class: "sv-subscription-details__title grow"
|
|
521
|
+
}, {
|
|
522
|
+
default: p(() => [
|
|
523
|
+
w(S(I.value), 1)
|
|
524
|
+
]),
|
|
525
|
+
_: 1
|
|
526
|
+
}),
|
|
527
|
+
e(l) ? (c(), m(e(V), {
|
|
657
528
|
key: 0,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
__props.error ? (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
663
|
-
key: 1,
|
|
664
|
-
class: "sv-subscription-details__error sv-error",
|
|
665
|
-
title: unref($t)({
|
|
666
|
-
defaultMessage: "Unable to load this subscription. Please try again later.",
|
|
667
|
-
id: "subscription_details.load_error",
|
|
668
|
-
description: "Error message shown when the subscription cannot be loaded on the subscription details page"
|
|
669
|
-
})
|
|
670
|
-
}, null, 8, ["title"])) : __props.isLoading ? (openBlock(), createBlock(_sfc_main$f, {
|
|
671
|
-
key: 2,
|
|
672
|
-
variant: "section",
|
|
673
|
-
class: "min-h-[220px]"
|
|
674
|
-
})) : __props.subscription ? (openBlock(), createBlock(_sfc_main$g, {
|
|
675
|
-
key: 3,
|
|
676
|
-
class: "sv-subscription-details__schedules",
|
|
677
|
-
"schedules-data": __props.schedulesData ?? [],
|
|
678
|
-
configuration: { subscriptionId: __props.subscription.id },
|
|
679
|
-
"is-loading": __props.isLoading
|
|
680
|
-
}, null, 8, ["schedules-data", "configuration", "is-loading"])) : (openBlock(), createBlock(_sfc_main$h, {
|
|
681
|
-
key: 4,
|
|
682
|
-
class: "sv-subscription-details__empty-state",
|
|
683
|
-
icon: "receipt_long"
|
|
529
|
+
intent: "secondary",
|
|
530
|
+
class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
|
|
531
|
+
type: "button",
|
|
532
|
+
onClick: e(_)
|
|
684
533
|
}, {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
defaultMessage: "
|
|
688
|
-
id: "subscription_details.
|
|
689
|
-
description: "
|
|
534
|
+
default: p(() => [
|
|
535
|
+
w(S(e(s)({
|
|
536
|
+
defaultMessage: "Renew subscription",
|
|
537
|
+
id: "subscription_details.renew_button.label",
|
|
538
|
+
description: "Label for the renew subscription button on the subscription details page"
|
|
690
539
|
})), 1)
|
|
691
540
|
]),
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
541
|
+
_: 1
|
|
542
|
+
}, 8, ["onClick"])) : C("", !0),
|
|
543
|
+
e(r) ? (c(), m(e(V), {
|
|
544
|
+
key: 1,
|
|
545
|
+
intent: "secondary",
|
|
546
|
+
class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
|
|
547
|
+
type: "button",
|
|
548
|
+
onClick: e(b)
|
|
549
|
+
}, {
|
|
550
|
+
default: p(() => [
|
|
551
|
+
w(S(e(s)({
|
|
552
|
+
defaultMessage: "Cancel subscription",
|
|
553
|
+
id: "subscription_details.cancel_button.label",
|
|
554
|
+
description: "Label for the cancel subscription button on the subscription details page"
|
|
697
555
|
})), 1)
|
|
698
556
|
]),
|
|
699
557
|
_: 1
|
|
700
|
-
}))
|
|
701
|
-
])
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
558
|
+
}, 8, ["onClick"])) : C("", !0)
|
|
559
|
+
])
|
|
560
|
+
]),
|
|
561
|
+
content: p(() => [
|
|
562
|
+
L.value ? (c(), m(e(ae), {
|
|
563
|
+
key: 0,
|
|
564
|
+
class: "sv-subscription-details__cancellation-success",
|
|
565
|
+
type: "success",
|
|
566
|
+
title: L.value
|
|
567
|
+
}, null, 8, ["title"])) : C("", !0),
|
|
568
|
+
t.error ? (c(), m(e(G), {
|
|
569
|
+
key: 1,
|
|
570
|
+
class: "sv-subscription-details__error sv-error",
|
|
571
|
+
title: e(s)({
|
|
572
|
+
defaultMessage: "Unable to load this subscription. Please try again later.",
|
|
573
|
+
id: "subscription_details.load_error",
|
|
574
|
+
description: "Error message shown when the subscription cannot be loaded on the subscription details page"
|
|
575
|
+
})
|
|
576
|
+
}, null, 8, ["title"])) : t.isLoading ? (c(), m(be, {
|
|
577
|
+
key: 2,
|
|
578
|
+
variant: "section",
|
|
579
|
+
class: "min-h-[220px]"
|
|
580
|
+
})) : t.subscription ? (c(), m(e(a), {
|
|
581
|
+
key: 3,
|
|
582
|
+
class: "sv-subscription-details__schedules",
|
|
583
|
+
"schedules-data": t.schedulesData ?? [],
|
|
584
|
+
configuration: { subscriptionId: t.subscription.id },
|
|
585
|
+
"is-loading": t.isLoading
|
|
586
|
+
}, null, 8, ["schedules-data", "configuration", "is-loading"])) : (c(), m(me, {
|
|
587
|
+
key: 4,
|
|
588
|
+
class: "sv-subscription-details__empty-state",
|
|
589
|
+
icon: "receipt_long"
|
|
590
|
+
}, {
|
|
591
|
+
title: p(() => [
|
|
592
|
+
w(S(e(s)({
|
|
593
|
+
defaultMessage: "Subscription not found",
|
|
594
|
+
id: "subscription_details.empty_state.title",
|
|
595
|
+
description: "Title shown when the requested subscription does not exist"
|
|
596
|
+
})), 1)
|
|
597
|
+
]),
|
|
598
|
+
message: p(() => [
|
|
599
|
+
w(S(e(s)({
|
|
600
|
+
defaultMessage: "This subscription is no longer available.",
|
|
601
|
+
id: "subscription_details.empty_state.message",
|
|
602
|
+
description: "Message shown when the requested subscription does not exist"
|
|
603
|
+
})), 1)
|
|
604
|
+
]),
|
|
605
|
+
_: 1
|
|
606
|
+
}))
|
|
607
|
+
]),
|
|
608
|
+
aside: p(() => [
|
|
609
|
+
M(ue, {
|
|
610
|
+
class: "sv-subscription-details__wallet-balances",
|
|
611
|
+
"has-error": !!t.hasWalletBalancesError,
|
|
612
|
+
"is-loading": t.isLoading,
|
|
613
|
+
"wallet-balances": t.walletBalances,
|
|
614
|
+
"show-top-up-button": "",
|
|
615
|
+
customer: t.customer,
|
|
616
|
+
"payment-methods": t.paymentMethods,
|
|
617
|
+
subscriptions: $.value,
|
|
618
|
+
onTopUpCharged: h[0] || (h[0] = (R) => f.$emit("top-up-charged")),
|
|
619
|
+
onAutoTopUpSaved: h[1] || (h[1] = (R) => f.$emit("auto-top-up-saved")),
|
|
620
|
+
onAutoTopUpCancelled: h[2] || (h[2] = (R) => f.$emit("auto-top-up-cancelled")),
|
|
621
|
+
onPaymentMethodStored: h[3] || (h[3] = (R) => f.$emit("payment-method-stored"))
|
|
622
|
+
}, null, 8, ["has-error", "is-loading", "wallet-balances", "customer", "payment-methods", "subscriptions"]),
|
|
623
|
+
B.value ? (c(), m(Ne, {
|
|
624
|
+
key: 0,
|
|
625
|
+
class: "sv-subscription-details__upgrades",
|
|
626
|
+
"pricing-plan-schedule": B.value,
|
|
627
|
+
onUpgrade: e(A)
|
|
628
|
+
}, null, 8, ["pricing-plan-schedule", "onUpgrade"])) : C("", !0),
|
|
629
|
+
T.value ? (c(), m(pe, {
|
|
630
|
+
key: 1,
|
|
631
|
+
class: "sv-subscription-details__payment-method",
|
|
632
|
+
"is-loading": t.isLoading,
|
|
633
|
+
"payment-methods": [T.value],
|
|
634
|
+
configuration: { showViewAllButton: !1, showAddButton: !1 }
|
|
635
|
+
}, null, 8, ["is-loading", "payment-methods"])) : C("", !0),
|
|
636
|
+
M(Ye, {
|
|
637
|
+
"show-modal": !!e(g),
|
|
638
|
+
variant: e(g),
|
|
639
|
+
subscription: t.subscription,
|
|
640
|
+
avatar: t.avatar,
|
|
641
|
+
onConfirmed: k,
|
|
642
|
+
onClose: e(P)
|
|
643
|
+
}, null, 8, ["show-modal", "variant", "subscription", "avatar", "onClose"])
|
|
644
|
+
]),
|
|
645
|
+
_: 1
|
|
646
|
+
}));
|
|
742
647
|
}
|
|
743
|
-
})
|
|
744
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
648
|
+
}), qe = /* @__PURE__ */ O({
|
|
745
649
|
__name: "SubscriptionDetails.entry.view",
|
|
746
650
|
props: {
|
|
747
651
|
configuration: { type: Object },
|
|
@@ -760,52 +664,40 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
760
664
|
cssOverrides: { type: [String, Array] },
|
|
761
665
|
branding: { type: Object }
|
|
762
666
|
},
|
|
763
|
-
setup(
|
|
764
|
-
const
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
667
|
+
setup(t) {
|
|
668
|
+
const o = t, a = o.portalObject.customer_id, {
|
|
669
|
+
subscription: n,
|
|
670
|
+
withPlanData: i,
|
|
671
|
+
get: s,
|
|
672
|
+
error: r
|
|
673
|
+
} = xe({ subscriptionId: o.configuration.subscriptionId }), { customer: l, get: g } = $e({ customerId: a }), { items: b, fetchAll: _ } = Pe({ customerId: a }), {
|
|
674
|
+
walletBalances: P,
|
|
675
|
+
apiStatus: A,
|
|
676
|
+
fetch: x
|
|
677
|
+
} = de({ customerId: a }), { isLoading: k } = Ae(
|
|
678
|
+
s(),
|
|
679
|
+
g.execute(),
|
|
680
|
+
_(),
|
|
681
|
+
x()
|
|
682
|
+
), L = u(() => n.value ? i(n.value) : []), B = u(() => {
|
|
683
|
+
var $;
|
|
684
|
+
return (($ = P.value) == null ? void 0 : $.wallet_balances) ?? [];
|
|
685
|
+
}), T = u(() => A.value === Me.Failed);
|
|
686
|
+
return ($, I) => ee($.$slots, "default", {
|
|
687
|
+
subscription: e(n),
|
|
688
|
+
schedulesData: L.value,
|
|
689
|
+
customer: e(l),
|
|
690
|
+
paymentMethods: e(b),
|
|
691
|
+
walletBalances: B.value,
|
|
692
|
+
hasWalletBalancesError: T.value,
|
|
693
|
+
isLoading: e(k),
|
|
694
|
+
error: e(r),
|
|
695
|
+
refreshWalletBalances: e(x),
|
|
696
|
+
refreshPaymentMethods: e(_),
|
|
697
|
+
refreshSubscription: e(s)
|
|
789
698
|
});
|
|
790
|
-
const hasWalletBalancesError = computed(() => walletBalancesApiStatus.value === ApiStatus.Failed);
|
|
791
|
-
return (_ctx, _cache) => {
|
|
792
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
793
|
-
subscription: unref(subscription),
|
|
794
|
-
schedulesData: schedulesData.value,
|
|
795
|
-
customer: unref(customer),
|
|
796
|
-
paymentMethods: unref(paymentMethods),
|
|
797
|
-
walletBalances: walletBalanceItems.value,
|
|
798
|
-
hasWalletBalancesError: hasWalletBalancesError.value,
|
|
799
|
-
isLoading: unref(isLoading),
|
|
800
|
-
error: unref(error),
|
|
801
|
-
refreshWalletBalances: unref(fetchWalletBalances),
|
|
802
|
-
refreshPaymentMethods: unref(fetchPaymentMethods),
|
|
803
|
-
refreshSubscription: unref(fetchSubscription)
|
|
804
|
-
});
|
|
805
|
-
};
|
|
806
699
|
}
|
|
807
|
-
})
|
|
808
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
700
|
+
}), He = /* @__PURE__ */ O({
|
|
809
701
|
__name: "SubscriptionDetails.entry",
|
|
810
702
|
props: {
|
|
811
703
|
configuration: { type: Object },
|
|
@@ -824,59 +716,56 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
824
716
|
cssOverrides: { type: [String, Array] },
|
|
825
717
|
branding: { type: Object }
|
|
826
718
|
},
|
|
827
|
-
setup(
|
|
828
|
-
const
|
|
829
|
-
return (
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
}, 8, ["entry", "component-name"]);
|
|
873
|
-
};
|
|
719
|
+
setup(t) {
|
|
720
|
+
const o = ke("subscription-details");
|
|
721
|
+
return (a, n) => (c(), m(e(ie), {
|
|
722
|
+
entry: a.$props,
|
|
723
|
+
"component-name": e(o),
|
|
724
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
725
|
+
onError: n[0] || (n[0] = (i) => a.$emit("error", i))
|
|
726
|
+
}, {
|
|
727
|
+
default: p(() => [
|
|
728
|
+
M(qe, te(ne(a.$props)), {
|
|
729
|
+
default: p(({
|
|
730
|
+
subscription: i,
|
|
731
|
+
schedulesData: s,
|
|
732
|
+
customer: r,
|
|
733
|
+
paymentMethods: l,
|
|
734
|
+
walletBalances: g,
|
|
735
|
+
hasWalletBalancesError: b,
|
|
736
|
+
isLoading: _,
|
|
737
|
+
error: P,
|
|
738
|
+
refreshWalletBalances: A,
|
|
739
|
+
refreshPaymentMethods: x,
|
|
740
|
+
refreshSubscription: k
|
|
741
|
+
}) => [
|
|
742
|
+
M(Ge, {
|
|
743
|
+
subscription: i,
|
|
744
|
+
"schedules-data": s,
|
|
745
|
+
customer: r,
|
|
746
|
+
avatar: t.configuration.avatar,
|
|
747
|
+
"payment-methods": l,
|
|
748
|
+
"wallet-balances": g,
|
|
749
|
+
"has-wallet-balances-error": b,
|
|
750
|
+
"is-loading": _,
|
|
751
|
+
error: P,
|
|
752
|
+
onTopUpCharged: A,
|
|
753
|
+
onAutoTopUpSaved: A,
|
|
754
|
+
onAutoTopUpCancelled: A,
|
|
755
|
+
onPaymentMethodStored: x,
|
|
756
|
+
onSubscriptionChanged: k
|
|
757
|
+
}, null, 8, ["subscription", "schedules-data", "customer", "avatar", "payment-methods", "wallet-balances", "has-wallet-balances-error", "is-loading", "error", "onTopUpCharged", "onAutoTopUpSaved", "onAutoTopUpCancelled", "onPaymentMethodStored", "onSubscriptionChanged"])
|
|
758
|
+
]),
|
|
759
|
+
_: 1
|
|
760
|
+
}, 16)
|
|
761
|
+
]),
|
|
762
|
+
_: 1
|
|
763
|
+
}, 8, ["entry", "component-name"]));
|
|
874
764
|
}
|
|
875
|
-
})
|
|
876
|
-
|
|
877
|
-
_sfc_main,
|
|
765
|
+
}), { define: Ct } = oe(
|
|
766
|
+
He,
|
|
878
767
|
"subscription-details"
|
|
879
768
|
);
|
|
880
769
|
export {
|
|
881
|
-
defineSolvimonSubscriptionDetails
|
|
770
|
+
Ct as defineSolvimonSubscriptionDetails
|
|
882
771
|
};
|