@solvimon/solvimon-web 0.1.0-alpha.16 → 0.1.0-alpha.18
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 +33 -31
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-C2IRj-FB.mjs +238 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Rub9ifBk.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BYBAO4Au.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs} +2 -2
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BI3Lg7nO.js → BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CTnn1gkW.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D7gL7dZX.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Df7CsbiW.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-OUg4yv7r.mjs +2654 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-mM5udvi8.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BIpg-MSJ.mjs +53 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BM3p8Pk8.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D5eSNYH2.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-ryvFEQMV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-DdpPrYxi.js → InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-bAiAbtMi.mjs → InvoiceHeader.vue_vue_type_script_setup_true_lang-jshby9pF.mjs} +1 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CNKxTtO7.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBMgilG2.mjs +153 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CupZFJSF.mjs +52 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D6lpD1zo.js +1 -0
- package/dist/{PaymentHistoryBlock-BKMttUyk.mjs → PaymentHistoryBlock-Bxr8lUGs.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BGbTy4Se.js → PaymentHistoryBlock-COjIVYX4.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Bmgx7PSt.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-tM7f_fQS.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-D4QupHWl.js → PaymentIntegrationForm-BSauhuKv.js} +1 -1
- package/dist/{PaymentIntegrationForm-CypW6fZY.mjs → PaymentIntegrationForm-PIT8gHYN.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-5XKz3kop.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-COO2ZUhN.mjs +148 -0
- package/dist/PaymentIntegrationFormAdyen-B-Jbu2hU.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-Cjj9aK0E.mjs +729 -0
- package/dist/PaymentIntegrationFormStripe-Bnn8S1o5.js +1 -0
- package/dist/PaymentIntegrationFormStripe-arpua_ZT.mjs +545 -0
- package/dist/PaymentMethodForm-B7T5rrNz.mjs +4 -0
- package/dist/PaymentMethodForm-CLz3ZS-b.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-B8eNptZp.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs} +25 -14
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js +1 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-BUTqn4Ey.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs} +77 -31
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cqk-vonA.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs} +115 -68
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs +37 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DdjYVNku.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cu55ZvCH.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs +100 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DB1p61kZ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs} +22 -119
- package/dist/adyen-BMDZQBUG.js +1 -0
- package/dist/{url-1Lbg5Yni.mjs → adyen-Ba-mF3Jy.mjs} +31 -73
- package/dist/component--Y7Igv5i.mjs +1022 -0
- package/dist/component-DIy1hvJM.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 +4 -4
- 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 +25 -9
- package/dist/core/action-request.types.d.ts +3 -15
- 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-Bv_fqXzO.mjs → customer-DovIxTG1.mjs} +1 -1
- package/dist/{customer-_W8gIX5m.js → customer-brfznoHY.js} +1 -1
- package/dist/en-US-BvOHPudj.js +1 -0
- package/dist/{en-US-DAgOSlgv.mjs → en-US-CXDO3qhq.mjs} +121 -36
- package/dist/index-BMWWP8xj.js +1 -0
- package/dist/index-Do7kzLpg.mjs +265 -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-Cf3dSYSj.js +1 -0
- package/dist/{invoices-BGb0AwVF.mjs → invoices-Dk-z04lg.mjs} +32 -16
- package/dist/{nl-NL-DCsmrA8A.mjs → nl-NL-BgL_PuBn.mjs} +126 -40
- package/dist/nl-NL-COGUFg60.js +1 -0
- package/dist/{paymentMethods-DvqlWe96.mjs → paymentMethods-BnF1XYS1.mjs} +21 -5
- package/dist/paymentMethods-DVDC_WfL.js +1 -0
- package/dist/{payments-DMDDI3MK.js → payments-DVZFO5yb.js} +1 -1
- package/dist/{payments-CpzTVrQM.mjs → payments-TnRjtlOw.mjs} +1 -1
- package/dist/pricing-CuYndX6t.js +1 -0
- package/dist/pricing-GwLCiSzs.mjs +19 -0
- package/dist/pricingPlanSchedule-B9HFiXy-.js +1 -0
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +146 -0
- package/dist/{registry-B-If1W_u.mjs → registry-Ck0Gb6rj.mjs} +7 -4
- package/dist/registry-Cra6yoB4.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +429 -689
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +61 -39
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +30 -13
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +28 -18
- 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 +889 -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 +716 -0
- package/dist/solvimon-web.css +1 -1
- package/dist/subscription-C41lG-rH.mjs +89 -0
- package/dist/subscription-b0OPx8Du.js +1 -0
- package/dist/subscriptions-BFCKVHnP.js +1 -0
- package/dist/subscriptions-vEE4Y7qm.mjs +58 -0
- package/dist/{useActionDispatchProvider-Dz8-e4gZ.mjs → useActionDispatchProvider-BlEf-RZ5.mjs} +1 -1
- package/dist/{useActionDispatchProvider-BHTknMoH.js → useActionDispatchProvider-aJOy3kr1.js} +1 -1
- package/dist/{useCustomer-Z24KchWC.js → useCustomer-C1XTqmrQ.js} +1 -1
- package/dist/{useCustomer-VVJi8z2w.mjs → useCustomer-Cw8LXT6S.mjs} +2 -2
- package/dist/{useIncrementalLoading-DmOT2MXH.mjs → useIncrementalLoading-8WtKZ-mP.mjs} +2 -2
- package/dist/useIncrementalLoading-CkY2klIW.js +1 -0
- package/dist/{useInvoiceData-Bl87gzIS.js → useInvoiceData-BrxMo4Zt.js} +1 -1
- package/dist/{useInvoiceData-Di5pLPM0.mjs → useInvoiceData-Cy_ysMsq.mjs} +2 -2
- package/dist/{useInvoicesList-z19cteaD.mjs → useInvoicesList-DMsZn1tE.mjs} +4 -4
- package/dist/useInvoicesList-DmisMQzy.js +1 -0
- package/dist/{useLoadInitialData-CkpryfjF.mjs → useLoadInitialData-BP1v7qhd.mjs} +1 -1
- package/dist/{useLoadInitialData-CTqfiMTN.js → useLoadInitialData-_BjCD0Jc.js} +1 -1
- package/dist/{usePaymentMethodOptions-BoGHJjng.mjs → usePaymentMethodOptions-CWfGvW0U.mjs} +9 -3
- package/dist/{usePaymentMethodOptions-BsCZnCQW.js → usePaymentMethodOptions-xeSTmaVo.js} +1 -1
- package/dist/{usePaymentMethods-AC-4rrR9.js → usePaymentMethods-CAFMvSOr.js} +1 -1
- package/dist/{usePaymentMethods-ocHmNoP7.mjs → usePaymentMethods-Cyk4cjoE.mjs} +2 -2
- package/dist/{usePayments-CgXZeWrU.js → usePayments-BieVBaz-.js} +1 -1
- package/dist/{usePayments-D85eB5l4.mjs → usePayments-D88XSZfS.mjs} +10 -4
- package/dist/{usePortal-B1O1zgdV.mjs → usePortal-0NDlbFr9.mjs} +1 -1
- package/dist/{usePortal-DVD7PcWI.js → usePortal-B954nyEB.js} +1 -1
- package/dist/{useService-CHrkefKd.js → useService-BiljI7XA.js} +1 -1
- package/dist/{useService-DF57xuDd.mjs → useService-CqfJi5ST.mjs} +1 -1
- package/dist/useSubscription-9rJpFNUF.mjs +29 -0
- package/dist/useSubscription-k3limdu_.js +1 -0
- package/dist/vendor-ui-Dfh3_g4q.js +1 -0
- package/dist/{vendor-ui-B8IlviSs.mjs → vendor-ui-ItGf7wJV.mjs} +8006 -6329
- package/package.json +23 -9
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C_uHr21N.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DU6X3zxr.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CixdxEGm.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BBEM-YPz.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CrGSfZZs.mjs +0 -1537
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-eWmC5GOT.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-Be_fF-R_.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-56vu59V4.js +0 -1
- package/dist/component-Bg2JVC_O.mjs +0 -933
- package/dist/component-Bs8oszfD.js +0 -1
- package/dist/en-US-C0gIE4Q1.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/invoices-D-OKipCg.js +0 -1
- package/dist/nl-NL-Br7muSHK.js +0 -1
- package/dist/paymentMethods-DIbB759g.js +0 -1
- package/dist/registry-uG2isab0.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/subscriptions-BPYyv09M.mjs +0 -75
- package/dist/subscriptions-CC61I6Nj.js +0 -1
- package/dist/url-B6-3PkW2.js +0 -1
- package/dist/useIncrementalLoading-CuSndpP2.js +0 -1
- package/dist/useInvoicesList-CFk-_oVK.js +0 -1
- package/dist/useWalletBalanceItems-BL-R5foK.js +0 -1
- package/dist/useWalletBalanceItems-COQDLfoZ.mjs +0 -109
- package/dist/vendor-ui-C3Tq-qY_.js +0 -1
|
@@ -1,12 +1,43 @@
|
|
|
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",
|
|
7
11
|
"addon_single_editor.description.at_least_one": "Select at least one product",
|
|
8
12
|
"addon_single_editor.description.at_most_one": "Select up to one product",
|
|
9
13
|
"addon_single_editor.description.exactly_one": "Select one product",
|
|
14
|
+
"auto_topup_cancellation_modal.cancel": "Cancel",
|
|
15
|
+
"auto_topup_cancellation_modal.confirm": "Yes, turn it off",
|
|
16
|
+
"auto_topup_cancellation_modal.explanation": "Your balance will no longer be topped up automatically. You can still top up whenever you want to.",
|
|
17
|
+
"auto_topup_cancellation_modal.explanation_with_amount": "Your balance will no longer be topped up with {amount} when it falls below {threshold}. You can still top up whenever you want to.",
|
|
18
|
+
"auto_topup_cancellation_modal.explanation_with_threshold": "Your balance will no longer be topped up automatically when it falls below {threshold}. You can still top up whenever you want to.",
|
|
19
|
+
"auto_topup_cancellation_modal.failed": "Could not turn off the automatic top-up. Please try again later.",
|
|
20
|
+
"auto_topup_cancellation_modal.title": "Turn off automatic top-up",
|
|
21
|
+
"auto_topup_config.amount.at_least_minimum": "Top up with at least {minimum}.",
|
|
22
|
+
"auto_topup_config.amount.label": "Top-up with",
|
|
23
|
+
"auto_topup_config.amount.positive": "Top up with more than zero.",
|
|
24
|
+
"auto_topup_config.amount.required": "Enter the amount to top up with.",
|
|
25
|
+
"auto_topup_config.amount.within_maximum": "Top up with at most {maximum}.",
|
|
26
|
+
"auto_topup_config.subtitle": "Automatically top up your balance when it runs low.",
|
|
27
|
+
"auto_topup_config.threshold.label": "When your balance falls below",
|
|
28
|
+
"auto_topup_config.threshold.not_negative": "The balance to top up at cannot be negative.",
|
|
29
|
+
"auto_topup_config.threshold.required": "Enter the balance to top up at.",
|
|
30
|
+
"auto_topup_config.title": "Auto top-up",
|
|
31
|
+
"auto_topup_modal.add_payment_method.cancel": "Back",
|
|
32
|
+
"auto_topup_modal.add_payment_method.confirm": "Add payment method",
|
|
33
|
+
"auto_topup_modal.add_payment_method.subtitle": "This method pays for every automatic top-up.",
|
|
34
|
+
"auto_topup_modal.add_payment_method.title": "Add payment method",
|
|
35
|
+
"auto_topup_modal.cancel": "Cancel",
|
|
36
|
+
"auto_topup_modal.confirm": "Save",
|
|
37
|
+
"auto_topup_modal.payment_method.label": "Pay automatic top-ups with",
|
|
38
|
+
"auto_topup_modal.payment_method.required": "Select a payment method to pay for automatic top-ups.",
|
|
39
|
+
"auto_topup_modal.subtitle": "Your current balance is {balance}. Enable auto top so you can stay productive",
|
|
40
|
+
"auto_topup_modal.title": "Automatic top-up",
|
|
10
41
|
"billing_information_form.submit_button.label": "Save changes",
|
|
11
42
|
"checkout.address.city.placeholder": "City...",
|
|
12
43
|
"checkout.address.line1.placeholder": "Address line 1...",
|
|
@@ -51,8 +82,8 @@ const enUS = {
|
|
|
51
82
|
"checkout.order_summary_block.billing_period.sub_label": "{amount}{period}",
|
|
52
83
|
"checkout.order_summary_block.title": "Order summary",
|
|
53
84
|
"checkout.page_title": "Pay and subscribe",
|
|
54
|
-
"checkout.pay_and_subscribe_button_trial.label": "Start trial",
|
|
55
85
|
"checkout.pay_and_subscribe_button.label": "Pay and subscribe",
|
|
86
|
+
"checkout.pay_and_subscribe_button_trial.label": "Start trial",
|
|
56
87
|
"checkout.payment_method_block.no_country_selected_message": "Payment methods will be shown after you select the billing country.",
|
|
57
88
|
"checkout.payment_method_block.no_country_selected_title": "Select your billing country",
|
|
58
89
|
"checkout.payment_method_block.no_payment_methods_available_message": "There are no available payment methods. Please contact support for more information.",
|
|
@@ -71,34 +102,41 @@ const enUS = {
|
|
|
71
102
|
"checkout.promotion_code.remove_failed": "Promotion code could not be removed. Please try again.",
|
|
72
103
|
"checkout.promotion_code.removed_status": "Promotion code removed",
|
|
73
104
|
"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
105
|
"checkout.trial.label": "Trial",
|
|
106
|
+
"checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
|
|
76
107
|
"checkout.vat_number.check_button.label": "Check",
|
|
77
108
|
"checkout.vat_number.label": "VAT number",
|
|
78
109
|
"checkout.vat_number.placeholder": "VAT number...",
|
|
79
110
|
"components.payment_method_form.section_title": "Available payment methods",
|
|
111
|
+
"components.payment_method_form.submit_button.label": "Save payment method",
|
|
112
|
+
"converted_amount_input.bounds.maximum": "Up to {maximum} {unit}",
|
|
113
|
+
"converted_amount_input.bounds.minimum": "At least {minimum} {unit}",
|
|
114
|
+
"converted_amount_input.bounds.range": "Between {minimum} and {maximum} {unit}",
|
|
115
|
+
"converted_amount_input.buys": "Buys about {credits}",
|
|
116
|
+
"converted_amount_input.cost": "Will cost {amount} excluding taxes",
|
|
117
|
+
"converted_amount_input.credits": "credits",
|
|
118
|
+
"customer.invoice_table.pay_invoice_button.label": "Pay",
|
|
119
|
+
"customer.subscriptions_block.next_billing_date": "Next billing date",
|
|
120
|
+
"customer.subscriptions_block.show_details_button_label": "Subscription details",
|
|
80
121
|
"customer_overview.billing_information_block.load_failed.subtitle": "Please refresh or contact support.",
|
|
81
122
|
"customer_overview.billing_information_block.load_failed.title": "We can’t load your billing information",
|
|
82
123
|
"customer_overview.billing_information_block.title": "Billing information",
|
|
83
124
|
"customer_overview.billing_information_block.view_all_payment_methods_link_label": "Edit",
|
|
125
|
+
"customer_overview.payment_methods.title": "{count,plural,one{Payment method} other{Payment methods}}",
|
|
84
126
|
"customer_overview.payment_methods_block.add_payment_method_button_label": "Add payment method",
|
|
85
127
|
"customer_overview.payment_methods_block.add_payment_method_helper_text": "Add a payment method for recurring invoice payments.",
|
|
86
128
|
"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
129
|
"customer_overview.subscriptions_block.fallback_subscription_name": "Subscription",
|
|
89
130
|
"customer_overview.subscriptions_block.no_active_subscription_content": "There’s no active subscription to display.",
|
|
90
131
|
"customer_overview.subscriptions_block.no_active_subscription_title": "No subscriptions",
|
|
91
132
|
"customer_overview.subscriptions_block.title": "{count,plural,one{My subscription} other{My subscriptions}}",
|
|
92
133
|
"customer_overview.subscriptions_block.view_all_button_label": "View all",
|
|
93
134
|
"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
135
|
"empty_state.retry.button": "Refresh",
|
|
101
136
|
empty_value_placeholder,
|
|
137
|
+
"enabled_pricings_list.item.price": "{amount} per {period}",
|
|
138
|
+
"enabled_pricings_list.item.upgrade_button.label": "Upgrade",
|
|
139
|
+
"enabled_pricings_list.title": "Upgrades",
|
|
102
140
|
"invoice_credits.balance.table_header": "Balance",
|
|
103
141
|
"invoice_credits.credit_breakdown.table_header": "Credit breakdown",
|
|
104
142
|
"invoice_credits.remaining.table_header": "Remaining",
|
|
@@ -128,9 +166,14 @@ const enUS = {
|
|
|
128
166
|
"payment_integration_form.select_payment_method_error": "Select a payment method",
|
|
129
167
|
"payment_method.context_menu.delete.label": "Delete",
|
|
130
168
|
"payment_method.context_menu.set_as_default.label": "Set as default",
|
|
169
|
+
"payment_method_selector.add_payment_method": "Add payment method",
|
|
170
|
+
"payment_method_selector.empty_state.title": "No payment methods available",
|
|
171
|
+
"payment_method_selector.no_payment_methods_available": "There are no available payment methods. Please contact support for more information.",
|
|
172
|
+
"payment_method_selector.title": "Payment method",
|
|
131
173
|
"payment_methods_list.delete_modal.body": "Are you sure you want to delete this payment method?",
|
|
132
174
|
"payment_methods_list.delete_modal.cancel": "Cancel",
|
|
133
175
|
"payment_methods_list.delete_modal.confirm": "Delete",
|
|
176
|
+
"payment_methods_list.delete_modal.error": "We could not delete this payment method. Please try again.",
|
|
134
177
|
"payment_methods_list.delete_modal.title": "Delete payment method",
|
|
135
178
|
"payments.retry_button.label": "Try again",
|
|
136
179
|
"pricing_group_multiple_editor.at_least_one_description": "Select at least one product",
|
|
@@ -139,11 +182,11 @@ const enUS = {
|
|
|
139
182
|
"screens.payment_method_management.description": "Add a new payment method or set a default payment method for your payments.",
|
|
140
183
|
"screens.payment_method_management.title": "Payment methods",
|
|
141
184
|
"sdk.invoice_details.customer_billing_information.title": "Your billing information",
|
|
185
|
+
"sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
|
|
186
|
+
"sdk.invoice_details.invoice.title": "Invoice",
|
|
142
187
|
"sdk.invoice_details.invoice_details_block.due_date": "Due date",
|
|
143
188
|
"sdk.invoice_details.invoice_details_block.invoice_date": "Invoice date",
|
|
144
189
|
"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
190
|
"sdk.invoice_details.payment_history.payment_attempt": "Payment attempt",
|
|
148
191
|
"sdk.invoice_details.payment_history.title": "Payment history",
|
|
149
192
|
"seats.label": "Seats",
|
|
@@ -154,38 +197,80 @@ const enUS = {
|
|
|
154
197
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
155
198
|
"secure_payments_kpi.generic": "Secure and encrypted payments",
|
|
156
199
|
"secure_payments_kpi.specific_vendor": "Secure and encrypted payments by",
|
|
200
|
+
"subscription_cancellation_modal.cancel.confirm_button.label": "Cancel subscription",
|
|
201
|
+
"subscription_cancellation_modal.cancel.error": "We could not cancel your subscription. Please try again.",
|
|
202
|
+
"subscription_cancellation_modal.cancel.explanation": "Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",
|
|
203
|
+
"subscription_cancellation_modal.cancel.explanation_with_date": "Your subscription will be canceled, but you’ll continue to have access until {date}.",
|
|
204
|
+
"subscription_cancellation_modal.cancel.title": "Cancel subscription",
|
|
205
|
+
"subscription_cancellation_modal.cancel_button.label": "Cancel",
|
|
206
|
+
"subscription_cancellation_modal.renew.confirm_button.label": "Renew subscription",
|
|
207
|
+
"subscription_cancellation_modal.renew.error": "We could not renew your subscription. Please try again.",
|
|
208
|
+
"subscription_cancellation_modal.renew.explanation": "Your subscription will continue as before, and billing will resume on its usual schedule.",
|
|
209
|
+
"subscription_cancellation_modal.renew.explanation_with_date": "You can renew your subscription until {date}. After this period you can only create a new subscription.",
|
|
210
|
+
"subscription_cancellation_modal.renew.title": "Renew subscription",
|
|
211
|
+
"subscription_cancellation_modal.renews_label": "Renews",
|
|
212
|
+
"subscription_details.cancel_button.label": "Cancel subscription",
|
|
213
|
+
"subscription_details.cancel_success": "Your subscription has been cancelled. You keep access until the end of the billing period.",
|
|
214
|
+
"subscription_details.empty_state.message": "This subscription is no longer available.",
|
|
215
|
+
"subscription_details.empty_state.title": "Subscription not found",
|
|
216
|
+
"subscription_details.load_error": "Unable to load this subscription. Please try again later.",
|
|
217
|
+
"subscription_details.renew_button.label": "Renew subscription",
|
|
218
|
+
"subscription_details.renew_success": "Your subscription has been renewed.",
|
|
219
|
+
"subscription_details.title": "Subscription details",
|
|
220
|
+
"subscription_management.done_button.label": "Done",
|
|
221
|
+
"subscription_management.order_summary.empty_state": "Select your items",
|
|
222
|
+
"subscription_management.order_summary.item_count": "{count} items",
|
|
223
|
+
"subscription_management.order_summary.one_off_label": "one-off",
|
|
224
|
+
"subscription_management.order_summary.selected_item_count": "{count} items",
|
|
225
|
+
"subscription_management.order_summary.selected_items_title": "Selected items",
|
|
226
|
+
"subscription_management.order_summary.title": "Order summary",
|
|
227
|
+
"subscription_management.payment_method_selector.label": "Payment method",
|
|
228
|
+
"subscription_management.payment_picker.all_title": "All payment methods",
|
|
229
|
+
"subscription_management.payment_picker.saved_title": "Saved payment methods",
|
|
230
|
+
"subscription_management.pricing_row.add_button_label": "Add to cart",
|
|
231
|
+
"subscription_management.pricing_row.one_off_label": "one-off",
|
|
232
|
+
"subscription_management.pricing_row.remove_button_label": "Remove",
|
|
233
|
+
"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.",
|
|
234
|
+
"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.",
|
|
235
|
+
"subscription_management.success.title": "Subscription updated",
|
|
236
|
+
"subscription_management.summary.empty_state": "Select your plan to see what it costs.",
|
|
237
|
+
"subscription_management.summary.error": "Unable to calculate the total. Please try again.",
|
|
238
|
+
"subscription_management.summary.title": "Order summary",
|
|
239
|
+
"subscription_management.summary.total_due_heading": "Total due",
|
|
240
|
+
"subscription_management.title": "Manage {subject}",
|
|
241
|
+
"subscription_management.title.default_subject": "subscription",
|
|
242
|
+
"subscription_management.update_button.label": "Update subscription",
|
|
243
|
+
"subscription_management.update_error": "Something went wrong. Please try again.",
|
|
157
244
|
"subscription_payment_completed_card.thank_you_for_subscribing": "Thank you for subscribing.",
|
|
158
245
|
"subscription_payment_completed_card.title": "Payment successful",
|
|
159
246
|
"tax_check.invalid_vat_number": "VAT number is invalid.",
|
|
160
247
|
"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
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"upgrade_subscription.title": "Upgrade subscription",
|
|
248
|
+
"topup_modal.add_payment_method.subtitle": "Add a new payment method for topping up your balance.",
|
|
249
|
+
"topup_modal.add_payment_method.title": "Add payment method",
|
|
250
|
+
"topup_modal.back_button.label": "Back",
|
|
251
|
+
"topup_modal.cancel_button.label": "Cancel",
|
|
252
|
+
"topup_modal.confirm_button.empty.label": "Top up balance",
|
|
253
|
+
"topup_modal.confirm_button.label": "Top up balance with {value}",
|
|
254
|
+
"topup_modal.done_button.label": "Done",
|
|
255
|
+
"topup_modal.flexible_option.bounds": "Between {minimum} and {maximum}",
|
|
256
|
+
"topup_modal.flexible_option.label": "Choose your own amount",
|
|
257
|
+
"topup_modal.invoice_preview.label": "You will pay",
|
|
258
|
+
"topup_modal.payment_method_required": "Select a payment method to pay for this top-up.",
|
|
259
|
+
"topup_modal.payment_method_selector.label": "Payment method",
|
|
260
|
+
"topup_modal.pricing_items.label": "Top up amount",
|
|
261
|
+
"topup_modal.save_payment_method.label": "Save payment method",
|
|
262
|
+
"topup_modal.subscriptions.label": "Subscription to top up",
|
|
263
|
+
"topup_modal.subtitle": "Your current balance is {balance}.",
|
|
264
|
+
"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.",
|
|
265
|
+
"topup_modal.success.modal_subtitle": "Your payment went through.",
|
|
266
|
+
"topup_modal.success.modal_title": "Top-up complete",
|
|
267
|
+
"topup_modal.success.receipt.heading": "Receipt",
|
|
268
|
+
"topup_modal.success.title": "Top-up successful",
|
|
269
|
+
"topup_modal.title": "Top up balance",
|
|
184
270
|
"wallet_balance.credit_type_fallback_label": "Credits",
|
|
185
271
|
"wallet_balance.details.header": "Wallet balance",
|
|
186
272
|
"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"
|
|
273
|
+
"wallet_balance.service_period_heading": "Service period - {startAt} - {endAt}"
|
|
189
274
|
};
|
|
190
275
|
export {
|
|
191
276
|
enUS as default,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r=require("vue");function e(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),t.push.apply(t,a)}return t}function t(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?e(Object(n),!0).forEach(function(e){a(r,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))})}return r}function a(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function n(r){return"function"==typeof r}function o(r){return null!==r&&"object"==typeof r&&!Array.isArray(r)}function i(r){return n(r.$validator)?t({},r):{$validator:r}}function s(r){return"object"==typeof r?r.$valid:r}function u(r){return r.$validator||r}const d=e=>{if(e=r.unref(e),Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"==typeof e){for(let r in e)return!0;return!1}return!!String(e).length};function f(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return e=>(e=r.unref(e),!d(e)||t.every(r=>(r.lastIndex=0,r.test(e))))}var $=Object.freeze({__proto__:null,forEach:function(e){return{$validator(t){for(var a=arguments.length,n=new Array(a>1?a-1:0),o=1;o<a;o++)n[o-1]=arguments[o];return r.unref(t).reduce((r,t,a)=>{const o=Object.entries(t).reduce((r,o)=>{let[i,d]=o;const f=e[i]||{},$=Object.entries(f).reduce((r,e)=>{let[o,f]=e;const $=u(f).call(this,d,t,a,...n),l=s($);if(r.$data[o]=$,r.$data.$invalid=!l||!!r.$data.$invalid,r.$data.$error=r.$data.$invalid,!l){let e=f.$message||"";const t=f.$params||{};"function"==typeof e&&(e=e({$pending:!1,$invalid:!l,$params:t,$model:d,$response:$})),r.$errors.push({$property:i,$message:e,$params:t,$response:$,$model:d,$pending:!1,$validator:o})}return{$valid:r.$valid&&l,$data:r.$data,$errors:r.$errors}},{$valid:!0,$data:{},$errors:[]});return r.$data[i]=$.$data,r.$errors[i]=$.$errors,{$valid:r.$valid&&$.$valid,$data:r.$data,$errors:r.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:r.$valid&&o.$valid,$data:r.$data.concat(o.$data),$errors:r.$errors.concat(o.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:r=>{let{$response:e}=r;return e?e.$errors.map(r=>Object.values(r).map(r=>r.map(r=>r.$message)).reduce((r,e)=>r.concat(e),[])):[]}}},len:e=>(e=r.unref(e),Array.isArray(e)?e.length:"object"==typeof e?Object.keys(e).length:String(e).length),normalizeValidatorObject:i,regex:f,req:d,unwrap:r.unref,unwrapNormalizedValidator:u,unwrapValidatorResponse:s,withAsync:function(r){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t(t({},i(r)),{},{$async:!0,$watchTargets:e})},withMessage:function(e,t){if(!n(e)&&"string"!=typeof r.unref(e))throw new Error('[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided '+typeof e);if(!o(t)&&!n(t))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const a=i(t);return a.$message=e,a},withParams:function(r,e){if(!o(r))throw new Error('[@vuelidate/validators]: First parameter to "withParams" should be an object, provided '+typeof r);if(!o(e)&&!n(e))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const a=i(e);return a.$params=t(t({},a.$params||{}),r),a}});f(/^[a-zA-Z]*$/),f(/^[a-zA-Z0-9]*$/),f(/^\d*(\.\d+)?$/);var l={$validator:f(/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i),$message:"Value is not a valid email address",$params:{type:"email"}};var c={$validator:function(r){return"string"==typeof r&&(r=r.trim()),d(r)},$message:"Value is required",$params:{type:"required"}};const p=(r,e)=>!r||d("string"==typeof e?e.trim():e);f(/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i),f(/(^[0-9]*$)|(^-[0-9]+$)/),f(/^[-]?\d*(\.\d+)?$/),exports.common=$,exports.email=l,exports.required=c,exports.requiredIf=function(e){return{$validator:(t=e,function(e,a){if("function"!=typeof t)return p(r.unref(t),e);const n=t.call(this,e,a);return p(n,e)}),$message:"The value is required",$params:{type:"requiredIf",prop:e}};var t};
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { unref } from "vue";
|
|
2
|
+
function ownKeys(object, enumerableOnly) {
|
|
3
|
+
var keys = Object.keys(object);
|
|
4
|
+
if (Object.getOwnPropertySymbols) {
|
|
5
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
7
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8
|
+
})), keys.push.apply(keys, symbols);
|
|
9
|
+
}
|
|
10
|
+
return keys;
|
|
11
|
+
}
|
|
12
|
+
function _objectSpread2(target) {
|
|
13
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
14
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
15
|
+
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
16
|
+
_defineProperty(target, key, source[key]);
|
|
17
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
18
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return target;
|
|
22
|
+
}
|
|
23
|
+
function _defineProperty(obj, key, value) {
|
|
24
|
+
if (key in obj) {
|
|
25
|
+
Object.defineProperty(obj, key, {
|
|
26
|
+
value,
|
|
27
|
+
enumerable: true,
|
|
28
|
+
configurable: true,
|
|
29
|
+
writable: true
|
|
30
|
+
});
|
|
31
|
+
} else {
|
|
32
|
+
obj[key] = value;
|
|
33
|
+
}
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
function isFunction(val) {
|
|
37
|
+
return typeof val === "function";
|
|
38
|
+
}
|
|
39
|
+
function isObject(o) {
|
|
40
|
+
return o !== null && typeof o === "object" && !Array.isArray(o);
|
|
41
|
+
}
|
|
42
|
+
function normalizeValidatorObject(validator) {
|
|
43
|
+
return isFunction(validator.$validator) ? _objectSpread2({}, validator) : {
|
|
44
|
+
$validator: validator
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function unwrapValidatorResponse(result) {
|
|
48
|
+
if (typeof result === "object") return result.$valid;
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
function unwrapNormalizedValidator(validator) {
|
|
52
|
+
return validator.$validator || validator;
|
|
53
|
+
}
|
|
54
|
+
function withParams($params, $validator) {
|
|
55
|
+
if (!isObject($params)) throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof $params}`);
|
|
56
|
+
if (!isObject($validator) && !isFunction($validator)) throw new Error(`[@vuelidate/validators]: Validator must be a function or object with $validator parameter`);
|
|
57
|
+
const validatorObj = normalizeValidatorObject($validator);
|
|
58
|
+
validatorObj.$params = _objectSpread2(_objectSpread2({}, validatorObj.$params || {}), $params);
|
|
59
|
+
return validatorObj;
|
|
60
|
+
}
|
|
61
|
+
function withMessage($message, $validator) {
|
|
62
|
+
if (!isFunction($message) && typeof unref($message) !== "string") throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof $message}`);
|
|
63
|
+
if (!isObject($validator) && !isFunction($validator)) throw new Error(`[@vuelidate/validators]: Validator must be a function or object with $validator parameter`);
|
|
64
|
+
const validatorObj = normalizeValidatorObject($validator);
|
|
65
|
+
validatorObj.$message = $message;
|
|
66
|
+
return validatorObj;
|
|
67
|
+
}
|
|
68
|
+
function withAsync($validator) {
|
|
69
|
+
let $watchTargets = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
70
|
+
const validatorObj = normalizeValidatorObject($validator);
|
|
71
|
+
return _objectSpread2(_objectSpread2({}, validatorObj), {}, {
|
|
72
|
+
$async: true,
|
|
73
|
+
$watchTargets
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
function forEach(validators) {
|
|
77
|
+
return {
|
|
78
|
+
$validator(collection) {
|
|
79
|
+
for (var _len = arguments.length, others = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
80
|
+
others[_key - 1] = arguments[_key];
|
|
81
|
+
}
|
|
82
|
+
return unref(collection).reduce((previous, collectionItem, index) => {
|
|
83
|
+
const collectionEntryResult = Object.entries(collectionItem).reduce((all, _ref) => {
|
|
84
|
+
let [property, $model] = _ref;
|
|
85
|
+
const innerValidators = validators[property] || {};
|
|
86
|
+
const propertyResult = Object.entries(innerValidators).reduce((all2, _ref2) => {
|
|
87
|
+
let [validatorName, currentValidator] = _ref2;
|
|
88
|
+
const validatorFunction = unwrapNormalizedValidator(currentValidator);
|
|
89
|
+
const $response = validatorFunction.call(this, $model, collectionItem, index, ...others);
|
|
90
|
+
const $valid = unwrapValidatorResponse($response);
|
|
91
|
+
all2.$data[validatorName] = $response;
|
|
92
|
+
all2.$data.$invalid = !$valid || !!all2.$data.$invalid;
|
|
93
|
+
all2.$data.$error = all2.$data.$invalid;
|
|
94
|
+
if (!$valid) {
|
|
95
|
+
let $message = currentValidator.$message || "";
|
|
96
|
+
const $params = currentValidator.$params || {};
|
|
97
|
+
if (typeof $message === "function") {
|
|
98
|
+
$message = $message({
|
|
99
|
+
$pending: false,
|
|
100
|
+
$invalid: !$valid,
|
|
101
|
+
$params,
|
|
102
|
+
$model,
|
|
103
|
+
$response
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
all2.$errors.push({
|
|
107
|
+
$property: property,
|
|
108
|
+
$message,
|
|
109
|
+
$params,
|
|
110
|
+
$response,
|
|
111
|
+
$model,
|
|
112
|
+
$pending: false,
|
|
113
|
+
$validator: validatorName
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return {
|
|
117
|
+
$valid: all2.$valid && $valid,
|
|
118
|
+
$data: all2.$data,
|
|
119
|
+
$errors: all2.$errors
|
|
120
|
+
};
|
|
121
|
+
}, {
|
|
122
|
+
$valid: true,
|
|
123
|
+
$data: {},
|
|
124
|
+
$errors: []
|
|
125
|
+
});
|
|
126
|
+
all.$data[property] = propertyResult.$data;
|
|
127
|
+
all.$errors[property] = propertyResult.$errors;
|
|
128
|
+
return {
|
|
129
|
+
$valid: all.$valid && propertyResult.$valid,
|
|
130
|
+
$data: all.$data,
|
|
131
|
+
$errors: all.$errors
|
|
132
|
+
};
|
|
133
|
+
}, {
|
|
134
|
+
$valid: true,
|
|
135
|
+
$data: {},
|
|
136
|
+
$errors: {}
|
|
137
|
+
});
|
|
138
|
+
return {
|
|
139
|
+
$valid: previous.$valid && collectionEntryResult.$valid,
|
|
140
|
+
$data: previous.$data.concat(collectionEntryResult.$data),
|
|
141
|
+
$errors: previous.$errors.concat(collectionEntryResult.$errors)
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
$valid: true,
|
|
145
|
+
$data: [],
|
|
146
|
+
$errors: []
|
|
147
|
+
});
|
|
148
|
+
},
|
|
149
|
+
$message: (_ref3) => {
|
|
150
|
+
let {
|
|
151
|
+
$response
|
|
152
|
+
} = _ref3;
|
|
153
|
+
return $response ? $response.$errors.map((context) => {
|
|
154
|
+
return Object.values(context).map((errors) => errors.map((error) => error.$message)).reduce((a, b) => a.concat(b), []);
|
|
155
|
+
}) : [];
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
const req = (value) => {
|
|
160
|
+
value = unref(value);
|
|
161
|
+
if (Array.isArray(value)) return !!value.length;
|
|
162
|
+
if (value === void 0 || value === null) {
|
|
163
|
+
return false;
|
|
164
|
+
}
|
|
165
|
+
if (value === false) {
|
|
166
|
+
return true;
|
|
167
|
+
}
|
|
168
|
+
if (value instanceof Date) {
|
|
169
|
+
return !isNaN(value.getTime());
|
|
170
|
+
}
|
|
171
|
+
if (typeof value === "object") {
|
|
172
|
+
for (let _ in value) return true;
|
|
173
|
+
return false;
|
|
174
|
+
}
|
|
175
|
+
return !!String(value).length;
|
|
176
|
+
};
|
|
177
|
+
const len = (value) => {
|
|
178
|
+
value = unref(value);
|
|
179
|
+
if (Array.isArray(value)) return value.length;
|
|
180
|
+
if (typeof value === "object") {
|
|
181
|
+
return Object.keys(value).length;
|
|
182
|
+
}
|
|
183
|
+
return String(value).length;
|
|
184
|
+
};
|
|
185
|
+
function regex() {
|
|
186
|
+
for (var _len = arguments.length, expr = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
187
|
+
expr[_key] = arguments[_key];
|
|
188
|
+
}
|
|
189
|
+
return (value) => {
|
|
190
|
+
value = unref(value);
|
|
191
|
+
return !req(value) || expr.every((reg) => {
|
|
192
|
+
reg.lastIndex = 0;
|
|
193
|
+
return reg.test(value);
|
|
194
|
+
});
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
var common = /* @__PURE__ */ Object.freeze({
|
|
198
|
+
__proto__: null,
|
|
199
|
+
forEach,
|
|
200
|
+
len,
|
|
201
|
+
normalizeValidatorObject,
|
|
202
|
+
regex,
|
|
203
|
+
req,
|
|
204
|
+
unwrap: unref,
|
|
205
|
+
unwrapNormalizedValidator,
|
|
206
|
+
unwrapValidatorResponse,
|
|
207
|
+
withAsync,
|
|
208
|
+
withMessage,
|
|
209
|
+
withParams
|
|
210
|
+
});
|
|
211
|
+
regex(/^[a-zA-Z]*$/);
|
|
212
|
+
regex(/^[a-zA-Z0-9]*$/);
|
|
213
|
+
regex(/^\d*(\.\d+)?$/);
|
|
214
|
+
const emailRegex = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
|
|
215
|
+
var email$1 = regex(emailRegex);
|
|
216
|
+
var email = {
|
|
217
|
+
$validator: email$1,
|
|
218
|
+
$message: "Value is not a valid email address",
|
|
219
|
+
$params: {
|
|
220
|
+
type: "email"
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
function required$1(value) {
|
|
224
|
+
if (typeof value === "string") {
|
|
225
|
+
value = value.trim();
|
|
226
|
+
}
|
|
227
|
+
return req(value);
|
|
228
|
+
}
|
|
229
|
+
var required = {
|
|
230
|
+
$validator: required$1,
|
|
231
|
+
$message: "Value is required",
|
|
232
|
+
$params: {
|
|
233
|
+
type: "required"
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
const validate$1 = (prop, val) => prop ? req(typeof val === "string" ? val.trim() : val) : true;
|
|
237
|
+
function requiredIf$1(propOrFunction) {
|
|
238
|
+
return function(value, parentVM) {
|
|
239
|
+
if (typeof propOrFunction !== "function") {
|
|
240
|
+
return validate$1(unref(propOrFunction), value);
|
|
241
|
+
}
|
|
242
|
+
const result = propOrFunction.call(this, value, parentVM);
|
|
243
|
+
return validate$1(result, value);
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
function requiredIf(prop) {
|
|
247
|
+
return {
|
|
248
|
+
$validator: requiredIf$1(prop),
|
|
249
|
+
$message: "The value is required",
|
|
250
|
+
$params: {
|
|
251
|
+
type: "requiredIf",
|
|
252
|
+
prop
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
const urlRegex = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
|
|
257
|
+
regex(urlRegex);
|
|
258
|
+
regex(/(^[0-9]*$)|(^-[0-9]+$)/);
|
|
259
|
+
regex(/^[-]?\d*(\.\d+)?$/);
|
|
260
|
+
export {
|
|
261
|
+
requiredIf as a,
|
|
262
|
+
common as c,
|
|
263
|
+
email as e,
|
|
264
|
+
required as r
|
|
265
|
+
};
|
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-Cra6yoB4.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;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export { createSolvimonCore, getRegisteredScreenIds, getRegisteredComponentIds,
|
|
|
2
2
|
export type { SolvimonMountConfig, CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, ActionRequestDetail, RequestActionEvent, } from './public/core';
|
|
3
3
|
export { SolvimonCheckout, defineSolvimonCheckout, } from './public/screens/Checkout/Checkout.entry.ce';
|
|
4
4
|
export { SolvimonCustomerOverview, defineSolvimonCustomerOverview, } from './public/screens/CustomerOverview/CustomerOverview.entry.ce';
|
|
5
|
-
export {
|
|
5
|
+
export { SolvimonSubscriptionManagement, defineSolvimonSubscriptionManagement, } from './public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce';
|
|
6
|
+
export { SolvimonSubscriptionDetails, defineSolvimonSubscriptionDetails, } from './public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce';
|
|
6
7
|
export { SolvimonPayInvoice, defineSolvimonPayInvoice, } from './public/screens/PayInvoice/PayInvoice.entry.ce';
|
|
7
8
|
export { SolvimonBillingInformation, defineSolvimonBillingInformation, } from './public/components/BillingInformation/BillingInformation.entry.ce';
|
|
8
9
|
export { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm, } from './public/components/BillingInformationForm/BillingInformationForm.entry.ce';
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { c, g, a } from "./registry-
|
|
1
|
+
import { c, g, a } from "./registry-Ck0Gb6rj.mjs";
|
|
2
2
|
import { SolvimonCheckout, defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
|
|
3
3
|
import { SolvimonCustomerOverview, defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SolvimonSubscriptionManagement, defineSolvimonSubscriptionManagement } from "./screens/SubscriptionManagement/SubscriptionManagement.es.js";
|
|
5
|
+
import { SolvimonSubscriptionDetails, defineSolvimonSubscriptionDetails } from "./screens/SubscriptionDetails/SubscriptionDetails.es.js";
|
|
5
6
|
import { SolvimonPayInvoice, defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.es.js";
|
|
6
7
|
import { SolvimonBillingInformation, defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
|
|
7
8
|
import { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
|
|
@@ -24,9 +25,10 @@ export {
|
|
|
24
25
|
SolvimonPayInvoice,
|
|
25
26
|
SolvimonPaymentHistory,
|
|
26
27
|
SolvimonPaymentMethodForm,
|
|
28
|
+
SolvimonSubscriptionDetails,
|
|
29
|
+
SolvimonSubscriptionManagement,
|
|
27
30
|
SolvimonSubscriptionSchedules,
|
|
28
31
|
SolvimonSubscriptionsList,
|
|
29
|
-
SolvimonUpgradeSubscription,
|
|
30
32
|
SolvimonWalletBalances,
|
|
31
33
|
c as createSolvimonCore,
|
|
32
34
|
defineSolvimonBillingInformation,
|
|
@@ -39,9 +41,10 @@ export {
|
|
|
39
41
|
defineSolvimonPayInvoice,
|
|
40
42
|
defineSolvimonPaymentHistory,
|
|
41
43
|
defineSolvimonPaymentMethodForm,
|
|
44
|
+
defineSolvimonSubscriptionDetails,
|
|
45
|
+
defineSolvimonSubscriptionManagement,
|
|
42
46
|
defineSolvimonSubscriptionSchedules,
|
|
43
47
|
defineSolvimonSubscriptionsList,
|
|
44
|
-
defineSolvimonUpgradeSubscription,
|
|
45
48
|
defineSolvimonWalletBalances,
|
|
46
49
|
g as getRegisteredComponentIds,
|
|
47
50
|
a as getRegisteredScreenIds
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const i=require("./vendor-ui-Dfh3_g4q.js"),n=require("./component-DIy1hvJM.js");exports.createInvoicesService=function(){const e=n.createRequestService(),t=n.useConfig(),r=`${t.apiUrls.transaction}/portal/invoices/charge-on-demand-pricing-items`;return{getInvoice:function(i){return e({url:`${t.apiUrls.transaction}/portal/invoices/${i}`})},getInvoices:function({customerId:n,pagination:r,query:a}){const o=i.withPagination({customer_id:n,...a??{}},r),c=new URL(`${t.apiUrls.transaction}/portal/invoices`);return Object.entries(o).forEach(([i,n])=>{null!=n&&(Array.isArray(n)?n.forEach(n=>{c.searchParams.append(`${i}[]`,`${n}`)}):c.searchParams.append(i,`${n}`))}),e({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(n){return e({url:`${t.apiUrls.transaction}/portal/invoices/${n}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(e=>{const t=new Blob([e],{type:"application/pdf"});i.downloadFile(t,`invoice-${n}.pdf`)})},getInvoicePreview:function({customer:i,pricingPlanSubscriptionId:n,startAt:r,customizations:a,pricing_plan_schedule_customizations:o,forExistingSubscription:c=!1}){return e({url:`${t.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{...c?{pricing_plan_subscription_id:n}:{template_pricing_plan_subscription_id:n,customer_details:{...i,reference:"preview"}},...r&&{start_at:r},...a&&{pricing_plan_schedule_customizations:a},...o&&{pricing_plan_schedule_customizations:o}}})},previewChargeOnDemandPricingItems:function({pricingPlanScheduleId:i,pricingItems:n,startAt:t}){return e({url:r,options:{method:"POST"},data:{pricing_plan_schedule_id:i,pricing_items:n,preview:!0,...t?{start_at:t}:{}}})},chargeOnDemandPricingItems:function(i){return e({url:r,options:{method:"POST"},data:{finalize_immediately:!0,...i}})}}};
|