@solvimon/solvimon-web 0.1.0-alpha.14 → 0.1.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-0_VYW5Wu.js → BillingInformation.vue_vue_type_script_setup_true_lang-BI3Lg7nO.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D8ZeVBWO.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BYBAO4Au.mjs} +2 -2
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +1 -0
- package/dist/{ContentWithAsideLayout-DhfUkZZg.mjs → ContentWithAsideLayout-Dy9xgxuF.mjs} +6 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DEqfojR8.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CTnn1gkW.mjs} +8 -23
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C_uHr21N.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CFLR4ptB.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DU6X3zxr.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-COnrD4ew.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-ryvFEQMV.mjs} +1 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-DdpPrYxi.js +1 -0
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-bAiAbtMi.mjs +27 -0
- package/dist/{PaymentHistoryBlock-DUeSRR3k.js → PaymentHistoryBlock-BGbTy4Se.js} +1 -1
- package/dist/{PaymentHistoryBlock-BTRFc4ki.mjs → PaymentHistoryBlock-BKMttUyk.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-TgZYSSQe.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CixdxEGm.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-GeyErAW6.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-tM7f_fQS.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-DX6kv0_v.mjs → PaymentIntegrationForm-CypW6fZY.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-CQntx0TH.js → PaymentIntegrationForm-D4QupHWl.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BBEM-YPz.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Dkd-Cp8c.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CrGSfZZs.mjs} +736 -162
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-B8eNptZp.mjs +145 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-eWmC5GOT.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-BUTqn4Ey.mjs +139 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-Be_fF-R_.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVoS3ZXS.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D-BFQZiM.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cqk-vonA.mjs} +24 -23
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-D-hpJL8I.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-56vu59V4.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-B7IOIy-v.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DB1p61kZ.mjs} +4 -4
- package/dist/component-Bg2JVC_O.mjs +933 -0
- package/dist/component-Bs8oszfD.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 +14 -13
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +3 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.es.js +123 -0
- 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 +11 -110
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +5 -5
- 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 +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 -0
- package/dist/{customer-Bn6GdxP8.mjs → customer-Bv_fqXzO.mjs} +1 -1
- package/dist/{customer-CGyZojAB.js → customer-_W8gIX5m.js} +1 -1
- package/dist/{en-US-G2HBHqjq.js → en-US-C0gIE4Q1.js} +1 -1
- package/dist/{en-US-BKhsdJQ2.mjs → en-US-DAgOSlgv.mjs} +19 -12
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{invoices-Rs-QBUGS.mjs → invoices-BGb0AwVF.mjs} +2 -2
- package/dist/{invoices-DDeL8tvI.js → invoices-D-OKipCg.js} +1 -1
- package/dist/{nl-NL-DvVsMfhA.js → nl-NL-Br7muSHK.js} +1 -1
- package/dist/{nl-NL-BdeAy1tY.mjs → nl-NL-DCsmrA8A.mjs} +9 -2
- package/dist/paymentMethods-DIbB759g.js +1 -0
- package/dist/{paymentMethods-DOH9-6M1.mjs → paymentMethods-DvqlWe96.mjs} +11 -3
- package/dist/{payments-DGPENXiS.mjs → payments-CpzTVrQM.mjs} +1 -1
- package/dist/{payments-C0vYbn5Q.js → payments-DMDDI3MK.js} +1 -1
- package/dist/{registry-7UKVW93Q.mjs → registry-B-If1W_u.mjs} +9 -3
- package/dist/registry-uG2isab0.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +103 -70
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +13 -13
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +45 -34
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +3 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +231 -0
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +29 -34
- package/dist/solvimon-web.css +1 -1
- package/dist/{subscriptions-BIGqt2N0.mjs → subscriptions-BPYyv09M.mjs} +2 -2
- package/dist/{subscriptions-CcpEwubd.js → subscriptions-CC61I6Nj.js} +1 -1
- package/dist/{adyen-D0yvZvq5.mjs → url-1Lbg5Yni.mjs} +35 -35
- package/dist/url-B6-3PkW2.js +1 -0
- package/dist/{useActionDispatchProvider-aqYyqIdb.js → useActionDispatchProvider-BHTknMoH.js} +1 -1
- package/dist/{useActionDispatchProvider-Ca1YbU61.mjs → useActionDispatchProvider-Dz8-e4gZ.mjs} +1 -1
- package/dist/{useCustomer-DUA8Y-2I.mjs → useCustomer-VVJi8z2w.mjs} +2 -2
- package/dist/{useCustomer-D9ZrqMFY.js → useCustomer-Z24KchWC.js} +1 -1
- package/dist/useIncrementalLoading-CuSndpP2.js +1 -0
- package/dist/{useIncrementalLoading-C1LKdVP8.mjs → useIncrementalLoading-DmOT2MXH.mjs} +4 -4
- package/dist/{useInvoiceData-HNnt3703.js → useInvoiceData-Bl87gzIS.js} +1 -1
- package/dist/{useInvoiceData-Bz4a2Mfa.mjs → useInvoiceData-Di5pLPM0.mjs} +2 -2
- package/dist/{useInvoicesList-DXBTGdcI.js → useInvoicesList-CFk-_oVK.js} +1 -1
- package/dist/{useInvoicesList-b2_fiHsc.mjs → useInvoicesList-z19cteaD.mjs} +4 -4
- package/dist/{useLoadInitialData-D0t-Lk3k.js → useLoadInitialData-CTqfiMTN.js} +1 -1
- package/dist/{useLoadInitialData-Cyp1xpuv.mjs → useLoadInitialData-CkpryfjF.mjs} +1 -1
- package/dist/{usePaymentMethodOptions-r0Opz7BC.mjs → usePaymentMethodOptions-BoGHJjng.mjs} +2 -2
- package/dist/{usePaymentMethodOptions-DgGDcVeE.js → usePaymentMethodOptions-BsCZnCQW.js} +1 -1
- package/dist/{usePaymentMethods-BHLXXaCa.js → usePaymentMethods-AC-4rrR9.js} +1 -1
- package/dist/{usePaymentMethods-C-NCtOom.mjs → usePaymentMethods-ocHmNoP7.mjs} +2 -2
- package/dist/{usePayments-DADpdoI7.js → usePayments-CgXZeWrU.js} +1 -1
- package/dist/{usePayments-BtByiIMy.mjs → usePayments-D85eB5l4.mjs} +3 -3
- package/dist/{usePortal-CpW3EDD-.mjs → usePortal-B1O1zgdV.mjs} +1 -1
- package/dist/{usePortal-DhaZBAGi.js → usePortal-DVD7PcWI.js} +1 -1
- package/dist/{useService-C0h9UlQW.js → useService-CHrkefKd.js} +1 -1
- package/dist/{useService-BcYQRxPS.mjs → useService-DF57xuDd.mjs} +1 -1
- package/dist/{useWalletBalanceItems-COzKSpmt.js → useWalletBalanceItems-BL-R5foK.js} +1 -1
- package/dist/{useWalletBalanceItems-DKz-2vUy.mjs → useWalletBalanceItems-COQDLfoZ.mjs} +3 -3
- package/dist/{vendor-ui-CdOX_IS-.mjs → vendor-ui-B8IlviSs.mjs} +6483 -5867
- package/dist/vendor-ui-C3Tq-qY_.js +1 -0
- package/package.json +5 -4
- package/dist/ContentWithAsideLayout-B5B8Kwaw.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-zdBaVj-K.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BhGQB-c9.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BuJGxitV.js +0 -1
- package/dist/adyen-BvNyYAg-.js +0 -1
- package/dist/component-By_A1VHh.js +0 -1
- package/dist/component-CGfjV_7z.mjs +0 -889
- package/dist/paymentMethods-BR9w3qy8.js +0 -1
- package/dist/registry-DrV0jFnM.js +0 -1
- package/dist/useIncrementalLoading-FNH4k4a3.js +0 -1
- package/dist/vendor-ui-1SHma7t1.js +0 -1
|
@@ -51,8 +51,8 @@ const enUS = {
|
|
|
51
51
|
"checkout.order_summary_block.billing_period.sub_label": "{amount}{period}",
|
|
52
52
|
"checkout.order_summary_block.title": "Order summary",
|
|
53
53
|
"checkout.page_title": "Pay and subscribe",
|
|
54
|
-
"checkout.pay_and_subscribe_button.label": "Pay and subscribe",
|
|
55
54
|
"checkout.pay_and_subscribe_button_trial.label": "Start trial",
|
|
55
|
+
"checkout.pay_and_subscribe_button.label": "Pay and subscribe",
|
|
56
56
|
"checkout.payment_method_block.no_country_selected_message": "Payment methods will be shown after you select the billing country.",
|
|
57
57
|
"checkout.payment_method_block.no_country_selected_title": "Select your billing country",
|
|
58
58
|
"checkout.payment_method_block.no_payment_methods_available_message": "There are no available payment methods. Please contact support for more information.",
|
|
@@ -71,32 +71,32 @@ const enUS = {
|
|
|
71
71
|
"checkout.promotion_code.remove_failed": "Promotion code could not be removed. Please try again.",
|
|
72
72
|
"checkout.promotion_code.removed_status": "Promotion code removed",
|
|
73
73
|
"checkout.subscription_description": "You will be billed <strong>{price}</strong> per {period_name}, starting today.",
|
|
74
|
-
"checkout.trial.label": "Trial",
|
|
75
74
|
"checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
|
|
75
|
+
"checkout.trial.label": "Trial",
|
|
76
76
|
"checkout.vat_number.check_button.label": "Check",
|
|
77
77
|
"checkout.vat_number.label": "VAT number",
|
|
78
78
|
"checkout.vat_number.placeholder": "VAT number...",
|
|
79
79
|
"components.payment_method_form.section_title": "Available payment methods",
|
|
80
|
-
"customer.invoice_table.pay_invoice_button.label": "Pay",
|
|
81
|
-
"customer.subscriptions_block.cancel_button_label": "Cancel subscription",
|
|
82
|
-
"customer.subscriptions_block.next_billing_date": "Next billing date",
|
|
83
|
-
"customer.subscriptions_block.renew_button_label": "Renew subscription",
|
|
84
|
-
"customer.subscriptions_block.show_details_button_label": "Subscription details",
|
|
85
|
-
"customer.subscriptions_block.upgrade_button_label": "Upgrade subscription",
|
|
86
80
|
"customer_overview.billing_information_block.load_failed.subtitle": "Please refresh or contact support.",
|
|
87
81
|
"customer_overview.billing_information_block.load_failed.title": "We can’t load your billing information",
|
|
88
82
|
"customer_overview.billing_information_block.title": "Billing information",
|
|
89
83
|
"customer_overview.billing_information_block.view_all_payment_methods_link_label": "Edit",
|
|
90
|
-
"customer_overview.payment_methods.title": "{count,plural,one{Payment method} other{Payment methods}}",
|
|
91
84
|
"customer_overview.payment_methods_block.add_payment_method_button_label": "Add payment method",
|
|
92
85
|
"customer_overview.payment_methods_block.add_payment_method_helper_text": "Add a payment method for recurring invoice payments.",
|
|
93
86
|
"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}}",
|
|
94
88
|
"customer_overview.subscriptions_block.fallback_subscription_name": "Subscription",
|
|
95
89
|
"customer_overview.subscriptions_block.no_active_subscription_content": "There’s no active subscription to display.",
|
|
96
90
|
"customer_overview.subscriptions_block.no_active_subscription_title": "No subscriptions",
|
|
97
91
|
"customer_overview.subscriptions_block.title": "{count,plural,one{My subscription} other{My subscriptions}}",
|
|
98
92
|
"customer_overview.subscriptions_block.view_all_button_label": "View all",
|
|
99
93
|
"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
100
|
"empty_state.retry.button": "Refresh",
|
|
101
101
|
empty_value_placeholder,
|
|
102
102
|
"invoice_credits.balance.table_header": "Balance",
|
|
@@ -126,16 +126,24 @@ const enUS = {
|
|
|
126
126
|
"payment_completed_card.title.authorize": "Payment successful",
|
|
127
127
|
"payment_completed_card.title.tokenize": "Your payment method is added",
|
|
128
128
|
"payment_integration_form.select_payment_method_error": "Select a payment method",
|
|
129
|
+
"payment_method.context_menu.delete.label": "Delete",
|
|
130
|
+
"payment_method.context_menu.set_as_default.label": "Set as default",
|
|
131
|
+
"payment_methods_list.delete_modal.body": "Are you sure you want to delete this payment method?",
|
|
132
|
+
"payment_methods_list.delete_modal.cancel": "Cancel",
|
|
133
|
+
"payment_methods_list.delete_modal.confirm": "Delete",
|
|
134
|
+
"payment_methods_list.delete_modal.title": "Delete payment method",
|
|
129
135
|
"payments.retry_button.label": "Try again",
|
|
130
136
|
"pricing_group_multiple_editor.at_least_one_description": "Select at least one product",
|
|
131
137
|
pricing_item_pricing,
|
|
132
138
|
"pricing_item_pricing.unsupported_pricing_error": "Unsupported pricing",
|
|
139
|
+
"screens.payment_method_management.description": "Add a new payment method or set a default payment method for your payments.",
|
|
140
|
+
"screens.payment_method_management.title": "Payment methods",
|
|
133
141
|
"sdk.invoice_details.customer_billing_information.title": "Your billing information",
|
|
134
|
-
"sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
|
|
135
|
-
"sdk.invoice_details.invoice.title": "Invoice",
|
|
136
142
|
"sdk.invoice_details.invoice_details_block.due_date": "Due date",
|
|
137
143
|
"sdk.invoice_details.invoice_details_block.invoice_date": "Invoice date",
|
|
138
144
|
"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",
|
|
139
147
|
"sdk.invoice_details.payment_history.payment_attempt": "Payment attempt",
|
|
140
148
|
"sdk.invoice_details.payment_history.title": "Payment history",
|
|
141
149
|
"seats.label": "Seats",
|
|
@@ -146,7 +154,6 @@ const enUS = {
|
|
|
146
154
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
147
155
|
"secure_payments_kpi.generic": "Secure and encrypted payments",
|
|
148
156
|
"secure_payments_kpi.specific_vendor": "Secure and encrypted payments by",
|
|
149
|
-
"subscription_payment_completed_card.continue": "Continue to merchant",
|
|
150
157
|
"subscription_payment_completed_card.thank_you_for_subscribing": "Thank you for subscribing.",
|
|
151
158
|
"subscription_payment_completed_card.title": "Payment successful",
|
|
152
159
|
"tax_check.invalid_vat_number": "VAT number is invalid.",
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-uG2isab0.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./screens/PayInvoice/PayInvoice.cjs.js"),t=require("./components/BillingInformation/BillingInformation.cjs.js"),r=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),m=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),l=require("./components/WalletBalances/WalletBalances.cjs.js"),v=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),c=require("./components/InvoicesList/InvoicesList.cjs.js"),S=require("./components/PaymentHistory/PaymentHistory.cjs.js"),a=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js");exports.createSolvimonCore=o.createSolvimonCore,exports.getRegisteredComponentIds=o.getRegisteredComponentIds,exports.getRegisteredScreenIds=o.getRegisteredScreenIds,exports.SolvimonCheckout=e.SolvimonCheckout,exports.defineSolvimonCheckout=e.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonUpgradeSubscription=n.SolvimonUpgradeSubscription,exports.defineSolvimonUpgradeSubscription=n.defineSolvimonUpgradeSubscription,exports.SolvimonPayInvoice=s.SolvimonPayInvoice,exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice,exports.SolvimonBillingInformation=t.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=t.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=r.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=r.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=m.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=m.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=l.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=l.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=v.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=v.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=c.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=c.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=S.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=S.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=a.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=a.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=d.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=d.defineSolvimonPaymentMethodForm;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c, g, a } from "./registry-
|
|
1
|
+
import { c, g, a } from "./registry-B-If1W_u.mjs";
|
|
2
2
|
import { SolvimonCheckout, defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
|
|
3
3
|
import { SolvimonCustomerOverview, defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
|
|
4
4
|
import { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component-
|
|
1
|
+
import { f as downloadFile, a as withPagination } from "./vendor-ui-B8IlviSs.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component-Bg2JVC_O.mjs";
|
|
3
3
|
function createInvoicesService() {
|
|
4
4
|
const request = createRequestService();
|
|
5
5
|
const config = useConfig();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const i=require("./vendor-ui-
|
|
1
|
+
const i=require("./vendor-ui-C3Tq-qY_.js"),e=require("./component-Bs8oszfD.js");exports.createInvoicesService=function(){const n=e.createRequestService(),t=e.useConfig();return{getInvoice:function(i){return n({url:`${t.apiUrls.transaction}/portal/invoices/${i}`})},getInvoices:function({customerId:e,pagination:r,query:a}){const o=i.withPagination({customer_id:e,...a??{}},r),c=new URL(`${t.apiUrls.transaction}/portal/invoices`);return Object.entries(o).forEach(([i,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{c.searchParams.append(`${i}[]`,`${e}`)}):c.searchParams.append(i,`${e}`))}),n({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(e){return n({url:`${t.apiUrls.transaction}/portal/invoices/${e}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(n=>{const t=new Blob([n],{type:"application/pdf"});i.downloadFile(t,`invoice-${e}.pdf`)})},getInvoicePreview:function({customer:i,pricingPlanSubscriptionId:e,startAt:r,customizations:a,pricing_plan_schedule_customizations:o}){return n({url:`${t.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{template_pricing_plan_subscription_id:e,...r&&{start_at:r},...a&&{pricing_plan_schedule_customizations:a},...o&&{pricing_plan_schedule_customizations:o},customer_details:{...i,reference:"preview"}}})},previewChargeOnDemandPricingItems:function({pricingPlanScheduleId:i,pricingItemIds:e,startAt:r}){return n({url:`${t.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`,options:{method:"POST"},data:{pricing_plan_schedule_id:i,pricing_items:e.map(i=>({pricing_item_id:i})),...r?{start_at:r}:{},preview:!0}})}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"addon_multiple_editor.add_to_subscription_button":"Toevoegen aan abonnement","addon_multiple_editor.description":"Selecteer een of meer producten","addon_multiple_editor.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","addon_single_editor.description.at_least_one":"Selecteer minimaal één product","addon_single_editor.description.at_most_one":"Selecteer maximaal één product","addon_single_editor.description.exactly_one":"Selecteer één product","billing_information_form.submit_button.label":"Wijzigingen opslaan","checkout.address.city.placeholder":"Stad...","checkout.address.line1.placeholder":"Adresregel 1...","checkout.address.line2.placeholder":"Adresregel 2...","checkout.address.portal_code.placeholder":"Postcode...","checkout.address.state.placeholder":"Provincie...","checkout.address.title":"Factuuradres","checkout.agreement.subscription":"{subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} voor {trial_period}, daarna {subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Gratis","checkout.billing_details.add_billing_details_button.label":"Meer factuurgegevens","checkout.billing_details.remove_billing_details_button.label":"Factuurgegevens verwijderen","checkout.billing_information_block.title":"Factuurgegevens","checkout.company_purchase_toggle.sub_title":"Ik koop namens een bedrijf","checkout.company_purchase_toggle.title":"Zakelijke aankoop","checkout.contact_information_block.title":"Klantgegevens","checkout.country.label":"Factuurland","checkout.customize_plan_block.title":"Plan aanpassen","checkout.email_address.label":"E-mailadres","checkout.email_address.placeholder":"E-mailadres...","checkout.express_payment_methods.divider_text":"Of","checkout.express_payment_methods.title":"Direct abonneren met","checkout.first_name.label":"Voornaam","checkout.first_name.placeholder":"Voornaam...","checkout.invoice_preview.no_country_selected_message":"Selecteer eerst een land","checkout.invoice_preview.usage_based_message":"+ Gebruik","checkout.last_name.label":"Achternaam","checkout.last_name.placeholder":"Achternaam...","checkout.legal_name.label":"Naam rechtspersoon","checkout.legal_name.placeholder":"Naam rechtspersoon...","checkout.not_available.contact_support_message":"deze pagina om het opnieuw te proberen, of neem contact op met de klantenservice.","checkout.not_available.description":"De betaalpagina is momenteel niet beschikbaar.","checkout.not_available.reload_button":"Herladen","checkout.not_available.title":"Betaalpagina niet beschikbaar","checkout.optional_suffix.label":"(optioneel)","checkout.order_summary_block.billing_period.label":"Gefactureerd per {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/kwartaal","checkout.order_summary_block.billing_period.quarterly":"Gefactureerd per kwartaal","checkout.order_summary_block.billing_period.save_badge.prefix":"Bespaar {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/jaar","checkout.order_summary_block.billing_period.sub_label":"{amount} per {period}","checkout.order_summary_block.title":"Besteloverzicht","checkout.page_title":"Betalen en abonneren","checkout.pay_and_subscribe_button_trial.label":"Proefperiode starten","checkout.pay_and_subscribe_button.label":"Betalen en abonneren","checkout.payment_method_block.no_country_selected_message":"Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.","checkout.payment_method_block.no_country_selected_title":"Selecteer je factuurland","checkout.payment_method_block.no_payment_methods_available_message":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","checkout.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","checkout.payment_method_block.title":"Betaalmethode","checkout.payment_methods.no_country_selected_message":"Selecteer een land om de beschikbare betaalmethoden te zien","checkout.promotion_code.add_label":"Promotiecode toevoegen","checkout.promotion_code.applied_label":"Promotie toegepast","checkout.promotion_code.applied_status":"Promotiecode toegepast","checkout.promotion_code.apply_aria_label":"Promotiecode toepassen","checkout.promotion_code.apply_button":"Toepassen","checkout.promotion_code.apply_failed":"Promotiecode kon niet worden toegepast. Probeer het opnieuw.","checkout.promotion_code.input_aria_label":"Promotiecode","checkout.promotion_code.placeholder":"Promotiecode","checkout.promotion_code.remove_aria_label":"Promotiecode verwijderen","checkout.promotion_code.remove_failed":"Promotiecode kon niet worden verwijderd. Probeer het opnieuw.","checkout.promotion_code.removed_status":"Promotiecode verwijderd","checkout.subscription_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.","checkout.trial_period_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.","checkout.trial.label":"Proefperiode","checkout.vat_number.check_button.label":"Controleren","checkout.vat_number.label":"BTW-nummer","checkout.vat_number.placeholder":"BTW-nummer...","components.payment_method_form.section_title":"Beschikbare betaalmethoden","customer_invoices.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_invoices.load_failed.title":"We kunnen je facturen niet laden","customer_overview.billing_information_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.billing_information_block.load_failed.title":"We kunnen je factuurgegevens niet laden","customer_overview.billing_information_block.title":"Factuurgegevens","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Bewerken","customer_overview.invoices_block.no_active_subscription_content":"Je hebt nog geen factuur ontvangen. Deze verschijnt hier zodra deze is gegenereerd.","customer_overview.invoices_block.no_invoices_title":"Geen facturen om weer te geven","customer_overview.invoices_block.title":"Facturen","customer_overview.invoices_block.view_all_invoices_link_label":"Alles weergeven","customer_overview.payment_methods_block.add_payment_method_button_label":"Betaalmethode toevoegen","customer_overview.payment_methods_block.add_payment_method_helper_text":"Voeg een betaalmethode toe voor terugkerende factuurbetalingen.","customer_overview.payment_methods_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.payment_methods_block.load_failed.title":"We kunnen je betaalmethoden niet laden","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"Alles weergeven","customer_overview.payment_methods.title":"{count,plural,one{Betaalmethode} other{Betaalmethoden}}","customer_overview.subscriptions_block.fallback_subscription_name":"Abonnement","customer_overview.subscriptions_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.subscriptions_block.load_failed.title":"We kunnen je abonnementen niet laden","customer_overview.subscriptions_block.no_active_subscription_content":"Er is geen actief abonnement om weer te geven.","customer_overview.subscriptions_block.no_active_subscription_title":"Geen abonnementen","customer_overview.subscriptions_block.title":"{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}","customer_overview.subscriptions_block.view_all_button_label":"Alles weergeven","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","customer.invoice_table.pay_invoice_button.label":"Betalen","customer.subscriptions_block.cancel_button_label":"Abonnement opzeggen","customer.subscriptions_block.upgrade_button_label":"Abonnement upgraden","customer.subscriptions_block.next_billing_date":"Volgende factuurdatum","customer.subscriptions_block.renew_button_label":"Abonnement verlengen","customer.subscriptions_block.show_details_button_label":"Abonnementsdetails","empty_state.retry.button":"Vernieuwen",empty_value_placeholder:"-","invoice_credits.balance.table_header":"Saldo","invoice_credits.credit_breakdown.table_header":"Kredietoverzicht","invoice_credits.remaining.table_header":"Resterend","invoice_credits.used.table_header":"Gebruikt","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Wordt bepaald aan de hand van de factuurgegevens","invoice_table.button.load_more":"Meer laden","invoice_table.chip.paid":"Betaald","invoice_table.header.amount":"Bedrag","invoice_table.header.date":"Datum","invoice_table.header.invoice_number":"Factuur","invoice_table.header.status":"Status","invoices_list.title":"Schema's","on_demand_pricing_list.category_fallback_title":"Items","on_demand_pricing_row.add_to_cart_button_label":"Aan winkelwagen toevoegen","on_demand_pricing_row.one_off_label":"eenmalig","on_demand_pricing_row.remove_button_label":"Verwijderen","pay_button.label.amount_and_payment_method":"Betaal {amount} met {type}","pay_button.label.amount_only":"Betaal {amount}","pay_button.label.default":"Betalen","pay_invoice.error.description":"Probeer het opnieuw of neem contact op met de klantenservice.","pay_invoice.error.title":"Er is iets misgegaan","pay_invoice.paid.title":"Bedankt voor je betaling!","pay_invoice.payment_methods.title":"Betaalmethoden","payment_completed_card.redirect_message":"Je wordt doorgestuurd...","payment_completed_card.title.authorize":"Betaling geslaagd","payment_completed_card.title.tokenize":"Je betaalmethode is toegevoegd","payment_integration_form.select_payment_method_error":"Selecteer een betaalmethode","payments.retry_button.label":"Opnieuw proberen","pricing_group_multiple_editor.at_least_one_description":"Selecteer minimaal één product",pricing_item_pricing:e,"pricing_item_pricing.flat_top_up":"Flat top-up prijs","pricing_item_pricing.none":"Niet gefactureerd","pricing_item_pricing.pass_through":"Doorberekeningsprijs","pricing_item_pricing.per_seat":"Per gebruiker","pricing_item_pricing.stair_step":"Staffelprijzen","pricing_item_pricing.tiered":"Tariefschalen","pricing_item_pricing.tiered_top_up":"Tariefschalen met top-up","pricing_item_pricing.top_tiered":"Top-tier prijs","pricing_item_pricing.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","sdk.invoice_details.customer_billing_information.title":"Jouw factuur gegevens","sdk.invoice_details.invoice_details_block.due_date":"Vervaldatum","sdk.invoice_details.invoice_details_block.invoice_date":"Factuurdatum","sdk.invoice_details.invoice_details_block.title":"Factuurgegevens","sdk.invoice_details.invoice.download_pdf":"Download de PDF voor een volledig overzicht","sdk.invoice_details.invoice.title":"Factuur","sdk.invoice_details.payment_history.payment_attempt":"Betaalpoging","sdk.invoice_details.payment_history.title":"Betaalgeschiedenis","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":"Staffelprijzen","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Veilige en versleutelde betalingen","secure_payments_kpi.specific_vendor":"Veilige en versleutelde betalingen door","subscription_payment_completed_card.continue":"Doorgaan naar verkoper","subscription_payment_completed_card.thank_you_for_subscribing":"Bedankt voor je abonnement.","subscription_payment_completed_card.title":"Betaling geslaagd","tax_check.invalid_vat_number":"BTW-nummer is ongeldig.","tax_check.valid_vat_number":"BTW-nummer is geldig.","upgrade_subscription.empty_state":"Er zijn geen eenmalige items beschikbaar voor dit abonnement.","upgrade_subscription.kpi.encrypted_payments.label":"Veilige en versleutelde betalingen","upgrade_subscription.load_error":"Items konden niet worden geladen. Probeer het later opnieuw.","upgrade_subscription.order_summary.empty_state":"Selecteer items om de prijzen te zien.","upgrade_subscription.order_summary.item_count":"{count} items","upgrade_subscription.order_summary.one_off_label":"eenmalig","upgrade_subscription.order_summary.selected_item_count":"{count} items","upgrade_subscription.order_summary.selected_items_title":"Geselecteerde items","upgrade_subscription.order_summary.subtotal_label":"Totaal exclusief belasting","upgrade_subscription.order_summary.taxes_label":"Belasting","upgrade_subscription.order_summary.title":"Besteloverzicht","upgrade_subscription.order_summary.total_label":"Vandaag te betalen","upgrade_subscription.payment_method_block.no_payment_methods_available_message":"Er zijn geen betaalmethoden beschikbaar. Neem contact op met de ondersteuning voor meer informatie.","upgrade_subscription.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","upgrade_subscription.payment_method_block.title":"Betaalmethode","upgrade_subscription.payment_picker.all_title":"Alle betaalmethoden","upgrade_subscription.payment_picker.saved_title":"Opgeslagen betaalmethoden","upgrade_subscription.preview_error":"Het totaal kon niet worden berekend. Probeer het opnieuw.","upgrade_subscription.pricing_row.add_button_label":"Aan winkelwagen toevoegen","upgrade_subscription.pricing_row.one_off_label":"eenmalig","upgrade_subscription.pricing_row.remove_button_label":"Verwijderen","upgrade_subscription.purchase_button.label":"Kopen","upgrade_subscription.purchase_error":"Er is iets misgegaan. Probeer het opnieuw.","upgrade_subscription.success.redirect":"Je wordt zo doorgestuurd","upgrade_subscription.success.subtitle":"Je aankoop is voltooid.","upgrade_subscription.success.title":"Betaling geslaagd","upgrade_subscription.title":"Abonnement upgraden","wallet_balance.credit_type_fallback_label":"Tegoed","wallet_balance.details.header":"Walletsaldo","wallet_balance.load_failed":"Walletsaldi konden niet worden geladen","wallet_balance.service_period_heading":"Serviceperiode - {startAt} - {endAt}","wallet_balance.wallet_ballance_title":"Saldo"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"addon_multiple_editor.add_to_subscription_button":"Toevoegen aan abonnement","addon_multiple_editor.description":"Selecteer een of meer producten","addon_multiple_editor.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","addon_single_editor.description.at_least_one":"Selecteer minimaal één product","addon_single_editor.description.at_most_one":"Selecteer maximaal één product","addon_single_editor.description.exactly_one":"Selecteer één product","billing_information_form.submit_button.label":"Wijzigingen opslaan","checkout.address.city.placeholder":"Stad...","checkout.address.line1.placeholder":"Adresregel 1...","checkout.address.line2.placeholder":"Adresregel 2...","checkout.address.portal_code.placeholder":"Postcode...","checkout.address.state.placeholder":"Provincie...","checkout.address.title":"Factuuradres","checkout.agreement.subscription":"{subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} voor {trial_period}, daarna {subscription_amount}/{billing_period} tot annulering, startend op {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Gratis","checkout.billing_details.add_billing_details_button.label":"Meer factuurgegevens","checkout.billing_details.remove_billing_details_button.label":"Factuurgegevens verwijderen","checkout.billing_information_block.title":"Factuurgegevens","checkout.company_purchase_toggle.sub_title":"Ik koop namens een bedrijf","checkout.company_purchase_toggle.title":"Zakelijke aankoop","checkout.contact_information_block.title":"Klantgegevens","checkout.country.label":"Factuurland","checkout.customize_plan_block.title":"Plan aanpassen","checkout.email_address.label":"E-mailadres","checkout.email_address.placeholder":"E-mailadres...","checkout.express_payment_methods.divider_text":"Of","checkout.express_payment_methods.title":"Direct abonneren met","checkout.first_name.label":"Voornaam","checkout.first_name.placeholder":"Voornaam...","checkout.invoice_preview.no_country_selected_message":"Selecteer eerst een land","checkout.invoice_preview.usage_based_message":"+ Gebruik","checkout.last_name.label":"Achternaam","checkout.last_name.placeholder":"Achternaam...","checkout.legal_name.label":"Naam rechtspersoon","checkout.legal_name.placeholder":"Naam rechtspersoon...","checkout.not_available.contact_support_message":"deze pagina om het opnieuw te proberen, of neem contact op met de klantenservice.","checkout.not_available.description":"De betaalpagina is momenteel niet beschikbaar.","checkout.not_available.reload_button":"Herladen","checkout.not_available.title":"Betaalpagina niet beschikbaar","checkout.optional_suffix.label":"(optioneel)","checkout.order_summary_block.billing_period.label":"Gefactureerd per {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/kwartaal","checkout.order_summary_block.billing_period.quarterly":"Gefactureerd per kwartaal","checkout.order_summary_block.billing_period.save_badge.prefix":"Bespaar {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/jaar","checkout.order_summary_block.billing_period.sub_label":"{amount} per {period}","checkout.order_summary_block.title":"Besteloverzicht","checkout.page_title":"Betalen en abonneren","checkout.pay_and_subscribe_button_trial.label":"Proefperiode starten","checkout.pay_and_subscribe_button.label":"Betalen en abonneren","checkout.payment_method_block.no_country_selected_message":"Betaalmethoden worden getoond zodra je het factuurland hebt geselecteerd.","checkout.payment_method_block.no_country_selected_title":"Selecteer je factuurland","checkout.payment_method_block.no_payment_methods_available_message":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","checkout.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","checkout.payment_method_block.title":"Betaalmethode","checkout.payment_methods.no_country_selected_message":"Selecteer een land om de beschikbare betaalmethoden te zien","checkout.promotion_code.add_label":"Promotiecode toevoegen","checkout.promotion_code.applied_label":"Promotie toegepast","checkout.promotion_code.applied_status":"Promotiecode toegepast","checkout.promotion_code.apply_aria_label":"Promotiecode toepassen","checkout.promotion_code.apply_button":"Toepassen","checkout.promotion_code.apply_failed":"Promotiecode kon niet worden toegepast. Probeer het opnieuw.","checkout.promotion_code.input_aria_label":"Promotiecode","checkout.promotion_code.placeholder":"Promotiecode","checkout.promotion_code.remove_aria_label":"Promotiecode verwijderen","checkout.promotion_code.remove_failed":"Promotiecode kon niet worden verwijderd. Probeer het opnieuw.","checkout.promotion_code.removed_status":"Promotiecode verwijderd","checkout.subscription_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, vanaf vandaag.","checkout.trial_period_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.","checkout.trial.label":"Proefperiode","checkout.vat_number.check_button.label":"Controleren","checkout.vat_number.label":"BTW-nummer","checkout.vat_number.placeholder":"BTW-nummer...","components.payment_method_form.section_title":"Beschikbare betaalmethoden","customer_invoices.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_invoices.load_failed.title":"We kunnen je facturen niet laden","customer_overview.billing_information_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.billing_information_block.load_failed.title":"We kunnen je factuurgegevens niet laden","customer_overview.billing_information_block.title":"Factuurgegevens","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Bewerken","customer_overview.invoices_block.no_active_subscription_content":"Je hebt nog geen factuur ontvangen. Deze verschijnt hier zodra deze is gegenereerd.","customer_overview.invoices_block.no_invoices_title":"Geen facturen om weer te geven","customer_overview.invoices_block.title":"Facturen","customer_overview.invoices_block.view_all_invoices_link_label":"Alles weergeven","customer_overview.payment_methods_block.add_payment_method_button_label":"Betaalmethode toevoegen","customer_overview.payment_methods_block.add_payment_method_helper_text":"Voeg een betaalmethode toe voor terugkerende factuurbetalingen.","customer_overview.payment_methods_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.payment_methods_block.load_failed.title":"We kunnen je betaalmethoden niet laden","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"Alles weergeven","customer_overview.payment_methods.title":"{count,plural,one{Betaalmethode} other{Betaalmethoden}}","customer_overview.subscriptions_block.fallback_subscription_name":"Abonnement","customer_overview.subscriptions_block.load_failed.subtitle":"Vernieuw de pagina of neem contact op met de ondersteuning.","customer_overview.subscriptions_block.load_failed.title":"We kunnen je abonnementen niet laden","customer_overview.subscriptions_block.no_active_subscription_content":"Er is geen actief abonnement om weer te geven.","customer_overview.subscriptions_block.no_active_subscription_title":"Geen abonnementen","customer_overview.subscriptions_block.title":"{count,plural,one{Mijn abonnement} other{Mijn abonnementen}}","customer_overview.subscriptions_block.view_all_button_label":"Alles weergeven","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","customer.invoice_table.pay_invoice_button.label":"Betalen","customer.subscriptions_block.cancel_button_label":"Abonnement opzeggen","customer.subscriptions_block.next_billing_date":"Volgende factuurdatum","customer.subscriptions_block.renew_button_label":"Abonnement verlengen","customer.subscriptions_block.show_details_button_label":"Abonnementsdetails","customer.subscriptions_block.upgrade_button_label":"Abonnement upgraden","empty_state.retry.button":"Vernieuwen",empty_value_placeholder:"-","invoice_credits.balance.table_header":"Saldo","invoice_credits.credit_breakdown.table_header":"Kredietoverzicht","invoice_credits.remaining.table_header":"Resterend","invoice_credits.used.table_header":"Gebruikt","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Wordt bepaald aan de hand van de factuurgegevens","invoice_table.button.load_more":"Meer laden","invoice_table.chip.paid":"Betaald","invoice_table.header.amount":"Bedrag","invoice_table.header.date":"Datum","invoice_table.header.invoice_number":"Factuur","invoice_table.header.status":"Status","invoices_list.title":"Schema's","on_demand_pricing_list.category_fallback_title":"Items","on_demand_pricing_row.add_to_cart_button_label":"Aan winkelwagen toevoegen","on_demand_pricing_row.one_off_label":"eenmalig","on_demand_pricing_row.remove_button_label":"Verwijderen","pay_button.label.amount_and_payment_method":"Betaal {amount} met {type}","pay_button.label.amount_only":"Betaal {amount}","pay_button.label.default":"Betalen","pay_invoice.error.description":"Probeer het opnieuw of neem contact op met de klantenservice.","pay_invoice.error.title":"Er is iets misgegaan","pay_invoice.paid.title":"Bedankt voor je betaling!","pay_invoice.payment_methods.title":"Betaalmethoden","payment_completed_card.redirect_message":"Je wordt doorgestuurd...","payment_completed_card.title.authorize":"Betaling geslaagd","payment_completed_card.title.tokenize":"Je betaalmethode is toegevoegd","payment_integration_form.select_payment_method_error":"Selecteer een betaalmethode","payment_method.context_menu.delete.label":"Verwijderen","payment_method.context_menu.set_as_default.label":"Instellen als standaard","payment_methods_list.delete_modal.body":"Weet u zeker dat u deze betaalmethode wilt verwijderen?","payment_methods_list.delete_modal.cancel":"Annuleren","payment_methods_list.delete_modal.confirm":"Verwijderen","payment_methods_list.delete_modal.title":"Betaalmethode verwijderen","payments.retry_button.label":"Opnieuw proberen","pricing_group_multiple_editor.at_least_one_description":"Selecteer minimaal één product",pricing_item_pricing:e,"pricing_item_pricing.flat_top_up":"Flat top-up prijs","pricing_item_pricing.none":"Niet gefactureerd","pricing_item_pricing.pass_through":"Doorberekeningsprijs","pricing_item_pricing.per_seat":"Per gebruiker","pricing_item_pricing.stair_step":"Staffelprijzen","pricing_item_pricing.tiered":"Tariefschalen","pricing_item_pricing.tiered_top_up":"Tariefschalen met top-up","pricing_item_pricing.top_tiered":"Top-tier prijs","pricing_item_pricing.unsupported_pricing_error":"Niet-ondersteunde prijsstelling","screens.payment_method_management.description":"Voeg een nieuwe betaalmethode toe of stel een standaard betaalmethode in voor uw betalingen.","screens.payment_method_management.title":"Betaalmethoden","sdk.invoice_details.customer_billing_information.title":"Jouw factuur gegevens","sdk.invoice_details.invoice_details_block.due_date":"Vervaldatum","sdk.invoice_details.invoice_details_block.invoice_date":"Factuurdatum","sdk.invoice_details.invoice_details_block.title":"Factuurgegevens","sdk.invoice_details.invoice.download_pdf":"Download de PDF voor een volledig overzicht","sdk.invoice_details.invoice.title":"Factuur","sdk.invoice_details.payment_history.payment_attempt":"Betaalpoging","sdk.invoice_details.payment_history.title":"Betaalgeschiedenis","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":"Staffelprijzen","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Veilige en versleutelde betalingen","secure_payments_kpi.specific_vendor":"Veilige en versleutelde betalingen door","subscription_payment_completed_card.thank_you_for_subscribing":"Bedankt voor je abonnement.","subscription_payment_completed_card.title":"Betaling geslaagd","tax_check.invalid_vat_number":"BTW-nummer is ongeldig.","tax_check.valid_vat_number":"BTW-nummer is geldig.","upgrade_subscription.empty_state":"Er zijn geen eenmalige items beschikbaar voor dit abonnement.","upgrade_subscription.kpi.encrypted_payments.label":"Veilige en versleutelde betalingen","upgrade_subscription.load_error":"Items konden niet worden geladen. Probeer het later opnieuw.","upgrade_subscription.order_summary.empty_state":"Selecteer items om de prijzen te zien.","upgrade_subscription.order_summary.item_count":"{count} items","upgrade_subscription.order_summary.one_off_label":"eenmalig","upgrade_subscription.order_summary.selected_item_count":"{count} items","upgrade_subscription.order_summary.selected_items_title":"Geselecteerde items","upgrade_subscription.order_summary.subtotal_label":"Totaal exclusief belasting","upgrade_subscription.order_summary.taxes_label":"Belasting","upgrade_subscription.order_summary.title":"Besteloverzicht","upgrade_subscription.order_summary.total_label":"Vandaag te betalen","upgrade_subscription.payment_method_block.no_payment_methods_available_message":"Er zijn geen betaalmethoden beschikbaar. Neem contact op met de ondersteuning voor meer informatie.","upgrade_subscription.payment_method_block.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","upgrade_subscription.payment_method_block.title":"Betaalmethode","upgrade_subscription.payment_picker.all_title":"Alle betaalmethoden","upgrade_subscription.payment_picker.saved_title":"Opgeslagen betaalmethoden","upgrade_subscription.preview_error":"Het totaal kon niet worden berekend. Probeer het opnieuw.","upgrade_subscription.pricing_row.add_button_label":"Aan winkelwagen toevoegen","upgrade_subscription.pricing_row.one_off_label":"eenmalig","upgrade_subscription.pricing_row.remove_button_label":"Verwijderen","upgrade_subscription.purchase_button.label":"Kopen","upgrade_subscription.purchase_error":"Er is iets misgegaan. Probeer het opnieuw.","upgrade_subscription.success.redirect":"Je wordt zo doorgestuurd","upgrade_subscription.success.subtitle":"Je aankoop is voltooid.","upgrade_subscription.success.title":"Betaling geslaagd","upgrade_subscription.title":"Abonnement upgraden","wallet_balance.credit_type_fallback_label":"Tegoed","wallet_balance.details.header":"Walletsaldo","wallet_balance.load_failed":"Walletsaldi konden niet worden geladen","wallet_balance.service_period_heading":"Serviceperiode - {startAt} - {endAt}","wallet_balance.wallet_ballance_title":"Saldo"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
|
|
@@ -103,10 +103,10 @@ const nlNL = {
|
|
|
103
103
|
"customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
|
|
104
104
|
"customer.invoice_table.pay_invoice_button.label": "Betalen",
|
|
105
105
|
"customer.subscriptions_block.cancel_button_label": "Abonnement opzeggen",
|
|
106
|
-
"customer.subscriptions_block.upgrade_button_label": "Abonnement upgraden",
|
|
107
106
|
"customer.subscriptions_block.next_billing_date": "Volgende factuurdatum",
|
|
108
107
|
"customer.subscriptions_block.renew_button_label": "Abonnement verlengen",
|
|
109
108
|
"customer.subscriptions_block.show_details_button_label": "Abonnementsdetails",
|
|
109
|
+
"customer.subscriptions_block.upgrade_button_label": "Abonnement upgraden",
|
|
110
110
|
"empty_state.retry.button": "Vernieuwen",
|
|
111
111
|
empty_value_placeholder,
|
|
112
112
|
"invoice_credits.balance.table_header": "Saldo",
|
|
@@ -136,6 +136,12 @@ const nlNL = {
|
|
|
136
136
|
"payment_completed_card.title.authorize": "Betaling geslaagd",
|
|
137
137
|
"payment_completed_card.title.tokenize": "Je betaalmethode is toegevoegd",
|
|
138
138
|
"payment_integration_form.select_payment_method_error": "Selecteer een betaalmethode",
|
|
139
|
+
"payment_method.context_menu.delete.label": "Verwijderen",
|
|
140
|
+
"payment_method.context_menu.set_as_default.label": "Instellen als standaard",
|
|
141
|
+
"payment_methods_list.delete_modal.body": "Weet u zeker dat u deze betaalmethode wilt verwijderen?",
|
|
142
|
+
"payment_methods_list.delete_modal.cancel": "Annuleren",
|
|
143
|
+
"payment_methods_list.delete_modal.confirm": "Verwijderen",
|
|
144
|
+
"payment_methods_list.delete_modal.title": "Betaalmethode verwijderen",
|
|
139
145
|
"payments.retry_button.label": "Opnieuw proberen",
|
|
140
146
|
"pricing_group_multiple_editor.at_least_one_description": "Selecteer minimaal één product",
|
|
141
147
|
pricing_item_pricing,
|
|
@@ -148,6 +154,8 @@ const nlNL = {
|
|
|
148
154
|
"pricing_item_pricing.tiered_top_up": "Tariefschalen met top-up",
|
|
149
155
|
"pricing_item_pricing.top_tiered": "Top-tier prijs",
|
|
150
156
|
"pricing_item_pricing.unsupported_pricing_error": "Niet-ondersteunde prijsstelling",
|
|
157
|
+
"screens.payment_method_management.description": "Voeg een nieuwe betaalmethode toe of stel een standaard betaalmethode in voor uw betalingen.",
|
|
158
|
+
"screens.payment_method_management.title": "Betaalmethoden",
|
|
151
159
|
"sdk.invoice_details.customer_billing_information.title": "Jouw factuur gegevens",
|
|
152
160
|
"sdk.invoice_details.invoice_details_block.due_date": "Vervaldatum",
|
|
153
161
|
"sdk.invoice_details.invoice_details_block.invoice_date": "Factuurdatum",
|
|
@@ -164,7 +172,6 @@ const nlNL = {
|
|
|
164
172
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
165
173
|
"secure_payments_kpi.generic": "Veilige en versleutelde betalingen",
|
|
166
174
|
"secure_payments_kpi.specific_vendor": "Veilige en versleutelde betalingen door",
|
|
167
|
-
"subscription_payment_completed_card.continue": "Doorgaan naar verkoper",
|
|
168
175
|
"subscription_payment_completed_card.thank_you_for_subscribing": "Bedankt voor je abonnement.",
|
|
169
176
|
"subscription_payment_completed_card.title": "Betaling geslaagd",
|
|
170
177
|
"tax_check.invalid_vat_number": "BTW-nummer is ongeldig.",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("./vendor-ui-C3Tq-qY_.js"),e=require("./component-Bs8oszfD.js");exports.createPaymentMethodsService=function(){const n=e.createRequestService(),o=e.useConfig(),r="/portal/payment-methods";return{getPaymentMethods:function({customerId:e,pagination:i,query:a}){const s=t.withPagination({customer_id:e,...a??{}},i),u=new URL(`${o.apiUrls.config}${r}`);return Object.entries(s).forEach(([t,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{u.searchParams.append(`${t}[]`,`${e}`)}):u.searchParams.append(t,`${e}`))}),n({url:u.toString(),isCollection:!0})},getPaymentMethodOptions:function({customerId:t,country:e,subscriptionId:r,amount:i}){return n({url:`${o.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...e&&{country:e},...r&&{pricing_plan_subscription_id:r},amount:i}})},tokenizePaymentMethod:function(t){return n({url:`${o.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})},setDefaultPaymentMethod:function({paymentMethodId:t}){return n({url:`${o.apiUrls.config}${r}/${t}`,options:{method:"PATCH"},data:{is_default:!0}})}}};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import { a as withPagination } from "./vendor-ui-
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component-
|
|
1
|
+
import { a as withPagination } from "./vendor-ui-B8IlviSs.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component-Bg2JVC_O.mjs";
|
|
3
3
|
function createPaymentMethodsService() {
|
|
4
4
|
const request = createRequestService();
|
|
5
5
|
const config = useConfig();
|
|
6
6
|
const BASE_URL = "/portal/payment-methods";
|
|
7
|
+
function setDefaultPaymentMethod({ paymentMethodId }) {
|
|
8
|
+
return request({
|
|
9
|
+
url: `${config.apiUrls.config}${BASE_URL}/${paymentMethodId}`,
|
|
10
|
+
options: { method: "PATCH" },
|
|
11
|
+
data: { is_default: true }
|
|
12
|
+
});
|
|
13
|
+
}
|
|
7
14
|
function getPaymentMethods({
|
|
8
15
|
customerId,
|
|
9
16
|
pagination,
|
|
@@ -58,7 +65,8 @@ function createPaymentMethodsService() {
|
|
|
58
65
|
return {
|
|
59
66
|
getPaymentMethods,
|
|
60
67
|
getPaymentMethodOptions,
|
|
61
|
-
tokenizePaymentMethod
|
|
68
|
+
tokenizePaymentMethod,
|
|
69
|
+
setDefaultPaymentMethod
|
|
62
70
|
};
|
|
63
71
|
}
|
|
64
72
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createRequestService, u as useConfig } from "./component-
|
|
1
|
+
import { c as createRequestService, u as useConfig } from "./component-Bg2JVC_O.mjs";
|
|
2
2
|
const BASE_URL = "/portal/payments";
|
|
3
3
|
const createPaymentsService = () => {
|
|
4
4
|
const request = createRequestService();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("./component-
|
|
1
|
+
const t=require("./component-Bs8oszfD.js"),e="/portal/payments";exports.createPaymentsService=()=>{const a=t.createRequestService(),n=t.useConfig();return{getPayments:function(t){return a({url:`${n.apiUrls.transaction}${e}`,query:{invoice_id:t},isCollection:!0})},getPaymentDetails:function({paymentAcceptorId:t,paymentGatewayVariant:r,adyen:i}){return a({url:`${n.apiUrls.transaction}${e}/verify-details`,options:{method:"POST"},data:{payment_acceptor_id:t,payment_gateway_variant:r,adyen:i}})},authorizePayment:function(t){return a({url:`${n.apiUrls.transaction}${e}/authorize`,options:{method:"POST"},data:t})}}};
|
|
@@ -3,7 +3,9 @@ import { defineSolvimonCustomerOverview } from "./screens/CustomerOverview/Custo
|
|
|
3
3
|
import { defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
|
|
4
4
|
import { defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
|
|
5
5
|
import { defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.es.js";
|
|
6
|
+
import { defineSolvimonPaymentMethodsManagement } from "./screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js";
|
|
6
7
|
import { defineSolvimonInvoice } from "./components/Invoice/Invoice.es.js";
|
|
8
|
+
import { defineSolvimonInvoiceHeader } from "./components/InvoiceHeader/InvoiceHeader.es.js";
|
|
7
9
|
import { defineSolvimonInvoiceDetails } from "./components/InvoiceDetails/InvoiceDetails.es.js";
|
|
8
10
|
import { defineSolvimonInvoicesList } from "./components/InvoicesList/InvoicesList.es.js";
|
|
9
11
|
import { defineSolvimonPaymentHistory } from "./components/PaymentHistory/PaymentHistory.es.js";
|
|
@@ -13,15 +15,17 @@ import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPayme
|
|
|
13
15
|
import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
|
|
14
16
|
import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
|
|
15
17
|
import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
|
|
16
|
-
import { g as getComponentName } from "./component-
|
|
18
|
+
import { g as getComponentName } from "./component-Bg2JVC_O.mjs";
|
|
17
19
|
const SCREEN_DEFINERS = {
|
|
18
20
|
"customer-overview": defineSolvimonCustomerOverview,
|
|
19
21
|
checkout: defineSolvimonCheckout,
|
|
20
22
|
"upgrade-subscription": defineSolvimonUpgradeSubscription,
|
|
21
|
-
"pay-invoice": defineSolvimonPayInvoice
|
|
23
|
+
"pay-invoice": defineSolvimonPayInvoice,
|
|
24
|
+
"payment-methods-management": defineSolvimonPaymentMethodsManagement
|
|
22
25
|
};
|
|
23
26
|
const COMPONENT_DEFINERS = {
|
|
24
27
|
invoice: defineSolvimonInvoice,
|
|
28
|
+
"invoice-header": defineSolvimonInvoiceHeader,
|
|
25
29
|
"invoice-details": defineSolvimonInvoiceDetails,
|
|
26
30
|
"invoices-list": defineSolvimonInvoicesList,
|
|
27
31
|
"payment-history": defineSolvimonPaymentHistory,
|
|
@@ -116,10 +120,12 @@ const REGISTERED_SCREEN_IDS = [
|
|
|
116
120
|
"customer-overview",
|
|
117
121
|
"checkout",
|
|
118
122
|
"upgrade-subscription",
|
|
119
|
-
"pay-invoice"
|
|
123
|
+
"pay-invoice",
|
|
124
|
+
"payment-methods-management"
|
|
120
125
|
];
|
|
121
126
|
const REGISTERED_COMPONENT_IDS = [
|
|
122
127
|
"invoice",
|
|
128
|
+
"invoice-header",
|
|
123
129
|
"invoice-details",
|
|
124
130
|
"invoices-list",
|
|
125
131
|
"payment-history",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js"),n=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),o=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),t=require("./screens/PayInvoice/PayInvoice.cjs.js"),s=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js"),r=require("./components/Invoice/Invoice.cjs.js"),c=require("./components/InvoiceHeader/InvoiceHeader.cjs.js"),m=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),a=require("./components/InvoicesList/InvoicesList.cjs.js"),u=require("./components/PaymentHistory/PaymentHistory.cjs.js"),l=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),v=require("./components/WalletBalances/WalletBalances.cjs.js"),f=require("./components/BillingInformation/BillingInformation.cjs.js"),j=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),S=require("./component-Bs8oszfD.js"),h={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"upgrade-subscription":i.defineSolvimonUpgradeSubscription,"pay-invoice":t.defineSolvimonPayInvoice,"payment-methods-management":s.defineSolvimonPaymentMethodsManagement},y={invoice:r.defineSolvimonInvoice,"invoice-header":c.defineSolvimonInvoiceHeader,"invoice-details":m.defineSolvimonInvoiceDetails,"invoices-list":a.defineSolvimonInvoicesList,"payment-history":u.defineSolvimonPaymentHistory,"subscriptions-list":l.defineSolvimonSubscriptionsList,"subscription-schedules":d.defineSolvimonSubscriptionSchedules,"customer-payment-methods":p.defineSolvimonCustomerPaymentMethods,"wallet-balances":v.defineSolvimonWalletBalances,"billing-information":f.defineSolvimonBillingInformation,"billing-information-form":j.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function g(e,n){const o="screen"===n?(i=e,Object.hasOwn(h,i)&&h[e]):function(e){return Object.hasOwn(y,e)}(e)&&y[e];var i;if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys("screen"===n?h:y).join(", ")}.`);o()}function b(e,n,o,i){const t=function(e){if("string"==typeof e){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}(e);g(n,o);const s=(r=n,S.getComponentName(r));var r;const c=document.createElement(s);return function(e,n){const o={};for(const[i,t]of Object.entries(n))void 0!==t&&(o[i]=t);Object.assign(e,o)}(c,i),t.appendChild(c),{unmount(){c.remove()}}}function I(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function q(e,n){return{...e,...n}}const P=["customer-overview","checkout","upgrade-subscription","pay-invoice","payment-methods-management"],w=["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"];exports.createSolvimonCore=function(e={}){return{config:e,createComponent(n,o){const{container:i,props:t}=I(o);return b(i,n,"component",q(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=I(o);return b(i,n,"screen",q(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...w]},exports.getRegisteredScreenIds=function(){return[...P]};
|