@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,113 @@
|
|
|
1
|
+
import { defineComponent as p, openBlock as y, createBlock as u, renderSlot as d, unref as r, withCtx as m, createVNode as c, normalizeProps as g, guardReactiveProps as b } from "vue";
|
|
2
|
+
import { A as S } from "../../error-BHVZJGwD.mjs";
|
|
3
|
+
import { _ as w, u as f } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs";
|
|
4
|
+
import { u as v } from "../../useLoadInitialData-ux_wpNiR.mjs";
|
|
5
|
+
import { d as B, e as h } from "../../customElements-Com2NiGU.mjs";
|
|
6
|
+
import { g as A } from "../../component-5wqcK7yz.mjs";
|
|
7
|
+
const O = /* @__PURE__ */ p({
|
|
8
|
+
__name: "WalletBalances",
|
|
9
|
+
props: {
|
|
10
|
+
hasError: { type: Boolean },
|
|
11
|
+
isLoading: { type: Boolean },
|
|
12
|
+
walletBalances: { type: Array },
|
|
13
|
+
showTopUpButton: { type: Boolean },
|
|
14
|
+
customer: { type: Object },
|
|
15
|
+
paymentMethods: { type: Array },
|
|
16
|
+
subscriptions: { type: Array }
|
|
17
|
+
},
|
|
18
|
+
emits: ["top-up-charged", "auto-top-up-saved", "auto-top-up-cancelled", "payment-method-stored", "payment-failed"],
|
|
19
|
+
setup(o, { emit: s }) {
|
|
20
|
+
const t = s;
|
|
21
|
+
return (n, e) => (y(), u(w, {
|
|
22
|
+
class: "sv-wallet-balances sv-root sv-component",
|
|
23
|
+
"has-error": o.hasError,
|
|
24
|
+
"is-loading": o.isLoading,
|
|
25
|
+
"wallet-balances": o.walletBalances,
|
|
26
|
+
"show-top-up-button": o.showTopUpButton,
|
|
27
|
+
customer: o.customer,
|
|
28
|
+
"payment-methods": o.paymentMethods,
|
|
29
|
+
subscriptions: o.subscriptions,
|
|
30
|
+
onTopUpCharged: e[0] || (e[0] = (a) => t("top-up-charged")),
|
|
31
|
+
onAutoTopUpSaved: e[1] || (e[1] = (a) => t("auto-top-up-saved")),
|
|
32
|
+
onAutoTopUpCancelled: e[2] || (e[2] = (a) => t("auto-top-up-cancelled")),
|
|
33
|
+
onPaymentMethodStored: e[3] || (e[3] = (a) => t("payment-method-stored")),
|
|
34
|
+
onPaymentFailed: e[4] || (e[4] = (a) => t("payment-failed", a))
|
|
35
|
+
}, null, 8, ["has-error", "is-loading", "wallet-balances", "show-top-up-button", "customer", "payment-methods", "subscriptions"]));
|
|
36
|
+
}
|
|
37
|
+
}), $ = /* @__PURE__ */ p({
|
|
38
|
+
__name: "WalletBalances.entry.view",
|
|
39
|
+
props: {
|
|
40
|
+
portalObject: { type: Object },
|
|
41
|
+
environment: { type: String },
|
|
42
|
+
locale: { type: String },
|
|
43
|
+
dateLocale: { type: String },
|
|
44
|
+
messages: { type: Object },
|
|
45
|
+
primaryColor: { type: String },
|
|
46
|
+
secondaryColor: { type: String },
|
|
47
|
+
isShadowRoot: { type: Boolean },
|
|
48
|
+
experimentalFeatures: { type: Array },
|
|
49
|
+
logLevel: { type: String },
|
|
50
|
+
onLog: { type: Function },
|
|
51
|
+
allowedPortalTypes: { type: Array },
|
|
52
|
+
cssOverrides: { type: [String, Array] },
|
|
53
|
+
branding: { type: Object }
|
|
54
|
+
},
|
|
55
|
+
setup(o) {
|
|
56
|
+
const t = o.portalObject.customer_id, n = f({ customerId: t }), { walletBalances: e } = n, { isLoading: a } = v(n.fetch());
|
|
57
|
+
return (l, L) => {
|
|
58
|
+
var i;
|
|
59
|
+
return d(l.$slots, "default", {
|
|
60
|
+
customerWalletBalances: r(n),
|
|
61
|
+
walletBalanceItems: ((i = r(e)) == null ? void 0 : i.wallet_balances) ?? [],
|
|
62
|
+
isLoading: r(a)
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}), C = /* @__PURE__ */ p({
|
|
67
|
+
__name: "WalletBalances.entry",
|
|
68
|
+
props: {
|
|
69
|
+
portalObject: { type: Object },
|
|
70
|
+
environment: { type: String },
|
|
71
|
+
locale: { type: String },
|
|
72
|
+
dateLocale: { type: String },
|
|
73
|
+
messages: { type: Object },
|
|
74
|
+
primaryColor: { type: String },
|
|
75
|
+
secondaryColor: { type: String },
|
|
76
|
+
isShadowRoot: { type: Boolean },
|
|
77
|
+
experimentalFeatures: { type: Array },
|
|
78
|
+
logLevel: { type: String },
|
|
79
|
+
onLog: { type: Function },
|
|
80
|
+
allowedPortalTypes: { type: Array },
|
|
81
|
+
cssOverrides: { type: [String, Array] },
|
|
82
|
+
branding: { type: Object }
|
|
83
|
+
},
|
|
84
|
+
setup(o) {
|
|
85
|
+
const s = A("wallet-balances");
|
|
86
|
+
return (t, n) => (y(), u(r(B), {
|
|
87
|
+
entry: t.$props,
|
|
88
|
+
"component-name": r(s),
|
|
89
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
90
|
+
onError: n[0] || (n[0] = (e) => t.$emit("error", e))
|
|
91
|
+
}, {
|
|
92
|
+
default: m(() => [
|
|
93
|
+
c($, g(b(t.$props)), {
|
|
94
|
+
default: m(({ customerWalletBalances: e, walletBalanceItems: a, isLoading: l }) => [
|
|
95
|
+
c(O, {
|
|
96
|
+
"has-error": e.apiStatus.value === r(S).Failed,
|
|
97
|
+
"is-loading": l,
|
|
98
|
+
"wallet-balances": a
|
|
99
|
+
}, null, 8, ["has-error", "is-loading", "wallet-balances"])
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 16)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["entry", "component-name"]));
|
|
106
|
+
}
|
|
107
|
+
}), { define: E } = h(
|
|
108
|
+
C,
|
|
109
|
+
"wallet-balances"
|
|
110
|
+
);
|
|
111
|
+
export {
|
|
112
|
+
E as defineSolvimonWalletBalances
|
|
113
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const s = (o) => typeof o == "object" && o !== null && !Array.isArray(o);
|
|
2
|
+
function i(o, c) {
|
|
3
|
+
const r = { ...o };
|
|
4
|
+
for (const [n, e] of Object.entries(c ?? {})) {
|
|
5
|
+
if (e === void 0)
|
|
6
|
+
continue;
|
|
7
|
+
const t = r[n];
|
|
8
|
+
r[n] = s(t) && s(e) ? i(t, e) : e;
|
|
9
|
+
}
|
|
10
|
+
return r;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
i as r
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const i=o=>typeof o=="object"&&o!==null&&!Array.isArray(o);function s(o,c){const n={...o};for(const[r,e]of Object.entries(c??{})){if(e===void 0)continue;const t=n[r];n[r]=i(t)&&i(e)?s(t,e):e}return n}exports.resolveConfiguration=s;
|
|
@@ -1,58 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Action-request event types for the 'action-request' custom event.
|
|
3
|
-
* Kept in a separate file with no internal dependencies so dist/core declarations resolve for consumers.
|
|
4
|
-
*/
|
|
5
|
-
export type ActionRequestDetailBase = {
|
|
6
|
-
action: string;
|
|
7
|
-
entity?: string;
|
|
8
|
-
data?: Record<string, unknown>;
|
|
9
|
-
href?: string;
|
|
10
|
-
meta?: Record<string, unknown>;
|
|
11
|
-
};
|
|
12
|
-
export interface ActionRequestDetailViewInvoice extends ActionRequestDetailBase {
|
|
13
|
-
action: 'view-invoice';
|
|
14
|
-
data: {
|
|
15
|
-
invoiceId: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface ActionRequestDetailPayInvoice extends ActionRequestDetailBase {
|
|
19
|
-
action: 'pay-invoice';
|
|
20
|
-
data: {
|
|
21
|
-
invoiceId: string;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface ActionRequestDetailViewSubscriptionDetails extends ActionRequestDetailBase {
|
|
25
|
-
action: 'view-subscription-details';
|
|
26
|
-
data: {
|
|
27
|
-
subscriptionId: string;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
export interface ActionRequestDetailViewAllSubscriptions extends ActionRequestDetailBase {
|
|
31
|
-
action: 'view-all-subscriptions';
|
|
32
|
-
}
|
|
33
|
-
export interface ActionRequestDetailCancelSubscription extends ActionRequestDetailBase {
|
|
34
|
-
action: 'cancel-subscription';
|
|
35
|
-
data: {
|
|
36
|
-
subscriptionId: string;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export interface ActionRequestDetailRenewSubscription extends ActionRequestDetailBase {
|
|
40
|
-
action: 'renew-subscription';
|
|
41
|
-
data: {
|
|
42
|
-
subscriptionId: string;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
export interface ActionRequestDetailEditBillingInformation extends ActionRequestDetailBase {
|
|
46
|
-
action: 'edit-billing-information';
|
|
47
|
-
}
|
|
48
|
-
export interface ActionRequestDetailViewAllPaymentMethods extends ActionRequestDetailBase {
|
|
49
|
-
action: 'view-all-payment-methods';
|
|
50
|
-
}
|
|
51
|
-
export interface ActionRequestDetailAddPaymentMethod extends ActionRequestDetailBase {
|
|
52
|
-
action: 'add-payment-method';
|
|
53
|
-
}
|
|
54
|
-
export type ActionRequestDetail = ActionRequestDetailViewInvoice | ActionRequestDetailPayInvoice | ActionRequestDetailViewSubscriptionDetails | ActionRequestDetailViewAllSubscriptions | ActionRequestDetailCancelSubscription | ActionRequestDetailRenewSubscription | ActionRequestDetailEditBillingInformation | ActionRequestDetailViewAllPaymentMethods | ActionRequestDetailAddPaymentMethod;
|
|
55
|
-
/**
|
|
56
|
-
* Type for the 'action-request' custom event. Use when listening for action-request on document or container.
|
|
57
|
-
*/
|
|
58
|
-
export type RequestActionEvent = CustomEvent<ActionRequestDetail>;
|
|
1
|
+
export * from '../types/public/core/action-request.types';
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function createSolvimonCore(): CoreConfiguration<SolvimonMountConfig>;
|
|
3
|
-
export declare function createSolvimonCore<TConfig extends SolvimonMountConfig>(config: TConfig): CoreConfiguration<TConfig>;
|
|
1
|
+
export * from '../types/public/core/configuration';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../component-B7ZDyqBp.js"),s={"customer-overview":()=>Promise.resolve().then(()=>require("../screens/CustomerOverview/CustomerOverview.cjs")).then(e=>e.defineSolvimonCustomerOverview),checkout:()=>Promise.resolve().then(()=>require("../screens/Checkout/Checkout.cjs")).then(e=>e.defineSolvimonCheckout),"subscription-management":()=>Promise.resolve().then(()=>require("../screens/SubscriptionManagement/SubscriptionManagement.cjs")).then(e=>e.defineSolvimonSubscriptionManagement),"subscription-details":()=>Promise.resolve().then(()=>require("../screens/SubscriptionDetails/SubscriptionDetails.cjs")).then(e=>e.defineSolvimonSubscriptionDetails),"pay-invoice":()=>Promise.resolve().then(()=>require("../screens/PayInvoice/PayInvoice.cjs")).then(e=>e.defineSolvimonPayInvoice),"payment-methods-management":()=>Promise.resolve().then(()=>require("../screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs")).then(e=>e.defineSolvimonPaymentMethodsManagement)},m={invoice:()=>Promise.resolve().then(()=>require("../components/Invoice/Invoice.cjs")).then(e=>e.defineSolvimonInvoice),"invoice-header":()=>Promise.resolve().then(()=>require("../components/InvoiceHeader/InvoiceHeader.cjs")).then(e=>e.defineSolvimonInvoiceHeader),"invoice-details":()=>Promise.resolve().then(()=>require("../components/InvoiceDetails/InvoiceDetails.cjs")).then(e=>e.defineSolvimonInvoiceDetails),"invoices-list":()=>Promise.resolve().then(()=>require("../components/InvoicesList/InvoicesList.cjs")).then(e=>e.defineSolvimonInvoicesList),"payment-history":()=>Promise.resolve().then(()=>require("../components/PaymentHistory/PaymentHistory.cjs")).then(e=>e.defineSolvimonPaymentHistory),"subscriptions-list":()=>Promise.resolve().then(()=>require("../components/SubscriptionsList/SubscriptionsList.cjs")).then(e=>e.defineSolvimonSubscriptionsList),"subscription-schedules":()=>Promise.resolve().then(()=>require("../components/SubscriptionSchedules/SubscriptionSchedules.cjs")).then(e=>e.defineSolvimonSubscriptionSchedules),"customer-payment-methods":()=>Promise.resolve().then(()=>require("../components/CustomerPaymentMethods/CustomerPaymentMethods.cjs")).then(e=>e.defineSolvimonCustomerPaymentMethods),"wallet-balances":()=>Promise.resolve().then(()=>require("../components/WalletBalances/WalletBalances.cjs")).then(e=>e.defineSolvimonWalletBalances),"billing-information":()=>Promise.resolve().then(()=>require("../components/BillingInformation/BillingInformation.cjs")).then(e=>e.defineSolvimonBillingInformation),"billing-information-form":()=>Promise.resolve().then(()=>require("../components/BillingInformationForm/BillingInformationForm.cjs")).then(e=>e.defineSolvimonBillingInformationForm),"payment-method-form":()=>Promise.resolve().then(()=>require("../components/PaymentMethodForm/PaymentMethodForm.cjs")).then(e=>e.defineSolvimonPaymentMethodForm)};function p(e){return Object.hasOwn(s,e)}function g(e){return Object.hasOwn(m,e)}function P(e){return S.getComponentName(e)}function b(e,n){const o=n==="screen"?p(e)&&s[e]:g(e)&&m[e];if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(n==="screen"?s:m).join(", ")}.`);return o().then(t=>t())}function E(e){if(typeof e=="string"){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}function q(e,n){const o={};for(const[t,i]of Object.entries(n))i!==void 0&&(o[t]=i);Object.assign(e,o)}function y(e,n,o,t){if(!t)throw o;t({schemaVersion:1,level:"error",code:"INITIAL_DATA_LOAD_FAILED",message:`Solvimon: failed to load the "${e}" ${n}`,timestamp:new Date().toISOString(),context:{id:e,type:n},error:o})}function c(e,n,o,t,i){const v=E(e),h=P(n),d=b(n,o);let r,l=!1;return d.then(()=>{l||(r=document.createElement(h),q(r,t),v.appendChild(r))}).catch(f=>y(n,o,f,i)),{unmount(){l=!0,r==null||r.remove(),r=void 0}}}function u(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function a(e,n){return{...e,...n}}function C(e={}){return{config:e,createComponent(n,o){const{container:t,props:i}=u(o);return c(t,n,"component",a(e,i),e.onLog).unmount},createScreen(n,o){const{container:t,props:i}=u(o);return c(t,n,"screen",a(e,i),e.onLog).unmount}}}const O=["customer-overview","checkout","subscription-management","subscription-details","pay-invoice","payment-methods-management"],I=["invoice","invoice-header","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];function R(){return[...O]}function D(){return[...I]}exports.createSolvimonCore=C;exports.getRegisteredComponentIds=D;exports.getRegisteredScreenIds=R;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Solvimon Core – define and mount components/screens in a container
|
|
3
|
-
*
|
|
4
|
-
* Use createSolvimonCore to configure shared settings once and mount screens or components
|
|
5
|
-
* into your own container without using web components directly.
|
|
6
|
-
*/
|
|
7
|
-
export { createSolvimonCore } from './configuration';
|
|
8
|
-
export { getRegisteredScreenIds, getRegisteredComponentIds } from './registry';
|
|
9
|
-
export type { CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountConfig, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, } from './types';
|
|
10
|
-
export type { ActionRequestDetail, RequestActionEvent } from './action-request.types';
|
|
1
|
+
export * from '../types/public/core/index';
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { g as v } from "../component-5wqcK7yz.mjs";
|
|
2
|
+
const m = {
|
|
3
|
+
"customer-overview": () => import("../screens/CustomerOverview/CustomerOverview.mjs").then(
|
|
4
|
+
(e) => e.defineSolvimonCustomerOverview
|
|
5
|
+
),
|
|
6
|
+
checkout: () => import("../screens/Checkout/Checkout.mjs").then(
|
|
7
|
+
(e) => e.defineSolvimonCheckout
|
|
8
|
+
),
|
|
9
|
+
"subscription-management": () => import("../screens/SubscriptionManagement/SubscriptionManagement.mjs").then(
|
|
10
|
+
(e) => e.defineSolvimonSubscriptionManagement
|
|
11
|
+
),
|
|
12
|
+
"subscription-details": () => import("../screens/SubscriptionDetails/SubscriptionDetails.mjs").then(
|
|
13
|
+
(e) => e.defineSolvimonSubscriptionDetails
|
|
14
|
+
),
|
|
15
|
+
"pay-invoice": () => import("../screens/PayInvoice/PayInvoice.mjs").then(
|
|
16
|
+
(e) => e.defineSolvimonPayInvoice
|
|
17
|
+
),
|
|
18
|
+
"payment-methods-management": () => import("../screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs").then(
|
|
19
|
+
(e) => e.defineSolvimonPaymentMethodsManagement
|
|
20
|
+
)
|
|
21
|
+
}, s = {
|
|
22
|
+
invoice: () => import("../components/Invoice/Invoice.mjs").then(
|
|
23
|
+
(e) => e.defineSolvimonInvoice
|
|
24
|
+
),
|
|
25
|
+
"invoice-header": () => import("../components/InvoiceHeader/InvoiceHeader.mjs").then(
|
|
26
|
+
(e) => e.defineSolvimonInvoiceHeader
|
|
27
|
+
),
|
|
28
|
+
"invoice-details": () => import("../components/InvoiceDetails/InvoiceDetails.mjs").then(
|
|
29
|
+
(e) => e.defineSolvimonInvoiceDetails
|
|
30
|
+
),
|
|
31
|
+
"invoices-list": () => import("../components/InvoicesList/InvoicesList.mjs").then(
|
|
32
|
+
(e) => e.defineSolvimonInvoicesList
|
|
33
|
+
),
|
|
34
|
+
"payment-history": () => import("../components/PaymentHistory/PaymentHistory.mjs").then(
|
|
35
|
+
(e) => e.defineSolvimonPaymentHistory
|
|
36
|
+
),
|
|
37
|
+
"subscriptions-list": () => import("../components/SubscriptionsList/SubscriptionsList.mjs").then(
|
|
38
|
+
(e) => e.defineSolvimonSubscriptionsList
|
|
39
|
+
),
|
|
40
|
+
"subscription-schedules": () => import("../components/SubscriptionSchedules/SubscriptionSchedules.mjs").then(
|
|
41
|
+
(e) => e.defineSolvimonSubscriptionSchedules
|
|
42
|
+
),
|
|
43
|
+
"customer-payment-methods": () => import("../components/CustomerPaymentMethods/CustomerPaymentMethods.mjs").then(
|
|
44
|
+
(e) => e.defineSolvimonCustomerPaymentMethods
|
|
45
|
+
),
|
|
46
|
+
"wallet-balances": () => import("../components/WalletBalances/WalletBalances.mjs").then(
|
|
47
|
+
(e) => e.defineSolvimonWalletBalances
|
|
48
|
+
),
|
|
49
|
+
"billing-information": () => import("../components/BillingInformation/BillingInformation.mjs").then(
|
|
50
|
+
(e) => e.defineSolvimonBillingInformation
|
|
51
|
+
),
|
|
52
|
+
"billing-information-form": () => import("../components/BillingInformationForm/BillingInformationForm.mjs").then(
|
|
53
|
+
(e) => e.defineSolvimonBillingInformationForm
|
|
54
|
+
),
|
|
55
|
+
"payment-method-form": () => import("../components/PaymentMethodForm/PaymentMethodForm.mjs").then(
|
|
56
|
+
(e) => e.defineSolvimonPaymentMethodForm
|
|
57
|
+
)
|
|
58
|
+
};
|
|
59
|
+
function S(e) {
|
|
60
|
+
return Object.hasOwn(m, e);
|
|
61
|
+
}
|
|
62
|
+
function g(e) {
|
|
63
|
+
return Object.hasOwn(s, e);
|
|
64
|
+
}
|
|
65
|
+
function b(e) {
|
|
66
|
+
return v(e);
|
|
67
|
+
}
|
|
68
|
+
function E(e, n) {
|
|
69
|
+
const o = n === "screen" ? S(e) && m[e] : g(e) && s[e];
|
|
70
|
+
if (!o)
|
|
71
|
+
throw new Error(
|
|
72
|
+
`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys(
|
|
73
|
+
n === "screen" ? m : s
|
|
74
|
+
).join(", ")}.`
|
|
75
|
+
);
|
|
76
|
+
return o().then((t) => t());
|
|
77
|
+
}
|
|
78
|
+
function O(e) {
|
|
79
|
+
if (typeof e == "string") {
|
|
80
|
+
const n = document.querySelector(e);
|
|
81
|
+
if (!n)
|
|
82
|
+
throw new Error(`Solvimon: container not found for selector "${e}"`);
|
|
83
|
+
return n;
|
|
84
|
+
}
|
|
85
|
+
return e;
|
|
86
|
+
}
|
|
87
|
+
function y(e, n) {
|
|
88
|
+
const o = {};
|
|
89
|
+
for (const [t, i] of Object.entries(n))
|
|
90
|
+
i !== void 0 && (o[t] = i);
|
|
91
|
+
Object.assign(e, o);
|
|
92
|
+
}
|
|
93
|
+
function C(e, n, o, t) {
|
|
94
|
+
if (!t) throw o;
|
|
95
|
+
t({
|
|
96
|
+
schemaVersion: 1,
|
|
97
|
+
level: "error",
|
|
98
|
+
code: "INITIAL_DATA_LOAD_FAILED",
|
|
99
|
+
message: `Solvimon: failed to load the "${e}" ${n}`,
|
|
100
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
101
|
+
context: { id: e, type: n },
|
|
102
|
+
error: o
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function a(e, n, o, t, i) {
|
|
106
|
+
const p = O(e), d = b(n), f = E(n, o);
|
|
107
|
+
let r, c = !1;
|
|
108
|
+
return f.then(() => {
|
|
109
|
+
c || (r = document.createElement(d), y(r, t), p.appendChild(r));
|
|
110
|
+
}).catch((h) => C(n, o, h, i)), {
|
|
111
|
+
unmount() {
|
|
112
|
+
c = !0, r == null || r.remove(), r = void 0;
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function l(e) {
|
|
117
|
+
const { container: n, ...o } = e;
|
|
118
|
+
return { container: n, props: Object.fromEntries(Object.entries(o)) };
|
|
119
|
+
}
|
|
120
|
+
function u(e, n) {
|
|
121
|
+
return {
|
|
122
|
+
...e,
|
|
123
|
+
...n
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function w(e = {}) {
|
|
127
|
+
return {
|
|
128
|
+
config: e,
|
|
129
|
+
createComponent(n, o) {
|
|
130
|
+
const { container: t, props: i } = l(o);
|
|
131
|
+
return a(
|
|
132
|
+
t,
|
|
133
|
+
n,
|
|
134
|
+
"component",
|
|
135
|
+
u(e, i),
|
|
136
|
+
e.onLog
|
|
137
|
+
).unmount;
|
|
138
|
+
},
|
|
139
|
+
createScreen(n, o) {
|
|
140
|
+
const { container: t, props: i } = l(o);
|
|
141
|
+
return a(
|
|
142
|
+
t,
|
|
143
|
+
n,
|
|
144
|
+
"screen",
|
|
145
|
+
u(e, i),
|
|
146
|
+
e.onLog
|
|
147
|
+
).unmount;
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
const I = [
|
|
152
|
+
"customer-overview",
|
|
153
|
+
"checkout",
|
|
154
|
+
"subscription-management",
|
|
155
|
+
"subscription-details",
|
|
156
|
+
"pay-invoice",
|
|
157
|
+
"payment-methods-management"
|
|
158
|
+
], D = [
|
|
159
|
+
"invoice",
|
|
160
|
+
"invoice-header",
|
|
161
|
+
"invoice-details",
|
|
162
|
+
"invoices-list",
|
|
163
|
+
"payment-history",
|
|
164
|
+
"subscriptions-list",
|
|
165
|
+
"subscription-schedules",
|
|
166
|
+
"customer-payment-methods",
|
|
167
|
+
"wallet-balances",
|
|
168
|
+
"billing-information",
|
|
169
|
+
"billing-information-form",
|
|
170
|
+
"payment-method-form"
|
|
171
|
+
];
|
|
172
|
+
function N() {
|
|
173
|
+
return [...I];
|
|
174
|
+
}
|
|
175
|
+
function P() {
|
|
176
|
+
return [...D];
|
|
177
|
+
}
|
|
178
|
+
export {
|
|
179
|
+
w as createSolvimonCore,
|
|
180
|
+
P as getRegisteredComponentIds,
|
|
181
|
+
N as getRegisteredScreenIds
|
|
182
|
+
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export declare function ensureCustomElementDefined(viewId: string, type: 'screen' | 'component'): void;
|
|
1
|
+
export * from '../types/public/core/registry.ce';
|
package/dist/core/registry.d.ts
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { RegisteredScreenId, RegisteredComponentId } from './types';
|
|
3
|
-
export declare function getScreenComponent(id: string): Component | undefined;
|
|
4
|
-
export declare function getComponent(id: string): Component | undefined;
|
|
5
|
-
export declare function getRegisteredScreenIds(): RegisteredScreenId[];
|
|
6
|
-
export declare function getRegisteredComponentIds(): RegisteredComponentId[];
|
|
1
|
+
export * from '../types/public/core/registry';
|
package/dist/core/types.d.ts
CHANGED
|
@@ -1,111 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IntlMessages } from '@solvimon/solvimon-ui';
|
|
3
|
-
import { SolvimonBillingInformationEntryProps } from '../components/BillingInformation/BillingInformation.entry.types';
|
|
4
|
-
import { SolvimonBillingInformationFormEntryProps } from '../components/BillingInformationForm/BillingInformationForm.entry.types';
|
|
5
|
-
import { SolvimonCustomerPaymentMethodsEntryProps } from '../components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types';
|
|
6
|
-
import { SolvimonInvoiceEntryProps } from '../components/Invoice/Invoice.entry.types';
|
|
7
|
-
import { SolvimonInvoiceDetailsEntryProps } from '../components/InvoiceDetails/InvoiceDetails.entry.types';
|
|
8
|
-
import { SolvimonInvoicesListEntryProps } from '../components/InvoicesList/InvoicesList.entry.types';
|
|
9
|
-
import { SolvimonPaymentMethodFormEntryProps } from '../components/PaymentMethodForm/PaymentMethodForm.entry.types';
|
|
10
|
-
import { SolvimonPaymentHistoryEntryProps } from '../components/PaymentHistory/PaymentHistory.entry.types';
|
|
11
|
-
import { SolvimonSubscriptionSchedulesEntryProps } from '../components/SubscriptionSchedules/SubscriptionSchedules.entry.types';
|
|
12
|
-
import { SolvimonSubscriptionsListEntryProps } from '../components/SubscriptionsList/SubscriptionsList.entry.types';
|
|
13
|
-
import { SolvimonWalletBalancesEntryProps } from '../components/WalletBalances/WalletBalances.entry.types';
|
|
14
|
-
import { SolvimonCheckoutEntryProps } from '../screens/Checkout/Checkout.entry.types';
|
|
15
|
-
import { SolvimonCustomerOverviewEntryProps } from '../screens/CustomerOverview/CustomerOverview.entry.types';
|
|
16
|
-
import { SolvimonUpgradeSubscriptionEntryProps } from '../screens/UpgradeSubscription/UpgradeSubscription.entry.types';
|
|
17
|
-
/**
|
|
18
|
-
* Shared configuration passed to all mounted Solvimon components and screens.
|
|
19
|
-
* Extends the base entry props (environment, locale, branding, etc.).
|
|
20
|
-
*/
|
|
21
|
-
export interface SharedSolvimonMountConfig {
|
|
22
|
-
environment?: Environment;
|
|
23
|
-
locale?: string;
|
|
24
|
-
dateLocale?: string;
|
|
25
|
-
messages?: IntlMessages;
|
|
26
|
-
experimentalFeatures?: unknown[];
|
|
27
|
-
logLevel?: 'debug' | 'info' | 'warn' | 'error';
|
|
28
|
-
onLog?: (entry: unknown) => void;
|
|
29
|
-
branding?: PlatformBranding;
|
|
30
|
-
}
|
|
31
|
-
export type SolvimonMountConfig = SharedSolvimonMountConfig;
|
|
32
|
-
/**
|
|
33
|
-
* Return type of the Solvimon core mount methods.
|
|
34
|
-
*/
|
|
35
|
-
export interface SolvimonMountInstance {
|
|
36
|
-
/** Unmounts the Solvimon app from the container. */
|
|
37
|
-
unmount: () => void;
|
|
38
|
-
}
|
|
39
|
-
interface RegisteredComponentEntryPropsById {
|
|
40
|
-
invoice: SolvimonInvoiceEntryProps;
|
|
41
|
-
'invoice-details': SolvimonInvoiceDetailsEntryProps;
|
|
42
|
-
'invoices-list': SolvimonInvoicesListEntryProps;
|
|
43
|
-
'payment-history': SolvimonPaymentHistoryEntryProps;
|
|
44
|
-
'subscription-schedules': SolvimonSubscriptionSchedulesEntryProps;
|
|
45
|
-
'subscriptions-list': SolvimonSubscriptionsListEntryProps;
|
|
46
|
-
'customer-payment-methods': SolvimonCustomerPaymentMethodsEntryProps;
|
|
47
|
-
'wallet-balances': SolvimonWalletBalancesEntryProps;
|
|
48
|
-
'billing-information': SolvimonBillingInformationEntryProps;
|
|
49
|
-
'billing-information-form': SolvimonBillingInformationFormEntryProps;
|
|
50
|
-
'payment-method-form': SolvimonPaymentMethodFormEntryProps;
|
|
51
|
-
}
|
|
52
|
-
interface RegisteredScreenEntryPropsById {
|
|
53
|
-
checkout: SolvimonCheckoutEntryProps;
|
|
54
|
-
'customer-overview': SolvimonCustomerOverviewEntryProps;
|
|
55
|
-
'upgrade-subscription': SolvimonUpgradeSubscriptionEntryProps;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Registered screen ids that can be used with createScreen.
|
|
59
|
-
*/
|
|
60
|
-
export type RegisteredScreenId = keyof RegisteredScreenEntryPropsById;
|
|
61
|
-
/**
|
|
62
|
-
* Registered component ids that can be used with createComponent.
|
|
63
|
-
*/
|
|
64
|
-
export type RegisteredComponentId = keyof RegisteredComponentEntryPropsById;
|
|
65
|
-
type InferConfiguration<TProps> = TProps extends {
|
|
66
|
-
configuration: infer TConfiguration;
|
|
67
|
-
} ? TConfiguration : TProps extends {
|
|
68
|
-
configuration?: infer TConfiguration;
|
|
69
|
-
} ? TConfiguration | undefined : undefined;
|
|
70
|
-
type InferPortalObject<TProps> = TProps extends {
|
|
71
|
-
portalObject: infer TPortalObject;
|
|
72
|
-
} ? TPortalObject : TProps extends {
|
|
73
|
-
portalObject?: infer TPortalObject;
|
|
74
|
-
} ? TPortalObject | undefined : undefined;
|
|
75
|
-
type MountContext<TPortalObject> = [TPortalObject] extends [undefined] ? Record<never, never> : undefined extends TPortalObject ? {
|
|
76
|
-
portalObject?: Exclude<TPortalObject, undefined>;
|
|
77
|
-
} : {
|
|
78
|
-
portalObject: TPortalObject;
|
|
79
|
-
};
|
|
80
|
-
export type ComponentConfigurationById = {
|
|
81
|
-
[TId in RegisteredComponentId]: InferConfiguration<RegisteredComponentEntryPropsById[TId]>;
|
|
82
|
-
};
|
|
83
|
-
export type ScreenConfigurationById = {
|
|
84
|
-
[TId in RegisteredScreenId]: InferConfiguration<RegisteredScreenEntryPropsById[TId]>;
|
|
85
|
-
};
|
|
86
|
-
type ComponentConfigurationProp<TConfiguration> = [TConfiguration] extends [undefined] ? {
|
|
87
|
-
configuration?: undefined;
|
|
88
|
-
} : undefined extends TConfiguration ? {
|
|
89
|
-
configuration?: Exclude<TConfiguration, undefined>;
|
|
90
|
-
} : {
|
|
91
|
-
configuration: TConfiguration;
|
|
92
|
-
};
|
|
93
|
-
type ScreenConfigurationProp<TConfiguration> = [TConfiguration] extends [undefined] ? {
|
|
94
|
-
configuration?: undefined;
|
|
95
|
-
} : undefined extends TConfiguration ? {
|
|
96
|
-
configuration?: Exclude<TConfiguration, undefined>;
|
|
97
|
-
} : {
|
|
98
|
-
configuration: TConfiguration;
|
|
99
|
-
};
|
|
100
|
-
export type ComponentMountConfiguration<TId extends RegisteredComponentId> = {
|
|
101
|
-
container: Element | string;
|
|
102
|
-
} & MountContext<InferPortalObject<RegisteredComponentEntryPropsById[TId]>> & ComponentConfigurationProp<ComponentConfigurationById[TId]>;
|
|
103
|
-
export type ScreenMountConfiguration<TId extends RegisteredScreenId> = {
|
|
104
|
-
container: Element | string;
|
|
105
|
-
} & MountContext<InferPortalObject<RegisteredScreenEntryPropsById[TId]>> & ScreenConfigurationProp<ScreenConfigurationById[TId]>;
|
|
106
|
-
export interface CoreConfiguration<TConfig extends SolvimonMountConfig = SolvimonMountConfig> {
|
|
107
|
-
config: TConfig;
|
|
108
|
-
createComponent: <TId extends RegisteredComponentId>(id: TId, configuration: ComponentMountConfiguration<TId>) => SolvimonMountInstance['unmount'];
|
|
109
|
-
createScreen: <TId extends RegisteredScreenId>(id: TId, configuration: ScreenMountConfiguration<TId>) => SolvimonMountInstance['unmount'];
|
|
110
|
-
}
|
|
111
|
-
export {};
|
|
1
|
+
export * from '../types/public/core/types';
|