@embeddable.com/remarkable-ui 0.1.18 → 0.1.19
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/{BaseButton-BKojrsLP.js → BaseButton-CuifBVsc.js} +2 -2
- package/dist/{BaseButton-BKojrsLP.js.map → BaseButton-CuifBVsc.js.map} +1 -1
- package/dist/{ChartCard-DLb6o61U.js → ChartCard-BkrK3C4a.js} +28 -28
- package/dist/{ChartCard-DLb6o61U.js.map → ChartCard-BkrK3C4a.js.map} +1 -1
- package/dist/{ComparisonPeriod.type.emb-BK3kHVRE.js → ComparisonPeriod.type.emb-Cli9Gpzq.js} +2 -2
- package/dist/{ComparisonPeriod.type.emb-BK3kHVRE.js.map → ComparisonPeriod.type.emb-Cli9Gpzq.js.map} +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +6 -6
- package/dist/DateRangeSelectFieldPro.js +2 -2
- package/dist/DonutChartPro.js +2 -2
- package/dist/DonutLabelChartPro.js +2 -2
- package/dist/{EditorCard-COw7ouX6.js → EditorCard-BQnDPFzf.js} +10 -10
- package/dist/{EditorCard-COw7ouX6.js.map → EditorCard-BQnDPFzf.js.map} +1 -1
- package/dist/{KpiChart-DhPJaw1n.js → KpiChart-ClxfTTJ4.js} +2 -2
- package/dist/{KpiChart-DhPJaw1n.js.map → KpiChart-ClxfTTJ4.js.map} +1 -1
- package/dist/KpiChartNumberComparisonPro.js +17 -17
- package/dist/KpiChartNumberPro.js +4 -4
- package/dist/MultiSelectFieldPro.js +2 -2
- package/dist/PieChartPro.js +2 -2
- package/dist/{SingleSelectField-BaBjHlCf.js → SingleSelectField-BAEvpk7-.js} +3 -3
- package/dist/{SingleSelectField-BaBjHlCf.js.map → SingleSelectField-BAEvpk7-.js.map} +1 -1
- package/dist/SingleSelectFieldPro.js +2 -2
- package/dist/charts.fillGaps.hooks-BvYoaRpE.js +584 -0
- package/dist/charts.fillGaps.hooks-BvYoaRpE.js.map +1 -0
- package/dist/{component.constants-DuGM1FcK.js → component.constants-CL4mGURD.js} +386 -375
- package/dist/{component.constants-DuGM1FcK.js.map → component.constants-CL4mGURD.js.map} +1 -1
- package/dist/embeddable-components.json +7 -7
- package/dist/embeddable-theme-2b917.js +4 -0
- package/dist/{formatter.utils-C_jDZCA9.js → formatter.utils-BaAiNARZ.js} +2 -2
- package/dist/{formatter.utils-C_jDZCA9.js.map → formatter.utils-BaAiNARZ.js.map} +1 -1
- package/dist/{index-0JzvLdB-.js → index-9t6SPE91.js} +9 -9
- package/dist/{index-0JzvLdB-.js.map → index-9t6SPE91.js.map} +1 -1
- package/dist/{index-CmclYpTi.js → index-BSbQYCwI.js} +11 -11
- package/dist/{index-CmclYpTi.js.map → index-BSbQYCwI.js.map} +1 -1
- package/dist/{index-FhjiEcWR.js → index-BUwm0Ul3.js} +6 -6
- package/dist/{index-FhjiEcWR.js.map → index-BUwm0Ul3.js.map} +1 -1
- package/dist/{index-C9-xJxxS.js → index-BehaWXq-.js} +4 -4
- package/dist/{index-C9-xJxxS.js.map → index-BehaWXq-.js.map} +1 -1
- package/dist/{index-7huUm47f.js → index-CAGJqsS8.js} +8 -8
- package/dist/{index-7huUm47f.js.map → index-CAGJqsS8.js.map} +1 -1
- package/dist/{index-CIbTA8lC.js → index-RqtiYv1c.js} +13 -13
- package/dist/{index-CIbTA8lC.js.map → index-RqtiYv1c.js.map} +1 -1
- package/dist/index.js +46 -44
- package/dist/index.js.map +1 -1
- package/dist/{object.utils-BKb2quG8.js → object.utils-CaoDr05j.js} +7 -3
- package/dist/object.utils-CaoDr05j.js.map +1 -0
- package/dist/{pies.utils-X76GGOGG.js → pies.utils-hekLAU_r.js} +4 -4
- package/dist/{pies.utils-X76GGOGG.js.map → pies.utils-hekLAU_r.js.map} +1 -1
- package/dist/remarkable-pro/index.d.ts +1 -0
- package/dist/remarkable-pro/index.d.ts.map +1 -1
- package/dist/remarkable-ui/charts/bars/BarChart.d.ts.map +1 -1
- package/dist/remarkable-ui/charts/bars/BarChart.stories.d.ts +18 -0
- package/dist/remarkable-ui/charts/bars/BarChart.stories.d.ts.map +1 -1
- package/dist/remarkable-ui/charts/bars/bars.utils.d.ts +1 -1
- package/dist/remarkable-ui/charts/bars/bars.utils.d.ts.map +1 -1
- package/dist/remarkable-ui/charts/chartjs.cartesian.constants.d.ts +10 -0
- package/dist/remarkable-ui/charts/chartjs.cartesian.constants.d.ts.map +1 -0
- package/dist/remarkable-ui/charts/chartjs.constants.d.ts +1 -0
- package/dist/remarkable-ui/charts/chartjs.constants.d.ts.map +1 -1
- package/dist/remarkable-ui/charts/lines/LineChart.d.ts +5 -0
- package/dist/remarkable-ui/charts/lines/LineChart.d.ts.map +1 -0
- package/dist/remarkable-ui/charts/lines/LineChart.stories.d.ts +8 -0
- package/dist/remarkable-ui/charts/lines/LineChart.stories.d.ts.map +1 -0
- package/dist/remarkable-ui/charts/lines/lines.types.d.ts +18 -0
- package/dist/remarkable-ui/charts/lines/lines.types.d.ts.map +1 -0
- package/dist/remarkable-ui/charts/lines/lines.utils.d.ts +5 -0
- package/dist/remarkable-ui/charts/lines/lines.utils.d.ts.map +1 -0
- package/dist/remarkable-ui/styles/styles.constants.d.ts +4 -0
- package/dist/remarkable-ui/styles/styles.constants.d.ts.map +1 -1
- package/dist/remarkable-ui.css +4 -0
- package/package.json +1 -1
- package/dist/charts.fillGaps.hooks-GDTZT5bi.js +0 -586
- package/dist/charts.fillGaps.hooks-GDTZT5bi.js.map +0 -1
- package/dist/object.utils-BKb2quG8.js.map +0 -1
- package/dist/remarkable-ui/charts/bars/bars.constants.d.ts +0 -3
- package/dist/remarkable-ui/charts/bars/bars.constants.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@ var xf = Object.defineProperty;
|
|
|
2
2
|
var vf = (e, t, n) => t in e ? xf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var L = (e, t, n) => vf(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as x from "react";
|
|
5
|
-
import
|
|
5
|
+
import Et, { forwardRef as Ee, createElement as Ls, useLayoutEffect as _f, useState as wf, useRef as qe, useEffect as ye } from "react";
|
|
6
6
|
import * as nc from "react-dom";
|
|
7
7
|
/*!
|
|
8
8
|
* mergician
|
|
@@ -352,10 +352,10 @@ function rs(e, ...t) {
|
|
|
352
352
|
continue;
|
|
353
353
|
}
|
|
354
354
|
if (k) {
|
|
355
|
-
const { configurable: P, enumerable:
|
|
355
|
+
const { configurable: P, enumerable: E, get: D, set: I, writable: N } = k;
|
|
356
356
|
Object.assign(w, {
|
|
357
357
|
configurable: P,
|
|
358
|
-
enumerable:
|
|
358
|
+
enumerable: E
|
|
359
359
|
}), typeof D == "function" && (i.invokeGetters ? w.value = S : w.get = D), !i.skipSetters && typeof I == "function" && !Object.hasOwnProperty.call(w, "value") && (w.set = I), !w.get && !w.set && (w.writable = !!N);
|
|
360
360
|
}
|
|
361
361
|
!w.get && !w.set && !("value" in w) && (w.value = S, w.writable = k && "writable" in k ? k.writable : !0), Object.defineProperty(g, v, w);
|
|
@@ -419,12 +419,12 @@ const Fi = "en-US", Se = (e, { mapFn: t = (i) => i, filterFn: n = Boolean }) =>
|
|
|
419
419
|
optionLabel: () => e,
|
|
420
420
|
...t
|
|
421
421
|
}
|
|
422
|
-
}),
|
|
422
|
+
}), Of = (e) => {
|
|
423
423
|
if (!e.property)
|
|
424
424
|
return "filter property must be set";
|
|
425
425
|
if (!e.operator)
|
|
426
426
|
return "filter operator must be set";
|
|
427
|
-
},
|
|
427
|
+
}, Ef = (e) => {
|
|
428
428
|
if (e == null || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || e instanceof Date || Array.isArray(e))
|
|
429
429
|
return e;
|
|
430
430
|
if (e != null && e.relativeTimeString)
|
|
@@ -508,7 +508,7 @@ function Nf(e) {
|
|
|
508
508
|
if (e) {
|
|
509
509
|
const t = e.map((n, i) => ({
|
|
510
510
|
index: i,
|
|
511
|
-
message:
|
|
511
|
+
message: Of(n)
|
|
512
512
|
})).filter((n) => !!n.message);
|
|
513
513
|
if (t.length)
|
|
514
514
|
return t.map((n) => `filter[${n.index}] is not valid: ${n.message}`).join(`
|
|
@@ -532,7 +532,7 @@ function Ff(e, t, n, i, s) {
|
|
|
532
532
|
filters: (o = e.filters) == null ? void 0 : o.map((r) => ({
|
|
533
533
|
member: r.property.name,
|
|
534
534
|
operator: r.operator,
|
|
535
|
-
values:
|
|
535
|
+
values: Ef(r.value)
|
|
536
536
|
})),
|
|
537
537
|
timezone: e.timezone
|
|
538
538
|
};
|
|
@@ -566,17 +566,17 @@ const jf = "embeddable-event:load-data", Bf = (e, t, n, i) => {
|
|
|
566
566
|
propertyName: i
|
|
567
567
|
}
|
|
568
568
|
}));
|
|
569
|
-
},
|
|
569
|
+
}, pS = (e) => ({
|
|
570
570
|
requestParams: e,
|
|
571
571
|
dataLoader: Bf
|
|
572
572
|
}), rc = (e) => (e == null ? void 0 : e.__type__) === ic, ac = (e) => (e == null ? void 0 : e.__type__) === sc, Ar = (e) => "dimension" in (e ?? {}) && !("__type__" in e), zf = (e) => rc(e) || ac(e), Rr = (e, t) => ({
|
|
573
573
|
operation: e,
|
|
574
574
|
value: t ?? null,
|
|
575
575
|
__embeddableVariableMeta: !0
|
|
576
|
-
}),
|
|
576
|
+
}), mS = {
|
|
577
577
|
noFilter: () => Rr("NO_FILTER"),
|
|
578
578
|
of: (e) => Rr("VALUE", e)
|
|
579
|
-
}, $f = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null,
|
|
579
|
+
}, $f = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null, bS = (e, t) => {
|
|
580
580
|
if (Qf.includes(e))
|
|
581
581
|
throw new Error(`Type ${e} is part of the nativeTypes and cannot be defined`, { cause: "sdk" });
|
|
582
582
|
const n = {
|
|
@@ -606,7 +606,7 @@ const jf = "embeddable-event:load-data", Bf = (e, t, n, i) => {
|
|
|
606
606
|
Gf,
|
|
607
607
|
qf,
|
|
608
608
|
Jf
|
|
609
|
-
], th = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null,
|
|
609
|
+
], th = () => globalThis.__EMBEDDABLE_BUNDLE_HASH__ ?? null, yS = (e, t) => {
|
|
610
610
|
var s, o, r, a;
|
|
611
611
|
const n = th();
|
|
612
612
|
globalThis.__EMBEDDABLE__ ?? (globalThis.__EMBEDDABLE__ = {});
|
|
@@ -679,10 +679,10 @@ var Is = { exports: {} }, fn = {};
|
|
|
679
679
|
* This source code is licensed under the MIT license found in the
|
|
680
680
|
* LICENSE file in the root directory of this source tree.
|
|
681
681
|
*/
|
|
682
|
-
var
|
|
682
|
+
var Or;
|
|
683
683
|
function eh() {
|
|
684
|
-
if (
|
|
685
|
-
|
|
684
|
+
if (Or) return fn;
|
|
685
|
+
Or = 1;
|
|
686
686
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
687
687
|
function n(i, s, o) {
|
|
688
688
|
var r = null;
|
|
@@ -701,9 +701,9 @@ function eh() {
|
|
|
701
701
|
}
|
|
702
702
|
return fn.Fragment = t, fn.jsx = n, fn.jsxs = n, fn;
|
|
703
703
|
}
|
|
704
|
-
var
|
|
704
|
+
var Er;
|
|
705
705
|
function nh() {
|
|
706
|
-
return
|
|
706
|
+
return Er || (Er = 1, Is.exports = eh()), Is.exports;
|
|
707
707
|
}
|
|
708
708
|
var M = nh();
|
|
709
709
|
const B = (e) => typeof e == "string", hn = () => {
|
|
@@ -1070,8 +1070,8 @@ class zi extends as {
|
|
|
1070
1070
|
}) : "", k = _ && !s.ordinal && s.count === 0, A = k && s[`defaultValue${this.options.pluralSeparator}zero`] || s[`defaultValue${C}`] || s[`defaultValue${S}`] || s.defaultValue;
|
|
1071
1071
|
let P = p;
|
|
1072
1072
|
v && !p && w && (P = A);
|
|
1073
|
-
const
|
|
1074
|
-
if (v && P &&
|
|
1073
|
+
const E = jr(P), D = Object.prototype.toString.apply(P);
|
|
1074
|
+
if (v && P && E && b.indexOf(D) < 0 && !(B(y) && Array.isArray(P))) {
|
|
1075
1075
|
if (!s.returnObjects && !this.options.returnObjects) {
|
|
1076
1076
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
1077
1077
|
const I = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, P, {
|
|
@@ -1082,19 +1082,19 @@ class zi extends as {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
if (r) {
|
|
1084
1084
|
const I = Array.isArray(P), N = I ? [] : {}, j = I ? m : g;
|
|
1085
|
-
for (const
|
|
1086
|
-
if (Object.prototype.hasOwnProperty.call(P,
|
|
1087
|
-
const F = `${j}${r}${
|
|
1088
|
-
w && !p ? N[
|
|
1085
|
+
for (const O in P)
|
|
1086
|
+
if (Object.prototype.hasOwnProperty.call(P, O)) {
|
|
1087
|
+
const F = `${j}${r}${O}`;
|
|
1088
|
+
w && !p ? N[O] = this.translate(F, {
|
|
1089
1089
|
...s,
|
|
1090
|
-
defaultValue: jr(A) ? A[
|
|
1090
|
+
defaultValue: jr(A) ? A[O] : void 0,
|
|
1091
1091
|
joinArrays: !1,
|
|
1092
1092
|
ns: l
|
|
1093
|
-
}) : N[
|
|
1093
|
+
}) : N[O] = this.translate(F, {
|
|
1094
1094
|
...s,
|
|
1095
1095
|
joinArrays: !1,
|
|
1096
1096
|
ns: l
|
|
1097
|
-
}), N[
|
|
1097
|
+
}), N[O] === F && (N[O] = P[O]);
|
|
1098
1098
|
}
|
|
1099
1099
|
p = N;
|
|
1100
1100
|
}
|
|
@@ -1103,7 +1103,7 @@ class zi extends as {
|
|
|
1103
1103
|
else {
|
|
1104
1104
|
let I = !1, N = !1;
|
|
1105
1105
|
!this.isValidLookup(p) && w && (I = !0, p = A), this.isValidLookup(p) || (N = !0, p = a);
|
|
1106
|
-
const
|
|
1106
|
+
const O = (s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : p, F = w && A !== p && this.options.updateMissing;
|
|
1107
1107
|
if (N || I || F) {
|
|
1108
1108
|
if (this.logger.log(F ? "updateKey" : "missingKey", d, c, a, F ? A : p), r) {
|
|
1109
1109
|
const V = this.resolve(a, {
|
|
@@ -1120,7 +1120,7 @@ class zi extends as {
|
|
|
1120
1120
|
else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(s.lng || this.language) : T.push(s.lng || this.language);
|
|
1121
1121
|
const Y = (V, J, at) => {
|
|
1122
1122
|
var wt;
|
|
1123
|
-
const ct = w && at !== p ? at :
|
|
1123
|
+
const ct = w && at !== p ? at : O;
|
|
1124
1124
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(V, c, J, ct, F, s) : (wt = this.backendConnector) != null && wt.saveMissing && this.backendConnector.saveMissing(V, c, J, ct, F, s), this.emit("missingKey", V, c, J, p);
|
|
1125
1125
|
};
|
|
1126
1126
|
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? T.forEach((V) => {
|
|
@@ -2060,7 +2060,7 @@ st.setDefaultNamespace;
|
|
|
2060
2060
|
st.hasLoadedNamespace;
|
|
2061
2061
|
st.loadNamespaces;
|
|
2062
2062
|
st.loadLanguages;
|
|
2063
|
-
const
|
|
2063
|
+
const xS = (e) => {
|
|
2064
2064
|
var t, n;
|
|
2065
2065
|
!((t = e == null ? void 0 : e.i18n) != null && t.language) || !((n = e == null ? void 0 : e.i18n) != null && n.translations) || st.language === e.i18n.language && st.isInitialized || st.init({
|
|
2066
2066
|
lng: e.i18n.language,
|
|
@@ -2105,7 +2105,7 @@ var Sh = {
|
|
|
2105
2105
|
* See the LICENSE file in the root directory of this source tree.
|
|
2106
2106
|
*/
|
|
2107
2107
|
const ls = (e, t, n, i) => {
|
|
2108
|
-
const s =
|
|
2108
|
+
const s = Ee(
|
|
2109
2109
|
({ color: o = "currentColor", size: r = 24, stroke: a = 2, title: l, className: c, children: u, ...d }, f) => Ls(
|
|
2110
2110
|
"svg",
|
|
2111
2111
|
{
|
|
@@ -2137,7 +2137,7 @@ const ls = (e, t, n, i) => {
|
|
|
2137
2137
|
* This source code is licensed under the MIT license.
|
|
2138
2138
|
* See the LICENSE file in the root directory of this source tree.
|
|
2139
2139
|
*/
|
|
2140
|
-
const Mh = [["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" }]],
|
|
2140
|
+
const Mh = [["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" }]], vS = ls("outline", "alert-circle", "AlertCircle", Mh);
|
|
2141
2141
|
/**
|
|
2142
2142
|
* @license @tabler/icons-react v3.34.1 - MIT
|
|
2143
2143
|
*
|
|
@@ -2158,9 +2158,9 @@ const Ph = [["path", { d: "M18 6l-12 12", key: "svg-0" }], ["path", { d: "M6 6l1
|
|
|
2158
2158
|
* This source code is licensed under the MIT license.
|
|
2159
2159
|
* See the LICENSE file in the root directory of this source tree.
|
|
2160
2160
|
*/
|
|
2161
|
-
const Ah = [["path", { d: "M18 9c.852 0 1.297 .986 .783 1.623l-.076 .084l-6 6a1 1 0 0 1 -1.32 .083l-.094 -.083l-6 -6l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057v-.118l.005 -.058l.009 -.06l.01 -.052l.032 -.108l.027 -.067l.07 -.132l.065 -.09l.073 -.081l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01l.057 -.004l12.059 -.002z", key: "svg-0" }]], Rh = ls("filled", "caret-down-filled", "CaretDownFilled", Ah),
|
|
2162
|
-
card:
|
|
2163
|
-
content:
|
|
2161
|
+
const Ah = [["path", { d: "M18 9c.852 0 1.297 .986 .783 1.623l-.076 .084l-6 6a1 1 0 0 1 -1.32 .083l-.094 -.083l-6 -6l-.083 -.094l-.054 -.077l-.054 -.096l-.017 -.036l-.027 -.067l-.032 -.108l-.01 -.053l-.01 -.06l-.004 -.057v-.118l.005 -.058l.009 -.06l.01 -.052l.032 -.108l.027 -.067l.07 -.132l.065 -.09l.073 -.081l.094 -.083l.077 -.054l.096 -.054l.036 -.017l.067 -.027l.108 -.032l.053 -.01l.06 -.01l.057 -.004l12.059 -.002z", key: "svg-0" }]], Rh = ls("filled", "caret-down-filled", "CaretDownFilled", Ah), Oh = "_card_ekfxn_1", Eh = "_content_ekfxn_12", Dh = "_header_ekfxn_19", Th = "_titles_ekfxn_28", Lh = "_title_ekfxn_28", Ih = "_subtitle_ekfxn_42", He = {
|
|
2162
|
+
card: Oh,
|
|
2163
|
+
content: Eh,
|
|
2164
2164
|
header: Dh,
|
|
2165
2165
|
titles: Th,
|
|
2166
2166
|
title: Lh,
|
|
@@ -2191,17 +2191,17 @@ function Jt({
|
|
|
2191
2191
|
}) {
|
|
2192
2192
|
return /* @__PURE__ */ M.jsx(t, { title: s, className: De(Fh.typography, n), style: i, children: e });
|
|
2193
2193
|
}
|
|
2194
|
-
const jh =
|
|
2194
|
+
const jh = Et.forwardRef(
|
|
2195
2195
|
({ children: e, className: t, ...n }, i) => /* @__PURE__ */ M.jsx("div", { className: De(He.card, t), ref: i, ...n, children: e })
|
|
2196
2196
|
);
|
|
2197
2197
|
jh.displayName = "Card";
|
|
2198
|
-
const
|
|
2198
|
+
const _S = ({ title: e, subtitle: t, rightContent: n }) => !e && !t && !n ? null : /* @__PURE__ */ M.jsxs("div", { className: He.header, children: [
|
|
2199
2199
|
/* @__PURE__ */ M.jsxs("div", { className: He.titles, children: [
|
|
2200
2200
|
e && /* @__PURE__ */ M.jsx(Jt, { as: "h1", className: He.title, children: e }),
|
|
2201
2201
|
t && /* @__PURE__ */ M.jsx(Jt, { as: "p", className: He.subtitle, children: t })
|
|
2202
2202
|
] }),
|
|
2203
2203
|
n
|
|
2204
|
-
] }), Bh =
|
|
2204
|
+
] }), Bh = Et.forwardRef(
|
|
2205
2205
|
({ children: e }, t) => /* @__PURE__ */ M.jsx("div", { className: He.content, ref: t, children: e })
|
|
2206
2206
|
);
|
|
2207
2207
|
Bh.displayName = "CardContent";
|
|
@@ -2209,7 +2209,7 @@ const zh = "_info_11vdf_1", $h = "_title_11vdf_9", Wh = "_message_11vdf_18", Fs
|
|
|
2209
2209
|
info: zh,
|
|
2210
2210
|
title: $h,
|
|
2211
2211
|
message: Wh
|
|
2212
|
-
},
|
|
2212
|
+
}, wS = ({
|
|
2213
2213
|
icon: e,
|
|
2214
2214
|
title: t,
|
|
2215
2215
|
message: n,
|
|
@@ -2426,27 +2426,27 @@ function pc(e) {
|
|
|
2426
2426
|
t,
|
|
2427
2427
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
2428
2428
|
), r = (g) => {
|
|
2429
|
-
const { scope: m, children: b } = g, y =
|
|
2429
|
+
const { scope: m, children: b } = g, y = Et.useRef(null), v = Et.useRef(/* @__PURE__ */ new Map()).current;
|
|
2430
2430
|
return /* @__PURE__ */ M.jsx(s, { scope: m, itemMap: v, collectionRef: y, children: b });
|
|
2431
2431
|
};
|
|
2432
2432
|
r.displayName = t;
|
|
2433
|
-
const a = e + "CollectionSlot", l = /* @__PURE__ */ $i(a), c =
|
|
2433
|
+
const a = e + "CollectionSlot", l = /* @__PURE__ */ $i(a), c = Et.forwardRef(
|
|
2434
2434
|
(g, m) => {
|
|
2435
2435
|
const { scope: b, children: y } = g, v = o(a, b), _ = yt(m, v.collectionRef);
|
|
2436
2436
|
return /* @__PURE__ */ M.jsx(l, { ref: _, children: y });
|
|
2437
2437
|
}
|
|
2438
2438
|
);
|
|
2439
2439
|
c.displayName = a;
|
|
2440
|
-
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ $i(u), h =
|
|
2440
|
+
const u = e + "CollectionItemSlot", d = "data-radix-collection-item", f = /* @__PURE__ */ $i(u), h = Et.forwardRef(
|
|
2441
2441
|
(g, m) => {
|
|
2442
|
-
const { scope: b, children: y, ...v } = g, _ =
|
|
2443
|
-
return
|
|
2442
|
+
const { scope: b, children: y, ...v } = g, _ = Et.useRef(null), w = yt(m, _), C = o(u, b);
|
|
2443
|
+
return Et.useEffect(() => (C.itemMap.set(_, { ref: _, ...v }), () => void C.itemMap.delete(_))), /* @__PURE__ */ M.jsx(f, { [d]: "", ref: w, children: y });
|
|
2444
2444
|
}
|
|
2445
2445
|
);
|
|
2446
2446
|
h.displayName = u;
|
|
2447
2447
|
function p(g) {
|
|
2448
2448
|
const m = o(e + "CollectionConsumer", g);
|
|
2449
|
-
return
|
|
2449
|
+
return Et.useCallback(() => {
|
|
2450
2450
|
const y = m.collectionRef.current;
|
|
2451
2451
|
if (!y) return [];
|
|
2452
2452
|
const v = Array.from(y.querySelectorAll(`[${d}]`));
|
|
@@ -3010,7 +3010,7 @@ async function Fn(e, t) {
|
|
|
3010
3010
|
right: (w.right - b.right + p.right) / _.x
|
|
3011
3011
|
};
|
|
3012
3012
|
}
|
|
3013
|
-
const
|
|
3013
|
+
const Og = (e) => ({
|
|
3014
3014
|
name: "arrow",
|
|
3015
3015
|
options: e,
|
|
3016
3016
|
async fn(t) {
|
|
@@ -3034,20 +3034,20 @@ const Eg = (e) => ({
|
|
|
3034
3034
|
}, h = Bo(s), p = jo(h), g = await r.getDimensions(c), m = h === "y", b = m ? "top" : "left", y = m ? "bottom" : "right", v = m ? "clientHeight" : "clientWidth", _ = o.reference[p] + o.reference[h] - f[h] - o.floating[p], w = f[h] - o.reference[h], C = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
3035
3035
|
let S = C ? C[v] : 0;
|
|
3036
3036
|
(!S || !await (r.isElement == null ? void 0 : r.isElement(C))) && (S = a.floating[v] || o.floating[p]);
|
|
3037
|
-
const k = _ / 2 - w / 2, A = S / 2 - g[p] / 2 - 1, P = fe(d[b], A),
|
|
3037
|
+
const k = _ / 2 - w / 2, A = S / 2 - g[p] / 2 - 1, P = fe(d[b], A), E = fe(d[y], A), D = P, I = S - g[p] - E, N = S / 2 - g[p] / 2 + k, j = go(D, N, I), O = !l.arrow && en(s) != null && N !== j && o.reference[p] / 2 - (N < D ? P : E) - g[p] / 2 < 0, F = O ? N < D ? N - D : N - I : 0;
|
|
3038
3038
|
return {
|
|
3039
3039
|
[h]: f[h] + F,
|
|
3040
3040
|
data: {
|
|
3041
3041
|
[h]: j,
|
|
3042
3042
|
centerOffset: N - j - F,
|
|
3043
|
-
...
|
|
3043
|
+
...O && {
|
|
3044
3044
|
alignmentOffset: F
|
|
3045
3045
|
}
|
|
3046
3046
|
},
|
|
3047
|
-
reset:
|
|
3047
|
+
reset: O
|
|
3048
3048
|
};
|
|
3049
3049
|
}
|
|
3050
|
-
}),
|
|
3050
|
+
}), Eg = function(e) {
|
|
3051
3051
|
return e === void 0 && (e = {}), {
|
|
3052
3052
|
name: "flip",
|
|
3053
3053
|
options: e,
|
|
@@ -3083,8 +3083,8 @@ const Eg = (e) => ({
|
|
|
3083
3083
|
placement: s,
|
|
3084
3084
|
overflows: A
|
|
3085
3085
|
}], !A.every((N) => N <= 0)) {
|
|
3086
|
-
var
|
|
3087
|
-
const N = (((
|
|
3086
|
+
var E, D;
|
|
3087
|
+
const N = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, j = S[N];
|
|
3088
3088
|
if (j && (!(d === "alignment" ? y !== Bt(j) : !1) || // We leave the current main axis only if every placement on that axis
|
|
3089
3089
|
// overflows the main axis.
|
|
3090
3090
|
P.every((T) => Bt(T.placement) === y ? T.overflows[0] > 0 : !0)))
|
|
@@ -3097,8 +3097,8 @@ const Eg = (e) => ({
|
|
|
3097
3097
|
placement: j
|
|
3098
3098
|
}
|
|
3099
3099
|
};
|
|
3100
|
-
let
|
|
3101
|
-
if (!
|
|
3100
|
+
let O = (D = P.filter((F) => F.overflows[0] <= 0).sort((F, T) => F.overflows[1] - T.overflows[1])[0]) == null ? void 0 : D.placement;
|
|
3101
|
+
if (!O)
|
|
3102
3102
|
switch (h) {
|
|
3103
3103
|
case "bestFit": {
|
|
3104
3104
|
var I;
|
|
@@ -3111,17 +3111,17 @@ const Eg = (e) => ({
|
|
|
3111
3111
|
}
|
|
3112
3112
|
return !0;
|
|
3113
3113
|
}).map((T) => [T.placement, T.overflows.filter((R) => R > 0).reduce((R, Y) => R + Y, 0)]).sort((T, R) => T[1] - R[1])[0]) == null ? void 0 : I[0];
|
|
3114
|
-
F && (
|
|
3114
|
+
F && (O = F);
|
|
3115
3115
|
break;
|
|
3116
3116
|
}
|
|
3117
3117
|
case "initialPlacement":
|
|
3118
|
-
|
|
3118
|
+
O = a;
|
|
3119
3119
|
break;
|
|
3120
3120
|
}
|
|
3121
|
-
if (s !==
|
|
3121
|
+
if (s !== O)
|
|
3122
3122
|
return {
|
|
3123
3123
|
reset: {
|
|
3124
|
-
placement:
|
|
3124
|
+
placement: O
|
|
3125
3125
|
}
|
|
3126
3126
|
};
|
|
3127
3127
|
}
|
|
@@ -3353,8 +3353,8 @@ const Lg = function(e) {
|
|
|
3353
3353
|
const y = g - u.top - u.bottom, v = p - u.left - u.right, _ = fe(g - u[m], y), w = fe(p - u[b], v), C = !t.middlewareData.shift;
|
|
3354
3354
|
let S = _, k = w;
|
|
3355
3355
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = v), (i = t.middlewareData.shift) != null && i.enabled.y && (S = y), C && !f) {
|
|
3356
|
-
const P = Mt(u.left, 0),
|
|
3357
|
-
h ? k = p - 2 * (P !== 0 ||
|
|
3356
|
+
const P = Mt(u.left, 0), E = Mt(u.right, 0), D = Mt(u.top, 0), I = Mt(u.bottom, 0);
|
|
3357
|
+
h ? k = p - 2 * (P !== 0 || E !== 0 ? P + E : Mt(u.left, u.right)) : S = g - 2 * (D !== 0 || I !== 0 ? D + I : Mt(u.top, u.bottom));
|
|
3358
3358
|
}
|
|
3359
3359
|
await l({
|
|
3360
3360
|
...t,
|
|
@@ -3727,7 +3727,7 @@ function la(e, t) {
|
|
|
3727
3727
|
let n = e.offsetParent;
|
|
3728
3728
|
return Ht(e) === n && (n = n.ownerDocument.body), n;
|
|
3729
3729
|
}
|
|
3730
|
-
function
|
|
3730
|
+
function Oc(e, t) {
|
|
3731
3731
|
const n = Ct(e);
|
|
3732
3732
|
if (ds(e))
|
|
3733
3733
|
return n;
|
|
@@ -3746,7 +3746,7 @@ function Ec(e, t) {
|
|
|
3746
3746
|
return i && Je(i) && $s(i) && !zo(i) ? n : i || Yg(e) || n;
|
|
3747
3747
|
}
|
|
3748
3748
|
const op = async function(e) {
|
|
3749
|
-
const t = this.getOffsetParent ||
|
|
3749
|
+
const t = this.getOffsetParent || Oc, n = this.getDimensions, i = await n(e.floating);
|
|
3750
3750
|
return {
|
|
3751
3751
|
reference: sp(e.reference, await t(e.floating), e.strategy),
|
|
3752
3752
|
floating: {
|
|
@@ -3764,7 +3764,7 @@ const ap = {
|
|
|
3764
3764
|
convertOffsetParentRelativeRectToViewportRelativeRect: Gg,
|
|
3765
3765
|
getDocumentElement: Ht,
|
|
3766
3766
|
getClippingRect: np,
|
|
3767
|
-
getOffsetParent:
|
|
3767
|
+
getOffsetParent: Oc,
|
|
3768
3768
|
getElementRects: op,
|
|
3769
3769
|
getClientRects: qg,
|
|
3770
3770
|
getDimensions: ip,
|
|
@@ -3772,7 +3772,7 @@ const ap = {
|
|
|
3772
3772
|
isElement: Dt,
|
|
3773
3773
|
isRTL: rp
|
|
3774
3774
|
};
|
|
3775
|
-
function
|
|
3775
|
+
function Ec(e, t) {
|
|
3776
3776
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
3777
3777
|
}
|
|
3778
3778
|
function lp(e, t) {
|
|
@@ -3806,7 +3806,7 @@ function lp(e, t) {
|
|
|
3806
3806
|
r(!1, 1e-7);
|
|
3807
3807
|
}, 1e3);
|
|
3808
3808
|
}
|
|
3809
|
-
S === 1 && !
|
|
3809
|
+
S === 1 && !Ec(c, e.getBoundingClientRect()) && r(), _ = !1;
|
|
3810
3810
|
}
|
|
3811
3811
|
try {
|
|
3812
3812
|
n = new IntersectionObserver(w, {
|
|
@@ -3848,7 +3848,7 @@ function cp(e, t, n, i) {
|
|
|
3848
3848
|
l && m();
|
|
3849
3849
|
function m() {
|
|
3850
3850
|
const b = Pe(e);
|
|
3851
|
-
g && !
|
|
3851
|
+
g && !Ec(g, b) && n(), g = b, p = requestAnimationFrame(m);
|
|
3852
3852
|
}
|
|
3853
3853
|
return n(), () => {
|
|
3854
3854
|
var b;
|
|
@@ -3857,7 +3857,7 @@ function cp(e, t, n, i) {
|
|
|
3857
3857
|
}), d == null || d(), (b = h) == null || b.disconnect(), h = null, l && cancelAnimationFrame(p);
|
|
3858
3858
|
};
|
|
3859
3859
|
}
|
|
3860
|
-
const up = Lg, dp = Ig, fp =
|
|
3860
|
+
const up = Lg, dp = Ig, fp = Eg, hp = Fg, gp = Dg, ca = Og, pp = Ng, mp = (e, t, n) => {
|
|
3861
3861
|
const i = /* @__PURE__ */ new Map(), s = {
|
|
3862
3862
|
platform: ap,
|
|
3863
3863
|
...n
|
|
@@ -3942,7 +3942,7 @@ function xp(e) {
|
|
|
3942
3942
|
T !== C.current && (C.current = T, g(T));
|
|
3943
3943
|
}, []), v = x.useCallback((T) => {
|
|
3944
3944
|
T !== S.current && (S.current = T, b(T));
|
|
3945
|
-
}, []), _ = o || p, w = r || m, C = x.useRef(null), S = x.useRef(null), k = x.useRef(u), A = l != null, P = Ws(l),
|
|
3945
|
+
}, []), _ = o || p, w = r || m, C = x.useRef(null), S = x.useRef(null), k = x.useRef(u), A = l != null, P = Ws(l), E = Ws(s), D = Ws(c), I = x.useCallback(() => {
|
|
3946
3946
|
if (!C.current || !S.current)
|
|
3947
3947
|
return;
|
|
3948
3948
|
const T = {
|
|
@@ -3950,7 +3950,7 @@ function xp(e) {
|
|
|
3950
3950
|
strategy: n,
|
|
3951
3951
|
middleware: f
|
|
3952
3952
|
};
|
|
3953
|
-
|
|
3953
|
+
E.current && (T.platform = E.current), mp(C.current, S.current, T).then((R) => {
|
|
3954
3954
|
const Y = {
|
|
3955
3955
|
...R,
|
|
3956
3956
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -3963,7 +3963,7 @@ function xp(e) {
|
|
|
3963
3963
|
d(Y);
|
|
3964
3964
|
}));
|
|
3965
3965
|
});
|
|
3966
|
-
}, [f, t, n,
|
|
3966
|
+
}, [f, t, n, E, D]);
|
|
3967
3967
|
Pi(() => {
|
|
3968
3968
|
c === !1 && k.current.isPositioned && (k.current.isPositioned = !1, d((T) => ({
|
|
3969
3969
|
...T,
|
|
@@ -3985,7 +3985,7 @@ function xp(e) {
|
|
|
3985
3985
|
floating: S,
|
|
3986
3986
|
setReference: y,
|
|
3987
3987
|
setFloating: v
|
|
3988
|
-
}), [y, v]),
|
|
3988
|
+
}), [y, v]), O = x.useMemo(() => ({
|
|
3989
3989
|
reference: _,
|
|
3990
3990
|
floating: w
|
|
3991
3991
|
}), [_, w]), F = x.useMemo(() => {
|
|
@@ -3994,13 +3994,13 @@ function xp(e) {
|
|
|
3994
3994
|
left: 0,
|
|
3995
3995
|
top: 0
|
|
3996
3996
|
};
|
|
3997
|
-
if (!
|
|
3997
|
+
if (!O.floating)
|
|
3998
3998
|
return T;
|
|
3999
|
-
const R = ua(
|
|
3999
|
+
const R = ua(O.floating, u.x), Y = ua(O.floating, u.y);
|
|
4000
4000
|
return a ? {
|
|
4001
4001
|
...T,
|
|
4002
4002
|
transform: "translate(" + R + "px, " + Y + "px)",
|
|
4003
|
-
...Dc(
|
|
4003
|
+
...Dc(O.floating) >= 1.5 && {
|
|
4004
4004
|
willChange: "transform"
|
|
4005
4005
|
}
|
|
4006
4006
|
} : {
|
|
@@ -4008,14 +4008,14 @@ function xp(e) {
|
|
|
4008
4008
|
left: R,
|
|
4009
4009
|
top: Y
|
|
4010
4010
|
};
|
|
4011
|
-
}, [n, a,
|
|
4011
|
+
}, [n, a, O.floating, u.x, u.y]);
|
|
4012
4012
|
return x.useMemo(() => ({
|
|
4013
4013
|
...u,
|
|
4014
4014
|
update: I,
|
|
4015
4015
|
refs: j,
|
|
4016
|
-
elements:
|
|
4016
|
+
elements: O,
|
|
4017
4017
|
floatingStyles: F
|
|
4018
|
-
}), [u, I, j,
|
|
4018
|
+
}), [u, I, j, O, F]);
|
|
4019
4019
|
}
|
|
4020
4020
|
const vp = (e) => {
|
|
4021
4021
|
function t(n) {
|
|
@@ -4077,7 +4077,7 @@ var Ap = "Arrow", Tc = x.forwardRef((e, t) => {
|
|
|
4077
4077
|
});
|
|
4078
4078
|
Tc.displayName = Ap;
|
|
4079
4079
|
var Rp = Tc;
|
|
4080
|
-
function
|
|
4080
|
+
function Op(e) {
|
|
4081
4081
|
const [t, n] = x.useState(void 0);
|
|
4082
4082
|
return ke(() => {
|
|
4083
4083
|
if (e) {
|
|
@@ -4099,9 +4099,9 @@ function Ep(e) {
|
|
|
4099
4099
|
n(void 0);
|
|
4100
4100
|
}, [e]), t;
|
|
4101
4101
|
}
|
|
4102
|
-
var Vo = "Popper", [Lc, Ic] = Un(Vo), [
|
|
4102
|
+
var Vo = "Popper", [Lc, Ic] = Un(Vo), [Ep, Nc] = Lc(Vo), Fc = (e) => {
|
|
4103
4103
|
const { __scopePopper: t, children: n } = e, [i, s] = x.useState(null);
|
|
4104
|
-
return /* @__PURE__ */ M.jsx(
|
|
4104
|
+
return /* @__PURE__ */ M.jsx(Ep, { scope: t, anchor: i, onAnchorChange: s, children: n });
|
|
4105
4105
|
};
|
|
4106
4106
|
Fc.displayName = Vo;
|
|
4107
4107
|
var jc = "PopperAnchor", Bc = x.forwardRef(
|
|
@@ -4132,12 +4132,12 @@ var Ho = "PopperContent", [Dp, Tp] = Lc(Ho), zc = x.forwardRef(
|
|
|
4132
4132
|
updatePositionStrategy: h = "optimized",
|
|
4133
4133
|
onPlaced: p,
|
|
4134
4134
|
...g
|
|
4135
|
-
} = e, m = Nc(Ho, n), [b, y] = x.useState(null), v = yt(t, (dn) => y(dn)), [_, w] = x.useState(null), C =
|
|
4135
|
+
} = e, m = Nc(Ho, n), [b, y] = x.useState(null), v = yt(t, (dn) => y(dn)), [_, w] = x.useState(null), C = Op(_), S = (C == null ? void 0 : C.width) ?? 0, k = (C == null ? void 0 : C.height) ?? 0, A = i + (o !== "center" ? "-" + o : ""), P = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, E = Array.isArray(c) ? c : [c], D = E.length > 0, I = {
|
|
4136
4136
|
padding: P,
|
|
4137
|
-
boundary:
|
|
4137
|
+
boundary: E.filter(Ip),
|
|
4138
4138
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
4139
4139
|
altBoundary: D
|
|
4140
|
-
}, { refs: N, floatingStyles: j, placement:
|
|
4140
|
+
}, { refs: N, floatingStyles: j, placement: O, isPositioned: F, middlewareData: T } = xp({
|
|
4141
4141
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
4142
4142
|
strategy: "fixed",
|
|
4143
4143
|
placement: A,
|
|
@@ -4167,7 +4167,7 @@ var Ho = "PopperContent", [Dp, Tp] = Lc(Ho), zc = x.forwardRef(
|
|
|
4167
4167
|
Np({ arrowWidth: S, arrowHeight: k }),
|
|
4168
4168
|
f && kp({ strategy: "referenceHidden", ...I })
|
|
4169
4169
|
]
|
|
4170
|
-
}), [R, Y] = Vc(
|
|
4170
|
+
}), [R, Y] = Vc(O), V = Zt(p);
|
|
4171
4171
|
ke(() => {
|
|
4172
4172
|
F && (V == null || V());
|
|
4173
4173
|
}, [F, V]);
|
|
@@ -4429,9 +4429,9 @@ var Gp = x.forwardRef((e, t) => {
|
|
|
4429
4429
|
if (k.target === k.currentTarget && A && !b) {
|
|
4430
4430
|
const P = new CustomEvent(Vs, Hp);
|
|
4431
4431
|
if (k.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
|
|
4432
|
-
const
|
|
4432
|
+
const E = _().filter((O) => O.focusable), D = E.find((O) => O.active), I = E.find((O) => O.id === g), j = [D, I, ...E].filter(
|
|
4433
4433
|
Boolean
|
|
4434
|
-
).map((
|
|
4434
|
+
).map((O) => O.ref.current);
|
|
4435
4435
|
Gc(j, u);
|
|
4436
4436
|
}
|
|
4437
4437
|
}
|
|
@@ -4889,9 +4889,9 @@ var ze = yo ? { passive: !1 } : !1, Rm = function(e) {
|
|
|
4889
4889
|
n[t] !== "hidden" && // contains scroll inside self
|
|
4890
4890
|
!(n.overflowY === n.overflowX && !Rm(e) && n[t] === "visible")
|
|
4891
4891
|
);
|
|
4892
|
-
}, Em = function(e) {
|
|
4893
|
-
return eu(e, "overflowY");
|
|
4894
4892
|
}, Om = function(e) {
|
|
4893
|
+
return eu(e, "overflowY");
|
|
4894
|
+
}, Em = function(e) {
|
|
4895
4895
|
return eu(e, "overflowX");
|
|
4896
4896
|
}, ha = function(e, t) {
|
|
4897
4897
|
var n = t.ownerDocument, i = t;
|
|
@@ -4921,7 +4921,7 @@ var ze = yo ? { passive: !1 } : !1, Rm = function(e) {
|
|
|
4921
4921
|
i
|
|
4922
4922
|
];
|
|
4923
4923
|
}, nu = function(e, t) {
|
|
4924
|
-
return e === "v" ?
|
|
4924
|
+
return e === "v" ? Om(t) : Em(t);
|
|
4925
4925
|
}, iu = function(e, t) {
|
|
4926
4926
|
return e === "v" ? Dm(t) : Tm(t);
|
|
4927
4927
|
}, Lm = function(e, t) {
|
|
@@ -5096,16 +5096,16 @@ var qm = "MenuAnchor", Yo = x.forwardRef(
|
|
|
5096
5096
|
}
|
|
5097
5097
|
);
|
|
5098
5098
|
Yo.displayName = qm;
|
|
5099
|
-
var Jm = "MenuPortal", [
|
|
5099
|
+
var Jm = "MenuPortal", [SS, cu] = Te(Jm, {
|
|
5100
5100
|
forceMount: void 0
|
|
5101
|
-
}),
|
|
5101
|
+
}), Ot = "MenuContent", [Zm, Uo] = Te(Ot), uu = x.forwardRef(
|
|
5102
5102
|
(e, t) => {
|
|
5103
|
-
const n = cu(
|
|
5103
|
+
const n = cu(Ot, e.__scopeMenu), { forceMount: i = n.forceMount, ...s } = e, o = sn(Ot, e.__scopeMenu), r = qn(Ot, e.__scopeMenu);
|
|
5104
5104
|
return /* @__PURE__ */ M.jsx(Bn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(gs, { present: i || o.open, children: /* @__PURE__ */ M.jsx(Bn.Slot, { scope: e.__scopeMenu, children: r.modal ? /* @__PURE__ */ M.jsx(Qm, { ...s, ref: t }) : /* @__PURE__ */ M.jsx(tb, { ...s, ref: t }) }) }) });
|
|
5105
5105
|
}
|
|
5106
5106
|
), Qm = x.forwardRef(
|
|
5107
5107
|
(e, t) => {
|
|
5108
|
-
const n = sn(
|
|
5108
|
+
const n = sn(Ot, e.__scopeMenu), i = x.useRef(null), s = yt(t, i);
|
|
5109
5109
|
return x.useEffect(() => {
|
|
5110
5110
|
const o = i.current;
|
|
5111
5111
|
if (o) return om(o);
|
|
@@ -5127,7 +5127,7 @@ var Jm = "MenuPortal", [wS, cu] = Te(Jm, {
|
|
|
5127
5127
|
);
|
|
5128
5128
|
}
|
|
5129
5129
|
), tb = x.forwardRef((e, t) => {
|
|
5130
|
-
const n = sn(
|
|
5130
|
+
const n = sn(Ot, e.__scopeMenu);
|
|
5131
5131
|
return /* @__PURE__ */ M.jsx(
|
|
5132
5132
|
Ko,
|
|
5133
5133
|
{
|
|
@@ -5156,7 +5156,7 @@ var Jm = "MenuPortal", [wS, cu] = Te(Jm, {
|
|
|
5156
5156
|
onDismiss: h,
|
|
5157
5157
|
disableOutsideScroll: p,
|
|
5158
5158
|
...g
|
|
5159
|
-
} = e, m = sn(
|
|
5159
|
+
} = e, m = sn(Ot, n), b = qn(Ot, n), y = ms(n), v = au(n), _ = Um(n), [w, C] = x.useState(null), S = x.useRef(null), k = yt(t, S, m.onContentChange), A = x.useRef(0), P = x.useRef(""), E = x.useRef(0), D = x.useRef(null), I = x.useRef("right"), N = x.useRef(0), j = p ? su : x.Fragment, O = p ? { as: eb, allowPinchZoom: !0 } : void 0, F = (R) => {
|
|
5160
5160
|
var Yt, cn;
|
|
5161
5161
|
const Y = P.current + R, V = _().filter((kt) => !kt.disabled), J = document.activeElement, at = (Yt = V.find((kt) => kt.ref.current === J)) == null ? void 0 : Yt.textValue, ct = V.map((kt) => kt.textValue), wt = hb(ct, Y, at), dt = (cn = V.find((kt) => kt.textValue === wt)) == null ? void 0 : cn.ref.current;
|
|
5162
5162
|
(function kt(un) {
|
|
@@ -5192,11 +5192,11 @@ var Jm = "MenuPortal", [wS, cu] = Te(Jm, {
|
|
|
5192
5192
|
},
|
|
5193
5193
|
[T]
|
|
5194
5194
|
),
|
|
5195
|
-
pointerGraceTimerRef:
|
|
5195
|
+
pointerGraceTimerRef: E,
|
|
5196
5196
|
onPointerGraceIntentChange: x.useCallback((R) => {
|
|
5197
5197
|
D.current = R;
|
|
5198
5198
|
}, []),
|
|
5199
|
-
children: /* @__PURE__ */ M.jsx(j, { ...
|
|
5199
|
+
children: /* @__PURE__ */ M.jsx(j, { ...O, children: /* @__PURE__ */ M.jsx(
|
|
5200
5200
|
vc,
|
|
5201
5201
|
{
|
|
5202
5202
|
asChild: !0,
|
|
@@ -5276,7 +5276,7 @@ var Jm = "MenuPortal", [wS, cu] = Te(Jm, {
|
|
|
5276
5276
|
);
|
|
5277
5277
|
}
|
|
5278
5278
|
);
|
|
5279
|
-
uu.displayName =
|
|
5279
|
+
uu.displayName = Ot;
|
|
5280
5280
|
var nb = "MenuGroup", Xo = x.forwardRef(
|
|
5281
5281
|
(e, t) => {
|
|
5282
5282
|
const { __scopeMenu: n, ...i } = e;
|
|
@@ -5463,7 +5463,7 @@ var cb = "MenuArrow", _u = x.forwardRef(
|
|
|
5463
5463
|
}
|
|
5464
5464
|
);
|
|
5465
5465
|
_u.displayName = cb;
|
|
5466
|
-
var ub = "MenuSub", [
|
|
5466
|
+
var ub = "MenuSub", [MS, wu] = Te(ub), Mn = "MenuSubTrigger", Su = x.forwardRef(
|
|
5467
5467
|
(e, t) => {
|
|
5468
5468
|
const n = sn(Mn, e.__scopeMenu), i = qn(Mn, e.__scopeMenu), s = wu(Mn, e.__scopeMenu), o = Uo(Mn, e.__scopeMenu), r = x.useRef(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: l } = o, c = { __scopeMenu: e.__scopeMenu }, u = x.useCallback(() => {
|
|
5469
5469
|
r.current && window.clearTimeout(r.current), r.current = null;
|
|
@@ -5536,7 +5536,7 @@ var ub = "MenuSub", [SS, wu] = Te(ub), Mn = "MenuSubTrigger", Su = x.forwardRef(
|
|
|
5536
5536
|
Su.displayName = Mn;
|
|
5537
5537
|
var Mu = "MenuSubContent", Cu = x.forwardRef(
|
|
5538
5538
|
(e, t) => {
|
|
5539
|
-
const n = cu(
|
|
5539
|
+
const n = cu(Ot, e.__scopeMenu), { forceMount: i = n.forceMount, ...s } = e, o = sn(Ot, e.__scopeMenu), r = qn(Ot, e.__scopeMenu), a = wu(Mu, e.__scopeMenu), l = x.useRef(null), c = yt(t, l);
|
|
5540
5540
|
return /* @__PURE__ */ M.jsx(Bn.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(gs, { present: i || o.open, children: /* @__PURE__ */ M.jsx(Bn.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ M.jsx(
|
|
5541
5541
|
Ko,
|
|
5542
5542
|
{
|
|
@@ -5613,10 +5613,10 @@ function pb(e, t) {
|
|
|
5613
5613
|
function zn(e) {
|
|
5614
5614
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
5615
5615
|
}
|
|
5616
|
-
var mb = lu, bb = Yo, yb = uu, xb = Xo, vb = du, _b = bs, wb = hu, Sb = pu, Mb = bu, Cb = xu, kb = vu, Pb = _u, Ab = Su, Rb = Cu, ys = "DropdownMenu", [
|
|
5616
|
+
var mb = lu, bb = Yo, yb = uu, xb = Xo, vb = du, _b = bs, wb = hu, Sb = pu, Mb = bu, Cb = xu, kb = vu, Pb = _u, Ab = Su, Rb = Cu, ys = "DropdownMenu", [Ob, CS] = Un(
|
|
5617
5617
|
ys,
|
|
5618
5618
|
[ru]
|
|
5619
|
-
), _t = ru(), [
|
|
5619
|
+
), _t = ru(), [Eb, Pu] = Ob(ys), Au = (e) => {
|
|
5620
5620
|
const {
|
|
5621
5621
|
__scopeDropdownMenu: t,
|
|
5622
5622
|
children: n,
|
|
@@ -5632,7 +5632,7 @@ var mb = lu, bb = Yo, yb = uu, xb = Xo, vb = du, _b = bs, wb = hu, Sb = pu, Mb =
|
|
|
5632
5632
|
caller: ys
|
|
5633
5633
|
});
|
|
5634
5634
|
return /* @__PURE__ */ M.jsx(
|
|
5635
|
-
|
|
5635
|
+
Eb,
|
|
5636
5636
|
{
|
|
5637
5637
|
scope: t,
|
|
5638
5638
|
triggerId: ho(),
|
|
@@ -5647,7 +5647,7 @@ var mb = lu, bb = Yo, yb = uu, xb = Xo, vb = du, _b = bs, wb = hu, Sb = pu, Mb =
|
|
|
5647
5647
|
);
|
|
5648
5648
|
};
|
|
5649
5649
|
Au.displayName = ys;
|
|
5650
|
-
var Ru = "DropdownMenuTrigger",
|
|
5650
|
+
var Ru = "DropdownMenuTrigger", Ou = x.forwardRef(
|
|
5651
5651
|
(e, t) => {
|
|
5652
5652
|
const { __scopeDropdownMenu: n, disabled: i = !1, ...s } = e, o = Pu(Ru, n), r = _t(n);
|
|
5653
5653
|
return /* @__PURE__ */ M.jsx(bb, { asChild: !0, ...r, children: /* @__PURE__ */ M.jsx(
|
|
@@ -5673,10 +5673,10 @@ var Ru = "DropdownMenuTrigger", Eu = x.forwardRef(
|
|
|
5673
5673
|
) });
|
|
5674
5674
|
}
|
|
5675
5675
|
);
|
|
5676
|
-
|
|
5677
|
-
var
|
|
5676
|
+
Ou.displayName = Ru;
|
|
5677
|
+
var Eu = "DropdownMenuContent", Du = x.forwardRef(
|
|
5678
5678
|
(e, t) => {
|
|
5679
|
-
const { __scopeDropdownMenu: n, ...i } = e, s = Pu(
|
|
5679
|
+
const { __scopeDropdownMenu: n, ...i } = e, s = Pu(Eu, n), o = _t(n), r = x.useRef(!1);
|
|
5680
5680
|
return /* @__PURE__ */ M.jsx(
|
|
5681
5681
|
yb,
|
|
5682
5682
|
{
|
|
@@ -5705,7 +5705,7 @@ var Ou = "DropdownMenuContent", Du = x.forwardRef(
|
|
|
5705
5705
|
);
|
|
5706
5706
|
}
|
|
5707
5707
|
);
|
|
5708
|
-
Du.displayName =
|
|
5708
|
+
Du.displayName = Eu;
|
|
5709
5709
|
var Db = "DropdownMenuGroup", Tb = x.forwardRef(
|
|
5710
5710
|
(e, t) => {
|
|
5711
5711
|
const { __scopeDropdownMenu: n, ...i } = e, s = _t(n);
|
|
@@ -5784,8 +5784,8 @@ var Jb = "DropdownMenuSubContent", Zb = x.forwardRef((e, t) => {
|
|
|
5784
5784
|
);
|
|
5785
5785
|
});
|
|
5786
5786
|
Zb.displayName = Jb;
|
|
5787
|
-
var Qb = Au, ty =
|
|
5788
|
-
const
|
|
5787
|
+
var Qb = Au, ty = Ou, ey = Du, ny = Tu;
|
|
5788
|
+
const kS = ({
|
|
5789
5789
|
triggerComponent: e,
|
|
5790
5790
|
children: t,
|
|
5791
5791
|
disabled: n,
|
|
@@ -5802,7 +5802,7 @@ const CS = ({
|
|
|
5802
5802
|
rightContent: oy,
|
|
5803
5803
|
disabled: ry,
|
|
5804
5804
|
selected: ay
|
|
5805
|
-
},
|
|
5805
|
+
}, PS = ({
|
|
5806
5806
|
value: e,
|
|
5807
5807
|
isSelected: t,
|
|
5808
5808
|
label: n,
|
|
@@ -5834,7 +5834,7 @@ const CS = ({
|
|
|
5834
5834
|
leftContent: uy,
|
|
5835
5835
|
hasValue: dy,
|
|
5836
5836
|
loading: fy
|
|
5837
|
-
}, hy =
|
|
5837
|
+
}, hy = Ee(
|
|
5838
5838
|
({
|
|
5839
5839
|
startIcon: e,
|
|
5840
5840
|
valueLabel: t,
|
|
@@ -5870,7 +5870,7 @@ const CS = ({
|
|
|
5870
5870
|
hy.displayName = "SelectButton";
|
|
5871
5871
|
const gy = "_list_18km3_1", py = {
|
|
5872
5872
|
list: gy
|
|
5873
|
-
},
|
|
5873
|
+
}, AS = ({ children: e, autoFocus: t, className: n }) => {
|
|
5874
5874
|
const i = qe(null), s = qe(0);
|
|
5875
5875
|
return ye(() => {
|
|
5876
5876
|
const o = i.current;
|
|
@@ -5908,7 +5908,7 @@ const gy = "_list_18km3_1", py = {
|
|
|
5908
5908
|
clearIcon: by,
|
|
5909
5909
|
inputContainer: yy,
|
|
5910
5910
|
requiredText: xy
|
|
5911
|
-
}, Jo =
|
|
5911
|
+
}, Jo = Ee(
|
|
5912
5912
|
({
|
|
5913
5913
|
value: e = "",
|
|
5914
5914
|
disabled: t,
|
|
@@ -5953,7 +5953,7 @@ Jo.displayName = "InputField";
|
|
|
5953
5953
|
const vy = "_textField_1t43l_1", _y = "_characterCount_1t43l_5", ba = {
|
|
5954
5954
|
textField: vy,
|
|
5955
5955
|
characterCount: _y
|
|
5956
|
-
}, wy =
|
|
5956
|
+
}, wy = Ee(
|
|
5957
5957
|
({ value: e = "", placeholder: t = "Enter text", maxLength: n, ...i }, s) => /* @__PURE__ */ M.jsxs("div", { className: ba.textField, children: [
|
|
5958
5958
|
/* @__PURE__ */ M.jsx(
|
|
5959
5959
|
Jo,
|
|
@@ -5975,7 +5975,7 @@ const vy = "_textField_1t43l_1", _y = "_characterCount_1t43l_5", ba = {
|
|
|
5975
5975
|
] })
|
|
5976
5976
|
);
|
|
5977
5977
|
wy.displayName = "TextField";
|
|
5978
|
-
const Sy =
|
|
5978
|
+
const Sy = Ee(
|
|
5979
5979
|
({ value: e = null, placeholder: t = "Enter number", onChange: n, ...i }, s) => {
|
|
5980
5980
|
const o = (r) => {
|
|
5981
5981
|
if (r === "") {
|
|
@@ -6042,12 +6042,12 @@ function Ry(e) {
|
|
|
6042
6042
|
var t = ky(e) ? My : Cy;
|
|
6043
6043
|
return e ? "#" + t(e.r) + t(e.g) + t(e.b) + Ay(e.a, t) : void 0;
|
|
6044
6044
|
}
|
|
6045
|
-
const
|
|
6045
|
+
const Oy = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
|
|
6046
6046
|
function Lu(e, t, n) {
|
|
6047
6047
|
const i = t * Math.min(n, 1 - n), s = (o, r = (o + e / 30) % 12) => n - i * Math.max(Math.min(r - 3, 9 - r, 1), -1);
|
|
6048
6048
|
return [s(0), s(8), s(4)];
|
|
6049
6049
|
}
|
|
6050
|
-
function
|
|
6050
|
+
function Ey(e, t, n) {
|
|
6051
6051
|
const i = (s, o = (s + e / 60) % 6) => n - n * t * Math.max(Math.min(o, 4 - o, 1), 0);
|
|
6052
6052
|
return [i(5), i(3), i(1)];
|
|
6053
6053
|
}
|
|
@@ -6076,13 +6076,13 @@ function Ly(e, t, n) {
|
|
|
6076
6076
|
return Qo(Dy, e, t, n);
|
|
6077
6077
|
}
|
|
6078
6078
|
function Iy(e, t, n) {
|
|
6079
|
-
return Qo(
|
|
6079
|
+
return Qo(Ey, e, t, n);
|
|
6080
6080
|
}
|
|
6081
6081
|
function Iu(e) {
|
|
6082
6082
|
return (e % 360 + 360) % 360;
|
|
6083
6083
|
}
|
|
6084
6084
|
function Ny(e) {
|
|
6085
|
-
const t =
|
|
6085
|
+
const t = Oy.exec(e);
|
|
6086
6086
|
let n = 255, i;
|
|
6087
6087
|
if (!t)
|
|
6088
6088
|
return;
|
|
@@ -6526,7 +6526,7 @@ function Wt(e, t, n) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
return e;
|
|
6528
6528
|
}
|
|
6529
|
-
function
|
|
6529
|
+
function On(e, t) {
|
|
6530
6530
|
return Wt(e, t, {
|
|
6531
6531
|
merger: Gy
|
|
6532
6532
|
});
|
|
@@ -6535,7 +6535,7 @@ function Gy(e, t, n) {
|
|
|
6535
6535
|
if (!ju(e))
|
|
6536
6536
|
return;
|
|
6537
6537
|
const i = t[e], s = n[e];
|
|
6538
|
-
z(i) && z(s) ?
|
|
6538
|
+
z(i) && z(s) ? On(i, s) : Object.prototype.hasOwnProperty.call(t, e) || (t[e] = Gi(s));
|
|
6539
6539
|
}
|
|
6540
6540
|
const wa = {
|
|
6541
6541
|
// Chart.helpers.core resolveObjectKey should resolve empty key to root object
|
|
@@ -6580,12 +6580,12 @@ function Zy(e) {
|
|
|
6580
6580
|
return e.type === "mouseup" || e.type === "click" || e.type === "contextmenu";
|
|
6581
6581
|
}
|
|
6582
6582
|
const W = Math.PI, nt = 2 * W, qi = Number.POSITIVE_INFINITY, nr = W / 180, Q = W / 2, At = W / 4, Ji = W * 2 / 3, re = Math.log10, ce = Math.sign;
|
|
6583
|
-
function
|
|
6583
|
+
function Oi(e, t, n) {
|
|
6584
6584
|
return Math.abs(e - t) < n;
|
|
6585
6585
|
}
|
|
6586
6586
|
function Ma(e) {
|
|
6587
6587
|
const t = Math.round(e);
|
|
6588
|
-
e =
|
|
6588
|
+
e = Oi(e, t, e / 1e3) ? t : e;
|
|
6589
6589
|
const n = Math.pow(10, Math.floor(re(e))), i = e / n;
|
|
6590
6590
|
return (i <= 1 ? 1 : i <= 2 ? 2 : i <= 5 ? 5 : 10) * n;
|
|
6591
6591
|
}
|
|
@@ -6740,7 +6740,7 @@ function rx(e, t) {
|
|
|
6740
6740
|
return t ? (clearTimeout(n), n = setTimeout(e, t, i)) : e.apply(this, i), t;
|
|
6741
6741
|
};
|
|
6742
6742
|
}
|
|
6743
|
-
const sr = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", ut = (e, t, n) => e === "start" ? t : e === "end" ? n : (t + n) / 2, ax = (e, t, n, i) => e === (i ? "left" : "right") ? n : e === "center" ? (t + n) / 2 : t, hi = (e) => e === 0 || e === 1, Pa = (e, t, n) => -(Math.pow(2, 10 * (e -= 1)) * Math.sin((e - t) * nt / n)), Aa = (e, t, n) => Math.pow(2, -10 * e) * Math.sin((e - t) * nt / n) + 1,
|
|
6743
|
+
const sr = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", ut = (e, t, n) => e === "start" ? t : e === "end" ? n : (t + n) / 2, ax = (e, t, n, i) => e === (i ? "left" : "right") ? n : e === "center" ? (t + n) / 2 : t, hi = (e) => e === 0 || e === 1, Pa = (e, t, n) => -(Math.pow(2, 10 * (e -= 1)) * Math.sin((e - t) * nt / n)), Aa = (e, t, n) => Math.pow(2, -10 * e) * Math.sin((e - t) * nt / n) + 1, En = {
|
|
6744
6744
|
linear: (e) => e,
|
|
6745
6745
|
easeInQuad: (e) => e * e,
|
|
6746
6746
|
easeOutQuad: (e) => -e * (e - 2),
|
|
@@ -6778,11 +6778,11 @@ const sr = (e) => e === "start" ? "left" : e === "end" ? "right" : "center", ut
|
|
|
6778
6778
|
let t = 1.70158;
|
|
6779
6779
|
return (e /= 0.5) < 1 ? 0.5 * (e * e * (((t *= 1.525) + 1) * e - t)) : 0.5 * ((e -= 2) * e * (((t *= 1.525) + 1) * e + t) + 2);
|
|
6780
6780
|
},
|
|
6781
|
-
easeInBounce: (e) => 1 -
|
|
6781
|
+
easeInBounce: (e) => 1 - En.easeOutBounce(1 - e),
|
|
6782
6782
|
easeOutBounce(e) {
|
|
6783
6783
|
return e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375;
|
|
6784
6784
|
},
|
|
6785
|
-
easeInOutBounce: (e) => e < 0.5 ?
|
|
6785
|
+
easeInOutBounce: (e) => e < 0.5 ? En.easeInBounce(e * 2) * 0.5 : En.easeOutBounce(e * 2 - 1) * 0.5 + 0.5
|
|
6786
6786
|
};
|
|
6787
6787
|
function Yu(e) {
|
|
6788
6788
|
if (e && typeof e == "object") {
|
|
@@ -6880,12 +6880,12 @@ function dx(e) {
|
|
|
6880
6880
|
}
|
|
6881
6881
|
});
|
|
6882
6882
|
}
|
|
6883
|
-
const
|
|
6883
|
+
const Oa = /* @__PURE__ */ new Map();
|
|
6884
6884
|
function fx(e, t) {
|
|
6885
6885
|
t = t || {};
|
|
6886
6886
|
const n = e + JSON.stringify(t);
|
|
6887
|
-
let i =
|
|
6888
|
-
return i || (i = new Intl.NumberFormat(e, t),
|
|
6887
|
+
let i = Oa.get(n);
|
|
6888
|
+
return i || (i = new Intl.NumberFormat(e, t), Oa.set(n, i)), i;
|
|
6889
6889
|
}
|
|
6890
6890
|
function vs(e, t, n) {
|
|
6891
6891
|
return fx(t, n).format(e);
|
|
@@ -7082,7 +7082,7 @@ var tt = /* @__PURE__ */ new px({
|
|
|
7082
7082
|
function mx(e) {
|
|
7083
7083
|
return !e || U(e.size) || U(e.family) ? null : (e.style ? e.style + " " : "") + (e.weight ? e.weight + " " : "") + e.size + "px " + e.family;
|
|
7084
7084
|
}
|
|
7085
|
-
function
|
|
7085
|
+
function Ea(e, t, n, i, s) {
|
|
7086
7086
|
let o = t[s];
|
|
7087
7087
|
return o || (o = t[s] = e.measureText(s).width, n.push(s)), o > i && (i = o), i;
|
|
7088
7088
|
}
|
|
@@ -7431,7 +7431,7 @@ function Ju(e, t, n) {
|
|
|
7431
7431
|
return bt(e) ? e(t, n) : e;
|
|
7432
7432
|
}
|
|
7433
7433
|
const Rx = (e, t) => e === !0 ? t : typeof e == "string" ? Ae(t, e) : void 0;
|
|
7434
|
-
function
|
|
7434
|
+
function Ox(e, t, n, i, s) {
|
|
7435
7435
|
for (const o of t) {
|
|
7436
7436
|
const r = Rx(n, o);
|
|
7437
7437
|
if (r) {
|
|
@@ -7453,14 +7453,14 @@ function ur(e, t, n, i) {
|
|
|
7453
7453
|
let l = Ta(a, r, n, o || n, i);
|
|
7454
7454
|
return l === null || typeof o < "u" && o !== n && (l = Ta(a, r, o, l, i), l === null) ? !1 : lr(Array.from(a), [
|
|
7455
7455
|
""
|
|
7456
|
-
], s, o, () =>
|
|
7456
|
+
], s, o, () => Ex(t, n, i));
|
|
7457
7457
|
}
|
|
7458
7458
|
function Ta(e, t, n, i, s) {
|
|
7459
7459
|
for (; n; )
|
|
7460
|
-
n =
|
|
7460
|
+
n = Ox(e, t, n, i, s);
|
|
7461
7461
|
return n;
|
|
7462
7462
|
}
|
|
7463
|
-
function
|
|
7463
|
+
function Ex(e, t, n) {
|
|
7464
7464
|
const i = e._getTarget();
|
|
7465
7465
|
t in i || (i[t] = {});
|
|
7466
7466
|
const s = i[t];
|
|
@@ -7784,7 +7784,7 @@ class Kx {
|
|
|
7784
7784
|
o,
|
|
7785
7785
|
s
|
|
7786
7786
|
]);
|
|
7787
|
-
this._active = !0, this._fn = t.fn || Ux[t.type || typeof r], this._easing =
|
|
7787
|
+
this._active = !0, this._fn = t.fn || Ux[t.type || typeof r], this._easing = En[t.easing] || En.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = n, this._prop = i, this._from = r, this._to = s, this._promises = void 0;
|
|
7788
7788
|
}
|
|
7789
7789
|
active() {
|
|
7790
7790
|
return this._active;
|
|
@@ -8535,7 +8535,7 @@ function Ya(e, t, n) {
|
|
|
8535
8535
|
function gv(e, { inflateAmount: t }, n) {
|
|
8536
8536
|
e.inflateAmount = t === "auto" ? n === 1 ? 0.33 : 0 : t;
|
|
8537
8537
|
}
|
|
8538
|
-
class
|
|
8538
|
+
class Ei extends Ge {
|
|
8539
8539
|
parsePrimitiveData(t, n, i, s) {
|
|
8540
8540
|
return Va(t, n, i, s);
|
|
8541
8541
|
}
|
|
@@ -8686,7 +8686,7 @@ class Oi extends Ge {
|
|
|
8686
8686
|
this.getParsed(o)[n.axis] !== null && !i[o].hidden && i[o].draw(this._ctx);
|
|
8687
8687
|
}
|
|
8688
8688
|
}
|
|
8689
|
-
L(
|
|
8689
|
+
L(Ei, "id", "bar"), L(Ei, "defaults", {
|
|
8690
8690
|
datasetElementType: !1,
|
|
8691
8691
|
dataElementType: "bar",
|
|
8692
8692
|
categoryPercentage: 0.8,
|
|
@@ -8704,7 +8704,7 @@ L(Oi, "id", "bar"), L(Oi, "defaults", {
|
|
|
8704
8704
|
]
|
|
8705
8705
|
}
|
|
8706
8706
|
}
|
|
8707
|
-
}), L(
|
|
8707
|
+
}), L(Ei, "overrides", {
|
|
8708
8708
|
scales: {
|
|
8709
8709
|
_index_: {
|
|
8710
8710
|
type: "category",
|
|
@@ -9390,7 +9390,7 @@ class Rv extends od {
|
|
|
9390
9390
|
t.options.animation = !1;
|
|
9391
9391
|
}
|
|
9392
9392
|
}
|
|
9393
|
-
const Di = "$chartjs",
|
|
9393
|
+
const Di = "$chartjs", Ov = {
|
|
9394
9394
|
touchstart: "mousedown",
|
|
9395
9395
|
touchmove: "mousemove",
|
|
9396
9396
|
touchend: "mouseup",
|
|
@@ -9401,7 +9401,7 @@ const Di = "$chartjs", Ev = {
|
|
|
9401
9401
|
pointerleave: "mouseout",
|
|
9402
9402
|
pointerout: "mouseout"
|
|
9403
9403
|
}, qa = (e) => e === null || e === "";
|
|
9404
|
-
function
|
|
9404
|
+
function Ev(e, t) {
|
|
9405
9405
|
const n = e.style, i = e.getAttribute("height"), s = e.getAttribute("width");
|
|
9406
9406
|
if (e[Di] = {
|
|
9407
9407
|
initial: {
|
|
@@ -9436,7 +9436,7 @@ function Tv(e, t, n) {
|
|
|
9436
9436
|
e && e.canvas && e.canvas.removeEventListener(t, n, rd);
|
|
9437
9437
|
}
|
|
9438
9438
|
function Lv(e, t) {
|
|
9439
|
-
const n =
|
|
9439
|
+
const n = Ov[e.type] || e.type, { x: i, y: s } = xe(e, t);
|
|
9440
9440
|
return {
|
|
9441
9441
|
type: n,
|
|
9442
9442
|
chart: t,
|
|
@@ -9513,7 +9513,7 @@ function zv(e, t, n) {
|
|
|
9513
9513
|
class $v extends od {
|
|
9514
9514
|
acquireContext(t, n) {
|
|
9515
9515
|
const i = t && t.getContext && t.getContext("2d");
|
|
9516
|
-
return i && i.canvas === t ? (
|
|
9516
|
+
return i && i.canvas === t ? (Ev(t, n), i) : null;
|
|
9517
9517
|
}
|
|
9518
9518
|
releaseContext(t) {
|
|
9519
9519
|
const n = t.canvas;
|
|
@@ -9970,10 +9970,10 @@ class Le extends ft {
|
|
|
9970
9970
|
data: {},
|
|
9971
9971
|
gc: []
|
|
9972
9972
|
}, y = g.lineHeight, v = _ = 0, !U(p) && !q(p))
|
|
9973
|
-
v =
|
|
9973
|
+
v = Ea(s, b.data, b.gc, v, p), _ = y;
|
|
9974
9974
|
else if (q(p))
|
|
9975
9975
|
for (f = 0, h = p.length; f < h; ++f)
|
|
9976
|
-
w = p[f], !U(w) && !q(w) && (v =
|
|
9976
|
+
w = p[f], !U(w) && !q(w) && (v = Ea(s, b.data, b.gc, v, w), _ += y);
|
|
9977
9977
|
r.push(v), a.push(_), c = Math.max(v, c), u = Math.max(_, u);
|
|
9978
9978
|
}
|
|
9979
9979
|
Jv(o, n);
|
|
@@ -10035,14 +10035,14 @@ class Le extends ft {
|
|
|
10035
10035
|
return t !== "auto" ? !!t : this.getMatchingVisibleMetas().length > 0;
|
|
10036
10036
|
}
|
|
10037
10037
|
_computeGridLineItems(t) {
|
|
10038
|
-
const n = this.axis, i = this.chart, s = this.options, { grid: o, position: r, border: a } = s, l = o.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), f = xn(o), h = [], p = a.setContext(this.getContext()), g = p.display ? p.width : 0, m = g / 2, b = function(
|
|
10039
|
-
return pe(i,
|
|
10038
|
+
const n = this.axis, i = this.chart, s = this.options, { grid: o, position: r, border: a } = s, l = o.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), f = xn(o), h = [], p = a.setContext(this.getContext()), g = p.display ? p.width : 0, m = g / 2, b = function(O) {
|
|
10039
|
+
return pe(i, O, g);
|
|
10040
10040
|
};
|
|
10041
|
-
let y, v, _, w, C, S, k, A, P,
|
|
10041
|
+
let y, v, _, w, C, S, k, A, P, E, D, I;
|
|
10042
10042
|
if (r === "top")
|
|
10043
|
-
y = b(this.bottom), S = this.bottom - f, A = y - m,
|
|
10043
|
+
y = b(this.bottom), S = this.bottom - f, A = y - m, E = b(t.top) + m, I = t.bottom;
|
|
10044
10044
|
else if (r === "bottom")
|
|
10045
|
-
y = b(this.top),
|
|
10045
|
+
y = b(this.top), E = t.top, I = b(t.bottom) - m, S = y + m, A = this.top + f;
|
|
10046
10046
|
else if (r === "left")
|
|
10047
10047
|
y = b(this.right), C = this.right - f, k = y - m, P = b(t.left) + m, D = t.right;
|
|
10048
10048
|
else if (r === "right")
|
|
@@ -10051,29 +10051,29 @@ class Le extends ft {
|
|
|
10051
10051
|
if (r === "center")
|
|
10052
10052
|
y = b((t.top + t.bottom) / 2 + 0.5);
|
|
10053
10053
|
else if (z(r)) {
|
|
10054
|
-
const
|
|
10055
|
-
y = b(this.chart.scales[
|
|
10054
|
+
const O = Object.keys(r)[0], F = r[O];
|
|
10055
|
+
y = b(this.chart.scales[O].getPixelForValue(F));
|
|
10056
10056
|
}
|
|
10057
|
-
|
|
10057
|
+
E = t.top, I = t.bottom, S = y + m, A = S + f;
|
|
10058
10058
|
} else if (n === "y") {
|
|
10059
10059
|
if (r === "center")
|
|
10060
10060
|
y = b((t.left + t.right) / 2);
|
|
10061
10061
|
else if (z(r)) {
|
|
10062
|
-
const
|
|
10063
|
-
y = b(this.chart.scales[
|
|
10062
|
+
const O = Object.keys(r)[0], F = r[O];
|
|
10063
|
+
y = b(this.chart.scales[O].getPixelForValue(F));
|
|
10064
10064
|
}
|
|
10065
10065
|
C = y - m, k = C - f, P = t.left, D = t.right;
|
|
10066
10066
|
}
|
|
10067
10067
|
const N = $(s.ticks.maxTicksLimit, d), j = Math.max(1, Math.ceil(d / N));
|
|
10068
10068
|
for (v = 0; v < d; v += j) {
|
|
10069
|
-
const
|
|
10070
|
-
_ = qv(this, v, l), _ !== void 0 && (w = pe(i, _, R), c ? C = k = P = D = w : S = A =
|
|
10069
|
+
const O = this.getContext(v), F = o.setContext(O), T = a.setContext(O), R = F.lineWidth, Y = F.color, V = T.dash || [], J = T.dashOffset, at = F.tickWidth, ct = F.tickColor, wt = F.tickBorderDash || [], dt = F.tickBorderDashOffset;
|
|
10070
|
+
_ = qv(this, v, l), _ !== void 0 && (w = pe(i, _, R), c ? C = k = P = D = w : S = A = E = I = w, h.push({
|
|
10071
10071
|
tx1: C,
|
|
10072
10072
|
ty1: S,
|
|
10073
10073
|
tx2: k,
|
|
10074
10074
|
ty2: A,
|
|
10075
10075
|
x1: P,
|
|
10076
|
-
y1:
|
|
10076
|
+
y1: E,
|
|
10077
10077
|
x2: D,
|
|
10078
10078
|
y2: I,
|
|
10079
10079
|
width: R,
|
|
@@ -10090,7 +10090,7 @@ class Le extends ft {
|
|
|
10090
10090
|
}
|
|
10091
10091
|
_computeLabelItems(t) {
|
|
10092
10092
|
const n = this.axis, i = this.options, { position: s, ticks: o } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: u, mirror: d } = o, f = xn(i.grid), h = f + u, p = d ? -u : h, g = -rt(this.labelRotation), m = [];
|
|
10093
|
-
let b, y, v, _, w, C, S, k, A, P,
|
|
10093
|
+
let b, y, v, _, w, C, S, k, A, P, E, D, I = "middle";
|
|
10094
10094
|
if (s === "top")
|
|
10095
10095
|
C = this.bottom - p, S = this._getXAxisLabelAlignment();
|
|
10096
10096
|
else if (s === "bottom")
|
|
@@ -10105,16 +10105,16 @@ class Le extends ft {
|
|
|
10105
10105
|
if (s === "center")
|
|
10106
10106
|
C = (t.top + t.bottom) / 2 + h;
|
|
10107
10107
|
else if (z(s)) {
|
|
10108
|
-
const j = Object.keys(s)[0],
|
|
10109
|
-
C = this.chart.scales[j].getPixelForValue(
|
|
10108
|
+
const j = Object.keys(s)[0], O = s[j];
|
|
10109
|
+
C = this.chart.scales[j].getPixelForValue(O) + h;
|
|
10110
10110
|
}
|
|
10111
10111
|
S = this._getXAxisLabelAlignment();
|
|
10112
10112
|
} else if (n === "y") {
|
|
10113
10113
|
if (s === "center")
|
|
10114
10114
|
w = (t.left + t.right) / 2 - h;
|
|
10115
10115
|
else if (z(s)) {
|
|
10116
|
-
const j = Object.keys(s)[0],
|
|
10117
|
-
w = this.chart.scales[j].getPixelForValue(
|
|
10116
|
+
const j = Object.keys(s)[0], O = s[j];
|
|
10117
|
+
w = this.chart.scales[j].getPixelForValue(O);
|
|
10118
10118
|
}
|
|
10119
10119
|
S = this._getYAxisLabelAlignment(f).textAlign;
|
|
10120
10120
|
}
|
|
@@ -10123,10 +10123,10 @@ class Le extends ft {
|
|
|
10123
10123
|
for (b = 0, y = a.length; b < y; ++b) {
|
|
10124
10124
|
v = a[b], _ = v.label;
|
|
10125
10125
|
const j = o.setContext(this.getContext(b));
|
|
10126
|
-
k = this.getPixelForTick(b) + o.labelOffset, A = this._resolveTickFontOptions(b), P = A.lineHeight,
|
|
10127
|
-
const
|
|
10126
|
+
k = this.getPixelForTick(b) + o.labelOffset, A = this._resolveTickFontOptions(b), P = A.lineHeight, E = q(_) ? _.length : 1;
|
|
10127
|
+
const O = E / 2, F = j.color, T = j.textStrokeColor, R = j.textStrokeWidth;
|
|
10128
10128
|
let Y = S;
|
|
10129
|
-
r ? (w = k, S === "inner" && (b === y - 1 ? Y = this.options.reverse ? "left" : "right" : b === 0 ? Y = this.options.reverse ? "right" : "left" : Y = "center"), s === "top" ? c === "near" || g !== 0 ? D = -
|
|
10129
|
+
r ? (w = k, S === "inner" && (b === y - 1 ? Y = this.options.reverse ? "left" : "right" : b === 0 ? Y = this.options.reverse ? "right" : "left" : Y = "center"), s === "top" ? c === "near" || g !== 0 ? D = -E * P + P / 2 : c === "center" ? D = -N.highest.height / 2 - O * P + P : D = -N.highest.height + P / 2 : c === "near" || g !== 0 ? D = P / 2 : c === "center" ? D = N.highest.height / 2 - O * P : D = N.highest.height - E * P, d && (D *= -1), g !== 0 && !j.showLabelBackdrop && (w += P / 2 * Math.sin(g))) : (C = k, D = (1 - E) * P / 2);
|
|
10130
10130
|
let V;
|
|
10131
10131
|
if (j.showLabelBackdrop) {
|
|
10132
10132
|
const J = lt(j.backdropPadding), at = N.heights[b], ct = N.widths[b];
|
|
@@ -10605,7 +10605,7 @@ function p0(e, t) {
|
|
|
10605
10605
|
if (a._proxy)
|
|
10606
10606
|
return console.warn(`Ignoring resolver passed as options for scale: ${r}`);
|
|
10607
10607
|
const l = ko(r, a, g0(r, e), tt.scales[a.type]), c = f0(l, s), u = n.scales || {};
|
|
10608
|
-
o[r] =
|
|
10608
|
+
o[r] = On(/* @__PURE__ */ Object.create(null), [
|
|
10609
10609
|
{
|
|
10610
10610
|
axis: l
|
|
10611
10611
|
},
|
|
@@ -10617,7 +10617,7 @@ function p0(e, t) {
|
|
|
10617
10617
|
const a = r.type || e.type, l = r.indexAxis || Co(a, t), u = (Re[a] || {}).scales || {};
|
|
10618
10618
|
Object.keys(u).forEach((d) => {
|
|
10619
10619
|
const f = d0(d, l), h = r[f + "AxisID"] || f;
|
|
10620
|
-
o[h] = o[h] || /* @__PURE__ */ Object.create(null),
|
|
10620
|
+
o[h] = o[h] || /* @__PURE__ */ Object.create(null), On(o[h], [
|
|
10621
10621
|
{
|
|
10622
10622
|
axis: f
|
|
10623
10623
|
},
|
|
@@ -10627,7 +10627,7 @@ function p0(e, t) {
|
|
|
10627
10627
|
});
|
|
10628
10628
|
}), Object.keys(o).forEach((r) => {
|
|
10629
10629
|
const a = o[r];
|
|
10630
|
-
|
|
10630
|
+
On(a, [
|
|
10631
10631
|
tt.scales[a.type],
|
|
10632
10632
|
tt.scale
|
|
10633
10633
|
]);
|
|
@@ -11377,24 +11377,24 @@ function ns(e, t, n, i, s, o) {
|
|
|
11377
11377
|
let h = 0;
|
|
11378
11378
|
const p = s - l;
|
|
11379
11379
|
if (i) {
|
|
11380
|
-
const j = u > 0 ? u - i : 0,
|
|
11380
|
+
const j = u > 0 ? u - i : 0, O = d > 0 ? d - i : 0, F = (j + O) / 2, T = F !== 0 ? p * F / (F + i) : p;
|
|
11381
11381
|
h = (p - T) / 2;
|
|
11382
11382
|
}
|
|
11383
|
-
const g = Math.max(1e-3, p * d - n / W) / d, m = (p - g) / 2, b = l + m + h, y = s - m - h, { outerStart: v, outerEnd: _, innerStart: w, innerEnd: C } = A0(t, f, d, y - b), S = d - v, k = d - _, A = b + v / S, P = y - _ / k,
|
|
11383
|
+
const g = Math.max(1e-3, p * d - n / W) / d, m = (p - g) / 2, b = l + m + h, y = s - m - h, { outerStart: v, outerEnd: _, innerStart: w, innerEnd: C } = A0(t, f, d, y - b), S = d - v, k = d - _, A = b + v / S, P = y - _ / k, E = f + w, D = f + C, I = b + w / E, N = y - C / D;
|
|
11384
11384
|
if (e.beginPath(), o) {
|
|
11385
11385
|
const j = (A + P) / 2;
|
|
11386
11386
|
if (e.arc(r, a, d, A, j), e.arc(r, a, d, j, P), _ > 0) {
|
|
11387
11387
|
const R = Ve(k, P, r, a);
|
|
11388
11388
|
e.arc(R.x, R.y, _, P, y + Q);
|
|
11389
11389
|
}
|
|
11390
|
-
const
|
|
11391
|
-
if (e.lineTo(
|
|
11390
|
+
const O = Ve(D, y, r, a);
|
|
11391
|
+
if (e.lineTo(O.x, O.y), C > 0) {
|
|
11392
11392
|
const R = Ve(D, N, r, a);
|
|
11393
11393
|
e.arc(R.x, R.y, C, y + Q, N + Math.PI);
|
|
11394
11394
|
}
|
|
11395
11395
|
const F = (y - C / f + (b + w / f)) / 2;
|
|
11396
11396
|
if (e.arc(r, a, f, y - C / f, F, !0), e.arc(r, a, f, F, b + w / f, !0), w > 0) {
|
|
11397
|
-
const R = Ve(
|
|
11397
|
+
const R = Ve(E, I, r, a);
|
|
11398
11398
|
e.arc(R.x, R.y, w, I + Math.PI, b - Q);
|
|
11399
11399
|
}
|
|
11400
11400
|
const T = Ve(S, b, r, a);
|
|
@@ -11404,8 +11404,8 @@ function ns(e, t, n, i, s, o) {
|
|
|
11404
11404
|
}
|
|
11405
11405
|
} else {
|
|
11406
11406
|
e.moveTo(r, a);
|
|
11407
|
-
const j = Math.cos(A) * d + r,
|
|
11408
|
-
e.lineTo(j,
|
|
11407
|
+
const j = Math.cos(A) * d + r, O = Math.sin(A) * d + a;
|
|
11408
|
+
e.lineTo(j, O);
|
|
11409
11409
|
const F = Math.cos(P) * d + r, T = Math.sin(P) * d + a;
|
|
11410
11410
|
e.lineTo(F, T);
|
|
11411
11411
|
}
|
|
@@ -11422,7 +11422,7 @@ function R0(e, t, n, i, s) {
|
|
|
11422
11422
|
}
|
|
11423
11423
|
return ns(e, t, n, i, l, s), e.fill(), l;
|
|
11424
11424
|
}
|
|
11425
|
-
function
|
|
11425
|
+
function O0(e, t, n, i, s) {
|
|
11426
11426
|
const { fullCircles: o, startAngle: r, circumference: a, options: l } = t, { borderWidth: c, borderJoinStyle: u, borderDash: d, borderDashOffset: f, borderRadius: h } = l, p = l.borderAlign === "inner";
|
|
11427
11427
|
if (!c)
|
|
11428
11428
|
return;
|
|
@@ -11489,7 +11489,7 @@ class _e extends ft {
|
|
|
11489
11489
|
const l = (this.startAngle + this.endAngle) / 2;
|
|
11490
11490
|
n.translate(Math.cos(l) * o, Math.sin(l) * o);
|
|
11491
11491
|
const c = 1 - Math.sin(Math.min(W, s || 0)), u = o * c;
|
|
11492
|
-
n.fillStyle = i.backgroundColor, n.strokeStyle = i.borderColor, R0(n, this, u, r, a),
|
|
11492
|
+
n.fillStyle = i.backgroundColor, n.strokeStyle = i.borderColor, R0(n, this, u, r, a), O0(n, this, u, r, a), n.restore();
|
|
11493
11493
|
}
|
|
11494
11494
|
}
|
|
11495
11495
|
L(_e, "id", "arc"), L(_e, "defaults", {
|
|
@@ -11601,7 +11601,7 @@ function fd(e, t) {
|
|
|
11601
11601
|
function ae(e, t, n, i) {
|
|
11602
11602
|
return e ? 0 : mt(t, n, i);
|
|
11603
11603
|
}
|
|
11604
|
-
function
|
|
11604
|
+
function E0(e, t, n) {
|
|
11605
11605
|
const i = e.options.borderWidth, s = e.borderSkipped, o = Xu(i);
|
|
11606
11606
|
return {
|
|
11607
11607
|
t: ae(s.top, o.top, 0, n),
|
|
@@ -11622,7 +11622,7 @@ function D0(e, t, n) {
|
|
|
11622
11622
|
};
|
|
11623
11623
|
}
|
|
11624
11624
|
function T0(e) {
|
|
11625
|
-
const t = fd(e), n = t.right - t.left, i = t.bottom - t.top, s =
|
|
11625
|
+
const t = fd(e), n = t.right - t.left, i = t.bottom - t.top, s = E0(e, n / 2, i / 2), o = D0(e, n / 2, i / 2);
|
|
11626
11626
|
return {
|
|
11627
11627
|
outer: {
|
|
11628
11628
|
x: t.left,
|
|
@@ -11819,17 +11819,17 @@ class hl extends ft {
|
|
|
11819
11819
|
pointStyle: k.pointStyle,
|
|
11820
11820
|
rotation: k.rotation,
|
|
11821
11821
|
borderWidth: A
|
|
11822
|
-
},
|
|
11823
|
-
Ku(s, P,
|
|
11822
|
+
}, E = l.xPlus(C, p / 2), D = S + f;
|
|
11823
|
+
Ku(s, P, E, D, r.pointStyleWidth && p);
|
|
11824
11824
|
} else {
|
|
11825
|
-
const P = S + Math.max((d - g) / 2, 0),
|
|
11825
|
+
const P = S + Math.max((d - g) / 2, 0), E = l.leftForLtr(C, p), D = Me(k.borderRadius);
|
|
11826
11826
|
s.beginPath(), Object.values(D).some((I) => I !== 0) ? Vn(s, {
|
|
11827
|
-
x:
|
|
11827
|
+
x: E,
|
|
11828
11828
|
y: P,
|
|
11829
11829
|
w: p,
|
|
11830
11830
|
h: g,
|
|
11831
11831
|
radius: D
|
|
11832
|
-
}) : s.rect(
|
|
11832
|
+
}) : s.rect(E, P, p, g), s.fill(), A !== 0 && s.stroke();
|
|
11833
11833
|
}
|
|
11834
11834
|
s.restore();
|
|
11835
11835
|
}, y = function(C, S, k) {
|
|
@@ -11851,10 +11851,10 @@ class hl extends ft {
|
|
|
11851
11851
|
this.legendItems.forEach((C, S) => {
|
|
11852
11852
|
s.strokeStyle = C.fontColor, s.fillStyle = C.fontColor;
|
|
11853
11853
|
const k = s.measureText(C.text).width, A = l.textAlign(C.textAlign || (C.textAlign = r.textAlign)), P = p + f + k;
|
|
11854
|
-
let
|
|
11855
|
-
l.setWidth(this.width), v ? S > 0 &&
|
|
11856
|
-
const I = l.x(
|
|
11857
|
-
if (b(I, D, C),
|
|
11854
|
+
let E = h.x, D = h.y;
|
|
11855
|
+
l.setWidth(this.width), v ? S > 0 && E + P + u > this.right && (D = h.y += w, h.line++, E = h.x = ut(o, this.left + u, this.right - i[h.line])) : S > 0 && D + w > this.bottom && (E = h.x = E + n[h.line].width + u, h.line++, D = h.y = ut(o, this.top + _ + u, this.bottom - n[h.line].height));
|
|
11856
|
+
const I = l.x(E);
|
|
11857
|
+
if (b(I, D, C), E = ax(A, E + p + f, v ? E + P : this.right, t.rtl), y(l.x(E), D, C), v)
|
|
11858
11858
|
h.x += P + u;
|
|
11859
11859
|
else if (typeof C.text != "string") {
|
|
11860
11860
|
const N = c.lineHeight;
|
|
@@ -12740,21 +12740,21 @@ function Z0(e, t) {
|
|
|
12740
12740
|
value: m
|
|
12741
12741
|
}
|
|
12742
12742
|
];
|
|
12743
|
-
A = Math.ceil(m / w) - Math.floor(g / w), A > p && (w = Ma(A * w / p / h) * h), U(l) || (C = Math.pow(10, l), w = Math.ceil(w * C) / C), s === "ticks" ? (S = Math.floor(g / w) * w, k = Math.ceil(m / w) * w) : (S = g, k = m), b && y && o && ex((a - r) / o, w / 1e3) ? (A = Math.round(Math.min((a - r) / w, u)), w = (a - r) / A, S = r, k = a) : v ? (S = b ? r : S, k = y ? a : k, A = c - 1, w = (k - S) / A) : (A = (k - S) / w,
|
|
12743
|
+
A = Math.ceil(m / w) - Math.floor(g / w), A > p && (w = Ma(A * w / p / h) * h), U(l) || (C = Math.pow(10, l), w = Math.ceil(w * C) / C), s === "ticks" ? (S = Math.floor(g / w) * w, k = Math.ceil(m / w) * w) : (S = g, k = m), b && y && o && ex((a - r) / o, w / 1e3) ? (A = Math.round(Math.min((a - r) / w, u)), w = (a - r) / A, S = r, k = a) : v ? (S = b ? r : S, k = y ? a : k, A = c - 1, w = (k - S) / A) : (A = (k - S) / w, Oi(A, Math.round(A), w / 1e3) ? A = Math.round(A) : A = Math.ceil(A));
|
|
12744
12744
|
const P = Math.max(Ca(w), Ca(S));
|
|
12745
12745
|
C = Math.pow(10, U(l) ? P : l), S = Math.round(S * C) / C, k = Math.round(k * C) / C;
|
|
12746
|
-
let
|
|
12746
|
+
let E = 0;
|
|
12747
12747
|
for (b && (f && S !== r ? (n.push({
|
|
12748
12748
|
value: r
|
|
12749
|
-
}), S < r &&
|
|
12750
|
-
const D = Math.round((S +
|
|
12749
|
+
}), S < r && E++, Oi(Math.round((S + E * w) * C) / C, r, _l(r, _, e)) && E++) : S < r && E++); E < A; ++E) {
|
|
12750
|
+
const D = Math.round((S + E * w) * C) / C;
|
|
12751
12751
|
if (y && D > a)
|
|
12752
12752
|
break;
|
|
12753
12753
|
n.push({
|
|
12754
12754
|
value: D
|
|
12755
12755
|
});
|
|
12756
12756
|
}
|
|
12757
|
-
return y && f && k !== a ? n.length &&
|
|
12757
|
+
return y && f && k !== a ? n.length && Oi(n[n.length - 1].value, a, _l(a, _, e)) ? n[n.length - 1].value = a : n.push({
|
|
12758
12758
|
value: a
|
|
12759
12759
|
}) : (!y || k === a) && n.push({
|
|
12760
12760
|
value: k
|
|
@@ -13030,7 +13030,7 @@ function i_(e, t, n, i) {
|
|
|
13030
13030
|
l = n[a], l >= 0 && (t[l].major = !0);
|
|
13031
13031
|
return t;
|
|
13032
13032
|
}
|
|
13033
|
-
function
|
|
13033
|
+
function Ol(e, t, n) {
|
|
13034
13034
|
const i = [], s = {}, o = t.length;
|
|
13035
13035
|
let r, a;
|
|
13036
13036
|
for (r = 0; r < o; ++r)
|
|
@@ -13050,7 +13050,7 @@ class is extends Le {
|
|
|
13050
13050
|
}
|
|
13051
13051
|
init(t, n = {}) {
|
|
13052
13052
|
const i = t.time || (t.time = {}), s = this._adapter = new mv._date(t.adapters.date);
|
|
13053
|
-
s.init(n),
|
|
13053
|
+
s.init(n), On(i.displayFormats, s.formats()), this._parseOpts = {
|
|
13054
13054
|
parser: i.parser,
|
|
13055
13055
|
round: i.round,
|
|
13056
13056
|
isoWeekday: i.isoWeekday
|
|
@@ -13086,7 +13086,7 @@ class is extends Le {
|
|
|
13086
13086
|
const t = this.options, n = t.time, i = t.ticks, s = i.source === "labels" ? this.getLabelTimestamps() : this._generate();
|
|
13087
13087
|
t.bounds === "ticks" && s.length && (this.min = this._userMin || s[0], this.max = this._userMax || s[s.length - 1]);
|
|
13088
13088
|
const o = this.min, r = this.max, a = sx(s, o, r);
|
|
13089
|
-
return this._unit = n.unit || (i.autoSkip ? Al(n.minUnit, this.min, this.max, this._getLabelCapacity(o)) : e_(this, a.length, n.minUnit, this.min, this.max)), this._majorUnit = !i.major.enabled || this._unit === "year" ? void 0 : n_(this._unit), this.initOffsets(s), t.reverse && a.reverse(),
|
|
13089
|
+
return this._unit = n.unit || (i.autoSkip ? Al(n.minUnit, this.min, this.max, this._getLabelCapacity(o)) : e_(this, a.length, n.minUnit, this.min, this.max)), this._majorUnit = !i.major.enabled || this._unit === "year" ? void 0 : n_(this._unit), this.initOffsets(s), t.reverse && a.reverse(), Ol(this, a, this._majorUnit);
|
|
13090
13090
|
}
|
|
13091
13091
|
afterAutoSkip() {
|
|
13092
13092
|
this.options.offsetAfterAutoskip && this.initOffsets(this.ticks.map((t) => +t.value));
|
|
@@ -13154,7 +13154,7 @@ class is extends Le {
|
|
|
13154
13154
|
};
|
|
13155
13155
|
}
|
|
13156
13156
|
_getLabelCapacity(t) {
|
|
13157
|
-
const n = this.options.time, i = n.displayFormats, s = i[n.unit] || i.millisecond, o = this._tickFormatFunction(t, 0,
|
|
13157
|
+
const n = this.options.time, i = n.displayFormats, s = i[n.unit] || i.millisecond, o = this._tickFormatFunction(t, 0, Ol(this, [
|
|
13158
13158
|
t
|
|
13159
13159
|
], this._majorUnit), s), r = this._getLabelSize(o), a = Math.floor(this.isHorizontal() ? this.width / r.w : this.height / r.h) - 1;
|
|
13160
13160
|
return a > 0 ? a : 1;
|
|
@@ -13209,7 +13209,7 @@ function _i(e, t, n) {
|
|
|
13209
13209
|
const c = r - o;
|
|
13210
13210
|
return c ? a + (l - a) * (t - o) / c : a;
|
|
13211
13211
|
}
|
|
13212
|
-
class
|
|
13212
|
+
class El extends is {
|
|
13213
13213
|
constructor(t) {
|
|
13214
13214
|
super(t), this._table = [], this._minPos = void 0, this._tableRange = void 0;
|
|
13215
13215
|
}
|
|
@@ -13260,7 +13260,7 @@ class Ol extends is {
|
|
|
13260
13260
|
return _i(this._table, i * this._tableRange + this._minPos, !0);
|
|
13261
13261
|
}
|
|
13262
13262
|
}
|
|
13263
|
-
L(
|
|
13263
|
+
L(El, "id", "timeseries"), L(El, "defaults", is.defaults);
|
|
13264
13264
|
const xd = "label";
|
|
13265
13265
|
function Dl(e, t) {
|
|
13266
13266
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
@@ -13330,7 +13330,7 @@ function r_(e, t) {
|
|
|
13330
13330
|
p.current && (m(), setTimeout(g));
|
|
13331
13331
|
}, [
|
|
13332
13332
|
r
|
|
13333
|
-
]), ye(() => (g(), () => m()), []), /* @__PURE__ */
|
|
13333
|
+
]), ye(() => (g(), () => m()), []), /* @__PURE__ */ Et.createElement("canvas", {
|
|
13334
13334
|
ref: h,
|
|
13335
13335
|
role: "img",
|
|
13336
13336
|
height: n,
|
|
@@ -13338,15 +13338,15 @@ function r_(e, t) {
|
|
|
13338
13338
|
...f
|
|
13339
13339
|
}, u);
|
|
13340
13340
|
}
|
|
13341
|
-
const a_ = /* @__PURE__ */
|
|
13341
|
+
const a_ = /* @__PURE__ */ Ee(r_);
|
|
13342
13342
|
function wd(e, t) {
|
|
13343
|
-
return ue.register(t), /* @__PURE__ */
|
|
13343
|
+
return ue.register(t), /* @__PURE__ */ Ee((n, i) => /* @__PURE__ */ Et.createElement(a_, {
|
|
13344
13344
|
...n,
|
|
13345
13345
|
ref: i,
|
|
13346
13346
|
type: e
|
|
13347
13347
|
}));
|
|
13348
13348
|
}
|
|
13349
|
-
const
|
|
13349
|
+
const DS = /* @__PURE__ */ wd("bar", Ei), Sd = /* @__PURE__ */ wd("pie", Mo);
|
|
13350
13350
|
/*!
|
|
13351
13351
|
* chartjs-plugin-datalabels v2.2.0
|
|
13352
13352
|
* https://chartjs-plugin-datalabels.netlify.app
|
|
@@ -13739,7 +13739,7 @@ Wt(Rd.prototype, {
|
|
|
13739
13739
|
];
|
|
13740
13740
|
}
|
|
13741
13741
|
});
|
|
13742
|
-
function
|
|
13742
|
+
function Od(e, t, n) {
|
|
13743
13743
|
var i = t.positioner(e, t), s = i.vx, o = i.vy;
|
|
13744
13744
|
if (!s && !o)
|
|
13745
13745
|
return { x: i.x, y: i.y };
|
|
@@ -13759,7 +13759,7 @@ function __(e, t) {
|
|
|
13759
13759
|
function w_(e) {
|
|
13760
13760
|
var t, n, i, s, o, r, a;
|
|
13761
13761
|
for (t = 0, n = e.length; t < n; ++t)
|
|
13762
|
-
i = e[t], s = i.$layout, s._visible && (a = new Proxy(i._el, { get: (l, c) => l.getProps([c], !0)[c] }), o = i.geometry(), r =
|
|
13762
|
+
i = e[t], s = i.$layout, s._visible && (a = new Proxy(i._el, { get: (l, c) => l.getProps([c], !0)[c] }), o = i.geometry(), r = Od(a, i.model(), o), s._box.update(r, o, i.rotation()));
|
|
13763
13763
|
return __(e, function(l, c) {
|
|
13764
13764
|
var u = l._hidable, d = c._hidable;
|
|
13765
13765
|
u && d || d ? c._visible = !1 : u && (l._visible = !1);
|
|
@@ -13798,7 +13798,7 @@ var Ln = {
|
|
|
13798
13798
|
draw: function(e, t) {
|
|
13799
13799
|
var n, i, s, o, r, a;
|
|
13800
13800
|
for (n = 0, i = t.length; n < i; ++n)
|
|
13801
|
-
s = t[n], o = s.$layout, o._visible && (r = s.geometry(), a =
|
|
13801
|
+
s = t[n], o = s.$layout, o._visible && (r = s.geometry(), a = Od(s._el, s.model(), r), o._box.update(a, r, s.rotation()), s.draw(e, a));
|
|
13802
13802
|
}
|
|
13803
13803
|
}, S_ = function(e) {
|
|
13804
13804
|
if (U(e))
|
|
@@ -13848,7 +13848,7 @@ var Ln = {
|
|
|
13848
13848
|
textStrokeWidth: 0,
|
|
13849
13849
|
textShadowBlur: 0,
|
|
13850
13850
|
textShadowColor: void 0
|
|
13851
|
-
}, gt = "$datalabels",
|
|
13851
|
+
}, gt = "$datalabels", Ed = "$default";
|
|
13852
13852
|
function C_(e, t) {
|
|
13853
13853
|
var n = e.datalabels, i = {}, s = [], o, r;
|
|
13854
13854
|
return n === !1 ? null : (n === !0 && (n = {}), t = Wt({}, [t, n]), o = t.labels || {}, r = Object.keys(o), delete t.labels, r.length ? r.forEach(function(a) {
|
|
@@ -13859,7 +13859,7 @@ function C_(e, t) {
|
|
|
13859
13859
|
]));
|
|
13860
13860
|
}) : s.push(t), i = s.reduce(function(a, l) {
|
|
13861
13861
|
return X(l.listeners || {}, function(c, u) {
|
|
13862
|
-
a[u] = a[u] || {}, a[u][l._key ||
|
|
13862
|
+
a[u] = a[u] || {}, a[u][l._key || Ed] = c;
|
|
13863
13863
|
}), delete l.listeners, a;
|
|
13864
13864
|
}, {}), {
|
|
13865
13865
|
labels: s,
|
|
@@ -13909,7 +13909,7 @@ var Dd = {
|
|
|
13909
13909
|
for (f = 0, p = l.labels.length; f < p; ++f)
|
|
13910
13910
|
g = l.labels[f], m = g._key, y = new Ad(g, u, b, d), y.$groups = {
|
|
13911
13911
|
_set: i,
|
|
13912
|
-
_key: m ||
|
|
13912
|
+
_key: m || Ed
|
|
13913
13913
|
}, y.$context = {
|
|
13914
13914
|
active: !1,
|
|
13915
13915
|
chart: e,
|
|
@@ -13980,7 +13980,7 @@ const Il = {
|
|
|
13980
13980
|
* @return {AnnotationElement[]} - elements that are found (only 1 element)
|
|
13981
13981
|
*/
|
|
13982
13982
|
nearest(e, t, n) {
|
|
13983
|
-
return
|
|
13983
|
+
return E_(e, t, n);
|
|
13984
13984
|
},
|
|
13985
13985
|
/**
|
|
13986
13986
|
* x mode returns the elements that hit-test at the current x coordinate
|
|
@@ -14010,16 +14010,16 @@ function pr(e, t, n) {
|
|
|
14010
14010
|
function R_(e, t, n) {
|
|
14011
14011
|
return n !== "x" && n !== "y" ? e.inRange(t.x, t.y, "x", !0) || e.inRange(t.x, t.y, "y", !0) : e.inRange(t.x, t.y, n, !0);
|
|
14012
14012
|
}
|
|
14013
|
-
function
|
|
14013
|
+
function O_(e, t, n) {
|
|
14014
14014
|
return n === "x" ? { x: e.x, y: t.y } : n === "y" ? { x: t.x, y: e.y } : t;
|
|
14015
14015
|
}
|
|
14016
14016
|
function Ni(e, t, n) {
|
|
14017
14017
|
return e.filter((i) => n.intersect ? i.inRange(t.x, t.y) : R_(i, t, n.axis));
|
|
14018
14018
|
}
|
|
14019
|
-
function
|
|
14019
|
+
function E_(e, t, n) {
|
|
14020
14020
|
let i = Number.POSITIVE_INFINITY;
|
|
14021
14021
|
return Ni(e, t, n).reduce((s, o) => {
|
|
14022
|
-
const r = o.getCenterPoint(), a =
|
|
14022
|
+
const r = o.getCenterPoint(), a = O_(t, r, n.axis), l = xs(t, a);
|
|
14023
14023
|
return l < i ? (s = [o], i = l) : l === i && s.push(o), s;
|
|
14024
14024
|
}, []).sort((s, o) => s._index - o._index).slice(0, 1);
|
|
14025
14025
|
}
|
|
@@ -14338,7 +14338,7 @@ const Fl = {
|
|
|
14338
14338
|
function tn(e, t, n) {
|
|
14339
14339
|
return t = typeof t == "number" ? t : e.parse(t), ot(t) ? e.getPixelForValue(t) : n;
|
|
14340
14340
|
}
|
|
14341
|
-
function
|
|
14341
|
+
function Oe(e, t, n) {
|
|
14342
14342
|
const i = t[n];
|
|
14343
14343
|
if (i || n === "scaleID")
|
|
14344
14344
|
return i;
|
|
@@ -14355,12 +14355,12 @@ function Xd(e, t) {
|
|
|
14355
14355
|
}
|
|
14356
14356
|
}
|
|
14357
14357
|
function Gd(e, t) {
|
|
14358
|
-
const { chartArea: n, scales: i } = e, s = i[
|
|
14358
|
+
const { chartArea: n, scales: i } = e, s = i[Oe(i, t, "xScaleID")], o = i[Oe(i, t, "yScaleID")];
|
|
14359
14359
|
let r = n.width / 2, a = n.height / 2;
|
|
14360
14360
|
return s && (r = tn(s, t.xValue, s.left + s.width / 2)), o && (a = tn(o, t.yValue, o.top + o.height / 2)), { x: r, y: a };
|
|
14361
14361
|
}
|
|
14362
14362
|
function yr(e, t) {
|
|
14363
|
-
const n = e.scales, i = n[
|
|
14363
|
+
const n = e.scales, i = n[Oe(n, t, "xScaleID")], s = n[Oe(n, t, "yScaleID")];
|
|
14364
14364
|
if (!i && !s)
|
|
14365
14365
|
return {};
|
|
14366
14366
|
let { left: o, right: r } = i || e.chartArea, { top: a, bottom: l } = s || e.chartArea;
|
|
@@ -14438,7 +14438,7 @@ function sw(e, t, n) {
|
|
|
14438
14438
|
}
|
|
14439
14439
|
function ow(e, t, n) {
|
|
14440
14440
|
for (const i of Object.keys(Fl)) {
|
|
14441
|
-
const s = e[
|
|
14441
|
+
const s = e[Oe(e, n, i)];
|
|
14442
14442
|
if (s) {
|
|
14443
14443
|
const { min: o, max: r, start: a, end: l, startProp: c, endProp: u } = Fl[i], d = Xd(s, { min: n[o], max: n[r], start: s[a], end: s[l] });
|
|
14444
14444
|
t[c] = d.start, t[u] = d.end;
|
|
@@ -14565,7 +14565,7 @@ function mw(e, t, n) {
|
|
|
14565
14565
|
}
|
|
14566
14566
|
function bw(e, t) {
|
|
14567
14567
|
for (const n of ["scaleID", "xScaleID", "yScaleID"]) {
|
|
14568
|
-
const i =
|
|
14568
|
+
const i = Oe(t, e, n);
|
|
14569
14569
|
i && !t[i] && yw(e, n) && console.warn(`No scale found with id '${i}' for annotation '${e.id}'`);
|
|
14570
14570
|
}
|
|
14571
14571
|
}
|
|
@@ -14584,7 +14584,7 @@ function xw(e, t, n) {
|
|
|
14584
14584
|
max: $(t.max, Number.POSITIVE_INFINITY)
|
|
14585
14585
|
};
|
|
14586
14586
|
for (const a of n)
|
|
14587
|
-
a.scaleID === s ? Wl(a, t, ["value", "endValue"], r) :
|
|
14587
|
+
a.scaleID === s ? Wl(a, t, ["value", "endValue"], r) : Oe(e, a, o) === s && Wl(a, t, [i + "Min", i + "Max", i + "Value"], r);
|
|
14588
14588
|
return r;
|
|
14589
14589
|
}
|
|
14590
14590
|
function Wl(e, t, n, i) {
|
|
@@ -14680,7 +14680,7 @@ ln.descriptors = {
|
|
|
14680
14680
|
_fallback: !0
|
|
14681
14681
|
}
|
|
14682
14682
|
};
|
|
14683
|
-
class
|
|
14683
|
+
class Os extends ft {
|
|
14684
14684
|
inRange(t, n, i, s) {
|
|
14685
14685
|
return Id(
|
|
14686
14686
|
{ x: t, y: n },
|
|
@@ -14714,8 +14714,8 @@ class Es extends ft {
|
|
|
14714
14714
|
};
|
|
14715
14715
|
}
|
|
14716
14716
|
}
|
|
14717
|
-
|
|
14718
|
-
|
|
14717
|
+
Os.id = "doughnutLabelAnnotation";
|
|
14718
|
+
Os.defaults = {
|
|
14719
14719
|
autoFit: !0,
|
|
14720
14720
|
autoHide: !0,
|
|
14721
14721
|
backgroundColor: "transparent",
|
|
@@ -14753,7 +14753,7 @@ Es.defaults = {
|
|
|
14753
14753
|
xAdjust: 0,
|
|
14754
14754
|
yAdjust: 0
|
|
14755
14755
|
};
|
|
14756
|
-
|
|
14756
|
+
Os.defaultRoutes = {};
|
|
14757
14757
|
function vw(e, t) {
|
|
14758
14758
|
return e.getSortedVisibleDatasetMetas().reduce(function(n, i) {
|
|
14759
14759
|
const s = i.controller;
|
|
@@ -14919,7 +14919,7 @@ function kw({ x: e, y: t, width: n, height: i, options: s }) {
|
|
|
14919
14919
|
height: i - r.top - r.bottom - s.borderWidth
|
|
14920
14920
|
};
|
|
14921
14921
|
}
|
|
14922
|
-
const vr = (e, t, n) => ({ x: e.x + n * (t.x - e.x), y: e.y + n * (t.y - e.y) }),
|
|
14922
|
+
const vr = (e, t, n) => ({ x: e.x + n * (t.x - e.x), y: e.y + n * (t.y - e.y) }), Oo = (e, t, n) => vr(t, n, Math.abs((e - t.y) / (n.y - t.y))).x, Vl = (e, t, n) => vr(t, n, Math.abs((e - t.x) / (n.x - t.x))).y, An = (e) => e * e, Pw = (e, t, { x: n, y: i, x2: s, y2: o }, r) => r === "y" ? { start: Math.min(i, o), end: Math.max(i, o), value: t } : { start: Math.min(n, s), end: Math.max(n, s), value: e }, Hl = (e, t, n, i) => (1 - i) * (1 - i) * e + 2 * (1 - i) * i * t + i * i * n, Eo = (e, t, n, i) => ({ x: Hl(e.x, t.x, n.x, i), y: Hl(e.y, t.y, n.y, i) }), Yl = (e, t, n, i) => 2 * (1 - i) * (t - e) + 2 * i * (n - t), Ul = (e, t, n, i) => -Math.atan2(Yl(e.x, t.x, n.x, i), Yl(e.y, t.y, n.y, i)) + 0.5 * W;
|
|
14923
14923
|
class Qn extends ft {
|
|
14924
14924
|
inRange(t, n, i, s) {
|
|
14925
14925
|
const o = (this.options.borderWidth + this.options.hitTolerance) / 2;
|
|
@@ -14931,7 +14931,7 @@ class Qn extends ft {
|
|
|
14931
14931
|
return l.restore(), h;
|
|
14932
14932
|
}
|
|
14933
14933
|
const c = An(o);
|
|
14934
|
-
return
|
|
14934
|
+
return Ew(this, r, c, s) || Do(this, r, s);
|
|
14935
14935
|
}
|
|
14936
14936
|
return Aw(this, { mouseX: t, mouseY: n }, i, { hitSize: o, useFinalPosition: s });
|
|
14937
14937
|
}
|
|
@@ -14953,7 +14953,7 @@ class Qn extends ft {
|
|
|
14953
14953
|
return this.elements && this.elements[0];
|
|
14954
14954
|
}
|
|
14955
14955
|
resolveElementProperties(t, n) {
|
|
14956
|
-
const i = nw(t, n), { x: s, y: o, x2: r, y2: a } = i, l = Rw(i, t.chartArea), c = l ?
|
|
14956
|
+
const i = nw(t, n), { x: s, y: o, x2: r, y2: a } = i, l = Rw(i, t.chartArea), c = l ? Ow({ x: s, y: o }, { x: r, y: a }, t.chartArea) : { x: s, y: o, x2: r, y2: a, width: Math.abs(r - s), height: Math.abs(a - o) };
|
|
14957
14957
|
if (c.centerX = (r + s) / 2, c.centerY = (a + o) / 2, c.initProperties = rn(t, c, n), n.curve) {
|
|
14958
14958
|
const d = { x: c.x, y: c.y }, f = { x: c.x2, y: c.y2 };
|
|
14959
14959
|
c.cp = jw(c, n, xs(d, f));
|
|
@@ -15081,13 +15081,13 @@ function Rw({ x: e, y: t, x2: n, y2: i }, { top: s, right: o, bottom: r, left: a
|
|
|
15081
15081
|
return !(e < a && n < a || e > o && n > o || t < s && i < s || t > r && i > r);
|
|
15082
15082
|
}
|
|
15083
15083
|
function Xl({ x: e, y: t }, n, { top: i, right: s, bottom: o, left: r }) {
|
|
15084
|
-
return e < r && (t = Vl(r, { x: e, y: t }, n), e = r), e > s && (t = Vl(s, { x: e, y: t }, n), e = s), t < i && (e =
|
|
15084
|
+
return e < r && (t = Vl(r, { x: e, y: t }, n), e = r), e > s && (t = Vl(s, { x: e, y: t }, n), e = s), t < i && (e = Oo(i, { x: e, y: t }, n), t = i), t > o && (e = Oo(o, { x: e, y: t }, n), t = o), { x: e, y: t };
|
|
15085
15085
|
}
|
|
15086
|
-
function
|
|
15086
|
+
function Ow(e, t, n) {
|
|
15087
15087
|
const { x: i, y: s } = Xl(e, t, n), { x: o, y: r } = Xl(t, e, n);
|
|
15088
15088
|
return { x: i, y: s, x2: o, y2: r, width: Math.abs(o - i), height: Math.abs(r - s) };
|
|
15089
15089
|
}
|
|
15090
|
-
function
|
|
15090
|
+
function Ew(e, { mouseX: t, mouseY: n }, i = we, s) {
|
|
15091
15091
|
const { x: o, y: r, x2: a, y2: l } = e.getProps(["x", "y", "x2", "y2"], s), c = a - o, u = l - r, d = An(c) + An(u), f = d === 0 ? -1 : ((t - o) * c + (n - r) * u) / d;
|
|
15092
15092
|
let h, p;
|
|
15093
15093
|
return f < 0 ? (h = o, p = r) : f > 1 ? (h = a, p = l) : (h = o + f * c, p = r + f * u), An(t - h) + An(n - p) <= i;
|
|
@@ -15105,7 +15105,7 @@ function Tw(e) {
|
|
|
15105
15105
|
return o > W / 2 ? o - W : o < W / -2 ? o + W : o;
|
|
15106
15106
|
}
|
|
15107
15107
|
function Lw(e, t, n, i) {
|
|
15108
|
-
const { width: s, height: o, padding: r } = n, { xAdjust: a, yAdjust: l } = t, c = { x: e.x, y: e.y }, u = { x: e.x2, y: e.y2 }, d = t.rotation === "auto" ? Tw(e) : rt(t.rotation), f = Iw(s, o, d), h = Nw(e, t, { labelSize: f, padding: r }, i), p = e.cp ?
|
|
15108
|
+
const { width: s, height: o, padding: r } = n, { xAdjust: a, yAdjust: l } = t, c = { x: e.x, y: e.y }, u = { x: e.x2, y: e.y2 }, d = t.rotation === "auto" ? Tw(e) : rt(t.rotation), f = Iw(s, o, d), h = Nw(e, t, { labelSize: f, padding: r }, i), p = e.cp ? Eo(c, e.cp, u, h) : vr(c, u, h), g = { size: f.w, min: i.left, max: i.right, padding: r.left }, m = { size: f.h, min: i.top, max: i.bottom, padding: r.top }, b = ql(p.x, g) + a, y = ql(p.y, m) + l;
|
|
15109
15109
|
return {
|
|
15110
15110
|
x: b - s / 2,
|
|
15111
15111
|
y: y - o / 2,
|
|
@@ -15162,7 +15162,7 @@ function Jl(e, t) {
|
|
|
15162
15162
|
if (!t || !t.display)
|
|
15163
15163
|
return 0;
|
|
15164
15164
|
const { length: n, width: i } = t, s = e.options.borderWidth / 2, o = { x: n, y: i + s };
|
|
15165
|
-
return Math.abs(
|
|
15165
|
+
return Math.abs(Oo(0, o, { x: 0, y: s }));
|
|
15166
15166
|
}
|
|
15167
15167
|
function To(e, t, n, i) {
|
|
15168
15168
|
if (!i || !i.display)
|
|
@@ -15181,7 +15181,7 @@ function Zl(e, { x: t, y: n }, { angle: i, adjust: s }, o) {
|
|
|
15181
15181
|
!o || !o.display || (e.save(), e.translate(t, n), e.rotate(i), To(e, 0, -s, o), e.restore());
|
|
15182
15182
|
}
|
|
15183
15183
|
function Bw(e, t, n, i) {
|
|
15184
|
-
const { x: s, y: o, x2: r, y2: a, options: l } = t, { startOpts: c, endOpts: u, startAdjust: d, endAdjust: f } = tf(t), h = { x: s, y: o }, p = { x: r, y: a }, g = Ul(h, n, p, 0), m = Ul(h, n, p, 1) - W, b =
|
|
15184
|
+
const { x: s, y: o, x2: r, y2: a, options: l } = t, { startOpts: c, endOpts: u, startAdjust: d, endAdjust: f } = tf(t), h = { x: s, y: o }, p = { x: r, y: a }, g = Ul(h, n, p, 0), m = Ul(h, n, p, 1) - W, b = Eo(h, n, p, d / i), y = Eo(h, n, p, 1 - f / i), v = new Path2D();
|
|
15185
15185
|
e.beginPath(), v.moveTo(b.x, b.y), v.quadraticCurveTo(n.x, n.y, y.x, y.y), e.shadowColor = l.borderShadowColor, e.stroke(v), t.path = v, t.ctx = e, Zl(e, b, { angle: g, adjust: d }, c), Zl(e, y, { angle: m, adjust: f }, u);
|
|
15186
15186
|
}
|
|
15187
15187
|
class ti extends ft {
|
|
@@ -15248,7 +15248,7 @@ function zw(e, t, n, i) {
|
|
|
15248
15248
|
const u = rt(n || 0), d = Math.cos(u), f = Math.sin(u), h = Math.pow(d * (e.x - r) + f * (e.y - a), 2), p = Math.pow(f * (e.x - r) - d * (e.y - a), 2);
|
|
15249
15249
|
return h / Math.pow(l + i, 2) + p / Math.pow(c + i, 2) <= 1.0001;
|
|
15250
15250
|
}
|
|
15251
|
-
class
|
|
15251
|
+
class Es extends ft {
|
|
15252
15252
|
inRange(t, n, i, s) {
|
|
15253
15253
|
const { x: o, y: r, x2: a, y2: l, width: c } = this.getProps(["x", "y", "x2", "y2", "width"], s), u = (this.options.borderWidth + this.options.hitTolerance) / 2;
|
|
15254
15254
|
return i !== "x" && i !== "y" ? L_({ x: t, y: n }, this.getCenterPoint(s), c / 2, u) : Td(i === "y" ? { start: r, end: l, value: n } : { start: o, end: a, value: t }, u);
|
|
@@ -15269,8 +15269,8 @@ class Os extends ft {
|
|
|
15269
15269
|
return i.initProperties = rn(t, i, n), i;
|
|
15270
15270
|
}
|
|
15271
15271
|
}
|
|
15272
|
-
|
|
15273
|
-
|
|
15272
|
+
Es.id = "pointAnnotation";
|
|
15273
|
+
Es.defaults = {
|
|
15274
15274
|
adjustScaleRange: !0,
|
|
15275
15275
|
backgroundShadowColor: "transparent",
|
|
15276
15276
|
borderDash: [],
|
|
@@ -15298,7 +15298,7 @@ Os.defaults = {
|
|
|
15298
15298
|
yValue: void 0,
|
|
15299
15299
|
z: 0
|
|
15300
15300
|
};
|
|
15301
|
-
|
|
15301
|
+
Es.defaultRoutes = {
|
|
15302
15302
|
borderColor: "color",
|
|
15303
15303
|
backgroundColor: "color"
|
|
15304
15304
|
};
|
|
@@ -15394,11 +15394,11 @@ function Ww(e, t, n, i) {
|
|
|
15394
15394
|
}
|
|
15395
15395
|
const de = {
|
|
15396
15396
|
box: ln,
|
|
15397
|
-
doughnutLabel:
|
|
15397
|
+
doughnutLabel: Os,
|
|
15398
15398
|
ellipse: ti,
|
|
15399
15399
|
label: Zn,
|
|
15400
15400
|
line: Qn,
|
|
15401
|
-
point:
|
|
15401
|
+
point: Es,
|
|
15402
15402
|
polygon: Ds
|
|
15403
15403
|
};
|
|
15404
15404
|
Object.keys(de).forEach((e) => {
|
|
@@ -15635,7 +15635,7 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15635
15635
|
et("--em-chart-color-8"),
|
|
15636
15636
|
et("--em-chart-color-9"),
|
|
15637
15637
|
et("--em-chart-color-10")
|
|
15638
|
-
],
|
|
15638
|
+
], TS = [
|
|
15639
15639
|
et("--em-chart-color-1"),
|
|
15640
15640
|
et("--em-chart-color-4"),
|
|
15641
15641
|
et("--em-chart-color-7"),
|
|
@@ -15644,11 +15644,11 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15644
15644
|
var n;
|
|
15645
15645
|
return {
|
|
15646
15646
|
...e,
|
|
15647
|
-
datasets: ((n = e.datasets) == null ? void 0 : n.map((i
|
|
15648
|
-
const
|
|
15647
|
+
datasets: ((n = e.datasets) == null ? void 0 : n.map((i) => {
|
|
15648
|
+
const s = i.data.map((a, l) => ec[l % ec.length]);
|
|
15649
15649
|
return rs({
|
|
15650
|
-
backgroundColor:
|
|
15651
|
-
borderColor:
|
|
15650
|
+
backgroundColor: s,
|
|
15651
|
+
borderColor: s
|
|
15652
15652
|
}, i);
|
|
15653
15653
|
})) || []
|
|
15654
15654
|
};
|
|
@@ -15663,7 +15663,6 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15663
15663
|
)[0]) == null ? void 0 : s.index : void 0;
|
|
15664
15664
|
}, iS = {
|
|
15665
15665
|
datalabels: {
|
|
15666
|
-
display: "auto",
|
|
15667
15666
|
backgroundColor: et("--em-label-background-color-default"),
|
|
15668
15667
|
borderRadius: G("--em-label-border-radius-default"),
|
|
15669
15668
|
padding: {
|
|
@@ -15674,16 +15673,13 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15674
15673
|
},
|
|
15675
15674
|
color: et("--em-label-label-font-color-default"),
|
|
15676
15675
|
font: {
|
|
15677
|
-
// TODO: replace later
|
|
15678
|
-
family: "Inter, sans-serif",
|
|
15679
15676
|
size: G("--em-label-label-font-size"),
|
|
15680
|
-
weight: G("--em-label-label-font-weight")
|
|
15681
|
-
|
|
15682
|
-
|
|
15683
|
-
|
|
15677
|
+
weight: G("--em-label-label-font-weight"),
|
|
15678
|
+
// TODO: fix family on dedicated ticket
|
|
15679
|
+
family: "Inter, sans-serif"
|
|
15680
|
+
}
|
|
15684
15681
|
},
|
|
15685
15682
|
legend: {
|
|
15686
|
-
display: !0,
|
|
15687
15683
|
position: "bottom",
|
|
15688
15684
|
labels: {
|
|
15689
15685
|
boxWidth: G("--em-category-indicator-size-width"),
|
|
@@ -15712,6 +15708,7 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15712
15708
|
bodyFont: {
|
|
15713
15709
|
size: G("--em-category-group-item-label-font-size"),
|
|
15714
15710
|
weight: G("--em-category-group-item-label-font-weight"),
|
|
15711
|
+
// TODO: fix family on dedicated ticket
|
|
15715
15712
|
family: "Inter, sans-serif"
|
|
15716
15713
|
},
|
|
15717
15714
|
titleAlign: "left",
|
|
@@ -15719,17 +15716,30 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15719
15716
|
titleFont: {
|
|
15720
15717
|
size: G("--em-chart-tooltip-title-font-size"),
|
|
15721
15718
|
weight: G("--em-chart-tooltip-title-font-weight"),
|
|
15719
|
+
// TODO: fix family on dedicated ticket
|
|
15722
15720
|
family: "Inter, sans-serif"
|
|
15723
15721
|
}
|
|
15724
15722
|
}
|
|
15725
15723
|
}, sS = {
|
|
15724
|
+
x: {
|
|
15725
|
+
border: { display: !1 },
|
|
15726
|
+
grid: { display: !1 },
|
|
15727
|
+
ticks: { display: !1 }
|
|
15728
|
+
},
|
|
15729
|
+
y: {
|
|
15730
|
+
border: { display: !1 },
|
|
15731
|
+
grid: { display: !1 },
|
|
15732
|
+
ticks: { display: !1 }
|
|
15733
|
+
}
|
|
15734
|
+
}, oS = {
|
|
15726
15735
|
responsive: !0,
|
|
15727
15736
|
maintainAspectRatio: !1,
|
|
15728
|
-
plugins: iS
|
|
15729
|
-
|
|
15737
|
+
plugins: iS,
|
|
15738
|
+
scales: sS
|
|
15739
|
+
}, os = oS, rS = {
|
|
15730
15740
|
cutout: "60%",
|
|
15731
15741
|
...os
|
|
15732
|
-
},
|
|
15742
|
+
}, aS = {
|
|
15733
15743
|
cutout: "60%",
|
|
15734
15744
|
...os,
|
|
15735
15745
|
plugins: {
|
|
@@ -15762,11 +15772,11 @@ const nS = /^-?\d+(\.\d+)?$/, sf = (e) => getComputedStyle(document.documentElem
|
|
|
15762
15772
|
}
|
|
15763
15773
|
}
|
|
15764
15774
|
}
|
|
15765
|
-
},
|
|
15766
|
-
chartContainer:
|
|
15775
|
+
}, lS = "_chartContainer_18rs7_1", af = {
|
|
15776
|
+
chartContainer: lS
|
|
15767
15777
|
};
|
|
15768
15778
|
ue.register(_e, bd, gd, Dd, Qw);
|
|
15769
|
-
const
|
|
15779
|
+
const LS = ({
|
|
15770
15780
|
label: e,
|
|
15771
15781
|
subLabel: t,
|
|
15772
15782
|
options: n = {},
|
|
@@ -15785,7 +15795,7 @@ const TS = ({
|
|
|
15785
15795
|
}
|
|
15786
15796
|
}
|
|
15787
15797
|
} : {},
|
|
15788
|
-
r ?
|
|
15798
|
+
r ? aS : rS,
|
|
15789
15799
|
n
|
|
15790
15800
|
), l = (c) => {
|
|
15791
15801
|
const u = rf(c, o);
|
|
@@ -15802,7 +15812,7 @@ const TS = ({
|
|
|
15802
15812
|
) });
|
|
15803
15813
|
};
|
|
15804
15814
|
ue.register(_e, bd, gd, Dd);
|
|
15805
|
-
const
|
|
15815
|
+
const IS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
15806
15816
|
const i = qe(null), s = rs(os, t), o = (r) => {
|
|
15807
15817
|
const a = rf(r, i);
|
|
15808
15818
|
n == null || n(a);
|
|
@@ -15816,15 +15826,15 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15816
15826
|
onClick: o
|
|
15817
15827
|
}
|
|
15818
15828
|
) });
|
|
15819
|
-
},
|
|
15829
|
+
}, cS = (e) => {
|
|
15820
15830
|
if (!e || !e.includes("|")) return e;
|
|
15821
15831
|
const [t, n] = e.split("|", 2).map((i) => i.trim());
|
|
15822
15832
|
return st.t([t, n].filter((i) => !!i));
|
|
15823
|
-
},
|
|
15833
|
+
}, NS = (e) => {
|
|
15824
15834
|
const t = {};
|
|
15825
15835
|
return Object.keys(e).forEach((n) => {
|
|
15826
15836
|
const i = e[n];
|
|
15827
|
-
t[n] = typeof i == "string" ?
|
|
15837
|
+
t[n] = typeof i == "string" ? cS(i) : i;
|
|
15828
15838
|
}), t;
|
|
15829
15839
|
}, lf = {
|
|
15830
15840
|
name: "prefix",
|
|
@@ -15860,13 +15870,13 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15860
15870
|
type: "boolean",
|
|
15861
15871
|
label: "Abbreviate large number",
|
|
15862
15872
|
supportedTypes: ["number"]
|
|
15863
|
-
},
|
|
15873
|
+
}, uS = {
|
|
15864
15874
|
name: "dateBounds",
|
|
15865
15875
|
type: "timeRange",
|
|
15866
15876
|
label: "Date Bounds",
|
|
15867
15877
|
description: "Set the date range for the axis",
|
|
15868
15878
|
supportedTypes: ["time"]
|
|
15869
|
-
},
|
|
15879
|
+
}, dS = {
|
|
15870
15880
|
name: "granularity",
|
|
15871
15881
|
type: "granularity",
|
|
15872
15882
|
label: "Granularity",
|
|
@@ -15879,7 +15889,7 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15879
15889
|
ff,
|
|
15880
15890
|
hf,
|
|
15881
15891
|
gf
|
|
15882
|
-
],
|
|
15892
|
+
], fS = [
|
|
15883
15893
|
lf,
|
|
15884
15894
|
cf,
|
|
15885
15895
|
uf,
|
|
@@ -15887,15 +15897,15 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15887
15897
|
ff,
|
|
15888
15898
|
hf,
|
|
15889
15899
|
gf,
|
|
15890
|
-
|
|
15891
|
-
|
|
15892
|
-
],
|
|
15900
|
+
dS,
|
|
15901
|
+
uS
|
|
15902
|
+
], FS = {
|
|
15893
15903
|
name: "dataset",
|
|
15894
15904
|
type: "dataset",
|
|
15895
15905
|
label: "Dataset",
|
|
15896
15906
|
required: !0,
|
|
15897
15907
|
category: "Component Data"
|
|
15898
|
-
},
|
|
15908
|
+
}, jS = {
|
|
15899
15909
|
name: "dimension",
|
|
15900
15910
|
type: "dimension",
|
|
15901
15911
|
label: "Dimension",
|
|
@@ -15905,7 +15915,7 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15905
15915
|
required: !0,
|
|
15906
15916
|
category: "Component Data",
|
|
15907
15917
|
inputs: Ts
|
|
15908
|
-
},
|
|
15918
|
+
}, BS = {
|
|
15909
15919
|
name: "dimensionTime",
|
|
15910
15920
|
type: "dimension",
|
|
15911
15921
|
label: "Dimension Time",
|
|
@@ -15916,7 +15926,7 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15916
15926
|
},
|
|
15917
15927
|
required: !0,
|
|
15918
15928
|
category: "Component Data"
|
|
15919
|
-
},
|
|
15929
|
+
}, zS = {
|
|
15920
15930
|
name: "dimension",
|
|
15921
15931
|
type: "dimension",
|
|
15922
15932
|
label: "Dimension",
|
|
@@ -15925,8 +15935,8 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15925
15935
|
},
|
|
15926
15936
|
required: !0,
|
|
15927
15937
|
category: "Component Data",
|
|
15928
|
-
inputs:
|
|
15929
|
-
},
|
|
15938
|
+
inputs: fS
|
|
15939
|
+
}, $S = {
|
|
15930
15940
|
name: "dimensions",
|
|
15931
15941
|
type: "dimension",
|
|
15932
15942
|
label: "Dimensions",
|
|
@@ -15936,7 +15946,7 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15936
15946
|
required: !0,
|
|
15937
15947
|
category: "Component Data",
|
|
15938
15948
|
inputs: Ts
|
|
15939
|
-
},
|
|
15949
|
+
}, WS = {
|
|
15940
15950
|
name: "measure",
|
|
15941
15951
|
type: "measure",
|
|
15942
15952
|
label: "Measure",
|
|
@@ -15946,7 +15956,7 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15946
15956
|
required: !0,
|
|
15947
15957
|
category: "Component Data",
|
|
15948
15958
|
inputs: Ts
|
|
15949
|
-
},
|
|
15959
|
+
}, VS = {
|
|
15950
15960
|
name: "measures",
|
|
15951
15961
|
type: "measure",
|
|
15952
15962
|
label: "Measures",
|
|
@@ -15957,149 +15967,149 @@ const LS = ({ data: e, options: t = {}, onSegmentClick: n }) => {
|
|
|
15957
15967
|
required: !0,
|
|
15958
15968
|
category: "Component Data",
|
|
15959
15969
|
inputs: Ts
|
|
15960
|
-
},
|
|
15970
|
+
}, HS = {
|
|
15961
15971
|
name: "boolean",
|
|
15962
15972
|
type: "boolean",
|
|
15963
15973
|
label: "Boolean",
|
|
15964
15974
|
category: "Component Settings"
|
|
15965
|
-
},
|
|
15975
|
+
}, YS = {
|
|
15966
15976
|
name: "timeRange",
|
|
15967
15977
|
type: "timeRange",
|
|
15968
15978
|
label: "Time Range",
|
|
15969
15979
|
category: "Component Settings"
|
|
15970
|
-
},
|
|
15980
|
+
}, US = {
|
|
15971
15981
|
name: "number",
|
|
15972
15982
|
type: "number",
|
|
15973
15983
|
label: "Number",
|
|
15974
15984
|
category: "Component Settings"
|
|
15975
|
-
},
|
|
15985
|
+
}, KS = {
|
|
15976
15986
|
name: "string",
|
|
15977
15987
|
type: "string",
|
|
15978
15988
|
label: "String",
|
|
15979
15989
|
category: "Component Settings"
|
|
15980
|
-
},
|
|
15990
|
+
}, XS = {
|
|
15981
15991
|
name: "title",
|
|
15982
15992
|
type: "string",
|
|
15983
15993
|
label: "Title",
|
|
15984
15994
|
category: "Component Header"
|
|
15985
|
-
},
|
|
15995
|
+
}, GS = {
|
|
15986
15996
|
name: "description",
|
|
15987
15997
|
type: "string",
|
|
15988
15998
|
label: "Description",
|
|
15989
15999
|
category: "Component Header"
|
|
15990
|
-
},
|
|
16000
|
+
}, qS = {
|
|
15991
16001
|
name: "showLegend",
|
|
15992
16002
|
type: "boolean",
|
|
15993
16003
|
label: "Show Legend",
|
|
15994
16004
|
defaultValue: !0,
|
|
15995
16005
|
category: "Component Settings"
|
|
15996
|
-
},
|
|
16006
|
+
}, JS = {
|
|
15997
16007
|
name: "showTooltips",
|
|
15998
16008
|
type: "boolean",
|
|
15999
16009
|
label: "Show Tooltips",
|
|
16000
16010
|
defaultValue: !0,
|
|
16001
16011
|
category: "Component Settings"
|
|
16002
|
-
},
|
|
16012
|
+
}, ZS = {
|
|
16003
16013
|
name: "showValueLabels",
|
|
16004
16014
|
type: "boolean",
|
|
16005
16015
|
label: "Show Value Labels",
|
|
16006
16016
|
defaultValue: !0,
|
|
16007
16017
|
category: "Component Settings"
|
|
16008
|
-
},
|
|
16018
|
+
}, QS = {
|
|
16009
16019
|
name: "showTotalLabels",
|
|
16010
16020
|
type: "boolean",
|
|
16011
16021
|
label: "Show Total Labels",
|
|
16012
16022
|
defaultValue: !1,
|
|
16013
16023
|
category: "Component Settings"
|
|
16014
|
-
},
|
|
16024
|
+
}, tM = {
|
|
16015
16025
|
name: "showLogarithmicScale",
|
|
16016
16026
|
type: "boolean",
|
|
16017
16027
|
label: "Show Logarithmic Scale",
|
|
16018
16028
|
defaultValue: !1,
|
|
16019
16029
|
category: "Component Settings"
|
|
16020
|
-
},
|
|
16030
|
+
}, eM = {
|
|
16021
16031
|
name: "xAxisLabel",
|
|
16022
16032
|
type: "string",
|
|
16023
16033
|
label: "X-axis Label",
|
|
16024
16034
|
category: "Axes Settings"
|
|
16025
|
-
},
|
|
16035
|
+
}, nM = {
|
|
16026
16036
|
name: "yAxisLabel",
|
|
16027
16037
|
type: "string",
|
|
16028
16038
|
label: "Y-axis Label",
|
|
16029
16039
|
category: "Axes Settings"
|
|
16030
|
-
},
|
|
16040
|
+
}, iM = {
|
|
16031
16041
|
name: "reverseXAxis",
|
|
16032
16042
|
type: "boolean",
|
|
16033
16043
|
label: "Reverse X-axis",
|
|
16034
16044
|
defaultValue: !1,
|
|
16035
16045
|
category: "Axes Settings"
|
|
16036
|
-
},
|
|
16046
|
+
}, sM = {
|
|
16037
16047
|
name: "displayPercentages",
|
|
16038
16048
|
type: "boolean",
|
|
16039
16049
|
label: "Display Percentages",
|
|
16040
16050
|
defaultValue: !1,
|
|
16041
16051
|
category: "Component Settings"
|
|
16042
|
-
},
|
|
16052
|
+
}, oM = {
|
|
16043
16053
|
name: "reverseYAxis",
|
|
16044
16054
|
type: "boolean",
|
|
16045
16055
|
label: "Reverse Y-axis",
|
|
16046
16056
|
defaultValue: !1,
|
|
16047
16057
|
category: "Axes Settings"
|
|
16048
|
-
},
|
|
16058
|
+
}, rM = {
|
|
16049
16059
|
name: "yAxisRangeMin",
|
|
16050
16060
|
type: "number",
|
|
16051
16061
|
label: "Y-axis Range Min",
|
|
16052
16062
|
category: "Axes Settings"
|
|
16053
|
-
},
|
|
16063
|
+
}, aM = {
|
|
16054
16064
|
name: "yAxisRangeMax",
|
|
16055
16065
|
type: "number",
|
|
16056
16066
|
label: "Y-axis Range Max",
|
|
16057
16067
|
category: "Axes Settings"
|
|
16058
|
-
},
|
|
16068
|
+
}, lM = {
|
|
16059
16069
|
name: "xAxisRangeMin",
|
|
16060
16070
|
type: "number",
|
|
16061
16071
|
label: "X-axis Range Min",
|
|
16062
16072
|
category: "Axes Settings"
|
|
16063
|
-
},
|
|
16073
|
+
}, cM = {
|
|
16064
16074
|
name: "xAxisRangeMax",
|
|
16065
16075
|
type: "number",
|
|
16066
16076
|
label: "X-axis Range Max",
|
|
16067
16077
|
category: "Axes Settings"
|
|
16068
|
-
},
|
|
16078
|
+
}, uM = {
|
|
16069
16079
|
name: "xAxisMaxItems",
|
|
16070
16080
|
type: "number",
|
|
16071
16081
|
label: "Max X-axis Items",
|
|
16072
16082
|
category: "Axes Settings"
|
|
16073
|
-
},
|
|
16083
|
+
}, dM = {
|
|
16074
16084
|
name: "yAxisMaxItems",
|
|
16075
16085
|
type: "number",
|
|
16076
16086
|
label: "Max Y-axis Items",
|
|
16077
16087
|
category: "Axes Settings"
|
|
16078
|
-
},
|
|
16088
|
+
}, fM = {
|
|
16079
16089
|
name: "showTopItems",
|
|
16080
16090
|
type: "number",
|
|
16081
16091
|
label: "Show Top Items",
|
|
16082
16092
|
defaultValue: 10,
|
|
16083
16093
|
category: "Component Data"
|
|
16084
|
-
},
|
|
16094
|
+
}, hM = {
|
|
16085
16095
|
name: "maxLegendItems",
|
|
16086
16096
|
type: "number",
|
|
16087
16097
|
label: "Max Legend Items",
|
|
16088
16098
|
defaultValue: 10,
|
|
16089
16099
|
category: "Component Data"
|
|
16090
|
-
},
|
|
16100
|
+
}, gM = {
|
|
16091
16101
|
name: "placeholder",
|
|
16092
16102
|
type: "string",
|
|
16093
16103
|
label: "Placeholder",
|
|
16094
16104
|
category: "Component Settings"
|
|
16095
16105
|
};
|
|
16096
16106
|
export {
|
|
16097
|
-
|
|
16098
|
-
|
|
16107
|
+
gM as $,
|
|
16108
|
+
QS as A,
|
|
16099
16109
|
G as B,
|
|
16100
16110
|
et as C,
|
|
16101
|
-
|
|
16102
|
-
|
|
16111
|
+
oS as D,
|
|
16112
|
+
TS as E,
|
|
16103
16113
|
ue as F,
|
|
16104
16114
|
vl as G,
|
|
16105
16115
|
Ii as H,
|
|
@@ -16108,78 +16118,79 @@ export {
|
|
|
16108
16118
|
bd as K,
|
|
16109
16119
|
wl as L,
|
|
16110
16120
|
gd as M,
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
|
|
16136
|
-
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
JS as
|
|
16164
|
-
|
|
16165
|
-
|
|
16166
|
-
|
|
16121
|
+
Dd as N,
|
|
16122
|
+
af as O,
|
|
16123
|
+
DS as P,
|
|
16124
|
+
rf as Q,
|
|
16125
|
+
ec as R,
|
|
16126
|
+
cS as S,
|
|
16127
|
+
BS as T,
|
|
16128
|
+
YS as U,
|
|
16129
|
+
mS as V,
|
|
16130
|
+
HS as W,
|
|
16131
|
+
US as X,
|
|
16132
|
+
hM as Y,
|
|
16133
|
+
ls as Z,
|
|
16134
|
+
st as _,
|
|
16135
|
+
VS as a,
|
|
16136
|
+
De as a0,
|
|
16137
|
+
jh as a1,
|
|
16138
|
+
_S as a2,
|
|
16139
|
+
dc as a3,
|
|
16140
|
+
Bh as a4,
|
|
16141
|
+
Jt as a5,
|
|
16142
|
+
wS as a6,
|
|
16143
|
+
kS as a7,
|
|
16144
|
+
PS as a8,
|
|
16145
|
+
hy as a9,
|
|
16146
|
+
AS as aa,
|
|
16147
|
+
wy as ab,
|
|
16148
|
+
Sy as ac,
|
|
16149
|
+
LS as ad,
|
|
16150
|
+
IS as ae,
|
|
16151
|
+
os as af,
|
|
16152
|
+
lf as ag,
|
|
16153
|
+
cf as ah,
|
|
16154
|
+
uf as ai,
|
|
16155
|
+
df as aj,
|
|
16156
|
+
ff as ak,
|
|
16157
|
+
hf as al,
|
|
16158
|
+
gf as am,
|
|
16159
|
+
uS as an,
|
|
16160
|
+
dS as ao,
|
|
16161
|
+
$S as ap,
|
|
16162
|
+
KS as aq,
|
|
16163
|
+
sM as ar,
|
|
16164
|
+
fM as as,
|
|
16165
|
+
rc as at,
|
|
16166
|
+
kh as au,
|
|
16167
|
+
vS as av,
|
|
16168
|
+
bS as aw,
|
|
16169
|
+
yS as ax,
|
|
16170
|
+
zS as b,
|
|
16171
|
+
GS as c,
|
|
16172
|
+
FS as d,
|
|
16173
|
+
JS as e,
|
|
16174
|
+
ZS as f,
|
|
16175
|
+
tM as g,
|
|
16176
|
+
oM as h,
|
|
16177
|
+
xS as i,
|
|
16167
16178
|
M as j,
|
|
16168
|
-
|
|
16169
|
-
|
|
16179
|
+
lM as k,
|
|
16180
|
+
cM as l,
|
|
16170
16181
|
rs as m,
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16175
|
-
|
|
16176
|
-
|
|
16177
|
-
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16183
|
-
|
|
16182
|
+
dM as n,
|
|
16183
|
+
pS as o,
|
|
16184
|
+
iM as p,
|
|
16185
|
+
rM as q,
|
|
16186
|
+
NS as r,
|
|
16187
|
+
qS as s,
|
|
16188
|
+
XS as t,
|
|
16189
|
+
aM as u,
|
|
16190
|
+
uM as v,
|
|
16191
|
+
WS as w,
|
|
16192
|
+
eM as x,
|
|
16193
|
+
nM as y,
|
|
16194
|
+
jS as z
|
|
16184
16195
|
};
|
|
16185
|
-
//# sourceMappingURL=component.constants-
|
|
16196
|
+
//# sourceMappingURL=component.constants-CL4mGURD.js.map
|