@ecan-bi/datav 1.1.92 → 1.1.94

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,11 +1,11 @@
1
- /*! @ecan-bi/datav@1.1.92 */
2
- import { watch as K, inject as j, computed as q, unref as w, watchEffect as yo, defineComponent as te, shallowRef as Ct, toRefs as Zn, onMounted as Ue, onUnmounted as ht, h as mt, nextTick as yt, createVNode as W, resolveComponent as Z, openBlock as O, createElementBlock as z, createBlock as ze, renderSlot as tt, withCtx as X, ref as I, normalizeStyle as G, createCommentVNode as be, provide as Re, onBeforeUnmount as It, toDisplayString as ye, Fragment as Me, renderList as Oe, createElementVNode as ee, normalizeClass as Mt, pushScopeId as bo, popScopeId as vo, resolveDynamicComponent as Jn, mergeProps as Yn, withModifiers as po, reactive as Qn, createTextVNode as Ft, withDirectives as Kn, vShow as Xn } from "vue";
1
+ /*! @ecan-bi/datav@1.1.94 */
2
+ import { watch as K, inject as j, computed as q, unref as w, watchEffect as yo, defineComponent as te, shallowRef as St, toRefs as Zn, onMounted as Ue, onUnmounted as yt, h as mt, nextTick as bt, createVNode as W, resolveComponent as Z, openBlock as O, createElementBlock as F, createBlock as ze, renderSlot as tt, withCtx as X, ref as I, normalizeStyle as G, createCommentVNode as be, provide as Re, onBeforeUnmount as Mt, toDisplayString as ye, Fragment as Me, renderList as Oe, createElementVNode as ee, normalizeClass as Et, pushScopeId as bo, popScopeId as vo, resolveDynamicComponent as Jn, mergeProps as Yn, withModifiers as po, reactive as Qn, createTextVNode as Ft, withDirectives as Kn, vShow as Xn } from "vue";
3
3
  import { throttle as ea, init as ta, use as je, registerMap as oa } from "echarts/core";
4
4
  import { addListener as na, removeListener as aa } from "resize-detector";
5
5
  import { Spin as la, Skeleton as ia, message as Be, Progress as ra, Input as Co, DatePicker as sa, RangePicker as ca, Button as So, CheckboxGroup as wo, Select as da, TreeSelect as ua, Modal as We, Table as fa, TableSummary as ma, TableSummaryRow as ga, TableSummaryCell as ha } from "ant-design-vue";
6
6
  import "ant-design-vue/es/spin/style";
7
7
  import "ant-design-vue/es/skeleton/style";
8
- import { without as ya, pick as xo, debounce as Rt, cloneDeep as St } from "lodash-es";
8
+ import { without as ya, pick as xo, debounce as Rt, cloneDeep as wt } from "lodash-es";
9
9
  import we from "dayjs";
10
10
  import ko from "axios";
11
11
  import ba from "mitt";
@@ -109,67 +109,67 @@ const Fa = "x-vue-echarts", Ra = "ecTheme", $a = "ecInitOptions", Na = "ecUpdate
109
109
  inheritAttrs: !1,
110
110
  // @ts-expect-error listeners for Vue 2 compatibility
