@ecan-bi/datav 1.1.42 → 1.1.43

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
@@ -1,5 +1,5 @@
1
- /*! @ecan-bi/datav@1.1.42 */
2
- import { watch as ne, inject as N, computed as q, unref as k, watchEffect as sn, defineComponent as Q, shallowRef as bt, toRefs as Mo, onMounted as Ne, onUnmounted as ut, h as st, nextTick as ft, createVNode as j, resolveComponent as Z, openBlock as E, createElementBlock as R, createBlock as Fe, renderSlot as mt, withCtx as Y, ref as I, normalizeStyle as G, createCommentVNode as pe, provide as Oe, onBeforeUnmount as Tt, toDisplayString as he, Fragment as Le, renderList as Me, createElementVNode as X, normalizeClass as _t, pushScopeId as cn, popScopeId as dn, createSlots as Eo, resolveDynamicComponent as Fo, mergeProps as Oo, withModifiers as Ro, reactive as Do, createTextVNode as un, withDirectives as zo, vShow as No } from "vue";
1
+ /*! @ecan-bi/datav@1.1.43 */
2
+ import { watch as ne, inject as N, computed as q, unref as k, watchEffect as sn, defineComponent as Q, shallowRef as bt, toRefs as Mo, onMounted as Ne, onUnmounted as ut, h as st, nextTick as ft, createVNode as j, resolveComponent as Z, openBlock as E, createElementBlock as R, createBlock as Fe, renderSlot as mt, withCtx as Y, ref as I, normalizeStyle as G, createCommentVNode as pe, provide as Oe, onBeforeUnmount as Tt, toDisplayString as ye, Fragment as Le, renderList as Me, createElementVNode as X, normalizeClass as _t, pushScopeId as cn, popScopeId as dn, createSlots as Eo, resolveDynamicComponent as Fo, mergeProps as Oo, withModifiers as Ro, reactive as Do, createTextVNode as un, withDirectives as zo, vShow as No } from "vue";
3
3
  import { throttle as $o, init as Po, use as Pe, registerMap as Bo } from "echarts/core";
4
4
  import { addListener as Go, removeListener as Uo } from "resize-detector";
5
5
  import { Spin as qo, Skeleton as jo, message as He, Progress as Wo, Input as fn, DatePicker as Vo, Select as Ho, RangePicker as Zo, Button as Jo, CheckboxGroup as mn, Modal as ke, Table as Yo, TableSummary as Qo, TableSummaryRow as Ko, TableSummaryCell as Xo } from "ant-design-vue";
@@ -1137,7 +1137,7 @@ const oe = (e, n) => {
1137
1137
  ], ie = (e, n = []) => {
1138
1138
  const t = ea(kl, ...n);
1139
1139
  return q(() => ta(e, t));
1140
- }, Dt = "EVENT_BUS", ce = "GLOBAL_CONFIG", de = "GLOBAL_MODEL", Ce = "REQUEST_MODEL", _n = "GLOBAL_TOKEN", Ze = "REFRESH_PAGE", Ln = "MODAL_MODEL";
1140
+ }, Dt = "EVENT_BUS", ce = "GLOBAL_CONFIG", ue = "GLOBAL_MODEL", Ce = "REQUEST_MODEL", _n = "GLOBAL_TOKEN", Ze = "REFRESH_PAGE", Ln = "MODAL_MODEL";
1141
1141
  var on;
1142
1142
  const ct = (on = window == null ? void 0 : window.config) == null ? void 0 : on.indicatorURL;
1143
1143
  var an;
@@ -1145,7 +1145,7 @@ var an;
1145
1145
  var ln;
1146
1146
  const en = ((ln = window == null ? void 0 : window.config) == null ? void 0 : ln.routerBaseURL) || "./";
1147
1147
  var rn;
