lw-cdp-ui 1.4.37 → 1.4.39

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.
@@ -174,11 +174,18 @@ export default {
174
174
  // 如果当前table的headers长度不够,跳过或用默认值
175
175
  if (i < table.headers.length) {
176
176
  const header = table.headers[i]
177
- const metricName = index == 0 ? setting?.title?.text || table.metricName : table.metricName
177
+ const metricName = table.metricName
178
178
  const value = table.rows[0].values[i]
179
179
 
180
180
  positionGroup.push({
181
- name: header != metricName ? `${header}-${metricName}` : metricName,
181
+ name:
182
+ header != metricName
183
+ ? index == 0
184
+ ? setting?.title?.text || `${header}-${metricName}`
185
+ : `${header}-${metricName}`
186
+ : index == 0
187
+ ? setting?.title?.text || metricName
188
+ : metricName,
182
189
  unit: table.unit,
183
190
  unitName: table.unitName,
184
191
  unit: table.unit,
@@ -2545,8 +2545,7 @@ function D5(e, t, n, r, a, o) {
2545
2545
  default: b(() => t[5] || (t[5] = [
2546
2546
  G(">")
2547
2547
  ])),
2548
- _: 1,
2549
- __: [5]
2548
+ _: 1
2550
2549
  }, 8, ["modelValue", "predefine"])
2551
2550
  ]),
2552
2551
  _: 1
@@ -3201,8 +3200,7 @@ function yd(e, t, n, r, a, o) {
3201
3200
  default: b(() => t[2] || (t[2] = [
3202
3201
  G("开始初始化")
3203
3202
  ])),
3204
- _: 1,
3205
- __: [2]
3203
+ _: 1
3206
3204
  })
3207
3205
  ]),
3208
3206
  C(l, { class: "bu-body" })
@@ -3223,8 +3221,7 @@ function yd(e, t, n, r, a, o) {
3223
3221
  default: b(() => t[4] || (t[4] = [
3224
3222
  G("取消")
3225
3223
  ])),
3226
- _: 1,
3227
- __: [4]
3224
+ _: 1
3228
3225
  }),
3229
3226
  se(e.$slots, "btn", {}, () => [
3230
3227
  C(i, {
@@ -3234,8 +3231,7 @@ function yd(e, t, n, r, a, o) {
3234
3231
  default: b(() => t[5] || (t[5] = [
3235
3232
  G("保 存")
3236
3233
  ])),
3237
- _: 1,
3238
- __: [5]
3234
+ _: 1
3239
3235
  }, 8, ["onClick"])
3240
3236
  ], !0)
3241
3237
  ]),
@@ -5159,8 +5155,7 @@ function Nd(e, t, n, r, a, o) {
5159
5155
  default: b(() => t[15] || (t[15] = [
5160
5156
  V("i", { class: "iconfont icon-quit" }, null, -1)
5161
5157
  ])),
5162
- _: 1,
5163
- __: [15]
5158
+ _: 1
5164
5159
  })
5165
5160
  ]),
5166
5161
  V("div", Td, [
@@ -5288,8 +5283,7 @@ function Nd(e, t, n, r, a, o) {
5288
5283
  default: b(() => t[16] || (t[16] = [
5289
5284
  V("i", { class: "iconfont icon-quit" }, null, -1)
5290
5285
  ])),
5291
- _: 1,
5292
- __: [16]
5286
+ _: 1
5293
5287
  })
5294
5288
  ]),
5295
5289
  V("div", Vd, [
@@ -6468,8 +6462,7 @@ function u8(e, t, n, r, a, o) {
6468
6462
  default: b(() => t[2] || (t[2] = [
6469
6463
  G(" + 添加 ")
6470
6464
  ])),
6471
- _: 1,
6472
- __: [2]
6465
+ _: 1
6473
6466
  }))
6474
6467
  ])) : se(e.$slots, m.component, {
6475
6468
  key: 14,
@@ -6504,8 +6497,7 @@ function u8(e, t, n, r, a, o) {
6504
6497
  default: b(() => t[3] || (t[3] = [
6505
6498
  G("提交")
6506
6499
  ])),
6507
- _: 1,
6508
- __: [3]
6500
+ _: 1
6509
6501
  }, 8, ["onClick"])
6510
6502
  ], !0)
6511
6503
  ]),
@@ -8527,8 +8519,7 @@ function r6(e, t, n, r, a, o) {
8527
8519
  default: b(() => t[3] || (t[3] = [
8528
8520
  G(" + 添加 ")
8529
8521
  ])),
8530
- _: 2,
8531
- __: [3]
8522
+ _: 2
8532
8523
  }, 1032, ["size", "disabled", "onClick"]))
