@embeddable.com/remarkable-pro 0.0.26 → 0.0.27
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-C6rVK7Ux.js → ChartCard-CfVMn37p.js} +2 -2
- package/dist/{ChartCard-C6rVK7Ux.js.map → ChartCard-CfVMn37p.js.map} +1 -1
- package/dist/{ChartGranularitySelectField-BxhibpgC.js → ChartGranularitySelectField-C_6Mugcw.js} +2 -2
- package/dist/{ChartGranularitySelectField-BxhibpgC.js.map → ChartGranularitySelectField-C_6Mugcw.js.map} +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +2 -2
- package/dist/DateRangePickerCustomPro.js +2 -2
- package/dist/DateRangeSelectFieldPro.js +2 -2
- package/dist/DimensionAndMeasureSingleSelectField-CJ1yAcRd.js +45 -0
- package/dist/DimensionAndMeasureSingleSelectField-CJ1yAcRd.js.map +1 -0
- package/dist/DimensionSingleSelectFieldPro.js +86 -0
- package/dist/DimensionSingleSelectFieldPro.js.map +1 -0
- package/dist/DonutChartPro.js +3 -3
- package/dist/DonutLabelChartPro.js +3 -3
- package/dist/{EditorCard-DCm6Ykb8.js → EditorCard-B9UFM_uA.js} +2 -2
- package/dist/{EditorCard-DCm6Ykb8.js.map → EditorCard-B9UFM_uA.js.map} +1 -1
- package/dist/{GranularitySelectField-CYq2YuAO.js → GranularitySelectField-DuRk6qY8.js} +2 -2
- package/dist/{GranularitySelectField-CYq2YuAO.js.map → GranularitySelectField-DuRk6qY8.js.map} +1 -1
- package/dist/GranularitySelectFieldPro.js +3 -3
- package/dist/HeatMapPro.js +3 -3
- 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/MeasureSingleSelectFieldPro.js +86 -0
- package/dist/MeasureSingleSelectFieldPro.js.map +1 -0
- package/dist/MultiSelectFieldPro.js +3 -3
- package/dist/PieChartPro.js +3 -3
- package/dist/PivotTablePro.js +3 -3
- package/dist/SingleSelectFieldPro.js +4 -4
- package/dist/SingleSelectFieldPro.js.map +1 -1
- package/dist/TableChartPaginated.js +3 -3
- package/dist/TableScrollable.js +4 -4
- package/dist/{bars.utils-IYtKAgtt.js → bars.utils-B088DNG-.js} +3 -3
- package/dist/{bars.utils-IYtKAgtt.js.map → bars.utils-B088DNG-.js.map} +1 -1
- package/dist/{charts.utils-CeGAdGVG.js → charts.utils-D8oW5W5r.js} +3 -3
- package/dist/{charts.utils-CeGAdGVG.js.map → charts.utils-D8oW5W5r.js.map} +1 -1
- package/dist/{component.inputs.constants-wDyG8tFg.js → component.inputs.constants-DzpzJ9Na.js} +202 -189
- package/dist/{component.inputs.constants-wDyG8tFg.js.map → component.inputs.constants-DzpzJ9Na.js.map} +1 -1
- package/dist/components/component.inputs.constants.d.ts +33 -0
- package/dist/components/component.inputs.constants.d.ts.map +1 -1
- package/dist/components/editors/DimensionSingleSelectFieldPro/index.d.ts +12 -0
- package/dist/components/editors/DimensionSingleSelectFieldPro/index.d.ts.map +1 -0
- package/dist/components/editors/MeasureSingleSelectFieldPro/index.d.ts +12 -0
- package/dist/components/editors/MeasureSingleSelectFieldPro/index.d.ts.map +1 -0
- package/dist/components/editors/shared/DimensionAndMeasureSingleSelectField/DimensionAndMeasureSingleSelectField.d.ts +11 -0
- package/dist/components/editors/shared/DimensionAndMeasureSingleSelectField/DimensionAndMeasureSingleSelectField.d.ts.map +1 -0
- package/dist/components/editors/utils/dimensionsAndMeasures.utils.d.ts +9 -0
- package/dist/components/editors/utils/dimensionsAndMeasures.utils.d.ts.map +1 -0
- package/dist/components/preview.data.constants.d.ts +1 -0
- package/dist/components/preview.data.constants.d.ts.map +1 -1
- package/dist/embeddable-components.json +30 -26
- package/dist/{formatter.utils-DlbthOXA.js → formatter.utils-CiN6axbW.js} +2 -2
- package/dist/{formatter.utils-DlbthOXA.js.map → formatter.utils-CiN6axbW.js.map} +1 -1
- package/dist/{index-BFvsuXiz.js → index-7JWw7tI5.js} +4 -4
- package/dist/{index-BFvsuXiz.js.map → index-7JWw7tI5.js.map} +1 -1
- package/dist/{index-fcVfPVmY.js → index-9WoT-_pt.js} +5 -5
- package/dist/{index-fcVfPVmY.js.map → index-9WoT-_pt.js.map} +1 -1
- package/dist/{index-gnajbHE2.js → index-BCVHDZZk.js} +3 -3
- package/dist/{index-gnajbHE2.js.map → index-BCVHDZZk.js.map} +1 -1
- package/dist/{index-eEE2JmCK.js → index-BEckqi71.js} +6 -6
- package/dist/{index-eEE2JmCK.js.map → index-BEckqi71.js.map} +1 -1
- package/dist/{index-CvKdGFx3.js → index-BaTX0t-a.js} +5 -5
- package/dist/{index-CvKdGFx3.js.map → index-BaTX0t-a.js.map} +1 -1
- package/dist/{index-CiO0tI86.js → index-BnOZcps-.js} +4 -4
- package/dist/{index-CiO0tI86.js.map → index-BnOZcps-.js.map} +1 -1
- package/dist/{index-icM1qOGP.js → index-Bv9-6Ht7.js} +4 -4
- package/dist/{index-icM1qOGP.js.map → index-Bv9-6Ht7.js.map} +1 -1
- package/dist/{index-DfrwKtFA.js → index-CEDNCQK8.js} +4 -4
- package/dist/{index-DfrwKtFA.js.map → index-CEDNCQK8.js.map} +1 -1
- package/dist/{index-DHiPuxQQ.js → index-ClEmYHgx.js} +3 -3
- package/dist/{index-DHiPuxQQ.js.map → index-ClEmYHgx.js.map} +1 -1
- package/dist/{index-DytdIFQb.js → index-Co-4RSTf.js} +4 -4
- package/dist/{index-DytdIFQb.js.map → index-Co-4RSTf.js.map} +1 -1
- package/dist/{index-BkcQaDp8.js → index-Crpz4FA4.js} +5 -5
- package/dist/{index-BkcQaDp8.js.map → index-Crpz4FA4.js.map} +1 -1
- package/dist/{index-DCA_6rWw.js → index-D37a5H7U.js} +5 -5
- package/dist/{index-DCA_6rWw.js.map → index-D37a5H7U.js.map} +1 -1
- package/dist/{index-D3HMg6eu.js → index-DADSJYlJ.js} +5 -5
- package/dist/{index-D3HMg6eu.js.map → index-DADSJYlJ.js.map} +1 -1
- package/dist/{index-B2N9BsUK.js → index-DELS_iFy.js} +5 -5
- package/dist/{index-B2N9BsUK.js.map → index-DELS_iFy.js.map} +1 -1
- package/dist/{index-rodtTo_t.js → index-DKYeygzz.js} +5 -5
- package/dist/{index-rodtTo_t.js.map → index-DKYeygzz.js.map} +1 -1
- package/dist/{index-BaboirUQ.js → index-DeWASjPW.js} +4 -4
- package/dist/{index-BaboirUQ.js.map → index-DeWASjPW.js.map} +1 -1
- package/dist/{index-Bd4SFepB.js → index-DyN2Ja6Z.js} +5 -5
- package/dist/{index-Bd4SFepB.js.map → index-DyN2Ja6Z.js.map} +1 -1
- package/dist/{index-Cf96kZIH.js → index-Rm0SvvJH.js} +5 -5
- package/dist/{index-Cf96kZIH.js.map → index-Rm0SvvJH.js.map} +1 -1
- package/dist/{index-CoOz-mWY.js → index-eDr6IKsf.js} +5 -5
- package/dist/{index-CoOz-mWY.js.map → index-eDr6IKsf.js.map} +1 -1
- package/dist/{index-AqDTPWnU.js → index-mtJHlsB1.js} +4 -4
- package/dist/{index-AqDTPWnU.js.map → index-mtJHlsB1.js.map} +1 -1
- package/dist/{index-CgVjpFNs.js → index-n6RmR7mX.js} +4 -4
- package/dist/{index-CgVjpFNs.js.map → index-n6RmR7mX.js.map} +1 -1
- package/dist/index.js +29 -29
- package/dist/{pies.utils-XolEkyOz.js → pies.utils-DLk70PA8.js} +4 -4
- package/dist/{pies.utils-XolEkyOz.js.map → pies.utils-DLk70PA8.js.map} +1 -1
- package/dist/{preview.data.constants-37wUPKG8.js → preview.data.constants-BBIMPXYy.js} +21 -20
- package/dist/preview.data.constants-BBIMPXYy.js.map +1 -0
- package/dist/{tables.utils-Bb34U0u9.js → tables.utils-C7MWIQsp.js} +3 -3
- package/dist/{tables.utils-Bb34U0u9.js.map → tables.utils-C7MWIQsp.js.map} +1 -1
- package/dist/{timeRange.utils-DdzcsFwj.js → timeRange.utils-LHM3sXwE.js} +2 -2
- package/dist/{timeRange.utils-DdzcsFwj.js.map → timeRange.utils-LHM3sXwE.js.map} +1 -1
- package/package.json +1 -1
- package/dist/preview.data.constants-37wUPKG8.js.map +0 -1
package/dist/{component.inputs.constants-wDyG8tFg.js → component.inputs.constants-DzpzJ9Na.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { i as
|
|
1
|
+
import { i as qe, Y as X, Z as w, w as Ae } from "./Color.type.emb-De2K8PVb.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
|
-
}, Oe = (r) => r == null ? "" : "" + r,
|
|
8
|
+
}, Oe = (r) => r == null ? "" : "" + r, We = (r, e, t) => {
|
|
9
9
|
r.forEach((i) => {
|
|
10
10
|
e[i] && (t[i] = e[i]);
|
|
11
11
|
});
|
|
12
|
-
},
|
|
12
|
+
}, Ye = /###/g, Le = (r) => r && r.indexOf("###") > -1 ? r.replace(Ye, ".") : r, Ce = (r) => !r || p(r), B = (r, e, t) => {
|
|
13
13
|
const i = p(e) ? e.split(".") : e;
|
|
14
14
|
let s = 0;
|
|
15
15
|
for (; s < i.length - 1; ) {
|
|
@@ -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 = B(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
|
+
}, _e = (r, e, t, i) => {
|
|
38
38
|
const {
|
|
39
39
|
obj: s,
|
|
40
40
|
k: n
|
|
@@ -47,7 +47,7 @@ const p = (r) => typeof r == "string", U = () => {
|
|
|
47
47
|
} = B(r, e);
|
|
48
48
|
if (t && Object.prototype.hasOwnProperty.call(t, i))
|
|
49
49
|
return t[i];
|
|
50
|
-
},
|
|
50
|
+
}, Qe = (r, e, t) => {
|
|
51
51
|
const i = Y(r, t);
|
|
52
52
|
return i !== void 0 ? i : Y(e, t);
|
|
53
53
|
}, je = (r, e, t) => {
|
|
@@ -55,7 +55,7 @@ const p = (r) => typeof r == "string", U = () => {
|
|
|
55
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]) : je(r[i], e[i], t) : r[i] = e[i]);
|
|
56
56
|
return r;
|
|
57
57
|
}, I = (r) => r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
58
|
-
var
|
|
58
|
+
var Xe = {
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
61
61
|
">": ">",
|
|
@@ -63,8 +63,8 @@ var Ye = {
|
|
|
63
63
|
"'": "'",
|
|
64
64
|
"/": "/"
|
|
65
65
|
};
|
|
66
|
-
const
|
|
67
|
-
class
|
|
66
|
+
const Ze = (r) => p(r) ? r.replace(/[&<>"'\/]/g, (e) => Xe[e]) : r;
|
|
67
|
+
class et {
|
|
68
68
|
constructor(e) {
|
|
69
69
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
70
70
|
}
|
|
@@ -76,11 +76,11 @@ class Qe {
|
|
|
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 tt = [" ", ",", "?", "!", ";"], st = new et(20), it = (r, e, t) => {
|
|
80
80
|
e = e || "", t = t || "";
|
|
81
|
-
const i =
|
|
81
|
+
const i = tt.filter((a) => e.indexOf(a) < 0 && t.indexOf(a) < 0);
|
|
82
82
|
if (i.length === 0) return !0;
|
|
83
|
-
const s =
|
|
83
|
+
const s = st.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 Xe = [" ", ",", "?", "!", ";"], Ze = new Qe(20), et = (r, e, t) => {
|
|
|
107
107
|
s = a;
|
|
108
108
|
}
|
|
109
109
|
return s;
|
|
110
|
-
}, J = (r) => r == null ? void 0 : r.replace("_", "-"),
|
|
110
|
+
}, J = (r) => r == null ? void 0 : r.replace("_", "-"), nt = {
|
|
111
111
|
type: "logger",
|
|
112
112
|
log(r) {
|
|
113
113
|
this.output("log", r);
|
|
@@ -128,7 +128,7 @@ class _ {
|
|
|
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 || nt, this.options = t, this.debug = t.debug;
|
|
132
132
|
}
|
|
133
133
|
log(...e) {
|
|
134
134
|
return this.forward(e, "log", "", !0);
|
|
@@ -155,7 +155,7 @@ class _ {
|
|
|
155
155
|
return e = e || this.options, e.prefix = e.prefix || this.prefix, new _(this.logger, e);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
var
|
|
158
|
+
var D = new _();
|
|
159
159
|
class Z {
|
|
160
160
|
constructor() {
|
|
161
161
|
this.observers = {};
|
|
@@ -269,7 +269,7 @@ var Ie = {
|
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
const Ee = Symbol("i18next/PATH_KEY");
|
|
272
|
-
function
|
|
272
|
+
function at() {
|
|
273
273
|
const r = [], e = /* @__PURE__ */ Object.create(null);
|
|
274
274
|
let t;
|
|
275
275
|
return e.get = (i, s) => {
|
|
@@ -280,13 +280,13 @@ function st() {
|
|
|
280
280
|
function he(r, e) {
|
|
281
281
|
const {
|
|
282
282
|
[Ee]: t
|
|
283
|
-
} = r(
|
|
283
|
+
} = r(at());
|
|
284
284
|
return t.join((e == null ? void 0 : e.keySeparator) ?? ".");
|
|
285
285
|
}
|
|
286
286
|
const Re = {}, ue = (r) => !p(r) && typeof r != "boolean" && typeof r != "number";
|
|
287
287
|
class Q extends Z {
|
|
288
288
|
constructor(e, t = {}) {
|
|
289
|
-
super(),
|
|
289
|
+
super(), We(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = D.create("translator");
|
|
290
290
|
}
|
|
291
291
|
changeLanguage(e) {
|
|
292
292
|
e && (this.language = e);
|
|
@@ -308,7 +308,7 @@ class Q extends Z {
|
|
|
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 && !it(e, i, s);
|
|
312
312
|
if (a && !o) {
|
|
313
313
|
const u = e.match(this.interpolator.nestingRegexp);
|
|
314
314
|
if (u && u.length > 0)
|
|
@@ -360,13 +360,13 @@ class Q extends Z {
|
|
|
360
360
|
} : o;
|
|
361
361
|
const h = this.resolve(e, s);
|
|
362
362
|
let d = h == null ? void 0 : h.res;
|
|
363
|
-
const m = (h == null ? void 0 : h.usedKey) || o, x = (h == null ? void 0 : h.exactUsedKey) || o, R = ["[object Number]", "[object Function]", "[object RegExp]"], v = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, O = s.count !== void 0 && !p(s.count),
|
|
363
|
+
const m = (h == null ? void 0 : h.usedKey) || o, x = (h == null ? void 0 : h.exactUsedKey) || o, R = ["[object Number]", "[object Function]", "[object RegExp]"], v = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, A = !this.i18nFormat || this.i18nFormat.handleAsObject, O = s.count !== void 0 && !p(s.count), k = Q.hasDefaultValue(s), G = O ? this.pluralResolver.getSuffix(c, s.count, s) : "", F = s.ordinal && O ? this.pluralResolver.getSuffix(c, s.count, {
|
|
364
364
|
ordinal: !1
|
|
365
365
|
}) : "", M = O && !s.ordinal && s.count === 0, L = M && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${G}`] || s[`defaultValue${F}`] || s.defaultValue;
|
|
366
366
|
let S = d;
|
|
367
|
-
A && !d &&
|
|
368
|
-
const
|
|
369
|
-
if (A && S &&
|
|
367
|
+
A && !d && k && (S = L);
|
|
368
|
+
const Je = ue(S), Ge = Object.prototype.toString.apply(S);
|
|
369
|
+
if (A && S && Je && R.indexOf(Ge) < 0 && !(p(v) && Array.isArray(S))) {
|
|
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 $ = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(m, S, {
|
|
@@ -380,7 +380,7 @@ class Q extends Z {
|
|
|
380
380
|
for (const N in S)
|
|
381
381
|
if (Object.prototype.hasOwnProperty.call(S, N)) {
|
|
382
382
|
const T = `${ye}${a}${N}`;
|
|
383
|
-
|
|
383
|
+
k && !d ? P[N] = this.translate(T, {
|
|
384
384
|
...s,
|
|
385
385
|
defaultValue: ue(L) ? L[N] : void 0,
|
|
386
386
|
joinArrays: !1,
|
|
@@ -397,8 +397,8 @@ class Q extends Z {
|
|
|
397
397
|
d = d.join(v), d && (d = this.extendTranslation(d, e, s, i));
|
|
398
398
|
else {
|
|
399
399
|
let $ = !1, P = !1;
|
|
400
|
-
!this.isValidLookup(d) &&
|
|
401
|
-
const N = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : d, T =
|
|
400
|
+
!this.isValidLookup(d) && k && ($ = !0, d = L), this.isValidLookup(d) || (P = !0, d = o);
|
|
401
|
+
const N = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : d, T = k && L !== d && this.options.updateMissing;
|
|
402
402
|
if (P || $ || T) {
|
|
403
403
|
if (this.logger.log(T ? "updateKey" : "missingKey", c, l, o, T ? L : d), a) {
|
|
404
404
|
const C = this.resolve(o, {
|
|
@@ -415,7 +415,7 @@ class Q extends Z {
|
|
|
415
415
|
else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(s.lng || this.language) : K.push(s.lng || this.language);
|
|
416
416
|
const be = (C, j, H) => {
|
|
417
417
|
var Se;
|
|
418
|
-
const xe =
|
|
418
|
+
const xe = k && H !== d ? H : N;
|
|
419
419
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(C, l, j, xe, T, s) : (Se = this.backendConnector) != null && Se.saveMissing && this.backendConnector.saveMissing(C, l, j, xe, T, s), this.emit("missingKey", C, l, j, d);
|
|
420
420
|
};
|
|
421
421
|
this.options.saveMissing && (this.options.saveMissingPlurals && O ? K.forEach((C) => {
|
|
@@ -498,9 +498,9 @@ class Q extends Z {
|
|
|
498
498
|
O.push(S), g && (t.ordinal && F.indexOf(L) === 0 && O.push(S + F.replace(L, this.options.pluralSeparator)), O.push(S + F), h && O.push(S + M));
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
let
|
|
502
|
-
for (;
|
|
503
|
-
this.isValidLookup(i) || (n =
|
|
501
|
+
let k;
|
|
502
|
+
for (; k = O.pop(); )
|
|
503
|
+
this.isValidLookup(i) || (n = k, i = this.getResource(A, x, k, t));
|
|
504
504
|
}));
|
|
505
505
|
});
|
|
506
506
|
}), {
|
|
@@ -543,7 +543,7 @@ class Q extends Z {
|
|
|
543
543
|
}
|
|
544
544
|
class Pe {
|
|
545
545
|
constructor(e) {
|
|
546
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
546
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = D.create("languageUtils");
|
|
547
547
|
}
|
|
548
548
|
getScriptPartFromCode(e) {
|
|
549
549
|
if (e = J(e), !e || e.indexOf("-") < 0) return null;
|
|
@@ -618,9 +618,9 @@ const $e = {
|
|
|
618
618
|
pluralCategories: ["one", "other"]
|
|
619
619
|
})
|
|
620
620
|
};
|
|
621
|
-
class
|
|
621
|
+
class rt {
|
|
622
622
|
constructor(e, t = {}) {
|
|
623
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
623
|
+
this.languageUtils = e, this.options = t, this.logger = D.create("pluralResolver"), this.pluralRulesCache = {};
|
|
624
624
|
}
|
|
625
625
|
clearCache() {
|
|
626
626
|
this.pluralRulesCache = {};
|
|
@@ -662,14 +662,14 @@ class it {
|
|
|
662
662
|
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));
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
const
|
|
666
|
-
let n =
|
|
665
|
+
const De = (r, e, t, i = ".", s = !0) => {
|
|
666
|
+
let n = Qe(r, e, t);
|
|
667
667
|
return !n && s && p(t) && (n = de(r, t, i), n === void 0 && (n = de(e, t, i))), n;
|
|
668
668
|
}, ce = (r) => r.replace(/\$/g, "$$$$");
|
|
669
|
-
class
|
|
669
|
+
class ke {
|
|
670
670
|
constructor(e = {}) {
|
|
671
671
|
var t;
|
|
672
|
-
this.logger =
|
|
672
|
+
this.logger = D.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((i) => i), this.init(e);
|
|
673
673
|
}
|
|
674
674
|
init(e = {}) {
|
|
675
675
|
e.interpolation || (e.interpolation = {
|
|
@@ -694,7 +694,7 @@ class De {
|
|
|
694
694
|
maxReplaces: R,
|
|
695
695
|
alwaysFormat: v
|
|
696
696
|
} = e.interpolation;
|
|
697
|
-
this.escape = t !== void 0 ? t :
|
|
697
|
+
this.escape = t !== void 0 ? t : Ze, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = n ? I(n) : a || "{{", this.suffix = o ? I(o) : u || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = g ? I(g) : h || I("$t("), this.nestingSuffix = d ? I(d) : m || I(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = R || 1e3, this.alwaysFormat = v !== void 0 ? v : !1, this.resetRegExp();
|
|
698
698
|
}
|
|
699
699
|
reset() {
|
|
700
700
|
this.options && this.init(this.options);
|
|
@@ -708,7 +708,7 @@ class De {
|
|
|
708
708
|
let n, a, o;
|
|
709
709
|
const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, l = (d) => {
|
|
710
710
|
if (d.indexOf(this.formatSeparator) < 0) {
|
|
711
|
-
const v =
|
|
711
|
+
const v = De(t, u, d, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
712
712
|
return this.alwaysFormat ? this.format(v, void 0, i, {
|
|
713
713
|
...s,
|
|
714
714
|
...t,
|
|
@@ -716,7 +716,7 @@ class De {
|
|
|
716
716
|
}) : v;
|
|
717
717
|
}
|
|
718
718
|
const m = d.split(this.formatSeparator), x = m.shift().trim(), R = m.join(this.formatSeparator).trim();
|
|
719
|
-
return this.format(
|
|
719
|
+
return this.format(De(t, u, x, this.options.keySeparator, this.options.ignoreJSONStructure), R, i, {
|
|
720
720
|
...s,
|
|
721
721
|
...t,
|
|
722
722
|
interpolationkey: x
|
|
@@ -786,7 +786,7 @@ class De {
|
|
|
786
786
|
return e;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
const
|
|
789
|
+
const ot = (r) => {
|
|
790
790
|
let e = r.toLowerCase().trim();
|
|
791
791
|
const t = {};
|
|
792
792
|
if (r.indexOf("(") > -1) {
|
|
@@ -816,16 +816,16 @@ const nt = (r) => {
|
|
|
816
816
|
let o = e[a];
|
|
817
817
|
return o || (o = r(J(i), s), e[a] = o), o(t);
|
|
818
818
|
};
|
|
819
|
-
},
|
|
820
|
-
class
|
|
819
|
+
}, lt = (r) => (e, t, i) => r(J(t), i)(e);
|
|
820
|
+
class ut {
|
|
821
821
|
constructor(e = {}) {
|
|
822
|
-
this.logger =
|
|
822
|
+
this.logger = D.create("formatter"), this.options = e, this.init(e);
|
|
823
823
|
}
|
|
824
824
|
init(e, t = {
|
|
825
825
|
interpolation: {}
|
|
826
826
|
}) {
|
|
827
827
|
this.formatSeparator = t.interpolation.formatSeparator || ",";
|
|
828
|
-
const i = t.cacheInBuiltFormats ? Fe :
|
|
828
|
+
const i = t.cacheInBuiltFormats ? Fe : lt;
|
|
829
829
|
this.formats = {
|
|
830
830
|
number: i((s, n) => {
|
|
831
831
|
const a = new Intl.NumberFormat(s, {
|
|
@@ -877,7 +877,7 @@ class rt {
|
|
|
877
877
|
const {
|
|
878
878
|
formatName: l,
|
|
879
879
|
formatOptions: f
|
|
880
|
-
} =
|
|
880
|
+
} = ot(u);
|
|
881
881
|
if (this.formats[l]) {
|
|
882
882
|
let g = o;
|
|
883
883
|
try {
|
|
@@ -897,13 +897,13 @@ class rt {
|
|
|
897
897
|
}, e);
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
const
|
|
900
|
+
const ct = (r, e) => {
|
|
901
901
|
r.pending[e] !== void 0 && (delete r.pending[e], r.pendingCount--);
|
|
902
902
|
};
|
|
903
|
-
class
|
|
903
|
+
class ft extends Z {
|
|
904
904
|
constructor(e, t, i, s = {}) {
|
|
905
905
|
var n, a;
|
|
906
|
-
super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = s, this.logger =
|
|
906
|
+
super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = s, this.logger = D.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);
|
|
907
907
|
}
|
|
908
908
|
queueLoad(e, t, i, s) {
|
|
909
909
|
const n = {}, a = {}, o = {}, u = {};
|
|
@@ -933,7 +933,7 @@ class lt extends Z {
|
|
|
933
933
|
}), this.state[e] = t ? -1 : 2, t && i && (this.state[e] = 0);
|
|
934
934
|
const o = {};
|
|
935
935
|
this.queue.forEach((u) => {
|
|
936
|
-
|
|
936
|
+
_e(u.loaded, [n], a), ct(u, e), t && u.errors.push(t), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
|
|
937
937
|
o[l] || (o[l] = {});
|
|
938
938
|
const f = u.loaded[l];
|
|
939
939
|
f.length && f.forEach((c) => {
|
|
@@ -1093,16 +1093,16 @@ const fe = () => ({
|
|
|
1093
1093
|
var e, t;
|
|
1094
1094
|
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;
|
|
1095
1095
|
}, W = () => {
|
|
1096
|
-
},
|
|
1096
|
+
}, dt = (r) => {
|
|
1097
1097
|
Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((t) => {
|
|
1098
1098
|
typeof r[t] == "function" && (r[t] = r[t].bind(r));
|
|
1099
1099
|
});
|
|
1100
1100
|
};
|
|
1101
1101
|
class z extends Z {
|
|
1102
1102
|
constructor(e = {}, t) {
|
|
1103
|
-
if (super(), this.options = Te(e), this.services = {}, this.logger =
|
|
1103
|
+
if (super(), this.options = Te(e), this.services = {}, this.logger = D, this.modules = {
|
|
1104
1104
|
external: []
|
|
1105
|
-
},
|
|
1105
|
+
}, dt(this), t && !this.isInitialized && !e.isClone) {
|
|
1106
1106
|
if (!this.options.initAsync)
|
|
1107
1107
|
return this.init(e, t), this;
|
|
1108
1108
|
setTimeout(() => {
|
|
@@ -1123,18 +1123,18 @@ class z extends Z {
|
|
|
1123
1123
|
}, 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);
|
|
1124
1124
|
const s = (l) => l ? typeof l == "function" ? new l() : l : null;
|
|
1125
1125
|
if (!this.options.isClone) {
|
|
1126
|
-
this.modules.logger ?
|
|
1126
|
+
this.modules.logger ? D.init(s(this.modules.logger), this.options) : D.init(null, this.options);
|
|
1127
1127
|
let l;
|
|
1128
|
-
this.modules.formatter ? l = this.modules.formatter : l =
|
|
1128
|
+
this.modules.formatter ? l = this.modules.formatter : l = ut;
|
|
1129
1129
|
const f = new Pe(this.options);
|
|
1130
1130
|
this.store = new ve(this.options.resources, this.options);
|
|
1131
1131
|
const c = this.services;
|
|
1132
|
-
c.logger =
|
|
1132
|
+
c.logger = D, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new rt(f, {
|
|
1133
1133
|
prepend: this.options.pluralSeparator,
|
|
1134
1134
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1135
|
-
}), 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
|
|
1135
|
+
}), 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 ke(this.options), c.utils = {
|
|
1136
1136
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1137
|
-
}, c.backendConnector = new
|
|
1137
|
+
}, c.backendConnector = new ft(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", (h, ...d) => {
|
|
1138
1138
|
this.emit(h, ...d);
|
|
1139
1139
|
}), 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 Q(this.services, this.options), this.translator.on("*", (h, ...d) => {
|
|
1140
1140
|
this.emit(h, ...d);
|
|
@@ -1330,7 +1330,7 @@ class z extends Z {
|
|
|
1330
1330
|
...s,
|
|
1331
1331
|
interpolation: u
|
|
1332
1332
|
};
|
|
1333
|
-
n.services.interpolator = new
|
|
1333
|
+
n.services.interpolator = new ke(l);
|
|
1334
1334
|
}
|
|
1335
1335
|
return n.translator = new Q(n.services, s), n.translator.on("*", (o, ...u) => {
|
|
1336
1336
|
n.emit(o, ...u);
|
|
@@ -1363,7 +1363,7 @@ b.setDefaultNamespace;
|
|
|
1363
1363
|
b.hasLoadedNamespace;
|
|
1364
1364
|
b.loadNamespaces;
|
|
1365
1365
|
b.loadLanguages;
|
|
1366
|
-
const
|
|
1366
|
+
const ms = (r) => {
|
|
1367
1367
|
var e, t;
|
|
1368
1368
|
!((e = r == null ? void 0 : r.i18n) != null && e.language) || !((t = r == null ? void 0 : r.i18n) != null && t.translations) || b.language === r.i18n.language && b.isInitialized || b.init({
|
|
1369
1369
|
lng: r.i18n.language,
|
|
@@ -1380,18 +1380,18 @@ const hs = (r) => {
|
|
|
1380
1380
|
* This source code is licensed under the MIT license.
|
|
1381
1381
|
* See the LICENSE file in the root directory of this source tree.
|
|
1382
1382
|
*/
|
|
1383
|
-
const
|
|
1383
|
+
const ht = [["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" }]], ys = qe("outline", "alert-circle", "AlertCircle", ht), pt = (r, e) => {
|
|
1384
1384
|
if (!r || !r.includes("|")) return b.t(r, e);
|
|
1385
1385
|
const [t, i] = r.split("|", 2).map((s) => s.trim());
|
|
1386
1386
|
return b.t(
|
|
1387
1387
|
[t, i].filter((s) => !!s),
|
|
1388
1388
|
e
|
|
1389
1389
|
);
|
|
1390
|
-
},
|
|
1390
|
+
}, bs = (r) => {
|
|
1391
1391
|
const e = {};
|
|
1392
1392
|
return Object.keys(r).forEach((t) => {
|
|
1393
1393
|
const i = r[t];
|
|
1394
|
-
e[t] = typeof i == "string" ?
|
|
1394
|
+
e[t] = typeof i == "string" ? pt(i) : i;
|
|
1395
1395
|
}), e;
|
|
1396
1396
|
}, Ve = {
|
|
1397
1397
|
MARKDOWN: "Markdown",
|
|
@@ -1411,7 +1411,7 @@ const y = {
|
|
|
1411
1411
|
month: "month",
|
|
1412
1412
|
quarter: "quarter",
|
|
1413
1413
|
year: "year"
|
|
1414
|
-
},
|
|
1414
|
+
}, xs = [
|
|
1415
1415
|
{ value: y.second, label: "defaults.granularityOptions.second|Second" },
|
|
1416
1416
|
{ value: y.minute, label: "defaults.granularityOptions.minute|Minute" },
|
|
1417
1417
|
{ value: y.hour, label: "defaults.granularityOptions.hour|Hour" },
|
|
@@ -1434,28 +1434,28 @@ const te = X("tableCellStyle", {
|
|
|
1434
1434
|
w(te, "Bold");
|
|
1435
1435
|
w(te, "Italic");
|
|
1436
1436
|
w(te, "Positive vs Negative");
|
|
1437
|
-
const
|
|
1437
|
+
const gt = {
|
|
1438
1438
|
name: "number",
|
|
1439
1439
|
type: "number",
|
|
1440
1440
|
label: "Number"
|
|
1441
|
-
},
|
|
1441
|
+
}, mt = {
|
|
1442
1442
|
name: "string",
|
|
1443
1443
|
type: "string",
|
|
1444
1444
|
label: "String"
|
|
1445
|
-
},
|
|
1445
|
+
}, yt = {
|
|
1446
1446
|
name: "boolean",
|
|
1447
1447
|
type: "boolean",
|
|
1448
1448
|
label: "Boolean"
|
|
1449
|
-
},
|
|
1449
|
+
}, bt = {
|
|
1450
1450
|
name: "timeRange",
|
|
1451
1451
|
type: "timeRange",
|
|
1452
1452
|
label: "Time range"
|
|
1453
|
-
},
|
|
1453
|
+
}, xt = {
|
|
1454
1454
|
name: "width",
|
|
1455
1455
|
type: "number",
|
|
1456
1456
|
label: "Width",
|
|
1457
1457
|
description: "You can input a number in pixels e.g. 400"
|
|
1458
|
-
},
|
|
1458
|
+
}, St = { name: "align", type: ee, label: "Align" }, se = { name: "prefix", type: "string", label: "Prefix" }, ie = { name: "suffix", type: "string", label: "Suffix" }, ne = {
|
|
1459
1459
|
name: "displayName",
|
|
1460
1460
|
type: "string",
|
|
1461
1461
|
label: "Display name"
|
|
@@ -1493,11 +1493,11 @@ const dt = {
|
|
|
1493
1493
|
label: "Granularity",
|
|
1494
1494
|
supportedTypes: ["time"],
|
|
1495
1495
|
defaultValue: y.day
|
|
1496
|
-
},
|
|
1496
|
+
}, Ot = {
|
|
1497
1497
|
type: Ae,
|
|
1498
1498
|
name: "color",
|
|
1499
1499
|
label: "Color"
|
|
1500
|
-
},
|
|
1500
|
+
}, Lt = {
|
|
1501
1501
|
name: "granularities",
|
|
1502
1502
|
type: "granularity",
|
|
1503
1503
|
label: "Granularities",
|
|
@@ -1512,11 +1512,11 @@ const dt = {
|
|
|
1512
1512
|
y.quarter,
|
|
1513
1513
|
y.year
|
|
1514
1514
|
]
|
|
1515
|
-
},
|
|
1515
|
+
}, Ct = {
|
|
1516
1516
|
type: pe,
|
|
1517
1517
|
name: "displayFormat",
|
|
1518
1518
|
label: "Display format"
|
|
1519
|
-
},
|
|
1519
|
+
}, wt = {
|
|
1520
1520
|
type: te,
|
|
1521
1521
|
name: "tableCellStyle",
|
|
1522
1522
|
label: "Table cell style"
|
|
@@ -1535,7 +1535,7 @@ const dt = {
|
|
|
1535
1535
|
re,
|
|
1536
1536
|
oe,
|
|
1537
1537
|
le
|
|
1538
|
-
],
|
|
1538
|
+
], vt = [
|
|
1539
1539
|
se,
|
|
1540
1540
|
ie,
|
|
1541
1541
|
ne,
|
|
@@ -1545,7 +1545,7 @@ const dt = {
|
|
|
1545
1545
|
le,
|
|
1546
1546
|
me,
|
|
1547
1547
|
ge
|
|
1548
|
-
],
|
|
1548
|
+
], Rt = [
|
|
1549
1549
|
se,
|
|
1550
1550
|
ie,
|
|
1551
1551
|
ne,
|
|
@@ -1561,13 +1561,13 @@ const dt = {
|
|
|
1561
1561
|
...ge,
|
|
1562
1562
|
description: "Set a date range or connect your primary date-range variable to define the x-axis min and max. If “Show granularity dropdown” is enabled, this also enables auto-selection of the most appropriate granularity"
|
|
1563
1563
|
}
|
|
1564
|
-
],
|
|
1565
|
-
boolean:
|
|
1566
|
-
timeRange:
|
|
1567
|
-
number:
|
|
1568
|
-
string:
|
|
1569
|
-
width:
|
|
1570
|
-
align:
|
|
1564
|
+
], Ke = {
|
|
1565
|
+
boolean: yt,
|
|
1566
|
+
timeRange: bt,
|
|
1567
|
+
number: gt,
|
|
1568
|
+
string: mt,
|
|
1569
|
+
width: xt,
|
|
1570
|
+
align: St,
|
|
1571
1571
|
prefix: se,
|
|
1572
1572
|
suffix: ie,
|
|
1573
1573
|
displayName: ne,
|
|
@@ -1577,10 +1577,10 @@ const dt = {
|
|
|
1577
1577
|
abbreviateLargeNumber: le,
|
|
1578
1578
|
dateBounds: ge,
|
|
1579
1579
|
granularity: me,
|
|
1580
|
-
granularities:
|
|
1581
|
-
color:
|
|
1582
|
-
displayFormat:
|
|
1583
|
-
tableCellStyle:
|
|
1580
|
+
granularities: Lt,
|
|
1581
|
+
color: Ot,
|
|
1582
|
+
displayFormat: Ct,
|
|
1583
|
+
tableCellStyle: wt,
|
|
1584
1584
|
showGranularityDropdown: Me
|
|
1585
1585
|
}, V = X("comparisonPeriod", {
|
|
1586
1586
|
label: "Comparison period",
|
|
@@ -1591,45 +1591,45 @@ w(V, "Previous week");
|
|
|
1591
1591
|
w(V, "Previous month");
|
|
1592
1592
|
w(V, "Previous quarter");
|
|
1593
1593
|
w(V, "Previous year");
|
|
1594
|
-
const
|
|
1594
|
+
const Pt = {
|
|
1595
1595
|
name: "boolean",
|
|
1596
1596
|
type: "boolean",
|
|
1597
1597
|
label: "Boolean"
|
|
1598
|
-
},
|
|
1598
|
+
}, $t = {
|
|
1599
1599
|
name: "timeRange",
|
|
1600
1600
|
type: "timeRange",
|
|
1601
1601
|
label: "Time range"
|
|
1602
|
-
},
|
|
1602
|
+
}, Nt = {
|
|
1603
1603
|
name: "number",
|
|
1604
1604
|
type: "number",
|
|
1605
1605
|
label: "Number"
|
|
1606
|
-
},
|
|
1606
|
+
}, He = {
|
|
1607
1607
|
name: "string",
|
|
1608
1608
|
type: "string",
|
|
1609
1609
|
label: "String"
|
|
1610
|
-
},
|
|
1610
|
+
}, Dt = {
|
|
1611
1611
|
name: "title",
|
|
1612
1612
|
type: "string",
|
|
1613
1613
|
label: "Title",
|
|
1614
1614
|
category: "Component Header"
|
|
1615
|
-
},
|
|
1615
|
+
}, kt = {
|
|
1616
1616
|
name: "description",
|
|
1617
1617
|
type: "string",
|
|
1618
1618
|
label: "Description",
|
|
1619
1619
|
category: "Component Header"
|
|
1620
|
-
},
|
|
1620
|
+
}, Ft = {
|
|
1621
1621
|
name: "dataset",
|
|
1622
1622
|
type: "dataset",
|
|
1623
1623
|
label: "Dataset",
|
|
1624
1624
|
required: !0,
|
|
1625
1625
|
category: "Component Data"
|
|
1626
|
-
},
|
|
1626
|
+
}, Tt = {
|
|
1627
1627
|
name: "maxLegendItems",
|
|
1628
1628
|
type: "number",
|
|
1629
1629
|
label: "Max legend items",
|
|
1630
1630
|
defaultValue: 10,
|
|
1631
1631
|
category: "Component Data"
|
|
1632
|
-
},
|
|
1632
|
+
}, Ue = {
|
|
1633
1633
|
name: "dimension",
|
|
1634
1634
|
type: "dimension",
|
|
1635
1635
|
label: "Dimension",
|
|
@@ -1639,15 +1639,15 @@ const wt = {
|
|
|
1639
1639
|
required: !0,
|
|
1640
1640
|
category: "Component Data",
|
|
1641
1641
|
inputs: E
|
|
1642
|
-
},
|
|
1643
|
-
...
|
|
1642
|
+
}, At = {
|
|
1643
|
+
...Ue,
|
|
1644
1644
|
name: "groupBy",
|
|
1645
1645
|
label: "Group by"
|
|
1646
|
-
},
|
|
1646
|
+
}, jt = {
|
|
1647
1647
|
name: "granularity",
|
|
1648
1648
|
type: "granularity",
|
|
1649
1649
|
label: "Granularity"
|
|
1650
|
-
},
|
|
1650
|
+
}, It = {
|
|
1651
1651
|
name: "granularities",
|
|
1652
1652
|
type: "granularity",
|
|
1653
1653
|
label: "Granularities",
|
|
@@ -1661,7 +1661,7 @@ const wt = {
|
|
|
1661
1661
|
y.quarter,
|
|
1662
1662
|
y.year
|
|
1663
1663
|
]
|
|
1664
|
-
},
|
|
1664
|
+
}, Et = {
|
|
1665
1665
|
name: "dimensionSimple",
|
|
1666
1666
|
type: "dimension",
|
|
1667
1667
|
label: "Dimension",
|
|
@@ -1671,7 +1671,7 @@ const wt = {
|
|
|
1671
1671
|
},
|
|
1672
1672
|
required: !0,
|
|
1673
1673
|
category: "Component Data"
|
|
1674
|
-
},
|
|
1674
|
+
}, Vt = {
|
|
1675
1675
|
name: "dimensionTime",
|
|
1676
1676
|
type: "dimension",
|
|
1677
1677
|
label: "Dimension time",
|
|
@@ -1682,7 +1682,7 @@ const wt = {
|
|
|
1682
1682
|
},
|
|
1683
1683
|
required: !0,
|
|
1684
1684
|
category: "Component Data"
|
|
1685
|
-
},
|
|
1685
|
+
}, Mt = {
|
|
1686
1686
|
name: "dimension",
|
|
1687
1687
|
type: "dimension",
|
|
1688
1688
|
label: "Dimension",
|
|
@@ -1691,8 +1691,8 @@ const wt = {
|
|
|
1691
1691
|
},
|
|
1692
1692
|
required: !0,
|
|
1693
1693
|
category: "Component Data",
|
|
1694
|
-
inputs:
|
|
1695
|
-
},
|
|
1694
|
+
inputs: vt
|
|
1695
|
+
}, Kt = {
|
|
1696
1696
|
name: "dimension",
|
|
1697
1697
|
type: "dimension",
|
|
1698
1698
|
label: "Dimension",
|
|
@@ -1701,18 +1701,19 @@ const wt = {
|
|
|
1701
1701
|
},
|
|
1702
1702
|
required: !0,
|
|
1703
1703
|
category: "Component Data",
|
|
1704
|
-
inputs:
|
|
1705
|
-
},
|
|
1704
|
+
inputs: Rt
|
|
1705
|
+
}, Be = {
|
|
1706
1706
|
name: "dimensions",
|
|
1707
1707
|
type: "dimension",
|
|
1708
1708
|
label: "Dimensions",
|
|
1709
1709
|
config: {
|
|
1710
1710
|
dataset: "dataset"
|
|
1711
1711
|
},
|
|
1712
|
+
array: !0,
|
|
1712
1713
|
required: !0,
|
|
1713
1714
|
category: "Component Data",
|
|
1714
1715
|
inputs: E
|
|
1715
|
-
},
|
|
1716
|
+
}, Ht = {
|
|
1716
1717
|
name: "dimensionOrMeasure",
|
|
1717
1718
|
type: "dimensionOrMeasure",
|
|
1718
1719
|
label: "Dimension or measure",
|
|
@@ -1721,7 +1722,7 @@ const wt = {
|
|
|
1721
1722
|
},
|
|
1722
1723
|
category: "Component Data",
|
|
1723
1724
|
inputs: E
|
|
1724
|
-
},
|
|
1725
|
+
}, Ut = {
|
|
1725
1726
|
name: "dimensionsAndMeasures",
|
|
1726
1727
|
type: "dimensionOrMeasure",
|
|
1727
1728
|
label: "Dimensions and measures",
|
|
@@ -1732,7 +1733,7 @@ const wt = {
|
|
|
1732
1733
|
},
|
|
1733
1734
|
category: "Component Data",
|
|
1734
1735
|
inputs: E
|
|
1735
|
-
},
|
|
1736
|
+
}, Bt = {
|
|
1736
1737
|
name: "measure",
|
|
1737
1738
|
type: "measure",
|
|
1738
1739
|
label: "Measure",
|
|
@@ -1742,7 +1743,7 @@ const wt = {
|
|
|
1742
1743
|
required: !0,
|
|
1743
1744
|
category: "Component Data",
|
|
1744
1745
|
inputs: E
|
|
1745
|
-
},
|
|
1746
|
+
}, ze = {
|
|
1746
1747
|
name: "measures",
|
|
1747
1748
|
type: "measure",
|
|
1748
1749
|
label: "Measures",
|
|
@@ -1753,191 +1754,203 @@ const wt = {
|
|
|
1753
1754
|
required: !0,
|
|
1754
1755
|
category: "Component Data",
|
|
1755
1756
|
inputs: E
|
|
1756
|
-
},
|
|
1757
|
+
}, zt = {
|
|
1758
|
+
...ze,
|
|
1759
|
+
name: "measureOptions",
|
|
1760
|
+
label: "Measure options",
|
|
1761
|
+
inputs: [Ke.displayName]
|
|
1762
|
+
}, Jt = {
|
|
1763
|
+
...Be,
|
|
1764
|
+
name: "dimensionOptions",
|
|
1765
|
+
label: "Dimension options",
|
|
1766
|
+
inputs: [Ke.displayName]
|
|
1767
|
+
}, Gt = {
|
|
1757
1768
|
name: "comparisonPeriod",
|
|
1758
1769
|
type: V,
|
|
1759
1770
|
label: "Comparison period",
|
|
1760
1771
|
category: "Component data"
|
|
1761
|
-
},
|
|
1772
|
+
}, qt = {
|
|
1762
1773
|
name: "maxResults",
|
|
1763
1774
|
type: "number",
|
|
1764
1775
|
label: "Max results",
|
|
1765
1776
|
category: "Component Settings",
|
|
1766
1777
|
defaultValue: 1e3
|
|
1767
|
-
},
|
|
1778
|
+
}, Wt = {
|
|
1768
1779
|
name: "placeholder",
|
|
1769
1780
|
type: "string",
|
|
1770
1781
|
label: "Placeholder",
|
|
1771
1782
|
category: "Component Settings"
|
|
1772
|
-
},
|
|
1783
|
+
}, Yt = {
|
|
1773
1784
|
name: "showLegend",
|
|
1774
1785
|
type: "boolean",
|
|
1775
1786
|
label: "Show legend",
|
|
1776
1787
|
defaultValue: !0,
|
|
1777
1788
|
category: "Component Settings"
|
|
1778
|
-
},
|
|
1789
|
+
}, _t = {
|
|
1779
1790
|
name: "showTooltips",
|
|
1780
1791
|
type: "boolean",
|
|
1781
1792
|
label: "Show tooltips",
|
|
1782
1793
|
defaultValue: !0,
|
|
1783
1794
|
category: "Component Settings"
|
|
1784
|
-
},
|
|
1795
|
+
}, Qt = {
|
|
1785
1796
|
name: "showValueLabels",
|
|
1786
1797
|
type: "boolean",
|
|
1787
1798
|
label: "Show value labels",
|
|
1788
1799
|
defaultValue: !0,
|
|
1789
1800
|
category: "Component Settings"
|
|
1790
|
-
},
|
|
1801
|
+
}, Xt = {
|
|
1791
1802
|
name: "showTotalLabels",
|
|
1792
1803
|
type: "boolean",
|
|
1793
1804
|
label: "Show total labels",
|
|
1794
1805
|
defaultValue: !1,
|
|
1795
1806
|
category: "Component Settings"
|
|
1796
|
-
},
|
|
1807
|
+
}, Zt = {
|
|
1797
1808
|
name: "showLogarithmicScale",
|
|
1798
1809
|
type: "boolean",
|
|
1799
1810
|
label: "Show logarithmic scale",
|
|
1800
1811
|
defaultValue: !1,
|
|
1801
1812
|
category: "Component Settings"
|
|
1802
|
-
},
|
|
1813
|
+
}, es = {
|
|
1803
1814
|
name: "displayPercentages",
|
|
1804
1815
|
type: "boolean",
|
|
1805
1816
|
label: "Display percentages",
|
|
1806
1817
|
defaultValue: !1,
|
|
1807
1818
|
category: "Component Settings"
|
|
1808
|
-
},
|
|
1819
|
+
}, ts = {
|
|
1809
1820
|
type: Ae,
|
|
1810
1821
|
name: "color",
|
|
1811
1822
|
label: "Color",
|
|
1812
1823
|
category: "Component Settings"
|
|
1813
|
-
},
|
|
1824
|
+
}, ss = {
|
|
1814
1825
|
type: "number",
|
|
1815
1826
|
name: "fontSize",
|
|
1816
1827
|
label: "Font size",
|
|
1817
1828
|
category: "Component Settings"
|
|
1818
|
-
},
|
|
1829
|
+
}, is = {
|
|
1819
1830
|
type: "boolean",
|
|
1820
1831
|
name: "clearable",
|
|
1821
1832
|
label: "Can be cleared",
|
|
1822
1833
|
defaultValue: !0,
|
|
1823
1834
|
category: "Component Settings"
|
|
1824
|
-
},
|
|
1825
|
-
...
|
|
1835
|
+
}, ns = {
|
|
1836
|
+
...He,
|
|
1826
1837
|
name: "displayNullAs",
|
|
1827
1838
|
label: "Display null as",
|
|
1828
1839
|
category: "Component Settings"
|
|
1829
|
-
},
|
|
1840
|
+
}, as = {
|
|
1830
1841
|
name: "xAxisLabel",
|
|
1831
1842
|
type: "string",
|
|
1832
1843
|
label: "X-axis Label",
|
|
1833
1844
|
category: "Axes Settings"
|
|
1834
|
-
},
|
|
1845
|
+
}, rs = {
|
|
1835
1846
|
name: "yAxisLabel",
|
|
1836
1847
|
type: "string",
|
|
1837
1848
|
label: "Y-axis label",
|
|
1838
1849
|
category: "Axes Settings"
|
|
1839
|
-
},
|
|
1850
|
+
}, os = {
|
|
1840
1851
|
name: "reverseXAxis",
|
|
1841
1852
|
type: "boolean",
|
|
1842
1853
|
label: "Reverse x-axis",
|
|
1843
1854
|
defaultValue: !1,
|
|
1844
1855
|
category: "Axes Settings"
|
|
1845
|
-
},
|
|
1856
|
+
}, ls = {
|
|
1846
1857
|
name: "reverseYAxis",
|
|
1847
1858
|
type: "boolean",
|
|
1848
1859
|
label: "Reverse y-axis",
|
|
1849
1860
|
defaultValue: !1,
|
|
1850
1861
|
category: "Axes Settings"
|
|
1851
|
-
},
|
|
1862
|
+
}, us = {
|
|
1852
1863
|
name: "yAxisRangeMin",
|
|
1853
1864
|
type: "number",
|
|
1854
1865
|
label: "Y-axis range min",
|
|
1855
1866
|
category: "Axes Settings"
|
|
1856
|
-
},
|
|
1867
|
+
}, cs = {
|
|
1857
1868
|
name: "yAxisRangeMax",
|
|
1858
1869
|
type: "number",
|
|
1859
1870
|
label: "Y-axis range max",
|
|
1860
1871
|
category: "Axes Settings"
|
|
1861
|
-
},
|
|
1872
|
+
}, fs = {
|
|
1862
1873
|
name: "xAxisRangeMin",
|
|
1863
1874
|
type: "number",
|
|
1864
1875
|
label: "X-axis range min",
|
|
1865
1876
|
category: "Axes Settings"
|
|
1866
|
-
},
|
|
1877
|
+
}, ds = {
|
|
1867
1878
|
name: "xAxisRangeMax",
|
|
1868
1879
|
type: "number",
|
|
1869
1880
|
label: "X-axis range max",
|
|
1870
1881
|
category: "Axes Settings"
|
|
1871
|
-
},
|
|
1882
|
+
}, hs = {
|
|
1872
1883
|
name: "xAxisMaxItems",
|
|
1873
1884
|
type: "number",
|
|
1874
1885
|
label: "Max x-axis items",
|
|
1875
1886
|
category: "Axes Settings"
|
|
1876
|
-
},
|
|
1887
|
+
}, ps = {
|
|
1877
1888
|
name: "yAxisMaxItems",
|
|
1878
1889
|
type: "number",
|
|
1879
1890
|
label: "Max y-axis items",
|
|
1880
1891
|
category: "Axes Settings"
|
|
1881
|
-
},
|
|
1882
|
-
boolean:
|
|
1883
|
-
timeRange:
|
|
1884
|
-
number:
|
|
1885
|
-
string:
|
|
1886
|
-
title:
|
|
1887
|
-
description:
|
|
1888
|
-
dataset:
|
|
1889
|
-
maxLegendItems:
|
|
1890
|
-
dimension:
|
|
1891
|
-
groupBy:
|
|
1892
|
-
dimensionSimple:
|
|
1893
|
-
dimensionTime:
|
|
1894
|
-
dimensionWithDateBounds:
|
|
1895
|
-
dimensionWithGranularitySelectField:
|
|
1896
|
-
dimensions:
|
|
1897
|
-
dimensionOrMeasure:
|
|
1898
|
-
dimensionsAndMeasures:
|
|
1899
|
-
measure:
|
|
1900
|
-
measures:
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1892
|
+
}, Ss = {
|
|
1893
|
+
boolean: Pt,
|
|
1894
|
+
timeRange: $t,
|
|
1895
|
+
number: Nt,
|
|
1896
|
+
string: He,
|
|
1897
|
+
title: Dt,
|
|
1898
|
+
description: kt,
|
|
1899
|
+
dataset: Ft,
|
|
1900
|
+
maxLegendItems: Tt,
|
|
1901
|
+
dimension: Ue,
|
|
1902
|
+
groupBy: At,
|
|
1903
|
+
dimensionSimple: Et,
|
|
1904
|
+
dimensionTime: Vt,
|
|
1905
|
+
dimensionWithDateBounds: Mt,
|
|
1906
|
+
dimensionWithGranularitySelectField: Kt,
|
|
1907
|
+
dimensions: Be,
|
|
1908
|
+
dimensionOrMeasure: Ht,
|
|
1909
|
+
dimensionsAndMeasures: Ut,
|
|
1910
|
+
measure: Bt,
|
|
1911
|
+
measures: ze,
|
|
1912
|
+
measureOptions: zt,
|
|
1913
|
+
dimensionOptions: Jt,
|
|
1914
|
+
comparisonPeriod: Gt,
|
|
1915
|
+
maxResults: qt,
|
|
1916
|
+
placeholder: Wt,
|
|
1917
|
+
showLegend: Yt,
|
|
1918
|
+
showTooltips: _t,
|
|
1919
|
+
showValueLabels: Qt,
|
|
1920
|
+
showTotalLabels: Xt,
|
|
1921
|
+
showLogarithmicScale: Zt,
|
|
1922
|
+
displayPercentages: es,
|
|
1923
|
+
color: ts,
|
|
1924
|
+
fontSize: ss,
|
|
1925
|
+
clearable: is,
|
|
1926
|
+
displayNullAs: ns,
|
|
1927
|
+
xAxisLabel: as,
|
|
1928
|
+
yAxisLabel: rs,
|
|
1929
|
+
reverseXAxis: os,
|
|
1930
|
+
reverseYAxis: ls,
|
|
1931
|
+
yAxisRangeMin: us,
|
|
1932
|
+
yAxisRangeMax: cs,
|
|
1933
|
+
xAxisRangeMin: fs,
|
|
1934
|
+
xAxisRangeMax: ds,
|
|
1935
|
+
xAxisMaxItems: hs,
|
|
1936
|
+
yAxisMaxItems: ps,
|
|
1937
|
+
granularity: jt,
|
|
1938
|
+
granularities: It
|
|
1926
1939
|
};
|
|
1927
1940
|
export {
|
|
1928
1941
|
V as C,
|
|
1929
1942
|
Ve as D,
|
|
1930
1943
|
y as G,
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1944
|
+
ys as I,
|
|
1945
|
+
ms as a,
|
|
1946
|
+
Ss as b,
|
|
1947
|
+
Rt as c,
|
|
1935
1948
|
E as d,
|
|
1936
|
-
|
|
1937
|
-
|
|
1949
|
+
pt as e,
|
|
1950
|
+
xs as f,
|
|
1938
1951
|
b as i,
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1952
|
+
bs as r,
|
|
1953
|
+
Ke as s,
|
|
1954
|
+
vt as t
|
|
1942
1955
|
};
|
|
1943
|
-
//# sourceMappingURL=component.inputs.constants-
|
|
1956
|
+
//# sourceMappingURL=component.inputs.constants-DzpzJ9Na.js.map
|