1148
- const Al = ((rn = window == null ? void 0 : window.config) == null ? void 0 : rn.erdURL) || "", ge = (e, n) => {
1148
+ const Al = ((rn = window == null ? void 0 : window.config) == null ? void 0 : rn.erdURL) || "", he = (e, n) => {
1149
1149
  ne(() => e.id, (t) => {
1150
1150
  const o = N(Dt, {
1151
1151
  // @ts-ignore
@@ -1157,7 +1157,7 @@ const Al = ((rn = window == null ? void 0 : window.config) == null ? void 0 : rn
1157
1157
  }, {
1158
1158
  immediate: !0
1159
1159
  });
1160
- }, ue = (e) => {
1160
+ }, fe = (e) => {
1161
1161
  const n = e.events, t = e.id, o = N(Dt, {
1162
1162
  // @ts-ignore
1163
1163
  // eslint-disable-next-line no-void
@@ -1257,9 +1257,10 @@ const xl = (e) => e.replace(/\\n/g, `
1257
1257
  try {
1258
1258
  r = Function(`"use strict";return (${a})`)()(...o);
1259
1259
  } catch {
1260
+ return e;
1260
1261
  }
1261
1262
  return r;
1262
- }, be = (e = "", n = {}, { useNewline: t = !1, useSpace: o = !1 } = {}) => {
1263
+ }, de = (e = "", n = {}, { useNewline: t = !1, useSpace: o = !1 } = {}) => {
1263
1264
  n = { ...window.config || {}, ...n };
1264
1265
  const r = e.match(/\{(.+?)\}/g);
1265
1266
  if (r == null || r.length === 0)
@@ -1270,7 +1271,7 @@ const xl = (e) => e.replace(/\\n/g, `
1270
1271
  const d = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, c = l.match(d);
1271
1272
  for (let g = 0; g < c.length; g++) {
1272
1273
  const h = c[g], m = n[h];
1273
- m != null && (l = l.replace(h, m)), m !== l && (l = ht(l)), e = e.replace(s, l);
1274
+ m != null && (l = l.replace(h, m)), /\w+[+\-*/%]+\w+/g.test(l) && (l = ht(l)), e = e.replace(s, l);
1274
1275
  }
1275
1276
  }
1276
1277
  return t && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), o && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, "&nbsp;&nbsp;")), e;
@@ -1287,12 +1288,12 @@ const xl = (e) => e.replace(/\\n/g, `
1287
1288
  contextRequestUrl: "",
1288
1289
  pageMode: "normal",
1289
1290
  touchEventId: ""
1290
- }), { getGlobalModel: g } = N(de, {
1291
+ }), { getGlobalModel: g } = N(ue, {
1291
1292
  // @ts-ignore
1292
1293
  // eslint-disable-next-line no-void
1293
1294
  getGlobalModel: (y) => {
1294
1295
  }
1295
- }), h = be(t), m = async (y = {}) => {
1296
+ }), h = de(t), m = async (y = {}) => {
1296
1297
  if (!h || !o || !a || k(d) === "design")
1297
1298
  return;
1298
1299
  let v = {};
@@ -1320,7 +1321,7 @@ const xl = (e) => e.replace(/\\n/g, `
1320
1321
  Object.prototype.toString.call(_) === "[object Object]" ? U = _[O || "value"] : U = _;
1321
1322
  v[L] = U;
1322
1323
  } else
1323
- typeof w == "string" && (v[L] = be(w));
1324
+ typeof w == "string" && (v[L] = de(w));
1324
1325
  }), v = { ...window.config.requestParams, ...y, ...v };
1325
1326
  let b = "";
1326
1327
  const A = Object.keys(v), x = A.length - 1, B = A.length;
@@ -1388,7 +1389,7 @@ const xl = (e) => e.replace(/\\n/g, `
1388
1389
  const t = `${en}/preview?pageId=${n}`, o = `${en}/${n}`;
1389
1390
  return e === "preview" ? t : o;
1390
1391
  }, Nt = (e) => {
1391
- const { getGlobalModel: n } = N(de, {
1392
+ const { getGlobalModel: n } = N(ue, {
1392
1393
  // @ts-ignore
1393
1394
  // eslint-disable-next-line no-void
1394
1395
  getGlobalModel: (l) => {
@@ -1651,7 +1652,7 @@ const xl = (e) => e.replace(/\\n/g, `
1651
1652
  formula: v,
1652
1653
  conditions: b
1653
1654
  };
1654
- }, { getGlobalModel: a } = N(de, {
1655
+ }, { getGlobalModel: a } = N(ue, {
1655
1656
  // @ts-ignore
1656
1657
  // eslint-disable-next-line no-void
1657
1658
  getGlobalModel: (i) => {
@@ -1880,7 +1881,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1880
1881
  }), Ne(() => {
1881
1882
  o();
1882
1883
  });
1883
- const a = q(() => be(e.contextRequestUrl)), r = q(() => e.pageMode), i = q(() => e.theme), s = I("");
1884
+ const a = q(() => de(e.contextRequestUrl)), r = q(() => e.pageMode), i = q(() => e.theme), s = I("");
1884
1885
  Oe(ce, {
1885
1886
  // 请求地址
1886
1887
  contextRequestUrl: a,
@@ -1891,7 +1892,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1891
1892
  touchEventId: s
1892
1893
  });
1893
1894
  const l = /* @__PURE__ */ new Map(), d = (F) => l.get(F);
1894
- Oe(de, {
1895
+ Oe(ue, {
1895
1896
  getGlobalModel: d,
1896
1897
  setGlobalModel: (F, $) => {
1897
1898
  l.set(F, $);
@@ -2106,7 +2107,7 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
2106
2107
  }, l = () => {
2107
2108
  e.dataType !== "static" && s();
2108
2109
  };
2109
- ge(e, {
2110
+ he(e, {
2110
2111
  refreshData: l
2111
2112
  });
2112
2113
  const { setRequest: d } = N(Ce, {
@@ -2119,15 +2120,15 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
2119
2120
  id: e.id,
2120
2121
  requestFn: l,
2121
2122
  sortNum: e.requestSort
2122
- }), ge(e, {
2123
+ }), he(e, {
2123
2124
  refreshData: l
2124
2125
  });
2125
- const g = ue(e)("click", () => {
2126
+ const g = fe(e)("click", () => {
2126
2127
  if (!e.linkPage && !e.href)
2127
2128
  return;
2128
2129
  const h = e.linkPage || "", m = Mn(k(a), h), u = e.href;
2129
2130
  let y = u || m;
2130
- y = be(y);
2131
+ y = de(y);
2131
2132
  const v = e.target;
2132
2133
  v && (v !== "event" ? window.open(y, "_" + v) : window.parent.postMessage({
2133
2134
  type: "openPage",
@@ -2169,7 +2170,7 @@ const jl = /* @__PURE__ */ K(Gl, [["render", ql], ["__scopeId", "data-v-f9ba6c3f
2169
2170
  });
2170
2171
  const Hl = { class: "red" };
2171
2172
  function Zl(e, n, t, o, a, r) {
2172
- return E(), R("div", Hl, he(e.text), 1);
2173
+ return E(), R("div", Hl, ye(e.text), 1);
2173
2174
  }
2174
2175
  const Jl = /* @__PURE__ */ K(Vl, [["render", Zl], ["__scopeId", "data-v-4dd9c03e"]]), Yl = oe(Jl), zn = {
2175
2176
  ...re,
@@ -2215,7 +2216,7 @@ function Kl(e, n, t, o, a, r) {
2215
2216
  return E(), R("div", {
2216
2217
  class: "time-display",
2217
2218
  style: G(e.style)
2218
- }, he(e.time), 5);
2219
+ }, ye(e.time), 5);
2219
2220
  }
2220
2221
  const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-47d57d2d"]]), ei = oe(Xl), $n = {
2221
2222
  ...re,
@@ -2291,9 +2292,9 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-47d57d2d
2291
2292
  }
2292
2293
  }, c = () => {
2293
2294
  d();
2294
- }, h = ue(e)("click", () => {
2295
+ }, h = fe(e)("click", () => {
2295
2296
  });
2296
- ge(e, {
2297
+ he(e, {
2297
2298
  refreshData: c
2298
2299
  });
2299
2300
  const { setRequest: m } = N(Ce, {
@@ -2360,7 +2361,7 @@ function ui(e, n, t, o, a, r) {
2360
2361
  color: l.titleColor,
2361
2362
  ...e.columnStyle
2362
2363
  })
2363
- }, he(l.title), 5))), 128))
2364
+ }, ye(l.title), 5))), 128))
2364
2365
  ], 4))), 128))
