@solvimon/solvimon-web 0.1.0-alpha.17 → 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 +28 -26
- 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-BrPsTuoW.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs} +2 -2
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BuQ8bzar.js → BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CuWrBcoK.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-wxP5IaGt.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-05NKI2A0.js → InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js} +1 -1
- package/dist/{InvoiceHeader.vue_vue_type_script_setup_true_lang-17v07F58.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-BitwS9Re.mjs → PaymentHistoryBlock-Bxr8lUGs.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-ZtmPXXwI.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-C3ZUDUdw.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-BZTzCUiu.js → PaymentIntegrationForm-BSauhuKv.js} +1 -1
- package/dist/{PaymentIntegrationForm-BK2aLPCo.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-CIQ0vsko.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs} +2 -2
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-zRr8iihy.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DVeB_mqK.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs} +76 -30
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +1 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D1TcP9PR.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs} +2 -2
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BMXr26gF.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs} +1 -1
- 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/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3cqlbGY.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs} +16 -63
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BDqX6OaE.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs} +5 -5
- package/dist/adyen-BMDZQBUG.js +1 -0
- package/dist/{url-BjZ1Pg0l.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 +4 -4
- 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 +21 -7
- package/dist/core/action-request.types.d.ts +1 -13
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/{customer-DAgdegIW.mjs → customer-DovIxTG1.mjs} +1 -1
- package/dist/{customer-AfRcAZ5P.js → customer-brfznoHY.js} +1 -1
- package/dist/en-US-BvOHPudj.js +1 -0
- package/dist/{en-US-DSzSbgL5.mjs → en-US-CXDO3qhq.mjs} +53 -0
- package/dist/index-BMWWP8xj.js +1 -0
- package/dist/index-Do7kzLpg.mjs +265 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{invoices-BHgajZHq.js → invoices-Cf3dSYSj.js} +1 -1
- package/dist/{invoices-BXDgW8ch.mjs → invoices-Dk-z04lg.mjs} +2 -2
- package/dist/{nl-NL-Li7RW89R.mjs → nl-NL-BgL_PuBn.mjs} +55 -1
- package/dist/nl-NL-COGUFg60.js +1 -0
- package/dist/{paymentMethods-xzFD2L30.mjs → paymentMethods-BnF1XYS1.mjs} +21 -5
- package/dist/paymentMethods-DVDC_WfL.js +1 -0
- package/dist/{payments-DMvmB5vg.js → payments-DVZFO5yb.js} +1 -1
- package/dist/{payments-DV6csRej.mjs → payments-TnRjtlOw.mjs} +1 -1
- package/dist/{pricing-BEjY_5wb.js → pricing-CuYndX6t.js} +1 -1
- package/dist/{pricing-B1uImUm4.mjs → pricing-GwLCiSzs.mjs} +1 -1
- package/dist/{pricingPlanSchedule-C_cqUyTk.mjs → pricingPlanSchedule-CXG3CQ61.mjs} +3 -1
- package/dist/{registry-CyENvS6l.mjs → registry-Ck0Gb6rj.mjs} +1 -1
- package/dist/{registry-CeMxLjwU.js → registry-Cra6yoB4.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +37 -36
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +32 -56
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +28 -12
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.es.js +28 -18
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.es.js +436 -89
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.es.js +28 -37
- package/dist/solvimon-web.css +1 -1
- package/dist/{subscription-B4dBAY9C.mjs → subscription-C41lG-rH.mjs} +1 -1
- package/dist/subscriptions-BFCKVHnP.js +1 -0
- package/dist/subscriptions-vEE4Y7qm.mjs +58 -0
- package/dist/{useActionDispatchProvider-zB_GKeUR.mjs → useActionDispatchProvider-BlEf-RZ5.mjs} +1 -1
- package/dist/{useActionDispatchProvider-bqR_FeM4.js → useActionDispatchProvider-aJOy3kr1.js} +1 -1
- package/dist/{useCustomer-bO4D6e4Z.js → useCustomer-C1XTqmrQ.js} +1 -1
- package/dist/{useCustomer-VfeQ6rG2.mjs → useCustomer-Cw8LXT6S.mjs} +2 -2
- package/dist/{useIncrementalLoading-C59FXHzp.mjs → useIncrementalLoading-8WtKZ-mP.mjs} +2 -2
- package/dist/useIncrementalLoading-CkY2klIW.js +1 -0
- package/dist/{useInvoiceData-CxxkBTGY.js → useInvoiceData-BrxMo4Zt.js} +1 -1
- package/dist/{useInvoiceData-Dhg-hx8C.mjs → useInvoiceData-Cy_ysMsq.mjs} +2 -2
- package/dist/{useInvoicesList-DBz7T7sM.mjs → useInvoicesList-DMsZn1tE.mjs} +4 -4
- package/dist/{useInvoicesList-BXZ9uV9i.js → useInvoicesList-DmisMQzy.js} +1 -1
- package/dist/{useLoadInitialData-BhpIg7OF.mjs → useLoadInitialData-BP1v7qhd.mjs} +1 -1
- package/dist/{useLoadInitialData-BqiAFNFi.js → useLoadInitialData-_BjCD0Jc.js} +1 -1
- package/dist/{usePaymentMethodOptions-PcMjtMSF.mjs → usePaymentMethodOptions-CWfGvW0U.mjs} +9 -3
- package/dist/{usePaymentMethodOptions-DszFvgKX.js → usePaymentMethodOptions-xeSTmaVo.js} +1 -1
- package/dist/{usePaymentMethods-Bb1Xbads.js → usePaymentMethods-CAFMvSOr.js} +1 -1
- package/dist/{usePaymentMethods-B5AbGWsn.mjs → usePaymentMethods-Cyk4cjoE.mjs} +2 -2
- package/dist/{usePayments-is5c66Z6.js → usePayments-BieVBaz-.js} +1 -1
- package/dist/{usePayments-DgoZoBZh.mjs → usePayments-D88XSZfS.mjs} +10 -4
- package/dist/{usePortal-DWLtNqBB.mjs → usePortal-0NDlbFr9.mjs} +1 -1
- package/dist/{usePortal-C4qWsJeq.js → usePortal-B954nyEB.js} +1 -1
- package/dist/{useService-DKm3QtT4.js → useService-BiljI7XA.js} +1 -1
- package/dist/{useService-BZqFkz7p.mjs → useService-CqfJi5ST.mjs} +1 -1
- package/dist/{useSubscription-CEZJw6wZ.mjs → useSubscription-9rJpFNUF.mjs} +9 -3
- package/dist/{useSubscription-DuUNc1_l.js → useSubscription-k3limdu_.js} +1 -1
- package/dist/vendor-ui-Dfh3_g4q.js +1 -0
- package/dist/{vendor-ui-BoGKOJ36.mjs → vendor-ui-ItGf7wJV.mjs} +1912 -1800
- package/package.json +12 -5
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-1Op9GjGZ.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C66beqgf.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D2BhuXsh.mjs +0 -77
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BbuEBiY3.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-dwIv_xxf.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CMGK71zZ.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B_yDNGK8.mjs +0 -1537
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-GN3WAr10.js +0 -1
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-BQIN3zuf.mjs +0 -156
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DyL2-vV0.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-OvGGejpX.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BxqIfmkK.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BKz2QQn9.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CyAFjCh7.js +0 -1
- package/dist/component-CUJ_G2Nw.mjs +0 -962
- package/dist/component-CiKxWtdx.js +0 -1
- package/dist/en-US-QzQnGXP1.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/nl-NL-C4rr-1tr.js +0 -1
- package/dist/paymentMethods-BMcc-eTl.js +0 -1
- package/dist/subscriptions-CrNDM9qa.mjs +0 -79
- package/dist/subscriptions-DC-mxa17.js +0 -1
- package/dist/url-D8GJi5rF.js +0 -1
- package/dist/useIncrementalLoading-BgWuwoMo.js +0 -1
- package/dist/useTopUpModal-DNyWrHDv.mjs +0 -1012
- package/dist/useTopUpModal-DeF-cfCK.js +0 -1
- package/dist/vendor-ui-BuRqLx74.js +0 -1
|
@@ -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 e=require("./registry-
|
|
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.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
4
|
import { SolvimonSubscriptionManagement, defineSolvimonSubscriptionManagement } from "./screens/SubscriptionManagement/SubscriptionManagement.es.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const i=require("./vendor-ui-
|
|
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}})}}};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as downloadFile,
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { f as downloadFile, d as withPagination } from "./vendor-ui-ItGf7wJV.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.mjs";
|
|
3
3
|
function createInvoicesService() {
|
|
4
4
|
const request = createRequestService();
|
|
5
5
|
const config = useConfig();
|
|
@@ -11,6 +11,33 @@ const nlNL = {
|
|
|
11
11
|
"addon_single_editor.description.at_least_one": "Selecteer minimaal één product",
|
|
12
12
|
"addon_single_editor.description.at_most_one": "Selecteer maximaal één product",
|
|
13
13
|
"addon_single_editor.description.exactly_one": "Selecteer één product",
|
|
14
|
+
"auto_topup_cancellation_modal.cancel": "Annuleren",
|
|
15
|
+
"auto_topup_cancellation_modal.confirm": "Ja, zet het uit",
|
|
16
|
+
"auto_topup_cancellation_modal.explanation": "Je saldo wordt niet meer automatisch bijgevuld. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
17
|
+
"auto_topup_cancellation_modal.explanation_with_amount": "Je saldo wordt niet meer met {amount} bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
18
|
+
"auto_topup_cancellation_modal.explanation_with_threshold": "Je saldo wordt niet meer automatisch bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.",
|
|
19
|
+
"auto_topup_cancellation_modal.failed": "Automatisch bijvullen kon niet worden uitgezet. Probeer het later opnieuw.",
|
|
20
|
+
"auto_topup_cancellation_modal.title": "Automatisch bijvullen uitzetten",
|
|
21
|
+
"auto_topup_config.amount.at_least_minimum": "Waardeer op met minstens {minimum}.",
|
|
22
|
+
"auto_topup_config.amount.label": "Opwaarderen met",
|
|
23
|
+
"auto_topup_config.amount.positive": "Waardeer op met meer dan nul.",
|
|
24
|
+
"auto_topup_config.amount.required": "Vul het bedrag in om mee op te waarderen.",
|
|
25
|
+
"auto_topup_config.amount.within_maximum": "Waardeer op met maximaal {maximum}.",
|
|
26
|
+
"auto_topup_config.subtitle": "Waardeer je saldo automatisch op zodra het laag wordt.",
|
|
27
|
+
"auto_topup_config.threshold.label": "Wanneer je saldo lager wordt dan",
|
|
28
|
+
"auto_topup_config.threshold.not_negative": "De stand waarop wordt bijgevuld kan niet negatief zijn.",
|
|
29
|
+
"auto_topup_config.threshold.required": "Vul het saldo in waarbij er opgewaardeerd wordt.",
|
|
30
|
+
"auto_topup_config.title": "Automatisch opwaarderen",
|
|
31
|
+
"auto_topup_modal.add_payment_method.cancel": "Terug",
|
|
32
|
+
"auto_topup_modal.add_payment_method.confirm": "Betaalmethode toevoegen",
|
|
33
|
+
"auto_topup_modal.add_payment_method.subtitle": "Met deze methode wordt elke automatische bijvulling betaald.",
|
|
34
|
+
"auto_topup_modal.add_payment_method.title": "Betaalmethode toevoegen",
|
|
35
|
+
"auto_topup_modal.cancel": "Annuleren",
|
|
36
|
+
"auto_topup_modal.confirm": "Opslaan",
|
|
37
|
+
"auto_topup_modal.payment_method.label": "Automatische bijvullingen betalen met",
|
|
38
|
+
"auto_topup_modal.payment_method.required": "Selecteer een betaalmethode om automatische bijvullingen te betalen.",
|
|
39
|
+
"auto_topup_modal.subtitle": "Je saldo is {balance}.",
|
|
40
|
+
"auto_topup_modal.title": "Automatisch bijvullen",
|
|
14
41
|
"billing_information_form.submit_button.label": "Wijzigingen opslaan",
|
|
15
42
|
"checkout.address.city.placeholder": "Stad...",
|
|
16
43
|
"checkout.address.line1.placeholder": "Adresregel 1...",
|
|
@@ -82,6 +109,12 @@ const nlNL = {
|
|
|
82
109
|
"checkout.vat_number.placeholder": "BTW-nummer...",
|
|
83
110
|
"components.payment_method_form.section_title": "Beschikbare betaalmethoden",
|
|
84
111
|
"components.payment_method_form.submit_button.label": "Betaalmethode opslaan",
|
|
112
|
+
"converted_amount_input.bounds.maximum": "Tot {maximum} {unit}",
|
|
113
|
+
"converted_amount_input.bounds.minimum": "Minstens {minimum} {unit}",
|
|
114
|
+
"converted_amount_input.bounds.range": "Tussen {minimum} en {maximum} {unit}",
|
|
115
|
+
"converted_amount_input.buys": "Levert ongeveer {credits} op",
|
|
116
|
+
"converted_amount_input.cost": "Kost {amount} exclusief belastingen",
|
|
117
|
+
"converted_amount_input.credits": "credits",
|
|
85
118
|
"customer.invoice_table.pay_invoice_button.label": "Betalen",
|
|
86
119
|
"customer.subscriptions_block.next_billing_date": "Volgende factuurdatum",
|
|
87
120
|
"customer.subscriptions_block.show_details_button_label": "Abonnementsdetails",
|
|
@@ -144,10 +177,13 @@ const nlNL = {
|
|
|
144
177
|
"payment_method.context_menu.delete.label": "Verwijderen",
|
|
145
178
|
"payment_method.context_menu.set_as_default.label": "Instellen als standaard",
|
|
146
179
|
"payment_method_selector.add_payment_method": "Betaalmethode toevoegen",
|
|
180
|
+
"payment_method_selector.empty_state.title": "Geen betaalmethoden beschikbaar",
|
|
147
181
|
"payment_method_selector.no_payment_methods_available": "Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.",
|
|
182
|
+
"payment_method_selector.title": "Betaalmethode",
|
|
148
183
|
"payment_methods_list.delete_modal.body": "Weet u zeker dat u deze betaalmethode wilt verwijderen?",
|
|
149
184
|
"payment_methods_list.delete_modal.cancel": "Annuleren",
|
|
150
185
|
"payment_methods_list.delete_modal.confirm": "Verwijderen",
|
|
186
|
+
"payment_methods_list.delete_modal.error": "We konden deze betaalmethode niet verwijderen. Probeer het opnieuw.",
|
|
151
187
|
"payment_methods_list.delete_modal.title": "Betaalmethode verwijderen",
|
|
152
188
|
"payments.retry_button.label": "Opnieuw proberen",
|
|
153
189
|
"pricing_group_multiple_editor.at_least_one_description": "Selecteer minimaal één product",
|
|
@@ -179,14 +215,28 @@ const nlNL = {
|
|
|
179
215
|
"seats.tiered_unbounded_range_label": "> {lower_bound} seats",
|
|
180
216
|
"secure_payments_kpi.generic": "Veilige en versleutelde betalingen",
|
|
181
217
|
"secure_payments_kpi.specific_vendor": "Veilige en versleutelde betalingen door",
|
|
218
|
+
"subscription_cancellation_modal.cancel.confirm_button.label": "Abonnement opzeggen",
|
|
219
|
+
"subscription_cancellation_modal.cancel.error": "We konden je abonnement niet opzeggen. Probeer het opnieuw.",
|
|
220
|
+
"subscription_cancellation_modal.cancel.explanation": "Je abonnement wordt opgezegd, maar je houdt toegang tot het einde van de factuurperiode.",
|
|
221
|
+
"subscription_cancellation_modal.cancel.explanation_with_date": "Je abonnement wordt opgezegd, maar je houdt toegang tot {date}.",
|
|
222
|
+
"subscription_cancellation_modal.cancel.title": "Abonnement opzeggen",
|
|
223
|
+
"subscription_cancellation_modal.cancel_button.label": "Annuleren",
|
|
224
|
+
"subscription_cancellation_modal.renew.confirm_button.label": "Abonnement verlengen",
|
|
225
|
+
"subscription_cancellation_modal.renew.error": "We konden je abonnement niet verlengen. Probeer het opnieuw.",
|
|
226
|
+
"subscription_cancellation_modal.renew.explanation": "Je abonnement loopt gewoon door en de facturatie hervat volgens het normale schema.",
|
|
227
|
+
"subscription_cancellation_modal.renew.explanation_with_date": "Je kunt je abonnement verlengen tot {date}. Daarna kun je alleen nog een nieuw abonnement afsluiten.",
|
|
228
|
+
"subscription_cancellation_modal.renew.title": "Abonnement verlengen",
|
|
229
|
+
"subscription_cancellation_modal.renews_label": "Verlengt op",
|
|
182
230
|
"subscription_details.cancel_button.label": "Abonnement opzeggen",
|
|
231
|
+
"subscription_details.cancel_success": "Je abonnement is opgezegd. Je houdt toegang tot het einde van de factuurperiode.",
|
|
183
232
|
"subscription_details.empty_state.message": "Dit abonnement is niet langer beschikbaar.",
|
|
184
233
|
"subscription_details.empty_state.title": "Abonnement niet gevonden",
|
|
185
234
|
"subscription_details.load_error": "Dit abonnement kon niet worden geladen. Probeer het later opnieuw.",
|
|
186
235
|
"subscription_details.renew_button.label": "Abonnement verlengen",
|
|
236
|
+
"subscription_details.renew_success": "Je abonnement is verlengd.",
|
|
187
237
|
"subscription_details.title": "Abonnementsdetails",
|
|
188
|
-
"subscription_management.kpi.encrypted_payments.label": "Veilige en versleutelde betalingen",
|
|
189
238
|
"subscription_management.done_button.label": "Klaar",
|
|
239
|
+
"subscription_management.kpi.encrypted_payments.label": "Veilige en versleutelde betalingen",
|
|
190
240
|
"subscription_management.order_summary.empty_state": "Selecteer items om de prijzen te zien.",
|
|
191
241
|
"subscription_management.order_summary.item_count": "{count} items",
|
|
192
242
|
"subscription_management.order_summary.one_off_label": "eenmalig",
|
|
@@ -226,9 +276,13 @@ const nlNL = {
|
|
|
226
276
|
"topup_modal.done_button.label": "Klaar",
|
|
227
277
|
"topup_modal.flexible_option.bounds": "Tussen {minimum} en {maximum}",
|
|
228
278
|
"topup_modal.flexible_option.label": "Kies je eigen bedrag",
|
|
279
|
+
"topup_modal.invoice_preview.label": "Je betaalt",
|
|
280
|
+
"topup_modal.no_payment_methods_available_title": "Geen betaalmethoden beschikbaar",
|
|
281
|
+
"topup_modal.payment_method_required": "Kies een betaalmethode om deze opwaardering mee te betalen.",
|
|
229
282
|
"topup_modal.payment_method_selector.label": "Betaalmethode",
|
|
230
283
|
"topup_modal.pricing_items.label": "Selecteer opwaardeerbedrag",
|
|
231
284
|
"topup_modal.save_payment_method.label": "Betaalmethode opslaan",
|
|
285
|
+
"topup_modal.subscriptions.label": "Op te waarderen abonnement",
|
|
232
286
|
"topup_modal.subtitle": "Je huidige saldo is {balance}.",
|
|
233
287
|
"topup_modal.success.added": "Je saldo is opgewaardeerd met {value}. Houd er rekening mee dat het even kan duren voordat deze wijziging in je wallet te zien is.",
|
|
234
288
|
"topup_modal.success.modal_subtitle": "Je betaling is gelukt.",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"add_payment_method_modal.cancel_button.label":"Annuleren","add_payment_method_modal.confirm_button.label":"Betaalmethode opslaan","add_payment_method_modal.subtitle":"Voeg een nieuwe betaalmethode toe om mee te betalen.","add_payment_method_modal.title":"Betaalmethode toevoegen","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","auto_topup_cancellation_modal.cancel":"Annuleren","auto_topup_cancellation_modal.confirm":"Ja, zet het uit","auto_topup_cancellation_modal.explanation":"Je saldo wordt niet meer automatisch bijgevuld. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.explanation_with_amount":"Je saldo wordt niet meer met {amount} bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.explanation_with_threshold":"Je saldo wordt niet meer automatisch bijgevuld wanneer het onder {threshold} komt. Je kunt nog altijd zelf bijvullen wanneer je wilt.","auto_topup_cancellation_modal.failed":"Automatisch bijvullen kon niet worden uitgezet. Probeer het later opnieuw.","auto_topup_cancellation_modal.title":"Automatisch bijvullen uitzetten","auto_topup_config.amount.at_least_minimum":"Waardeer op met minstens {minimum}.","auto_topup_config.amount.label":"Opwaarderen met","auto_topup_config.amount.positive":"Waardeer op met meer dan nul.","auto_topup_config.amount.required":"Vul het bedrag in om mee op te waarderen.","auto_topup_config.amount.within_maximum":"Waardeer op met maximaal {maximum}.","auto_topup_config.subtitle":"Waardeer je saldo automatisch op zodra het laag wordt.","auto_topup_config.threshold.label":"Wanneer je saldo lager wordt dan","auto_topup_config.threshold.not_negative":"De stand waarop wordt bijgevuld kan niet negatief zijn.","auto_topup_config.threshold.required":"Vul het saldo in waarbij er opgewaardeerd wordt.","auto_topup_config.title":"Automatisch opwaarderen","auto_topup_modal.add_payment_method.cancel":"Terug","auto_topup_modal.add_payment_method.confirm":"Betaalmethode toevoegen","auto_topup_modal.add_payment_method.subtitle":"Met deze methode wordt elke automatische bijvulling betaald.","auto_topup_modal.add_payment_method.title":"Betaalmethode toevoegen","auto_topup_modal.cancel":"Annuleren","auto_topup_modal.confirm":"Opslaan","auto_topup_modal.payment_method.label":"Automatische bijvullingen betalen met","auto_topup_modal.payment_method.required":"Selecteer een betaalmethode om automatische bijvullingen te betalen.","auto_topup_modal.subtitle":"Je saldo is {balance}.","auto_topup_modal.title":"Automatisch bijvullen","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.label":"Betalen en abonneren","checkout.pay_and_subscribe_button_trial.label":"Proefperiode starten","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.label":"Proefperiode","checkout.trial_period_description":"Je wordt gefactureerd voor <strong>{price}</strong> per {period_name}, startend op {startDate, date, long}.","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","components.payment_method_form.submit_button.label":"Betaalmethode opslaan","converted_amount_input.bounds.maximum":"Tot {maximum} {unit}","converted_amount_input.bounds.minimum":"Minstens {minimum} {unit}","converted_amount_input.bounds.range":"Tussen {minimum} en {maximum} {unit}","converted_amount_input.buys":"Levert ongeveer {credits} op","converted_amount_input.cost":"Kost {amount} exclusief belastingen","converted_amount_input.credits":"credits","customer.invoice_table.pay_invoice_button.label":"Betalen","customer.subscriptions_block.next_billing_date":"Volgende factuurdatum","customer.subscriptions_block.show_details_button_label":"Abonnementsdetails","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.title":"{count,plural,one{Betaalmethode} other{Betaalmethoden}}","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.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}}","empty_state.retry.button":"Vernieuwen",empty_value_placeholder:"-","enabled_pricings_list.item.price":"{amount} per {period}","enabled_pricings_list.item.upgrade_button.label":"Upgraden","enabled_pricings_list.title":"Upgrades","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_method_selector.add_payment_method":"Betaalmethode toevoegen","payment_method_selector.empty_state.title":"Geen betaalmethoden beschikbaar","payment_method_selector.no_payment_methods_available":"Er zijn geen beschikbare betaalmethoden. Neem contact op met de ondersteuning voor meer informatie.","payment_method_selector.title":"Betaalmethode","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.error":"We konden deze betaalmethode niet verwijderen. Probeer het opnieuw.","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.download_pdf":"Download de PDF voor een volledig overzicht","sdk.invoice_details.invoice.title":"Factuur","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.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_cancellation_modal.cancel.confirm_button.label":"Abonnement opzeggen","subscription_cancellation_modal.cancel.error":"We konden je abonnement niet opzeggen. Probeer het opnieuw.","subscription_cancellation_modal.cancel.explanation":"Je abonnement wordt opgezegd, maar je houdt toegang tot het einde van de factuurperiode.","subscription_cancellation_modal.cancel.explanation_with_date":"Je abonnement wordt opgezegd, maar je houdt toegang tot {date}.","subscription_cancellation_modal.cancel.title":"Abonnement opzeggen","subscription_cancellation_modal.cancel_button.label":"Annuleren","subscription_cancellation_modal.renew.confirm_button.label":"Abonnement verlengen","subscription_cancellation_modal.renew.error":"We konden je abonnement niet verlengen. Probeer het opnieuw.","subscription_cancellation_modal.renew.explanation":"Je abonnement loopt gewoon door en de facturatie hervat volgens het normale schema.","subscription_cancellation_modal.renew.explanation_with_date":"Je kunt je abonnement verlengen tot {date}. Daarna kun je alleen nog een nieuw abonnement afsluiten.","subscription_cancellation_modal.renew.title":"Abonnement verlengen","subscription_cancellation_modal.renews_label":"Verlengt op","subscription_details.cancel_button.label":"Abonnement opzeggen","subscription_details.cancel_success":"Je abonnement is opgezegd. Je houdt toegang tot het einde van de factuurperiode.","subscription_details.empty_state.message":"Dit abonnement is niet langer beschikbaar.","subscription_details.empty_state.title":"Abonnement niet gevonden","subscription_details.load_error":"Dit abonnement kon niet worden geladen. Probeer het later opnieuw.","subscription_details.renew_button.label":"Abonnement verlengen","subscription_details.renew_success":"Je abonnement is verlengd.","subscription_details.title":"Abonnementsdetails","subscription_management.done_button.label":"Klaar","subscription_management.kpi.encrypted_payments.label":"Veilige en versleutelde betalingen","subscription_management.order_summary.empty_state":"Selecteer items om de prijzen te zien.","subscription_management.order_summary.item_count":"{count} items","subscription_management.order_summary.one_off_label":"eenmalig","subscription_management.order_summary.selected_item_count":"{count} items","subscription_management.order_summary.selected_items_title":"Geselecteerde items","subscription_management.order_summary.subtotal_label":"Totaal exclusief belasting","subscription_management.order_summary.taxes_label":"Belasting","subscription_management.order_summary.title":"Besteloverzicht","subscription_management.order_summary.total_label":"Vandaag te betalen","subscription_management.payment_method_selector.label":"Betaalmethode","subscription_management.payment_picker.all_title":"Alle betaalmethoden","subscription_management.payment_picker.saved_title":"Opgeslagen betaalmethoden","subscription_management.pricing_row.add_button_label":"Aan winkelwagen toevoegen","subscription_management.pricing_row.one_off_label":"eenmalig","subscription_management.pricing_row.remove_button_label":"Verwijderen","subscription_management.success.message":"Je {subject} is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.","subscription_management.success.message_generic":"Je abonnement is gewijzigd. Houd er rekening mee dat het even kan duren voordat deze wijziging in je abonnement te zien is.","subscription_management.success.title":"Abonnement bijgewerkt","subscription_management.summary.empty_state":"Kies je plan om te zien wat het kost.","subscription_management.summary.error":"Het totaal kon niet worden berekend. Probeer het opnieuw.","subscription_management.summary.title":"Besteloverzicht","subscription_management.summary.total_due_heading":"Totaal te betalen","subscription_management.title":"{subject} beheren","subscription_management.title.default_subject":"abonnement","subscription_management.update_button.label":"Abonnement bijwerken","subscription_management.update_error":"Er is iets misgegaan. Probeer het opnieuw.","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.","topup_modal.add_payment_method.subtitle":"Voeg een nieuwe betaalmethode toe om je saldo op te waarderen.","topup_modal.add_payment_method.title":"Betaalmethode toevoegen","topup_modal.back_button.label":"Terug","topup_modal.cancel_button.label":"Annuleren","topup_modal.confirm_button.empty.label":"Saldo opwaarderen","topup_modal.confirm_button.label":"Saldo opwaarderen met {value}","topup_modal.done_button.label":"Klaar","topup_modal.flexible_option.bounds":"Tussen {minimum} en {maximum}","topup_modal.flexible_option.label":"Kies je eigen bedrag","topup_modal.invoice_preview.label":"Je betaalt","topup_modal.no_payment_methods_available_title":"Geen betaalmethoden beschikbaar","topup_modal.payment_method_required":"Kies een betaalmethode om deze opwaardering mee te betalen.","topup_modal.payment_method_selector.label":"Betaalmethode","topup_modal.pricing_items.label":"Selecteer opwaardeerbedrag","topup_modal.save_payment_method.label":"Betaalmethode opslaan","topup_modal.subscriptions.label":"Op te waarderen abonnement","topup_modal.subtitle":"Je huidige saldo is {balance}.","topup_modal.success.added":"Je saldo is opgewaardeerd met {value}. Houd er rekening mee dat het even kan duren voordat deze wijziging in je wallet te zien is.","topup_modal.success.modal_subtitle":"Je betaling is gelukt.","topup_modal.success.modal_title":"Opwaardering voltooid","topup_modal.success.receipt.heading":"Bon","topup_modal.success.title":"Top-up geslaagd","topup_modal.title":"Saldo opwaarderen","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}"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { d as withPagination } from "./vendor-ui-ItGf7wJV.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.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({
|
|
7
|
+
function setDefaultPaymentMethod({
|
|
8
|
+
paymentMethodId
|
|
9
|
+
}) {
|
|
8
10
|
return request({
|
|
9
11
|
url: `${config.apiUrls.config}${BASE_URL}/${paymentMethodId}`,
|
|
10
12
|
options: { method: "PATCH" },
|
|
11
13
|
data: { is_default: true }
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
|
-
function
|
|
16
|
+
function archivePaymentMethod({
|
|
17
|
+
paymentMethodId
|
|
18
|
+
}) {
|
|
19
|
+
return request({
|
|
20
|
+
url: `${config.apiUrls.config}${BASE_URL}/${paymentMethodId}`,
|
|
21
|
+
options: { method: "PATCH" },
|
|
22
|
+
data: { status: "ARCHIVED" }
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
async function getPaymentMethods({
|
|
15
26
|
customerId,
|
|
16
27
|
pagination,
|
|
17
28
|
query
|
|
@@ -33,10 +44,14 @@ function createPaymentMethodsService() {
|
|
|
33
44
|
}
|
|
34
45
|
url.searchParams.append(key, `${value}`);
|
|
35
46
|
});
|
|
36
|
-
|
|
47
|
+
const response = await request({
|
|
37
48
|
url: url.toString(),
|
|
38
49
|
isCollection: true
|
|
39
50
|
});
|
|
51
|
+
return {
|
|
52
|
+
...response,
|
|
53
|
+
data: (response.data ?? []).filter(({ status }) => status !== "ARCHIVED")
|
|
54
|
+
};
|
|
40
55
|
}
|
|
41
56
|
function getPaymentMethodOptions({
|
|
42
57
|
customerId,
|
|
@@ -63,6 +78,7 @@ function createPaymentMethodsService() {
|
|
|
63
78
|
});
|
|
64
79
|
}
|
|
65
80
|
return {
|
|
81
|
+
archivePaymentMethod,
|
|
66
82
|
getPaymentMethods,
|
|
67
83
|
getPaymentMethodOptions,
|
|
68
84
|
tokenizePaymentMethod,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("./vendor-ui-Dfh3_g4q.js"),e=require("./component-DIy1hvJM.js");exports.createPaymentMethodsService=function(){const n=e.createRequestService(),o=e.useConfig(),a="/portal/payment-methods";return{archivePaymentMethod:function({paymentMethodId:t}){return n({url:`${o.apiUrls.config}${a}/${t}`,options:{method:"PATCH"},data:{status:"ARCHIVED"}})},getPaymentMethods:async function({customerId:e,pagination:r,query:i}){const s=t.withPagination({customer_id:e,...i??{}},r),u=new URL(`${o.apiUrls.config}${a}`);Object.entries(s).forEach(([t,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{u.searchParams.append(`${t}[]`,`${e}`)}):u.searchParams.append(t,`${e}`))});const c=await n({url:u.toString(),isCollection:!0});return{...c,data:(c.data??[]).filter(({status:t})=>"ARCHIVED"!==t)}},getPaymentMethodOptions:function({customerId:t,country:e,subscriptionId:a,amount:r}){return n({url:`${o.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...e&&{country:e},...a&&{pricing_plan_subscription_id:a},amount:r}})},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}${a}/${t}`,options:{method:"PATCH"},data:{is_default:!0}})}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("./component-
|
|
1
|
+
const t=require("./component-DIy1hvJM.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})}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createRequestService, u as useConfig } from "./component
|
|
1
|
+
import { c as createRequestService, u as useConfig } from "./component--Y7Igv5i.mjs";
|
|
2
2
|
const BASE_URL = "/portal/payments";
|
|
3
3
|
const createPaymentsService = () => {
|
|
4
4
|
const request = createRequestService();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const n=require("./vendor-ui-
|
|
1
|
+
const n=require("./vendor-ui-Dfh3_g4q.js");exports.getAllPricingsFromScheduleInfos=function(n){return n.flatMap(n=>{var r;return(null==(r=n.pricing_plan_version.pricing_categories)?void 0:r.flatMap(n=>n.pricings??[]))??[]})},exports.getNameFromPricing=function(r){var i,e;return n.isEmpty(r.name)?null==(e=null==(i=r.products)?void 0:i[0])?void 0:e.name:r.name};
|
|
@@ -12,7 +12,9 @@ function getFirstPricingPlanScheduleOfType({
|
|
|
12
12
|
function getActiveDefaultScheduleId(subscriptions) {
|
|
13
13
|
var _a;
|
|
14
14
|
return (_a = getActiveDefaultScheduleInfo(
|
|
15
|
-
subscriptions.flatMap(
|
|
15
|
+
subscriptions.flatMap(
|
|
16
|
+
({ pricing_plan_schedule_infos }) => pricing_plan_schedule_infos ?? []
|
|
17
|
+
)
|
|
16
18
|
)) == null ? void 0 : _a.id;
|
|
17
19
|
}
|
|
18
20
|
const getStartAt = (scheduleInfo) => {
|
|
@@ -16,7 +16,7 @@ import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPayme
|
|
|
16
16
|
import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
|
|
17
17
|
import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
|
|
18
18
|
import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
|
|
19
|
-
import { g as getComponentName } from "./component
|
|
19
|
+
import { g as getComponentName } from "./component--Y7Igv5i.mjs";
|
|
20
20
|
const SCREEN_DEFINERS = {
|
|
21
21
|
"customer-overview": defineSolvimonCustomerOverview,
|
|
22
22
|
checkout: defineSolvimonCheckout,
|
|
@@ -1 +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/SubscriptionManagement/SubscriptionManagement.cjs.js"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs.js"),s=require("./screens/PayInvoice/PayInvoice.cjs.js"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js"),c=require("./components/Invoice/Invoice.cjs.js"),m=require("./components/InvoiceHeader/InvoiceHeader.cjs.js"),a=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),u=require("./components/InvoicesList/InvoicesList.cjs.js"),l=require("./components/PaymentHistory/PaymentHistory.cjs.js"),v=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),f=require("./components/WalletBalances/WalletBalances.cjs.js"),j=require("./components/BillingInformation/BillingInformation.cjs.js"),S=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),h=require("./component-
|
|
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/SubscriptionManagement/SubscriptionManagement.cjs.js"),t=require("./screens/SubscriptionDetails/SubscriptionDetails.cjs.js"),s=require("./screens/PayInvoice/PayInvoice.cjs.js"),r=require("./screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js"),c=require("./components/Invoice/Invoice.cjs.js"),m=require("./components/InvoiceHeader/InvoiceHeader.cjs.js"),a=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),u=require("./components/InvoicesList/InvoicesList.cjs.js"),l=require("./components/PaymentHistory/PaymentHistory.cjs.js"),v=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),f=require("./components/WalletBalances/WalletBalances.cjs.js"),j=require("./components/BillingInformation/BillingInformation.cjs.js"),S=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),h=require("./component-DIy1hvJM.js"),b={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"subscription-management":i.defineSolvimonSubscriptionManagement,"subscription-details":t.defineSolvimonSubscriptionDetails,"pay-invoice":s.defineSolvimonPayInvoice,"payment-methods-management":r.defineSolvimonPaymentMethodsManagement},y={invoice:c.defineSolvimonInvoice,"invoice-header":m.defineSolvimonInvoiceHeader,"invoice-details":a.defineSolvimonInvoiceDetails,"invoices-list":u.defineSolvimonInvoicesList,"payment-history":l.defineSolvimonPaymentHistory,"subscriptions-list":v.defineSolvimonSubscriptionsList,"subscription-schedules":d.defineSolvimonSubscriptionSchedules,"customer-payment-methods":p.defineSolvimonCustomerPaymentMethods,"wallet-balances":f.defineSolvimonWalletBalances,"billing-information":j.defineSolvimonBillingInformation,"billing-information-form":S.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function g(e,n){const o="screen"===n?(i=e,Object.hasOwn(b,i)&&b[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?b:y).join(", ")}.`);o()}function I(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,h.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 q(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function M(e,n){return{...e,...n}}const P=["customer-overview","checkout","subscription-management","subscription-details","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}=q(o);return I(i,n,"component",M(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=q(o);return I(i,n,"screen",M(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...w]},exports.getRegisteredScreenIds=function(){return[...P]};
|