8533
8524
  ])) : P.component == "operation" ? (g(), B(Q, { key: 4 }, [
8534
8525
  (g(!0), B(Q, null, ne(P.options.addDelete, (X) => Ye((g(), B("span", { key: X }, [
@@ -9340,8 +9331,7 @@ function F6(e, t, n, r, a, o) {
9340
9331
  default: b(() => t[35] || (t[35] = [
9341
9332
  G("新增选项")
9342
9333
  ])),
9343
- _: 1,
9344
- __: [35]
9334
+ _: 1
9345
9335
  })
9346
9336
  ]),
9347
9337
  _: 1
@@ -9389,8 +9379,7 @@ function F6(e, t, n, r, a, o) {
9389
9379
  default: b(() => t[36] || (t[36] = [
9390
9380
  G(" + 添加 ")
9391
9381
  ])),
9392
- _: 1,
9393
- __: [36]
9382
+ _: 1
9394
9383
  }))
9395
9384
  ])
9396
9385
  ]),
@@ -10889,8 +10878,7 @@ function X6(e, t, n, r, a, o) {
10889
10878
  default: b(() => t[7] || (t[7] = [
10890
10879
  G("选择")
10891
10880
  ])),
10892
- _: 1,
10893
- __: [7]
10881
+ _: 1
10894
10882
  })
10895
10883
  ]),
10896
10884
  default: b(() => [
@@ -11008,8 +10996,7 @@ function X6(e, t, n, r, a, o) {
11008
10996
  default: b(() => t[8] || (t[8] = [
11009
10997
  G("取消")
11010
10998
  ])),
11011
- _: 1,
11012
- __: [8]
10999
+ _: 1
11013
11000
  }),
11014
11001
  C(i, {
11015
11002
  type: "primary",
@@ -11018,8 +11005,7 @@ function X6(e, t, n, r, a, o) {
11018
11005
  default: b(() => t[9] || (t[9] = [
11019
11006
  G("确定")
11020
11007
  ])),
11021
- _: 1,
11022
- __: [9]
11008
+ _: 1
11023
11009
  }, 8, ["onClick"])
11024
11010
  ])
11025
11011
  ]),
@@ -18334,8 +18320,7 @@ function qm(e, t, n, r, a, o) {
18334
18320
  default: b(() => [
18335
18321
  t[7] || (t[7] = V("span", null, null, -1))
18336
18322
  ]),
18337
- _: 1,
18338
- __: [7]
18323
+ _: 1
18339
18324
  }, 8, ["config", "modelValue"]);
18340
18325
  }
18341
18326
  const Qm = /* @__PURE__ */ ae(Mm, [["render", qm], ["__scopeId", "data-v-8a5c3a46"]]), Nm = {
@@ -18452,8 +18437,7 @@ function Um(e, t, n, r, a, o) {
18452
18437
  default: b(() => [
18453
18438
  t[4] || (t[4] = V("span", null, null, -1))
18454
18439
  ]),
18455
- _: 1,
18456
- __: [4]
18440
+ _: 1
18457
18441
  }, 8, ["config", "modelValue"]);
18458
18442
  }
18459
18443
  const zm = /* @__PURE__ */ ae(Nm, [["render", Um]]), Gm = {
@@ -18544,8 +18528,7 @@ function jm(e, t, n, r, a, o) {
18544
18528
  default: b(() => [
18545
18529
  t[2] || (t[2] = V("span", null, null, -1))
18546
18530
  ]),
18547
- _: 1,
18548
- __: [2]
18531
+ _: 1
18549
18532
  }, 8, ["config", "modelValue"]);
18550
18533
  }
18551
18534
  const Zm = /* @__PURE__ */ ae(Gm, [["render", jm], ["__scopeId", "data-v-4650456f"]]), Ym = {
@@ -18873,8 +18856,7 @@ function Xm(e, t, n, r, a, o) {
18873
18856
  default: b(() => t[1] || (t[1] = [
18874
18857
  G("B")
18875
18858
  ])),
18876
- _: 1,
18877
- __: [1]
18859
+ _: 1
18878
18860
  }, 8, ["type", "onClick"]),
18879
18861
  C(i, {
18880
18862
  size: "small",
@@ -18884,8 +18866,7 @@ function Xm(e, t, n, r, a, o) {
18884
18866
  default: b(() => t[2] || (t[2] = [
18885
18867
  G("U")
18886
18868
  ])),
18887
- _: 1,
18888
- __: [2]
18869
+ _: 1
18889
18870
  }, 8, ["type", "onClick"]),
18890
18871
  C(i, {
18891
18872
  size: "small",
@@ -18895,15 +18876,13 @@ function Xm(e, t, n, r, a, o) {
18895
18876
  default: b(() => t[3] || (t[3] = [
18896
18877
  G("I")
18897
18878
  ])),
18898
- _: 1,
18899
- __: [3]
18879
+ _: 1
18900
18880
  }, 8, ["type", "onClick"])
18901
18881
  ]),
