@devtable/dashboard 10.9.0 → 10.9.2
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
|
@@ -3024,7 +3024,7 @@ class Zo {
|
|
|
3024
3024
|
}), this.instanceRegistry.clear(), this.factoryRegistry.clear();
|
|
3025
3025
|
}
|
|
3026
3026
|
}
|
|
3027
|
-
const yc = "10.9.
|
|
3027
|
+
const yc = "10.9.2", Cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3028
3028
|
__proto__: null,
|
|
3029
3029
|
version: yc
|
|
3030
3030
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -10262,15 +10262,16 @@ function Sx(t, e, n) {
|
|
|
10262
10262
|
value_field: o,
|
|
10263
10263
|
color_field: a
|
|
10264
10264
|
} = t;
|
|
10265
|
-
if (!r || !o
|
|
10265
|
+
if (!r || !o)
|
|
10266
10266
|
return {};
|
|
10267
10267
|
const s = H(r), l = H(o), c = H(a), d = e[s.queryID].map((h) => ({
|
|
10268
10268
|
name: h[s.columnKey],
|
|
10269
10269
|
value: Number(h[l.columnKey]),
|
|
10270
|
-
color: h[c.columnKey]
|
|
10270
|
+
color: c.columnKey ? h[c.columnKey] : void 0
|
|
10271
10271
|
})), p = Cx("multiple");
|
|
10272
10272
|
return {
|
|
10273
10273
|
type: "pie",
|
|
10274
|
+
name: "pie",
|
|
10274
10275
|
radius: ["50%", "80%"],
|
|
10275
10276
|
itemStyle: {
|
|
10276
10277
|
color: ({
|
|
@@ -10383,7 +10384,7 @@ function Ix({
|
|
|
10383
10384
|
}, [a, s, o]), c = z.useMemo(() => kx(t, e, n), [t, e, n]), d = M(() => ({
|
|
10384
10385
|
click: l
|
|
10385
10386
|
}), [l]);
|
|
10386
|
-
return !n || !r ? null : /* @__PURE__ */ i(ut, { echarts: ye, option: c, style: {
|
|
10387
|
+
return !n || !r || !c.series.name ? null : /* @__PURE__ */ i(ut, { echarts: ye, option: c, style: {
|
|
10387
10388
|
width: n,
|
|
10388
10389
|
height: r
|
|
10389
10390
|
}, onEvents: d, notMerge: !0, theme: "merico-light" });
|