@devtable/dashboard 14.32.0 → 14.32.1
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/dashboard.es.js
CHANGED
|
@@ -2444,7 +2444,7 @@ function fm() {
|
|
|
2444
2444
|
} = P.useContext(ns);
|
|
2445
2445
|
return e ? document.getElementById(e) : null;
|
|
2446
2446
|
}
|
|
2447
|
-
const as = "14.32.
|
|
2447
|
+
const as = "14.32.1", bm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2448
2448
|
__proto__: null,
|
|
2449
2449
|
version: as
|
|
2450
2450
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -14798,7 +14798,7 @@ function J0(e) {
|
|
|
14798
14798
|
};
|
|
14799
14799
|
return delete t.additionalSeries, t;
|
|
14800
14800
|
}
|
|
14801
|
-
class
|
|
14801
|
+
class e1 extends Se {
|
|
14802
14802
|
constructor() {
|
|
14803
14803
|
super(...arguments);
|
|
14804
14804
|
j(this, "VERSION", 7);
|
|
@@ -14864,10 +14864,10 @@ class ew extends Se {
|
|
|
14864
14864
|
});
|
|
14865
14865
|
}
|
|
14866
14866
|
}
|
|
14867
|
-
const
|
|
14867
|
+
const t1 = {
|
|
14868
14868
|
displayName: "viz.radar_chart.viz_name",
|
|
14869
14869
|
displayGroup: "chart.groups.echarts_based_charts",
|
|
14870
|
-
migrator: new
|
|
14870
|
+
migrator: new e1(),
|
|
14871
14871
|
name: "radar",
|
|
14872
14872
|
viewRender: q0,
|
|
14873
14873
|
configRender: Q0,
|
|
@@ -14878,7 +14878,7 @@ const tw = {
|
|
|
14878
14878
|
triggers: [dc],
|
|
14879
14879
|
translation: W0
|
|
14880
14880
|
};
|
|
14881
|
-
function
|
|
14881
|
+
function n1(e, t) {
|
|
14882
14882
|
const {
|
|
14883
14883
|
plot: n,
|
|
14884
14884
|
transform: a
|
|
@@ -14904,7 +14904,7 @@ function mc(e, t) {
|
|
|
14904
14904
|
const n = B(e.x_axis.data_key), a = B(e.regression.y_axis_data_key);
|
|
14905
14905
|
return C.uniqBy(t.map((i) => [i[n.columnKey], i[a.columnKey]]), 0);
|
|
14906
14906
|
}
|
|
14907
|
-
function
|
|
14907
|
+
function r1(e, t) {
|
|
14908
14908
|
const {
|
|
14909
14909
|
plot: n,
|
|
14910
14910
|
transform: a
|
|
@@ -14925,7 +14925,7 @@ function rw(e, t) {
|
|
|
14925
14925
|
}
|
|
14926
14926
|
}];
|
|
14927
14927
|
}
|
|
14928
|
-
function
|
|
14928
|
+
function a1(e, t) {
|
|
14929
14929
|
const {
|
|
14930
14930
|
plot: n,
|
|
14931
14931
|
transform: a,
|
|
@@ -14948,15 +14948,15 @@ function aw(e, t) {
|
|
|
14948
14948
|
};
|
|
14949
14949
|
});
|
|
14950
14950
|
}
|
|
14951
|
-
function
|
|
14951
|
+
function i1(e, t) {
|
|
14952
14952
|
if (t.length === 0)
|
|
14953
14953
|
return [];
|
|
14954
14954
|
const {
|
|
14955
14955
|
group_by_key: n
|
|
14956
14956
|
} = e.regression;
|
|
14957
|
-
return n ?
|
|
14957
|
+
return n ? a1(e, t) : r1(e, t);
|
|
14958
14958
|
}
|
|
14959
|
-
function
|
|
14959
|
+
function o1(e) {
|
|
14960
14960
|
return Array.isArray(e) || (e = [e]), e.map((t) => ({
|
|
14961
14961
|
marker: t.marker,
|
|
14962
14962
|
label: t.seriesName,
|
|
@@ -14964,11 +14964,11 @@ function ow(e) {
|
|
|
14964
14964
|
y: t.value[1]
|
|
14965
14965
|
}));
|
|
14966
14966
|
}
|
|
14967
|
-
function
|
|
14967
|
+
function l1(e) {
|
|
14968
14968
|
return pe.getTooltip({
|
|
14969
14969
|
trigger: "axis",
|
|
14970
14970
|
formatter: (t) => {
|
|
14971
|
-
const n =
|
|
14971
|
+
const n = o1(t);
|
|
14972
14972
|
return n.length === 0 ? "" : `
|
|
14973
14973
|
<table style="width: auto">
|
|
14974
14974
|
<thead>
|
|
@@ -14999,7 +14999,7 @@ function lw(e) {
|
|
|
14999
14999
|
}
|
|
15000
15000
|
});
|
|
15001
15001
|
}
|
|
15002
|
-
function
|
|
15002
|
+
function s1(e) {
|
|
15003
15003
|
const {
|
|
15004
15004
|
overflow: t,
|
|
15005
15005
|
format: n,
|
|
@@ -15025,7 +15025,7 @@ function sw(e) {
|
|
|
15025
15025
|
}
|
|
15026
15026
|
});
|
|
15027
15027
|
}
|
|
15028
|
-
const
|
|
15028
|
+
const c1 = {
|
|
15029
15029
|
tooltip: {
|
|
15030
15030
|
trigger: "axis"
|
|
15031
15031
|
},
|
|
@@ -15044,9 +15044,9 @@ const cw = {
|
|
|
15044
15044
|
yAxisIndex: [0]
|
|
15045
15045
|
}]
|
|
15046
15046
|
};
|
|
15047
|
-
function
|
|
15048
|
-
const n =
|
|
15049
|
-
xAxis:
|
|
15047
|
+
function d1(e, t) {
|
|
15048
|
+
const n = i1(e, t), a = n1(e, n), i = {
|
|
15049
|
+
xAxis: s1(e),
|
|
15050
15050
|
yAxis: pe.getYAxis({
|
|
15051
15051
|
name: e.y_axis.name ?? "",
|
|
15052
15052
|
nameLocation: "end",
|
|
@@ -15056,7 +15056,7 @@ function dw(e, t) {
|
|
|
15056
15056
|
nameGap: 5
|
|
15057
15057
|
}),
|
|
15058
15058
|
series: [...n, ...a],
|
|
15059
|
-
tooltip:
|
|
15059
|
+
tooltip: l1(e),
|
|
15060
15060
|
legend: {
|
|
15061
15061
|
show: !0,
|
|
15062
15062
|
type: "scroll",
|
|
@@ -15070,7 +15070,7 @@ function dw(e, t) {
|
|
|
15070
15070
|
data: n.map((o) => o.name)
|
|
15071
15071
|
}
|
|
15072
15072
|
};
|
|
15073
|
-
return He({}, i,
|
|
15073
|
+
return He({}, i, c1);
|
|
15074
15074
|
}
|
|
15075
15075
|
const go = {
|
|
15076
15076
|
output: "number",
|
|
@@ -15081,7 +15081,7 @@ const go = {
|
|
|
15081
15081
|
function Gr(e, t, n) {
|
|
15082
15082
|
return 1 - (1 - e) * (t - 1) / (t - n - 1);
|
|
15083
15083
|
}
|
|
15084
|
-
function
|
|
15084
|
+
function u1(e, t, n, a) {
|
|
15085
15085
|
const {
|
|
15086
15086
|
x_axis: i,
|
|
15087
15087
|
y_axis: o
|
|
@@ -15105,7 +15105,7 @@ function uw(e, t, n, a) {
|
|
|
15105
15105
|
adjustedRSquared: Gr(d, t.length, 1)
|
|
15106
15106
|
};
|
|
15107
15107
|
}
|
|
15108
|
-
function
|
|
15108
|
+
function h1(e, t, n, a) {
|
|
15109
15109
|
const {
|
|
15110
15110
|
x_axis: i,
|
|
15111
15111
|
y_axis: o
|
|
@@ -15133,7 +15133,7 @@ function hw(e, t, n, a) {
|
|
|
15133
15133
|
adjustedRSquared: Gr(c, t.length, 1)
|
|
15134
15134
|
};
|
|
15135
15135
|
}
|
|
15136
|
-
function
|
|
15136
|
+
function p1(e, t, n, a) {
|
|
15137
15137
|
const {
|
|
15138
15138
|
x_axis: i,
|
|
15139
15139
|
y_axis: o
|
|
@@ -15161,7 +15161,7 @@ function pw(e, t, n, a) {
|
|
|
15161
15161
|
adjustedRSquared: Gr(c, t.length, 1)
|
|
15162
15162
|
};
|
|
15163
15163
|
}
|
|
15164
|
-
function
|
|
15164
|
+
function m1(e, t, n, a) {
|
|
15165
15165
|
const {
|
|
15166
15166
|
x_axis: i,
|
|
15167
15167
|
y_axis: o,
|
|
@@ -15181,14 +15181,14 @@ function fo(e, t, n) {
|
|
|
15181
15181
|
regression: a,
|
|
15182
15182
|
x_axis: i
|
|
15183
15183
|
} = n, o = B(i.data_key), l = B(a.y_axis_data_key), s = t.map((c) => [c[o.columnKey], c[l.columnKey]]);
|
|
15184
|
-
return a.transform.config.method === "linear" ?
|
|
15184
|
+
return a.transform.config.method === "linear" ? u1(e, t, s, n) : a.transform.config.method === "exponential" ? h1(e, t, s, n) : a.transform.config.method === "logistic" ? p1(e, t, s, n) : a.transform.config.method === "polynomial" ? m1(e, t, s, n) : {
|
|
15185
15185
|
name: e,
|
|
15186
15186
|
expression: "",
|
|
15187
15187
|
rSquared: 0,
|
|
15188
15188
|
adjustedRSquared: 0
|
|
15189
15189
|
};
|
|
15190
15190
|
}
|
|
15191
|
-
function
|
|
15191
|
+
function g1(e, t) {
|
|
15192
15192
|
if (!t)
|
|
15193
15193
|
return [{
|
|
15194
15194
|
name: "",
|
|
@@ -15201,7 +15201,7 @@ function gw(e, t) {
|
|
|
15201
15201
|
const n = B(t.regression.group_by_key), a = C.groupBy(e, n.columnKey);
|
|
15202
15202
|
return Object.entries(a).map(([i, o]) => fo(i, o, t));
|
|
15203
15203
|
}
|
|
15204
|
-
const
|
|
15204
|
+
const f1 = {
|
|
15205
15205
|
marginTop: "10px",
|
|
15206
15206
|
"tbody th, tbody td": {
|
|
15207
15207
|
padding: "7px 10px"
|
|
@@ -15220,7 +15220,7 @@ function bo({
|
|
|
15220
15220
|
rSquared: a,
|
|
15221
15221
|
adjustedRSquared: i
|
|
15222
15222
|
} = e;
|
|
15223
|
-
return n ? /* @__PURE__ */ r(w, { fz: 14, sx:
|
|
15223
|
+
return n ? /* @__PURE__ */ r(w, { fz: 14, sx: f1, children: /* @__PURE__ */ u(w.Tbody, { children: [
|
|
15224
15224
|
/* @__PURE__ */ r(w.Tr, { children: /* @__PURE__ */ r(w.Td, { colSpan: 2, children: /* @__PURE__ */ r(k, { size: "sm", ta: "center", children: n }) }) }),
|
|
15225
15225
|
/* @__PURE__ */ u(w.Tr, { children: [
|
|
15226
15226
|
/* @__PURE__ */ r(w.Td, { children: t("viz.regression_chart.r_sq") }),
|
|
@@ -15244,18 +15244,18 @@ function bo({
|
|
|
15244
15244
|
] })
|
|
15245
15245
|
] }) }) : /* @__PURE__ */ r(k, { size: "sm", children: "Unavailable for this regression method" });
|
|
15246
15246
|
}
|
|
15247
|
-
function
|
|
15247
|
+
function b1({
|
|
15248
15248
|
conf: e,
|
|
15249
15249
|
queryData: t
|
|
15250
15250
|
}) {
|
|
15251
15251
|
var a;
|
|
15252
|
-
const n = z(() =>
|
|
15252
|
+
const n = z(() => g1(t, e), [e, t]);
|
|
15253
15253
|
return e.regression.group_by_key ? (console.log(n), /* @__PURE__ */ u(S, { defaultValue: (a = n[0]) == null ? void 0 : a.name, color: "gray", children: [
|
|
15254
15254
|
/* @__PURE__ */ r(S.List, { grow: !0, children: n.map((i) => /* @__PURE__ */ r(S.Tab, { value: i.name, children: i.name }, i.name)) }),
|
|
15255
15255
|
n.map((i) => /* @__PURE__ */ r(S.Panel, { value: i.name, children: /* @__PURE__ */ r(bo, { desc: i }) }, i.name))
|
|
15256
15256
|
] })) : /* @__PURE__ */ r(bo, { desc: n[0] });
|
|
15257
15257
|
}
|
|
15258
|
-
function
|
|
15258
|
+
function y1({
|
|
15259
15259
|
conf: e,
|
|
15260
15260
|
queryData: t
|
|
15261
15261
|
}) {
|
|
@@ -15264,10 +15264,10 @@ function yw({
|
|
|
15264
15264
|
} = x();
|
|
15265
15265
|
return /* @__PURE__ */ u(xe, { shadow: "md", withinPortal: !0, zIndex: 320, children: [
|
|
15266
15266
|
/* @__PURE__ */ r(xe.Target, { children: /* @__PURE__ */ r(L, { variant: "subtle", size: "compact-xs", leftSection: /* @__PURE__ */ r(Re, { size: 14 }), children: n("viz.regression_chart.regression_info") }) }),
|
|
15267
|
-
/* @__PURE__ */ r(xe.Dropdown, { children: /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(
|
|
15267
|
+
/* @__PURE__ */ r(xe.Dropdown, { children: /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(b1, { conf: e, queryData: t }) }) })
|
|
15268
15268
|
] });
|
|
15269
15269
|
}
|
|
15270
|
-
function
|
|
15270
|
+
function _1(e) {
|
|
15271
15271
|
return /* @__PURE__ */ r(_, { justify: "space-between", sx: {
|
|
15272
15272
|
position: "absolute",
|
|
15273
15273
|
top: 0,
|
|
@@ -15275,7 +15275,7 @@ function _w(e) {
|
|
|
15275
15275
|
right: Ze.right,
|
|
15276
15276
|
height: "22px",
|
|
15277
15277
|
zIndex: 1
|
|
15278
|
-
}, children: /* @__PURE__ */ r(
|
|
15278
|
+
}, children: /* @__PURE__ */ r(y1, { ...e }) });
|
|
15279
15279
|
}
|
|
15280
15280
|
const _i = {
|
|
15281
15281
|
x_axis: {
|
|
@@ -15314,7 +15314,7 @@ const _i = {
|
|
|
15314
15314
|
y_axis_data_key: "value"
|
|
15315
15315
|
}
|
|
15316
15316
|
};
|
|
15317
|
-
function
|
|
15317
|
+
function x1({
|
|
15318
15318
|
context: e,
|
|
15319
15319
|
instance: t
|
|
15320
15320
|
}) {
|
|
@@ -15333,7 +15333,7 @@ function xw({
|
|
|
15333
15333
|
...M,
|
|
15334
15334
|
[v.columnKey]: Number(M[v.columnKey])
|
|
15335
15335
|
});
|
|
15336
|
-
}, [e.data, n == null ? void 0 : n.regression.y_axis_data_key]), l = z(() =>
|
|
15336
|
+
}, [e.data, n == null ? void 0 : n.regression.y_axis_data_key]), l = z(() => d1(He({}, n, _i), o), [n, o]), s = Pt(null), c = (p) => {
|
|
15337
15337
|
s.current = p;
|
|
15338
15338
|
}, d = ae(() => {
|
|
15339
15339
|
const p = s.current;
|
|
@@ -15342,11 +15342,11 @@ function xw({
|
|
|
15342
15342
|
finished: d
|
|
15343
15343
|
}), [d]);
|
|
15344
15344
|
return !a || !i || !n ? null : /* @__PURE__ */ u(nt, { width: a, height: i, children: [
|
|
15345
|
-
/* @__PURE__ */ r(
|
|
15345
|
+
/* @__PURE__ */ r(_1, { conf: n, queryData: o }),
|
|
15346
15346
|
/* @__PURE__ */ r(Ge, { echarts: Be, onChartReady: c, option: l, onEvents: h, style: Zn(a, i), notMerge: !0, theme: "merico-light" })
|
|
15347
15347
|
] });
|
|
15348
15348
|
}
|
|
15349
|
-
function
|
|
15349
|
+
function v1({
|
|
15350
15350
|
control: e,
|
|
15351
15351
|
watch: t
|
|
15352
15352
|
}) {
|
|
@@ -15396,7 +15396,7 @@ function vw({
|
|
|
15396
15396
|
}) => /* @__PURE__ */ r(Ke, { label: n("chart.color.label"), ...s }) }) })
|
|
15397
15397
|
] });
|
|
15398
15398
|
}
|
|
15399
|
-
function
|
|
15399
|
+
function w1({
|
|
15400
15400
|
control: e,
|
|
15401
15401
|
watch: t
|
|
15402
15402
|
}) {
|
|
@@ -15439,7 +15439,7 @@ function ww({
|
|
|
15439
15439
|
}) => /* @__PURE__ */ r(Dt, { ...n }) })
|
|
15440
15440
|
] });
|
|
15441
15441
|
}
|
|
15442
|
-
function
|
|
15442
|
+
function S1({
|
|
15443
15443
|
control: e,
|
|
15444
15444
|
watch: t
|
|
15445
15445
|
}) {
|
|
@@ -15456,7 +15456,7 @@ function Sw({
|
|
|
15456
15456
|
}, ...n }) })
|
|
15457
15457
|
] }) });
|
|
15458
15458
|
}
|
|
15459
|
-
function
|
|
15459
|
+
function C1({
|
|
15460
15460
|
context: e
|
|
15461
15461
|
}) {
|
|
15462
15462
|
const {
|
|
@@ -15486,13 +15486,13 @@ function Cw({
|
|
|
15486
15486
|
/* @__PURE__ */ r(S.Tab, { value: "Y轴", children: "Y轴" }),
|
|
15487
15487
|
/* @__PURE__ */ r(S.Tab, { value: "回归", children: "回归" })
|
|
15488
15488
|
] }),
|
|
15489
|
-
/* @__PURE__ */ r(S.Panel, { value: "X轴", children: /* @__PURE__ */ r(
|
|
15490
|
-
/* @__PURE__ */ r(S.Panel, { value: "Y轴", children: /* @__PURE__ */ r(
|
|
15491
|
-
/* @__PURE__ */ r(S.Panel, { value: "回归", children: /* @__PURE__ */ r(
|
|
15489
|
+
/* @__PURE__ */ r(S.Panel, { value: "X轴", children: /* @__PURE__ */ r(w1, { watch: l, control: i }) }),
|
|
15490
|
+
/* @__PURE__ */ r(S.Panel, { value: "Y轴", children: /* @__PURE__ */ r(S1, { watch: l, control: i }) }),
|
|
15491
|
+
/* @__PURE__ */ r(S.Panel, { value: "回归", children: /* @__PURE__ */ r(v1, { control: i, watch: l }) })
|
|
15492
15492
|
] })
|
|
15493
15493
|
] }) });
|
|
15494
15494
|
}
|
|
15495
|
-
function
|
|
15495
|
+
function k1(e) {
|
|
15496
15496
|
const t = {
|
|
15497
15497
|
x_axis: {
|
|
15498
15498
|
axisLabel: {
|
|
@@ -15508,7 +15508,7 @@ function kw(e) {
|
|
|
15508
15508
|
};
|
|
15509
15509
|
return C.defaultsDeep(t, e);
|
|
15510
15510
|
}
|
|
15511
|
-
function
|
|
15511
|
+
function z1(e, {
|
|
15512
15512
|
panelModel: t
|
|
15513
15513
|
}) {
|
|
15514
15514
|
try {
|
|
@@ -15536,28 +15536,28 @@ function zw(e, {
|
|
|
15536
15536
|
throw console.error("[Migration failed]", n), n;
|
|
15537
15537
|
}
|
|
15538
15538
|
}
|
|
15539
|
-
const
|
|
15539
|
+
const T1 = {
|
|
15540
15540
|
regression_chart: {
|
|
15541
15541
|
viz_name: "Regression Chart",
|
|
15542
15542
|
regression_info: "Regression Info",
|
|
15543
15543
|
r_sq: "R-Sq",
|
|
15544
15544
|
r_sq_adjusted: "R-Sq(Adjusted)"
|
|
15545
15545
|
}
|
|
15546
|
-
},
|
|
15546
|
+
}, D1 = {
|
|
15547
15547
|
regression_chart: {
|
|
15548
15548
|
viz_name: "回归分析图",
|
|
15549
15549
|
regression_info: "回归信息",
|
|
15550
15550
|
r_sq: "R方",
|
|
15551
15551
|
r_sq_adjusted: "R方(调整)"
|
|
15552
15552
|
}
|
|
15553
|
-
},
|
|
15553
|
+
}, I1 = [{
|
|
15554
15554
|
lang: "en",
|
|
15555
|
-
resources:
|
|
15555
|
+
resources: T1
|
|
15556
15556
|
}, {
|
|
15557
15557
|
lang: "zh",
|
|
15558
|
-
resources:
|
|
15558
|
+
resources: D1
|
|
15559
15559
|
}];
|
|
15560
|
-
class
|
|
15560
|
+
class M1 extends Se {
|
|
15561
15561
|
constructor() {
|
|
15562
15562
|
super(...arguments);
|
|
15563
15563
|
j(this, "VERSION", 3);
|
|
@@ -15569,7 +15569,7 @@ class Mw extends Se {
|
|
|
15569
15569
|
})), this.version(2, (n) => ({
|
|
15570
15570
|
...n,
|
|
15571
15571
|
version: 2,
|
|
15572
|
-
config:
|
|
15572
|
+
config: k1(n.config)
|
|
15573
15573
|
})), this.version(3, (n, a) => {
|
|
15574
15574
|
const {
|
|
15575
15575
|
config: i
|
|
@@ -15577,28 +15577,28 @@ class Mw extends Se {
|
|
|
15577
15577
|
return {
|
|
15578
15578
|
...n,
|
|
15579
15579
|
version: 3,
|
|
15580
|
-
config:
|
|
15580
|
+
config: z1(i, a)
|
|
15581
15581
|
};
|
|
15582
15582
|
});
|
|
15583
15583
|
}
|
|
15584
15584
|
}
|
|
15585
|
-
const
|
|
15585
|
+
const L1 = {
|
|
15586
15586
|
displayName: "viz.regression_chart.viz_name",
|
|
15587
15587
|
displayGroup: "chart.groups.merico_suite",
|
|
15588
|
-
migrator: new
|
|
15588
|
+
migrator: new M1(),
|
|
15589
15589
|
name: "regressionChart",
|
|
15590
|
-
viewRender:
|
|
15591
|
-
configRender:
|
|
15590
|
+
viewRender: x1,
|
|
15591
|
+
configRender: C1,
|
|
15592
15592
|
createConfig() {
|
|
15593
15593
|
return {
|
|
15594
15594
|
version: 3,
|
|
15595
15595
|
config: Pe(_i)
|
|
15596
15596
|
};
|
|
15597
15597
|
},
|
|
15598
|
-
translation:
|
|
15598
|
+
translation: I1
|
|
15599
15599
|
}, Wr = {
|
|
15600
15600
|
content: ""
|
|
15601
|
-
},
|
|
15601
|
+
}, V1 = D(({
|
|
15602
15602
|
context: e
|
|
15603
15603
|
}) => {
|
|
15604
15604
|
const t = Te(), {
|
|
@@ -15621,7 +15621,7 @@ const Lw = {
|
|
|
15621
15621
|
padding: 0
|
|
15622
15622
|
}
|
|
15623
15623
|
}, dashboardState: t.dashboardState, variableAggValueMap: n.variableAggValueMap }) : null;
|
|
15624
|
-
}), $
|
|
15624
|
+
}), $1 = D(({
|
|
15625
15625
|
context: e
|
|
15626
15626
|
}) => {
|
|
15627
15627
|
const {
|
|
@@ -15669,22 +15669,22 @@ const Lw = {
|
|
|
15669
15669
|
}
|
|
15670
15670
|
}, label: n("rich_text.content.label"), onSubmit: p }) })
|
|
15671
15671
|
] }) });
|
|
15672
|
-
}),
|
|
15672
|
+
}), A1 = {
|
|
15673
15673
|
rich_text: {
|
|
15674
15674
|
viz_name: "Rich Text"
|
|
15675
15675
|
}
|
|
15676
|
-
},
|
|
15676
|
+
}, P1 = {
|
|
15677
15677
|
rich_text: {
|
|
15678
15678
|
viz_name: "富文本"
|
|
15679
15679
|
}
|
|
15680
|
-
},
|
|
15680
|
+
}, R1 = [{
|
|
15681
15681
|
lang: "en",
|
|
15682
|
-
resources:
|
|
15682
|
+
resources: A1
|
|
15683
15683
|
}, {
|
|
15684
15684
|
lang: "zh",
|
|
15685
|
-
resources:
|
|
15685
|
+
resources: P1
|
|
15686
15686
|
}];
|
|
15687
|
-
class
|
|
15687
|
+
class E1 extends Se {
|
|
15688
15688
|
constructor() {
|
|
15689
15689
|
super(...arguments);
|
|
15690
15690
|
j(this, "VERSION", 1);
|
|
@@ -15699,20 +15699,20 @@ class Ew extends Se {
|
|
|
15699
15699
|
}));
|
|
15700
15700
|
}
|
|
15701
15701
|
}
|
|
15702
|
-
const
|
|
15702
|
+
const O1 = {
|
|
15703
15703
|
displayName: "viz.rich_text.viz_name",
|
|
15704
15704
|
displayGroup: "chart.groups.others",
|
|
15705
|
-
migrator: new
|
|
15705
|
+
migrator: new E1(),
|
|
15706
15706
|
name: "richText",
|
|
15707
|
-
viewRender:
|
|
15708
|
-
configRender: $
|
|
15707
|
+
viewRender: V1,
|
|
15708
|
+
configRender: $1,
|
|
15709
15709
|
createConfig() {
|
|
15710
15710
|
return {
|
|
15711
15711
|
version: 1,
|
|
15712
15712
|
config: Pe(Wr)
|
|
15713
15713
|
};
|
|
15714
15714
|
},
|
|
15715
|
-
translation:
|
|
15715
|
+
translation: R1
|
|
15716
15716
|
}, er = {
|
|
15717
15717
|
static: {
|
|
15718
15718
|
type: "static",
|
|
@@ -15777,7 +15777,7 @@ const fc = {
|
|
|
15777
15777
|
reference_areas: [],
|
|
15778
15778
|
dataZoom: _n
|
|
15779
15779
|
};
|
|
15780
|
-
function
|
|
15780
|
+
function q1(e) {
|
|
15781
15781
|
const {
|
|
15782
15782
|
dataZoom: t = _n,
|
|
15783
15783
|
...n
|
|
@@ -15787,7 +15787,7 @@ function qw(e) {
|
|
|
15787
15787
|
dataZoom: t
|
|
15788
15788
|
};
|
|
15789
15789
|
}
|
|
15790
|
-
function
|
|
15790
|
+
function F1(e) {
|
|
15791
15791
|
const t = {
|
|
15792
15792
|
scatter: {
|
|
15793
15793
|
label_overflow: gc()
|
|
@@ -15795,7 +15795,7 @@ function Fw(e) {
|
|
|
15795
15795
|
};
|
|
15796
15796
|
return C.defaultsDeep(t, e);
|
|
15797
15797
|
}
|
|
15798
|
-
function
|
|
15798
|
+
function N1(e) {
|
|
15799
15799
|
const {
|
|
15800
15800
|
color: t
|
|
15801
15801
|
} = e.scatter;
|
|
@@ -15810,7 +15810,7 @@ function Nw(e) {
|
|
|
15810
15810
|
}
|
|
15811
15811
|
} : e;
|
|
15812
15812
|
}
|
|
15813
|
-
function
|
|
15813
|
+
function B1(e) {
|
|
15814
15814
|
const t = e.reference_lines.map((n) => {
|
|
15815
15815
|
const {
|
|
15816
15816
|
lineStyle: a = {
|
|
@@ -15833,7 +15833,7 @@ function Bw(e) {
|
|
|
15833
15833
|
reference_lines: t
|
|
15834
15834
|
};
|
|
15835
15835
|
}
|
|
15836
|
-
function
|
|
15836
|
+
function j1(e) {
|
|
15837
15837
|
const t = {
|
|
15838
15838
|
tooltip: {
|
|
15839
15839
|
trigger: "item"
|
|
@@ -15841,7 +15841,7 @@ function jw(e) {
|
|
|
15841
15841
|
};
|
|
15842
15842
|
return C.defaultsDeep({}, e, t);
|
|
15843
15843
|
}
|
|
15844
|
-
function
|
|
15844
|
+
function Q1(e, {
|
|
15845
15845
|
panelModel: t
|
|
15846
15846
|
}) {
|
|
15847
15847
|
try {
|
|
@@ -15877,7 +15877,7 @@ function Qw(e, {
|
|
|
15877
15877
|
throw console.error("[Migration failed]", n), n;
|
|
15878
15878
|
}
|
|
15879
15879
|
}
|
|
15880
|
-
function
|
|
15880
|
+
function H1(e) {
|
|
15881
15881
|
const t = {
|
|
15882
15882
|
x_axis: {
|
|
15883
15883
|
axisLabel: {
|
|
@@ -15887,7 +15887,7 @@ function Hw(e) {
|
|
|
15887
15887
|
};
|
|
15888
15888
|
return C.defaultsDeep(t, e);
|
|
15889
15889
|
}
|
|
15890
|
-
function
|
|
15890
|
+
function G1(e, t) {
|
|
15891
15891
|
const {
|
|
15892
15892
|
stats: n,
|
|
15893
15893
|
...a
|
|
@@ -15900,7 +15900,7 @@ function Gw(e, t) {
|
|
|
15900
15900
|
...a
|
|
15901
15901
|
};
|
|
15902
15902
|
}
|
|
15903
|
-
class
|
|
15903
|
+
class W1 extends Se {
|
|
15904
15904
|
constructor() {
|
|
15905
15905
|
super(...arguments);
|
|
15906
15906
|
j(this, "VERSION", 11);
|
|
@@ -15927,7 +15927,7 @@ class Ww extends Se {
|
|
|
15927
15927
|
}), this.version(3, (n) => ({
|
|
15928
15928
|
...n,
|
|
15929
15929
|
version: 3,
|
|
15930
|
-
config:
|
|
15930
|
+
config: q1(n.config)
|
|
15931
15931
|
})), this.version(4, (n) => {
|
|
15932
15932
|
const {
|
|
15933
15933
|
config: a
|
|
@@ -15935,7 +15935,7 @@ class Ww extends Se {
|
|
|
15935
15935
|
return {
|
|
15936
15936
|
...n,
|
|
15937
15937
|
version: 5,
|
|
15938
|
-
config:
|
|
15938
|
+
config: F1(a)
|
|
15939
15939
|
};
|
|
15940
15940
|
}), this.version(6, (n) => {
|
|
15941
15941
|
const {
|
|
@@ -15944,7 +15944,7 @@ class Ww extends Se {
|
|
|
15944
15944
|
return {
|
|
15945
15945
|
...n,
|
|
15946
15946
|
version: 6,
|
|
15947
|
-
config:
|
|
15947
|
+
config: N1(a)
|
|
15948
15948
|
};
|
|
15949
15949
|
}), this.version(7, (n) => {
|
|
15950
15950
|
const {
|
|
@@ -15953,7 +15953,7 @@ class Ww extends Se {
|
|
|
15953
15953
|
return {
|
|
15954
15954
|
...n,
|
|
15955
15955
|
version: 7,
|
|
15956
|
-
config:
|
|
15956
|
+
config: B1(a)
|
|
15957
15957
|
};
|
|
15958
15958
|
}), this.version(8, (n) => {
|
|
15959
15959
|
const {
|
|
@@ -15962,7 +15962,7 @@ class Ww extends Se {
|
|
|
15962
15962
|
return {
|
|
15963
15963
|
...n,
|
|
15964
15964
|
version: 8,
|
|
15965
|
-
config:
|
|
15965
|
+
config: j1(a)
|
|
15966
15966
|
};
|
|
15967
15967
|
}), this.version(9, (n, a) => {
|
|
15968
15968
|
const {
|
|
@@ -15971,7 +15971,7 @@ class Ww extends Se {
|
|
|
15971
15971
|
return {
|
|
15972
15972
|
...n,
|
|
15973
15973
|
version: 9,
|
|
15974
|
-
config:
|
|
15974
|
+
config: Q1(i, a)
|
|
15975
15975
|
};
|
|
15976
15976
|
}), this.version(10, (n, a) => {
|
|
15977
15977
|
const {
|
|
@@ -15980,7 +15980,7 @@ class Ww extends Se {
|
|
|
15980
15980
|
return {
|
|
15981
15981
|
...n,
|
|
15982
15982
|
version: 10,
|
|
15983
|
-
config:
|
|
15983
|
+
config: H1(i)
|
|
15984
15984
|
};
|
|
15985
15985
|
}), this.version(11, (n, a) => {
|
|
15986
15986
|
const {
|
|
@@ -15989,12 +15989,12 @@ class Ww extends Se {
|
|
|
15989
15989
|
return {
|
|
15990
15990
|
...n,
|
|
15991
15991
|
version: 11,
|
|
15992
|
-
config:
|
|
15992
|
+
config: G1(i, a.panelModel)
|
|
15993
15993
|
};
|
|
15994
15994
|
});
|
|
15995
15995
|
}
|
|
15996
15996
|
}
|
|
15997
|
-
const
|
|
15997
|
+
const U1 = {
|
|
15998
15998
|
scatter_chart: {
|
|
15999
15999
|
viz_name: "Scatter Chart",
|
|
16000
16000
|
color: {
|
|
@@ -16011,7 +16011,7 @@ const Uw = {
|
|
|
16011
16011
|
trigger: "Click Scatter"
|
|
16012
16012
|
}
|
|
16013
16013
|
}
|
|
16014
|
-
},
|
|
16014
|
+
}, K1 = {
|
|
16015
16015
|
scatter_chart: {
|
|
16016
16016
|
viz_name: "散点图",
|
|
16017
16017
|
color: {
|
|
@@ -16028,17 +16028,17 @@ const Uw = {
|
|
|
16028
16028
|
trigger: "点击散点"
|
|
16029
16029
|
}
|
|
16030
16030
|
}
|
|
16031
|
-
},
|
|
16031
|
+
}, Y1 = [{
|
|
16032
16032
|
lang: "en",
|
|
16033
|
-
resources:
|
|
16033
|
+
resources: U1
|
|
16034
16034
|
}, {
|
|
16035
16035
|
lang: "zh",
|
|
16036
|
-
resources:
|
|
16036
|
+
resources: K1
|
|
16037
16037
|
}], bc = {
|
|
16038
16038
|
id: "builtin:echarts:click-scatter-chart:series",
|
|
16039
16039
|
displayName: "viz.scatter_chart.click_scatter.trigger",
|
|
16040
|
-
nameRender:
|
|
16041
|
-
configRender:
|
|
16040
|
+
nameRender: Z1,
|
|
16041
|
+
configRender: X1,
|
|
16042
16042
|
payload: [{
|
|
16043
16043
|
name: "seriesType",
|
|
16044
16044
|
description: '"scatter"',
|
|
@@ -16065,16 +16065,16 @@ const Uw = {
|
|
|
16065
16065
|
valueType: "object"
|
|
16066
16066
|
}]
|
|
16067
16067
|
};
|
|
16068
|
-
function
|
|
16068
|
+
function X1(e) {
|
|
16069
16069
|
return /* @__PURE__ */ r(F, {});
|
|
16070
16070
|
}
|
|
16071
|
-
function
|
|
16071
|
+
function Z1(e) {
|
|
16072
16072
|
const {
|
|
16073
16073
|
t
|
|
16074
16074
|
} = x();
|
|
16075
16075
|
return /* @__PURE__ */ r(k, { size: "sm", children: t("viz.scatter_chart.click_scatter.trigger") });
|
|
16076
16076
|
}
|
|
16077
|
-
function
|
|
16077
|
+
function J1(e, t) {
|
|
16078
16078
|
if (!e.x_axis.data_key)
|
|
16079
16079
|
return [];
|
|
16080
16080
|
const n = B(e.x_axis.data_key);
|
|
@@ -16082,7 +16082,7 @@ function Jw(e, t) {
|
|
|
16082
16082
|
source: t[n.queryID]
|
|
16083
16083
|
}];
|
|
16084
16084
|
}
|
|
16085
|
-
function
|
|
16085
|
+
function ew(e) {
|
|
16086
16086
|
const t = e.y_axes.some((i) => !!i.name);
|
|
16087
16087
|
let n = 15;
|
|
16088
16088
|
t && (n += 20), e.dataZoom.x_axis_slider && (n += 20);
|
|
@@ -16092,7 +16092,7 @@ function e1(e) {
|
|
|
16092
16092
|
bottom: a
|
|
16093
16093
|
};
|
|
16094
16094
|
}
|
|
16095
|
-
function
|
|
16095
|
+
function tw() {
|
|
16096
16096
|
return {
|
|
16097
16097
|
show: !1,
|
|
16098
16098
|
bottom: 0,
|
|
@@ -16104,7 +16104,7 @@ function nr(e, t) {
|
|
|
16104
16104
|
if (e)
|
|
16105
16105
|
return t[e] ?? void 0;
|
|
16106
16106
|
}
|
|
16107
|
-
function
|
|
16107
|
+
function nw({
|
|
16108
16108
|
reference_areas: e,
|
|
16109
16109
|
variableValueMap: t
|
|
16110
16110
|
}) {
|
|
@@ -16129,7 +16129,7 @@ function n1({
|
|
|
16129
16129
|
}
|
|
16130
16130
|
};
|
|
16131
16131
|
}
|
|
16132
|
-
function
|
|
16132
|
+
function rw({
|
|
16133
16133
|
type: e,
|
|
16134
16134
|
...t
|
|
16135
16135
|
}, n) {
|
|
@@ -16160,7 +16160,7 @@ function r1({
|
|
|
16160
16160
|
}
|
|
16161
16161
|
};
|
|
16162
16162
|
}
|
|
16163
|
-
function
|
|
16163
|
+
function aw({
|
|
16164
16164
|
type: e,
|
|
16165
16165
|
...t
|
|
16166
16166
|
}, n) {
|
|
@@ -16191,7 +16191,7 @@ function a1({
|
|
|
16191
16191
|
}
|
|
16192
16192
|
};
|
|
16193
16193
|
}
|
|
16194
|
-
function
|
|
16194
|
+
function iw(e, t, n, a) {
|
|
16195
16195
|
return e.map((i) => {
|
|
16196
16196
|
const o = i.orientation === "horizontal", l = o ? "yAxis" : "xAxis", s = o ? "insideEndTop" : "end";
|
|
16197
16197
|
return {
|
|
@@ -16219,7 +16219,7 @@ function i1(e, t, n, a) {
|
|
|
16219
16219
|
};
|
|
16220
16220
|
});
|
|
16221
16221
|
}
|
|
16222
|
-
function
|
|
16222
|
+
function ow({
|
|
16223
16223
|
x_axis: e,
|
|
16224
16224
|
scatter: t
|
|
16225
16225
|
}, n) {
|
|
@@ -16239,17 +16239,17 @@ function o1({
|
|
|
16239
16239
|
yAxisIndex: 0,
|
|
16240
16240
|
datasetIndex: 0,
|
|
16241
16241
|
itemStyle: {
|
|
16242
|
-
color:
|
|
16242
|
+
color: aw(t.color, n)
|
|
16243
16243
|
},
|
|
16244
|
-
symbolSize:
|
|
16244
|
+
symbolSize: rw(t.symbolSize, n),
|
|
16245
16245
|
encode: {
|
|
16246
16246
|
x: a.columnKey,
|
|
16247
16247
|
y: i.columnKey
|
|
16248
16248
|
}
|
|
16249
16249
|
};
|
|
16250
16250
|
}
|
|
16251
|
-
function
|
|
16252
|
-
return [
|
|
16251
|
+
function lw(e, t, n, a) {
|
|
16252
|
+
return [ow(e, a)].concat(iw(e.reference_lines, n, a, t)).concat(nw({
|
|
16253
16253
|
reference_areas: e.reference_areas,
|
|
16254
16254
|
variableValueMap: a
|
|
16255
16255
|
}));
|
|
@@ -16260,7 +16260,7 @@ function yo(e, t, n) {
|
|
|
16260
16260
|
} = n;
|
|
16261
16261
|
return a.axisLabel.formatter.enabled ? Je(a.axisLabel.formatter)(e, t) : e;
|
|
16262
16262
|
}
|
|
16263
|
-
function
|
|
16263
|
+
function sw(e, t) {
|
|
16264
16264
|
const {
|
|
16265
16265
|
x_axis: n,
|
|
16266
16266
|
tooltip: a
|
|
@@ -16278,13 +16278,13 @@ function s1(e, t) {
|
|
|
16278
16278
|
} = i;
|
|
16279
16279
|
return yo(o, l, t);
|
|
16280
16280
|
}
|
|
16281
|
-
const
|
|
16281
|
+
const cw = (e) => ce(e, {
|
|
16282
16282
|
output: "number",
|
|
16283
16283
|
trimMantissa: !0,
|
|
16284
16284
|
mantissa: 2,
|
|
16285
16285
|
absolute: !1
|
|
16286
16286
|
});
|
|
16287
|
-
function
|
|
16287
|
+
function dw(e, t) {
|
|
16288
16288
|
const {
|
|
16289
16289
|
scatter: n,
|
|
16290
16290
|
tooltip: a
|
|
@@ -16295,7 +16295,7 @@ function d1(e, t) {
|
|
|
16295
16295
|
const o = t[0] ?? t.default, l = Array.isArray(i) ? i : [i];
|
|
16296
16296
|
if (l.length === 0)
|
|
16297
16297
|
return "";
|
|
16298
|
-
const s =
|
|
16298
|
+
const s = sw(l, e), c = pt(e.scatter.label_overflow.tooltip), d = l.map(
|
|
16299
16299
|
// @ts-expect-error type of value
|
|
16300
16300
|
({
|
|
16301
16301
|
value: y
|
|
@@ -16321,7 +16321,7 @@ function d1(e, t) {
|
|
|
16321
16321
|
<th style="text-align: right;">${y.name}</th>
|
|
16322
16322
|
${l.map(({
|
|
16323
16323
|
value: v
|
|
16324
|
-
}) => `<td style="text-align: right; padding: 0 1em;">${
|
|
16324
|
+
}) => `<td style="text-align: right; padding: 0 1em;">${cw(or(v, y.data_key))}</td>`).join("")}
|
|
16325
16325
|
</tr>`);
|
|
16326
16326
|
return p.push(...g), `
|
|
16327
16327
|
<table style="width: auto">
|
|
@@ -16332,7 +16332,7 @@ function d1(e, t) {
|
|
|
16332
16332
|
}
|
|
16333
16333
|
});
|
|
16334
16334
|
}
|
|
16335
|
-
function
|
|
16335
|
+
function uw(e, t) {
|
|
16336
16336
|
const n = t.every((s) => !Number.isNaN(Number(s))), {
|
|
16337
16337
|
overflow: a,
|
|
16338
16338
|
...i
|
|
@@ -16350,7 +16350,7 @@ function u1(e, t) {
|
|
|
16350
16350
|
}
|
|
16351
16351
|
})];
|
|
16352
16352
|
}
|
|
16353
|
-
function
|
|
16353
|
+
function hw(e, t) {
|
|
16354
16354
|
return e.y_axes.map(({
|
|
16355
16355
|
nameAlignment: n,
|
|
16356
16356
|
min: a,
|
|
@@ -16382,7 +16382,7 @@ function h1(e, t) {
|
|
|
16382
16382
|
});
|
|
16383
16383
|
});
|
|
16384
16384
|
}
|
|
16385
|
-
const
|
|
16385
|
+
const pw = {
|
|
16386
16386
|
xAxis: [{
|
|
16387
16387
|
type: "category",
|
|
16388
16388
|
nameGap: 25,
|
|
@@ -16406,7 +16406,7 @@ const p1 = {
|
|
|
16406
16406
|
containLabel: !0
|
|
16407
16407
|
}
|
|
16408
16408
|
};
|
|
16409
|
-
function
|
|
16409
|
+
function mw(e, t, n) {
|
|
16410
16410
|
const a = n.reduce((c, d) => {
|
|
16411
16411
|
const h = Nt(d, t);
|
|
16412
16412
|
return c[d.name] = gt(d, h), c;
|
|
@@ -16425,19 +16425,19 @@ function m1(e, t, n) {
|
|
|
16425
16425
|
default: ({
|
|
16426
16426
|
value: c
|
|
16427
16427
|
}) => c
|
|
16428
|
-
}), o = C.uniq(ht(t, e.x_axis.data_key)), l =
|
|
16429
|
-
xAxis:
|
|
16430
|
-
yAxis:
|
|
16428
|
+
}), o = C.uniq(ht(t, e.x_axis.data_key)), l = lw(e, t, n, a), s = {
|
|
16429
|
+
xAxis: uw(e, o),
|
|
16430
|
+
yAxis: hw(e, i),
|
|
16431
16431
|
series: l,
|
|
16432
|
-
dataset:
|
|
16433
|
-
tooltip:
|
|
16434
|
-
grid:
|
|
16435
|
-
legend:
|
|
16432
|
+
dataset: J1(e, t),
|
|
16433
|
+
tooltip: dw(e, i),
|
|
16434
|
+
grid: ew(e),
|
|
16435
|
+
legend: tw(),
|
|
16436
16436
|
dataZoom: Nr(e.dataZoom)
|
|
16437
16437
|
};
|
|
16438
|
-
return He({}, s,
|
|
16438
|
+
return He({}, s, pw);
|
|
16439
16439
|
}
|
|
16440
|
-
function
|
|
16440
|
+
function gw({
|
|
16441
16441
|
conf: e,
|
|
16442
16442
|
data: t,
|
|
16443
16443
|
width: n,
|
|
@@ -16461,13 +16461,13 @@ function g1({
|
|
|
16461
16461
|
}, [l]), g = z(() => ({
|
|
16462
16462
|
click: d,
|
|
16463
16463
|
finished: p
|
|
16464
|
-
}), [d, p]), b = P.useMemo(() =>
|
|
16464
|
+
}), [d, p]), b = P.useMemo(() => mw(e, t, o), [e, t]);
|
|
16465
16465
|
return /* @__PURE__ */ r(Ge, { echarts: Be, option: b, ref: h, style: {
|
|
16466
16466
|
width: n,
|
|
16467
16467
|
height: a
|
|
16468
16468
|
}, onEvents: g, notMerge: !0, theme: "merico-light" });
|
|
16469
16469
|
}
|
|
16470
|
-
function
|
|
16470
|
+
function fw({
|
|
16471
16471
|
context: e,
|
|
16472
16472
|
instance: t
|
|
16473
16473
|
}) {
|
|
@@ -16484,11 +16484,11 @@ function f1({
|
|
|
16484
16484
|
} = e.viewport, [d, h] = Q(0), [p, g] = Q(0), b = Math.max(0, kt(c) - d - p), y = Ct(s);
|
|
16485
16485
|
return !s || !c ? null : /* @__PURE__ */ u(nt, { width: s, height: c, children: [
|
|
16486
16486
|
/* @__PURE__ */ r(fr, { onHeightChange: h, value: o.stats.top, context: e }),
|
|
16487
|
-
/* @__PURE__ */ r(
|
|
16487
|
+
/* @__PURE__ */ r(gw, { instance: t, variables: i, width: y, height: b, data: l, conf: o, interactionManager: n }),
|
|
16488
16488
|
/* @__PURE__ */ r(fr, { onHeightChange: g, value: o.stats.bottom, context: e })
|
|
16489
16489
|
] });
|
|
16490
16490
|
}
|
|
16491
|
-
const
|
|
16491
|
+
const bw = ee(({
|
|
16492
16492
|
value: e,
|
|
16493
16493
|
onChange: t,
|
|
16494
16494
|
xAxisOptions: n,
|
|
@@ -16534,7 +16534,7 @@ const b1 = ee(({
|
|
|
16534
16534
|
] })
|
|
16535
16535
|
] });
|
|
16536
16536
|
});
|
|
16537
|
-
function
|
|
16537
|
+
function yw() {
|
|
16538
16538
|
const e = (/* @__PURE__ */ new Date()).getTime().toString();
|
|
16539
16539
|
return {
|
|
16540
16540
|
id: e,
|
|
@@ -16560,14 +16560,14 @@ function y1() {
|
|
|
16560
16560
|
yAxisIndex: "0"
|
|
16561
16561
|
};
|
|
16562
16562
|
}
|
|
16563
|
-
function
|
|
16563
|
+
function _w({
|
|
16564
16564
|
control: e,
|
|
16565
16565
|
watch: t,
|
|
16566
16566
|
variables: n
|
|
16567
16567
|
}) {
|
|
16568
16568
|
const {
|
|
16569
16569
|
t: a
|
|
16570
|
-
} = x(), i = () =>
|
|
16570
|
+
} = x(), i = () => yw(), o = z(() => n.map((d) => ({
|
|
16571
16571
|
label: d.name,
|
|
16572
16572
|
value: d.name
|
|
16573
16573
|
})), [n]), l = t("y_axes"), s = z(() => l.map(({
|
|
@@ -16581,9 +16581,9 @@ function _1({
|
|
|
16581
16581
|
index: h
|
|
16582
16582
|
}) => /* @__PURE__ */ r(f, { name: `reference_areas.${h}`, control: e, render: ({
|
|
16583
16583
|
field: p
|
|
16584
|
-
}) => /* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(
|
|
16584
|
+
}) => /* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(bw, { variableOptions: o, yAxisOptions: s, ...p }) }) }) });
|
|
16585
16585
|
}
|
|
16586
|
-
function
|
|
16586
|
+
function xw({
|
|
16587
16587
|
control: e,
|
|
16588
16588
|
index: t,
|
|
16589
16589
|
watch: n,
|
|
@@ -16656,7 +16656,7 @@ function x1({
|
|
|
16656
16656
|
}) => /* @__PURE__ */ r(Ke, { label: o("chart.color.label"), ...s }) }) })
|
|
16657
16657
|
] });
|
|
16658
16658
|
}
|
|
16659
|
-
function
|
|
16659
|
+
function vw({
|
|
16660
16660
|
control: e,
|
|
16661
16661
|
watch: t,
|
|
16662
16662
|
variables: n
|
|
@@ -16690,9 +16690,9 @@ function v1({
|
|
|
16690
16690
|
return /* @__PURE__ */ r(be, { control: e, watch: t, name: "reference_lines", getItem: i, addButtonText: a("chart.reference_line.add"), deleteButtonText: a("chart.reference_line.delete"), renderTabName: c, children: ({
|
|
16691
16691
|
field: d,
|
|
16692
16692
|
index: h
|
|
16693
|
-
}) => /* @__PURE__ */ r(
|
|
16693
|
+
}) => /* @__PURE__ */ r(xw, { control: e, index: h, watch: t, variableOptions: o, yAxisOptions: s }) });
|
|
16694
16694
|
}
|
|
16695
|
-
const
|
|
16695
|
+
const ww = ({
|
|
16696
16696
|
value: e,
|
|
16697
16697
|
onChange: t
|
|
16698
16698
|
}) => /* @__PURE__ */ r($, { children: /* @__PURE__ */ r(Ft, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (a) => {
|
|
@@ -16701,7 +16701,7 @@ const w1 = ({
|
|
|
16701
16701
|
minimap: {
|
|
16702
16702
|
enabled: !1
|
|
16703
16703
|
}
|
|
16704
|
-
} }) }),
|
|
16704
|
+
} }) }), Sw = ({
|
|
16705
16705
|
value: e,
|
|
16706
16706
|
onChange: t
|
|
16707
16707
|
}) => {
|
|
@@ -16737,7 +16737,7 @@ const w1 = ({
|
|
|
16737
16737
|
flexGrow: 0
|
|
16738
16738
|
}, children: n("viz.scatter_chart.color.dynamic.setup") }) }),
|
|
16739
16739
|
/* @__PURE__ */ r(we, { size: 800, title: n("viz.scatter_chart.color.dynamic.setup_title"), opened: a, onClose: o, closeOnClickOutside: !1, withCloseButton: !1, zIndex: 320, children: a && /* @__PURE__ */ u(T, { children: [
|
|
16740
|
-
/* @__PURE__ */ r(
|
|
16740
|
+
/* @__PURE__ */ r(ww, { value: l.func_content, onChange: h }),
|
|
16741
16741
|
/* @__PURE__ */ u(_, { justify: "space-between", children: [
|
|
16742
16742
|
/* @__PURE__ */ r(L, { onClick: p, color: "red", leftSection: /* @__PURE__ */ r(mt, { size: 20 }), children: n("common.actions.reset_to_default") }),
|
|
16743
16743
|
/* @__PURE__ */ u(_, { justify: "flex-end", children: [
|
|
@@ -16747,10 +16747,10 @@ const w1 = ({
|
|
|
16747
16747
|
] })
|
|
16748
16748
|
] }) })
|
|
16749
16749
|
] });
|
|
16750
|
-
},
|
|
16750
|
+
}, Cw = ({
|
|
16751
16751
|
value: e,
|
|
16752
16752
|
onChange: t
|
|
16753
|
-
}) => e.type !== "dynamic" ? null : /* @__PURE__ */ r(
|
|
16753
|
+
}) => e.type !== "dynamic" ? null : /* @__PURE__ */ r(Sw, { value: e, onChange: t }), kw = ({
|
|
16754
16754
|
value: e,
|
|
16755
16755
|
onChange: t
|
|
16756
16756
|
}) => {
|
|
@@ -16763,7 +16763,7 @@ const w1 = ({
|
|
|
16763
16763
|
});
|
|
16764
16764
|
};
|
|
16765
16765
|
return /* @__PURE__ */ r(nn, { label: " ", format: "rgb", value: e.color, onChange: n });
|
|
16766
|
-
},
|
|
16766
|
+
}, zw = ee(({
|
|
16767
16767
|
label: e = "Color",
|
|
16768
16768
|
value: t,
|
|
16769
16769
|
onChange: n
|
|
@@ -16786,10 +16786,10 @@ const w1 = ({
|
|
|
16786
16786
|
/* @__PURE__ */ r(E, { ref: a, label: e, data: l, value: t.type, onChange: s, sx: {
|
|
16787
16787
|
flexGrow: 1
|
|
16788
16788
|
} }),
|
|
16789
|
-
/* @__PURE__ */ r(
|
|
16790
|
-
/* @__PURE__ */ r(
|
|
16789
|
+
/* @__PURE__ */ r(kw, { value: t, onChange: n }),
|
|
16790
|
+
/* @__PURE__ */ r(Cw, { value: t, onChange: n })
|
|
16791
16791
|
] });
|
|
16792
|
-
}),
|
|
16792
|
+
}), Tw = ee(({
|
|
16793
16793
|
value: e,
|
|
16794
16794
|
onChange: t
|
|
16795
16795
|
}, n) => {
|
|
@@ -16811,7 +16811,7 @@ const w1 = ({
|
|
|
16811
16811
|
/* @__PURE__ */ r(gr, { sectionTitle: a("chart.axis.overflow.section_title.in_tooltip"), value: e.tooltip, onChange: o })
|
|
16812
16812
|
] });
|
|
16813
16813
|
});
|
|
16814
|
-
function
|
|
16814
|
+
function Dw({
|
|
16815
16815
|
control: e,
|
|
16816
16816
|
watch: t
|
|
16817
16817
|
}) {
|
|
@@ -16837,7 +16837,7 @@ function D1({
|
|
|
16837
16837
|
}) => /* @__PURE__ */ r(pi, { ...a }) }),
|
|
16838
16838
|
/* @__PURE__ */ r(f, { name: "scatter.color", control: e, render: ({
|
|
16839
16839
|
field: a
|
|
16840
|
-
}) => /* @__PURE__ */ r(
|
|
16840
|
+
}) => /* @__PURE__ */ r(zw, { ...a }) }),
|
|
16841
16841
|
/* @__PURE__ */ r(R, { mb: -15, label: n("chart.label.label"), labelPosition: "center" }),
|
|
16842
16842
|
/* @__PURE__ */ r(_, { grow: !0, wrap: "nowrap", children: /* @__PURE__ */ r(f, { name: "scatter.label_position", control: e, render: ({
|
|
16843
16843
|
field: a
|
|
@@ -16846,10 +16846,10 @@ function D1({
|
|
|
16846
16846
|
} }) }) }),
|
|
16847
16847
|
/* @__PURE__ */ r(f, { name: "scatter.label_overflow", control: e, render: ({
|
|
16848
16848
|
field: a
|
|
16849
|
-
}) => /* @__PURE__ */ r(
|
|
16849
|
+
}) => /* @__PURE__ */ r(Tw, { ...a }) })
|
|
16850
16850
|
] });
|
|
16851
16851
|
}
|
|
16852
|
-
const
|
|
16852
|
+
const Iw = D(({
|
|
16853
16853
|
control: e,
|
|
16854
16854
|
watch: t
|
|
16855
16855
|
}) => {
|
|
@@ -16876,7 +16876,7 @@ const I1 = D(({
|
|
|
16876
16876
|
}
|
|
16877
16877
|
}, autoSubmit: !0, ...i }, `${n.id}.stats.bottom`) })
|
|
16878
16878
|
] });
|
|
16879
|
-
}),
|
|
16879
|
+
}), Mw = ({
|
|
16880
16880
|
control: e,
|
|
16881
16881
|
index: t
|
|
16882
16882
|
}) => {
|
|
@@ -16895,7 +16895,7 @@ const I1 = D(({
|
|
|
16895
16895
|
flex: 1
|
|
16896
16896
|
}, ...a }) })
|
|
16897
16897
|
] }) });
|
|
16898
|
-
},
|
|
16898
|
+
}, Lw = ({
|
|
16899
16899
|
control: e,
|
|
16900
16900
|
watch: t
|
|
16901
16901
|
}) => {
|
|
@@ -16920,10 +16920,10 @@ const I1 = D(({
|
|
|
16920
16920
|
/* @__PURE__ */ r(be, { control: e, watch: t, name: "tooltip.metrics", getItem: a, addButtonText: n("chart.tooltip.additional_metrics.add"), deleteButtonText: n("chart.tooltip.additional_metrics.delete"), renderTabName: i, children: ({
|
|
16921
16921
|
field: o,
|
|
16922
16922
|
index: l
|
|
16923
|
-
}) => /* @__PURE__ */ r(
|
|
16923
|
+
}) => /* @__PURE__ */ r(Mw, { control: e, index: l }) })
|
|
16924
16924
|
] });
|
|
16925
16925
|
};
|
|
16926
|
-
function
|
|
16926
|
+
function Vw({
|
|
16927
16927
|
control: e,
|
|
16928
16928
|
watch: t
|
|
16929
16929
|
}) {
|
|
@@ -16946,10 +16946,10 @@ function V1({
|
|
|
16946
16946
|
flexGrow: 1
|
|
16947
16947
|
}, ...o }) }),
|
|
16948
16948
|
/* @__PURE__ */ r(R, { variant: "dashed" }),
|
|
16949
|
-
/* @__PURE__ */ r(
|
|
16949
|
+
/* @__PURE__ */ r(Lw, { control: e, watch: t })
|
|
16950
16950
|
] });
|
|
16951
16951
|
}
|
|
16952
|
-
function $
|
|
16952
|
+
function $w({
|
|
16953
16953
|
control: e,
|
|
16954
16954
|
watch: t
|
|
16955
16955
|
}) {
|
|
@@ -16985,7 +16985,7 @@ function $1({
|
|
|
16985
16985
|
}) => /* @__PURE__ */ r(Dt, { ...a }) })
|
|
16986
16986
|
] });
|
|
16987
16987
|
}
|
|
16988
|
-
function
|
|
16988
|
+
function Aw({
|
|
16989
16989
|
control: e,
|
|
16990
16990
|
index: t
|
|
16991
16991
|
}) {
|
|
@@ -17033,7 +17033,7 @@ function A1({
|
|
|
17033
17033
|
] })
|
|
17034
17034
|
] });
|
|
17035
17035
|
}
|
|
17036
|
-
function
|
|
17036
|
+
function Pw({
|
|
17037
17037
|
control: e,
|
|
17038
17038
|
watch: t
|
|
17039
17039
|
}) {
|
|
@@ -17059,9 +17059,9 @@ function P1({
|
|
|
17059
17059
|
return /* @__PURE__ */ r(be, { control: e, watch: t, name: "y_axes", getItem: a, addButtonText: n("chart.y_axis.add"), deleteButtonText: n("chart.y_axis.delete"), renderTabName: i, deleteDisalbed: o, children: ({
|
|
17060
17060
|
field: l,
|
|
17061
17061
|
index: s
|
|
17062
|
-
}) => /* @__PURE__ */ r(
|
|
17062
|
+
}) => /* @__PURE__ */ r(Aw, { control: e, index: s }) });
|
|
17063
17063
|
}
|
|
17064
|
-
function
|
|
17064
|
+
function Rw({
|
|
17065
17065
|
conf: e,
|
|
17066
17066
|
setConf: t,
|
|
17067
17067
|
context: n
|
|
@@ -17103,33 +17103,33 @@ function R1({
|
|
|
17103
17103
|
/* @__PURE__ */ r(S.Tab, { value: "Reference Areas", children: a("chart.reference_area.labels") }),
|
|
17104
17104
|
/* @__PURE__ */ r(S.Tab, { value: "Zooming", children: a("chart.zooming.label") })
|
|
17105
17105
|
] }),
|
|
17106
|
-
/* @__PURE__ */ r(S.Panel, { value: "X Axis", children: /* @__PURE__ */ r($
|
|
17107
|
-
/* @__PURE__ */ r(S.Panel, { value: "Y Axes", children: /* @__PURE__ */ r(
|
|
17108
|
-
/* @__PURE__ */ r(S.Panel, { value: "Scatter", children: /* @__PURE__ */ r(
|
|
17109
|
-
/* @__PURE__ */ r(S.Panel, { value: "Tooltip", children: /* @__PURE__ */ r(
|
|
17110
|
-
/* @__PURE__ */ r(S.Panel, { value: "Stats", children: /* @__PURE__ */ r(
|
|
17111
|
-
/* @__PURE__ */ r(S.Panel, { value: "Reference Lines", children: /* @__PURE__ */ r(
|
|
17112
|
-
/* @__PURE__ */ r(S.Panel, { value: "Reference Areas", children: /* @__PURE__ */ r(
|
|
17106
|
+
/* @__PURE__ */ r(S.Panel, { value: "X Axis", children: /* @__PURE__ */ r($w, { control: l, watch: c }) }),
|
|
17107
|
+
/* @__PURE__ */ r(S.Panel, { value: "Y Axes", children: /* @__PURE__ */ r(Pw, { control: l, watch: c }) }),
|
|
17108
|
+
/* @__PURE__ */ r(S.Panel, { value: "Scatter", children: /* @__PURE__ */ r(Dw, { control: l, watch: c }) }),
|
|
17109
|
+
/* @__PURE__ */ r(S.Panel, { value: "Tooltip", children: /* @__PURE__ */ r(Vw, { control: l, watch: c }) }),
|
|
17110
|
+
/* @__PURE__ */ r(S.Panel, { value: "Stats", children: /* @__PURE__ */ r(Iw, { control: l, watch: c }) }),
|
|
17111
|
+
/* @__PURE__ */ r(S.Panel, { value: "Reference Lines", children: /* @__PURE__ */ r(vw, { variables: i, control: l, watch: c }) }),
|
|
17112
|
+
/* @__PURE__ */ r(S.Panel, { value: "Reference Areas", children: /* @__PURE__ */ r(_w, { variables: i, control: l, watch: c }) }),
|
|
17113
17113
|
/* @__PURE__ */ r(S.Panel, { value: "Zooming", children: /* @__PURE__ */ r(f, { name: "dataZoom", control: l, render: ({
|
|
17114
17114
|
field: p
|
|
17115
17115
|
}) => /* @__PURE__ */ r(Br, { ...p }) }) })
|
|
17116
17116
|
] })
|
|
17117
17117
|
] }) });
|
|
17118
17118
|
}
|
|
17119
|
-
function
|
|
17119
|
+
function Ew(e) {
|
|
17120
17120
|
const {
|
|
17121
17121
|
value: t,
|
|
17122
17122
|
set: n
|
|
17123
17123
|
} = K(e.context.instanceData, "config");
|
|
17124
|
-
return t ? /* @__PURE__ */ r(
|
|
17124
|
+
return t ? /* @__PURE__ */ r(Rw, { conf: t, setConf: n, ...e }) : null;
|
|
17125
17125
|
}
|
|
17126
|
-
const
|
|
17126
|
+
const Ow = {
|
|
17127
17127
|
displayName: "viz.scatter_chart.viz_name",
|
|
17128
17128
|
displayGroup: "chart.groups.echarts_based_charts",
|
|
17129
|
-
migrator: new
|
|
17129
|
+
migrator: new W1(),
|
|
17130
17130
|
name: "scatterChart",
|
|
17131
|
-
viewRender:
|
|
17132
|
-
configRender:
|
|
17131
|
+
viewRender: fw,
|
|
17132
|
+
configRender: Ew,
|
|
17133
17133
|
createConfig() {
|
|
17134
17134
|
return {
|
|
17135
17135
|
version: 11,
|
|
@@ -17137,12 +17137,12 @@ const O1 = {
|
|
|
17137
17137
|
};
|
|
17138
17138
|
},
|
|
17139
17139
|
triggers: [bc],
|
|
17140
|
-
translation:
|
|
17141
|
-
},
|
|
17140
|
+
translation: Y1
|
|
17141
|
+
}, qw = {
|
|
17142
17142
|
content: "Use double curly brackets to wrap js code: {{ new Date().getTime() }}",
|
|
17143
17143
|
vertical_align: "center"
|
|
17144
17144
|
};
|
|
17145
|
-
function
|
|
17145
|
+
function Fw(e) {
|
|
17146
17146
|
if ("variables" in e)
|
|
17147
17147
|
return e;
|
|
17148
17148
|
const {
|
|
@@ -17177,10 +17177,10 @@ function F1(e) {
|
|
|
17177
17177
|
}]
|
|
17178
17178
|
};
|
|
17179
17179
|
}
|
|
17180
|
-
function
|
|
17180
|
+
function Nw(e) {
|
|
17181
17181
|
return un(e, ["variables"]);
|
|
17182
17182
|
}
|
|
17183
|
-
function
|
|
17183
|
+
function Bw(e) {
|
|
17184
17184
|
const {
|
|
17185
17185
|
align: t,
|
|
17186
17186
|
...n
|
|
@@ -17191,26 +17191,26 @@ function B1(e) {
|
|
|
17191
17191
|
...n
|
|
17192
17192
|
};
|
|
17193
17193
|
}
|
|
17194
|
-
function
|
|
17194
|
+
function jw(e) {
|
|
17195
17195
|
const t = Pe(e), n = se(t, "color.valueRange");
|
|
17196
17196
|
return n !== void 0 && Sa(t, "color.valueRange", n.map((a) => Number(a))), t;
|
|
17197
17197
|
}
|
|
17198
|
-
function
|
|
17198
|
+
function Qw(e, t) {
|
|
17199
17199
|
return !t || t === "left" ? e : `<p style="text-align: ${t}">${e}</p>`;
|
|
17200
17200
|
}
|
|
17201
|
-
function
|
|
17201
|
+
function Hw(e, t) {
|
|
17202
17202
|
const {
|
|
17203
17203
|
horizontal_align: n,
|
|
17204
17204
|
template: a,
|
|
17205
17205
|
...i
|
|
17206
17206
|
} = e;
|
|
17207
17207
|
let o = In(a, t);
|
|
17208
|
-
return o =
|
|
17208
|
+
return o = Qw(o, n), {
|
|
17209
17209
|
content: o,
|
|
17210
17210
|
...i
|
|
17211
17211
|
};
|
|
17212
17212
|
}
|
|
17213
|
-
function
|
|
17213
|
+
function Gw(e, t) {
|
|
17214
17214
|
const {
|
|
17215
17215
|
content: n,
|
|
17216
17216
|
...a
|
|
@@ -17220,7 +17220,7 @@ function G1(e, t) {
|
|
|
17220
17220
|
...a
|
|
17221
17221
|
};
|
|
17222
17222
|
}
|
|
17223
|
-
class
|
|
17223
|
+
class Ww extends Se {
|
|
17224
17224
|
constructor() {
|
|
17225
17225
|
super(...arguments);
|
|
17226
17226
|
j(this, "VERSION", 5);
|
|
@@ -17228,7 +17228,7 @@ class W1 extends Se {
|
|
|
17228
17228
|
configVersions() {
|
|
17229
17229
|
this.version(1, (n) => ({
|
|
17230
17230
|
version: 1,
|
|
17231
|
-
config:
|
|
17231
|
+
config: Fw(n)
|
|
17232
17232
|
})), this.version(2, (n, {
|
|
17233
17233
|
panelModel: a
|
|
17234
17234
|
}) => {
|
|
@@ -17236,11 +17236,11 @@ class W1 extends Se {
|
|
|
17236
17236
|
config: i
|
|
17237
17237
|
} = n;
|
|
17238
17238
|
return (i.variables || []).forEach((l) => {
|
|
17239
|
-
a.variables.find((s) => s.name === l.name) || a.addVariable(
|
|
17239
|
+
a.variables.find((s) => s.name === l.name) || a.addVariable(jw(l));
|
|
17240
17240
|
}), {
|
|
17241
17241
|
...n,
|
|
17242
17242
|
version: 2,
|
|
17243
|
-
config:
|
|
17243
|
+
config: Nw(i)
|
|
17244
17244
|
};
|
|
17245
17245
|
}), this.version(3, (n) => {
|
|
17246
17246
|
const {
|
|
@@ -17249,7 +17249,7 @@ class W1 extends Se {
|
|
|
17249
17249
|
return {
|
|
17250
17250
|
...n,
|
|
17251
17251
|
version: 3,
|
|
17252
|
-
config:
|
|
17252
|
+
config: Bw(a)
|
|
17253
17253
|
};
|
|
17254
17254
|
}), this.version(4, (n, {
|
|
17255
17255
|
panelModel: a
|
|
@@ -17260,7 +17260,7 @@ class W1 extends Se {
|
|
|
17260
17260
|
return {
|
|
17261
17261
|
...n,
|
|
17262
17262
|
version: 4,
|
|
17263
|
-
config:
|
|
17263
|
+
config: Hw(i, a)
|
|
17264
17264
|
};
|
|
17265
17265
|
}), this.version(5, (n, {
|
|
17266
17266
|
panelModel: a
|
|
@@ -17271,7 +17271,7 @@ class W1 extends Se {
|
|
|
17271
17271
|
return {
|
|
17272
17272
|
...n,
|
|
17273
17273
|
version: 5,
|
|
17274
|
-
config:
|
|
17274
|
+
config: Gw(i, a)
|
|
17275
17275
|
};
|
|
17276
17276
|
});
|
|
17277
17277
|
}
|
|
@@ -17279,29 +17279,29 @@ class W1 extends Se {
|
|
|
17279
17279
|
const yc = {
|
|
17280
17280
|
id: "builtin:stats:click-stats",
|
|
17281
17281
|
displayName: "viz.stats.click_stats.trigger",
|
|
17282
|
-
nameRender:
|
|
17283
|
-
configRender:
|
|
17282
|
+
nameRender: Kw,
|
|
17283
|
+
configRender: Uw,
|
|
17284
17284
|
payload: [{
|
|
17285
17285
|
name: "variables",
|
|
17286
17286
|
description: "Panel variables",
|
|
17287
17287
|
valueType: "object"
|
|
17288
17288
|
}]
|
|
17289
17289
|
};
|
|
17290
|
-
function
|
|
17290
|
+
function Uw(e) {
|
|
17291
17291
|
return /* @__PURE__ */ r(F, {});
|
|
17292
17292
|
}
|
|
17293
|
-
function
|
|
17293
|
+
function Kw(e) {
|
|
17294
17294
|
const {
|
|
17295
17295
|
t
|
|
17296
17296
|
} = x();
|
|
17297
17297
|
return /* @__PURE__ */ r(k, { size: "sm", children: t("viz.stats.click_stats.trigger") });
|
|
17298
17298
|
}
|
|
17299
|
-
const
|
|
17299
|
+
const Yw = {
|
|
17300
17300
|
top: "flex-start",
|
|
17301
17301
|
center: "center",
|
|
17302
17302
|
bottom: "flex-end"
|
|
17303
17303
|
};
|
|
17304
|
-
function
|
|
17304
|
+
function Xw(e) {
|
|
17305
17305
|
const t = {
|
|
17306
17306
|
flexGrow: 1
|
|
17307
17307
|
};
|
|
@@ -17309,7 +17309,7 @@ function X1(e) {
|
|
|
17309
17309
|
textDecoration: "underline"
|
|
17310
17310
|
}), t;
|
|
17311
17311
|
}
|
|
17312
|
-
const
|
|
17312
|
+
const Zw = D(({
|
|
17313
17313
|
context: e,
|
|
17314
17314
|
instance: t
|
|
17315
17315
|
}) => {
|
|
@@ -17348,7 +17348,7 @@ const Z1 = D(({
|
|
|
17348
17348
|
}, [n.current, h, p, g]), /* @__PURE__ */ r(tt, { className: "viz-stats", sx: {
|
|
17349
17349
|
width: h,
|
|
17350
17350
|
height: p
|
|
17351
|
-
}, align:
|
|
17351
|
+
}, align: Yw[s.vertical_align], direction: "row", children: /* @__PURE__ */ r($, { className: "viz-stats--clickable-wrapper", sx: Xw(i.length), onClick: b, children: /* @__PURE__ */ r(En, { ref: n, value: g, styles: {
|
|
17352
17352
|
root: {
|
|
17353
17353
|
border: "none",
|
|
17354
17354
|
maxWidth: h,
|
|
@@ -17375,13 +17375,13 @@ const Z1 = D(({
|
|
|
17375
17375
|
}
|
|
17376
17376
|
}
|
|
17377
17377
|
}, dashboardState: o.dashboardState, variableAggValueMap: l.variableAggValueMap }) }) });
|
|
17378
|
-
}),
|
|
17378
|
+
}), Jw = (e) => {
|
|
17379
17379
|
const {
|
|
17380
17380
|
context: t
|
|
17381
17381
|
} = e, {
|
|
17382
17382
|
value: n
|
|
17383
17383
|
} = K(t.instanceData, "config");
|
|
17384
|
-
return n ? /* @__PURE__ */ r(
|
|
17384
|
+
return n ? /* @__PURE__ */ r(Zw, { ...e }) : null;
|
|
17385
17385
|
}, eS = D(({
|
|
17386
17386
|
conf: e,
|
|
17387
17387
|
setConf: t
|
|
@@ -17447,14 +17447,14 @@ const nS = {
|
|
|
17447
17447
|
createConfig() {
|
|
17448
17448
|
return {
|
|
17449
17449
|
version: 5,
|
|
17450
|
-
config:
|
|
17450
|
+
config: qw
|
|
17451
17451
|
};
|
|
17452
17452
|
},
|
|
17453
17453
|
displayName: "viz.stats.viz_name",
|
|
17454
17454
|
displayGroup: "chart.groups.others",
|
|
17455
|
-
migrator: new
|
|
17455
|
+
migrator: new Ww(),
|
|
17456
17456
|
name: "stats",
|
|
17457
|
-
viewRender:
|
|
17457
|
+
viewRender: Jw,
|
|
17458
17458
|
configRender: tS,
|
|
17459
17459
|
triggers: [yc],
|
|
17460
17460
|
translation: aS
|
|
@@ -22990,7 +22990,7 @@ const k5 = {
|
|
|
22990
22990
|
value: e.value,
|
|
22991
22991
|
type: "single",
|
|
22992
22992
|
category: "basic"
|
|
22993
|
-
})), T5 = [sm, cm, hm, um, dm, pm], Ii = [ga, iS, DC,
|
|
22993
|
+
})), T5 = [sm, cm, hm, um, dm, pm], Ii = [ga, iS, DC, O1, DS, T0, r2, Kg, oy, yx, cv, fk, Uv, X_, Ow, t1, L1, qC, O2, k5, Z2, xy], Lc = Ii.reduce((e, t) => (e[t.name] = {
|
|
22994
22994
|
displayName: t.displayName,
|
|
22995
22995
|
displayGroup: t.displayGroup
|
|
22996
22996
|
}, e), {}), Vc = () => ({
|
|
@@ -26059,7 +26059,7 @@ const id = m.model("ViewDivisionConfig", {
|
|
|
26059
26059
|
const n = e.panelIDs.filter((a) => a !== t);
|
|
26060
26060
|
e.panelIDs.length = 0, e.panelIDs.push(...n);
|
|
26061
26061
|
}
|
|
26062
|
-
})), cn = "
|
|
26062
|
+
})), cn = "14.32.0", F9 = {
|
|
26063
26063
|
definition: {
|
|
26064
26064
|
sqlSnippets: [],
|
|
26065
26065
|
queries: [],
|