2365
2366
  ])) : pe("", !0),
2366
2367
  e.dataSource.length > 0 ? (E(), R("div", ii, [
@@ -2385,7 +2386,7 @@ function ui(e, n, t, o, a, r) {
2385
2386
  }, [
2386
2387
  e.useRanking ? (E(), R("div", ri, [
2387
2388
  si,
2388
- X("div", ci, " Top " + he(l + 1), 1)
2389
+ X("div", ci, " Top " + ye(l + 1), 1)
2389
2390
  ])) : pe("", !0),
2390
2391
  (E(!0), R(Le, null, Me(e.columns, (d) => (E(), R("div", {
2391
2392
  class: _t(["column", e.contrastClass(s[d.key], d.format)]),
@@ -2396,7 +2397,7 @@ function ui(e, n, t, o, a, r) {
2396
2397
  fontWeight: d.fontWeight,
2397
2398
  ...e.columnStyle
2398
2399
  })
2399
- }, he((d.format != null || d.format !== "") && e.formatFn(s[d.key], d.format)), 7))), 128))
2400
+ }, ye((d.format != null || d.format !== "") && e.formatFn(s[d.key], d.format)), 7))), 128))
2400
2401
  ], 4))), 128))
2401
2402
  ])) : (E(), R("div", di, " 暂无数据 "))
2402
2403
  ]),
@@ -2500,12 +2501,12 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-211785ca
2500
2501
  l.value = !1;
2501
2502
  }
2502
2503
  };
2503
- ge(e, {
2504
+ he(e, {
2504
2505
  refreshData: () => {
2505
2506
  d();
2506
2507
  }
2507
2508
  });
2508
- const h = ue(e)("click", () => {
2509
+ const h = fe(e)("click", () => {
2509
2510
  }), { setRequest: m } = N(Ce, {
2510
2511
  // @ts-ignore
2511
2512
  // eslint-disable-next-line no-void
@@ -2558,7 +2559,7 @@ function yi(e, n, t, o, a, r) {
2558
2559
  fontWeight: e.fontWeight,
2559
2560
  lineHeight: e.lineHeight
2560
2561
  })
2561
- }, he(e.text), 5))
2562
+ }, ye(e.text), 5))
2562
2563
  ]),
2563
2564
  _: 1
2564
2565
  }, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
@@ -2591,7 +2592,7 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-d8d2bd6a
2591
2592
  }, {
2592
2593
  immediate: !0
2593
2594
  });
