@beterdichtbij/component-library 0.66.0-beta.0 → 0.66.0-beta.2
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.
|
@@ -1347,13 +1347,13 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
var ts = /\{([0-9a-zA-Z]+)\}/g;
|
|
1349
1349
|
function ns(e, ...t) {
|
|
1350
|
-
return t.length === 1 &&
|
|
1350
|
+
return t.length === 1 && ks(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ts, (e, n) => t.hasOwnProperty(n) ? t[n] : "");
|
|
1351
1351
|
}
|
|
1352
1352
|
var rs = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), is = (e, t, n) => as({
|
|
1353
1353
|
l: e,
|
|
1354
1354
|
k: t,
|
|
1355
1355
|
s: n
|
|
1356
|
-
}), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ss = (e) => typeof e == "number" && isFinite(e), cs = (e) =>
|
|
1356
|
+
}), as = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ss = (e) => typeof e == "number" && isFinite(e), cs = (e) => Ms(e) === "[object Date]", ls = (e) => Ms(e) === "[object RegExp]", us = (e) => B(e) && Object.keys(e).length === 0, ds = Object.assign, fs = Object.create, ps = (e = null) => fs(e), ms, hs = () => ms ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ps();
|
|
1357
1357
|
function gs(e) {
|
|
1358
1358
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
1359
1359
|
}
|
|
@@ -1394,7 +1394,7 @@ var ws = Object.prototype.hasOwnProperty;
|
|
|
1394
1394
|
function Ts(e, t) {
|
|
1395
1395
|
return ws.call(e, t);
|
|
1396
1396
|
}
|
|
1397
|
-
var Es = Array.isArray, Ds = (e) => typeof e == "function", z = (e) => typeof e == "string", Os = (e) => typeof e == "boolean",
|
|
1397
|
+
var Es = Array.isArray, Ds = (e) => typeof e == "function", z = (e) => typeof e == "string", Os = (e) => typeof e == "boolean", ks = (e) => typeof e == "object" && !!e, As = (e) => ks(e) && Ds(e.then) && Ds(e.catch), js = Object.prototype.toString, Ms = (e) => js.call(e), B = (e) => Ms(e) === "[object Object]", Ns = (e) => e == null ? "" : Es(e) || B(e) && e.toString === js ? JSON.stringify(e, null, 2) : String(e);
|
|
1398
1398
|
function Ps(e, t = "") {
|
|
1399
1399
|
return e.reduce((e, n, r) => r === 0 ? e + n : e + t + n, "");
|
|
1400
1400
|
}
|
|
@@ -1439,7 +1439,7 @@ function Ls() {
|
|
|
1439
1439
|
}
|
|
1440
1440
|
};
|
|
1441
1441
|
}
|
|
1442
|
-
var Rs = (e) => !
|
|
1442
|
+
var Rs = (e) => !ks(e) || Es(e);
|
|
1443
1443
|
function zs(e, t) {
|
|
1444
1444
|
if (Rs(e) || Rs(t)) throw Error("Invalid value");
|
|
1445
1445
|
let n = [{
|
|
@@ -1449,7 +1449,7 @@ function zs(e, t) {
|
|
|
1449
1449
|
for (; n.length;) {
|
|
1450
1450
|
let { src: e, des: t } = n.pop();
|
|
1451
1451
|
Object.keys(e).forEach((r) => {
|
|
1452
|
-
r !== "__proto__" && (
|
|
1452
|
+
r !== "__proto__" && (ks(e[r]) && !ks(t[r]) && (t[r] = Array.isArray(e[r]) ? [] : ps()), Rs(t[r]) || Rs(e[r]) ? t[r] = e[r] : n.push({
|
|
1453
1453
|
src: e[r],
|
|
1454
1454
|
des: t[r]
|
|
1455
1455
|
}));
|
|
@@ -2231,7 +2231,7 @@ function Dc() {
|
|
|
2231
2231
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (hs().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (hs().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
2232
2232
|
}
|
|
2233
2233
|
function Oc(e) {
|
|
2234
|
-
return
|
|
2234
|
+
return ks(e) && Rc(e) === 0 && (Ts(e, "b") || Ts(e, "body"));
|
|
2235
2235
|
}
|
|
2236
2236
|
var kc = ["b", "body"];
|
|
2237
2237
|
function Ac(e) {
|
|
@@ -2414,13 +2414,13 @@ function ml(e) {
|
|
|
2414
2414
|
if (e.resolvedOnce && pl != null) return pl;
|
|
2415
2415
|
if (e.constructor.name === "Function") {
|
|
2416
2416
|
let t = e();
|
|
2417
|
-
if (
|
|
2417
|
+
if (As(t)) throw ul(ll.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
2418
2418
|
return pl = t;
|
|
2419
2419
|
} else throw ul(ll.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
2420
2420
|
} else throw ul(ll.NOT_SUPPORT_LOCALE_TYPE);
|
|
2421
2421
|
}
|
|
2422
2422
|
function hl(e, t, n) {
|
|
2423
|
-
return [...new Set([n, ...Es(t) ? t :
|
|
2423
|
+
return [...new Set([n, ...Es(t) ? t : ks(t) ? Object.keys(t) : z(t) ? [t] : [n]])];
|
|
2424
2424
|
}
|
|
2425
2425
|
function gl(e, t, n) {
|
|
2426
2426
|
let r = z(n) ? n : Pl, i = e;
|
|
@@ -2430,7 +2430,7 @@ function gl(e, t, n) {
|
|
|
2430
2430
|
a = [];
|
|
2431
2431
|
let e = [n];
|
|
2432
2432
|
for (; Es(e);) e = _l(a, e, t);
|
|
2433
|
-
let o = Es(t) || !
|
|
2433
|
+
let o = Es(t) || !B(t) ? t : t.default ? t.default : null;
|
|
2434
2434
|
e = z(o) ? [o] : o, Es(e) && _l(a, e, !1), i.__localeChainCache.set(r, a);
|
|
2435
2435
|
}
|
|
2436
2436
|
return a;
|
|
@@ -2455,7 +2455,7 @@ function yl(e, t, n) {
|
|
|
2455
2455
|
if (!e.includes(t) && (r = !0, t)) {
|
|
2456
2456
|
r = t[t.length - 1] !== "!";
|
|
2457
2457
|
let i = t.replace(/!/g, "");
|
|
2458
|
-
e.push(i), (Es(n) ||
|
|
2458
|
+
e.push(i), (Es(n) || B(n)) && n[i] && (r = n[i]);
|
|
2459
2459
|
}
|
|
2460
2460
|
return r;
|
|
2461
2461
|
}
|
|
@@ -2556,16 +2556,16 @@ function El(e) {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
var Dl = /* @__PURE__ */ new Map();
|
|
2558
2558
|
function Ol(e, t) {
|
|
2559
|
-
return
|
|
2559
|
+
return ks(e) ? e[t] : null;
|
|
2560
2560
|
}
|
|
2561
2561
|
function kl(e, t) {
|
|
2562
|
-
if (!
|
|
2562
|
+
if (!ks(e)) return null;
|
|
2563
2563
|
let n = Dl.get(t);
|
|
2564
2564
|
if (n || (n = El(t), n && Dl.set(t, n)), !n) return null;
|
|
2565
2565
|
let r = n.length, i = e, a = 0;
|
|
2566
2566
|
for (; a < r;) {
|
|
2567
2567
|
let e = n[a];
|
|
2568
|
-
if (Kc.includes(e) && Oc(i) || !
|
|
2568
|
+
if (Kc.includes(e) && Oc(i) || !ks(i) || !Ts(i, e)) return null;
|
|
2569
2569
|
let t = i[e];
|
|
2570
2570
|
if (t === void 0 || Ds(i)) return null;
|
|
2571
2571
|
i = t, a++;
|
|
@@ -2599,9 +2599,9 @@ function Ml(e, ...t) {
|
|
|
2599
2599
|
var Nl = "11.4.5", Pl = "en-US", Fl = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
2600
2600
|
function Il() {
|
|
2601
2601
|
return {
|
|
2602
|
-
upper: (e, t) => t === "text" && z(e) ? e.toUpperCase() : t === "vnode" &&
|
|
2603
|
-
lower: (e, t) => t === "text" && z(e) ? e.toLowerCase() : t === "vnode" &&
|
|
2604
|
-
capitalize: (e, t) => t === "text" && z(e) ? Fl(e) : t === "vnode" &&
|
|
2602
|
+
upper: (e, t) => t === "text" && z(e) ? e.toUpperCase() : t === "vnode" && ks(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
2603
|
+
lower: (e, t) => t === "text" && z(e) ? e.toLowerCase() : t === "vnode" && ks(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
2604
|
+
capitalize: (e, t) => t === "text" && z(e) ? Fl(e) : t === "vnode" && ks(e) && "__v_isVNode" in e ? Fl(e.children) : e
|
|
2605
2605
|
};
|
|
2606
2606
|
}
|
|
2607
2607
|
var Ll;
|
|
@@ -2620,9 +2620,9 @@ var Ul = null, Wl = /* @__NO_SIDE_EFFECTS__ */ () => Ul, Gl = null, Kl = (e) =>
|
|
|
2620
2620
|
Gl = e;
|
|
2621
2621
|
}, ql = () => Gl, Jl = 0;
|
|
2622
2622
|
function Yl(e = {}) {
|
|
2623
|
-
let t = Ds(e.onWarn) ? e.onWarn : Yo, n = z(e.version) ? e.version : Nl, r = z(e.locale) || Ds(e.locale) ? e.locale : Pl, i = Ds(r) ? Pl : r, a = Es(e.fallbackLocale) ||
|
|
2623
|
+
let t = Ds(e.onWarn) ? e.onWarn : Yo, n = z(e.version) ? e.version : Nl, r = z(e.locale) || Ds(e.locale) ? e.locale : Pl, i = Ds(r) ? Pl : r, a = Es(e.fallbackLocale) || B(e.fallbackLocale) || z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, o = B(e.messages) ? e.messages : Xl(i), s = B(e.datetimeFormats) ? e.datetimeFormats : Xl(i), c = B(e.numberFormats) ? e.numberFormats : Xl(i), l = ds(ps(), e.modifiers, Il()), u = e.pluralRules || ps(), d = Ds(e.missing) ? e.missing : null, f = Os(e.missingWarn) || ls(e.missingWarn) ? e.missingWarn : !0, p = Os(e.fallbackWarn) || ls(e.fallbackWarn) ? e.fallbackWarn : !0, m = !!e.fallbackFormat, h = !!e.unresolving, g = Ds(e.postTranslation) ? e.postTranslation : null, _ = B(e.processor) ? e.processor : null, v = Os(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = Ds(e.messageCompiler) ? e.messageCompiler : Ll;
|
|
2624
2624
|
process.env.NODE_ENV !== "production" && Ds(e.messageCompiler) && Zo(Ml(Al.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
2625
|
-
let x = Ds(e.messageResolver) ? e.messageResolver : zl || Ol, S = Ds(e.localeFallbacker) ? e.localeFallbacker : Vl || hl, C =
|
|
2625
|
+
let x = Ds(e.messageResolver) ? e.messageResolver : zl || Ol, S = Ds(e.localeFallbacker) ? e.localeFallbacker : Vl || hl, C = ks(e.fallbackContext) ? e.fallbackContext : void 0, w = e, T = ks(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), E = ks(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), D = ks(w.__meta) ? w.__meta : {};
|
|
2626
2626
|
Jl++;
|
|
2627
2627
|
let O = {
|
|
2628
2628
|
version: n,
|
|
@@ -2717,10 +2717,10 @@ function au(e, ...t) {
|
|
|
2717
2717
|
groupId: `${S}:${c}`
|
|
2718
2718
|
});
|
|
2719
2719
|
}
|
|
2720
|
-
if (_ = n[v] || {}, y = _[c],
|
|
2720
|
+
if (_ = n[v] || {}, y = _[c], B(y)) break;
|
|
2721
2721
|
$l(e, c, v, f, S), b = x;
|
|
2722
2722
|
}
|
|
2723
|
-
if (!
|
|
2723
|
+
if (!B(y) || !z(v)) return r ? -1 : c;
|
|
2724
2724
|
let C = `${v}__${c}`;
|
|
2725
2725
|
us(d) || (C = `${C}__${JSON.stringify(d)}`);
|
|
2726
2726
|
let w = s.get(C);
|
|
@@ -2765,9 +2765,9 @@ function su(...e) {
|
|
|
2765
2765
|
s = t;
|
|
2766
2766
|
} else if (ss(t)) s = t;
|
|
2767
2767
|
else throw ul(ll.INVALID_ARGUMENT);
|
|
2768
|
-
return z(n) ? a.key = n :
|
|
2768
|
+
return z(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
|
|
2769
2769
|
ou.includes(e) ? o[e] = n[e] : a[e] = n[e];
|
|
2770
|
-
}), z(r) ? a.locale = r :
|
|
2770
|
+
}), z(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
|
|
2771
2771
|
a.key || "",
|
|
2772
2772
|
s,
|
|
2773
2773
|
a,
|
|
@@ -2805,10 +2805,10 @@ function lu(e, ...t) {
|
|
|
2805
2805
|
groupId: `${S}:${c}`
|
|
2806
2806
|
});
|
|
2807
2807
|
}
|
|
2808
|
-
if (_ = n[v] || {}, y = _[c],
|
|
2808
|
+
if (_ = n[v] || {}, y = _[c], B(y)) break;
|
|
2809
2809
|
$l(e, c, v, f, S), b = x;
|
|
2810
2810
|
}
|
|
2811
|
-
if (!
|
|
2811
|
+
if (!B(y) || !z(v)) return r ? -1 : c;
|
|
2812
2812
|
let C = `${v}__${c}`;
|
|
2813
2813
|
us(d) || (C = `${C}__${JSON.stringify(d)}`);
|
|
2814
2814
|
let w = s.get(C);
|
|
@@ -2840,9 +2840,9 @@ function du(...e) {
|
|
|
2840
2840
|
let [t, n, r, i] = e, a = ps(), o = ps();
|
|
2841
2841
|
if (!ss(t)) throw ul(ll.INVALID_ARGUMENT);
|
|
2842
2842
|
let s = t;
|
|
2843
|
-
return z(n) ? a.key = n :
|
|
2843
|
+
return z(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
|
|
2844
2844
|
uu.includes(e) ? o[e] = n[e] : a[e] = n[e];
|
|
2845
|
-
}), z(r) ? a.locale = r :
|
|
2845
|
+
}), z(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
|
|
2846
2846
|
a.key || "",
|
|
2847
2847
|
s,
|
|
2848
2848
|
a,
|
|
@@ -2869,7 +2869,7 @@ function bu(e = {}) {
|
|
|
2869
2869
|
ss(e.pluralIndex) && (c.count ||= e.pluralIndex, c.n ||= e.pluralIndex);
|
|
2870
2870
|
let l = (e) => c[e];
|
|
2871
2871
|
function u(t, n) {
|
|
2872
|
-
return (Ds(e.messages) ? e.messages(t, !!n) :
|
|
2872
|
+
return (Ds(e.messages) ? e.messages(t, !!n) : ks(e.messages) ? e.messages[t] : !1) || (e.parent ? e.parent.message(t) : mu);
|
|
2873
2873
|
}
|
|
2874
2874
|
let d = (t) => e.modifiers ? e.modifiers[t] : pu, f = Ds(e.processor?.normalize) ? e.processor.normalize : gu, p = Ds(e.processor?.interpolate) ? e.processor.interpolate : _u, m = {
|
|
2875
2875
|
list: s,
|
|
@@ -2877,7 +2877,7 @@ function bu(e = {}) {
|
|
|
2877
2877
|
plural: a,
|
|
2878
2878
|
linked: (e, ...t) => {
|
|
2879
2879
|
let [n, r] = t, i = "text", a = "";
|
|
2880
|
-
t.length === 1 ?
|
|
2880
|
+
t.length === 1 ? ks(n) ? (a = n.modifier || a, i = n.type || i) : z(n) && (a = n || a) : t.length === 2 && (z(n) && (a = n || a), z(r) && (i = r || i));
|
|
2881
2881
|
let o = u(e, !0)(m), s = o === "" || o === void 0 ? e : o, c = i === "vnode" && Es(s) && a ? s[0] : s;
|
|
2882
2882
|
return a ? d(a)(c, i) : c;
|
|
2883
2883
|
},
|
|
@@ -2918,7 +2918,7 @@ function Cu(e, ...t) {
|
|
|
2918
2918
|
return T;
|
|
2919
2919
|
}
|
|
2920
2920
|
function wu(e) {
|
|
2921
|
-
Es(e.list) ? e.list = e.list.map((e) => z(e) ? gs(e) : e) :
|
|
2921
|
+
Es(e.list) ? e.list = e.list.map((e) => z(e) ? gs(e) : e) : ks(e.named) && Object.keys(e.named).forEach((t) => {
|
|
2922
2922
|
z(e.named[t]) && (e.named[t] = gs(e.named[t]));
|
|
2923
2923
|
});
|
|
2924
2924
|
}
|
|
@@ -3004,7 +3004,7 @@ function Ou(...e) {
|
|
|
3004
3004
|
let [t, n, r] = e, i = ps();
|
|
3005
3005
|
if (!z(t) && !ss(t) && !Su(t) && !Oc(t)) throw ul(ll.INVALID_ARGUMENT);
|
|
3006
3006
|
let a = ss(t) ? String(t) : (Su(t), t);
|
|
3007
|
-
return ss(n) ? i.plural = n : z(n) ? i.default = n :
|
|
3007
|
+
return ss(n) ? i.plural = n : z(n) ? i.default = n : B(n) && !us(n) ? i.named = n : Es(n) && (i.list = n), ss(r) ? i.plural = r : z(r) ? i.default = r : B(r) && ds(i, r), [a, i];
|
|
3008
3008
|
}
|
|
3009
3009
|
function ku(e, t, n, r, i, a) {
|
|
3010
3010
|
return {
|
|
@@ -3193,13 +3193,13 @@ function id(e, ...t) {
|
|
|
3193
3193
|
return ns(rd[e], ...t);
|
|
3194
3194
|
}
|
|
3195
3195
|
function ad(e) {
|
|
3196
|
-
if (!
|
|
3197
|
-
for (let t in e) if (Ts(e, t)) if (!t.includes("."))
|
|
3196
|
+
if (!ks(e) || Oc(e)) return e;
|
|
3197
|
+
for (let t in e) if (Ts(e, t)) if (!t.includes(".")) ks(e[t]) && ad(e[t]);
|
|
3198
3198
|
else {
|
|
3199
3199
|
let n = t.split("."), r = n.length - 1, i = e, a = !1;
|
|
3200
3200
|
for (let e = 0; e < r; e++) {
|
|
3201
3201
|
if (n[e] === "__proto__") throw Error(`unsafe key: ${n[e]}`);
|
|
3202
|
-
if (n[e] in i || (i[n[e]] = ps()), !
|
|
3202
|
+
if (n[e] in i || (i[n[e]] = ps()), !ks(i[n[e]])) {
|
|
3203
3203
|
process.env.NODE_ENV !== "production" && Yo(id(nd.IGNORE_OBJ_FLATTEN, { key: n[e] })), a = !0;
|
|
3204
3204
|
break;
|
|
3205
3205
|
}
|
|
@@ -3207,13 +3207,13 @@ function ad(e) {
|
|
|
3207
3207
|
}
|
|
3208
3208
|
if (a || (Oc(i) ? Kc.includes(n[r]) || delete e[t] : (i[n[r]] = e[t], delete e[t])), !Oc(i)) {
|
|
3209
3209
|
let e = i[n[r]];
|
|
3210
|
-
|
|
3210
|
+
ks(e) && ad(e);
|
|
3211
3211
|
}
|
|
3212
3212
|
}
|
|
3213
3213
|
return e;
|
|
3214
3214
|
}
|
|
3215
3215
|
function od(e, t) {
|
|
3216
|
-
let { messages: n, __i18n: r, messageResolver: i, flatJson: a } = t, o =
|
|
3216
|
+
let { messages: n, __i18n: r, messageResolver: i, flatJson: a } = t, o = B(n) ? n : Es(r) ? ps() : { [e]: ps() };
|
|
3217
3217
|
if (Es(r) && r.forEach((e) => {
|
|
3218
3218
|
if ("locale" in e && "resource" in e) {
|
|
3219
3219
|
let { locale: t, resource: n } = e;
|
|
@@ -3226,7 +3226,7 @@ function sd(e) {
|
|
|
3226
3226
|
return e.type;
|
|
3227
3227
|
}
|
|
3228
3228
|
function cd(e, t, n) {
|
|
3229
|
-
let r =
|
|
3229
|
+
let r = ks(t.messages) ? t.messages : ps();
|
|
3230
3230
|
"__i18nGlobal" in n && (r = od(e.locale.value, {
|
|
3231
3231
|
messages: r,
|
|
3232
3232
|
__i18n: n.__i18nGlobal
|
|
@@ -3234,13 +3234,13 @@ function cd(e, t, n) {
|
|
|
3234
3234
|
let i = Object.keys(r);
|
|
3235
3235
|
if (i.length && i.forEach((t) => {
|
|
3236
3236
|
e.mergeLocaleMessage(t, r[t]);
|
|
3237
|
-
}),
|
|
3237
|
+
}), ks(t.datetimeFormats)) {
|
|
3238
3238
|
let n = Object.keys(t.datetimeFormats);
|
|
3239
3239
|
n.length && n.forEach((n) => {
|
|
3240
3240
|
e.mergeDateTimeFormat(n, t.datetimeFormats[n]);
|
|
3241
3241
|
});
|
|
3242
3242
|
}
|
|
3243
|
-
if (
|
|
3243
|
+
if (ks(t.numberFormats)) {
|
|
3244
3244
|
let n = Object.keys(t.numberFormats);
|
|
3245
3245
|
n.length && n.forEach((n) => {
|
|
3246
3246
|
e.mergeNumberFormat(n, t.numberFormats[n]);
|
|
@@ -3259,7 +3259,7 @@ function md(e) {
|
|
|
3259
3259
|
return ((t, n, r, i) => e(n, r, ud() || void 0, i));
|
|
3260
3260
|
}
|
|
3261
3261
|
function hd(e = {}) {
|
|
3262
|
-
let { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, o = Qo ? j : ue, s = Os(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : z(e.locale) ? e.locale : Pl), l = o(t && s ? t.fallbackLocale.value : z(e.fallbackLocale) || Es(e.fallbackLocale) ||
|
|
3262
|
+
let { __root: t, __injectWithOption: n } = e, r = t === void 0, i = e.flatJson, o = Qo ? j : ue, s = Os(e.inheritLocale) ? e.inheritLocale : !0, c = o(t && s ? t.locale.value : z(e.locale) ? e.locale : Pl), l = o(t && s ? t.fallbackLocale.value : z(e.fallbackLocale) || Es(e.fallbackLocale) || B(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value), u = o(od(c.value, e)), d = o(B(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), f = o(B(e.numberFormats) ? e.numberFormats : { [c.value]: {} }), p = t ? t.missingWarn : Os(e.missingWarn) || ls(e.missingWarn) ? e.missingWarn : !0, m = t ? t.fallbackWarn : Os(e.fallbackWarn) || ls(e.fallbackWarn) ? e.fallbackWarn : !0, h = t ? t.fallbackRoot : Os(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, _ = Ds(e.missing) ? e.missing : null, v = Ds(e.missing) ? md(e.missing) : null, y = Ds(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : Os(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, x = !!e.escapeParameter, S = t ? t.modifiers : B(e.modifiers) ? e.modifiers : {}, C = e.pluralRules || t && t.pluralRules, w;
|
|
3263
3263
|
w = (() => {
|
|
3264
3264
|
r && Kl(null);
|
|
3265
3265
|
let t = {
|
|
@@ -3281,7 +3281,7 @@ function hd(e = {}) {
|
|
|
3281
3281
|
messageCompiler: e.messageCompiler,
|
|
3282
3282
|
__meta: { framework: "vue" }
|
|
3283
3283
|
};
|
|
3284
|
-
t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters =
|
|
3284
|
+
t.datetimeFormats = d.value, t.numberFormats = f.value, t.__datetimeFormatters = B(w) ? w.__datetimeFormatters : void 0, t.__numberFormatters = B(w) ? w.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (t.__v_emitter = B(w) ? w.__v_emitter : void 0);
|
|
3285
3285
|
let n = Yl(t);
|
|
3286
3286
|
return r && Kl(n), n;
|
|
3287
3287
|
})(), eu(w, c.value, l.value);
|
|
@@ -3353,7 +3353,7 @@ function hd(e = {}) {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
function M(...e) {
|
|
3355
3355
|
let [t, n, r] = e;
|
|
3356
|
-
if (r && !
|
|
3356
|
+
if (r && !ks(r)) throw Ku(Gu.INVALID_ARGUMENT);
|
|
3357
3357
|
return oe(t, n, ds({ resolvedMessage: !0 }, r || {}));
|
|
3358
3358
|
}
|
|
3359
3359
|
function N(...e) {
|
|
@@ -3641,7 +3641,7 @@ function Td(e) {
|
|
|
3641
3641
|
let t = {};
|
|
3642
3642
|
return Object.keys(e).forEach((n) => {
|
|
3643
3643
|
let r = e[n];
|
|
3644
|
-
Ds(r) && "source" in r ? t[n] = kd(r) : Oc(r) && r.loc && r.loc.source ? t[n] = r.loc.source :
|
|
3644
|
+
Ds(r) && "source" in r ? t[n] = kd(r) : Oc(r) && r.loc && r.loc.source ? t[n] = r.loc.source : ks(r) ? t[n] = Td(r) : t[n] = r;
|
|
3645
3645
|
}), t;
|
|
3646
3646
|
}
|
|
3647
3647
|
var Ed = {
|
|
@@ -3770,12 +3770,12 @@ function Id(e, t) {
|
|
|
3770
3770
|
let n = Md(e.nodeId, t);
|
|
3771
3771
|
if (n) {
|
|
3772
3772
|
let [t] = e.path;
|
|
3773
|
-
t === "locale" && z(e.state.value) ? n.locale.value = e.state.value : t === "fallbackLocale" && (z(e.state.value) || Es(e.state.value) ||
|
|
3773
|
+
t === "locale" && z(e.state.value) ? n.locale.value = e.state.value : t === "fallbackLocale" && (z(e.state.value) || Es(e.state.value) || ks(e.state.value)) ? n.fallbackLocale.value = e.state.value : t === "inheritLocale" && Os(e.state.value) && (n.inheritLocale = e.state.value);
|
|
3774
3774
|
}
|
|
3775
3775
|
}
|
|
3776
3776
|
function Ld(e) {
|
|
3777
|
-
let t = z(e.locale) ? e.locale : Pl, n = z(e.fallbackLocale) || Es(e.fallbackLocale) ||
|
|
3778
|
-
if (
|
|
3777
|
+
let t = z(e.locale) ? e.locale : Pl, n = z(e.fallbackLocale) || Es(e.fallbackLocale) || B(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = Ds(e.missing) ? e.missing : void 0, i = Os(e.silentTranslationWarn) || ls(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, a = Os(e.silentFallbackWarn) || ls(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = Os(e.fallbackRoot) ? e.fallbackRoot : !0, s = !!e.formatFallbackMessages, c = B(e.modifiers) ? e.modifiers : {}, l = e.pluralizationRules, u = Ds(e.postTranslation) ? e.postTranslation : void 0, d = z(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, p = Os(e.sync) ? e.sync : !0, m = e.messages;
|
|
3778
|
+
if (B(e.sharedMessages)) {
|
|
3779
3779
|
let t = e.sharedMessages;
|
|
3780
3780
|
m = Object.keys(t).reduce((e, n) => (ds(e[n] || (e[n] = {}), t[n]), e), m || {});
|
|
3781
3781
|
}
|
|
@@ -4039,8 +4039,8 @@ var Wd = /* @__PURE__ */ g({
|
|
|
4039
4039
|
e.locale && (a.locale = e.locale), e.plural !== void 0 && (a.plural = z(e.plural) ? +e.plural : e.plural);
|
|
4040
4040
|
let o = Hd(t, r);
|
|
4041
4041
|
return i[Ju](e.keypath, o, a);
|
|
4042
|
-
}, o = ds(ps(), r), s = z(e.tag) ||
|
|
4043
|
-
return
|
|
4042
|
+
}, o = ds(ps(), r), s = z(e.tag) || ks(e.tag) ? e.tag : Ud();
|
|
4043
|
+
return ks(s) ? x(s, o, { default: a }) : x(s, o, a());
|
|
4044
4044
|
};
|
|
4045
4045
|
}
|
|
4046
4046
|
});
|
|
@@ -4052,7 +4052,7 @@ function Kd(e, t, n, r) {
|
|
|
4052
4052
|
return () => {
|
|
4053
4053
|
let t = () => {
|
|
4054
4054
|
let t = { part: !0 }, a = ps();
|
|
4055
|
-
e.locale && (t.locale = e.locale), z(e.format) ? t.key = e.format :
|
|
4055
|
+
e.locale && (t.locale = e.locale), z(e.format) ? t.key = e.format : ks(e.format) && (z(e.format.key) && (t.key = e.format.key), a = Object.keys(e.format).reduce((t, r) => n.includes(r) ? ds(ps(), t, { [r]: e.format[r] }) : t, ps()));
|
|
4056
4056
|
let o = r(e.value, t, a), s = [t.key];
|
|
4057
4057
|
return Es(o) ? s = o.map((e, t) => {
|
|
4058
4058
|
let n = i[e.type], r = n ? n({
|
|
@@ -4062,8 +4062,8 @@ function Kd(e, t, n, r) {
|
|
|
4062
4062
|
}) : [e.value];
|
|
4063
4063
|
return Gd(r) && (r[0].key = `${e.type}-${t}`), r;
|
|
4064
4064
|
}) : z(o) && (s = [o]), s;
|
|
4065
|
-
}, o = ds(ps(), a), s = z(e.tag) ||
|
|
4066
|
-
return
|
|
4065
|
+
}, o = ds(ps(), a), s = z(e.tag) || ks(e.tag) ? e.tag : Ud();
|
|
4066
|
+
return ks(s) ? x(s, o, { default: t }) : x(s, o, t());
|
|
4067
4067
|
};
|
|
4068
4068
|
}
|
|
4069
4069
|
var qd = /* @__PURE__ */ g({
|
|
@@ -4124,7 +4124,7 @@ function Yd(e) {
|
|
|
4124
4124
|
}
|
|
4125
4125
|
function Xd(e) {
|
|
4126
4126
|
if (z(e)) return { path: e };
|
|
4127
|
-
if (
|
|
4127
|
+
if (B(e)) {
|
|
4128
4128
|
if (!("path" in e)) throw Ku(Gu.REQUIRED_VALUE, "path");
|
|
4129
4129
|
return e;
|
|
4130
4130
|
} else throw Ku(Gu.INVALID_VALUE);
|
|
@@ -4138,7 +4138,7 @@ function Zd(e) {
|
|
|
4138
4138
|
];
|
|
4139
4139
|
}
|
|
4140
4140
|
function Qd(e, t, ...n) {
|
|
4141
|
-
let r =
|
|
4141
|
+
let r = B(n[0]) ? n[0] : {};
|
|
4142
4142
|
(!Os(r.globalInstall) || r.globalInstall) && ([Wd.name, "I18nT"].forEach((t) => e.component(t, Wd)), [qd.name, "I18nN"].forEach((t) => e.component(t, qd)), [pf.name, "I18nD"].forEach((t) => e.component(t, pf))), e.directive("t", Yd(t));
|
|
4143
4143
|
}
|
|
4144
4144
|
var $d = /* #__PURE__*/ rs("global-vue-i18n");
|
|
@@ -4160,7 +4160,7 @@ function ef(e = {}) {
|
|
|
4160
4160
|
return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
|
|
4161
4161
|
},
|
|
4162
4162
|
async install(e, ...r) {
|
|
4163
|
-
if (process.env.NODE_ENV !== "production" && (e.__VUE_I18N__ = u), e.__VUE_I18N_SYMBOL__ = o, e.provide(e.__VUE_I18N_SYMBOL__, u),
|
|
4163
|
+
if (process.env.NODE_ENV !== "production" && (e.__VUE_I18N__ = u), e.__VUE_I18N_SYMBOL__ = o, e.provide(e.__VUE_I18N_SYMBOL__, u), B(r[0])) {
|
|
4164
4164
|
let e = r[0];
|
|
4165
4165
|
u.__composerExtend = e.__composerExtend, u.__vueI18nExtend = e.__vueI18nExtend;
|
|
4166
4166
|
}
|
|
@@ -9536,14 +9536,11 @@ var T_ = [
|
|
|
9536
9536
|
},
|
|
9537
9537
|
setup(e) {
|
|
9538
9538
|
let t = e, n = a(() => t.stopAnimation ? "bd-loader--static" : ""), r = a(() => t.isColleague ? "bd-loader--colleague" : "");
|
|
9539
|
-
return (t, i) => {
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
r.value
|
|
9545
|
-
]]) }, [u("div", iv, [m(a), u("div", av, [u("span", ov, P(e.message), 1)])]), e.message ? (A(), l("p", sv, [u("b", null, P(e.message), 1)])) : c("", !0)], 2);
|
|
9546
|
-
};
|
|
9539
|
+
return (t, i) => (A(), l("div", { class: O(["bd-loader text-center", [
|
|
9540
|
+
e.size,
|
|
9541
|
+
n.value,
|
|
9542
|
+
r.value
|
|
9543
|
+
]]) }, [u("div", iv, [m(po), u("div", av, [u("span", ov, P(e.message), 1)])]), e.message ? (A(), l("p", sv, [u("b", null, P(e.message), 1)])) : c("", !0)], 2));
|
|
9547
9544
|
}
|
|
9548
9545
|
}, lv = {};
|
|
9549
9546
|
function uv(e, t) {
|
|
@@ -11500,6 +11497,32 @@ var Lb = {
|
|
|
11500
11497
|
cameraPermissionMissing: "Je hebt geen toestemming gegeven voor gebruik van de camera door BeterDichtbij.",
|
|
11501
11498
|
microphonePermissionMissing: "Je hebt geen toestemming gegeven voor gebruik van de microfoon door BeterDichtbij.",
|
|
11502
11499
|
helpMessage: "om te controleren of je camera en microfoon goed werken."
|
|
11500
|
+
},
|
|
11501
|
+
videoCallTemplate: {
|
|
11502
|
+
fullScreen: "Volledig scherm",
|
|
11503
|
+
miniPlayer: "Mini player",
|
|
11504
|
+
shareScreen: "Scherm delen",
|
|
11505
|
+
stopSharingScreen: "Stop scherm delen",
|
|
11506
|
+
signalStrength: {
|
|
11507
|
+
weak: "Zwak signaal",
|
|
11508
|
+
steady: "Matig signaal",
|
|
11509
|
+
strong: "Sterk signaal"
|
|
11510
|
+
},
|
|
11511
|
+
serviceDesk: "Servicedesk",
|
|
11512
|
+
testCall: "Doe de beeldbeltest",
|
|
11513
|
+
endCall: "Gesprek beëindigen",
|
|
11514
|
+
placeholderSettingsHelpTitle: "Problemen met de verbinding?",
|
|
11515
|
+
placeholderSettingsHelpMessage: "Sluit het gesprek en probeer opnieuw te bellen.",
|
|
11516
|
+
messageWhenVideoCallHangedUp: "Er is opgehangen.",
|
|
11517
|
+
messageWhenVideoCallDeclined: "Er kon op dit moment niet worden opgenomen.",
|
|
11518
|
+
messageWhenDevicePermissionDenied: "Er kan geen gesprek worden gestart",
|
|
11519
|
+
permissionDeniedForVideo: "Geen toegang beschikbaar tot de camera",
|
|
11520
|
+
permissionDeniedForAudio: "Er is geen toegang beschikbaar tot uw microfoon",
|
|
11521
|
+
closeWindow: "Venster sluiten",
|
|
11522
|
+
switchCamera: "Wissel camera",
|
|
11523
|
+
hasNoAvailableCamera: "Er is geen camera beschikbaar.",
|
|
11524
|
+
hasOneAvailableCamera: "Er is één camera beschikbaar.",
|
|
11525
|
+
hasMultipleAvailableCameras: "Er zijn meerdere camera's beschikbaar."
|
|
11503
11526
|
}
|
|
11504
11527
|
}, zb = ef({
|
|
11505
11528
|
legacy: !1,
|
|
@@ -32128,7 +32151,7 @@ var vZ = { class: "video-call-template" }, yZ = {
|
|
|
32128
32151
|
"end-call"
|
|
32129
32152
|
],
|
|
32130
32153
|
setup(e, { expose: n, emit: r }) {
|
|
32131
|
-
let i = e, o = r, { tm: d } = tf(), f = j([]), h = navigator.userAgent.indexOf("Firefox") > -1, g = a(() => d("
|
|
32154
|
+
let i = e, o = r, { tm: d } = tf(), f = j([]), h = navigator.userAgent.indexOf("Firefox") > -1, g = a(() => d("videoCallTemplate")), _ = j(!1), v = j(!1), y = j(!1), b = j(2), x = j({}), S = j(BZ), C = j(null), T = ie({
|
|
32132
32155
|
client: null,
|
|
32133
32156
|
agent: null,
|
|
32134
32157
|
deviceManager: null,
|