@embeddable.com/remarkable-pro 0.0.8 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BarChartDefaultHorizontalPro.js +3 -3
- package/dist/BarChartDefaultPro.js +3 -3
- package/dist/BarChartGroupedHorizontalPro.js +3 -3
- package/dist/BarChartGroupedPro.js +3 -3
- package/dist/BarChartStackedHorizontalPro.js +3 -3
- package/dist/BarChartStackedPro.js +3 -3
- package/dist/ChartCard-uZBftDKk.js +124 -0
- package/dist/ChartCard-uZBftDKk.js.map +1 -0
- package/dist/{Color.type.emb-CWTlQmpX.js → Color.type.emb-BPT7WKyR.js} +2 -2
- package/dist/{Color.type.emb-CWTlQmpX.js.map → Color.type.emb-BPT7WKyR.js.map} +1 -1
- package/dist/ColorEditor.js +2 -2
- package/dist/{ComparisonPeriod.type.emb-A4w1cgoZ.js → ComparisonPeriod.type.emb-Bq4r1RbE.js} +2 -2
- package/dist/{ComparisonPeriod.type.emb-A4w1cgoZ.js.map → ComparisonPeriod.type.emb-Bq4r1RbE.js.map} +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +4 -4
- package/dist/DateRangeSelectFieldPro.js +3 -3
- package/dist/DonutChartPro.js +3 -3
- package/dist/DonutLabelChartPro.js +3 -3
- package/dist/{EditorCard-BZ9OPW3m.js → EditorCard-B95YC3pz.js} +3 -3
- package/dist/{EditorCard-BZ9OPW3m.js.map → EditorCard-B95YC3pz.js.map} +1 -1
- package/dist/HeatMapPro.js +4 -4
- package/dist/KpiChartNumberComparisonPro.js +14 -14
- package/dist/KpiChartNumberComparisonPro.js.map +1 -1
- package/dist/KpiChartNumberPro.js +3 -3
- package/dist/LineChartComparisonDefaultPro.js +5 -5
- package/dist/LineChartDefaultPro.js +4 -4
- package/dist/LineChartGroupedPro.js +3 -3
- package/dist/MultiSelectFieldPro.js +3 -3
- package/dist/PieChartPro.js +3 -3
- package/dist/PivotTablePro.js +3 -3
- package/dist/SingleSelectFieldPro.js +3 -3
- package/dist/TableChartPaginated.js +3 -3
- package/dist/{bars.utils-wDaeYsgx.js → bars.utils-BHrcAtuH.js} +4 -4
- package/dist/{bars.utils-wDaeYsgx.js.map → bars.utils-BHrcAtuH.js.map} +1 -1
- package/dist/{charts.utils-DvG9esg1.js → charts.utils-DtFuEHDp.js} +23 -15
- package/dist/charts.utils-DtFuEHDp.js.map +1 -0
- package/dist/{component.constants-Dhb2rtRh.js → component.constants-DmK3uQGY.js} +78 -78
- package/dist/component.constants-DmK3uQGY.js.map +1 -0
- package/dist/components/charts/kpis/KpiChartNumberComparisonPro/index.d.ts.map +1 -1
- package/dist/components/charts/shared/ChartCard/ChartCard.d.ts +0 -1
- package/dist/components/charts/shared/ChartCard/ChartCard.d.ts.map +1 -1
- package/dist/embeddable-components.json +11 -11
- package/dist/embeddable-theme-0137e.js +20 -12
- package/dist/embeddable-types.js.map +1 -1
- package/dist/{formatter.utils-Bdp9Y-Lv.js → formatter.utils-DCDukEZ9.js} +2 -2
- package/dist/{formatter.utils-Bdp9Y-Lv.js.map → formatter.utils-DCDukEZ9.js.map} +1 -1
- package/dist/{index-BNMJTgo_.js → index-B92AHN8Y.js} +5 -5
- package/dist/{index-BNMJTgo_.js.map → index-B92AHN8Y.js.map} +1 -1
- package/dist/{index-YDGm7Lqn.js → index-BEM0olHp.js} +5 -5
- package/dist/{index-YDGm7Lqn.js.map → index-BEM0olHp.js.map} +1 -1
- package/dist/{index-CIrFPmqW.js → index-Bk1YIZZf.js} +5 -5
- package/dist/{index-CIrFPmqW.js.map → index-Bk1YIZZf.js.map} +1 -1
- package/dist/{index-cy3SJfGM.js → index-BuBPj3by.js} +5 -5
- package/dist/{index-cy3SJfGM.js.map → index-BuBPj3by.js.map} +1 -1
- package/dist/{index-xD9YxZRB.js → index-C23J5jXR.js} +5 -5
- package/dist/{index-xD9YxZRB.js.map → index-C23J5jXR.js.map} +1 -1
- package/dist/{index-CLN53xva.js → index-C6oyYlMu.js} +17 -17
- package/dist/index-C6oyYlMu.js.map +1 -0
- package/dist/{index-DyLLyX5j.js → index-C7mz7pKQ.js} +5 -5
- package/dist/{index-DyLLyX5j.js.map → index-C7mz7pKQ.js.map} +1 -1
- package/dist/{index-CGOYyhMg.js → index-CFoVL8LS.js} +6 -6
- package/dist/{index-CGOYyhMg.js.map → index-CFoVL8LS.js.map} +1 -1
- package/dist/{index-BSWbd7z_.js → index-CbWn6WMr.js} +5 -5
- package/dist/{index-BSWbd7z_.js.map → index-CbWn6WMr.js.map} +1 -1
- package/dist/index-Cj6xdAWZ.js +84 -0
- package/dist/{index-Dj2GCs_C.js.map → index-Cj6xdAWZ.js.map} +1 -1
- package/dist/{index-lk-Z0NGN.js → index-CmYz5k0C.js} +5 -5
- package/dist/{index-lk-Z0NGN.js.map → index-CmYz5k0C.js.map} +1 -1
- package/dist/{index-BANAOc5o.js → index-DSk9EA7t.js} +5 -5
- package/dist/{index-BANAOc5o.js.map → index-DSk9EA7t.js.map} +1 -1
- package/dist/{index-Ci7quilT.js → index-D_-Nl-64.js} +6 -6
- package/dist/{index-Ci7quilT.js.map → index-D_-Nl-64.js.map} +1 -1
- package/dist/{index-BFslD2mO.js → index-Dbg-T-ST.js} +5 -5
- package/dist/{index-BFslD2mO.js.map → index-Dbg-T-ST.js.map} +1 -1
- package/dist/{index-BzzDZ7Wg.js → index-Dfh1KgI5.js} +5 -5
- package/dist/{index-BzzDZ7Wg.js.map → index-Dfh1KgI5.js.map} +1 -1
- package/dist/{index-CK9V-wz1.js → index-DjwSlZQY.js} +3823 -3588
- package/dist/index-DjwSlZQY.js.map +1 -0
- package/dist/{index-DsuuGokg.js → index-GhU7CFw0.js} +5 -5
- package/dist/{index-DsuuGokg.js.map → index-GhU7CFw0.js.map} +1 -1
- package/dist/{index-D4L5OYNQ.js → index-O8I3E36E.js} +5 -5
- package/dist/{index-D4L5OYNQ.js.map → index-O8I3E36E.js.map} +1 -1
- package/dist/{index-CC_OkY5h.js → index-SIEfd0gp.js} +5 -5
- package/dist/{index-CC_OkY5h.js.map → index-SIEfd0gp.js.map} +1 -1
- package/dist/{index-DfMuZY6D.js → index-jqEl3LLC.js} +5 -5
- package/dist/{index-DfMuZY6D.js.map → index-jqEl3LLC.js.map} +1 -1
- package/dist/{index-B7H0xf_l.js → index-mp4eyizO.js} +5 -5
- package/dist/{index-B7H0xf_l.js.map → index-mp4eyizO.js.map} +1 -1
- package/dist/{index-CVTxkwt-.js → index-sJkPi8Q_.js} +5 -5
- package/dist/{index-CVTxkwt-.js.map → index-sJkPi8Q_.js.map} +1 -1
- package/dist/index.js +29 -29
- package/dist/{pies.utils-eND-eqpj.js → pies.utils-Zw1lwwC4.js} +5 -5
- package/dist/{pies.utils-eND-eqpj.js.map → pies.utils-Zw1lwwC4.js.map} +1 -1
- package/dist/remarkable-pro.css +1 -1
- package/dist/theme/i18n/translations/de.d.ts.map +1 -1
- package/dist/theme/i18n/translations/en.d.ts.map +1 -1
- package/dist/{timeRange.utils-DLTzyLvc.js → timeRange.utils-C96Hp2HD.js} +2 -2
- package/dist/{timeRange.utils-DLTzyLvc.js.map → timeRange.utils-C96Hp2HD.js.map} +1 -1
- package/package.json +6 -6
- package/dist/ChartCard-DbWy6Y6D.js +0 -127
- package/dist/ChartCard-DbWy6Y6D.js.map +0 -1
- package/dist/charts.utils-DvG9esg1.js.map +0 -1
- package/dist/component.constants-Dhb2rtRh.js.map +0 -1
- package/dist/index-CK9V-wz1.js.map +0 -1
- package/dist/index-CLN53xva.js.map +0 -1
- package/dist/index-Dj2GCs_C.js +0 -82
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as Ae, d as De, b as te } from "./index-
|
|
2
|
-
const
|
|
1
|
+
import { s as Ae, d as De, b as te } from "./index-DjwSlZQY.js";
|
|
2
|
+
const p = (r) => typeof r == "string", M = () => {
|
|
3
3
|
let r, e;
|
|
4
4
|
const t = new Promise((i, s) => {
|
|
5
5
|
r = i, e = s;
|
|
@@ -9,8 +9,8 @@ const g = (r) => typeof r == "string", M = () => {
|
|
|
9
9
|
r.forEach((i) => {
|
|
10
10
|
e[i] && (t[i] = e[i]);
|
|
11
11
|
});
|
|
12
|
-
}, Fe = /###/g, oe = (r) => r && r.indexOf("###") > -1 ? r.replace(Fe, ".") : r, le = (r) => !r ||
|
|
13
|
-
const i =
|
|
12
|
+
}, Fe = /###/g, oe = (r) => r && r.indexOf("###") > -1 ? r.replace(Fe, ".") : r, le = (r) => !r || p(r), K = (r, e, t) => {
|
|
13
|
+
const i = p(e) ? e.split(".") : e;
|
|
14
14
|
let s = 0;
|
|
15
15
|
for (; s < i.length - 1; ) {
|
|
16
16
|
if (le(r)) return {};
|
|
@@ -52,7 +52,7 @@ const g = (r) => typeof r == "string", M = () => {
|
|
|
52
52
|
return i !== void 0 ? i : Y(e, t);
|
|
53
53
|
}, Se = (r, e, t) => {
|
|
54
54
|
for (const i in e)
|
|
55
|
-
i !== "__proto__" && i !== "constructor" && (i in r ?
|
|
55
|
+
i !== "__proto__" && i !== "constructor" && (i in r ? p(r[i]) || r[i] instanceof String || p(e[i]) || e[i] instanceof String ? t && (r[i] = e[i]) : Se(r[i], e[i], t) : r[i] = e[i]);
|
|
56
56
|
return r;
|
|
57
57
|
}, T = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
58
58
|
var Ve = {
|
|
@@ -63,7 +63,7 @@ var Ve = {
|
|
|
63
63
|
"'": "'",
|
|
64
64
|
"/": "/"
|
|
65
65
|
};
|
|
66
|
-
const Me = (r) =>
|
|
66
|
+
const Me = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => Ve[e]) : r;
|
|
67
67
|
class Ke {
|
|
68
68
|
constructor(e) {
|
|
69
69
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
@@ -143,7 +143,7 @@ class W {
|
|
|
143
143
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
144
144
|
}
|
|
145
145
|
forward(e, t, i, s) {
|
|
146
|
-
return s && !this.debug ? null : (
|
|
146
|
+
return s && !this.debug ? null : (p(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
147
147
|
}
|
|
148
148
|
create(e) {
|
|
149
149
|
return new W(this.logger, {
|
|
@@ -204,9 +204,9 @@ class ce extends _ {
|
|
|
204
204
|
var l, f;
|
|
205
205
|
const n = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
206
206
|
let o;
|
|
207
|
-
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], i && (Array.isArray(i) ? o.push(...i) :
|
|
207
|
+
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], i && (Array.isArray(i) ? o.push(...i) : p(i) && n ? o.push(...i.split(n)) : o.push(i)));
|
|
208
208
|
const u = Y(this.data, o);
|
|
209
|
-
return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !
|
|
209
|
+
return !u && !t && !i && e.indexOf(".") > -1 && (e = o[0], t = o[1], i = o.slice(2).join(".")), u || !a || !p(i) ? u : Z((f = (l = this.data) == null ? void 0 : l[e]) == null ? void 0 : f[t], i, n);
|
|
210
210
|
}
|
|
211
211
|
addResource(e, t, i, s, n = {
|
|
212
212
|
silent: !1
|
|
@@ -219,7 +219,7 @@ class ce extends _ {
|
|
|
219
219
|
silent: !1
|
|
220
220
|
}) {
|
|
221
221
|
for (const n in i)
|
|
222
|
-
(
|
|
222
|
+
(p(i[n]) || Array.isArray(i[n])) && this.addResource(e, t, n, i[n], {
|
|
223
223
|
silent: !0
|
|
224
224
|
});
|
|
225
225
|
s.silent || this.emit("added", e, t, i);
|
|
@@ -283,7 +283,7 @@ function ee(r, e) {
|
|
|
283
283
|
} = r(Je());
|
|
284
284
|
return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
|
|
285
285
|
}
|
|
286
|
-
const fe = {}, X = (r) => !
|
|
286
|
+
const fe = {}, X = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
|
|
287
287
|
class G extends _ {
|
|
288
288
|
constructor(e, t = {}) {
|
|
289
289
|
super(), Te(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
|
|
@@ -314,14 +314,14 @@ class G extends _ {
|
|
|
314
314
|
if (u && u.length > 0)
|
|
315
315
|
return {
|
|
316
316
|
key: e,
|
|
317
|
-
namespaces:
|
|
317
|
+
namespaces: p(n) ? [n] : n
|
|
318
318
|
};
|
|
319
319
|
const l = e.split(i);
|
|
320
320
|
(i !== s || i === s && this.options.ns.indexOf(l[0]) > -1) && (n = l.shift()), e = l.join(s);
|
|
321
321
|
}
|
|
322
322
|
return {
|
|
323
323
|
key: e,
|
|
324
|
-
namespaces:
|
|
324
|
+
namespaces: p(n) ? [n] : n
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
translate(e, t, i) {
|
|
@@ -341,9 +341,9 @@ class G extends _ {
|
|
|
341
341
|
} = this.extractFromKey(e[e.length - 1], s), l = u[u.length - 1];
|
|
342
342
|
let f = s.nsSeparator !== void 0 ? s.nsSeparator : this.options.nsSeparator;
|
|
343
343
|
f === void 0 && (f = ":");
|
|
344
|
-
const c = s.lng || this.language,
|
|
344
|
+
const c = s.lng || this.language, g = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
345
345
|
if ((c == null ? void 0 : c.toLowerCase()) === "cimode")
|
|
346
|
-
return
|
|
346
|
+
return g ? n ? {
|
|
347
347
|
res: `${l}${f}${o}`,
|
|
348
348
|
usedKey: o,
|
|
349
349
|
exactUsedKey: o,
|
|
@@ -360,13 +360,13 @@ class G extends _ {
|
|
|
360
360
|
} : o;
|
|
361
361
|
const d = this.resolve(e, s);
|
|
362
362
|
let h = d == null ? void 0 : d.res;
|
|
363
|
-
const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], C = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !
|
|
363
|
+
const m = (d == null ? void 0 : d.usedKey) || o, x = (d == null ? void 0 : d.exactUsedKey) || o, w = ["[object Number]", "[object Function]", "[object RegExp]"], C = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, S = s.count !== void 0 && !p(s.count), N = G.hasDefaultValue(s), B = S ? this.pluralResolver.getSuffix(c, s.count, s) : "", I = s.ordinal && S ? this.pluralResolver.getSuffix(c, s.count, {
|
|
364
364
|
ordinal: !1
|
|
365
365
|
}) : "", j = S && !s.ordinal && s.count === 0, L = j && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${B}`] || s[`defaultValue${I}`] || s.defaultValue;
|
|
366
366
|
let b = h;
|
|
367
367
|
A && !h && N && (b = L);
|
|
368
368
|
const Ie = X(b), ke = Object.prototype.toString.apply(b);
|
|
369
|
-
if (A && b && Ie && w.indexOf(ke) < 0 && !(
|
|
369
|
+
if (A && b && Ie && w.indexOf(ke) < 0 && !(p(C) && Array.isArray(b))) {
|
|
370
370
|
if (!s.returnObjects && !this.options.returnObjects) {
|
|
371
371
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
372
372
|
const v = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, b, {
|
|
@@ -393,7 +393,7 @@ class G extends _ {
|
|
|
393
393
|
}
|
|
394
394
|
h = R;
|
|
395
395
|
}
|
|
396
|
-
} else if (A &&
|
|
396
|
+
} else if (A && p(C) && Array.isArray(h))
|
|
397
397
|
h = h.join(C), h && (h = this.extendTranslation(h, e, s, i));
|
|
398
398
|
else {
|
|
399
399
|
let v = !1, R = !1;
|
|
@@ -446,23 +446,23 @@ class G extends _ {
|
|
|
446
446
|
...i.interpolation
|
|
447
447
|
}
|
|
448
448
|
});
|
|
449
|
-
const f =
|
|
449
|
+
const f = p(e) && (((l = i == null ? void 0 : i.interpolation) == null ? void 0 : l.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
450
450
|
let c;
|
|
451
451
|
if (f) {
|
|
452
452
|
const d = e.match(this.interpolator.nestingRegexp);
|
|
453
453
|
c = d && d.length;
|
|
454
454
|
}
|
|
455
|
-
let
|
|
456
|
-
if (this.options.interpolation.defaultVariables && (
|
|
455
|
+
let g = i.replace && !p(i.replace) ? i.replace : i;
|
|
456
|
+
if (this.options.interpolation.defaultVariables && (g = {
|
|
457
457
|
...this.options.interpolation.defaultVariables,
|
|
458
|
-
...
|
|
459
|
-
}), e = this.interpolator.interpolate(e,
|
|
458
|
+
...g
|
|
459
|
+
}), e = this.interpolator.interpolate(e, g, i.lng || this.language || s.usedLng, i), f) {
|
|
460
460
|
const d = e.match(this.interpolator.nestingRegexp), h = d && d.length;
|
|
461
461
|
c < h && (i.nest = !1);
|
|
462
462
|
}
|
|
463
463
|
!i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, (...d) => (n == null ? void 0 : n[0]) === d[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${t[0]}`), null) : this.translate(...d, t), i)), i.interpolation && this.interpolator.reset();
|
|
464
464
|
}
|
|
465
|
-
const a = i.postProcess || this.options.postProcess, o =
|
|
465
|
+
const a = i.postProcess || this.options.postProcess, o = p(a) ? [a] : a;
|
|
466
466
|
return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = Le.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
467
467
|
i18nResolved: {
|
|
468
468
|
...s,
|
|
@@ -473,13 +473,13 @@ class G extends _ {
|
|
|
473
473
|
}
|
|
474
474
|
resolve(e, t = {}) {
|
|
475
475
|
let i, s, n, a, o;
|
|
476
|
-
return
|
|
476
|
+
return p(e) && (e = [e]), e.forEach((u) => {
|
|
477
477
|
if (this.isValidLookup(i)) return;
|
|
478
478
|
const l = this.extractFromKey(u, t), f = l.key;
|
|
479
479
|
s = f;
|
|
480
480
|
let c = l.namespaces;
|
|
481
481
|
this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
|
|
482
|
-
const
|
|
482
|
+
const g = t.count !== void 0 && !p(t.count), d = g && !t.ordinal && t.count === 0, h = t.context !== void 0 && (p(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
483
483
|
c.forEach((x) => {
|
|
484
484
|
var w, C;
|
|
485
485
|
this.isValidLookup(i) || (o = x, !fe[`${m[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (fe[`${m[0]}-${x}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((A) => {
|
|
@@ -491,11 +491,11 @@ class G extends _ {
|
|
|
491
491
|
this.i18nFormat.addLookupKeys(S, f, A, x, t);
|
|
492
492
|
else {
|
|
493
493
|
let I;
|
|
494
|
-
|
|
494
|
+
g && (I = this.pluralResolver.getSuffix(A, t.count, t));
|
|
495
495
|
const j = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
496
|
-
if (
|
|
496
|
+
if (g && (t.ordinal && I.indexOf(L) === 0 && S.push(f + I.replace(L, this.options.pluralSeparator)), S.push(f + I), d && S.push(f + j)), h) {
|
|
497
497
|
const b = `${f}${this.options.contextSeparator || "_"}${t.context}`;
|
|
498
|
-
S.push(b),
|
|
498
|
+
S.push(b), g && (t.ordinal && I.indexOf(L) === 0 && S.push(b + I.replace(L, this.options.pluralSeparator)), S.push(b + I), d && S.push(b + j));
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
let N;
|
|
@@ -519,7 +519,7 @@ class G extends _ {
|
|
|
519
519
|
return (n = this.i18nFormat) != null && n.getResource ? this.i18nFormat.getResource(e, t, i, s) : this.resourceStore.getResource(e, t, i, s);
|
|
520
520
|
}
|
|
521
521
|
getUsedParamsDetails(e = {}) {
|
|
522
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !
|
|
522
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !p(e.replace);
|
|
523
523
|
let s = i ? e.replace : e;
|
|
524
524
|
if (i && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
|
|
525
525
|
...this.options.interpolation.defaultVariables,
|
|
@@ -556,7 +556,7 @@ class he {
|
|
|
556
556
|
return this.formatLanguageCode(t[0]);
|
|
557
557
|
}
|
|
558
558
|
formatLanguageCode(e) {
|
|
559
|
-
if (
|
|
559
|
+
if (p(e) && e.indexOf("-") > -1) {
|
|
560
560
|
let t;
|
|
561
561
|
try {
|
|
562
562
|
t = Intl.getCanonicalLocales(e)[0];
|
|
@@ -591,7 +591,7 @@ class he {
|
|
|
591
591
|
}
|
|
592
592
|
getFallbackCodes(e, t) {
|
|
593
593
|
if (!e) return [];
|
|
594
|
-
if (typeof e == "function" && (e = e(t)),
|
|
594
|
+
if (typeof e == "function" && (e = e(t)), p(e) && (e = [e]), Array.isArray(e)) return e;
|
|
595
595
|
if (!t) return e.default || [];
|
|
596
596
|
let i = e[t];
|
|
597
597
|
return i || (i = e[this.getScriptPartFromCode(t)]), i || (i = e[this.formatLanguageCode(t)]), i || (i = e[this.getLanguagePartFromCode(t)]), i || (i = e.default), i || [];
|
|
@@ -600,7 +600,7 @@ class he {
|
|
|
600
600
|
const i = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), s = [], n = (a) => {
|
|
601
601
|
a && (this.isSupportedCode(a) ? s.push(a) : this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`));
|
|
602
602
|
};
|
|
603
|
-
return
|
|
603
|
+
return p(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && n(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && n(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && n(this.getLanguagePartFromCode(e))) : p(e) && n(this.formatLanguageCode(e)), i.forEach((a) => {
|
|
604
604
|
s.indexOf(a) < 0 && n(this.formatLanguageCode(a));
|
|
605
605
|
}), s;
|
|
606
606
|
}
|
|
@@ -612,7 +612,7 @@ const de = {
|
|
|
612
612
|
few: 3,
|
|
613
613
|
many: 4,
|
|
614
614
|
other: 5
|
|
615
|
-
},
|
|
615
|
+
}, pe = {
|
|
616
616
|
select: (r) => r === 1 ? "one" : "other",
|
|
617
617
|
resolvedOptions: () => ({
|
|
618
618
|
pluralCategories: ["one", "other"]
|
|
@@ -642,8 +642,8 @@ class Ye {
|
|
|
642
642
|
});
|
|
643
643
|
} catch {
|
|
644
644
|
if (!Intl)
|
|
645
|
-
return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
646
|
-
if (!e.match(/-|_/)) return
|
|
645
|
+
return this.logger.error("No Intl support, please use an Intl polyfill!"), pe;
|
|
646
|
+
if (!e.match(/-|_/)) return pe;
|
|
647
647
|
const u = this.languageUtils.getLanguagePartFromCode(e);
|
|
648
648
|
a = this.getRule(u, t);
|
|
649
649
|
}
|
|
@@ -665,9 +665,9 @@ class Ye {
|
|
|
665
665
|
return s ? `${this.options.prepend}${i.ordinal ? `ordinal${this.options.prepend}` : ""}${s.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, i));
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
const
|
|
668
|
+
const ge = (r, e, t, i = ".", s = !0) => {
|
|
669
669
|
let n = Ee(r, e, t);
|
|
670
|
-
return !n && s &&
|
|
670
|
+
return !n && s && p(t) && (n = Z(r, t, i), n === void 0 && (n = Z(e, t, i))), n;
|
|
671
671
|
}, Q = (r) => r.replace(/\$/g, "$$$$");
|
|
672
672
|
class me {
|
|
673
673
|
constructor(e = {}) {
|
|
@@ -689,7 +689,7 @@ class me {
|
|
|
689
689
|
formatSeparator: l,
|
|
690
690
|
unescapeSuffix: f,
|
|
691
691
|
unescapePrefix: c,
|
|
692
|
-
nestingPrefix:
|
|
692
|
+
nestingPrefix: g,
|
|
693
693
|
nestingPrefixEscaped: d,
|
|
694
694
|
nestingSuffix: h,
|
|
695
695
|
nestingSuffixEscaped: m,
|
|
@@ -697,7 +697,7 @@ class me {
|
|
|
697
697
|
maxReplaces: w,
|
|
698
698
|
alwaysFormat: C
|
|
699
699
|
} = e.interpolation;
|
|
700
|
-
this.escape = t !== void 0 ? t : Me, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? T(n) : a || "{{", this.suffix = o ? T(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix =
|
|
700
|
+
this.escape = t !== void 0 ? t : Me, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? T(n) : a || "{{", this.suffix = o ? T(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? T(g) : d || T("$t("), this.nestingSuffix = h ? T(h) : m || T(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = w || 1e3, this.alwaysFormat = C !== void 0 ? C : !1, this.resetRegExp();
|
|
701
701
|
}
|
|
702
702
|
reset() {
|
|
703
703
|
this.options && this.init(this.options);
|
|
@@ -711,7 +711,7 @@ class me {
|
|
|
711
711
|
let n, a, o;
|
|
712
712
|
const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (h) => {
|
|
713
713
|
if (h.indexOf(this.formatSeparator) < 0) {
|
|
714
|
-
const C =
|
|
714
|
+
const C = ge(t, u, h, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
715
715
|
return this.alwaysFormat ? this.format(C, void 0, i, {
|
|
716
716
|
...s,
|
|
717
717
|
...t,
|
|
@@ -719,7 +719,7 @@ class me {
|
|
|
719
719
|
}) : C;
|
|
720
720
|
}
|
|
721
721
|
const m = h.split(this.formatSeparator), x = m.shift().trim(), w = m.join(this.formatSeparator).trim();
|
|
722
|
-
return this.format(
|
|
722
|
+
return this.format(ge(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
|
|
723
723
|
...s,
|
|
724
724
|
...t,
|
|
725
725
|
interpolationkey: x
|
|
@@ -739,7 +739,7 @@ class me {
|
|
|
739
739
|
if (a = l(m), a === void 0)
|
|
740
740
|
if (typeof f == "function") {
|
|
741
741
|
const w = f(e, n, s);
|
|
742
|
-
a =
|
|
742
|
+
a = p(w) ? w : "";
|
|
743
743
|
} else if (s && Object.prototype.hasOwnProperty.call(s, m))
|
|
744
744
|
a = "";
|
|
745
745
|
else if (c) {
|
|
@@ -747,7 +747,7 @@ class me {
|
|
|
747
747
|
continue;
|
|
748
748
|
} else
|
|
749
749
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), a = "";
|
|
750
|
-
else !
|
|
750
|
+
else !p(a) && !this.useRawValueToEscape && (a = re(a));
|
|
751
751
|
const x = h.safeValue(a);
|
|
752
752
|
if (e = e.replace(n[0], x), c ? (h.regex.lastIndex += a.length, h.regex.lastIndex -= n[0].length) : h.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
753
753
|
break;
|
|
@@ -760,17 +760,17 @@ class me {
|
|
|
760
760
|
const f = this.nestingOptionsSeparator;
|
|
761
761
|
if (u.indexOf(f) < 0) return u;
|
|
762
762
|
const c = u.split(new RegExp(`${f}[ ]*{`));
|
|
763
|
-
let
|
|
764
|
-
u = c[0],
|
|
765
|
-
const d =
|
|
766
|
-
(((d == null ? void 0 : d.length) ?? 0) % 2 === 0 && !h || h.length % 2 !== 0) && (
|
|
763
|
+
let g = `{${c[1]}`;
|
|
764
|
+
u = c[0], g = this.interpolate(g, a);
|
|
765
|
+
const d = g.match(/'/g), h = g.match(/"/g);
|
|
766
|
+
(((d == null ? void 0 : d.length) ?? 0) % 2 === 0 && !h || h.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
767
767
|
try {
|
|
768
|
-
a = JSON.parse(
|
|
768
|
+
a = JSON.parse(g), l && (a = {
|
|
769
769
|
...l,
|
|
770
770
|
...a
|
|
771
771
|
});
|
|
772
772
|
} catch (m) {
|
|
773
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${u}`, m), `${u}${f}${
|
|
773
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${u}`, m), `${u}${f}${g}`;
|
|
774
774
|
}
|
|
775
775
|
return a.defaultValue && a.defaultValue.indexOf(this.prefix) > -1 && delete a.defaultValue, u;
|
|
776
776
|
};
|
|
@@ -778,10 +778,10 @@ class me {
|
|
|
778
778
|
let u = [];
|
|
779
779
|
a = {
|
|
780
780
|
...i
|
|
781
|
-
}, a = a.replace && !
|
|
781
|
+
}, a = a.replace && !p(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
|
|
782
782
|
const l = /{.*}/.test(s[1]) ? s[1].lastIndexOf("}") + 1 : s[1].indexOf(this.formatSeparator);
|
|
783
|
-
if (l !== -1 && (u = s[1].slice(l).split(this.formatSeparator).map((f) => f.trim()).filter(Boolean), s[1] = s[1].slice(0, l)), n = t(o.call(this, s[1].trim(), a), a), n && s[0] === e && !
|
|
784
|
-
|
|
783
|
+
if (l !== -1 && (u = s[1].slice(l).split(this.formatSeparator).map((f) => f.trim()).filter(Boolean), s[1] = s[1].slice(0, l)), n = t(o.call(this, s[1].trim(), a), a), n && s[0] === e && !p(n)) return n;
|
|
784
|
+
p(n) || (n = re(n)), n || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), n = ""), u.length && (n = u.reduce((f, c) => this.format(f, c, i.lng, {
|
|
785
785
|
...i,
|
|
786
786
|
interpolationkey: s[1].trim()
|
|
787
787
|
}), n.trim())), e = e.replace(s[0], n), this.regexp.lastIndex = 0;
|
|
@@ -882,10 +882,10 @@ class _e {
|
|
|
882
882
|
formatOptions: f
|
|
883
883
|
} = We(u);
|
|
884
884
|
if (this.formats[l]) {
|
|
885
|
-
let
|
|
885
|
+
let g = o;
|
|
886
886
|
try {
|
|
887
887
|
const d = ((c = s == null ? void 0 : s.formatParams) == null ? void 0 : c[s.interpolationkey]) || {}, h = d.locale || d.lng || s.locale || s.lng || i;
|
|
888
|
-
|
|
888
|
+
g = this.formats[l](o, h, {
|
|
889
889
|
...f,
|
|
890
890
|
...s,
|
|
891
891
|
...d
|
|
@@ -893,7 +893,7 @@ class _e {
|
|
|
893
893
|
} catch (d) {
|
|
894
894
|
this.logger.warn(d);
|
|
895
895
|
}
|
|
896
|
-
return
|
|
896
|
+
return g;
|
|
897
897
|
} else
|
|
898
898
|
this.logger.warn(`there was no format function for ${l}`);
|
|
899
899
|
return o;
|
|
@@ -913,8 +913,8 @@ class Xe extends _ {
|
|
|
913
913
|
return e.forEach((l) => {
|
|
914
914
|
let f = !0;
|
|
915
915
|
t.forEach((c) => {
|
|
916
|
-
const
|
|
917
|
-
!i.reload && this.store.hasResourceBundle(l, c) ? this.state[
|
|
916
|
+
const g = `${l}|${c}`;
|
|
917
|
+
!i.reload && this.store.hasResourceBundle(l, c) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? a[g] === void 0 && (a[g] = !0) : (this.state[g] = 1, f = !1, a[g] === void 0 && (a[g] = !0), n[g] === void 0 && (n[g] = !0), u[c] === void 0 && (u[c] = !0)));
|
|
918
918
|
}), f || (o[l] = !0);
|
|
919
919
|
}), (Object.keys(n).length || Object.keys(a).length) && this.queue.push({
|
|
920
920
|
pending: a,
|
|
@@ -986,7 +986,7 @@ class Xe extends _ {
|
|
|
986
986
|
prepareLoading(e, t, i = {}, s) {
|
|
987
987
|
if (!this.backend)
|
|
988
988
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
|
|
989
|
-
|
|
989
|
+
p(e) && (e = this.languageUtils.toResolveHierarchy(e)), p(t) && (t = [t]);
|
|
990
990
|
const n = this.queueLoad(e, t, i, s);
|
|
991
991
|
if (!n.toLoad.length)
|
|
992
992
|
return n.pending.length || s(), null;
|
|
@@ -1010,13 +1010,13 @@ class Xe extends _ {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
saveMissing(e, t, i, s, n, a = {}, o = () => {
|
|
1012
1012
|
}) {
|
|
1013
|
-
var u, l, f, c,
|
|
1013
|
+
var u, l, f, c, g;
|
|
1014
1014
|
if ((l = (u = this.services) == null ? void 0 : u.utils) != null && l.hasLoadedNamespace && !((c = (f = this.services) == null ? void 0 : f.utils) != null && c.hasLoadedNamespace(t))) {
|
|
1015
1015
|
this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
|
|
1016
1016
|
return;
|
|
1017
1017
|
}
|
|
1018
1018
|
if (!(i == null || i === "")) {
|
|
1019
|
-
if ((
|
|
1019
|
+
if ((g = this.backend) != null && g.create) {
|
|
1020
1020
|
const d = {
|
|
1021
1021
|
...a,
|
|
1022
1022
|
isUpdate: n
|
|
@@ -1070,7 +1070,7 @@ const xe = () => ({
|
|
|
1070
1070
|
appendNamespaceToCIMode: !1,
|
|
1071
1071
|
overloadTranslationOptionHandler: (r) => {
|
|
1072
1072
|
let e = {};
|
|
1073
|
-
if (typeof r[1] == "object" && (e = r[1]),
|
|
1073
|
+
if (typeof r[1] == "object" && (e = r[1]), p(r[1]) && (e.defaultValue = r[1]), p(r[2]) && (e.tDescription = r[2]), typeof r[2] == "object" || typeof r[3] == "object") {
|
|
1074
1074
|
const t = r[3] || r[2];
|
|
1075
1075
|
Object.keys(t).forEach((i) => {
|
|
1076
1076
|
e[i] = t[i];
|
|
@@ -1094,7 +1094,7 @@ const xe = () => ({
|
|
|
1094
1094
|
cacheInBuiltFormats: !0
|
|
1095
1095
|
}), be = (r) => {
|
|
1096
1096
|
var e, t;
|
|
1097
|
-
return
|
|
1097
|
+
return p(r.ns) && (r.ns = [r.ns]), p(r.fallbackLng) && (r.fallbackLng = [r.fallbackLng]), p(r.fallbackNS) && (r.fallbackNS = [r.fallbackNS]), ((t = (e = r.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (r.supportedLngs = r.supportedLngs.concat(["cimode"])), typeof r.initImmediate == "boolean" && (r.initAsync = r.initImmediate), r;
|
|
1098
1098
|
}, J = () => {
|
|
1099
1099
|
}, Qe = (r) => {
|
|
1100
1100
|
Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
|
|
@@ -1114,7 +1114,7 @@ class U extends _ {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
}
|
|
1116
1116
|
init(e = {}, t) {
|
|
1117
|
-
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (
|
|
1117
|
+
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (p(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1118
1118
|
const i = xe();
|
|
1119
1119
|
this.options = {
|
|
1120
1120
|
...i,
|
|
@@ -1123,7 +1123,7 @@ class U extends _ {
|
|
|
1123
1123
|
}, this.options.interpolation = {
|
|
1124
1124
|
...i.interpolation,
|
|
1125
1125
|
...this.options.interpolation
|
|
1126
|
-
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator);
|
|
1126
|
+
}, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = i.overloadTranslationOptionHandler);
|
|
1127
1127
|
const s = (l) => l ? typeof l == "function" ? new l() : l : null;
|
|
1128
1128
|
if (!this.options.isClone) {
|
|
1129
1129
|
this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
|
|
@@ -1166,7 +1166,7 @@ class U extends _ {
|
|
|
1166
1166
|
loadResources(e, t = J) {
|
|
1167
1167
|
var n, a;
|
|
1168
1168
|
let i = t;
|
|
1169
|
-
const s =
|
|
1169
|
+
const s = p(e) ? e : this.language;
|
|
1170
1170
|
if (typeof e == "function" && (i = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1171
1171
|
if ((s == null ? void 0 : s.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i();
|
|
1172
1172
|
const o = [], u = (l) => {
|
|
@@ -1215,9 +1215,9 @@ class U extends _ {
|
|
|
1215
1215
|
}, a = (o) => {
|
|
1216
1216
|
var f, c;
|
|
1217
1217
|
!e && !o && this.services.languageDetector && (o = []);
|
|
1218
|
-
const u =
|
|
1219
|
-
l && (this.language || s(l), this.translator.language || this.translator.changeLanguage(l), (c = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || c.call(f, l)), this.loadResources(l, (
|
|
1220
|
-
n(
|
|
1218
|
+
const u = p(o) ? o : o && o[0], l = this.store.hasLanguageSomeTranslations(u) ? u : this.services.languageUtils.getBestMatchFromCodes(p(o) ? [o] : o);
|
|
1219
|
+
l && (this.language || s(l), this.translator.language || this.translator.changeLanguage(l), (c = (f = this.services.languageDetector) == null ? void 0 : f.cacheUserLanguage) == null || c.call(f, l)), this.loadResources(l, (g) => {
|
|
1220
|
+
n(g, l);
|
|
1221
1221
|
});
|
|
1222
1222
|
};
|
|
1223
1223
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), i;
|
|
@@ -1238,7 +1238,7 @@ class U extends _ {
|
|
|
1238
1238
|
...a
|
|
1239
1239
|
})), f = u.keyPrefix ? `${u.keyPrefix}${l}${n}` : n), this.t(f, u);
|
|
1240
1240
|
};
|
|
1241
|
-
return
|
|
1241
|
+
return p(e) ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = i, s;
|
|
1242
1242
|
}
|
|
1243
1243
|
t(...e) {
|
|
1244
1244
|
var t;
|
|
@@ -1270,7 +1270,7 @@ class U extends _ {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
loadNamespaces(e, t) {
|
|
1272
1272
|
const i = M();
|
|
1273
|
-
return this.options.ns ? (
|
|
1273
|
+
return this.options.ns ? (p(e) && (e = [e]), e.forEach((s) => {
|
|
1274
1274
|
this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
|
|
1275
1275
|
}), this.loadResources((s) => {
|
|
1276
1276
|
i.resolve(), t && t(s);
|
|
@@ -1278,7 +1278,7 @@ class U extends _ {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
loadLanguages(e, t) {
|
|
1280
1280
|
const i = M();
|
|
1281
|
-
|
|
1281
|
+
p(e) && (e = [e]);
|
|
1282
1282
|
const s = this.options.preload || [], n = e.filter((a) => s.indexOf(a) < 0 && this.services.languageUtils.isSupportedCode(a));
|
|
1283
1283
|
return n.length ? (this.options.preload = s.concat(n), this.loadResources((a) => {
|
|
1284
1284
|
i.resolve(), t && t(a);
|
|
@@ -1367,7 +1367,7 @@ const rt = (r) => {
|
|
|
1367
1367
|
});
|
|
1368
1368
|
};
|
|
1369
1369
|
/**
|
|
1370
|
-
* @license @tabler/icons-react v3.
|
|
1370
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
1371
1371
|
*
|
|
1372
1372
|
* This source code is licensed under the MIT license.
|
|
1373
1373
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1436,12 +1436,12 @@ const ut = {
|
|
|
1436
1436
|
name: "displayName",
|
|
1437
1437
|
type: "string",
|
|
1438
1438
|
label: "Display name"
|
|
1439
|
-
},
|
|
1439
|
+
}, pt = {
|
|
1440
1440
|
name: "boolean",
|
|
1441
1441
|
type: "boolean",
|
|
1442
1442
|
defaultValue: !1,
|
|
1443
1443
|
label: "Boolean"
|
|
1444
|
-
},
|
|
1444
|
+
}, gt = {
|
|
1445
1445
|
name: "number",
|
|
1446
1446
|
type: "number",
|
|
1447
1447
|
label: "Number"
|
|
@@ -1756,8 +1756,8 @@ export {
|
|
|
1756
1756
|
we as h,
|
|
1757
1757
|
y as i,
|
|
1758
1758
|
Re as j,
|
|
1759
|
-
|
|
1760
|
-
|
|
1759
|
+
pt as k,
|
|
1760
|
+
gt as l,
|
|
1761
1761
|
ve as m,
|
|
1762
1762
|
Pe as n,
|
|
1763
1763
|
$e as o,
|
|
@@ -1773,4 +1773,4 @@ export {
|
|
|
1773
1773
|
bt as y,
|
|
1774
1774
|
St as z
|
|
1775
1775
|
};
|
|
1776
|
-
//# sourceMappingURL=component.constants-
|
|
1776
|
+
//# sourceMappingURL=component.constants-DmK3uQGY.js.map
|