@ailife-dev-vue/uiplus-dev 0.1.55 → 0.1.56

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.
Files changed (2) hide show
  1. package/dist/index.mjs +16 -16
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -46498,7 +46498,7 @@ const ch = (t, e) => t.map((n) => {
46498
46498
  axisLabelColor: l,
46499
46499
  axisLineColor: u,
46500
46500
  splitLineColor: c
46501
- } = t, f = e === "bar", v = f ? "bar" : "line", d = A === "day", g = f ? [100, 100, 0, 0] : void 0, h = f ? 12 : void 0, p = d ? [...r.map((P) => P.label), "24:00"] : r.map((P) => P.label), C = (P) => d ? [...P, null] : P, D = (P) => f ? { color: P, borderRadius: g } : { color: "#ffffff", borderColor: P, borderWidth: 2 }, m = {
46501
+ } = t, f = e === "bar", v = f ? "bar" : "line", d = A === "day", g = f ? [100, 100, 0, 0] : void 0, h = f ? 12 : void 0, p = d ? [...r.map((E) => E.label), "24:00"] : r.map((E) => E.label), C = (E) => d ? [...E, null] : E, D = {
46502
46502
  type: v,
46503
46503
  smooth: !f,
46504
46504
  showSymbol: !f,
@@ -46510,33 +46510,33 @@ const ch = (t, e) => t.map((n) => {
46510
46510
  clip: f ? void 0 : !1,
46511
46511
  // 业务:禁止悬浮高亮,选中仅由 click / 拖点驱动
46512
46512
  emphasis: { disabled: !0 }
46513
- }, y = n === "maxMin" ? [
46513
+ }, m = n === "maxMin" ? [
46514
46514
  {
46515
- ...m,
46515
+ ...D,
46516
46516
  name: "max",
46517
46517
  data: C(ch(r, "displayMax")),
46518
- itemStyle: D(a),
46518
+ itemStyle: { color: a, borderRadius: g },
46519
46519
  lineStyle: { color: a },
46520
46520
  barGap: "20%"
46521
46521
  },
46522
46522
  {
46523
- ...m,
46523
+ ...D,
46524
46524
  name: "min",
46525
46525
  data: C(ch(r, "displayMin")),
46526
- itemStyle: D(s),
46526
+ itemStyle: { color: s, borderRadius: g },
46527
46527
  lineStyle: { color: s }
46528
46528
  }
46529
46529
  ] : [
46530
46530
  {
46531
- ...m,
46531
+ ...D,
46532
46532
  name: n,
46533
46533
  data: C(
46534
46534
  ch(r, n === "sum" ? "displaySum" : "displayAvg")
46535
46535
  ),
46536
- itemStyle: D(a),
46536
+ itemStyle: { color: a, borderRadius: g },
46537
46537
  lineStyle: { color: a }
46538
46538
  }
46539
- ], z = {
46539
+ ], y = {
46540
46540
  type: "line",
46541
46541
  name: "__selection__",
46542
46542
  data: p.map(() => null),
@@ -46552,12 +46552,12 @@ const ch = (t, e) => t.map((n) => {
46552
46552
  lineStyle: { type: "dashed", color: "#D0D0D0", width: 1 },
46553
46553
  data: [{ xAxis: i }]
46554
46554
  } : void 0
46555
- }, E = Oee(Lee(r, n));
46555
+ }, z = Oee(Lee(r, n));
46556
46556
  return {
46557
46557
  animation: !1,
46558
46558
  tooltip: { show: !1 },
46559
46559
  axisPointer: { show: !1 },
46560
- // 业务:折线略增左右留白,首尾白点更不容易贴边被裁
46560
+ // 业务:折线略增左右留白,首尾圆点更不容易贴边被裁
46561
46561
  grid: { left: f ? 12 : 16, right: f ? 40 : 44, top: 24, bottom: 28 },
46562
46562
  xAxis: {
46563
46563
  type: "category",
@@ -46568,19 +46568,19 @@ const ch = (t, e) => t.map((n) => {
46568
46568
  axisLabel: {
46569
46569
  color: l,
46570
46570
  fontSize: 10,
46571
- interval: d ? (P) => P === 0 || P === 6 || P === 12 || P === 18 || P === 24 : "auto",
46572
- formatter: d ? (P, I) => Vee(I, p.length) : void 0
46571
+ interval: d ? (E) => E === 0 || E === 6 || E === 12 || E === 18 || E === 24 : "auto",
46572
+ formatter: d ? (E, P) => Vee(P, p.length) : void 0
46573
46573
  }
46574
46574
  },
46575
46575
  yAxis: {
46576
46576
  type: "value",
46577
46577
  position: "right",
46578
- min: E == null ? void 0 : E.min,
46579
- max: E == null ? void 0 : E.max,
46578
+ min: z == null ? void 0 : z.min,
46579
+ max: z == null ? void 0 : z.max,
46580
46580
  splitLine: { lineStyle: { color: c } },
46581
46581
  axisLabel: { color: l, fontSize: 10 }
46582
46582
  },
46583
- series: [...y, z]
46583
+ series: [...m, y]
46584
46584
  };
46585
46585
  }, Xee = (t) => BU(t), ha = (t) => {
46586
46586
  const e = Number(t);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailife-dev-vue/uiplus-dev",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "UIPlus - A Vue 3 component library",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.mjs",