111
111
  setup(e, { attrs: o, listeners: t }) {
112
- const n = Ct(), a = Ct(), l = Ct(), i = j(Ra, null), r = j(
112
+ const n = St(), a = St(), l = St(), i = j(Ra, null), r = j(
113
113
  $a,
114
114
  null
115
115
  ), c = j(
116
116
  Na,
117
117
  null
118
- ), { autoresize: f, manualUpdate: v, loading: m, loadingOptions: x } = Zn(e), u = q(
118
+ ), { autoresize: f, manualUpdate: p, loading: m, loadingOptions: x } = Zn(e), u = q(
119
119
  () => l.value || e.option || /* @__PURE__ */ Object.create(null)
120
120
  ), s = q(() => e.theme || w(i) || {}), d = q(
121
121
  () => e.initOptions || w(r) || {}
122
- ), C = q(
122
+ ), S = q(
123
123
  () => e.updateOptions || w(c) || {}
124
124
  ), y = q(() => za(o));
125
- function T(_) {
125
+ function T(k) {
126
126
  if (a.value || !n.value)
127
127
  return;
128
- const k = a.value = ta(
128
+ const A = a.value = ta(
129
129
  n.value,
130
130
  s.value,
131
131
  d.value
132
132
  );
133
- e.group && (k.group = e.group);
133
+ e.group && (A.group = e.group);
134
134
  let L = t;
135
- L || (L = {}, Object.keys(o).filter((p) => p.indexOf("on") === 0 && p.length > 2).forEach((p) => {
136
- const b = p.charAt(2).toLowerCase() + p.slice(3);
137
- L[b] = o[p];
138
- })), Object.keys(L).forEach((p) => {
139
- const b = L[p];
140
- b && (p.indexOf("zr:") === 0 ? k.getZr().on(p.slice(3).toLowerCase(), b) : k.on(p.toLowerCase(), b));
135
+ L || (L = {}, Object.keys(o).filter((b) => b.indexOf("on") === 0 && b.length > 2).forEach((b) => {
136
+ const v = b.charAt(2).toLowerCase() + b.slice(3);
137
+ L[v] = o[b];
138
+ })), Object.keys(L).forEach((b) => {
139
+ const v = L[b];
140
+ v && (b.indexOf("zr:") === 0 ? A.getZr().on(b.slice(3).toLowerCase(), v) : A.on(b.toLowerCase(), v));
141
141
  });
142
- function S() {
143
- if (k && !k.isDisposed())
142
+ function C() {
143
+ if (A && !A.isDisposed())
144
144
  try {
145
- k.resize();
146
- } catch (p) {
147
- if (p.message === "Cannot read property 'get' of undefined")
145
+ A.resize();
146
+ } catch (b) {
147
+ if (b.message === "Cannot read property 'get' of undefined")
148
148
  return;
149
- throw p;
149
+ throw b;
150
150
  }
151
151
  }
152
152
  function h() {
153
- k.setOption(_ || u.value, C.value);
153
+ A.setOption(k || u.value, S.value);
154
154
  }
155
- f.value ? yt(() => {
156
- S(), h();
155
+ f.value ? bt(() => {
156
+ C(), h();
157
157
  }) : h();
158
158
  }
159
- function M(_, k) {
160
- e.manualUpdate && (l.value = _), a.value ? a.value.setOption(_, k || {}) : T(_);
159
+ function M(k, A) {
160
+ e.manualUpdate && (l.value = k), a.value ? a.value.setOption(k, A || {}) : T(k);
161
161
  }
162
- function A() {
162
+ function _() {
163
163
  a.value && (a.value.dispose(), a.value = void 0);
164
164
  }
165
- let F = null;
165
+ let R = null;
166
166
  K(
167
- v,
168
- (_) => {
169
- typeof F == "function" && (F(), F = null), _ || (F = K(
167
+ p,
168
+ (k) => {
169
+ typeof R == "function" && (R(), R = null), k || (R = K(
170
170
  () => e.option,
171
- (k) => {
172
- k && (a.value ? a.value.setOption(k, C.value) : T());
171
+ (A) => {
172
+ A && (a.value ? a.value.setOption(A, S.value) : T());
173
173
  },
174
174
  { deep: !0 }
175
175
  ));
@@ -180,7 +180,7 @@ const Fa = "x-vue-echarts", Ra = "ecTheme", $a = "ecInitOptions", Na = "ecUpdate
180
180
  ), K(
181
181
  [s, d],
182
182
  () => {
183
- A(), T();
183
+ _(), T();
184
184
  },
185
185
  {
186
186
  deep: !0
@@ -191,7 +191,7 @@ const Fa = "x-vue-echarts", Ra = "ecTheme", $a = "ecInitOptions", Na = "ecUpdate
191
191
  const g = _a(a, T);
192
192
  return Ma(a, m, x), Ta(a, f, n), Ue(() => {
193
193
  e.option && T();
194
- }), ht(A), {
194
+ }), yt(_), {
195
195
  chart: a,
196
196
  root: n,
197
197
  setOption: M,
@@ -221,7 +221,7 @@ function Ua(e) {
221
221
  function ct(e) {
222
222
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
223
223
  }
224
- function wt(e) {
224
+ function xt(e) {
225
225
  return e.length === 1 ? "0" + e : String(e);
226
226
  }
227
227
  function Ga(e, o, t) {
@@ -231,7 +231,7 @@ function Ga(e, o, t) {
231
231
  b: xe(t, 255) * 255
232
232
  };
233
233
  }
234
- function xt(e, o, t) {
234
+ function kt(e, o, t) {
235
235
  return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (o - e) * (6 * t) : t < 1 / 2 ? o : t < 2 / 3 ? e + (o - e) * (2 / 3 - t) * 6 : e;
236
236
  }
237
237
  function qa(e, o, t) {
@@ -240,7 +240,7 @@ function qa(e, o, t) {
240
240
  a = t, l = t, n = t;
241
241
  else {
242
242
  var i = t < 0.5 ? t * (1 + o) : t + o - t * o, r = 2 * t - i;
243
- n = xt(r, i, e + 1 / 3), a = xt(r, i, e), l = xt(r, i, e - 1 / 3);
243
+ n = kt(r, i, e + 1 / 3), a = kt(r, i, e), l = kt(r, i, e - 1 / 3);
244
244
  }
245
245
  return { r: n * 255, g: a * 255, b: l * 255 };
246
246
  }
@@ -267,14 +267,14 @@ function ja(e, o, t) {
267
267
  }
268
268
  function Wa(e, o, t) {
269
269
  e = xe(e, 360) * 6, o = xe(o, 100), t = xe(t, 100);
270
- var n = Math.floor(e), a = e - n, l = t * (1 - o), i = t * (1 - a * o), r = t * (1 - (1 - a) * o), c = n % 6, f = [t, i, l, l, r, t][c], v = [r, t, t, i, l, l][c], m = [l, l, r, t, t, i][c];
271
- return { r: f * 255, g: v * 255, b: m * 255 };
270
+ var n = Math.floor(e), a = e - n, l = t * (1 - o), i = t * (1 - a * o), r = t * (1 - (1 - a) * o), c = n % 6, f = [t, i, l, l, r, t][c], p = [r, t, t, i, l, l][c], m = [l, l, r, t, t, i][c];
271
+ return { r: f * 255, g: p * 255, b: m * 255 };
272
272
  }
273
273
  function Va(e, o, t, n) {
274
274
  var a = [
275
- wt(Math.round(e).toString(16)),
276
- wt(Math.round(o).toString(16)),
277
- wt(Math.round(t).toString(16))
275
+ xt(Math.round(e).toString(16)),
276
+ xt(Math.round(o).toString(16)),
277
+ xt(Math.round(t).toString(16))
278
278
  ];
279
279
  return n && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
280
280
  }
@@ -445,14 +445,14 @@ function Ye(e) {
445
445
  a: t
446
446
  };
447
447
  }
448
- var Ha = "[-\\+]?\\d+%?", Za = "[-\\+]?\\d*\\.\\d+%?", De = "(?:".concat(Za, ")|(?:").concat(Ha, ")"), kt = "[\\s|\\(]+(".concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")\\s*\\)?"), At = "[\\s|\\(]+(".concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")\\s*\\)?"), _e = {
448
+ var Ha = "[-\\+]?\\d+%?", Za = "[-\\+]?\\d*\\.\\d+%?", De = "(?:".concat(Za, ")|(?:").concat(Ha, ")"), At = "[\\s|\\(]+(".concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")\\s*\\)?"), _t = "[\\s|\\(]+(".concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")[,|\\s]+(").concat(De, ")\\s*\\)?"), _e = {
449
449
  CSS_UNIT: new RegExp(De),
450
- rgb: new RegExp("rgb" + kt),
451
- rgba: new RegExp("rgba" + At),
452
- hsl: new RegExp("hsl" + kt),
453
- hsla: new RegExp("hsla" + At),
454
- hsv: new RegExp("hsv" + kt),
455
- hsva: new RegExp("hsva" + At),
450
+ rgb: new RegExp("rgb" + At),
451
+ rgba: new RegExp("rgba" + _t),
452
+ hsl: new RegExp("hsl" + At),
453
+ hsla: new RegExp("hsla" + _t),
454
+ hsv: new RegExp("hsv" + At),
455
+ hsva: new RegExp("hsva" + _t),
456
456
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
457
457
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
458
458
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -559,7 +559,7 @@ function Kt(e, o, t) {
559
559
  var n;
560
560
  return t ? n = e.v + Qa * o : n = e.v - Ka * o, n > 1 && (n = 1), Number(n.toFixed(2));
561
561
  }
562
- function Et(e) {
562
+ function Ot(e) {
563
563
  for (var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], n = Ye(e), a = Mo; a > 0; a -= 1) {
564
564
  var l = Jt(n), i = ut(Ye({
565
565
  h: Yt(l, a, !0),
@@ -577,12 +577,12 @@ function Et(e) {
577
577
  }));
578
578
  t.push(f);
579
579
  }
580
- return o.theme === "dark" ? Xa.map(function(v) {
581
- var m = v.index, x = v.opacity, u = ut(el(Ye(o.backgroundColor || "#141414"), Ye(t[m]), x * 100));
580
+ return o.theme === "dark" ? Xa.map(function(p) {
581
+ var m = p.index, x = p.opacity, u = ut(el(Ye(o.backgroundColor || "#141414"), Ye(t[m]), x * 100));
582
582
  return u;
583
583
  }) : t;
584
584
  }
585
- var _t = {
585
+ var Tt = {
586
586
  red: "#F5222D",
587
587
  volcano: "#FA541C",
588
588
  orange: "#FA8C16",
@@ -596,12 +596,12 @@ var _t = {
596
596
  purple: "#722ED1",
597
597
  magenta: "#EB2F96",
598
598
  grey: "#666666"
599
- }, Tt = {}, Lt = {};
600
- Object.keys(_t).forEach(function(e) {
601
- Tt[e] = Et(_t[e]), Tt[e].primary = Tt[e][5], Lt[e] = Et(_t[e], {
599
+ }, Lt = {}, It = {};
600
+ Object.keys(Tt).forEach(function(e) {
601
+ Lt[e] = Ot(Tt[e]), Lt[e].primary = Lt[e][5], It[e] = Ot(Tt[e], {
602
602
  theme: "dark",
603
603
  backgroundColor: "#141414"
604
- }), Lt[e].primary = Lt[e][5];
604
+ }), It[e].primary = It[e][5];
605
605
  });
606
606
  var Xt = [], Qe = [], tl = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
607
607
  function ol() {
@@ -639,19 +639,19 @@ function il(e, o) {
639
639
  function to(e) {
640
640
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
641
641
  }
642
- function Ot(e, o, t) {
642
+ function Dt(e, o, t) {
643
643
  return t ? mt(e.tag, eo({
644
644
  key: o
645
645
  }, t, e.attrs), (e.children || []).map(function(n, a) {
646
- return Ot(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
646
+ return Dt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
647
647
  })) : mt(e.tag, eo({
648
648
  key: o
649
649
  }, e.attrs), (e.children || []).map(function(n, a) {
650
- return Ot(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
650
+ return Dt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
651
651
  }));
652
652
  }
653
653
  function Oo(e) {
654
- return Et(e)[0];
654
+ return Ot(e)[0];
655
655
  }
656
656
  function Do(e) {
657
657
  return e ? Array.isArray(e) ? e : [e] : [];
@@ -712,7 +712,7 @@ var rl = `
712
712
  }
713
713
  `, oo = !1, sl = function() {
714
714
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : rl;
715
- yt(function() {
715
+ bt(function() {
716
716
  oo || (typeof window < "u" && window.document && window.document.documentElement && nl(o, {
717
717
  prepend: !0
718
718
  }), oo = !0);
@@ -773,7 +773,7 @@ var He = function(o, t) {
773
773
  var f = a;
774
774
  return f && typeof f.icon == "function" && (f = ft({}, f, {
775
775
  icon: f.icon(c.primaryColor, c.secondaryColor)
776
- })), Ot(f.icon, "svg-".concat(f.name), ft({}, r, {
776
+ })), Dt(f.icon, "svg-".concat(f.name), ft({}, r, {
777
777
  "data-icon": f.name,
778
778
  width: "1em",
779
779
  height: "1em",
@@ -906,12 +906,12 @@ function lo(e) {
906
906
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
907
907
  return Object.getOwnPropertyDescriptor(t, a).enumerable;
908
908
  }))), n.forEach(function(a) {
909
- Dt(e, a, t[a]);
909
+ zt(e, a, t[a]);
910
910
  });
911
911
  }
912
912
  return e;
913
913
  }
914
- function Dt(e, o, t) {
914
+ function zt(e, o, t) {
915
915
  return o in e ? Object.defineProperty(e, o, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = t, e;
916
916
  }
917
917
  function Tl(e, o) {
@@ -935,14 +935,14 @@ function Ll(e, o) {
935
935
  }
936
936
  zo("#1890ff");
937
937
  var Ze = function(o, t) {
938
- var n, a = lo({}, o, t.attrs), l = a.class, i = a.icon, r = a.spin, c = a.rotate, f = a.tabindex, v = a.twoToneColor, m = a.onClick, x = Tl(a, Sl), u = (n = {
938
+ var n, a = lo({}, o, t.attrs), l = a.class, i = a.icon, r = a.spin, c = a.rotate, f = a.tabindex, p = a.twoToneColor, m = a.onClick, x = Tl(a, Sl), u = (n = {
939
939
  anticon: !0
940
- }, Dt(n, "anticon-".concat(i.name), !!i.name), Dt(n, l, l), n), s = r === "" || r || i.name === "loading" ? "anticon-spin" : "", d = f;
940
+ }, zt(n, "anticon-".concat(i.name), !!i.name), zt(n, l, l), n), s = r === "" || r || i.name === "loading" ? "anticon-spin" : "", d = f;
941
941
  d === void 0 && m && (d = -1, x.tabindex = d);
942
- var C = c ? {
942
+ var S = c ? {
943
943
  msTransform: "rotate(".concat(c, "deg)"),
944
944
  transform: "rotate(".concat(c, "deg)")
945
- } : void 0, y = Do(v), T = wl(y, 2), M = T[0], A = T[1];
945
+ } : void 0, y = Do(p), T = wl(y, 2), M = T[0], _ = T[1];
946
946
  return W("span", lo({
947
947
  role: "img",
948
948
  "aria-label": i.name
@@ -953,8 +953,8 @@ var Ze = function(o, t) {
953
953
  class: s,
954
954
  icon: i,
955
955
  primaryColor: M,
956
- secondaryColor: A,
957
- style: C
956
+ secondaryColor: _,
957
+ style: S
958
958
  }, null)]);
959
959
  };
960
960
  Ze.props = {
@@ -1047,7 +1047,7 @@ const oe = (e, o) => {
1047
1047
  }, Nl = { class: "spin-wrapper" };
1048
1048
  function Pl(e, o, t, n, a, l) {
1049
1049
  const i = Z("a-spin");
1050
- return O(), z("div", Nl, [
1050
+ return O(), F("div", Nl, [
1051
1051
  e.spinning ? (O(), ze(i, {
1052
1052
  key: 0,
1053
1053
  class: "spin",
@@ -1081,7 +1081,7 @@ function Ul(e, o, t, n, a, l) {
1081
1081
  _: 3
1082
1082
  }, 8, ["loading"]);
1083
1083
  }
1084
- const bt = /* @__PURE__ */ oe(Bl, [["render", Ul]]);
1084
+ const vt = /* @__PURE__ */ oe(Bl, [["render", Ul]]);
1085
1085
  process.env.NODE_ENV !== "production" && Object.freeze({});
1086
1086
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1087
1087
  const ne = (e, o) => {
@@ -1210,8 +1210,8 @@ const ql = ((ho = window == null ? void 0 : window.config) == null ? void 0 : ho
1210
1210
  let { name: t = "name", value: n = "value", type: a = "type" } = o || {};
1211
1211
  t = t == null ? void 0 : t.trim(), n = n == null ? void 0 : n.trim(), a = a == null ? void 0 : a.trim();
1212
1212
  const l = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), r = e.length;
1213
- for (let v = 0; v < r; v++) {
1214
- const m = e[v], x = m[t] || "", u = m[n] || "", s = m[a] || "";
1213
+ for (let p = 0; p < r; p++) {
1214
+ const m = e[p], x = m[t] || "", u = m[n] || "", s = m[a] || "";
1215
1215
  if (l.add(x), i.has(s)) {
1216
1216
  const d = i.get(s);
1217
1217
  d.push({ name: x, value: u, ...m }), i.set(s, d);
@@ -1219,9 +1219,9 @@ const ql = ((ho = window == null ? void 0 : window.config) == null ? void 0 : ho
1219
1219
  i.set(s, [{ name: x, value: u, ...m }]);
1220
1220
  }
1221
1221
  const c = Array.from(l), f = [];
1222
- for (const [v, m] of i)
1222
+ for (const [p, m] of i)
1223
1223
  f.push({
1224
- name: v,
1224
+ name: p,
1225
1225
  data: m
1226
1226
  });
1227
1227
  return {
@@ -1271,7 +1271,7 @@ const jl = (e) => e.replace(/\\n/g, `
1271
1271
  return e;
1272
1272
  const n = parseFloat(t);
1273
1273
  return isNaN(n) ? e : `${(n * 100).toFixed(o)}%`;
1274
- }, zt = (e, o) => typeof e == "string" && typeof o == "string" ? e.toLocaleLowerCase().includes(o.toLocaleLowerCase()) : !1, vt = (e, o) => {
1274
+ }, ht = (e, o) => typeof e == "string" && typeof o == "string" ? e.toLocaleLowerCase().includes(o.toLocaleLowerCase()) : !1, pt = (e, o) => {
1275
1275
  const t = {
1276
1276
  dayjs: we,
1277
1277
  ...o
@@ -1295,13 +1295,13 @@ const jl = (e) => e.replace(/\\n/g, `
1295
1295
  return e;
1296
1296
  for (let c = 0; c < r.length; c++) {
1297
1297
  const f = r[c];
1298
- let v = f.slice(1, -1).trim();
1299
- const m = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, x = v.match(m);
1298
+ let p = f.slice(1, -1).trim();
1299
+ const m = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, x = p.match(m);
1300
1300
  for (let u = 0; u < x.length; u++) {
1301
1301
  const s = x[u], d = i[s];
1302
- d != null && (v = v.replace(s, d));
1302
+ d != null && (p = p.replace(s, d));
1303
1303
  }
1304
- (/\(.*\)/g.test(v) || /[+/\\*]/g.test(v)) && (v = vt(v, t)), e = e.replace(f, v);
1304
+ (/\(.*\)/g.test(p) || /[+/\\*]/g.test(p)) && (p = pt(p, t)), e = e.replace(f, p);
1305
1305
  }
1306
1306
  return n && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), a && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, "&nbsp;&nbsp;")), e;
1307
1307
  }, ke = (e, o = () => {
@@ -1316,59 +1316,59 @@ const jl = (e) => e.replace(/\\n/g, `
1316
1316
  } = e, { contextRequestUrl: c, touchEventId: f } = j(ve, {
1317
1317
  contextRequestUrl: "",
1318
1318
  touchEventId: ""
1319
- }), { getGlobalModel: v } = j(ge, {
1319
+ }), { getGlobalModel: p } = j(ge, {
1320
1320
  getGlobalModel: (s) => {
1321
1321
  }
1322
1322
  }), m = de(t), x = async (s = {}) => {
1323
1323
  if (!m || !n || !a)
1324
1324
  return;
1325
1325
  let d = {};
1326
- l.forEach((A) => {
1327
- const { key: F, value: g } = A;
1326
+ l.forEach((_) => {
1327
+ const { key: R, value: g } = _;
1328
1328
  if (typeof g == "object" && g != null && g.id) {
1329
- let _ = {};
1330
- const { id: k, prop: L, propKey: S, operate: h } = g;
1331
- k === "THIS" ? _ = v(w(f)) || {} : _ = v(k) || {};
1332
- const p = w(_[L]);
1333
- let b = null;
1334
- if (["date", "range"].some((R) => zt(_ == null ? void 0 : _.type, R))) {
1335
- const { value: R, type: $, mode: N } = h || {};
1336
- if (R && $ && N)
1329
+ let k = {};
1330
+ const { id: A, prop: L, propKey: C, operate: h } = g;
1331
+ A === "THIS" ? k = p(w(f)) || {} : k = p(A) || {};
1332
+ const b = w(k[L]);
1333
+ let v = null;
1334
+ if (["date", "range"].some((D) => ht(k == null ? void 0 : k.type, D))) {
1335
+ const { value: D, type: $, mode: N } = h || {};
1336
+ if (D && $ && N)
1337
1337
  switch ($) {
1338
1338
  case "add":
1339
- b = w(p).add(R, N);
1339
+ v = w(b).add(D, N);
1340
1340
  break;
1341
1341
  case "minus":
1342
- b = w(p).subtract(R, N);
1342
+ v = w(b).subtract(D, N);
1343
1343
  break;
1344
1344
  }
1345
- b == null && (b = w(p)), b = (b == null ? void 0 : b.format((S == null ? void 0 : S.trim()) || _.format)) || "";
1345
+ v == null && (v = w(b)), v = (v == null ? void 0 : v.format((C == null ? void 0 : C.trim()) || k.format)) || "";
1346
1346
  } else
1347
- Object.prototype.toString.call(p) === "[object Object]" ? S == null ? b = p : b = p[S] : b = p;
1348
- d[F] = b;
1347
+ Object.prototype.toString.call(b) === "[object Object]" ? C == null ? v = b : v = b[C] : ht(k == null ? void 0 : k.type, "select") && w(b) && C && Array.isArray(w(b)) ? v = w(b).map((D) => Object.prototype.hasOwnProperty.call(D, C) ? D[C] : D) : v = b;
1348
+ d[R] = v;
1349
1349
  } else
1350
- typeof g == "string" && (d[F] = de(g));
1350
+ typeof g == "string" && (d[R] = de(g));
1351
1351
  }), d = { ...window.config.requestParams, ...s, ...d };
1352
- let C = "";
1352
+ let S = "";
1353
1353
  const y = Object.keys(d), T = y.length - 1, M = y.length;
1354
- y.forEach((A, F) => {
1355
- let g = d[A];
1356
- Object.prototype.toString.call(g) === "[object Object]" && (g = JSON.stringify(g)), F === 0 ? M !== 1 ? C += `?${A}=${g}&` : C += `?${A}=${g}` : F === T ? C += `${A}=${g}` : C += `${A}=${g}&`;
1354
+ y.forEach((_, R) => {
1355
+ let g = d[_];
1356
+ Object.prototype.toString.call(g) === "[object Object]" && (g = JSON.stringify(g)), R === 0 ? M !== 1 ? S += `?${_}=${g}&` : S += `?${_}=${g}` : R === T ? S += `${_}=${g}` : S += `${_}=${g}&`;
1357
1357
  });
1358
1358
  try {
1359
- const A = ["get", "head"].includes(n), F = await Fe({
1359
+ const _ = ["get", "head"].includes(n), R = await Fe({
1360
1360
  baseURL: w(c) || "",
1361
- url: A ? m + C : m,
1361
+ url: _ ? m + S : m,
1362
1362
  method: n,
1363
1363
  headers: a,
1364
- data: A ? {} : d
1364
+ data: _ ? {} : d
1365
1365
  });
1366
- return o(F), F;
1367
- } catch (A) {
1368
- console.error(A);
1366
+ return o(R), R;
1367
+ } catch (_) {
1368
+ console.error(_);
1369
1369
  }
1370
1370
  }, u = r && setInterval(x, i * 1e3);
1371
- return ht(() => {
1371
+ return yt(() => {
1372
1372
  clearInterval(u);
1373
1373
  }), x;
1374
1374
  }, qe = (e = [], o) => {
@@ -1376,19 +1376,19 @@ const jl = (e) => e.replace(/\\n/g, `
1376
1376
  t = (t == null ? void 0 : t.trim()) || t;
1377
1377
  const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), i = e.length, r = n.length;
1378
1378
  if (i === 1) {
1379
- const v = [];
1379
+ const p = [];
1380
1380
  for (let x = 0; x < r; x++) {
1381
- const u = n[x], { label: s, value: d } = u, C = { ...e[0], value: e[0][d] };
1382
- a.add(s), v.push(C);
1381
+ const u = n[x], { label: s, value: d } = u, S = { ...e[0], value: e[0][d] };
1382
+ a.add(s), p.push(S);
1383
1383
  }
1384
1384
  const m = e[0][t] || "";
1385
- l.set(m, v);
1385
+ l.set(m, p);
1386
1386
  } else
1387
- for (let v = 0; v < i; v++) {
1388
- const m = e[v], x = m[t];
1387
+ for (let p = 0; p < i; p++) {
1388
+ const m = e[p], x = m[t];
1389
1389
  a.add(x);
1390
1390
  for (let u = 0; u < r; u++) {
1391
- const s = n[u], { label: d, value: C } = s, y = { ...m, value: m[C] };
1391
+ const s = n[u], { label: d, value: S } = s, y = { ...m, value: m[S] };
1392
1392
  if (l.has(d)) {
1393
1393
  const T = l.get(d);
1394
1394
  T.push(y), l.set(d, T);
@@ -1397,9 +1397,9 @@ const jl = (e) => e.replace(/\\n/g, `
1397
1397
  }
1398
1398
  }
1399
1399
  const c = Array.from(a), f = [];
1400
- for (const [v, m] of l)
1400
+ for (const [p, m] of l)
1401
1401
  f.push({
1402
- name: v,
1402
+ name: p,
1403
1403
  data: m
1404
1404
  });
1405
1405
  return {
@@ -1431,7 +1431,7 @@ const jl = (e) => e.replace(/\\n/g, `
1431
1431
  r = r == null ? void 0 : r.replace(/value/g, o);
1432
1432
  try {
1433
1433
  let c = r;
1434
- (/\(.*\)/g.test(r) || /[+/\\*]/g.test(r)) && (c = vt(r)), e = e.replace(i, c);
1434
+ (/\(.*\)/g.test(r) || /[+/\\*]/g.test(r)) && (c = pt(r)), e = e.replace(i, c);
1435
1435
  } catch {
1436
1436
  e = e.replace(i, r);
1437
1437
  }
@@ -1446,12 +1446,12 @@ const jl = (e) => e.replace(/\\n/g, `
1446
1446
  });
1447
1447
  e.dataType === "indicator" && o();
1448
1448
  const t = (i = {}) => {
1449
- const { label: r, name: c, location: f, show: v, indexCode: m } = i;
1449
+ const { label: r, name: c, location: f, show: p, indexCode: m } = i;
1450
1450
  return {
1451
1451
  label: r,
1452
1452
  columnName: c,
1453
1453
  location: f,
1454
- show: v,
1454
+ show: p,
1455
1455
  calcType: "COLUMN",
1456
1456
  hrpIndexCode: m
1457
1457
  };
@@ -1460,27 +1460,27 @@ const jl = (e) => e.replace(/\\n/g, `
1460
1460
  label: r,
1461
1461
  name: c,
1462
1462
  location: f,
1463
- show: v,
1463
+ show: p,
1464
1464
  indexCode: m,
1465
1465
  calcType: x = "COLUMN",
1466
1466
  builtInFormula: u,
1467
1467
  builtInValueSource: s,
1468
1468
  builtInCalcWay: d,
1469
- formula: C,
1469
+ formula: S,
1470
1470
  conditions: y
1471
1471
  } = i;
1472
1472
  return {
1473
1473
  label: r,
1474
1474
  columnName: c,
1475
1475
  location: f,
1476
- show: v,
1476
+ show: p,
1477
1477
  calcType: x,
1478
1478
  hrpIndexCode: m,
1479
1479
  aggregate: "SUM",
1480
1480
  builtInFormula: u,
1481
1481
  builtInValueSource: s,
1482
1482
  builtInCalcWay: d,
1483
- formula: C,
1483
+ formula: S,
1484
1484
  conditions: y
1485
1485
  };
1486
1486
  }, { getGlobalModel: a } = j(ge, {
@@ -1493,13 +1493,13 @@ const jl = (e) => e.replace(/\\n/g, `
1493
1493
  const r = i.length;
1494
1494
  console.log("controlList", i);
1495
1495
  const c = [];
1496
- for (let v = 0; v < r; v++) {
1497
- const m = i[v], {
1496
+ for (let p = 0; p < r; p++) {
1497
+ const m = i[p], {
1498
1498
  id: x,
1499
1499
  conditionLabel: u,
1500
1500
  conditionKey: s,
1501
1501
  conditionValueType: d
1502
- } = m, C = {
1502
+ } = m, S = {
1503
1503
  rule: "NONE",
1504
1504
  label: u,
1505
1505
  fieldName: s,
@@ -1508,21 +1508,21 @@ const jl = (e) => e.replace(/\\n/g, `
1508
1508
  dateFormat: "YYYY-MM",
1509
1509
  valueType: d
1510
1510
  }, y = a(x) || {};
1511
- if (console.log("model", y), zt(y.type, "date")) {
1511
+ if (console.log("model", y), ht(y.type, "date")) {
1512
1512
  const { value: T, format: M } = y || {};
1513
- C.fieldValue = (f = w(T)) == null ? void 0 : f.format(M), C.dateFormat = M;
1513
+ S.fieldValue = (f = w(T)) == null ? void 0 : f.format(M), S.dateFormat = M;
1514
1514
  }
1515
- c.push(C);
1515
+ c.push(S);
1516
1516
  }
1517
1517
  return c;
1518
1518
  };
1519
1519
  return async () => {
1520
- var p;
1520
+ var b;
1521
1521
  const { graphicConfig: i, type: r } = e;
1522
1522
  let {
1523
1523
  source: c,
1524
1524
  dataViewId: f,
1525
- plugin: v = "1",
1525
+ plugin: p = "1",
1526
1526
  // 插件类型
1527
1527
  layer: m,
1528
1528
  // 后台图表类型,值分0,1
@@ -1531,25 +1531,25 @@ const jl = (e) => e.replace(/\\n/g, `
1531
1531
  classificationList: u = [],
1532
1532
  seriesList: s = [],
1533
1533
  leftAxisList: d = [],
1534
- rightAxisList: C = [],
1534
+ rightAxisList: S = [],
1535
1535
  queryColumnList: y = [],
1536
1536
  indicators: T = [],
1537
1537
  controlList: M = [],
1538
- dataSourceId: A,
1538
+ dataSourceId: _,
1539
1539
  // 所属数据源ID
1540
- idxLibMode: F,
1540
+ idxLibMode: R,
1541
1541
  // 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
1542
1542
  preview: g = !1
1543
1543
  // 预览开关
1544
1544
  } = i || {};
1545
- m == null && (zt(r, "table") ? m = "1" : m = "2");
1546
- let _;
1545
+ m == null && (ht(r, "table") ? m = "1" : m = "2");
1546
+ let k;
1547
1547
  if (Array.isArray(u) && u.length > 0) {
1548
- const b = u.length;
1549
- for (let P = 0; P < b; P++) {
1550
- const R = u[P] || {}, { label: $ = "", name: N = "", show: J = !1, sort: B, customGroup: V, conditions: Y } = R;
1551
- if (J || b === 1) {
1552
- _ = {
1548
+ const v = u.length;
1549
+ for (let P = 0; P < v; P++) {
1550
+ const D = u[P] || {}, { label: $ = "", name: N = "", show: J = !1, sort: B, customGroup: V, conditions: Y } = D;
1551
+ if (J || v === 1) {
1552
+ k = {
1553
1553
  label: $,
1554
1554
  columnName: N,
1555
1555
  show: J,
@@ -1561,13 +1561,13 @@ const jl = (e) => e.replace(/\\n/g, `
1561
1561
  }
1562
1562
  }
1563
1563
  }
1564
- let k;
1564
+ let A;
1565
1565
  if (Array.isArray(s) && s.length > 0) {
1566
- const b = s.length;
1567
- for (let P = 0; P < b; P++) {
1568
- const R = s[P] || {}, { label: $ = "", name: N = "", show: J = !1, sort: B, customGroup: V, conditions: Y } = R;
1569
- if (J || b === 1) {
1570
- k = {
1566
+ const v = s.length;
1567
+ for (let P = 0; P < v; P++) {
1568
+ const D = s[P] || {}, { label: $ = "", name: N = "", show: J = !1, sort: B, customGroup: V, conditions: Y } = D;
1569
+ if (J || v === 1) {
1570
+ A = {
1571
1571
  label: $,
1572
1572
  columnName: N,
1573
1573
  show: J,
@@ -1580,19 +1580,19 @@ const jl = (e) => e.replace(/\\n/g, `
1580
1580
  }
1581
1581
  }
1582
1582
  const L = [];
1583
- y == null || y.forEach((b) => {
1584
- L.push(t(b));
1583
+ y == null || y.forEach((v) => {
1584
+ L.push(t(v));
1585
1585
  });
1586
- const S = [];
1587
- if (d == null || d.forEach((b) => {
1588
- b.location = "LEFT", S.push(n(b));
1589
- }), C == null || C.forEach((b) => {
1590
- b.location = "RIGHT", S.push(n(b));
1591
- }), T == null || T.forEach((b) => {
1592
- b.location = "LEFT", S.push(n(b));
1586
+ const C = [];
1587
+ if (d == null || d.forEach((v) => {
1588
+ v.location = "LEFT", C.push(n(v));
1589
+ }), S == null || S.forEach((v) => {
1590
+ v.location = "RIGHT", C.push(n(v));
1591
+ }), T == null || T.forEach((v) => {
1592
+ v.location = "LEFT", C.push(n(v));
1593
1593
  }), m === "1" && L.length === 0)
1594
1594
  return;
1595
- if (m === "2" && S.length === 0)
1595
+ if (m === "2" && C.length === 0)
1596
1596
  return;
1597
1597
  const h = l(M);
1598
1598
  try {
@@ -1601,30 +1601,30 @@ const jl = (e) => e.replace(/\\n/g, `
1601
1601
  {
1602
1602
  source: c,
1603
1603
  dataViewId: f,
1604
- plugin: v,
1604
+ plugin: p,
1605
1605
  layer: m,
1606
1606
  chartType: x,
1607
- classification: _,
1608
- series: k,
1609
- indicatorList: S,
1607
+ classification: k,
1608
+ series: A,
1609
+ indicatorList: C,
1610
1610
  queryColumns: L,
1611
1611
  pageFlag: !0,
1612
1612
  sqlConditions: h,
1613
1613
  // fixedDimSql: '',
1614
- dataSourceId: A,
1615
- idxLibMode: F,
1614
+ dataSourceId: _,
1615
+ idxLibMode: R,
1616
1616
  preview: g
1617
1617
  },
1618
1618
  {
1619
1619
  headers: {
1620
1620
  // @ts-ignore
1621
- Authentication: (p = window == null ? void 0 : window.config) == null ? void 0 : p.indicatorToken,
1621
+ Authentication: (b = window == null ? void 0 : window.config) == null ? void 0 : b.indicatorToken,
1622
1622
  operateContext: "ygt"
1623
1623
  }
1624
1624
  }
1625
1625
  );
1626
- } catch (b) {
1627
- console.error(b);
1626
+ } catch (v) {
1627
+ console.error(v);
1628
1628
  }
1629
1629
  };
1630
1630
  }, Vl = () => {
@@ -1664,14 +1664,14 @@ const jl = (e) => e.replace(/\\n/g, `
1664
1664
  })), t = I(0), n = I(0), a = I(0), l = I(0), i = I(!1), r = I();
1665
1665
  let c;
1666
1666
  const f = () => new Promise((d) => {
1667
- yt(() => {
1667
+ bt(() => {
1668
1668
  e.width && e.height ? (t.value = parseFloat(e.width), n.value = parseFloat(e.height)) : (t.value = r.value.clientWidth, n.value = r.value.clientHeight), (!a.value || !l.value) && (a.value = window.screen.width, l.value = window.screen.height), d();
1669
1669
  });
1670
- }), v = () => {
1670
+ }), p = () => {
1671
1671
  t.value && n.value ? (r.value.style.width = `${t.value}px`, r.value.style.height = `${n.value}px`) : (r.value.style.width = `${a.value}px`, r.value.style.height = `${l.value}px`);
1672
1672
  }, m = () => {
1673
- const d = document.body.clientWidth, C = document.body.clientHeight, y = t.value || a.value, T = n.value || l.value, M = d / y, A = C / T;
1674
- r.value && (r.value.style.transform = `scale(${M}, ${A})`);
1673
+ const d = document.body.clientWidth, S = document.body.clientHeight, y = t.value || a.value, T = n.value || l.value, M = d / y, _ = S / T;
1674
+ r.value && (r.value.style.transform = `scale(${M}, ${_})`);
1675
1675
  }, x = Rt(async () => {
1676
1676
  await f(), m();
1677
1677
  }, 100), u = () => {
@@ -1685,8 +1685,8 @@ const jl = (e) => e.replace(/\\n/g, `
1685
1685
  c && (c.disconnect(), c.takeRecords(), c = null);
1686
1686
  };
1687
1687
  return Ue(async () => {
1688
- i.value = !1, await f(), v(), m(), window.addEventListener("resize", x), u(), i.value = !0;
1689
- }), ht(() => {
1688
+ i.value = !1, await f(), p(), m(), window.addEventListener("resize", x), u(), i.value = !0;
1689
+ }), yt(() => {
1690
1690
  window.removeEventListener("resize", x), s();
1691
1691
  }), {
1692
1692
  style: o,
@@ -1700,8 +1700,8 @@ const Zl = {
1700
1700
  ref: "container"
1701
1701
  };
1702
1702
  function Jl(e, o, t, n, a, l) {
1703
- return O(), z("div", Zl, [
1704
- e.ready ? (O(), z("div", {
1703
+ return O(), F("div", Zl, [
1704
+ e.ready ? (O(), F("div", {
1705
1705
  key: 0,
1706
1706
  class: "page-config",
1707
1707
  style: G(e.style)
@@ -1764,15 +1764,15 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1764
1764
  }
1765
1765
  });
1766
1766
  const y = ba(), T = /* @__PURE__ */ new Set(), M = ($, N) => {
1767
- T.add($), y.on($, (J) => typeof N[J] == "function" && N[J]()), It(() => {
1768
- A($);
1767
+ T.add($), y.on($, (J) => typeof N[J] == "function" && N[J]()), Mt(() => {
1768
+ _($);
1769
1769
  });
1770
- }, A = ($) => {
1770
+ }, _ = ($) => {
1771
1771
  T.delete($), y.off($);
1772
1772
  };
1773
1773
  Re(Ut, {
1774
1774
  onEvent: M,
1775
- offEvent: A,
1775
+ offEvent: _,
1776
1776
  emitEvent: ($, N) => {
1777
1777
  if ($ === "PAGE") {
1778
1778
  const J = m.length;
@@ -1796,13 +1796,13 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1796
1796
  g.value = w(g) + 1;
1797
1797
  }
1798
1798
  });
1799
- const k = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), S = ({ requestFn: $ = () => {
1799
+ const A = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), C = ({ requestFn: $ = () => {
1800
1800
  }, sortNum: N = 0, id: J = "" }) => {
1801
- if (k.has(N)) {
1802
- const B = k.get(N);
1801
+ if (A.has(N)) {
1802
+ const B = A.get(N);
1803
1803
  B == null || B.push($);
1804
1804
  } else
1805
- k.set(N, [$]);
1805
+ A.set(N, [$]);
1806
1806
  L.set(J, $);
1807
1807
  }, h = ($) => new Promise((N, J) => {
1808
1808
  const B = $.map((V) => V());
@@ -1811,7 +1811,7 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1811
1811
  }).catch((V) => {
1812
1812
  J(V);
1813
1813
  });
1814
- }), p = async () => {
1814
+ }), b = async () => {
1815
1815
  var J;
1816
1816
  const $ = await ko.get(`${Bo}/user/anonymous?username=admin&businessOfficeId=350421`, {
1817
1817
  headers: {
@@ -1821,7 +1821,7 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1821
1821
  }
1822
1822
  }), { token: N } = ((J = $.data) == null ? void 0 : J.data) || {};
1823
1823
  window.config.indicatorToken = N;
1824
- }, b = ($) => new Promise(async (N, J) => {
1824
+ }, v = ($) => new Promise(async (N, J) => {
1825
1825
  if ($) {
1826
1826
  if (typeof $ == "string") {
1827
1827
  const B = L.get($);
@@ -1831,11 +1831,11 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1831
1831
  }
1832
1832
  }
1833
1833
  } else {
1834
- const B = Array.from(k);
1834
+ const B = Array.from(A);
1835
1835
  B.sort((Y, Ae) => Ae[0] - Y[0]);
1836
1836
  const V = B.length;
1837
1837
  try {
1838
- e.pageMode !== "design" && w(g) > 0 && await p();
1838
+ e.pageMode !== "design" && w(g) > 0 && await b();
1839
1839
  for (let Y = 0; Y < V; Y++) {
1840
1840
  const Ae = B[Y][1];
1841
1841
  await h(Ae);
@@ -1843,29 +1843,29 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1843
1843
  } catch (Y) {
1844
1844
  console.error(Y);
1845
1845
  } finally {
1846
- k.clear(), N(null);
1846
+ A.clear(), N(null);
1847
1847
  }
1848
1848
  }
1849
1849
  });
1850
1850
  Re(pe, {
1851
- setRequest: S,
1852
- touchRequest: b
1851
+ setRequest: C,
1852
+ touchRequest: v
1853
1853
  }), Re(Ke, {
1854
1854
  emitRefreshPage: () => {
1855
1855
  y.emit(Ke);
1856
1856
  }
1857
1857
  });
1858
- const R = ($) => {
1858
+ const D = ($) => {
1859
1859
  y.on(Ke, () => $()), Ue(() => {
1860
1860
  y.off(Ke);
1861
1861
  });
1862
1862
  };
1863
- return It(() => {
1864
- k == null || k.clear(), L == null || L.clear();
1863
+ return Mt(() => {
1864
+ A == null || A.clear(), L == null || L.clear();
1865
1865
  }), o({
1866
- touchRequest: b,
1866
+ touchRequest: v,
1867
1867
  getGlobalModel: f,
1868
- onRefreshPage: R
1868
+ onRefreshPage: D
1869
1869
  }), {
1870
1870
  providerConfig: t
1871
1871
  };
@@ -1875,7 +1875,7 @@ const Yl = /* @__PURE__ */ oe(Hl, [["render", Jl], ["__scopeId", "data-v-242d350
1875
1875
  ref: "providerConfig"
1876
1876
  };
1877
1877
  function ei(e, o, t, n, a, l) {
1878
- return O(), z("div", Xl, [
1878
+ return O(), F("div", Xl, [
1879
1879
  tt(e.$slots, "default")
1880
1880
  ], 512);
1881
1881
  }
@@ -1905,7 +1905,7 @@ const ti = /* @__PURE__ */ oe(Kl, [["render", ei]]), oi = ne(ti), jo = {
1905
1905
  data: {}
1906
1906
  }, Wo = ie(jo), ni = ["refreshData", "click", "valueChange"], ai = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=", li = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTA3LTIyVDA5OjM1OjE5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHN0RXZ0OndoZW49IjIwMjItMDctMjJUMDk6MzU6MTkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VDI+BAAABUUlEQVRIia3WPyhGURgG8B8pi0xisStKMioZLQaLiaQMBoxiVBImCwaLf6MssloUk8Gmb7GgJFKSUvIZ7qe+bvd89+A+03uf989z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==", ii = te({
1907
1907
  name: "EcanText",
1908
- components: { Skeleton: bt },
1908
+ components: { Skeleton: vt },
1909
1909
  props: {
1910
1910
  ...Wo
1911
1911
  },
@@ -1917,7 +1917,7 @@ const ti = /* @__PURE__ */ oe(Kl, [["render", ei]]), oi = ne(ti), jo = {
1917
1917
  immediate: !0
1918
1918
  });
1919
1919
  const n = q(() => {
1920
- var C;
1920
+ var S;
1921
1921
  const u = w(t);
1922
1922
  let s = e.text;
1923
1923
  s = s == null ? void 0 : s.replace(/\n|\\n/g, "<br/>"), s = s == null ? void 0 : s.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
@@ -1925,21 +1925,21 @@ const ti = /* @__PURE__ */ oe(Kl, [["render", ei]]), oi = ne(ti), jo = {
1925
1925
  if (d == null || d.length === 0)
1926
1926
  return s;
1927
1927
  for (let y = 0; y < d.length; y++) {
1928
- const T = d[y], M = (C = T == null ? void 0 : T.slice(1, T.length - 1)) == null ? void 0 : C.trim();
1929
- let A = M;
1930
- const F = M.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1931
- for (let _ = 0; _ < F.length; _++) {
1932
- const k = F[_], L = u[k];
1933
- L && (A = M.replace(k, L));
1928
+ const T = d[y], M = (S = T == null ? void 0 : T.slice(1, T.length - 1)) == null ? void 0 : S.trim();
1929
+ let _ = M;
1930
+ const R = M.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1931
+ for (let k = 0; k < R.length; k++) {
1932
+ const A = R[k], L = u[A];
1933
+ L && (_ = M.replace(A, L));
1934
1934
  }
1935
- if (/\(.*\)/g.test(A)) {
1936
- const _ = vt(A);
1937
- _ != null && (A = _);
1935
+ if (/\(.*\)/g.test(_)) {
1936
+ const k = pt(_);
1937
+ k != null && (_ = k);
1938
1938
  }
1939
- let g = A;
1939
+ let g = _;
1940
1940
  if (g === M && (g = e.variableDefaultValue), g != null) {
1941
- const _ = e.format;
1942
- _ === "percentage" ? (g = +g, isNaN(g) ? s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">0%</span>`) : g >= 0 ? (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${ai}"/>${g}%</span>`)) : (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${li}"/>${Math.abs(+g)}%</span>`))) : e.format === "percent" ? (g = +g, isNaN(g) || (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}%</span>`))) : e.format === "money" ? (g = +g, isNaN(g) || (g = Gt(g), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`))) : _ === "thousands" ? (g = +g, isNaN(g) || (g = Wl(g), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`))) : s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`);
1941
+ const k = e.format;
1942
+ k === "percentage" ? (g = +g, isNaN(g) ? s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">0%</span>`) : g >= 0 ? (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${ai}"/>${g}%</span>`)) : (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${li}"/>${Math.abs(+g)}%</span>`))) : e.format === "percent" ? (g = +g, isNaN(g) || (g = (g * 100).toFixed(2), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}%</span>`))) : e.format === "money" ? (g = +g, isNaN(g) || (g = Gt(g), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`))) : k === "thousands" ? (g = +g, isNaN(g) || (g = Wl(g), s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`))) : s = s.replace(T, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${g}</span>`);
1943
1943
  }
1944
1944
  }
1945
1945
  return `<span>${s}</span>`;
@@ -1975,18 +1975,18 @@ const ti = /* @__PURE__ */ oe(Kl, [["render", ei]]), oi = ne(ti), jo = {
1975
1975
  }), me(e, {
1976
1976
  refreshData: c
1977
1977
  });
1978
- const v = ue(e), m = v("click", () => {
1978
+ const p = ue(e), m = p("click", () => {
1979
1979
  if (!e.linkPage && !e.href)
1980
1980
  return;
1981
1981
  const u = e.linkPage || "", s = Uo(w(a), u), d = e.href;
1982
- let C = d || s;
1983
- C = de(C);
1982
+ let S = d || s;
1983
+ S = de(S);
1984
1984
  const y = e.target;
1985
- y && (y !== "event" ? window.open(C, "_" + y) : window.parent.postMessage({
1985
+ y && (y !== "event" ? window.open(S, "_" + y) : window.parent.postMessage({
1986
1986
  type: "openPage",
1987
1987
  url: d
1988
1988
  }, "*"));
1989
- }), x = v("valueChange", () => {
1989
+ }), x = p("valueChange", () => {
1990
1990
  });
1991
1991
  return K(() => n.value, (u, s) => {
1992
1992
  u !== s && x();
@@ -2001,13 +2001,13 @@ const ti = /* @__PURE__ */ oe(Kl, [["render", ei]]), oi = ne(ti), jo = {
2001
2001
  const ri = ["innerHTML"];
2002
2002
  function si(e, o, t, n, a, l) {
2003
2003
  const i = Z("skeleton");
2004
- return e.loading ? (O(), z("div", {
2004
+ return e.loading ? (O(), F("div", {
2005
2005
  key: 0,
2006
2006
  class: "skeleton-wrapper",
2007
2007
  style: G(e.style)
2008
2008
  }, [
2009
2009
  W(i, { loading: e.loading }, null, 8, ["loading"])
2010
- ], 4)) : (O(), z("div", {
2010
+ ], 4)) : (O(), F("div", {
2011
2011
  key: 1,
2012
2012
  class: "ecan-text",
2013
2013
  style: G(e.style),
@@ -2025,7 +2025,7 @@ const ci = /* @__PURE__ */ oe(ii, [["render", si], ["__scopeId", "data-v-e3658bc
2025
2025
  });
2026
2026
  const fi = { class: "red" };
2027
2027
  function mi(e, o, t, n, a, l) {
2028
- return O(), z("div", fi, ye(e.text), 1);
2028
+ return O(), F("div", fi, ye(e.text), 1);
2029
2029
  }
2030
2030
  const gi = /* @__PURE__ */ oe(ui, [["render", mi], ["__scopeId", "data-v-4dd9c03e"]]), hi = ne(gi), Vo = {
2031
2031
  ...se,
@@ -2051,10 +2051,10 @@ const gi = /* @__PURE__ */ oe(ui, [["render", mi], ["__scopeId", "data-v-4dd9c03
2051
2051
  },
2052
2052
  setup(e) {
2053
2053
  const o = re(e), t = () => {
2054
- const { format: f, operate: v } = e;
2054
+ const { format: f, operate: p } = e;
2055
2055
  let m = we();
2056
- if (v) {
2057
- const { type: x, value: u, mode: s } = v;
2056
+ if (p) {
2057
+ const { type: x, value: u, mode: s } = p;
2058
2058
  switch (x) {
2059
2059
  case "add":
2060
2060
  m = m.add(u, s);
@@ -2082,8 +2082,8 @@ const gi = /* @__PURE__ */ oe(ui, [["render", mi], ["__scopeId", "data-v-4dd9c03
2082
2082
  }), c = () => {
2083
2083
  a && l();
2084
2084
  let f = 1e3;
2085
- const { value: v, mode: m } = e.updateInterval || {};
2086
- v && (f = f * v);
2085
+ const { value: p, mode: m } = e.updateInterval || {};
2086
+ p && (f = f * p);
2087
2087
  const x = {
2088
2088
  second: 1,
2089
2089
  minute: 60,
@@ -2098,7 +2098,7 @@ const gi = /* @__PURE__ */ oe(ui, [["render", mi], ["__scopeId", "data-v-4dd9c03
2098
2098
  timeChange: r
2099
2099
  }), Ue(() => {
2100
2100
  c();
2101
- }), ht(() => {
2101
+ }), yt(() => {
2102
2102
  l();
2103
2103
  }), {
2104
2104
  style: o,
@@ -2107,7 +2107,7 @@ const gi = /* @__PURE__ */ oe(ui, [["render", mi], ["__scopeId", "data-v-4dd9c03
2107
2107
  }
2108
2108
  });
2109
2109
  function vi(e, o, t, n, a, l) {
2110
- return O(), z("div", {
2110
+ return O(), F("div", {
2111
2111
  class: "time-display",
2112
2112
  style: G(e.style)
2113
2113
  }, ye(e.time), 5);
@@ -2147,7 +2147,7 @@ const pi = /* @__PURE__ */ oe(bi, [["render", vi], ["__scopeId", "data-v-b628fca
2147
2147
  ]
2148
2148
  }, Jo = ie(Zo), Si = ["refreshData", "click"], wi = te({
2149
2149
  name: "EcanList",
2150
- components: { Skeleton: bt },
2150
+ components: { Skeleton: vt },
2151
2151
  props: {
2152
2152
  ...Jo
2153
2153
  },
@@ -2228,14 +2228,14 @@ const xi = (e) => (bo("data-v-7aa27677"), e = e(), vo(), e), ki = {
2228
2228
  };
2229
2229
  function Ei(e, o, t, n, a, l) {
2230
2230
  const i = Z("skeleton");
2231
- return O(), z("div", {
2231
+ return O(), F("div", {
2232
2232
  class: "ecan-list",
2233
2233
  style: G(e.style)
2234
2234
  }, [
2235
2235
  W(i, { loading: e.loading }, {
2236
2236
  default: X(() => [
2237
- e.useTitle ? (O(), z("div", ki, [
2238
- (O(!0), z(Me, null, Oe(e.columnCount, (r) => (O(), z("div", {
2237
+ e.useTitle ? (O(), F("div", ki, [
2238
+ (O(!0), F(Me, null, Oe(e.columnCount, (r) => (O(), F("div", {
2239
2239
  class: "title-inner",
2240
2240
  style: G({
2241
2241
  backgroundColor: e.backgroundColor,
@@ -2245,8 +2245,8 @@ function Ei(e, o, t, n, a, l) {
2245
2245
  }),
2246
2246
  key: r
2247
2247
  }, [
2248
- e.useRanking ? (O(), z("div", Ai)) : be("", !0),
2249
- (O(!0), z(Me, null, Oe(e.columns, (c, f) => (O(), z("div", {
2248
+ e.useRanking ? (O(), F("div", Ai)) : be("", !0),
2249
+ (O(!0), F(Me, null, Oe(e.columns, (c, f) => (O(), F("div", {
2250
2250
  class: "column",
2251
2251
  key: c.key || f,
2252
2252
  style: G({
@@ -2256,15 +2256,15 @@ function Ei(e, o, t, n, a, l) {
2256
2256
  }, ye(c.title), 5))), 128))
2257
2257
  ], 4))), 128))
2258
2258
  ])) : be("", !0),
2259
- e.dataSource.length > 0 ? (O(), z("div", _i, [
2260
- e.useTitle ? (O(), z("div", {
2259
+ e.dataSource.length > 0 ? (O(), F("div", _i, [
2260
+ e.useTitle ? (O(), F("div", {
2261
2261
  key: 0,
2262
2262
  class: "title-placeholder",
2263
2263
  style: G({
2264
2264
  marginBottom: e.itemRowSpan
2265
2265
  })
2266
2266
  }, null, 4)) : be("", !0),
2267
- (O(!0), z(Me, null, Oe(e.dataSource.slice(0, e.sliceCount), (r, c) => (O(), z("div", {
2267
+ (O(!0), F(Me, null, Oe(e.dataSource.slice(0, e.sliceCount), (r, c) => (O(), F("div", {
2268
2268
  class: "item",
2269
2269
  style: G({
2270
2270
  backgroundColor: e.backgroundColor,
@@ -2276,12 +2276,12 @@ function Ei(e, o, t, n, a, l) {
2276
2276
  key: r.id || c,
2277
2277
  onClick: o[0] || (o[0] = (...f) => e.click && e.click(...f))
2278
2278
  }, [
2279
- e.useRanking ? (O(), z("div", Ti, [
2279
+ e.useRanking ? (O(), F("div", Ti, [
2280
2280
  Li,
2281
2281
  ee("div", Ii, " Top " + ye(c + 1), 1)
2282
2282
  ])) : be("", !0),
2283
- (O(!0), z(Me, null, Oe(e.columns, (f) => (O(), z("div", {
2284
- class: Mt(["column", e.contrastClass(r[f.key], f.format)]),
2283
+ (O(!0), F(Me, null, Oe(e.columns, (f) => (O(), F("div", {
2284
+ class: Et(["column", e.contrastClass(r[f.key], f.format)]),
2285
2285
  key: f.key,
2286
2286
  style: G({
2287
2287
  fontSize: f.fontSize,
@@ -2291,7 +2291,7 @@ function Ei(e, o, t, n, a, l) {
2291
2291
  })
2292
2292
  }, ye((f.format != null || f.format !== "") && e.formatFn(r[f.key], f.format)), 7))), 128))
2293
2293
  ], 4))), 128))
2294
- ])) : (O(), z("div", Mi, " 暂无数据 "))
2294
+ ])) : (O(), F("div", Mi, " 暂无数据 "))
2295
2295
  ]),
2296
2296
  _: 1
2297
2297
  }, 8, ["loading"])
@@ -2324,7 +2324,7 @@ const Oi = /* @__PURE__ */ oe(wi, [["render", Ei], ["__scopeId", "data-v-7aa2767
2324
2324
  name: "EcanProportion",
2325
2325
  components: {
2326
2326
  AProgress: ra,
2327
- Skeleton: bt
2327
+ Skeleton: vt
2328
2328
  },
2329
2329
  props: {
2330
2330
  ...Qo
@@ -2346,13 +2346,13 @@ const Oi = /* @__PURE__ */ oe(wi, [["render", Ei], ["__scopeId", "data-v-7aa2767
2346
2346
  const s = w(a), d = +e.variableDefaultValue;
2347
2347
  if (s == null)
2348
2348
  return isNaN(d) ? 0 : d;
2349
- const C = e.text.match(/\{.+\}/g) || [];
2349
+ const S = e.text.match(/\{.+\}/g) || [];
2350
2350
  let y;
2351
2351
  const T = new Set(Object.keys(s));
2352
- for (let M = 0; M < C.length; M++) {
2353
- const A = C[M], F = A.slice(1, A.length - 1);
2354
- if (T.has(F)) {
2355
- y = s[F];
2352
+ for (let M = 0; M < S.length; M++) {
2353
+ const _ = S[M], R = _.slice(1, _.length - 1);
2354
+ if (T.has(R)) {
2355
+ y = s[R];
2356
2356
  break;
2357
2357
  }
2358
2358
  }
@@ -2362,22 +2362,22 @@ const Oi = /* @__PURE__ */ oe(wi, [["render", Ei], ["__scopeId", "data-v-7aa2767
2362
2362
  let s = e.text;
2363
2363
  if (s === "")
2364
2364
  return w(l);
2365
- const d = e.variableDefaultValue, C = w(a), y = s.match(/\{.+\}/g) || [];
2365
+ const d = e.variableDefaultValue, S = w(a), y = s.match(/\{.+\}/g) || [];
2366
2366
  for (let M = 0; M < y.length; M++) {
2367
- const A = y[M];
2368
- let F = A.slice(1, A.length - 1);
2369
- const g = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, _ = A.match(g);
2370
- for (let L = 0; L < (_ == null ? void 0 : _.length); L++) {
2371
- const S = (T = _[L]) == null ? void 0 : T.trim();
2372
- C[S] != null && (F = F.replace(S, C[S]));
2367
+ const _ = y[M];
2368
+ let R = _.slice(1, _.length - 1);
2369
+ const g = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, k = _.match(g);
2370
+ for (let L = 0; L < (k == null ? void 0 : k.length); L++) {
2371
+ const C = (T = k[L]) == null ? void 0 : T.trim();
2372
+ S[C] != null && (R = R.replace(C, S[C]));
2373
2373
  }
2374
- let k = F;
2374
+ let A = R;
2375
2375
  try {
2376
- /\(.*\)/g.test(F) && (k = vt(F));
2376
+ /\(.*\)/g.test(R) && (A = pt(R));
2377
2377
  } catch (L) {
2378
2378
  console.error(L);
2379
2379
  }
2380
- typeof +k == "number" && !isNaN(+k) ? (k = +k * 100, e.decimalFormat && (k = k.toFixed(2))) : k = d, s = s.replace(A, k + "");
2380
+ typeof +A == "number" && !isNaN(+A) ? (A = +A * 100, e.decimalFormat && (A = A.toFixed(2))) : A = d, s = s.replace(_, A + "");
2381
2381
  }
2382
2382
  return s;
2383
2383
  }), r = ke(e), c = I(!1), f = async () => {
@@ -2402,7 +2402,7 @@ const Oi = /* @__PURE__ */ oe(wi, [["render", Ei], ["__scopeId", "data-v-7aa2767
2402
2402
  }), { setRequest: u } = j(pe, {
2403
2403
  // @ts-ignore
2404
2404
  // eslint-disable-next-line no-void
2405
- setRequest: ({ id: s, sortNum: d, requestFn: C }) => {
2405
+ setRequest: ({ id: s, sortNum: d, requestFn: S }) => {
2406
2406
  }
2407
2407
  });
2408
2408
  return u({
@@ -2421,7 +2421,7 @@ const Oi = /* @__PURE__ */ oe(wi, [["render", Ei], ["__scopeId", "data-v-7aa2767
2421
2421
  });
2422
2422
  function Ri(e, o, t, n, a, l) {
2423
2423
  const i = Z("skeleton"), r = Z("a-progress");
2424
- return O(), z("div", {
2424
+ return O(), F("div", {
2425
2425
  class: "ecan-proportion",
2426
2426
  style: G(e.style)
2427
2427
  }, [
@@ -2441,7 +2441,7 @@ function Ri(e, o, t, n, a, l) {
2441
2441
  e.loading ? (O(), ze(i, {
2442
2442
  key: 0,
2443
2443
  loading: e.loading
2444
- }, null, 8, ["loading"])) : (O(), z("div", {
2444
+ }, null, 8, ["loading"])) : (O(), F("div", {
2445
2445
  key: 1,
2446
2446
  class: "format",
2447
2447
  style: G({
@@ -2491,7 +2491,7 @@ const $i = /* @__PURE__ */ oe(Fi, [["render", Ri], ["__scopeId", "data-v-00244f8
2491
2491
  },
2492
2492
  // @ts-ignore
2493
2493
  // eslint-disable-next-line no-void
2494
- setGlobalModel: (f, v) => {
2494
+ setGlobalModel: (f, p) => {
2495
2495
  }
2496
2496
  });
2497
2497
  a(e.id, {
@@ -2515,7 +2515,7 @@ const $i = /* @__PURE__ */ oe(Fi, [["render", Ri], ["__scopeId", "data-v-00244f8
2515
2515
  });
2516
2516
  function Ui(e, o, t, n, a, l) {
2517
2517
  const i = Z("a-input");
2518
- return O(), z("div", {
2518
+ return O(), F("div", {
2519
2519
  class: "ecan-input",
2520
2520
  style: G(e.style)
2521
2521
  }, [
@@ -2556,10 +2556,10 @@ const Gi = /* @__PURE__ */ oe(Bi, [["render", Ui]]), qi = ne(Gi), en = {
2556
2556
  },
2557
2557
  setup(e) {
2558
2558
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = I(null);
2559
- K(() => [e.value, e.useCurrentTime, e.operate], ([c, f, v]) => {
2559
+ K(() => [e.value, e.useCurrentTime, e.operate], ([c, f, p]) => {
2560
2560
  let m = null;
2561
- if (c ? m = we(de(c)) : f && (m = we()), v && m) {
2562
- const { type: x, value: u, mode: s } = v;
2561
+ if (c ? m = we(de(c)) : f && (m = we()), p && m) {
2562
+ const { type: x, value: u, mode: s } = p;
2563
2563
  switch (x) {
2564
2564
  case "add":
2565
2565
  m = m.add(u, s);
@@ -2601,7 +2601,7 @@ const Gi = /* @__PURE__ */ oe(Bi, [["render", Ui]]), qi = ne(Gi), en = {
2601
2601
  });
2602
2602
  function Vi(e, o, t, n, a, l) {
2603
2603
  const i = Z("a-date-picker");
2604
- return O(), z("div", {
2604
+ return O(), F("div", {
2605
2605
  class: "ecan-date-picker",
2606
2606
  style: G(e.style)
2607
2607
  }, [
@@ -2646,50 +2646,50 @@ const Hi = /* @__PURE__ */ oe(Wi, [["render", Vi]]), Zi = ne(Hi), on = {
2646
2646
  },
2647
2647
  setup(e) {
2648
2648
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = I([null, null]);
2649
- K(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([C, y, T, M, A, F]) => {
2650
- let g = null, _ = null;
2651
- if (T && (g = we().subtract(M, A), _ = we()), C && (g = we(de(C))), y && (_ = we(de(y))), F) {
2652
- const { type: k, value: L, mode: S } = F;
2653
- switch (k) {
2649
+ K(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([S, y, T, M, _, R]) => {
2650
+ let g = null, k = null;
2651
+ if (T && (g = we().subtract(M, _), k = we()), S && (g = we(de(S))), y && (k = we(de(y))), R) {
2652
+ const { type: A, value: L, mode: C } = R;
2653
+ switch (A) {
2654
2654
  case "add":
2655
- g = g && g.add(L, S), _ = _ && _.add(L, S);
2655
+ g = g && g.add(L, C), k = k && k.add(L, C);
2656
2656
  break;
2657
2657
  case "minus":
2658
- g = g && g.subtract(L, S), _ = _ && _.subtract(L, S);
2658
+ g = g && g.subtract(L, C), k = k && k.subtract(L, C);
2659
2659
  }
2660
2660
  }
2661
- n.value = [g, _];
2661
+ n.value = [g, k];
2662
2662
  }, {
2663
2663
  immediate: !0
2664
2664
  });
2665
2665
  let a = w(n)[0], l = w(n)[1];
2666
- const i = (C) => {
2667
- Array.isArray(C) ? (a = C[0], l = C[1]) : (a = null, l = null);
2668
- }, r = (C) => {
2666
+ const i = (S) => {
2667
+ Array.isArray(S) ? (a = S[0], l = S[1]) : (a = null, l = null);
2668
+ }, r = (S) => {
2669
2669
  let y = !1, { limitStartTime: T, limitEndTime: M } = e;
2670
- const A = {
2670
+ const _ = {
2671
2671
  startTime: `${a || ""}`,
2672
2672
  endTime: `${l || ""}`
2673
2673
  };
2674
- return T = de(T, { codeData: A }), M = de(M, { codeData: A }), T && M ? y = !(we(T) < C && C < we(M)) : T ? y = we(T) > C : M && (y = we(M) < C), y;
2674
+ return T = de(T, { codeData: _ }), M = de(M, { codeData: _ }), T && M ? y = !(we(T) < S && S < we(M)) : T ? y = we(T) > S : M && (y = we(M) < S), y;
2675
2675
  }, { setGlobalModel: c } = j(ge, {
2676
2676
  // @ts-ignore
2677
2677
  // eslint-disable-next-line no-void
2678
- setGlobalModel: (C, y) => {
2678
+ setGlobalModel: (S, y) => {
2679
2679
  }
2680
- }), f = q(() => Array.isArray(w(n)) ? w(n)[0] : null), v = q(() => Array.isArray(w(n)) ? w(n)[1] : null);
2680
+ }), f = q(() => Array.isArray(w(n)) ? w(n)[0] : null), p = q(() => Array.isArray(w(n)) ? w(n)[1] : null);
2681
2681
  c(e.id, {
2682
2682
  type: e.type,
2683
2683
  format: e.format,
2684
2684
  startTime: f,
2685
- endTime: v
2685
+ endTime: p
2686
2686
  });
2687
2687
  const m = ue(e);
2688
2688
  let x = !1;
2689
2689
  const u = m("dateChange", () => {
2690
- }), s = (C) => {
2690
+ }), s = (S) => {
2691
2691
  const y = w(n), T = y && y[0] && y[1];
2692
- C === !1 && x === !0 && T && (u(), x = !1);
2692
+ S === !1 && x === !0 && T && (u(), x = !1);
2693
2693
  }, d = () => {
2694
2694
  x = !0;
2695
2695
  };
@@ -2710,7 +2710,7 @@ const Hi = /* @__PURE__ */ oe(Wi, [["render", Vi]]), Zi = ne(Hi), on = {
2710
2710
  });
2711
2711
  function Qi(e, o, t, n, a, l) {
2712
2712
  const i = Z("a-range-picker");
2713
- return O(), z("div", {
2713
+ return O(), F("div", {
2714
2714
  class: "ecan-range-picker",
2715
2715
  style: G(e.style)
2716
2716
  }, [
@@ -2778,7 +2778,7 @@ const Ki = /* @__PURE__ */ oe(Yi, [["render", Qi], ["__scopeId", "data-v-5a46a4a
2778
2778
  });
2779
2779
  function or(e, o, t, n, a, l) {
2780
2780
  const i = Z("a-button");
2781
- return O(), z("div", {
2781
+ return O(), F("div", {
2782
2782
  class: "ecan-button",
2783
2783
  style: G(e.style)
2784
2784
  }, [
@@ -2861,7 +2861,7 @@ const nr = /* @__PURE__ */ oe(tr, [["render", or]]), ar = ne(nr), rn = {
2861
2861
  type: e.type,
2862
2862
  value: n
2863
2863
  });
2864
- const v = ue(e)("checkboxChange", () => {
2864
+ const p = ue(e)("checkboxChange", () => {
2865
2865
  const x = r(e.id);
2866
2866
  c(e.id, { ...x, RECORD: n });
2867
2867
  }), { setRequest: m } = j(pe, {
@@ -2878,13 +2878,13 @@ const nr = /* @__PURE__ */ oe(tr, [["render", or]]), ar = ne(nr), rn = {
2878
2878
  myOption: t,
2879
2879
  style: o,
2880
2880
  myValue: n,
2881
- checkboxChange: v
2881
+ checkboxChange: p
2882
2882
  };
2883
2883
  }
2884
2884
  });
2885
2885
  function rr(e, o, t, n, a, l) {
2886
2886
  const i = Z("a-checkbox-group");
2887
- return O(), z("div", {
2887
+ return O(), F("div", {
2888
2888
  class: "ecan-checkbox",
2889
2889
  style: G(e.style)
2890
2890
  }, [
@@ -2926,23 +2926,23 @@ const sr = /* @__PURE__ */ oe(ir, [["render", rr]]), cr = ne(sr), cn = {
2926
2926
  setup(e) {
2927
2927
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = ke(e), a = I(e.data || []), l = I();
2928
2928
  K(() => [e.value, e.mode, e.selectFirstOption], () => {
2929
- const { mode: d, selectFirstOption: C, value: y } = e;
2930
- d === "multiple" || d === "tags" || d === "combobox" ? y ? l.value = y.split(",") : C && (l.value = [w(a)[0]]) : y ? l.value = y : C && (l.value = w(a)[0]);
2929
+ const { mode: d, selectFirstOption: S, value: y } = e;
2930
+ d === "multiple" || d === "tags" || d === "combobox" ? y ? l.value = y.split(",") : S && (l.value = [w(a)[0]]) : y ? l.value = y : S && (l.value = w(a)[0]);
2931
2931
  }, {
2932
2932
  immediate: !0
2933
2933
  });
2934
- const i = e.dataFieldNames, r = (d, C) => {
2934
+ const i = e.dataFieldNames, r = (d, S) => {
2935
2935
  const y = i.label, T = i.value;
2936
2936
  let M;
2937
- const A = C[y], F = C[T];
2938
- return A != null ? M = A : F != null && (M = F), (M == null ? void 0 : M.toLowerCase().indexOf(d == null ? void 0 : d.toLowerCase())) >= 0;
2937
+ const _ = S[y], R = S[T];
2938
+ return _ != null ? M = _ : R != null && (M = R), (M == null ? void 0 : M.toLowerCase().indexOf(d == null ? void 0 : d.toLowerCase())) >= 0;
2939
2939
  }, c = I(!1), f = async () => {
2940
- var d, C;
2940
+ var d, S;
2941
2941
  if (e.dataType === "request") {
2942
2942
  c.value = !0;
2943
2943
  try {
2944
2944
  const y = await n();
2945
- a.value = ((C = (d = y == null ? void 0 : y.data) == null ? void 0 : d.data) == null ? void 0 : C.rows) || [];
2945
+ a.value = ((S = (d = y == null ? void 0 : y.data) == null ? void 0 : d.data) == null ? void 0 : S.rows) || [];
2946
2946
  const T = w(a)[0];
2947
2947
  e.value === "" && T != null && (l.value = T[i.value]);
2948
2948
  } catch (y) {
@@ -2951,14 +2951,14 @@ const sr = /* @__PURE__ */ oe(ir, [["render", rr]]), cr = ne(sr), cn = {
2951
2951
  c.value = !1;
2952
2952
  }
2953
2953
  }
2954
- }, { getGlobalModel: v, setGlobalModel: m } = j(ge, {
2954
+ }, { getGlobalModel: p, setGlobalModel: m } = j(ge, {
2955
2955
  // @ts-ignore
2956
2956
  // eslint-disable-next-line no-void
2957
2957
  getGlobalModel: (d) => {
2958
2958
  },
2959
2959
  // @ts-ignore
2960
2960
  // eslint-disable-next-line no-void
2961
- setGlobalModel: (d, C) => {
2961
+ setGlobalModel: (d, S) => {
2962
2962
  }
2963
2963
  });
2964
2964
  m(e.id, {
@@ -2966,8 +2966,8 @@ const sr = /* @__PURE__ */ oe(ir, [["render", rr]]), cr = ne(sr), cn = {
2966
2966
  value: l
2967
2967
  });
2968
2968
  const u = ue(e)("selectChange", () => {
2969
- const d = e.id, C = v(d);
2970
- m(d, { ...C, RECORD: l });
2969
+ const d = e.id, S = p(d);
2970
+ m(d, { ...S, RECORD: l });
2971
2971
  });
2972
2972
  me(e, {
2973
2973
  selectChange: u,
@@ -2976,7 +2976,7 @@ const sr = /* @__PURE__ */ oe(ir, [["render", rr]]), cr = ne(sr), cn = {
2976
2976
  const { setRequest: s } = j(pe, {
2977
2977
  // @ts-ignore
2978
2978
  // eslint-disable-next-line no-void
2979
- setRequest: ({ id: d, sortNum: C, requestFn: y }) => {
2979
+ setRequest: ({ id: d, sortNum: S, requestFn: y }) => {
2980
2980
  }
2981
2981
  });
2982
2982
  return s({
@@ -2996,7 +2996,7 @@ const sr = /* @__PURE__ */ oe(ir, [["render", rr]]), cr = ne(sr), cn = {
2996
2996
  });
2997
2997
  function fr(e, o, t, n, a, l) {
2998
2998
  const i = Z("a-select");
2999
- return O(), z("div", {
2999
+ return O(), F("div", {
3000
3000
  class: "ecan-select",
3001
3001
  style: G(e.style)
3002
3002
  }, [
@@ -3062,10 +3062,10 @@ const mr = /* @__PURE__ */ oe(ur, [["render", fr], ["__scopeId", "data-v-c0b8fe0
3062
3062
  },
3063
3063
  setup(e) {
3064
3064
  const o = re(e), t = I(e.data), n = (u, s) => {
3065
- const d = e.dataFieldNames, C = d.label, y = d.value;
3065
+ const d = e.dataFieldNames, S = d.label, y = d.value;
3066
3066
  let T;
3067
- const M = s[C], A = s[y];
3068
- return M != null ? T = M : A != null && (T = A), (T == null ? void 0 : T.toLowerCase().indexOf(u == null ? void 0 : u.toLowerCase())) >= 0;
3067
+ const M = s[S], _ = s[y];
3068
+ return M != null ? T = M : _ != null && (T = _), (T == null ? void 0 : T.toLowerCase().indexOf(u == null ? void 0 : u.toLowerCase())) >= 0;
3069
3069
  }, a = I();
3070
3070
  K(() => [e.multiple, e.value, e.treeCheckable, e.selectFirstOption], () => {
3071
3071
  const { multiple: u, value: s, selectFirstOption: d } = e;
@@ -3080,8 +3080,8 @@ const mr = /* @__PURE__ */ oe(ur, [["render", fr], ["__scopeId", "data-v-c0b8fe0
3080
3080
  try {
3081
3081
  const d = await i();
3082
3082
  t.value = ((s = (u = d == null ? void 0 : d.data) == null ? void 0 : u.data) == null ? void 0 : s.rows) || [];
3083
- const C = w(t)[0];
3084
- e.value === "" && C != null && (a.value = C[e.dataFieldNames.value]);
3083
+ const S = w(t)[0];
3084
+ e.value === "" && S != null && (a.value = S[e.dataFieldNames.value]);
3085
3085
  } catch (d) {
3086
3086
  console.error(d);
3087
3087
  } finally {
@@ -3132,7 +3132,7 @@ const mr = /* @__PURE__ */ oe(ur, [["render", fr], ["__scopeId", "data-v-c0b8fe0
3132
3132
  };
3133
3133
  function br(e, o, t, n, a, l) {
3134
3134
  const i = Z("a-tree-select");
3135
- return O(), z("div", {
3135
+ return O(), F("div", {
3136
3136
  class: "ecan-tree-select",
3137
3137
  style: G(n.style)
3138
3138
  }, [
@@ -3263,12 +3263,12 @@ const vr = /* @__PURE__ */ oe(yr, [["render", br], ["__scopeId", "data-v-3723642
3263
3263
  bottom: "bottom"
3264
3264
  }[B]
3265
3265
  };
3266
- }), a = e.width, l = e.height, i = e.originalWidth, r = e.originalHeight, c = I("80%"), f = I(0), v = I(), m = I(0), x = I({}), u = re(e), s = I({}), d = I(!1), C = I();
3266
+ }), a = e.width, l = e.height, i = e.originalWidth, r = e.originalHeight, c = I("80%"), f = I(0), p = I(), m = I(0), x = I({}), u = re(e), s = I({}), d = I(!1), S = I();
3267
3267
  let y;
3268
3268
  const T = () => {
3269
- v.value = parseFloat(a) / parseFloat(i);
3269
+ p.value = parseFloat(a) / parseFloat(i);
3270
3270
  const B = parseFloat(l) / parseFloat(r), V = document.body.offsetWidth, Y = document.body.offsetHeight;
3271
- f.value = V * w(v), m.value = Y * B, c.value = `${w(v) * 100}%`, x.value = {
3271
+ f.value = V * w(p), m.value = Y * B, c.value = `${w(p) * 100}%`, x.value = {
3272
3272
  width: `${w(f)}px`,
3273
3273
  height: `${w(m)}px`
3274
3274
  }, s.value = {
@@ -3278,54 +3278,54 @@ const vr = /* @__PURE__ */ oe(yr, [["render", br], ["__scopeId", "data-v-3723642
3278
3278
  };
3279
3279
  }, M = Rt(() => {
3280
3280
  T();
3281
- }, 100), A = () => {
3281
+ }, 100), _ = () => {
3282
3282
  const B = window.MutationObserver;
3283
3283
  y = new B(M), y.observe(document.body, {
3284
3284
  attributes: !0,
3285
3285
  attributeFilter: ["style"],
3286
3286
  attributeOldValue: !0
3287
3287
  });
3288
- }, F = () => {
3288
+ }, R = () => {
3289
3289
  y && (y.disconnect(), y.takeRecords(), y = null);
3290
- }, g = I(!1), { touchRequest: _ } = j(pe, {
3290
+ }, g = I(!1), { touchRequest: k } = j(pe, {
3291
3291
  // @ts-ignore
3292
3292
  // eslint-disable-next-line no-void
3293
3293
  touchRequest: () => {
3294
3294
  }
3295
- }), k = () => {
3295
+ }), A = () => {
3296
3296
  g.value = !0;
3297
3297
  }, L = () => {
3298
3298
  o("close"), g.value = !1;
3299
- }, S = () => {
3299
+ }, C = () => {
3300
3300
  L();
3301
3301
  }, h = () => {
3302
3302
  L();
3303
- }, { setModalModel: p, pushUseModalIds: b, popUseModalIds: P } = j(Po, {
3303
+ }, { setModalModel: b, pushUseModalIds: v, popUseModalIds: P } = j(Po, {
3304
3304
  pushUseModalIds: (B) => {
3305
3305
  },
3306
3306
  popUseModalIds: () => {
3307
3307
  },
3308
3308
  setModalModel: (B, V) => {
3309
3309
  }
3310
- }), R = () => {
3310
+ }), D = () => {
3311
3311
  const B = e.id;
3312
3312
  let V = [];
3313
3313
  const Y = e.componentList;
3314
- console.log("componentList", Y), Array.isArray(Y) && (V = Y.map((Ae) => Ae.id), p(B, [...new Set(V)]));
3314
+ console.log("componentList", Y), Array.isArray(Y) && (V = Y.map((Ae) => Ae.id), b(B, [...new Set(V)]));
3315
3315
  };
3316
3316
  K(() => g.value, async (B) => {
3317
- B ? (d.value = !1, b(e.id), R(), await yt(() => {
3318
- T(), window.addEventListener("resize", M), A(), d.value = !0;
3319
- }), _()) : (P(), window.removeEventListener("resize", M), F());
3317
+ B ? (d.value = !1, v(e.id), D(), await bt(() => {
3318
+ T(), window.addEventListener("resize", M), _(), d.value = !0;
3319
+ }), k()) : (P(), window.removeEventListener("resize", M), R());
3320
3320
  });
3321
- const $ = q(() => w(v) >= 1), N = q(() => e.fullModal), J = q(() => {
3321
+ const $ = q(() => w(p) >= 1), N = q(() => e.fullModal), J = q(() => {
3322
3322
  let B = "ecan-modal";
3323
3323
  return w($) && (B += " ecan-full-width-modal"), w(N) && (B += " ecan-full-modal"), B;
3324
3324
  });
3325
3325
  return me(e, {
3326
- showModal: k
3326
+ showModal: A
3327
3327
  }), {
3328
- modalRef: C,
3328
+ modalRef: S,
3329
3329
  containStyle: x,
3330
3330
  contentStyle: s,
3331
3331
  getContainer: t,
@@ -3334,8 +3334,8 @@ const vr = /* @__PURE__ */ oe(yr, [["render", br], ["__scopeId", "data-v-3723642
3334
3334
  isFullModal: N,
3335
3335
  style: u,
3336
3336
  visible: g,
3337
- showModal: k,
3338
- onOk: S,
3337
+ showModal: A,
3338
+ onOk: C,
3339
3339
  onCancel: h,
3340
3340
  isFullWidth: $,
3341
3341
  wrapClassName: J,
@@ -3366,7 +3366,7 @@ function kr(e, o, t, n, a, l) {
3366
3366
  ref: "containRef",
3367
3367
  style: G(e.containStyle)
3368
3368
  }, [
3369
- e.ready ? (O(), z("div", {
3369
+ e.ready ? (O(), F("div", {
3370
3370
  key: 0,
3371
3371
  class: "content",
3372
3372
  style: G(e.contentStyle)
@@ -3378,7 +3378,7 @@ function kr(e, o, t, n, a, l) {
3378
3378
  padding: "20px 30px"
3379
3379
  })
3380
3380
  }, [
3381
- e.title ? (O(), z("div", {
3381
+ e.title ? (O(), F("div", {
3382
3382
  key: 0,
3383
3383
  class: "ant-modal-title",
3384
3384
  style: G({
@@ -3391,8 +3391,8 @@ function kr(e, o, t, n, a, l) {
3391
3391
  onClick: e.onCancel
3392
3392
  }, null, 8, ["onClick"])
3393
3393
  ], 4),
3394
- e.componentList.length ? (O(), z("div", xr, [
3395
- (O(!0), z(Me, null, Oe(e.componentList, (c, f) => (O(), ze(Jn(c.type), Yn({
3394
+ e.componentList.length ? (O(), F("div", xr, [
3395
+ (O(!0), F(Me, null, Oe(e.componentList, (c, f) => (O(), ze(Jn(c.type), Yn({
3396
3396
  key: c.id + f
3397
3397
  }, c), null, 16))), 128))
3398
3398
  ])) : tt(e.$slots, "default", { key: 1 }, void 0, !0)
@@ -3423,12 +3423,12 @@ const _r = te({
3423
3423
  },
3424
3424
  setup(e, { expose: o }) {
3425
3425
  const t = I(!1), n = re(e), a = I([]), l = I(), i = q(() => {
3426
- let { data: _ = [] } = w(a)[0] || {};
3426
+ let { data: k = [] } = w(a)[0] || {};
3427
3427
  if (Array.isArray(e.colors)) {
3428
- const k = e.isUseLabelColors, L = e.colors;
3429
- _ = _.map((S, h) => ({
3430
- label: k ? { color: L[h] } : {},
3431
- ...S
3428
+ const A = e.isUseLabelColors, L = e.colors;
3429
+ k = k.map((C, h) => ({
3430
+ label: A ? { color: L[h] } : {},
3431
+ ...C
3432
3432
  }));
3433
3433
  }
3434
3434
  return {
@@ -3452,8 +3452,8 @@ const _r = te({
3452
3452
  title: "放大",
3453
3453
  icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
3454
3454
  onclick() {
3455
- var k;
3456
- t.value = !0, (k = l.value) == null || k.showModal();
3455
+ var A;
3456
+ t.value = !0, (A = l.value) == null || A.showModal();
3457
3457
  }
3458
3458
  },
3459
3459
  myInfo: {
@@ -3485,20 +3485,20 @@ const _r = te({
3485
3485
  tooltip: {
3486
3486
  show: e.tooltipShow,
3487
3487
  trigger: e.tooltipTrigger,
3488
- formatter: (k) => {
3489
- const { marker: L, seriesName: S, name: h, value: p, percent: b, data: P } = k || {};
3488
+ formatter: (A) => {
3489
+ const { marker: L, seriesName: C, name: h, value: b, percent: v, data: P } = A || {};
3490
3490
  return de(
3491
3491
  e.tooltipFormatter,
3492
3492
  {
3493
3493
  textData: {
3494
3494
  marker: L,
3495
3495
  name: h,
3496
- value: p,
3497
- percent: b,
3498
- a: S,
3496
+ value: b,
3497
+ percent: v,
3498
+ a: C,
3499
3499
  b: h,
3500
- c: p,
3501
- d: b,
3500
+ c: b,
3501
+ d: v,
3502
3502
  ...P
3503
3503
  }
3504
3504
  },
@@ -3526,7 +3526,7 @@ const _r = te({
3526
3526
  color: e.colors,
3527
3527
  series: [
3528
3528
  {
3529
- data: _,
3529
+ data: k,
3530
3530
  type: "pie",
3531
3531
  radius: [e.innerRadius, e.outerRadius],
3532
3532
  center: [e.centerLeft, e.centerTop],
@@ -3566,65 +3566,65 @@ const _r = te({
3566
3566
  }, { getGlobalModel: c, setGlobalModel: f } = j(ge, {
3567
3567
  // @ts-ignore
3568
3568
  // eslint-disable-next-line no-void
3569
- getGlobalModel: (_) => {
3569
+ getGlobalModel: (k) => {
3570
3570
  },
3571
3571
  // @ts-ignore
3572
3572
  // eslint-disable-next-line no-void
3573
- setGlobalModel: (_, k) => {
3573
+ setGlobalModel: (k, A) => {
3574
3574
  }
3575
- }), { pageMode: v } = j(ve, {
3575
+ }), { pageMode: p } = j(ve, {
3576
3576
  pageMode: "normal"
3577
- }), m = (_ = [], k) => {
3578
- const { dataset: L } = et(_, k);
3577
+ }), m = (k = [], A) => {
3578
+ const { dataset: L } = et(k, A);
3579
3579
  a.value = L;
3580
- }, x = (_ = [], k) => {
3581
- const L = et(_, k);
3580
+ }, x = (k = [], A) => {
3581
+ const L = et(k, A);
3582
3582
  a.value = L.dataset;
3583
3583
  };
3584
- K(() => e.data, (_) => {
3585
- (e.dataType === "static" || w(v) === "design") && m(_);
3584
+ K(() => e.data, (k) => {
3585
+ (e.dataType === "static" || w(p) === "design") && m(k);
3586
3586
  }, {
3587
3587
  immediate: !0,
3588
3588
  deep: !0
3589
3589
  });
3590
3590
  const u = I(!1), s = ke(e), d = async () => {
3591
- var _, k;
3591
+ var k, A;
3592
3592
  if (e.dataType === "request")
3593
3593
  try {
3594
3594
  u.value = !0;
3595
3595
  const L = await s();
3596
- m((k = (_ = L == null ? void 0 : L.data) == null ? void 0 : _.data) == null ? void 0 : k.rows, e.valueTypeDataFieldNames);
3596
+ m((A = (k = L == null ? void 0 : L.data) == null ? void 0 : k.data) == null ? void 0 : A.rows, e.valueTypeDataFieldNames);
3597
3597
  } catch (L) {
3598
3598
  console.error(L);
3599
3599
  } finally {
3600
3600
  u.value = !1;
3601
3601
  }
3602
- }, y = ue(e)("click", (_) => {
3603
- const k = c(e.id);
3604
- f(e.id, { ...k, RECORD: _ == null ? void 0 : _.data });
3602
+ }, y = ue(e)("click", (k) => {
3603
+ const A = c(e.id);
3604
+ f(e.id, { ...A, RECORD: k == null ? void 0 : k.data });
3605
3605
  }), T = it(e), M = async () => {
3606
- var _;
3606
+ var k;
3607
3607
  try {
3608
3608
  u.value = !0;
3609
- const k = await T(), { data: L } = k.data || {};
3609
+ const A = await T(), { data: L } = A.data || {};
3610
3610
  if (L) {
3611
- const { columns: S = [], rows: h = [] } = ((_ = k == null ? void 0 : k.data) == null ? void 0 : _.data) ?? {};
3612
- let p = [];
3613
- if (S.length > 0) {
3614
- const b = S[0], P = S[1];
3615
- p = h.map((R) => ({
3616
- name: R[b],
3617
- value: R[P]
3611
+ const { columns: C = [], rows: h = [] } = ((k = A == null ? void 0 : A.data) == null ? void 0 : k.data) ?? {};
3612
+ let b = [];
3613
+ if (C.length > 0) {
3614
+ const v = C[0], P = C[1];
3615
+ b = h.map((D) => ({
3616
+ name: D[v],
3617
+ value: D[P]
3618
3618
  }));
3619
3619
  }
3620
- x(p);
3620
+ x(b);
3621
3621
  }
3622
- } catch (k) {
3623
- console.error(k);
3622
+ } catch (A) {
3623
+ console.error(A);
3624
3624
  } finally {
3625
3625
  u.value = !1;
3626
3626
  }
3627
- }, A = () => {
3627
+ }, _ = () => {
3628
3628
  switch (e.dataType) {
3629
3629
  case "indicator":
3630
3630
  M();
@@ -3636,21 +3636,21 @@ const _r = te({
3636
3636
  };
3637
3637
  me(e, {
3638
3638
  resetRecord: () => {
3639
- const _ = e.id, k = c(_);
3640
- f(_, { ...k, RECORD: "" });
3639
+ const k = e.id, A = c(k);
3640
+ f(k, { ...A, RECORD: "" });
3641
3641
  },
3642
- refreshData: A,
3642
+ refreshData: _,
3643
3643
  click: y
3644
3644
  }), o({
3645
- refreshData: A
3645
+ refreshData: _
3646
3646
  });
3647
3647
  const { setRequest: g } = j(pe, {
3648
- setRequest: (_) => {
3648
+ setRequest: (k) => {
3649
3649
  }
3650
3650
  });
3651
3651
  return typeof g == "function" && g({
3652
3652
  id: e.id,
3653
- requestFn: A,
3653
+ requestFn: _,
3654
3654
  sortNum: e.requestSort
3655
3655
  }), {
3656
3656
  option: i,
@@ -3664,7 +3664,7 @@ const _r = te({
3664
3664
  });
3665
3665
  function Tr(e, o, t, n, a, l) {
3666
3666
  const i = Z("echarts"), r = Z("spin"), c = Z("ecan-modal");
3667
- return O(), z("div", {
3667
+ return O(), F("div", {
3668
3668
  style: G(e.style)
3669
3669
  }, [
3670
3670
  W(r, { spinning: e.loading }, {
@@ -3792,7 +3792,7 @@ const Er = te({
3792
3792
  },
3793
3793
  setup(e, { expose: o }) {
3794
3794
  const t = I(!1), n = re(e), a = I([]), l = I([]), i = I(), r = q(() => t.value ? Ge : 12), c = q(() => {
3795
- const L = e.xAxisLabelFormatter, S = e.yAxisLabelFormatter;
3795
+ const L = e.xAxisLabelFormatter, C = e.yAxisLabelFormatter;
3796
3796
  return {
3797
3797
  toolbox: {
3798
3798
  show: e.toolboxShow,
@@ -3851,12 +3851,12 @@ const Er = te({
3851
3851
  },
3852
3852
  show: e.tooltipShow,
3853
3853
  formatter: (h) => {
3854
- const p = h.length;
3855
- let b = "", P = e.tooltipFormatter;
3854
+ const b = h.length;
3855
+ let v = "", P = e.tooltipFormatter;
3856
3856
  P === "" && (P = "{marker} {a} {c}");
3857
- for (let R = 0; R < p; R++) {
3858
- const { marker: $, seriesName: N, name: J, value: B, data: V } = h[R] || {};
3859
- R === 0 && (b += `${J}<br/>`), b += de(
3857
+ for (let D = 0; D < b; D++) {
3858
+ const { marker: $, seriesName: N, name: J, value: B, data: V } = h[D] || {};
3859
+ D === 0 && (v += `${J}<br/>`), v += de(
3860
3860
  P,
3861
3861
  {
3862
3862
  textData: {
@@ -3873,26 +3873,26 @@ const Er = te({
3873
3873
  useNewline: !0,
3874
3874
  useSpace: !0
3875
3875
  }
3876
- ), b += "<br/>";
3876
+ ), v += "<br/>";
3877
3877
  }
3878
- return b;
3878
+ return v;
3879
3879
  }
3880
3880
  },
3881
3881
  xAxis: {
3882
3882
  type: "category",
3883
3883
  data: w(l).map((h) => {
3884
- let p = {};
3885
- return h && typeof h == "object" ? p = {
3884
+ let b = {};
3885
+ return h && typeof h == "object" ? b = {
3886
3886
  ...h,
3887
3887
  textStyle: {
3888
3888
  fontSize: r.value
3889
3889
  }
3890
- } : p = {
3890
+ } : b = {
3891
3891
  value: h,
3892
3892
  textStyle: {
3893
3893
  fontSize: r.value
3894
3894
  }
3895
- }, p;
3895
+ }, b;
3896
3896
  }),
3897
3897
  minInterval: e.xAxisMinInterval,
3898
3898
  splitLine: {
@@ -3933,7 +3933,7 @@ const Er = te({
3933
3933
  fontSize: r.value,
3934
3934
  color: e.yAxisLabelColor,
3935
3935
  formatter(h) {
3936
- return Ne(S, h);
3936
+ return Ne(C, h);
3937
3937
  }
3938
3938
  },
3939
3939
  axisLine: {
@@ -3956,32 +3956,32 @@ const Er = te({
3956
3956
  };
3957
3957
  }), f = () => {
3958
3958
  t.value = !1;
3959
- }, { getGlobalModel: v, setGlobalModel: m } = j(ge, {
3959
+ }, { getGlobalModel: p, setGlobalModel: m } = j(ge, {
3960
3960
  // @ts-ignore
3961
3961
  // eslint-disable-next-line no-void
3962
3962
  getGlobalModel: (L) => {
3963
3963
  },
3964
3964
  // @ts-ignore
3965
3965
  // eslint-disable-next-line no-void
3966
- setGlobalModel: (L, S) => {
3966
+ setGlobalModel: (L, C) => {
3967
3967
  }
3968
3968
  }), { pageMode: x } = j(ve, {
3969
3969
  pageMode: "normal"
3970
- }), u = (L = [], S = !1) => {
3970
+ }), u = (L = [], C = !1) => {
3971
3971
  let h;
3972
3972
  if (e.dataFieldConfigType === "key") {
3973
- const R = S ? e.keyTypeDataFieldNames : null;
3974
- h = qe(L, R);
3973
+ const D = C ? e.keyTypeDataFieldNames : null;
3974
+ h = qe(L, D);
3975
3975
  } else if (e.dataFieldConfigType === "value") {
3976
- const R = S ? e.valueTypeDataFieldNames : null;
3977
- h = et(L, R);
3976
+ const D = C ? e.valueTypeDataFieldNames : null;
3977
+ h = et(L, D);
3978
3978
  }
3979
3979
  l.value = h.dimensions;
3980
- const p = h.dataset, b = [], P = p.length;
3981
- for (let R = 0; R < P; R++)
3982
- b.push({
3980
+ const b = h.dataset, v = [], P = b.length;
3981
+ for (let D = 0; D < P; D++)
3982
+ v.push({
3983
3983
  type: "line",
3984
- ...p[R],
3984
+ ...b[D],
3985
3985
  symbolSize: e.symbolSize,
3986
3986
  smooth: e.smooth,
3987
3987
  areaStyle: {
@@ -4004,13 +4004,13 @@ const Er = te({
4004
4004
  width: e.lineStyleWidth
4005
4005
  }
4006
4006
  });
4007
- a.value = b;
4008
- }, s = (L = [], S, h = !1) => {
4009
- const b = qe(L, h ? S : null);
4010
- l.value = b.dimensions;
4011
- const P = b.dataset, R = [], $ = P.length;
4007
+ a.value = v;
4008
+ }, s = (L = [], C, h = !1) => {
4009
+ const v = qe(L, h ? C : null);
4010
+ l.value = v.dimensions;
4011
+ const P = v.dataset, D = [], $ = P.length;
4012
4012
  for (let N = 0; N < $; N++)
4013
- R.push({
4013
+ D.push({
4014
4014
  type: "line",
4015
4015
  ...P[N],
4016
4016
  symbolSize: e.symbolSize,
@@ -4019,7 +4019,7 @@ const Er = te({
4019
4019
  width: e.lineStyleWidth
4020
4020
  }
4021
4021
  });
4022
- a.value = R;
4022
+ a.value = D;
4023
4023
  };
4024
4024
  K(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([L]) => {
4025
4025
  (e.dataType === "static" || w(x) === "design") && u(L);
@@ -4027,43 +4027,43 @@ const Er = te({
4027
4027
  immediate: !0,
4028
4028
  deep: !0
4029
4029
  });
4030
- const d = I(!1), C = ke(e), y = async () => {
4031
- var L, S;
4030
+ const d = I(!1), S = ke(e), y = async () => {
4031
+ var L, C;
4032
4032
  if (e.dataType === "request")
4033
4033
  try {
4034
4034
  d.value = !0;
4035
- const h = await C();
4036
- u((S = (L = h == null ? void 0 : h.data) == null ? void 0 : L.data) == null ? void 0 : S.rows, !0);
4035
+ const h = await S();
4036
+ u((C = (L = h == null ? void 0 : h.data) == null ? void 0 : L.data) == null ? void 0 : C.rows, !0);
4037
4037
  } catch (h) {
4038
4038
  console.error(h);
4039
4039
  } finally {
4040
4040
  d.value = !1;
4041
4041
  }
4042
4042
  }, M = ue(e)("click", (L) => {
4043
- const S = v(e.id);
4044
- m(e.id, { ...S, RECORD: L == null ? void 0 : L.data });
4045
- }), A = it(e), F = async () => {
4043
+ const C = p(e.id);
4044
+ m(e.id, { ...C, RECORD: L == null ? void 0 : L.data });
4045
+ }), _ = it(e), R = async () => {
4046
4046
  var L;
4047
4047
  try {
4048
4048
  d.value = !0;
4049
- const S = await A(), { columns: h = [], rows: p = [] } = ((L = S == null ? void 0 : S.data) == null ? void 0 : L.data) ?? {};
4050
- let b;
4051
- h.length > 0 && (b = {
4049
+ const C = await _(), { columns: h = [], rows: b = [] } = ((L = C == null ? void 0 : C.data) == null ? void 0 : L.data) ?? {};
4050
+ let v;
4051
+ h.length > 0 && (v = {
4052
4052
  name: h[0],
4053
4053
  types: h.slice(1).map((P) => ({
4054
4054
  label: P,
4055
4055
  value: P
4056
4056
  }))
4057
- }), s(p, b, !0);
4058
- } catch (S) {
4059
- console.error(S);
4057
+ }), s(b, v, !0);
4058
+ } catch (C) {
4059
+ console.error(C);
4060
4060
  } finally {
4061
4061
  d.value = !1;
4062
4062
  }
4063
4063
  }, g = () => {
4064
4064
  switch (e.dataType) {
4065
4065
  case "indicator":
4066
- F();
4066
+ R();
4067
4067
  break;
4068
4068
  case "request":
4069
4069
  y();
@@ -4073,16 +4073,16 @@ const Er = te({
4073
4073
  me(e, {
4074
4074
  refreshData: g,
4075
4075
  resetRecord: () => {
4076
- const L = e.id, S = v(L);
4077
- m(L, { ...S, RECORD: "" });
4076
+ const L = e.id, C = p(L);
4077
+ m(L, { ...C, RECORD: "" });
4078
4078
  },
4079
4079
  click: M
4080
4080
  });
4081
- const { setRequest: k } = j(pe, {
4081
+ const { setRequest: A } = j(pe, {
4082
4082
  setRequest: (L) => {
4083
4083
  }
4084
4084
  });
4085
- return typeof k == "function" && k({
4085
+ return typeof A == "function" && A({
4086
4086
  id: e.id,
4087
4087
  requestFn: g,
4088
4088
  sortNum: e.requestSort
@@ -4100,7 +4100,7 @@ const Er = te({
4100
4100
  });
4101
4101
  function Or(e, o, t, n, a, l) {
4102
4102
  const i = Z("echarts"), r = Z("spin"), c = Z("ecan-modal");
4103
- return O(), z("div", {
4103
+ return O(), F("div", {
4104
4104
  style: G(e.style)
4105
4105
  }, [
4106
4106
  W(r, { spinning: e.loading }, {
@@ -4249,23 +4249,23 @@ const Rr = te({
4249
4249
  },
4250
4250
  setup(e, { expose: o }) {
4251
4251
  const t = I(!1), n = re(e), a = I([]), l = I(), i = q(() => t.value ? Ge : 12), r = q(() => {
4252
- const h = w(a), p = h.length, b = [];
4253
- for (let P = 0; P < p; P++) {
4254
- const R = {
4252
+ const h = w(a), b = h.length, v = [];
4253
+ for (let P = 0; P < b; P++) {
4254
+ const D = {
4255
4255
  ...h[P],
4256
4256
  type: "bar",
4257
4257
  barWidth: e.barWidth
4258
4258
  };
4259
- e.isStack && (R.stack = "stack"), R.label = {
4259
+ e.isStack && (D.stack = "stack"), D.label = {
4260
4260
  show: e.labelShow,
4261
4261
  fontSize: e.labelFontSize,
4262
4262
  position: e.labelPosition,
4263
4263
  color: e.labelColor
4264
- }, b.push(R);
4264
+ }, v.push(D);
4265
4265
  }
4266
- return b;
4267
- }), c = I([]), f = I(!1), v = q(() => {
4268
- const h = e.yAxisLabelFormatter, p = e.xAxisLabelFormatter;
4266
+ return v;
4267
+ }), c = I([]), f = I(!1), p = q(() => {
4268
+ const h = e.yAxisLabelFormatter, b = e.xAxisLabelFormatter;
4269
4269
  return {
4270
4270
  toolbox: {
4271
4271
  show: e.toolboxShow,
@@ -4287,8 +4287,8 @@ const Rr = te({
4287
4287
  title: "放大",
4288
4288
  icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
4289
4289
  onclick() {
4290
- var b;
4291
- t.value = !0, (b = l.value) == null || b.showModal();
4290
+ var v;
4291
+ t.value = !0, (v = l.value) == null || v.showModal();
4292
4292
  }
4293
4293
  },
4294
4294
  myInfo: {
@@ -4320,13 +4320,13 @@ const Rr = te({
4320
4320
  tooltip: {
4321
4321
  trigger: "axis",
4322
4322
  show: e.tooltipShow,
4323
- formatter: (b) => {
4324
- const P = b.length;
4325
- let R = "", $ = e.tooltipFormatter;
4323
+ formatter: (v) => {
4324
+ const P = v.length;
4325
+ let D = "", $ = e.tooltipFormatter;
4326
4326
  $ === "" && ($ = "{marker} {a} {c}");
4327
4327
  for (let N = 0; N < P; N++) {
4328
- const { marker: J, seriesName: B, name: V, value: Y, data: Ae } = b[N] || {};
4329
- N === 0 && (R += `${V}<br/>`), R += de(
4328
+ const { marker: J, seriesName: B, name: V, value: Y, data: Ae } = v[N] || {};
4329
+ N === 0 && (D += `${V}<br/>`), D += de(
4330
4330
  $,
4331
4331
  {
4332
4332
  textData: {
@@ -4343,9 +4343,9 @@ const Rr = te({
4343
4343
  useNewline: !0,
4344
4344
  useSpace: !0
4345
4345
  }
4346
- ), R += "<br/>";
4346
+ ), D += "<br/>";
4347
4347
  }
4348
- return R;
4348
+ return D;
4349
4349
  },
4350
4350
  // valueFormatter: (value) => {
4351
4351
  // return useVariablesInText(props.tooltipValueFormatter as string, { value })
@@ -4382,8 +4382,8 @@ const Rr = te({
4382
4382
  rotate: e.xAxisLabelRotate,
4383
4383
  width: e.xAxisLabelWidth,
4384
4384
  overflow: e.xAxisLabelOverflow,
4385
- formatter(b) {
4386
- return Ne(p, b);
4385
+ formatter(v) {
4386
+ return Ne(b, v);
4387
4387
  }
4388
4388
  },
4389
4389
  axisLine: {
@@ -4412,8 +4412,8 @@ const Rr = te({
4412
4412
  rotate: e.yAxisLabelRotate,
4413
4413
  width: e.yAxisLabelWidth,
4414
4414
  overflow: e.yAxisLabelOverflow,
4415
- formatter(b) {
4416
- return Ne(h, b);
4415
+ formatter(v) {
4416
+ return Ne(h, v);
4417
4417
  }
4418
4418
  },
4419
4419
  axisLine: {
@@ -4428,32 +4428,32 @@ const Rr = te({
4428
4428
  pageMode: "normal"
4429
4429
  }), x = () => {
4430
4430
  t.value = !1;
4431
- }, u = (h = [], p = !1) => {
4432
- let b = {};
4431
+ }, u = (h = [], b = !1) => {
4432
+ let v = {};
4433
4433
  if (e.dataFieldConfigType === "key") {
4434
- const P = p ? e.keyTypeDataFieldNames : null;
4435
- b = qe(h, P);
4434
+ const P = b ? e.keyTypeDataFieldNames : null;
4435
+ v = qe(h, P);
4436
4436
  } else if (e.dataFieldConfigType === "value") {
4437
- const P = p ? e.valueTypeDataFieldNames : null;
4438
- b = et(h, P);
4437
+ const P = b ? e.valueTypeDataFieldNames : null;
4438
+ v = et(h, P);
4439
4439
  }
4440
- a.value = b.dataset, c.value = b.dimensions;
4441
- }, s = (h = [], p, b = !1) => {
4442
- const R = qe(h, b ? p : null);
4443
- a.value = R.dataset, c.value = R.dimensions;
4440
+ a.value = v.dataset, c.value = v.dimensions;
4441
+ }, s = (h = [], b, v = !1) => {
4442
+ const D = qe(h, v ? b : null);
4443
+ a.value = D.dataset, c.value = D.dimensions;
4444
4444
  }, d = q(() => w(c).map((h) => {
4445
- let p = {};
4446
- return h && typeof h == "object" ? p = {
4445
+ let b = {};
4446
+ return h && typeof h == "object" ? b = {
4447
4447
  ...h,
4448
4448
  textStyle: {
4449
4449
  fontSize: i.value
4450
4450
  }
4451
- } : p = {
4451
+ } : b = {
4452
4452
  value: h,
4453
4453
  textStyle: {
4454
4454
  fontSize: i.value
4455
4455
  }
4456
- }, p;
4456
+ }, b;
4457
4457
  }));
4458
4458
  K(() => e.data, (h) => {
4459
4459
  (e.dataType === "static" || w(m) === "design") && u(h);
@@ -4461,14 +4461,14 @@ const Rr = te({
4461
4461
  immediate: !0,
4462
4462
  deep: !0
4463
4463
  });
4464
- const C = ke(e), y = async () => {
4465
- var h, p;
4464
+ const S = ke(e), y = async () => {
4465
+ var h, b;
4466
4466
  try {
4467
4467
  f.value = !0;
4468
- const b = await C();
4469
- u((p = (h = b == null ? void 0 : b.data) == null ? void 0 : h.data) == null ? void 0 : p.rows, !0);
4470
- } catch (b) {
4471
- console.error(b);
4468
+ const v = await S();
4469
+ u((b = (h = v == null ? void 0 : v.data) == null ? void 0 : h.data) == null ? void 0 : b.rows, !0);
4470
+ } catch (v) {
4471
+ console.error(v);
4472
4472
  } finally {
4473
4473
  f.value = !1;
4474
4474
  }
@@ -4476,21 +4476,21 @@ const Rr = te({
4476
4476
  var h;
4477
4477
  try {
4478
4478
  f.value = !0;
4479
- const p = await T(), { columns: b = [], rows: P = [] } = ((h = p == null ? void 0 : p.data) == null ? void 0 : h.data) ?? {};
4480
- let R;
4481
- b.length > 0 && (R = {
4482
- name: b[0],
4483
- types: b.slice(1).map(($) => ({
4479
+ const b = await T(), { columns: v = [], rows: P = [] } = ((h = b == null ? void 0 : b.data) == null ? void 0 : h.data) ?? {};
4480
+ let D;
4481
+ v.length > 0 && (D = {
4482
+ name: v[0],
4483
+ types: v.slice(1).map(($) => ({
4484
4484
  label: $,
4485
4485
  value: $
4486
4486
  }))
4487
- }), s(P, R, !0);
4488
- } catch (p) {
4489
- console.error(p);
4487
+ }), s(P, D, !0);
4488
+ } catch (b) {
4489
+ console.error(b);
4490
4490
  } finally {
4491
4491
  f.value = !1;
4492
4492
  }
4493
- }, A = () => {
4493
+ }, _ = () => {
4494
4494
  switch (e.dataType) {
4495
4495
  case "indicator":
4496
4496
  M();
@@ -4501,40 +4501,40 @@ const Rr = te({
4501
4501
  }
4502
4502
  };
4503
4503
  o({
4504
- refreshData: A
4504
+ refreshData: _
4505
4505
  });
4506
- const F = ue(e), { getGlobalModel: g, setGlobalModel: _ } = j(ge, {
4506
+ const R = ue(e), { getGlobalModel: g, setGlobalModel: k } = j(ge, {
4507
4507
  // @ts-ignore
4508
4508
  // eslint-disable-next-line no-void
4509
4509
  getGlobalModel: (h) => {
4510
4510
  },
4511
4511
  // @ts-ignore
4512
4512
  // eslint-disable-next-line no-void
4513
- setGlobalModel: (h, p) => {
4513
+ setGlobalModel: (h, b) => {
4514
4514
  }
4515
- }), k = F("click", (h) => {
4516
- const p = g(e.id);
4517
- _(e.id, { ...p, RECORD: h.data });
4515
+ }), A = R("click", (h) => {
4516
+ const b = g(e.id);
4517
+ k(e.id, { ...b, RECORD: h.data });
4518
4518
  }), { setRequest: L } = j(pe, {
4519
4519
  setRequest: (h) => {
4520
4520
  }
4521
4521
  });
4522
4522
  return typeof L == "function" && L({
4523
4523
  id: e.id,
4524
- requestFn: A,
4524
+ requestFn: _,
4525
4525
  sortNum: e.requestSort
4526
4526
  }), me(e, {
4527
- refreshData: A,
4528
- click: k,
4527
+ refreshData: _,
4528
+ click: A,
4529
4529
  resetRecord: () => {
4530
- const h = e.id, p = g(h);
4531
- _(h, { ...p, RECORD: "" });
4530
+ const h = e.id, b = g(h);
4531
+ k(h, { ...b, RECORD: "" });
4532
4532
  }
4533
4533
  }), {
4534
- option: v,
4534
+ option: p,
4535
4535
  style: n,
4536
- refreshData: A,
4537
- click: k,
4536
+ refreshData: _,
4537
+ click: A,
4538
4538
  loading: f,
4539
4539
  onClose: x,
4540
4540
  ecanModal: l
@@ -4543,7 +4543,7 @@ const Rr = te({
4543
4543
  });
4544
4544
  function $r(e, o, t, n, a, l) {
4545
4545
  const i = Z("echarts"), r = Z("spin"), c = Z("ecan-modal");
4546
- return O(), z("div", {
4546
+ return O(), F("div", {
4547
4547
  class: "ecan-bar",
4548
4548
  style: G(e.style)
4549
4549
  }, [
@@ -4665,7 +4665,7 @@ const Ur = te({
4665
4665
  },
4666
4666
  setup(e) {
4667
4667
  const o = I(!1), t = re(e), n = I([]), a = I(), l = q(() => o.value ? Ge : 12), i = q(() => {
4668
- const A = e.xAxisLabelFormatter, F = e.yAxisLabelFormatter;
4668
+ const _ = e.xAxisLabelFormatter, R = e.yAxisLabelFormatter;
4669
4669
  return {
4670
4670
  toolbox: {
4671
4671
  show: e.toolboxShow,
@@ -4733,7 +4733,7 @@ const Ur = te({
4733
4733
  width: e.xAxisLabelWidth,
4734
4734
  overflow: e.xAxisLabelOverflow,
4735
4735
  formatter(g) {
4736
- return Ne(A, g);
4736
+ return Ne(_, g);
4737
4737
  }
4738
4738
  },
4739
4739
  axisLine: {
@@ -4756,7 +4756,7 @@ const Ur = te({
4756
4756
  fontSize: l.value,
4757
4757
  color: e.yAxisLabelColor,
4758
4758
  formatter(g) {
4759
- return Ne(F, g);
4759
+ return Ne(R, g);
4760
4760
  }
4761
4761
  },
4762
4762
  axisLine: {
@@ -4770,14 +4770,14 @@ const Ur = te({
4770
4770
  show: e.tooltipShow,
4771
4771
  trigger: e.tooltipTrigger,
4772
4772
  formatter(g) {
4773
- var p;
4774
- const { marker: _, seriesName: k } = g, L = ((p = g == null ? void 0 : g.data) == null ? void 0 : p.record) ?? {}, { name: S, value: h } = L;
4773
+ var b;
4774
+ const { marker: k, seriesName: A } = g, L = ((b = g == null ? void 0 : g.data) == null ? void 0 : b.record) ?? {}, { name: C, value: h } = L;
4775
4775
  return de(e.tooltipFormatter, {
4776
4776
  textData: {
4777
- marker: _,
4778
- seriesName: k,
4779
- a: k,
4780
- b: S,
4777
+ marker: k,
4778
+ seriesName: A,
4779
+ a: A,
4780
+ b: C,
4781
4781
  c: h,
4782
4782
  ...L
4783
4783
  }
@@ -4811,31 +4811,31 @@ const Ur = te({
4811
4811
  }), { getGlobalModel: r, setGlobalModel: c } = j(ge, {
4812
4812
  // @ts-ignore
4813
4813
  // eslint-disable-next-line no-void
4814
- getGlobalModel: (A) => {
4814
+ getGlobalModel: (_) => {
4815
4815
  },
4816
4816
  // @ts-ignore
4817
4817
  // eslint-disable-next-line no-void
4818
- setGlobalModel: (A, F) => {
4818
+ setGlobalModel: (_, R) => {
4819
4819
  }
4820
4820
  }), { pageMode: f } = j(ve, {
4821
4821
  pageMode: "normal"
4822
- }), v = (A = [], F) => {
4823
- const { name: g = "name", value: _ = "value" } = F || {};
4824
- n.value = A.map((k) => ({ value: [k[g], k[_]], record: k }));
4822
+ }), p = (_ = [], R) => {
4823
+ const { name: g = "name", value: k = "value" } = R || {};
4824
+ n.value = _.map((A) => ({ value: [A[g], A[k]], record: A }));
4825
4825
  };
4826
- K(() => e.data, (A) => {
4827
- (e.dataType === "static" || w(f) === "design") && v(A);
4826
+ K(() => e.data, (_) => {
4827
+ (e.dataType === "static" || w(f) === "design") && p(_);
4828
4828
  }, {
4829
4829
  immediate: !0,
4830
4830
  deep: !0
4831
4831
  });
4832
4832
  const m = I(!1), x = ke(e), u = async () => {
4833
- var A, F;
4833
+ var _, R;
4834
4834
  if (e.dataType === "request") {
4835
4835
  m.value = !0;
4836
4836
  try {
4837
4837
  const g = await x();
4838
- v((F = (A = g == null ? void 0 : g.data) == null ? void 0 : A.data) == null ? void 0 : F.rows, e.dataFieldNames);
4838
+ p((R = (_ = g == null ? void 0 : g.data) == null ? void 0 : _.data) == null ? void 0 : R.rows, e.dataFieldNames);
4839
4839
  } catch (g) {
4840
4840
  console.error(g);
4841
4841
  } finally {
@@ -4844,22 +4844,22 @@ const Ur = te({
4844
4844
  }
4845
4845
  }, s = () => {
4846
4846
  o.value = !1;
4847
- }, C = ue(e)("click", (A) => {
4848
- const F = e.id, g = r(F);
4849
- c(F, { ...g, RECORD: A == null ? void 0 : A.data });
4847
+ }, S = ue(e)("click", (_) => {
4848
+ const R = e.id, g = r(R);
4849
+ c(R, { ...g, RECORD: _ == null ? void 0 : _.data });
4850
4850
  });
4851
4851
  me(e, {
4852
4852
  refreshData: () => {
4853
4853
  u();
4854
4854
  },
4855
- click: C,
4855
+ click: S,
4856
4856
  resetRecord: () => {
4857
- const A = e.id, F = r(A);
4858
- c(A, { ...F, RECORD: "" });
4857
+ const _ = e.id, R = r(_);
4858
+ c(_, { ...R, RECORD: "" });
4859
4859
  }
4860
4860
  });
4861
4861
  const { setRequest: M } = j(pe, {
4862
- setRequest: (A) => {
4862
+ setRequest: (_) => {
4863
4863
  }
4864
4864
  });
4865
4865
  return typeof M == "function" && M({
@@ -4869,7 +4869,7 @@ const Ur = te({
4869
4869
  }), {
4870
4870
  option: i,
4871
4871
  style: t,
4872
- click: C,
4872
+ click: S,
4873
4873
  loading: m,
4874
4874
  onClose: s,
4875
4875
  ecanModal: a
@@ -4878,7 +4878,7 @@ const Ur = te({
4878
4878
  });
4879
4879
  function Gr(e, o, t, n, a, l) {
4880
4880
  const i = Z("echarts"), r = Z("spin"), c = Z("ecan-modal");
4881
- return O(), z("div", {
4881
+ return O(), F("div", {
4882
4882
  style: G(e.style)
4883
4883
  }, [
4884
4884
  W(r, { spinning: e.loading }, {
@@ -4954,7 +4954,7 @@ const qr = /* @__PURE__ */ oe(Ur, [["render", Gr]]), jr = ne(qr), xn = {
4954
4954
  });
4955
4955
  function Vr(e, o, t, n, a, l) {
4956
4956
  const i = Z("echarts");
4957
- return O(), z("div", {
4957
+ return O(), F("div", {
4958
4958
  style: G(e.style)
4959
4959
  }, [
4960
4960
  W(i, {
@@ -5122,8 +5122,8 @@ const Yr = te({
5122
5122
  title: "放大",
5123
5123
  icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
5124
5124
  onclick() {
5125
- var S;
5126
- t.value = !0, (S = i.value) == null || S.showModal();
5125
+ var C;
5126
+ t.value = !0, (C = i.value) == null || C.showModal();
5127
5127
  }
5128
5128
  },
5129
5129
  myInfo: {
@@ -5160,16 +5160,16 @@ const Yr = te({
5160
5160
  tooltip: {
5161
5161
  trigger: "axis",
5162
5162
  show: e.tooltipShow,
5163
- formatter: (S) => {
5164
- const h = S.length;
5165
- let p = "", b = e.tooltipFormatter;
5166
- b === "" && (b = "{marker} {a} {c}");
5163
+ formatter: (C) => {
5164
+ const h = C.length;
5165
+ let b = "", v = e.tooltipFormatter;
5166
+ v === "" && (v = "{marker} {a} {c}");
5167
5167
  const P = e.seriesTypes;
5168
- for (let R = 0; R < h; R++) {
5169
- const $ = P[R], { tooltipFormatter: N } = $ || {}, { marker: J, seriesName: B, name: V, value: Y, data: Ae } = S[R] || {};
5170
- R === 0 && (p += `${V}<br/>`), p += de(
5168
+ for (let D = 0; D < h; D++) {
5169
+ const $ = P[D], { tooltipFormatter: N } = $ || {}, { marker: J, seriesName: B, name: V, value: Y, data: Ae } = C[D] || {};
5170
+ D === 0 && (b += `${V}<br/>`), b += de(
5171
5171
  // 如果系列有提示框组件就使用自定义,没有就用默认的
5172
- N || b,
5172
+ N || v,
5173
5173
  {
5174
5174
  textData: {
5175
5175
  marker: J,
@@ -5186,9 +5186,9 @@ const Yr = te({
5186
5186
  useNewline: !0,
5187
5187
  useSpace: !0
5188
5188
  }
5189
- ), p += "<br/>";
5189
+ ), b += "<br/>";
5190
5190
  }
5191
- return p;
5191
+ return b;
5192
5192
  },
5193
5193
  textStyle: {
5194
5194
  color: e.tooltipTextStyleColor,
@@ -5198,15 +5198,15 @@ const Yr = te({
5198
5198
  xAxis: {
5199
5199
  minInterval: e.xAxisMinInterval,
5200
5200
  type: "category",
5201
- data: w(l).map((S) => {
5201
+ data: w(l).map((C) => {
5202
5202
  let h = {};
5203
- return S && typeof S == "object" ? h = {
5204
- ...S,
5203
+ return C && typeof C == "object" ? h = {
5204
+ ...C,
5205
5205
  textStyle: {
5206
5206
  fontSize: r.value
5207
5207
  }
5208
5208
  } : h = {
5209
- value: S,
5209
+ value: C,
5210
5210
  textStyle: {
5211
5211
  fontSize: r.value
5212
5212
  }
@@ -5238,25 +5238,25 @@ const Yr = te({
5238
5238
  series: w(a)
5239
5239
  })), { pageMode: f } = j(ve, {
5240
5240
  pageMode: "normal"
5241
- }), v = () => {
5241
+ }), p = () => {
5242
5242
  t.value = !1;
5243
- }, m = (S = [], h = !1) => {
5244
- let p;
5243
+ }, m = (C = [], h = !1) => {
5244
+ let b;
5245
5245
  if (e.dataFieldConfigType === "key") {
5246
5246
  const N = h ? e.keyTypeDataFieldNames : null;
5247
- p = qe(S, N);
5247
+ b = qe(C, N);
5248
5248
  } else if (e.dataFieldConfigType === "value") {
5249
5249
  const N = h ? e.valueTypeDataFieldNames : null;
5250
- p = et(S, N);
5250
+ b = et(C, N);
5251
5251
  }
5252
- l.value = p.dimensions;
5253
- const b = p.dataset, P = [], R = b.length, $ = e.seriesTypes;
5254
- for (let N = 0; N < R; N++) {
5252
+ l.value = b.dimensions;
5253
+ const v = b.dataset, P = [], D = v.length, $ = e.seriesTypes;
5254
+ for (let N = 0; N < D; N++) {
5255
5255
  const J = $[N], { type: B, axisIndex: V } = J || {};
5256
5256
  let Y = {
5257
5257
  type: B,
5258
5258
  yAxisIndex: V,
5259
- ...b[N]
5259
+ ...v[N]
5260
5260
  };
5261
5261
  B === "line" && (Y = {
5262
5262
  ...Y,
@@ -5274,29 +5274,29 @@ const Yr = te({
5274
5274
  }), P.push(Y);
5275
5275
  }
5276
5276
  a.value = P;
5277
- }, x = (S = [], h, p = !1) => {
5278
- const P = qe(S, p ? h : null);
5277
+ }, x = (C = [], h, b = !1) => {
5278
+ const P = qe(C, b ? h : null);
5279
5279
  l.value = P.dimensions;
5280
- const R = P.dataset, $ = [], N = R.length, J = e.seriesTypes;
5280
+ const D = P.dataset, $ = [], N = D.length, J = e.seriesTypes;
5281
5281
  for (let B = 0; B < N; B++) {
5282
5282
  const V = J[B];
5283
5283
  $.push({
5284
5284
  type: V == null ? void 0 : V.type,
5285
5285
  yAxisIndex: V == null ? void 0 : V.axisIndex,
5286
- ...R[B]
5286
+ ...D[B]
5287
5287
  });
5288
5288
  }
5289
5289
  a.value = $;
5290
5290
  };
5291
- K(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([S]) => {
5292
- (e.dataType === "static" || w(f) === "design") && m(S);
5291
+ K(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([C]) => {
5292
+ (e.dataType === "static" || w(f) === "design") && m(C);
5293
5293
  }, {
5294
5294
  immediate: !0,
5295
5295
  deep: !0
5296
5296
  });
5297
5297
  const u = q(() => {
5298
- const S = e.yAxis;
5299
- return S == null ? void 0 : S.map((h) => ({
5298
+ const C = e.yAxis;
5299
+ return C == null ? void 0 : C.map((h) => ({
5300
5300
  type: "value",
5301
5301
  minInterval: e.yAxisMinInterval,
5302
5302
  splitLine: {
@@ -5308,8 +5308,8 @@ const Yr = te({
5308
5308
  axisLabel: {
5309
5309
  fontSize: r.value,
5310
5310
  color: e.yAxisLabelColor,
5311
- formatter(p) {
5312
- return Ne(h.axisLabelFormatter, p);
5311
+ formatter(b) {
5312
+ return Ne(h.axisLabelFormatter, b);
5313
5313
  }
5314
5314
  },
5315
5315
  axisLine: {
@@ -5318,31 +5318,31 @@ const Yr = te({
5318
5318
  }
5319
5319
  }
5320
5320
  }));
5321
- }), s = I(!1), d = ke(e), C = async () => {
5322
- var S, h;
5321
+ }), s = I(!1), d = ke(e), S = async () => {
5322
+ var C, h;
5323
5323
  if (e.dataType === "request")
5324
5324
  try {
5325
5325
  s.value = !0;
5326
- const p = await d();
5327
- m((h = (S = p == null ? void 0 : p.data) == null ? void 0 : S.data) == null ? void 0 : h.rows, !0);
5328
- } catch (p) {
5329
- console.error(p);
5326
+ const b = await d();
5327
+ m((h = (C = b == null ? void 0 : b.data) == null ? void 0 : C.data) == null ? void 0 : h.rows, !0);
5328
+ } catch (b) {
5329
+ console.error(b);
5330
5330
  } finally {
5331
5331
  s.value = !1;
5332
5332
  }
5333
5333
  }, y = it(e), T = async () => {
5334
- var S;
5334
+ var C;
5335
5335
  try {
5336
5336
  s.value = !0;
5337
- const h = await y(), { columns: p = [], rows: b = [] } = ((S = h == null ? void 0 : h.data) == null ? void 0 : S.data) ?? {};
5337
+ const h = await y(), { columns: b = [], rows: v = [] } = ((C = h == null ? void 0 : h.data) == null ? void 0 : C.data) ?? {};
5338
5338
  let P;
5339
- p.length > 0 && (P = {
5340
- name: p[0],
5341
- types: p.slice(1).map((R) => ({
5342
- label: R,
5343
- value: R
5339
+ b.length > 0 && (P = {
5340
+ name: b[0],
5341
+ types: b.slice(1).map((D) => ({
5342
+ label: D,
5343
+ value: D
5344
5344
  }))
5345
- }), x(b, P, !0);
5345
+ }), x(v, P, !0);
5346
5346
  } catch (h) {
5347
5347
  console.error(h);
5348
5348
  } finally {
@@ -5354,53 +5354,53 @@ const Yr = te({
5354
5354
  T();
5355
5355
  break;
5356
5356
  case "request":
5357
- C();
5357
+ S();
5358
5358
  break;
5359
5359
  }
5360
5360
  };
5361
5361
  o({
5362
5362
  refreshData: M
5363
5363
  });
5364
- const A = ue(e), { getGlobalModel: F, setGlobalModel: g } = j(ge, {
5364
+ const _ = ue(e), { getGlobalModel: R, setGlobalModel: g } = j(ge, {
5365
5365
  // @ts-ignore
5366
5366
  // eslint-disable-next-line no-void
5367
- getGlobalModel: (S) => {
5367
+ getGlobalModel: (C) => {
5368
5368
  },
5369
5369
  // @ts-ignore
5370
5370
  // eslint-disable-next-line no-void
5371
- setGlobalModel: (S, h) => {
5371
+ setGlobalModel: (C, h) => {
5372
5372
  }
5373
- }), _ = A("click", (S) => {
5374
- const h = F(e.id);
5375
- g(e.id, { ...h, RECORD: S == null ? void 0 : S.data });
5376
- }), { setRequest: k } = j(pe, {
5377
- setRequest: (S) => {
5373
+ }), k = _("click", (C) => {
5374
+ const h = R(e.id);
5375
+ g(e.id, { ...h, RECORD: C == null ? void 0 : C.data });
5376
+ }), { setRequest: A } = j(pe, {
5377
+ setRequest: (C) => {
5378
5378
  }
5379
5379
  });
5380
- return typeof k == "function" && k({
5380
+ return typeof A == "function" && A({
5381
5381
  id: e.id,
5382
5382
  requestFn: M,
5383
5383
  sortNum: e.requestSort
5384
5384
  }), me(e, {
5385
5385
  resetRecord: () => {
5386
- const S = e.id, h = F(S);
5387
- g(S, { ...h, RECORD: "" });
5386
+ const C = e.id, h = R(C);
5387
+ g(C, { ...h, RECORD: "" });
5388
5388
  },
5389
5389
  refreshData: M,
5390
- click: _
5390
+ click: k
5391
5391
  }), {
5392
5392
  style: n,
5393
5393
  option: c,
5394
- click: _,
5394
+ click: k,
5395
5395
  loading: s,
5396
- onClose: v,
5396
+ onClose: p,
5397
5397
  ecanModal: i
5398
5398
  };
5399
5399
  }
5400
5400
  });
5401
5401
  function Qr(e, o, t, n, a, l) {
5402
5402
  const i = Z("echarts"), r = Z("spin"), c = Z("ecan-modal");
5403
- return O(), z("div", {
5403
+ return O(), F("div", {
5404
5404
  style: G(e.style)
5405
5405
  }, [
5406
5406
  W(r, { spinning: e.loading }, {
@@ -5515,24 +5515,24 @@ const Te = (e) => (bo("data-v-1550b11b"), e = e(), vo(), e), as = /* @__PURE__ *
5515
5515
  class: "left-title"
5516
5516
  }, vs = { class: "title" };
5517
5517
  function ps(e, o, t, n, a, l) {
5518
- return O(), z("div", {
5518
+ return O(), F("div", {
5519
5519
  class: "ecan-border",
5520
5520
  style: G(e.style),
5521
5521
  onClick: o[0] || (o[0] = (...i) => e.click && e.click(...i))
5522
5522
  }, [
5523
- e.mode === "no-title" ? (O(), z("div", {
5523
+ e.mode === "no-title" ? (O(), F("div", {
5524
5524
  key: 0,
5525
5525
  class: "no-title",
5526
5526
  style: G(e.borderStyle)
5527
5527
  }, [
5528
- e.useBorderModify ? (O(), z(Me, { key: 0 }, [
5528
+ e.useBorderModify ? (O(), F(Me, { key: 0 }, [
5529
5529
  as,
5530
5530
  ls,
5531
5531
  is,
5532
5532
  rs
5533
5533
  ], 64)) : be("", !0)
5534
5534
  ], 4)) : be("", !0),
5535
- e.mode === "top-title" ? (O(), z("div", {
5535
+ e.mode === "top-title" ? (O(), F("div", {
5536
5536
  key: 1,
5537
5537
  class: "top-title",
5538
5538
  style: G(e.borderStyle)
@@ -5549,7 +5549,7 @@ function ps(e, o, t, n, a, l) {
5549
5549
  hs,
5550
5550
  ys
5551
5551
  ], 4)) : be("", !0),
5552
- e.mode === "left-title" ? (O(), z("div", bs, [
5552
+ e.mode === "left-title" ? (O(), F("div", bs, [
5553
5553
  ee("div", vs, [
5554
5554
  ee("span", null, ye(e.title), 1)
5555
5555
  ])
@@ -5616,7 +5616,7 @@ const Cs = /* @__PURE__ */ oe(ts, [["render", ps], ["__scopeId", "data-v-1550b11
5616
5616
  };
5617
5617
  Ue(() => {
5618
5618
  w(n) !== "design" && l();
5619
- }), It(() => {
5619
+ }), Mt(() => {
5620
5620
  clearInterval(a);
5621
5621
  });
5622
5622
  const i = I([]), r = I({});
@@ -5626,13 +5626,13 @@ const Cs = /* @__PURE__ */ oe(ts, [["render", ps], ["__scopeId", "data-v-1550b11
5626
5626
  immediate: !0,
5627
5627
  deep: !0
5628
5628
  });
5629
- const c = (u) => t.value === u, f = ue(e), { setGlobalModel: v } = j(ge, {
5629
+ const c = (u) => t.value === u, f = ue(e), { setGlobalModel: p } = j(ge, {
5630
5630
  // @ts-ignore
5631
5631
  // eslint-disable-next-line no-void
5632
5632
  setGlobalModel: (u, s) => {
5633
5633
  }
5634
5634
  });
5635
- v(e.id, {
5635
+ p(e.id, {
5636
5636
  value: r,
5637
5637
  activeKey: t
5638
5638
  });
@@ -5657,7 +5657,7 @@ const Cs = /* @__PURE__ */ oe(ts, [["render", ps], ["__scopeId", "data-v-1550b11
5657
5657
  });
5658
5658
  const ks = ["onClick"];
5659
5659
  function As(e, o, t, n, a, l) {
5660
- return O(), z("div", {
5660
+ return O(), F("div", {
5661
5661
  class: "ecan-tabs",
5662
5662
  style: G(e.style)
5663
5663
  }, [
@@ -5670,7 +5670,7 @@ function As(e, o, t, n, a, l) {
5670
5670
  flexDirection: e.tabFlexDirection
5671
5671
  })
5672
5672
  }, [
5673
- (O(!0), z(Me, null, Oe(e.myData, (i, r) => (O(), z("div", {
5673
+ (O(!0), F(Me, null, Oe(e.myData, (i, r) => (O(), F("div", {
5674
5674
  class: "tab",
5675
5675
  style: G({
5676
5676
  padding: `5px ${e.tabHorizontalPadding}`,
@@ -5733,12 +5733,12 @@ const _s = /* @__PURE__ */ oe(xs, [["render", As], ["__scopeId", "data-v-a2045b9
5733
5733
  });
5734
5734
  const Is = ["src"];
5735
5735
  function Ms(e, o, t, n, a, l) {
5736
- return e.myImgUrl !== "" ? (O(), z("img", {
5736
+ return e.myImgUrl !== "" ? (O(), F("img", {
5737
5737
  key: 0,
5738
5738
  style: G(e.style),
5739
5739
  src: e.myImgUrl,
5740
5740
  onClick: o[0] || (o[0] = (...i) => e.onClick && e.onClick(...i))
5741
- }, null, 12, Is)) : (O(), z("div", {
5741
+ }, null, 12, Is)) : (O(), F("div", {
5742
5742
  key: 1,
5743
5743
  class: "image-placeholder",
5744
5744
  style: G(e.style)
@@ -5777,11 +5777,11 @@ const Es = /* @__PURE__ */ oe(Ls, [["render", Ms], ["__scopeId", "data-v-ef7a7be
5777
5777
  });
5778
5778
  const zs = ["src"];
5779
5779
  function Fs(e, o, t, n, a, l) {
5780
- return e.myLink ? (O(), z("iframe", {
5780
+ return e.myLink ? (O(), F("iframe", {
5781
5781
  key: 0,
5782
5782
  src: e.myLink,
5783
5783
  style: G(e.style)
5784
- }, null, 12, zs)) : (O(), z("div", {
5784
+ }, null, 12, zs)) : (O(), F("div", {
5785
5785
  key: 1,
5786
5786
  class: "iframe-placeholder",
5787
5787
  style: G(e.style)
@@ -5852,7 +5852,7 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5852
5852
  }, Rn = ie(Fn), Ns = ["click", "refreshData", "resetRecord", "exportTableData"], Ps = te({
5853
5853
  name: "EcanTable",
5854
5854
  components: {
5855
- Skeleton: bt,
5855
+ Skeleton: vt,
5856
5856
  AButton: So,
5857
5857
  AInput: Co,
5858
5858
  ACheckboxGroup: wo,
@@ -5884,10 +5884,10 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5884
5884
  default:
5885
5885
  return 55;
5886
5886
  }
5887
- }), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - w(n)), i = I([]), r = I([]), c = I([]), f = I([]), v = I(0), m = I(1), x = q(() => e.paginationPageSize), u = Qn([]), s = (E = []) => {
5887
+ }), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - w(n)), i = I([]), r = I([]), c = I([]), f = I([]), p = I(0), m = I(1), x = q(() => e.paginationPageSize), u = Qn([]), s = (E = []) => {
5888
5888
  if (Array.isArray(E) && E.length > 0) {
5889
- const D = E.length, H = e.columnsFixedNum;
5890
- for (let Q = 0; Q < D; Q++) {
5889
+ const z = E.length, H = e.columnsFixedNum;
5890
+ for (let Q = 0; Q < z; Q++) {
5891
5891
  const U = E[Q];
5892
5892
  Q < H ? U.fixed = "left" : U.fixed = !1;
5893
5893
  const {
@@ -5899,7 +5899,7 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5899
5899
  headerCellAlign: Ee,
5900
5900
  headerCellColor: Se
5901
5901
  } = U;
5902
- ce && (u.push(fe), U.filterOptionsInputValue = "", U.filterCheckboxGroupValue = [], U.customFilterDropdown = !0, U.onFilter = (Le, pt) => pt[fe].toString().toLowerCase().includes(Le.toLowerCase())), U.customHeaderCell = () => ({
5902
+ ce && (u.push(fe), U.filterOptionsInputValue = "", U.filterCheckboxGroupValue = [], U.customFilterDropdown = !0, U.onFilter = (Le, Ct) => Ct[fe].toString().toLowerCase().includes(Le.toLowerCase())), U.customHeaderCell = () => ({
5903
5903
  style: {
5904
5904
  display: "table-cell",
5905
5905
  verticalAlign: "middle",
@@ -5909,7 +5909,7 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5909
5909
  color: Se,
5910
5910
  borderBottomColor: e.borderColor
5911
5911
  }
5912
- }), U.customCell = (Le, pt) => ({
5912
+ }), U.customCell = (Le, Ct) => ({
5913
5913
  style: {
5914
5914
  textAlign: ae,
5915
5915
  color: le,
@@ -5917,10 +5917,10 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5917
5917
  borderBottomColor: e.borderColor
5918
5918
  },
5919
5919
  class: {
5920
- highlight: w(J) === pt && e.clickHighlight
5920
+ highlight: w(J) === Ct && e.clickHighlight
5921
5921
  },
5922
- onClick: p("click", () => {
5923
- const Wt = e.id, Hn = b(Wt);
5922
+ onClick: b("click", () => {
5923
+ const Wt = e.id, Hn = v(Wt);
5924
5924
  Le = {
5925
5925
  dataIndex: fe,
5926
5926
  title: he,
@@ -5948,19 +5948,19 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5948
5948
  e.cellBackgroundColor,
5949
5949
  e.borderColor
5950
5950
  ], () => {
5951
- i.value = d(St(e.columns));
5951
+ i.value = d(wt(e.columns));
5952
5952
  }, {
5953
5953
  immediate: !0,
5954
5954
  deep: !0
5955
- }), K(() => [e.data, e.dataType], ([E, D]) => {
5956
- D === "static" && (r.value = E);
5955
+ }), K(() => [e.data, e.dataType], ([E, z]) => {
5956
+ z === "static" && (r.value = E);
5957
5957
  }, {
5958
5958
  immediate: !0
5959
5959
  });
5960
- const C = I({}), y = (E) => {
5960
+ const S = I({}), y = (E) => {
5961
5961
  if (Array.isArray(E)) {
5962
- const D = E.length, H = u, Q = H.length, U = {};
5963
- for (let le = 0; le < D; le++) {
5962
+ const z = E.length, H = u, Q = H.length, U = {};
5963
+ for (let le = 0; le < z; le++) {
5964
5964
  const fe = E[le];
5965
5965
  for (let he = 0; he < Q; he++) {
5966
5966
  const ce = H[he];
@@ -5978,28 +5978,28 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
5978
5978
  const fe = U[le], he = Array.from(fe);
5979
5979
  ae[le] = he.map((ce) => ({ label: ce, value: ce }));
5980
5980
  }
5981
- C.value = ae;
5981
+ S.value = ae;
5982
5982
  }
5983
5983
  };
5984
5984
  K(() => [e.isReverse, i.value, r.value], () => {
5985
- const E = w(i), D = w(r);
5986
- if (y(D), e.isReverse) {
5987
- const { columns: H, dataSource: Q } = T(St(E), St(D));
5985
+ const E = w(i), z = w(r);
5986
+ if (y(z), e.isReverse) {
5987
+ const { columns: H, dataSource: Q } = T(wt(E), wt(z));
5988
5988
  c.value = H, f.value = Q;
5989
5989
  } else
5990
- c.value = E, f.value = D;
5990
+ c.value = E, f.value = z;
5991
5991
  }, {
5992
5992
  immediate: !0
5993
5993
  });
5994
- const T = (E, D) => {
5994
+ const T = (E, z) => {
5995
5995
  const H = E[0], Q = [{
5996
5996
  title: H.title,
5997
5997
  dataIndex: "col0",
5998
5998
  key: "col0",
5999
5999
  align: "center"
6000
6000
  }];
6001
- for (let ae = 0; ae < D.length; ae++) {
6002
- const le = D[ae], fe = "col" + (ae + 1);
6001
+ for (let ae = 0; ae < z.length; ae++) {
6002
+ const le = z[ae], fe = "col" + (ae + 1);
6003
6003
  Q.push({
6004
6004
  title: le[H.dataIndex],
6005
6005
  dataIndex: fe,
@@ -6010,8 +6010,8 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6010
6010
  const U = [];
6011
6011
  for (let ae = 1; ae < E.length; ae++) {
6012
6012
  const le = E[ae], fe = { col0: le.title };
6013
- for (let he = 0; he < D.length; he++) {
6014
- const ce = D[he];
6013
+ for (let he = 0; he < z.length; he++) {
6014
+ const ce = z[he];
6015
6015
  fe[`col${he + 1}`] = ce[le.dataIndex];
6016
6016
  }
6017
6017
  U.push(fe);
@@ -6020,23 +6020,23 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6020
6020
  columns: Q,
6021
6021
  dataSource: U
6022
6022
  };
6023
- }, M = I(""), A = ke(e), F = I(!1), g = async (E = !0, D = {}) => {
6023
+ }, M = I(""), _ = ke(e), R = I(!1), g = async (E = !0, z = {}) => {
6024
6024
  var H;
6025
6025
  try {
6026
- E && (F.value = !0), w(M) && (D.orderCondition = w(M)), e.paginationShow && (D = {
6026
+ E && (R.value = !0), w(M) && (z.orderCondition = w(M)), e.paginationShow && (z = {
6027
6027
  pageNum: w(m),
6028
6028
  pageSize: w(x),
6029
6029
  layer: "1",
6030
- ...D
6030
+ ...z
6031
6031
  });
6032
- const Q = await A(D), { rows: U = [], total: ae = 0 } = ((H = Q == null ? void 0 : Q.data) == null ? void 0 : H.data) || {};
6033
- v.value = ae, Array.isArray(U) && (r.value = U);
6032
+ const Q = await _(z), { rows: U = [], total: ae = 0 } = ((H = Q == null ? void 0 : Q.data) == null ? void 0 : H.data) || {};
6033
+ p.value = ae, Array.isArray(U) && (r.value = U);
6034
6034
  } catch (Q) {
6035
6035
  console.error(Q);
6036
6036
  } finally {
6037
- F.value = !1;
6037
+ R.value = !1;
6038
6038
  }
6039
- }, _ = ({ current: E }, D, H) => {
6039
+ }, k = ({ current: E }, z, H) => {
6040
6040
  if (m.value = E, H && Object.keys(H).length > 0) {
6041
6041
  const { field: Q, order: U } = H, le = {
6042
6042
  ascend: "asc",
@@ -6045,24 +6045,24 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6045
6045
  Q != null && le != null && (M.value = Q + " " + le, m.value = 1);
6046
6046
  }
6047
6047
  V(!1);
6048
- }, k = q(() => {
6049
- const E = e.simple, D = [e.paginationPosition];
6048
+ }, A = q(() => {
6049
+ const E = e.simple, z = [e.paginationPosition];
6050
6050
  return e.paginationShow && {
6051
6051
  simple: E,
6052
- position: D,
6053
- total: w(v),
6052
+ position: z,
6053
+ total: w(p),
6054
6054
  current: w(m),
6055
6055
  pageSize: w(x),
6056
6056
  showSizeChanger: !1
6057
6057
  };
6058
- }), L = (E) => +E == 1 ? "是" : +E == 0 ? "否" : E, S = (E, D) => D == null || D === "" ? E : {
6058
+ }), L = (E) => +E == 1 ? "是" : +E == 0 ? "否" : E, C = (E, z) => z == null || z === "" ? E : {
6059
6059
  money: Gt,
6060
6060
  percentage: gt,
6061
6061
  contrast: gt,
6062
6062
  boolean: L
6063
- }[D](E) || "", h = (E, D) => {
6063
+ }[z](E) || "", h = (E, z) => {
6064
6064
  const H = parseFloat(E + "");
6065
- if (D !== "contrast")
6065
+ if (z !== "contrast")
6066
6066
  return "";
6067
6067
  switch (!0) {
6068
6068
  case H >= 0:
@@ -6070,33 +6070,33 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6070
6070
  case H < 0:
6071
6071
  return "goDown";
6072
6072
  }
6073
- }, p = ue(e), { getGlobalModel: b, setGlobalModel: P } = j(ge, {
6073
+ }, b = ue(e), { getGlobalModel: v, setGlobalModel: P } = j(ge, {
6074
6074
  // @ts-ignore
6075
6075
  // eslint-disable-next-line no-void
6076
6076
  getGlobalModel: (E) => {
6077
6077
  },
6078
6078
  // @ts-ignore
6079
6079
  // eslint-disable-next-line no-void
6080
- setGlobalModel: (E, D) => {
6080
+ setGlobalModel: (E, z) => {
6081
6081
  }
6082
- }), R = (E = [], D = []) => {
6082
+ }), D = (E = [], z = []) => {
6083
6083
  const H = E.map((Q) => ({ title: Q, dataIndex: Q, key: Q }));
6084
- i.value = d(H), r.value = D;
6084
+ i.value = d(H), r.value = z;
6085
6085
  }, $ = it(e), N = async () => {
6086
- var E, D, H, Q;
6086
+ var E, z, H, Q;
6087
6087
  try {
6088
- F.value = !0;
6088
+ R.value = !0;
6089
6089
  const U = await $();
6090
- R((D = (E = U == null ? void 0 : U.data) == null ? void 0 : E.data) == null ? void 0 : D.columns, (Q = (H = U == null ? void 0 : U.data) == null ? void 0 : H.data) == null ? void 0 : Q.rows);
6090
+ D((z = (E = U == null ? void 0 : U.data) == null ? void 0 : E.data) == null ? void 0 : z.columns, (Q = (H = U == null ? void 0 : U.data) == null ? void 0 : H.data) == null ? void 0 : Q.rows);
6091
6091
  } catch (U) {
6092
6092
  console.error(U);
6093
6093
  } finally {
6094
- F.value = !1;
6094
+ R.value = !1;
6095
6095
  }
6096
- }, J = I(-1), B = (E, D) => ({
6097
- onClick: p("rowClick", () => {
6098
- const H = e.id, Q = b(H);
6099
- P(H, { ...Q, RECORD: E }), J.value = D;
6096
+ }, J = I(-1), B = (E, z) => ({
6097
+ onClick: b("rowClick", () => {
6098
+ const H = e.id, Q = v(H);
6099
+ P(H, { ...Q, RECORD: E }), J.value = z;
6100
6100
  })
6101
6101
  }), V = (E = !0) => {
6102
6102
  switch (e.dataType) {
@@ -6108,29 +6108,29 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6108
6108
  break;
6109
6109
  }
6110
6110
  }, Y = () => {
6111
- const E = e.id, D = b(E);
6112
- P(E, { ...D, RECORD: "" });
6111
+ const E = e.id, z = v(E);
6112
+ P(E, { ...z, RECORD: "" });
6113
6113
  }, Ae = q(() => {
6114
- const E = w(c), D = [];
6114
+ const E = w(c), z = [];
6115
6115
  let H = 0;
6116
6116
  for (let U = 0; U < E.length; U++) {
6117
6117
  const ae = E[U], { isCalcTotal: le } = ae;
6118
- e.isUseSeq && U === 0 ? D.push({
6118
+ e.isUseSeq && U === 0 ? z.push({
6119
6119
  ...ae,
6120
6120
  total: "小计"
6121
- }) : le ? (D.push({
6121
+ }) : le ? (z.push({
6122
6122
  ...ae,
6123
6123
  index: U,
6124
6124
  total: 0
6125
- }), H++) : D.push({
6125
+ }), H++) : z.push({
6126
6126
  ...ae
6127
6127
  });
6128
6128
  }
6129
6129
  if (H === 0)
6130
6130
  return [];
6131
6131
  const Q = w(f);
6132
- for (let U = 0; U < D.length; U++) {
6133
- const ae = D[U];
6132
+ for (let U = 0; U < z.length; U++) {
6133
+ const ae = z[U];
6134
6134
  let le = 0;
6135
6135
  const { isCalcTotal: fe, dataIndex: he } = ae;
6136
6136
  if (fe === !0) {
@@ -6141,7 +6141,7 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6141
6141
  ae.total = le;
6142
6142
  }
6143
6143
  }
6144
- return D;
6144
+ return z;
6145
6145
  }), { setRequest: qt } = j(pe, {
6146
6146
  setRequest: (E) => {
6147
6147
  }
@@ -6153,26 +6153,26 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6153
6153
  }), o({
6154
6154
  refreshData: V
6155
6155
  });
6156
- const Pn = (E = "", D) => de(E, D), Bn = (E) => {
6156
+ const Pn = (E = "", z) => de(E, z), Bn = (E) => {
6157
6157
  if (E !== "event")
6158
6158
  return {
6159
6159
  self: "_self",
6160
6160
  blank: "_blank"
6161
6161
  }[E];
6162
- }, Un = (E, D = "") => {
6162
+ }, Un = (E, z = "") => {
6163
6163
  E === "event" && window.parent.postMessage({
6164
6164
  type: "openPage",
6165
- url: D
6165
+ url: z
6166
6166
  }, "*");
6167
- }, Gn = (E, D) => {
6168
- E(D.filterCheckboxGroupValue);
6169
- }, qn = (E, D) => {
6170
- E({ confirm: !0 }), D.filterOptionsInputValue = "", D.filterCheckboxGroupValue = [];
6167
+ }, Gn = (E, z) => {
6168
+ E(z.filterCheckboxGroupValue);
6169
+ }, qn = (E, z) => {
6170
+ E({ confirm: !0 }), z.filterOptionsInputValue = "", z.filterCheckboxGroupValue = [];
6171
6171
  }, jn = () => {
6172
6172
  }, Wn = (E) => {
6173
- const D = E.dataIndex;
6174
- if (typeof D == "string") {
6175
- let H = w(C)[D];
6173
+ const z = E.dataIndex;
6174
+ if (typeof z == "string") {
6175
+ let H = w(S)[z];
6176
6176
  const Q = w(E.filterOptionsInputValue).trim();
6177
6177
  return Array.isArray(H) ? (H = H.filter((U) => typeof U.label == "string" ? U.label.toLowerCase().includes(Q.toLowerCase()) : !0), H) : [];
6178
6178
  }
@@ -6185,24 +6185,24 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6185
6185
  content: "正在导出...",
6186
6186
  duration: 0
6187
6187
  });
6188
- let D = [];
6188
+ let z = [];
6189
6189
  if (e.dataType === "static")
6190
- D = e.data;
6190
+ z = e.data;
6191
6191
  else if (e.dataType === "request") {
6192
6192
  const Se = { layer: "1" };
6193
6193
  w(M) && (Se.orderCondition = w(M));
6194
- const Le = await A(Se);
6195
- D = ((Ee = (ce = Le == null ? void 0 : Le.data) == null ? void 0 : ce.data) == null ? void 0 : Ee.rows) || {};
6194
+ const Le = await _(Se);
6195
+ z = ((Ee = (ce = Le == null ? void 0 : Le.data) == null ? void 0 : ce.data) == null ? void 0 : Ee.rows) || {};
6196
6196
  }
6197
6197
  const H = w(c), Q = [], U = [];
6198
6198
  H == null || H.forEach((Se) => {
6199
6199
  Q.push(Se.dataIndex), U.push(Se.title);
6200
6200
  });
6201
- const ae = D.map((Se) => xo(Se, Q)), le = st.book_new(), fe = st.aoa_to_sheet([U]), he = st.sheet_add_json(fe, ae, { skipHeader: !0, origin: "A2" });
6201
+ const ae = z.map((Se) => xo(Se, Q)), le = st.book_new(), fe = st.aoa_to_sheet([U]), he = st.sheet_add_json(fe, ae, { skipHeader: !0, origin: "A2" });
6202
6202
  st.book_append_sheet(le, he, "sheet"), xa(le, "表格数据.xlsx"), Be.success({ key: E, content: "导出成功" });
6203
- }, Vn = (E, D = 2) => {
6203
+ }, Vn = (E, z = 2) => {
6204
6204
  const H = +E * 100;
6205
- return isNaN(H) || H <= 0 ? 0 : H >= 100 ? 100 : H.toFixed(D);
6205
+ return isNaN(H) || H <= 0 ? 0 : H >= 100 ? 100 : H.toFixed(z);
6206
6206
  };
6207
6207
  return me(e, {
6208
6208
  resetRecord: Y,
@@ -6213,12 +6213,12 @@ const Rs = /* @__PURE__ */ oe(Ds, [["render", Fs], ["__scopeId", "data-v-19bc100
6213
6213
  y: l,
6214
6214
  style: t,
6215
6215
  customRow: B,
6216
- pagination: k,
6217
- formatFn: S,
6216
+ pagination: A,
6217
+ formatFn: C,
6218
6218
  contrastClass: h,
6219
- tableChange: _,
6219
+ tableChange: k,
6220
6220
  summaryList: Ae,
6221
- loading: F,
6221
+ loading: R,
6222
6222
  onTouchHrefEvent: Un,
6223
6223
  handleHref: Pn,
6224
6224
  handleHrefTarget: Bn,
@@ -6245,14 +6245,14 @@ const Bs = {
6245
6245
  class: "progress-cell"
6246
6246
  };
6247
6247
  function Zs(e, o, t, n, a, l) {
6248
- const i = Z("a-button"), r = Z("a-input"), c = Z("a-checkbox-group"), f = Z("a-table-summary-cell"), v = Z("a-table-summary-row"), m = Z("a-table-summary"), x = Z("a-table"), u = Z("skeleton");
6249
- return O(), z("div", {
6248
+ const i = Z("a-button"), r = Z("a-input"), c = Z("a-checkbox-group"), f = Z("a-table-summary-cell"), p = Z("a-table-summary-row"), m = Z("a-table-summary"), x = Z("a-table"), u = Z("skeleton");
6249
+ return O(), F("div", {
6250
6250
  class: "ecan-table",
6251
6251
  style: G(e.style)
6252
6252
  }, [
6253
6253
  W(u, { loading: e.loading }, {
6254
6254
  default: X(() => [
6255
- e.isUseExport ? (O(), z("div", Bs, [
6255
+ e.isUseExport ? (O(), F("div", Bs, [
6256
6256
  W(i, {
6257
6257
  class: "export-button",
6258
6258
  onClick: e.exportTableData
@@ -6277,7 +6277,7 @@ function Zs(e, o, t, n, a, l) {
6277
6277
  pagination: e.pagination,
6278
6278
  onChange: e.tableChange
6279
6279
  }, {
6280
- customFilterDropdown: X(({ column: s, selectedKeys: d, setSelectedKeys: C, confirm: y, clearFilters: T }) => [
6280
+ customFilterDropdown: X(({ column: s, selectedKeys: d, setSelectedKeys: S, confirm: y, clearFilters: T }) => [
6281
6281
  ee("div", {
6282
6282
  class: "ecan-table-filter",
6283
6283
  style: G({
@@ -6296,7 +6296,7 @@ function Zs(e, o, t, n, a, l) {
6296
6296
  "onUpdate:value": (M) => s.filterCheckboxGroupValue = M,
6297
6297
  class: "filter-checkbox",
6298
6298
  options: e.useFilterOptions(s),
6299
- onChange: (M) => e.useSetSelectedKeys(C, s)
6299
+ onChange: (M) => e.useSetSelectedKeys(S, s)
6300
6300
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
6301
6301
  ee("div", null, [
6302
6302
  W(i, {
@@ -6323,9 +6323,9 @@ function Zs(e, o, t, n, a, l) {
6323
6323
  ])
6324
6324
  ], 4)
6325
6325
  ]),
6326
- bodyCell: X(({ column: s, index: d, text: C, record: y }) => [
6327
- s.dataIndex === "SEQ" ? (O(), z("span", js, ye(d + 1), 1)) : s.dataIndex === "ACTION" ? (O(), z("div", Ws, [
6328
- (O(!0), z(Me, null, Oe(e.actionList, (T, M) => (O(), z("div", {
6326
+ bodyCell: X(({ column: s, index: d, text: S, record: y }) => [
6327
+ s.dataIndex === "SEQ" ? (O(), F("span", js, ye(d + 1), 1)) : s.dataIndex === "ACTION" ? (O(), F("div", Ws, [
6328
+ (O(!0), F(Me, null, Oe(e.actionList, (T, M) => (O(), F("div", {
6329
6329
  class: "action",
6330
6330
  key: M
6331
6331
  }, [
@@ -6337,39 +6337,39 @@ function Zs(e, o, t, n, a, l) {
6337
6337
  fontSize: e.fontSize,
6338
6338
  fontWeight: e.fontWeight
6339
6339
  }),
6340
- onClick: (A) => e.onTouchHrefEvent(T.target, e.handleHref(T.href, y))
6340
+ onClick: (_) => e.onTouchHrefEvent(T.target, e.handleHref(T.href, y))
6341
6341
  }, ye(T.title), 13, Vs)
6342
6342
  ]))), 128))
6343
- ])) : s.format === "progress" ? (O(), z("div", Hs, [
6343
+ ])) : s.format === "progress" ? (O(), F("div", Hs, [
6344
6344
  ee("div", {
6345
6345
  class: "progress",
6346
6346
  style: G({
6347
6347
  background: s.progressColor || "#1890ff",
6348
6348
  height: s.progressWidth || "18px",
6349
- width: `${e.handleProgressText(C, s.progressTextDecimalPlaces)}%`
6349
+ width: `${e.handleProgressText(S, s.progressTextDecimalPlaces)}%`
6350
6350
  })
6351
6351
  }, null, 4),
6352
6352
  ee("div", {
6353
6353
  class: "progress-text",
6354
6354
  style: G({
6355
- color: e.handleProgressText(C) < 100 ? s.progressTextColor || "#333" : s.progressFinishedTextColor || "#fff"
6355
+ color: e.handleProgressText(S) < 100 ? s.progressTextColor || "#333" : s.progressFinishedTextColor || "#fff"
6356
6356
  })
6357
- }, ye(e.handleProgressText(C, s.progressTextDecimalPlaces)) + "% ", 5)
6358
- ])) : (O(), z("div", {
6357
+ }, ye(e.handleProgressText(S, s.progressTextDecimalPlaces)) + "% ", 5)
6358
+ ])) : (O(), F("div", {
6359
6359
  key: 3,
6360
- class: Mt([e.contrastClass(C, s.format)]),
6360
+ class: Et([e.contrastClass(S, s.format)]),
6361
6361
  style: G({
6362
6362
  fontSize: e.fontSize,
6363
6363
  fontWeight: e.fontWeight
6364
6364
  })
6365
- }, ye(s.format != null ? e.formatFn(C, s.format) : C), 7))
6365
+ }, ye(s.format != null ? e.formatFn(S, s.format) : S), 7))
6366
6366
  ]),
6367
6367
  summary: X(() => [
6368
6368
  e.summaryList.length > 0 ? (O(), ze(m, { key: 0 }, {
6369
6369
  default: X(() => [
6370
- W(v, null, {
6370
+ W(p, null, {
6371
6371
  default: X(() => [
6372
- (O(!0), z(Me, null, Oe(e.summaryList, (s, d) => (O(), ze(f, {
6372
+ (O(!0), F(Me, null, Oe(e.summaryList, (s, d) => (O(), ze(f, {
6373
6373
  key: d,
6374
6374
  index: d,
6375
6375
  style: G({
@@ -6381,7 +6381,7 @@ function Zs(e, o, t, n, a, l) {
6381
6381
  }, {
6382
6382
  default: X(() => [
6383
6383
  ee("div", {
6384
- class: Mt([e.contrastClass(s.total, s.format)]),
6384
+ class: Et([e.contrastClass(s.total, s.format)]),
6385
6385
  style: G({
6386
6386
  fontSize: e.fontSize,
6387
6387
  fontWeight: e.fontWeight
@@ -6467,12 +6467,12 @@ const Qs = te({
6467
6467
  image: w(t),
6468
6468
  repeat: e.geoBackgroundImageRepeat
6469
6469
  } : e.geoItemStyleAreaColor), i = q(() => {
6470
- const v = e.symbolImage;
6471
- return e.symbolImage ? "image://" + $e(v) : "circle";
6470
+ const p = e.symbolImage;
6471
+ return e.symbolImage ? "image://" + $e(p) : "circle";
6472
6472
  }), r = q(() => {
6473
- const v = e.geoCenter;
6473
+ const p = e.geoCenter;
6474
6474
  let m;
6475
- return typeof v == "string" && v !== "" && (m = v.split(",")), {
6475
+ return typeof p == "string" && p !== "" && (m = p.split(",")), {
6476
6476
  // backgroundColor: unref(background),
6477
6477
  tooltip: {
6478
6478
  show: !0
@@ -6553,9 +6553,9 @@ const Qs = te({
6553
6553
  };
6554
6554
  }), c = I(!1), f = async () => {
6555
6555
  var m;
6556
- const v = e.mapJson;
6557
- if (v != null && v.path) {
6558
- const x = await Fe(((m = window == null ? void 0 : window.config) == null ? void 0 : m.uploadPath) + v.path);
6556
+ const p = e.mapJson;
6557
+ if (p != null && p.path) {
6558
+ const x = await Fe(((m = window == null ? void 0 : window.config) == null ? void 0 : m.uploadPath) + p.path);
6559
6559
  oa("map", (x == null ? void 0 : x.data) || {});
6560
6560
  }
6561
6561
  c.value = !0;
@@ -6577,7 +6577,7 @@ const Qs = te({
6577
6577
  const Ks = ["src"];
6578
6578
  function Xs(e, o, t, n, a, l) {
6579
6579
  const i = Z("echarts");
6580
- return O(), z("div", {
6580
+ return O(), F("div", {
6581
6581
  class: "ecan-map",
6582
6582
  style: G(e.style)
6583
6583
  }, [