@gpustack/core-ui 1.0.3 → 1.0.4
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/index.es.js
CHANGED
|
@@ -5403,36 +5403,39 @@ var jo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
|
|
|
5403
5403
|
children: /* @__PURE__ */ H(pt, { image: pt.PRESENTED_IMAGE_SIMPLE })
|
|
5404
5404
|
})]
|
|
5405
5405
|
}), Mo = M((e) => {
|
|
5406
|
-
let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, title: s } = e, { barItemConfig:
|
|
5406
|
+
let { seriesData: t, xAxisData: n, height: r, width: i, labelFormatter: a, legendData: o, title: s, stack: c = "total" } = e, { barItemConfig: l, grid: u, legend: d, title: f, tooltip: p, xAxis: m, yAxis: h } = Ao(), g = R(() => {
|
|
5407
5407
|
let e = {
|
|
5408
5408
|
title: { text: "" },
|
|
5409
|
-
grid:
|
|
5410
|
-
tooltip: { ...
|
|
5409
|
+
grid: u,
|
|
5410
|
+
tooltip: { ...p },
|
|
5411
5411
|
xAxis: {
|
|
5412
|
-
...
|
|
5412
|
+
...m,
|
|
5413
5413
|
axisLabel: {
|
|
5414
|
-
...
|
|
5414
|
+
...m.axisLabel,
|
|
5415
5415
|
formatter: a
|
|
5416
5416
|
},
|
|
5417
5417
|
data: []
|
|
5418
5418
|
},
|
|
5419
|
-
yAxis:
|
|
5419
|
+
yAxis: h,
|
|
5420
5420
|
legend: {
|
|
5421
|
-
...
|
|
5421
|
+
...d,
|
|
5422
5422
|
data: []
|
|
5423
5423
|
},
|
|
5424
5424
|
series: []
|
|
5425
|
-
}, r = Z.default.map(t, (e) =>
|
|
5426
|
-
...e,
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5425
|
+
}, r = Z.default.map(t, (e) => {
|
|
5426
|
+
let { stack: t, ...n } = e, r = t ?? c;
|
|
5427
|
+
return {
|
|
5428
|
+
...n,
|
|
5429
|
+
...l,
|
|
5430
|
+
...r === !1 ? {} : { stack: r },
|
|
5431
|
+
itemStyle: { color: e.color }
|
|
5432
|
+
};
|
|
5433
|
+
});
|
|
5431
5434
|
return {
|
|
5432
5435
|
...e,
|
|
5433
5436
|
animation: !1,
|
|
5434
5437
|
title: {
|
|
5435
|
-
...
|
|
5438
|
+
...f,
|
|
5436
5439
|
text: s
|
|
5437
5440
|
},
|
|
5438
5441
|
yAxis: { ...e.yAxis },
|
|
@@ -5447,16 +5450,17 @@ var jo = ({ height: e, title: t }) => /* @__PURE__ */ U("div", {
|
|
|
5447
5450
|
n,
|
|
5448
5451
|
s,
|
|
5449
5452
|
a,
|
|
5450
|
-
f,
|
|
5451
|
-
l,
|
|
5452
5453
|
p,
|
|
5453
|
-
m,
|
|
5454
5454
|
u,
|
|
5455
|
+
m,
|
|
5456
|
+
h,
|
|
5457
|
+
d,
|
|
5458
|
+
l,
|
|
5455
5459
|
c
|
|
5456
5460
|
]);
|
|
5457
5461
|
return /* @__PURE__ */ H(V, { children: t.length ? /* @__PURE__ */ H(Oo, {
|
|
5458
5462
|
height: r,
|
|
5459
|
-
options:
|
|
5463
|
+
options: g,
|
|
5460
5464
|
width: i || "100%"
|
|
5461
5465
|
}) : /* @__PURE__ */ H(jo, {
|
|
5462
5466
|
height: r,
|