@embeddable.com/remarkable-pro 0.0.15 → 0.0.17
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-BEIVgW77.js → ChartCard-CuGtJlaW.js} +3 -3
- package/dist/{ChartCard-BEIVgW77.js.map → ChartCard-CuGtJlaW.js.map} +1 -1
- package/dist/{Color.type.emb-ByiNbaI7.js → Color.type.emb-CLYI-rua.js} +282 -283
- package/dist/{Color.type.emb-ByiNbaI7.js.map → Color.type.emb-CLYI-rua.js.map} +1 -1
- package/dist/ColorEditor.js +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +3 -3
- package/dist/DateRangePickerCustomPro.js +3 -3
- package/dist/DateRangeSelectFieldPro.js +3 -3
- package/dist/DonutChartPro.js +3 -3
- package/dist/DonutLabelChartPro.js +3 -3
- package/dist/{EditorCard-NEIuygkP.js → EditorCard-CNtTIFGO.js} +3 -3
- package/dist/{EditorCard-NEIuygkP.js.map → EditorCard-CNtTIFGO.js.map} +1 -1
- package/dist/HeatMapPro.js +18 -17
- package/dist/HeatMapPro.js.map +1 -1
- package/dist/KpiChartNumberComparisonPro.js +3 -3
- package/dist/KpiChartNumberPro.js +3 -3
- package/dist/LineChartComparisonDefaultPro.js +3 -3
- package/dist/LineChartDefaultPro.js +3 -3
- 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-D12lq8bm.js → bars.utils-c9bi5X5n.js} +4 -4
- package/dist/{bars.utils-D12lq8bm.js.map → bars.utils-c9bi5X5n.js.map} +1 -1
- package/dist/{charts.utils-Bq6c6ccK.js → charts.utils-nkrr8Yy8.js} +6 -5
- package/dist/charts.utils-nkrr8Yy8.js.map +1 -0
- package/dist/{component.inputs.constants-FaX3B1CO.js → component.inputs.constants-CpWMPDsp.js} +258 -232
- package/dist/{component.inputs.constants-FaX3B1CO.js.map → component.inputs.constants-CpWMPDsp.js.map} +1 -1
- package/dist/components/component.inputs.constants.d.ts +1 -1
- package/dist/embeddable-components.json +12 -12
- package/dist/embeddable-theme-0137e.js +2 -1
- package/dist/{formatter.utils-IGbSBsIu.js → formatter.utils-DPI9zC1z.js} +2 -2
- package/dist/{formatter.utils-IGbSBsIu.js.map → formatter.utils-DPI9zC1z.js.map} +1 -1
- package/dist/{index-oK1pn0Vk.js → index-1Pthtw-F.js} +5 -5
- package/dist/{index-oK1pn0Vk.js.map → index-1Pthtw-F.js.map} +1 -1
- package/dist/{index-EAQjfjEJ.js → index-8dPSbeeV.js} +4 -4
- package/dist/{index-EAQjfjEJ.js.map → index-8dPSbeeV.js.map} +1 -1
- package/dist/{index-CR69kGQc.js → index-B0gfoUZP.js} +5 -5
- package/dist/{index-CR69kGQc.js.map → index-B0gfoUZP.js.map} +1 -1
- package/dist/{index-BNFqHQr3.js → index-B6Nckx8Z.js} +6 -6
- package/dist/{index-BNFqHQr3.js.map → index-B6Nckx8Z.js.map} +1 -1
- package/dist/{index-BKcWHLSf.js → index-BBmMB5DD.js} +5 -5
- package/dist/{index-BKcWHLSf.js.map → index-BBmMB5DD.js.map} +1 -1
- package/dist/{index-CdjbmThq.js → index-BHVaEsvO.js} +5 -5
- package/dist/{index-CdjbmThq.js.map → index-BHVaEsvO.js.map} +1 -1
- package/dist/{index-DLCspqkx.js → index-BQKTtuOl.js} +5 -5
- package/dist/{index-DLCspqkx.js.map → index-BQKTtuOl.js.map} +1 -1
- package/dist/{index-BDPQ_c46.js → index-BTdWqSDj.js} +5 -5
- package/dist/{index-BDPQ_c46.js.map → index-BTdWqSDj.js.map} +1 -1
- package/dist/{index-CwiND2Ct.js → index-BUnUdDZd.js} +5 -5
- package/dist/{index-CwiND2Ct.js.map → index-BUnUdDZd.js.map} +1 -1
- package/dist/{index-RHaWI3AH.js → index-BaSNws-A.js} +5 -5
- package/dist/{index-RHaWI3AH.js.map → index-BaSNws-A.js.map} +1 -1
- package/dist/{index-Dhj9KjfQ.js → index-CB5nTme1.js} +5 -5
- package/dist/{index-Dhj9KjfQ.js.map → index-CB5nTme1.js.map} +1 -1
- package/dist/{index-B15C4kTf.js → index-CSH6Tke5.js} +5 -5
- package/dist/{index-B15C4kTf.js.map → index-CSH6Tke5.js.map} +1 -1
- package/dist/{index-DRIH3L5J.js → index-CwL7feVe.js} +5 -5
- package/dist/{index-DRIH3L5J.js.map → index-CwL7feVe.js.map} +1 -1
- package/dist/{index-DdeFtB5C.js → index-DbQoW48_.js} +6 -6
- package/dist/{index-DdeFtB5C.js.map → index-DbQoW48_.js.map} +1 -1
- package/dist/{index-_fEx7Sbh.js → index-DfXkoWel.js} +4 -4
- package/dist/{index-_fEx7Sbh.js.map → index-DfXkoWel.js.map} +1 -1
- package/dist/{index-CQZhGtUT.js → index-DjA9mRxV.js} +6 -6
- package/dist/{index-CQZhGtUT.js.map → index-DjA9mRxV.js.map} +1 -1
- package/dist/{index-hHVOyy6e.js → index-Dz6llBs_.js} +5 -5
- package/dist/{index-hHVOyy6e.js.map → index-Dz6llBs_.js.map} +1 -1
- package/dist/{index-BzF8GFHy.js → index-WDuZPeli.js} +5 -5
- package/dist/{index-BzF8GFHy.js.map → index-WDuZPeli.js.map} +1 -1
- package/dist/{index-DNXqnRoE.js → index-hmfJGJBH.js} +5 -5
- package/dist/{index-DNXqnRoE.js.map → index-hmfJGJBH.js.map} +1 -1
- package/dist/{index-BjaJdNzu.js → index-natSwnW-.js} +5 -5
- package/dist/{index-BjaJdNzu.js.map → index-natSwnW-.js.map} +1 -1
- package/dist/{index-BiTSd5Wd.js → index-z0A1zEtp.js} +5 -5
- package/dist/{index-BiTSd5Wd.js.map → index-z0A1zEtp.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +80 -77
- package/dist/{pies.utils-C5DxeS68.js → pies.utils-BO9fuUwj.js} +5 -5
- package/dist/{pies.utils-C5DxeS68.js.map → pies.utils-BO9fuUwj.js.map} +1 -1
- package/dist/remarkable-pro.css +1 -1
- package/dist/{timeRange.utils-CTEHTF97.js → timeRange.utils-DaDev_JE.js} +2 -2
- package/dist/{timeRange.utils-CTEHTF97.js.map → timeRange.utils-DaDev_JE.js.map} +1 -1
- package/package.json +2 -2
- package/dist/charts.utils-Bq6c6ccK.js.map +0 -1
package/dist/{component.inputs.constants-FaX3B1CO.js → component.inputs.constants-CpWMPDsp.js}
RENAMED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as Ve, W as $e, X as D, s as Ne } from "./Color.type.emb-CLYI-rua.js";
|
|
2
2
|
const p = (r) => typeof r == "string", U = () => {
|
|
3
3
|
let r, e;
|
|
4
4
|
const t = new Promise((i, s) => {
|
|
5
5
|
r = i, e = s;
|
|
6
6
|
});
|
|
7
7
|
return t.resolve = r, t.reject = e, t;
|
|
8
|
-
},
|
|
8
|
+
}, pe = (r) => r == null ? "" : "" + r, Ke = (r, e, t) => {
|
|
9
9
|
r.forEach((i) => {
|
|
10
10
|
e[i] && (t[i] = e[i]);
|
|
11
11
|
});
|
|
12
|
-
},
|
|
12
|
+
}, Ue = /###/g, ge = (r) => r && r.indexOf("###") > -1 ? r.replace(Ue, ".") : r, me = (r) => !r || p(r), H = (r, e, t) => {
|
|
13
13
|
const i = p(e) ? e.split(".") : e;
|
|
14
14
|
let s = 0;
|
|
15
15
|
for (; s < i.length - 1; ) {
|
|
16
|
-
if (
|
|
17
|
-
const n =
|
|
16
|
+
if (me(r)) return {};
|
|
17
|
+
const n = ge(i[s]);
|
|
18
18
|
!r[n] && t && (r[n] = new t()), Object.prototype.hasOwnProperty.call(r, n) ? r = r[n] : r = {}, ++s;
|
|
19
19
|
}
|
|
20
|
-
return
|
|
20
|
+
return me(r) ? {} : {
|
|
21
21
|
obj: r,
|
|
22
|
-
k:
|
|
22
|
+
k: ge(i[s])
|
|
23
23
|
};
|
|
24
|
-
},
|
|
24
|
+
}, ye = (r, e, t) => {
|
|
25
25
|
const {
|
|
26
26
|
obj: i,
|
|
27
27
|
k: s
|
|
@@ -34,7 +34,7 @@ const p = (r) => typeof r == "string", U = () => {
|
|
|
34
34
|
for (; o.obj === void 0 && a.length; )
|
|
35
35
|
n = `${a[a.length - 1]}.${n}`, a = a.slice(0, a.length - 1), o = H(r, a, Object), o != null && o.obj && typeof o.obj[`${o.k}.${n}`] < "u" && (o.obj = void 0);
|
|
36
36
|
o.obj[`${o.k}.${n}`] = t;
|
|
37
|
-
},
|
|
37
|
+
}, He = (r, e, t, i) => {
|
|
38
38
|
const {
|
|
39
39
|
obj: s,
|
|
40
40
|
k: n
|
|
@@ -47,15 +47,15 @@ const p = (r) => typeof r == "string", U = () => {
|
|
|
47
47
|
} = H(r, e);
|
|
48
48
|
if (t && Object.prototype.hasOwnProperty.call(t, i))
|
|
49
49
|
return t[i];
|
|
50
|
-
},
|
|
50
|
+
}, Be = (r, e, t) => {
|
|
51
51
|
const i = _(r, t);
|
|
52
52
|
return i !== void 0 ? i : _(e, t);
|
|
53
|
-
},
|
|
53
|
+
}, ke = (r, e, t) => {
|
|
54
54
|
for (const i in e)
|
|
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]) :
|
|
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]) : ke(r[i], e[i], t) : r[i] = e[i]);
|
|
56
56
|
return r;
|
|
57
57
|
}, j = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
58
|
-
var
|
|
58
|
+
var ze = {
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
61
61
|
">": ">",
|
|
@@ -63,8 +63,8 @@ var He = {
|
|
|
63
63
|
"'": "'",
|
|
64
64
|
"/": "/"
|
|
65
65
|
};
|
|
66
|
-
const
|
|
67
|
-
class
|
|
66
|
+
const Je = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => ze[e]) : r;
|
|
67
|
+
class Ye {
|
|
68
68
|
constructor(e) {
|
|
69
69
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
70
70
|
}
|
|
@@ -76,11 +76,11 @@ class ze {
|
|
|
76
76
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, i), this.regExpQueue.push(e), i;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const We = [" ", ",", "?", "!", ";"], _e = new Ye(20), qe = (r, e, t) => {
|
|
80
80
|
e = e || "", t = t || "";
|
|
81
|
-
const i =
|
|
81
|
+
const i = We.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
|
|
82
82
|
if (i.length === 0) return !0;
|
|
83
|
-
const s =
|
|
83
|
+
const s = _e.getRegExp(`(${i.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
|
84
84
|
let n = !s.test(r);
|
|
85
85
|
if (!n) {
|
|
86
86
|
const a = r.indexOf(t);
|
|
@@ -107,7 +107,7 @@ const Je = [" ", ",", "?", "!", ";"], Ye = new ze(20), We = (r, e, t) => {
|
|
|
107
107
|
s = a;
|
|
108
108
|
}
|
|
109
109
|
return s;
|
|
110
|
-
}, z = (r) => r == null ? void 0 : r.replace("_", "-"),
|
|
110
|
+
}, z = (r) => r == null ? void 0 : r.replace("_", "-"), Xe = {
|
|
111
111
|
type: "logger",
|
|
112
112
|
log(r) {
|
|
113
113
|
this.output("log", r);
|
|
@@ -128,7 +128,7 @@ class q {
|
|
|
128
128
|
this.init(e, t);
|
|
129
129
|
}
|
|
130
130
|
init(e, t = {}) {
|
|
131
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
131
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Xe, this.options = t, this.debug = t.debug;
|
|
132
132
|
}
|
|
133
133
|
log(...e) {
|
|
134
134
|
return this.forward(e, "log", "", !0);
|
|
@@ -186,7 +186,7 @@ class G {
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
class
|
|
189
|
+
class xe extends G {
|
|
190
190
|
constructor(e, t = {
|
|
191
191
|
ns: ["translation"],
|
|
192
192
|
defaultNS: "translation"
|
|
@@ -213,7 +213,7 @@ class fe extends G {
|
|
|
213
213
|
}) {
|
|
214
214
|
const a = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
|
|
215
215
|
let o = [e, t];
|
|
216
|
-
i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t),
|
|
216
|
+
i && (o = o.concat(a ? i.split(a) : i)), e.indexOf(".") > -1 && (o = e.split("."), s = t, t = o[1]), this.addNamespaces(t), ye(this.data, o, s), n.silent || this.emit("added", e, t, i, s);
|
|
217
217
|
}
|
|
218
218
|
addResources(e, t, i, s = {
|
|
219
219
|
silent: !1
|
|
@@ -231,10 +231,10 @@ class fe extends G {
|
|
|
231
231
|
let o = [e, t];
|
|
232
232
|
e.indexOf(".") > -1 && (o = e.split("."), s = i, i = t, t = o[1]), this.addNamespaces(t);
|
|
233
233
|
let u = _(this.data, o) || {};
|
|
234
|
-
a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ?
|
|
234
|
+
a.skipCopy || (i = JSON.parse(JSON.stringify(i))), s ? ke(u, i, n) : u = {
|
|
235
235
|
...u,
|
|
236
236
|
...i
|
|
237
|
-
},
|
|
237
|
+
}, ye(this.data, o, u), a.silent || this.emit("added", e, t, i);
|
|
238
238
|
}
|
|
239
239
|
removeResourceBundle(e, t) {
|
|
240
240
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -256,7 +256,7 @@ class fe extends G {
|
|
|
256
256
|
return this.data;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
var
|
|
259
|
+
var Ae = {
|
|
260
260
|
processors: {},
|
|
261
261
|
addPostProcessor(r) {
|
|
262
262
|
this.processors[r.name] = r;
|
|
@@ -268,25 +268,25 @@ var we = {
|
|
|
268
268
|
}), e;
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
|
-
const
|
|
272
|
-
function
|
|
271
|
+
const Te = Symbol("i18next/PATH_KEY");
|
|
272
|
+
function Ge() {
|
|
273
273
|
const r = [], e = /* @__PURE__ */ Object.create(null);
|
|
274
274
|
let t;
|
|
275
275
|
return e.get = (i, s) => {
|
|
276
276
|
var n;
|
|
277
|
-
return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s ===
|
|
277
|
+
return (n = t == null ? void 0 : t.revoke) == null || n.call(t), s === Te ? r : (r.push(s), t = Proxy.revocable(i, e), t.proxy);
|
|
278
278
|
}, Proxy.revocable(/* @__PURE__ */ Object.create(null), e).proxy;
|
|
279
279
|
}
|
|
280
280
|
function se(r, e) {
|
|
281
281
|
const {
|
|
282
|
-
[
|
|
283
|
-
} = r(
|
|
282
|
+
[Te]: t
|
|
283
|
+
} = r(Ge());
|
|
284
284
|
return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
|
|
285
285
|
}
|
|
286
|
-
const
|
|
286
|
+
const be = {}, Z = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
|
|
287
287
|
class X extends G {
|
|
288
288
|
constructor(e, t = {}) {
|
|
289
|
-
super(),
|
|
289
|
+
super(), Ke(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
|
|
290
290
|
}
|
|
291
291
|
changeLanguage(e) {
|
|
292
292
|
e && (this.language = e);
|
|
@@ -308,7 +308,7 @@ class X extends G {
|
|
|
308
308
|
i === void 0 && (i = ":");
|
|
309
309
|
const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
310
310
|
let n = t.ns || this.options.defaultNS || [];
|
|
311
|
-
const a = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
311
|
+
const a = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !qe(e, i, s);
|
|
312
312
|
if (a && !o) {
|
|
313
313
|
const u = e.match(this.interpolator.nestingRegexp);
|
|
314
314
|
if (u && u.length > 0)
|
|
@@ -365,41 +365,41 @@ class X extends G {
|
|
|
365
365
|
}) : "", M = S && !s.ordinal && s.count === 0, L = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${J}`] || s[`defaultValue${k}`] || s.defaultValue;
|
|
366
366
|
let b = d;
|
|
367
367
|
T && !d && N && (b = L);
|
|
368
|
-
const
|
|
369
|
-
if (T && b &&
|
|
368
|
+
const Ee = Z(b), Me = Object.prototype.toString.apply(b);
|
|
369
|
+
if (T && b && Ee && w.indexOf(Me) < 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
|
-
const
|
|
372
|
+
const v = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, b, {
|
|
373
373
|
...s,
|
|
374
374
|
ns: u
|
|
375
375
|
}) : `key '${o} (${this.language})' returned an object instead of string.`;
|
|
376
|
-
return n ? (h.res =
|
|
376
|
+
return n ? (h.res = v, h.usedParams = this.getUsedParamsDetails(s), h) : v;
|
|
377
377
|
}
|
|
378
378
|
if (a) {
|
|
379
|
-
const
|
|
379
|
+
const v = Array.isArray(b), R = v ? [] : {}, ce = v ? x : m;
|
|
380
380
|
for (const P in b)
|
|
381
381
|
if (Object.prototype.hasOwnProperty.call(b, P)) {
|
|
382
|
-
const A = `${
|
|
383
|
-
N && !d ?
|
|
382
|
+
const A = `${ce}${a}${P}`;
|
|
383
|
+
N && !d ? R[P] = this.translate(A, {
|
|
384
384
|
...s,
|
|
385
385
|
defaultValue: Z(L) ? L[P] : void 0,
|
|
386
386
|
joinArrays: !1,
|
|
387
387
|
ns: u
|
|
388
|
-
}) :
|
|
388
|
+
}) : R[P] = this.translate(A, {
|
|
389
389
|
...s,
|
|
390
390
|
joinArrays: !1,
|
|
391
391
|
ns: u
|
|
392
|
-
}),
|
|
392
|
+
}), R[P] === A && (R[P] = b[P]);
|
|
393
393
|
}
|
|
394
|
-
d =
|
|
394
|
+
d = R;
|
|
395
395
|
}
|
|
396
396
|
} else if (T && p(C) && Array.isArray(d))
|
|
397
397
|
d = d.join(C), d && (d = this.extendTranslation(d, e, s, i));
|
|
398
398
|
else {
|
|
399
|
-
let
|
|
400
|
-
!this.isValidLookup(d) && N && (
|
|
401
|
-
const P = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
402
|
-
if (
|
|
399
|
+
let v = !1, R = !1;
|
|
400
|
+
!this.isValidLookup(d) && N && (v = !0, d = L), this.isValidLookup(d) || (R = !0, d = o);
|
|
401
|
+
const P = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : d, A = N && L !== d && this.options.updateMissing;
|
|
402
|
+
if (R || v || A) {
|
|
403
403
|
if (this.logger.log(A ? "updateKey" : "missingKey", c, l, o, A ? L : d), a) {
|
|
404
404
|
const O = this.resolve(o, {
|
|
405
405
|
...s,
|
|
@@ -413,19 +413,19 @@ class X extends G {
|
|
|
413
413
|
for (let O = 0; O < Y.length; O++)
|
|
414
414
|
V.push(Y[O]);
|
|
415
415
|
else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(s.lng || this.language) : V.push(s.lng || this.language);
|
|
416
|
-
const
|
|
417
|
-
var
|
|
418
|
-
const
|
|
419
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, l, F,
|
|
416
|
+
const fe = (O, F, K) => {
|
|
417
|
+
var he;
|
|
418
|
+
const de = N && K !== d ? K : P;
|
|
419
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, l, F, de, A, s) : (he = this.backendConnector) != null && he.saveMissing && this.backendConnector.saveMissing(O, l, F, de, A, s), this.emit("missingKey", O, l, F, d);
|
|
420
420
|
};
|
|
421
421
|
this.options.saveMissing && (this.options.saveMissingPlurals && S ? V.forEach((O) => {
|
|
422
422
|
const F = this.pluralResolver.getSuffixes(O, s);
|
|
423
423
|
M && s[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((K) => {
|
|
424
|
-
|
|
424
|
+
fe([O], o + K, s[`defaultValue${K}`] || L);
|
|
425
425
|
});
|
|
426
|
-
}) :
|
|
426
|
+
}) : fe(V, o, L));
|
|
427
427
|
}
|
|
428
|
-
d = this.extendTranslation(d, e, s, h, i),
|
|
428
|
+
d = this.extendTranslation(d, e, s, h, i), R && d === o && this.options.appendNamespaceToMissingKey && (d = `${l}${f}${o}`), (R || v) && this.options.parseMissingKeyHandler && (d = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${f}${o}` : o, v ? d : void 0, s));
|
|
429
429
|
}
|
|
430
430
|
return n ? (h.res = d, h.usedParams = this.getUsedParamsDetails(s), h) : d;
|
|
431
431
|
}
|
|
@@ -463,7 +463,7 @@ class X extends G {
|
|
|
463
463
|
!i.lng && s && s.res && (i.lng = this.language || s.usedLng), i.nest !== !1 && (e = this.interpolator.nest(e, (...h) => (n == null ? void 0 : n[0]) === h[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : this.translate(...h, t), i)), i.interpolation && this.interpolator.reset();
|
|
464
464
|
}
|
|
465
465
|
const a = i.postProcess || this.options.postProcess, o = p(a) ? [a] : a;
|
|
466
|
-
return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e =
|
|
466
|
+
return e != null && (o != null && o.length) && i.applyPostProcessor !== !1 && (e = Ae.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
467
467
|
i18nResolved: {
|
|
468
468
|
...s,
|
|
469
469
|
usedParams: this.getUsedParamsDetails(i)
|
|
@@ -482,7 +482,7 @@ class X extends G {
|
|
|
482
482
|
const g = t.count !== void 0 && !p(t.count), h = g && !t.ordinal && t.count === 0, d = 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
|
-
this.isValidLookup(i) || (o = x, !
|
|
485
|
+
this.isValidLookup(i) || (o = x, !be[`${m[0]}-${x}`] && ((w = this.utils) != null && w.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(o)) && (be[`${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((T) => {
|
|
486
486
|
var J;
|
|
487
487
|
if (this.isValidLookup(i)) return;
|
|
488
488
|
a = T;
|
|
@@ -541,7 +541,7 @@ class X extends G {
|
|
|
541
541
|
return !1;
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
|
-
class
|
|
544
|
+
class Se {
|
|
545
545
|
constructor(e) {
|
|
546
546
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
|
|
547
547
|
}
|
|
@@ -605,20 +605,20 @@ class he {
|
|
|
605
605
|
}), s;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
const
|
|
608
|
+
const Le = {
|
|
609
609
|
zero: 0,
|
|
610
610
|
one: 1,
|
|
611
611
|
two: 2,
|
|
612
612
|
few: 3,
|
|
613
613
|
many: 4,
|
|
614
614
|
other: 5
|
|
615
|
-
},
|
|
615
|
+
}, Oe = {
|
|
616
616
|
select: (r) => r === 1 ? "one" : "other",
|
|
617
617
|
resolvedOptions: () => ({
|
|
618
618
|
pluralCategories: ["one", "other"]
|
|
619
619
|
})
|
|
620
620
|
};
|
|
621
|
-
class
|
|
621
|
+
class Qe {
|
|
622
622
|
constructor(e, t = {}) {
|
|
623
623
|
this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), this.pluralRulesCache = {};
|
|
624
624
|
}
|
|
@@ -642,8 +642,8 @@ class Xe {
|
|
|
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!"), Oe;
|
|
646
|
+
if (!e.match(/-|_/)) return Oe;
|
|
647
647
|
const u = this.languageUtils.getLanguagePartFromCode(e);
|
|
648
648
|
a = this.getRule(u, t);
|
|
649
649
|
}
|
|
@@ -658,18 +658,18 @@ class Xe {
|
|
|
658
658
|
}
|
|
659
659
|
getSuffixes(e, t = {}) {
|
|
660
660
|
let i = this.getRule(e, t);
|
|
661
|
-
return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) =>
|
|
661
|
+
return i || (i = this.getRule("dev", t)), i ? i.resolvedOptions().pluralCategories.sort((s, n) => Le[s] - Le[n]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : [];
|
|
662
662
|
}
|
|
663
663
|
getSuffix(e, t, i = {}) {
|
|
664
664
|
const s = this.getRule(e, i);
|
|
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
|
|
669
|
-
let n =
|
|
668
|
+
const Ce = (r, e, t, i = ".", s = !0) => {
|
|
669
|
+
let n = Be(r, e, t);
|
|
670
670
|
return !n && s && p(t) && (n = te(r, t, i), n === void 0 && (n = te(e, t, i))), n;
|
|
671
671
|
}, ee = (r) => r.replace(/\$/g, "$$$$");
|
|
672
|
-
class
|
|
672
|
+
class we {
|
|
673
673
|
constructor(e = {}) {
|
|
674
674
|
var t;
|
|
675
675
|
this.logger = $.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((i) => i), this.init(e);
|
|
@@ -697,7 +697,7 @@ class ye {
|
|
|
697
697
|
maxReplaces: w,
|
|
698
698
|
alwaysFormat: C
|
|
699
699
|
} = e.interpolation;
|
|
700
|
-
this.escape = t !== void 0 ? t :
|
|
700
|
+
this.escape = t !== void 0 ? t : Je, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? j(n) : a || "{{", this.suffix = o ? j(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? j(g) : h || j("$t("), this.nestingSuffix = d ? j(d) : m || j(")"), 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 ye {
|
|
|
711
711
|
let n, a, o;
|
|
712
712
|
const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (d) => {
|
|
713
713
|
if (d.indexOf(this.formatSeparator) < 0) {
|
|
714
|
-
const C =
|
|
714
|
+
const C = Ce(t, u, d, 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 ye {
|
|
|
719
719
|
}) : C;
|
|
720
720
|
}
|
|
721
721
|
const m = d.split(this.formatSeparator), x = m.shift().trim(), w = m.join(this.formatSeparator).trim();
|
|
722
|
-
return this.format(
|
|
722
|
+
return this.format(Ce(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), w, i, {
|
|
723
723
|
...s,
|
|
724
724
|
...t,
|
|
725
725
|
interpolationkey: x
|
|
@@ -747,7 +747,7 @@ class ye {
|
|
|
747
747
|
continue;
|
|
748
748
|
} else
|
|
749
749
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), a = "";
|
|
750
|
-
else !p(a) && !this.useRawValueToEscape && (a =
|
|
750
|
+
else !p(a) && !this.useRawValueToEscape && (a = pe(a));
|
|
751
751
|
const x = d.safeValue(a);
|
|
752
752
|
if (e = e.replace(n[0], x), c ? (d.regex.lastIndex += a.length, d.regex.lastIndex -= n[0].length) : d.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
753
753
|
break;
|
|
@@ -781,7 +781,7 @@ class ye {
|
|
|
781
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
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 =
|
|
784
|
+
p(n) || (n = pe(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;
|
|
@@ -789,7 +789,7 @@ class ye {
|
|
|
789
789
|
return e;
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
|
-
const
|
|
792
|
+
const Ze = (r) => {
|
|
793
793
|
let e = r.toLowerCase().trim();
|
|
794
794
|
const t = {};
|
|
795
795
|
if (r.indexOf("(") > -1) {
|
|
@@ -807,7 +807,7 @@ const Ge = (r) => {
|
|
|
807
807
|
formatName: e,
|
|
808
808
|
formatOptions: t
|
|
809
809
|
};
|
|
810
|
-
},
|
|
810
|
+
}, Re = (r) => {
|
|
811
811
|
const e = {};
|
|
812
812
|
return (t, i, s) => {
|
|
813
813
|
let n = s;
|
|
@@ -819,8 +819,8 @@ const Ge = (r) => {
|
|
|
819
819
|
let o = e[a];
|
|
820
820
|
return o || (o = r(z(i), s), e[a] = o), o(t);
|
|
821
821
|
};
|
|
822
|
-
},
|
|
823
|
-
class
|
|
822
|
+
}, et = (r) => (e, t, i) => r(z(t), i)(e);
|
|
823
|
+
class tt {
|
|
824
824
|
constructor(e = {}) {
|
|
825
825
|
this.logger = $.create("formatter"), this.options = e, this.init(e);
|
|
826
826
|
}
|
|
@@ -828,7 +828,7 @@ class Ze {
|
|
|
828
828
|
interpolation: {}
|
|
829
829
|
}) {
|
|
830
830
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
831
|
-
const i = t.cacheInBuiltFormats ?
|
|
831
|
+
const i = t.cacheInBuiltFormats ? Re : et;
|
|
832
832
|
this.formats = {
|
|
833
833
|
number: i((s, n) => {
|
|
834
834
|
const a = new Intl.NumberFormat(s, {
|
|
@@ -867,7 +867,7 @@ class Ze {
|
|
|
867
867
|
this.formats[e.toLowerCase().trim()] = t;
|
|
868
868
|
}
|
|
869
869
|
addCached(e, t) {
|
|
870
|
-
this.formats[e.toLowerCase().trim()] =
|
|
870
|
+
this.formats[e.toLowerCase().trim()] = Re(t);
|
|
871
871
|
}
|
|
872
872
|
format(e, t, i, s = {}) {
|
|
873
873
|
const n = t.split(this.formatSeparator);
|
|
@@ -880,7 +880,7 @@ class Ze {
|
|
|
880
880
|
const {
|
|
881
881
|
formatName: l,
|
|
882
882
|
formatOptions: f
|
|
883
|
-
} =
|
|
883
|
+
} = Ze(u);
|
|
884
884
|
if (this.formats[l]) {
|
|
885
885
|
let g = o;
|
|
886
886
|
try {
|
|
@@ -900,10 +900,10 @@ class Ze {
|
|
|
900
900
|
}, e);
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
|
-
const
|
|
903
|
+
const st = (r, e) => {
|
|
904
904
|
r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
|
|
905
905
|
};
|
|
906
|
-
class
|
|
906
|
+
class it extends G {
|
|
907
907
|
constructor(e, t, i, s = {}) {
|
|
908
908
|
var n, a;
|
|
909
909
|
super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = s, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], (a = (n = this.backend) == null ? void 0 : n.init) == null || a.call(n, i, s.backend, s);
|
|
@@ -936,7 +936,7 @@ class tt extends G {
|
|
|
936
936
|
}), this.state[e] = t ? -1 : 2, t && i && (this.state[e] = 0);
|
|
937
937
|
const o = {};
|
|
938
938
|
this.queue.forEach((u) => {
|
|
939
|
-
|
|
939
|
+
He(u.loaded, [n], a), st(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
|
|
940
940
|
o[l] || (o[l] = {});
|
|
941
941
|
const f = u.loaded[l];
|
|
942
942
|
f.length && f.forEach((c) => {
|
|
@@ -1035,7 +1035,7 @@ class tt extends G {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|
|
1038
|
-
const
|
|
1038
|
+
const ve = () => ({
|
|
1039
1039
|
debug: !1,
|
|
1040
1040
|
initAsync: !0,
|
|
1041
1041
|
ns: ["translation"],
|
|
@@ -1092,20 +1092,20 @@ const be = () => ({
|
|
|
1092
1092
|
skipOnVariables: !0
|
|
1093
1093
|
},
|
|
1094
1094
|
cacheInBuiltFormats: !0
|
|
1095
|
-
}),
|
|
1095
|
+
}), Pe = (r) => {
|
|
1096
1096
|
var e, t;
|
|
1097
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
|
}, W = () => {
|
|
1099
|
-
},
|
|
1099
|
+
}, nt = (r) => {
|
|
1100
1100
|
Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
|
|
1101
1101
|
typeof r[t] == "function" && (r[t] = r[t].bind(r));
|
|
1102
1102
|
});
|
|
1103
1103
|
};
|
|
1104
1104
|
class B extends G {
|
|
1105
1105
|
constructor(e = {}, t) {
|
|
1106
|
-
if (super(), this.options =
|
|
1106
|
+
if (super(), this.options = Pe(e), this.services = {}, this.logger = $, this.modules = {
|
|
1107
1107
|
external: []
|
|
1108
|
-
},
|
|
1108
|
+
}, nt(this), t && !this.isInitialized && !e.isClone) {
|
|
1109
1109
|
if (!this.options.initAsync)
|
|
1110
1110
|
return this.init(e, t), this;
|
|
1111
1111
|
setTimeout(() => {
|
|
@@ -1115,11 +1115,11 @@ class B extends G {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
init(e = {}, t) {
|
|
1117
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
|
-
const i =
|
|
1118
|
+
const i = ve();
|
|
1119
1119
|
this.options = {
|
|
1120
1120
|
...i,
|
|
1121
1121
|
...this.options,
|
|
1122
|
-
...
|
|
1122
|
+
...Pe(e)
|
|
1123
1123
|
}, this.options.interpolation = {
|
|
1124
1124
|
...i.interpolation,
|
|
1125
1125
|
...this.options.interpolation
|
|
@@ -1128,16 +1128,16 @@ class B extends G {
|
|
|
1128
1128
|
if (!this.options.isClone) {
|
|
1129
1129
|
this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
|
|
1130
1130
|
let l;
|
|
1131
|
-
this.modules.formatter ? l = this.modules.formatter : l =
|
|
1132
|
-
const f = new
|
|
1133
|
-
this.store = new
|
|
1131
|
+
this.modules.formatter ? l = this.modules.formatter : l = tt;
|
|
1132
|
+
const f = new Se(this.options);
|
|
1133
|
+
this.store = new xe(this.options.resources, this.options);
|
|
1134
1134
|
const c = this.services;
|
|
1135
|
-
c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new
|
|
1135
|
+
c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Qe(f, {
|
|
1136
1136
|
prepend: this.options.pluralSeparator,
|
|
1137
1137
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1138
|
-
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new
|
|
1138
|
+
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(l), c.formatter.init && c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new we(this.options), c.utils = {
|
|
1139
1139
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1140
|
-
}, c.backendConnector = new
|
|
1140
|
+
}, c.backendConnector = new it(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", (h, ...d) => {
|
|
1141
1141
|
this.emit(h, ...d);
|
|
1142
1142
|
}), this.modules.languageDetector && (c.languageDetector = s(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = s(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new X(this.services, this.options), this.translator.on("*", (h, ...d) => {
|
|
1143
1143
|
this.emit(h, ...d);
|
|
@@ -1190,7 +1190,7 @@ class B extends G {
|
|
|
1190
1190
|
use(e) {
|
|
1191
1191
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1192
1192
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1193
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
1193
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Ae.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1194
1194
|
}
|
|
1195
1195
|
setResolvedLanguage(e) {
|
|
1196
1196
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
|
|
@@ -1295,7 +1295,7 @@ class B extends G {
|
|
|
1295
1295
|
}
|
|
1296
1296
|
} catch {
|
|
1297
1297
|
}
|
|
1298
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new
|
|
1298
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = ((n = this.services) == null ? void 0 : n.languageUtils) || new Se(ve());
|
|
1299
1299
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1300
1300
|
}
|
|
1301
1301
|
static createInstance(e = {}, t) {
|
|
@@ -1322,9 +1322,9 @@ class B extends G {
|
|
|
1322
1322
|
}, u[l] = Object.keys(u[l]).reduce((f, c) => (f[c] = {
|
|
1323
1323
|
...u[l][c]
|
|
1324
1324
|
}, f), u[l]), u), {});
|
|
1325
|
-
n.store = new
|
|
1325
|
+
n.store = new xe(o, s), n.services.resourceStore = n.store;
|
|
1326
1326
|
}
|
|
1327
|
-
return e.interpolation && (n.services.interpolator = new
|
|
1327
|
+
return e.interpolation && (n.services.interpolator = new we(s)), n.translator = new X(n.services, s), n.translator.on("*", (o, ...u) => {
|
|
1328
1328
|
n.emit(o, ...u);
|
|
1329
1329
|
}), n.init(s, t), n.translator.options = s, n.translator.backendConnector.services.utils = {
|
|
1330
1330
|
hasLoadedNamespace: n.hasLoadedNamespace.bind(n)
|
|
@@ -1355,7 +1355,7 @@ y.setDefaultNamespace;
|
|
|
1355
1355
|
y.hasLoadedNamespace;
|
|
1356
1356
|
y.loadNamespaces;
|
|
1357
1357
|
y.loadLanguages;
|
|
1358
|
-
const
|
|
1358
|
+
const ts = (r) => {
|
|
1359
1359
|
var e, t;
|
|
1360
1360
|
!((e = r == null ? void 0 : r.i18n) != null && e.language) || !((t = r == null ? void 0 : r.i18n) != null && t.translations) || y.language === r.i18n.language && y.isInitialized || y.init({
|
|
1361
1361
|
lng: r.i18n.language,
|
|
@@ -1372,100 +1372,124 @@ const Qt = (r) => {
|
|
|
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.
|
|
1374
1374
|
*/
|
|
1375
|
-
const
|
|
1375
|
+
const at = [["path", { d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0", key: "svg-0" }], ["path", { d: "M12 8v4", key: "svg-1" }], ["path", { d: "M12 16h.01", key: "svg-2" }]], ss = Ve("outline", "alert-circle", "AlertCircle", at), rt = (r, e) => {
|
|
1376
1376
|
if (!r || !r.includes("|")) return y.t(r, e);
|
|
1377
1377
|
const [t, i] = r.split("|", 2).map((s) => s.trim());
|
|
1378
1378
|
return y.t(
|
|
1379
1379
|
[t, i].filter((s) => !!s),
|
|
1380
1380
|
e
|
|
1381
1381
|
);
|
|
1382
|
-
},
|
|
1382
|
+
}, is = (r) => {
|
|
1383
1383
|
const e = {};
|
|
1384
1384
|
return Object.keys(r).forEach((t) => {
|
|
1385
1385
|
const i = r[t];
|
|
1386
|
-
e[t] = typeof i == "string" ?
|
|
1386
|
+
e[t] = typeof i == "string" ? rt(i) : i;
|
|
1387
1387
|
}), e;
|
|
1388
|
-
}, Q =
|
|
1388
|
+
}, Q = $e("align", {
|
|
1389
1389
|
label: "Align",
|
|
1390
1390
|
optionLabel: (r) => r
|
|
1391
1391
|
});
|
|
1392
1392
|
D(Q, "left");
|
|
1393
1393
|
D(Q, "center");
|
|
1394
1394
|
D(Q, "right");
|
|
1395
|
-
const
|
|
1395
|
+
const ot = {
|
|
1396
|
+
name: "number",
|
|
1397
|
+
type: "number",
|
|
1398
|
+
label: "Number"
|
|
1399
|
+
}, lt = {
|
|
1400
|
+
name: "string",
|
|
1401
|
+
type: "string",
|
|
1402
|
+
label: "String"
|
|
1403
|
+
}, ut = {
|
|
1396
1404
|
name: "boolean",
|
|
1397
1405
|
type: "boolean",
|
|
1398
1406
|
label: "Boolean"
|
|
1399
|
-
},
|
|
1407
|
+
}, ct = {
|
|
1408
|
+
name: "timeRange",
|
|
1409
|
+
type: "timeRange",
|
|
1410
|
+
label: "Time Range"
|
|
1411
|
+
}, ft = {
|
|
1400
1412
|
name: "width",
|
|
1401
1413
|
type: "number",
|
|
1402
1414
|
label: "Width",
|
|
1403
1415
|
description: "You can input a number in pixels e.g. 400"
|
|
1404
|
-
},
|
|
1416
|
+
}, dt = { name: "align", type: Q, label: "Align" }, ie = { name: "prefix", type: "string", label: "Prefix" }, ne = { name: "suffix", type: "string", label: "Suffix" }, ae = {
|
|
1405
1417
|
name: "displayName",
|
|
1406
1418
|
type: "string",
|
|
1407
1419
|
label: "Display name"
|
|
1408
|
-
},
|
|
1420
|
+
}, re = {
|
|
1409
1421
|
name: "maxCharacters",
|
|
1410
1422
|
type: "number",
|
|
1411
1423
|
label: "Maximum characters",
|
|
1412
1424
|
description: void 0,
|
|
1413
1425
|
supportedTypes: ["string"]
|
|
1414
|
-
},
|
|
1426
|
+
}, oe = {
|
|
1415
1427
|
name: "decimalPlaces",
|
|
1416
1428
|
type: "number",
|
|
1417
1429
|
label: "Decimal places",
|
|
1418
1430
|
supportedTypes: ["number"]
|
|
1419
|
-
},
|
|
1431
|
+
}, le = {
|
|
1420
1432
|
name: "currency",
|
|
1421
1433
|
type: "string",
|
|
1422
1434
|
label: "Currency",
|
|
1423
1435
|
description: "e.g. EUR",
|
|
1424
1436
|
supportedTypes: ["number"]
|
|
1425
|
-
},
|
|
1437
|
+
}, ue = {
|
|
1426
1438
|
name: "abbreviateLargeNumber",
|
|
1427
1439
|
type: "boolean",
|
|
1428
1440
|
label: "Abbreviate large number",
|
|
1429
1441
|
supportedTypes: ["number"]
|
|
1430
|
-
},
|
|
1442
|
+
}, De = {
|
|
1431
1443
|
name: "dateBounds",
|
|
1432
1444
|
type: "timeRange",
|
|
1433
1445
|
label: "Date Bounds",
|
|
1434
1446
|
description: "Set the date range for the axis",
|
|
1435
1447
|
supportedTypes: ["time"]
|
|
1436
|
-
},
|
|
1448
|
+
}, Fe = {
|
|
1437
1449
|
name: "granularity",
|
|
1438
1450
|
type: "granularity",
|
|
1439
1451
|
label: "Granularity",
|
|
1440
1452
|
supportedTypes: ["time"]
|
|
1441
|
-
},
|
|
1442
|
-
type:
|
|
1453
|
+
}, ht = {
|
|
1454
|
+
type: Ne,
|
|
1443
1455
|
name: "color",
|
|
1444
1456
|
label: "Color"
|
|
1445
1457
|
}, I = [
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
],
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
],
|
|
1464
|
-
boolean:
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1458
|
+
ie,
|
|
1459
|
+
ne,
|
|
1460
|
+
ae,
|
|
1461
|
+
re,
|
|
1462
|
+
oe,
|
|
1463
|
+
le,
|
|
1464
|
+
ue
|
|
1465
|
+
], pt = [
|
|
1466
|
+
ie,
|
|
1467
|
+
ne,
|
|
1468
|
+
ae,
|
|
1469
|
+
re,
|
|
1470
|
+
oe,
|
|
1471
|
+
le,
|
|
1472
|
+
ue,
|
|
1473
|
+
Fe,
|
|
1474
|
+
De
|
|
1475
|
+
], ns = {
|
|
1476
|
+
boolean: ut,
|
|
1477
|
+
timeRange: ct,
|
|
1478
|
+
number: ot,
|
|
1479
|
+
string: lt,
|
|
1480
|
+
width: ft,
|
|
1481
|
+
align: dt,
|
|
1482
|
+
prefix: ie,
|
|
1483
|
+
suffix: ne,
|
|
1484
|
+
displayName: ae,
|
|
1485
|
+
maxCharacters: re,
|
|
1486
|
+
decimalPlaces: oe,
|
|
1487
|
+
currency: le,
|
|
1488
|
+
abbreviateLargeNumber: ue,
|
|
1489
|
+
dateBounds: De,
|
|
1490
|
+
granularity: Fe,
|
|
1491
|
+
color: ht
|
|
1492
|
+
}, E = $e("comparisonPeriod", {
|
|
1469
1493
|
label: "Comparison Period",
|
|
1470
1494
|
optionLabel: (r) => r
|
|
1471
1495
|
});
|
|
@@ -1474,45 +1498,45 @@ D(E, "Previous week");
|
|
|
1474
1498
|
D(E, "Previous month");
|
|
1475
1499
|
D(E, "Previous quarter");
|
|
1476
1500
|
D(E, "Previous year");
|
|
1477
|
-
const
|
|
1501
|
+
const gt = {
|
|
1478
1502
|
name: "boolean",
|
|
1479
1503
|
type: "boolean",
|
|
1480
1504
|
label: "Boolean"
|
|
1481
|
-
},
|
|
1505
|
+
}, mt = {
|
|
1482
1506
|
name: "timeRange",
|
|
1483
1507
|
type: "timeRange",
|
|
1484
1508
|
label: "Time Range"
|
|
1485
|
-
},
|
|
1509
|
+
}, yt = {
|
|
1486
1510
|
name: "number",
|
|
1487
1511
|
type: "number",
|
|
1488
1512
|
label: "Number"
|
|
1489
|
-
},
|
|
1513
|
+
}, je = {
|
|
1490
1514
|
name: "string",
|
|
1491
1515
|
type: "string",
|
|
1492
1516
|
label: "String"
|
|
1493
|
-
},
|
|
1517
|
+
}, xt = {
|
|
1494
1518
|
name: "title",
|
|
1495
1519
|
type: "string",
|
|
1496
1520
|
label: "Title",
|
|
1497
1521
|
category: "Component Header"
|
|
1498
|
-
},
|
|
1522
|
+
}, bt = {
|
|
1499
1523
|
name: "description",
|
|
1500
1524
|
type: "string",
|
|
1501
1525
|
label: "Description",
|
|
1502
1526
|
category: "Component Header"
|
|
1503
|
-
},
|
|
1527
|
+
}, St = {
|
|
1504
1528
|
name: "dataset",
|
|
1505
1529
|
type: "dataset",
|
|
1506
1530
|
label: "Dataset",
|
|
1507
1531
|
required: !0,
|
|
1508
1532
|
category: "Component Data"
|
|
1509
|
-
},
|
|
1533
|
+
}, Lt = {
|
|
1510
1534
|
name: "maxLegendItems",
|
|
1511
1535
|
type: "number",
|
|
1512
1536
|
label: "Max Legend Items",
|
|
1513
1537
|
defaultValue: 10,
|
|
1514
1538
|
category: "Component Data"
|
|
1515
|
-
},
|
|
1539
|
+
}, Ie = {
|
|
1516
1540
|
name: "dimension",
|
|
1517
1541
|
type: "dimension",
|
|
1518
1542
|
label: "Dimension",
|
|
@@ -1522,11 +1546,11 @@ const dt = {
|
|
|
1522
1546
|
required: !0,
|
|
1523
1547
|
category: "Component Data",
|
|
1524
1548
|
inputs: I
|
|
1525
|
-
},
|
|
1526
|
-
...
|
|
1549
|
+
}, Ot = {
|
|
1550
|
+
...Ie,
|
|
1527
1551
|
name: "groupBy",
|
|
1528
1552
|
label: "Group By"
|
|
1529
|
-
},
|
|
1553
|
+
}, Ct = {
|
|
1530
1554
|
name: "dimensionSimple",
|
|
1531
1555
|
type: "dimension",
|
|
1532
1556
|
label: "Dimension",
|
|
@@ -1536,7 +1560,7 @@ const dt = {
|
|
|
1536
1560
|
},
|
|
1537
1561
|
required: !0,
|
|
1538
1562
|
category: "Component Data"
|
|
1539
|
-
},
|
|
1563
|
+
}, wt = {
|
|
1540
1564
|
name: "dimensionTime",
|
|
1541
1565
|
type: "dimension",
|
|
1542
1566
|
label: "Dimension Time",
|
|
@@ -1547,7 +1571,7 @@ const dt = {
|
|
|
1547
1571
|
},
|
|
1548
1572
|
required: !0,
|
|
1549
1573
|
category: "Component Data"
|
|
1550
|
-
},
|
|
1574
|
+
}, Rt = {
|
|
1551
1575
|
name: "dimension",
|
|
1552
1576
|
type: "dimension",
|
|
1553
1577
|
label: "Dimension",
|
|
@@ -1556,8 +1580,8 @@ const dt = {
|
|
|
1556
1580
|
},
|
|
1557
1581
|
required: !0,
|
|
1558
1582
|
category: "Component Data",
|
|
1559
|
-
inputs:
|
|
1560
|
-
},
|
|
1583
|
+
inputs: pt
|
|
1584
|
+
}, vt = {
|
|
1561
1585
|
name: "dimensions",
|
|
1562
1586
|
type: "dimension",
|
|
1563
1587
|
label: "Dimensions",
|
|
@@ -1567,7 +1591,7 @@ const dt = {
|
|
|
1567
1591
|
required: !0,
|
|
1568
1592
|
category: "Component Data",
|
|
1569
1593
|
inputs: I
|
|
1570
|
-
},
|
|
1594
|
+
}, Pt = {
|
|
1571
1595
|
name: "dimensionOrMeasure",
|
|
1572
1596
|
type: "dimensionOrMeasure",
|
|
1573
1597
|
label: "Dimension or Measure",
|
|
@@ -1576,7 +1600,7 @@ const dt = {
|
|
|
1576
1600
|
},
|
|
1577
1601
|
category: "Component Data",
|
|
1578
1602
|
inputs: I
|
|
1579
|
-
},
|
|
1603
|
+
}, $t = {
|
|
1580
1604
|
name: "dimensionsAndMeasures",
|
|
1581
1605
|
type: "dimensionOrMeasure",
|
|
1582
1606
|
label: "Dimensions and Measures",
|
|
@@ -1587,7 +1611,7 @@ const dt = {
|
|
|
1587
1611
|
},
|
|
1588
1612
|
category: "Component Data",
|
|
1589
1613
|
inputs: I
|
|
1590
|
-
},
|
|
1614
|
+
}, Nt = {
|
|
1591
1615
|
name: "measure",
|
|
1592
1616
|
type: "measure",
|
|
1593
1617
|
label: "Measure",
|
|
@@ -1597,7 +1621,7 @@ const dt = {
|
|
|
1597
1621
|
required: !0,
|
|
1598
1622
|
category: "Component Data",
|
|
1599
1623
|
inputs: I
|
|
1600
|
-
},
|
|
1624
|
+
}, kt = {
|
|
1601
1625
|
name: "measures",
|
|
1602
1626
|
type: "measure",
|
|
1603
1627
|
label: "Measures",
|
|
@@ -1608,182 +1632,184 @@ const dt = {
|
|
|
1608
1632
|
required: !0,
|
|
1609
1633
|
category: "Component Data",
|
|
1610
1634
|
inputs: I
|
|
1611
|
-
},
|
|
1635
|
+
}, At = {
|
|
1612
1636
|
name: "comparisonPeriod",
|
|
1613
1637
|
type: E,
|
|
1614
1638
|
label: "Comparison Period",
|
|
1615
1639
|
category: "Component data"
|
|
1616
|
-
},
|
|
1640
|
+
}, Tt = {
|
|
1617
1641
|
name: "maxResults",
|
|
1618
1642
|
type: "number",
|
|
1619
1643
|
label: "Max results",
|
|
1620
1644
|
category: "Component Settings",
|
|
1621
1645
|
defaultValue: 1e3
|
|
1622
|
-
},
|
|
1646
|
+
}, Dt = {
|
|
1623
1647
|
name: "placeholder",
|
|
1624
1648
|
type: "string",
|
|
1625
1649
|
label: "Placeholder",
|
|
1626
1650
|
category: "Component Settings"
|
|
1627
|
-
},
|
|
1651
|
+
}, Ft = {
|
|
1628
1652
|
name: "showLegend",
|
|
1629
1653
|
type: "boolean",
|
|
1630
1654
|
label: "Show Legend",
|
|
1631
1655
|
defaultValue: !0,
|
|
1632
1656
|
category: "Component Settings"
|
|
1633
|
-
},
|
|
1657
|
+
}, jt = {
|
|
1634
1658
|
name: "showTooltips",
|
|
1635
1659
|
type: "boolean",
|
|
1636
1660
|
label: "Show Tooltips",
|
|
1637
1661
|
defaultValue: !0,
|
|
1638
1662
|
category: "Component Settings"
|
|
1639
|
-
},
|
|
1663
|
+
}, It = {
|
|
1640
1664
|
name: "showValueLabels",
|
|
1641
1665
|
type: "boolean",
|
|
1642
1666
|
label: "Show Value Labels",
|
|
1643
1667
|
defaultValue: !0,
|
|
1644
1668
|
category: "Component Settings"
|
|
1645
|
-
},
|
|
1669
|
+
}, Et = {
|
|
1646
1670
|
name: "showTotalLabels",
|
|
1647
1671
|
type: "boolean",
|
|
1648
1672
|
label: "Show Total Labels",
|
|
1649
1673
|
defaultValue: !1,
|
|
1650
1674
|
category: "Component Settings"
|
|
1651
|
-
},
|
|
1675
|
+
}, Mt = {
|
|
1652
1676
|
name: "showLogarithmicScale",
|
|
1653
1677
|
type: "boolean",
|
|
1654
1678
|
label: "Show Logarithmic Scale",
|
|
1655
1679
|
defaultValue: !1,
|
|
1656
1680
|
category: "Component Settings"
|
|
1657
|
-
},
|
|
1681
|
+
}, Vt = {
|
|
1658
1682
|
name: "displayPercentages",
|
|
1659
1683
|
type: "boolean",
|
|
1660
1684
|
label: "Display Percentages",
|
|
1661
1685
|
defaultValue: !1,
|
|
1662
1686
|
category: "Component Settings"
|
|
1663
|
-
},
|
|
1664
|
-
type:
|
|
1687
|
+
}, Kt = {
|
|
1688
|
+
type: Ne,
|
|
1665
1689
|
name: "color",
|
|
1666
1690
|
label: "Color",
|
|
1667
1691
|
category: "Component Settings"
|
|
1668
|
-
},
|
|
1692
|
+
}, Ut = {
|
|
1669
1693
|
type: "number",
|
|
1670
1694
|
name: "fontSize",
|
|
1671
1695
|
label: "Font Size",
|
|
1672
1696
|
category: "Component Settings"
|
|
1673
|
-
},
|
|
1697
|
+
}, Ht = {
|
|
1674
1698
|
type: "boolean",
|
|
1675
1699
|
name: "clearable",
|
|
1676
1700
|
label: "Can be cleared",
|
|
1677
1701
|
defaultValue: !0,
|
|
1678
1702
|
category: "Component Settings"
|
|
1679
|
-
},
|
|
1680
|
-
...
|
|
1703
|
+
}, Bt = {
|
|
1704
|
+
...je,
|
|
1681
1705
|
name: "displayNullAs",
|
|
1682
|
-
label: "Display
|
|
1706
|
+
label: "Display null as",
|
|
1683
1707
|
category: "Component Settings"
|
|
1684
|
-
},
|
|
1708
|
+
}, zt = {
|
|
1685
1709
|
name: "xAxisLabel",
|
|
1686
1710
|
type: "string",
|
|
1687
1711
|
label: "X-axis Label",
|
|
1688
1712
|
category: "Axes Settings"
|
|
1689
|
-
},
|
|
1713
|
+
}, Jt = {
|
|
1690
1714
|
name: "yAxisLabel",
|
|
1691
1715
|
type: "string",
|
|
1692
1716
|
label: "Y-axis Label",
|
|
1693
1717
|
category: "Axes Settings"
|
|
1694
|
-
},
|
|
1718
|
+
}, Yt = {
|
|
1695
1719
|
name: "reverseXAxis",
|
|
1696
1720
|
type: "boolean",
|
|
1697
1721
|
label: "Reverse X-axis",
|
|
1698
1722
|
defaultValue: !1,
|
|
1699
1723
|
category: "Axes Settings"
|
|
1700
|
-
},
|
|
1724
|
+
}, Wt = {
|
|
1701
1725
|
name: "reverseYAxis",
|
|
1702
1726
|
type: "boolean",
|
|
1703
1727
|
label: "Reverse Y-axis",
|
|
1704
1728
|
defaultValue: !1,
|
|
1705
1729
|
category: "Axes Settings"
|
|
1706
|
-
},
|
|
1730
|
+
}, _t = {
|
|
1707
1731
|
name: "yAxisRangeMin",
|
|
1708
1732
|
type: "number",
|
|
1709
1733
|
label: "Y-axis Range Min",
|
|
1710
1734
|
category: "Axes Settings"
|
|
1711
|
-
},
|
|
1735
|
+
}, qt = {
|
|
1712
1736
|
name: "yAxisRangeMax",
|
|
1713
1737
|
type: "number",
|
|
1714
1738
|
label: "Y-axis Range Max",
|
|
1715
1739
|
category: "Axes Settings"
|
|
1716
|
-
},
|
|
1740
|
+
}, Xt = {
|
|
1717
1741
|
name: "xAxisRangeMin",
|
|
1718
1742
|
type: "number",
|
|
1719
1743
|
label: "X-axis Range Min",
|
|
1720
1744
|
category: "Axes Settings"
|
|
1721
|
-
},
|
|
1745
|
+
}, Gt = {
|
|
1722
1746
|
name: "xAxisRangeMax",
|
|
1723
1747
|
type: "number",
|
|
1724
1748
|
label: "X-axis Range Max",
|
|
1725
1749
|
category: "Axes Settings"
|
|
1726
|
-
},
|
|
1750
|
+
}, Qt = {
|
|
1727
1751
|
name: "xAxisMaxItems",
|
|
1728
1752
|
type: "number",
|
|
1729
1753
|
label: "Max X-axis Items",
|
|
1730
1754
|
category: "Axes Settings"
|
|
1731
|
-
},
|
|
1755
|
+
}, Zt = {
|
|
1732
1756
|
name: "yAxisMaxItems",
|
|
1733
1757
|
type: "number",
|
|
1734
1758
|
label: "Max Y-axis Items",
|
|
1735
1759
|
category: "Axes Settings"
|
|
1736
|
-
},
|
|
1737
|
-
boolean:
|
|
1738
|
-
timeRange:
|
|
1739
|
-
number:
|
|
1740
|
-
string:
|
|
1741
|
-
title:
|
|
1742
|
-
description:
|
|
1743
|
-
dataset:
|
|
1744
|
-
maxLegendItems:
|
|
1745
|
-
dimension:
|
|
1746
|
-
groupBy:
|
|
1747
|
-
dimensionSimple:
|
|
1748
|
-
dimensionTime:
|
|
1749
|
-
dimensionWithDateBounds:
|
|
1750
|
-
dimensions:
|
|
1751
|
-
dimensionOrMeasure:
|
|
1752
|
-
dimensionsAndMeasures:
|
|
1753
|
-
measure:
|
|
1754
|
-
measures:
|
|
1755
|
-
comparisonPeriod:
|
|
1756
|
-
maxResults:
|
|
1757
|
-
placeholder:
|
|
1758
|
-
showLegend:
|
|
1759
|
-
showTooltips:
|
|
1760
|
-
showValueLabels:
|
|
1761
|
-
showTotalLabels:
|
|
1762
|
-
showLogarithmicScale:
|
|
1763
|
-
displayPercentages:
|
|
1764
|
-
color:
|
|
1765
|
-
fontSize:
|
|
1766
|
-
clearable:
|
|
1767
|
-
displayNullAs:
|
|
1768
|
-
xAxisLabel:
|
|
1769
|
-
yAxisLabel:
|
|
1770
|
-
reverseXAxis:
|
|
1771
|
-
reverseYAxis:
|
|
1772
|
-
yAxisRangeMin:
|
|
1773
|
-
yAxisRangeMax:
|
|
1774
|
-
xAxisRangeMin:
|
|
1775
|
-
xAxisRangeMax:
|
|
1776
|
-
xAxisMaxItems:
|
|
1777
|
-
yAxisMaxItems:
|
|
1760
|
+
}, as = {
|
|
1761
|
+
boolean: gt,
|
|
1762
|
+
timeRange: mt,
|
|
1763
|
+
number: yt,
|
|
1764
|
+
string: je,
|
|
1765
|
+
title: xt,
|
|
1766
|
+
description: bt,
|
|
1767
|
+
dataset: St,
|
|
1768
|
+
maxLegendItems: Lt,
|
|
1769
|
+
dimension: Ie,
|
|
1770
|
+
groupBy: Ot,
|
|
1771
|
+
dimensionSimple: Ct,
|
|
1772
|
+
dimensionTime: wt,
|
|
1773
|
+
dimensionWithDateBounds: Rt,
|
|
1774
|
+
dimensions: vt,
|
|
1775
|
+
dimensionOrMeasure: Pt,
|
|
1776
|
+
dimensionsAndMeasures: $t,
|
|
1777
|
+
measure: Nt,
|
|
1778
|
+
measures: kt,
|
|
1779
|
+
comparisonPeriod: At,
|
|
1780
|
+
maxResults: Tt,
|
|
1781
|
+
placeholder: Dt,
|
|
1782
|
+
showLegend: Ft,
|
|
1783
|
+
showTooltips: jt,
|
|
1784
|
+
showValueLabels: It,
|
|
1785
|
+
showTotalLabels: Et,
|
|
1786
|
+
showLogarithmicScale: Mt,
|
|
1787
|
+
displayPercentages: Vt,
|
|
1788
|
+
color: Kt,
|
|
1789
|
+
fontSize: Ut,
|
|
1790
|
+
clearable: Ht,
|
|
1791
|
+
displayNullAs: Bt,
|
|
1792
|
+
xAxisLabel: zt,
|
|
1793
|
+
yAxisLabel: Jt,
|
|
1794
|
+
reverseXAxis: Yt,
|
|
1795
|
+
reverseYAxis: Wt,
|
|
1796
|
+
yAxisRangeMin: _t,
|
|
1797
|
+
yAxisRangeMax: qt,
|
|
1798
|
+
xAxisRangeMin: Xt,
|
|
1799
|
+
xAxisRangeMax: Gt,
|
|
1800
|
+
xAxisMaxItems: Qt,
|
|
1801
|
+
yAxisMaxItems: Zt
|
|
1778
1802
|
};
|
|
1779
1803
|
export {
|
|
1780
1804
|
E as C,
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1805
|
+
ss as I,
|
|
1806
|
+
ts as a,
|
|
1807
|
+
as as b,
|
|
1808
|
+
rt as c,
|
|
1809
|
+
I as d,
|
|
1785
1810
|
y as i,
|
|
1786
|
-
|
|
1787
|
-
|
|
1811
|
+
is as r,
|
|
1812
|
+
ns as s,
|
|
1813
|
+
pt as t
|
|
1788
1814
|
};
|
|
1789
|
-
//# sourceMappingURL=component.inputs.constants-
|
|
1815
|
+
//# sourceMappingURL=component.inputs.constants-CpWMPDsp.js.map
|