@devtable/dashboard 14.17.0 → 14.17.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 +206 -206
- package/dist/dashboard.umd.js +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -2446,7 +2446,7 @@ function im() {
|
|
|
2446
2446
|
} = $.useContext(Zl);
|
|
2447
2447
|
return e ? document.getElementById(e) : null;
|
|
2448
2448
|
}
|
|
2449
|
-
const es = "14.17.
|
|
2449
|
+
const es = "14.17.1", om = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2450
2450
|
__proto__: null,
|
|
2451
2451
|
version: es
|
|
2452
2452
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -13873,14 +13873,14 @@ const Zv = {
|
|
|
13873
13873
|
}
|
|
13874
13874
|
}
|
|
13875
13875
|
}
|
|
13876
|
-
},
|
|
13876
|
+
}, e1 = [{
|
|
13877
13877
|
lang: "en",
|
|
13878
13878
|
resources: Zv
|
|
13879
13879
|
}, {
|
|
13880
13880
|
lang: "zh",
|
|
13881
13881
|
resources: Jv
|
|
13882
13882
|
}];
|
|
13883
|
-
function
|
|
13883
|
+
function t1(e) {
|
|
13884
13884
|
const {
|
|
13885
13885
|
color_field: t = "",
|
|
13886
13886
|
...n
|
|
@@ -13890,7 +13890,7 @@ function t0(e) {
|
|
|
13890
13890
|
color_field: t
|
|
13891
13891
|
};
|
|
13892
13892
|
}
|
|
13893
|
-
function
|
|
13893
|
+
function n1(e, {
|
|
13894
13894
|
panelModel: t
|
|
13895
13895
|
}) {
|
|
13896
13896
|
try {
|
|
@@ -13911,7 +13911,7 @@ function n0(e, {
|
|
|
13911
13911
|
throw console.error("[Migration failed]", n), n;
|
|
13912
13912
|
}
|
|
13913
13913
|
}
|
|
13914
|
-
function
|
|
13914
|
+
function r1(e) {
|
|
13915
13915
|
const {
|
|
13916
13916
|
radius: t = ["50%", "80%"],
|
|
13917
13917
|
...n
|
|
@@ -13921,7 +13921,7 @@ function r0(e) {
|
|
|
13921
13921
|
radius: t
|
|
13922
13922
|
};
|
|
13923
13923
|
}
|
|
13924
|
-
function
|
|
13924
|
+
function a1(e) {
|
|
13925
13925
|
const {
|
|
13926
13926
|
color: t = {
|
|
13927
13927
|
map: []
|
|
@@ -13936,7 +13936,7 @@ function a0(e) {
|
|
|
13936
13936
|
}
|
|
13937
13937
|
};
|
|
13938
13938
|
}
|
|
13939
|
-
function
|
|
13939
|
+
function i1(e) {
|
|
13940
13940
|
const {
|
|
13941
13941
|
series_order: t = jr(),
|
|
13942
13942
|
...n
|
|
@@ -13946,7 +13946,7 @@ function i0(e) {
|
|
|
13946
13946
|
series_order: t
|
|
13947
13947
|
};
|
|
13948
13948
|
}
|
|
13949
|
-
class
|
|
13949
|
+
class o1 extends Se {
|
|
13950
13950
|
constructor() {
|
|
13951
13951
|
super(...arguments);
|
|
13952
13952
|
j(this, "VERSION", 6);
|
|
@@ -13958,30 +13958,30 @@ class o0 extends Se {
|
|
|
13958
13958
|
})), this.version(2, (n) => ({
|
|
13959
13959
|
...n,
|
|
13960
13960
|
version: 2,
|
|
13961
|
-
config:
|
|
13961
|
+
config: t1(n.config)
|
|
13962
13962
|
})), this.version(3, (n, a) => ({
|
|
13963
13963
|
...n,
|
|
13964
13964
|
version: 3,
|
|
13965
|
-
config:
|
|
13965
|
+
config: n1(n.config, a)
|
|
13966
13966
|
})), this.version(4, (n) => ({
|
|
13967
13967
|
...n,
|
|
13968
13968
|
version: 4,
|
|
13969
|
-
config:
|
|
13969
|
+
config: r1(n.config)
|
|
13970
13970
|
})), this.version(5, (n) => ({
|
|
13971
13971
|
...n,
|
|
13972
13972
|
version: 5,
|
|
13973
|
-
config:
|
|
13973
|
+
config: a1(n.config)
|
|
13974
13974
|
})), this.version(6, (n) => ({
|
|
13975
13975
|
...n,
|
|
13976
13976
|
version: 6,
|
|
13977
|
-
config:
|
|
13977
|
+
config: i1(n.config)
|
|
13978
13978
|
}));
|
|
13979
13979
|
}
|
|
13980
13980
|
}
|
|
13981
|
-
const
|
|
13981
|
+
const l1 = {
|
|
13982
13982
|
displayName: "viz.pie_chart.viz_name",
|
|
13983
13983
|
displayGroup: "chart.groups.echarts_based_charts",
|
|
13984
|
-
migrator: new
|
|
13984
|
+
migrator: new o1(),
|
|
13985
13985
|
name: "pie",
|
|
13986
13986
|
viewRender: Fv,
|
|
13987
13987
|
configRender: Xv,
|
|
@@ -13992,12 +13992,12 @@ const l0 = {
|
|
|
13992
13992
|
};
|
|
13993
13993
|
},
|
|
13994
13994
|
triggers: [rc],
|
|
13995
|
-
translation:
|
|
13995
|
+
translation: e1
|
|
13996
13996
|
};
|
|
13997
|
-
function
|
|
13997
|
+
function s1(e) {
|
|
13998
13998
|
return /* @__PURE__ */ r(F, {});
|
|
13999
13999
|
}
|
|
14000
|
-
function
|
|
14000
|
+
function c1(e) {
|
|
14001
14001
|
const {
|
|
14002
14002
|
t
|
|
14003
14003
|
} = x();
|
|
@@ -14006,8 +14006,8 @@ function c0(e) {
|
|
|
14006
14006
|
const ic = {
|
|
14007
14007
|
id: "builtin:echarts:click-radar-chart:series",
|
|
14008
14008
|
displayName: "viz.radar_chart.click_series.label",
|
|
14009
|
-
nameRender:
|
|
14010
|
-
configRender:
|
|
14009
|
+
nameRender: c1,
|
|
14010
|
+
configRender: s1,
|
|
14011
14011
|
payload: [{
|
|
14012
14012
|
name: "seriesType",
|
|
14013
14013
|
description: "'radar'",
|
|
@@ -14070,14 +14070,14 @@ function sc(e, t) {
|
|
|
14070
14070
|
return e[a.columnKey];
|
|
14071
14071
|
});
|
|
14072
14072
|
}
|
|
14073
|
-
function
|
|
14073
|
+
function d1(e, t, n) {
|
|
14074
14074
|
const a = N(t);
|
|
14075
14075
|
return e[a.queryID].map((i) => ({
|
|
14076
14076
|
value: sc(i, n),
|
|
14077
14077
|
name: i[a.columnKey]
|
|
14078
14078
|
}));
|
|
14079
14079
|
}
|
|
14080
|
-
function
|
|
14080
|
+
function u1(e, t) {
|
|
14081
14081
|
const {
|
|
14082
14082
|
series_name_key: n,
|
|
14083
14083
|
dimensions: a
|
|
@@ -14085,7 +14085,7 @@ function u0(e, t) {
|
|
|
14085
14085
|
return [{
|
|
14086
14086
|
type: "radar",
|
|
14087
14087
|
name: "main-radar",
|
|
14088
|
-
data:
|
|
14088
|
+
data: d1(e, n, a),
|
|
14089
14089
|
symbolSize: 4,
|
|
14090
14090
|
lineStyle: {
|
|
14091
14091
|
width: 1
|
|
@@ -14101,7 +14101,7 @@ function u0(e, t) {
|
|
|
14101
14101
|
label: lc(t)
|
|
14102
14102
|
}];
|
|
14103
14103
|
}
|
|
14104
|
-
function
|
|
14104
|
+
function h1(e, t) {
|
|
14105
14105
|
const {
|
|
14106
14106
|
additional_series: n,
|
|
14107
14107
|
dimensions: a
|
|
@@ -14137,10 +14137,10 @@ function h0(e, t) {
|
|
|
14137
14137
|
};
|
|
14138
14138
|
}).flat();
|
|
14139
14139
|
}
|
|
14140
|
-
function
|
|
14141
|
-
return [...
|
|
14140
|
+
function p1(e, t) {
|
|
14141
|
+
return [...u1(e, t), ...h1(e, t)];
|
|
14142
14142
|
}
|
|
14143
|
-
function
|
|
14143
|
+
function m1(e) {
|
|
14144
14144
|
return ({
|
|
14145
14145
|
name: t,
|
|
14146
14146
|
marker: n,
|
|
@@ -14183,7 +14183,7 @@ function m0(e) {
|
|
|
14183
14183
|
`;
|
|
14184
14184
|
};
|
|
14185
14185
|
}
|
|
14186
|
-
const
|
|
14186
|
+
const g1 = {
|
|
14187
14187
|
legend: {
|
|
14188
14188
|
show: !0,
|
|
14189
14189
|
bottom: 0,
|
|
@@ -14192,8 +14192,8 @@ const g0 = {
|
|
|
14192
14192
|
tooltip: {
|
|
14193
14193
|
trigger: "item"
|
|
14194
14194
|
}
|
|
14195
|
-
},
|
|
14196
|
-
function
|
|
14195
|
+
}, f1 = ["#66B4DB", "#39BFA2", "#E46464", "#33A678", "#EEBA00", "#9D88CB", "#939943", "#E49792", "#09A2B8", "#AF5F6B", "#6CA157", "#09A2B8", "#6398C7", "#E692BA", "#97B566", "#8CACE2", "#CA79AC", "#6DBC80", "#B08F4B", "#826BAF"];
|
|
14196
|
+
function b1(e, t) {
|
|
14197
14197
|
const {
|
|
14198
14198
|
series_name_key: n,
|
|
14199
14199
|
dimensions: a,
|
|
@@ -14216,7 +14216,7 @@ function b0(e, t) {
|
|
|
14216
14216
|
},
|
|
14217
14217
|
tooltip: pe.getTooltip({
|
|
14218
14218
|
backgroundColor: "rgba(255,255,255,0.6)",
|
|
14219
|
-
formatter:
|
|
14219
|
+
formatter: m1(e)
|
|
14220
14220
|
}),
|
|
14221
14221
|
legend: {
|
|
14222
14222
|
show: !0,
|
|
@@ -14224,12 +14224,12 @@ function b0(e, t) {
|
|
|
14224
14224
|
left: "center",
|
|
14225
14225
|
type: "scroll"
|
|
14226
14226
|
},
|
|
14227
|
-
series:
|
|
14228
|
-
color:
|
|
14227
|
+
series: p1(t, e),
|
|
14228
|
+
color: f1
|
|
14229
14229
|
};
|
|
14230
|
-
return C.merge({},
|
|
14230
|
+
return C.merge({}, g1, l);
|
|
14231
14231
|
}
|
|
14232
|
-
function
|
|
14232
|
+
function y1({
|
|
14233
14233
|
conf: e,
|
|
14234
14234
|
data: t,
|
|
14235
14235
|
width: n,
|
|
@@ -14270,13 +14270,13 @@ function y0({
|
|
|
14270
14270
|
}, [s, c, i]), g = z(() => ({
|
|
14271
14271
|
click: p,
|
|
14272
14272
|
finished: h
|
|
14273
|
-
}), [p]), y = z(() =>
|
|
14273
|
+
}), [p]), y = z(() => b1(Ge({}, e, Gr), t), [e, t]);
|
|
14274
14274
|
return !n || !a ? null : /* @__PURE__ */ r(He, { echarts: Ne, option: y, ref: d, style: {
|
|
14275
14275
|
width: n,
|
|
14276
14276
|
height: a
|
|
14277
14277
|
}, onEvents: g, notMerge: !0, theme: "merico-light" });
|
|
14278
14278
|
}
|
|
14279
|
-
function
|
|
14279
|
+
function _1({
|
|
14280
14280
|
context: e,
|
|
14281
14281
|
instance: t
|
|
14282
14282
|
}) {
|
|
@@ -14291,9 +14291,9 @@ function _0({
|
|
|
14291
14291
|
width: s,
|
|
14292
14292
|
height: c
|
|
14293
14293
|
} = e.viewport;
|
|
14294
|
-
return !s || !c || !o || tl(o == null ? void 0 : o.dimensions) ? null : /* @__PURE__ */ r(nt, { width: s, height: c, children: /* @__PURE__ */ r(
|
|
14294
|
+
return !s || !c || !o || tl(o == null ? void 0 : o.dimensions) ? null : /* @__PURE__ */ r(nt, { width: s, height: c, children: /* @__PURE__ */ r(y1, { instance: t, variables: i, width: St(s), height: Ct(c), data: l, conf: o, interactionManager: n }) });
|
|
14295
14295
|
}
|
|
14296
|
-
function
|
|
14296
|
+
function x1({
|
|
14297
14297
|
control: e,
|
|
14298
14298
|
index: t
|
|
14299
14299
|
}) {
|
|
@@ -14316,7 +14316,7 @@ function x0({
|
|
|
14316
14316
|
}, ...a }) }) })
|
|
14317
14317
|
] });
|
|
14318
14318
|
}
|
|
14319
|
-
function
|
|
14319
|
+
function v1({
|
|
14320
14320
|
control: e,
|
|
14321
14321
|
watch: t
|
|
14322
14322
|
}) {
|
|
@@ -14336,10 +14336,10 @@ function v0({
|
|
|
14336
14336
|
/* @__PURE__ */ r(fe, { control: e, watch: t, name: "additional_series", getItem: a, addButtonText: n("viz.radar_chart.additional_series.add"), deleteButtonText: n("viz.radar_chart.additional_series.delete"), renderTabName: i, children: ({
|
|
14337
14337
|
field: o,
|
|
14338
14338
|
index: l
|
|
14339
|
-
}) => /* @__PURE__ */ r(
|
|
14339
|
+
}) => /* @__PURE__ */ r(x1, { control: e, index: l }) })
|
|
14340
14340
|
] });
|
|
14341
14341
|
}
|
|
14342
|
-
function
|
|
14342
|
+
function w1({
|
|
14343
14343
|
control: e,
|
|
14344
14344
|
index: t
|
|
14345
14345
|
}) {
|
|
@@ -14384,7 +14384,7 @@ function w0({
|
|
|
14384
14384
|
] })
|
|
14385
14385
|
] });
|
|
14386
14386
|
}
|
|
14387
|
-
function
|
|
14387
|
+
function S1({
|
|
14388
14388
|
control: e,
|
|
14389
14389
|
watch: t
|
|
14390
14390
|
}) {
|
|
@@ -14406,9 +14406,9 @@ function S0({
|
|
|
14406
14406
|
return /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(fe, { control: e, watch: t, name: "dimensions", getItem: a, addButtonText: n("viz.radar_chart.metric.add"), deleteButtonText: n("viz.radar_chart.metric.delete"), renderTabName: i, children: ({
|
|
14407
14407
|
field: o,
|
|
14408
14408
|
index: l
|
|
14409
|
-
}) => /* @__PURE__ */ r(
|
|
14409
|
+
}) => /* @__PURE__ */ r(w1, { control: e, index: l }) }) });
|
|
14410
14410
|
}
|
|
14411
|
-
function
|
|
14411
|
+
function C1({
|
|
14412
14412
|
context: e
|
|
14413
14413
|
}) {
|
|
14414
14414
|
const {
|
|
@@ -14442,7 +14442,7 @@ function C0({
|
|
|
14442
14442
|
}) => /* @__PURE__ */ r(K, { label: t("viz.radar_chart.series.series_name_field"), required: !0, sx: {
|
|
14443
14443
|
flex: 1
|
|
14444
14444
|
}, ...h }) }) }),
|
|
14445
|
-
/* @__PURE__ */ r(S.Panel, { value: "metrics", p: "md", children: /* @__PURE__ */ r(
|
|
14445
|
+
/* @__PURE__ */ r(S.Panel, { value: "metrics", p: "md", children: /* @__PURE__ */ r(S1, { control: o, watch: s }) }),
|
|
14446
14446
|
/* @__PURE__ */ r(S.Panel, { value: "style", p: "md", children: /* @__PURE__ */ u(_, { grow: !0, wrap: "nowrap", children: [
|
|
14447
14447
|
/* @__PURE__ */ r(f, { name: "background.enabled", control: o, render: ({
|
|
14448
14448
|
field: h
|
|
@@ -14451,11 +14451,11 @@ function C0({
|
|
|
14451
14451
|
field: h
|
|
14452
14452
|
}) => /* @__PURE__ */ r(te, { label: t("viz.radar_chart.style.show_value_label"), checked: h.value, onChange: (p) => h.onChange(p.currentTarget.checked) }) })
|
|
14453
14453
|
] }) }),
|
|
14454
|
-
/* @__PURE__ */ r(S.Panel, { value: "additional_series", p: "md", children: /* @__PURE__ */ r(
|
|
14454
|
+
/* @__PURE__ */ r(S.Panel, { value: "additional_series", p: "md", children: /* @__PURE__ */ r(v1, { control: o, watch: s }) })
|
|
14455
14455
|
] })
|
|
14456
14456
|
] }) });
|
|
14457
14457
|
}
|
|
14458
|
-
const
|
|
14458
|
+
const k1 = {
|
|
14459
14459
|
radar_chart: {
|
|
14460
14460
|
viz_name: "Radar Chart",
|
|
14461
14461
|
series: {
|
|
@@ -14482,7 +14482,7 @@ const k0 = {
|
|
|
14482
14482
|
label: "Click radar chart series"
|
|
14483
14483
|
}
|
|
14484
14484
|
}
|
|
14485
|
-
},
|
|
14485
|
+
}, z1 = {
|
|
14486
14486
|
radar_chart: {
|
|
14487
14487
|
viz_name: "雷达图",
|
|
14488
14488
|
series: {
|
|
@@ -14509,14 +14509,14 @@ const k0 = {
|
|
|
14509
14509
|
label: "点击雷达系列"
|
|
14510
14510
|
}
|
|
14511
14511
|
}
|
|
14512
|
-
},
|
|
14512
|
+
}, T1 = [{
|
|
14513
14513
|
lang: "en",
|
|
14514
|
-
resources:
|
|
14514
|
+
resources: k1
|
|
14515
14515
|
}, {
|
|
14516
14516
|
lang: "zh",
|
|
14517
|
-
resources:
|
|
14517
|
+
resources: z1
|
|
14518
14518
|
}];
|
|
14519
|
-
function
|
|
14519
|
+
function D1(e) {
|
|
14520
14520
|
const {
|
|
14521
14521
|
dimensions: t = [],
|
|
14522
14522
|
...n
|
|
@@ -14539,7 +14539,7 @@ function D0(e) {
|
|
|
14539
14539
|
dimensions: t.map(a)
|
|
14540
14540
|
};
|
|
14541
14541
|
}
|
|
14542
|
-
function
|
|
14542
|
+
function I1(e) {
|
|
14543
14543
|
const {
|
|
14544
14544
|
dimensions: t = [],
|
|
14545
14545
|
...n
|
|
@@ -14552,7 +14552,7 @@ function I0(e) {
|
|
|
14552
14552
|
}))
|
|
14553
14553
|
};
|
|
14554
14554
|
}
|
|
14555
|
-
function
|
|
14555
|
+
function M1(e) {
|
|
14556
14556
|
const t = {
|
|
14557
14557
|
background: {
|
|
14558
14558
|
enabled: !0
|
|
@@ -14563,7 +14563,7 @@ function M0(e) {
|
|
|
14563
14563
|
};
|
|
14564
14564
|
return C.defaultsDeep(t, e);
|
|
14565
14565
|
}
|
|
14566
|
-
function
|
|
14566
|
+
function L1(e, {
|
|
14567
14567
|
panelModel: t
|
|
14568
14568
|
}) {
|
|
14569
14569
|
try {
|
|
@@ -14587,13 +14587,13 @@ function L0(e, {
|
|
|
14587
14587
|
throw console.error("[Migration failed]", n), n;
|
|
14588
14588
|
}
|
|
14589
14589
|
}
|
|
14590
|
-
function
|
|
14590
|
+
function V1(e) {
|
|
14591
14591
|
const t = {
|
|
14592
14592
|
additional_series: []
|
|
14593
14593
|
};
|
|
14594
14594
|
return C.defaultsDeep(t, e);
|
|
14595
14595
|
}
|
|
14596
|
-
function
|
|
14596
|
+
function A1(e) {
|
|
14597
14597
|
const t = {
|
|
14598
14598
|
...e,
|
|
14599
14599
|
dimensions: e.dimensions.map((n) => ({
|
|
@@ -14603,7 +14603,7 @@ function A0(e) {
|
|
|
14603
14603
|
};
|
|
14604
14604
|
return delete t.additionalSeries, t;
|
|
14605
14605
|
}
|
|
14606
|
-
class $
|
|
14606
|
+
class $1 extends Se {
|
|
14607
14607
|
constructor() {
|
|
14608
14608
|
super(...arguments);
|
|
14609
14609
|
j(this, "VERSION", 7);
|
|
@@ -14619,7 +14619,7 @@ class $0 extends Se {
|
|
|
14619
14619
|
return {
|
|
14620
14620
|
...n,
|
|
14621
14621
|
version: 2,
|
|
14622
|
-
config:
|
|
14622
|
+
config: D1(a)
|
|
14623
14623
|
};
|
|
14624
14624
|
}), this.version(3, (n) => {
|
|
14625
14625
|
const {
|
|
@@ -14628,7 +14628,7 @@ class $0 extends Se {
|
|
|
14628
14628
|
return {
|
|
14629
14629
|
...n,
|
|
14630
14630
|
version: 3,
|
|
14631
|
-
config:
|
|
14631
|
+
config: I1(a)
|
|
14632
14632
|
};
|
|
14633
14633
|
}), this.version(4, (n) => {
|
|
14634
14634
|
const {
|
|
@@ -14637,7 +14637,7 @@ class $0 extends Se {
|
|
|
14637
14637
|
return {
|
|
14638
14638
|
...n,
|
|
14639
14639
|
version: 4,
|
|
14640
|
-
config:
|
|
14640
|
+
config: M1(a)
|
|
14641
14641
|
};
|
|
14642
14642
|
}), this.version(5, (n, a) => {
|
|
14643
14643
|
const {
|
|
@@ -14646,7 +14646,7 @@ class $0 extends Se {
|
|
|
14646
14646
|
return {
|
|
14647
14647
|
...n,
|
|
14648
14648
|
version: 5,
|
|
14649
|
-
config:
|
|
14649
|
+
config: L1(i, a)
|
|
14650
14650
|
};
|
|
14651
14651
|
}), this.version(6, (n) => {
|
|
14652
14652
|
const {
|
|
@@ -14655,7 +14655,7 @@ class $0 extends Se {
|
|
|
14655
14655
|
return {
|
|
14656
14656
|
...n,
|
|
14657
14657
|
version: 6,
|
|
14658
|
-
config:
|
|
14658
|
+
config: V1(a)
|
|
14659
14659
|
};
|
|
14660
14660
|
}), this.version(7, (n) => {
|
|
14661
14661
|
const {
|
|
@@ -14664,26 +14664,26 @@ class $0 extends Se {
|
|
|
14664
14664
|
return {
|
|
14665
14665
|
...n,
|
|
14666
14666
|
version: 7,
|
|
14667
|
-
config:
|
|
14667
|
+
config: A1(a)
|
|
14668
14668
|
};
|
|
14669
14669
|
});
|
|
14670
14670
|
}
|
|
14671
14671
|
}
|
|
14672
|
-
const
|
|
14672
|
+
const P1 = {
|
|
14673
14673
|
displayName: "viz.radar_chart.viz_name",
|
|
14674
14674
|
displayGroup: "chart.groups.echarts_based_charts",
|
|
14675
|
-
migrator: new $
|
|
14675
|
+
migrator: new $1(),
|
|
14676
14676
|
name: "radar",
|
|
14677
|
-
viewRender:
|
|
14678
|
-
configRender:
|
|
14677
|
+
viewRender: _1,
|
|
14678
|
+
configRender: C1,
|
|
14679
14679
|
createConfig: () => ({
|
|
14680
14680
|
version: 7,
|
|
14681
14681
|
config: Gr
|
|
14682
14682
|
}),
|
|
14683
14683
|
triggers: [ic],
|
|
14684
|
-
translation:
|
|
14684
|
+
translation: T1
|
|
14685
14685
|
};
|
|
14686
|
-
function
|
|
14686
|
+
function R1(e, t) {
|
|
14687
14687
|
const {
|
|
14688
14688
|
plot: n,
|
|
14689
14689
|
transform: a
|
|
@@ -14709,7 +14709,7 @@ function cc(e, t) {
|
|
|
14709
14709
|
const n = N(e.x_axis.data_key), a = N(e.regression.y_axis_data_key);
|
|
14710
14710
|
return C.uniqBy(t.map((i) => [i[n.columnKey], i[a.columnKey]]), 0);
|
|
14711
14711
|
}
|
|
14712
|
-
function
|
|
14712
|
+
function E1(e, t) {
|
|
14713
14713
|
const {
|
|
14714
14714
|
plot: n,
|
|
14715
14715
|
transform: a
|
|
@@ -14730,7 +14730,7 @@ function E0(e, t) {
|
|
|
14730
14730
|
}
|
|
14731
14731
|
}];
|
|
14732
14732
|
}
|
|
14733
|
-
function
|
|
14733
|
+
function O1(e, t) {
|
|
14734
14734
|
const {
|
|
14735
14735
|
plot: n,
|
|
14736
14736
|
transform: a,
|
|
@@ -14753,15 +14753,15 @@ function O0(e, t) {
|
|
|
14753
14753
|
};
|
|
14754
14754
|
});
|
|
14755
14755
|
}
|
|
14756
|
-
function
|
|
14756
|
+
function q1(e, t) {
|
|
14757
14757
|
if (t.length === 0)
|
|
14758
14758
|
return [];
|
|
14759
14759
|
const {
|
|
14760
14760
|
group_by_key: n
|
|
14761
14761
|
} = e.regression;
|
|
14762
|
-
return n ?
|
|
14762
|
+
return n ? O1(e, t) : E1(e, t);
|
|
14763
14763
|
}
|
|
14764
|
-
function
|
|
14764
|
+
function F1(e) {
|
|
14765
14765
|
return Array.isArray(e) || (e = [e]), e.map((t) => ({
|
|
14766
14766
|
marker: t.marker,
|
|
14767
14767
|
label: t.seriesName,
|
|
@@ -14769,11 +14769,11 @@ function F0(e) {
|
|
|
14769
14769
|
y: t.value[1]
|
|
14770
14770
|
}));
|
|
14771
14771
|
}
|
|
14772
|
-
function
|
|
14772
|
+
function B1(e) {
|
|
14773
14773
|
return pe.getTooltip({
|
|
14774
14774
|
trigger: "axis",
|
|
14775
14775
|
formatter: (t) => {
|
|
14776
|
-
const n =
|
|
14776
|
+
const n = F1(t);
|
|
14777
14777
|
return n.length === 0 ? "" : `
|
|
14778
14778
|
<table style="width: auto">
|
|
14779
14779
|
<thead>
|
|
@@ -14804,7 +14804,7 @@ function B0(e) {
|
|
|
14804
14804
|
}
|
|
14805
14805
|
});
|
|
14806
14806
|
}
|
|
14807
|
-
function
|
|
14807
|
+
function N1(e) {
|
|
14808
14808
|
const {
|
|
14809
14809
|
overflow: t,
|
|
14810
14810
|
format: n,
|
|
@@ -14830,7 +14830,7 @@ function N0(e) {
|
|
|
14830
14830
|
}
|
|
14831
14831
|
});
|
|
14832
14832
|
}
|
|
14833
|
-
const
|
|
14833
|
+
const j1 = {
|
|
14834
14834
|
tooltip: {
|
|
14835
14835
|
trigger: "axis"
|
|
14836
14836
|
},
|
|
@@ -14849,9 +14849,9 @@ const j0 = {
|
|
|
14849
14849
|
yAxisIndex: [0]
|
|
14850
14850
|
}]
|
|
14851
14851
|
};
|
|
14852
|
-
function
|
|
14853
|
-
const n =
|
|
14854
|
-
xAxis:
|
|
14852
|
+
function Q1(e, t) {
|
|
14853
|
+
const n = q1(e, t), a = R1(e, n), i = {
|
|
14854
|
+
xAxis: N1(e),
|
|
14855
14855
|
yAxis: pe.getYAxis({
|
|
14856
14856
|
name: e.y_axis.name ?? "",
|
|
14857
14857
|
nameLocation: "end",
|
|
@@ -14861,7 +14861,7 @@ function Q0(e, t) {
|
|
|
14861
14861
|
nameGap: 5
|
|
14862
14862
|
}),
|
|
14863
14863
|
series: [...n, ...a],
|
|
14864
|
-
tooltip:
|
|
14864
|
+
tooltip: B1(e),
|
|
14865
14865
|
legend: {
|
|
14866
14866
|
show: !0,
|
|
14867
14867
|
type: "scroll",
|
|
@@ -14875,7 +14875,7 @@ function Q0(e, t) {
|
|
|
14875
14875
|
data: n.map((o) => o.name)
|
|
14876
14876
|
}
|
|
14877
14877
|
};
|
|
14878
|
-
return Ge({}, i,
|
|
14878
|
+
return Ge({}, i, j1);
|
|
14879
14879
|
}
|
|
14880
14880
|
const ho = {
|
|
14881
14881
|
output: "number",
|
|
@@ -14886,7 +14886,7 @@ const ho = {
|
|
|
14886
14886
|
function Hr(e, t, n) {
|
|
14887
14887
|
return 1 - (1 - e) * (t - 1) / (t - n - 1);
|
|
14888
14888
|
}
|
|
14889
|
-
function
|
|
14889
|
+
function G1(e, t, n, a) {
|
|
14890
14890
|
const {
|
|
14891
14891
|
x_axis: i,
|
|
14892
14892
|
y_axis: o
|
|
@@ -14910,7 +14910,7 @@ function G0(e, t, n, a) {
|
|
|
14910
14910
|
adjustedRSquared: Hr(d, t.length, 1)
|
|
14911
14911
|
};
|
|
14912
14912
|
}
|
|
14913
|
-
function
|
|
14913
|
+
function H1(e, t, n, a) {
|
|
14914
14914
|
const {
|
|
14915
14915
|
x_axis: i,
|
|
14916
14916
|
y_axis: o
|
|
@@ -14938,7 +14938,7 @@ function H0(e, t, n, a) {
|
|
|
14938
14938
|
adjustedRSquared: Hr(c, t.length, 1)
|
|
14939
14939
|
};
|
|
14940
14940
|
}
|
|
14941
|
-
function
|
|
14941
|
+
function W1(e, t, n, a) {
|
|
14942
14942
|
const {
|
|
14943
14943
|
x_axis: i,
|
|
14944
14944
|
y_axis: o
|
|
@@ -14966,7 +14966,7 @@ function W0(e, t, n, a) {
|
|
|
14966
14966
|
adjustedRSquared: Hr(c, t.length, 1)
|
|
14967
14967
|
};
|
|
14968
14968
|
}
|
|
14969
|
-
function
|
|
14969
|
+
function U1(e, t, n, a) {
|
|
14970
14970
|
const {
|
|
14971
14971
|
x_axis: i,
|
|
14972
14972
|
y_axis: o,
|
|
@@ -14986,14 +14986,14 @@ function po(e, t, n) {
|
|
|
14986
14986
|
regression: a,
|
|
14987
14987
|
x_axis: i
|
|
14988
14988
|
} = n, o = N(i.data_key), l = N(a.y_axis_data_key), s = t.map((c) => [c[o.columnKey], c[l.columnKey]]);
|
|
14989
|
-
return a.transform.config.method === "linear" ?
|
|
14989
|
+
return a.transform.config.method === "linear" ? G1(e, t, s, n) : a.transform.config.method === "exponential" ? H1(e, t, s, n) : a.transform.config.method === "logistic" ? W1(e, t, s, n) : a.transform.config.method === "polynomial" ? U1(e, t, s, n) : {
|
|
14990
14990
|
name: e,
|
|
14991
14991
|
expression: "",
|
|
14992
14992
|
rSquared: 0,
|
|
14993
14993
|
adjustedRSquared: 0
|
|
14994
14994
|
};
|
|
14995
14995
|
}
|
|
14996
|
-
function
|
|
14996
|
+
function K1(e, t) {
|
|
14997
14997
|
if (!t)
|
|
14998
14998
|
return [{
|
|
14999
14999
|
name: "",
|
|
@@ -15006,7 +15006,7 @@ function K0(e, t) {
|
|
|
15006
15006
|
const n = N(t.regression.group_by_key), a = C.groupBy(e, n.columnKey);
|
|
15007
15007
|
return Object.entries(a).map(([i, o]) => po(i, o, t));
|
|
15008
15008
|
}
|
|
15009
|
-
const
|
|
15009
|
+
const Y1 = {
|
|
15010
15010
|
marginTop: "10px",
|
|
15011
15011
|
"tbody th, tbody td": {
|
|
15012
15012
|
padding: "7px 10px"
|
|
@@ -15025,7 +15025,7 @@ function mo({
|
|
|
15025
15025
|
rSquared: a,
|
|
15026
15026
|
adjustedRSquared: i
|
|
15027
15027
|
} = e;
|
|
15028
|
-
return n ? /* @__PURE__ */ r(w, { fz: 14, sx:
|
|
15028
|
+
return n ? /* @__PURE__ */ r(w, { fz: 14, sx: Y1, children: /* @__PURE__ */ u(w.Tbody, { children: [
|
|
15029
15029
|
/* @__PURE__ */ r(w.Tr, { children: /* @__PURE__ */ r(w.Td, { colSpan: 2, children: /* @__PURE__ */ r(k, { size: "sm", ta: "center", children: n }) }) }),
|
|
15030
15030
|
/* @__PURE__ */ u(w.Tr, { children: [
|
|
15031
15031
|
/* @__PURE__ */ r(w.Td, { children: t("viz.regression_chart.r_sq") }),
|
|
@@ -15049,18 +15049,18 @@ function mo({
|
|
|
15049
15049
|
] })
|
|
15050
15050
|
] }) }) : /* @__PURE__ */ r(k, { size: "sm", children: "Unavailable for this regression method" });
|
|
15051
15051
|
}
|
|
15052
|
-
function
|
|
15052
|
+
function X1({
|
|
15053
15053
|
conf: e,
|
|
15054
15054
|
queryData: t
|
|
15055
15055
|
}) {
|
|
15056
15056
|
var a;
|
|
15057
|
-
const n = z(() =>
|
|
15057
|
+
const n = z(() => K1(t, e), [e, t]);
|
|
15058
15058
|
return e.regression.group_by_key ? (console.log(n), /* @__PURE__ */ u(S, { defaultValue: (a = n[0]) == null ? void 0 : a.name, color: "gray", children: [
|
|
15059
15059
|
/* @__PURE__ */ r(S.List, { grow: !0, children: n.map((i) => /* @__PURE__ */ r(S.Tab, { value: i.name, children: i.name }, i.name)) }),
|
|
15060
15060
|
n.map((i) => /* @__PURE__ */ r(S.Panel, { value: i.name, children: /* @__PURE__ */ r(mo, { desc: i }) }, i.name))
|
|
15061
15061
|
] })) : /* @__PURE__ */ r(mo, { desc: n[0] });
|
|
15062
15062
|
}
|
|
15063
|
-
function
|
|
15063
|
+
function Z1({
|
|
15064
15064
|
conf: e,
|
|
15065
15065
|
queryData: t
|
|
15066
15066
|
}) {
|
|
@@ -15069,10 +15069,10 @@ function Z0({
|
|
|
15069
15069
|
} = x();
|
|
15070
15070
|
return /* @__PURE__ */ u(_e, { shadow: "md", withinPortal: !0, zIndex: 320, children: [
|
|
15071
15071
|
/* @__PURE__ */ r(_e.Target, { children: /* @__PURE__ */ r(L, { variant: "subtle", size: "compact-xs", leftSection: /* @__PURE__ */ r(Re, { size: 14 }), children: n("viz.regression_chart.regression_info") }) }),
|
|
15072
|
-
/* @__PURE__ */ r(_e.Dropdown, { children: /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(
|
|
15072
|
+
/* @__PURE__ */ r(_e.Dropdown, { children: /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(X1, { conf: e, queryData: t }) }) })
|
|
15073
15073
|
] });
|
|
15074
15074
|
}
|
|
15075
|
-
function
|
|
15075
|
+
function J1(e) {
|
|
15076
15076
|
return /* @__PURE__ */ r(_, { justify: "space-between", sx: {
|
|
15077
15077
|
position: "absolute",
|
|
15078
15078
|
top: 0,
|
|
@@ -15080,7 +15080,7 @@ function J0(e) {
|
|
|
15080
15080
|
right: Ze.right,
|
|
15081
15081
|
height: "22px",
|
|
15082
15082
|
zIndex: 1
|
|
15083
|
-
}, children: /* @__PURE__ */ r(
|
|
15083
|
+
}, children: /* @__PURE__ */ r(Z1, { ...e }) });
|
|
15084
15084
|
}
|
|
15085
15085
|
const yi = {
|
|
15086
15086
|
x_axis: {
|
|
@@ -15119,7 +15119,7 @@ const yi = {
|
|
|
15119
15119
|
y_axis_data_key: "value"
|
|
15120
15120
|
}
|
|
15121
15121
|
};
|
|
15122
|
-
function
|
|
15122
|
+
function e0({
|
|
15123
15123
|
context: e,
|
|
15124
15124
|
instance: t
|
|
15125
15125
|
}) {
|
|
@@ -15138,7 +15138,7 @@ function e1({
|
|
|
15138
15138
|
...M,
|
|
15139
15139
|
[v.columnKey]: Number(M[v.columnKey])
|
|
15140
15140
|
});
|
|
15141
|
-
}, [e.data, n == null ? void 0 : n.regression.y_axis_data_key]), l = z(() =>
|
|
15141
|
+
}, [e.data, n == null ? void 0 : n.regression.y_axis_data_key]), l = z(() => Q1(Ge({}, n, yi), o), [n, o]), s = $t(null), c = (p) => {
|
|
15142
15142
|
s.current = p;
|
|
15143
15143
|
}, d = ae(() => {
|
|
15144
15144
|
const p = s.current;
|
|
@@ -15147,11 +15147,11 @@ function e1({
|
|
|
15147
15147
|
finished: d
|
|
15148
15148
|
}), [d]);
|
|
15149
15149
|
return !a || !i || !n ? null : /* @__PURE__ */ u(nt, { width: a, height: i, children: [
|
|
15150
|
-
/* @__PURE__ */ r(
|
|
15150
|
+
/* @__PURE__ */ r(J1, { conf: n, queryData: o }),
|
|
15151
15151
|
/* @__PURE__ */ r(He, { echarts: Ne, onChartReady: c, option: l, onEvents: h, style: Xn(a, i), notMerge: !0, theme: "merico-light" })
|
|
15152
15152
|
] });
|
|
15153
15153
|
}
|
|
15154
|
-
function
|
|
15154
|
+
function t0({
|
|
15155
15155
|
control: e,
|
|
15156
15156
|
watch: t
|
|
15157
15157
|
}) {
|
|
@@ -15201,7 +15201,7 @@ function t1({
|
|
|
15201
15201
|
}) => /* @__PURE__ */ r(Ke, { label: n("chart.color.label"), ...s }) }) })
|
|
15202
15202
|
] });
|
|
15203
15203
|
}
|
|
15204
|
-
function
|
|
15204
|
+
function n0({
|
|
15205
15205
|
control: e,
|
|
15206
15206
|
watch: t
|
|
15207
15207
|
}) {
|
|
@@ -15244,7 +15244,7 @@ function n1({
|
|
|
15244
15244
|
}) => /* @__PURE__ */ r(Tt, { ...n }) })
|
|
15245
15245
|
] });
|
|
15246
15246
|
}
|
|
15247
|
-
function
|
|
15247
|
+
function r0({
|
|
15248
15248
|
control: e,
|
|
15249
15249
|
watch: t
|
|
15250
15250
|
}) {
|
|
@@ -15261,7 +15261,7 @@ function r1({
|
|
|
15261
15261
|
}, ...n }) })
|
|
15262
15262
|
] }) });
|
|
15263
15263
|
}
|
|
15264
|
-
function
|
|
15264
|
+
function a0({
|
|
15265
15265
|
context: e
|
|
15266
15266
|
}) {
|
|
15267
15267
|
const {
|
|
@@ -15291,13 +15291,13 @@ function a1({
|
|
|
15291
15291
|
/* @__PURE__ */ r(S.Tab, { value: "Y轴", children: "Y轴" }),
|
|
15292
15292
|
/* @__PURE__ */ r(S.Tab, { value: "回归", children: "回归" })
|
|
15293
15293
|
] }),
|
|
15294
|
-
/* @__PURE__ */ r(S.Panel, { value: "X轴", children: /* @__PURE__ */ r(
|
|
15295
|
-
/* @__PURE__ */ r(S.Panel, { value: "Y轴", children: /* @__PURE__ */ r(
|
|
15296
|
-
/* @__PURE__ */ r(S.Panel, { value: "回归", children: /* @__PURE__ */ r(
|
|
15294
|
+
/* @__PURE__ */ r(S.Panel, { value: "X轴", children: /* @__PURE__ */ r(n0, { watch: l, control: i }) }),
|
|
15295
|
+
/* @__PURE__ */ r(S.Panel, { value: "Y轴", children: /* @__PURE__ */ r(r0, { watch: l, control: i }) }),
|
|
15296
|
+
/* @__PURE__ */ r(S.Panel, { value: "回归", children: /* @__PURE__ */ r(t0, { control: i, watch: l }) })
|
|
15297
15297
|
] })
|
|
15298
15298
|
] }) });
|
|
15299
15299
|
}
|
|
15300
|
-
function
|
|
15300
|
+
function i0(e) {
|
|
15301
15301
|
const t = {
|
|
15302
15302
|
x_axis: {
|
|
15303
15303
|
axisLabel: {
|
|
@@ -15313,7 +15313,7 @@ function i1(e) {
|
|
|
15313
15313
|
};
|
|
15314
15314
|
return C.defaultsDeep(t, e);
|
|
15315
15315
|
}
|
|
15316
|
-
function
|
|
15316
|
+
function o0(e, {
|
|
15317
15317
|
panelModel: t
|
|
15318
15318
|
}) {
|
|
15319
15319
|
try {
|
|
@@ -15341,28 +15341,28 @@ function o1(e, {
|
|
|
15341
15341
|
throw console.error("[Migration failed]", n), n;
|
|
15342
15342
|
}
|
|
15343
15343
|
}
|
|
15344
|
-
const
|
|
15344
|
+
const l0 = {
|
|
15345
15345
|
regression_chart: {
|
|
15346
15346
|
viz_name: "Regression Chart",
|
|
15347
15347
|
regression_info: "Regression Info",
|
|
15348
15348
|
r_sq: "R-Sq",
|
|
15349
15349
|
r_sq_adjusted: "R-Sq(Adjusted)"
|
|
15350
15350
|
}
|
|
15351
|
-
},
|
|
15351
|
+
}, s0 = {
|
|
15352
15352
|
regression_chart: {
|
|
15353
15353
|
viz_name: "回归分析图",
|
|
15354
15354
|
regression_info: "回归信息",
|
|
15355
15355
|
r_sq: "R方",
|
|
15356
15356
|
r_sq_adjusted: "R方(调整)"
|
|
15357
15357
|
}
|
|
15358
|
-
},
|
|
15358
|
+
}, c0 = [{
|
|
15359
15359
|
lang: "en",
|
|
15360
|
-
resources:
|
|
15360
|
+
resources: l0
|
|
15361
15361
|
}, {
|
|
15362
15362
|
lang: "zh",
|
|
15363
|
-
resources:
|
|
15363
|
+
resources: s0
|
|
15364
15364
|
}];
|
|
15365
|
-
class
|
|
15365
|
+
class d0 extends Se {
|
|
15366
15366
|
constructor() {
|
|
15367
15367
|
super(...arguments);
|
|
15368
15368
|
j(this, "VERSION", 3);
|
|
@@ -15374,7 +15374,7 @@ class d1 extends Se {
|
|
|
15374
15374
|
})), this.version(2, (n) => ({
|
|
15375
15375
|
...n,
|
|
15376
15376
|
version: 2,
|
|
15377
|
-
config:
|
|
15377
|
+
config: i0(n.config)
|
|
15378
15378
|
})), this.version(3, (n, a) => {
|
|
15379
15379
|
const {
|
|
15380
15380
|
config: i
|
|
@@ -15382,28 +15382,28 @@ class d1 extends Se {
|
|
|
15382
15382
|
return {
|
|
15383
15383
|
...n,
|
|
15384
15384
|
version: 3,
|
|
15385
|
-
config:
|
|
15385
|
+
config: o0(i, a)
|
|
15386
15386
|
};
|
|
15387
15387
|
});
|
|
15388
15388
|
}
|
|
15389
15389
|
}
|
|
15390
|
-
const
|
|
15390
|
+
const u0 = {
|
|
15391
15391
|
displayName: "viz.regression_chart.viz_name",
|
|
15392
15392
|
displayGroup: "chart.groups.merico_suite",
|
|
15393
|
-
migrator: new
|
|
15393
|
+
migrator: new d0(),
|
|
15394
15394
|
name: "regressionChart",
|
|
15395
|
-
viewRender:
|
|
15396
|
-
configRender:
|
|
15395
|
+
viewRender: e0,
|
|
15396
|
+
configRender: a0,
|
|
15397
15397
|
createConfig() {
|
|
15398
15398
|
return {
|
|
15399
15399
|
version: 3,
|
|
15400
15400
|
config: Pe(yi)
|
|
15401
15401
|
};
|
|
15402
15402
|
},
|
|
15403
|
-
translation:
|
|
15403
|
+
translation: c0
|
|
15404
15404
|
}, Wr = {
|
|
15405
15405
|
content: ""
|
|
15406
|
-
},
|
|
15406
|
+
}, h0 = D(({
|
|
15407
15407
|
context: e
|
|
15408
15408
|
}) => {
|
|
15409
15409
|
const t = Te(), {
|
|
@@ -15426,7 +15426,7 @@ const u1 = {
|
|
|
15426
15426
|
padding: 0
|
|
15427
15427
|
}
|
|
15428
15428
|
}, dashboardState: t.dashboardState, variableAggValueMap: n.variableAggValueMap }) : null;
|
|
15429
|
-
}),
|
|
15429
|
+
}), p0 = D(({
|
|
15430
15430
|
context: e
|
|
15431
15431
|
}) => {
|
|
15432
15432
|
const {
|
|
@@ -15474,22 +15474,22 @@ const u1 = {
|
|
|
15474
15474
|
}
|
|
15475
15475
|
}, label: n("rich_text.content.label"), onSubmit: p }) })
|
|
15476
15476
|
] }) });
|
|
15477
|
-
}),
|
|
15477
|
+
}), m0 = {
|
|
15478
15478
|
rich_text: {
|
|
15479
15479
|
viz_name: "Rich Text"
|
|
15480
15480
|
}
|
|
15481
|
-
},
|
|
15481
|
+
}, g0 = {
|
|
15482
15482
|
rich_text: {
|
|
15483
15483
|
viz_name: "富文本"
|
|
15484
15484
|
}
|
|
15485
|
-
},
|
|
15485
|
+
}, f0 = [{
|
|
15486
15486
|
lang: "en",
|
|
15487
|
-
resources:
|
|
15487
|
+
resources: m0
|
|
15488
15488
|
}, {
|
|
15489
15489
|
lang: "zh",
|
|
15490
|
-
resources:
|
|
15490
|
+
resources: g0
|
|
15491
15491
|
}];
|
|
15492
|
-
class
|
|
15492
|
+
class b0 extends Se {
|
|
15493
15493
|
constructor() {
|
|
15494
15494
|
super(...arguments);
|
|
15495
15495
|
j(this, "VERSION", 1);
|
|
@@ -15504,20 +15504,20 @@ class b1 extends Se {
|
|
|
15504
15504
|
}));
|
|
15505
15505
|
}
|
|
15506
15506
|
}
|
|
15507
|
-
const
|
|
15507
|
+
const y0 = {
|
|
15508
15508
|
displayName: "viz.rich_text.viz_name",
|
|
15509
15509
|
displayGroup: "chart.groups.others",
|
|
15510
|
-
migrator: new
|
|
15510
|
+
migrator: new b0(),
|
|
15511
15511
|
name: "richText",
|
|
15512
|
-
viewRender:
|
|
15513
|
-
configRender:
|
|
15512
|
+
viewRender: h0,
|
|
15513
|
+
configRender: p0,
|
|
15514
15514
|
createConfig() {
|
|
15515
15515
|
return {
|
|
15516
15516
|
version: 1,
|
|
15517
15517
|
config: Pe(Wr)
|
|
15518
15518
|
};
|
|
15519
15519
|
},
|
|
15520
|
-
translation:
|
|
15520
|
+
translation: f0
|
|
15521
15521
|
}, Jn = {
|
|
15522
15522
|
static: {
|
|
15523
15523
|
type: "static",
|
|
@@ -15581,7 +15581,7 @@ const uc = {
|
|
|
15581
15581
|
reference_areas: [],
|
|
15582
15582
|
dataZoom: yn
|
|
15583
15583
|
};
|
|
15584
|
-
function
|
|
15584
|
+
function _0(e) {
|
|
15585
15585
|
const {
|
|
15586
15586
|
dataZoom: t = yn,
|
|
15587
15587
|
...n
|
|
@@ -15591,7 +15591,7 @@ function _1(e) {
|
|
|
15591
15591
|
dataZoom: t
|
|
15592
15592
|
};
|
|
15593
15593
|
}
|
|
15594
|
-
function
|
|
15594
|
+
function x0(e) {
|
|
15595
15595
|
const t = {
|
|
15596
15596
|
scatter: {
|
|
15597
15597
|
label_overflow: dc()
|
|
@@ -15599,7 +15599,7 @@ function x1(e) {
|
|
|
15599
15599
|
};
|
|
15600
15600
|
return C.defaultsDeep(t, e);
|
|
15601
15601
|
}
|
|
15602
|
-
function
|
|
15602
|
+
function v0(e) {
|
|
15603
15603
|
const {
|
|
15604
15604
|
color: t
|
|
15605
15605
|
} = e.scatter;
|
|
@@ -15614,7 +15614,7 @@ function v1(e) {
|
|
|
15614
15614
|
}
|
|
15615
15615
|
} : e;
|
|
15616
15616
|
}
|
|
15617
|
-
function
|
|
15617
|
+
function w0(e) {
|
|
15618
15618
|
const t = e.reference_lines.map((n) => {
|
|
15619
15619
|
const {
|
|
15620
15620
|
lineStyle: a = {
|
|
@@ -15637,7 +15637,7 @@ function w1(e) {
|
|
|
15637
15637
|
reference_lines: t
|
|
15638
15638
|
};
|
|
15639
15639
|
}
|
|
15640
|
-
function
|
|
15640
|
+
function S0(e) {
|
|
15641
15641
|
const t = {
|
|
15642
15642
|
tooltip: {
|
|
15643
15643
|
trigger: "item"
|
|
@@ -15645,7 +15645,7 @@ function S1(e) {
|
|
|
15645
15645
|
};
|
|
15646
15646
|
return C.defaultsDeep({}, e, t);
|
|
15647
15647
|
}
|
|
15648
|
-
function
|
|
15648
|
+
function C0(e, {
|
|
15649
15649
|
panelModel: t
|
|
15650
15650
|
}) {
|
|
15651
15651
|
try {
|
|
@@ -15681,7 +15681,7 @@ function C1(e, {
|
|
|
15681
15681
|
throw console.error("[Migration failed]", n), n;
|
|
15682
15682
|
}
|
|
15683
15683
|
}
|
|
15684
|
-
function
|
|
15684
|
+
function k0(e) {
|
|
15685
15685
|
const t = {
|
|
15686
15686
|
x_axis: {
|
|
15687
15687
|
axisLabel: {
|
|
@@ -15691,7 +15691,7 @@ function k1(e) {
|
|
|
15691
15691
|
};
|
|
15692
15692
|
return C.defaultsDeep(t, e);
|
|
15693
15693
|
}
|
|
15694
|
-
function
|
|
15694
|
+
function z0(e, t) {
|
|
15695
15695
|
const {
|
|
15696
15696
|
stats: n,
|
|
15697
15697
|
...a
|
|
@@ -15704,7 +15704,7 @@ function z1(e, t) {
|
|
|
15704
15704
|
...a
|
|
15705
15705
|
};
|
|
15706
15706
|
}
|
|
15707
|
-
class
|
|
15707
|
+
class T0 extends Se {
|
|
15708
15708
|
constructor() {
|
|
15709
15709
|
super(...arguments);
|
|
15710
15710
|
j(this, "VERSION", 11);
|
|
@@ -15731,7 +15731,7 @@ class T1 extends Se {
|
|
|
15731
15731
|
}), this.version(3, (n) => ({
|
|
15732
15732
|
...n,
|
|
15733
15733
|
version: 3,
|
|
15734
|
-
config:
|
|
15734
|
+
config: _0(n.config)
|
|
15735
15735
|
})), this.version(4, (n) => {
|
|
15736
15736
|
const {
|
|
15737
15737
|
config: a
|
|
@@ -15739,7 +15739,7 @@ class T1 extends Se {
|
|
|
15739
15739
|
return {
|
|
15740
15740
|
...n,
|
|
15741
15741
|
version: 5,
|
|
15742
|
-
config:
|
|
15742
|
+
config: x0(a)
|
|
15743
15743
|
};
|
|
15744
15744
|
}), this.version(6, (n) => {
|
|
15745
15745
|
const {
|
|
@@ -15748,7 +15748,7 @@ class T1 extends Se {
|
|
|
15748
15748
|
return {
|
|
15749
15749
|
...n,
|
|
15750
15750
|
version: 6,
|
|
15751
|
-
config:
|
|
15751
|
+
config: v0(a)
|
|
15752
15752
|
};
|
|
15753
15753
|
}), this.version(7, (n) => {
|
|
15754
15754
|
const {
|
|
@@ -15757,7 +15757,7 @@ class T1 extends Se {
|
|
|
15757
15757
|
return {
|
|
15758
15758
|
...n,
|
|
15759
15759
|
version: 7,
|
|
15760
|
-
config:
|
|
15760
|
+
config: w0(a)
|
|
15761
15761
|
};
|
|
15762
15762
|
}), this.version(8, (n) => {
|
|
15763
15763
|
const {
|
|
@@ -15766,7 +15766,7 @@ class T1 extends Se {
|
|
|
15766
15766
|
return {
|
|
15767
15767
|
...n,
|
|
15768
15768
|
version: 8,
|
|
15769
|
-
config:
|
|
15769
|
+
config: S0(a)
|
|
15770
15770
|
};
|
|
15771
15771
|
}), this.version(9, (n, a) => {
|
|
15772
15772
|
const {
|
|
@@ -15775,7 +15775,7 @@ class T1 extends Se {
|
|
|
15775
15775
|
return {
|
|
15776
15776
|
...n,
|
|
15777
15777
|
version: 9,
|
|
15778
|
-
config:
|
|
15778
|
+
config: C0(i, a)
|
|
15779
15779
|
};
|
|
15780
15780
|
}), this.version(10, (n, a) => {
|
|
15781
15781
|
const {
|
|
@@ -15784,7 +15784,7 @@ class T1 extends Se {
|
|
|
15784
15784
|
return {
|
|
15785
15785
|
...n,
|
|
15786
15786
|
version: 10,
|
|
15787
|
-
config:
|
|
15787
|
+
config: k0(i)
|
|
15788
15788
|
};
|
|
15789
15789
|
}), this.version(11, (n, a) => {
|
|
15790
15790
|
const {
|
|
@@ -15793,12 +15793,12 @@ class T1 extends Se {
|
|
|
15793
15793
|
return {
|
|
15794
15794
|
...n,
|
|
15795
15795
|
version: 11,
|
|
15796
|
-
config:
|
|
15796
|
+
config: z0(i, a.panelModel)
|
|
15797
15797
|
};
|
|
15798
15798
|
});
|
|
15799
15799
|
}
|
|
15800
15800
|
}
|
|
15801
|
-
const
|
|
15801
|
+
const D0 = {
|
|
15802
15802
|
scatter_chart: {
|
|
15803
15803
|
viz_name: "Scatter Chart",
|
|
15804
15804
|
color: {
|
|
@@ -15815,7 +15815,7 @@ const D1 = {
|
|
|
15815
15815
|
trigger: "Click Scatter"
|
|
15816
15816
|
}
|
|
15817
15817
|
}
|
|
15818
|
-
},
|
|
15818
|
+
}, I0 = {
|
|
15819
15819
|
scatter_chart: {
|
|
15820
15820
|
viz_name: "散点图",
|
|
15821
15821
|
color: {
|
|
@@ -15832,17 +15832,17 @@ const D1 = {
|
|
|
15832
15832
|
trigger: "点击散点"
|
|
15833
15833
|
}
|
|
15834
15834
|
}
|
|
15835
|
-
},
|
|
15835
|
+
}, M0 = [{
|
|
15836
15836
|
lang: "en",
|
|
15837
|
-
resources:
|
|
15837
|
+
resources: D0
|
|
15838
15838
|
}, {
|
|
15839
15839
|
lang: "zh",
|
|
15840
|
-
resources:
|
|
15840
|
+
resources: I0
|
|
15841
15841
|
}], hc = {
|
|
15842
15842
|
id: "builtin:echarts:click-scatter-chart:series",
|
|
15843
15843
|
displayName: "viz.scatter_chart.click_scatter.trigger",
|
|
15844
|
-
nameRender:
|
|
15845
|
-
configRender:
|
|
15844
|
+
nameRender: V0,
|
|
15845
|
+
configRender: L0,
|
|
15846
15846
|
payload: [{
|
|
15847
15847
|
name: "seriesType",
|
|
15848
15848
|
description: '"scatter"',
|
|
@@ -15869,16 +15869,16 @@ const D1 = {
|
|
|
15869
15869
|
valueType: "object"
|
|
15870
15870
|
}]
|
|
15871
15871
|
};
|
|
15872
|
-
function
|
|
15872
|
+
function L0(e) {
|
|
15873
15873
|
return /* @__PURE__ */ r(F, {});
|
|
15874
15874
|
}
|
|
15875
|
-
function
|
|
15875
|
+
function V0(e) {
|
|
15876
15876
|
const {
|
|
15877
15877
|
t
|
|
15878
15878
|
} = x();
|
|
15879
15879
|
return /* @__PURE__ */ r(k, { size: "sm", children: t("viz.scatter_chart.click_scatter.trigger") });
|
|
15880
15880
|
}
|
|
15881
|
-
function
|
|
15881
|
+
function A0(e, t) {
|
|
15882
15882
|
if (!e.x_axis.data_key)
|
|
15883
15883
|
return [];
|
|
15884
15884
|
const n = N(e.x_axis.data_key);
|
|
@@ -15886,7 +15886,7 @@ function A1(e, t) {
|
|
|
15886
15886
|
source: t[n.queryID]
|
|
15887
15887
|
}];
|
|
15888
15888
|
}
|
|
15889
|
-
function $
|
|
15889
|
+
function $0(e) {
|
|
15890
15890
|
const t = e.y_axes.some((i) => !!i.name);
|
|
15891
15891
|
let n = 15;
|
|
15892
15892
|
t && (n += 20), e.dataZoom.x_axis_slider && (n += 20);
|
|
@@ -15896,7 +15896,7 @@ function $1(e) {
|
|
|
15896
15896
|
bottom: a
|
|
15897
15897
|
};
|
|
15898
15898
|
}
|
|
15899
|
-
function
|
|
15899
|
+
function P0() {
|
|
15900
15900
|
return {
|
|
15901
15901
|
show: !1,
|
|
15902
15902
|
bottom: 0,
|
|
@@ -15908,7 +15908,7 @@ function tr(e, t) {
|
|
|
15908
15908
|
if (e)
|
|
15909
15909
|
return t[e] ?? void 0;
|
|
15910
15910
|
}
|
|
15911
|
-
function
|
|
15911
|
+
function R0({
|
|
15912
15912
|
reference_areas: e,
|
|
15913
15913
|
variableValueMap: t
|
|
15914
15914
|
}) {
|
|
@@ -15933,7 +15933,7 @@ function R1({
|
|
|
15933
15933
|
}
|
|
15934
15934
|
};
|
|
15935
15935
|
}
|
|
15936
|
-
function
|
|
15936
|
+
function E0({
|
|
15937
15937
|
type: e,
|
|
15938
15938
|
...t
|
|
15939
15939
|
}, n) {
|
|
@@ -15964,7 +15964,7 @@ function E1({
|
|
|
15964
15964
|
}
|
|
15965
15965
|
};
|
|
15966
15966
|
}
|
|
15967
|
-
function
|
|
15967
|
+
function O0({
|
|
15968
15968
|
type: e,
|
|
15969
15969
|
...t
|
|
15970
15970
|
}, n) {
|
|
@@ -15995,7 +15995,7 @@ function O1({
|
|
|
15995
15995
|
}
|
|
15996
15996
|
};
|
|
15997
15997
|
}
|
|
15998
|
-
function
|
|
15998
|
+
function q0(e, t, n, a) {
|
|
15999
15999
|
return e.map((i) => {
|
|
16000
16000
|
const o = i.orientation === "horizontal", l = o ? "yAxis" : "xAxis", s = o ? "insideEndTop" : "end";
|
|
16001
16001
|
return {
|
|
@@ -16023,7 +16023,7 @@ function q1(e, t, n, a) {
|
|
|
16023
16023
|
};
|
|
16024
16024
|
});
|
|
16025
16025
|
}
|
|
16026
|
-
function
|
|
16026
|
+
function F0({
|
|
16027
16027
|
x_axis: e,
|
|
16028
16028
|
scatter: t
|
|
16029
16029
|
}, n) {
|
|
@@ -16043,17 +16043,17 @@ function F1({
|
|
|
16043
16043
|
yAxisIndex: 0,
|
|
16044
16044
|
datasetIndex: 0,
|
|
16045
16045
|
itemStyle: {
|
|
16046
|
-
color:
|
|
16046
|
+
color: O0(t.color, n)
|
|
16047
16047
|
},
|
|
16048
|
-
symbolSize:
|
|
16048
|
+
symbolSize: E0(t.symbolSize, n),
|
|
16049
16049
|
encode: {
|
|
16050
16050
|
x: a.columnKey,
|
|
16051
16051
|
y: i.columnKey
|
|
16052
16052
|
}
|
|
16053
16053
|
};
|
|
16054
16054
|
}
|
|
16055
|
-
function
|
|
16056
|
-
return [
|
|
16055
|
+
function B0(e, t, n, a) {
|
|
16056
|
+
return [F0(e, a)].concat(q0(e.reference_lines, n, a, t)).concat(R0({
|
|
16057
16057
|
reference_areas: e.reference_areas,
|
|
16058
16058
|
variableValueMap: a
|
|
16059
16059
|
}));
|
|
@@ -16064,7 +16064,7 @@ function go(e, t, n) {
|
|
|
16064
16064
|
} = n;
|
|
16065
16065
|
return a.axisLabel.formatter.enabled ? Je(a.axisLabel.formatter)(e, t) : e;
|
|
16066
16066
|
}
|
|
16067
|
-
function
|
|
16067
|
+
function N0(e, t) {
|
|
16068
16068
|
const {
|
|
16069
16069
|
x_axis: n,
|
|
16070
16070
|
tooltip: a
|
|
@@ -16082,13 +16082,13 @@ function N1(e, t) {
|
|
|
16082
16082
|
} = i;
|
|
16083
16083
|
return go(o, l, t);
|
|
16084
16084
|
}
|
|
16085
|
-
const
|
|
16085
|
+
const j0 = (e) => se(e, {
|
|
16086
16086
|
output: "number",
|
|
16087
16087
|
trimMantissa: !0,
|
|
16088
16088
|
mantissa: 2,
|
|
16089
16089
|
absolute: !1
|
|
16090
16090
|
});
|
|
16091
|
-
function
|
|
16091
|
+
function Q0(e, t) {
|
|
16092
16092
|
const {
|
|
16093
16093
|
scatter: n,
|
|
16094
16094
|
tooltip: a
|
|
@@ -16099,7 +16099,7 @@ function Q1(e, t) {
|
|
|
16099
16099
|
const o = t[0] ?? t.default, l = Array.isArray(i) ? i : [i];
|
|
16100
16100
|
if (l.length === 0)
|
|
16101
16101
|
return "";
|
|
16102
|
-
const s =
|
|
16102
|
+
const s = N0(l, e), c = pt(e.scatter.label_overflow.tooltip), d = l.map(
|
|
16103
16103
|
// @ts-expect-error type of value
|
|
16104
16104
|
({
|
|
16105
16105
|
value: b
|
|
@@ -16125,7 +16125,7 @@ function Q1(e, t) {
|
|
|
16125
16125
|
<th style="text-align: right;">${b.name}</th>
|
|
16126
16126
|
${l.map(({
|
|
16127
16127
|
value: v
|
|
16128
|
-
}) => `<td style="text-align: right; padding: 0 1em;">${
|
|
16128
|
+
}) => `<td style="text-align: right; padding: 0 1em;">${j0(or(v, b.data_key))}</td>`).join("")}
|
|
16129
16129
|
</tr>`);
|
|
16130
16130
|
return p.push(...g), `
|
|
16131
16131
|
<table style="width: auto">
|
|
@@ -16136,7 +16136,7 @@ function Q1(e, t) {
|
|
|
16136
16136
|
}
|
|
16137
16137
|
});
|
|
16138
16138
|
}
|
|
16139
|
-
function
|
|
16139
|
+
function G0(e, t) {
|
|
16140
16140
|
const n = t.every((s) => !Number.isNaN(Number(s))), {
|
|
16141
16141
|
overflow: a,
|
|
16142
16142
|
...i
|
|
@@ -16154,7 +16154,7 @@ function G1(e, t) {
|
|
|
16154
16154
|
}
|
|
16155
16155
|
})];
|
|
16156
16156
|
}
|
|
16157
|
-
function
|
|
16157
|
+
function H0(e, t) {
|
|
16158
16158
|
return e.y_axes.map(({
|
|
16159
16159
|
nameAlignment: n,
|
|
16160
16160
|
min: a,
|
|
@@ -16186,7 +16186,7 @@ function H1(e, t) {
|
|
|
16186
16186
|
});
|
|
16187
16187
|
});
|
|
16188
16188
|
}
|
|
16189
|
-
const
|
|
16189
|
+
const W0 = {
|
|
16190
16190
|
xAxis: [{
|
|
16191
16191
|
type: "category",
|
|
16192
16192
|
nameGap: 25,
|
|
@@ -16210,7 +16210,7 @@ const W1 = {
|
|
|
16210
16210
|
containLabel: !0
|
|
16211
16211
|
}
|
|
16212
16212
|
};
|
|
16213
|
-
function
|
|
16213
|
+
function U0(e, t, n) {
|
|
16214
16214
|
const a = n.reduce((c, d) => {
|
|
16215
16215
|
const h = Ft(d, t);
|
|
16216
16216
|
return c[d.name] = gt(d, h), c;
|
|
@@ -16229,19 +16229,19 @@ function U1(e, t, n) {
|
|
|
16229
16229
|
default: ({
|
|
16230
16230
|
value: c
|
|
16231
16231
|
}) => c
|
|
16232
|
-
}), o = C.uniq(ht(t, e.x_axis.data_key)), l =
|
|
16233
|
-
xAxis:
|
|
16234
|
-
yAxis:
|
|
16232
|
+
}), o = C.uniq(ht(t, e.x_axis.data_key)), l = B0(e, t, n, a), s = {
|
|
16233
|
+
xAxis: G0(e, o),
|
|
16234
|
+
yAxis: H0(e, i),
|
|
16235
16235
|
series: l,
|
|
16236
|
-
dataset:
|
|
16237
|
-
tooltip:
|
|
16238
|
-
grid: $
|
|
16239
|
-
legend:
|
|
16236
|
+
dataset: A0(e, t),
|
|
16237
|
+
tooltip: Q0(e, i),
|
|
16238
|
+
grid: $0(e),
|
|
16239
|
+
legend: P0(),
|
|
16240
16240
|
dataZoom: Br(e.dataZoom)
|
|
16241
16241
|
};
|
|
16242
|
-
return Ge({}, s,
|
|
16242
|
+
return Ge({}, s, W0);
|
|
16243
16243
|
}
|
|
16244
|
-
function
|
|
16244
|
+
function K0({
|
|
16245
16245
|
conf: e,
|
|
16246
16246
|
data: t,
|
|
16247
16247
|
width: n,
|
|
@@ -16265,13 +16265,13 @@ function K1({
|
|
|
16265
16265
|
}, [l]), g = z(() => ({
|
|
16266
16266
|
click: d,
|
|
16267
16267
|
finished: p
|
|
16268
|
-
}), [d, p]), y = $.useMemo(() =>
|
|
16268
|
+
}), [d, p]), y = $.useMemo(() => U0(e, t, o), [e, t]);
|
|
16269
16269
|
return /* @__PURE__ */ r(He, { echarts: Ne, option: y, ref: h, style: {
|
|
16270
16270
|
width: n,
|
|
16271
16271
|
height: a
|
|
16272
16272
|
}, onEvents: g, notMerge: !0, theme: "merico-light" });
|
|
16273
16273
|
}
|
|
16274
|
-
function
|
|
16274
|
+
function Y0({
|
|
16275
16275
|
context: e,
|
|
16276
16276
|
instance: t
|
|
16277
16277
|
}) {
|
|
@@ -16288,11 +16288,11 @@ function Y1({
|
|
|
16288
16288
|
} = e.viewport, [d, h] = G(0), [p, g] = G(0), y = Math.max(0, Ct(c) - d - p), b = St(s);
|
|
16289
16289
|
return !s || !c ? null : /* @__PURE__ */ u(nt, { width: s, height: c, children: [
|
|
16290
16290
|
/* @__PURE__ */ r(fr, { onHeightChange: h, value: o.stats.top, context: e }),
|
|
16291
|
-
/* @__PURE__ */ r(
|
|
16291
|
+
/* @__PURE__ */ r(K0, { instance: t, variables: i, width: b, height: y, data: l, conf: o, interactionManager: n }),
|
|
16292
16292
|
/* @__PURE__ */ r(fr, { onHeightChange: g, value: o.stats.bottom, context: e })
|
|
16293
16293
|
] });
|
|
16294
16294
|
}
|
|
16295
|
-
const
|
|
16295
|
+
const X0 = J(({
|
|
16296
16296
|
value: e,
|
|
16297
16297
|
onChange: t,
|
|
16298
16298
|
xAxisOptions: n,
|
|
@@ -16338,7 +16338,7 @@ const X1 = J(({
|
|
|
16338
16338
|
] })
|
|
16339
16339
|
] });
|
|
16340
16340
|
});
|
|
16341
|
-
function
|
|
16341
|
+
function Z0() {
|
|
16342
16342
|
const e = (/* @__PURE__ */ new Date()).getTime().toString();
|
|
16343
16343
|
return {
|
|
16344
16344
|
id: e,
|
|
@@ -16364,14 +16364,14 @@ function Z1() {
|
|
|
16364
16364
|
yAxisIndex: "0"
|
|
16365
16365
|
};
|
|
16366
16366
|
}
|
|
16367
|
-
function
|
|
16367
|
+
function J0({
|
|
16368
16368
|
control: e,
|
|
16369
16369
|
watch: t,
|
|
16370
16370
|
variables: n
|
|
16371
16371
|
}) {
|
|
16372
16372
|
const {
|
|
16373
16373
|
t: a
|
|
16374
|
-
} = x(), i = () =>
|
|
16374
|
+
} = x(), i = () => Z0(), o = z(() => n.map((d) => ({
|
|
16375
16375
|
label: d.name,
|
|
16376
16376
|
value: d.name
|
|
16377
16377
|
})), [n]), l = t("y_axes"), s = z(() => l.map(({
|
|
@@ -16385,7 +16385,7 @@ function J1({
|
|
|
16385
16385
|
index: h
|
|
16386
16386
|
}) => /* @__PURE__ */ r(f, { name: `reference_areas.${h}`, control: e, render: ({
|
|
16387
16387
|
field: p
|
|
16388
|
-
}) => /* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(
|
|
16388
|
+
}) => /* @__PURE__ */ r(T, { children: /* @__PURE__ */ r(X0, { variableOptions: o, yAxisOptions: s, ...p }) }) }) });
|
|
16389
16389
|
}
|
|
16390
16390
|
function ew({
|
|
16391
16391
|
control: e,
|
|
@@ -16912,7 +16912,7 @@ function fw({
|
|
|
16912
16912
|
/* @__PURE__ */ r(S.Panel, { value: "Tooltip", children: /* @__PURE__ */ r(hw, { control: l, watch: c }) }),
|
|
16913
16913
|
/* @__PURE__ */ r(S.Panel, { value: "Stats", children: /* @__PURE__ */ r(cw, { control: l, watch: c }) }),
|
|
16914
16914
|
/* @__PURE__ */ r(S.Panel, { value: "Reference Lines", children: /* @__PURE__ */ r(tw, { variables: i, control: l, watch: c }) }),
|
|
16915
|
-
/* @__PURE__ */ r(S.Panel, { value: "Reference Areas", children: /* @__PURE__ */ r(
|
|
16915
|
+
/* @__PURE__ */ r(S.Panel, { value: "Reference Areas", children: /* @__PURE__ */ r(J0, { variables: i, control: l, watch: c }) }),
|
|
16916
16916
|
/* @__PURE__ */ r(S.Panel, { value: "Zooming", children: /* @__PURE__ */ r(f, { name: "dataZoom", control: l, render: ({
|
|
16917
16917
|
field: p
|
|
16918
16918
|
}) => /* @__PURE__ */ r(Nr, { ...p }) }) })
|
|
@@ -16929,9 +16929,9 @@ function bw(e) {
|
|
|
16929
16929
|
const yw = {
|
|
16930
16930
|
displayName: "viz.scatter_chart.viz_name",
|
|
16931
16931
|
displayGroup: "chart.groups.echarts_based_charts",
|
|
16932
|
-
migrator: new
|
|
16932
|
+
migrator: new T0(),
|
|
16933
16933
|
name: "scatterChart",
|
|
16934
|
-
viewRender:
|
|
16934
|
+
viewRender: Y0,
|
|
16935
16935
|
configRender: bw,
|
|
16936
16936
|
createConfig() {
|
|
16937
16937
|
return {
|
|
@@ -16940,7 +16940,7 @@ const yw = {
|
|
|
16940
16940
|
};
|
|
16941
16941
|
},
|
|
16942
16942
|
triggers: [hc],
|
|
16943
|
-
translation:
|
|
16943
|
+
translation: M0
|
|
16944
16944
|
}, _w = {
|
|
16945
16945
|
content: "Use double curly brackets to wrap js code: {{ new Date().getTime() }}",
|
|
16946
16946
|
vertical_align: "center"
|
|
@@ -22753,7 +22753,7 @@ const n5 = {
|
|
|
22753
22753
|
value: e.value,
|
|
22754
22754
|
type: "single",
|
|
22755
22755
|
category: "basic"
|
|
22756
|
-
})), a5 = [Xp, Zp, tm, em, Jp, nm], Di = [ma, qw, sC,
|
|
22756
|
+
})), a5 = [Xp, Zp, tm, em, Jp, nm], Di = [ma, qw, sC, y0, sS, l1, $2, Og, jb, tx, Hx, YC, Lv, $_, yw, P1, u0, _C, gk, n5, Ik, ry], i5 = Di.reduce((e, t) => (e[t.name] = {
|
|
22757
22757
|
displayName: t.displayName,
|
|
22758
22758
|
displayGroup: t.displayGroup
|
|
22759
22759
|
}, e), {}), zc = () => ({
|