@ecan-bi/datav 1.1.37 → 1.1.38

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,6 +1,6 @@
1
- /*! @ecan-bi/datav@1.1.37 */
2
- import { watch as ne, inject as $, computed as q, unref as k, watchEffect as rn, defineComponent as Q, shallowRef as yt, toRefs as Io, onMounted as Je, onUnmounted as ut, h as st, nextTick as ft, createVNode as j, resolveComponent as Z, openBlock as E, createElementBlock as R, createBlock as Oe, renderSlot as mt, withCtx as Y, ref as _, normalizeStyle as G, createCommentVNode as pe, provide as Fe, onBeforeUnmount as zt, toDisplayString as he, Fragment as Le, renderList as Ie, createElementVNode as X, normalizeClass as xt, pushScopeId as sn, popScopeId as cn, createSlots as Mo, resolveDynamicComponent as Eo, mergeProps as Oo, withModifiers as Fo, reactive as Ro, createTextVNode as dn, withDirectives as Do, vShow as No } from "vue";
3
- import { throttle as zo, init as $o, use as $e, registerMap as Po } from "echarts/core";
1
+ /*! @ecan-bi/datav@1.1.38 */
2
+ import { watch as ne, inject as $, computed as q, unref as k, watchEffect as rn, defineComponent as Q, shallowRef as yt, toRefs as Io, onMounted as Je, onUnmounted as ut, h as st, nextTick as ft, createVNode as j, resolveComponent as Z, openBlock as E, createElementBlock as R, createBlock as Oe, renderSlot as mt, withCtx as Y, ref as I, normalizeStyle as G, createCommentVNode as pe, provide as Fe, onBeforeUnmount as Nt, toDisplayString as he, Fragment as Le, renderList as Ie, createElementVNode as X, normalizeClass as xt, pushScopeId as sn, popScopeId as cn, createSlots as Mo, resolveDynamicComponent as Eo, mergeProps as Oo, withModifiers as Fo, reactive as Ro, createTextVNode as dn, withDirectives as Do, vShow as zo } from "vue";
3
+ import { throttle as No, init as $o, use as $e, registerMap as Po } from "echarts/core";
4
4
  import { addListener as Bo, removeListener as Go } from "resize-detector";
5
5
  import { Spin as Uo, Skeleton as qo, message as Ve, Progress as jo, Input as un, DatePicker as Wo, Select as Vo, RangePicker as Ho, Button as Zo, CheckboxGroup as fn, Modal as ke, Table as Jo, TableSummary as Yo, TableSummaryRow as Qo, TableSummaryCell as Ko } from "ant-design-vue";
6
6
  import "ant-design-vue/es/spin/style";
@@ -58,8 +58,8 @@ function da(e, n) {
58
58
  }
