@solvimon/solvimon-web 0.1.0-alpha.15 → 0.1.0-alpha.17
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 +5 -5
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ugPPvTKf.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BrPsTuoW.mjs} +2 -2
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-xuCWAVgf.js → BillingInformation.vue_vue_type_script_setup_true_lang-BuQ8bzar.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BpN9nSMC.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-1Op9GjGZ.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D_PE2UbX.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CuWrBcoK.mjs} +3 -3
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js +1 -0
- package/dist/{useWalletBalanceItems-MlHgedWR.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs} +24 -56
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BbuEBiY3.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs +147 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DU6X3zxr.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-dwIv_xxf.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-ryvFEQMV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-wxP5IaGt.mjs} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-DdpPrYxi.js → InvoiceHeader.vue_vue_type_script_setup_true_lang-05NKI2A0.js} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-bAiAbtMi.mjs → InvoiceHeader.vue_vue_type_script_setup_true_lang-17v07F58.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BKMttUyk.mjs → PaymentHistoryBlock-BitwS9Re.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BGbTy4Se.js → PaymentHistoryBlock-ZtmPXXwI.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-tM7f_fQS.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3ZUDUdw.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CixdxEGm.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js} +1 -1
- package/dist/{PaymentIntegrationForm-BGxjGJGz.mjs → PaymentIntegrationForm-BK2aLPCo.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-liOVNKEG.js → PaymentIntegrationForm-BZTzCUiu.js} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-aP-gCq7V.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B_yDNGK8.mjs} +7 -7
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-GN3WAr10.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-h-JUw1DV.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CIQ0vsko.mjs} +25 -14
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js +1 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-BQIN3zuf.mjs +156 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js +1 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-j5VNsyu7.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DVeB_mqK.mjs} +5 -5
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DxndhDxR.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-OvGGejpX.js} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cqk-vonA.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D1TcP9PR.mjs} +115 -68
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs +37 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Cv6lz35J.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BDqX6OaE.mjs} +22 -119
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js +1 -0
- package/dist/component-CUJ_G2Nw.mjs +962 -0
- package/dist/component-CiKxWtdx.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +3 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +4 -4
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +7 -7
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.es.js +4 -4
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +7 -58
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +8 -6
- package/dist/core/action-request.types.d.ts +3 -3
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/core/types.d.ts +4 -2
- package/dist/{customer-B5b2tLhw.js → customer-AfRcAZ5P.js} +1 -1
- package/dist/{customer-CANPEYH9.mjs → customer-DAgdegIW.mjs} +1 -1
- package/dist/{en-US-DAgOSlgv.mjs → en-US-DSzSbgL5.mjs} +68 -36
- package/dist/en-US-QzQnGXP1.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +7 -4
- package/dist/invoices-BHgajZHq.js +1 -0
- package/dist/{invoices-DBv0qkgm.mjs → invoices-BXDgW8ch.mjs} +32 -16
- package/dist/nl-NL-C4rr-1tr.js +1 -0
- package/dist/{nl-NL-DCsmrA8A.mjs → nl-NL-Li7RW89R.mjs} +72 -40
- package/dist/{paymentMethods-u5y9B5ng.js → paymentMethods-BMcc-eTl.js} +1 -1
- package/dist/{paymentMethods-D-5FNN8W.mjs → paymentMethods-xzFD2L30.mjs} +2 -2
- package/dist/{payments-BTTtcfyI.js → payments-DMvmB5vg.js} +1 -1
- package/dist/{payments-BK8yzqJ5.mjs → payments-DV6csRej.mjs} +1 -1
- package/dist/pricing-B1uImUm4.mjs +19 -0
- package/dist/pricing-BEjY_5wb.js +1 -0
- package/dist/pricingPlanSchedule-B9HFiXy-.js +1 -0
- package/dist/pricingPlanSchedule-C_cqUyTk.mjs +144 -0
- package/dist/registry-CeMxLjwU.js +1 -0
- package/dist/{registry-CMo7X2FD.mjs → registry-CyENvS6l.mjs} +7 -4
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +414 -675
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +65 -19
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +10 -9
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +8 -8
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +3 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.es.js +542 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +3 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.es.js +725 -0
- package/dist/solvimon-web.css +1 -1
- package/dist/subscription-B4dBAY9C.mjs +89 -0
- package/dist/subscription-b0OPx8Du.js +1 -0
- package/dist/{subscriptions-DHjXDyH1.mjs → subscriptions-CrNDM9qa.mjs} +6 -2
- package/dist/{subscriptions-AMC4DirD.js → subscriptions-DC-mxa17.js} +1 -1
- package/dist/{url-1Lbg5Yni.mjs → url-BjZ1Pg0l.mjs} +1 -1
- package/dist/url-D8GJi5rF.js +1 -0
- package/dist/{useActionDispatchProvider-CizNgRwv.js → useActionDispatchProvider-bqR_FeM4.js} +1 -1
- package/dist/{useActionDispatchProvider-DmhD9mYX.mjs → useActionDispatchProvider-zB_GKeUR.mjs} +1 -1
- package/dist/{useCustomer-DCPq7eHM.mjs → useCustomer-VfeQ6rG2.mjs} +2 -2
- package/dist/{useCustomer-DYc54GVD.js → useCustomer-bO4D6e4Z.js} +1 -1
- package/dist/{useIncrementalLoading-CuSndpP2.js → useIncrementalLoading-BgWuwoMo.js} +1 -1
- package/dist/{useIncrementalLoading-DmOT2MXH.mjs → useIncrementalLoading-C59FXHzp.mjs} +1 -1
- package/dist/{useInvoiceData-BajCyf-x.js → useInvoiceData-CxxkBTGY.js} +1 -1
- package/dist/{useInvoiceData-BgtUKbHY.mjs → useInvoiceData-Dhg-hx8C.mjs} +2 -2
- package/dist/useInvoicesList-BXZ9uV9i.js +1 -0
- package/dist/{useInvoicesList-DRD5yix0.mjs → useInvoicesList-DBz7T7sM.mjs} +4 -4
- package/dist/{useLoadInitialData-IlbmC6p0.mjs → useLoadInitialData-BhpIg7OF.mjs} +1 -1
- package/dist/{useLoadInitialData-BObRB7Vo.js → useLoadInitialData-BqiAFNFi.js} +1 -1
- package/dist/{usePaymentMethodOptions-CzqsebhN.js → usePaymentMethodOptions-DszFvgKX.js} +1 -1
- package/dist/{usePaymentMethodOptions-DRkWBjv6.mjs → usePaymentMethodOptions-PcMjtMSF.mjs} +2 -2
- package/dist/{usePaymentMethods-DFkRNreh.mjs → usePaymentMethods-B5AbGWsn.mjs} +2 -2
- package/dist/{usePaymentMethods-ZPxKg5Y3.js → usePaymentMethods-Bb1Xbads.js} +1 -1
- package/dist/{usePayments-E_Jsqo98.mjs → usePayments-DgoZoBZh.mjs} +3 -3
- package/dist/{usePayments-DwiGafZj.js → usePayments-is5c66Z6.js} +1 -1
- package/dist/{usePortal-CxTS2TQh.js → usePortal-C4qWsJeq.js} +1 -1
- package/dist/{usePortal-DcOz9FEL.mjs → usePortal-DWLtNqBB.mjs} +1 -1
- package/dist/{useService-DF57xuDd.mjs → useService-BZqFkz7p.mjs} +1 -1
- package/dist/{useService-CHrkefKd.js → useService-DKm3QtT4.js} +1 -1
- package/dist/useSubscription-CEZJw6wZ.mjs +23 -0
- package/dist/useSubscription-DuUNc1_l.js +1 -0
- package/dist/useTopUpModal-DNyWrHDv.mjs +1012 -0
- package/dist/useTopUpModal-DeF-cfCK.js +1 -0
- package/dist/{vendor-ui-B8IlviSs.mjs → vendor-ui-BoGKOJ36.mjs} +8642 -7077
- package/dist/vendor-ui-BuRqLx74.js +1 -0
- package/package.json +14 -7
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BxdcIX-Z.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DfdaWRO0.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVoS3ZXS.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D6hHXndB.js +0 -1
- package/dist/component-B53Df2Rt.js +0 -1
- package/dist/component-BSnccqm1.mjs +0 -933
- package/dist/en-US-C0gIE4Q1.js +0 -1
- package/dist/invoices-BCmE_nnb.js +0 -1
- package/dist/nl-NL-Br7muSHK.js +0 -1
- package/dist/registry-Cx7p19-6.js +0 -1
- 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 -1102
- package/dist/url-B6-3PkW2.js +0 -1
- package/dist/useInvoicesList-wnvjyB_H.js +0 -1
- package/dist/useWalletBalanceItems-BQEXDCBg.js +0 -1
- package/dist/vendor-ui-C3Tq-qY_.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js"),o=require("../../Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),n=require("../../useInvoiceData-CxxkBTGY.js"),r=require("../../component-CiKxWtdx.js"),a=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup:n=>(r,a)=>n.isLoading?(e.openBlock(),e.createBlock(o._sfc_main,{key:0,variant:"section",class:"sv-payment-history sv-root sv-component sv-loading min-h-[100px]","data-testid":"payment-history-skeleton"})):n.paymentAttempts.length?(e.openBlock(),e.createBlock(t._sfc_main,{key:1,class:"sv-payment-history sv-root sv-component","payment-attempts":n.paymentAttempts,customer:n.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}),i=e.defineComponent({__name:"PaymentHistory.entry.view",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 o=t,r=n.useInvoiceData(o.configuration.invoiceId);return(t,o)=>{var n,a;return e.renderSlot(t.$slots,"default",{invoice:null==(n=e.unref(r).data.value)?void 0:n.invoice,paymentAttempts:null==(a=e.unref(r).data.value)?void 0:a.paymentAttempts.data,isLoading:e.unref(r).isPending.value})}}}),s=e.defineComponent({__name:"PaymentHistory.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){var o;if(!(null==(o=t.configuration)?void 0:o.invoiceId))throw new Error("Missing invoice id");return(o,n)=>{var s,l,c,y;return e.openBlock(),e.createBlock(e.unref(r._sfc_main),{"custom-element-name":e.unref(p),environment:t.environment,locale:t.locale,"portal-object":t.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(l=null==(s=t.branding)?void 0:s.colors)?void 0:l.primary,"secondary-color":null==(y=null==(c=t.branding)?void 0:c.colors)?void 0:y.secondary,"experimental-features":t.experimentalFeatures,"log-level":t.logLevel,"on-log":t.onLog,"css-overrides":t.cssOverrides,onError:n[0]||(n[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoice:o,paymentAttempts:n,isLoading:r})=>[o&&n?(e.openBlock(),e.createBlock(a,{key:0,"is-loading":r,customer:o.customer,"payment-attempts":n,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}}),l=r.defineCustomElement(s),p=r.getComponentName("payment-history");exports.COMPONENT_NAME=p,exports.SolvimonPaymentHistory=l,exports.defineSolvimonPaymentHistory=()=>{customElements.get(p)||customElements.define(p,l)};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, createCommentVNode, renderSlot, unref, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as _sfc_main$4 } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as _sfc_main$4 } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3ZUDUdw.mjs";
|
|
3
3
|
import { _ as _sfc_main$3 } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
4
|
-
import { u as useInvoiceData } from "../../useInvoiceData-
|
|
5
|
-
import { _ as _sfc_main$5, d as defineCustomElement, g as getComponentName } from "../../component-
|
|
4
|
+
import { u as useInvoiceData } from "../../useInvoiceData-Dhg-hx8C.mjs";
|
|
5
|
+
import { _ as _sfc_main$5, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "PaymentHistory",
|
|
8
8
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-CiKxWtdx.js"),o=require("../../vendor-ui-BuRqLx74.js"),r=require("../../useLoadInitialData-BqiAFNFi.js"),n=require("../../useCustomer-bO4D6e4Z.js"),a=require("../../usePaymentMethodOptions-DszFvgKX.js"),i=require("../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js"),s=e.defineComponent({__name:"PaymentMethodForm.entry.view",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},countryCode:{type:String}},setup(t){const i=t,s=n.useCustomer({customerId:i.portalObject.customer_id}),l=a.usePaymentMethodOptions(),{isLoading:p}=r.useLoadInitialData((async()=>{var e;const t=await s.get.execute(),r=o.getCustomerCountry(t);await l.get({customerId:t.id,country:r,amount:null==(e=i.configuration)?void 0:e.amount})})());return(t,o)=>e.renderSlot(t.$slots,"default",{customer:e.unref(s).customer.value,paymentMethodOptions:e.unref(l),isLoading:e.unref(p)})}}),l=e.defineComponent({__name:"PaymentMethodForm.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},countryCode:{type:String}},setup(o){const r=o;return(n,a)=>{var l,p,m,u;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(c),environment:o.environment,locale:o.locale,"portal-object":o.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(p=null==(l=o.branding)?void 0:l.colors)?void 0:p.primary,"secondary-color":null==(u=null==(m=o.branding)?void 0:m.colors)?void 0:u.secondary,"experimental-features":o.experimentalFeatures,"log-level":o.logLevel,"on-log":o.onLog,"css-overrides":o.cssOverrides,onError:a[0]||(a[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(s,e.normalizeProps(e.guardReactiveProps(r)),{default:e.withCtx(({customer:t,paymentMethodOptions:r,isLoading:n})=>[t?(e.openBlock(),e.createBlock(i._sfc_main,{key:0,customer:t,"payment-method-options":r.paymentMethodOptions.value,configuration:o.configuration,"is-loading":n},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}}),p=t.defineCustomElement(l),c=t.getComponentName("payment-method-form");exports.COMPONENT_NAME=c,exports.SolvimonPaymentMethodForm=p,exports.defineSolvimonPaymentMethodForm=()=>{customElements.get(c)||customElements.define(c,p)};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, createCommentVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-
|
|
3
|
-
import { g as getCustomerCountry } from "../../vendor-ui-
|
|
4
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-
|
|
5
|
-
import { u as useCustomer } from "../../useCustomer-
|
|
6
|
-
import { u as usePaymentMethodOptions } from "../../usePaymentMethodOptions-
|
|
7
|
-
import { _ as _sfc_main$3 } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
|
|
3
|
+
import { g as getCustomerCountry } from "../../vendor-ui-BoGKOJ36.mjs";
|
|
4
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-BhpIg7OF.mjs";
|
|
5
|
+
import { u as useCustomer } from "../../useCustomer-VfeQ6rG2.mjs";
|
|
6
|
+
import { u as usePaymentMethodOptions } from "../../usePaymentMethodOptions-PcMjtMSF.mjs";
|
|
7
|
+
import { _ as _sfc_main$3 } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-CIQ0vsko.mjs";
|
|
8
8
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "PaymentMethodForm.entry.view",
|
|
10
10
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-CiKxWtdx.js"),o=require("../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js"),r=require("../../useSubscription-DuUNc1_l.js"),n=require("../../useLoadInitialData-BqiAFNFi.js"),i=e.defineComponent({__name:"SubscriptionSchedules.entry.view",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 o=t,{subscription:i,withPlanData:s,get:a}=r.useSubscription({subscriptionId:o.configuration.subscriptionId}),{isLoading:l}=n.useLoadInitialData(a());return(t,o)=>e.renderSlot(t.$slots,"default",{schedulesData:e.unref(i)?e.unref(s)(e.unref(i)):void 0,isLoading:e.unref(l)})}}),s=e.defineComponent({__name:"SubscriptionSchedules.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(r){const n=r;return(s,a)=>{var c,p,u,d;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(l),environment:r.environment,locale:r.locale,"portal-object":r.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(p=null==(c=r.branding)?void 0:c.colors)?void 0:p.primary,"secondary-color":null==(d=null==(u=r.branding)?void 0:u.colors)?void 0:d.secondary,"experimental-features":r.experimentalFeatures,"log-level":r.logLevel,"on-log":r.onLog,"css-overrides":r.cssOverrides,onError:a[0]||(a[0]=e=>s.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(({schedulesData:t,isLoading:n})=>[t?(e.openBlock(),e.createBlock(o._sfc_main,{key:0,"schedules-data":t,"is-loading":n,configuration:r.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}}),a=t.defineCustomElement(s),l=t.getComponentName("subscription-schedules");exports.COMPONENT_NAME=l,exports.SolvimonSubscriptionSchedules=a,exports.defineSolvimonSubscriptionSchedules=()=>{customElements.get(l)||customElements.define(l,a)};
|
|
@@ -1,59 +1,8 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock,
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-IlbmC6p0.mjs";
|
|
7
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "SubscriptionSchedules",
|
|
9
|
-
props: {
|
|
10
|
-
schedulesData: { type: Array },
|
|
11
|
-
configuration: { type: Object },
|
|
12
|
-
isLoading: { type: Boolean }
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
const { $t } = useIntl();
|
|
16
|
-
return (_ctx, _cache) => {
|
|
17
|
-
return openBlock(), createBlock(unref(_sfc_main$3), {
|
|
18
|
-
class: "sv-subscription-schedules sv-root sv-component",
|
|
19
|
-
"no-border": "",
|
|
20
|
-
"no-spacing": "",
|
|
21
|
-
"content-background": "none",
|
|
22
|
-
title: unref($t)({
|
|
23
|
-
defaultMessage: "Schedules",
|
|
24
|
-
description: "Invoices list title",
|
|
25
|
-
id: "invoices_list.title"
|
|
26
|
-
})
|
|
27
|
-
}, {
|
|
28
|
-
default: withCtx(() => [
|
|
29
|
-
createVNode(unref(PricingPlanSchedules), {
|
|
30
|
-
class: "sv-subscription-schedules__list",
|
|
31
|
-
schedules: __props.schedulesData
|
|
32
|
-
}, null, 8, ["schedules"])
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
35
|
-
}, 8, ["title"]);
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
function useSubscription({
|
|
40
|
-
subscriptionId
|
|
41
|
-
}) {
|
|
42
|
-
const { getSubscription } = createSubscriptionsService();
|
|
43
|
-
const { data, execute: get, apiStatus, error, isPending } = useService({
|
|
44
|
-
service: () => getSubscription({ id: subscriptionId, expanded: true })
|
|
45
|
-
});
|
|
46
|
-
const withPlanData = (subscription) => {
|
|
47
|
-
return subscription.pricing_plan_schedule_infos.map((schedule) => {
|
|
48
|
-
return {
|
|
49
|
-
schedule: schedule.pricing_plan_schedule,
|
|
50
|
-
selectedPricingPlan: schedule.pricing_plan_version.pricing_plan,
|
|
51
|
-
selectedPricingPlanVersion: schedule.pricing_plan_version
|
|
52
|
-
};
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
return { subscription: data, withPlanData, apiStatus, error, get, isPending };
|
|
56
|
-
}
|
|
1
|
+
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, createCommentVNode } from "vue";
|
|
2
|
+
import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
|
|
3
|
+
import { _ as _sfc_main$3 } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs";
|
|
4
|
+
import { u as useSubscription } from "../../useSubscription-CEZJw6wZ.mjs";
|
|
5
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-BhpIg7OF.mjs";
|
|
57
6
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
58
7
|
__name: "SubscriptionSchedules.entry.view",
|
|
59
8
|
props: {
|
|
@@ -110,7 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
59
|
const props = __props;
|
|
111
60
|
return (_ctx, _cache) => {
|
|
112
61
|
var _a, _b, _c, _d;
|
|
113
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
62
|
+
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
114
63
|
"custom-element-name": unref(COMPONENT_NAME),
|
|
115
64
|
environment: __props.environment,
|
|
116
65
|
locale: __props.locale,
|
|
@@ -127,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
76
|
default: withCtx(() => [
|
|
128
77
|
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(props)), {
|
|
129
78
|
default: withCtx(({ schedulesData, isLoading }) => [
|
|
130
|
-
schedulesData ? (openBlock(), createBlock(_sfc_main$
|
|
79
|
+
schedulesData ? (openBlock(), createBlock(_sfc_main$3, {
|
|
131
80
|
key: 0,
|
|
132
81
|
"schedules-data": schedulesData,
|
|
133
82
|
"is-loading": isLoading,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js"),t=require("../../component-CiKxWtdx.js"),r=require("../../useCustomer-bO4D6e4Z.js"),n=require("../../useLoadInitialData-BqiAFNFi.js"),s=require("../../usePaymentMethods-Bb1Xbads.js"),i=e.defineComponent({__name:"SubscriptionsList.entry.view",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(i){const l=i.portalObject.customer_id,a=r.useCustomer({customerId:l}),p=o.useSubscriptionsList({customerId:l}),u=s.usePaymentMethods({customerId:l}),{isLoading:m}=n.useLoadInitialData(a.get.execute(),p.fetchInitial(),u.fetchAll());return(o,r)=>{var n,s,l,d;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(c),environment:i.environment,locale:i.locale,"portal-object":i.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(s=null==(n=i.branding)?void 0:n.colors)?void 0:s.primary,"secondary-color":null==(d=null==(l=i.branding)?void 0:l.colors)?void 0:d.secondary,"experimental-features":i.experimentalFeatures,"log-level":i.logLevel,"on-log":i.onLog,"css-overrides":i.cssOverrides,onError:r[0]||(r[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{customer:e.unref(a),subscriptions:e.unref(p).items,paymentMethods:e.unref(u).items,isLoading:e.unref(m),loadMore:e.unref(p).fetchMore})]),_:3},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}}),l=e.defineComponent({__name:"SubscriptionsList.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:r=>(n,s)=>{var l,a,p,u;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(c),environment:r.environment,locale:r.locale,"portal-object":r.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(a=null==(l=r.branding)?void 0:l.colors)?void 0:a.primary,"secondary-color":null==(u=null==(p=r.branding)?void 0:p.colors)?void 0:u.secondary,"experimental-features":r.experimentalFeatures,"log-level":r.logLevel,"on-log":r.onLog,"css-overrides":r.cssOverrides,onError:s[0]||(s[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(n.$props)),{default:e.withCtx(({customer:t,subscriptions:n,paymentMethods:s,isLoading:i,loadMore:l})=>[e.createVNode(o._sfc_main,{configuration:r.configuration,customer:t.customer.value,subscriptions:n.value,"payment-methods":s.value,"is-loading":i,onLoadMore:l},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}),a=t.defineCustomElement(l),c=t.getComponentName("subscriptions-list");exports.COMPONENT_NAME=c,exports.SolvimonSubscriptionsList=a,exports.defineSolvimonSubscriptionsList=()=>{customElements.get(c)||customElements.define(c,a)};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { u as useSubscriptionsList, _ as _sfc_main$3 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-
|
|
4
|
-
import { u as useCustomer } from "../../useCustomer-
|
|
5
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-
|
|
6
|
-
import { u as usePaymentMethods } from "../../usePaymentMethods-
|
|
2
|
+
import { u as useSubscriptionsList, _ as _sfc_main$3 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BDqX6OaE.mjs";
|
|
3
|
+
import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
|
|
4
|
+
import { u as useCustomer } from "../../useCustomer-VfeQ6rG2.mjs";
|
|
5
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-BhpIg7OF.mjs";
|
|
6
|
+
import { u as usePaymentMethods } from "../../usePaymentMethods-B5AbGWsn.mjs";
|
|
7
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "SubscriptionsList.entry.view",
|
|
9
9
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../ApiStatus-oqvUEWJx.js"),a=require("../../
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../ApiStatus-oqvUEWJx.js"),a=require("../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js"),o=require("../../useLoadInitialData-BqiAFNFi.js"),r=require("../../component-CiKxWtdx.js"),l=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array},showTopUpButton:{type:Boolean}},setup:t=>(o,r)=>(e.openBlock(),e.createBlock(a._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":t.hasError,"is-loading":t.isLoading,"wallet-balances":t.walletBalances},null,8,["has-error","is-loading","wallet-balances"]))}),n=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(t){const r=t.portalObject.customer_id,l=a.useCustomerWalletBalances({customerId:r}),{walletBalances:n}=l,{isLoading:s}=o.useLoadInitialData(l.fetch());return(t,a)=>{var o;return e.renderSlot(t.$slots,"default",{customerWalletBalances:e.unref(l),walletBalanceItems:(null==(o=e.unref(n))?void 0:o.wallet_balances)??[],isLoading:e.unref(s)})}}}),s=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup:a=>(o,s)=>{var i,c,u,y;return e.openBlock(),e.createBlock(e.unref(r._sfc_main),{"custom-element-name":e.unref(p),environment:a.environment,locale:a.locale,"portal-object":a.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(c=null==(i=a.branding)?void 0:i.colors)?void 0:c.primary,"secondary-color":null==(y=null==(u=a.branding)?void 0:u.colors)?void 0:y.secondary,"experimental-features":a.experimentalFeatures,"log-level":a.logLevel,"on-log":a.onLog,"css-overrides":a.cssOverrides,onError:s[0]||(s[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(n,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:a,walletBalanceItems:o,isLoading:r})=>[e.createVNode(l,{"has-error":a.apiStatus.value===e.unref(t.ApiStatus).Failed,"is-loading":r,"wallet-balances":o},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}),i=r.defineCustomElement(s),p=r.getComponentName("wallet-balances");exports.COMPONENT_NAME=p,exports.SolvimonWalletBalances=i,exports.defineSolvimonWalletBalances=()=>{customElements.get(p)||customElements.define(p,i)};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, renderSlot, unref, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { A as ApiStatus } from "../../ApiStatus-CyNDp_op.mjs";
|
|
3
|
-
import { _ as _sfc_main$3, u as useCustomerWalletBalances
|
|
4
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-
|
|
5
|
-
import { _ as _sfc_main$4, d as defineCustomElement, g as getComponentName } from "../../component-
|
|
3
|
+
import { _ as _sfc_main$3, u as useCustomerWalletBalances } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs";
|
|
4
|
+
import { u as useLoadInitialData } from "../../useLoadInitialData-BhpIg7OF.mjs";
|
|
5
|
+
import { _ as _sfc_main$4, d as defineCustomElement, g as getComponentName } from "../../component-CUJ_G2Nw.mjs";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "WalletBalances",
|
|
8
8
|
props: {
|
|
9
9
|
hasError: { type: Boolean },
|
|
10
10
|
isLoading: { type: Boolean },
|
|
11
|
-
walletBalances: { type: Array }
|
|
11
|
+
walletBalances: { type: Array },
|
|
12
|
+
showTopUpButton: { type: Boolean }
|
|
12
13
|
},
|
|
13
14
|
setup(__props) {
|
|
14
15
|
return (_ctx, _cache) => {
|
|
@@ -43,12 +44,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
43
44
|
const props = __props;
|
|
44
45
|
const customerId = props.portalObject.customer_id;
|
|
45
46
|
const customerWalletBalances = useCustomerWalletBalances({ customerId });
|
|
46
|
-
const
|
|
47
|
+
const { walletBalances } = customerWalletBalances;
|
|
47
48
|
const { isLoading } = useLoadInitialData(customerWalletBalances.fetch());
|
|
48
49
|
return (_ctx, _cache) => {
|
|
50
|
+
var _a;
|
|
49
51
|
return renderSlot(_ctx.$slots, "default", {
|
|
50
52
|
customerWalletBalances: unref(customerWalletBalances),
|
|
51
|
-
walletBalanceItems: unref(
|
|
53
|
+
walletBalanceItems: ((_a = unref(walletBalances)) == null ? void 0 : _a.wallet_balances) ?? [],
|
|
52
54
|
isLoading: unref(isLoading)
|
|
53
55
|
});
|
|
54
56
|
};
|
|
@@ -42,8 +42,8 @@ export interface ActionRequestDetailRenewSubscription extends ActionRequestDetai
|
|
|
42
42
|
subscriptionId: string;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
export interface
|
|
46
|
-
action: '
|
|
45
|
+
export interface ActionRequestDetailManageSubscription extends ActionRequestDetailBase {
|
|
46
|
+
action: 'manage-subscription';
|
|
47
47
|
data: {
|
|
48
48
|
subscriptionId: string;
|
|
49
49
|
};
|
|
@@ -60,7 +60,7 @@ export interface ActionRequestDetailAddPaymentMethod extends ActionRequestDetail
|
|
|
60
60
|
export interface ActionRequestDetailNavigateToCustomerOverview extends ActionRequestDetailBase {
|
|
61
61
|
action: 'navigate-to-customer-overview';
|
|
62
62
|
}
|
|
63
|
-
export type ActionRequestDetail = ActionRequestDetailViewInvoice | ActionRequestDetailPayInvoice | ActionRequestDetailViewSubscriptionDetails | ActionRequestDetailViewAllSubscriptions | ActionRequestDetailCancelSubscription | ActionRequestDetailRenewSubscription |
|
|
63
|
+
export type ActionRequestDetail = ActionRequestDetailViewInvoice | ActionRequestDetailPayInvoice | ActionRequestDetailViewSubscriptionDetails | ActionRequestDetailViewAllSubscriptions | ActionRequestDetailCancelSubscription | ActionRequestDetailRenewSubscription | ActionRequestDetailManageSubscription | ActionRequestDetailEditBillingInformation | ActionRequestDetailViewAllPaymentMethods | ActionRequestDetailAddPaymentMethod | ActionRequestDetailNavigateToCustomerOverview;
|
|
64
64
|
/**
|
|
65
65
|
* Type for the 'action-request' custom event. Use when listening for action-request on document or container.
|
|
66
66
|
*/
|
package/dist/core/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-CeMxLjwU.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
|
package/dist/core/index.es.js
CHANGED
package/dist/core/types.d.ts
CHANGED
|
@@ -15,8 +15,9 @@ import { SolvimonSubscriptionsListEntryProps } from '../components/Subscriptions
|
|
|
15
15
|
import { SolvimonWalletBalancesEntryProps } from '../components/WalletBalances/WalletBalances.entry.types';
|
|
16
16
|
import { SolvimonCheckoutEntryProps } from '../screens/Checkout/Checkout.entry.types';
|
|
17
17
|
import { SolvimonCustomerOverviewEntryProps } from '../screens/CustomerOverview/CustomerOverview.entry.types';
|
|
18
|
-
import {
|
|
18
|
+
import { SolvimonSubscriptionManagementEntryProps } from '../screens/SubscriptionManagement/SubscriptionManagement.entry.types';
|
|
19
19
|
import { SolvimonPayInvoiceEntryProps } from '../screens/PayInvoice/PayInvoice.entry.types';
|
|
20
|
+
import { SolvimonSubscriptionDetailsEntryProps } from '../screens/SubscriptionDetails/SubscriptionDetails.entry.types';
|
|
20
21
|
import { SolvimonPaymentMethodsManagementEntryProps } from '../screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types';
|
|
21
22
|
/**
|
|
22
23
|
* Shared configuration passed to all mounted Solvimon components and screens.
|
|
@@ -58,7 +59,8 @@ interface RegisteredComponentEntryPropsById {
|
|
|
58
59
|
interface RegisteredScreenEntryPropsById {
|
|
59
60
|
checkout: SolvimonCheckoutEntryProps;
|
|
60
61
|
'customer-overview': SolvimonCustomerOverviewEntryProps;
|
|
61
|
-
'
|
|
62
|
+
'subscription-management': SolvimonSubscriptionManagementEntryProps;
|
|
63
|
+
'subscription-details': SolvimonSubscriptionDetailsEntryProps;
|
|
62
64
|
'pay-invoice': SolvimonPayInvoiceEntryProps;
|
|
63
65
|
'payment-methods-management': SolvimonPaymentMethodsManagementEntryProps;
|
|
64
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("./component-
|
|
1
|
+
const t=require("./component-CiKxWtdx.js");exports.createCustomerService=function(){const e=t.createRequestService(),r=t.useConfig();return{getCustomer:function(t){return e({url:`${r.apiUrls.config}/portal/customers/${t}`})},updateCustomer:function(t,o){return e({url:`${r.apiUrls.config}/portal/customers/${t}`,options:{method:"PATCH"},data:o})},checkTaxID:function(t){return e({url:`${r.apiUrls.config}/portal/customers/validate-tax-id`,options:{method:"POST"},data:t})}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createRequestService, u as useConfig } from "./component-
|
|
1
|
+
import { c as createRequestService, u as useConfig } from "./component-CUJ_G2Nw.mjs";
|
|
2
2
|
function createCustomerService() {
|
|
3
3
|
const request = createRequestService();
|
|
4
4
|
const config = useConfig();
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
const empty_value_placeholder = "-";
|
|
2
2
|
const pricing_item_pricing = "{pricing} per {billing_period}";
|
|
3
3
|
const enUS = {
|
|
4
|
+
"add_payment_method_modal.cancel_button.label": "Cancel",
|
|
5
|
+
"add_payment_method_modal.confirm_button.label": "Save payment method",
|
|
6
|
+
"add_payment_method_modal.subtitle": "Add a new payment method to pay with.",
|
|
7
|
+
"add_payment_method_modal.title": "Add payment method",
|
|
4
8
|
"addon_multiple_editor.add_to_subscription_button": "Add to subscription",
|
|
5
9
|
"addon_multiple_editor.description": "Select any number of products",
|
|
6
10
|
"addon_multiple_editor.unsupported_pricing_error": "Unsupported pricing",
|
|
@@ -51,8 +55,8 @@ const enUS = {
|
|
|
51
55
|
"checkout.order_summary_block.billing_period.sub_label": "{amount}{period}",
|
|
52
56
|
"checkout.order_summary_block.title": "Order summary",
|
|
53
57
|
"checkout.page_title": "Pay and subscribe",
|
|
54
|
-
"checkout.pay_and_subscribe_button_trial.label": "Start trial",
|
|
55
58
|
"checkout.pay_and_subscribe_button.label": "Pay and subscribe",
|
|
59
|
+
"checkout.pay_and_subscribe_button_trial.label": "Start trial",
|
|
56
60
|
"checkout.payment_method_block.no_country_selected_message": "Payment methods will be shown after you select the billing country.",
|
|
57
61
|
"checkout.payment_method_block.no_country_selected_title": "Select your billing country",
|
|
58
62
|
"checkout.payment_method_block.no_payment_methods_available_message": "There are no available payment methods. Please contact support for more information.",
|
|
@@ -71,34 +75,35 @@ const enUS = {
|
|
|
71
75
|
"checkout.promotion_code.remove_failed": "Promotion code could not be removed. Please try again.",
|
|
72
76
|
"checkout.promotion_code.removed_status": "Promotion code removed",
|
|
73
77
|
"checkout.subscription_description": "You will be billed <strong>{price}</strong> per {period_name}, starting today.",
|
|
74
|
-
"checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
|
|
75
78
|
"checkout.trial.label": "Trial",
|
|
79
|
+
"checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
|
|
76
80
|
"checkout.vat_number.check_button.label": "Check",
|
|
77
81
|
"checkout.vat_number.label": "VAT number",
|
|
78
82
|
"checkout.vat_number.placeholder": "VAT number...",
|
|
79
83
|
"components.payment_method_form.section_title": "Available payment methods",
|
|
84
|
+
"components.payment_method_form.submit_button.label": "Save payment method",
|
|
85
|
+
"customer.invoice_table.pay_invoice_button.label": "Pay",
|
|
86
|
+
"customer.subscriptions_block.next_billing_date": "Next billing date",
|
|
87
|
+
"customer.subscriptions_block.show_details_button_label": "Subscription details",
|
|
80
88
|
"customer_overview.billing_information_block.load_failed.subtitle": "Please refresh or contact support.",
|
|
81
89
|
"customer_overview.billing_information_block.load_failed.title": "We can’t load your billing information",
|
|
82
90
|
"customer_overview.billing_information_block.title": "Billing information",
|
|
83
91
|
"customer_overview.billing_information_block.view_all_payment_methods_link_label": "Edit",
|
|
92
|
+
"customer_overview.payment_methods.title": "{count,plural,one{Payment method} other{Payment methods}}",
|
|
84
93
|
"customer_overview.payment_methods_block.add_payment_method_button_label": "Add payment method",
|
|
85
94
|
"customer_overview.payment_methods_block.add_payment_method_helper_text": "Add a payment method for recurring invoice payments.",
|
|
86
95
|
"customer_overview.payment_methods_block.view_all_payment_methods_link_label": "View all",
|
|
87
|
-
"customer_overview.payment_methods.title": "{count,plural,one{Payment method} other{Payment methods}}",
|
|
88
96
|
"customer_overview.subscriptions_block.fallback_subscription_name": "Subscription",
|
|
89
97
|
"customer_overview.subscriptions_block.no_active_subscription_content": "There’s no active subscription to display.",
|
|
90
98
|
"customer_overview.subscriptions_block.no_active_subscription_title": "No subscriptions",
|
|
91
99
|
"customer_overview.subscriptions_block.title": "{count,plural,one{My subscription} other{My subscriptions}}",
|
|
92
100
|
"customer_overview.subscriptions_block.view_all_button_label": "View all",
|
|
93
101
|
"customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
|
|
94
|
-
"customer.invoice_table.pay_invoice_button.label": "Pay",
|
|
95
|
-
"customer.subscriptions_block.cancel_button_label": "Cancel subscription",
|
|
96
|
-
"customer.subscriptions_block.next_billing_date": "Next billing date",
|
|
97
|
-
"customer.subscriptions_block.renew_button_label": "Renew subscription",
|
|
98
|
-
"customer.subscriptions_block.show_details_button_label": "Subscription details",
|
|
99
|
-
"customer.subscriptions_block.upgrade_button_label": "Upgrade subscription",
|
|
100
102
|
"empty_state.retry.button": "Refresh",
|
|
101
103
|
empty_value_placeholder,
|
|
104
|
+
"enabled_pricings_list.item.price": "{amount} per {period}",
|
|
105
|
+
"enabled_pricings_list.item.upgrade_button.label": "Upgrade",
|
|
106
|
+
"enabled_pricings_list.title": "Upgrades",
|
|
102
107
|
"invoice_credits.balance.table_header": "Balance",
|
|
103
108
|
"invoice_credits.credit_breakdown.table_header": "Credit breakdown",
|
|
104
109
|
"invoice_credits.remaining.table_header": "Remaining",
|
|
@@ -128,6 +133,8 @@ const enUS = {
|
|
|
128
133
|
"payment_integration_form.select_payment_method_error": "Select a payment method",
|
|
129
134
|
"payment_method.context_menu.delete.label": "Delete",
|
|
130
135
|
"payment_method.context_menu.set_as_default.label": "Set as default",
|
|
136
|
+
"payment_method_selector.add_payment_method": "Add payment method",
|
|
137
|
+
"payment_method_selector.no_payment_methods_available": "There are no available payment methods. Please contact support for more information.",
|
|
131
138
|
"payment_methods_list.delete_modal.body": "Are you sure you want to delete this payment method?",
|
|
132
139
|
"payment_methods_list.delete_modal.cancel": "Cancel",
|
|
133
140
|
"payment_methods_list.delete_modal.confirm": "Delete",
|
|
@@ -139,11 +146,11 @@ const enUS = {
|
|
|
139
146
|
"screens.payment_method_management.description": "Add a new payment method or set a default payment method for your payments.",
|
|
140
147
|
"screens.payment_method_management.title": "Payment methods",
|
|
141
148
|
"sdk.invoice_details.customer_billing_information.title": "Your billing information",
|
|
149
|
+
"sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
|
|
150
|
+
"sdk.invoice_details.invoice.title": "Invoice",
|
|
142
151
|
"sdk.invoice_details.invoice_details_block.due_date": "Due date",
|
|
143
152
|
"sdk.invoice_details.invoice_details_block.invoice_date": "Invoice date",
|
|
144
153
|
"sdk.invoice_details.invoice_details_block.title": "Invoice details",
|
|
145
|
-
"sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
|
|
146
|
-
"sdk.invoice_details.invoice.title": "Invoice",
|
|
147
154
|
"sdk.invoice_details.payment_history.payment_attempt": "Payment attempt",
|
|
148
155
|
"sdk.invoice_details.payment_history.title": "Payment history",
|
|
149
156
|
"seats.label": "Seats",
|
|
@@ -154,38 +161,63 @@ const enUS = {
|
|
|
154
161
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
155
162
|
"secure_payments_kpi.generic": "Secure and encrypted payments",
|
|
156
163
|
"secure_payments_kpi.specific_vendor": "Secure and encrypted payments by",
|
|
164
|
+
"subscription_details.cancel_button.label": "Cancel subscription",
|
|
165
|
+
"subscription_details.empty_state.message": "This subscription is no longer available.",
|
|
166
|
+
"subscription_details.empty_state.title": "Subscription not found",
|
|
167
|
+
"subscription_details.load_error": "Unable to load this subscription. Please try again later.",
|
|
168
|
+
"subscription_details.renew_button.label": "Renew subscription",
|
|
169
|
+
"subscription_details.title": "Subscription details",
|
|
170
|
+
"subscription_management.done_button.label": "Done",
|
|
171
|
+
"subscription_management.order_summary.empty_state": "Select your items",
|
|
172
|
+
"subscription_management.order_summary.item_count": "{count} items",
|
|
173
|
+
"subscription_management.order_summary.one_off_label": "one-off",
|
|
174
|
+
"subscription_management.order_summary.selected_item_count": "{count} items",
|
|
175
|
+
"subscription_management.order_summary.selected_items_title": "Selected items",
|
|
176
|
+
"subscription_management.order_summary.title": "Order summary",
|
|
177
|
+
"subscription_management.payment_method_selector.label": "Payment method",
|
|
178
|
+
"subscription_management.payment_picker.all_title": "All payment methods",
|
|
179
|
+
"subscription_management.payment_picker.saved_title": "Saved payment methods",
|
|
180
|
+
"subscription_management.pricing_row.add_button_label": "Add to cart",
|
|
181
|
+
"subscription_management.pricing_row.one_off_label": "one-off",
|
|
182
|
+
"subscription_management.pricing_row.remove_button_label": "Remove",
|
|
183
|
+
"subscription_management.success.message": "Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
184
|
+
"subscription_management.success.message_generic": "Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.",
|
|
185
|
+
"subscription_management.success.title": "Subscription updated",
|
|
186
|
+
"subscription_management.summary.empty_state": "Select your plan to see what it costs.",
|
|
187
|
+
"subscription_management.summary.error": "Unable to calculate the total. Please try again.",
|
|
188
|
+
"subscription_management.summary.title": "Order summary",
|
|
189
|
+
"subscription_management.summary.total_due_heading": "Total due",
|
|
190
|
+
"subscription_management.title": "Manage {subject}",
|
|
191
|
+
"subscription_management.title.default_subject": "subscription",
|
|
192
|
+
"subscription_management.update_button.label": "Update subscription",
|
|
193
|
+
"subscription_management.update_error": "Something went wrong. Please try again.",
|
|
157
194
|
"subscription_payment_completed_card.thank_you_for_subscribing": "Thank you for subscribing.",
|
|
158
195
|
"subscription_payment_completed_card.title": "Payment successful",
|
|
159
196
|
"tax_check.invalid_vat_number": "VAT number is invalid.",
|
|
160
197
|
"tax_check.valid_vat_number": "VAT number is valid.",
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"upgrade_subscription.success.redirect": "You will be redirected shortly…",
|
|
181
|
-
"upgrade_subscription.success.subtitle": "Your purchase has been completed.",
|
|
182
|
-
"upgrade_subscription.success.title": "Payment successful",
|
|
183
|
-
"upgrade_subscription.title": "Upgrade subscription",
|
|
198
|
+
"topup_modal.add_payment_method.subtitle": "Add a new payment method for topping up your balance.",
|
|
199
|
+
"topup_modal.add_payment_method.title": "Add payment method",
|
|
200
|
+
"topup_modal.back_button.label": "Back",
|
|
201
|
+
"topup_modal.cancel_button.label": "Cancel",
|
|
202
|
+
"topup_modal.confirm_button.empty.label": "Top up balance",
|
|
203
|
+
"topup_modal.confirm_button.label": "Top up balance with {value}",
|
|
204
|
+
"topup_modal.done_button.label": "Done",
|
|
205
|
+
"topup_modal.flexible_option.bounds": "Between {minimum} and {maximum}",
|
|
206
|
+
"topup_modal.flexible_option.label": "Choose your own amount",
|
|
207
|
+
"topup_modal.payment_method_selector.label": "Payment method",
|
|
208
|
+
"topup_modal.pricing_items.label": "Top up amount",
|
|
209
|
+
"topup_modal.save_payment_method.label": "Save payment method",
|
|
210
|
+
"topup_modal.subtitle": "Your current balance is {balance}.",
|
|
211
|
+
"topup_modal.success.added": "Your balance was topped up with {value}. Please be aware that it can take some time to reflect this change in your wallet.",
|
|
212
|
+
"topup_modal.success.modal_subtitle": "Your payment went through.",
|
|
213
|
+
"topup_modal.success.modal_title": "Top-up complete",
|
|
214
|
+
"topup_modal.success.receipt.heading": "Receipt",
|
|
215
|
+
"topup_modal.success.title": "Top-up successful",
|
|
216
|
+
"topup_modal.title": "Top up balance",
|
|
184
217
|
"wallet_balance.credit_type_fallback_label": "Credits",
|
|
185
218
|
"wallet_balance.details.header": "Wallet balance",
|
|
186
219
|
"wallet_balance.load_failed": "Could not load wallet balances",
|
|
187
|
-
"wallet_balance.service_period_heading": "Service period - {startAt} - {endAt}"
|
|
188
|
-
"wallet_balance.wallet_ballance_title": "Balance"
|
|
220
|
+
"wallet_balance.service_period_heading": "Service period - {startAt} - {endAt}"
|
|
189
221
|
};
|
|
190
222
|
export {
|
|
191
223
|
enUS as default,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"add_payment_method_modal.cancel_button.label":"Cancel","add_payment_method_modal.confirm_button.label":"Save payment method","add_payment_method_modal.subtitle":"Add a new payment method to pay with.","add_payment_method_modal.title":"Add payment method","addon_multiple_editor.add_to_subscription_button":"Add to subscription","addon_multiple_editor.description":"Select any number of products","addon_multiple_editor.unsupported_pricing_error":"Unsupported pricing","addon_single_editor.description.at_least_one":"Select at least one product","addon_single_editor.description.at_most_one":"Select up to one product","addon_single_editor.description.exactly_one":"Select one product","billing_information_form.submit_button.label":"Save changes","checkout.address.city.placeholder":"City...","checkout.address.line1.placeholder":"Address line 1...","checkout.address.line2.placeholder":"Address line 2...","checkout.address.portal_code.placeholder":"Postal code...","checkout.address.state.placeholder":"State...","checkout.address.title":"Billing address","checkout.agreement.subscription":"{subscription_amount}/{billing_period} until canceled, starting {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} for {trial_period}, then {subscription_amount}/{billing_period} until canceled, starting {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Free","checkout.billing_details.add_billing_details_button.label":"More billing details","checkout.billing_details.remove_billing_details_button.label":"Remove billing details","checkout.billing_information_block.title":"Billing details","checkout.company_purchase_toggle.sub_title":"I am purchasing on behalf of a company","checkout.company_purchase_toggle.title":"Company purchase","checkout.contact_information_block.title":"Customer information","checkout.country.label":"Billing country","checkout.customize_plan_block.title":"Customize plan","checkout.email_address.label":"Email address","checkout.email_address.placeholder":"Email address...","checkout.express_payment_methods.divider_text":"Or","checkout.express_payment_methods.title":"Subscribe instantly with","checkout.first_name.label":"First name","checkout.first_name.placeholder":"First name...","checkout.invoice_preview.no_country_selected_message":"Please select a country first","checkout.invoice_preview.usage_based_message":"+ Usage","checkout.last_name.label":"Last name","checkout.last_name.placeholder":"Last name...","checkout.legal_name.label":"Legal entity name","checkout.legal_name.placeholder":"Legal entity name...","checkout.not_available.contact_support_message":"this page to try again, or contact customer support.","checkout.not_available.description":"The checkout is currently not available.","checkout.not_available.reload_button":"Reload","checkout.not_available.title":"Checkout not available","checkout.optional_suffix.label":"(optional)","checkout.order_summary_block.billing_period.label":"Billed {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/quarter","checkout.order_summary_block.billing_period.quarterly":"Billed quarterly","checkout.order_summary_block.billing_period.save_badge.prefix":"Save {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/year","checkout.order_summary_block.billing_period.sub_label":"{amount}{period}","checkout.order_summary_block.title":"Order summary","checkout.page_title":"Pay and subscribe","checkout.pay_and_subscribe_button.label":"Pay and subscribe","checkout.pay_and_subscribe_button_trial.label":"Start trial","checkout.payment_method_block.no_country_selected_message":"Payment methods will be shown after you select the billing country.","checkout.payment_method_block.no_country_selected_title":"Select your billing country","checkout.payment_method_block.no_payment_methods_available_message":"There are no available payment methods. Please contact support for more information.","checkout.payment_method_block.no_payment_methods_available_title":"No payment methods available","checkout.payment_method_block.title":"Payment method","checkout.payment_methods.no_country_selected_message":"Select a country to see the available payment methods","checkout.promotion_code.add_label":"Add promotion code","checkout.promotion_code.applied_label":"Promotion applied","checkout.promotion_code.applied_status":"Promotion code applied","checkout.promotion_code.apply_aria_label":"Apply promotion code","checkout.promotion_code.apply_button":"Apply","checkout.promotion_code.apply_failed":"Promotion code could not be applied. Please try again.","checkout.promotion_code.input_aria_label":"Promotion code","checkout.promotion_code.placeholder":"Promotion code","checkout.promotion_code.remove_aria_label":"Remove promotion code","checkout.promotion_code.remove_failed":"Promotion code could not be removed. Please try again.","checkout.promotion_code.removed_status":"Promotion code removed","checkout.subscription_description":"You will be billed <strong>{price}</strong> per {period_name}, starting today.","checkout.trial.label":"Trial","checkout.trial_period_description":"You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.","checkout.vat_number.check_button.label":"Check","checkout.vat_number.label":"VAT number","checkout.vat_number.placeholder":"VAT number...","components.payment_method_form.section_title":"Available payment methods","components.payment_method_form.submit_button.label":"Save payment method","customer.invoice_table.pay_invoice_button.label":"Pay","customer.subscriptions_block.next_billing_date":"Next billing date","customer.subscriptions_block.show_details_button_label":"Subscription details","customer_overview.billing_information_block.load_failed.subtitle":"Please refresh or contact support.","customer_overview.billing_information_block.load_failed.title":"We can’t load your billing information","customer_overview.billing_information_block.title":"Billing information","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Edit","customer_overview.payment_methods.title":"{count,plural,one{Payment method} other{Payment methods}}","customer_overview.payment_methods_block.add_payment_method_button_label":"Add payment method","customer_overview.payment_methods_block.add_payment_method_helper_text":"Add a payment method for recurring invoice payments.","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"View all","customer_overview.subscriptions_block.fallback_subscription_name":"Subscription","customer_overview.subscriptions_block.no_active_subscription_content":"There’s no active subscription to display.","customer_overview.subscriptions_block.no_active_subscription_title":"No subscriptions","customer_overview.subscriptions_block.title":"{count,plural,one{My subscription} other{My subscriptions}}","customer_overview.subscriptions_block.view_all_button_label":"View all","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","empty_state.retry.button":"Refresh",empty_value_placeholder:"-","enabled_pricings_list.item.price":"{amount} per {period}","enabled_pricings_list.item.upgrade_button.label":"Upgrade","enabled_pricings_list.title":"Upgrades","invoice_credits.balance.table_header":"Balance","invoice_credits.credit_breakdown.table_header":"Credit breakdown","invoice_credits.remaining.table_header":"Remaining","invoice_credits.used.table_header":"Used","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_table.button.load_more":"Load more","invoice_table.chip.paid":"Paid","invoice_table.header.amount":"Amount","invoice_table.header.date":"Date","invoice_table.header.invoice_number":"Invoice","invoice_table.header.status":"Status","invoices_list.title":"Schedules","on_demand_pricing_list.category_fallback_title":"Items","on_demand_pricing_row.add_to_cart_button_label":"Add to cart","on_demand_pricing_row.one_off_label":"one-off","on_demand_pricing_row.remove_button_label":"Remove","pay_button.label.amount_and_payment_method":"Pay {amount} with {type}","pay_button.label.amount_only":"Pay {amount}","pay_button.label.default":"Pay","pay_invoice.error.description":"Please try again or contact support.","pay_invoice.error.title":"Something went wrong","pay_invoice.paid.title":"Thank you for your payment!","pay_invoice.payment_methods.title":"Payment methods","payment_completed_card.redirect_message":"You are being redirected...","payment_completed_card.title.authorize":"Payment successful","payment_completed_card.title.tokenize":"Your payment method is added","payment_integration_form.select_payment_method_error":"Select a payment method","payment_method.context_menu.delete.label":"Delete","payment_method.context_menu.set_as_default.label":"Set as default","payment_method_selector.add_payment_method":"Add payment method","payment_method_selector.no_payment_methods_available":"There are no available payment methods. Please contact support for more information.","payment_methods_list.delete_modal.body":"Are you sure you want to delete this payment method?","payment_methods_list.delete_modal.cancel":"Cancel","payment_methods_list.delete_modal.confirm":"Delete","payment_methods_list.delete_modal.title":"Delete payment method","payments.retry_button.label":"Try again","pricing_group_multiple_editor.at_least_one_description":"Select at least one product",pricing_item_pricing:e,"pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","screens.payment_method_management.description":"Add a new payment method or set a default payment method for your payments.","screens.payment_method_management.title":"Payment methods","sdk.invoice_details.customer_billing_information.title":"Your billing information","sdk.invoice_details.invoice.download_pdf":"Download the PDF for a full breakdown","sdk.invoice_details.invoice.title":"Invoice","sdk.invoice_details.invoice_details_block.due_date":"Due date","sdk.invoice_details.invoice_details_block.invoice_date":"Invoice date","sdk.invoice_details.invoice_details_block.title":"Invoice details","sdk.invoice_details.payment_history.payment_attempt":"Payment attempt","sdk.invoice_details.payment_history.title":"Payment history","seats.label":"Seats","seats.price_per_seat_period":"{amount} per seat/{period}","seats.tiered_price_per_seat_period":"{amount} per seat/{period}","seats.tiered_pricing_label":"Tiered pricing","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Secure and encrypted payments","secure_payments_kpi.specific_vendor":"Secure and encrypted payments by","subscription_details.cancel_button.label":"Cancel subscription","subscription_details.empty_state.message":"This subscription is no longer available.","subscription_details.empty_state.title":"Subscription not found","subscription_details.load_error":"Unable to load this subscription. Please try again later.","subscription_details.renew_button.label":"Renew subscription","subscription_details.title":"Subscription details","subscription_management.done_button.label":"Done","subscription_management.order_summary.empty_state":"Select your items","subscription_management.order_summary.item_count":"{count} items","subscription_management.order_summary.one_off_label":"one-off","subscription_management.order_summary.selected_item_count":"{count} items","subscription_management.order_summary.selected_items_title":"Selected items","subscription_management.order_summary.title":"Order summary","subscription_management.payment_method_selector.label":"Payment method","subscription_management.payment_picker.all_title":"All payment methods","subscription_management.payment_picker.saved_title":"Saved payment methods","subscription_management.pricing_row.add_button_label":"Add to cart","subscription_management.pricing_row.one_off_label":"one-off","subscription_management.pricing_row.remove_button_label":"Remove","subscription_management.success.message":"Your {subject} has been changed. Please be aware that it can take some time to reflect this change in your subscription.","subscription_management.success.message_generic":"Your subscription has been changed. Please be aware that it can take some time to reflect this change in your subscription.","subscription_management.success.title":"Subscription updated","subscription_management.summary.empty_state":"Select your plan to see what it costs.","subscription_management.summary.error":"Unable to calculate the total. Please try again.","subscription_management.summary.title":"Order summary","subscription_management.summary.total_due_heading":"Total due","subscription_management.title":"Manage {subject}","subscription_management.title.default_subject":"subscription","subscription_management.update_button.label":"Update subscription","subscription_management.update_error":"Something went wrong. Please try again.","subscription_payment_completed_card.thank_you_for_subscribing":"Thank you for subscribing.","subscription_payment_completed_card.title":"Payment successful","tax_check.invalid_vat_number":"VAT number is invalid.","tax_check.valid_vat_number":"VAT number is valid.","topup_modal.add_payment_method.subtitle":"Add a new payment method for topping up your balance.","topup_modal.add_payment_method.title":"Add payment method","topup_modal.back_button.label":"Back","topup_modal.cancel_button.label":"Cancel","topup_modal.confirm_button.empty.label":"Top up balance","topup_modal.confirm_button.label":"Top up balance with {value}","topup_modal.done_button.label":"Done","topup_modal.flexible_option.bounds":"Between {minimum} and {maximum}","topup_modal.flexible_option.label":"Choose your own amount","topup_modal.payment_method_selector.label":"Payment method","topup_modal.pricing_items.label":"Top up amount","topup_modal.save_payment_method.label":"Save payment method","topup_modal.subtitle":"Your current balance is {balance}.","topup_modal.success.added":"Your balance was topped up with {value}. Please be aware that it can take some time to reflect this change in your wallet.","topup_modal.success.modal_subtitle":"Your payment went through.","topup_modal.success.modal_title":"Top-up complete","topup_modal.success.receipt.heading":"Receipt","topup_modal.success.title":"Top-up successful","topup_modal.title":"Top up balance","wallet_balance.credit_type_fallback_label":"Credits","wallet_balance.details.header":"Wallet balance","wallet_balance.load_failed":"Could not load wallet balances","wallet_balance.service_period_heading":"Service period - {startAt} - {endAt}"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./registry-CeMxLjwU.js"),o=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/SubscriptionManagement/SubscriptionManagement.cjs.js"),s=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs.js"),t=require("./screens/PayInvoice/PayInvoice.cjs.js"),r=require("./components/BillingInformation/BillingInformation.cjs.js"),m=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),c=require("./components/WalletBalances/WalletBalances.cjs.js"),S=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),v=require("./components/InvoicesList/InvoicesList.cjs.js"),a=require("./components/PaymentHistory/PaymentHistory.cjs.js"),p=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),u=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds,exports.SolvimonCheckout=o.SolvimonCheckout,exports.defineSolvimonCheckout=o.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonSubscriptionManagement=n.SolvimonSubscriptionManagement,exports.defineSolvimonSubscriptionManagement=n.defineSolvimonSubscriptionManagement,exports.SolvimonSubscriptionDetails=s.SolvimonSubscriptionDetails,exports.defineSolvimonSubscriptionDetails=s.defineSolvimonSubscriptionDetails,exports.SolvimonPayInvoice=t.SolvimonPayInvoice,exports.defineSolvimonPayInvoice=t.defineSolvimonPayInvoice,exports.SolvimonBillingInformation=r.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=r.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=m.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=m.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=l.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=l.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=c.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=c.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=S.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=S.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=v.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=v.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=a.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=a.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=p.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=p.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=u.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=u.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=d.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=d.defineSolvimonPaymentMethodForm;
|