2594
- const { getGlobalModel: o, setGlobalModel: a } = N(de, {
2595
+ const { getGlobalModel: o, setGlobalModel: a } = N(ue, {
2595
2596
  // @ts-ignore
2596
2597
  // eslint-disable-next-line no-void
2597
2598
  getGlobalModel: (d) => {
@@ -2608,7 +2609,7 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-d8d2bd6a
2608
2609
  const r = () => {
2609
2610
  const d = o(e.id);
2610
2611
  a(e.id, { ...d, RECORD: t });
2611
- }, i = ue(e), s = Et(i("inputChange", () => {
2612
+ }, i = fe(e), s = Et(i("inputChange", () => {
2612
2613
  r();
2613
2614
  }), 300), l = i("inputBlur", () => {
2614
2615
  });
@@ -2665,7 +2666,7 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), jn = {
2665
2666
  const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I(null);
2666
2667
  ne(() => [e.value, e.useCurrentTime, e.operate], ([s, l, d]) => {
2667
2668
  let c = null;
2668
- if (s ? c = Ie(s) : l && (c = Ie()), d && c) {
2669
+ if (console.log(s), s ? c = Ie(de(s)) : l && (c = Ie()), d && c) {
2669
2670
  const { type: g, value: h, mode: m } = d;
2670
2671
  switch (g) {
2671
2672
  case "add":
@@ -2680,7 +2681,7 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), jn = {
2680
2681
  deep: !0,
2681
2682
  immediate: !0
2682
2683
  });
2683
- const { setGlobalModel: a } = N(de, {
2684
+ const { setGlobalModel: a } = N(ue, {
2684
2685
  // @ts-ignore
2685
2686
  // eslint-disable-next-line no-void
2686
2687
  setGlobalModel: (s, l) => {
@@ -2691,9 +2692,9 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), jn = {
2691
2692
  format: e.format,
2692
2693
  value: o
2693
2694
  });
2694
- const i = ue(e)("dateChange", () => {
2695
+ const i = fe(e)("dateChange", () => {
2695
2696
  });
2696
- return ge(e, {
2697
+ return he(e, {
2697
2698
  dateChange: i
2698
2699
  }), {
2699
2700
  style: n,
@@ -2771,7 +2772,7 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Vn = {
2771
2772
  d.value = !1;
2772
2773
  }
2773
2774
  }
2774
- }, { getGlobalModel: g, setGlobalModel: h } = N(de, {
2775
+ }, { getGlobalModel: g, setGlobalModel: h } = N(ue, {
2775
2776
  // @ts-ignore
2776
2777
  // eslint-disable-next-line no-void
2777
2778
  getGlobalModel: (v) => {
@@ -2785,11 +2786,11 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Vn = {
2785
2786
  type: e.type,
2786
2787
  value: i
2787
2788
  });
2788
- const u = ue(e)("selectChange", () => {
2789
+ const u = fe(e)("selectChange", () => {
2789
2790
  const v = e.id, b = g(v);
2790
2791
  h(v, { ...b, RECORD: i });
2791
2792
  });
2792
- ge(e, {
2793
+ he(e, {
2793
2794
  selectChange: u
2794
2795
  });
2795
2796
  const { setRequest: y } = N(Ce, {
@@ -2862,7 +2863,7 @@ const Fi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-ef197aff
2862
2863
  const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I([null, null]);
2863
2864
  ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, c, g, h, m, u]) => {
2864
2865
  let y = null, v = null;
2865
- if (g && (y = Ie().subtract(h, m), v = Ie()), d && (y = Ie(d)), c && (v = Ie(c)), u) {
2866
+ if (g && (y = Ie().subtract(h, m), v = Ie()), d && (y = Ie(de(d))), c && (v = Ie(de(c))), u) {
2866
2867
  const { type: b, value: A, mode: x } = u;
2867
2868
  switch (b) {
2868
2869
  case "add":
@@ -2876,7 +2877,7 @@ const Fi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-ef197aff
2876
2877
  }, {
2877
2878
  immediate: !0
2878
2879
  });
2879
- const { setGlobalModel: a } = N(de, {
2880
+ const { setGlobalModel: a } = N(ue, {
2880
2881
  // @ts-ignore
2881
2882
  // eslint-disable-next-line no-void
2882
2883
  setGlobalModel: (d, c) => {
@@ -2888,9 +2889,9 @@ const Fi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-ef197aff
2888
2889
  startTime: r,
2889
2890
  endTime: i
2890
2891
  });
2891
- const l = ue(e)("dateChange", () => {
2892
+ const l = fe(e)("dateChange", () => {
2892
2893
  });
2893
- return ge(e, {
2894
+ return he(e, {
2894
2895
  dateChange: l
2895
2896
  }), {
2896
2897
  style: n,
@@ -2920,7 +2921,7 @@ function zi(e, n, t, o, a, r) {
2920
2921
  }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "onChange"])
2921
2922
  ], 4);
2922
2923
  }
2923
- const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-d35d2bbf"]]), $i = oe(Ni), Yn = {
2924
+ const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-e4162acb"]]), $i = oe(Ni), Yn = {
2924
2925
  ...re,
2925
2926
  width: "200px",
2926
2927
  name: "按钮",
@@ -2943,13 +2944,13 @@ const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-d35d2bbf
2943
2944
  ...Qn
2944
2945
  },
2945
2946
  setup(e) {
2946
- const n = ie(e), o = ue(e)("click", () => {
2947
+ const n = ie(e), o = fe(e)("click", () => {
2947
2948
  const s = k(r);
2948
2949
  s && e.target === "event" && window.parent.postMessage({
2949
2950
  type: "openPage",
2950
2951
  url: s
2951
2952
  }, "*");
2952
- }), a = q(() => be(e.text)), r = q(() => be(e.href) || null), i = q(() => {
2953
+ }), a = q(() => de(e.text)), r = q(() => de(e.href) || null), i = q(() => {
2953
2954
  const s = e.target;
2954
2955
  if (!(s === "event" || k(r) == null))
2955
2956
  return {
@@ -2987,7 +2988,7 @@ function Gi(e, n, t, o, a, r) {
2987
2988
  fontSize: e.fontSize,
2988
2989
  fontWeight: e.fontWeight
2989
2990
  })
2990
- }, he(e.myText), 5)
2991
+ }, ye(e.myText), 5)
2991
2992
  ]),
2992
2993
  _: 1
2993
2994
  }, 8, ["onClick", "type", "danger", "shape", "href", "target"])
@@ -3039,7 +3040,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Kn = {
3039
3040
  return;
3040
3041
  const m = await r(), u = ((v = (y = m == null ? void 0 : m.data) == null ? void 0 : y.data) == null ? void 0 : v.rows) || [];
3041
3042
  a(u);
3042
- }, { getGlobalModel: l, setGlobalModel: d } = N(de, {
3043
+ }, { getGlobalModel: l, setGlobalModel: d } = N(ue, {
3043
3044
  // @ts-ignore
3044
3045
  // eslint-disable-next-line no-void
3045
3046
  getGlobalModel: (m) => {
@@ -3053,7 +3054,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Kn = {
3053
3054
  type: e.type,
3054
3055
  value: o
3055
3056
  });
3056
- const g = ue(e)("checkboxChange", () => {
3057
+ const g = fe(e)("checkboxChange", () => {
3057
3058
  const m = l(e.id);
3058
3059
  d(e.id, { ...m, RECORD: o });
3059
3060
  }), { setRequest: h } = N(Ce, {
@@ -3242,7 +3243,7 @@ const Yi = Q({
3242
3243
  trigger: e.tooltipTrigger,
3243
3244
  formatter: (w) => {
3244
3245
  const { marker: f, seriesName: p, name: T, value: O, percent: C, data: _ } = w || {};
3245
- return be(
3246
+ return de(
3246
3247
  e.tooltipFormatter,
3247
3248
  {
3248
3249
  marker: f,
@@ -3313,7 +3314,7 @@ const Yi = Q({
3313
3314
  }
3314
3315
  ]
3315
3316
  };
3316
- }), { getGlobalModel: i, setGlobalModel: s } = N(de, {
3317
+ }), { getGlobalModel: i, setGlobalModel: s } = N(ue, {
3317
3318
  // @ts-ignore
3318
3319
  // eslint-disable-next-line no-void
3319
3320
  getGlobalModel: (L) => {
@@ -3349,7 +3350,7 @@ const Yi = Q({
3349
3350
  } finally {
3350
3351
  g.value = !1;
3351
3352
  }
3352
- }, y = ue(e)("click", (L) => {
3353
+ }, y = fe(e)("click", (L) => {
3353
3354
  const w = i(e.id);
3354
3355
  s(e.id, { ...w, RECORD: L == null ? void 0 : L.data });
3355
3356
  }), v = Nt(e), b = async () => {
@@ -3375,7 +3376,7 @@ const Yi = Q({
3375
3376
  }, A = () => {
3376
3377
  k(l) !== "design" && (b(), m());
3377
3378
  };
3378
- ge(e, {
3379
+ he(e, {
3379
3380
  resetRecord: () => {
3380
3381
  const L = e.id, w = i(L);
3381
3382
  s(L, { ...w, RECORD: "" });
@@ -3588,7 +3589,7 @@ const tr = Q({
3588
3589
  C === "" && (C = "{marker} {a} {c}");
3589
3590
  for (let _ = 0; _ < T; _++) {
3590
3591
  const { marker: U, seriesName: H, name: F, value: $, data: z } = p[_] || {};
3591
- _ === 0 && (O += `${F}<br/>`), O += be(
3592
+ _ === 0 && (O += `${F}<br/>`), O += de(
3592
3593
  C,
3593
3594
  {
3594
3595
  marker: U,
@@ -3663,7 +3664,7 @@ const tr = Q({
3663
3664
  },
3664
3665
  series: k(t)
3665
3666
  };
3666
- }), { getGlobalModel: s, setGlobalModel: l } = N(de, {
3667
+ }), { getGlobalModel: s, setGlobalModel: l } = N(ue, {
3667
3668
  // @ts-ignore
3668
3669
  // eslint-disable-next-line no-void
3669
3670
  getGlobalModel: (w) => {
@@ -3746,7 +3747,7 @@ const tr = Q({
3746
3747
  } finally {
3747
3748
  h.value = !1;
3748
3749
  }
3749
- }, v = ue(e)("click", (w) => {
3750
+ }, v = fe(e)("click", (w) => {
3750
3751
  const f = s(e.id);
3751
3752
  l(e.id, { ...f, RECORD: w == null ? void 0 : w.data });
3752
3753
  }), b = Nt(e), A = async () => {
@@ -3768,7 +3769,7 @@ const tr = Q({
3768
3769
  }, x = () => {
3769
3770
  k(d) !== "design" && (A(), u());
3770
3771
  };
3771
- ge(e, {
3772
+ he(e, {
3772
3773
  refreshData: () => {
3773
3774
  x();
3774
3775
  },
@@ -4028,7 +4029,7 @@ const ir = Q({
4028
4029
  _ === "" && (_ = "{marker} {a} {c}");
4029
4030
  for (let U = 0; U < O; U++) {
4030
4031
  const { marker: H, seriesName: F, name: $, value: z, data: W } = T[U] || {};
4031
- U === 0 && (C += `${$}<br/>`), C += be(
4032
+ U === 0 && (C += `${$}<br/>`), C += de(
4032
4033
  _,
4033
4034
  {
4034
4035
  marker: H,
@@ -4186,7 +4187,7 @@ const ir = Q({
4186
4187
  n({
4187
4188
  refreshData: b
4188
4189
  });
4189
- const A = ue(e), { getGlobalModel: x, setGlobalModel: B } = N(de, {
4190
+ const A = fe(e), { getGlobalModel: x, setGlobalModel: B } = N(ue, {
4190
4191
  // @ts-ignore
4191
4192
  // eslint-disable-next-line no-void
4192
4193
  getGlobalModel: (f) => {
@@ -4208,7 +4209,7 @@ const ir = Q({
4208
4209
  id: e.id,
4209
4210
  requestFn: b,
4210
4211
  sortNum: e.requestSort
4211
- }), ge(e, {
4212
+ }), he(e, {
4212
4213
  refreshData: b,
4213
4214
  click: S,
4214
4215
  resetRecord: () => {
@@ -4443,7 +4444,7 @@ const ur = Q({
4443
4444
  formatter: function(x) {
4444
4445
  var p;
4445
4446
  const { marker: B, seriesName: S } = x, L = ((p = x == null ? void 0 : x.data) == null ? void 0 : p.record) ?? {}, { name: w, value: f } = L;
4446
- return be(e.tooltipFormatter, {
4447
+ return de(e.tooltipFormatter, {
4447
4448
  marker: B,
4448
4449
  seriesName: S,
4449
4450
  a: S,
@@ -4471,7 +4472,7 @@ const ur = Q({
4471
4472
  }
4472
4473
  ]
4473
4474
  };
4474
- }), { getGlobalModel: i, setGlobalModel: s } = N(de, {
4475
+ }), { getGlobalModel: i, setGlobalModel: s } = N(ue, {
4475
4476
  // @ts-ignore
4476
4477
  // eslint-disable-next-line no-void
4477
4478
  getGlobalModel: (b) => {
@@ -4505,11 +4506,11 @@ const ur = Q({
4505
4506
  c.value = !1;
4506
4507
  }
4507
4508
  }
4508
- }, u = ue(e)("click", (b) => {
4509
+ }, u = fe(e)("click", (b) => {
4509
4510
  const A = e.id, x = i(A);
4510
4511
  s(A, { ...x, RECORD: b == null ? void 0 : b.data });
4511
4512
  });
4512
- ge(e, {
4513
+ he(e, {
4513
4514
  refreshData: () => {
4514
4515
  h();
4515
4516
  },
@@ -4817,7 +4818,7 @@ const Cr = Q({
4817
4818
  const C = e.seriesTypes;
4818
4819
  for (let _ = 0; _ < p; _++) {
4819
4820
  const U = C[_], { tooltipFormatter: H } = U || {}, { marker: F, seriesName: $, name: z, value: W, data: ee } = f[_] || {};
4820
- _ === 0 && (T += `${z}<br/>`), T += be(
4821
+ _ === 0 && (T += `${z}<br/>`), T += de(
4821
4822
  // 如果系列有提示框组件就使用自定义,没有就用默认的
4822
4823
  H || O,
4823
4824
  {
@@ -4977,7 +4978,7 @@ const Cr = Q({
4977
4978
  k(s) !== "design" && (y(), m());
4978
4979
  }, b = () => {
4979
4980
  v();
4980
- }, A = ue(e), { getGlobalModel: x, setGlobalModel: B } = N(de, {
4981
+ }, A = fe(e), { getGlobalModel: x, setGlobalModel: B } = N(ue, {
4981
4982
  // @ts-ignore
4982
4983
  // eslint-disable-next-line no-void
4983
4984
  getGlobalModel: (f) => {
@@ -4999,7 +5000,7 @@ const Cr = Q({
4999
5000
  id: e.id,
5000
5001
  requestFn: v,
5001
5002
  sortNum: e.requestSort
5002
- }), ge(e, {
5003
+ }), he(e, {
5003
5004
  resetRecord: () => {
5004
5005
  const f = e.id, p = x(f);
5005
5006
  B(f, { ...p, RECORD: "" });
@@ -5093,17 +5094,17 @@ const wr = /* @__PURE__ */ K(Cr, [["render", Sr]]), kr = oe(wr), mo = {
5093
5094
  // backgroundColor: props.backgroundColor,
5094
5095
  width: "100%",
5095
5096
  height: "100%"
5096
- })), r = ue(e)("click", () => {
5097
+ })), r = fe(e)("click", () => {
5097
5098
  }), i = I([]);
5098
5099
  ne(() => e.data, (l) => {
5099
5100
  i.value = l;
5100
5101
  }, {
5101
5102
  immediate: !0,
5102
5103
  deep: !0
5103
- }), ge(e, {
5104
+ }), he(e, {
5104
5105
  click: r
5105
5106
  });
5106
- const { setGlobalModel: s } = N(de, {
5107
+ const { setGlobalModel: s } = N(ue, {
5107
5108
  // @ts-ignore
5108
5109
  // eslint-disable-next-line no-void
5109
5110
  setGlobalModel: (l, d) => {
@@ -5156,7 +5157,7 @@ function qr(e, n, t, o, a, r) {
5156
5157
  X("div", Fr, [
5157
5158
  X("div", Or, [
5158
5159
  Rr,
5159
- X("div", Dr, he(e.title), 1),
5160
+ X("div", Dr, ye(e.title), 1),
5160
5161
  zr
5161
5162
  ])
5162
5163
  ]),
@@ -5167,7 +5168,7 @@ function qr(e, n, t, o, a, r) {
5167
5168
  ], 4)) : pe("", !0),
5168
5169
  e.mode === "left-title" ? (E(), R("div", Gr, [
5169
5170
  X("div", Ur, [
5170
- X("span", null, he(e.title), 1)
5171
+ X("span", null, ye(e.title), 1)
5171
5172
  ])
5172
5173
  ])) : pe("", !0)
5173
5174
  ], 4);
@@ -5268,7 +5269,7 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-1550b11b
5268
5269
  let z = "ecan-modal";
5269
5270
  return k(H) && (z += " ecan-full-width-modal"), k(F) && (z += " ecan-full-modal"), z;
5270
5271
  });
5271
- return ge(e, {
5272
+ return he(e, {
5272
5273
  showModal: w
5273
5274
  }), {
5274
5275
  modalRef: y,
@@ -5333,7 +5334,7 @@ function Zr(e, n, t, o, a, r) {
5333
5334
  backgroundColor: e.backgroundColor,
5334
5335
  padding: "16px 24px"
5335
5336
  })
5336
- }, he(e.title), 5)
5337
+ }, ye(e.title), 5)
5337
5338
  ])
5338
5339
  } : void 0
5339
5340
  ]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
@@ -5409,7 +5410,7 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-2db14456
5409
5410
  immediate: !0,
5410
5411
  deep: !0
5411
5412
  });
5412
- const s = (u) => t.value === u, l = I(e.value || k(i)[0] && ((m = k(i)[0]) == null ? void 0 : m.value) || ""), d = ue(e), { setGlobalModel: c } = N(de, {
5413
+ const s = (u) => t.value === u, l = I(e.value || k(i)[0] && ((m = k(i)[0]) == null ? void 0 : m.value) || ""), d = fe(e), { setGlobalModel: c } = N(ue, {
5413
5414
  // @ts-ignore
5414
5415
  // eslint-disable-next-line no-void
5415
5416
  setGlobalModel: (u, y) => {
@@ -5426,7 +5427,7 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-2db14456
5426
5427
  }), h = d("tabChange", (u, y) => {
5427
5428
  y !== k(t) && (l.value = (u == null ? void 0 : u.value) || "", t.value = y, g());
5428
5429
  });
5429
- return ge(e, {
5430
+ return he(e, {
5430
5431
  tabChange: h
5431
5432
  }), {
5432
5433
  style: n,
@@ -5471,7 +5472,7 @@ function es(e, n, t, o, a, r) {
5471
5472
  style: G({
5472
5473
  borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(s) ? e.activeTabColor : "transparent"}` : ""
5473
5474
  })
5474
- }, he(i.title), 5)
5475
+ }, ye(i.title), 5)
5475
5476
  ], 12, Xr))), 128))
5476
5477
  ], 4)
5477
5478
  ], 4);
@@ -5504,7 +5505,7 @@ const ts = /* @__PURE__ */ K(Kr, [["render", es], ["__scopeId", "data-v-5c59ddef
5504
5505
  return;
5505
5506
  const r = e.linkPage || "", i = Mn(k(o), r), s = e.href;
5506
5507
  let l = s || i;
5507
- l = be(l);
5508
+ l = de(l);
5508
5509
  const d = e.target;
5509
5510
  d && (d !== "event" ? window.open(l, "_" + d) : window.parent.postMessage({
5510
5511
  type: "openPage",
@@ -5545,7 +5546,7 @@ const is = /* @__PURE__ */ K(os, [["render", ls], ["__scopeId", "data-v-ef7a7bee
5545
5546
  const n = ie(e), { contextRequestUrl: t } = N(ce, {
5546
5547
  contextRequestUrl: ""
5547
5548
  }), o = q(() => {
5548
- let a = be(e.link);
5549
+ let a = de(e.link);
5549
5550
  if (e.linkType === "erd" && a != null) {
5550
5551
  let r = k(t);
5551
5552
  r[r.length - 1] === "/" ? r += "erdReport" : r += "/erdReport", a = `${Al || r}?_t=0&uid=${a}`;
@@ -5681,13 +5682,13 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5681
5682
  const {
5682
5683
  cellAlign: te = "center",
5683
5684
  cellColor: le,
5684
- dataIndex: fe,
5685
- title: ye,
5686
- tableFilter: me,
5685
+ dataIndex: me,
5686
+ title: be,
5687
+ tableFilter: ge,
5687
5688
  headerCellAlign: qe,
5688
5689
  headerCellColor: ot
5689
5690
  } = P;
5690
- me && (m.push(fe), P.filterOptionsInputValue = "", P.filterCheckboxGroupValue = [], P.customFilterDropdown = !0, P.onFilter = (je, yt) => yt[fe].toString().toLowerCase().includes(je.toLowerCase())), P.customHeaderCell = () => ({
5691
+ ge && (m.push(me), P.filterOptionsInputValue = "", P.filterCheckboxGroupValue = [], P.customFilterDropdown = !0, P.onFilter = (je, yt) => yt[me].toString().toLowerCase().includes(je.toLowerCase())), P.customHeaderCell = () => ({
5691
5692
  style: {
5692
5693
  display: "table-cell",
5693
5694
  verticalAlign: "middle",
@@ -5710,8 +5711,8 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5710
5711
  onClick: C("click", () => {
5711
5712
  const $t = e.id, Io = U($t);
5712
5713
  je = {
5713
- dataIndex: fe,
5714
- title: ye,
5714
+ dataIndex: me,
5715
+ title: be,
5715
5716
  ...je
5716
5717
  }, H($t, { ...Io, RECORD: je });
5717
5718
  })
@@ -5749,22 +5750,22 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5749
5750
  if (Array.isArray(M)) {
5750
5751
  const D = M.length, V = m, J = V.length, P = {};
5751
5752
  for (let le = 0; le < D; le++) {
5752
- const fe = M[le];
5753
- for (let ye = 0; ye < J; ye++) {
5754
- const me = V[ye];
5755
- if (P[me])
5756
- P[me].add(fe[me]);
5753
+ const me = M[le];
5754
+ for (let be = 0; be < J; be++) {
5755
+ const ge = V[be];
5756
+ if (P[ge])
5757
+ P[ge].add(me[ge]);
5757
5758
  else {
5758
5759
  const qe = /* @__PURE__ */ new Set();
5759
- qe.add(fe[me]), P[me] = qe;
5760
+ qe.add(me[ge]), P[ge] = qe;
5760
5761
  }
5761
5762
  }
5762
5763
  }
5763
5764
  const te = {};
5764
5765
  for (const le in P)
5765
5766
  if (Object.prototype.hasOwnProperty.call(P, le)) {
5766
- const fe = P[le], ye = Array.from(fe);
5767
- te[le] = ye.map((me) => ({ label: me, value: me }));
5767
+ const me = P[le], be = Array.from(me);
5768
+ te[le] = be.map((ge) => ({ label: ge, value: ge }));
5768
5769
  }
5769
5770
  v.value = te;
5770
5771
  }
@@ -5785,22 +5786,22 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5785
5786
  align: "center"
5786
5787
  }];
5787
5788
  for (let te = 0; te < D.length; te++) {
5788
- const le = D[te], fe = "col" + (te + 1);
5789
+ const le = D[te], me = "col" + (te + 1);
5789
5790
  J.push({
5790
5791
  title: le[V.dataIndex],
5791
- dataIndex: fe,
5792
- key: fe,
5792
+ dataIndex: me,
5793
+ key: me,
5793
5794
  align: "center"
5794
5795
  });
5795
5796
  }
5796
5797
  const P = [];
5797
5798
  for (let te = 1; te < M.length; te++) {
5798
- const le = M[te], fe = { col0: le.title };
5799
- for (let ye = 0; ye < D.length; ye++) {
5800
- const me = D[ye];
5801
- fe[`col${ye + 1}`] = me[le.dataIndex];
5799
+ const le = M[te], me = { col0: le.title };
5800
+ for (let be = 0; be < D.length; be++) {
5801
+ const ge = D[be];
5802
+ me[`col${be + 1}`] = ge[le.dataIndex];
5802
5803
  }
5803
- P.push(fe);
5804
+ P.push(me);
5804
5805
  }
5805
5806
  return {
5806
5807
  columns: J,
@@ -5858,9 +5859,9 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5858
5859
  case V < 0:
5859
5860
  return "goDown";
5860
5861
  }
5861
- }, C = ue(e), { pageMode: _ } = N(ce, {
5862
+ }, C = fe(e), { pageMode: _ } = N(ce, {
5862
5863
  pageMode: "normal"
5863
- }), { getGlobalModel: U, setGlobalModel: H } = N(de, {
5864
+ }), { getGlobalModel: U, setGlobalModel: H } = N(ue, {
5864
5865
  // @ts-ignore
5865
5866
  // eslint-disable-next-line no-void
5866
5867
  getGlobalModel: (M) => {
@@ -5899,7 +5900,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5899
5900
  break;
5900
5901
  }
5901
5902
  };
5902
- ge(e, {
5903
+ he(e, {
5903
5904
  resetRecord: () => {
5904
5905
  const M = e.id, D = U(M);
5905
5906
  H(M, { ...D, RECORD: "" });
@@ -5932,10 +5933,10 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5932
5933
  for (let P = 0; P < D.length; P++) {
5933
5934
  const te = D[P];
5934
5935
  let le = 0;
5935
- const { isCalcTotal: fe, dataIndex: ye } = te;
5936
- if (fe === !0) {
5937
- for (let me = 0; me < J.length; me++) {
5938
- const ot = +J[me][ye];
5936
+ const { isCalcTotal: me, dataIndex: be } = te;
5937
+ if (me === !0) {
5938
+ for (let ge = 0; ge < J.length; ge++) {
5939
+ const ot = +J[ge][be];
5939
5940
  isNaN(ot) || (le = new sa(le).add(ot).toNumber());
5940
5941
  }
5941
5942
  te.total = le;
@@ -5971,7 +5972,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
5971
5972
  url: D
5972
5973
  }, "*");
5973
5974
  },
5974
- handleHref: (M = "", D) => be(M, D),
5975
+ handleHref: (M = "", D) => de(M, D),
5975
5976
  handleHrefTarget: (M) => {
5976
5977
  if (M !== "event")
5977
5978
  return {
@@ -6075,7 +6076,7 @@ function Cs(e, n, t, o, a, r) {
6075
6076
  ], 4)
6076
6077
  ]),
6077
6078
  bodyCell: Y(({ column: u, index: y, text: v, record: b }) => [
6078
- u.dataIndex === "SEQ" ? (E(), R("span", bs, he(y + 1), 1)) : pe("", !0),
6079
+ u.dataIndex === "SEQ" ? (E(), R("span", bs, ye(y + 1), 1)) : pe("", !0),
6079
6080
  u.dataIndex === "ACTION" ? (E(), R("div", vs, [
6080
6081
  (E(!0), R(Le, null, Me(e.actionList, (A, x) => (E(), R("div", {
6081
6082
  class: "action",
@@ -6090,7 +6091,7 @@ function Cs(e, n, t, o, a, r) {
6090
6091
  fontWeight: e.fontWeight
6091
6092
  }),
6092
6093
  onClick: (B) => e.onTouchHrefEvent(A.target, e.handleHref(A.href, b))
6093
- }, he(A.title), 13, ps)
6094
+ }, ye(A.title), 13, ps)
6094
6095
  ]))), 128))
6095
6096
  ])) : (E(), R("div", {
6096
6097
  key: 2,
@@ -6099,7 +6100,7 @@ function Cs(e, n, t, o, a, r) {
6099
6100
  fontSize: e.fontSize,
6100
6101
  fontWeight: e.fontWeight
6101
6102
  })
6102
- }, he(u.format != null ? e.formatFn(v, u.format) : v), 7))
6103
+ }, ye(u.format != null ? e.formatFn(v, u.format) : v), 7))
6103
6104
  ]),
6104
6105
  summary: Y(() => [
6105
6106
  e.summaryList.length > 0 ? (E(), Fe(g, { key: 0 }, {
@@ -6123,7 +6124,7 @@ function Cs(e, n, t, o, a, r) {
6123
6124
  fontSize: e.fontSize,
6124
6125
  fontWeight: e.fontWeight
6125
6126
  })
6126
- }, he((u.format != null || u.format !== "") && e.formatFn(u.total, u.format)), 7)
6127
+ }, ye((u.format != null || u.format !== "") && e.formatFn(u.total, u.format)), 7)
6127
6128
  ]),
6128
6129
  _: 2
6129
6130
  }, 1032, ["index", "style"]))), 128))