@databrainhq/plugin 0.14.31 → 0.14.33
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/webcomponents.es.js +328 -328
- package/dist/webcomponents.umd.js +15 -15
- package/package.json +1 -1
package/dist/webcomponents.es.js
CHANGED
|
@@ -664,7 +664,7 @@ function Eje() {
|
|
|
664
664
|
return "$" + rt;
|
|
665
665
|
}
|
|
666
666
|
var ut = !1, jt = /\/+/g;
|
|
667
|
-
function
|
|
667
|
+
function gt(ae) {
|
|
668
668
|
return ae.replace(jt, "$&/");
|
|
669
669
|
}
|
|
670
670
|
function Gt(ae, Le) {
|
|
@@ -693,7 +693,7 @@ function Eje() {
|
|
|
693
693
|
var si = ae, Ji = Et(si), hn = rt === "" ? pe + Gt(si, 0) : rt;
|
|
694
694
|
if ($e(Ji)) {
|
|
695
695
|
var Bn = "";
|
|
696
|
-
hn != null && (Bn =
|
|
696
|
+
hn != null && (Bn = gt(hn) + "/"), Ot(Ji, Le, Bn, "", function(fg) {
|
|
697
697
|
return fg;
|
|
698
698
|
});
|
|
699
699
|
} else
|
|
@@ -705,7 +705,7 @@ function Eje() {
|
|
|
705
705
|
(Ji.key && (!si || si.key !== Ji.key) ? (
|
|
706
706
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
707
707
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
708
|
-
|
|
708
|
+
gt("" + Ji.key) + "/"
|
|
709
709
|
) : "") + hn
|
|
710
710
|
)), Le.push(Ji));
|
|
711
711
|
return 1;
|
|
@@ -2609,7 +2609,7 @@ function wje() {
|
|
|
2609
2609
|
function ut(A) {
|
|
2610
2610
|
return A = A.target || A.srcElement || window, A.correspondingUseElement && (A = A.correspondingUseElement), A.nodeType === 3 ? A.parentNode : A;
|
|
2611
2611
|
}
|
|
2612
|
-
var jt = null,
|
|
2612
|
+
var jt = null, gt = null, Gt = null;
|
|
2613
2613
|
function Ot(A) {
|
|
2614
2614
|
if (A = Gl(A)) {
|
|
2615
2615
|
if (typeof jt != "function")
|
|
@@ -2619,12 +2619,12 @@ function wje() {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
}
|
|
2621
2621
|
function we(A) {
|
|
2622
|
-
|
|
2622
|
+
gt ? Gt ? Gt.push(A) : Gt = [A] : gt = A;
|
|
2623
2623
|
}
|
|
2624
2624
|
function Ft() {
|
|
2625
|
-
if (
|
|
2626
|
-
var A =
|
|
2627
|
-
if (Gt =
|
|
2625
|
+
if (gt) {
|
|
2626
|
+
var A = gt, L = Gt;
|
|
2627
|
+
if (Gt = gt = null, Ot(A), L)
|
|
2628
2628
|
for (A = 0; A < L.length; A++)
|
|
2629
2629
|
Ot(L[A]);
|
|
2630
2630
|
}
|
|
@@ -2642,7 +2642,7 @@ function wje() {
|
|
|
2642
2642
|
try {
|
|
2643
2643
|
return Yi(A, L, m);
|
|
2644
2644
|
} finally {
|
|
2645
|
-
jn = !1, (
|
|
2645
|
+
jn = !1, (gt !== null || Gt !== null) && (kn(), Ft());
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
2648
|
function zi(A, L) {
|
|
@@ -3432,7 +3432,7 @@ function wje() {
|
|
|
3432
3432
|
if (A === "change")
|
|
3433
3433
|
return L;
|
|
3434
3434
|
}
|
|
3435
|
-
var
|
|
3435
|
+
var lt = !1;
|
|
3436
3436
|
if (u) {
|
|
3437
3437
|
var ai;
|
|
3438
3438
|
if (u) {
|
|
@@ -3444,7 +3444,7 @@ function wje() {
|
|
|
3444
3444
|
ai = Tn;
|
|
3445
3445
|
} else
|
|
3446
3446
|
ai = !1;
|
|
3447
|
-
|
|
3447
|
+
lt = ai && (!document.documentMode || 9 < document.documentMode);
|
|
3448
3448
|
}
|
|
3449
3449
|
function Br() {
|
|
3450
3450
|
As && (As.detachEvent("onpropertychange", kM), UN = As = null);
|
|
@@ -3811,7 +3811,7 @@ function wje() {
|
|
|
3811
3811
|
if (wt = Dt ? vg(Dt) : window, ui = wt.nodeName && wt.nodeName.toLowerCase(), ui === "select" || ui === "input" && wt.type === "file")
|
|
3812
3812
|
var Ui = ue;
|
|
3813
3813
|
else if (ml(wt))
|
|
3814
|
-
if (
|
|
3814
|
+
if (lt)
|
|
3815
3815
|
Ui = Yl;
|
|
3816
3816
|
else {
|
|
3817
3817
|
Ui = sD;
|
|
@@ -6017,9 +6017,9 @@ Error generating stack: ` + ee.message + `
|
|
|
6017
6017
|
var oM = null, Te = !1;
|
|
6018
6018
|
function Xe(A, L, m) {
|
|
6019
6019
|
for (m = m.child; m !== null; )
|
|
6020
|
-
|
|
6020
|
+
ct(A, L, m), m = m.sibling;
|
|
6021
6021
|
}
|
|
6022
|
-
function
|
|
6022
|
+
function ct(A, L, m) {
|
|
6023
6023
|
if (CM && typeof CM.onCommitFiberUnmount == "function")
|
|
6024
6024
|
try {
|
|
6025
6025
|
CM.onCommitFiberUnmount(zu, m);
|
|
@@ -6105,7 +6105,7 @@ Error generating stack: ` + ee.message + `
|
|
|
6105
6105
|
}
|
|
6106
6106
|
if (oM === null)
|
|
6107
6107
|
throw Error(t(160));
|
|
6108
|
-
|
|
6108
|
+
ct(ee, le, H), oM = null, Te = !1;
|
|
6109
6109
|
var ke = H.alternate;
|
|
6110
6110
|
ke !== null && (ke.return = null), H.return = null;
|
|
6111
6111
|
} catch (Dt) {
|
|
@@ -7810,7 +7810,7 @@ function Cje() {
|
|
|
7810
7810
|
function jt(j) {
|
|
7811
7811
|
return Gt.hasOwnProperty(j) ? Gt[j] : null;
|
|
7812
7812
|
}
|
|
7813
|
-
function
|
|
7813
|
+
function gt(j, y, p, Q, _, $, J) {
|
|
7814
7814
|
this.acceptsBooleans = y === et || y === mt || y === Zt, this.attributeName = Q, this.attributeNamespace = _, this.mustUseProperty = p, this.propertyName = j, this.type = y, this.sanitizeURL = $, this.removeEmptyString = J;
|
|
7815
7815
|
}
|
|
7816
7816
|
var Gt = {}, Ot = [
|
|
@@ -7827,7 +7827,7 @@ function Cje() {
|
|
|
7827
7827
|
"style"
|
|
7828
7828
|
];
|
|
7829
7829
|
Ot.forEach(function(j) {
|
|
7830
|
-
Gt[j] = new
|
|
7830
|
+
Gt[j] = new gt(
|
|
7831
7831
|
j,
|
|
7832
7832
|
Ge,
|
|
7833
7833
|
!1,
|
|
@@ -7842,7 +7842,7 @@ function Cje() {
|
|
|
7842
7842
|
);
|
|
7843
7843
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(j) {
|
|
7844
7844
|
var y = j[0], p = j[1];
|
|
7845
|
-
Gt[y] = new
|
|
7845
|
+
Gt[y] = new gt(
|
|
7846
7846
|
y,
|
|
7847
7847
|
zt,
|
|
7848
7848
|
!1,
|
|
@@ -7856,7 +7856,7 @@ function Cje() {
|
|
|
7856
7856
|
!1
|
|
7857
7857
|
);
|
|
7858
7858
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(j) {
|
|
7859
|
-
Gt[j] = new
|
|
7859
|
+
Gt[j] = new gt(
|
|
7860
7860
|
j,
|
|
7861
7861
|
et,
|
|
7862
7862
|
!1,
|
|
@@ -7870,7 +7870,7 @@ function Cje() {
|
|
|
7870
7870
|
!1
|
|
7871
7871
|
);
|
|
7872
7872
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(j) {
|
|
7873
|
-
Gt[j] = new
|
|
7873
|
+
Gt[j] = new gt(
|
|
7874
7874
|
j,
|
|
7875
7875
|
et,
|
|
7876
7876
|
!1,
|
|
@@ -7911,7 +7911,7 @@ function Cje() {
|
|
|
7911
7911
|
// Microdata
|
|
7912
7912
|
"itemScope"
|
|
7913
7913
|
].forEach(function(j) {
|
|
7914
|
-
Gt[j] = new
|
|
7914
|
+
Gt[j] = new gt(
|
|
7915
7915
|
j,
|
|
7916
7916
|
mt,
|
|
7917
7917
|
!1,
|
|
@@ -7935,7 +7935,7 @@ function Cje() {
|
|
|
7935
7935
|
// you'll need to set attributeName to name.toLowerCase()
|
|
7936
7936
|
// instead in the assignment below.
|
|
7937
7937
|
].forEach(function(j) {
|
|
7938
|
-
Gt[j] = new
|
|
7938
|
+
Gt[j] = new gt(
|
|
7939
7939
|
j,
|
|
7940
7940
|
mt,
|
|
7941
7941
|
!0,
|
|
@@ -7955,7 +7955,7 @@ function Cje() {
|
|
|
7955
7955
|
// you'll need to set attributeName to name.toLowerCase()
|
|
7956
7956
|
// instead in the assignment below.
|
|
7957
7957
|
].forEach(function(j) {
|
|
7958
|
-
Gt[j] = new
|
|
7958
|
+
Gt[j] = new gt(
|
|
7959
7959
|
j,
|
|
7960
7960
|
Zt,
|
|
7961
7961
|
!1,
|
|
@@ -7977,7 +7977,7 @@ function Cje() {
|
|
|
7977
7977
|
// you'll need to set attributeName to name.toLowerCase()
|
|
7978
7978
|
// instead in the assignment below.
|
|
7979
7979
|
].forEach(function(j) {
|
|
7980
|
-
Gt[j] = new
|
|
7980
|
+
Gt[j] = new gt(
|
|
7981
7981
|
j,
|
|
7982
7982
|
Jt,
|
|
7983
7983
|
!1,
|
|
@@ -7991,7 +7991,7 @@ function Cje() {
|
|
|
7991
7991
|
!1
|
|
7992
7992
|
);
|
|
7993
7993
|
}), ["rowSpan", "start"].forEach(function(j) {
|
|
7994
|
-
Gt[j] = new
|
|
7994
|
+
Gt[j] = new gt(
|
|
7995
7995
|
j,
|
|
7996
7996
|
hi,
|
|
7997
7997
|
!1,
|
|
@@ -8087,7 +8087,7 @@ function Cje() {
|
|
|
8087
8087
|
// instead in the assignment below.
|
|
8088
8088
|
].forEach(function(j) {
|
|
8089
8089
|
var y = j.replace(we, Ft);
|
|
8090
|
-
Gt[y] = new
|
|
8090
|
+
Gt[y] = new gt(
|
|
8091
8091
|
y,
|
|
8092
8092
|
zt,
|
|
8093
8093
|
!1,
|
|
@@ -8111,7 +8111,7 @@ function Cje() {
|
|
|
8111
8111
|
// instead in the assignment below.
|
|
8112
8112
|
].forEach(function(j) {
|
|
8113
8113
|
var y = j.replace(we, Ft);
|
|
8114
|
-
Gt[y] = new
|
|
8114
|
+
Gt[y] = new gt(
|
|
8115
8115
|
y,
|
|
8116
8116
|
zt,
|
|
8117
8117
|
!1,
|
|
@@ -8131,7 +8131,7 @@ function Cje() {
|
|
|
8131
8131
|
// instead in the assignment below.
|
|
8132
8132
|
].forEach(function(j) {
|
|
8133
8133
|
var y = j.replace(we, Ft);
|
|
8134
|
-
Gt[y] = new
|
|
8134
|
+
Gt[y] = new gt(
|
|
8135
8135
|
y,
|
|
8136
8136
|
zt,
|
|
8137
8137
|
!1,
|
|
@@ -8143,7 +8143,7 @@ function Cje() {
|
|
|
8143
8143
|
!1
|
|
8144
8144
|
);
|
|
8145
8145
|
}), ["tabIndex", "crossOrigin"].forEach(function(j) {
|
|
8146
|
-
Gt[j] = new
|
|
8146
|
+
Gt[j] = new gt(
|
|
8147
8147
|
j,
|
|
8148
8148
|
zt,
|
|
8149
8149
|
!1,
|
|
@@ -8158,7 +8158,7 @@ function Cje() {
|
|
|
8158
8158
|
);
|
|
8159
8159
|
});
|
|
8160
8160
|
var Yi = "xlinkHref";
|
|
8161
|
-
Gt[Yi] = new
|
|
8161
|
+
Gt[Yi] = new gt(
|
|
8162
8162
|
"xlinkHref",
|
|
8163
8163
|
zt,
|
|
8164
8164
|
!1,
|
|
@@ -8169,7 +8169,7 @@ function Cje() {
|
|
|
8169
8169
|
// sanitizeURL
|
|
8170
8170
|
!1
|
|
8171
8171
|
), ["src", "href", "action", "formAction"].forEach(function(j) {
|
|
8172
|
-
Gt[j] = new
|
|
8172
|
+
Gt[j] = new gt(
|
|
8173
8173
|
j,
|
|
8174
8174
|
zt,
|
|
8175
8175
|
!1,
|
|
@@ -9086,7 +9086,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
9086
9086
|
var kl = function() {
|
|
9087
9087
|
};
|
|
9088
9088
|
{
|
|
9089
|
-
var ml = /^(?:webkit|moz|o)[A-Z]/, Ul = /^-ms-/, As = /-(.)/g, UN = /;\s*$/, YN = {}, Me = {}, ue = !1,
|
|
9089
|
+
var ml = /^(?:webkit|moz|o)[A-Z]/, Ul = /^-ms-/, As = /-(.)/g, UN = /;\s*$/, YN = {}, Me = {}, ue = !1, lt = !1, ai = function(j) {
|
|
9090
9090
|
return j.replace(As, function(y, p) {
|
|
9091
9091
|
return p.toUpperCase();
|
|
9092
9092
|
});
|
|
@@ -9106,7 +9106,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
9106
9106
|
}, kM = function(j, y) {
|
|
9107
9107
|
ue || (ue = !0, a("`NaN` is an invalid value for the `%s` css style property.", j));
|
|
9108
9108
|
}, Lu = function(j, y) {
|
|
9109
|
-
|
|
9109
|
+
lt || (lt = !0, a("`Infinity` is an invalid value for the `%s` css style property.", j));
|
|
9110
9110
|
};
|
|
9111
9111
|
kl = function(j, y) {
|
|
9112
9112
|
j.indexOf("-") > -1 ? Tn(j) : ml.test(j) ? rn(j) : UN.test(y) && Br(j, y), typeof y == "number" && (isNaN(y) ? kM(j, y) : isFinite(y) || Lu(j, y));
|
|
@@ -10968,7 +10968,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
10968
10968
|
function iz(j) {
|
|
10969
10969
|
FT = j;
|
|
10970
10970
|
}
|
|
10971
|
-
var e4 = !1, Pg = [], MN = null, oM = null, Te = null, Xe = /* @__PURE__ */ new Map(),
|
|
10971
|
+
var e4 = !1, Pg = [], MN = null, oM = null, Te = null, Xe = /* @__PURE__ */ new Map(), ct = /* @__PURE__ */ new Map(), Tt = [], St = [
|
|
10972
10972
|
"mousedown",
|
|
10973
10973
|
"mouseup",
|
|
10974
10974
|
"touchcancel",
|
|
@@ -11034,7 +11034,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
11034
11034
|
case "gotpointercapture":
|
|
11035
11035
|
case "lostpointercapture": {
|
|
11036
11036
|
var Q = y.pointerId;
|
|
11037
|
-
|
|
11037
|
+
ct.delete(Q);
|
|
11038
11038
|
break;
|
|
11039
11039
|
}
|
|
11040
11040
|
}
|
|
@@ -11072,7 +11072,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
11072
11072
|
}
|
|
11073
11073
|
case "gotpointercapture": {
|
|
11074
11074
|
var de = _, Pe = de.pointerId;
|
|
11075
|
-
return
|
|
11075
|
+
return ct.set(Pe, Qi(ct.get(Pe) || null, j, y, p, Q, de)), !0;
|
|
11076
11076
|
}
|
|
11077
11077
|
}
|
|
11078
11078
|
return !1;
|
|
@@ -11131,7 +11131,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
11131
11131
|
La(j) && p.delete(y);
|
|
11132
11132
|
}
|
|
11133
11133
|
function aN() {
|
|
11134
|
-
e4 = !1, MN !== null && La(MN) && (MN = null), oM !== null && La(oM) && (oM = null), Te !== null && La(Te) && (Te = null), Xe.forEach(nu),
|
|
11134
|
+
e4 = !1, MN !== null && La(MN) && (MN = null), oM !== null && La(oM) && (oM = null), Te !== null && La(Te) && (Te = null), Xe.forEach(nu), ct.forEach(nu);
|
|
11135
11135
|
}
|
|
11136
11136
|
function _M(j, y) {
|
|
11137
11137
|
j.blockedOn === y && (j.blockedOn = null, e4 || (e4 = !0, i.unstable_scheduleCallback(i.unstable_NormalPriority, aN)));
|
|
@@ -11148,7 +11148,7 @@ Check the render method of \`` + j + "`." : "";
|
|
|
11148
11148
|
var Q = function(ie) {
|
|
11149
11149
|
return _M(ie, j);
|
|
11150
11150
|
};
|
|
11151
|
-
Xe.forEach(Q),
|
|
11151
|
+
Xe.forEach(Q), ct.forEach(Q);
|
|
11152
11152
|
for (var _ = 0; _ < Tt.length; _++) {
|
|
11153
11153
|
var $ = Tt[_];
|
|
11154
11154
|
$.blockedOn === j && ($.blockedOn = null);
|
|
@@ -21663,7 +21663,7 @@ function Bje() {
|
|
|
21663
21663
|
}
|
|
21664
21664
|
}
|
|
21665
21665
|
var ut = z.ReactCurrentOwner, jt = z.ReactDebugCurrentFrame;
|
|
21666
|
-
function
|
|
21666
|
+
function gt(Ee) {
|
|
21667
21667
|
if (Ee) {
|
|
21668
21668
|
var pt = Ee._owner, Rt = at(Ee.type, Ee._source, pt ? pt.type : null);
|
|
21669
21669
|
jt.setExtraStackFrame(Rt);
|
|
@@ -21721,7 +21721,7 @@ Check the top-level render call using <` + Rt + ">.");
|
|
|
21721
21721
|
return;
|
|
21722
21722
|
Yi[Rt] = !0;
|
|
21723
21723
|
var Bt = "";
|
|
21724
|
-
Ee && Ee._owner && Ee._owner !== ut.current && (Bt = " It was passed a child from " + Y(Ee._owner.type) + "."),
|
|
21724
|
+
Ee && Ee._owner && Ee._owner !== ut.current && (Bt = " It was passed a child from " + Y(Ee._owner.type) + "."), gt(Ee), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Rt, Bt), gt(null);
|
|
21725
21725
|
}
|
|
21726
21726
|
}
|
|
21727
21727
|
function Rn(Ee, pt) {
|
|
@@ -21773,11 +21773,11 @@ Check the top-level render call using <` + Rt + ">.");
|
|
|
21773
21773
|
for (var pt = Object.keys(Ee.props), Rt = 0; Rt < pt.length; Rt++) {
|
|
21774
21774
|
var Bt = pt[Rt];
|
|
21775
21775
|
if (Bt !== "children" && Bt !== "key") {
|
|
21776
|
-
|
|
21776
|
+
gt(Ee), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Bt), gt(null);
|
|
21777
21777
|
break;
|
|
21778
21778
|
}
|
|
21779
21779
|
}
|
|
21780
|
-
Ee.ref !== null && (
|
|
21780
|
+
Ee.ref !== null && (gt(Ee), d("Invalid attribute `ref` supplied to `React.Fragment`."), gt(null));
|
|
21781
21781
|
}
|
|
21782
21782
|
}
|
|
21783
21783
|
function hr(Ee, pt, Rt, Bt, Bi, tn) {
|
|
@@ -29303,7 +29303,7 @@ const Zq = ({
|
|
|
29303
29303
|
var pe;
|
|
29304
29304
|
z(
|
|
29305
29305
|
((pe = e == null ? void 0 : e.rlsConditions) == null ? void 0 : pe.map((Qe) => {
|
|
29306
|
-
var ut, jt,
|
|
29306
|
+
var ut, jt, gt, Gt;
|
|
29307
29307
|
let Se = Qe;
|
|
29308
29308
|
if (N) {
|
|
29309
29309
|
const Ot = S0e(
|
|
@@ -29338,7 +29338,7 @@ const Zq = ({
|
|
|
29338
29338
|
)) == null ? void 0 : jt.fromDate
|
|
29339
29339
|
),
|
|
29340
29340
|
endDate: xc(
|
|
29341
|
-
(Gt = (
|
|
29341
|
+
(Gt = (gt = Ot.options) == null ? void 0 : gt.find(
|
|
29342
29342
|
(we) => we.name === Ot.value
|
|
29343
29343
|
)) == null ? void 0 : Gt.toDate
|
|
29344
29344
|
),
|
|
@@ -29377,11 +29377,11 @@ const Zq = ({
|
|
|
29377
29377
|
(ut = Qe == null ? void 0 : Qe.filter((jt) => jt.isAddOnMetrics)) != null && ut.length ? W(
|
|
29378
29378
|
Qe.filter((jt) => jt.isAddOnMetrics).map(
|
|
29379
29379
|
(jt) => {
|
|
29380
|
-
var
|
|
29380
|
+
var gt, Gt, Ot, we, Ft, Yi;
|
|
29381
29381
|
return M ? {
|
|
29382
29382
|
...jt,
|
|
29383
29383
|
dimensionColumn: F.xAxis || "",
|
|
29384
|
-
measureColumn: ((
|
|
29384
|
+
measureColumn: ((gt = F.yAxisList) == null ? void 0 : gt[0]) || ""
|
|
29385
29385
|
} : {
|
|
29386
29386
|
...jt,
|
|
29387
29387
|
dimensionColumn: F.xAxis || "",
|
|
@@ -29416,18 +29416,18 @@ const Zq = ({
|
|
|
29416
29416
|
var ut, jt;
|
|
29417
29417
|
const pe = q, Qe = pe != null && pe.data && typeof pe.data == "string" ? JSON.parse(pe.data) : [];
|
|
29418
29418
|
if ((F == null ? void 0 : F.chartType) === ve.table && T((pe == null ? void 0 : pe.totalRecords) || 0), re) {
|
|
29419
|
-
const
|
|
29419
|
+
const gt = I.find(
|
|
29420
29420
|
(Gt) => Gt.isAddOnMetrics && Gt.datatype === "date"
|
|
29421
29421
|
);
|
|
29422
|
-
if (
|
|
29422
|
+
if (gt) {
|
|
29423
29423
|
const Gt = A0e({
|
|
29424
29424
|
data: Qe || [],
|
|
29425
|
-
dimensionColumn:
|
|
29425
|
+
dimensionColumn: gt.columnName,
|
|
29426
29426
|
measureColumn: ((ut = F.yAxisList) == null ? void 0 : ut[0]) || "",
|
|
29427
|
-
option:
|
|
29428
|
-
(Ot) => Ot.name ===
|
|
29427
|
+
option: gt.options.find(
|
|
29428
|
+
(Ot) => Ot.name === gt.value
|
|
29429
29429
|
),
|
|
29430
|
-
timeColumn: F.xAxis ||
|
|
29430
|
+
timeColumn: F.xAxis || gt.columnName
|
|
29431
29431
|
});
|
|
29432
29432
|
E(Gt);
|
|
29433
29433
|
} else
|
|
@@ -29437,16 +29437,16 @@ const Zq = ({
|
|
|
29437
29437
|
const Se = pe == null ? void 0 : pe.metaData;
|
|
29438
29438
|
Y(
|
|
29439
29439
|
((jt = Se == null ? void 0 : Se.groupbyColumnList) == null ? void 0 : jt.map(
|
|
29440
|
-
(
|
|
29440
|
+
(gt) => gt == null ? void 0 : gt.replace(/`/g, "")
|
|
29441
29441
|
)) || []
|
|
29442
29442
|
);
|
|
29443
29443
|
}, [q, re, De]), Ne.useEffect(() => {
|
|
29444
|
-
var pe, Qe, Se, ut, jt,
|
|
29444
|
+
var pe, Qe, Se, ut, jt, gt, Gt, Ot;
|
|
29445
29445
|
if ((pe = e == null ? void 0 : e.drillDownSettings) != null && pe.isEnableGroupBy && f.length) {
|
|
29446
29446
|
const we = (ut = (Se = (Qe = e == null ? void 0 : e.drillDownSettings) == null ? void 0 : Qe.drilldownChartSettings) == null ? void 0 : Se.find(
|
|
29447
29447
|
(Ft) => Ft.name === se
|
|
29448
29448
|
)) == null ? void 0 : ut.chartSettings;
|
|
29449
|
-
we && ((
|
|
29449
|
+
we && ((gt = (jt = e == null ? void 0 : e.datasetMetricSettings) == null ? void 0 : jt.selectedDimensions) != null && gt.length) && ((Ot = (Gt = e == null ? void 0 : e.datasetMetricSettings) == null ? void 0 : Gt.selectedDimensions) == null ? void 0 : Ot.length) > (w == null ? void 0 : w.length) ? G(we) : G((Ft) => {
|
|
29450
29450
|
var Yi, kn, jn, Rn;
|
|
29451
29451
|
return {
|
|
29452
29452
|
...Ft,
|
|
@@ -29482,15 +29482,15 @@ const Zq = ({
|
|
|
29482
29482
|
(pe, Qe, Se, ut) => {
|
|
29483
29483
|
z(
|
|
29484
29484
|
Se ? (jt) => jt.map(
|
|
29485
|
-
(
|
|
29485
|
+
(gt) => {
|
|
29486
29486
|
var Gt;
|
|
29487
|
-
return
|
|
29488
|
-
...
|
|
29487
|
+
return gt.name === pe ? {
|
|
29488
|
+
...gt,
|
|
29489
29489
|
value: Qe,
|
|
29490
|
-
options:
|
|
29490
|
+
options: gt.options.map(
|
|
29491
29491
|
(Ot) => Qe === Ot.name ? { ...Ot, ...Se } : Ot
|
|
29492
29492
|
),
|
|
29493
|
-
variableOptions: (Gt =
|
|
29493
|
+
variableOptions: (Gt = gt.variableOptions) == null ? void 0 : Gt.map(
|
|
29494
29494
|
(Ot) => Ot.value === Qe ? { ...Ot, ...Se } : Ot
|
|
29495
29495
|
),
|
|
29496
29496
|
selectedVariableValue: {
|
|
@@ -29499,16 +29499,16 @@ const Zq = ({
|
|
|
29499
29499
|
endDate: Se.endDate,
|
|
29500
29500
|
startDate: Se.startDate
|
|
29501
29501
|
}
|
|
29502
|
-
} :
|
|
29502
|
+
} : gt;
|
|
29503
29503
|
}
|
|
29504
29504
|
) : ut ? (jt) => jt.map(
|
|
29505
|
-
(
|
|
29505
|
+
(gt) => gt.name === pe ? { ...gt, value: ut.map((Gt) => Gt.value) } : gt
|
|
29506
29506
|
) : (jt) => jt.map(
|
|
29507
|
-
(
|
|
29508
|
-
...
|
|
29507
|
+
(gt) => gt.name === pe ? {
|
|
29508
|
+
...gt,
|
|
29509
29509
|
value: Qe,
|
|
29510
29510
|
selectedVariableValue: { value: Qe, label: Qe }
|
|
29511
|
-
} :
|
|
29511
|
+
} : gt
|
|
29512
29512
|
)
|
|
29513
29513
|
);
|
|
29514
29514
|
},
|
|
@@ -29536,9 +29536,9 @@ const Zq = ({
|
|
|
29536
29536
|
[f, x == null ? void 0 : x.name]
|
|
29537
29537
|
), He = Ne.useCallback(
|
|
29538
29538
|
(pe, Qe) => {
|
|
29539
|
-
var
|
|
29539
|
+
var gt, Gt, Ot, we, Ft, Yi, kn, jn, Rn;
|
|
29540
29540
|
const Se = ge(
|
|
29541
|
-
((Gt = (
|
|
29541
|
+
((Gt = (gt = e == null ? void 0 : e.datasetMetricSettings) == null ? void 0 : gt.selectedDimensions) == null ? void 0 : Gt[w == null ? void 0 : w.length]) || ""
|
|
29542
29542
|
), ut = (Ft = (we = (Ot = e == null ? void 0 : e.datasetMetricSettings) == null ? void 0 : Ot.configuration) == null ? void 0 : we.dimensions) == null ? void 0 : Ft.find(
|
|
29543
29543
|
(zi) => zi.alias === Se
|
|
29544
29544
|
), jt = (Yi = ut == null ? void 0 : ut.parentAlias) == null ? void 0 : Yi.replace("_", ".", 1);
|
|
@@ -29616,26 +29616,26 @@ const Zq = ({
|
|
|
29616
29616
|
}, [e]), Ne.useEffect(() => {
|
|
29617
29617
|
var pe, Qe, Se, ut, jt;
|
|
29618
29618
|
F.isDynamicSeries && ((pe = F.seriesOptions) != null && pe.includes("ungrouped") ? F.ungroupedAlias ? X(
|
|
29619
|
-
(Qe = F.seriesOptions) == null ? void 0 : Qe.map((
|
|
29620
|
-
value:
|
|
29619
|
+
(Qe = F.seriesOptions) == null ? void 0 : Qe.map((gt) => ({
|
|
29620
|
+
value: gt,
|
|
29621
29621
|
label: F.ungroupedAlias
|
|
29622
29622
|
}))
|
|
29623
29623
|
) : X(
|
|
29624
|
-
(Se = F.seriesOptions) == null ? void 0 : Se.map((
|
|
29625
|
-
value:
|
|
29626
|
-
label:
|
|
29624
|
+
(Se = F.seriesOptions) == null ? void 0 : Se.map((gt) => ({
|
|
29625
|
+
value: gt,
|
|
29626
|
+
label: gt
|
|
29627
29627
|
}))
|
|
29628
29628
|
) : F.ungroupedAlias ? X([
|
|
29629
29629
|
{ value: "ungrouped", label: F.ungroupedAlias },
|
|
29630
|
-
...((ut = F.seriesOptions) == null ? void 0 : ut.map((
|
|
29631
|
-
value:
|
|
29632
|
-
label:
|
|
29630
|
+
...((ut = F.seriesOptions) == null ? void 0 : ut.map((gt) => ({
|
|
29631
|
+
value: gt,
|
|
29632
|
+
label: gt
|
|
29633
29633
|
}))) ?? []
|
|
29634
29634
|
]) : X([
|
|
29635
29635
|
{ value: "ungrouped", label: "ungrouped" },
|
|
29636
|
-
...((jt = F.seriesOptions) == null ? void 0 : jt.map((
|
|
29637
|
-
value:
|
|
29638
|
-
label:
|
|
29636
|
+
...((jt = F.seriesOptions) == null ? void 0 : jt.map((gt) => ({
|
|
29637
|
+
value: gt,
|
|
29638
|
+
label: gt
|
|
29639
29639
|
}))) ?? []
|
|
29640
29640
|
]));
|
|
29641
29641
|
}, [
|
|
@@ -75267,7 +75267,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75267
75267
|
data: i = [],
|
|
75268
75268
|
colors: t
|
|
75269
75269
|
}) => {
|
|
75270
|
-
var R, P, W, B, X, F, G, Z, K, q, te, re, ge, se, De, Ie, Oe, ce, $e, He, at, ye, Ae, me, We, nt, ze, Be, he, Ge, zt, et, mt, Zt, hi, Jt, Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt,
|
|
75270
|
+
var R, P, W, B, X, F, G, Z, K, q, te, re, ge, se, De, Ie, Oe, ce, $e, He, at, ye, Ae, me, We, nt, ze, Be, he, Ge, zt, et, mt, Zt, hi, Jt, Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt, gt, Gt, Ot, we, Ft, Yi, kn, jn, Rn, zi, Xn, hr, zM, Cr, jr, MM, Ee, pt, Rt, Bt, Bi, tn, nn, Ci, $r, or, Nr, Er, ba, xo, En, js, ya, un, _a, yu, $M, zu, CM, Jo, EM, Xo, Ko, Vu, po, ia, na, OM, Au, du, fu, Eo, Fu, Wa, Ts, za, On, Aa, $u, vo, Nn, So, wo, Hi, Wu, vr, Wr, hM, Ou, Tr, Wn, Co, QM, aM, da, qo, WM, Ba, CN, ra, hu, fe, Ye, Lt, Xt, mn, $i, tr, Qr, ir, ae, Le, Ke, rt, Et, Mi, _t, si, Ji, hn, Bn, Un, Ir, Lr, vn, Bu, QN, Is, dg, Ha, ys, zs, fg, aj, uj, Og, hg, pl, El, vl, Lg, Hu, oj, xg, aD, pg, Nj, uD, Sl, Ma, Gu, gM, Ga, eN, oD, wl, kN, Cl, Ql, ND, mN, sj, Dj, kl, ml, Ul, As, UN, YN, Me, ue, lt, ai, Tn, rn, Br, kM, Lu, sD, ds, Yl, gj, Ra, fs, bl, _l, lj, cj, bN, jj, xy, Qo, rT, Rl, MT, py, Tj, DD, aT, uT, BM, oT, Ey, vy, Sy, wy, Cy, _N, Pl, gD, T1, Vl, Fl, I1, Qy, Ij, kr, Os, RN, Eg, ky, yj, $l, Wl, lD, NT, sT, y1, DT, zj, Aj, gT, cD, Bl, jD, my, lT, cT, z1, hs, ko, Hl, Ls, tN, TD, PN, jT, A1, TT, Zu, Gl, vg, _i, xs, Hr, In, sr, yr, iN, Mn, AM, Za, Ju, uM, Xu, ps, Zl, dj, Uy, xu, HM, Jl, IT, yT, Ja, Es, Xa, ID, Sg, Ka, fa, Ku, aa, VN, pu, zT, fj, AT, Eu, qa, Gr, qu, dT, Yy, Oj, hj, by, Lj, _y, lM, fT, xj, vu, nN, pj, vs, OT, hT, Ss, GM, Kt, LM, ua, LT, Ry, FN, ws, xT, mM, $N, Cs, Ej, pT, Qs, yD, Py, ET, vj, Vy, Fy, $y, Sj, wg, wj, Wy, By, Cg, Hy, Xl, mo, Kl, Qg, zD, vT, ks, Vi, Sn, Wi, cM, eo, Cj, Qj, ST, AD, Zr, ht, Hn, Gi, rN, Su, dD, Jr, fD, ms, OD, to, eu, hD, ql, ec, kj, mj, Uj, Yj, bj, _j, Rj, Pj, LD, Vj, xD, WN, Fj, tc, $j, Wj, wT, kg, Bj, mg, Us, tu, d1, mr, Hj, Gj, Ug, ic, Gy, Zj, f1, O1, CT, Yg, nc, Jj, h1, Zy, rc, Jy, QT, kT, L1, vM, UM, Ys, Xj, iu, pD, yn, bg, mT, Xy, Ky, Kj, ED, UT, YT, bT, _g, x1, _T, qj, RT, Oa, oa, BN, Mc, vD, io, YM, ac, ha, p1, PT, uc, bM, qy, Di, Rg, oc, ez, tz, Nc, sc, VT, FT, iz, e4, Pg, MN, oM;
|
|
75271
75271
|
const n = (e == null ? void 0 : e.chartType) === ve.timeSeries ? E9({
|
|
75272
75272
|
data: i,
|
|
75273
75273
|
timeStampKey: e.xAxis || ""
|
|
@@ -75544,7 +75544,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75544
75544
|
},
|
|
75545
75545
|
axisLabel: {
|
|
75546
75546
|
show: !((ut = e.customSettings) != null && ut.hideXAxisLabels),
|
|
75547
|
-
color: ((
|
|
75547
|
+
color: ((gt = (jt = e.labelSettings) == null ? void 0 : jt.XAxisStyle) == null ? void 0 : gt.color) || "#000000",
|
|
75548
75548
|
fontSize: ((Ot = (Gt = e.labelSettings) == null ? void 0 : Gt.XAxisStyle) == null ? void 0 : Ot.size) || 14,
|
|
75549
75549
|
fontWeight: ((Ft = (we = e.labelSettings) == null ? void 0 : we.XAxisStyle) == null ? void 0 : Ft.weight) || 400,
|
|
75550
75550
|
fontFamily: (kn = (Yi = e.labelSettings) == null ? void 0 : Yi.XAxisStyle) == null ? void 0 : kn.family,
|
|
@@ -75627,9 +75627,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75627
75627
|
label: {
|
|
75628
75628
|
show: O.show,
|
|
75629
75629
|
position: O.position,
|
|
75630
|
-
formatter(
|
|
75630
|
+
formatter(ct) {
|
|
75631
75631
|
const Tt = di(
|
|
75632
|
-
|
|
75632
|
+
ct.data,
|
|
75633
75633
|
E.numberFormatter
|
|
75634
75634
|
);
|
|
75635
75635
|
return vi(
|
|
@@ -75653,9 +75653,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75653
75653
|
label: {
|
|
75654
75654
|
show: O.show,
|
|
75655
75655
|
position: O.position,
|
|
75656
|
-
formatter(
|
|
75656
|
+
formatter(ct) {
|
|
75657
75657
|
const Tt = di(
|
|
75658
|
-
|
|
75658
|
+
ct.data,
|
|
75659
75659
|
E.numberFormatter
|
|
75660
75660
|
);
|
|
75661
75661
|
return vi(
|
|
@@ -75679,9 +75679,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75679
75679
|
label: {
|
|
75680
75680
|
show: O.show,
|
|
75681
75681
|
position: O.position,
|
|
75682
|
-
formatter(
|
|
75682
|
+
formatter(ct) {
|
|
75683
75683
|
const Tt = di(
|
|
75684
|
-
|
|
75684
|
+
ct.data,
|
|
75685
75685
|
E.numberFormatter
|
|
75686
75686
|
);
|
|
75687
75687
|
return vi(
|
|
@@ -75836,9 +75836,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75836
75836
|
label: {
|
|
75837
75837
|
show: O.show,
|
|
75838
75838
|
position: O.position,
|
|
75839
|
-
formatter(
|
|
75839
|
+
formatter(ct) {
|
|
75840
75840
|
const Tt = di(
|
|
75841
|
-
|
|
75841
|
+
ct.data,
|
|
75842
75842
|
E.numberFormatter
|
|
75843
75843
|
);
|
|
75844
75844
|
return vi(
|
|
@@ -75850,7 +75850,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75850
75850
|
},
|
|
75851
75851
|
itemStyle: {
|
|
75852
75852
|
...E.coloredBars ? {
|
|
75853
|
-
color: (
|
|
75853
|
+
color: (ct) => t == null ? void 0 : t[ct.dataIndex % t.length]
|
|
75854
75854
|
} : {}
|
|
75855
75855
|
},
|
|
75856
75856
|
emphasis: {
|
|
@@ -75867,9 +75867,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75867
75867
|
label: {
|
|
75868
75868
|
show: O.show,
|
|
75869
75869
|
position: O.position,
|
|
75870
|
-
formatter(
|
|
75870
|
+
formatter(ct) {
|
|
75871
75871
|
return vi(
|
|
75872
|
-
di(
|
|
75872
|
+
di(ct.data, E.numberFormatter),
|
|
75873
75873
|
E.labelPrefix,
|
|
75874
75874
|
E.labelSuffix
|
|
75875
75875
|
);
|
|
@@ -75882,7 +75882,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75882
75882
|
itemStyle: {
|
|
75883
75883
|
borderRadius: E.barRadius,
|
|
75884
75884
|
...E.coloredBars ? {
|
|
75885
|
-
color: (
|
|
75885
|
+
color: (ct) => t == null ? void 0 : t[ct.dataIndex % t.length]
|
|
75886
75886
|
} : {}
|
|
75887
75887
|
}
|
|
75888
75888
|
};
|
|
@@ -75896,9 +75896,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75896
75896
|
label: {
|
|
75897
75897
|
show: O.show,
|
|
75898
75898
|
position: O.position,
|
|
75899
|
-
formatter(
|
|
75899
|
+
formatter(ct) {
|
|
75900
75900
|
return vi(
|
|
75901
|
-
di(
|
|
75901
|
+
di(ct.data, E.numberFormatter),
|
|
75902
75902
|
E.labelPrefix,
|
|
75903
75903
|
E.labelSuffix
|
|
75904
75904
|
);
|
|
@@ -75911,7 +75911,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75911
75911
|
itemStyle: {
|
|
75912
75912
|
borderRadius: E.barRadius,
|
|
75913
75913
|
...E.coloredBars ? {
|
|
75914
|
-
color: (
|
|
75914
|
+
color: (ct) => t == null ? void 0 : t[ct.dataIndex % t.length]
|
|
75915
75915
|
} : {}
|
|
75916
75916
|
}
|
|
75917
75917
|
};
|
|
@@ -75924,15 +75924,15 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
75924
75924
|
if (!l || !E.showFullStacked)
|
|
75925
75925
|
return;
|
|
75926
75926
|
const Xe = {};
|
|
75927
|
-
return l.forEach((
|
|
75927
|
+
return l.forEach((ct) => {
|
|
75928
75928
|
var St;
|
|
75929
|
-
const Tt = (St =
|
|
75929
|
+
const Tt = (St = ct == null ? void 0 : ct.data) == null ? void 0 : St.map(
|
|
75930
75930
|
(Vt, ei) => {
|
|
75931
75931
|
const Ai = l.reduce((Qi, Gn) => Qi + Gn.data[ei], 0);
|
|
75932
75932
|
return (Vt / Ai * 100).toFixed(2);
|
|
75933
75933
|
}
|
|
75934
75934
|
);
|
|
75935
|
-
Xe[
|
|
75935
|
+
Xe[ct.label] = Tt;
|
|
75936
75936
|
}), Xe;
|
|
75937
75937
|
})();
|
|
75938
75938
|
Object.assign(Y, {
|
|
@@ -76067,7 +76067,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76067
76067
|
}
|
|
76068
76068
|
},
|
|
76069
76069
|
series: e.isMultiDimension && e.seriesField !== "ungrouped" ? h != null && h.length ? h.map((Xe) => {
|
|
76070
|
-
var
|
|
76070
|
+
var ct;
|
|
76071
76071
|
return {
|
|
76072
76072
|
data: Xe.data,
|
|
76073
76073
|
type: "bar",
|
|
@@ -76087,7 +76087,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76087
76087
|
},
|
|
76088
76088
|
showBackground: w.show,
|
|
76089
76089
|
backgroundStyle: {
|
|
76090
|
-
color: (
|
|
76090
|
+
color: (ct = e.customSettings) != null && ct.isShowBarGradient ? s : "rgba(180, 180, 180, 0.2)"
|
|
76091
76091
|
},
|
|
76092
76092
|
itemStyle: {
|
|
76093
76093
|
borderRadius: E.barRadius
|
|
@@ -76097,7 +76097,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76097
76097
|
}
|
|
76098
76098
|
};
|
|
76099
76099
|
}) : I == null ? void 0 : I.map((Xe) => {
|
|
76100
|
-
var
|
|
76100
|
+
var ct;
|
|
76101
76101
|
return {
|
|
76102
76102
|
data: Xe.data,
|
|
76103
76103
|
type: "bar",
|
|
@@ -76117,7 +76117,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76117
76117
|
},
|
|
76118
76118
|
showBackground: w.show,
|
|
76119
76119
|
backgroundStyle: {
|
|
76120
|
-
color: (
|
|
76120
|
+
color: (ct = e.customSettings) != null && ct.isShowBarGradient ? s : "rgba(180, 180, 180, 0.2)"
|
|
76121
76121
|
},
|
|
76122
76122
|
itemStyle: {
|
|
76123
76123
|
borderRadius: E.barRadius
|
|
@@ -76127,7 +76127,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76127
76127
|
}
|
|
76128
76128
|
};
|
|
76129
76129
|
}) : l == null ? void 0 : l.map((Xe) => {
|
|
76130
|
-
var
|
|
76130
|
+
var ct;
|
|
76131
76131
|
return {
|
|
76132
76132
|
data: E.showFullStacked ? Te[Xe.label] : Xe.data,
|
|
76133
76133
|
type: "bar",
|
|
@@ -76150,7 +76150,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76150
76150
|
},
|
|
76151
76151
|
showBackground: w.show,
|
|
76152
76152
|
backgroundStyle: {
|
|
76153
|
-
color: (
|
|
76153
|
+
color: (ct = e.customSettings) != null && ct.isShowBarGradient ? s : "rgba(180, 180, 180, 0.2)"
|
|
76154
76154
|
},
|
|
76155
76155
|
itemStyle: {
|
|
76156
76156
|
borderRadius: E.barRadius
|
|
@@ -76303,9 +76303,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76303
76303
|
label: {
|
|
76304
76304
|
show: O.show,
|
|
76305
76305
|
position: O.position,
|
|
76306
|
-
formatter(
|
|
76306
|
+
formatter(ct) {
|
|
76307
76307
|
return vi(
|
|
76308
|
-
di(
|
|
76308
|
+
di(ct.data, E.numberFormatter),
|
|
76309
76309
|
E.labelPrefix,
|
|
76310
76310
|
E.labelSuffix
|
|
76311
76311
|
);
|
|
@@ -76466,9 +76466,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76466
76466
|
label: {
|
|
76467
76467
|
show: O.show,
|
|
76468
76468
|
position: O.position,
|
|
76469
|
-
formatter(
|
|
76469
|
+
formatter(ct) {
|
|
76470
76470
|
return vi(
|
|
76471
|
-
di(
|
|
76471
|
+
di(ct.data, E.numberFormatter),
|
|
76472
76472
|
E.labelPrefix,
|
|
76473
76473
|
E.labelSuffix
|
|
76474
76474
|
);
|
|
@@ -76485,8 +76485,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76485
76485
|
}
|
|
76486
76486
|
case ve.boxplot: {
|
|
76487
76487
|
const Te = [], Xe = [];
|
|
76488
|
-
l == null || l.map((
|
|
76489
|
-
Te.push(
|
|
76488
|
+
l == null || l.map((ct) => {
|
|
76489
|
+
Te.push(ct.data), Xe.push(ct.label);
|
|
76490
76490
|
}), Object.assign(Y, {
|
|
76491
76491
|
...Y,
|
|
76492
76492
|
title: (oj = e.customSettings) != null && oj.enableTitleDesc ? {
|
|
@@ -76513,17 +76513,17 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76513
76513
|
orient: f.position,
|
|
76514
76514
|
icon: f.legendShape,
|
|
76515
76515
|
type: "scroll",
|
|
76516
|
-
data: l == null ? void 0 : l.map((
|
|
76517
|
-
formatter(
|
|
76516
|
+
data: l == null ? void 0 : l.map((ct) => ct.label),
|
|
76517
|
+
formatter(ct) {
|
|
76518
76518
|
return `{a|${Dr(
|
|
76519
|
-
|
|
76519
|
+
ct,
|
|
76520
76520
|
f.truncateLegendValue || 22
|
|
76521
76521
|
)}}`;
|
|
76522
76522
|
},
|
|
76523
76523
|
tooltip: {
|
|
76524
76524
|
show: !0,
|
|
76525
|
-
formatter(
|
|
76526
|
-
return
|
|
76525
|
+
formatter(ct) {
|
|
76526
|
+
return ct.name;
|
|
76527
76527
|
}
|
|
76528
76528
|
},
|
|
76529
76529
|
textStyle: {
|
|
@@ -76559,8 +76559,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76559
76559
|
type: "shadow"
|
|
76560
76560
|
},
|
|
76561
76561
|
className: "getChartOptions-tooltip",
|
|
76562
|
-
valueFormatter: (
|
|
76563
|
-
di(
|
|
76562
|
+
valueFormatter: (ct) => vi(
|
|
76563
|
+
di(ct, E.numberFormatter),
|
|
76564
76564
|
E.labelPrefix,
|
|
76565
76565
|
E.labelSuffix
|
|
76566
76566
|
)
|
|
@@ -76613,8 +76613,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76613
76613
|
fontSize: ((kl = (Dj = e.labelSettings) == null ? void 0 : Dj.YAxisStyle) == null ? void 0 : kl.size) || 14,
|
|
76614
76614
|
fontWeight: ((Ul = (ml = e.labelSettings) == null ? void 0 : ml.YAxisStyle) == null ? void 0 : Ul.weight) || 400,
|
|
76615
76615
|
fontFamily: (UN = (As = e.labelSettings) == null ? void 0 : As.YAxisStyle) == null ? void 0 : UN.family,
|
|
76616
|
-
formatter: (
|
|
76617
|
-
di(
|
|
76616
|
+
formatter: (ct) => ct === null || ct === 0 ? "0" : vi(
|
|
76617
|
+
di(ct, E.numberFormatter),
|
|
76618
76618
|
E.labelPrefix,
|
|
76619
76619
|
E.labelSuffix
|
|
76620
76620
|
)
|
|
@@ -76650,7 +76650,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76650
76650
|
}
|
|
76651
76651
|
}
|
|
76652
76652
|
},
|
|
76653
|
-
backgroundColor: (
|
|
76653
|
+
backgroundColor: (lt = e.customSettings) != null && lt.enableBackgroundGradient ? D : "",
|
|
76654
76654
|
grid: {
|
|
76655
76655
|
left: `${x.marginLeft}%`,
|
|
76656
76656
|
bottom: `${x.marginBottom}%`,
|
|
@@ -76754,12 +76754,12 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76754
76754
|
},
|
|
76755
76755
|
series: l == null ? void 0 : l.map((Te) => {
|
|
76756
76756
|
var Tt;
|
|
76757
|
-
const
|
|
76757
|
+
const ct = Te.data.reduce(
|
|
76758
76758
|
(St, Vt) => St + Vt,
|
|
76759
76759
|
0
|
|
76760
76760
|
) / Te.data.length;
|
|
76761
76761
|
return {
|
|
76762
|
-
symbolSize: (St) => St /
|
|
76762
|
+
symbolSize: (St) => St / ct * (e.percentageSize || 20),
|
|
76763
76763
|
data: Te.data,
|
|
76764
76764
|
type: "scatter",
|
|
76765
76765
|
name: Te.label,
|
|
@@ -76791,7 +76791,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76791
76791
|
return !((St = e == null ? void 0 : e.comboBarList) != null && St.includes(Tt));
|
|
76792
76792
|
}
|
|
76793
76793
|
)) || [];
|
|
76794
|
-
let
|
|
76794
|
+
let ct;
|
|
76795
76795
|
E != null && E.isStackBar && ((py = e.comboBarList) != null && py.length) ? (Te = [
|
|
76796
76796
|
{
|
|
76797
76797
|
show: !0,
|
|
@@ -76820,7 +76820,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76820
76820
|
}
|
|
76821
76821
|
}
|
|
76822
76822
|
}
|
|
76823
|
-
],
|
|
76823
|
+
], ct = (Pl = e.comboBarList) == null ? void 0 : Pl.map((Tt, St) => {
|
|
76824
76824
|
var Vt;
|
|
76825
76825
|
return {
|
|
76826
76826
|
type: "bar",
|
|
@@ -76894,7 +76894,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76894
76894
|
}
|
|
76895
76895
|
};
|
|
76896
76896
|
})
|
|
76897
|
-
),
|
|
76897
|
+
), ct.push(
|
|
76898
76898
|
...Xe.map((Tt, St) => {
|
|
76899
76899
|
var Vt;
|
|
76900
76900
|
return {
|
|
@@ -76957,7 +76957,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
76957
76957
|
}
|
|
76958
76958
|
}
|
|
76959
76959
|
};
|
|
76960
|
-
}),
|
|
76960
|
+
}), ct = (T1 = e.yAxisList) == null ? void 0 : T1.map((Tt, St) => {
|
|
76961
76961
|
var Vt, ei, Ai;
|
|
76962
76962
|
return {
|
|
76963
76963
|
type: (Vt = e == null ? void 0 : e.comboBarList) != null && Vt.includes(Tt) ? "bar" : "line",
|
|
@@ -77084,7 +77084,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77084
77084
|
}
|
|
77085
77085
|
],
|
|
77086
77086
|
yAxis: Te,
|
|
77087
|
-
series:
|
|
77087
|
+
series: ct
|
|
77088
77088
|
});
|
|
77089
77089
|
break;
|
|
77090
77090
|
}
|
|
@@ -77165,7 +77165,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77165
77165
|
}
|
|
77166
77166
|
};
|
|
77167
77167
|
});
|
|
77168
|
-
},
|
|
77168
|
+
}, ct = l != null && l.length && ((y1 = (sT = l[0]) == null ? void 0 : sT.data) == null ? void 0 : y1.length) > 1 ? Xe() : Te();
|
|
77169
77169
|
Object.assign(Y, {
|
|
77170
77170
|
...Y,
|
|
77171
77171
|
title: (DT = e.customSettings) != null && DT.enableTitleDesc ? {
|
|
@@ -77226,7 +77226,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77226
77226
|
}
|
|
77227
77227
|
}
|
|
77228
77228
|
},
|
|
77229
|
-
series:
|
|
77229
|
+
series: ct
|
|
77230
77230
|
});
|
|
77231
77231
|
break;
|
|
77232
77232
|
}
|
|
@@ -77309,7 +77309,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77309
77309
|
}
|
|
77310
77310
|
};
|
|
77311
77311
|
});
|
|
77312
|
-
},
|
|
77312
|
+
}, ct = l != null && l.length && ((my = (jD = l[0]) == null ? void 0 : jD.data) == null ? void 0 : my.length) > 1 ? Xe() : Te();
|
|
77313
77313
|
Object.assign(Y, {
|
|
77314
77314
|
...Y,
|
|
77315
77315
|
title: (lT = e.customSettings) != null && lT.enableTitleDesc ? {
|
|
@@ -77370,7 +77370,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77370
77370
|
}
|
|
77371
77371
|
}
|
|
77372
77372
|
},
|
|
77373
|
-
series:
|
|
77373
|
+
series: ct
|
|
77374
77374
|
});
|
|
77375
77375
|
break;
|
|
77376
77376
|
}
|
|
@@ -77451,7 +77451,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77451
77451
|
}
|
|
77452
77452
|
};
|
|
77453
77453
|
});
|
|
77454
|
-
},
|
|
77454
|
+
}, ct = g.length > 1 ? Xe() : Te();
|
|
77455
77455
|
Object.assign(Y, {
|
|
77456
77456
|
toolbox: {
|
|
77457
77457
|
emphasis: {
|
|
@@ -77506,7 +77506,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77506
77506
|
}
|
|
77507
77507
|
}
|
|
77508
77508
|
},
|
|
77509
|
-
series:
|
|
77509
|
+
series: ct
|
|
77510
77510
|
});
|
|
77511
77511
|
break;
|
|
77512
77512
|
}
|
|
@@ -77649,9 +77649,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77649
77649
|
label: {
|
|
77650
77650
|
show: O.show,
|
|
77651
77651
|
position: O.position,
|
|
77652
|
-
formatter(
|
|
77652
|
+
formatter(ct) {
|
|
77653
77653
|
return vi(
|
|
77654
|
-
di(
|
|
77654
|
+
di(ct.data, E.numberFormatter),
|
|
77655
77655
|
E.labelPrefix,
|
|
77656
77656
|
E.labelSuffix
|
|
77657
77657
|
);
|
|
@@ -77664,7 +77664,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77664
77664
|
itemStyle: {
|
|
77665
77665
|
borderRadius: E.barRadius,
|
|
77666
77666
|
...E.coloredBars ? {
|
|
77667
|
-
color: (
|
|
77667
|
+
color: (ct) => t == null ? void 0 : t[ct.dataIndex % t.length]
|
|
77668
77668
|
} : {}
|
|
77669
77669
|
}
|
|
77670
77670
|
};
|
|
@@ -77845,8 +77845,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77845
77845
|
className: "getChartOptions-tooltip",
|
|
77846
77846
|
formatter: E.showConversionRate ? (Xe) => {
|
|
77847
77847
|
var Tt, St;
|
|
77848
|
-
let
|
|
77849
|
-
return Xe.dataIndex > 0 && (
|
|
77848
|
+
let ct = 100;
|
|
77849
|
+
return Xe.dataIndex > 0 && (ct = (((Tt = c[Xe.dataIndex]) == null ? void 0 : Tt.value) || 0) / (((St = c[Xe.dataIndex - 1]) == null ? void 0 : St.value) || 1) * 100), `${Xe.name}: ${ct.toFixed(0)}%`;
|
|
77850
77850
|
} : E.showLabelValues ? "{b}: {c}" : E.labelFormat || "{b}",
|
|
77851
77851
|
backgroundColor: "white",
|
|
77852
77852
|
borderRadius: 20,
|
|
@@ -77920,8 +77920,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77920
77920
|
position: O.position,
|
|
77921
77921
|
formatter: E.showConversionRate ? (Xe) => {
|
|
77922
77922
|
var Tt, St;
|
|
77923
|
-
let
|
|
77924
|
-
return Xe.dataIndex > 0 && (
|
|
77923
|
+
let ct = 100;
|
|
77924
|
+
return Xe.dataIndex > 0 && (ct = (((Tt = c[Xe.dataIndex]) == null ? void 0 : Tt.value) || 0) / (((St = c[Xe.dataIndex - 1]) == null ? void 0 : St.value) || 1) * 100), `${Xe.name}: ${ct.toFixed(0)}%`;
|
|
77925
77925
|
} : E.showLabelValues ? "{b}: {c}" : E.labelFormat || "{b}"
|
|
77926
77926
|
},
|
|
77927
77927
|
labelLine: {
|
|
@@ -77938,11 +77938,11 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77938
77938
|
break;
|
|
77939
77939
|
}
|
|
77940
77940
|
case ve.gauge: {
|
|
77941
|
-
const Te = ((pj = e == null ? void 0 : e.gaugeSettings) == null ? void 0 : pj.metric) || "", Xe = ((vs = e.gaugeSettings) == null ? void 0 : vs.dimensions) || [],
|
|
77941
|
+
const Te = ((pj = e == null ? void 0 : e.gaugeSettings) == null ? void 0 : pj.metric) || "", Xe = ((vs = e.gaugeSettings) == null ? void 0 : vs.dimensions) || [], ct = [], Tt = [];
|
|
77942
77942
|
let St, Vt = 0, ei = !1;
|
|
77943
77943
|
if (i.length === 1 && (St = i[0], ei = Object.keys(St).every(
|
|
77944
77944
|
(Ai) => typeof St[Ai] == "number"
|
|
77945
|
-
), ei && (Vt = St[Te],
|
|
77945
|
+
), ei && (Vt = St[Te], ct.push({
|
|
77946
77946
|
value: St[Te],
|
|
77947
77947
|
name: Te,
|
|
77948
77948
|
title: {
|
|
@@ -77953,7 +77953,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77953
77953
|
}
|
|
77954
77954
|
}))), i.length !== 1 && Te.length && !Xe.length) {
|
|
77955
77955
|
const Ai = (OT = i == null ? void 0 : i[0]) == null ? void 0 : OT[Te];
|
|
77956
|
-
ei = !0, Vt = Ai,
|
|
77956
|
+
ei = !0, Vt = Ai, ct.push({
|
|
77957
77957
|
value: Ai,
|
|
77958
77958
|
name: Te,
|
|
77959
77959
|
title: {
|
|
@@ -77968,9 +77968,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77968
77968
|
const Qi = ZR(i, Xe, [Te])[Te], Gn = Qi.length;
|
|
77969
77969
|
for (let Pn = 0; Pn < Gn; Pn += 1)
|
|
77970
77970
|
if (Tt.includes(Qi[Pn].name)) {
|
|
77971
|
-
for (let Rr = 0; Rr <
|
|
77972
|
-
if (
|
|
77973
|
-
|
|
77971
|
+
for (let Rr = 0; Rr < ct.length; Rr += 1)
|
|
77972
|
+
if (ct[Rr].value === Qi[Pn].name) {
|
|
77973
|
+
ct[Rr].name += `, (${Qi[Pn].parent.replaceAll(
|
|
77974
77974
|
"/",
|
|
77975
77975
|
","
|
|
77976
77976
|
)})`;
|
|
@@ -77988,7 +77988,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
77988
77988
|
show: !1
|
|
77989
77989
|
}
|
|
77990
77990
|
};
|
|
77991
|
-
|
|
77991
|
+
ct.push(Rr);
|
|
77992
77992
|
}
|
|
77993
77993
|
ei = !1;
|
|
77994
77994
|
}
|
|
@@ -78066,7 +78066,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78066
78066
|
},
|
|
78067
78067
|
pointer: {
|
|
78068
78068
|
length: "100%",
|
|
78069
|
-
width:
|
|
78069
|
+
width: ct.length === 1 ? 10 : 4
|
|
78070
78070
|
},
|
|
78071
78071
|
axisLine: {
|
|
78072
78072
|
lineStyle: {
|
|
@@ -78104,7 +78104,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78104
78104
|
);
|
|
78105
78105
|
}
|
|
78106
78106
|
},
|
|
78107
|
-
data:
|
|
78107
|
+
data: ct,
|
|
78108
78108
|
title: {
|
|
78109
78109
|
fontSize: 14
|
|
78110
78110
|
},
|
|
@@ -78126,11 +78126,11 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78126
78126
|
}
|
|
78127
78127
|
case ve.sankey: {
|
|
78128
78128
|
if ((LT = e.sankeyValues) != null && LT.length) {
|
|
78129
|
-
const [Te, Xe,
|
|
78129
|
+
const [Te, Xe, ct] = e.sankeyValues, { links: Tt, nodes: St } = P0e({
|
|
78130
78130
|
data: i,
|
|
78131
78131
|
source: Te,
|
|
78132
78132
|
target: Xe,
|
|
78133
|
-
value:
|
|
78133
|
+
value: ct,
|
|
78134
78134
|
sankeyColors: t
|
|
78135
78135
|
});
|
|
78136
78136
|
Object.assign(Y, {
|
|
@@ -78158,7 +78158,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78158
78158
|
formatter: (Vt) => {
|
|
78159
78159
|
if (Vt.dataType === "edge")
|
|
78160
78160
|
return `${Te}: ${Vt.data.source}<br />${Xe}: ${Vt.data.target}<br />
|
|
78161
|
-
${
|
|
78161
|
+
${ct}: ${vi(
|
|
78162
78162
|
di(
|
|
78163
78163
|
Vt.data.value,
|
|
78164
78164
|
E.numberFormatter
|
|
@@ -78201,7 +78201,7 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78201
78201
|
di(T[0], E.numberFormatter),
|
|
78202
78202
|
E.labelPrefix,
|
|
78203
78203
|
E.labelSuffix
|
|
78204
|
-
), Xe = (mM = i == null ? void 0 : i[E.comparisonTimePeriod || 0]) == null ? void 0 : mM[(e == null ? void 0 : e.singleValue) || ""],
|
|
78204
|
+
), Xe = (mM = i == null ? void 0 : i[E.comparisonTimePeriod || 0]) == null ? void 0 : mM[(e == null ? void 0 : e.singleValue) || ""], ct = T != null && T[0] ? `${(((T == null ? void 0 : T[0]) - Xe) / Xe * 100).toFixed(2)} %` : null, Tt = E.comparisonValueShow && E.comparisonTimePeriod && E.comparisonTimePeriod > 0 && E.comparisonTimeGrain !== "NONE" && (e == null ? void 0 : e.singleValue) && (($N = i == null ? void 0 : i[0]) == null ? void 0 : $N._timestamp);
|
|
78205
78205
|
Object.assign(Y, {
|
|
78206
78206
|
settings: {
|
|
78207
78207
|
fontSize: E.fontSize || 30,
|
|
@@ -78219,8 +78219,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78219
78219
|
prefix: E.singleValuePrefix || ""
|
|
78220
78220
|
},
|
|
78221
78221
|
value: Te,
|
|
78222
|
-
comparisonValue: Tt ?
|
|
78223
|
-
trendLineOptions:
|
|
78222
|
+
comparisonValue: Tt ? ct : void 0,
|
|
78223
|
+
trendLineOptions: ct && E.isShowTrendLine ? {
|
|
78224
78224
|
...Y,
|
|
78225
78225
|
title: (Cs = e.customSettings) != null && Cs.enableTitleDesc ? {
|
|
78226
78226
|
text: (Ej = e.customSettings) == null ? void 0 : Ej.chartTitle,
|
|
@@ -78313,13 +78313,13 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78313
78313
|
case ve.waterfall: {
|
|
78314
78314
|
let Te;
|
|
78315
78315
|
if (l != null && l.length) {
|
|
78316
|
-
const Xe = (Qs = l[0]) == null ? void 0 : Qs.data,
|
|
78316
|
+
const Xe = (Qs = l[0]) == null ? void 0 : Qs.data, ct = [Xe[0]];
|
|
78317
78317
|
if (Xe.length)
|
|
78318
78318
|
for (let Tt = 1; Tt < Xe.length - 1; Tt++)
|
|
78319
|
-
|
|
78320
|
-
|
|
78319
|
+
ct.push(ct[Tt - 1] - Xe[Tt]);
|
|
78320
|
+
ct.push(Xe[Xe.length - 1]), Te = {
|
|
78321
78321
|
labels: g,
|
|
78322
|
-
datasets: [Xe,
|
|
78322
|
+
datasets: [Xe, ct],
|
|
78323
78323
|
legend: l[0].label
|
|
78324
78324
|
};
|
|
78325
78325
|
}
|
|
@@ -78348,9 +78348,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78348
78348
|
},
|
|
78349
78349
|
className: "getChartOptions-tooltip",
|
|
78350
78350
|
formatter(Xe) {
|
|
78351
|
-
const
|
|
78352
|
-
return `${
|
|
78353
|
-
di(
|
|
78351
|
+
const ct = Xe[1];
|
|
78352
|
+
return `${ct.name}<br/>${vi(
|
|
78353
|
+
di(ct.value, E.numberFormatter),
|
|
78354
78354
|
E.labelPrefix,
|
|
78355
78355
|
E.labelSuffix
|
|
78356
78356
|
)}`;
|
|
@@ -78621,9 +78621,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78621
78621
|
label: {
|
|
78622
78622
|
show: O.show,
|
|
78623
78623
|
position: O.position,
|
|
78624
|
-
formatter(
|
|
78624
|
+
formatter(ct) {
|
|
78625
78625
|
return vi(
|
|
78626
|
-
di(
|
|
78626
|
+
di(ct.data, E.numberFormatter),
|
|
78627
78627
|
E.labelPrefix,
|
|
78628
78628
|
E.labelSuffix
|
|
78629
78629
|
);
|
|
@@ -78644,14 +78644,14 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78644
78644
|
case ve.table: {
|
|
78645
78645
|
const Te = [];
|
|
78646
78646
|
if (l) {
|
|
78647
|
-
const Xe = [],
|
|
78647
|
+
const Xe = [], ct = [];
|
|
78648
78648
|
l == null || l.map((Tt) => {
|
|
78649
|
-
Xe.push(Tt.label),
|
|
78649
|
+
Xe.push(Tt.label), ct.push(Tt.data);
|
|
78650
78650
|
});
|
|
78651
|
-
for (let Tt = 0; Tt < ((bj =
|
|
78651
|
+
for (let Tt = 0; Tt < ((bj = ct[0]) == null ? void 0 : bj.length); Tt += 1) {
|
|
78652
78652
|
const St = {};
|
|
78653
78653
|
for (let Vt = 0; Vt < Xe.length; Vt += 1)
|
|
78654
|
-
St[Xe[Vt]] =
|
|
78654
|
+
St[Xe[Vt]] = ct[Vt][Tt];
|
|
78655
78655
|
Te.push(St);
|
|
78656
78656
|
}
|
|
78657
78657
|
}
|
|
@@ -78664,14 +78664,14 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78664
78664
|
case ve.horizontalStackTable: {
|
|
78665
78665
|
const Te = [];
|
|
78666
78666
|
if (l) {
|
|
78667
|
-
const Xe = [],
|
|
78667
|
+
const Xe = [], ct = [];
|
|
78668
78668
|
l == null || l.map((Tt) => {
|
|
78669
|
-
Xe.push(Tt.label),
|
|
78669
|
+
Xe.push(Tt.label), ct.push(Tt.data);
|
|
78670
78670
|
});
|
|
78671
|
-
for (let Tt = 0; Tt < ((_j =
|
|
78671
|
+
for (let Tt = 0; Tt < ((_j = ct[0]) == null ? void 0 : _j.length); Tt += 1) {
|
|
78672
78672
|
const St = {};
|
|
78673
78673
|
for (let Vt = 0; Vt < Xe.length; Vt += 1)
|
|
78674
|
-
St[Xe[Vt]] =
|
|
78674
|
+
St[Xe[Vt]] = ct[Vt][Tt];
|
|
78675
78675
|
Te.push(St);
|
|
78676
78676
|
}
|
|
78677
78677
|
}
|
|
@@ -78696,8 +78696,8 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78696
78696
|
backgroundColor: "white",
|
|
78697
78697
|
borderRadius: 20,
|
|
78698
78698
|
padding: 20,
|
|
78699
|
-
formatter(
|
|
78700
|
-
const Tt =
|
|
78699
|
+
formatter(ct) {
|
|
78700
|
+
const Tt = ct.value, St = ct.treePathInfo, Vt = [];
|
|
78701
78701
|
for (let ei = 1; ei < St.length; ei++)
|
|
78702
78702
|
Vt.push(St[ei].name);
|
|
78703
78703
|
return [
|
|
@@ -78772,12 +78772,12 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78772
78772
|
padding: 20,
|
|
78773
78773
|
className: "getChartOptions-tooltip",
|
|
78774
78774
|
enterable: !0,
|
|
78775
|
-
valueFormatter: (
|
|
78776
|
-
di(
|
|
78775
|
+
valueFormatter: (ct) => vi(
|
|
78776
|
+
di(ct, E.numberFormatter),
|
|
78777
78777
|
E.labelPrefix,
|
|
78778
78778
|
E.labelSuffix
|
|
78779
78779
|
),
|
|
78780
|
-
formatter: (
|
|
78780
|
+
formatter: (ct) => $D(ct, e)
|
|
78781
78781
|
},
|
|
78782
78782
|
dataZoom: lN(U),
|
|
78783
78783
|
legend: {
|
|
@@ -78791,17 +78791,17 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78791
78791
|
orient: f.position,
|
|
78792
78792
|
icon: f.legendShape,
|
|
78793
78793
|
type: "scroll",
|
|
78794
|
-
data: l == null ? void 0 : l.map((
|
|
78795
|
-
formatter(
|
|
78794
|
+
data: l == null ? void 0 : l.map((ct) => ct.label),
|
|
78795
|
+
formatter(ct) {
|
|
78796
78796
|
return `{a|${Dr(
|
|
78797
|
-
|
|
78797
|
+
ct,
|
|
78798
78798
|
f.truncateLegendValue || 22
|
|
78799
78799
|
)}}`;
|
|
78800
78800
|
},
|
|
78801
78801
|
tooltip: {
|
|
78802
78802
|
show: !0,
|
|
78803
|
-
formatter(
|
|
78804
|
-
return
|
|
78803
|
+
formatter(ct) {
|
|
78804
|
+
return ct.name;
|
|
78805
78805
|
}
|
|
78806
78806
|
},
|
|
78807
78807
|
textStyle: {
|
|
@@ -78837,9 +78837,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78837
78837
|
fontFamily: (Us = (mg = e.labelSettings) == null ? void 0 : mg.XAxisStyle) == null ? void 0 : Us.family,
|
|
78838
78838
|
rotate: E.customRotation || E.xRotation,
|
|
78839
78839
|
...O != null && O.truncateLabel ? {
|
|
78840
|
-
formatter(
|
|
78840
|
+
formatter(ct) {
|
|
78841
78841
|
return Dr(
|
|
78842
|
-
|
|
78842
|
+
ct,
|
|
78843
78843
|
O.truncateLabelValue || 22
|
|
78844
78844
|
);
|
|
78845
78845
|
}
|
|
@@ -78861,20 +78861,20 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78861
78861
|
fontSize: ((ic = (Ug = e.labelSettings) == null ? void 0 : Ug.YAxisStyle) == null ? void 0 : ic.size) || 14,
|
|
78862
78862
|
fontWeight: ((Zj = (Gy = e.labelSettings) == null ? void 0 : Gy.YAxisStyle) == null ? void 0 : Zj.weight) || 400,
|
|
78863
78863
|
fontFamily: (O1 = (f1 = e.labelSettings) == null ? void 0 : f1.YAxisStyle) == null ? void 0 : O1.family,
|
|
78864
|
-
formatter: (
|
|
78865
|
-
di(
|
|
78864
|
+
formatter: (ct) => ct === null || ct === 0 ? "0" : vi(
|
|
78865
|
+
di(ct, E.numberFormatter),
|
|
78866
78866
|
E.labelPrefix,
|
|
78867
78867
|
E.labelSuffix
|
|
78868
78868
|
)
|
|
78869
78869
|
}
|
|
78870
78870
|
},
|
|
78871
|
-
series: l == null ? void 0 : l.map((
|
|
78871
|
+
series: l == null ? void 0 : l.map((ct) => {
|
|
78872
78872
|
var Tt;
|
|
78873
78873
|
return Xe === 0 ? Xe = 1 : Xe === 1 ? Xe = 2 : Xe = 0, {
|
|
78874
|
-
name:
|
|
78874
|
+
name: ct.label,
|
|
78875
78875
|
type: "line",
|
|
78876
78876
|
step: Te[Xe],
|
|
78877
|
-
data:
|
|
78877
|
+
data: ct.data,
|
|
78878
78878
|
areaStyle: {},
|
|
78879
78879
|
label: {
|
|
78880
78880
|
show: O.show,
|
|
@@ -79023,9 +79023,9 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79023
79023
|
label: {
|
|
79024
79024
|
show: O.show,
|
|
79025
79025
|
position: O.position,
|
|
79026
|
-
formatter(
|
|
79026
|
+
formatter(ct) {
|
|
79027
79027
|
return vi(
|
|
79028
|
-
di(
|
|
79028
|
+
di(ct.data, E.numberFormatter),
|
|
79029
79029
|
E.labelPrefix,
|
|
79030
79030
|
E.labelSuffix
|
|
79031
79031
|
);
|
|
@@ -79176,10 +79176,10 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79176
79176
|
}
|
|
79177
79177
|
},
|
|
79178
79178
|
series: e.isMultiDimension && e.seriesField !== "ungrouped" ? h != null && h.length ? h.map((Te) => {
|
|
79179
|
-
var Xe,
|
|
79179
|
+
var Xe, ct, Tt, St, Vt, ei, Ai, Qi, Gn, Pn, Rr, La, nu;
|
|
79180
79180
|
return {
|
|
79181
79181
|
data: (Te == null ? void 0 : Te.data) || [],
|
|
79182
|
-
type: ((
|
|
79182
|
+
type: ((ct = (Xe = S == null ? void 0 : S.seriesType) == null ? void 0 : Xe[0]) == null ? void 0 : ct.type) === "area" ? "line" : ((St = (Tt = S == null ? void 0 : S.seriesType) == null ? void 0 : Tt[0]) == null ? void 0 : St.type) === "stack" ? "bar" : ((ei = (Vt = S == null ? void 0 : S.seriesType) == null ? void 0 : Vt[0]) == null ? void 0 : ei.type) || "bar",
|
|
79183
79183
|
name: (Te == null ? void 0 : Te.name) || "series",
|
|
79184
79184
|
...((Qi = (Ai = S == null ? void 0 : S.seriesType) == null ? void 0 : Ai[0]) == null ? void 0 : Qi.type) === "stack" ? { stack: "total" } : {},
|
|
79185
79185
|
label: {
|
|
@@ -79209,10 +79209,10 @@ const _8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79209
79209
|
} : {}
|
|
79210
79210
|
};
|
|
79211
79211
|
}) : I == null ? void 0 : I.map((Te) => {
|
|
79212
|
-
var Xe,
|
|
79212
|
+
var Xe, ct, Tt, St, Vt, ei, Ai, Qi, Gn, Pn, Rr, La, nu;
|
|
79213
79213
|
return {
|
|
79214
79214
|
data: (Te == null ? void 0 : Te.data) || [],
|
|
79215
|
-
type: ((
|
|
79215
|
+
type: ((ct = (Xe = S == null ? void 0 : S.seriesType) == null ? void 0 : Xe[0]) == null ? void 0 : ct.type) === "area" ? "line" : ((St = (Tt = S == null ? void 0 : S.seriesType) == null ? void 0 : Tt[0]) == null ? void 0 : St.type) === "stack" ? "bar" : ((ei = (Vt = S == null ? void 0 : S.seriesType) == null ? void 0 : Vt[0]) == null ? void 0 : ei.type) || "bar",
|
|
79216
79216
|
name: (Te == null ? void 0 : Te.name) || "series",
|
|
79217
79217
|
...((Qi = (Ai = S == null ? void 0 : S.seriesType) == null ? void 0 : Ai[0]) == null ? void 0 : Qi.type) === "stack" ? { stack: "total" } : {},
|
|
79218
79218
|
label: {
|
|
@@ -83496,12 +83496,12 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83496
83496
|
comparisonLagProps: n,
|
|
83497
83497
|
setResetPallete: r
|
|
83498
83498
|
}) => {
|
|
83499
|
-
var w, S, b, Y, U, R, P, W, B, X, F, G, Z, K, q, te, re, ge, se, De, Ie, Oe, ce, $e, He, at, ye, Ae, me, We, nt, ze, Be, he, Ge, zt, et, mt, Zt, hi, Jt, Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt,
|
|
83499
|
+
var w, S, b, Y, U, R, P, W, B, X, F, G, Z, K, q, te, re, ge, se, De, Ie, Oe, ce, $e, He, at, ye, Ae, me, We, nt, ze, Be, he, Ge, zt, et, mt, Zt, hi, Jt, Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt, gt, Gt, Ot, we, Ft, Yi, kn, jn, Rn, zi, Xn, hr, zM, Cr, jr, MM, Ee, pt, Rt, Bt, Bi, tn, nn, Ci, $r, or, Nr, Er, ba, xo, En, js, ya, un, _a, yu, $M, zu, CM, Jo, EM, Xo, Ko, Vu, po, ia, na, OM, Au, du, fu, Eo, Fu, Wa, Ts, za, On, Aa, $u, vo, Nn, So, wo, Hi, Wu, vr, Wr, hM, Ou, Tr, Wn, Co, QM, aM, da, qo, WM, Ba, CN, ra, hu, fe, Ye, Lt, Xt, mn, $i, tr, Qr, ir, ae, Le, Ke, rt, Et, Mi, _t, si, Ji, hn, Bn, Un, Ir, Lr, vn, Bu, QN, Is, dg, Ha, ys, zs, fg, aj, uj, Og, hg, pl, El, vl, Lg, Hu, oj, xg, aD, pg, Nj, uD, Sl, Ma, Gu, gM, Ga, eN, oD, wl, kN, Cl, Ql, ND, mN, sj, Dj, kl, ml, Ul, As, UN, YN;
|
|
83500
83500
|
const M = () => {
|
|
83501
83501
|
const Me = [...e.chartColors || []];
|
|
83502
83502
|
for (let ue = Me.length - 1; ue > 0; ue--) {
|
|
83503
|
-
const
|
|
83504
|
-
[Me[ue], Me[
|
|
83503
|
+
const lt = Math.floor(Math.random() * (ue + 1));
|
|
83504
|
+
[Me[ue], Me[lt]] = [Me[lt], Me[ue]];
|
|
83505
83505
|
}
|
|
83506
83506
|
i((ue) => ({
|
|
83507
83507
|
...ue,
|
|
@@ -83524,8 +83524,8 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83524
83524
|
var Me;
|
|
83525
83525
|
return (Me = e == null ? void 0 : e.yAxisList) == null ? void 0 : Me.filter(
|
|
83526
83526
|
(ue) => {
|
|
83527
|
-
var
|
|
83528
|
-
return !((ai = (
|
|
83527
|
+
var lt, ai;
|
|
83528
|
+
return !((ai = (lt = e.tableSettings) == null ? void 0 : lt.listColumns) != null && ai.includes(ue));
|
|
83529
83529
|
}
|
|
83530
83530
|
);
|
|
83531
83531
|
}, [(S = e.tableSettings) == null ? void 0 : S.listColumns, e.yAxisList]), z = Ne.useMemo(() => (I == null ? void 0 : I.map((Me) => ({
|
|
@@ -83535,8 +83535,8 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83535
83535
|
var Me;
|
|
83536
83536
|
return (Me = e == null ? void 0 : e.yAxisList) == null ? void 0 : Me.filter(
|
|
83537
83537
|
(ue) => {
|
|
83538
|
-
var
|
|
83539
|
-
return !((ai = (
|
|
83538
|
+
var lt, ai;
|
|
83539
|
+
return !((ai = (lt = e.tableSettings) == null ? void 0 : lt.badgeColumns) != null && ai.includes(ue));
|
|
83540
83540
|
}
|
|
83541
83541
|
);
|
|
83542
83542
|
}, [(b = e.tableSettings) == null ? void 0 : b.badgeColumns, e.yAxisList]), h = Ne.useMemo(() => (d == null ? void 0 : d.map((Me) => ({
|
|
@@ -83546,12 +83546,12 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83546
83546
|
Ne.useEffect(() => {
|
|
83547
83547
|
if (e.yAxisList !== void 0) {
|
|
83548
83548
|
const Me = e.yAxisList.map(
|
|
83549
|
-
(ue,
|
|
83549
|
+
(ue, lt) => {
|
|
83550
83550
|
var ai, Tn, rn, Br, kM, Lu;
|
|
83551
83551
|
return {
|
|
83552
83552
|
name: ue,
|
|
83553
|
-
prefix: ((rn = (Tn = (ai = e.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn[
|
|
83554
|
-
suffix: ((Lu = (kM = (Br = e.customSettings) == null ? void 0 : Br.comboAxisSymbols) == null ? void 0 : kM[
|
|
83553
|
+
prefix: ((rn = (Tn = (ai = e.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn[lt]) == null ? void 0 : rn.prefix) || "",
|
|
83554
|
+
suffix: ((Lu = (kM = (Br = e.customSettings) == null ? void 0 : Br.comboAxisSymbols) == null ? void 0 : kM[lt]) == null ? void 0 : Lu.suffix) || ""
|
|
83555
83555
|
};
|
|
83556
83556
|
}
|
|
83557
83557
|
);
|
|
@@ -83568,8 +83568,8 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83568
83568
|
var Me;
|
|
83569
83569
|
if (c.startColor && c.endColor && c.offset1 && c.offset2 && c.direction) {
|
|
83570
83570
|
const ue = ((Me = e.customSettings) == null ? void 0 : Me.gradients) || [];
|
|
83571
|
-
i((
|
|
83572
|
-
...
|
|
83571
|
+
i((lt) => ({
|
|
83572
|
+
...lt,
|
|
83573
83573
|
customSettings: {
|
|
83574
83574
|
...e.customSettings,
|
|
83575
83575
|
gradients: [
|
|
@@ -83590,10 +83590,10 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83590
83590
|
var Me;
|
|
83591
83591
|
D(""), g.backgrounColor && g.color && g.columnName && g.operator && g.value ? (i((ue) => {
|
|
83592
83592
|
var kM, Lu, sD;
|
|
83593
|
-
const { tableSettings:
|
|
83593
|
+
const { tableSettings: lt } = ue, ai = ((kM = lt == null ? void 0 : lt.conditionalFormatting) == null ? void 0 : kM.filter(
|
|
83594
83594
|
(ds) => ds.columnName !== g.columnName
|
|
83595
83595
|
)) || [], rn = [
|
|
83596
|
-
...((sD = (Lu =
|
|
83596
|
+
...((sD = (Lu = lt == null ? void 0 : lt.conditionalFormatting) == null ? void 0 : Lu.find(
|
|
83597
83597
|
(ds) => ds.columnName === g.columnName
|
|
83598
83598
|
)) == null ? void 0 : sD.rules) || [],
|
|
83599
83599
|
{
|
|
@@ -83614,7 +83614,7 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83614
83614
|
return {
|
|
83615
83615
|
...ue,
|
|
83616
83616
|
tableSettings: {
|
|
83617
|
-
...
|
|
83617
|
+
...lt,
|
|
83618
83618
|
conditionalFormatting: Br
|
|
83619
83619
|
}
|
|
83620
83620
|
};
|
|
@@ -83627,9 +83627,9 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83627
83627
|
}), u(!1)) : D("please add valid values for rule");
|
|
83628
83628
|
}, f = Ne.useCallback(
|
|
83629
83629
|
(Me) => {
|
|
83630
|
-
const ue = (z == null ? void 0 : z.map((
|
|
83631
|
-
i((
|
|
83632
|
-
...
|
|
83630
|
+
const ue = (z == null ? void 0 : z.map((lt) => lt.value)) || [];
|
|
83631
|
+
i((lt) => ({
|
|
83632
|
+
...lt,
|
|
83633
83633
|
tableSettings: {
|
|
83634
83634
|
...e.tableSettings,
|
|
83635
83635
|
badgeColumns: Me.filter(
|
|
@@ -83641,9 +83641,9 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83641
83641
|
[z, e.tableSettings, i]
|
|
83642
83642
|
), E = Ne.useCallback(
|
|
83643
83643
|
(Me) => {
|
|
83644
|
-
const ue = (h == null ? void 0 : h.map((
|
|
83645
|
-
i((
|
|
83646
|
-
...
|
|
83644
|
+
const ue = (h == null ? void 0 : h.map((lt) => lt.value)) || [];
|
|
83645
|
+
i((lt) => ({
|
|
83646
|
+
...lt,
|
|
83647
83647
|
tableSettings: {
|
|
83648
83648
|
...e.tableSettings,
|
|
83649
83649
|
listColumns: Me.filter(
|
|
@@ -83656,19 +83656,19 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83656
83656
|
), C = (Me) => {
|
|
83657
83657
|
i((ue) => {
|
|
83658
83658
|
var Tn;
|
|
83659
|
-
const { customSettings:
|
|
83659
|
+
const { customSettings: lt } = ue, ai = (Tn = lt == null ? void 0 : lt.gradients) == null ? void 0 : Tn.filter((rn) => rn.startColor !== Me.startColor || rn.endColor !== Me.endColor || rn.offset1 !== Me.offset1 || rn.offset2 !== Me.offset2 || rn.direction !== Me.direction);
|
|
83660
83660
|
return {
|
|
83661
83661
|
...ue,
|
|
83662
83662
|
customSettings: {
|
|
83663
|
-
...
|
|
83663
|
+
...lt,
|
|
83664
83664
|
gradients: ai
|
|
83665
83665
|
}
|
|
83666
83666
|
};
|
|
83667
83667
|
});
|
|
83668
83668
|
}, k = (Me, ue) => {
|
|
83669
|
-
i((
|
|
83669
|
+
i((lt) => {
|
|
83670
83670
|
var rn;
|
|
83671
|
-
const { tableSettings: ai } =
|
|
83671
|
+
const { tableSettings: ai } = lt, Tn = (rn = ai == null ? void 0 : ai.conditionalFormatting) == null ? void 0 : rn.map(
|
|
83672
83672
|
(Br) => {
|
|
83673
83673
|
if (Br.columnName === Me) {
|
|
83674
83674
|
const kM = Br.rules.filter(
|
|
@@ -83683,7 +83683,7 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
83683
83683
|
}
|
|
83684
83684
|
);
|
|
83685
83685
|
return {
|
|
83686
|
-
...
|
|
83686
|
+
...lt,
|
|
83687
83687
|
tableSettings: {
|
|
83688
83688
|
...ai,
|
|
83689
83689
|
conditionalFormatting: Tn == null ? void 0 : Tn.filter(
|
|
@@ -84180,7 +84180,7 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84180
84180
|
) })
|
|
84181
84181
|
] }),
|
|
84182
84182
|
(he = (Be = e.tableSettings) == null ? void 0 : Be.badgeColumns) == null ? void 0 : he.map((Me) => {
|
|
84183
|
-
var ue,
|
|
84183
|
+
var ue, lt, ai, Tn;
|
|
84184
84184
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
84185
84185
|
/* @__PURE__ */ v.jsx(Fe, { variant: "heading", children: Me }),
|
|
84186
84186
|
/* @__PURE__ */ v.jsxs("div", { className: Ve.badgeDiv, children: [
|
|
@@ -84202,7 +84202,7 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84202
84202
|
};
|
|
84203
84203
|
}),
|
|
84204
84204
|
defaultValue: "#f3f4f6",
|
|
84205
|
-
value: ((
|
|
84205
|
+
value: ((lt = (ue = e.tableSettings) == null ? void 0 : ue.badgeColors) == null ? void 0 : lt[Me]) || "#f3f4f6",
|
|
84206
84206
|
label: "Badge Color"
|
|
84207
84207
|
}
|
|
84208
84208
|
),
|
|
@@ -84634,13 +84634,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84634
84634
|
{
|
|
84635
84635
|
className: Ve.formattingContainer,
|
|
84636
84636
|
children: /* @__PURE__ */ v.jsx("div", { className: Ve.ruleContainer, children: Me.rules.map((ue) => {
|
|
84637
|
-
var
|
|
84637
|
+
var lt;
|
|
84638
84638
|
return /* @__PURE__ */ v.jsxs("div", { className: "dbn-flex dbn-gap-1 dbn-justify-between", children: [
|
|
84639
84639
|
/* @__PURE__ */ v.jsxs("div", { className: "dbn-flex dbn-gap-1", children: [
|
|
84640
84640
|
/* @__PURE__ */ v.jsx(Fe, { variant: "body-text-sm", children: Me.columnName }),
|
|
84641
|
-
/* @__PURE__ */ v.jsx(Fe, { variant: "body-text-sm", children: (
|
|
84641
|
+
/* @__PURE__ */ v.jsx(Fe, { variant: "body-text-sm", children: (lt = hE.find(
|
|
84642
84642
|
(ai) => ai.value === ue.operator
|
|
84643
|
-
)) == null ? void 0 :
|
|
84643
|
+
)) == null ? void 0 : lt.label }),
|
|
84644
84644
|
/* @__PURE__ */ v.jsx(Fe, { variant: "body-text-sm", children: /* @__PURE__ */ v.jsx(
|
|
84645
84645
|
"span",
|
|
84646
84646
|
{
|
|
@@ -84693,7 +84693,7 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84693
84693
|
xn,
|
|
84694
84694
|
{
|
|
84695
84695
|
name: "X-axis line",
|
|
84696
|
-
enabled: (
|
|
84696
|
+
enabled: (gt = e.customSettings) == null ? void 0 : gt.hideXAxisLines,
|
|
84697
84697
|
onChange: () => i((Me) => {
|
|
84698
84698
|
var ue;
|
|
84699
84699
|
return {
|
|
@@ -84853,13 +84853,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84853
84853
|
value: (zM = (hr = e.labelSettings) == null ? void 0 : hr.XAxisStyle) == null ? void 0 : zM.size,
|
|
84854
84854
|
onChange: (Me) => {
|
|
84855
84855
|
i((ue) => {
|
|
84856
|
-
var
|
|
84856
|
+
var lt;
|
|
84857
84857
|
return {
|
|
84858
84858
|
...ue,
|
|
84859
84859
|
labelSettings: {
|
|
84860
84860
|
...ue.labelSettings,
|
|
84861
84861
|
XAxisStyle: {
|
|
84862
|
-
...(
|
|
84862
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.XAxisStyle,
|
|
84863
84863
|
size: parseInt(Me.target.value, 10)
|
|
84864
84864
|
}
|
|
84865
84865
|
}
|
|
@@ -84878,13 +84878,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84878
84878
|
value: (jr = (Cr = e.labelSettings) == null ? void 0 : Cr.XAxisStyle) == null ? void 0 : jr.family,
|
|
84879
84879
|
onChange: (Me) => {
|
|
84880
84880
|
i((ue) => {
|
|
84881
|
-
var
|
|
84881
|
+
var lt;
|
|
84882
84882
|
return {
|
|
84883
84883
|
...ue,
|
|
84884
84884
|
labelSettings: {
|
|
84885
84885
|
...ue.labelSettings,
|
|
84886
84886
|
XAxisStyle: {
|
|
84887
|
-
...(
|
|
84887
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.XAxisStyle,
|
|
84888
84888
|
family: Me.target.value
|
|
84889
84889
|
}
|
|
84890
84890
|
}
|
|
@@ -84904,13 +84904,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84904
84904
|
value: (Ee = (MM = e.labelSettings) == null ? void 0 : MM.XAxisStyle) == null ? void 0 : Ee.weight,
|
|
84905
84905
|
onChange: (Me) => {
|
|
84906
84906
|
i((ue) => {
|
|
84907
|
-
var
|
|
84907
|
+
var lt;
|
|
84908
84908
|
return {
|
|
84909
84909
|
...ue,
|
|
84910
84910
|
labelSettings: {
|
|
84911
84911
|
...ue.labelSettings,
|
|
84912
84912
|
XAxisStyle: {
|
|
84913
|
-
...(
|
|
84913
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.XAxisStyle,
|
|
84914
84914
|
weight: parseInt(Me.target.value, 10)
|
|
84915
84915
|
}
|
|
84916
84916
|
}
|
|
@@ -84928,13 +84928,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
84928
84928
|
name: "color",
|
|
84929
84929
|
onChange: (Me) => {
|
|
84930
84930
|
i((ue) => {
|
|
84931
|
-
var
|
|
84931
|
+
var lt;
|
|
84932
84932
|
return {
|
|
84933
84933
|
...ue,
|
|
84934
84934
|
labelSettings: {
|
|
84935
84935
|
...ue.labelSettings,
|
|
84936
84936
|
XAxisStyle: {
|
|
84937
|
-
...(
|
|
84937
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.XAxisStyle,
|
|
84938
84938
|
color: Me
|
|
84939
84939
|
}
|
|
84940
84940
|
}
|
|
@@ -85059,13 +85059,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85059
85059
|
value: (or = ($r = e.labelSettings) == null ? void 0 : $r.YAxisStyle) == null ? void 0 : or.size,
|
|
85060
85060
|
onChange: (Me) => {
|
|
85061
85061
|
i((ue) => {
|
|
85062
|
-
var
|
|
85062
|
+
var lt;
|
|
85063
85063
|
return {
|
|
85064
85064
|
...ue,
|
|
85065
85065
|
labelSettings: {
|
|
85066
85066
|
...ue.labelSettings,
|
|
85067
85067
|
YAxisStyle: {
|
|
85068
|
-
...(
|
|
85068
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.YAxisStyle,
|
|
85069
85069
|
size: parseInt(Me.target.value, 10)
|
|
85070
85070
|
}
|
|
85071
85071
|
}
|
|
@@ -85084,13 +85084,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85084
85084
|
value: (Er = (Nr = e.labelSettings) == null ? void 0 : Nr.YAxisStyle) == null ? void 0 : Er.family,
|
|
85085
85085
|
onChange: (Me) => {
|
|
85086
85086
|
i((ue) => {
|
|
85087
|
-
var
|
|
85087
|
+
var lt;
|
|
85088
85088
|
return {
|
|
85089
85089
|
...ue,
|
|
85090
85090
|
labelSettings: {
|
|
85091
85091
|
...ue.labelSettings,
|
|
85092
85092
|
YAxisStyle: {
|
|
85093
|
-
...(
|
|
85093
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.YAxisStyle,
|
|
85094
85094
|
family: Me.target.value
|
|
85095
85095
|
}
|
|
85096
85096
|
}
|
|
@@ -85110,13 +85110,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85110
85110
|
value: (xo = (ba = e.labelSettings) == null ? void 0 : ba.YAxisStyle) == null ? void 0 : xo.weight,
|
|
85111
85111
|
onChange: (Me) => {
|
|
85112
85112
|
i((ue) => {
|
|
85113
|
-
var
|
|
85113
|
+
var lt;
|
|
85114
85114
|
return {
|
|
85115
85115
|
...ue,
|
|
85116
85116
|
labelSettings: {
|
|
85117
85117
|
...ue.labelSettings,
|
|
85118
85118
|
YAxisStyle: {
|
|
85119
|
-
...(
|
|
85119
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.YAxisStyle,
|
|
85120
85120
|
weight: parseInt(Me.target.value, 10)
|
|
85121
85121
|
}
|
|
85122
85122
|
}
|
|
@@ -85134,13 +85134,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85134
85134
|
name: "color",
|
|
85135
85135
|
onChange: (Me) => {
|
|
85136
85136
|
i((ue) => {
|
|
85137
|
-
var
|
|
85137
|
+
var lt;
|
|
85138
85138
|
return {
|
|
85139
85139
|
...ue,
|
|
85140
85140
|
labelSettings: {
|
|
85141
85141
|
...ue.labelSettings,
|
|
85142
85142
|
YAxisStyle: {
|
|
85143
|
-
...(
|
|
85143
|
+
...(lt = e.labelSettings) == null ? void 0 : lt.YAxisStyle,
|
|
85144
85144
|
color: Me
|
|
85145
85145
|
}
|
|
85146
85146
|
}
|
|
@@ -85557,8 +85557,8 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85557
85557
|
/* @__PURE__ */ v.jsxs("div", { className: "dbn-w-full dbn-flex dbn-justify-between dbn-items-center", children: [
|
|
85558
85558
|
/* @__PURE__ */ v.jsx(Fe, { variant: "body-text-sm", children: "Default Chart Gradients" }),
|
|
85559
85559
|
/* @__PURE__ */ v.jsx("div", { className: "dbn-flex dbn-gap-4 dbn-items-center", children: KQ == null ? void 0 : KQ.map((Me) => {
|
|
85560
|
-
var
|
|
85561
|
-
const ue = ((Tn = (ai = (
|
|
85560
|
+
var lt, ai, Tn, rn, Br, kM, Lu, sD, ds, Yl, gj, Ra, fs, bl, _l;
|
|
85561
|
+
const ue = ((Tn = (ai = (lt = e.customSettings) == null ? void 0 : lt.gradients) == null ? void 0 : ai[0]) == null ? void 0 : Tn.startColor) === Me.start && ((kM = (Br = (rn = e.customSettings) == null ? void 0 : rn.gradients) == null ? void 0 : Br[0]) == null ? void 0 : kM.endColor) === Me.end && ((ds = (sD = (Lu = e.customSettings) == null ? void 0 : Lu.gradients) == null ? void 0 : sD[0]) == null ? void 0 : ds.offset1) === Me.offset1 && ((Ra = (gj = (Yl = e.customSettings) == null ? void 0 : Yl.gradients) == null ? void 0 : gj[0]) == null ? void 0 : Ra.offset2) === Me.offset2 && ((_l = (bl = (fs = e.customSettings) == null ? void 0 : fs.gradients) == null ? void 0 : bl[0]) == null ? void 0 : _l.direction) === Me.direction;
|
|
85562
85562
|
return /* @__PURE__ */ v.jsx(
|
|
85563
85563
|
kt,
|
|
85564
85564
|
{
|
|
@@ -85750,13 +85750,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85750
85750
|
{
|
|
85751
85751
|
name: "startColor",
|
|
85752
85752
|
onChange: (Me) => i((ue) => {
|
|
85753
|
-
var
|
|
85753
|
+
var lt;
|
|
85754
85754
|
return {
|
|
85755
85755
|
...ue,
|
|
85756
85756
|
customSettings: {
|
|
85757
85757
|
...ue.customSettings,
|
|
85758
85758
|
barGradient: {
|
|
85759
|
-
...(
|
|
85759
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.barGradient,
|
|
85760
85760
|
startColor: Me
|
|
85761
85761
|
}
|
|
85762
85762
|
}
|
|
@@ -85774,13 +85774,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85774
85774
|
{
|
|
85775
85775
|
name: "endColor",
|
|
85776
85776
|
onChange: (Me) => i((ue) => {
|
|
85777
|
-
var
|
|
85777
|
+
var lt;
|
|
85778
85778
|
return {
|
|
85779
85779
|
...ue,
|
|
85780
85780
|
customSettings: {
|
|
85781
85781
|
...ue.customSettings,
|
|
85782
85782
|
barGradient: {
|
|
85783
|
-
...(
|
|
85783
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.barGradient,
|
|
85784
85784
|
endColor: Me
|
|
85785
85785
|
}
|
|
85786
85786
|
}
|
|
@@ -85800,13 +85800,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85800
85800
|
min: 0,
|
|
85801
85801
|
max: 1,
|
|
85802
85802
|
onChange: (Me) => i((ue) => {
|
|
85803
|
-
var
|
|
85803
|
+
var lt;
|
|
85804
85804
|
return {
|
|
85805
85805
|
...ue,
|
|
85806
85806
|
customSettings: {
|
|
85807
85807
|
...ue.customSettings,
|
|
85808
85808
|
barGradient: {
|
|
85809
|
-
...(
|
|
85809
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.barGradient,
|
|
85810
85810
|
offset1: Number(Me.target.value)
|
|
85811
85811
|
}
|
|
85812
85812
|
}
|
|
@@ -85825,13 +85825,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85825
85825
|
min: 0,
|
|
85826
85826
|
max: 1,
|
|
85827
85827
|
onChange: ({ target: { value: Me } }) => i((ue) => {
|
|
85828
|
-
var
|
|
85828
|
+
var lt;
|
|
85829
85829
|
return {
|
|
85830
85830
|
...ue,
|
|
85831
85831
|
customSettings: {
|
|
85832
85832
|
...ue.customSettings,
|
|
85833
85833
|
barGradient: {
|
|
85834
|
-
...(
|
|
85834
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.barGradient,
|
|
85835
85835
|
offset2: Number(Me)
|
|
85836
85836
|
}
|
|
85837
85837
|
}
|
|
@@ -85857,13 +85857,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85857
85857
|
{ label: "Bottom", value: "bottom" }
|
|
85858
85858
|
],
|
|
85859
85859
|
onChange: (Me) => i((ue) => {
|
|
85860
|
-
var
|
|
85860
|
+
var lt;
|
|
85861
85861
|
return {
|
|
85862
85862
|
...ue,
|
|
85863
85863
|
customSettings: {
|
|
85864
85864
|
...ue.customSettings,
|
|
85865
85865
|
barGradient: {
|
|
85866
|
-
...(
|
|
85866
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.barGradient,
|
|
85867
85867
|
direction: Me.value
|
|
85868
85868
|
}
|
|
85869
85869
|
}
|
|
@@ -85903,13 +85903,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85903
85903
|
{
|
|
85904
85904
|
name: "startBackColor",
|
|
85905
85905
|
onChange: (Me) => i((ue) => {
|
|
85906
|
-
var
|
|
85906
|
+
var lt;
|
|
85907
85907
|
return {
|
|
85908
85908
|
...ue,
|
|
85909
85909
|
customSettings: {
|
|
85910
85910
|
...ue.customSettings,
|
|
85911
85911
|
backgroundGradient: {
|
|
85912
|
-
...(
|
|
85912
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.backgroundGradient,
|
|
85913
85913
|
startColor: Me
|
|
85914
85914
|
}
|
|
85915
85915
|
}
|
|
@@ -85927,13 +85927,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85927
85927
|
{
|
|
85928
85928
|
name: "endBackColor",
|
|
85929
85929
|
onChange: (Me) => i((ue) => {
|
|
85930
|
-
var
|
|
85930
|
+
var lt;
|
|
85931
85931
|
return {
|
|
85932
85932
|
...ue,
|
|
85933
85933
|
customSettings: {
|
|
85934
85934
|
...ue.customSettings,
|
|
85935
85935
|
backgroundGradient: {
|
|
85936
|
-
...(
|
|
85936
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.backgroundGradient,
|
|
85937
85937
|
endColor: Me
|
|
85938
85938
|
}
|
|
85939
85939
|
}
|
|
@@ -85953,13 +85953,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85953
85953
|
min: 0,
|
|
85954
85954
|
max: 1,
|
|
85955
85955
|
onChange: (Me) => i((ue) => {
|
|
85956
|
-
var
|
|
85956
|
+
var lt;
|
|
85957
85957
|
return {
|
|
85958
85958
|
...ue,
|
|
85959
85959
|
customSettings: {
|
|
85960
85960
|
...ue.customSettings,
|
|
85961
85961
|
backgroundGradient: {
|
|
85962
|
-
...(
|
|
85962
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.backgroundGradient,
|
|
85963
85963
|
offset1: Number(Me.target.value)
|
|
85964
85964
|
}
|
|
85965
85965
|
}
|
|
@@ -85978,13 +85978,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
85978
85978
|
min: 0,
|
|
85979
85979
|
max: 1,
|
|
85980
85980
|
onChange: ({ target: { value: Me } }) => i((ue) => {
|
|
85981
|
-
var
|
|
85981
|
+
var lt;
|
|
85982
85982
|
return {
|
|
85983
85983
|
...ue,
|
|
85984
85984
|
customSettings: {
|
|
85985
85985
|
...ue.customSettings,
|
|
85986
85986
|
backgroundGradient: {
|
|
85987
|
-
...(
|
|
85987
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.backgroundGradient,
|
|
85988
85988
|
offset2: Number(Me)
|
|
85989
85989
|
}
|
|
85990
85990
|
}
|
|
@@ -86011,13 +86011,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86011
86011
|
{ label: "Bottom", value: "bottom" }
|
|
86012
86012
|
],
|
|
86013
86013
|
onChange: (Me) => i((ue) => {
|
|
86014
|
-
var
|
|
86014
|
+
var lt;
|
|
86015
86015
|
return {
|
|
86016
86016
|
...ue,
|
|
86017
86017
|
customSettings: {
|
|
86018
86018
|
...ue.customSettings,
|
|
86019
86019
|
backgroundGradient: {
|
|
86020
|
-
...(
|
|
86020
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.backgroundGradient,
|
|
86021
86021
|
direction: Me.value
|
|
86022
86022
|
}
|
|
86023
86023
|
}
|
|
@@ -86183,13 +86183,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86183
86183
|
label: "Prefix",
|
|
86184
86184
|
placeholder: "Add prefix to labels",
|
|
86185
86185
|
value: Me.prefix,
|
|
86186
|
-
onChange: (ue) => i((
|
|
86186
|
+
onChange: (ue) => i((lt) => {
|
|
86187
86187
|
var ai, Tn;
|
|
86188
86188
|
return {
|
|
86189
|
-
...
|
|
86189
|
+
...lt,
|
|
86190
86190
|
customSettings: {
|
|
86191
|
-
...
|
|
86192
|
-
comboAxisSymbols: (Tn = (ai =
|
|
86191
|
+
...lt.customSettings,
|
|
86192
|
+
comboAxisSymbols: (Tn = (ai = lt.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn.map(
|
|
86193
86193
|
(rn) => rn.name === Me.name ? {
|
|
86194
86194
|
...rn,
|
|
86195
86195
|
prefix: ue.target.value
|
|
@@ -86207,13 +86207,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86207
86207
|
label: "Suffix",
|
|
86208
86208
|
placeholder: "Add suffix to labels",
|
|
86209
86209
|
value: Me.suffix,
|
|
86210
|
-
onChange: (ue) => i((
|
|
86210
|
+
onChange: (ue) => i((lt) => {
|
|
86211
86211
|
var ai, Tn;
|
|
86212
86212
|
return {
|
|
86213
|
-
...
|
|
86213
|
+
...lt,
|
|
86214
86214
|
customSettings: {
|
|
86215
|
-
...
|
|
86216
|
-
comboAxisSymbols: (Tn = (ai =
|
|
86215
|
+
...lt.customSettings,
|
|
86216
|
+
comboAxisSymbols: (Tn = (ai = lt.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn.map(
|
|
86217
86217
|
(rn) => rn.name === Me.name ? {
|
|
86218
86218
|
...rn,
|
|
86219
86219
|
suffix: ue.target.value
|
|
@@ -86236,13 +86236,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86236
86236
|
label: "Prefix",
|
|
86237
86237
|
placeholder: "Add prefix to labels",
|
|
86238
86238
|
value: Me.prefix,
|
|
86239
|
-
onChange: (ue) => i((
|
|
86239
|
+
onChange: (ue) => i((lt) => {
|
|
86240
86240
|
var ai, Tn;
|
|
86241
86241
|
return {
|
|
86242
|
-
...
|
|
86242
|
+
...lt,
|
|
86243
86243
|
customSettings: {
|
|
86244
|
-
...
|
|
86245
|
-
comboAxisSymbols: (Tn = (ai =
|
|
86244
|
+
...lt.customSettings,
|
|
86245
|
+
comboAxisSymbols: (Tn = (ai = lt.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn.map(
|
|
86246
86246
|
(rn) => rn.name === Me.name ? {
|
|
86247
86247
|
...rn,
|
|
86248
86248
|
prefix: ue.target.value
|
|
@@ -86260,13 +86260,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86260
86260
|
label: "Suffix",
|
|
86261
86261
|
placeholder: "Add suffix to labels",
|
|
86262
86262
|
value: Me.suffix,
|
|
86263
|
-
onChange: (ue) => i((
|
|
86263
|
+
onChange: (ue) => i((lt) => {
|
|
86264
86264
|
var ai, Tn;
|
|
86265
86265
|
return {
|
|
86266
|
-
...
|
|
86266
|
+
...lt,
|
|
86267
86267
|
customSettings: {
|
|
86268
|
-
...
|
|
86269
|
-
comboAxisSymbols: (Tn = (ai =
|
|
86268
|
+
...lt.customSettings,
|
|
86269
|
+
comboAxisSymbols: (Tn = (ai = lt.customSettings) == null ? void 0 : ai.comboAxisSymbols) == null ? void 0 : Tn.map(
|
|
86270
86270
|
(rn) => rn.name === Me.name ? {
|
|
86271
86271
|
...rn,
|
|
86272
86272
|
suffix: ue.target.value
|
|
@@ -86290,13 +86290,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86290
86290
|
placeholder: "Add axis name",
|
|
86291
86291
|
value: (QN = (Bu = e == null ? void 0 : e.customSettings) == null ? void 0 : Bu.comboStackAxisSymbols) == null ? void 0 : QN.name,
|
|
86292
86292
|
onChange: ({ target: { value: Me } }) => i((ue) => {
|
|
86293
|
-
var
|
|
86293
|
+
var lt, ai, Tn, rn;
|
|
86294
86294
|
return {
|
|
86295
86295
|
...ue,
|
|
86296
86296
|
customSettings: {
|
|
86297
86297
|
...ue.customSettings,
|
|
86298
86298
|
comboStackAxisSymbols: {
|
|
86299
|
-
prefix: ((ai = (
|
|
86299
|
+
prefix: ((ai = (lt = ue.customSettings) == null ? void 0 : lt.comboStackAxisSymbols) == null ? void 0 : ai.prefix) || "",
|
|
86300
86300
|
name: Me,
|
|
86301
86301
|
suffix: ((rn = (Tn = ue.customSettings) == null ? void 0 : Tn.comboStackAxisSymbols) == null ? void 0 : rn.suffix) || ""
|
|
86302
86302
|
}
|
|
@@ -86314,14 +86314,14 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86314
86314
|
placeholder: "Add Suffix to labels",
|
|
86315
86315
|
value: (dg = (Is = e == null ? void 0 : e.customSettings) == null ? void 0 : Is.comboStackAxisSymbols) == null ? void 0 : dg.suffix,
|
|
86316
86316
|
onChange: ({ target: { value: Me } }) => i((ue) => {
|
|
86317
|
-
var
|
|
86317
|
+
var lt, ai, Tn, rn;
|
|
86318
86318
|
return {
|
|
86319
86319
|
...ue,
|
|
86320
86320
|
customSettings: {
|
|
86321
86321
|
...ue.customSettings,
|
|
86322
86322
|
comboStackAxisSymbols: {
|
|
86323
86323
|
suffix: Me,
|
|
86324
|
-
name: ((ai = (
|
|
86324
|
+
name: ((ai = (lt = ue.customSettings) == null ? void 0 : lt.comboStackAxisSymbols) == null ? void 0 : ai.name) || "",
|
|
86325
86325
|
prefix: ((rn = (Tn = ue.customSettings) == null ? void 0 : Tn.comboStackAxisSymbols) == null ? void 0 : rn.prefix) || ""
|
|
86326
86326
|
}
|
|
86327
86327
|
}
|
|
@@ -86337,14 +86337,14 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86337
86337
|
placeholder: "Add Prefix to labels",
|
|
86338
86338
|
value: (ys = (Ha = e == null ? void 0 : e.customSettings) == null ? void 0 : Ha.comboStackAxisSymbols) == null ? void 0 : ys.prefix,
|
|
86339
86339
|
onChange: ({ target: { value: Me } }) => i((ue) => {
|
|
86340
|
-
var
|
|
86340
|
+
var lt, ai, Tn, rn;
|
|
86341
86341
|
return {
|
|
86342
86342
|
...ue,
|
|
86343
86343
|
customSettings: {
|
|
86344
86344
|
...ue.customSettings,
|
|
86345
86345
|
comboStackAxisSymbols: {
|
|
86346
86346
|
prefix: Me,
|
|
86347
|
-
name: ((ai = (
|
|
86347
|
+
name: ((ai = (lt = ue.customSettings) == null ? void 0 : lt.comboStackAxisSymbols) == null ? void 0 : ai.name) || "",
|
|
86348
86348
|
suffix: ((rn = (Tn = ue.customSettings) == null ? void 0 : Tn.comboStackAxisSymbols) == null ? void 0 : rn.suffix) || ""
|
|
86349
86349
|
}
|
|
86350
86350
|
}
|
|
@@ -86373,12 +86373,12 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86373
86373
|
name: "show background",
|
|
86374
86374
|
enabled: (zs = e.backGroundColor) == null ? void 0 : zs.show,
|
|
86375
86375
|
onChange: () => i((Me) => {
|
|
86376
|
-
var ue,
|
|
86376
|
+
var ue, lt, ai;
|
|
86377
86377
|
return {
|
|
86378
86378
|
...Me,
|
|
86379
86379
|
sankeyValues: [
|
|
86380
86380
|
((ue = Me == null ? void 0 : Me.sankeyValues) == null ? void 0 : ue[1]) || "",
|
|
86381
|
-
((
|
|
86381
|
+
((lt = Me == null ? void 0 : Me.sankeyValues) == null ? void 0 : lt[0]) || "",
|
|
86382
86382
|
((ai = Me == null ? void 0 : Me.sankeyValues) == null ? void 0 : ai[2]) || ""
|
|
86383
86383
|
]
|
|
86384
86384
|
};
|
|
@@ -86425,15 +86425,15 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86425
86425
|
label: Me
|
|
86426
86426
|
}))) || [],
|
|
86427
86427
|
onChange: (Me) => i((ue) => {
|
|
86428
|
-
var
|
|
86428
|
+
var lt;
|
|
86429
86429
|
return {
|
|
86430
86430
|
...ue,
|
|
86431
|
-
comboBarList: ((
|
|
86431
|
+
comboBarList: ((lt = Me == null ? void 0 : Me.filter(
|
|
86432
86432
|
(ai) => {
|
|
86433
86433
|
var Tn;
|
|
86434
86434
|
return (Tn = e.yAxisList) == null ? void 0 : Tn.includes(ai.value);
|
|
86435
86435
|
}
|
|
86436
|
-
)) == null ? void 0 :
|
|
86436
|
+
)) == null ? void 0 : lt.map((ai) => ai.value)) || []
|
|
86437
86437
|
};
|
|
86438
86438
|
}),
|
|
86439
86439
|
menuWidth: "100%",
|
|
@@ -86630,14 +86630,14 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86630
86630
|
enabled: (oD = (eN = e.customSettings) == null ? void 0 : eN.chartZoom) == null ? void 0 : oD.isZoomEnabled,
|
|
86631
86631
|
onChange: () => {
|
|
86632
86632
|
i((Me) => {
|
|
86633
|
-
var ue,
|
|
86633
|
+
var ue, lt, ai;
|
|
86634
86634
|
return {
|
|
86635
86635
|
...Me,
|
|
86636
86636
|
customSettings: {
|
|
86637
86637
|
...Me.customSettings,
|
|
86638
86638
|
chartZoom: {
|
|
86639
86639
|
...(ue = Me.customSettings) == null ? void 0 : ue.chartZoom,
|
|
86640
|
-
isZoomEnabled: !((ai = (
|
|
86640
|
+
isZoomEnabled: !((ai = (lt = Me.customSettings) == null ? void 0 : lt.chartZoom) != null && ai.isZoomEnabled),
|
|
86641
86641
|
zoomAxis: "x",
|
|
86642
86642
|
zoomOnMouseWheel: !0
|
|
86643
86643
|
}
|
|
@@ -86669,13 +86669,13 @@ const pVe = "_primary_1nk48_1", EVe = "_secondary_1nk48_1", vVe = "_infoAlert_1n
|
|
|
86669
86669
|
}
|
|
86670
86670
|
],
|
|
86671
86671
|
onChange: (Me) => i((ue) => {
|
|
86672
|
-
var
|
|
86672
|
+
var lt;
|
|
86673
86673
|
return {
|
|
86674
86674
|
...ue,
|
|
86675
86675
|
customSettings: {
|
|
86676
86676
|
...ue.customSettings,
|
|
86677
86677
|
chartZoom: {
|
|
86678
|
-
...(
|
|
86678
|
+
...(lt = ue.customSettings) == null ? void 0 : lt.chartZoom,
|
|
86679
86679
|
zoomAxis: Me.value
|
|
86680
86680
|
}
|
|
86681
86681
|
}
|
|
@@ -88392,8 +88392,8 @@ const N$e = "_backdrop_1x4lb_1", s$e = "_panel_1x4lb_5", D$e = "_left_1x4lb_9",
|
|
|
88392
88392
|
onClose: () => b(!1),
|
|
88393
88393
|
enabledCharts: He,
|
|
88394
88394
|
onChartChange: (jt) => {
|
|
88395
|
-
B((
|
|
88396
|
-
...
|
|
88395
|
+
B((gt) => ({
|
|
88396
|
+
...gt,
|
|
88397
88397
|
chartType: jt
|
|
88398
88398
|
}));
|
|
88399
88399
|
},
|
|
@@ -101683,7 +101683,7 @@ BS.exports;
|
|
|
101683
101683
|
return fe ? "Symbol(src)_1." + fe : "";
|
|
101684
101684
|
}(), It = mt.toString, Ht = RegExp(
|
|
101685
101685
|
"^" + hi.call(Jt).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
101686
|
-
), Li = Oe ? se.Buffer : void 0, wi = se.Symbol, pe = se.Uint8Array, Qe = mt.propertyIsEnumerable, Se = zt.splice, ut = wi ? wi.toStringTag : void 0, jt = Object.getOwnPropertySymbols,
|
|
101686
|
+
), Li = Oe ? se.Buffer : void 0, wi = se.Symbol, pe = se.Uint8Array, Qe = mt.propertyIsEnumerable, Se = zt.splice, ut = wi ? wi.toStringTag : void 0, jt = Object.getOwnPropertySymbols, gt = Li ? Li.isBuffer : void 0, Gt = he(Object.keys, Object), Ot = Aa(se, "DataView"), we = Aa(se, "Map"), Ft = Aa(se, "Promise"), Yi = Aa(se, "Set"), kn = Aa(se, "WeakMap"), jn = Aa(Object, "create"), Rn = Wr(Ot), zi = Wr(we), Xn = Wr(Ft), hr = Wr(Yi), zM = Wr(kn), Cr = wi ? wi.prototype : void 0, jr = Cr ? Cr.valueOf : void 0;
|
|
101687
101687
|
function MM(fe) {
|
|
101688
101688
|
var Ye = -1, Lt = fe == null ? 0 : fe.length;
|
|
101689
101689
|
for (this.clear(); ++Ye < Lt; ) {
|
|
@@ -102062,7 +102062,7 @@ BS.exports;
|
|
|
102062
102062
|
function Wn(fe) {
|
|
102063
102063
|
return fe != null && da(fe.length) && !aM(fe);
|
|
102064
102064
|
}
|
|
102065
|
-
var Co =
|
|
102065
|
+
var Co = gt || hu;
|
|
102066
102066
|
function QM(fe, Ye) {
|
|
102067
102067
|
return OM(fe, Ye);
|
|
102068
102068
|
}
|
|
@@ -113126,7 +113126,7 @@ const AKe = "_cardContainer_1hdy4_1", dKe = "_morePopup_1hdy4_9", fKe = "_listHe
|
|
|
113126
113126
|
downloadMetrics: k,
|
|
113127
113127
|
onDownload: w
|
|
113128
113128
|
}) => {
|
|
113129
|
-
var Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt,
|
|
113129
|
+
var Ze, It, Ht, Li, wi, pe, Qe, Se, ut, jt, gt, Gt;
|
|
113130
113130
|
const {
|
|
113131
113131
|
dataDb: S,
|
|
113132
113132
|
getUnderlyingData: b,
|
|
@@ -113584,7 +113584,7 @@ const AKe = "_cardContainer_1hdy4_1", dKe = "_morePopup_1hdy4_9", fKe = "_listHe
|
|
|
113584
113584
|
...Jt.customSettings,
|
|
113585
113585
|
chartZoom: {
|
|
113586
113586
|
...(ut = Jt.customSettings) == null ? void 0 : ut.chartZoom,
|
|
113587
|
-
zoomAxis: at ? (
|
|
113587
|
+
zoomAxis: at ? (gt = (jt = Jt.customSettings) == null ? void 0 : jt.chartZoom) == null ? void 0 : gt.zoomAxis : "none",
|
|
113588
113588
|
zoomOnMouseWheel: !1
|
|
113589
113589
|
}
|
|
113590
113590
|
}
|
|
@@ -121292,7 +121292,7 @@ const cat = "_dbcLastCardLevel_kosld_4", jat = "_dbcLastMetricCardLevel_kosld_7"
|
|
|
121292
121292
|
onDownload: x,
|
|
121293
121293
|
downloadMetrics: O
|
|
121294
121294
|
}) => {
|
|
121295
|
-
var Li, wi, pe, Qe, Se, ut, jt,
|
|
121295
|
+
var Li, wi, pe, Qe, Se, ut, jt, gt, Gt, Ot;
|
|
121296
121296
|
const f = Ne.useRef(), [E, C] = Ne.useState(!1), [k, w] = Ne.useState(!1), [S, b] = Ne.useState(!1), {
|
|
121297
121297
|
dataDb: Y,
|
|
121298
121298
|
getUnderlyingData: U,
|
|
@@ -121619,7 +121619,7 @@ const cat = "_dbcLastCardLevel_kosld_4", jat = "_dbcLastMetricCardLevel_kosld_7"
|
|
|
121619
121619
|
columnName: P,
|
|
121620
121620
|
getUnderlyingData: U,
|
|
121621
121621
|
clickBehaviourConfigs: (jt = e.clickActions) == null ? void 0 : jt.chart,
|
|
121622
|
-
elementRef: { containerRef: me, event: (
|
|
121622
|
+
elementRef: { containerRef: me, event: (gt = F == null ? void 0 : F.event) == null ? void 0 : gt.event },
|
|
121623
121623
|
position: "dynamic",
|
|
121624
121624
|
isSingleValueChart: We.chartType === ve.singleValue
|
|
121625
121625
|
}
|
|
@@ -122986,7 +122986,6 @@ const Uut = _e.memo(
|
|
|
122986
122986
|
),
|
|
122987
122987
|
position: "bottom-start",
|
|
122988
122988
|
offset: [0, 10],
|
|
122989
|
-
autoCloseParent: !0,
|
|
122990
122989
|
children: /* @__PURE__ */ v.jsx("div", { className: "dbn-p-2", children: x == null ? void 0 : x.map(
|
|
122991
122990
|
(S) => {
|
|
122992
122991
|
var b;
|
|
@@ -123306,7 +123305,7 @@ const Uut = _e.memo(
|
|
|
123306
123305
|
me(
|
|
123307
123306
|
C.filter((we) => we.configType === "DIMENSION")
|
|
123308
123307
|
)
|
|
123309
|
-
),
|
|
123308
|
+
), gt = Se || We(
|
|
123310
123309
|
me(
|
|
123311
123310
|
C.filter((we) => we.configType === "AGGREGATE")
|
|
123312
123311
|
)
|
|
@@ -123315,7 +123314,7 @@ const Uut = _e.memo(
|
|
|
123315
123314
|
C.filter((we) => we.configType === "AGGREGATE")
|
|
123316
123315
|
)
|
|
123317
123316
|
);
|
|
123318
|
-
if (
|
|
123317
|
+
if (gt.length === 0 && ![
|
|
123319
123318
|
ve.table,
|
|
123320
123319
|
ve.horizontalStackTable,
|
|
123321
123320
|
ve.singleValue
|
|
@@ -123333,7 +123332,7 @@ const Uut = _e.memo(
|
|
|
123333
123332
|
D((we) => ({
|
|
123334
123333
|
...we,
|
|
123335
123334
|
chartType: pe || we.chartType,
|
|
123336
|
-
singleValue: (
|
|
123335
|
+
singleValue: (gt == null ? void 0 : gt[0]) || (jt == null ? void 0 : jt[0])
|
|
123337
123336
|
}));
|
|
123338
123337
|
else if (Gt.length && (pe === ve.pivot || pe === ve.treeMap) && ((Ot = c == null ? void 0 : c.data) != null && Ot.length))
|
|
123339
123338
|
D((we) => ({
|
|
@@ -123349,17 +123348,17 @@ const Uut = _e.memo(
|
|
|
123349
123348
|
D((we) => ({
|
|
123350
123349
|
...we,
|
|
123351
123350
|
chartType: pe || we.chartType,
|
|
123352
|
-
yAxisList: [...jt, ...
|
|
123351
|
+
yAxisList: [...jt, ...gt]
|
|
123353
123352
|
}));
|
|
123354
123353
|
else if (pe === ve.waterfall)
|
|
123355
123354
|
D((we) => ({
|
|
123356
123355
|
...we,
|
|
123357
123356
|
chartType: pe || we.chartType,
|
|
123358
123357
|
xAxis: jt == null ? void 0 : jt[0],
|
|
123359
|
-
yAxisList: [
|
|
123358
|
+
yAxisList: [gt == null ? void 0 : gt[0]]
|
|
123360
123359
|
}));
|
|
123361
123360
|
else if (pe === ve.sankey) {
|
|
123362
|
-
const Ft = (jt == null ? void 0 : jt.length) > 1 ? [jt == null ? void 0 : jt[0], jt == null ? void 0 : jt[1],
|
|
123361
|
+
const Ft = (jt == null ? void 0 : jt.length) > 1 ? [jt == null ? void 0 : jt[0], jt == null ? void 0 : jt[1], gt == null ? void 0 : gt[0]] : [(jt == null ? void 0 : jt[0]) || (gt == null ? void 0 : gt[0]), gt == null ? void 0 : gt[1], gt == null ? void 0 : gt[2]];
|
|
123363
123362
|
D((Yi) => ({
|
|
123364
123363
|
...Yi,
|
|
123365
123364
|
chartType: pe || Yi.chartType,
|
|
@@ -123370,17 +123369,17 @@ const Uut = _e.memo(
|
|
|
123370
123369
|
...we,
|
|
123371
123370
|
chartType: pe || we.chartType,
|
|
123372
123371
|
step: (jt == null ? void 0 : jt[0]) || "",
|
|
123373
|
-
measure:
|
|
123372
|
+
measure: gt == null ? void 0 : gt[0]
|
|
123374
123373
|
})) : pe === ve.horizontalStackTable ? D((we) => ({
|
|
123375
123374
|
...we,
|
|
123376
123375
|
chartType: pe || we.chartType,
|
|
123377
|
-
stackTableCols:
|
|
123376
|
+
stackTableCols: gt || [],
|
|
123378
123377
|
yAxisList: jt
|
|
123379
123378
|
})) : D((we) => ({
|
|
123380
123379
|
...we,
|
|
123381
123380
|
chartType: pe || we.chartType,
|
|
123382
123381
|
xAxis: jt == null ? void 0 : jt[0],
|
|
123383
|
-
yAxisList:
|
|
123382
|
+
yAxisList: gt
|
|
123384
123383
|
}));
|
|
123385
123384
|
}, ze = [
|
|
123386
123385
|
{ value: "bar", label: "Bar Chart", icon: "bar-chart" },
|
|
@@ -123390,7 +123389,7 @@ const Uut = _e.memo(
|
|
|
123390
123389
|
() => {
|
|
123391
123390
|
var pe;
|
|
123392
123391
|
return ((pe = ge == null ? void 0 : ge.tableList) == null ? void 0 : pe.map((Qe) => {
|
|
123393
|
-
var ut, jt,
|
|
123392
|
+
var ut, jt, gt, Gt, Ot, we, Ft, Yi, kn, jn;
|
|
123394
123393
|
return {
|
|
123395
123394
|
columns: ((ut = Qe == null ? void 0 : Qe.columns) == null ? void 0 : ut.map((Rn) => Rn.name)) || [],
|
|
123396
123395
|
columnsWithDataType: (jt = Qe == null ? void 0 : Qe.columns) == null ? void 0 : jt.map((Rn) => ({
|
|
@@ -123401,7 +123400,7 @@ const Uut = _e.memo(
|
|
|
123401
123400
|
companyId: "",
|
|
123402
123401
|
id: "",
|
|
123403
123402
|
recentUpdatedAt: 0,
|
|
123404
|
-
schemaName: ((Gt = (
|
|
123403
|
+
schemaName: ((Gt = (gt = Qe == null ? void 0 : Qe.tableName) == null ? void 0 : gt.split(".")) == null ? void 0 : Gt[0]) || "",
|
|
123405
123404
|
tableName: ((we = (Ot = Qe == null ? void 0 : Qe.tableName) == null ? void 0 : Ot.split(".")) == null ? void 0 : we[1]) || "",
|
|
123406
123405
|
clientColumn: (Qe == null ? void 0 : Qe.clientColumn) || "",
|
|
123407
123406
|
alias: `${((Yi = (Ft = Qe == null ? void 0 : Qe.tableName) == null ? void 0 : Ft.split(".")) == null ? void 0 : Yi[0]) || ""}_${((jn = (kn = Qe == null ? void 0 : Qe.tableName) == null ? void 0 : kn.split(".")) == null ? void 0 : jn[1]) || ""}`
|
|
@@ -123416,7 +123415,7 @@ const Uut = _e.memo(
|
|
|
123416
123415
|
var Qe;
|
|
123417
123416
|
return (((Qe = f == null ? void 0 : f.columnsWithDataType) == null ? void 0 : Qe.map((Se) => {
|
|
123418
123417
|
var jn, Rn;
|
|
123419
|
-
const ut = Se == null ? void 0 : Se.dataType, jt = Ae(void 0, ut),
|
|
123418
|
+
const ut = Se == null ? void 0 : Se.dataType, jt = Ae(void 0, ut), gt = pd.includes(ut == null ? void 0 : ut.toLowerCase()), Gt = p0.includes(ut == null ? void 0 : ut.toLowerCase()), Ot = jd.includes(ut == null ? void 0 : ut.toLowerCase()) || ((jn = ut == null ? void 0 : ut.toLowerCase()) == null ? void 0 : jn.includes("char")), we = ((Rn = b.find((zi) => zi.column === Se.name)) == null ? void 0 : Rn.values) || [], Ft = gt ? $4e.map((zi, Xn) => ({
|
|
123420
123419
|
alias: zi.alias(Se.name),
|
|
123421
123420
|
configType: "FILTER",
|
|
123422
123421
|
datatype: Se.dataType,
|
|
@@ -123639,7 +123638,7 @@ const Uut = _e.memo(
|
|
|
123639
123638
|
pe.push(jr);
|
|
123640
123639
|
}
|
|
123641
123640
|
});
|
|
123642
|
-
const
|
|
123641
|
+
const gt = {
|
|
123643
123642
|
...P,
|
|
123644
123643
|
dimensions: pe,
|
|
123645
123644
|
aggregates: Qe,
|
|
@@ -123655,11 +123654,11 @@ const Uut = _e.memo(
|
|
|
123655
123654
|
limit: jt || Uh.limit,
|
|
123656
123655
|
filters: Se
|
|
123657
123656
|
};
|
|
123658
|
-
W(
|
|
123657
|
+
W(gt), He(
|
|
123659
123658
|
{
|
|
123660
123659
|
data: {
|
|
123661
123660
|
cId: i,
|
|
123662
|
-
configuration:
|
|
123661
|
+
configuration: gt,
|
|
123663
123662
|
id: ce
|
|
123664
123663
|
},
|
|
123665
123664
|
token: De
|
|
@@ -123798,13 +123797,13 @@ const Uut = _e.memo(
|
|
|
123798
123797
|
helperFunction: Qe,
|
|
123799
123798
|
functionConfiguration: Se
|
|
123800
123799
|
}) => {
|
|
123801
|
-
const ut = Qe.value === "NONE", jt = `${ut ? pe.name : `${Qe.label.toLowerCase()} of ${pe.name}`}`,
|
|
123800
|
+
const ut = Qe.value === "NONE", jt = `${ut ? pe.name : `${Qe.label.toLowerCase()} of ${pe.name}`}`, gt = uL.includes(Qe.value), Gt = C.map(
|
|
123802
123801
|
(Ot) => Ot.alias === pe.alias ? {
|
|
123803
123802
|
...Ot,
|
|
123804
123803
|
helperFunction: Qe.value,
|
|
123805
123804
|
alias: jt,
|
|
123806
|
-
configType:
|
|
123807
|
-
dropType:
|
|
123805
|
+
configType: gt ? "AGGREGATE" : "DIMENSION",
|
|
123806
|
+
dropType: gt ? "METRIC" : "DIMENSION",
|
|
123808
123807
|
type: ut ? "DEFAULT" : "HELPER_FUNCTION",
|
|
123809
123808
|
functionConfiguration: Se
|
|
123810
123809
|
} : Ot
|
|
@@ -123824,17 +123823,17 @@ const Uut = _e.memo(
|
|
|
123824
123823
|
Y([]);
|
|
123825
123824
|
const pe = ((Qe = f == null ? void 0 : f.columnsWithDataType) == null ? void 0 : Qe.filter(
|
|
123826
123825
|
(ut) => {
|
|
123827
|
-
var jt,
|
|
123828
|
-
return jd.includes(((jt = ut == null ? void 0 : ut.dataType) == null ? void 0 : jt.toLowerCase()) || "") || ((Gt = (
|
|
123826
|
+
var jt, gt, Gt;
|
|
123827
|
+
return jd.includes(((jt = ut == null ? void 0 : ut.dataType) == null ? void 0 : jt.toLowerCase()) || "") || ((Gt = (gt = ut == null ? void 0 : ut.dataType) == null ? void 0 : gt.toLowerCase()) == null ? void 0 : Gt.includes("char"));
|
|
123829
123828
|
}
|
|
123830
123829
|
)) || [];
|
|
123831
123830
|
if (pe.length && De && f)
|
|
123832
123831
|
for (let ut = 0; ut < pe.length; ut += 1) {
|
|
123833
|
-
const jt = (Se = pe[ut]) == null ? void 0 : Se.name,
|
|
123832
|
+
const jt = (Se = pe[ut]) == null ? void 0 : Se.name, gt = await ye({
|
|
123834
123833
|
columnName: jt,
|
|
123835
123834
|
wId: ce,
|
|
123836
123835
|
tableName: `${f == null ? void 0 : f.schemaName}.${f == null ? void 0 : f.tableName}`
|
|
123837
|
-
}), Gt =
|
|
123836
|
+
}), Gt = gt != null && gt.data && Array.isArray(gt == null ? void 0 : gt.data) && (gt != null && gt.data.length) ? gt.data.map((Ot) => Ot.value) : [];
|
|
123838
123837
|
Y((Ot) => [
|
|
123839
123838
|
...Ot,
|
|
123840
123839
|
{ column: jt, values: Gt }
|
|
@@ -124091,7 +124090,8 @@ const Uut = _e.memo(
|
|
|
124091
124090
|
onChartChange: (ge) => {
|
|
124092
124091
|
P({ chartType: ge });
|
|
124093
124092
|
},
|
|
124094
|
-
selectedChart: z.chartType
|
|
124093
|
+
selectedChart: z.chartType,
|
|
124094
|
+
zIndex: 9999
|
|
124095
124095
|
}
|
|
124096
124096
|
}
|
|
124097
124097
|
),
|