cimos7-vue3-common 0.4.34 → 0.4.37

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.
@@ -23966,7 +23966,7 @@ function mbe(e, r) {
23966
23966
  let a = /\{\w+\}/g;
23967
23967
  return e.match(a).forEach((f) => {
23968
23968
  let w = f.replace("{", "").replace("}", "");
23969
- console.log(f, w), r.hasOwnProperty(w) && (e = e.replace(f, r[w]));
23969
+ r.hasOwnProperty(w) && (e = e.replace(f, r[w]));
23970
23970
  }), e;
23971
23971
  }
23972
23972
  const T0 = (e) => function(r, a) {
@@ -30110,7 +30110,8 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30110
30110
  }), TBe = /* @__PURE__ */ ft(et(ue({}, BBe), {
30111
30111
  props: {
30112
30112
  curIndex: {
30113
- type: String
30113
+ type: Object,
30114
+ default: () => ({})
30114
30115
  },
30115
30116
  peojectMenus: {
30116
30117
  type: Array,
@@ -30119,7 +30120,7 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30119
30120
  },
30120
30121
  emits: ["toggle-item"],
30121
30122
  setup(e, { emit: r }) {
30122
- const a = e, d = r, f = (G, ee) => !(ee === b.value.length - 1 && !x.value || D(G.path) || ee < b.value.length - 1 && D(b.value[ee + 1].path)), w = _e(!1), v = _e(), b = _e([]), W = _e([]), x = Me(() => W.value.length > 0), B = (G) => G.label.length * 14 + 0;
30123
+ const a = e, d = r, f = (G, ee) => !(ee === b.value.length - 1 && !x.value || D(G) || ee < b.value.length - 1 && D(b.value[ee + 1])), w = _e(!1), v = _e(), b = _e([]), W = _e([]), x = Me(() => W.value.length > 0), B = (G) => G.label.length * 14 + 0;
30123
30124
  fn(() => a.peojectMenus, () => {
30124
30125
  _();
30125
30126
  });
@@ -30152,7 +30153,7 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30152
30153
  w.value = !1, d("toggle-item", G, ee), Xd.set("projectRecord", ee), Xd.set("curModuleName", ee.label), B6() == "en-US" && Xd.set("curModuleNameEn", ee.enLabel);
30153
30154
  }, $ = () => {
30154
30155
  w.value = !w.value;
30155
- }, D = (G) => !!(a.curIndex && a.curIndex.indexOf(G) > -1), P = (G) => {
30156
+ }, D = (G) => !!(a.curIndex.id && a.curIndex.id == G.id), P = (G) => {
30156
30157
  G.target.closest(".zy-appheader-function-more") || (w.value = !1);
30157
30158
  }, U = (G, ee) => {
30158
30159
  let Z;
@@ -30211,7 +30212,7 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30211
30212
  Te(
30212
30213
  "span",
30213
30214
  {
30214
- class: be(["zy-appheader-function-item", D(te.path) ? "cur_index" : ""])
30215
+ class: be(["zy-appheader-function-item", D(te) ? "cur_index" : ""])
30215
30216
  },
30216
30217
  on(te.label),
30217
30218
  3
@@ -30261,12 +30262,12 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30261
30262
  El(W.value, (te) => (fe(), Re("li", {
30262
30263
  key: te.id,
30263
30264
  onClick: (p) => A(te.path, te),
30264
- class: be(D(te.path) ? "more-list-active" : "")
30265
+ class: be(D(te) ? "more-list-active" : "")
30265
30266
  }, [
30266
30267
  Te(
30267
30268
  "span",
30268
30269
  {
30269
- class: be(D(te.path) ? "more-active" : "")
30270
+ class: be(D(te) ? "more-active" : "")
30270
30271
  },
30271
30272
  on(te.label),
30272
30273
  3
@@ -30314,7 +30315,9 @@ const yBe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA3CAYAAAC8TkynA
30314
30315
  type: String
30315
30316
  },
30316
30317
  curIndex: {
30317
- type: String
30318
+ type: Object,
30319
+ default: () => {
30320
+ }
30318
30321
  },
30319
30322
  fullscreen: {
30320
30323
  type: Boolean,
@@ -84520,11 +84523,6 @@ const pEe = {
84520
84523
  hasSearchCard: {
84521
84524
  type: Boolean,
84522
84525
  default: !1
84523
- },
84524
- total: {
84525
- type: Number,
84526
- default: 0,
84527
- required: !1
84528
84526
  }
84529
84527
  },
84530
84528
  emits: ["row-click", "update:modelValue", "search", "reset", "loadSuccess", "loadData"],
@@ -84552,7 +84550,7 @@ const pEe = {
84552
84550
  b.value = we, v("loadSuccess", we);
84553
84551
  });
84554
84552
  } else
84555
- b.value = w.tableData, P.total = w.total;
84553
+ b.value = w.tableData;
84556
84554
  }, $ = () => {
84557
84555
  var le, we;
84558
84556
  if (f.value.length === 0) {
@@ -84785,7 +84783,7 @@ const tOe = { class: "searchCard-container-mz" }, nOe = ft({
84785
84783
  f[P.prop] = "";
84786
84784
  }), d("update:modelValue", ue({}, f)), d("reset");
84787
84785
  }, D = () => {
84788
- console.log("点击切换图表卡片"), v.value = !v.value, d("toggleChartCard", v.value);
84786
+ v.value = !v.value, d("toggleChartCard", v.value);
84789
84787
  };
84790
84788
  return (P, U) => {
84791
84789
  const G = oh, ee = hB, Z = yb, q = ULe, te = i2e, p = Cge, I = n3, le = Xo, we = Ei("IconPark"), Ce = Tve;