18902
18882
  default: b(() => [
18903
18883
  t[4] || (t[4] = V("span", null, null, -1))
18904
18884
  ]),
18905
- _: 1,
18906
- __: [4]
18885
+ _: 1
18907
18886
  }, 8, ["config", "modelValue"]);
18908
18887
  }
18909
18888
  const $m = /* @__PURE__ */ ae(Jm, [["render", Xm]]), eA = {
@@ -19036,8 +19015,7 @@ function nA(e, t, n, r, a, o) {
19036
19015
  default: b(() => t[7] || (t[7] = [
19037
19016
  G("取 消")
19038
19017
  ])),
19039
- _: 1,
19040
- __: [7]
19018
+ _: 1
19041
19019
  }, 8, ["onClick"]),
19042
19020
  C(_, {
19043
19021
  type: "primary",
@@ -19046,8 +19024,7 @@ function nA(e, t, n, r, a, o) {
19046
19024
  default: b(() => t[8] || (t[8] = [
19047
19025
  G("保存")
19048
19026
  ])),
19049
- _: 1,
19050
- __: [8]
19027
+ _: 1
19051
19028
  }, 8, ["onClick"])
19052
19029
  ]),
19053
19030
  default: b(() => [
@@ -20893,16 +20870,16 @@ const Zc = /* @__PURE__ */ ae(bA, [["render", CA], ["__scopeId", "data-v-c34118b
20893
20870
  for (let a = 0; a < r; a++) {
20894
20871
  const o = [];
20895
20872
  e.forEach((i, l) => {
20896
- var s;
20873
+ var s, u;
20897
20874
  if (a < i.headers.length) {
20898
- const u = i.headers[a], d = l == 0 && ((s = t == null ? void 0 : t.title) == null ? void 0 : s.text) || i.metricName, f = i.rows[0].values[a];
20875
+ const d = i.headers[a], f = i.metricName, A = i.rows[0].values[a];
20899
20876
  o.push({
20900
- name: u != d ? `${u}-${d}` : d,
20877
+ name: d != f ? l == 0 ? ((s = t == null ? void 0 : t.title) == null ? void 0 : s.text) || `${d}-${f}` : `${d}-${f}` : l == 0 && ((u = t == null ? void 0 : t.title) == null ? void 0 : u.text) || f,
20901
20878
  unit: i.unit,
20902
20879
  unitName: i.unitName,
20903
20880
  unit: i.unit,
20904
20881
  setting: t,
20905
- value: f
20882
+ value: A
20906
20883
  });
20907
20884
  }
20908
20885
  }), o.length > 0 && n.push(o);
@@ -21014,7 +20991,7 @@ function IA(e, t, n, r, a, o) {
21014
20991
  ], 4))), 128))
21015
20992
  ], 4);
21016
20993
  }
21017
- const Yc = /* @__PURE__ */ ae(vA, [["render", IA], ["__scopeId", "data-v-2a8a667c"]]), xA = {
20994
+ const Yc = /* @__PURE__ */ ae(vA, [["render", IA], ["__scopeId", "data-v-13aefa1d"]]), xA = {
21018
20995
  name: "GaugeChart",
21019
20996
  props: {
21020
20997
  rawData: {
@@ -22465,8 +22442,7 @@ function JA(e, t, n, r, a, o) {
22465
22442
  default: b(() => t[2] || (t[2] = [
22466
22443
  G(" 未选择周期列表 未选择周期列表 ")
22467
22444
  ])),
22468
- _: 1,
22469
- __: [2]
22445
+ _: 1
22470
22446
  })) : j("", !0)
22471
22447
  ];
22472
22448
  }),
@@ -22515,8 +22491,8 @@ function JA(e, t, n, r, a, o) {
22515
22491
  }
22516
22492
  const XA = /* @__PURE__ */ ae(HA, [["render", JA], ["__scopeId", "data-v-5485f51b"]]);
22517
22493
  /*!
22518
- * vue-router v4.5.1
22519
- * (c) 2025 Eduardo San Martin Morote
22494
+ * vue-router v4.5.0
22495
+ * (c) 2024 Eduardo San Martin Morote
22520
22496
  * @license MIT
22521
22497
  */
22522
22498
  var h4;