@solvimon/solvimon-web 0.1.0-alpha.2 → 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/README.md +244 -49
- 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-BKgQTCtc.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-DGJ_PiVq.js +1 -0
- 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-DqqGcEP1.js +1 -0
- 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-BQ5TVHlS.js +1 -0
- 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-DjnGlmqV.mjs +3028 -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.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +81 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +447 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +86 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/Invoice.mjs +477 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +107 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/InvoicesList.mjs +86 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/PaymentHistory.mjs +111 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +96 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +84 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +92 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/WalletBalances.mjs +113 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +182 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- 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-CVCmzlNH.mjs +266 -0
- package/dist/de-DE-DBO5f-Eu.mjs +281 -0
- package/dist/de-DE-DqLD4IX2.js +1 -0
- 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-3UmnS23B.mjs +281 -0
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/en-US-CvFmmI_O.js +1 -0
- package/dist/en-US-DVR9O7b_.mjs +266 -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 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoices-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/it-IT-CDMnnFKZ.mjs +266 -0
- package/dist/it-IT-CFEfSpPH.js +1 -0
- package/dist/it-IT-CxBRisRm.mjs +281 -0
- 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-BWGkVweu.mjs +296 -0
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/nl-NL-jtVgF3jx.js +1 -0
- package/dist/nl-NL-o3UvtSNg.mjs +266 -0
- 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.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +149 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +533 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +210 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +771 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +618 -0
- 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/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +81 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +62 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -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 +112 -61
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../../types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),A=require("../../Button.vue.es-BWl37nzm.js"),L=require("../../ErrorNotification.vue.es-0ZC_DozN.js"),m=require("../../customElements-Bt8PbjIn.js"),Y=require("../../ContentWithAsideLayout-C6yMIVJF.js"),K=require("../../useActionDispatchProvider-B54GYEY7.js"),H=require("../../usePortal-BdM7hDge.js"),J=require("../../useSubscription-Q4C2DPhw.js"),Q=require("../../useCustomer-BJwJ9BkJ.js"),X=require("../../usePaymentMethods-GFmQRp0X.js"),Z=require("../../usePaymentMethodOptions-B6GIM9q4.js"),ee=require("../../useLoadInitialData-CezlvhBV.js"),te=require("../../invoices-CvpL4rv5.js"),E=require("../../pricingPlanSchedule-COfmWv_o.js"),ne=require("../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js"),ie=require("../../Divider.vue.es-UwnWvUTl.js"),ae=require("../../PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js"),T=require("../../AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js"),oe=require("../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js"),se=require("../../Section.vue.es-DuK52y67.js"),j=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js"),re=require("../../PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js"),ce=require("../../Modal.vue.es-Chi6_MH_.js"),ue=require("../../component-B7ZDyqBp.js");function le(){const{getInvoicePreview:t}=te.createInvoicesService(),a=m.useLogger(),n=e.ref(),o=e.ref(!1),c=e.ref(),p=m.createLatestGuard();return{invoice:n,isPending:o,error:c,load:async({subscription:u,enabledPricingIds:f})=>{const s=E.getScheduleCustomizations({enabledPricings:f.map(d=>({pricing_id:d})),pricingPlanScheduleInfos:u.pricing_plan_schedule_infos});if(!s){n.value=void 0;return}const i=p();o.value=!0,c.value=void 0;try{const d=await t({forExistingSubscription:!0,pricingPlanSubscriptionId:u.id,customizations:s});if(!i())return;n.value=d.invoice}catch(d){if(!i())return;a.error("INVOICE_PREVIEW_FAILED","Failed to preview the subscription upgrade",{},d),c.value=d,n.value=void 0}finally{i()&&(o.value=!1)}}}}function de(){const t=m.createRequestService(),a=m.useConfig();function n({scheduleId:c}){return t({url:`${a.apiUrls.config}/portal/pricing-plan-schedules/${c}/on-demand-pricing-items`})}function o({pricingPlanSubscriptionId:c,enabledPricings:p}){return t({url:`${a.apiUrls.config}/portal/pricing-plan-schedules`,options:{method:"POST"},data:{pricing_plan_subscription_id:c,enabled_pricings:p,start_at:new Date().toJSON()}})}return{getOnDemandPricingItems:n,createPricingPlanSchedule:o}}const me={class:"sv-subscription-management-form__body grid grid-cols-1 gap-4"},pe=e.defineComponent({__name:"SubscriptionManagementForm",props:e.mergeModels({pricingGroup:{type:Object},paymentMethods:{type:Array},paymentMethodOptions:{type:Array},billingPeriod:{type:Object},currency:{type:String},disabled:{type:Boolean}},{enabledPricingIds:{required:!0},enabledPricingIdsModifiers:{},paymentMethodId:{},paymentMethodIdModifiers:{}}),emits:e.mergeModels(["add-payment-method"],["update:enabledPricingIds","update:paymentMethodId"]),setup(t,{emit:a}){const n=t,o=a,c=e.useModel(t,"enabledPricingIds"),p=e.useModel(t,"paymentMethodId"),{$t:_}=m.useIntl(),u=s=>{const i=s?Date.parse(s):NaN;return Number.isFinite(i)?i:0},f=e.computed(()=>[...n.paymentMethods??[]].sort((s,i)=>u(i.created_at)-u(s.created_at)));return e.watch(()=>n.paymentMethods,(s,i)=>{var P;const d=s==null?void 0:s.find(({id:b})=>!(i!=null&&i.some(B=>B.id===b)));if(d&&(i!=null&&i.length)){p.value=d.id;return}s!=null&&s.some(({id:b})=>b===p.value)||(p.value=(P=(s==null?void 0:s.find(({is_default:b})=>b))??f.value[0])==null?void 0:P.id)},{immediate:!0}),(s,i)=>(e.openBlock(),e.createElementBlock("form",{class:"sv-subscription-management-form",onSubmit:i[3]||(i[3]=e.withModifiers(()=>{},["prevent"]))},[e.createElementVNode("div",me,[e.createVNode(ae._sfc_main,{modelValue:c.value,"onUpdate:modelValue":i[0]||(i[0]=d=>c.value=d),class:"sv-subscription-management-form__pricing-group","group-name":t.pricingGroup.name,pricings:t.pricingGroup.pricings,"billing-period":t.billingPeriod,currency:t.currency},null,8,["modelValue","group-name","pricings","billing-period","currency"]),e.createElementVNode("div",null,[e.createVNode(e.unref(ie._sfc_main),{spacing:"xs"})]),e.createVNode(T._sfc_main,{modelValue:p.value,"onUpdate:modelValue":i[1]||(i[1]=d=>p.value=d),class:"sv-subscription-management-form__payment-methods","payment-methods":f.value,"payment-method-options":t.paymentMethodOptions,required:"",disabled:t.disabled,label:e.unref(_)({defaultMessage:"Payment method",id:"subscription_management.payment_method_selector.label",description:"Label above the payment method that pays for the subscription change"}),onAddPaymentMethod:i[2]||(i[2]=d=>o("add-payment-method"))},null,8,["modelValue","payment-methods","payment-method-options","disabled","label"])])],32))}}),ge=e.defineComponent({__name:"TranslationOverride",props:{messages:{type:Object}},setup(t){const a=t,n=e.inject(m.TRANSLATION_SETTINGS_KEY,void 0),o=e.computed(()=>({...n==null?void 0:n.messages.value,...a.messages}));return(c,p)=>{var _,u;return e.openBlock(),e.createBlock(e.unref(m._sfc_main$2),{locale:(_=e.unref(n))==null?void 0:_.locale.value,"date-locale":(u=e.unref(n))==null?void 0:u.dateLocale.value,messages:o.value,"show-timezones":!1},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["locale","date-locale","messages"])}}}),fe=e.defineComponent({__name:"SubscriptionManagementSummary",props:{invoice:{type:Object},isPending:{type:Boolean},hasError:{type:Boolean}},setup(t){const{$t:a}=m.useIntl(),n=e.computed(()=>({"invoice_preview.total_due_today_heading":a({defaultMessage:"Total due",id:"subscription_management.summary.total_due_heading",description:'Heading above the total of the invoice previewing a subscription change, replacing the shared preview’s "Total due today"'})}));return(o,c)=>(e.openBlock(),e.createBlock(e.unref(se._sfc_main),{class:"sv-subscription-management-summary",title:e.unref(a)({defaultMessage:"Order summary",id:"subscription_management.summary.title",description:"Title of the block previewing what a subscription change is invoiced for"})},{default:e.withCtx(()=>[t.hasError?(e.openBlock(),e.createBlock(e.unref(L._sfc_main),{key:0,class:"sv-subscription-management-summary__error sv-error",title:e.unref(a)({defaultMessage:"Unable to calculate the total. Please try again.",id:"subscription_management.summary.error",description:"Error shown when the invoice preview for a subscription change cannot be loaded"})},null,8,["title"])):t.isPending||!t.invoice?(e.openBlock(),e.createBlock(j._sfc_main,{key:1,variant:"section",class:"sv-subscription-management-summary__skeleton min-h-[120px]"},{default:e.withCtx(()=>[t.isPending?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(m._sfc_main),{key:0,variant:"body-sm",color:"subtle",tag:"div",class:"sv-subscription-management-summary__empty-state"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Select your plan to see what it costs.",id:"subscription_management.summary.empty_state",description:"Shown in the order summary before a plan has been picked to preview"})),1)]),_:1}))]),_:1})):(e.openBlock(),e.createBlock(ge,{key:2,messages:n.value},{default:e.withCtx(()=>[e.createVNode(e.unref(oe._sfc_main$1),{class:"sv-subscription-management-summary__invoice",invoice:t.invoice,"is-customer-facing":""},null,8,["invoice"])]),_:1},8,["messages"]))]),_:1},8,["title"]))}}),_e={class:"sv-subscription-management-success grid grid-cols-1 gap-4"},ve={class:"sv-subscription-management-success__message"},be=e.defineComponent({__name:"SubscriptionManagementSuccess",props:{pricingGroupName:{type:String}},setup(t){const a=t,{$t:n}=m.useIntl(),o=e.computed(()=>n({defaultMessage:"Subscription updated",description:"Title shown on the manage subscription screen once the change is committed",id:"subscription_management.success.title"})),c=e.computed(()=>a.pricingGroupName?n({defaultMessage:"Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",description:"Confirmation of the pricing group a committed subscription change applied to",id:"subscription_management.success.message"},{subject:a.pricingGroupName}):n({defaultMessage:"Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",description:"Confirmation of a committed subscription change when the pricing group is not known",id:"subscription_management.success.message_generic"}));return(p,_)=>(e.openBlock(),e.createElementBlock("div",_e,[e.createVNode(re._sfc_main,{status:"success",title:o.value},{default:e.withCtx(()=>[e.createElementVNode("span",ve,e.toDisplayString(c.value),1)]),_:1},8,["title"])]))}}),he=e.defineComponent({__name:"AddPaymentMethodModal",props:{showModal:{type:Boolean},customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean}},emits:["success","failure","close"],setup(t,{emit:a}){const n=a,{$t:o}=m.useIntl(),c=e.ref(),p=e.computed(()=>{var u;return!!((u=c.value)!=null&&u.isSaving)}),_=()=>{var u;(u=c.value)==null||u.submit()};return(u,f)=>(e.openBlock(),e.createBlock(e.unref(ce.Modal),{"no-click-away":"",size:"lg","show-modal":t.showModal,"is-loading":p.value,title:e.unref(o)({defaultMessage:"Add payment method",id:"add_payment_method_modal.title",description:"Title of the modal for adding a payment method"}),"sub-title":e.unref(o)({defaultMessage:"Add a new payment method to pay with.",id:"add_payment_method_modal.subtitle",description:"Subtitle of the modal for adding a payment method"}),"confirm-button-text":e.unref(o)({defaultMessage:"Save payment method",id:"add_payment_method_modal.confirm_button.label",description:"Label of the button that stores the payment method being added"}),"cancel-button-text":e.unref(o)({defaultMessage:"Cancel",id:"add_payment_method_modal.cancel_button.label",description:"Label of the button that abandons adding a payment method"}),onConfirm:_,onClose:f[2]||(f[2]=s=>n("close"))},{body:e.withCtx(()=>[e.createVNode(T._sfc_main$1,{ref_key:"addPaymentMethodRef",ref:c,class:"sv-add-payment-method-modal sv-add-payment-method-modal__form",customer:t.customer,"payment-method-options":t.paymentMethodOptions,"is-loading":t.isLoading,"is-active":t.showModal,onSuccess:f[0]||(f[0]=s=>n("success")),onFailure:f[1]||(f[1]=s=>n("failure",s))},null,8,["customer","payment-method-options","is-loading","is-active"])]),_:1},8,["show-modal","is-loading","title","sub-title","confirm-button-text","cancel-button-text"]))}}),ye={class:"sv-subscription-management__header"},we={class:"flex flex-col gap-2"},Se=e.defineComponent({__name:"SubscriptionManagement",props:{configuration:{type:Object}},setup(t){const a=t,{$t:n}=m.useIntl(),o=H.usePortal(),c=m.useLogger(),{dispatchAction:p}=K.useActionDispatchProvider(),{createPricingPlanSchedule:_}=de(),{subscription:u,get:f}=J.useSubscription({subscriptionId:a.configuration.subscriptionId}),{items:s,fetchAll:i}=X.usePaymentMethods({customerId:o.value.customer_id}),{customer:d,get:P}=Q.useCustomer({customerId:o.value.customer_id}),{paymentMethodOptions:b,get:B}=Z.usePaymentMethodOptions(),{isLoading:C}=ee.useLoadInitialData(f(),i(),P.execute(),B({customerId:o.value.customer_id})),k=e.ref(!1),D=async()=>{await i(),k.value=!1},N=e.computed(()=>{var r;return E.getActiveDefaultScheduleInfo(((r=u.value)==null?void 0:r.pricing_plan_schedule_infos)??[])}),w=e.computed(()=>{var h;const r=N.value;if(!r)return;const{enabledPricingId:l}=a.configuration;return(l?[l]:(((h=r.pricing_plan_schedule)==null?void 0:h.enabled_pricings)??[]).map(({pricing_id:g})=>g)).map(g=>E.getPricingGroupByPricingId({pricingPlanScheduleInfo:r,pricingId:g})).find(g=>!!g)}),U=e.computed(()=>{var r;return n({defaultMessage:"Manage {subject}",id:"subscription_management.title",description:"Title for the manage subscription page, naming the pricing group being changed"},{subject:((r=w.value)==null?void 0:r.name)||n({defaultMessage:"subscription",id:"subscription_management.title.default_subject",description:'Stands in for the pricing group name in the manage subscription title when no group is known, e.g. "Manage subscription"'})})}),y=e.ref([]),x=e.ref();e.watch([N,w],([r,l])=>{var q;const v=(((q=r==null?void 0:r.pricing_plan_schedule)==null?void 0:q.enabled_pricings)??[]).map(({pricing_id:S})=>S),{enabledPricingId:h}=a.configuration,g=((l==null?void 0:l.pricings)??[]).map(({id:S})=>S);y.value=h&&g.includes(h)?[...v.filter(S=>!g.includes(S)),h]:v},{immediate:!0});const{invoice:G,isPending:F,error:R,load:z}=le();e.watch([y,u],([r,l])=>{!l||r.length===0||z({subscription:l,enabledPricingIds:r})},{immediate:!0});const M=e.ref(!1),I=e.ref(),V=e.ref(!1),$=e.computed(()=>!C.value&&!M.value&&y.value.length>0&&!!u.value&&!!x.value),W=async()=>{if(!(!$.value||!u.value)){M.value=!0,I.value=void 0;try{await _({pricingPlanSubscriptionId:u.value.id,enabledPricings:y.value.map(r=>({pricing_id:r}))}),V.value=!0}catch(r){c.error("SUBSCRIPTION_UPDATE_FAILED","Failed to start a new pricing plan schedule",{},r),I.value=n({defaultMessage:"Something went wrong. Please try again.",id:"subscription_management.update_error",description:"Error shown when committing a subscription change fails"})}finally{M.value=!1}}},O=e.computed(()=>{var r,l,v;return((l=(r=N.value)==null?void 0:r.pricing_plan_schedule)==null?void 0:l.billing_period)??((v=u.value)==null?void 0:v.billing_period)});return(r,l)=>(e.openBlock(),e.createBlock(e.unref(Y.ContentWithAsideLayout),{class:"sv-subscription-management sv-root sv-screen"},{header:e.withCtx(()=>[e.createElementVNode("div",ye,[e.createVNode(e.unref(m._sfc_main),{variant:"heading-2",tag:"h1",class:"sv-subscription-management__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(U.value),1)]),_:1})])]),content:e.withCtx(()=>{var v,h;return[V.value?(e.openBlock(),e.createBlock(be,{key:0,class:"sv-subscription-management__success","pricing-group-name":(v=w.value)==null?void 0:v.name},null,8,["pricing-group-name"])):e.unref(C)?(e.openBlock(),e.createBlock(j._sfc_main,{key:1,variant:"section",class:"min-h-[220px]"})):w.value&&O.value?(e.openBlock(),e.createBlock(pe,{key:2,"enabled-pricing-ids":y.value,"onUpdate:enabledPricingIds":l[0]||(l[0]=g=>y.value=g),"payment-method-id":x.value,"onUpdate:paymentMethodId":l[1]||(l[1]=g=>x.value=g),class:"sv-subscription-management__form","pricing-group":w.value,"payment-methods":e.unref(s),"payment-method-options":e.unref(b),"billing-period":O.value,currency:(h=e.unref(u))==null?void 0:h.billing_currency,onAddPaymentMethod:l[2]||(l[2]=g=>k.value=!0)},null,8,["enabled-pricing-ids","payment-method-id","pricing-group","payment-methods","payment-method-options","billing-period","currency"])):e.createCommentVNode("",!0),e.createVNode(he,{"show-modal":k.value,customer:e.unref(d),"payment-method-options":e.unref(b),onSuccess:D,onClose:l[3]||(l[3]=g=>k.value=!1)},null,8,["show-modal","customer","payment-method-options"])]}),aside:e.withCtx(()=>[V.value?(e.openBlock(),e.createBlock(e.unref(A._sfc_main),{key:0,size:"lg",class:"sv-action sv-action--primary sv-action--full-width sv-subscription-management__done w-full",type:"button",onClick:l[4]||(l[4]=v=>e.unref(p)({action:"navigate-to-customer-overview"}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Done",id:"subscription_management.done_button.label",description:"Label of the button that leaves the manage subscription screen once the change is committed"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(fe,{class:"sv-subscription-management__summary",invoice:e.unref(G),"is-pending":e.unref(C)||e.unref(F),"has-error":!!e.unref(R)},null,8,["invoice","is-pending","has-error"]),I.value?(e.openBlock(),e.createBlock(e.unref(L._sfc_main),{key:0,class:"sv-subscription-management__update-error sv-error",title:I.value},null,8,["title"])):e.createCommentVNode("",!0),e.createElementVNode("div",we,[e.createVNode(e.unref(A._sfc_main),{size:"lg",class:"sv-action sv-action--primary sv-action--full-width sv-subscription-management__update w-full",type:"button",disabled:!$.value,loading:M.value,onClick:W},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)({defaultMessage:"Update subscription",id:"subscription_management.update_button.label",description:"Label of the button that commits the subscription change"})),1)]),_:1},8,["disabled","loading"]),e.createVNode(ne._sfc_main$1,{class:"sv-subscription-management__kpi","payment-method-options":e.unref(b)},null,8,["payment-method-options"])])],64))]),_:1}))}}),Pe=e.defineComponent({__name:"SubscriptionManagement.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(t){const a=ue.getComponentName("subscription-management");return(n,o)=>(e.openBlock(),e.createBlock(e.unref(m._sfc_main$1),{entry:n.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=c=>n.$emit("error",c))},{default:e.withCtx(()=>[e.createVNode(Se,{configuration:t.configuration},null,8,["configuration"])]),_:1},8,["entry","component-name"]))}}),{define:ke}=m.createSolvimonElement(Pe,"subscription-management");exports.defineSolvimonSubscriptionManagement=ke;
|
|
@@ -0,0 +1,618 @@
|
|
|
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-VQCd3V3C.mjs";
|
|
3
|
+
import { _ as Q } from "../../ErrorNotification.vue.es-C6ngWAVU.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-Com2NiGU.mjs";
|
|
5
|
+
import { C as _e } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
|
|
6
|
+
import { u as ye } from "../../useActionDispatchProvider-e2lQXTid.mjs";
|
|
7
|
+
import { u as we } from "../../usePortal-DDG9b6FI.mjs";
|
|
8
|
+
import { u as Se } from "../../useSubscription-BJJYHYgr.mjs";
|
|
9
|
+
import { u as Pe } from "../../useCustomer-CC9zxV6c.mjs";
|
|
10
|
+
import { u as Me } from "../../usePaymentMethods-C3QfLSrP.mjs";
|
|
11
|
+
import { u as Ie } from "../../usePaymentMethodOptions-BfnLBZOo.mjs";
|
|
12
|
+
import { u as $e } from "../../useLoadInitialData-ux_wpNiR.mjs";
|
|
13
|
+
import { c as Oe } from "../../invoices-CV9iAUHf.mjs";
|
|
14
|
+
import { b as ke, c as Ce, d as Ae } from "../../pricingPlanSchedule-J1nb9pCu.mjs";
|
|
15
|
+
import { a as Ee } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.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-skQMgHEL.mjs";
|
|
18
|
+
import { _ as je, a as Ne } from "../../AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs";
|
|
19
|
+
import { a as Te } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs";
|
|
20
|
+
import { _ as Ue } from "../../Section.vue.es-By1JltGi.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-DVif_ME8.mjs";
|
|
23
|
+
import { M as Ve } from "../../Modal.vue.es-DSkC4eMv.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
|
|
30
|
+
}) => {
|
|
31
|
+
const o = ke({
|
|
32
|
+
enabledPricings: v.map((u) => ({ pricing_id: u })),
|
|
33
|
+
pricingPlanScheduleInfos: l.pricing_plan_schedule_infos
|
|
34
|
+
});
|
|
35
|
+
if (!o) {
|
|
36
|
+
n.value = void 0;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const i = p();
|
|
40
|
+
s.value = !0, c.value = void 0;
|
|
41
|
+
try {
|
|
42
|
+
const u = await t({
|
|
43
|
+
// The subscription is running already, so it is priced as itself rather than as the
|
|
44
|
+
// template for a new one — and the customer it is invoiced to is known.
|
|
45
|
+
forExistingSubscription: !0,
|
|
46
|
+
pricingPlanSubscriptionId: l.id,
|
|
47
|
+
customizations: o
|
|
48
|
+
});
|
|
49
|
+
if (!i()) return;
|
|
50
|
+
n.value = u.invoice;
|
|
51
|
+
} catch (u) {
|
|
52
|
+
if (!i()) return;
|
|
53
|
+
a.error(
|
|
54
|
+
"INVOICE_PREVIEW_FAILED",
|
|
55
|
+
"Failed to preview the subscription upgrade",
|
|
56
|
+
{},
|
|
57
|
+
u
|
|
58
|
+
), c.value = u, n.value = void 0;
|
|
59
|
+
} finally {
|
|
60
|
+
i() && (s.value = !1);
|
|
61
|
+
}
|
|
62
|
+
} };
|
|
63
|
+
}
|
|
64
|
+
function Fe() {
|
|
65
|
+
const t = pe(), a = ge();
|
|
66
|
+
function n({
|
|
67
|
+
scheduleId: c
|
|
68
|
+
}) {
|
|
69
|
+
return t({
|
|
70
|
+
url: `${a.apiUrls.config}/portal/pricing-plan-schedules/${c}/on-demand-pricing-items`
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function s({
|
|
74
|
+
pricingPlanSubscriptionId: c,
|
|
75
|
+
enabledPricings: p
|
|
76
|
+
}) {
|
|
77
|
+
return t({
|
|
78
|
+
url: `${a.apiUrls.config}/portal/pricing-plan-schedules`,
|
|
79
|
+
options: { method: "POST" },
|
|
80
|
+
data: {
|
|
81
|
+
pricing_plan_subscription_id: c,
|
|
82
|
+
enabled_pricings: p,
|
|
83
|
+
start_at: (/* @__PURE__ */ new Date()).toJSON()
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
getOnDemandPricingItems: n,
|
|
89
|
+
createPricingPlanSchedule: s
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
const Re = { class: "sv-subscription-management-form__body grid grid-cols-1 gap-4" }, ze = /* @__PURE__ */ I({
|
|
93
|
+
__name: "SubscriptionManagementForm",
|
|
94
|
+
props: /* @__PURE__ */ J({
|
|
95
|
+
pricingGroup: { type: Object },
|
|
96
|
+
paymentMethods: { type: Array },
|
|
97
|
+
paymentMethodOptions: { type: Array },
|
|
98
|
+
billingPeriod: { type: Object },
|
|
99
|
+
currency: { type: String },
|
|
100
|
+
disabled: { type: Boolean }
|
|
101
|
+
}, {
|
|
102
|
+
enabledPricingIds: { required: !0 },
|
|
103
|
+
enabledPricingIdsModifiers: {},
|
|
104
|
+
paymentMethodId: {},
|
|
105
|
+
paymentMethodIdModifiers: {}
|
|
106
|
+
}),
|
|
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))
|
|
114
|
+
);
|
|
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))
|
|
121
|
+
);
|
|
122
|
+
if (u && (i != null && i.length)) {
|
|
123
|
+
p.value = u.id;
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
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);
|
|
127
|
+
},
|
|
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));
|
|
164
|
+
}
|
|
165
|
+
}), qe = /* @__PURE__ */ I({
|
|
166
|
+
__name: "TranslationOverride",
|
|
167
|
+
props: {
|
|
168
|
+
messages: { type: Object }
|
|
169
|
+
},
|
|
170
|
+
setup(t) {
|
|
171
|
+
const a = t, n = le(fe, void 0), s = _(() => ({
|
|
172
|
+
...n == null ? void 0 : n.messages.value,
|
|
173
|
+
...a.messages
|
|
174
|
+
}));
|
|
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
|
|
182
|
+
}, {
|
|
183
|
+
default: b(() => [
|
|
184
|
+
de(c.$slots, "default")
|
|
185
|
+
]),
|
|
186
|
+
_: 3
|
|
187
|
+
}, 8, ["locale", "date-locale", "messages"]);
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
}), Ye = /* @__PURE__ */ I({
|
|
191
|
+
__name: "SubscriptionManagementSummary",
|
|
192
|
+
props: {
|
|
193
|
+
invoice: { type: Object },
|
|
194
|
+
isPending: { type: Boolean },
|
|
195
|
+
hasError: { type: Boolean }
|
|
196
|
+
},
|
|
197
|
+
setup(t) {
|
|
198
|
+
const { $t: a } = E(), n = _(() => ({
|
|
199
|
+
"invoice_preview.total_due_today_heading": a({
|
|
200
|
+
defaultMessage: "Total due",
|
|
201
|
+
id: "subscription_management.summary.total_due_heading",
|
|
202
|
+
description: 'Heading above the total of the invoice previewing a subscription change, replacing the shared preview’s "Total due today"'
|
|
203
|
+
})
|
|
204
|
+
}));
|
|
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"]));
|
|
262
|
+
}
|
|
263
|
+
}), We = { class: "sv-subscription-management-success grid grid-cols-1 gap-4" }, He = { class: "sv-subscription-management-success__message" }, Je = /* @__PURE__ */ I({
|
|
264
|
+
__name: "SubscriptionManagementSuccess",
|
|
265
|
+
props: {
|
|
266
|
+
pricingGroupName: { type: String }
|
|
267
|
+
},
|
|
268
|
+
setup(t) {
|
|
269
|
+
const a = t, { $t: n } = E(), s = _(
|
|
270
|
+
() => n({
|
|
271
|
+
defaultMessage: "Subscription updated",
|
|
272
|
+
description: "Title shown on the manage subscription screen once the change is committed",
|
|
273
|
+
id: "subscription_management.success.title"
|
|
274
|
+
})
|
|
275
|
+
), c = _(
|
|
276
|
+
() => a.pricingGroupName ? n(
|
|
277
|
+
{
|
|
278
|
+
defaultMessage: "Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
279
|
+
description: "Confirmation of the pricing group a committed subscription change applied to",
|
|
280
|
+
id: "subscription_management.success.message"
|
|
281
|
+
},
|
|
282
|
+
{ subject: a.pricingGroupName }
|
|
283
|
+
) : n({
|
|
284
|
+
defaultMessage: "Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
285
|
+
description: "Confirmation of a committed subscription change when the pricing group is not known",
|
|
286
|
+
id: "subscription_management.success.message_generic"
|
|
287
|
+
})
|
|
288
|
+
);
|
|
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
|
+
]));
|
|
300
|
+
}
|
|
301
|
+
}), Ke = /* @__PURE__ */ I({
|
|
302
|
+
__name: "AddPaymentMethodModal",
|
|
303
|
+
props: {
|
|
304
|
+
showModal: { type: Boolean },
|
|
305
|
+
customer: { type: Object },
|
|
306
|
+
paymentMethodOptions: { type: Array },
|
|
307
|
+
isLoading: { type: Boolean }
|
|
308
|
+
},
|
|
309
|
+
emits: ["success", "failure", "close"],
|
|
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();
|
|
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"]));
|
|
361
|
+
}
|
|
362
|
+
}), Qe = { class: "sv-subscription-management__header" }, Xe = { class: "flex flex-col gap-2" }, Ze = /* @__PURE__ */ I({
|
|
363
|
+
__name: "SubscriptionManagement",
|
|
364
|
+
props: {
|
|
365
|
+
configuration: { type: Object }
|
|
366
|
+
},
|
|
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 = _(
|
|
380
|
+
() => {
|
|
381
|
+
var r;
|
|
382
|
+
return Ce(((r = l.value) == null ? void 0 : r.pricing_plan_schedule_infos) ?? []);
|
|
383
|
+
}
|
|
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 = _(
|
|
396
|
+
() => {
|
|
397
|
+
var r;
|
|
398
|
+
return n(
|
|
399
|
+
{
|
|
400
|
+
defaultMessage: "Manage {subject}",
|
|
401
|
+
id: "subscription_management.title",
|
|
402
|
+
description: "Title for the manage subscription page, naming the pricing group being changed"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
subject: ((r = O.value) == null ? void 0 : r.name) || n({
|
|
406
|
+
defaultMessage: "subscription",
|
|
407
|
+
id: "subscription_management.title.default_subject",
|
|
408
|
+
description: 'Stands in for the pricing group name in the manage subscription title when no group is known, e.g. "Manage subscription"'
|
|
409
|
+
})
|
|
410
|
+
}
|
|
411
|
+
);
|
|
412
|
+
}
|
|
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;
|
|
422
|
+
},
|
|
423
|
+
{ immediate: !0 }
|
|
424
|
+
);
|
|
425
|
+
const {
|
|
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
|
|
437
|
+
});
|
|
438
|
+
},
|
|
439
|
+
{ immediate: !0 }
|
|
440
|
+
);
|
|
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
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}, Y = _(
|
|
469
|
+
() => {
|
|
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);
|
|
472
|
+
}
|
|
473
|
+
);
|
|
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
|
|
559
|
+
}, {
|
|
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)
|
|
566
|
+
]),
|
|
567
|
+
_: 1
|
|
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"])
|
|
573
|
+
])
|
|
574
|
+
], 64))
|
|
575
|
+
]),
|
|
576
|
+
_: 1
|
|
577
|
+
}));
|
|
578
|
+
}
|
|
579
|
+
}), et = /* @__PURE__ */ I({
|
|
580
|
+
__name: "SubscriptionManagement.entry",
|
|
581
|
+
props: {
|
|
582
|
+
environment: { type: String },
|
|
583
|
+
locale: { type: String },
|
|
584
|
+
dateLocale: { type: String },
|
|
585
|
+
messages: { type: Object },
|
|
586
|
+
primaryColor: { type: String },
|
|
587
|
+
secondaryColor: { type: String },
|
|
588
|
+
isShadowRoot: { type: Boolean },
|
|
589
|
+
experimentalFeatures: { type: Array },
|
|
590
|
+
logLevel: { type: String },
|
|
591
|
+
onLog: { type: Function },
|
|
592
|
+
allowedPortalTypes: { type: Array },
|
|
593
|
+
portalObject: { type: Object },
|
|
594
|
+
cssOverrides: { type: [String, Array] },
|
|
595
|
+
branding: { type: Object },
|
|
596
|
+
configuration: { type: Object }
|
|
597
|
+
},
|
|
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"]));
|
|
611
|
+
}
|
|
612
|
+
}), { define: It } = he(
|
|
613
|
+
et,
|
|
614
|
+
"subscription-management"
|
|
615
|
+
);
|
|
616
|
+
export {
|
|
617
|
+
It as defineSolvimonSubscriptionManagement
|
|
618
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%239a1b27'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%239a1b27'%20d='M3.08%209h33.84v22H3.08z'/%3e%3cpath%20fill='%23fefefe'%20d='M11.46%2019.5a6%206%200%200%200-1.53-.32%203%203%200%200%201-.88-.18.3.3%200%200%201-.2-.3.4.4%200%200%201%20.16-.3%201%201%200%200%201%20.51-.13q.31%200%20.59.17a.7.7%200%200%201%20.25.38l1.95-.2a2.4%202.4%200%200%200-.5-.83%202%202%200%200%200-.77-.46%205%205%200%200%200-1.42-.15q-.74-.03-1.45.2a2%202%200%200%200-.85.57%201.4%201.4%200%200%200-.3.92q-.01.47.28.86.27.38.7.54.73.24%201.49.35.45.06.88.21a.4.4%200%200%201%20.19.54.4.4%200%200%201-.13.14%201%201%200%200%201-.64.17%201%201%200%200%201-.6-.15%201%201%200%200%201-.36-.53l-2.04.2c.1.49.38.92.8%201.2a4%204%200%200%200%202.1.42q.84.03%201.64-.26a2%202%200%200%200%20.88-.7q.27-.43.28-.91a1.5%201.5%200%200%200-.26-.85%201.7%201.7%200%200%200-.77-.6'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.05%2017.42q.46-.24%201-.24c.65-.03%201.28.29%201.66.83a3.4%203.4%200%200%201%20.59%202.04%203%203%200%200%201-.64%202.06%202.1%202.1%200%200%201-1.63.7%202%202%200%200%201-.86-.16%202%202%200%200%201-.7-.48v2.86h-2.08V17.3h1.93v.8q.3-.4.73-.68m.35%203.85a.8.8%200%200%200%20.6-.3q.29-.46.24-1A1.5%201.5%200%200%200%2024%2019a.8.8%200%200%200-.62-.31.8.8%200%200%200-.66.31q-.3.46-.26%201-.04.53.27.95a1%201%200%200%200%20.68.31m9.56.28q-.01.3.04.6.08.28.21.55h-1.93l-.15-.32-.07-.34a3%203%200%200%201-.8.55%203%203%200%200%201-1.27.23%202%202%200%200%201-1.46-.45%201.4%201.4%200%200%201-.5-1.1q0-.57.36-1.01a2.4%202.4%200%200%201%201.33-.6l1.5-.32q.37-.1.72-.24a.7.7%200%200%200-.15-.54.8.8%200%200%200-.55-.15%201.4%201.4%200%200%200-.76.16%201%201%200%200%200-.32.48l-1.97-.2q.09-.45.32-.82.25-.33.6-.52.38-.18.79-.24.53-.1%201.07-.09.75-.01%201.49.1.52.1.93.44.3.27.42.65.14.38.15.8zm-2.14-.46q.14-.3.12-.62v-.33q-.43.15-.88.27a2%202%200%200%200-.8.33.53.53%200%200%200%200%20.77.7.7%200%200%200%20.5.16%201.3%201.3%200%200%200%20.64-.17q.27-.14.42-.4'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M12.8%2015.18v9.64l7.06%201.25V13.93z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M23.9%2024.88v.1h.13V23.8h-.14v.43a.3.3%200%200%200-.24-.12.34.34%200%200%200-.32.22l-.04.24.05.23q.04.1.13.16a.3.3%200%200%200%20.19.06.3.3%200%200%200%20.24-.13m-.4-.08a.4.4%200%200%201-.06-.24.4.4%200%200%201%20.06-.26.2.2%200%200%201%20.33%200%20.4.4%200%200%201%20.07.27.4.4%200%200%201-.07.24.2.2%200%200%201-.32%200m1.1-.85h-.18v-.17h.17zm0%201.03h-.18v-.87h.17z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='M24.96%2024.99v-.87h.13v.13l.1-.12.09-.03a.3.3%200%200%201%20.15.05l-.05.14-.11-.04-.09.03-.05.08-.02.17V25z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='m26.42%2024.73-.15-.02a.3.3%200%200%201-.1.13.2.2%200%200%201-.13.05.2.2%200%200%201-.18-.08.3.3%200%200%201-.08-.22h.64v-.04a.5.5%200%200%200-.1-.33.4.4%200%200%200-.29-.12.4.4%200%200%200-.29.12.5.5%200%200%200-.1.34.5.5%200%200%200%20.1.33c.15.14.38.15.55.04a.4.4%200%200%200%20.13-.2m-.63-.26h.48a.3.3%200%200%200-.06-.16.2.2%200%200%200-.18-.09.2.2%200%200%200-.17.07.3.3%200%200%200-.07.18'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m27.33%2024.67.14.02a.35.35%200%200%201-.36.32.4.4%200%200%201-.28-.12.5.5%200%200%201-.1-.33l.04-.25a.3.3%200%200%201%20.14-.15.4.4%200%200%201%20.2-.06.4.4%200%200%201%20.23.07.3.3%200%200%201%20.12.2l-.14.03a.2.2%200%200%200-.08-.13.2.2%200%200%200-.12-.05.2.2%200%200%200-.18.08.4.4%200%200%200-.07.25.4.4%200%200%200%20.07.26q.06.08.17.07a.2.2%200%200%200%20.14-.05.3.3%200%200%200%20.08-.16m.75.18.02.13-.11.02-.12-.03-.06-.06-.02-.18v-.5h-.11v-.1h.1v-.22l.15-.09v.3h.15v.12h-.15v.58l.03.03.05.01z'/%3e%3cpath%20fill='%23fefefe'%20fill-rule='evenodd'%20d='M29.49%2024.88v.1h.13V23.8h-.14v.43a.3.3%200%200%200-.24-.12.34.34%200%200%200-.32.22l-.04.24.04.23q.05.1.14.16a.3.3%200%200%200%20.19.06.3.3%200%200%200%20.24-.13m-.4-.08a.4.4%200%200%201-.07-.24.4.4%200%200%201%20.07-.26.2.2%200%200%201%20.33%200%20.4.4%200%200%201%20.07.27.4.4%200%200%201-.07.24.2.2%200%200%201-.33%200m1.66-.08-.15-.02a.3.3%200%200%201-.09.13.2.2%200%200%201-.13.05.2.2%200%200%201-.18-.08.3.3%200%200%201-.08-.22h.64v-.04a.5.5%200%200%200-.11-.33.4.4%200%200%200-.28-.12.4.4%200%200%200-.3.12.5.5%200%200%200-.1.34.5.5%200%200%200%20.1.33c.16.14.38.15.55.04a.4.4%200%200%200%20.13-.2m-.63-.26h.48a.3.3%200%200%200-.05-.16.2.2%200%200%200-.18-.09.2.2%200%200%200-.17.07.3.3%200%200%200-.07.18m.97.52h.14v-.11q.08.13.24.13a.3.3%200%200%200%20.26-.13.5.5%200%200%200%20.1-.34l-.02-.17-.07-.14a.3.3%200%200%200-.12-.1l-.15-.03a.3.3%200%200%200-.23.12v-.42h-.15zm.18-.22-.04-.22a.4.4%200%200%201%20.07-.24.2.2%200%200%201%20.32%200q.08.11.07.25a.4.4%200%200%201-.07.24.2.2%200%200%201-.28.05zm1.09-.8h-.18v-.18h.18zm0%201.02h-.18v-.87h.18z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fefefe'%20d='m33.04%2024.86.02.13h-.1l-.13-.02-.06-.06-.02-.18v-.5h-.1v-.1h.1v-.22l.15-.09v.3h.14v.12h-.14v.58l.03.03.05.01z'/%3e%3cpath%20fill='%239a1b27'%20fill-rule='evenodd'%20d='M15.3%2020.51h4.13v-.23a4%204%200%200%200-.35-1.73%202.4%202.4%200%200%200-1.01-1.02%204%204%200%200%200-1.82-.35%203%203%200%200%200-2.23.78%202.7%202.7%200%200%200-.8%202.05%203%203%200%200%200%20.4%201.55q.37.62%201.01.96.8.33%201.68.3a4%204%200%200%200%201.88-.36%203%203%200%200%200%201.13-1.16l-2.03-.19q-.15.2-.36.34-.26.15-.58.15a1%201%200%200%201-.77-.35%201.3%201.3%200%200%201-.27-.74m1.71-1.85q.3.38.32.86h-2.03q.03-.39.24-.72a1%201%200%200%201%201.47-.14'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=e;
|