59
59
  function ua(e, n, t) {
60
60
  let o = null;
61
- ne([t, e, n], ([a, i, r], s, l) => {
62
- a && i && r && (o = zo(() => {
61
+ ne([t, e, n], ([a, i, s], r, l) => {
62
+ a && i && s && (o = No(() => {
63
63
  i.resize();
64
64
  }, 100), Bo(a, o)), l(() => {
65
65
  o && a && Go(a, o);
@@ -90,7 +90,7 @@ function va(e) {
90
90
  ba(t) || (n[t] = e[t]);
91
91
  return n;
92
92
  }
93
- const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdateOptions", Ne = Q({
93
+ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdateOptions", ze = Q({
94
94
  name: "echarts",
95
95
  props: {
96
96
  option: Object,
@@ -107,7 +107,7 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
107
107
  inheritAttrs: !1,
108
108
  // @ts-expect-error listeners for Vue 2 compatibility
109
109
  setup(e, { attrs: n, listeners: t }) {
110
- const o = yt(), a = yt(), i = yt(), r = $(Ca, null), s = $(
110
+ const o = yt(), a = yt(), i = yt(), s = $(Ca, null), r = $(
111
111
  Sa,
112
112
  null
113
113
  ), l = $(
@@ -115,12 +115,12 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
115
115
  null
116
116
  ), { autoresize: d, manualUpdate: c, loading: m, loadingOptions: g } = Io(e), b = q(
117
117
  () => i.value || e.option || /* @__PURE__ */ Object.create(null)
118
- ), f = q(() => e.theme || k(r) || {}), v = q(
119
- () => e.initOptions || k(s) || {}
118
+ ), f = q(() => e.theme || k(s) || {}), v = q(
119
+ () => e.initOptions || k(r) || {}
120
120
  ), y = q(
121
121
  () => e.updateOptions || k(l) || {}
122
122
  ), h = q(() => va(n));
123
- function A(w) {
123
+ function A(C) {
124
124
  if (a.value || !o.value)
125
125
  return;
126
126
  const u = a.value = $o(
@@ -131,13 +131,13 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
131
131
  e.group && (u.group = e.group);
132
132
  let p = t;
133
133
  p || (p = {}, Object.keys(n).filter((S) => S.indexOf("on") === 0 && S.length > 2).forEach((S) => {
134
- const T = S.charAt(2).toLowerCase() + S.slice(3);
135
- p[T] = n[S];
134
+ const _ = S.charAt(2).toLowerCase() + S.slice(3);
135
+ p[_] = n[S];
136
136
  })), Object.keys(p).forEach((S) => {
137
- const T = p[S];
138
- T && (S.indexOf("zr:") === 0 ? u.getZr().on(S.slice(3).toLowerCase(), T) : u.on(S.toLowerCase(), T));
137
+ const _ = p[S];
138
+ _ && (S.indexOf("zr:") === 0 ? u.getZr().on(S.slice(3).toLowerCase(), _) : u.on(S.toLowerCase(), _));
139
139
  });
140
- function x() {
140
+ function T() {
141
141
  if (u && !u.isDisposed())
142
142
  try {
143
143
  u.resize();
@@ -148,23 +148,23 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
148
148
  }
149
149
  }
150
150
  function F() {
151
- u.setOption(w || b.value, y.value);
151
+ u.setOption(C || b.value, y.value);
152
152
  }
153
153
  d.value ? ft(() => {
154
- x(), F();
154
+ T(), F();
155
155
  }) : F();
156
156
  }
157
- function C(w, u) {
158
- e.manualUpdate && (i.value = w), a.value ? a.value.setOption(w, u || {}) : A(w);
157
+ function x(C, u) {
158
+ e.manualUpdate && (i.value = C), a.value ? a.value.setOption(C, u || {}) : A(C);
159
159
  }
160
160
  function B() {
161
161
  a.value && (a.value.dispose(), a.value = void 0);
162
162
  }
163
- let I = null;
163
+ let w = null;
164
164
  ne(
165
165
  c,
166
- (w) => {
167
- typeof I == "function" && (I(), I = null), w || (I = ne(
166
+ (C) => {
167
+ typeof w == "function" && (w(), w = null), C || (w = ne(
168
168
  () => e.option,
169
169
  (u) => {
170
170
  u && (a.value ? a.value.setOption(u, y.value) : A());
@@ -186,15 +186,15 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
186
186
  ), rn(() => {
187
187
  e.group && a.value && (a.value.group = e.group);
188
188
  });
189
- const M = da(a, A);
189
+ const L = da(a, A);
190
190
  return ga(a, m, g), ua(a, d, o), Je(() => {
191
191
  e.option && A();
192
192
  }), ut(B), {
193
193
  chart: a,
194
194
  root: o,
195
- setOption: C,
195
+ setOption: x,
196
196
  nonEventAttrs: h,
197
- ...M
197
+ ...L
198
198
  };
199
199
  },
200
200
  render() {
@@ -237,35 +237,35 @@ function _a(e, n, t) {
237
237
  if (e = Se(e, 360), n = Se(n, 100), t = Se(t, 100), n === 0)
238
238
  a = t, i = t, o = t;
239
239
  else {
240
- var r = t < 0.5 ? t * (1 + n) : t + n - t * n, s = 2 * t - r;
241
- o = pt(s, r, e + 1 / 3), a = pt(s, r, e), i = pt(s, r, e - 1 / 3);
240
+ var s = t < 0.5 ? t * (1 + n) : t + n - t * n, r = 2 * t - s;
241
+ o = pt(r, s, e + 1 / 3), a = pt(r, s, e), i = pt(r, s, e - 1 / 3);
242
242
  }
243
243
  return { r: o * 255, g: a * 255, b: i * 255 };
244
244
  }
245
245
  function La(e, n, t) {
246
246
  e = Se(e, 255), n = Se(n, 255), t = Se(t, 255);
247
- var o = Math.max(e, n, t), a = Math.min(e, n, t), i = 0, r = o, s = o - a, l = o === 0 ? 0 : s / o;
247
+ var o = Math.max(e, n, t), a = Math.min(e, n, t), i = 0, s = o, r = o - a, l = o === 0 ? 0 : r / o;
248
248
  if (o === a)
249
249
  i = 0;
250
250
  else {
251
251
  switch (o) {
252
252
  case e:
253
- i = (n - t) / s + (n < t ? 6 : 0);
253
+ i = (n - t) / r + (n < t ? 6 : 0);
254
254
  break;
255
255
  case n:
256
- i = (t - e) / s + 2;
256
+ i = (t - e) / r + 2;
257
257
  break;
258
258
  case t:
259
- i = (e - n) / s + 4;
259
+ i = (e - n) / r + 4;
260
260
  break;
261
261
  }
262
262
  i /= 6;
263
263
  }
264
- return { h: i, s: l, v: r };
264
+ return { h: i, s: l, v: s };
265
265
  }
266
266
  function Ia(e, n, t) {
267
267
  e = Se(e, 360) * 6, n = Se(n, 100), t = Se(t, 100);
268
- var o = Math.floor(e), a = e - o, i = t * (1 - n), r = t * (1 - a * n), s = t * (1 - (1 - a) * n), l = o % 6, d = [t, r, i, i, s, t][l], c = [s, t, t, r, i, i][l], m = [i, i, s, t, t, r][l];
268
+ var o = Math.floor(e), a = e - o, i = t * (1 - n), s = t * (1 - a * n), r = t * (1 - (1 - a) * n), l = o % 6, d = [t, s, i, i, r, t][l], c = [r, t, t, s, i, i][l], m = [i, i, r, t, t, s][l];
269
269
  return { r: d * 255, g: c * 255, b: m * 255 };
270
270
  }
271
271
  function Ma(e, n, t, o) {
@@ -433,10 +433,10 @@ var Pt = {
433
433
  yellowgreen: "#9acd32"
434
434
  };
435
435
  function je(e) {
436
- var n = { r: 0, g: 0, b: 0 }, t = 1, o = null, a = null, i = null, r = !1, s = !1;
437
- return typeof e == "string" && (e = Fa(e)), typeof e == "object" && (_e(e.r) && _e(e.g) && _e(e.b) ? (n = Ta(e.r, e.g, e.b), r = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : _e(e.h) && _e(e.s) && _e(e.v) ? (o = at(e.s), a = at(e.v), n = Ia(e.h, o, a), r = !0, s = "hsv") : _e(e.h) && _e(e.s) && _e(e.l) && (o = at(e.s), i = at(e.l), n = _a(e.h, o, i), r = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = xa(t), {
438
- ok: r,
439
- format: e.format || s,
436
+ var n = { r: 0, g: 0, b: 0 }, t = 1, o = null, a = null, i = null, s = !1, r = !1;
437
+ return typeof e == "string" && (e = Fa(e)), typeof e == "object" && (_e(e.r) && _e(e.g) && _e(e.b) ? (n = Ta(e.r, e.g, e.b), s = !0, r = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : _e(e.h) && _e(e.s) && _e(e.v) ? (o = at(e.s), a = at(e.v), n = Ia(e.h, o, a), s = !0, r = "hsv") : _e(e.h) && _e(e.s) && _e(e.l) && (o = at(e.s), i = at(e.l), n = _a(e.h, o, i), s = !0, r = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = xa(t), {
438
+ ok: s,
439
+ format: e.format || r,
440
440
  r: Math.min(255, Math.max(n.r, 0)),
441
441
  g: Math.min(255, Math.max(n.g, 0)),
442
442
  b: Math.min(255, Math.max(n.b, 0)),
@@ -492,7 +492,7 @@ function Fa(e) {
492
492
  function _e(e) {
493
493
  return Boolean(we.CSS_UNIT.exec(String(e)));
494
494
  }
495
- var lt = 2, Bt = 0.16, Ra = 0.05, Da = 0.05, Na = 0.15, pn = 5, Cn = 4, za = [{
495
+ var lt = 2, Bt = 0.16, Ra = 0.05, Da = 0.05, za = 0.15, pn = 5, Cn = 4, Na = [{
496
496
  index: 7,
497
497
  opacity: 0.15
498
498
  }, {
@@ -555,27 +555,27 @@ function qt(e, n, t) {
555
555
  }
556
556
  function jt(e, n, t) {
557
557
  var o;
558
- return t ? o = e.v + Da * n : o = e.v - Na * n, o > 1 && (o = 1), Number(o.toFixed(2));
558
+ return t ? o = e.v + Da * n : o = e.v - za * n, o > 1 && (o = 1), Number(o.toFixed(2));
559
559
  }
560
560
  function Tt(e) {
561
561
  for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], o = je(e), a = pn; a > 0; a -= 1) {
562
- var i = Gt(o), r = it(je({
562
+ var i = Gt(o), s = it(je({
563
563
  h: Ut(i, a, !0),
564
564
  s: qt(i, a, !0),
565
565
  v: jt(i, a, !0)
566
566
  }));
567
- t.push(r);
567
+ t.push(s);
568
568
  }
569
569
  t.push(it(o));
570
- for (var s = 1; s <= Cn; s += 1) {
570
+ for (var r = 1; r <= Cn; r += 1) {
571
571
  var l = Gt(o), d = it(je({
572
- h: Ut(l, s),
573
- s: qt(l, s),
574
- v: jt(l, s)
572
+ h: Ut(l, r),
573
+ s: qt(l, r),
574
+ v: jt(l, r)
575
575
  }));
576
576
  t.push(d);
577
577
  }
578
- return n.theme === "dark" ? za.map(function(c) {
578
+ return n.theme === "dark" ? Na.map(function(c) {
579
579
  var m = c.index, g = c.opacity, b = it($a(je(n.backgroundColor || "#141414"), je(t[m]), g * 100));
580
580
  return b;
581
581
  }) : t;
@@ -762,16 +762,16 @@ function Ka() {
762
762
  return rt({}, Ze);
763
763
  }
764
764
  var Be = function(n, t) {
765
- var o = rt({}, n, t.attrs), a = o.icon, i = o.primaryColor, r = o.secondaryColor, s = Za(o, Ha), l = Ze;
765
+ var o = rt({}, n, t.attrs), a = o.icon, i = o.primaryColor, s = o.secondaryColor, r = Za(o, Ha), l = Ze;
766
766
  if (i && (l = {
767
767
  primaryColor: i,
768
- secondaryColor: r || Sn(i)
768
+ secondaryColor: s || Sn(i)
769
769
  }), Va(), ja(Ht(a), "icon should be icon definiton, but got ".concat(a)), !Ht(a))
770
770
  return null;
771
771
  var d = a;
772
772
  return d && typeof d.icon == "function" && (d = rt({}, d, {
773
773
  icon: d.icon(l.primaryColor, l.secondaryColor)
774
- })), _t(d.icon, "svg-".concat(d.name), rt({}, s, {
774
+ })), _t(d.icon, "svg-".concat(d.name), rt({}, r, {
775
775
  "data-icon": d.name,
776
776
  width: "1em",
777
777
  height: "1em",
@@ -817,18 +817,18 @@ function Jt(e, n) {
817
817
  function nl(e, n) {
818
818
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
819
819
  if (t != null) {
820
- var o = [], a = !0, i = !1, r, s;
820
+ var o = [], a = !0, i = !1, s, r;
821
821
  try {
822
- for (t = t.call(e); !(a = (r = t.next()).done) && (o.push(r.value), !(n && o.length === n)); a = !0)
822
+ for (t = t.call(e); !(a = (s = t.next()).done) && (o.push(s.value), !(n && o.length === n)); a = !0)
823
823
  ;
824
824
  } catch (l) {
825
- i = !0, s = l;
825
+ i = !0, r = l;
826
826
  } finally {
827
827
  try {
828
828
  !a && t.return != null && t.return();
829
829
  } finally {
830
830
  if (i)
831
- throw s;
831
+ throw r;
832
832
  }
833
833
  }
834
834
  return o;
@@ -877,18 +877,18 @@ function Yt(e, n) {
877
877
  function cl(e, n) {
878
878
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
879
879
  if (t != null) {
880
- var o = [], a = !0, i = !1, r, s;
880
+ var o = [], a = !0, i = !1, s, r;
881
881
  try {
882
- for (t = t.call(e); !(a = (r = t.next()).done) && (o.push(r.value), !(n && o.length === n)); a = !0)
882
+ for (t = t.call(e); !(a = (s = t.next()).done) && (o.push(s.value), !(n && o.length === n)); a = !0)
883
883
  ;
884
884
  } catch (l) {
885
- i = !0, s = l;
885
+ i = !0, r = l;
886
886
  } finally {
887
887
  try {
888
888
  !a && t.return != null && t.return();
889
889
  } finally {
890
890
  if (i)
891
- throw s;
891
+ throw r;
892
892
  }
893
893
  }
894
894
  return o;
@@ -933,24 +933,24 @@ function fl(e, n) {
933
933
  }
934
934
  kn("#1890ff");
935
935
  var Ge = function(n, t) {
936
- var o, a = Qt({}, n, t.attrs), i = a.class, r = a.icon, s = a.spin, l = a.rotate, d = a.tabindex, c = a.twoToneColor, m = a.onClick, g = ul(a, ll), b = (o = {
936
+ var o, a = Qt({}, n, t.attrs), i = a.class, s = a.icon, r = a.spin, l = a.rotate, d = a.tabindex, c = a.twoToneColor, m = a.onClick, g = ul(a, ll), b = (o = {
937
937
  anticon: !0
938
- }, Lt(o, "anticon-".concat(r.name), Boolean(r.name)), Lt(o, i, i), o), f = s === "" || s || r.name === "loading" ? "anticon-spin" : "", v = d;
938
+ }, Lt(o, "anticon-".concat(s.name), Boolean(s.name)), Lt(o, i, i), o), f = r === "" || r || s.name === "loading" ? "anticon-spin" : "", v = d;
939
939
  v === void 0 && m && (v = -1, g.tabindex = v);
940
940
  var y = l ? {
941
941
  msTransform: "rotate(".concat(l, "deg)"),
942
942
  transform: "rotate(".concat(l, "deg)")
943
- } : void 0, h = wn(c), A = il(h, 2), C = A[0], B = A[1];
943
+ } : void 0, h = wn(c), A = il(h, 2), x = A[0], B = A[1];
944
944
  return j("span", Qt({
945
945
  role: "img",
946
- "aria-label": r.name
946
+ "aria-label": s.name
947
947
  }, g, {
948
948
  onClick: m,
949
949
  class: b
950
950
  }), [j(Et, {
951
951
  class: f,
952
- icon: r,
953
- primaryColor: C,
952
+ icon: s,
953
+ primaryColor: x,
954
954
  secondaryColor: B,
955
955
  style: y
956
956
  }, null)]);
@@ -1019,9 +1019,9 @@ const K = (e, n) => {
1019
1019
  return t;
1020
1020
  }, pl = { class: "spin-wrapper" };
1021
1021
  function Cl(e, n, t, o, a, i) {
1022
- const r = Z("a-spin");
1022
+ const s = Z("a-spin");
1023
1023
  return E(), R("div", pl, [
1024
- e.spinning ? (E(), Oe(r, {
1024
+ e.spinning ? (E(), Oe(s, {
1025
1025
  key: 0,
1026
1026
  class: "spin",
1027
1027
  spinning: e.spinning,
@@ -1043,8 +1043,8 @@ const et = /* @__PURE__ */ K(vl, [["render", Cl]]), Sl = Q({
1043
1043
  }
1044
1044
  });
1045
1045
  function wl(e, n, t, o, a, i) {
1046
- const r = Z("a-skeleton");
1047
- return E(), Oe(r, {
1046
+ const s = Z("a-skeleton");
1047
+ return E(), Oe(s, {
1048
1048
  active: "",
1049
1049
  loading: e.loading
1050
1050
  }, {
@@ -1153,19 +1153,19 @@ const Al = ((ln = window == null ? void 0 : window.config) == null ? void 0 : ln
1153
1153
  const n = e.events, t = e.id, o = $(Ft, {
1154
1154
  // @ts-ignore
1155
1155
  // eslint-disable-next-line no-void
1156
- emitEvent: (i, r) => {
1156
+ emitEvent: (i, s) => {
1157
1157
  }
1158
1158
  }), { touchEventId: a } = $(ce, {
1159
- touchEventId: _("")
1159
+ touchEventId: I("")
1160
1160
  });
1161
- return (i, r = () => {
1161
+ return (i, s = () => {
1162
1162
  }) => function() {
1163
- r.call(this, ...arguments);
1164
- const { emitEvent: s } = o;
1163
+ s.call(this, ...arguments);
1164
+ const { emitEvent: r } = o;
1165
1165
  n.forEach((l) => {
1166
1166
  if (i === l.on)
1167
1167
  try {
1168
- a.value = t, s(l.target, l.emit);
1168
+ a.value = t, r(l.target, l.emit);
1169
1169
  } catch (d) {
1170
1170
  console.error(d);
1171
1171
  }
@@ -1174,17 +1174,17 @@ const Al = ((ln = window == null ? void 0 : window.config) == null ? void 0 : ln
1174
1174
  }, Ye = (e, n) => {
1175
1175
  let { name: t = "name", value: o = "value", type: a = "type" } = n || {};
1176
1176
  t = t == null ? void 0 : t.trim(), o = o == null ? void 0 : o.trim(), a = a == null ? void 0 : a.trim();
1177
- const i = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), s = e.length;
1178
- for (let c = 0; c < s; c++) {
1177
+ const i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map(), r = e.length;
1178
+ for (let c = 0; c < r; c++) {
1179
1179
  const m = e[c], g = m[t] || "", b = m[o] || "", f = m[a] || "";
1180
- if (i.add(g), r.has(f)) {
1181
- const v = r.get(f);
1182
- v.push({ name: g, value: b, ...m }), r.set(f, v);
1180
+ if (i.add(g), s.has(f)) {
1181
+ const v = s.get(f);
1182
+ v.push({ name: g, value: b, ...m }), s.set(f, v);
1183
1183
  } else
1184
- r.set(f, [{ name: g, value: b, ...m }]);
1184
+ s.set(f, [{ name: g, value: b, ...m }]);
1185
1185
  }
1186
1186
  const l = Array.from(i), d = [];
1187
- for (const [c, m] of r)
1187
+ for (const [c, m] of s)
1188
1188
  d.push({
1189
1189
  name: c,
1190
1190
  data: m
@@ -1240,9 +1240,9 @@ const xl = (e) => e.replace(/\\n/g, `
1240
1240
  const i = e.match(/\{(.+?)\}/g);
1241
1241
  if (i == null || i.length === 0)
1242
1242
  return e;
1243
- for (let r = 0; r < i.length; r++) {
1244
- const s = i[r];
1245
- let l = s.slice(1, -1).trim();
1243
+ for (let s = 0; s < i.length; s++) {
1244
+ const r = i[s];
1245
+ let l = r.slice(1, -1).trim();
1246
1246
  const d = /[\u4e00-\u9fa5a-z-_A-Z]+[0-9]*/g, c = l.match(d);
1247
1247
  for (let m = 0; m < c.length; m++) {
1248
1248
  const g = c[m], b = n[g];
@@ -1251,7 +1251,7 @@ const xl = (e) => e.replace(/\\n/g, `
1251
1251
  l = (0, eval)(l);
1252
1252
  } catch {
1253
1253
  }
1254
- e = e.replace(s, l);
1254
+ e = e.replace(r, l);
1255
1255
  }
1256
1256
  }
1257
1257
  return t && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), o && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, "&nbsp;&nbsp;")), e;
@@ -1262,8 +1262,8 @@ const xl = (e) => e.replace(/\\n/g, `
1262
1262
  requestMethod: o,
1263
1263
  requestHeaders: a,
1264
1264
  requestParams: i,
1265
- requestInterval: r,
1266
- isOpenRequestTimer: s
1265
+ requestInterval: s,
1266
+ isOpenRequestTimer: r
1267
1267
  } = e, { contextRequestUrl: l, pageMode: d, touchEventId: c } = $(ce, {
1268
1268
  contextRequestUrl: "",
1269
1269
  pageMode: "normal",
@@ -1277,70 +1277,70 @@ const xl = (e) => e.replace(/\\n/g, `
1277
1277
  if (!g || !o || !a || k(d) === "design")
1278
1278
  return;
1279
1279
  let y = {};
1280
- i.forEach((I) => {
1281
- const { key: M, value: w } = I;
1282
- if (typeof w == "object" && w.id) {
1280
+ i.forEach((w) => {
1281
+ const { key: L, value: C } = w;
1282
+ if (typeof C == "object" && C.id) {
1283
1283
  let u = {};
1284
- const { id: p, prop: x, propKey: F, operate: S } = w;
1284
+ const { id: p, prop: T, propKey: F, operate: S } = C;
1285
1285
  p === "THIS" ? u = m(k(c)) || {} : u = m(p) || {};
1286
- const T = k(u[x]);
1286
+ const _ = k(u[T]);
1287
1287
  let U = null;
1288
1288
  if (["date", "range"].some((O) => Ln(u == null ? void 0 : u.type, O))) {
1289
- const { value: O, type: z, mode: N } = S || {};
1290
- if (O && z && N)
1291
- switch (z) {
1289
+ const { value: O, type: N, mode: z } = S || {};
1290
+ if (O && N && z)
1291
+ switch (N) {
1292
1292
  case "add":
1293
- U = k(T).add(O, N);
1293
+ U = k(_).add(O, z);
1294
1294
  break;
1295
1295
  case "minus":
1296
- U = k(T).subtract(O, N);
1296
+ U = k(_).subtract(O, z);
1297
1297
  break;
1298
1298
  }
1299
- U == null && (U = k(T)), U = (U == null ? void 0 : U.format((F == null ? void 0 : F.trim()) || u.format)) || "";
1299
+ U == null && (U = k(_)), U = (U == null ? void 0 : U.format((F == null ? void 0 : F.trim()) || u.format)) || "";
1300
1300
  } else
1301
- Object.prototype.toString.call(T) === "[object Object]" ? U = T[F || "value"] : U = T;
1302
- y[M] = U;
1301
+ Object.prototype.toString.call(_) === "[object Object]" ? U = _[F || "value"] : U = _;
1302
+ y[L] = U;
1303
1303
  } else
1304
- typeof w == "string" && (y[M] = be(w));
1304
+ typeof C == "string" && (y[L] = be(C));
1305
1305
  }), y = { ...window.config.requestParams, ...v, ...y };
1306
1306
  let h = "";
1307
- const A = Object.keys(y), C = A.length - 1, B = A.length;
1308
- A.forEach((I, M) => {
1309
- M === 0 ? B !== 1 ? h += `?${I}=${y[I]}&` : h += `?${I}=${y[I]}` : M === C ? h += `${I}=${y[I]}` : h += `${I}=${y[I]}&`;
1307
+ const A = Object.keys(y), x = A.length - 1, B = A.length;
1308
+ A.forEach((w, L) => {
1309
+ L === 0 ? B !== 1 ? h += `?${w}=${y[w]}&` : h += `?${w}=${y[w]}` : L === x ? h += `${w}=${y[w]}` : h += `${w}=${y[w]}&`;
1310
1310
  });
1311
1311
  try {
1312
- const I = ["get", "head"].includes(o), M = await xe({
1312
+ const w = ["get", "head"].includes(o), L = await xe({
1313
1313
  baseURL: k(l) || "",
1314
- url: I ? g + h : g,
1314
+ url: w ? g + h : g,
1315
1315
  method: o,
1316
1316
  headers: a,
1317
- data: I ? {} : y
1317
+ data: w ? {} : y
1318
1318
  });
1319
- return n(M), M;
1320
- } catch (I) {
1321
- console.error(I);
1319
+ return n(L), L;
1320
+ } catch (w) {
1321
+ console.error(w);
1322
1322
  }
1323
- }, f = s && setInterval(b, r * 1e3);
1323
+ }, f = r && setInterval(b, s * 1e3);
1324
1324
  return ut(() => {
1325
1325
  clearInterval(f);
1326
1326
  }), b;
1327
- }, ze = (e = [], n) => {
1327
+ }, Ne = (e = [], n) => {
1328
1328
  let { name: t = "name", types: o = [] } = n || {};
1329
1329
  t = (t == null ? void 0 : t.trim()) || t;
1330
- const a = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), r = e.length, s = o.length;
1331
- if (r === 1) {
1330
+ const a = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), s = e.length, r = o.length;
1331
+ if (s === 1) {
1332
1332
  const c = [];
1333
- for (let g = 0; g < s; g++) {
1333
+ for (let g = 0; g < r; g++) {
1334
1334
  const b = o[g], { label: f, value: v } = b, y = { ...e[0], value: e[0][v] };
1335
1335
  a.add(f), c.push(y);
1336
1336
  }
1337
1337
  const m = e[0][t] || "";
1338
1338
  i.set(m, c);
1339
1339
  } else
1340
- for (let c = 0; c < r; c++) {
1340
+ for (let c = 0; c < s; c++) {
1341
1341
  const m = e[c], g = m[t];
1342
1342
  a.add(g);
1343
- for (let b = 0; b < s; b++) {
1343
+ for (let b = 0; b < r; b++) {
1344
1344
  const f = o[b], { label: v, value: y } = f, h = { ...m, value: m[y] };
1345
1345
  if (i.has(v)) {
1346
1346
  const A = i.get(v);
@@ -1420,8 +1420,8 @@ const xl = (e) => e.replace(/\\n/g, `
1420
1420
  }, A = n(y) || {};
1421
1421
  if (b === "the_date" ? h.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(b) && (h.valueType = "TEXT"), A.type === "ecanDatePicker") {
1422
1422
  h.dateFormat = A.format;
1423
- const C = (c = k(A)) == null ? void 0 : c.value.format;
1424
- typeof C == "function" && (h.fieldValue = C(A == null ? void 0 : A.format));
1423
+ const x = (c = k(A)) == null ? void 0 : c.value.format;
1424
+ typeof x == "function" && (h.fieldValue = x(A == null ? void 0 : A.format));
1425
1425
  }
1426
1426
  d.push(h);
1427
1427
  }
@@ -1444,11 +1444,11 @@ const xl = (e) => e.replace(/\\n/g, `
1444
1444
  }, c.customGroup.groupList.forEach((m, g) => {
1445
1445
  g !== 0 && (l.customGroup.groupInfoMap[m.key] = m.value);
1446
1446
  }), l.customGroup.otherGroupName = c.customGroup.otherName || ""), l.rangeIndexTypeGuid = c.typeGuid, l.customFilterSqlPart = c.filterSql || "";
1447
- }, r = (l, d) => {
1447
+ }, s = (l, d) => {
1448
1448
  for (let c = 0; c < l.children.length; c++)
1449
1449
  if (l.children[c].children.length > 0) {
1450
1450
  let m = "";
1451
- l.type === "and" ? m = "&&" : m = "||", d.push({ conditions: [], join: m }), r(l.children[c], d[d.length - 1].conditions);
1451
+ l.type === "and" ? m = "&&" : m = "||", d.push({ conditions: [], join: m }), s(l.children[c], d[d.length - 1].conditions);
1452
1452
  } else if (l.children[c].fieldName) {
1453
1453
  let m = "";
1454
1454
  const g = {
@@ -1471,7 +1471,7 @@ const xl = (e) => e.replace(/\\n/g, `
1471
1471
  }
1472
1472
  g.fieldValue = m, l.children.length > 1 && c !== l.children.length - 1 && (l.type === "and" ? g.join = "&&" : g.join = "||"), d.push(g);
1473
1473
  }
1474
- }, s = (l, d, c) => {
1474
+ }, r = (l, d, c) => {
1475
1475
  if (!l)
1476
1476
  return;
1477
1477
  const m = c[d].find((f) => f.name === l.label);
@@ -1480,11 +1480,11 @@ const xl = (e) => e.replace(/\\n/g, `
1480
1480
  const g = [], b = m.filterList;
1481
1481
  if (b)
1482
1482
  for (let f = 0; f < b.length; f++)
1483
- b[f].children.length > 0 && r(b[f], g);
1483
+ b[f].children.length > 0 && s(b[f], g);
1484
1484
  return g;
1485
1485
  };
1486
1486
  return async function() {
1487
- var I, M;
1487
+ var w, L;
1488
1488
  const l = e.type;
1489
1489
  let d = e.graphicConfig;
1490
1490
  (!d || Object.keys(d).length === 0) && (d = {
@@ -1506,13 +1506,13 @@ const xl = (e) => e.replace(/\\n/g, `
1506
1506
  const g = t(d);
1507
1507
  let b;
1508
1508
  if (Array.isArray(d.series) && d.series.length > 0) {
1509
- const w = (I = d.seriesList) == null ? void 0 : I.find((u) => {
1509
+ const C = (w = d.seriesList) == null ? void 0 : w.find((u) => {
1510
1510
  const p = d.series[0];
1511
1511
  return u.name === p || u.nameBak === p;
1512
1512
  });
1513
- w != null && (b = {
1514
- label: w.name,
1515
- columnName: w.label
1513
+ C != null && (b = {
1514
+ label: C.name,
1515
+ columnName: C.label
1516
1516
  });
1517
1517
  }
1518
1518
  let f;
@@ -1521,16 +1521,16 @@ const xl = (e) => e.replace(/\\n/g, `
1521
1521
  label: c[0],
1522
1522
  columnName: c[0]
1523
1523
  };
1524
- const w = ((M = d.classifyList) == null ? void 0 : M.find((u) => (u == null ? void 0 : u.name) === c[0] || (u == null ? void 0 : u.nameBak) === c[0])) || {};
1525
- f.columnName = w.label, i(f, d.classifyList), f.conditions = s(f, "classifyList", d) || [];
1524
+ const C = ((L = d.classifyList) == null ? void 0 : L.find((u) => (u == null ? void 0 : u.name) === c[0] || (u == null ? void 0 : u.nameBak) === c[0])) || {};
1525
+ f.columnName = C.label, i(f, d.classifyList), f.conditions = r(f, "classifyList", d) || [];
1526
1526
  }
1527
- b && (i(b, d.seriesList), b.conditions = s(b, "seriesList", d) || []);
1528
- for (let w = 0; w < g.length; w++)
1529
- g[w].location === "RIGHT" ? g[w].conditions = s(g[w], "rightAxisList", d) : g[w].conditions = s(g[w], "leftAxisList", d);
1527
+ b && (i(b, d.seriesList), b.conditions = r(b, "seriesList", d) || []);
1528
+ for (let C = 0; C < g.length; C++)
1529
+ g[C].location === "RIGHT" ? g[C].conditions = r(g[C], "rightAxisList", d) : g[C].conditions = r(g[C], "leftAxisList", d);
1530
1530
  let v;
1531
1531
  (d == null ? void 0 : d.pageMode) === "design" ? v = d.sqlConditions ?? [] : v = a(d == null ? void 0 : d.relativeList);
1532
- let y = "SQL_VIEW", h = "", A = "", C = "";
1533
- d.source === "INDICATOR_LIB" && (y = "INDICATOR_LIB", h = d.fixedDimSql, A = d.dataSourceId, C = d.idxLibMode);
1532
+ let y = "SQL_VIEW", h = "", A = "", x = "";
1533
+ d.source === "INDICATOR_LIB" && (y = "INDICATOR_LIB", h = d.fixedDimSql, A = d.dataSourceId, x = d.idxLibMode);
1534
1534
  const B = {
1535
1535
  ecanBar: "bar",
1536
1536
  ecanLine: "line",
@@ -1538,7 +1538,7 @@ const xl = (e) => e.replace(/\\n/g, `
1538
1538
  ecanScatter: "scatter"
1539
1539
  };
1540
1540
  try {
1541
- const w = await xe.get(`${ct}/user/anonymous?username=admin`, {
1541
+ const C = await xe.get(`${ct}/user/anonymous?username=admin`, {
1542
1542
  headers: {
1543
1543
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1544
1544
  current_context: "ygt"
@@ -1556,32 +1556,38 @@ const xl = (e) => e.replace(/\\n/g, `
1556
1556
  source: y,
1557
1557
  fixedDimSql: h,
1558
1558
  dataSourceId: A,
1559
- idxLibMode: C
1559
+ idxLibMode: x
1560
1560
  }, {
1561
- headers: { Authentication: w.data.data.token }
1561
+ headers: { Authentication: C.data.data.token }
1562
1562
  });
1563
- } catch (w) {
1564
- console.error(w);
1563
+ } catch (C) {
1564
+ console.error(C);
1565
1565
  }
1566
1566
  };
1567
1567
  }, De = (e, n) => {
1568
+ var a;
1568
1569
  if (e == null)
1569
1570
  return n;
1570
1571
  const t = e.match(/\{.*\}/g);
1571
1572
  if (t == null || t.length === 0)
1572
1573
  return n;
1573
1574
  const o = t.length;
1574
- for (let a = 0; a < o; a++) {
1575
- const i = t[a];
1576
- if (i == null || i === "")
1575
+ for (let i = 0; i < o; i++) {
1576
+ const s = t[i];
1577
+ if (s == null || s === "")
1577
1578
  break;
1578
- let r = i.slice(1, -1);
1579
+ let r = (a = s.slice(1, -1)) == null ? void 0 : a.trim();
1579
1580
  r = r == null ? void 0 : r.replace(/value/g, n);
1580
1581
  try {
1581
- let s = r;
1582
- r !== n.toString() && (s = (0, eval)(r)), e = e.replace(i, s);
1582
+ let l = r;
1583
+ if (r !== n.toString())
1584
+ try {
1585
+ l = (0, eval)(r);
1586
+ } catch {
1587
+ }
1588
+ e = e.replace(s, l);
1583
1589
  } catch {
1584
- e = e.replace(i, r);
1590
+ e = e.replace(s, r);
1585
1591
  }
1586
1592
  }
1587
1593
  return e;
@@ -1593,19 +1599,19 @@ const xl = (e) => e.replace(/\\n/g, `
1593
1599
  }
1594
1600
  });
1595
1601
  e.dataType === "indicator" && n();
1596
- const t = (r = {}) => {
1597
- const { label: s, name: l, location: d, show: c, indexCode: m } = r;
1602
+ const t = (s = {}) => {
1603
+ const { label: r, name: l, location: d, show: c, indexCode: m } = s;
1598
1604
  return {
1599
- label: s,
1605
+ label: r,
1600
1606
  columnName: l,
1601
1607
  location: d,
1602
1608
  show: c,
1603
1609
  calcType: "COLUMN",
1604
1610
  hrpIndexCode: m
1605
1611
  };
1606
- }, o = (r = {}) => {
1612
+ }, o = (s = {}) => {
1607
1613
  const {
1608
- label: s,
1614
+ label: r,
1609
1615
  name: l,
1610
1616
  location: d,
1611
1617
  show: c,
@@ -1616,9 +1622,9 @@ const xl = (e) => e.replace(/\\n/g, `
1616
1622
  builtInCalcWay: v,
1617
1623
  formula: y,
1618
1624
  conditions: h
1619
- } = r;
1625
+ } = s;
1620
1626
  return {
1621
- label: s,
1627
+ label: r,
1622
1628
  columnName: l,
1623
1629
  location: d,
1624
1630
  show: c,
@@ -1634,13 +1640,13 @@ const xl = (e) => e.replace(/\\n/g, `
1634
1640
  }, { getGlobalModel: a } = $(de, {
1635
1641
  // @ts-ignore
1636
1642
  // eslint-disable-next-line no-void
1637
- getGlobalModel: (r) => {
1643
+ getGlobalModel: (s) => {
1638
1644
  }
1639
- }), i = (r = []) => {
1645
+ }), i = (s = []) => {
1640
1646
  var d;
1641
- const s = r.length, l = [];
1642
- for (let c = 0; c < s; c++) {
1643
- const m = r[c], {
1647
+ const r = s.length, l = [];
1648
+ for (let c = 0; c < r; c++) {
1649
+ const m = s[c], {
1644
1650
  id: g,
1645
1651
  conditionLabel: b,
1646
1652
  conditionKey: f,
@@ -1654,8 +1660,8 @@ const xl = (e) => e.replace(/\\n/g, `
1654
1660
  valueType: v
1655
1661
  }, h = a(g) || {};
1656
1662
  if (Ln(h.type, "date")) {
1657
- const { value: A, format: C } = h || {};
1658
- y.fieldValue = (d = k(A)) == null ? void 0 : d.format(C), y.dateFormat = C;
1663
+ const { value: A, format: x } = h || {};
1664
+ y.fieldValue = (d = k(A)) == null ? void 0 : d.format(x), y.dateFormat = x;
1659
1665
  }
1660
1666
  l.push(y);
1661
1667
  }
@@ -1663,8 +1669,8 @@ const xl = (e) => e.replace(/\\n/g, `
1663
1669
  };
1664
1670
  return async () => {
1665
1671
  var F;
1666
- const { graphicConfig: r } = e, {
1667
- source: s,
1672
+ const { graphicConfig: s } = e, {
1673
+ source: r,
1668
1674
  dataViewId: l,
1669
1675
  plugin: d,
1670
1676
  layer: c,
@@ -1676,21 +1682,21 @@ const xl = (e) => e.replace(/\\n/g, `
1676
1682
  queryColumnList: y = [],
1677
1683
  indicators: h = [],
1678
1684
  controlList: A = [],
1679
- dataSourceId: C,
1685
+ dataSourceId: x,
1680
1686
  idxLibMode: B,
1681
- preview: I = !1
1682
- } = r || {};
1683
- let M;
1687
+ preview: w = !1
1688
+ } = s || {};
1689
+ let L;
1684
1690
  if (Array.isArray(g) && g.length > 0) {
1685
1691
  const S = g.length;
1686
- for (let T = 0; T < S; T++) {
1687
- const U = g[T] || {}, { label: H = "", name: O = "", show: z = !1, sort: N, customGroup: W, conditions: ee } = U;
1688
- if (z || S === 1) {
1689
- M = {
1692
+ for (let _ = 0; _ < S; _++) {
1693
+ const U = g[_] || {}, { label: H = "", name: O = "", show: N = !1, sort: z, customGroup: W, conditions: ee } = U;
1694
+ if (N || S === 1) {
1695
+ L = {
1690
1696
  label: H,
1691
1697
  columnName: O,
1692
- show: z,
1693
- sort: N,
1698
+ show: N,
1699
+ sort: z,
1694
1700
  customGroup: W,
1695
1701
  conditions: ee
1696
1702
  };
@@ -1698,17 +1704,17 @@ const xl = (e) => e.replace(/\\n/g, `
1698
1704
  }
1699
1705
  }
1700
1706
  }
1701
- let w;
1707
+ let C;
1702
1708
  if (Array.isArray(b) && b.length > 0) {
1703
1709
  const S = b.length;
1704
- for (let T = 0; T < S; T++) {
1705
- const U = b[T] || {}, { label: H = "", name: O = "", show: z = !1, sort: N, customGroup: W, conditions: ee } = U;
1706
- if (z || S === 1) {
1707
- w = {
1710
+ for (let _ = 0; _ < S; _++) {
1711
+ const U = b[_] || {}, { label: H = "", name: O = "", show: N = !1, sort: z, customGroup: W, conditions: ee } = U;
1712
+ if (N || S === 1) {
1713
+ C = {
1708
1714
  label: H,
1709
1715
  columnName: O,
1710
- show: z,
1711
- sort: N,
1716
+ show: N,
1717
+ sort: z,
1712
1718
  customGroup: W,
1713
1719
  conditions: ee
1714
1720
  };
@@ -1731,27 +1737,27 @@ const xl = (e) => e.replace(/\\n/g, `
1731
1737
  return;
1732
1738
  if (c === "2" && p.length === 0)
1733
1739
  return;
1734
- let x;
1735
- (r == null ? void 0 : r.pageMode) === "design" ? x = r.sqlConditions ?? [] : x = i(A);
1740
+ let T;
1741
+ (s == null ? void 0 : s.pageMode) === "design" ? T = s.sqlConditions ?? [] : T = i(A);
1736
1742
  try {
1737
1743
  return await xe.post(
1738
1744
  `${ct}/diagram`,
1739
1745
  {
1740
- source: s,
1746
+ source: r,
1741
1747
  dataViewId: l,
1742
1748
  plugin: d,
1743
1749
  layer: c,
1744
1750
  chartType: m,
1745
- classification: M,
1746
- series: w,
1751
+ classification: L,
1752
+ series: C,
1747
1753
  indicatorList: p,
1748
1754
  queryColumns: u,
1749
1755
  pageFlag: !0,
1750
- sqlConditions: x,
1756
+ sqlConditions: T,
1751
1757
  // fixedDimSql: '',
1752
- dataSourceId: C,
1758
+ dataSourceId: x,
1753
1759
  idxLibMode: B,
1754
- preview: I
1760
+ preview: w
1755
1761
  },
1756
1762
  {
1757
1763
  headers: {
@@ -1773,8 +1779,8 @@ const xl = (e) => e.replace(/\\n/g, `
1773
1779
  continue;
1774
1780
  const i = a.split("=");
1775
1781
  if (Array.isArray(i)) {
1776
- const r = i[0], s = i[1];
1777
- window.config[r] = s;
1782
+ const s = i[0], r = i[1];
1783
+ window.config[s] = r;
1778
1784
  }
1779
1785
  }
1780
1786
  }, Ll = Q({
@@ -1790,22 +1796,22 @@ const xl = (e) => e.replace(/\\n/g, `
1790
1796
  backgroundColor: e.backgroundColor,
1791
1797
  backgroundImage: Re(e.backgroundImage, !0),
1792
1798
  backgroundSize: e.backgroundSize
1793
- })), t = _(0), o = _(0), a = _(0), i = _(0), r = _(!1), s = _();
1799
+ })), t = I(0), o = I(0), a = I(0), i = I(0), s = I(!1), r = I();
1794
1800
  let l;
1795
1801
  const d = () => new Promise((v) => {
1796
1802
  ft(() => {
1797
- e.width && e.height ? (t.value = parseFloat(e.width), o.value = parseFloat(e.height)) : (t.value = s.value.clientWidth, o.value = s.value.clientHeight), (!a.value || !i.value) && (a.value = window.screen.width, i.value = window.screen.height), v();
1803
+ e.width && e.height ? (t.value = parseFloat(e.width), o.value = parseFloat(e.height)) : (t.value = r.value.clientWidth, o.value = r.value.clientHeight), (!a.value || !i.value) && (a.value = window.screen.width, i.value = window.screen.height), v();
1798
1804
  });
1799
1805
  }), c = () => {
1800
- t.value && o.value ? (s.value.style.width = `${t.value}px`, s.value.style.height = `${o.value}px`) : (s.value.style.width = `${a.value}px`, s.value.style.height = `${i.value}px`);
1806
+ t.value && o.value ? (r.value.style.width = `${t.value}px`, r.value.style.height = `${o.value}px`) : (r.value.style.width = `${a.value}px`, r.value.style.height = `${i.value}px`);
1801
1807
  }, m = () => {
1802
- const v = document.body.clientWidth, y = document.body.clientHeight, h = t.value || a.value, A = o.value || i.value, C = v / h, B = y / A;
1803
- s.value && (s.value.style.transform = `scale(${C}, ${B})`);
1808
+ const v = document.body.clientWidth, y = document.body.clientHeight, h = t.value || a.value, A = o.value || i.value, x = v / h, B = y / A;
1809
+ r.value && (r.value.style.transform = `scale(${x}, ${B})`);
1804
1810
  }, g = It(async () => {
1805
1811
  await d(), m();
1806
1812
  }, 100), b = () => {
1807
1813
  const v = window.MutationObserver;
1808
- l = new v(g), l.observe(s.value, {
1814
+ l = new v(g), l.observe(r.value, {
1809
1815
  attributes: !0,
1810
1816
  attributeFilter: ["style"],
1811
1817
  attributeOldValue: !0
@@ -1814,13 +1820,13 @@ const xl = (e) => e.replace(/\\n/g, `
1814
1820
  l && (l.disconnect(), l.takeRecords(), l = null);
1815
1821
  };
1816
1822
  return Je(async () => {
1817
- r.value = !1, await d(), c(), m(), window.addEventListener("resize", g), b(), r.value = !0;
1823
+ s.value = !1, await d(), c(), m(), window.addEventListener("resize", g), b(), s.value = !0;
1818
1824
  }), ut(() => {
1819
1825
  window.removeEventListener("resize", g), f();
1820
1826
  }), {
1821
1827
  style: n,
1822
- container: s,
1823
- ready: r
1828
+ container: r,
1829
+ ready: s
1824
1830
  };
1825
1831
  }
1826
1832
  });
@@ -1852,7 +1858,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1852
1858
  },
1853
1859
  setup(e, { expose: n }) {
1854
1860
  _l();
1855
- const t = _(), o = () => {
1861
+ const t = I(), o = () => {
1856
1862
  t.value.setAttribute("datav-theme", e.theme);
1857
1863
  };
1858
1864
  ne(() => e.theme, () => {
@@ -1860,21 +1866,21 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1860
1866
  }), Je(() => {
1861
1867
  o();
1862
1868
  });
1863
- const a = q(() => be(e.contextRequestUrl)), i = q(() => e.pageMode), r = q(() => e.theme), s = _("");
1869
+ const a = q(() => be(e.contextRequestUrl)), i = q(() => e.pageMode), s = q(() => e.theme), r = I("");
1864
1870
  Fe(ce, {
1865
1871
  // 请求地址
1866
1872
  contextRequestUrl: a,
1867
1873
  // 模式(设计、预览、正常):目前主要配置初始化是否发起请求
1868
1874
  pageMode: i,
1869
1875
  // 主题
1870
- theme: r,
1871
- touchEventId: s
1876
+ theme: s,
1877
+ touchEventId: r
1872
1878
  });
1873
1879
  const l = /* @__PURE__ */ new Map(), d = (O) => l.get(O);
1874
1880
  Fe(de, {
1875
1881
  getGlobalModel: d,
1876
- setGlobalModel: (O, z) => {
1877
- l.set(O, z);
1882
+ setGlobalModel: (O, N) => {
1883
+ l.set(O, N);
1878
1884
  }
1879
1885
  });
1880
1886
  const m = [], g = () => {
@@ -1886,73 +1892,73 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1886
1892
  popUseModalIds: g,
1887
1893
  pushUseModalIds: b,
1888
1894
  getModalModel: v,
1889
- setModalModel: (O, z) => {
1890
- f.set(O, z);
1895
+ setModalModel: (O, N) => {
1896
+ f.set(O, N);
1891
1897
  }
1892
1898
  });
1893
- const h = na(), A = /* @__PURE__ */ new Set(), C = (O, z) => {
1894
- A.add(O), h.on(O, (N) => typeof z[N] == "function" && z[N]()), zt(() => {
1899
+ const h = na(), A = /* @__PURE__ */ new Set(), x = (O, N) => {
1900
+ A.add(O), h.on(O, (z) => typeof N[z] == "function" && N[z]()), Nt(() => {
1895
1901
  B(O);
1896
1902
  });
1897
1903
  }, B = (O) => {
1898
1904
  A.delete(O), h.off(O);
1899
1905
  };
1900
1906
  Fe(Ft, {
1901
- onEvent: C,
1907
+ onEvent: x,
1902
1908
  offEvent: B,
1903
- emitEvent: (O, z) => {
1909
+ emitEvent: (O, N) => {
1904
1910
  if (O === "PAGE") {
1905
- const N = m.length;
1911
+ const z = m.length;
1906
1912
  let W = [];
1907
- if (N === 0)
1913
+ if (z === 0)
1908
1914
  W = [...A];
1909
1915
  else {
1910
- const ee = m[N - 1];
1916
+ const ee = m[z - 1];
1911
1917
  W = [...v(ee)];
1912
1918
  }
1913
1919
  W.forEach((ee) => {
1914
- h.emit(ee, z);
1920
+ h.emit(ee, N);
1915
1921
  });
1916
1922
  } else
1917
- h.emit(O, z);
1923
+ h.emit(O, N);
1918
1924
  }
1919
1925
  });
1920
- const M = _(0);
1926
+ const L = I(0);
1921
1927
  Fe(Tn, {
1922
1928
  requestToken: () => {
1923
- M.value = k(M) + 1;
1929
+ L.value = k(L) + 1;
1924
1930
  }
1925
1931
  });
1926
- const u = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), x = ({ requestFn: O = () => {
1927
- }, sortNum: z = 0, id: N = "" }) => {
1928
- if (u.has(z)) {
1929
- const W = u.get(z);
1932
+ const u = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), T = ({ requestFn: O = () => {
1933
+ }, sortNum: N = 0, id: z = "" }) => {
1934
+ if (u.has(N)) {
1935
+ const W = u.get(N);
1930
1936
  W == null || W.push(O);
1931
1937
  } else
1932
- u.set(z, [O]);
1933
- p.set(N, O);
1934
- }, F = (O) => new Promise((z, N) => {
1938
+ u.set(N, [O]);
1939
+ p.set(z, O);
1940
+ }, F = (O) => new Promise((N, z) => {
1935
1941
  const W = O.map((ee) => ee());
1936
1942
  Promise.all(W).then((ee) => {
1937
- z(ee);
1938
- }).catch((ee) => {
1939
1943
  N(ee);
1944
+ }).catch((ee) => {
1945
+ z(ee);
1940
1946
  });
1941
1947
  }), S = async () => {
1942
- var z;
1948
+ var N;
1943
1949
  const O = await mn.get(`${ct}/user/anonymous?username=admin`, {
1944
1950
  headers: {
1945
1951
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1946
1952
  current_context: "ygt"
1947
1953
  }
1948
1954
  });
1949
- config.indicatorToken = (z = O.data.data) == null ? void 0 : z.token;
1950
- }, T = (O) => new Promise(async (z, N) => {
1955
+ config.indicatorToken = (N = O.data.data) == null ? void 0 : N.token;
1956
+ }, _ = (O) => new Promise(async (N, z) => {
1951
1957
  if (O) {
1952
1958
  if (typeof O == "string") {
1953
1959
  const W = p.get(O);
1954
1960
  if (typeof W == "function") {
1955
- const ee = xe.interceptors.response.use((se) => (z(se), se), (se) => (N(se), Promise.reject(se)));
1961
+ const ee = xe.interceptors.response.use((se) => (N(se), se), (se) => (z(se), Promise.reject(se)));
1956
1962
  W(), xe.interceptors.response.eject(ee);
1957
1963
  }
1958
1964
  }
@@ -1961,7 +1967,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1961
1967
  W.sort((se, nt) => nt[0] - se[0]);
1962
1968
  const ee = W.length;
1963
1969
  try {
1964
- e.pageMode !== "design" && k(M) > 0 && await S();
1970
+ e.pageMode !== "design" && k(L) > 0 && await S();
1965
1971
  for (let se = 0; se < ee; se++) {
1966
1972
  const nt = W[se][1];
1967
1973
  await F(nt);
@@ -1969,13 +1975,13 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1969
1975
  } catch (se) {
1970
1976
  console.error(se);
1971
1977
  } finally {
1972
- u.clear(), z(null);
1978
+ u.clear(), N(null);
1973
1979
  }
1974
1980
  }
1975
1981
  });
1976
1982
  Fe(Ce, {
1977
- setRequest: x,
1978
- touchRequest: T
1983
+ setRequest: T,
1984
+ touchRequest: _
1979
1985
  }), Fe(He, {
1980
1986
  emitRefreshPage: () => {
1981
1987
  h.emit(He);
@@ -1986,10 +1992,10 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
1986
1992
  h.off(He);
1987
1993
  });
1988
1994
  };
1989
- return zt(() => {
1995
+ return Nt(() => {
1990
1996
  u == null || u.clear(), p == null || p.clear();
1991
1997
  }), n({
1992
- touchRequest: T,
1998
+ touchRequest: _,
1993
1999
  getGlobalModel: d,
1994
2000
  onRefreshPage: H
1995
2001
  }), {
@@ -2005,7 +2011,7 @@ function Dl(e, n, t, o, a, i) {
2005
2011
  mt(e.$slots, "default")
2006
2012
  ], 512);
2007
2013
  }
2008
- const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2014
+ const zl = /* @__PURE__ */ K(Fl, [["render", Dl]]), Nl = oe(zl), Fn = {
2009
2015
  ...re,
2010
2016
  name: "文本",
2011
2017
  keyName: "文本",
@@ -2036,7 +2042,7 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2036
2042
  ...Rn
2037
2043
  },
2038
2044
  setup(e) {
2039
- const n = ie(e), t = _({});
2045
+ const n = ie(e), t = I({});
2040
2046
  ne(() => [e.data, e.dataType], ([g, b]) => {
2041
2047
  b === "static" && (t.value = g);
2042
2048
  }, {
@@ -2047,35 +2053,49 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2047
2053
  const g = k(t);
2048
2054
  let b = e.text;
2049
2055
  b = b == null ? void 0 : b.replace(/\n|\\n/g, "<br/>"), b = b == null ? void 0 : b.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
2050
- const f = b.match(/\{\s*[\w\u4e00-\u9fa5]*\s*\}/g);
2056
+ const f = b.match(/\{(.+?)\}/g);
2051
2057
  if (f == null || f.length === 0)
2052
2058
  return b;
2053
2059
  for (let y = 0; y < f.length; y++) {
2054
2060
  const h = f[y], A = (v = h == null ? void 0 : h.slice(1, h.length - 1)) == null ? void 0 : v.trim();
2055
- let C = g[A];
2056
- if (C != null) {
2057
- const B = e.format;
2058
- B === "percentage" ? (C = +C, isNaN(C) ? b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : (C = (C * 100).toFixed(2), C >= 0 ? b = b.replace(h, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Pl}"/>${C}%</span>`) : b = b.replace(h, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Bl}"/>${Math.abs(C)}%</span>`))) : B === "percent" ? (C = +C, isNaN(C) || (C = (C * 100).toFixed(2), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}%</span>`))) : e.format === "money" ? (C = +C, isNaN(C) || (C = Rt(C), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`))) : B === "thousands" ? (C = +C, isNaN(C) || (C = Tl(C), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`))) : b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`);
2061
+ let x = A;
2062
+ const B = A.match(/[\u4e00-\u9fa5a-z-_A-Z]+[0-9]*/g);
2063
+ for (let L = 0; L < B.length; L++) {
2064
+ const C = B[L], u = g[C];
2065
+ u && (x = A.replace(C, u));
2066
+ }
2067
+ if (A !== x) {
2068
+ let L = null;
2069
+ try {
2070
+ L = (0, eval)(x);
2071
+ } catch {
2072
+ }
2073
+ L != null && (x = L);
2074
+ }
2075
+ let w = x;
2076
+ if (w != null) {
2077
+ const L = e.format;
2078
+ L === "percentage" ? (w = +w, isNaN(w) ? b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : w >= 0 ? (w = (w * 100).toFixed(2), b = b.replace(h, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Pl}"/>${w}%</span>`)) : (w = (w * 100).toFixed(2), b = b.replace(h, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Bl}"/>${Math.abs(+w)}%</span>`))) : L === "percent" ? (w = +w, isNaN(w) || (w = (w * 100).toFixed(2), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}%</span>`))) : e.format === "money" ? (w = +w, isNaN(w) || (w = Rt(w), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : L === "thousands" ? (w = +w, isNaN(w) || (w = Tl(w), b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : b = b.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`);
2059
2079
  } else
2060
2080
  b = b.replace(h, e.variableDefaultValue);
2061
2081
  }
2062
2082
  return `<span>${b}</span>`;
2063
2083
  }), { pageMode: a } = $(ce, {
2064
2084
  pageMode: "normal"
2065
- }), i = Ae(e), r = _(!1), s = async () => {
2085
+ }), i = Ae(e), s = I(!1), r = async () => {
2066
2086
  var g;
2067
2087
  if (k(a) !== "design")
2068
2088
  try {
2069
- r.value = !0;
2089
+ s.value = !0;
2070
2090
  const b = await i();
2071
2091
  t.value = ((g = b == null ? void 0 : b.data) == null ? void 0 : g.data) || {};
2072
2092
  } catch (b) {
2073
2093
  console.error(b);
2074
2094
  } finally {
2075
- r.value = !1;
2095
+ s.value = !1;
2076
2096
  }
2077
2097
  }, l = () => {
2078
- e.dataType !== "static" && s();
2098
+ e.dataType !== "static" && r();
2079
2099
  };
2080
2100
  ge(e, {
2081
2101
  refreshData: l
@@ -2108,33 +2128,33 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2108
2128
  return {
2109
2129
  style: n,
2110
2130
  myText: o,
2111
- loading: r,
2131
+ loading: s,
2112
2132
  click: m
2113
2133
  };
2114
2134
  }
2115
2135
  });
2116
2136
  const Ul = ["innerHTML"];
2117
2137
  function ql(e, n, t, o, a, i) {
2118
- const r = Z("skeleton");
2138
+ const s = Z("skeleton");
2119
2139
  return e.loading ? (E(), R("div", {
2120
2140
  key: 0,
2121
2141
  class: "skeleton-wrapper",
2122
2142
  style: G(e.style)
2123
2143
  }, [
2124
- j(r, { loading: e.loading }, null, 8, ["loading"])
2144
+ j(s, { loading: e.loading }, null, 8, ["loading"])
2125
2145
  ], 4)) : (E(), R("div", {
2126
2146
  key: 1,
2127
2147
  class: "ecan-text",
2128
2148
  style: G(e.style),
2129
2149
  innerHTML: e.myText,
2130
- onClick: n[0] || (n[0] = (...s) => e.click && e.click(...s))
2150
+ onClick: n[0] || (n[0] = (...r) => e.click && e.click(...r))
2131
2151
  }, null, 12, Ul));
2132
2152
  }
2133
- const jl = /* @__PURE__ */ K(Gl, [["render", ql], ["__scopeId", "data-v-d95aef76"]]), Wl = oe(jl), Vl = Q({
2153
+ const jl = /* @__PURE__ */ K(Gl, [["render", ql], ["__scopeId", "data-v-2309a080"]]), Wl = oe(jl), Vl = Q({
2134
2154
  name: "EcanScrollText",
2135
2155
  setup() {
2136
2156
  return {
2137
- text: _("基础文本")
2157
+ text: I("基础文本")
2138
2158
  };
2139
2159
  }
2140
2160
  });
@@ -2157,13 +2177,13 @@ const Jl = /* @__PURE__ */ K(Vl, [["render", Zl], ["__scopeId", "data-v-4dd9c03e
2157
2177
  fontWeight: 400,
2158
2178
  textShadow: "",
2159
2179
  verticalAlign: "middle"
2160
- }, Nn = ae(Dn), Ql = Q({
2180
+ }, zn = ae(Dn), Ql = Q({
2161
2181
  name: "EcanTimeDisplay",
2162
2182
  props: {
2163
- ...Nn
2183
+ ...zn
2164
2184
  },
2165
2185
  setup(e) {
2166
- const n = ie(e), t = _(Me().format(e.format));
2186
+ const n = ie(e), t = I(Me().format(e.format));
2167
2187
  let o = null;
2168
2188
  const a = () => {
2169
2189
  clearInterval(o), o = null;
@@ -2188,7 +2208,7 @@ function Kl(e, n, t, o, a, i) {
2188
2208
  style: G(e.style)
2189
2209
  }, he(e.time), 5);
2190
2210
  }
2191
- const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3"]]), ei = oe(Xl), zn = {
2211
+ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3"]]), ei = oe(Xl), Nn = {
2192
2212
  ...re,
2193
2213
  type: "ecanList",
2194
2214
  name: "列表",
@@ -2221,14 +2241,14 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3
2221
2241
  key: "age"
2222
2242
  }
2223
2243
  ]
2224
- }, $n = ae(zn), ti = ["refreshData", "click"], ni = Q({
2244
+ }, $n = ae(Nn), ti = ["refreshData", "click"], ni = Q({
2225
2245
  name: "EcanList",
2226
2246
  components: { Skeleton: gt },
2227
2247
  props: {
2228
2248
  ...$n
2229
2249
  },
2230
2250
  setup(e) {
2231
- const n = _(e.data), t = ie(e, ["backgroundColor"]), o = q(() => e.useRanking ? {
2251
+ const n = I(e.data), t = ie(e, ["backgroundColor"]), o = q(() => e.useRanking ? {
2232
2252
  textAlign: "center"
2233
2253
  } : {
2234
2254
  textAlign: "left"
@@ -2246,14 +2266,14 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3
2246
2266
  case y < 0:
2247
2267
  return "goDown";
2248
2268
  }
2249
- }, r = Ae(e), { pageMode: s } = $(ce, {
2269
+ }, s = Ae(e), { pageMode: r } = $(ce, {
2250
2270
  pageMode: "normal"
2251
- }), l = _(!1), d = async () => {
2271
+ }), l = I(!1), d = async () => {
2252
2272
  var f;
2253
- if (!(e.dataType !== "request" || k(s) === "design"))
2273
+ if (!(e.dataType !== "request" || k(r) === "design"))
2254
2274
  try {
2255
2275
  l.value = !0;
2256
- const v = await r();
2276
+ const v = await s();
2257
2277
  n.value = ((f = v == null ? void 0 : v.data) == null ? void 0 : f.data.rows) || [];
2258
2278
  } catch (v) {
2259
2279
  console.error(v);
@@ -2305,23 +2325,23 @@ const oi = (e) => (sn("data-v-baf2ff0c"), e = e(), cn(), e), ai = {
2305
2325
  class: "empty"
2306
2326
  };
2307
2327
  function ui(e, n, t, o, a, i) {
2308
- const r = Z("skeleton");
2328
+ const s = Z("skeleton");
2309
2329
  return E(), R("div", {
2310
2330
  class: "ecan-list",
2311
2331
  style: G(e.style)
2312
2332
  }, [
2313
- j(r, { loading: e.loading }, {
2333
+ j(s, { loading: e.loading }, {
2314
2334
  default: Y(() => [
2315
2335
  e.useTitle ? (E(), R("div", ai, [
2316
- (E(!0), R(Le, null, Ie(e.columnCount, (s) => (E(), R("div", {
2336
+ (E(!0), R(Le, null, Ie(e.columnCount, (r) => (E(), R("div", {
2317
2337
  class: "title-inner",
2318
2338
  style: G({
2319
2339
  backgroundColor: e.backgroundColor,
2320
2340
  height: e.itemHeight,
2321
2341
  width: `calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount - 1}/ ${e.columnCount})`,
2322
- marginRight: s % e.columnCount !== 0 ? e.itemColSpan : ""
2342
+ marginRight: r % e.columnCount !== 0 ? e.itemColSpan : ""
2323
2343
  }),
2324
- key: s
2344
+ key: r
2325
2345
  }, [
2326
2346
  e.useRanking ? (E(), R("div", li)) : pe("", !0),
2327
2347
  (E(!0), R(Le, null, Ie(e.columns, (l, d) => (E(), R("div", {
@@ -2342,7 +2362,7 @@ function ui(e, n, t, o, a, i) {
2342
2362
  marginBottom: e.itemRowSpan
2343
2363
  })
2344
2364
  }, null, 4)) : pe("", !0),
2345
- (E(!0), R(Le, null, Ie(e.dataSource.slice(0, e.sliceCount), (s, l) => (E(), R("div", {
2365
+ (E(!0), R(Le, null, Ie(e.dataSource.slice(0, e.sliceCount), (r, l) => (E(), R("div", {
2346
2366
  class: "item",
2347
2367
  style: G({
2348
2368
  backgroundColor: e.backgroundColor,
@@ -2351,7 +2371,7 @@ function ui(e, n, t, o, a, i) {
2351
2371
  marginRight: (l + 1) % e.columnCount !== 0 ? e.itemColSpan : "",
2352
2372
  marginBottom: e.itemRowSpan
2353
2373
  }),
2354
- key: s.id || l,
2374
+ key: r.id || l,
2355
2375
  onClick: n[0] || (n[0] = (...d) => e.click && e.click(...d))
2356
2376
  }, [
2357
2377
  e.useRanking ? (E(), R("div", ri, [
@@ -2359,15 +2379,15 @@ function ui(e, n, t, o, a, i) {
2359
2379
  X("div", ci, " Top " + he(l + 1), 1)
2360
2380
  ])) : pe("", !0),
2361
2381
  (E(!0), R(Le, null, Ie(e.columns, (d) => (E(), R("div", {
2362
- class: xt(["column", e.contrastClass(s[d.key], d.format)]),
2382
+ class: xt(["column", e.contrastClass(r[d.key], d.format)]),
2363
2383
  key: d.key,
2364
2384
  style: G({
2365
2385
  fontSize: d.fontSize,
2366
- color: e.contrastClass(s[d.key], d.format) === "" ? d.color : "",
2386
+ color: e.contrastClass(r[d.key], d.format) === "" ? d.color : "",
2367
2387
  fontWeight: d.fontWeight,
2368
2388
  ...e.columnStyle
2369
2389
  })
2370
- }, he((d.format != null || d.format !== "") && e.formatFn(s[d.key], d.format)), 7))), 128))
2390
+ }, he((d.format != null || d.format !== "") && e.formatFn(r[d.key], d.format)), 7))), 128))
2371
2391
  ], 4))), 128))
2372
2392
  ])) : (E(), R("div", di, " 暂无数据 "))
2373
2393
  ]),
@@ -2413,7 +2433,7 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2413
2433
  }), t = ie(e), o = q(() => {
2414
2434
  const f = e.width;
2415
2435
  return parseFloat(f);
2416
- }), a = _({});
2436
+ }), a = I({});
2417
2437
  ne(() => e.data, () => {
2418
2438
  (e.dataType === "static" || k(n) === "design") && (a.value = e.data);
2419
2439
  }, {
@@ -2427,43 +2447,43 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2427
2447
  const y = e.text.match(/\{.+\}/g) || [];
2428
2448
  let h;
2429
2449
  const A = new Set(Object.keys(f));
2430
- for (let C = 0; C < y.length; C++) {
2431
- const B = y[C], I = B.slice(1, B.length - 1);
2432
- if (A.has(I)) {
2433
- h = f[I];
2450
+ for (let x = 0; x < y.length; x++) {
2451
+ const B = y[x], w = B.slice(1, B.length - 1);
2452
+ if (A.has(w)) {
2453
+ h = f[w];
2434
2454
  break;
2435
2455
  }
2436
2456
  }
2437
2457
  return typeof h == "number" ? h = h * 100 : typeof h == "string" && !isNaN(+h) ? h = +h * 100 : isNaN(v) ? h = 0 : h = v * 100, e.decimalFormat && (h = +h.toFixed(2)), h;
2438
- }), r = q(() => {
2458
+ }), s = q(() => {
2439
2459
  var A;
2440
2460
  let f = e.text;
2441
2461
  if (f === "")
2442
2462
  return k(i);
2443
2463
  const v = e.variableDefaultValue, y = k(a), h = f.match(/\{.+\}/g) || [];
2444
- for (let C = 0; C < h.length; C++) {
2445
- const B = h[C];
2446
- let I = B.slice(1, B.length - 1);
2447
- const M = I.match(/.*/g);
2448
- for (let u = 0; u < (M == null ? void 0 : M.length); u++) {
2449
- const p = (A = M[C]) == null ? void 0 : A.trim();
2450
- y[p] != null ? I = I.replace(p, y[p]) : I = I.replace(p, v);
2464
+ for (let x = 0; x < h.length; x++) {
2465
+ const B = h[x];
2466
+ let w = B.slice(1, B.length - 1);
2467
+ const L = w.match(/.*/g);
2468
+ for (let u = 0; u < (L == null ? void 0 : L.length); u++) {
2469
+ const p = (A = L[x]) == null ? void 0 : A.trim();
2470
+ y[p] != null ? w = w.replace(p, y[p]) : w = w.replace(p, v);
2451
2471
  }
2452
- let w = I;
2472
+ let C = w;
2453
2473
  try {
2454
- /\w+[+\-*/%]+\w+/g.test(I) && (w = (0, eval)(I));
2474
+ /\w+[+\-*/%]+\w+/g.test(w) && (C = (0, eval)(w));
2455
2475
  } catch (u) {
2456
2476
  console.error(u);
2457
2477
  }
2458
- (typeof w == "number" || !isNaN(+w)) && (w = +w * 100, e.decimalFormat && (w = w.toFixed(2))), f = f.replace(B, w + "");
2478
+ (typeof C == "number" || !isNaN(+C)) && (C = +C * 100, e.decimalFormat && (C = C.toFixed(2))), f = f.replace(B, C + "");
2459
2479
  }
2460
2480
  return f;
2461
- }), s = Ae(e), l = _(!1), d = async () => {
2481
+ }), r = Ae(e), l = I(!1), d = async () => {
2462
2482
  var f;
2463
2483
  if (!(e.dataType !== "request" || k(n) === "design"))
2464
2484
  try {
2465
2485
  l.value = !0;
2466
- const v = await s();
2486
+ const v = await r();
2467
2487
  a.value = ((f = v == null ? void 0 : v.data) == null ? void 0 : f.data) || {};
2468
2488
  } catch (v) {
2469
2489
  console.error(v);
@@ -2490,7 +2510,7 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2490
2510
  }), {
2491
2511
  style: t,
2492
2512
  myWidth: o,
2493
- text: r,
2513
+ text: s,
2494
2514
  myValue: i,
2495
2515
  loading: l,
2496
2516
  click: g
@@ -2498,12 +2518,12 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2498
2518
  }
2499
2519
  });
2500
2520
  function yi(e, n, t, o, a, i) {
2501
- const r = Z("skeleton"), s = Z("a-progress");
2521
+ const s = Z("skeleton"), r = Z("a-progress");
2502
2522
  return E(), R("div", {
2503
2523
  class: "ecan-proportion",
2504
2524
  style: G(e.style)
2505
2525
  }, [
2506
- j(s, {
2526
+ j(r, {
2507
2527
  class: "progress",
2508
2528
  percent: e.myValue,
2509
2529
  width: e.myWidth,
@@ -2516,7 +2536,7 @@ function yi(e, n, t, o, a, i) {
2516
2536
  onClick: e.click
2517
2537
  }, {
2518
2538
  format: Y(() => [
2519
- e.loading ? (E(), Oe(r, {
2539
+ e.loading ? (E(), Oe(s, {
2520
2540
  key: 0,
2521
2541
  loading: e.loading
2522
2542
  }, null, 8, ["loading"])) : (E(), R("div", {
@@ -2556,7 +2576,7 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2556
2576
  ...Un
2557
2577
  },
2558
2578
  setup(e) {
2559
- const n = ie(e), t = _("");
2579
+ const n = ie(e), t = I("");
2560
2580
  ne(() => e.value, (c) => {
2561
2581
  t.value = c;
2562
2582
  }, {
@@ -2576,12 +2596,12 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2576
2596
  type: e.type,
2577
2597
  value: t
2578
2598
  });
2579
- const r = () => {
2599
+ const s = () => {
2580
2600
  const c = a(o);
2581
2601
  i(o, { ...c, RECORD: t });
2582
- }, s = ue(e), l = It(s("inputChange", () => {
2583
- r();
2584
- }), 300), d = s("inputBlur", () => {
2602
+ }, r = ue(e), l = It(r("inputChange", () => {
2603
+ s();
2604
+ }), 300), d = r("inputBlur", () => {
2585
2605
  });
2586
2606
  return {
2587
2607
  style: n,
@@ -2592,15 +2612,15 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2592
2612
  }
2593
2613
  });
2594
2614
  function Si(e, n, t, o, a, i) {
2595
- const r = Z("a-input");
2615
+ const s = Z("a-input");
2596
2616
  return E(), R("div", {
2597
2617
  class: "ecan-input",
2598
2618
  style: G(e.style)
2599
2619
  }, [
2600
- j(r, {
2620
+ j(s, {
2601
2621
  class: "input",
2602
2622
  value: e.myValue,
2603
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2623
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2604
2624
  placeholder: e.placeholder,
2605
2625
  onChange: e.inputChange,
2606
2626
  onBlur: e.inputBlur
@@ -2633,10 +2653,10 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2633
2653
  ADatePicker: Wo
2634
2654
  },
2635
2655
  setup(e) {
2636
- const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = _(null);
2637
- ne(() => [e.value, e.useCurrentTime, e.operate], ([s, l, d]) => {
2656
+ const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I(null);
2657
+ ne(() => [e.value, e.useCurrentTime, e.operate], ([r, l, d]) => {
2638
2658
  let c = null;
2639
- if (s ? c = Me(s) : l && (c = Me()), d && c) {
2659
+ if (r ? c = Me(r) : l && (c = Me()), d && c) {
2640
2660
  const { type: m, value: g, mode: b } = d;
2641
2661
  switch (m) {
2642
2662
  case "add":
@@ -2654,7 +2674,7 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2654
2674
  const { setGlobalModel: a } = $(de, {
2655
2675
  // @ts-ignore
2656
2676
  // eslint-disable-next-line no-void
2657
- setGlobalModel: (s, l) => {
2677
+ setGlobalModel: (r, l) => {
2658
2678
  }
2659
2679
  });
2660
2680
  a(e.id, {
@@ -2662,30 +2682,30 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2662
2682
  format: e.format,
2663
2683
  value: o
2664
2684
  });
2665
- const r = ue(e)("dateChange", () => {
2685
+ const s = ue(e)("dateChange", () => {
2666
2686
  });
2667
2687
  return ge(e, {
2668
- dateChange: r
2688
+ dateChange: s
2669
2689
  }), {
2670
2690
  style: n,
2671
2691
  getPopupContainer: t,
2672
2692
  myValue: o,
2673
2693
  locale: gn,
2674
- dateChange: r
2694
+ dateChange: s
2675
2695
  };
2676
2696
  }
2677
2697
  });
2678
2698
  function Ti(e, n, t, o, a, i) {
2679
- const r = Z("a-date-picker");
2699
+ const s = Z("a-date-picker");
2680
2700
  return E(), R("div", {
2681
2701
  class: "ecan-date-picker",
2682
2702
  style: G(e.style)
2683
2703
  }, [
2684
- j(r, {
2704
+ j(s, {
2685
2705
  class: "date-picker",
2686
2706
  dropdownClassName: "ecan-date-picker-dropdown",
2687
2707
  value: e.myValue,
2688
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2708
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2689
2709
  format: e.format,
2690
2710
  picker: e.picker,
2691
2711
  showTime: e.showTime,
@@ -2722,20 +2742,20 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2722
2742
  setup(e) {
2723
2743
  const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = Ae(e), { pageMode: a } = $(ce, {
2724
2744
  pageMode: "normal"
2725
- }), i = _(e.data), r = _(e.value || e.data[0]), s = e.dataFieldNames, l = (y, h) => {
2726
- const A = s.label, C = s.value;
2745
+ }), i = I(e.data), s = I(e.value || e.data[0]), r = e.dataFieldNames, l = (y, h) => {
2746
+ const A = r.label, x = r.value;
2727
2747
  let B;
2728
- const I = h[A], M = h[C];
2729
- return I != null ? B = I : M != null && (B = M), (B == null ? void 0 : B.toLowerCase().indexOf(y == null ? void 0 : y.toLowerCase())) >= 0;
2730
- }, d = _(!1), c = async () => {
2748
+ const w = h[A], L = h[x];
2749
+ return w != null ? B = w : L != null && (B = L), (B == null ? void 0 : B.toLowerCase().indexOf(y == null ? void 0 : y.toLowerCase())) >= 0;
2750
+ }, d = I(!1), c = async () => {
2731
2751
  var y, h;
2732
2752
  if (!(e.dataType !== "request" || k(a) === "design")) {
2733
2753
  d.value = !0;
2734
2754
  try {
2735
2755
  const A = await o();
2736
2756
  i.value = ((h = (y = A == null ? void 0 : A.data) == null ? void 0 : y.data) == null ? void 0 : h.rows) || [];
2737
- const C = k(i)[0];
2738
- e.value === "" && C != null && (r.value = C[s.value]);
2757
+ const x = k(i)[0];
2758
+ e.value === "" && x != null && (s.value = x[r.value]);
2739
2759
  } catch (A) {
2740
2760
  console.error(A);
2741
2761
  } finally {
@@ -2754,11 +2774,11 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2754
2774
  });
2755
2775
  g(e.id, {
2756
2776
  type: e.type,
2757
- value: r
2777
+ value: s
2758
2778
  });
2759
2779
  const f = ue(e)("selectChange", () => {
2760
2780
  const y = e.id, h = m(y);
2761
- g(y, { ...h, RECORD: r });
2781
+ g(y, { ...h, RECORD: s });
2762
2782
  });
2763
2783
  ge(e, {
2764
2784
  selectChange: f
@@ -2776,7 +2796,7 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2776
2796
  }), {
2777
2797
  style: n,
2778
2798
  getPopupContainer: t,
2779
- myValue: r,
2799
+ myValue: s,
2780
2800
  selectChange: f,
2781
2801
  options: i,
2782
2802
  filterOption: l,
@@ -2785,15 +2805,15 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2785
2805
  }
2786
2806
  });
2787
2807
  function Ei(e, n, t, o, a, i) {
2788
- const r = Z("a-select");
2808
+ const s = Z("a-select");
2789
2809
  return E(), R("div", {
2790
2810
  class: "ecan-select",
2791
2811
  style: G(e.style)
2792
2812
  }, [
2793
- j(r, {
2813
+ j(s, {
2794
2814
  class: "select",
2795
2815
  value: e.myValue,
2796
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2816
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2797
2817
  options: e.options,
2798
2818
  mode: e.mode,
2799
2819
  getPopupContainer: e.getPopupContainer,
@@ -2830,17 +2850,17 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2830
2850
  ...Zn
2831
2851
  },
2832
2852
  setup(e) {
2833
- const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = _([null, null]);
2853
+ const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I([null, null]);
2834
2854
  ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, c, m, g, b, f]) => {
2835
2855
  let v = null, y = null;
2836
2856
  if (m && (v = Me().subtract(g, b), y = Me()), d && (v = Me(d)), c && (y = Me(c)), f) {
2837
- const { type: h, value: A, mode: C } = f;
2857
+ const { type: h, value: A, mode: x } = f;
2838
2858
  switch (h) {
2839
2859
  case "add":
2840
- v = v && v.add(A, C), y = y && y.add(A, C);
2860
+ v = v && v.add(A, x), y = y && y.add(A, x);
2841
2861
  break;
2842
2862
  case "minus":
2843
- v = v && v.subtract(A, C), y = y && y.subtract(A, C);
2863
+ v = v && v.subtract(A, x), y = y && y.subtract(A, x);
2844
2864
  }
2845
2865
  }
2846
2866
  o.value = [v, y];
@@ -2852,12 +2872,12 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2852
2872
  // eslint-disable-next-line no-void
2853
2873
  setGlobalModel: (d, c) => {
2854
2874
  }
2855
- }), i = q(() => k(o)[0]), r = q(() => k(o)[1]);
2875
+ }), i = q(() => k(o)[0]), s = q(() => k(o)[1]);
2856
2876
  a(e.id, {
2857
2877
  type: e.type,
2858
2878
  format: e.format,
2859
2879
  startTime: i,
2860
- endTime: r
2880
+ endTime: s
2861
2881
  });
2862
2882
  const l = ue(e)("dateChange", () => {
2863
2883
  });
@@ -2872,17 +2892,17 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2872
2892
  };
2873
2893
  }
2874
2894
  });
2875
- function Ni(e, n, t, o, a, i) {
2876
- const r = Z("a-range-picker");
2895
+ function zi(e, n, t, o, a, i) {
2896
+ const s = Z("a-range-picker");
2877
2897
  return E(), R("div", {
2878
2898
  class: "ecan-range-picker",
2879
2899
  style: G(e.style)
2880
2900
  }, [
2881
- j(r, {
2901
+ j(s, {
2882
2902
  class: "range-picker",
2883
2903
  dropdownClassName: "ecan-range-picker-dropdown",
2884
2904
  value: e.myValue,
2885
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2905
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2886
2906
  format: e.format,
2887
2907
  picker: e.picker,
2888
2908
  locale: e.locale,
@@ -2891,7 +2911,7 @@ function Ni(e, n, t, o, a, i) {
2891
2911
  }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "onChange"])
2892
2912
  ], 4);
2893
2913
  }
2894
- const zi = /* @__PURE__ */ K(Di, [["render", Ni], ["__scopeId", "data-v-adf450ac"]]), $i = oe(zi), Jn = {
2914
+ const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-adf450ac"]]), $i = oe(Ni), Jn = {
2895
2915
  ...re,
2896
2916
  width: "200px",
2897
2917
  name: "按钮",
@@ -2915,35 +2935,35 @@ const zi = /* @__PURE__ */ K(Di, [["render", Ni], ["__scopeId", "data-v-adf450ac
2915
2935
  },
2916
2936
  setup(e) {
2917
2937
  const n = ie(e), o = ue(e)("click", () => {
2918
- const s = k(i);
2919
- s && e.target === "event" && window.parent.postMessage({
2938
+ const r = k(i);
2939
+ r && e.target === "event" && window.parent.postMessage({
2920
2940
  type: "openPage",
2921
- url: s
2941
+ url: r
2922
2942
  }, "*");
2923
- }), a = q(() => be(e.text)), i = q(() => be(e.href) || null), r = q(() => {
2924
- const s = e.target;
2925
- if (!(s === "event" || k(i) == null))
2943
+ }), a = q(() => be(e.text)), i = q(() => be(e.href) || null), s = q(() => {
2944
+ const r = e.target;
2945
+ if (!(r === "event" || k(i) == null))
2926
2946
  return {
2927
2947
  self: "_self",
2928
2948
  blank: "_blank"
2929
- }[s];
2949
+ }[r];
2930
2950
  });
2931
2951
  return {
2932
2952
  style: n,
2933
2953
  click: o,
2934
2954
  myText: a,
2935
2955
  myHref: i,
2936
- myTarget: r
2956
+ myTarget: s
2937
2957
  };
2938
2958
  }
2939
2959
  });
2940
2960
  function Gi(e, n, t, o, a, i) {
2941
- const r = Z("a-button");
2961
+ const s = Z("a-button");
2942
2962
  return E(), R("div", {
2943
2963
  class: "ecan-button",
2944
2964
  style: G(e.style)
2945
2965
  }, [
2946
- j(r, {
2966
+ j(s, {
2947
2967
  block: "",
2948
2968
  onClick: e.click,
2949
2969
  type: e.mode,
@@ -2989,7 +3009,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
2989
3009
  ...Kn
2990
3010
  },
2991
3011
  setup(e) {
2992
- const n = ie(e), t = _([]), o = _([]), a = (f) => {
3012
+ const n = ie(e), t = I([]), o = I([]), a = (f) => {
2993
3013
  const v = e.value;
2994
3014
  let y = [];
2995
3015
  f.forEach((h) => {
@@ -3002,11 +3022,11 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3002
3022
  immediate: !0,
3003
3023
  deep: !0
3004
3024
  });
3005
- const i = Ae(e), { pageMode: r } = $(ce, {
3025
+ const i = Ae(e), { pageMode: s } = $(ce, {
3006
3026
  pageMode: "normal"
3007
- }), s = async () => {
3027
+ }), r = async () => {
3008
3028
  var y, h;
3009
- if (e.dataType !== "request" || k(r) === "design")
3029
+ if (e.dataType !== "request" || k(s) === "design")
3010
3030
  return;
3011
3031
  const f = await i(), v = ((h = (y = f == null ? void 0 : f.data) == null ? void 0 : y.data) == null ? void 0 : h.rows) || [];
3012
3032
  a(v);
@@ -3035,7 +3055,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3035
3055
  });
3036
3056
  return b({
3037
3057
  id: e.id,
3038
- requestFn: s,
3058
+ requestFn: r,
3039
3059
  sortNum: e.requestSort
3040
3060
  }), {
3041
3061
  myOption: t,
@@ -3046,15 +3066,15 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3046
3066
  }
3047
3067
  });
3048
3068
  function Vi(e, n, t, o, a, i) {
3049
- const r = Z("a-checkbox-group");
3069
+ const s = Z("a-checkbox-group");
3050
3070
  return E(), R("div", {
3051
3071
  class: "ecan-checkbox",
3052
3072
  style: G(e.style)
3053
3073
  }, [
3054
- j(r, {
3074
+ j(s, {
3055
3075
  options: e.myOption,
3056
3076
  value: e.myValue,
3057
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
3077
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
3058
3078
  onChange: e.checkboxChange
3059
3079
  }, null, 8, ["options", "value", "onChange"])
3060
3080
  ], 4);
@@ -3125,8 +3145,8 @@ const Hi = /* @__PURE__ */ K(Wi, [["render", Vi]]), Zi = oe(Hi), Xn = {
3125
3145
  var l;
3126
3146
  const n = await xe.post(e, {}, {
3127
3147
  responseType: "blob"
3128
- }), { data: t, headers: o } = n, a = o["content-disposition"].replace(/\w+;filename=(.*)/, "$1"), i = new Blob([t]), r = document.createElement("a"), s = window.URL.createObjectURL(i);
3129
- r.href = s, r.download = decodeURI(a), r.style.display = "none", document.body.appendChild(r), r.click(), (l = r.parentNode) == null || l.removeChild(r), window.URL.revokeObjectURL(s);
3148
+ }), { data: t, headers: o } = n, a = o["content-disposition"].replace(/\w+;filename=(.*)/, "$1"), i = new Blob([t]), s = document.createElement("a"), r = window.URL.createObjectURL(i);
3149
+ s.href = r, s.download = decodeURI(a), s.style.display = "none", document.body.appendChild(s), s.click(), (l = s.parentNode) == null || l.removeChild(s), window.URL.revokeObjectURL(r);
3130
3150
  };
3131
3151
  $e([
3132
3152
  Pe,
@@ -3143,18 +3163,18 @@ const Yi = Q({
3143
3163
  },
3144
3164
  components: {
3145
3165
  Spin: et,
3146
- Echarts: Ne,
3166
+ Echarts: ze,
3147
3167
  AModal: ke
3148
3168
  },
3149
3169
  setup(e) {
3150
- const n = ie(e), t = _([]), o = _(!1), a = () => {
3170
+ const n = ie(e), t = I([]), o = I(!1), a = () => {
3151
3171
  o.value = !1;
3152
3172
  }, i = q(() => {
3153
- let { data: M = [] } = k(t)[0] || {};
3173
+ let { data: L = [] } = k(t)[0] || {};
3154
3174
  if (Array.isArray(e.colors)) {
3155
- const w = e.isUseLabelColors, u = e.colors;
3156
- M = M.map((p, x) => ({
3157
- label: w ? { color: u[x] } : {},
3175
+ const C = e.isUseLabelColors, u = e.colors;
3176
+ L = L.map((p, T) => ({
3177
+ label: C ? { color: u[T] } : {},
3158
3178
  ...p
3159
3179
  }));
3160
3180
  }
@@ -3211,20 +3231,20 @@ const Yi = Q({
3211
3231
  tooltip: {
3212
3232
  show: e.tooltipShow,
3213
3233
  trigger: e.tooltipTrigger,
3214
- formatter: (w) => {
3215
- const { marker: u, seriesName: p, name: x, value: F, percent: S, data: T } = w || {};
3234
+ formatter: (C) => {
3235
+ const { marker: u, seriesName: p, name: T, value: F, percent: S, data: _ } = C || {};
3216
3236
  return be(
3217
3237
  e.tooltipFormatter,
3218
3238
  {
3219
3239
  marker: u,
3220
- name: x,
3240
+ name: T,
3221
3241
  value: F,
3222
3242
  percent: S,
3223
3243
  a: p,
3224
- b: x,
3244
+ b: T,
3225
3245
  c: F,
3226
3246
  d: S,
3227
- ...T
3247
+ ..._
3228
3248
  },
3229
3249
  {
3230
3250
  useNewline: !0,
@@ -3249,7 +3269,7 @@ const Yi = Q({
3249
3269
  color: e.colors,
3250
3270
  series: [
3251
3271
  {
3252
- data: M,
3272
+ data: L,
3253
3273
  type: "pie",
3254
3274
  radius: [e.innerRadius, e.outerRadius],
3255
3275
  center: [e.centerLeft, e.centerTop],
@@ -3284,60 +3304,60 @@ const Yi = Q({
3284
3304
  }
3285
3305
  ]
3286
3306
  };
3287
- }), { getGlobalModel: r, setGlobalModel: s } = $(de, {
3307
+ }), { getGlobalModel: s, setGlobalModel: r } = $(de, {
3288
3308
  // @ts-ignore
3289
3309
  // eslint-disable-next-line no-void
3290
- getGlobalModel: (M) => {
3310
+ getGlobalModel: (L) => {
3291
3311
  },
3292
3312
  // @ts-ignore
3293
3313
  // eslint-disable-next-line no-void
3294
- setGlobalModel: (M, w) => {
3314
+ setGlobalModel: (L, C) => {
3295
3315
  }
3296
3316
  }), { pageMode: l } = $(ce, {
3297
3317
  pageMode: "normal"
3298
- }), d = (M = [], w) => {
3299
- const { dataset: u } = Ye(M, w);
3318
+ }), d = (L = [], C) => {
3319
+ const { dataset: u } = Ye(L, C);
3300
3320
  t.value = u;
3301
- }, c = (M = [], w) => {
3302
- const u = Ye(M, w);
3321
+ }, c = (L = [], C) => {
3322
+ const u = Ye(L, C);
3303
3323
  t.value = u.dataset;
3304
3324
  };
3305
- ne(() => e.data, (M) => {
3306
- (e.dataType === "static" || k(l) === "design") && d(M);
3325
+ ne(() => e.data, (L) => {
3326
+ (e.dataType === "static" || k(l) === "design") && d(L);
3307
3327
  }, {
3308
3328
  immediate: !0,
3309
3329
  deep: !0
3310
3330
  });
3311
- const m = _(!1), g = Ae(e), b = async () => {
3312
- var M, w;
3331
+ const m = I(!1), g = Ae(e), b = async () => {
3332
+ var L, C;
3313
3333
  if (!(e.dataType !== "request" || k(l) === "design"))
3314
3334
  try {
3315
3335
  m.value = !0;
3316
3336
  const u = await g();
3317
- d((w = (M = u == null ? void 0 : u.data) == null ? void 0 : M.data) == null ? void 0 : w.rows, e.valueTypeDataFieldNames);
3337
+ d((C = (L = u == null ? void 0 : u.data) == null ? void 0 : L.data) == null ? void 0 : C.rows, e.valueTypeDataFieldNames);
3318
3338
  } catch (u) {
3319
3339
  console.error(u);
3320
3340
  } finally {
3321
3341
  m.value = !1;
3322
3342
  }
3323
- }, v = ue(e)("click", (M) => {
3324
- const w = e.id, u = r(w);
3325
- s(w, { ...u, RECORD: M == null ? void 0 : M.data });
3343
+ }, v = ue(e)("click", (L) => {
3344
+ const C = e.id, u = s(C);
3345
+ r(C, { ...u, RECORD: L == null ? void 0 : L.data });
3326
3346
  }), y = Dt(e), h = async () => {
3327
- var M, w, u, p, x, F;
3347
+ var L, C, u, p, T, F;
3328
3348
  if (!(e.dataType !== "indicator" || k(l) === "design"))
3329
3349
  try {
3330
3350
  m.value = !0;
3331
3351
  const S = await y();
3332
- let T = [];
3333
- if (((u = (w = (M = S == null ? void 0 : S.data) == null ? void 0 : M.data) == null ? void 0 : w.columns) == null ? void 0 : u.length) > 0) {
3352
+ let _ = [];
3353
+ if (((u = (C = (L = S == null ? void 0 : S.data) == null ? void 0 : L.data) == null ? void 0 : C.columns) == null ? void 0 : u.length) > 0) {
3334
3354
  const U = S.data.data.columns[0], H = S.data.data.columns[1];
3335
- T = (F = (x = (p = S == null ? void 0 : S.data) == null ? void 0 : p.data) == null ? void 0 : x.rows) == null ? void 0 : F.map((O) => ({
3355
+ _ = (F = (T = (p = S == null ? void 0 : S.data) == null ? void 0 : p.data) == null ? void 0 : T.rows) == null ? void 0 : F.map((O) => ({
3336
3356
  name: O[U],
3337
3357
  value: O[H]
3338
3358
  }));
3339
3359
  }
3340
- c(T);
3360
+ c(_);
3341
3361
  } catch (S) {
3342
3362
  console.error(S);
3343
3363
  } finally {
@@ -3348,21 +3368,21 @@ const Yi = Q({
3348
3368
  };
3349
3369
  ge(e, {
3350
3370
  resetRecord: () => {
3351
- const M = e.id, w = r(M);
3352
- s(M, { ...w, RECORD: "" });
3371
+ const L = e.id, C = s(L);
3372
+ r(L, { ...C, RECORD: "" });
3353
3373
  },
3354
3374
  refreshData: () => {
3355
3375
  A();
3356
3376
  },
3357
3377
  click: v
3358
3378
  });
3359
- const { setRequest: I } = $(Ce, {
3379
+ const { setRequest: w } = $(Ce, {
3360
3380
  // @ts-ignore
3361
3381
  // eslint-disable-next-line no-void
3362
- setRequest: ({ id: M, sortNum: w, requestFn: u }) => {
3382
+ setRequest: ({ id: L, sortNum: C, requestFn: u }) => {
3363
3383
  }
3364
3384
  });
3365
- return I({
3385
+ return w({
3366
3386
  id: e.id,
3367
3387
  requestFn: A,
3368
3388
  sortNum: e.requestSort
@@ -3377,13 +3397,13 @@ const Yi = Q({
3377
3397
  }
3378
3398
  });
3379
3399
  function Qi(e, n, t, o, a, i) {
3380
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
3400
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
3381
3401
  return E(), R("div", {
3382
3402
  style: G(e.style)
3383
3403
  }, [
3384
- j(s, { spinning: e.loading }, {
3404
+ j(r, { spinning: e.loading }, {
3385
3405
  default: Y(() => [
3386
- j(r, {
3406
+ j(s, {
3387
3407
  option: e.option,
3388
3408
  autoresize: "",
3389
3409
  onClick: e.click
@@ -3399,9 +3419,9 @@ function Qi(e, n, t, o, a, i) {
3399
3419
  onCancel: e.hideModal
3400
3420
  }, {
3401
3421
  default: Y(() => [
3402
- j(s, { spinning: e.loading }, {
3422
+ j(r, { spinning: e.loading }, {
3403
3423
  default: Y(() => [
3404
- j(r, {
3424
+ j(s, {
3405
3425
  option: e.option,
3406
3426
  "update-options": { notMerge: !0 },
3407
3427
  autoresize: ""
@@ -3492,14 +3512,14 @@ const tr = Q({
3492
3512
  },
3493
3513
  components: {
3494
3514
  Spin: et,
3495
- Echarts: Ne,
3515
+ Echarts: ze,
3496
3516
  AModal: ke
3497
3517
  },
3498
3518
  setup(e) {
3499
- const n = ie(e), t = _([]), o = _([]), a = _(!1), i = () => {
3519
+ const n = ie(e), t = I([]), o = I([]), a = I(!1), i = () => {
3500
3520
  a.value = !1;
3501
- }, r = q(() => {
3502
- const w = e.xAxisLabelFormatter, u = e.yAxisLabelFormatter;
3521
+ }, s = q(() => {
3522
+ const C = e.xAxisLabelFormatter, u = e.yAxisLabelFormatter;
3503
3523
  return {
3504
3524
  toolbox: {
3505
3525
  show: e.toolboxShow,
@@ -3554,21 +3574,21 @@ const tr = Q({
3554
3574
  trigger: "axis",
3555
3575
  show: e.tooltipShow,
3556
3576
  formatter: (p) => {
3557
- const x = p.length;
3577
+ const T = p.length;
3558
3578
  let F = "", S = e.tooltipFormatter;
3559
3579
  S === "" && (S = "{marker} {a} {c}");
3560
- for (let T = 0; T < x; T++) {
3561
- const { marker: U, seriesName: H, name: O, value: z, data: N } = p[T] || {};
3562
- T === 0 && (F += `${O}<br/>`), F += be(
3580
+ for (let _ = 0; _ < T; _++) {
3581
+ const { marker: U, seriesName: H, name: O, value: N, data: z } = p[_] || {};
3582
+ _ === 0 && (F += `${O}<br/>`), F += be(
3563
3583
  S,
3564
3584
  {
3565
3585
  marker: U,
3566
3586
  name: O,
3567
- value: z,
3587
+ value: N,
3568
3588
  a: H,
3569
3589
  b: O,
3570
- c: z,
3571
- ...N
3590
+ c: N,
3591
+ ...z
3572
3592
  },
3573
3593
  {
3574
3594
  useNewline: !0,
@@ -3592,7 +3612,7 @@ const tr = Q({
3592
3612
  axisLabel: {
3593
3613
  color: e.xAxisLabelColor,
3594
3614
  formatter(p) {
3595
- return De(w, p);
3615
+ return De(C, p);
3596
3616
  }
3597
3617
  },
3598
3618
  axisLine: {
@@ -3634,32 +3654,32 @@ const tr = Q({
3634
3654
  },
3635
3655
  series: k(t)
3636
3656
  };
3637
- }), { getGlobalModel: s, setGlobalModel: l } = $(de, {
3657
+ }), { getGlobalModel: r, setGlobalModel: l } = $(de, {
3638
3658
  // @ts-ignore
3639
3659
  // eslint-disable-next-line no-void
3640
- getGlobalModel: (w) => {
3660
+ getGlobalModel: (C) => {
3641
3661
  },
3642
3662
  // @ts-ignore
3643
3663
  // eslint-disable-next-line no-void
3644
- setGlobalModel: (w, u) => {
3664
+ setGlobalModel: (C, u) => {
3645
3665
  }
3646
3666
  }), { pageMode: d } = $(ce, {
3647
3667
  pageMode: "normal"
3648
- }), c = (w = [], u = !1) => {
3668
+ }), c = (C = [], u = !1) => {
3649
3669
  let p;
3650
3670
  if (e.dataFieldConfigType === "key") {
3651
- const T = u ? e.keyTypeDataFieldNames : null;
3652
- p = ze(w, T);
3671
+ const _ = u ? e.keyTypeDataFieldNames : null;
3672
+ p = Ne(C, _);
3653
3673
  } else if (e.dataFieldConfigType === "value") {
3654
- const T = u ? e.valueTypeDataFieldNames : null;
3655
- p = Ye(w, T);
3674
+ const _ = u ? e.valueTypeDataFieldNames : null;
3675
+ p = Ye(C, _);
3656
3676
  }
3657
3677
  o.value = p.dimensions;
3658
- const x = p.dataset, F = [], S = x.length;
3659
- for (let T = 0; T < S; T++)
3678
+ const T = p.dataset, F = [], S = T.length;
3679
+ for (let _ = 0; _ < S; _++)
3660
3680
  F.push({
3661
3681
  type: "line",
3662
- ...x[T],
3682
+ ...T[_],
3663
3683
  symbolSize: e.symbolSize,
3664
3684
  smooth: e.smooth,
3665
3685
  areaStyle: {
@@ -3683,12 +3703,12 @@ const tr = Q({
3683
3703
  }
3684
3704
  });
3685
3705
  t.value = F;
3686
- }, m = (w = [], u, p = !1) => {
3687
- const F = ze(w, p ? u : null);
3706
+ }, m = (C = [], u, p = !1) => {
3707
+ const F = Ne(C, p ? u : null);
3688
3708
  o.value = F.dimensions;
3689
- const S = F.dataset, T = [], U = S.length;
3709
+ const S = F.dataset, _ = [], U = S.length;
3690
3710
  for (let H = 0; H < U; H++)
3691
- T.push({
3711
+ _.push({
3692
3712
  type: "line",
3693
3713
  ...S[H],
3694
3714
  symbolSize: e.symbolSize,
@@ -3697,70 +3717,70 @@ const tr = Q({
3697
3717
  width: e.lineStyleWidth
3698
3718
  }
3699
3719
  });
3700
- t.value = T;
3720
+ t.value = _;
3701
3721
  };
3702
- ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([w]) => {
3703
- (e.dataType === "static" || k(d) === "design") && c(w);
3722
+ ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([C]) => {
3723
+ (e.dataType === "static" || k(d) === "design") && c(C);
3704
3724
  }, {
3705
3725
  immediate: !0,
3706
3726
  deep: !0
3707
3727
  });
3708
- const g = _(!1), b = Ae(e), f = async () => {
3709
- var w, u;
3728
+ const g = I(!1), b = Ae(e), f = async () => {
3729
+ var C, u;
3710
3730
  if (!(e.dataType !== "request" || k(d) === "design"))
3711
3731
  try {
3712
3732
  g.value = !0;
3713
3733
  const p = await b();
3714
- c((u = (w = p == null ? void 0 : p.data) == null ? void 0 : w.data) == null ? void 0 : u.rows, !0);
3734
+ c((u = (C = p == null ? void 0 : p.data) == null ? void 0 : C.data) == null ? void 0 : u.rows, !0);
3715
3735
  } catch (p) {
3716
3736
  console.error(p);
3717
3737
  } finally {
3718
3738
  g.value = !1;
3719
3739
  }
3720
- }, y = ue(e)("click", (w) => {
3721
- const u = e.id, p = s(u);
3722
- l(u, { ...p, RECORD: w == null ? void 0 : w.data });
3740
+ }, y = ue(e)("click", (C) => {
3741
+ const u = e.id, p = r(u);
3742
+ l(u, { ...p, RECORD: C == null ? void 0 : C.data });
3723
3743
  }), h = Dt(e), A = async () => {
3724
- var w, u, p, x, F;
3744
+ var C, u, p, T, F;
3725
3745
  if (!(e.dataType !== "indicator" || k(d) === "design"))
3726
3746
  try {
3727
3747
  g.value = !0;
3728
3748
  const S = await h();
3729
- let T;
3730
- ((p = (u = (w = S == null ? void 0 : S.data) == null ? void 0 : w.data) == null ? void 0 : u.columns) == null ? void 0 : p.length) > 0 && (T = {
3749
+ let _;
3750
+ ((p = (u = (C = S == null ? void 0 : S.data) == null ? void 0 : C.data) == null ? void 0 : u.columns) == null ? void 0 : p.length) > 0 && (_ = {
3731
3751
  name: S.data.data.columns[0],
3732
3752
  types: S.data.data.columns.slice(1).map((U) => ({ label: U, value: U }))
3733
- }), m((F = (x = S == null ? void 0 : S.data) == null ? void 0 : x.data) == null ? void 0 : F.rows, T, !0);
3753
+ }), m((F = (T = S == null ? void 0 : S.data) == null ? void 0 : T.data) == null ? void 0 : F.rows, _, !0);
3734
3754
  } catch (S) {
3735
3755
  console.error(S);
3736
3756
  } finally {
3737
3757
  g.value = !1;
3738
3758
  }
3739
- }, C = () => {
3759
+ }, x = () => {
3740
3760
  k(d) !== "design" && (A(), f());
3741
3761
  };
3742
3762
  ge(e, {
3743
3763
  refreshData: () => {
3744
- C();
3764
+ x();
3745
3765
  },
3746
3766
  resetRecord: () => {
3747
- const w = e.id, u = s(w);
3748
- l(w, { ...u, RECORD: "" });
3767
+ const C = e.id, u = r(C);
3768
+ l(C, { ...u, RECORD: "" });
3749
3769
  },
3750
3770
  click: y
3751
3771
  });
3752
- const { setRequest: M } = $(Ce, {
3772
+ const { setRequest: L } = $(Ce, {
3753
3773
  // @ts-ignore
3754
3774
  // eslint-disable-next-line no-void
3755
- setRequest: ({ id: w, sortNum: u, requestFn: p }) => {
3775
+ setRequest: ({ id: C, sortNum: u, requestFn: p }) => {
3756
3776
  }
3757
3777
  });
3758
- return M({
3778
+ return L({
3759
3779
  id: e.id,
3760
- requestFn: C,
3780
+ requestFn: x,
3761
3781
  sortNum: e.requestSort
3762
3782
  }), {
3763
- option: r,
3783
+ option: s,
3764
3784
  style: n,
3765
3785
  click: y,
3766
3786
  loading: g,
@@ -3770,13 +3790,13 @@ const tr = Q({
3770
3790
  }
3771
3791
  });
3772
3792
  function nr(e, n, t, o, a, i) {
3773
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
3793
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
3774
3794
  return E(), R("div", {
3775
3795
  style: G(e.style)
3776
3796
  }, [
3777
- j(s, { spinning: e.loading }, {
3797
+ j(r, { spinning: e.loading }, {
3778
3798
  default: Y(() => [
3779
- j(r, {
3799
+ j(s, {
3780
3800
  option: e.option,
3781
3801
  autoresize: "",
3782
3802
  onClick: e.click
@@ -3792,9 +3812,9 @@ function nr(e, n, t, o, a, i) {
3792
3812
  onCancel: e.hideModal
3793
3813
  }, {
3794
3814
  default: Y(() => [
3795
- j(s, { spinning: e.loading }, {
3815
+ j(r, { spinning: e.loading }, {
3796
3816
  default: Y(() => [
3797
- j(r, {
3817
+ j(s, {
3798
3818
  option: e.option,
3799
3819
  "update-options": { notMerge: !0 },
3800
3820
  autoresize: ""
@@ -3916,14 +3936,14 @@ const ir = Q({
3916
3936
  },
3917
3937
  components: {
3918
3938
  Spin: et,
3919
- Echarts: Ne,
3939
+ Echarts: ze,
3920
3940
  AModal: ke
3921
3941
  },
3922
3942
  setup(e, { expose: n }) {
3923
- const t = ie(e), o = _([]), a = _(!1), i = () => {
3943
+ const t = ie(e), o = I([]), a = I(!1), i = () => {
3924
3944
  a.value = !1;
3925
- }, r = q(() => {
3926
- const u = k(o), p = u.length, x = [];
3945
+ }, s = q(() => {
3946
+ const u = k(o), p = u.length, T = [];
3927
3947
  for (let F = 0; F < p; F++) {
3928
3948
  const S = {
3929
3949
  ...u[F],
@@ -3935,10 +3955,10 @@ const ir = Q({
3935
3955
  fontSize: e.labelFontSize,
3936
3956
  position: e.labelPosition,
3937
3957
  color: e.labelColor
3938
- }, x.push(S);
3958
+ }, T.push(S);
3939
3959
  }
3940
- return x;
3941
- }), s = _([]), l = _(!1), d = q(() => {
3960
+ return T;
3961
+ }), r = I([]), l = I(!1), d = q(() => {
3942
3962
  const u = e.yAxisLabelFormatter, p = e.xAxisLabelFormatter;
3943
3963
  return {
3944
3964
  toolbox: {
@@ -3993,21 +4013,21 @@ const ir = Q({
3993
4013
  tooltip: {
3994
4014
  trigger: "axis",
3995
4015
  show: e.tooltipShow,
3996
- formatter: (x) => {
3997
- const F = x.length;
3998
- let S = "", T = e.tooltipFormatter;
3999
- T === "" && (T = "{marker} {a} {c}");
4016
+ formatter: (T) => {
4017
+ const F = T.length;
4018
+ let S = "", _ = e.tooltipFormatter;
4019
+ _ === "" && (_ = "{marker} {a} {c}");
4000
4020
  for (let U = 0; U < F; U++) {
4001
- const { marker: H, seriesName: O, name: z, value: N, data: W } = x[U] || {};
4002
- U === 0 && (S += `${z}<br/>`), S += be(
4003
- T,
4021
+ const { marker: H, seriesName: O, name: N, value: z, data: W } = T[U] || {};
4022
+ U === 0 && (S += `${N}<br/>`), S += be(
4023
+ _,
4004
4024
  {
4005
4025
  marker: H,
4006
- name: z,
4007
- value: N,
4026
+ name: N,
4027
+ value: z,
4008
4028
  a: O,
4009
- b: z,
4010
- c: N,
4029
+ b: N,
4030
+ c: z,
4011
4031
  ...W
4012
4032
  },
4013
4033
  {
@@ -4036,7 +4056,7 @@ const ir = Q({
4036
4056
  },
4037
4057
  xAxis: {
4038
4058
  type: e.isUseHorizontalAxis ? "value" : "category",
4039
- data: e.isUseHorizontalAxis ? null : k(s),
4059
+ data: e.isUseHorizontalAxis ? null : k(r),
4040
4060
  inverse: e.isUseHorizontalAxis ? e.xAxisInverse : e.axisInverse,
4041
4061
  minInterval: e.xAxisMinInterval,
4042
4062
  splitLine: {
@@ -4051,8 +4071,8 @@ const ir = Q({
4051
4071
  rotate: e.xAxisLabelRotate,
4052
4072
  width: e.xAxisLabelWidth,
4053
4073
  overflow: e.xAxisLabelOverflow,
4054
- formatter(x) {
4055
- return De(p, x);
4074
+ formatter(T) {
4075
+ return De(p, T);
4056
4076
  }
4057
4077
  },
4058
4078
  axisLine: {
@@ -4066,7 +4086,7 @@ const ir = Q({
4066
4086
  },
4067
4087
  yAxis: {
4068
4088
  type: e.isUseHorizontalAxis ? "category" : "value",
4069
- data: e.isUseHorizontalAxis ? k(s) : null,
4089
+ data: e.isUseHorizontalAxis ? k(r) : null,
4070
4090
  inverse: e.isUseHorizontalAxis ? e.axisInverse : e.yAxisInverse,
4071
4091
  minInterval: e.yAxisMinInterval,
4072
4092
  splitLine: {
@@ -4080,8 +4100,8 @@ const ir = Q({
4080
4100
  rotate: e.yAxisLabelRotate,
4081
4101
  width: e.yAxisLabelWidth,
4082
4102
  overflow: e.yAxisLabelOverflow,
4083
- formatter(x) {
4084
- return De(u, x);
4103
+ formatter(T) {
4104
+ return De(u, T);
4085
4105
  }
4086
4106
  },
4087
4107
  axisLine: {
@@ -4090,23 +4110,23 @@ const ir = Q({
4090
4110
  }
4091
4111
  }
4092
4112
  },
4093
- series: k(r)
4113
+ series: k(s)
4094
4114
  };
4095
4115
  }), { pageMode: c } = $(ce, {
4096
4116
  pageMode: "normal"
4097
4117
  }), m = (u = [], p = !1) => {
4098
- let x = {};
4118
+ let T = {};
4099
4119
  if (e.dataFieldConfigType === "key") {
4100
4120
  const F = p ? e.keyTypeDataFieldNames : null;
4101
- x = ze(u, F);
4121
+ T = Ne(u, F);
4102
4122
  } else if (e.dataFieldConfigType === "value") {
4103
4123
  const F = p ? e.valueTypeDataFieldNames : null;
4104
- x = Ye(u, F);
4124
+ T = Ye(u, F);
4105
4125
  }
4106
- o.value = x.dataset, s.value = x.dimensions;
4107
- }, g = (u = [], p, x = !1) => {
4108
- const S = ze(u, x ? p : null);
4109
- o.value = S.dataset, s.value = S.dimensions;
4126
+ o.value = T.dataset, r.value = T.dimensions;
4127
+ }, g = (u = [], p, T = !1) => {
4128
+ const S = Ne(u, T ? p : null);
4129
+ o.value = S.dataset, r.value = S.dimensions;
4110
4130
  };
4111
4131
  ne(() => e.data, (u) => {
4112
4132
  (e.dataType === "static" || k(c) === "design") && m(u);
@@ -4118,10 +4138,10 @@ const ir = Q({
4118
4138
  var u, p;
4119
4139
  try {
4120
4140
  l.value = !0;
4121
- const x = await b();
4122
- m((p = (u = x == null ? void 0 : x.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4123
- } catch (x) {
4124
- console.error(x);
4141
+ const T = await b();
4142
+ m((p = (u = T == null ? void 0 : T.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4143
+ } catch (T) {
4144
+ console.error(T);
4125
4145
  } finally {
4126
4146
  l.value = !1;
4127
4147
  }
@@ -4129,13 +4149,13 @@ const ir = Q({
4129
4149
  var u;
4130
4150
  try {
4131
4151
  l.value = !0;
4132
- const p = await v(), { columns: x = [], rows: F = [] } = ((u = p == null ? void 0 : p.data) == null ? void 0 : u.data) ?? {};
4152
+ const p = await v(), { columns: T = [], rows: F = [] } = ((u = p == null ? void 0 : p.data) == null ? void 0 : u.data) ?? {};
4133
4153
  let S;
4134
- x.length > 0 && (S = {
4135
- name: x[0],
4136
- types: x.slice(1).map((T) => ({
4137
- label: T,
4138
- value: T
4154
+ T.length > 0 && (S = {
4155
+ name: T[0],
4156
+ types: T.slice(1).map((_) => ({
4157
+ label: _,
4158
+ value: _
4139
4159
  }))
4140
4160
  }), g(F, S, !0);
4141
4161
  } catch (p) {
@@ -4157,7 +4177,7 @@ const ir = Q({
4157
4177
  n({
4158
4178
  refreshData: h
4159
4179
  });
4160
- const A = ue(e), { getGlobalModel: C, setGlobalModel: B } = $(de, {
4180
+ const A = ue(e), { getGlobalModel: x, setGlobalModel: B } = $(de, {
4161
4181
  // @ts-ignore
4162
4182
  // eslint-disable-next-line no-void
4163
4183
  getGlobalModel: (u) => {
@@ -4166,31 +4186,31 @@ const ir = Q({
4166
4186
  // eslint-disable-next-line no-void
4167
4187
  setGlobalModel: (u, p) => {
4168
4188
  }
4169
- }), I = A("click", (u) => {
4170
- const p = e.id, x = C(p);
4171
- B(p, { ...x, RECORD: u.data });
4172
- }), { setRequest: M } = $(Ce, {
4189
+ }), w = A("click", (u) => {
4190
+ const p = e.id, T = x(p);
4191
+ B(p, { ...T, RECORD: u.data });
4192
+ }), { setRequest: L } = $(Ce, {
4173
4193
  // @ts-ignore
4174
4194
  // eslint-disable-next-line no-void
4175
- setRequest: ({ id: u, sortNum: p, requestFn: x }) => {
4195
+ setRequest: ({ id: u, sortNum: p, requestFn: T }) => {
4176
4196
  }
4177
4197
  });
4178
- return M({
4198
+ return L({
4179
4199
  id: e.id,
4180
4200
  requestFn: h,
4181
4201
  sortNum: e.requestSort
4182
4202
  }), ge(e, {
4183
4203
  refreshData: h,
4184
- click: I,
4204
+ click: w,
4185
4205
  resetRecord: () => {
4186
- const u = e.id, p = C(u);
4206
+ const u = e.id, p = x(u);
4187
4207
  B(u, { ...p, RECORD: "" });
4188
4208
  }
4189
4209
  }), {
4190
4210
  option: d,
4191
4211
  style: t,
4192
4212
  refreshData: h,
4193
- click: I,
4213
+ click: w,
4194
4214
  loading: l,
4195
4215
  visible: a,
4196
4216
  hideModal: i
@@ -4198,14 +4218,14 @@ const ir = Q({
4198
4218
  }
4199
4219
  });
4200
4220
  function rr(e, n, t, o, a, i) {
4201
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
4221
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4202
4222
  return E(), R("div", {
4203
4223
  class: "ecan-bar",
4204
4224
  style: G(e.style)
4205
4225
  }, [
4206
- j(s, { spinning: e.loading }, {
4226
+ j(r, { spinning: e.loading }, {
4207
4227
  default: Y(() => [
4208
- j(r, {
4228
+ j(s, {
4209
4229
  option: e.option,
4210
4230
  "update-options": { notMerge: !0 },
4211
4231
  autoresize: "",
@@ -4222,9 +4242,9 @@ function rr(e, n, t, o, a, i) {
4222
4242
  onCancel: e.hideModal
4223
4243
  }, {
4224
4244
  default: Y(() => [
4225
- j(s, { spinning: e.loading }, {
4245
+ j(r, { spinning: e.loading }, {
4226
4246
  default: Y(() => [
4227
- j(r, {
4247
+ j(s, {
4228
4248
  option: e.option,
4229
4249
  "update-options": { notMerge: !0 },
4230
4250
  autoresize: ""
@@ -4307,11 +4327,11 @@ const ur = Q({
4307
4327
  },
4308
4328
  components: {
4309
4329
  Spin: et,
4310
- Echarts: Ne,
4330
+ Echarts: ze,
4311
4331
  AModal: ke
4312
4332
  },
4313
4333
  setup(e) {
4314
- const n = ie(e), t = _([]), o = _(!1), a = () => {
4334
+ const n = ie(e), t = I([]), o = I(!1), a = () => {
4315
4335
  o.value = !1;
4316
4336
  }, i = q(() => {
4317
4337
  const h = e.xAxisLabelFormatter, A = e.yAxisLabelFormatter;
@@ -4375,8 +4395,8 @@ const ur = Q({
4375
4395
  },
4376
4396
  axisLabel: {
4377
4397
  color: e.xAxisLabelColor,
4378
- formatter(C) {
4379
- return De(h, C);
4398
+ formatter(x) {
4399
+ return De(h, x);
4380
4400
  }
4381
4401
  },
4382
4402
  axisLine: {
@@ -4397,8 +4417,8 @@ const ur = Q({
4397
4417
  },
4398
4418
  axisLabel: {
4399
4419
  color: e.yAxisLabelColor,
4400
- formatter(C) {
4401
- return De(A, C);
4420
+ formatter(x) {
4421
+ return De(A, x);
4402
4422
  }
4403
4423
  },
4404
4424
  axisLine: {
@@ -4411,16 +4431,16 @@ const ur = Q({
4411
4431
  tooltip: {
4412
4432
  show: e.tooltipShow,
4413
4433
  trigger: e.tooltipTrigger,
4414
- formatter: function(C) {
4434
+ formatter: function(x) {
4415
4435
  var p;
4416
- const { marker: B, seriesName: I } = C, M = ((p = C == null ? void 0 : C.data) == null ? void 0 : p.record) ?? {}, { name: w, value: u } = M;
4436
+ const { marker: B, seriesName: w } = x, L = ((p = x == null ? void 0 : x.data) == null ? void 0 : p.record) ?? {}, { name: C, value: u } = L;
4417
4437
  return be(e.tooltipFormatter, {
4418
4438
  marker: B,
4419
- seriesName: I,
4420
- a: I,
4421
- b: w,
4439
+ seriesName: w,
4440
+ a: w,
4441
+ b: C,
4422
4442
  c: u,
4423
- ...M
4443
+ ...L
4424
4444
  });
4425
4445
  },
4426
4446
  axisPointer: {
@@ -4442,7 +4462,7 @@ const ur = Q({
4442
4462
  }
4443
4463
  ]
4444
4464
  };
4445
- }), { getGlobalModel: r, setGlobalModel: s } = $(de, {
4465
+ }), { getGlobalModel: s, setGlobalModel: r } = $(de, {
4446
4466
  // @ts-ignore
4447
4467
  // eslint-disable-next-line no-void
4448
4468
  getGlobalModel: (h) => {
@@ -4454,8 +4474,8 @@ const ur = Q({
4454
4474
  }), { pageMode: l } = $(ce, {
4455
4475
  pageMode: "normal"
4456
4476
  }), d = (h = [], A) => {
4457
- const { name: C = "name", value: B = "value" } = A || {};
4458
- t.value = h.map((I) => ({ value: [I[C], I[B]], record: I }));
4477
+ const { name: x = "name", value: B = "value" } = A || {};
4478
+ t.value = h.map((w) => ({ value: [w[x], w[B]], record: w }));
4459
4479
  };
4460
4480
  ne(() => e.data, (h) => {
4461
4481
  (e.dataType === "static" || k(l) === "design") && d(h);
@@ -4463,22 +4483,22 @@ const ur = Q({
4463
4483
  immediate: !0,
4464
4484
  deep: !0
4465
4485
  });
4466
- const c = _(!1), m = Ae(e), g = async () => {
4486
+ const c = I(!1), m = Ae(e), g = async () => {
4467
4487
  var h, A;
4468
4488
  if (!(e.dataType !== "request" || k(l) === "design")) {
4469
4489
  c.value = !0;
4470
4490
  try {
4471
- const C = await m();
4472
- d((A = (h = C == null ? void 0 : C.data) == null ? void 0 : h.data) == null ? void 0 : A.rows, e.dataFieldNames);
4473
- } catch (C) {
4474
- console.error(C);
4491
+ const x = await m();
4492
+ d((A = (h = x == null ? void 0 : x.data) == null ? void 0 : h.data) == null ? void 0 : A.rows, e.dataFieldNames);
4493
+ } catch (x) {
4494
+ console.error(x);
4475
4495
  } finally {
4476
4496
  c.value = !1;
4477
4497
  }
4478
4498
  }
4479
4499
  }, f = ue(e)("click", (h) => {
4480
- const A = e.id, C = r(A);
4481
- s(A, { ...C, RECORD: h == null ? void 0 : h.data });
4500
+ const A = e.id, x = s(A);
4501
+ r(A, { ...x, RECORD: h == null ? void 0 : h.data });
4482
4502
  });
4483
4503
  ge(e, {
4484
4504
  refreshData: () => {
@@ -4489,7 +4509,7 @@ const ur = Q({
4489
4509
  const { setRequest: y } = $(Ce, {
4490
4510
  // @ts-ignore
4491
4511
  // eslint-disable-next-line no-void
4492
- setRequest: ({ id: h, sortNum: A, requestFn: C }) => {
4512
+ setRequest: ({ id: h, sortNum: A, requestFn: x }) => {
4493
4513
  }
4494
4514
  });
4495
4515
  return y({
@@ -4507,13 +4527,13 @@ const ur = Q({
4507
4527
  }
4508
4528
  });
4509
4529
  function fr(e, n, t, o, a, i) {
4510
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
4530
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4511
4531
  return E(), R("div", {
4512
4532
  style: G(e.style)
4513
4533
  }, [
4514
- j(s, { spinning: e.loading }, {
4534
+ j(r, { spinning: e.loading }, {
4515
4535
  default: Y(() => [
4516
- j(r, {
4536
+ j(s, {
4517
4537
  option: e.option,
4518
4538
  autoresize: "",
4519
4539
  onClick: e.click
@@ -4529,9 +4549,9 @@ function fr(e, n, t, o, a, i) {
4529
4549
  onCancel: e.hideModal
4530
4550
  }, {
4531
4551
  default: Y(() => [
4532
- j(s, { spinning: e.loading }, {
4552
+ j(r, { spinning: e.loading }, {
4533
4553
  default: Y(() => [
4534
- j(r, {
4554
+ j(s, {
4535
4555
  option: e.option,
4536
4556
  "update-options": { notMerge: !0 },
4537
4557
  autoresize: ""
@@ -4560,10 +4580,10 @@ const mr = /* @__PURE__ */ K(ur, [["render", fr]]), gr = oe(mr), ro = {
4560
4580
  ...so
4561
4581
  },
4562
4582
  components: {
4563
- Echarts: Ne
4583
+ Echarts: ze
4564
4584
  },
4565
4585
  setup(e) {
4566
- const n = ie(e), t = _();
4586
+ const n = ie(e), t = I();
4567
4587
  return ne(() => e.optionCode, (o) => {
4568
4588
  try {
4569
4589
  const a = eval;
@@ -4581,11 +4601,11 @@ const mr = /* @__PURE__ */ K(ur, [["render", fr]]), gr = oe(mr), ro = {
4581
4601
  }
4582
4602
  });
4583
4603
  function yr(e, n, t, o, a, i) {
4584
- const r = Z("echarts");
4604
+ const s = Z("echarts");
4585
4605
  return E(), R("div", {
4586
4606
  style: G(e.style)
4587
4607
  }, [
4588
- j(r, {
4608
+ j(s, {
4589
4609
  option: e.myOption,
4590
4610
  "update-options": { notMerge: !0 },
4591
4611
  autoresize: ""
@@ -4713,13 +4733,13 @@ const Cr = Q({
4713
4733
  },
4714
4734
  components: {
4715
4735
  Spin: et,
4716
- Echarts: Ne,
4736
+ Echarts: ze,
4717
4737
  AModal: ke
4718
4738
  },
4719
4739
  setup(e) {
4720
- const n = ie(e), t = _([]), o = _([]), a = _(!1), i = () => {
4740
+ const n = ie(e), t = I([]), o = I([]), a = I(!1), i = () => {
4721
4741
  a.value = !1;
4722
- }, r = q(() => ({
4742
+ }, s = q(() => ({
4723
4743
  title: {
4724
4744
  text: e.titleText,
4725
4745
  subtext: e.titleSubtext,
@@ -4783,21 +4803,21 @@ const Cr = Q({
4783
4803
  show: e.tooltipShow,
4784
4804
  formatter: (u) => {
4785
4805
  const p = u.length;
4786
- let x = "", F = e.tooltipFormatter;
4806
+ let T = "", F = e.tooltipFormatter;
4787
4807
  F === "" && (F = "{marker} {a} {c}");
4788
4808
  const S = e.seriesTypes;
4789
- for (let T = 0; T < p; T++) {
4790
- const U = S[T], { tooltipFormatter: H } = U || {}, { marker: O, seriesName: z, name: N, value: W, data: ee } = u[T] || {};
4791
- T === 0 && (x += `${N}<br/>`), x += be(
4809
+ for (let _ = 0; _ < p; _++) {
4810
+ const U = S[_], { tooltipFormatter: H } = U || {}, { marker: O, seriesName: N, name: z, value: W, data: ee } = u[_] || {};
4811
+ _ === 0 && (T += `${z}<br/>`), T += be(
4792
4812
  // 如果系列有提示框组件就使用自定义,没有就用默认的
4793
4813
  H || F,
4794
4814
  {
4795
4815
  marker: O,
4796
- name: N,
4816
+ name: z,
4797
4817
  value: W,
4798
- seriesName: z,
4799
- a: z,
4800
- b: N,
4818
+ seriesName: N,
4819
+ a: N,
4820
+ b: z,
4801
4821
  c: W,
4802
4822
  ...ee
4803
4823
  },
@@ -4805,9 +4825,9 @@ const Cr = Q({
4805
4825
  useNewline: !0,
4806
4826
  useSpace: !0
4807
4827
  }
4808
- ), x += "<br/>";
4828
+ ), T += "<br/>";
4809
4829
  }
4810
- return x;
4830
+ return T;
4811
4831
  },
4812
4832
  textStyle: {
4813
4833
  color: e.tooltipTextStyleColor
@@ -4837,27 +4857,27 @@ const Cr = Q({
4837
4857
  },
4838
4858
  yAxis: k(c),
4839
4859
  series: k(t)
4840
- })), { pageMode: s } = $(ce, {
4860
+ })), { pageMode: r } = $(ce, {
4841
4861
  pageMode: "normal"
4842
4862
  }), l = (u = [], p = !1) => {
4843
- let x;
4863
+ let T;
4844
4864
  if (e.dataFieldConfigType === "key") {
4845
4865
  const H = p ? e.keyTypeDataFieldNames : null;
4846
- x = ze(u, H);
4866
+ T = Ne(u, H);
4847
4867
  } else if (e.dataFieldConfigType === "value") {
4848
4868
  const H = p ? e.valueTypeDataFieldNames : null;
4849
- x = Ye(u, H);
4869
+ T = Ye(u, H);
4850
4870
  }
4851
- o.value = x.dimensions;
4852
- const F = x.dataset, S = [], T = F.length, U = e.seriesTypes;
4853
- for (let H = 0; H < T; H++) {
4854
- const O = U[H], { type: z, axisIndex: N } = O || {};
4871
+ o.value = T.dimensions;
4872
+ const F = T.dataset, S = [], _ = F.length, U = e.seriesTypes;
4873
+ for (let H = 0; H < _; H++) {
4874
+ const O = U[H], { type: N, axisIndex: z } = O || {};
4855
4875
  let W = {
4856
- type: z,
4857
- yAxisIndex: N,
4876
+ type: N,
4877
+ yAxisIndex: z,
4858
4878
  ...F[H]
4859
4879
  };
4860
- z === "line" && (W = {
4880
+ N === "line" && (W = {
4861
4881
  ...W,
4862
4882
  symbolSize: e.symbolSize,
4863
4883
  smooth: e.smooth,
@@ -4867,28 +4887,28 @@ const Cr = Q({
4867
4887
  lineStyle: {
4868
4888
  width: e.lineStyleWidth
4869
4889
  }
4870
- }), z === "bar" && (W = {
4890
+ }), N === "bar" && (W = {
4871
4891
  ...W,
4872
4892
  barWidth: e.barWidth
4873
4893
  }), S.push(W);
4874
4894
  }
4875
4895
  t.value = S;
4876
- }, d = (u = [], p, x = !1) => {
4877
- const S = ze(u, x ? p : null);
4896
+ }, d = (u = [], p, T = !1) => {
4897
+ const S = Ne(u, T ? p : null);
4878
4898
  o.value = S.dimensions;
4879
- const T = S.dataset, U = [], H = T.length, O = e.seriesTypes;
4880
- for (let z = 0; z < H; z++) {
4881
- const N = O[z];
4899
+ const _ = S.dataset, U = [], H = _.length, O = e.seriesTypes;
4900
+ for (let N = 0; N < H; N++) {
4901
+ const z = O[N];
4882
4902
  U.push({
4883
- type: N == null ? void 0 : N.type,
4884
- yAxisIndex: N == null ? void 0 : N.axisIndex,
4885
- ...T[z]
4903
+ type: z == null ? void 0 : z.type,
4904
+ yAxisIndex: z == null ? void 0 : z.axisIndex,
4905
+ ..._[N]
4886
4906
  });
4887
4907
  }
4888
4908
  t.value = U;
4889
4909
  };
4890
4910
  ne(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([u]) => {
4891
- (e.dataType === "static" || k(s) === "design") && l(u);
4911
+ (e.dataType === "static" || k(r) === "design") && l(u);
4892
4912
  }, {
4893
4913
  immediate: !0,
4894
4914
  deep: !0
@@ -4906,8 +4926,8 @@ const Cr = Q({
4906
4926
  },
4907
4927
  axisLabel: {
4908
4928
  color: e.yAxisLabelColor,
4909
- formatter(x) {
4910
- return De(p.axisLabelFormatter, x);
4929
+ formatter(T) {
4930
+ return De(p.axisLabelFormatter, T);
4911
4931
  }
4912
4932
  },
4913
4933
  axisLine: {
@@ -4916,39 +4936,39 @@ const Cr = Q({
4916
4936
  }
4917
4937
  }
4918
4938
  }));
4919
- }), m = _(!1), g = Ae(e), b = async () => {
4939
+ }), m = I(!1), g = Ae(e), b = async () => {
4920
4940
  var u, p;
4921
- if (!(e.dataType !== "request" || k(s) === "design"))
4941
+ if (!(e.dataType !== "request" || k(r) === "design"))
4922
4942
  try {
4923
4943
  m.value = !0;
4924
- const x = await g();
4925
- l((p = (u = x == null ? void 0 : x.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4926
- } catch (x) {
4927
- console.error(x);
4944
+ const T = await g();
4945
+ l((p = (u = T == null ? void 0 : T.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4946
+ } catch (T) {
4947
+ console.error(T);
4928
4948
  } finally {
4929
4949
  m.value = !1;
4930
4950
  }
4931
4951
  }, f = Dt(e), v = async () => {
4932
- var u, p, x, F, S;
4933
- if (!(e.dataType !== "indicator" || k(s) === "design"))
4952
+ var u, p, T, F, S;
4953
+ if (!(e.dataType !== "indicator" || k(r) === "design"))
4934
4954
  try {
4935
4955
  m.value = !0;
4936
- const T = await f();
4956
+ const _ = await f();
4937
4957
  let U;
4938
- ((x = (p = (u = T == null ? void 0 : T.data) == null ? void 0 : u.data) == null ? void 0 : p.columns) == null ? void 0 : x.length) > 0 && (U = {
4939
- name: T.data.data.columns[0],
4940
- types: T.data.data.columns.slice(1).map((H) => ({ label: H, value: H }))
4941
- }), d((S = (F = T == null ? void 0 : T.data) == null ? void 0 : F.data) == null ? void 0 : S.rows, U, !0);
4942
- } catch (T) {
4943
- console.error(T);
4958
+ ((T = (p = (u = _ == null ? void 0 : _.data) == null ? void 0 : u.data) == null ? void 0 : p.columns) == null ? void 0 : T.length) > 0 && (U = {
4959
+ name: _.data.data.columns[0],
4960
+ types: _.data.data.columns.slice(1).map((H) => ({ label: H, value: H }))
4961
+ }), d((S = (F = _ == null ? void 0 : _.data) == null ? void 0 : F.data) == null ? void 0 : S.rows, U, !0);
4962
+ } catch (_) {
4963
+ console.error(_);
4944
4964
  } finally {
4945
4965
  m.value = !1;
4946
4966
  }
4947
4967
  }, y = () => {
4948
- k(s) !== "design" && (v(), b());
4968
+ k(r) !== "design" && (v(), b());
4949
4969
  }, h = () => {
4950
4970
  y();
4951
- }, A = ue(e), { getGlobalModel: C, setGlobalModel: B } = $(de, {
4971
+ }, A = ue(e), { getGlobalModel: x, setGlobalModel: B } = $(de, {
4952
4972
  // @ts-ignore
4953
4973
  // eslint-disable-next-line no-void
4954
4974
  getGlobalModel: (u) => {
@@ -4957,30 +4977,30 @@ const Cr = Q({
4957
4977
  // eslint-disable-next-line no-void
4958
4978
  setGlobalModel: (u, p) => {
4959
4979
  }
4960
- }), I = A("click", (u) => {
4961
- const p = e.id, x = C(p);
4962
- B(p, { ...x, RECORD: u == null ? void 0 : u.data });
4963
- }), { setRequest: M } = $(Ce, {
4980
+ }), w = A("click", (u) => {
4981
+ const p = e.id, T = x(p);
4982
+ B(p, { ...T, RECORD: u == null ? void 0 : u.data });
4983
+ }), { setRequest: L } = $(Ce, {
4964
4984
  // @ts-ignore
4965
4985
  // eslint-disable-next-line no-void
4966
- setRequest: ({ id: u, sortNum: p, requestFn: x }) => {
4986
+ setRequest: ({ id: u, sortNum: p, requestFn: T }) => {
4967
4987
  }
4968
4988
  });
4969
- return M({
4989
+ return L({
4970
4990
  id: e.id,
4971
4991
  requestFn: y,
4972
4992
  sortNum: e.requestSort
4973
4993
  }), ge(e, {
4974
4994
  resetRecord: () => {
4975
- const u = e.id, p = C(u);
4995
+ const u = e.id, p = x(u);
4976
4996
  B(u, { ...p, RECORD: "" });
4977
4997
  },
4978
4998
  refreshData: h,
4979
- click: I
4999
+ click: w
4980
5000
  }), {
4981
5001
  style: n,
4982
- option: r,
4983
- click: I,
5002
+ option: s,
5003
+ click: w,
4984
5004
  loading: m,
4985
5005
  visible: a,
4986
5006
  hideModal: i
@@ -4988,13 +5008,13 @@ const Cr = Q({
4988
5008
  }
4989
5009
  });
4990
5010
  function Sr(e, n, t, o, a, i) {
4991
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
5011
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4992
5012
  return E(), R("div", {
4993
5013
  style: G(e.style)
4994
5014
  }, [
4995
- j(s, { spinning: e.loading }, {
5015
+ j(r, { spinning: e.loading }, {
4996
5016
  default: Y(() => [
4997
- j(r, {
5017
+ j(s, {
4998
5018
  option: e.option,
4999
5019
  "update-options": { notMerge: !0 },
5000
5020
  autoresize: "",
@@ -5011,9 +5031,9 @@ function Sr(e, n, t, o, a, i) {
5011
5031
  onCancel: e.hideModal
5012
5032
  }, {
5013
5033
  default: Y(() => [
5014
- j(s, { spinning: e.loading }, {
5034
+ j(r, { spinning: e.loading }, {
5015
5035
  default: Y(() => [
5016
- j(r, {
5036
+ j(s, {
5017
5037
  option: e.option,
5018
5038
  "update-options": { notMerge: !0 },
5019
5039
  autoresize: "",
@@ -5065,24 +5085,24 @@ const wr = /* @__PURE__ */ K(Cr, [["render", Sr]]), kr = oe(wr), fo = {
5065
5085
  width: "100%",
5066
5086
  height: "100%"
5067
5087
  })), i = ue(e)("click", () => {
5068
- }), r = _([]);
5088
+ }), s = I([]);
5069
5089
  ne(() => e.data, (l) => {
5070
- r.value = l;
5090
+ s.value = l;
5071
5091
  }, {
5072
5092
  immediate: !0,
5073
5093
  deep: !0
5074
5094
  }), ge(e, {
5075
5095
  click: i
5076
5096
  });
5077
- const { setGlobalModel: s } = $(de, {
5097
+ const { setGlobalModel: r } = $(de, {
5078
5098
  // @ts-ignore
5079
5099
  // eslint-disable-next-line no-void
5080
5100
  setGlobalModel: (l, d) => {
5081
5101
  }
5082
5102
  });
5083
- return s(e.id, {
5103
+ return r(e.id, {
5084
5104
  type: e.type,
5085
- value: r
5105
+ value: s
5086
5106
  }), {
5087
5107
  style: n,
5088
5108
  click: i,
@@ -5094,10 +5114,10 @@ const wr = /* @__PURE__ */ K(Cr, [["render", Sr]]), kr = oe(wr), fo = {
5094
5114
  const Te = (e) => (sn("data-v-f3fc1305"), e = e(), cn(), e), Lr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-left border-item" }, null, -1)), Ir = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-right border-item" }, null, -1)), Mr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-left border-item" }, null, -1)), Er = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-right border-item" }, null, -1)), Or = { class: "title-item-wrapper" }, Fr = { class: "title-item" }, Rr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("img", {
5095
5115
  class: "title-decoration-left",
5096
5116
  src: Tr
5097
- }, null, -1)), Dr = { class: "title" }, Nr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("img", {
5117
+ }, null, -1)), Dr = { class: "title" }, zr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("img", {
5098
5118
  class: "title-decoration-right",
5099
5119
  src: _r
5100
- }, null, -1)), zr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-left border-item" }, null, -1)), $r = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-right border-item" }, null, -1)), Pr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-left border-item" }, null, -1)), Br = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-right border-item" }, null, -1)), Gr = {
5120
+ }, null, -1)), Nr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-left border-item" }, null, -1)), $r = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "top-right border-item" }, null, -1)), Pr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-left border-item" }, null, -1)), Br = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("div", { class: "bottom-right border-item" }, null, -1)), Gr = {
5101
5121
  key: 2,
5102
5122
  class: "left-title"
5103
5123
  }, Ur = { class: "title" };
@@ -5105,7 +5125,7 @@ function qr(e, n, t, o, a, i) {
5105
5125
  return E(), R("div", {
5106
5126
  class: "ecan-border",
5107
5127
  style: G(e.style),
5108
- onClick: n[0] || (n[0] = (...r) => e.click && e.click(...r))
5128
+ onClick: n[0] || (n[0] = (...s) => e.click && e.click(...s))
5109
5129
  }, [
5110
5130
  e.mode === "no-title" ? (E(), R("div", {
5111
5131
  key: 0,
@@ -5128,10 +5148,10 @@ function qr(e, n, t, o, a, i) {
5128
5148
  X("div", Fr, [
5129
5149
  Rr,
5130
5150
  X("div", Dr, he(e.title), 1),
5131
- Nr
5151
+ zr
5132
5152
  ])
5133
5153
  ]),
5134
- zr,
5154
+ Nr,
5135
5155
  $r,
5136
5156
  Pr,
5137
5157
  Br
@@ -5171,21 +5191,21 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-f3fc1305
5171
5191
  },
5172
5192
  setup(e) {
5173
5193
  const n = () => document.getElementById("ProviderConfig") || document.body, t = q(() => {
5174
- const N = e.position;
5194
+ const z = e.position;
5175
5195
  return {
5176
5196
  verticalAlign: {
5177
5197
  default: "",
5178
5198
  top: "top",
5179
5199
  center: "middle",
5180
5200
  bottom: "bottom"
5181
- }[N]
5201
+ }[z]
5182
5202
  };
5183
- }), o = e.width, a = e.height, i = e.originalWidth, r = e.originalHeight, s = _("80%"), l = _(0), d = _(), c = _(0), m = _({}), g = ie(e), b = _({}), f = _(!1), v = _();
5203
+ }), o = e.width, a = e.height, i = e.originalWidth, s = e.originalHeight, r = I("80%"), l = I(0), d = I(), c = I(0), m = I({}), g = ie(e), b = I({}), f = I(!1), v = I();
5184
5204
  let y;
5185
5205
  const h = () => {
5186
5206
  d.value = parseFloat(o) / parseFloat(i);
5187
- const N = parseFloat(a) / parseFloat(r), W = document.body.offsetWidth, ee = document.body.offsetHeight;
5188
- l.value = W * k(d), c.value = ee * N, s.value = `${k(d) * 100}%`, m.value = {
5207
+ const z = parseFloat(a) / parseFloat(s), W = document.body.offsetWidth, ee = document.body.offsetHeight;
5208
+ l.value = W * k(d), c.value = ee * z, r.value = `${k(d) * 100}%`, m.value = {
5189
5209
  width: `${k(l)}px`,
5190
5210
  height: `${k(c)}px`
5191
5211
  }, b.value = {
@@ -5195,74 +5215,74 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-f3fc1305
5195
5215
  };
5196
5216
  }, A = It(() => {
5197
5217
  h();
5198
- }, 100), C = () => {
5199
- const N = window.MutationObserver;
5200
- y = new N(A), y.observe(document.body, {
5218
+ }, 100), x = () => {
5219
+ const z = window.MutationObserver;
5220
+ y = new z(A), y.observe(document.body, {
5201
5221
  attributes: !0,
5202
5222
  attributeFilter: ["style"],
5203
5223
  attributeOldValue: !0
5204
5224
  });
5205
5225
  }, B = () => {
5206
5226
  y && (y.disconnect(), y.takeRecords(), y = null);
5207
- }, I = _(!1), { touchRequest: M } = $(Ce, {
5227
+ }, w = I(!1), { touchRequest: L } = $(Ce, {
5208
5228
  // @ts-ignore
5209
5229
  // eslint-disable-next-line no-void
5210
5230
  touchRequest: () => {
5211
5231
  }
5212
- }), w = () => {
5213
- I.value = !0;
5232
+ }), C = () => {
5233
+ w.value = !0;
5214
5234
  }, u = () => {
5215
- I.value = !1;
5235
+ w.value = !1;
5216
5236
  }, p = () => {
5217
5237
  u();
5218
- }, x = () => {
5238
+ }, T = () => {
5219
5239
  u();
5220
- }, { setModalModel: F, pushUseModalIds: S, popUseModalIds: T } = $(_n, {
5221
- pushUseModalIds: (N) => {
5240
+ }, { setModalModel: F, pushUseModalIds: S, popUseModalIds: _ } = $(_n, {
5241
+ pushUseModalIds: (z) => {
5222
5242
  },
5223
5243
  popUseModalIds: () => {
5224
5244
  },
5225
- setModalModel: (N, W) => {
5245
+ setModalModel: (z, W) => {
5226
5246
  }
5227
5247
  }), U = () => {
5228
- const N = e.id;
5248
+ const z = e.id;
5229
5249
  let W = [];
5230
5250
  const ee = e.componentList;
5231
- Array.isArray(ee) && (W = ee.map((se) => se.id), F(N, [...new Set(W)]));
5251
+ Array.isArray(ee) && (W = ee.map((se) => se.id), F(z, [...new Set(W)]));
5232
5252
  };
5233
- ne(() => I.value, async (N) => {
5234
- N ? (f.value = !1, S(e.id), U(), await ft(() => {
5235
- h(), window.addEventListener("resize", A), C(), f.value = !0;
5236
- }), M()) : (T(), window.removeEventListener("resize", A), B());
5253
+ ne(() => w.value, async (z) => {
5254
+ z ? (f.value = !1, S(e.id), U(), await ft(() => {
5255
+ h(), window.addEventListener("resize", A), x(), f.value = !0;
5256
+ }), L()) : (_(), window.removeEventListener("resize", A), B());
5237
5257
  });
5238
- const H = q(() => k(d) >= 1), O = q(() => e.fullModal), z = q(() => {
5239
- let N = "ecan-modal";
5240
- return k(H) && (N += " ecan-full-width-modal"), k(O) && (N += " ecan-full-modal"), N;
5258
+ const H = q(() => k(d) >= 1), O = q(() => e.fullModal), N = q(() => {
5259
+ let z = "ecan-modal";
5260
+ return k(H) && (z += " ecan-full-width-modal"), k(O) && (z += " ecan-full-modal"), z;
5241
5261
  });
5242
5262
  return ge(e, {
5243
- showModal: w
5263
+ showModal: C
5244
5264
  }), {
5245
5265
  modalRef: v,
5246
5266
  containStyle: m,
5247
5267
  contentStyle: b,
5248
5268
  getContainer: n,
5249
5269
  modalStyle: t,
5250
- modalWith: s,
5270
+ modalWith: r,
5251
5271
  isFullModal: O,
5252
5272
  style: g,
5253
- visible: I,
5254
- showModal: w,
5273
+ visible: w,
5274
+ showModal: C,
5255
5275
  onOk: p,
5256
- onCancel: x,
5276
+ onCancel: T,
5257
5277
  isFullWidth: H,
5258
- wrapClassName: z,
5278
+ wrapClassName: N,
5259
5279
  ready: f
5260
5280
  };
5261
5281
  }
5262
5282
  });
5263
5283
  function Zr(e, n, t, o, a, i) {
5264
- const r = Z("a-modal");
5265
- return E(), Oe(r, {
5284
+ const s = Z("a-modal");
5285
+ return E(), Oe(s, {
5266
5286
  getContainer: e.getContainer,
5267
5287
  wrapClassName: e.wrapClassName,
5268
5288
  centered: "",
@@ -5286,9 +5306,9 @@ function Zr(e, n, t, o, a, i) {
5286
5306
  class: "content",
5287
5307
  style: G(e.contentStyle)
5288
5308
  }, [
5289
- (E(!0), R(Le, null, Ie(e.componentList, (s, l) => (E(), Oe(Eo(s.type), Oo({
5290
- key: s.id + l
5291
- }, s), null, 16))), 128))
5309
+ (E(!0), R(Le, null, Ie(e.componentList, (r, l) => (E(), Oe(Eo(r.type), Oo({
5310
+ key: r.id + l
5311
+ }, r), null, 16))), 128))
5292
5312
  ], 4)) : pe("", !0)
5293
5313
  ], 4)
5294
5314
  ]),
@@ -5349,26 +5369,26 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-0447cd77
5349
5369
  },
5350
5370
  setup(e) {
5351
5371
  var c;
5352
- const n = ie(e), t = _(0);
5372
+ const n = ie(e), t = I(0);
5353
5373
  ne(() => e.activeKey, (m) => {
5354
5374
  t.value = m;
5355
5375
  }, {
5356
5376
  immediate: !0
5357
5377
  });
5358
- const o = _([]);
5378
+ const o = I([]);
5359
5379
  ne(() => e.data, (m) => {
5360
5380
  o.value = m;
5361
5381
  }, {
5362
5382
  immediate: !0,
5363
5383
  deep: !0
5364
5384
  });
5365
- const a = (m) => t.value === m, i = _(e.value || k(o)[0] && ((c = k(o)[0]) == null ? void 0 : c.value) || ""), r = ue(e), { setGlobalModel: s } = $(de, {
5385
+ const a = (m) => t.value === m, i = I(e.value || k(o)[0] && ((c = k(o)[0]) == null ? void 0 : c.value) || ""), s = ue(e), { setGlobalModel: r } = $(de, {
5366
5386
  // @ts-ignore
5367
5387
  // eslint-disable-next-line no-void
5368
5388
  setGlobalModel: (m, g) => {
5369
5389
  }
5370
5390
  });
5371
- s(e.id, {
5391
+ r(e.id, {
5372
5392
  value: i,
5373
5393
  activeKey: t
5374
5394
  });
@@ -5376,7 +5396,7 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-0447cd77
5376
5396
  // eslint-disable-next-line no-void
5377
5397
  emitRefreshPage: () => {
5378
5398
  }
5379
- }), d = r("tabChange", (m, g) => {
5399
+ }), d = s("tabChange", (m, g) => {
5380
5400
  g !== k(t) && (i.value = (m == null ? void 0 : m.value) || "", t.value = g, l());
5381
5401
  });
5382
5402
  return ge(e, {
@@ -5406,25 +5426,25 @@ function es(e, n, t, o, a, i) {
5406
5426
  flexDirection: e.tabFlexDirection
5407
5427
  })
5408
5428
  }, [
5409
- (E(!0), R(Le, null, Ie(e.myData, (r, s) => (E(), R("div", {
5429
+ (E(!0), R(Le, null, Ie(e.myData, (s, r) => (E(), R("div", {
5410
5430
  class: "tab",
5411
5431
  style: G({
5412
5432
  padding: `5px ${e.tabHorizontalPadding}`,
5413
- color: e.isActive(s) ? e.activeTabColor : e.tabColor,
5414
- backgroundImage: e.isActive(s) ? e.useImagePath(e.activeTabBackgroundImage, !0) : e.useImagePath(e.tabBackgroundImage, !0),
5433
+ color: e.isActive(r) ? e.activeTabColor : e.tabColor,
5434
+ backgroundImage: e.isActive(r) ? e.useImagePath(e.activeTabBackgroundImage, !0) : e.useImagePath(e.tabBackgroundImage, !0),
5415
5435
  marginRight: e.tabFlexDirection === "row" ? e.tabBarGutter : null,
5416
5436
  marginBottom: e.tabFlexDirection === "column" ? e.tabBarGutter : null,
5417
5437
  fontWeight: e.tabFontWeight
5418
5438
  }),
5419
- key: s,
5420
- onClick: Fo((l) => e.tabChange(r, s), ["prevent", "stop"])
5439
+ key: r,
5440
+ onClick: Fo((l) => e.tabChange(s, r), ["prevent", "stop"])
5421
5441
  }, [
5422
5442
  X("div", {
5423
5443
  class: "tab-inner",
5424
5444
  style: G({
5425
- borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(s) ? e.activeTabColor : "transparent"}` : ""
5445
+ borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(r) ? e.activeTabColor : "transparent"}` : ""
5426
5446
  })
5427
- }, he(r.title), 5)
5447
+ }, he(s.title), 5)
5428
5448
  ], 12, Xr))), 128))
5429
5449
  ], 4)
5430
5450
  ], 4);
@@ -5455,13 +5475,13 @@ const ts = /* @__PURE__ */ K(Kr, [["render", es], ["__scopeId", "data-v-3db5a989
5455
5475
  onClick: () => {
5456
5476
  if (!e.linkPage && !e.href)
5457
5477
  return;
5458
- const i = e.linkPage || "", r = In(k(o), i), s = e.href;
5459
- let l = s || r;
5478
+ const i = e.linkPage || "", s = In(k(o), i), r = e.href;
5479
+ let l = r || s;
5460
5480
  l = be(l);
5461
5481
  const d = e.target;
5462
5482
  d == null || d === "" || (d !== "event" ? window.open(l, "_" + d) : window.parent.postMessage({
5463
5483
  type: "openPage",
5464
- url: s
5484
+ url: r
5465
5485
  }, "*"));
5466
5486
  }
5467
5487
  };
@@ -5473,7 +5493,7 @@ function ls(e, n, t, o, a, i) {
5473
5493
  key: 0,
5474
5494
  style: G(e.style),
5475
5495
  src: e.myImgUrl,
5476
- onClick: n[0] || (n[0] = (...r) => e.onClick && e.onClick(...r))
5496
+ onClick: n[0] || (n[0] = (...s) => e.onClick && e.onClick(...s))
5477
5497
  }, null, 12, as)) : (E(), R("div", {
5478
5498
  key: 1,
5479
5499
  class: "image-placeholder",
@@ -5625,11 +5645,11 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5625
5645
  default:
5626
5646
  return 55;
5627
5647
  }
5628
- }), a = q(() => e.scrollX), i = q(() => parseFloat(e.height) - k(o)), r = _([]), s = _([]), l = _([]), d = _([]), c = _(0), m = _(1), g = q(() => e.paginationPageSize), b = Ro([]), f = (L = []) => {
5629
- if (Array.isArray(L) && L.length > 0) {
5630
- const D = L.length, V = e.columnsFixedNum;
5648
+ }), a = q(() => e.scrollX), i = q(() => parseFloat(e.height) - k(o)), s = I([]), r = I([]), l = I([]), d = I([]), c = I(0), m = I(1), g = q(() => e.paginationPageSize), b = Ro([]), f = (M = []) => {
5649
+ if (Array.isArray(M) && M.length > 0) {
5650
+ const D = M.length, V = e.columnsFixedNum;
5631
5651
  for (let J = 0; J < D; J++) {
5632
- const P = L[J];
5652
+ const P = M[J];
5633
5653
  J < V ? P.fixed = "left" : P.fixed = !1;
5634
5654
  const {
5635
5655
  cellAlign: te = "center",
@@ -5661,25 +5681,25 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5661
5681
  highlight: k(W) === ht && e.clickHighlight
5662
5682
  },
5663
5683
  onClick: S("click", () => {
5664
- const Nt = e.id, Lo = U(Nt);
5684
+ const zt = e.id, Lo = U(zt);
5665
5685
  qe = {
5666
5686
  dataIndex: fe,
5667
5687
  title: ye,
5668
5688
  ...qe
5669
- }, H(Nt, { ...Lo, RECORD: qe });
5689
+ }, H(zt, { ...Lo, RECORD: qe });
5670
5690
  })
5671
5691
  }), Array.isArray(P.children) && f(P.children);
5672
5692
  }
5673
5693
  }
5674
- }, v = (L = []) => (e.isUseSeq && L.unshift({
5694
+ }, v = (M = []) => (e.isUseSeq && M.unshift({
5675
5695
  title: "序号",
5676
5696
  dataIndex: "SEQ",
5677
5697
  align: "center"
5678
- }), e.isUseAction && L.push({
5698
+ }), e.isUseAction && M.push({
5679
5699
  title: "操作",
5680
5700
  dataIndex: "ACTION",
5681
5701
  width: e.actionColumnWidth
5682
- }), f(L), L);
5702
+ }), f(M), M);
5683
5703
  ne(() => [
5684
5704
  e.columns,
5685
5705
  e.isUseSeq,
@@ -5689,20 +5709,20 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5689
5709
  e.cellBackgroundColor,
5690
5710
  e.borderColor
5691
5711
  ], () => {
5692
- r.value = v(bt(e.columns));
5712
+ s.value = v(bt(e.columns));
5693
5713
  }, {
5694
5714
  immediate: !0,
5695
5715
  deep: !0
5696
- }), ne(() => [e.data, e.dataType], ([L, D]) => {
5697
- D === "static" && (s.value = L);
5716
+ }), ne(() => [e.data, e.dataType], ([M, D]) => {
5717
+ D === "static" && (r.value = M);
5698
5718
  }, {
5699
5719
  immediate: !0
5700
5720
  });
5701
- const y = _({}), h = (L) => {
5702
- if (Array.isArray(L)) {
5703
- const D = L.length, V = b, J = V.length, P = {};
5721
+ const y = I({}), h = (M) => {
5722
+ if (Array.isArray(M)) {
5723
+ const D = M.length, V = b, J = V.length, P = {};
5704
5724
  for (let le = 0; le < D; le++) {
5705
- const fe = L[le];
5725
+ const fe = M[le];
5706
5726
  for (let ye = 0; ye < J; ye++) {
5707
5727
  const me = V[ye];
5708
5728
  if (P[me])
@@ -5722,16 +5742,16 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5722
5742
  y.value = te;
5723
5743
  }
5724
5744
  };
5725
- ne(() => [e.isReverse, r.value, s.value], () => {
5726
- const L = k(r), D = k(s);
5745
+ ne(() => [e.isReverse, s.value, r.value], () => {
5746
+ const M = k(s), D = k(r);
5727
5747
  if (h(D), e.isReverse) {
5728
- const { columns: V, dataSource: J } = A(bt(L), bt(D));
5748
+ const { columns: V, dataSource: J } = A(bt(M), bt(D));
5729
5749
  l.value = V, d.value = J;
5730
5750
  } else
5731
- l.value = L, d.value = D;
5751
+ l.value = M, d.value = D;
5732
5752
  });
5733
- const A = (L, D) => {
5734
- const V = L[0], J = [{
5753
+ const A = (M, D) => {
5754
+ const V = M[0], J = [{
5735
5755
  title: V.title,
5736
5756
  dataIndex: "col0",
5737
5757
  key: "col0",
@@ -5747,8 +5767,8 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5747
5767
  });
5748
5768
  }
5749
5769
  const P = [];
5750
- for (let te = 1; te < L.length; te++) {
5751
- const le = L[te], fe = { col0: le.title };
5770
+ for (let te = 1; te < M.length; te++) {
5771
+ const le = M[te], fe = { col0: le.title };
5752
5772
  for (let ye = 0; ye < D.length; ye++) {
5753
5773
  const me = D[ye];
5754
5774
  fe[`col${ye + 1}`] = me[le.dataIndex];
@@ -5759,50 +5779,50 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5759
5779
  columns: J,
5760
5780
  dataSource: P
5761
5781
  };
5762
- }, C = _(""), B = Ae(e), I = _(!1), M = async (L = !0) => {
5782
+ }, x = I(""), B = Ae(e), w = I(!1), L = async (M = !0) => {
5763
5783
  var D;
5764
5784
  try {
5765
- L && (I.value = !0);
5785
+ M && (w.value = !0);
5766
5786
  let V = {};
5767
- k(C) && (V.orderCondition = k(C)), e.paginationShow && (V = {
5787
+ k(x) && (V.orderCondition = k(x)), e.paginationShow && (V = {
5768
5788
  pageNum: k(m),
5769
5789
  pageSize: k(g),
5770
5790
  layer: "1",
5771
5791
  ...V
5772
5792
  });
5773
5793
  const J = await B(V), { rows: P = [], total: te = 0 } = ((D = J == null ? void 0 : J.data) == null ? void 0 : D.data) || {};
5774
- c.value = te, Array.isArray(P) && (s.value = P);
5794
+ c.value = te, Array.isArray(P) && (r.value = P);
5775
5795
  } catch (V) {
5776
5796
  console.error(V);
5777
5797
  } finally {
5778
- I.value = !1;
5798
+ w.value = !1;
5779
5799
  }
5780
- }, w = ({ current: L }, D, V) => {
5781
- if (m.value = L, V && Object.keys(V).length > 0) {
5800
+ }, C = ({ current: M }, D, V) => {
5801
+ if (m.value = M, V && Object.keys(V).length > 0) {
5782
5802
  const { field: J, order: P } = V, le = {
5783
5803
  ascend: "asc",
5784
5804
  descend: "desc"
5785
5805
  }[P];
5786
- J != null && le != null && (C.value = J + " " + le, m.value = 1);
5806
+ J != null && le != null && (x.value = J + " " + le, m.value = 1);
5787
5807
  }
5788
5808
  se(!1);
5789
5809
  }, u = q(() => {
5790
- const L = e.simple, D = [e.paginationPosition];
5810
+ const M = e.simple, D = [e.paginationPosition];
5791
5811
  return e.paginationShow && {
5792
- simple: L,
5812
+ simple: M,
5793
5813
  position: D,
5794
5814
  total: k(c),
5795
5815
  current: k(m),
5796
5816
  pageSize: k(g),
5797
5817
  showSizeChanger: !1
5798
5818
  };
5799
- }), p = (L) => +L == 1 ? "是" : +L == 0 ? "否" : L, x = (L, D) => D == null || D === "" ? L : {
5819
+ }), p = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M, T = (M, D) => D == null || D === "" ? M : {
5800
5820
  money: Rt,
5801
5821
  percentage: dt,
5802
5822
  contrast: dt,
5803
5823
  boolean: p
5804
- }[D](L) || "", F = (L, D) => {
5805
- const V = parseFloat(L + "");
5824
+ }[D](M) || "", F = (M, D) => {
5825
+ const V = parseFloat(M + "");
5806
5826
  if (D !== "contrast")
5807
5827
  return "";
5808
5828
  switch (!0) {
@@ -5811,59 +5831,59 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5811
5831
  case V < 0:
5812
5832
  return "goDown";
5813
5833
  }
5814
- }, S = ue(e), { pageMode: T } = $(ce, {
5834
+ }, S = ue(e), { pageMode: _ } = $(ce, {
5815
5835
  pageMode: "normal"
5816
5836
  }), { getGlobalModel: U, setGlobalModel: H } = $(de, {
5817
5837
  // @ts-ignore
5818
5838
  // eslint-disable-next-line no-void
5819
- getGlobalModel: (L) => {
5839
+ getGlobalModel: (M) => {
5820
5840
  },
5821
5841
  // @ts-ignore
5822
5842
  // eslint-disable-next-line no-void
5823
- setGlobalModel: (L, D) => {
5843
+ setGlobalModel: (M, D) => {
5824
5844
  }
5825
- }), O = (L = [], D = []) => {
5826
- const V = L.map((J) => ({ title: J, dataIndex: J, key: J }));
5827
- r.value = v(V), s.value = D;
5828
- }, z = Mn(e), N = async () => {
5829
- var L, D, V, J;
5845
+ }), O = (M = [], D = []) => {
5846
+ const V = M.map((J) => ({ title: J, dataIndex: J, key: J }));
5847
+ s.value = v(V), r.value = D;
5848
+ }, N = Mn(e), z = async () => {
5849
+ var M, D, V, J;
5830
5850
  try {
5831
- I.value = !0;
5832
- const P = await z();
5833
- O((D = (L = P == null ? void 0 : P.data) == null ? void 0 : L.data) == null ? void 0 : D.columns, (J = (V = P == null ? void 0 : P.data) == null ? void 0 : V.data) == null ? void 0 : J.rows);
5851
+ w.value = !0;
5852
+ const P = await N();
5853
+ O((D = (M = P == null ? void 0 : P.data) == null ? void 0 : M.data) == null ? void 0 : D.columns, (J = (V = P == null ? void 0 : P.data) == null ? void 0 : V.data) == null ? void 0 : J.rows);
5834
5854
  } catch (P) {
5835
5855
  console.error(P);
5836
5856
  } finally {
5837
- I.value = !1;
5857
+ w.value = !1;
5838
5858
  }
5839
- }, W = _(-1), ee = (L, D) => ({
5859
+ }, W = I(-1), ee = (M, D) => ({
5840
5860
  onClick: S("rowClick", () => {
5841
5861
  const V = e.id, J = U(V);
5842
- H(V, { ...J, RECORD: L }), W.value = D;
5862
+ H(V, { ...J, RECORD: M }), W.value = D;
5843
5863
  })
5844
- }), se = (L = !0) => {
5845
- if (k(T) !== "design")
5864
+ }), se = (M = !0) => {
5865
+ if (k(_) !== "design")
5846
5866
  switch (e.dataType) {
5847
5867
  case "request":
5848
- M(L);
5868
+ L(M);
5849
5869
  break;
5850
5870
  case "indicator":
5851
- N();
5871
+ z();
5852
5872
  break;
5853
5873
  }
5854
5874
  };
5855
5875
  ge(e, {
5856
5876
  resetRecord: () => {
5857
- const L = e.id, D = U(L);
5858
- H(L, { ...D, RECORD: "" });
5877
+ const M = e.id, D = U(M);
5878
+ H(M, { ...D, RECORD: "" });
5859
5879
  },
5860
5880
  refreshData: se
5861
5881
  });
5862
5882
  const To = q(() => {
5863
- const L = k(l), D = [];
5883
+ const M = k(l), D = [];
5864
5884
  let V = 0;
5865
- for (let P = 0; P < L.length; P++) {
5866
- const te = L[P], { isCalcTotal: le } = te;
5885
+ for (let P = 0; P < M.length; P++) {
5886
+ const te = M[P], { isCalcTotal: le } = te;
5867
5887
  e.isUseSeq && P === 0 ? D.push({
5868
5888
  ...te,
5869
5889
  total: "小计"
@@ -5898,7 +5918,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5898
5918
  }), { setRequest: _o } = $(Ce, {
5899
5919
  // @ts-ignore
5900
5920
  // eslint-disable-next-line no-void
5901
- setRequest: ({ id: L, sortNum: D, requestFn: V }) => {
5921
+ setRequest: ({ id: M, sortNum: D, requestFn: V }) => {
5902
5922
  }
5903
5923
  });
5904
5924
  return _o({
@@ -5913,42 +5933,42 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5913
5933
  style: t,
5914
5934
  customRow: ee,
5915
5935
  pagination: u,
5916
- formatFn: x,
5936
+ formatFn: T,
5917
5937
  contrastClass: F,
5918
- tableChange: w,
5938
+ tableChange: C,
5919
5939
  summaryList: To,
5920
- loading: I,
5921
- onTouchHrefEvent: (L, D = "") => {
5922
- L === "event" && window.parent.postMessage({
5940
+ loading: w,
5941
+ onTouchHrefEvent: (M, D = "") => {
5942
+ M === "event" && window.parent.postMessage({
5923
5943
  type: "openPage",
5924
5944
  url: D
5925
5945
  }, "*");
5926
5946
  },
5927
- handleHref: (L = "", D) => be(L, D),
5928
- handleHrefTarget: (L) => {
5929
- if (L !== "event")
5947
+ handleHref: (M = "", D) => be(M, D),
5948
+ handleHrefTarget: (M) => {
5949
+ if (M !== "event")
5930
5950
  return {
5931
5951
  self: "_self",
5932
5952
  blank: "_blank"
5933
- }[L];
5953
+ }[M];
5934
5954
  },
5935
5955
  useRowIndex: W,
5936
5956
  tableColumns: l,
5937
5957
  tableDataSource: d,
5938
- useFilterOptions: (L) => {
5939
- const D = L.dataIndex;
5958
+ useFilterOptions: (M) => {
5959
+ const D = M.dataIndex;
5940
5960
  if (typeof D == "string") {
5941
5961
  let V = k(y)[D];
5942
- const J = k(L.filterOptionsInputValue).trim();
5962
+ const J = k(M.filterOptionsInputValue).trim();
5943
5963
  return Array.isArray(V) ? (V = V.filter((P) => typeof P.label == "string" ? P.label.toLowerCase().includes(J.toLowerCase()) : !0), V) : [];
5944
5964
  }
5945
5965
  return [];
5946
5966
  },
5947
- useSetSelectedKeys: (L, D) => {
5948
- L(D.filterCheckboxGroupValue);
5967
+ useSetSelectedKeys: (M, D) => {
5968
+ M(D.filterCheckboxGroupValue);
5949
5969
  },
5950
- onResetFilter: (L, D) => {
5951
- L({ confirm: !0 }), D.filterOptionsInputValue = "", D.filterCheckboxGroupValue = [];
5970
+ onResetFilter: (M, D) => {
5971
+ M({ confirm: !0 }), D.filterOptionsInputValue = "", D.filterCheckboxGroupValue = [];
5952
5972
  },
5953
5973
  onSearchFilterOptions: () => {
5954
5974
  }
@@ -5960,7 +5980,7 @@ const hs = /* @__PURE__ */ dn(" 搜索 "), ys = /* @__PURE__ */ dn(" 重置 "),
5960
5980
  class: "action-list"
5961
5981
  }, ps = ["href", "target", "onClick"];
5962
5982
  function Cs(e, n, t, o, a, i) {
5963
- const r = Z("a-input"), s = Z("a-checkbox-group"), l = Z("a-button"), d = Z("a-table-summary-cell"), c = Z("a-table-summary-row"), m = Z("a-table-summary"), g = Z("a-table"), b = Z("skeleton");
5983
+ const s = Z("a-input"), r = Z("a-checkbox-group"), l = Z("a-button"), d = Z("a-table-summary-cell"), c = Z("a-table-summary-row"), m = Z("a-table-summary"), g = Z("a-table"), b = Z("skeleton");
5964
5984
  return E(), R("div", {
5965
5985
  class: "ecan-table",
5966
5986
  style: G(e.style)
@@ -5988,19 +6008,19 @@ function Cs(e, n, t, o, a, i) {
5988
6008
  height: e.filterDropdownHeight
5989
6009
  })
5990
6010
  }, [
5991
- j(r, {
6011
+ j(s, {
5992
6012
  value: f.filterOptionsInputValue,
5993
- "onUpdate:value": (C) => f.filterOptionsInputValue = C,
6013
+ "onUpdate:value": (x) => f.filterOptionsInputValue = x,
5994
6014
  placeholder: "请输入关键字",
5995
6015
  class: "filter-input",
5996
6016
  onChange: e.onSearchFilterOptions
5997
6017
  }, null, 8, ["value", "onUpdate:value", "onChange"]),
5998
- j(s, {
6018
+ j(r, {
5999
6019
  value: f.filterCheckboxGroupValue,
6000
- "onUpdate:value": (C) => f.filterCheckboxGroupValue = C,
6020
+ "onUpdate:value": (x) => f.filterCheckboxGroupValue = x,
6001
6021
  class: "filter-checkbox",
6002
6022
  options: e.useFilterOptions(f),
6003
- onChange: (C) => e.useSetSelectedKeys(y, f)
6023
+ onChange: (x) => e.useSetSelectedKeys(y, f)
6004
6024
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
6005
6025
  X("div", null, [
6006
6026
  j(l, {
@@ -6017,7 +6037,7 @@ function Cs(e, n, t, o, a, i) {
6017
6037
  j(l, {
6018
6038
  size: "small",
6019
6039
  style: { width: "90px" },
6020
- onClick: (C) => e.onResetFilter(A, f)
6040
+ onClick: (x) => e.onResetFilter(A, f)
6021
6041
  }, {
6022
6042
  default: Y(() => [
6023
6043
  ys
@@ -6030,9 +6050,9 @@ function Cs(e, n, t, o, a, i) {
6030
6050
  bodyCell: Y(({ column: f, index: v, text: y, record: h }) => [
6031
6051
  f.dataIndex === "SEQ" ? (E(), R("span", bs, he(v + 1), 1)) : pe("", !0),
6032
6052
  f.dataIndex === "ACTION" ? (E(), R("div", vs, [
6033
- (E(!0), R(Le, null, Ie(e.actionList, (A, C) => (E(), R("div", {
6053
+ (E(!0), R(Le, null, Ie(e.actionList, (A, x) => (E(), R("div", {
6034
6054
  class: "action",
6035
- key: C
6055
+ key: x
6036
6056
  }, [
6037
6057
  X("a", {
6038
6058
  href: e.handleHref(A.href, h),
@@ -6147,19 +6167,19 @@ $e([
6147
6167
  const ks = Q({
6148
6168
  name: "EcanMap",
6149
6169
  components: {
6150
- Echarts: Ne
6170
+ Echarts: ze
6151
6171
  },
6152
6172
  props: {
6153
6173
  ...xo
6154
6174
  },
6155
6175
  setup(e) {
6156
- const n = ie(e, ["backgroundImage"]), t = _(), o = q(() => Re(e.geoBackgroundImage)), a = q(() => Re(e.backgroundImage)), i = q(() => e.geoBackgroundImage ? {
6176
+ const n = ie(e, ["backgroundImage"]), t = I(), o = q(() => Re(e.geoBackgroundImage)), a = q(() => Re(e.backgroundImage)), i = q(() => e.geoBackgroundImage ? {
6157
6177
  image: k(t),
6158
6178
  repeat: e.geoBackgroundImageRepeat
6159
- } : e.geoItemStyleAreaColor), r = q(() => {
6179
+ } : e.geoItemStyleAreaColor), s = q(() => {
6160
6180
  const c = e.symbolImage;
6161
6181
  return e.symbolImage ? "image://" + Re(c) : "circle";
6162
- }), s = q(() => {
6182
+ }), r = q(() => {
6163
6183
  const c = e.geoCenter;
6164
6184
  let m;
6165
6185
  return typeof c == "string" && c !== "" && (m = c.split(",")), {
@@ -6222,7 +6242,7 @@ const ks = Q({
6222
6242
  itemStyle: {
6223
6243
  color: e.itemStyleColor
6224
6244
  },
6225
- symbol: k(r),
6245
+ symbol: k(s),
6226
6246
  symbolSize: [e.symbolWidth, e.symbolHeight],
6227
6247
  label: {
6228
6248
  show: e.labelShow,
@@ -6241,7 +6261,7 @@ const ks = Q({
6241
6261
  }
6242
6262
  ]
6243
6263
  };
6244
- }), l = _(!1), d = async () => {
6264
+ }), l = I(!1), d = async () => {
6245
6265
  var m;
6246
6266
  const c = e.mapJson;
6247
6267
  if (c != null && c.path) {
@@ -6256,7 +6276,7 @@ const ks = Q({
6256
6276
  immediate: !0,
6257
6277
  deep: !0
6258
6278
  }), {
6259
- option: s,
6279
+ option: r,
6260
6280
  style: n,
6261
6281
  isLoadedData: l,
6262
6282
  geoBackgroundImageRef: t,
@@ -6266,12 +6286,12 @@ const ks = Q({
6266
6286
  });
6267
6287
  const As = ["src"];
6268
6288
  function xs(e, n, t, o, a, i) {
6269
- const r = Z("echarts");
6289
+ const s = Z("echarts");
6270
6290
  return E(), R("div", {
6271
6291
  class: "ecan-map",
6272
6292
  style: G(e.style)
6273
6293
  }, [
6274
- e.isLoadedData ? (E(), Oe(r, {
6294
+ e.isLoadedData ? (E(), Oe(s, {
6275
6295
  key: 0,
6276
6296
  option: e.option,
6277
6297
  "update-options": { notMerge: !0 },
@@ -6281,7 +6301,7 @@ function xs(e, n, t, o, a, i) {
6281
6301
  ref: "geoBackgroundImageRef",
6282
6302
  src: e.myGeoBackgroundImage
6283
6303
  }, null, 8, As), [
6284
- [No, !1]
6304
+ [zo, !1]
6285
6305
  ])
6286
6306
  ], 4);
6287
6307
  }
@@ -6304,7 +6324,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6304
6324
  EcanPageConfig: Ol,
6305
6325
  EcanPie: Xi,
6306
6326
  EcanProportion: vi,
6307
- EcanProviderConfig: zl,
6327
+ EcanProviderConfig: Nl,
6308
6328
  EcanRangePicker: $i,
6309
6329
  EcanScatter: gr,
6310
6330
  EcanScrollText: Yl,
@@ -6345,7 +6365,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6345
6365
  lineProps: to,
6346
6366
  listComponentProps: $n,
6347
6367
  listEvents: ti,
6348
- listProps: zn,
6368
+ listProps: Nn,
6349
6369
  mapComponentProps: xo,
6350
6370
  mapProps: Ao,
6351
6371
  modalComponentProps: ho,
@@ -6379,7 +6399,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6379
6399
  textComponentProps: Rn,
6380
6400
  textEvents: $l,
6381
6401
  textProps: Fn,
6382
- timeDisplayComponentProps: Nn,
6402
+ timeDisplayComponentProps: zn,
6383
6403
  timeDisplayProps: Dn
6384
6404
  }, Symbol.toStringTag, { value: "Module" })), Ls = (e) => {
6385
6405
  Object.keys(tn).forEach((n) => {
@@ -6407,7 +6427,7 @@ export {
6407
6427
  Ol as EcanPageConfig,
6408
6428
  Xi as EcanPie,
6409
6429
  vi as EcanProportion,
6410
- zl as EcanProviderConfig,
6430
+ Nl as EcanProviderConfig,
6411
6431
  $i as EcanRangePicker,
6412
6432
  gr as EcanScatter,
6413
6433
  Yl as EcanScrollText,
@@ -6449,7 +6469,7 @@ export {
6449
6469
  to as lineProps,
6450
6470
  $n as listComponentProps,
6451
6471
  ti as listEvents,
6452
- zn as listProps,
6472
+ Nn as listProps,
6453
6473
  xo as mapComponentProps,
6454
6474
  Ao as mapProps,
6455
6475
  ho as modalComponentProps,
@@ -6483,7 +6503,7 @@ export {
6483
6503
  Rn as textComponentProps,
6484
6504
  $l as textEvents,
6485
6505
  Fn as textProps,
6486
- Nn as timeDisplayComponentProps,
6506
+ zn as timeDisplayComponentProps,
6487
6507
  Dn as timeDisplayProps
6488
6508
  };
6489
6509
  //# sourceMappingURL=index.es.js.map