@ecan-bi/datav 1.1.37 → 1.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.39 */
2
+ import { watch as ne, inject as $, computed as q, unref as A, 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);
@@ -71,7 +71,7 @@ const fa = {
71
71
  }, ma = "ecLoadingOptions";
72
72
  function ga(e, n, t) {
73
73
  const o = $(ma, {}), a = q(() => ({
74
- ...k(o),
74
+ ...A(o),
75
75
  ...t == null ? void 0 : t.value
76
76
  }));
77
77
  rn(() => {
@@ -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,37 +107,37 @@ 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 = $(
114
114
  wa,
115
115
  null
116
- ), { autoresize: d, manualUpdate: c, loading: m, loadingOptions: g } = Io(e), b = q(
116
+ ), { autoresize: d, manualUpdate: c, loading: m, loadingOptions: g } = Io(e), v = 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 || A(s) || {}), b = q(
119
+ () => e.initOptions || A(r) || {}
120
120
  ), y = q(
121
- () => e.updateOptions || k(l) || {}
121
+ () => e.updateOptions || A(l) || {}
122
122
  ), h = q(() => va(n));
123
- function A(w) {
123
+ function k(C) {
124
124
  if (a.value || !o.value)
125
125
  return;
126
126
  const u = a.value = $o(
127
127
  o.value,
128
128
  f.value,
129
- v.value
129
+ b.value
130
130
  );
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,26 +148,26 @@ 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 || v.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 || {}) : k(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
- u && (a.value ? a.value.setOption(u, y.value) : A());
170
+ u && (a.value ? a.value.setOption(u, y.value) : k());
171
171
  },
172
172
  { deep: !0 }
173
173
  ));
@@ -176,9 +176,9 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
176
176
  immediate: !0
177
177
  }
178
178
  ), ne(
179
- [f, v],
179
+ [f, b],
180
180
  () => {
181
- B(), A();
181
+ B(), k();
182
182
  },
183
183
  {
184
184
  deep: !0
@@ -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, k);
190
190
  return ga(a, m, g), ua(a, d, o), Je(() => {
191
- e.option && A();
191
+ e.option && k();
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,29 +555,29 @@ 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) {
579
- var m = c.index, g = c.opacity, b = it($a(je(n.backgroundColor || "#141414"), je(t[m]), g * 100));
580
- return b;
578
+ return n.theme === "dark" ? Na.map(function(c) {
579
+ var m = c.index, g = c.opacity, v = it($a(je(n.backgroundColor || "#141414"), je(t[m]), g * 100));
580
+ return v;
581
581
  }) : t;
582
582
  }
583
583
  var wt = {
@@ -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), v = (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;
939
- v === void 0 && m && (v = -1, g.tabindex = v);
938
+ }, Lt(o, "anticon-".concat(s.name), Boolean(s.name)), Lt(o, i, i), o), f = r === "" || r || s.name === "loading" ? "anticon-spin" : "", b = d;
939
+ b === void 0 && m && (b = -1, g.tabindex = b);
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), k = il(h, 2), x = k[0], B = k[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
- class: b
949
+ class: v
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++) {
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);
1177
+ const i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map(), r = e.length;
1178
+ for (let c = 0; c < r; c++) {
1179
+ const m = e[c], g = m[t] || "", v = m[o] || "", f = m[a] || "";
1180
+ if (i.add(g), s.has(f)) {
1181
+ const b = s.get(f);
1182
+ b.push({ name: g, value: v, ...m }), s.set(f, b);
1183
1183
  } else
1184
- r.set(f, [{ name: g, value: b, ...m }]);
1184
+ s.set(f, [{ name: g, value: v, ...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,18 +1240,18 @@ 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
- const g = c[m], b = n[g];
1249
- if (b != null && (l = l.replace(g, b)), b !== l)
1248
+ const g = c[m], v = n[g];
1249
+ if (v != null && (l = l.replace(g, v)), v !== l)
1250
1250
  try {
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",
@@ -1271,82 +1271,82 @@ const xl = (e) => e.replace(/\\n/g, `
1271
1271
  }), { getGlobalModel: m } = $(de, {
1272
1272
  // @ts-ignore
1273
1273
  // eslint-disable-next-line no-void
1274
- getGlobalModel: (v) => {
1274
+ getGlobalModel: (b) => {
1275
1275
  }
1276
- }), g = be(t), b = async (v = {}) => {
1277
- if (!g || !o || !a || k(d) === "design")
1276
+ }), g = be(t), v = async (b = {}) => {
1277
+ if (!g || !o || !a || A(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;
1285
- p === "THIS" ? u = m(k(c)) || {} : u = m(p) || {};
1286
- const T = k(u[x]);
1284
+ const { id: p, prop: T, propKey: F, operate: S } = C;
1285
+ p === "THIS" ? u = m(A(c)) || {} : u = m(p) || {};
1286
+ const _ = A(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 = A(_).add(O, z);
1294
1294
  break;
1295
1295
  case "minus":
1296
- U = k(T).subtract(O, N);
1296
+ U = A(_).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 = A(_)), 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));
1305
- }), y = { ...window.config.requestParams, ...v, ...y };
1304
+ typeof C == "string" && (y[L] = be(C));
1305
+ }), y = { ...window.config.requestParams, ...b, ...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 k = Object.keys(y), x = k.length - 1, B = k.length;
1308
+ k.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({
1313
- baseURL: k(l) || "",
1314
- url: I ? g + h : g,
1312
+ const w = ["get", "head"].includes(o), L = await xe({
1313
+ baseURL: A(l) || "",
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(v, s * 1e3);
1324
1324
  return ut(() => {
1325
1325
  clearInterval(f);
1326
- }), b;
1327
- }, ze = (e = [], n) => {
1326
+ }), v;
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++) {
1334
- const b = o[g], { label: f, value: v } = b, y = { ...e[0], value: e[0][v] };
1333
+ for (let g = 0; g < r; g++) {
1334
+ const v = o[g], { label: f, value: b } = v, y = { ...e[0], value: e[0][b] };
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++) {
1344
- const f = o[b], { label: v, value: y } = f, h = { ...m, value: m[y] };
1345
- if (i.has(v)) {
1346
- const A = i.get(v);
1347
- A.push(h), i.set(v, A);
1343
+ for (let v = 0; v < r; v++) {
1344
+ const f = o[v], { label: b, value: y } = f, h = { ...m, value: m[y] };
1345
+ if (i.has(b)) {
1346
+ const k = i.get(b);
1347
+ k.push(h), i.set(b, k);
1348
1348
  } else
1349
- i.set(v, [h]);
1349
+ i.set(b, [h]);
1350
1350
  }
1351
1351
  }
1352
1352
  const l = Array.from(a), d = [];
@@ -1410,18 +1410,18 @@ const xl = (e) => e.replace(/\\n/g, `
1410
1410
  var c;
1411
1411
  const d = [];
1412
1412
  for (let m = 0; m < l.length; m++) {
1413
- const { keyName: g, searchName: b, searchType: f, variateName: v, id: y } = l[m], h = {
1413
+ const { keyName: g, searchName: v, searchType: f, variateName: b, id: y } = l[m], h = {
1414
1414
  alias: g,
1415
- fieldName: b,
1415
+ fieldName: v,
1416
1416
  rule: f || "NONE",
1417
1417
  fieldValue: "",
1418
1418
  valueType: "",
1419
- variateName: v
1420
- }, A = n(y) || {};
1421
- if (b === "the_date" ? h.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(b) && (h.valueType = "TEXT"), A.type === "ecanDatePicker") {
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));
1419
+ variateName: b
1420
+ }, k = n(y) || {};
1421
+ if (v === "the_date" ? h.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(v) && (h.valueType = "TEXT"), k.type === "ecanDatePicker") {
1422
+ h.dateFormat = k.format;
1423
+ const x = (c = A(k)) == null ? void 0 : c.value.format;
1424
+ typeof x == "function" && (h.fieldValue = x(k == null ? void 0 : k.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 = {
@@ -1464,27 +1464,27 @@ const xl = (e) => e.replace(/\\n/g, `
1464
1464
  if (m = JSON.parse(JSON.stringify(l.children[c].fieldValue)), l.children[c].itemType === "DATE")
1465
1465
  g.dateFormat = l.children[c].format, g.dateCalcTypes = l.children[c].dateCalcTypes, g.calcWays = l.children[c].calcWays, l.children[c].selectType === "time" ? l.children[c].absoluteBool && (m = "#######", g.calcWays = l.children[c].calcWays) : l.children[c].selectType === "component" && (m = "${" + l.children[c].relateCompent + "}"), g.dateFormat = l.children[c].format, g.dateCalcTypes = l.children[c].dateCalcTypes, g.calcWays = l.children[c].calcWays;
1466
1466
  else if (Object.prototype.toString.call(m) === "[object Array]") {
1467
- const b = [];
1467
+ const v = [];
1468
1468
  for (let f = 0; f < m.length; f++)
1469
- m[f] !== "全选" && b.push(m[f]);
1470
- m = b.join(",");
1469
+ m[f] !== "全选" && v.push(m[f]);
1470
+ m = v.join(",");
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);
1478
1478
  if (!m)
1479
1479
  return;
1480
- const g = [], b = m.filterList;
1481
- if (b)
1482
- for (let f = 0; f < b.length; f++)
1483
- b[f].children.length > 0 && r(b[f], g);
1480
+ const g = [], v = m.filterList;
1481
+ if (v)
1482
+ for (let f = 0; f < v.length; f++)
1483
+ v[f].children.length > 0 && s(v[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 = {
@@ -1504,15 +1504,15 @@ const xl = (e) => e.replace(/\\n/g, `
1504
1504
  return;
1505
1505
  }
1506
1506
  const g = t(d);
1507
- let b;
1507
+ let v;
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 && (v = {
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);
1530
- let v;
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);
1527
+ v && (i(v, d.seriesList), v.conditions = r(v, "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
+ let b;
1531
+ (d == null ? void 0 : d.pageMode) === "design" ? b = d.sqlConditions ?? [] : b = a(d == null ? void 0 : d.relativeList);
1532
+ let y = "SQL_VIEW", h = "", k = "", x = "";
1533
+ d.source === "INDICATOR_LIB" && (y = "INDICATOR_LIB", h = d.fixedDimSql, k = 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"
@@ -1551,37 +1551,43 @@ const xl = (e) => e.replace(/\\n/g, `
1551
1551
  chartType: B[l],
1552
1552
  classification: f,
1553
1553
  indicatorList: g,
1554
- series: b,
1555
- sqlConditions: v,
1554
+ series: v,
1555
+ sqlConditions: b,
1556
1556
  source: y,
1557
1557
  fixedDimSql: h,
1558
- dataSourceId: A,
1559
- idxLibMode: C
1558
+ dataSourceId: k,
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,69 +1599,69 @@ 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,
1612
1618
  indexCode: m,
1613
1619
  calcType: g = "COLUMN",
1614
- builtInFormula: b,
1620
+ builtInFormula: v,
1615
1621
  builtInValueSource: f,
1616
- builtInCalcWay: v,
1622
+ builtInCalcWay: b,
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,
1625
1631
  calcType: g,
1626
1632
  hrpIndexCode: m,
1627
1633
  aggregate: "SUM",
1628
- builtInFormula: b,
1634
+ builtInFormula: v,
1629
1635
  builtInValueSource: f,
1630
- builtInCalcWay: v,
1636
+ builtInCalcWay: b,
1631
1637
  formula: y,
1632
1638
  conditions: h
1633
1639
  };
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
- conditionLabel: b,
1651
+ conditionLabel: v,
1646
1652
  conditionKey: f,
1647
- conditionValueType: v
1653
+ conditionValueType: b
1648
1654
  } = m, y = {
1649
1655
  rule: "NONE",
1650
- label: b,
1656
+ label: v,
1651
1657
  fieldName: f,
1652
1658
  fieldValue: "",
1653
1659
  // 在关联控件中取
1654
- valueType: v
1660
+ valueType: b
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: k, format: x } = h || {};
1664
+ y.fieldValue = (d = A(k)) == null ? void 0 : d.format(x), y.dateFormat = x;
1659
1665
  }
1660
1666
  l.push(y);
1661
1667
  }
@@ -1663,34 +1669,34 @@ 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,
1671
1677
  chartType: m,
1672
1678
  classificationList: g = [],
1673
- seriesList: b = [],
1679
+ seriesList: v = [],
1674
1680
  leftAxisList: f = [],
1675
- rightAxisList: v = [],
1681
+ rightAxisList: b = [],
1676
1682
  queryColumnList: y = [],
1677
1683
  indicators: h = [],
1678
- controlList: A = [],
1679
- dataSourceId: C,
1684
+ controlList: k = [],
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;
1702
- if (Array.isArray(b) && b.length > 0) {
1703
- 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 = {
1707
+ let C;
1708
+ if (Array.isArray(v) && v.length > 0) {
1709
+ const S = v.length;
1710
+ for (let _ = 0; _ < S; _++) {
1711
+ const U = v[_] || {}, { 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
  };
@@ -1723,7 +1729,7 @@ const xl = (e) => e.replace(/\\n/g, `
1723
1729
  const p = [];
1724
1730
  if (f == null || f.forEach((S) => {
1725
1731
  S.location = "LEFT", p.push(o(S));
1726
- }), v == null || v.forEach((S) => {
1732
+ }), b == null || b.forEach((S) => {
1727
1733
  S.location = "RIGHT", p.push(o(S));
1728
1734
  }), h == null || h.forEach((S) => {
1729
1735
  S.location = "LEFT", p.push(o(S));
@@ -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(k);
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
- const d = () => new Promise((v) => {
1801
+ const d = () => new Promise((b) => {
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), b();
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 b = document.body.clientWidth, y = document.body.clientHeight, h = t.value || a.value, k = o.value || i.value, x = b / h, B = y / k;
1809
+ r.value && (r.value.style.transform = `scale(${x}, ${B})`);
1804
1810
  }, g = It(async () => {
1805
1811
  await d(), m();
1806
- }, 100), b = () => {
1807
- const v = window.MutationObserver;
1808
- l = new v(g), l.observe(s.value, {
1812
+ }, 100), v = () => {
1813
+ const b = window.MutationObserver;
1814
+ l = new b(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), v(), 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,99 +1866,99 @@ 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 = () => {
1881
1887
  m.pop();
1882
- }, b = (O) => {
1888
+ }, v = (O) => {
1883
1889
  m.push(O);
1884
- }, f = /* @__PURE__ */ new Map(), v = (O) => f.get(O);
1890
+ }, f = /* @__PURE__ */ new Map(), b = (O) => f.get(O);
1885
1891
  Fe(_n, {
1886
1892
  popUseModalIds: g,
1887
- pushUseModalIds: b,
1888
- getModalModel: v,
1889
- setModalModel: (O, z) => {
1890
- f.set(O, z);
1893
+ pushUseModalIds: v,
1894
+ getModalModel: b,
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(), k = /* @__PURE__ */ new Set(), x = (O, N) => {
1900
+ k.add(O), h.on(O, (z) => typeof N[z] == "function" && N[z]()), Nt(() => {
1895
1901
  B(O);
1896
1902
  });
1897
1903
  }, B = (O) => {
1898
- A.delete(O), h.off(O);
1904
+ k.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)
1908
- W = [...A];
1913
+ if (z === 0)
1914
+ W = [...k];
1909
1915
  else {
1910
- const ee = m[N - 1];
1911
- W = [...v(ee)];
1916
+ const ee = m[z - 1];
1917
+ W = [...b(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 = A(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" && A(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,46 +2042,59 @@ 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 = _({});
2040
- ne(() => [e.data, e.dataType], ([g, b]) => {
2041
- b === "static" && (t.value = g);
2045
+ const n = ie(e), t = I({});
2046
+ ne(() => [e.data, e.dataType], ([g, v]) => {
2047
+ v === "static" && (t.value = g);
2042
2048
  }, {
2043
2049
  immediate: !0
2044
2050
  });
2045
2051
  const o = q(() => {
2046
- var v;
2047
- const g = k(t);
2048
- let b = e.text;
2049
- 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);
2052
+ var b;
2053
+ const g = A(t);
2054
+ let v = e.text;
2055
+ v = v == null ? void 0 : v.replace(/\n|\\n/g, "<br/>"), v = v == null ? void 0 : v.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
2056
+ const f = v.match(/\{(.+?)\}/g);
2051
2057
  if (f == null || f.length === 0)
2052
- return b;
2058
+ return v;
2053
2059
  for (let y = 0; y < f.length; y++) {
2054
- 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>`);
2059
- } else
2060
- b = b.replace(h, e.variableDefaultValue);
2060
+ const h = f[y], k = (b = h == null ? void 0 : h.slice(1, h.length - 1)) == null ? void 0 : b.trim();
2061
+ let x = k;
2062
+ const B = k.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 = k.replace(C, u));
2066
+ }
2067
+ if (k !== 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 === k && (w = e.variableDefaultValue), w != null) {
2077
+ const L = e.format;
2078
+ L === "percentage" ? (w = +w, isNaN(w) ? v = v.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : w >= 0 ? (w = (w * 100).toFixed(2), v = v.replace(h, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Pl}"/>${w}%</span>`)) : (w = (w * 100).toFixed(2), v = v.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), v = v.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}%</span>`))) : e.format === "money" ? (w = +w, isNaN(w) || (w = Rt(w), v = v.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : L === "thousands" ? (w = +w, isNaN(w) || (w = Tl(w), v = v.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : v = v.replace(h, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`);
2079
+ }
2061
2080
  }
2062
- return `<span>${b}</span>`;
2081
+ return `<span>${v}</span>`;
2063
2082
  }), { pageMode: a } = $(ce, {
2064
2083
  pageMode: "normal"
2065
- }), i = Ae(e), r = _(!1), s = async () => {
2084
+ }), i = Ae(e), s = I(!1), r = async () => {
2066
2085
  var g;
2067
- if (k(a) !== "design")
2086
+ if (A(a) !== "design")
2068
2087
  try {
2069
- r.value = !0;
2070
- const b = await i();
2071
- t.value = ((g = b == null ? void 0 : b.data) == null ? void 0 : g.data) || {};
2072
- } catch (b) {
2073
- console.error(b);
2088
+ s.value = !0;
2089
+ const v = await i();
2090
+ t.value = ((g = v == null ? void 0 : v.data) == null ? void 0 : g.data) || {};
2091
+ } catch (v) {
2092
+ console.error(v);
2074
2093
  } finally {
2075
- r.value = !1;
2094
+ s.value = !1;
2076
2095
  }
2077
2096
  }, l = () => {
2078
- e.dataType !== "static" && s();
2097
+ e.dataType !== "static" && r();
2079
2098
  };
2080
2099
  ge(e, {
2081
2100
  refreshData: l
@@ -2083,7 +2102,7 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2083
2102
  const { setRequest: d } = $(Ce, {
2084
2103
  // @ts-ignore
2085
2104
  // eslint-disable-next-line no-void
2086
- setRequest: ({ id: g, sortNum: b, requestFn: f }) => {
2105
+ setRequest: ({ id: g, sortNum: v, requestFn: f }) => {
2087
2106
  }
2088
2107
  });
2089
2108
  d({
@@ -2096,11 +2115,11 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2096
2115
  const m = ue(e)("click", () => {
2097
2116
  if (!e.linkPage && !e.href)
2098
2117
  return;
2099
- const g = e.linkPage || "", b = In(k(a), g), f = e.href;
2100
- let v = f || b;
2101
- v = be(v);
2118
+ const g = e.linkPage || "", v = In(A(a), g), f = e.href;
2119
+ let b = f || v;
2120
+ b = be(b);
2102
2121
  const y = e.target;
2103
- y == null || y === "" || (y !== "event" ? window.open(v, "_" + y) : window.parent.postMessage({
2122
+ y == null || y === "" || (y !== "event" ? window.open(b, "_" + y) : window.parent.postMessage({
2104
2123
  type: "openPage",
2105
2124
  url: f
2106
2125
  }, "*"));
@@ -2108,33 +2127,33 @@ const Nl = /* @__PURE__ */ K(Fl, [["render", Dl]]), zl = oe(Nl), Fn = {
2108
2127
  return {
2109
2128
  style: n,
2110
2129
  myText: o,
2111
- loading: r,
2130
+ loading: s,
2112
2131
  click: m
2113
2132
  };
2114
2133
  }
2115
2134
  });
2116
2135
  const Ul = ["innerHTML"];
2117
2136
  function ql(e, n, t, o, a, i) {
2118
- const r = Z("skeleton");
2137
+ const s = Z("skeleton");
2119
2138
  return e.loading ? (E(), R("div", {
2120
2139
  key: 0,
2121
2140
  class: "skeleton-wrapper",
2122
2141
  style: G(e.style)
2123
2142
  }, [
2124
- j(r, { loading: e.loading }, null, 8, ["loading"])
2143
+ j(s, { loading: e.loading }, null, 8, ["loading"])
2125
2144
  ], 4)) : (E(), R("div", {
2126
2145
  key: 1,
2127
2146
  class: "ecan-text",
2128
2147
  style: G(e.style),
2129
2148
  innerHTML: e.myText,
2130
- onClick: n[0] || (n[0] = (...s) => e.click && e.click(...s))
2149
+ onClick: n[0] || (n[0] = (...r) => e.click && e.click(...r))
2131
2150
  }, null, 12, Ul));
2132
2151
  }
2133
- const jl = /* @__PURE__ */ K(Gl, [["render", ql], ["__scopeId", "data-v-d95aef76"]]), Wl = oe(jl), Vl = Q({
2152
+ const jl = /* @__PURE__ */ K(Gl, [["render", ql], ["__scopeId", "data-v-1d477570"]]), Wl = oe(jl), Vl = Q({
2134
2153
  name: "EcanScrollText",
2135
2154
  setup() {
2136
2155
  return {
2137
- text: _("基础文本")
2156
+ text: I("基础文本")
2138
2157
  };
2139
2158
  }
2140
2159
  });
@@ -2157,13 +2176,13 @@ const Jl = /* @__PURE__ */ K(Vl, [["render", Zl], ["__scopeId", "data-v-4dd9c03e
2157
2176
  fontWeight: 400,
2158
2177
  textShadow: "",
2159
2178
  verticalAlign: "middle"
2160
- }, Nn = ae(Dn), Ql = Q({
2179
+ }, zn = ae(Dn), Ql = Q({
2161
2180
  name: "EcanTimeDisplay",
2162
2181
  props: {
2163
- ...Nn
2182
+ ...zn
2164
2183
  },
2165
2184
  setup(e) {
2166
- const n = ie(e), t = _(Me().format(e.format));
2185
+ const n = ie(e), t = I(Me().format(e.format));
2167
2186
  let o = null;
2168
2187
  const a = () => {
2169
2188
  clearInterval(o), o = null;
@@ -2188,7 +2207,7 @@ function Kl(e, n, t, o, a, i) {
2188
2207
  style: G(e.style)
2189
2208
  }, he(e.time), 5);
2190
2209
  }
2191
- const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3"]]), ei = oe(Xl), zn = {
2210
+ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3"]]), ei = oe(Xl), Nn = {
2192
2211
  ...re,
2193
2212
  type: "ecanList",
2194
2213
  name: "列表",
@@ -2221,24 +2240,24 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3
2221
2240
  key: "age"
2222
2241
  }
2223
2242
  ]
2224
- }, $n = ae(zn), ti = ["refreshData", "click"], ni = Q({
2243
+ }, $n = ae(Nn), ti = ["refreshData", "click"], ni = Q({
2225
2244
  name: "EcanList",
2226
2245
  components: { Skeleton: gt },
2227
2246
  props: {
2228
2247
  ...$n
2229
2248
  },
2230
2249
  setup(e) {
2231
- const n = _(e.data), t = ie(e, ["backgroundColor"]), o = q(() => e.useRanking ? {
2250
+ const n = I(e.data), t = ie(e, ["backgroundColor"]), o = q(() => e.useRanking ? {
2232
2251
  textAlign: "center"
2233
2252
  } : {
2234
2253
  textAlign: "left"
2235
- }), a = (f, v) => v == null || v === "" ? f : {
2254
+ }), a = (f, b) => b == null || b === "" ? f : {
2236
2255
  money: Rt,
2237
2256
  percentage: dt,
2238
2257
  contrast: dt
2239
- }[v](f) || "", i = (f, v) => {
2258
+ }[b](f) || "", i = (f, b) => {
2240
2259
  const y = parseFloat(f + "");
2241
- if (v !== "contrast")
2260
+ if (b !== "contrast")
2242
2261
  return "";
2243
2262
  switch (!0) {
2244
2263
  case y >= 0:
@@ -2246,17 +2265,17 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3
2246
2265
  case y < 0:
2247
2266
  return "goDown";
2248
2267
  }
2249
- }, r = Ae(e), { pageMode: s } = $(ce, {
2268
+ }, s = Ae(e), { pageMode: r } = $(ce, {
2250
2269
  pageMode: "normal"
2251
- }), l = _(!1), d = async () => {
2270
+ }), l = I(!1), d = async () => {
2252
2271
  var f;
2253
- if (!(e.dataType !== "request" || k(s) === "design"))
2272
+ if (!(e.dataType !== "request" || A(r) === "design"))
2254
2273
  try {
2255
2274
  l.value = !0;
2256
- const v = await r();
2257
- n.value = ((f = v == null ? void 0 : v.data) == null ? void 0 : f.data.rows) || [];
2258
- } catch (v) {
2259
- console.error(v);
2275
+ const b = await s();
2276
+ n.value = ((f = b == null ? void 0 : b.data) == null ? void 0 : f.data.rows) || [];
2277
+ } catch (b) {
2278
+ console.error(b);
2260
2279
  } finally {
2261
2280
  l.value = !1;
2262
2281
  }
@@ -2267,13 +2286,13 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-07d3cde3
2267
2286
  ge(e, {
2268
2287
  refreshData: c
2269
2288
  });
2270
- const { setRequest: b } = $(Ce, {
2289
+ const { setRequest: v } = $(Ce, {
2271
2290
  // @ts-ignore
2272
2291
  // eslint-disable-next-line no-void
2273
- setRequest: ({ id: f, sortNum: v, requestFn: y }) => {
2292
+ setRequest: ({ id: f, sortNum: b, requestFn: y }) => {
2274
2293
  }
2275
2294
  });
2276
- return b({
2295
+ return v({
2277
2296
  id: e.id,
2278
2297
  requestFn: d,
2279
2298
  sortNum: e.requestSort
@@ -2305,23 +2324,23 @@ const oi = (e) => (sn("data-v-baf2ff0c"), e = e(), cn(), e), ai = {
2305
2324
  class: "empty"
2306
2325
  };
2307
2326
  function ui(e, n, t, o, a, i) {
2308
- const r = Z("skeleton");
2327
+ const s = Z("skeleton");
2309
2328
  return E(), R("div", {
2310
2329
  class: "ecan-list",
2311
2330
  style: G(e.style)
2312
2331
  }, [
2313
- j(r, { loading: e.loading }, {
2332
+ j(s, { loading: e.loading }, {
2314
2333
  default: Y(() => [
2315
2334
  e.useTitle ? (E(), R("div", ai, [
2316
- (E(!0), R(Le, null, Ie(e.columnCount, (s) => (E(), R("div", {
2335
+ (E(!0), R(Le, null, Ie(e.columnCount, (r) => (E(), R("div", {
2317
2336
  class: "title-inner",
2318
2337
  style: G({
2319
2338
  backgroundColor: e.backgroundColor,
2320
2339
  height: e.itemHeight,
2321
2340
  width: `calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount - 1}/ ${e.columnCount})`,
2322
- marginRight: s % e.columnCount !== 0 ? e.itemColSpan : ""
2341
+ marginRight: r % e.columnCount !== 0 ? e.itemColSpan : ""
2323
2342
  }),
2324
- key: s
2343
+ key: r
2325
2344
  }, [
2326
2345
  e.useRanking ? (E(), R("div", li)) : pe("", !0),
2327
2346
  (E(!0), R(Le, null, Ie(e.columns, (l, d) => (E(), R("div", {
@@ -2342,7 +2361,7 @@ function ui(e, n, t, o, a, i) {
2342
2361
  marginBottom: e.itemRowSpan
2343
2362
  })
2344
2363
  }, null, 4)) : pe("", !0),
2345
- (E(!0), R(Le, null, Ie(e.dataSource.slice(0, e.sliceCount), (s, l) => (E(), R("div", {
2364
+ (E(!0), R(Le, null, Ie(e.dataSource.slice(0, e.sliceCount), (r, l) => (E(), R("div", {
2346
2365
  class: "item",
2347
2366
  style: G({
2348
2367
  backgroundColor: e.backgroundColor,
@@ -2351,7 +2370,7 @@ function ui(e, n, t, o, a, i) {
2351
2370
  marginRight: (l + 1) % e.columnCount !== 0 ? e.itemColSpan : "",
2352
2371
  marginBottom: e.itemRowSpan
2353
2372
  }),
2354
- key: s.id || l,
2373
+ key: r.id || l,
2355
2374
  onClick: n[0] || (n[0] = (...d) => e.click && e.click(...d))
2356
2375
  }, [
2357
2376
  e.useRanking ? (E(), R("div", ri, [
@@ -2359,15 +2378,15 @@ function ui(e, n, t, o, a, i) {
2359
2378
  X("div", ci, " Top " + he(l + 1), 1)
2360
2379
  ])) : pe("", !0),
2361
2380
  (E(!0), R(Le, null, Ie(e.columns, (d) => (E(), R("div", {
2362
- class: xt(["column", e.contrastClass(s[d.key], d.format)]),
2381
+ class: xt(["column", e.contrastClass(r[d.key], d.format)]),
2363
2382
  key: d.key,
2364
2383
  style: G({
2365
2384
  fontSize: d.fontSize,
2366
- color: e.contrastClass(s[d.key], d.format) === "" ? d.color : "",
2385
+ color: e.contrastClass(r[d.key], d.format) === "" ? d.color : "",
2367
2386
  fontWeight: d.fontWeight,
2368
2387
  ...e.columnStyle
2369
2388
  })
2370
- }, he((d.format != null || d.format !== "") && e.formatFn(s[d.key], d.format)), 7))), 128))
2389
+ }, he((d.format != null || d.format !== "") && e.formatFn(r[d.key], d.format)), 7))), 128))
2371
2390
  ], 4))), 128))
2372
2391
  ])) : (E(), R("div", di, " 暂无数据 "))
2373
2392
  ]),
@@ -2413,60 +2432,60 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2413
2432
  }), t = ie(e), o = q(() => {
2414
2433
  const f = e.width;
2415
2434
  return parseFloat(f);
2416
- }), a = _({});
2435
+ }), a = I({});
2417
2436
  ne(() => e.data, () => {
2418
- (e.dataType === "static" || k(n) === "design") && (a.value = e.data);
2437
+ (e.dataType === "static" || A(n) === "design") && (a.value = e.data);
2419
2438
  }, {
2420
2439
  immediate: !0,
2421
2440
  deep: !0
2422
2441
  });
2423
2442
  const i = q(() => {
2424
- const f = k(a), v = +e.variableDefaultValue;
2443
+ const f = A(a), b = +e.variableDefaultValue;
2425
2444
  if (f == null)
2426
- return isNaN(v) ? 0 : v;
2445
+ return isNaN(b) ? 0 : b;
2427
2446
  const y = e.text.match(/\{.+\}/g) || [];
2428
2447
  let h;
2429
- 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];
2448
+ const k = new Set(Object.keys(f));
2449
+ for (let x = 0; x < y.length; x++) {
2450
+ const B = y[x], w = B.slice(1, B.length - 1);
2451
+ if (k.has(w)) {
2452
+ h = f[w];
2434
2453
  break;
2435
2454
  }
2436
2455
  }
2437
- 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(() => {
2439
- var A;
2456
+ return typeof h == "number" ? h = h * 100 : typeof h == "string" && !isNaN(+h) ? h = +h * 100 : isNaN(b) ? h = 0 : h = b * 100, e.decimalFormat && (h = +h.toFixed(2)), h;
2457
+ }), s = q(() => {
2458
+ var k;
2440
2459
  let f = e.text;
2441
2460
  if (f === "")
2442
- return k(i);
2443
- 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);
2461
+ return A(i);
2462
+ const b = e.variableDefaultValue, y = A(a), h = f.match(/\{.+\}/g) || [];
2463
+ for (let x = 0; x < h.length; x++) {
2464
+ const B = h[x];
2465
+ let w = B.slice(1, B.length - 1);
2466
+ const L = w.match(/.*/g);
2467
+ for (let u = 0; u < (L == null ? void 0 : L.length); u++) {
2468
+ const p = (k = L[x]) == null ? void 0 : k.trim();
2469
+ y[p] != null ? w = w.replace(p, y[p]) : w = w.replace(p, b);
2451
2470
  }
2452
- let w = I;
2471
+ let C = w;
2453
2472
  try {
2454
- /\w+[+\-*/%]+\w+/g.test(I) && (w = (0, eval)(I));
2473
+ /\w+[+\-*/%]+\w+/g.test(w) && (C = (0, eval)(w));
2455
2474
  } catch (u) {
2456
2475
  console.error(u);
2457
2476
  }
2458
- (typeof w == "number" || !isNaN(+w)) && (w = +w * 100, e.decimalFormat && (w = w.toFixed(2))), f = f.replace(B, w + "");
2477
+ (typeof C == "number" || !isNaN(+C)) && (C = +C * 100, e.decimalFormat && (C = C.toFixed(2))), f = f.replace(B, C + "");
2459
2478
  }
2460
2479
  return f;
2461
- }), s = Ae(e), l = _(!1), d = async () => {
2480
+ }), r = Ae(e), l = I(!1), d = async () => {
2462
2481
  var f;
2463
- if (!(e.dataType !== "request" || k(n) === "design"))
2482
+ if (!(e.dataType !== "request" || A(n) === "design"))
2464
2483
  try {
2465
2484
  l.value = !0;
2466
- const v = await s();
2467
- a.value = ((f = v == null ? void 0 : v.data) == null ? void 0 : f.data) || {};
2468
- } catch (v) {
2469
- console.error(v);
2485
+ const b = await r();
2486
+ a.value = ((f = b == null ? void 0 : b.data) == null ? void 0 : f.data) || {};
2487
+ } catch (b) {
2488
+ console.error(b);
2470
2489
  } finally {
2471
2490
  l.value = !1;
2472
2491
  }
@@ -2477,20 +2496,20 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2477
2496
  }
2478
2497
  });
2479
2498
  const g = ue(e)("click", () => {
2480
- }), { setRequest: b } = $(Ce, {
2499
+ }), { setRequest: v } = $(Ce, {
2481
2500
  // @ts-ignore
2482
2501
  // eslint-disable-next-line no-void
2483
- setRequest: ({ id: f, sortNum: v, requestFn: y }) => {
2502
+ setRequest: ({ id: f, sortNum: b, requestFn: y }) => {
2484
2503
  }
2485
2504
  });
2486
- return b({
2505
+ return v({
2487
2506
  id: e.id,
2488
2507
  requestFn: d,
2489
2508
  sortNum: e.requestSort
2490
2509
  }), {
2491
2510
  style: t,
2492
2511
  myWidth: o,
2493
- text: r,
2512
+ text: s,
2494
2513
  myValue: i,
2495
2514
  loading: l,
2496
2515
  click: g
@@ -2498,12 +2517,12 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-baf2ff0c
2498
2517
  }
2499
2518
  });
2500
2519
  function yi(e, n, t, o, a, i) {
2501
- const r = Z("skeleton"), s = Z("a-progress");
2520
+ const s = Z("skeleton"), r = Z("a-progress");
2502
2521
  return E(), R("div", {
2503
2522
  class: "ecan-proportion",
2504
2523
  style: G(e.style)
2505
2524
  }, [
2506
- j(s, {
2525
+ j(r, {
2507
2526
  class: "progress",
2508
2527
  percent: e.myValue,
2509
2528
  width: e.myWidth,
@@ -2516,7 +2535,7 @@ function yi(e, n, t, o, a, i) {
2516
2535
  onClick: e.click
2517
2536
  }, {
2518
2537
  format: Y(() => [
2519
- e.loading ? (E(), Oe(r, {
2538
+ e.loading ? (E(), Oe(s, {
2520
2539
  key: 0,
2521
2540
  loading: e.loading
2522
2541
  }, null, 8, ["loading"])) : (E(), R("div", {
@@ -2556,7 +2575,7 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2556
2575
  ...Un
2557
2576
  },
2558
2577
  setup(e) {
2559
- const n = ie(e), t = _("");
2578
+ const n = ie(e), t = I("");
2560
2579
  ne(() => e.value, (c) => {
2561
2580
  t.value = c;
2562
2581
  }, {
@@ -2576,12 +2595,12 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2576
2595
  type: e.type,
2577
2596
  value: t
2578
2597
  });
2579
- const r = () => {
2598
+ const s = () => {
2580
2599
  const c = a(o);
2581
2600
  i(o, { ...c, RECORD: t });
2582
- }, s = ue(e), l = It(s("inputChange", () => {
2583
- r();
2584
- }), 300), d = s("inputBlur", () => {
2601
+ }, r = ue(e), l = It(r("inputChange", () => {
2602
+ s();
2603
+ }), 300), d = r("inputBlur", () => {
2585
2604
  });
2586
2605
  return {
2587
2606
  style: n,
@@ -2592,15 +2611,15 @@ const bi = /* @__PURE__ */ K(hi, [["render", yi], ["__scopeId", "data-v-304d430d
2592
2611
  }
2593
2612
  });
2594
2613
  function Si(e, n, t, o, a, i) {
2595
- const r = Z("a-input");
2614
+ const s = Z("a-input");
2596
2615
  return E(), R("div", {
2597
2616
  class: "ecan-input",
2598
2617
  style: G(e.style)
2599
2618
  }, [
2600
- j(r, {
2619
+ j(s, {
2601
2620
  class: "input",
2602
2621
  value: e.myValue,
2603
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2622
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2604
2623
  placeholder: e.placeholder,
2605
2624
  onChange: e.inputChange,
2606
2625
  onBlur: e.inputBlur
@@ -2633,17 +2652,17 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2633
2652
  ADatePicker: Wo
2634
2653
  },
2635
2654
  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]) => {
2655
+ const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I(null);
2656
+ ne(() => [e.value, e.useCurrentTime, e.operate], ([r, l, d]) => {
2638
2657
  let c = null;
2639
- if (s ? c = Me(s) : l && (c = Me()), d && c) {
2640
- const { type: m, value: g, mode: b } = d;
2658
+ if (r ? c = Me(r) : l && (c = Me()), d && c) {
2659
+ const { type: m, value: g, mode: v } = d;
2641
2660
  switch (m) {
2642
2661
  case "add":
2643
- c = c.add(g, b);
2662
+ c = c.add(g, v);
2644
2663
  break;
2645
2664
  case "minus":
2646
- c = c.subtract(g, b);
2665
+ c = c.subtract(g, v);
2647
2666
  }
2648
2667
  }
2649
2668
  o.value = c;
@@ -2654,7 +2673,7 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2654
2673
  const { setGlobalModel: a } = $(de, {
2655
2674
  // @ts-ignore
2656
2675
  // eslint-disable-next-line no-void
2657
- setGlobalModel: (s, l) => {
2676
+ setGlobalModel: (r, l) => {
2658
2677
  }
2659
2678
  });
2660
2679
  a(e.id, {
@@ -2662,30 +2681,30 @@ const wi = /* @__PURE__ */ K(Ci, [["render", Si]]), ki = oe(wi), qn = {
2662
2681
  format: e.format,
2663
2682
  value: o
2664
2683
  });
2665
- const r = ue(e)("dateChange", () => {
2684
+ const s = ue(e)("dateChange", () => {
2666
2685
  });
2667
2686
  return ge(e, {
2668
- dateChange: r
2687
+ dateChange: s
2669
2688
  }), {
2670
2689
  style: n,
2671
2690
  getPopupContainer: t,
2672
2691
  myValue: o,
2673
2692
  locale: gn,
2674
- dateChange: r
2693
+ dateChange: s
2675
2694
  };
2676
2695
  }
2677
2696
  });
2678
2697
  function Ti(e, n, t, o, a, i) {
2679
- const r = Z("a-date-picker");
2698
+ const s = Z("a-date-picker");
2680
2699
  return E(), R("div", {
2681
2700
  class: "ecan-date-picker",
2682
2701
  style: G(e.style)
2683
2702
  }, [
2684
- j(r, {
2703
+ j(s, {
2685
2704
  class: "date-picker",
2686
2705
  dropdownClassName: "ecan-date-picker-dropdown",
2687
2706
  value: e.myValue,
2688
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2707
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2689
2708
  format: e.format,
2690
2709
  picker: e.picker,
2691
2710
  showTime: e.showTime,
@@ -2722,22 +2741,22 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2722
2741
  setup(e) {
2723
2742
  const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = Ae(e), { pageMode: a } = $(ce, {
2724
2743
  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;
2744
+ }), i = I(e.data), s = I(e.value || e.data[0]), r = e.dataFieldNames, l = (y, h) => {
2745
+ const k = r.label, x = r.value;
2727
2746
  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 () => {
2747
+ const w = h[k], L = h[x];
2748
+ return w != null ? B = w : L != null && (B = L), (B == null ? void 0 : B.toLowerCase().indexOf(y == null ? void 0 : y.toLowerCase())) >= 0;
2749
+ }, d = I(!1), c = async () => {
2731
2750
  var y, h;
2732
- if (!(e.dataType !== "request" || k(a) === "design")) {
2751
+ if (!(e.dataType !== "request" || A(a) === "design")) {
2733
2752
  d.value = !0;
2734
2753
  try {
2735
- const A = await o();
2736
- 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]);
2739
- } catch (A) {
2740
- console.error(A);
2754
+ const k = await o();
2755
+ i.value = ((h = (y = k == null ? void 0 : k.data) == null ? void 0 : y.data) == null ? void 0 : h.rows) || [];
2756
+ const x = A(i)[0];
2757
+ e.value === "" && x != null && (s.value = x[r.value]);
2758
+ } catch (k) {
2759
+ console.error(k);
2741
2760
  } finally {
2742
2761
  d.value = !1;
2743
2762
  }
@@ -2754,29 +2773,29 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2754
2773
  });
2755
2774
  g(e.id, {
2756
2775
  type: e.type,
2757
- value: r
2776
+ value: s
2758
2777
  });
2759
2778
  const f = ue(e)("selectChange", () => {
2760
2779
  const y = e.id, h = m(y);
2761
- g(y, { ...h, RECORD: r });
2780
+ g(y, { ...h, RECORD: s });
2762
2781
  });
2763
2782
  ge(e, {
2764
2783
  selectChange: f
2765
2784
  });
2766
- const { setRequest: v } = $(Ce, {
2785
+ const { setRequest: b } = $(Ce, {
2767
2786
  // @ts-ignore
2768
2787
  // eslint-disable-next-line no-void
2769
- setRequest: ({ id: y, sortNum: h, requestFn: A }) => {
2788
+ setRequest: ({ id: y, sortNum: h, requestFn: k }) => {
2770
2789
  }
2771
2790
  });
2772
- return v({
2791
+ return b({
2773
2792
  id: e.id,
2774
2793
  requestFn: c,
2775
2794
  sortNum: e.requestSort
2776
2795
  }), {
2777
2796
  style: n,
2778
2797
  getPopupContainer: t,
2779
- myValue: r,
2798
+ myValue: s,
2780
2799
  selectChange: f,
2781
2800
  options: i,
2782
2801
  filterOption: l,
@@ -2785,15 +2804,15 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Wn = {
2785
2804
  }
2786
2805
  });
2787
2806
  function Ei(e, n, t, o, a, i) {
2788
- const r = Z("a-select");
2807
+ const s = Z("a-select");
2789
2808
  return E(), R("div", {
2790
2809
  class: "ecan-select",
2791
2810
  style: G(e.style)
2792
2811
  }, [
2793
- j(r, {
2812
+ j(s, {
2794
2813
  class: "select",
2795
2814
  value: e.myValue,
2796
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2815
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2797
2816
  options: e.options,
2798
2817
  mode: e.mode,
2799
2818
  getPopupContainer: e.getPopupContainer,
@@ -2830,20 +2849,20 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2830
2849
  ...Zn
2831
2850
  },
2832
2851
  setup(e) {
2833
- const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = _([null, null]);
2834
- ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, c, m, g, b, f]) => {
2835
- let v = null, y = null;
2836
- 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;
2852
+ const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = I([null, null]);
2853
+ ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, c, m, g, v, f]) => {
2854
+ let b = null, y = null;
2855
+ if (m && (b = Me().subtract(g, v), y = Me()), d && (b = Me(d)), c && (y = Me(c)), f) {
2856
+ const { type: h, value: k, mode: x } = f;
2838
2857
  switch (h) {
2839
2858
  case "add":
2840
- v = v && v.add(A, C), y = y && y.add(A, C);
2859
+ b = b && b.add(k, x), y = y && y.add(k, x);
2841
2860
  break;
2842
2861
  case "minus":
2843
- v = v && v.subtract(A, C), y = y && y.subtract(A, C);
2862
+ b = b && b.subtract(k, x), y = y && y.subtract(k, x);
2844
2863
  }
2845
2864
  }
2846
- o.value = [v, y];
2865
+ o.value = [b, y];
2847
2866
  }, {
2848
2867
  immediate: !0
2849
2868
  });
@@ -2852,12 +2871,12 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2852
2871
  // eslint-disable-next-line no-void
2853
2872
  setGlobalModel: (d, c) => {
2854
2873
  }
2855
- }), i = q(() => k(o)[0]), r = q(() => k(o)[1]);
2874
+ }), i = q(() => A(o)[0]), s = q(() => A(o)[1]);
2856
2875
  a(e.id, {
2857
2876
  type: e.type,
2858
2877
  format: e.format,
2859
2878
  startTime: i,
2860
- endTime: r
2879
+ endTime: s
2861
2880
  });
2862
2881
  const l = ue(e)("dateChange", () => {
2863
2882
  });
@@ -2872,17 +2891,17 @@ const Oi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-dd2bcf63
2872
2891
  };
2873
2892
  }
2874
2893
  });
2875
- function Ni(e, n, t, o, a, i) {
2876
- const r = Z("a-range-picker");
2894
+ function zi(e, n, t, o, a, i) {
2895
+ const s = Z("a-range-picker");
2877
2896
  return E(), R("div", {
2878
2897
  class: "ecan-range-picker",
2879
2898
  style: G(e.style)
2880
2899
  }, [
2881
- j(r, {
2900
+ j(s, {
2882
2901
  class: "range-picker",
2883
2902
  dropdownClassName: "ecan-range-picker-dropdown",
2884
2903
  value: e.myValue,
2885
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
2904
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
2886
2905
  format: e.format,
2887
2906
  picker: e.picker,
2888
2907
  locale: e.locale,
@@ -2891,7 +2910,7 @@ function Ni(e, n, t, o, a, i) {
2891
2910
  }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "onChange"])
2892
2911
  ], 4);
2893
2912
  }
2894
- const zi = /* @__PURE__ */ K(Di, [["render", Ni], ["__scopeId", "data-v-adf450ac"]]), $i = oe(zi), Jn = {
2913
+ const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-adf450ac"]]), $i = oe(Ni), Jn = {
2895
2914
  ...re,
2896
2915
  width: "200px",
2897
2916
  name: "按钮",
@@ -2915,35 +2934,35 @@ const zi = /* @__PURE__ */ K(Di, [["render", Ni], ["__scopeId", "data-v-adf450ac
2915
2934
  },
2916
2935
  setup(e) {
2917
2936
  const n = ie(e), o = ue(e)("click", () => {
2918
- const s = k(i);
2919
- s && e.target === "event" && window.parent.postMessage({
2937
+ const r = A(i);
2938
+ r && e.target === "event" && window.parent.postMessage({
2920
2939
  type: "openPage",
2921
- url: s
2940
+ url: r
2922
2941
  }, "*");
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))
2942
+ }), a = q(() => be(e.text)), i = q(() => be(e.href) || null), s = q(() => {
2943
+ const r = e.target;
2944
+ if (!(r === "event" || A(i) == null))
2926
2945
  return {
2927
2946
  self: "_self",
2928
2947
  blank: "_blank"
2929
- }[s];
2948
+ }[r];
2930
2949
  });
2931
2950
  return {
2932
2951
  style: n,
2933
2952
  click: o,
2934
2953
  myText: a,
2935
2954
  myHref: i,
2936
- myTarget: r
2955
+ myTarget: s
2937
2956
  };
2938
2957
  }
2939
2958
  });
2940
2959
  function Gi(e, n, t, o, a, i) {
2941
- const r = Z("a-button");
2960
+ const s = Z("a-button");
2942
2961
  return E(), R("div", {
2943
2962
  class: "ecan-button",
2944
2963
  style: G(e.style)
2945
2964
  }, [
2946
- j(r, {
2965
+ j(s, {
2947
2966
  block: "",
2948
2967
  onClick: e.click,
2949
2968
  type: e.mode,
@@ -2989,12 +3008,12 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
2989
3008
  ...Kn
2990
3009
  },
2991
3010
  setup(e) {
2992
- const n = ie(e), t = _([]), o = _([]), a = (f) => {
2993
- const v = e.value;
3011
+ const n = ie(e), t = I([]), o = I([]), a = (f) => {
3012
+ const b = e.value;
2994
3013
  let y = [];
2995
3014
  f.forEach((h) => {
2996
3015
  h.checked && y.push(h.value);
2997
- }), typeof v == "string" && v !== "" ? y = y.concat(v.split(",")) : Array.isArray(v) && (y = y.concat(v)), t.value = f, o.value = y;
3016
+ }), typeof b == "string" && b !== "" ? y = y.concat(b.split(",")) : Array.isArray(b) && (y = y.concat(b)), t.value = f, o.value = y;
2998
3017
  };
2999
3018
  ne(() => [e.data, e.value], ([f]) => {
3000
3019
  a(f);
@@ -3002,14 +3021,14 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3002
3021
  immediate: !0,
3003
3022
  deep: !0
3004
3023
  });
3005
- const i = Ae(e), { pageMode: r } = $(ce, {
3024
+ const i = Ae(e), { pageMode: s } = $(ce, {
3006
3025
  pageMode: "normal"
3007
- }), s = async () => {
3026
+ }), r = async () => {
3008
3027
  var y, h;
3009
- if (e.dataType !== "request" || k(r) === "design")
3028
+ if (e.dataType !== "request" || A(s) === "design")
3010
3029
  return;
3011
- const f = await i(), v = ((h = (y = f == null ? void 0 : f.data) == null ? void 0 : y.data) == null ? void 0 : h.rows) || [];
3012
- a(v);
3030
+ const f = await i(), b = ((h = (y = f == null ? void 0 : f.data) == null ? void 0 : y.data) == null ? void 0 : h.rows) || [];
3031
+ a(b);
3013
3032
  }, l = e.id, { getGlobalModel: d, setGlobalModel: c } = $(de, {
3014
3033
  // @ts-ignore
3015
3034
  // eslint-disable-next-line no-void
@@ -3017,7 +3036,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3017
3036
  },
3018
3037
  // @ts-ignore
3019
3038
  // eslint-disable-next-line no-void
3020
- setGlobalModel: (f, v) => {
3039
+ setGlobalModel: (f, b) => {
3021
3040
  }
3022
3041
  });
3023
3042
  c(e.id, {
@@ -3027,15 +3046,15 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3027
3046
  const g = ue(e)("checkboxChange", () => {
3028
3047
  const f = d(l);
3029
3048
  c(l, { ...f, RECORD: o });
3030
- }), { setRequest: b } = $(Ce, {
3049
+ }), { setRequest: v } = $(Ce, {
3031
3050
  // @ts-ignore
3032
3051
  // eslint-disable-next-line no-void
3033
- setRequest: ({ id: f, sortNum: v, requestFn: y }) => {
3052
+ setRequest: ({ id: f, sortNum: b, requestFn: y }) => {
3034
3053
  }
3035
3054
  });
3036
- return b({
3055
+ return v({
3037
3056
  id: e.id,
3038
- requestFn: s,
3057
+ requestFn: r,
3039
3058
  sortNum: e.requestSort
3040
3059
  }), {
3041
3060
  myOption: t,
@@ -3046,15 +3065,15 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Qn = {
3046
3065
  }
3047
3066
  });
3048
3067
  function Vi(e, n, t, o, a, i) {
3049
- const r = Z("a-checkbox-group");
3068
+ const s = Z("a-checkbox-group");
3050
3069
  return E(), R("div", {
3051
3070
  class: "ecan-checkbox",
3052
3071
  style: G(e.style)
3053
3072
  }, [
3054
- j(r, {
3073
+ j(s, {
3055
3074
  options: e.myOption,
3056
3075
  value: e.myValue,
3057
- "onUpdate:value": n[0] || (n[0] = (s) => e.myValue = s),
3076
+ "onUpdate:value": n[0] || (n[0] = (r) => e.myValue = r),
3058
3077
  onChange: e.checkboxChange
3059
3078
  }, null, 8, ["options", "value", "onChange"])
3060
3079
  ], 4);
@@ -3125,8 +3144,8 @@ const Hi = /* @__PURE__ */ K(Wi, [["render", Vi]]), Zi = oe(Hi), Xn = {
3125
3144
  var l;
3126
3145
  const n = await xe.post(e, {}, {
3127
3146
  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);
3147
+ }), { 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);
3148
+ 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
3149
  };
3131
3150
  $e([
3132
3151
  Pe,
@@ -3143,18 +3162,18 @@ const Yi = Q({
3143
3162
  },
3144
3163
  components: {
3145
3164
  Spin: et,
3146
- Echarts: Ne,
3165
+ Echarts: ze,
3147
3166
  AModal: ke
3148
3167
  },
3149
3168
  setup(e) {
3150
- const n = ie(e), t = _([]), o = _(!1), a = () => {
3169
+ const n = ie(e), t = I([]), o = I(!1), a = () => {
3151
3170
  o.value = !1;
3152
3171
  }, i = q(() => {
3153
- let { data: M = [] } = k(t)[0] || {};
3172
+ let { data: L = [] } = A(t)[0] || {};
3154
3173
  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] } : {},
3174
+ const C = e.isUseLabelColors, u = e.colors;
3175
+ L = L.map((p, T) => ({
3176
+ label: C ? { color: u[T] } : {},
3158
3177
  ...p
3159
3178
  }));
3160
3179
  }
@@ -3211,20 +3230,20 @@ const Yi = Q({
3211
3230
  tooltip: {
3212
3231
  show: e.tooltipShow,
3213
3232
  trigger: e.tooltipTrigger,
3214
- formatter: (w) => {
3215
- const { marker: u, seriesName: p, name: x, value: F, percent: S, data: T } = w || {};
3233
+ formatter: (C) => {
3234
+ const { marker: u, seriesName: p, name: T, value: F, percent: S, data: _ } = C || {};
3216
3235
  return be(
3217
3236
  e.tooltipFormatter,
3218
3237
  {
3219
3238
  marker: u,
3220
- name: x,
3239
+ name: T,
3221
3240
  value: F,
3222
3241
  percent: S,
3223
3242
  a: p,
3224
- b: x,
3243
+ b: T,
3225
3244
  c: F,
3226
3245
  d: S,
3227
- ...T
3246
+ ..._
3228
3247
  },
3229
3248
  {
3230
3249
  useNewline: !0,
@@ -3249,7 +3268,7 @@ const Yi = Q({
3249
3268
  color: e.colors,
3250
3269
  series: [
3251
3270
  {
3252
- data: M,
3271
+ data: L,
3253
3272
  type: "pie",
3254
3273
  radius: [e.innerRadius, e.outerRadius],
3255
3274
  center: [e.centerLeft, e.centerTop],
@@ -3284,92 +3303,92 @@ const Yi = Q({
3284
3303
  }
3285
3304
  ]
3286
3305
  };
3287
- }), { getGlobalModel: r, setGlobalModel: s } = $(de, {
3306
+ }), { getGlobalModel: s, setGlobalModel: r } = $(de, {
3288
3307
  // @ts-ignore
3289
3308
  // eslint-disable-next-line no-void
3290
- getGlobalModel: (M) => {
3309
+ getGlobalModel: (L) => {
3291
3310
  },
3292
3311
  // @ts-ignore
3293
3312
  // eslint-disable-next-line no-void
3294
- setGlobalModel: (M, w) => {
3313
+ setGlobalModel: (L, C) => {
3295
3314
  }
3296
3315
  }), { pageMode: l } = $(ce, {
3297
3316
  pageMode: "normal"
3298
- }), d = (M = [], w) => {
3299
- const { dataset: u } = Ye(M, w);
3317
+ }), d = (L = [], C) => {
3318
+ const { dataset: u } = Ye(L, C);
3300
3319
  t.value = u;
3301
- }, c = (M = [], w) => {
3302
- const u = Ye(M, w);
3320
+ }, c = (L = [], C) => {
3321
+ const u = Ye(L, C);
3303
3322
  t.value = u.dataset;
3304
3323
  };
3305
- ne(() => e.data, (M) => {
3306
- (e.dataType === "static" || k(l) === "design") && d(M);
3324
+ ne(() => e.data, (L) => {
3325
+ (e.dataType === "static" || A(l) === "design") && d(L);
3307
3326
  }, {
3308
3327
  immediate: !0,
3309
3328
  deep: !0
3310
3329
  });
3311
- const m = _(!1), g = Ae(e), b = async () => {
3312
- var M, w;
3313
- if (!(e.dataType !== "request" || k(l) === "design"))
3330
+ const m = I(!1), g = Ae(e), v = async () => {
3331
+ var L, C;
3332
+ if (!(e.dataType !== "request" || A(l) === "design"))
3314
3333
  try {
3315
3334
  m.value = !0;
3316
3335
  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);
3336
+ d((C = (L = u == null ? void 0 : u.data) == null ? void 0 : L.data) == null ? void 0 : C.rows, e.valueTypeDataFieldNames);
3318
3337
  } catch (u) {
3319
3338
  console.error(u);
3320
3339
  } finally {
3321
3340
  m.value = !1;
3322
3341
  }
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 });
3342
+ }, b = ue(e)("click", (L) => {
3343
+ const C = e.id, u = s(C);
3344
+ r(C, { ...u, RECORD: L == null ? void 0 : L.data });
3326
3345
  }), y = Dt(e), h = async () => {
3327
- var M, w, u, p, x, F;
3328
- if (!(e.dataType !== "indicator" || k(l) === "design"))
3346
+ var L, C, u, p, T, F;
3347
+ if (!(e.dataType !== "indicator" || A(l) === "design"))
3329
3348
  try {
3330
3349
  m.value = !0;
3331
3350
  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) {
3351
+ let _ = [];
3352
+ 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
3353
  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) => ({
3354
+ _ = (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
3355
  name: O[U],
3337
3356
  value: O[H]
3338
3357
  }));
3339
3358
  }
3340
- c(T);
3359
+ c(_);
3341
3360
  } catch (S) {
3342
3361
  console.error(S);
3343
3362
  } finally {
3344
3363
  m.value = !1;
3345
3364
  }
3346
- }, A = () => {
3347
- k(l) !== "design" && (h(), b());
3365
+ }, k = () => {
3366
+ A(l) !== "design" && (h(), v());
3348
3367
  };
3349
3368
  ge(e, {
3350
3369
  resetRecord: () => {
3351
- const M = e.id, w = r(M);
3352
- s(M, { ...w, RECORD: "" });
3370
+ const L = e.id, C = s(L);
3371
+ r(L, { ...C, RECORD: "" });
3353
3372
  },
3354
3373
  refreshData: () => {
3355
- A();
3374
+ k();
3356
3375
  },
3357
- click: v
3376
+ click: b
3358
3377
  });
3359
- const { setRequest: I } = $(Ce, {
3378
+ const { setRequest: w } = $(Ce, {
3360
3379
  // @ts-ignore
3361
3380
  // eslint-disable-next-line no-void
3362
- setRequest: ({ id: M, sortNum: w, requestFn: u }) => {
3381
+ setRequest: ({ id: L, sortNum: C, requestFn: u }) => {
3363
3382
  }
3364
3383
  });
3365
- return I({
3384
+ return w({
3366
3385
  id: e.id,
3367
- requestFn: A,
3386
+ requestFn: k,
3368
3387
  sortNum: e.requestSort
3369
3388
  }), {
3370
3389
  option: i,
3371
3390
  style: n,
3372
- click: v,
3391
+ click: b,
3373
3392
  loading: m,
3374
3393
  visible: o,
3375
3394
  hideModal: a
@@ -3377,13 +3396,13 @@ const Yi = Q({
3377
3396
  }
3378
3397
  });
3379
3398
  function Qi(e, n, t, o, a, i) {
3380
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
3399
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
3381
3400
  return E(), R("div", {
3382
3401
  style: G(e.style)
3383
3402
  }, [
3384
- j(s, { spinning: e.loading }, {
3403
+ j(r, { spinning: e.loading }, {
3385
3404
  default: Y(() => [
3386
- j(r, {
3405
+ j(s, {
3387
3406
  option: e.option,
3388
3407
  autoresize: "",
3389
3408
  onClick: e.click
@@ -3399,9 +3418,9 @@ function Qi(e, n, t, o, a, i) {
3399
3418
  onCancel: e.hideModal
3400
3419
  }, {
3401
3420
  default: Y(() => [
3402
- j(s, { spinning: e.loading }, {
3421
+ j(r, { spinning: e.loading }, {
3403
3422
  default: Y(() => [
3404
- j(r, {
3423
+ j(s, {
3405
3424
  option: e.option,
3406
3425
  "update-options": { notMerge: !0 },
3407
3426
  autoresize: ""
@@ -3492,14 +3511,14 @@ const tr = Q({
3492
3511
  },
3493
3512
  components: {
3494
3513
  Spin: et,
3495
- Echarts: Ne,
3514
+ Echarts: ze,
3496
3515
  AModal: ke
3497
3516
  },
3498
3517
  setup(e) {
3499
- const n = ie(e), t = _([]), o = _([]), a = _(!1), i = () => {
3518
+ const n = ie(e), t = I([]), o = I([]), a = I(!1), i = () => {
3500
3519
  a.value = !1;
3501
- }, r = q(() => {
3502
- const w = e.xAxisLabelFormatter, u = e.yAxisLabelFormatter;
3520
+ }, s = q(() => {
3521
+ const C = e.xAxisLabelFormatter, u = e.yAxisLabelFormatter;
3503
3522
  return {
3504
3523
  toolbox: {
3505
3524
  show: e.toolboxShow,
@@ -3554,21 +3573,21 @@ const tr = Q({
3554
3573
  trigger: "axis",
3555
3574
  show: e.tooltipShow,
3556
3575
  formatter: (p) => {
3557
- const x = p.length;
3576
+ const T = p.length;
3558
3577
  let F = "", S = e.tooltipFormatter;
3559
3578
  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(
3579
+ for (let _ = 0; _ < T; _++) {
3580
+ const { marker: U, seriesName: H, name: O, value: N, data: z } = p[_] || {};
3581
+ _ === 0 && (F += `${O}<br/>`), F += be(
3563
3582
  S,
3564
3583
  {
3565
3584
  marker: U,
3566
3585
  name: O,
3567
- value: z,
3586
+ value: N,
3568
3587
  a: H,
3569
3588
  b: O,
3570
- c: z,
3571
- ...N
3589
+ c: N,
3590
+ ...z
3572
3591
  },
3573
3592
  {
3574
3593
  useNewline: !0,
@@ -3581,7 +3600,7 @@ const tr = Q({
3581
3600
  },
3582
3601
  xAxis: {
3583
3602
  type: "category",
3584
- data: k(o),
3603
+ data: A(o),
3585
3604
  minInterval: e.xAxisMinInterval,
3586
3605
  splitLine: {
3587
3606
  show: e.xAxisSplitLineShow,
@@ -3592,7 +3611,7 @@ const tr = Q({
3592
3611
  axisLabel: {
3593
3612
  color: e.xAxisLabelColor,
3594
3613
  formatter(p) {
3595
- return De(w, p);
3614
+ return De(C, p);
3596
3615
  }
3597
3616
  },
3598
3617
  axisLine: {
@@ -3632,34 +3651,34 @@ const tr = Q({
3632
3651
  top: e.legendTop,
3633
3652
  left: e.legendLeft
3634
3653
  },
3635
- series: k(t)
3654
+ series: A(t)
3636
3655
  };
3637
- }), { getGlobalModel: s, setGlobalModel: l } = $(de, {
3656
+ }), { getGlobalModel: r, setGlobalModel: l } = $(de, {
3638
3657
  // @ts-ignore
3639
3658
  // eslint-disable-next-line no-void
3640
- getGlobalModel: (w) => {
3659
+ getGlobalModel: (C) => {
3641
3660
  },
3642
3661
  // @ts-ignore
3643
3662
  // eslint-disable-next-line no-void
3644
- setGlobalModel: (w, u) => {
3663
+ setGlobalModel: (C, u) => {
3645
3664
  }
3646
3665
  }), { pageMode: d } = $(ce, {
3647
3666
  pageMode: "normal"
3648
- }), c = (w = [], u = !1) => {
3667
+ }), c = (C = [], u = !1) => {
3649
3668
  let p;
3650
3669
  if (e.dataFieldConfigType === "key") {
3651
- const T = u ? e.keyTypeDataFieldNames : null;
3652
- p = ze(w, T);
3670
+ const _ = u ? e.keyTypeDataFieldNames : null;
3671
+ p = Ne(C, _);
3653
3672
  } else if (e.dataFieldConfigType === "value") {
3654
- const T = u ? e.valueTypeDataFieldNames : null;
3655
- p = Ye(w, T);
3673
+ const _ = u ? e.valueTypeDataFieldNames : null;
3674
+ p = Ye(C, _);
3656
3675
  }
3657
3676
  o.value = p.dimensions;
3658
- const x = p.dataset, F = [], S = x.length;
3659
- for (let T = 0; T < S; T++)
3677
+ const T = p.dataset, F = [], S = T.length;
3678
+ for (let _ = 0; _ < S; _++)
3660
3679
  F.push({
3661
3680
  type: "line",
3662
- ...x[T],
3681
+ ...T[_],
3663
3682
  symbolSize: e.symbolSize,
3664
3683
  smooth: e.smooth,
3665
3684
  areaStyle: {
@@ -3683,12 +3702,12 @@ const tr = Q({
3683
3702
  }
3684
3703
  });
3685
3704
  t.value = F;
3686
- }, m = (w = [], u, p = !1) => {
3687
- const F = ze(w, p ? u : null);
3705
+ }, m = (C = [], u, p = !1) => {
3706
+ const F = Ne(C, p ? u : null);
3688
3707
  o.value = F.dimensions;
3689
- const S = F.dataset, T = [], U = S.length;
3708
+ const S = F.dataset, _ = [], U = S.length;
3690
3709
  for (let H = 0; H < U; H++)
3691
- T.push({
3710
+ _.push({
3692
3711
  type: "line",
3693
3712
  ...S[H],
3694
3713
  symbolSize: e.symbolSize,
@@ -3697,70 +3716,70 @@ const tr = Q({
3697
3716
  width: e.lineStyleWidth
3698
3717
  }
3699
3718
  });
3700
- t.value = T;
3719
+ t.value = _;
3701
3720
  };
3702
- ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([w]) => {
3703
- (e.dataType === "static" || k(d) === "design") && c(w);
3721
+ ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([C]) => {
3722
+ (e.dataType === "static" || A(d) === "design") && c(C);
3704
3723
  }, {
3705
3724
  immediate: !0,
3706
3725
  deep: !0
3707
3726
  });
3708
- const g = _(!1), b = Ae(e), f = async () => {
3709
- var w, u;
3710
- if (!(e.dataType !== "request" || k(d) === "design"))
3727
+ const g = I(!1), v = Ae(e), f = async () => {
3728
+ var C, u;
3729
+ if (!(e.dataType !== "request" || A(d) === "design"))
3711
3730
  try {
3712
3731
  g.value = !0;
3713
- 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);
3732
+ const p = await v();
3733
+ c((u = (C = p == null ? void 0 : p.data) == null ? void 0 : C.data) == null ? void 0 : u.rows, !0);
3715
3734
  } catch (p) {
3716
3735
  console.error(p);
3717
3736
  } finally {
3718
3737
  g.value = !1;
3719
3738
  }
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 });
3723
- }), h = Dt(e), A = async () => {
3724
- var w, u, p, x, F;
3725
- if (!(e.dataType !== "indicator" || k(d) === "design"))
3739
+ }, y = ue(e)("click", (C) => {
3740
+ const u = e.id, p = r(u);
3741
+ l(u, { ...p, RECORD: C == null ? void 0 : C.data });
3742
+ }), h = Dt(e), k = async () => {
3743
+ var C, u, p, T, F;
3744
+ if (!(e.dataType !== "indicator" || A(d) === "design"))
3726
3745
  try {
3727
3746
  g.value = !0;
3728
3747
  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 = {
3748
+ let _;
3749
+ ((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
3750
  name: S.data.data.columns[0],
3732
3751
  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);
3752
+ }), m((F = (T = S == null ? void 0 : S.data) == null ? void 0 : T.data) == null ? void 0 : F.rows, _, !0);
3734
3753
  } catch (S) {
3735
3754
  console.error(S);
3736
3755
  } finally {
3737
3756
  g.value = !1;
3738
3757
  }
3739
- }, C = () => {
3740
- k(d) !== "design" && (A(), f());
3758
+ }, x = () => {
3759
+ A(d) !== "design" && (k(), f());
3741
3760
  };
3742
3761
  ge(e, {
3743
3762
  refreshData: () => {
3744
- C();
3763
+ x();
3745
3764
  },
3746
3765
  resetRecord: () => {
3747
- const w = e.id, u = s(w);
3748
- l(w, { ...u, RECORD: "" });
3766
+ const C = e.id, u = r(C);
3767
+ l(C, { ...u, RECORD: "" });
3749
3768
  },
3750
3769
  click: y
3751
3770
  });
3752
- const { setRequest: M } = $(Ce, {
3771
+ const { setRequest: L } = $(Ce, {
3753
3772
  // @ts-ignore
3754
3773
  // eslint-disable-next-line no-void
3755
- setRequest: ({ id: w, sortNum: u, requestFn: p }) => {
3774
+ setRequest: ({ id: C, sortNum: u, requestFn: p }) => {
3756
3775
  }
3757
3776
  });
3758
- return M({
3777
+ return L({
3759
3778
  id: e.id,
3760
- requestFn: C,
3779
+ requestFn: x,
3761
3780
  sortNum: e.requestSort
3762
3781
  }), {
3763
- option: r,
3782
+ option: s,
3764
3783
  style: n,
3765
3784
  click: y,
3766
3785
  loading: g,
@@ -3770,13 +3789,13 @@ const tr = Q({
3770
3789
  }
3771
3790
  });
3772
3791
  function nr(e, n, t, o, a, i) {
3773
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
3792
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
3774
3793
  return E(), R("div", {
3775
3794
  style: G(e.style)
3776
3795
  }, [
3777
- j(s, { spinning: e.loading }, {
3796
+ j(r, { spinning: e.loading }, {
3778
3797
  default: Y(() => [
3779
- j(r, {
3798
+ j(s, {
3780
3799
  option: e.option,
3781
3800
  autoresize: "",
3782
3801
  onClick: e.click
@@ -3792,9 +3811,9 @@ function nr(e, n, t, o, a, i) {
3792
3811
  onCancel: e.hideModal
3793
3812
  }, {
3794
3813
  default: Y(() => [
3795
- j(s, { spinning: e.loading }, {
3814
+ j(r, { spinning: e.loading }, {
3796
3815
  default: Y(() => [
3797
- j(r, {
3816
+ j(s, {
3798
3817
  option: e.option,
3799
3818
  "update-options": { notMerge: !0 },
3800
3819
  autoresize: ""
@@ -3916,14 +3935,14 @@ const ir = Q({
3916
3935
  },
3917
3936
  components: {
3918
3937
  Spin: et,
3919
- Echarts: Ne,
3938
+ Echarts: ze,
3920
3939
  AModal: ke
3921
3940
  },
3922
3941
  setup(e, { expose: n }) {
3923
- const t = ie(e), o = _([]), a = _(!1), i = () => {
3942
+ const t = ie(e), o = I([]), a = I(!1), i = () => {
3924
3943
  a.value = !1;
3925
- }, r = q(() => {
3926
- const u = k(o), p = u.length, x = [];
3944
+ }, s = q(() => {
3945
+ const u = A(o), p = u.length, T = [];
3927
3946
  for (let F = 0; F < p; F++) {
3928
3947
  const S = {
3929
3948
  ...u[F],
@@ -3935,10 +3954,10 @@ const ir = Q({
3935
3954
  fontSize: e.labelFontSize,
3936
3955
  position: e.labelPosition,
3937
3956
  color: e.labelColor
3938
- }, x.push(S);
3957
+ }, T.push(S);
3939
3958
  }
3940
- return x;
3941
- }), s = _([]), l = _(!1), d = q(() => {
3959
+ return T;
3960
+ }), r = I([]), l = I(!1), d = q(() => {
3942
3961
  const u = e.yAxisLabelFormatter, p = e.xAxisLabelFormatter;
3943
3962
  return {
3944
3963
  toolbox: {
@@ -3993,21 +4012,21 @@ const ir = Q({
3993
4012
  tooltip: {
3994
4013
  trigger: "axis",
3995
4014
  show: e.tooltipShow,
3996
- formatter: (x) => {
3997
- const F = x.length;
3998
- let S = "", T = e.tooltipFormatter;
3999
- T === "" && (T = "{marker} {a} {c}");
4015
+ formatter: (T) => {
4016
+ const F = T.length;
4017
+ let S = "", _ = e.tooltipFormatter;
4018
+ _ === "" && (_ = "{marker} {a} {c}");
4000
4019
  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,
4020
+ const { marker: H, seriesName: O, name: N, value: z, data: W } = T[U] || {};
4021
+ U === 0 && (S += `${N}<br/>`), S += be(
4022
+ _,
4004
4023
  {
4005
4024
  marker: H,
4006
- name: z,
4007
- value: N,
4025
+ name: N,
4026
+ value: z,
4008
4027
  a: O,
4009
- b: z,
4010
- c: N,
4028
+ b: N,
4029
+ c: z,
4011
4030
  ...W
4012
4031
  },
4013
4032
  {
@@ -4036,7 +4055,7 @@ const ir = Q({
4036
4055
  },
4037
4056
  xAxis: {
4038
4057
  type: e.isUseHorizontalAxis ? "value" : "category",
4039
- data: e.isUseHorizontalAxis ? null : k(s),
4058
+ data: e.isUseHorizontalAxis ? null : A(r),
4040
4059
  inverse: e.isUseHorizontalAxis ? e.xAxisInverse : e.axisInverse,
4041
4060
  minInterval: e.xAxisMinInterval,
4042
4061
  splitLine: {
@@ -4051,8 +4070,8 @@ const ir = Q({
4051
4070
  rotate: e.xAxisLabelRotate,
4052
4071
  width: e.xAxisLabelWidth,
4053
4072
  overflow: e.xAxisLabelOverflow,
4054
- formatter(x) {
4055
- return De(p, x);
4073
+ formatter(T) {
4074
+ return De(p, T);
4056
4075
  }
4057
4076
  },
4058
4077
  axisLine: {
@@ -4066,7 +4085,7 @@ const ir = Q({
4066
4085
  },
4067
4086
  yAxis: {
4068
4087
  type: e.isUseHorizontalAxis ? "category" : "value",
4069
- data: e.isUseHorizontalAxis ? k(s) : null,
4088
+ data: e.isUseHorizontalAxis ? A(r) : null,
4070
4089
  inverse: e.isUseHorizontalAxis ? e.axisInverse : e.yAxisInverse,
4071
4090
  minInterval: e.yAxisMinInterval,
4072
4091
  splitLine: {
@@ -4080,8 +4099,8 @@ const ir = Q({
4080
4099
  rotate: e.yAxisLabelRotate,
4081
4100
  width: e.yAxisLabelWidth,
4082
4101
  overflow: e.yAxisLabelOverflow,
4083
- formatter(x) {
4084
- return De(u, x);
4102
+ formatter(T) {
4103
+ return De(u, T);
4085
4104
  }
4086
4105
  },
4087
4106
  axisLine: {
@@ -4090,52 +4109,52 @@ const ir = Q({
4090
4109
  }
4091
4110
  }
4092
4111
  },
4093
- series: k(r)
4112
+ series: A(s)
4094
4113
  };
4095
4114
  }), { pageMode: c } = $(ce, {
4096
4115
  pageMode: "normal"
4097
4116
  }), m = (u = [], p = !1) => {
4098
- let x = {};
4117
+ let T = {};
4099
4118
  if (e.dataFieldConfigType === "key") {
4100
4119
  const F = p ? e.keyTypeDataFieldNames : null;
4101
- x = ze(u, F);
4120
+ T = Ne(u, F);
4102
4121
  } else if (e.dataFieldConfigType === "value") {
4103
4122
  const F = p ? e.valueTypeDataFieldNames : null;
4104
- x = Ye(u, F);
4123
+ T = Ye(u, F);
4105
4124
  }
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;
4125
+ o.value = T.dataset, r.value = T.dimensions;
4126
+ }, g = (u = [], p, T = !1) => {
4127
+ const S = Ne(u, T ? p : null);
4128
+ o.value = S.dataset, r.value = S.dimensions;
4110
4129
  };
4111
4130
  ne(() => e.data, (u) => {
4112
- (e.dataType === "static" || k(c) === "design") && m(u);
4131
+ (e.dataType === "static" || A(c) === "design") && m(u);
4113
4132
  }, {
4114
4133
  immediate: !0,
4115
4134
  deep: !0
4116
4135
  });
4117
- const b = Ae(e), f = async () => {
4136
+ const v = Ae(e), f = async () => {
4118
4137
  var u, p;
4119
4138
  try {
4120
4139
  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);
4140
+ const T = await v();
4141
+ m((p = (u = T == null ? void 0 : T.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4142
+ } catch (T) {
4143
+ console.error(T);
4125
4144
  } finally {
4126
4145
  l.value = !1;
4127
4146
  }
4128
- }, v = Mn(e), y = async () => {
4147
+ }, b = Mn(e), y = async () => {
4129
4148
  var u;
4130
4149
  try {
4131
4150
  l.value = !0;
4132
- const p = await v(), { columns: x = [], rows: F = [] } = ((u = p == null ? void 0 : p.data) == null ? void 0 : u.data) ?? {};
4151
+ const p = await b(), { columns: T = [], rows: F = [] } = ((u = p == null ? void 0 : p.data) == null ? void 0 : u.data) ?? {};
4133
4152
  let S;
4134
- x.length > 0 && (S = {
4135
- name: x[0],
4136
- types: x.slice(1).map((T) => ({
4137
- label: T,
4138
- value: T
4153
+ T.length > 0 && (S = {
4154
+ name: T[0],
4155
+ types: T.slice(1).map((_) => ({
4156
+ label: _,
4157
+ value: _
4139
4158
  }))
4140
4159
  }), g(F, S, !0);
4141
4160
  } catch (p) {
@@ -4144,7 +4163,7 @@ const ir = Q({
4144
4163
  l.value = !1;
4145
4164
  }
4146
4165
  }, h = () => {
4147
- if (k(c) !== "design")
4166
+ if (A(c) !== "design")
4148
4167
  switch (e.dataType) {
4149
4168
  case "indicator":
4150
4169
  y();
@@ -4157,7 +4176,7 @@ const ir = Q({
4157
4176
  n({
4158
4177
  refreshData: h
4159
4178
  });
4160
- const A = ue(e), { getGlobalModel: C, setGlobalModel: B } = $(de, {
4179
+ const k = ue(e), { getGlobalModel: x, setGlobalModel: B } = $(de, {
4161
4180
  // @ts-ignore
4162
4181
  // eslint-disable-next-line no-void
4163
4182
  getGlobalModel: (u) => {
@@ -4166,31 +4185,31 @@ const ir = Q({
4166
4185
  // eslint-disable-next-line no-void
4167
4186
  setGlobalModel: (u, p) => {
4168
4187
  }
4169
- }), I = A("click", (u) => {
4170
- const p = e.id, x = C(p);
4171
- B(p, { ...x, RECORD: u.data });
4172
- }), { setRequest: M } = $(Ce, {
4188
+ }), w = k("click", (u) => {
4189
+ const p = e.id, T = x(p);
4190
+ B(p, { ...T, RECORD: u.data });
4191
+ }), { setRequest: L } = $(Ce, {
4173
4192
  // @ts-ignore
4174
4193
  // eslint-disable-next-line no-void
4175
- setRequest: ({ id: u, sortNum: p, requestFn: x }) => {
4194
+ setRequest: ({ id: u, sortNum: p, requestFn: T }) => {
4176
4195
  }
4177
4196
  });
4178
- return M({
4197
+ return L({
4179
4198
  id: e.id,
4180
4199
  requestFn: h,
4181
4200
  sortNum: e.requestSort
4182
4201
  }), ge(e, {
4183
4202
  refreshData: h,
4184
- click: I,
4203
+ click: w,
4185
4204
  resetRecord: () => {
4186
- const u = e.id, p = C(u);
4205
+ const u = e.id, p = x(u);
4187
4206
  B(u, { ...p, RECORD: "" });
4188
4207
  }
4189
4208
  }), {
4190
4209
  option: d,
4191
4210
  style: t,
4192
4211
  refreshData: h,
4193
- click: I,
4212
+ click: w,
4194
4213
  loading: l,
4195
4214
  visible: a,
4196
4215
  hideModal: i
@@ -4198,14 +4217,14 @@ const ir = Q({
4198
4217
  }
4199
4218
  });
4200
4219
  function rr(e, n, t, o, a, i) {
4201
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
4220
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4202
4221
  return E(), R("div", {
4203
4222
  class: "ecan-bar",
4204
4223
  style: G(e.style)
4205
4224
  }, [
4206
- j(s, { spinning: e.loading }, {
4225
+ j(r, { spinning: e.loading }, {
4207
4226
  default: Y(() => [
4208
- j(r, {
4227
+ j(s, {
4209
4228
  option: e.option,
4210
4229
  "update-options": { notMerge: !0 },
4211
4230
  autoresize: "",
@@ -4222,9 +4241,9 @@ function rr(e, n, t, o, a, i) {
4222
4241
  onCancel: e.hideModal
4223
4242
  }, {
4224
4243
  default: Y(() => [
4225
- j(s, { spinning: e.loading }, {
4244
+ j(r, { spinning: e.loading }, {
4226
4245
  default: Y(() => [
4227
- j(r, {
4246
+ j(s, {
4228
4247
  option: e.option,
4229
4248
  "update-options": { notMerge: !0 },
4230
4249
  autoresize: ""
@@ -4307,14 +4326,14 @@ const ur = Q({
4307
4326
  },
4308
4327
  components: {
4309
4328
  Spin: et,
4310
- Echarts: Ne,
4329
+ Echarts: ze,
4311
4330
  AModal: ke
4312
4331
  },
4313
4332
  setup(e) {
4314
- const n = ie(e), t = _([]), o = _(!1), a = () => {
4333
+ const n = ie(e), t = I([]), o = I(!1), a = () => {
4315
4334
  o.value = !1;
4316
4335
  }, i = q(() => {
4317
- const h = e.xAxisLabelFormatter, A = e.yAxisLabelFormatter;
4336
+ const h = e.xAxisLabelFormatter, k = e.yAxisLabelFormatter;
4318
4337
  return {
4319
4338
  toolbox: {
4320
4339
  show: e.toolboxShow,
@@ -4375,8 +4394,8 @@ const ur = Q({
4375
4394
  },
4376
4395
  axisLabel: {
4377
4396
  color: e.xAxisLabelColor,
4378
- formatter(C) {
4379
- return De(h, C);
4397
+ formatter(x) {
4398
+ return De(h, x);
4380
4399
  }
4381
4400
  },
4382
4401
  axisLine: {
@@ -4397,8 +4416,8 @@ const ur = Q({
4397
4416
  },
4398
4417
  axisLabel: {
4399
4418
  color: e.yAxisLabelColor,
4400
- formatter(C) {
4401
- return De(A, C);
4419
+ formatter(x) {
4420
+ return De(k, x);
4402
4421
  }
4403
4422
  },
4404
4423
  axisLine: {
@@ -4411,16 +4430,16 @@ const ur = Q({
4411
4430
  tooltip: {
4412
4431
  show: e.tooltipShow,
4413
4432
  trigger: e.tooltipTrigger,
4414
- formatter: function(C) {
4433
+ formatter: function(x) {
4415
4434
  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;
4435
+ 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
4436
  return be(e.tooltipFormatter, {
4418
4437
  marker: B,
4419
- seriesName: I,
4420
- a: I,
4421
- b: w,
4438
+ seriesName: w,
4439
+ a: w,
4440
+ b: C,
4422
4441
  c: u,
4423
- ...M
4442
+ ...L
4424
4443
  });
4425
4444
  },
4426
4445
  axisPointer: {
@@ -4436,49 +4455,49 @@ const ur = Q({
4436
4455
  },
4437
4456
  series: [
4438
4457
  {
4439
- data: k(t),
4458
+ data: A(t),
4440
4459
  type: "scatter",
4441
4460
  symbolSize: e.symbolSize
4442
4461
  }
4443
4462
  ]
4444
4463
  };
4445
- }), { getGlobalModel: r, setGlobalModel: s } = $(de, {
4464
+ }), { getGlobalModel: s, setGlobalModel: r } = $(de, {
4446
4465
  // @ts-ignore
4447
4466
  // eslint-disable-next-line no-void
4448
4467
  getGlobalModel: (h) => {
4449
4468
  },
4450
4469
  // @ts-ignore
4451
4470
  // eslint-disable-next-line no-void
4452
- setGlobalModel: (h, A) => {
4471
+ setGlobalModel: (h, k) => {
4453
4472
  }
4454
4473
  }), { pageMode: l } = $(ce, {
4455
4474
  pageMode: "normal"
4456
- }), 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 }));
4475
+ }), d = (h = [], k) => {
4476
+ const { name: x = "name", value: B = "value" } = k || {};
4477
+ t.value = h.map((w) => ({ value: [w[x], w[B]], record: w }));
4459
4478
  };
4460
4479
  ne(() => e.data, (h) => {
4461
- (e.dataType === "static" || k(l) === "design") && d(h);
4480
+ (e.dataType === "static" || A(l) === "design") && d(h);
4462
4481
  }, {
4463
4482
  immediate: !0,
4464
4483
  deep: !0
4465
4484
  });
4466
- const c = _(!1), m = Ae(e), g = async () => {
4467
- var h, A;
4468
- if (!(e.dataType !== "request" || k(l) === "design")) {
4485
+ const c = I(!1), m = Ae(e), g = async () => {
4486
+ var h, k;
4487
+ if (!(e.dataType !== "request" || A(l) === "design")) {
4469
4488
  c.value = !0;
4470
4489
  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);
4490
+ const x = await m();
4491
+ d((k = (h = x == null ? void 0 : x.data) == null ? void 0 : h.data) == null ? void 0 : k.rows, e.dataFieldNames);
4492
+ } catch (x) {
4493
+ console.error(x);
4475
4494
  } finally {
4476
4495
  c.value = !1;
4477
4496
  }
4478
4497
  }
4479
4498
  }, f = ue(e)("click", (h) => {
4480
- const A = e.id, C = r(A);
4481
- s(A, { ...C, RECORD: h == null ? void 0 : h.data });
4499
+ const k = e.id, x = s(k);
4500
+ r(k, { ...x, RECORD: h == null ? void 0 : h.data });
4482
4501
  });
4483
4502
  ge(e, {
4484
4503
  refreshData: () => {
@@ -4489,7 +4508,7 @@ const ur = Q({
4489
4508
  const { setRequest: y } = $(Ce, {
4490
4509
  // @ts-ignore
4491
4510
  // eslint-disable-next-line no-void
4492
- setRequest: ({ id: h, sortNum: A, requestFn: C }) => {
4511
+ setRequest: ({ id: h, sortNum: k, requestFn: x }) => {
4493
4512
  }
4494
4513
  });
4495
4514
  return y({
@@ -4507,13 +4526,13 @@ const ur = Q({
4507
4526
  }
4508
4527
  });
4509
4528
  function fr(e, n, t, o, a, i) {
4510
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
4529
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4511
4530
  return E(), R("div", {
4512
4531
  style: G(e.style)
4513
4532
  }, [
4514
- j(s, { spinning: e.loading }, {
4533
+ j(r, { spinning: e.loading }, {
4515
4534
  default: Y(() => [
4516
- j(r, {
4535
+ j(s, {
4517
4536
  option: e.option,
4518
4537
  autoresize: "",
4519
4538
  onClick: e.click
@@ -4529,9 +4548,9 @@ function fr(e, n, t, o, a, i) {
4529
4548
  onCancel: e.hideModal
4530
4549
  }, {
4531
4550
  default: Y(() => [
4532
- j(s, { spinning: e.loading }, {
4551
+ j(r, { spinning: e.loading }, {
4533
4552
  default: Y(() => [
4534
- j(r, {
4553
+ j(s, {
4535
4554
  option: e.option,
4536
4555
  "update-options": { notMerge: !0 },
4537
4556
  autoresize: ""
@@ -4560,10 +4579,10 @@ const mr = /* @__PURE__ */ K(ur, [["render", fr]]), gr = oe(mr), ro = {
4560
4579
  ...so
4561
4580
  },
4562
4581
  components: {
4563
- Echarts: Ne
4582
+ Echarts: ze
4564
4583
  },
4565
4584
  setup(e) {
4566
- const n = ie(e), t = _();
4585
+ const n = ie(e), t = I();
4567
4586
  return ne(() => e.optionCode, (o) => {
4568
4587
  try {
4569
4588
  const a = eval;
@@ -4581,11 +4600,11 @@ const mr = /* @__PURE__ */ K(ur, [["render", fr]]), gr = oe(mr), ro = {
4581
4600
  }
4582
4601
  });
4583
4602
  function yr(e, n, t, o, a, i) {
4584
- const r = Z("echarts");
4603
+ const s = Z("echarts");
4585
4604
  return E(), R("div", {
4586
4605
  style: G(e.style)
4587
4606
  }, [
4588
- j(r, {
4607
+ j(s, {
4589
4608
  option: e.myOption,
4590
4609
  "update-options": { notMerge: !0 },
4591
4610
  autoresize: ""
@@ -4713,13 +4732,13 @@ const Cr = Q({
4713
4732
  },
4714
4733
  components: {
4715
4734
  Spin: et,
4716
- Echarts: Ne,
4735
+ Echarts: ze,
4717
4736
  AModal: ke
4718
4737
  },
4719
4738
  setup(e) {
4720
- const n = ie(e), t = _([]), o = _([]), a = _(!1), i = () => {
4739
+ const n = ie(e), t = I([]), o = I([]), a = I(!1), i = () => {
4721
4740
  a.value = !1;
4722
- }, r = q(() => ({
4741
+ }, s = q(() => ({
4723
4742
  title: {
4724
4743
  text: e.titleText,
4725
4744
  subtext: e.titleSubtext,
@@ -4783,21 +4802,21 @@ const Cr = Q({
4783
4802
  show: e.tooltipShow,
4784
4803
  formatter: (u) => {
4785
4804
  const p = u.length;
4786
- let x = "", F = e.tooltipFormatter;
4805
+ let T = "", F = e.tooltipFormatter;
4787
4806
  F === "" && (F = "{marker} {a} {c}");
4788
4807
  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(
4808
+ for (let _ = 0; _ < p; _++) {
4809
+ const U = S[_], { tooltipFormatter: H } = U || {}, { marker: O, seriesName: N, name: z, value: W, data: ee } = u[_] || {};
4810
+ _ === 0 && (T += `${z}<br/>`), T += be(
4792
4811
  // 如果系列有提示框组件就使用自定义,没有就用默认的
4793
4812
  H || F,
4794
4813
  {
4795
4814
  marker: O,
4796
- name: N,
4815
+ name: z,
4797
4816
  value: W,
4798
- seriesName: z,
4799
- a: z,
4800
- b: N,
4817
+ seriesName: N,
4818
+ a: N,
4819
+ b: z,
4801
4820
  c: W,
4802
4821
  ...ee
4803
4822
  },
@@ -4805,9 +4824,9 @@ const Cr = Q({
4805
4824
  useNewline: !0,
4806
4825
  useSpace: !0
4807
4826
  }
4808
- ), x += "<br/>";
4827
+ ), T += "<br/>";
4809
4828
  }
4810
- return x;
4829
+ return T;
4811
4830
  },
4812
4831
  textStyle: {
4813
4832
  color: e.tooltipTextStyleColor
@@ -4816,7 +4835,7 @@ const Cr = Q({
4816
4835
  xAxis: {
4817
4836
  minInterval: e.xAxisMinInterval,
4818
4837
  type: "category",
4819
- data: k(o),
4838
+ data: A(o),
4820
4839
  splitLine: {
4821
4840
  show: e.xAxisSplitLineShow,
4822
4841
  lineStyle: {
@@ -4835,29 +4854,29 @@ const Cr = Q({
4835
4854
  show: e.xAxisTickShow
4836
4855
  }
4837
4856
  },
4838
- yAxis: k(c),
4839
- series: k(t)
4840
- })), { pageMode: s } = $(ce, {
4857
+ yAxis: A(c),
4858
+ series: A(t)
4859
+ })), { pageMode: r } = $(ce, {
4841
4860
  pageMode: "normal"
4842
4861
  }), l = (u = [], p = !1) => {
4843
- let x;
4862
+ let T;
4844
4863
  if (e.dataFieldConfigType === "key") {
4845
4864
  const H = p ? e.keyTypeDataFieldNames : null;
4846
- x = ze(u, H);
4865
+ T = Ne(u, H);
4847
4866
  } else if (e.dataFieldConfigType === "value") {
4848
4867
  const H = p ? e.valueTypeDataFieldNames : null;
4849
- x = Ye(u, H);
4868
+ T = Ye(u, H);
4850
4869
  }
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 || {};
4870
+ o.value = T.dimensions;
4871
+ const F = T.dataset, S = [], _ = F.length, U = e.seriesTypes;
4872
+ for (let H = 0; H < _; H++) {
4873
+ const O = U[H], { type: N, axisIndex: z } = O || {};
4855
4874
  let W = {
4856
- type: z,
4857
- yAxisIndex: N,
4875
+ type: N,
4876
+ yAxisIndex: z,
4858
4877
  ...F[H]
4859
4878
  };
4860
- z === "line" && (W = {
4879
+ N === "line" && (W = {
4861
4880
  ...W,
4862
4881
  symbolSize: e.symbolSize,
4863
4882
  smooth: e.smooth,
@@ -4867,28 +4886,28 @@ const Cr = Q({
4867
4886
  lineStyle: {
4868
4887
  width: e.lineStyleWidth
4869
4888
  }
4870
- }), z === "bar" && (W = {
4889
+ }), N === "bar" && (W = {
4871
4890
  ...W,
4872
4891
  barWidth: e.barWidth
4873
4892
  }), S.push(W);
4874
4893
  }
4875
4894
  t.value = S;
4876
- }, d = (u = [], p, x = !1) => {
4877
- const S = ze(u, x ? p : null);
4895
+ }, d = (u = [], p, T = !1) => {
4896
+ const S = Ne(u, T ? p : null);
4878
4897
  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];
4898
+ const _ = S.dataset, U = [], H = _.length, O = e.seriesTypes;
4899
+ for (let N = 0; N < H; N++) {
4900
+ const z = O[N];
4882
4901
  U.push({
4883
- type: N == null ? void 0 : N.type,
4884
- yAxisIndex: N == null ? void 0 : N.axisIndex,
4885
- ...T[z]
4902
+ type: z == null ? void 0 : z.type,
4903
+ yAxisIndex: z == null ? void 0 : z.axisIndex,
4904
+ ..._[N]
4886
4905
  });
4887
4906
  }
4888
4907
  t.value = U;
4889
4908
  };
4890
4909
  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);
4910
+ (e.dataType === "static" || A(r) === "design") && l(u);
4892
4911
  }, {
4893
4912
  immediate: !0,
4894
4913
  deep: !0
@@ -4906,8 +4925,8 @@ const Cr = Q({
4906
4925
  },
4907
4926
  axisLabel: {
4908
4927
  color: e.yAxisLabelColor,
4909
- formatter(x) {
4910
- return De(p.axisLabelFormatter, x);
4928
+ formatter(T) {
4929
+ return De(p.axisLabelFormatter, T);
4911
4930
  }
4912
4931
  },
4913
4932
  axisLine: {
@@ -4916,39 +4935,39 @@ const Cr = Q({
4916
4935
  }
4917
4936
  }
4918
4937
  }));
4919
- }), m = _(!1), g = Ae(e), b = async () => {
4938
+ }), m = I(!1), g = Ae(e), v = async () => {
4920
4939
  var u, p;
4921
- if (!(e.dataType !== "request" || k(s) === "design"))
4940
+ if (!(e.dataType !== "request" || A(r) === "design"))
4922
4941
  try {
4923
4942
  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);
4943
+ const T = await g();
4944
+ l((p = (u = T == null ? void 0 : T.data) == null ? void 0 : u.data) == null ? void 0 : p.rows, !0);
4945
+ } catch (T) {
4946
+ console.error(T);
4928
4947
  } finally {
4929
4948
  m.value = !1;
4930
4949
  }
4931
- }, f = Dt(e), v = async () => {
4932
- var u, p, x, F, S;
4933
- if (!(e.dataType !== "indicator" || k(s) === "design"))
4950
+ }, f = Dt(e), b = async () => {
4951
+ var u, p, T, F, S;
4952
+ if (!(e.dataType !== "indicator" || A(r) === "design"))
4934
4953
  try {
4935
4954
  m.value = !0;
4936
- const T = await f();
4955
+ const _ = await f();
4937
4956
  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);
4957
+ ((T = (p = (u = _ == null ? void 0 : _.data) == null ? void 0 : u.data) == null ? void 0 : p.columns) == null ? void 0 : T.length) > 0 && (U = {
4958
+ name: _.data.data.columns[0],
4959
+ types: _.data.data.columns.slice(1).map((H) => ({ label: H, value: H }))
4960
+ }), d((S = (F = _ == null ? void 0 : _.data) == null ? void 0 : F.data) == null ? void 0 : S.rows, U, !0);
4961
+ } catch (_) {
4962
+ console.error(_);
4944
4963
  } finally {
4945
4964
  m.value = !1;
4946
4965
  }
4947
4966
  }, y = () => {
4948
- k(s) !== "design" && (v(), b());
4967
+ A(r) !== "design" && (b(), v());
4949
4968
  }, h = () => {
4950
4969
  y();
4951
- }, A = ue(e), { getGlobalModel: C, setGlobalModel: B } = $(de, {
4970
+ }, k = ue(e), { getGlobalModel: x, setGlobalModel: B } = $(de, {
4952
4971
  // @ts-ignore
4953
4972
  // eslint-disable-next-line no-void
4954
4973
  getGlobalModel: (u) => {
@@ -4957,30 +4976,30 @@ const Cr = Q({
4957
4976
  // eslint-disable-next-line no-void
4958
4977
  setGlobalModel: (u, p) => {
4959
4978
  }
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, {
4979
+ }), w = k("click", (u) => {
4980
+ const p = e.id, T = x(p);
4981
+ B(p, { ...T, RECORD: u == null ? void 0 : u.data });
4982
+ }), { setRequest: L } = $(Ce, {
4964
4983
  // @ts-ignore
4965
4984
  // eslint-disable-next-line no-void
4966
- setRequest: ({ id: u, sortNum: p, requestFn: x }) => {
4985
+ setRequest: ({ id: u, sortNum: p, requestFn: T }) => {
4967
4986
  }
4968
4987
  });
4969
- return M({
4988
+ return L({
4970
4989
  id: e.id,
4971
4990
  requestFn: y,
4972
4991
  sortNum: e.requestSort
4973
4992
  }), ge(e, {
4974
4993
  resetRecord: () => {
4975
- const u = e.id, p = C(u);
4994
+ const u = e.id, p = x(u);
4976
4995
  B(u, { ...p, RECORD: "" });
4977
4996
  },
4978
4997
  refreshData: h,
4979
- click: I
4998
+ click: w
4980
4999
  }), {
4981
5000
  style: n,
4982
- option: r,
4983
- click: I,
5001
+ option: s,
5002
+ click: w,
4984
5003
  loading: m,
4985
5004
  visible: a,
4986
5005
  hideModal: i
@@ -4988,13 +5007,13 @@ const Cr = Q({
4988
5007
  }
4989
5008
  });
4990
5009
  function Sr(e, n, t, o, a, i) {
4991
- const r = Z("echarts"), s = Z("spin"), l = Z("a-modal");
5010
+ const s = Z("echarts"), r = Z("spin"), l = Z("a-modal");
4992
5011
  return E(), R("div", {
4993
5012
  style: G(e.style)
4994
5013
  }, [
4995
- j(s, { spinning: e.loading }, {
5014
+ j(r, { spinning: e.loading }, {
4996
5015
  default: Y(() => [
4997
- j(r, {
5016
+ j(s, {
4998
5017
  option: e.option,
4999
5018
  "update-options": { notMerge: !0 },
5000
5019
  autoresize: "",
@@ -5011,9 +5030,9 @@ function Sr(e, n, t, o, a, i) {
5011
5030
  onCancel: e.hideModal
5012
5031
  }, {
5013
5032
  default: Y(() => [
5014
- j(s, { spinning: e.loading }, {
5033
+ j(r, { spinning: e.loading }, {
5015
5034
  default: Y(() => [
5016
- j(r, {
5035
+ j(s, {
5017
5036
  option: e.option,
5018
5037
  "update-options": { notMerge: !0 },
5019
5038
  autoresize: "",
@@ -5065,24 +5084,24 @@ const wr = /* @__PURE__ */ K(Cr, [["render", Sr]]), kr = oe(wr), fo = {
5065
5084
  width: "100%",
5066
5085
  height: "100%"
5067
5086
  })), i = ue(e)("click", () => {
5068
- }), r = _([]);
5087
+ }), s = I([]);
5069
5088
  ne(() => e.data, (l) => {
5070
- r.value = l;
5089
+ s.value = l;
5071
5090
  }, {
5072
5091
  immediate: !0,
5073
5092
  deep: !0
5074
5093
  }), ge(e, {
5075
5094
  click: i
5076
5095
  });
5077
- const { setGlobalModel: s } = $(de, {
5096
+ const { setGlobalModel: r } = $(de, {
5078
5097
  // @ts-ignore
5079
5098
  // eslint-disable-next-line no-void
5080
5099
  setGlobalModel: (l, d) => {
5081
5100
  }
5082
5101
  });
5083
- return s(e.id, {
5102
+ return r(e.id, {
5084
5103
  type: e.type,
5085
- value: r
5104
+ value: s
5086
5105
  }), {
5087
5106
  style: n,
5088
5107
  click: i,
@@ -5094,10 +5113,10 @@ const wr = /* @__PURE__ */ K(Cr, [["render", Sr]]), kr = oe(wr), fo = {
5094
5113
  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
5114
  class: "title-decoration-left",
5096
5115
  src: Tr
5097
- }, null, -1)), Dr = { class: "title" }, Nr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("img", {
5116
+ }, null, -1)), Dr = { class: "title" }, zr = /* @__PURE__ */ Te(() => /* @__PURE__ */ X("img", {
5098
5117
  class: "title-decoration-right",
5099
5118
  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 = {
5119
+ }, 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
5120
  key: 2,
5102
5121
  class: "left-title"
5103
5122
  }, Ur = { class: "title" };
@@ -5105,7 +5124,7 @@ function qr(e, n, t, o, a, i) {
5105
5124
  return E(), R("div", {
5106
5125
  class: "ecan-border",
5107
5126
  style: G(e.style),
5108
- onClick: n[0] || (n[0] = (...r) => e.click && e.click(...r))
5127
+ onClick: n[0] || (n[0] = (...s) => e.click && e.click(...s))
5109
5128
  }, [
5110
5129
  e.mode === "no-title" ? (E(), R("div", {
5111
5130
  key: 0,
@@ -5128,10 +5147,10 @@ function qr(e, n, t, o, a, i) {
5128
5147
  X("div", Fr, [
5129
5148
  Rr,
5130
5149
  X("div", Dr, he(e.title), 1),
5131
- Nr
5150
+ zr
5132
5151
  ])
5133
5152
  ]),
5134
- zr,
5153
+ Nr,
5135
5154
  $r,
5136
5155
  Pr,
5137
5156
  Br
@@ -5171,98 +5190,98 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-f3fc1305
5171
5190
  },
5172
5191
  setup(e) {
5173
5192
  const n = () => document.getElementById("ProviderConfig") || document.body, t = q(() => {
5174
- const N = e.position;
5193
+ const z = e.position;
5175
5194
  return {
5176
5195
  verticalAlign: {
5177
5196
  default: "",
5178
5197
  top: "top",
5179
5198
  center: "middle",
5180
5199
  bottom: "bottom"
5181
- }[N]
5200
+ }[z]
5182
5201
  };
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 = _();
5202
+ }), 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), v = I({}), f = I(!1), b = I();
5184
5203
  let y;
5185
5204
  const h = () => {
5186
5205
  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 = {
5189
- width: `${k(l)}px`,
5190
- height: `${k(c)}px`
5191
- }, b.value = {
5192
- ...k(g),
5206
+ const z = parseFloat(a) / parseFloat(s), W = document.body.offsetWidth, ee = document.body.offsetHeight;
5207
+ l.value = W * A(d), c.value = ee * z, r.value = `${A(d) * 100}%`, m.value = {
5208
+ width: `${A(l)}px`,
5209
+ height: `${A(c)}px`
5210
+ }, v.value = {
5211
+ ...A(g),
5193
5212
  backgroundImage: Re(e.backgroundImage, !0),
5194
- transform: `scale(${k(l) / parseFloat(o)},${k(c) / parseFloat(a)})`
5213
+ transform: `scale(${A(l) / parseFloat(o)},${A(c) / parseFloat(a)})`
5195
5214
  };
5196
- }, A = It(() => {
5215
+ }, k = It(() => {
5197
5216
  h();
5198
- }, 100), C = () => {
5199
- const N = window.MutationObserver;
5200
- y = new N(A), y.observe(document.body, {
5217
+ }, 100), x = () => {
5218
+ const z = window.MutationObserver;
5219
+ y = new z(k), y.observe(document.body, {
5201
5220
  attributes: !0,
5202
5221
  attributeFilter: ["style"],
5203
5222
  attributeOldValue: !0
5204
5223
  });
5205
5224
  }, B = () => {
5206
5225
  y && (y.disconnect(), y.takeRecords(), y = null);
5207
- }, I = _(!1), { touchRequest: M } = $(Ce, {
5226
+ }, w = I(!1), { touchRequest: L } = $(Ce, {
5208
5227
  // @ts-ignore
5209
5228
  // eslint-disable-next-line no-void
5210
5229
  touchRequest: () => {
5211
5230
  }
5212
- }), w = () => {
5213
- I.value = !0;
5231
+ }), C = () => {
5232
+ w.value = !0;
5214
5233
  }, u = () => {
5215
- I.value = !1;
5234
+ w.value = !1;
5216
5235
  }, p = () => {
5217
5236
  u();
5218
- }, x = () => {
5237
+ }, T = () => {
5219
5238
  u();
5220
- }, { setModalModel: F, pushUseModalIds: S, popUseModalIds: T } = $(_n, {
5221
- pushUseModalIds: (N) => {
5239
+ }, { setModalModel: F, pushUseModalIds: S, popUseModalIds: _ } = $(_n, {
5240
+ pushUseModalIds: (z) => {
5222
5241
  },
5223
5242
  popUseModalIds: () => {
5224
5243
  },
5225
- setModalModel: (N, W) => {
5244
+ setModalModel: (z, W) => {
5226
5245
  }
5227
5246
  }), U = () => {
5228
- const N = e.id;
5247
+ const z = e.id;
5229
5248
  let W = [];
5230
5249
  const ee = e.componentList;
5231
- Array.isArray(ee) && (W = ee.map((se) => se.id), F(N, [...new Set(W)]));
5250
+ Array.isArray(ee) && (W = ee.map((se) => se.id), F(z, [...new Set(W)]));
5232
5251
  };
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());
5252
+ ne(() => w.value, async (z) => {
5253
+ z ? (f.value = !1, S(e.id), U(), await ft(() => {
5254
+ h(), window.addEventListener("resize", k), x(), f.value = !0;
5255
+ }), L()) : (_(), window.removeEventListener("resize", k), B());
5237
5256
  });
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;
5257
+ const H = q(() => A(d) >= 1), O = q(() => e.fullModal), N = q(() => {
5258
+ let z = "ecan-modal";
5259
+ return A(H) && (z += " ecan-full-width-modal"), A(O) && (z += " ecan-full-modal"), z;
5241
5260
  });
5242
5261
  return ge(e, {
5243
- showModal: w
5262
+ showModal: C
5244
5263
  }), {
5245
- modalRef: v,
5264
+ modalRef: b,
5246
5265
  containStyle: m,
5247
- contentStyle: b,
5266
+ contentStyle: v,
5248
5267
  getContainer: n,
5249
5268
  modalStyle: t,
5250
- modalWith: s,
5269
+ modalWith: r,
5251
5270
  isFullModal: O,
5252
5271
  style: g,
5253
- visible: I,
5254
- showModal: w,
5272
+ visible: w,
5273
+ showModal: C,
5255
5274
  onOk: p,
5256
- onCancel: x,
5275
+ onCancel: T,
5257
5276
  isFullWidth: H,
5258
- wrapClassName: z,
5277
+ wrapClassName: N,
5259
5278
  ready: f
5260
5279
  };
5261
5280
  }
5262
5281
  });
5263
5282
  function Zr(e, n, t, o, a, i) {
5264
- const r = Z("a-modal");
5265
- return E(), Oe(r, {
5283
+ const s = Z("a-modal");
5284
+ return E(), Oe(s, {
5266
5285
  getContainer: e.getContainer,
5267
5286
  wrapClassName: e.wrapClassName,
5268
5287
  centered: "",
@@ -5286,9 +5305,9 @@ function Zr(e, n, t, o, a, i) {
5286
5305
  class: "content",
5287
5306
  style: G(e.contentStyle)
5288
5307
  }, [
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))
5308
+ (E(!0), R(Le, null, Ie(e.componentList, (r, l) => (E(), Oe(Eo(r.type), Oo({
5309
+ key: r.id + l
5310
+ }, r), null, 16))), 128))
5292
5311
  ], 4)) : pe("", !0)
5293
5312
  ], 4)
5294
5313
  ]),
@@ -5349,26 +5368,26 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-0447cd77
5349
5368
  },
5350
5369
  setup(e) {
5351
5370
  var c;
5352
- const n = ie(e), t = _(0);
5371
+ const n = ie(e), t = I(0);
5353
5372
  ne(() => e.activeKey, (m) => {
5354
5373
  t.value = m;
5355
5374
  }, {
5356
5375
  immediate: !0
5357
5376
  });
5358
- const o = _([]);
5377
+ const o = I([]);
5359
5378
  ne(() => e.data, (m) => {
5360
5379
  o.value = m;
5361
5380
  }, {
5362
5381
  immediate: !0,
5363
5382
  deep: !0
5364
5383
  });
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, {
5384
+ const a = (m) => t.value === m, i = I(e.value || A(o)[0] && ((c = A(o)[0]) == null ? void 0 : c.value) || ""), s = ue(e), { setGlobalModel: r } = $(de, {
5366
5385
  // @ts-ignore
5367
5386
  // eslint-disable-next-line no-void
5368
5387
  setGlobalModel: (m, g) => {
5369
5388
  }
5370
5389
  });
5371
- s(e.id, {
5390
+ r(e.id, {
5372
5391
  value: i,
5373
5392
  activeKey: t
5374
5393
  });
@@ -5376,8 +5395,8 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-0447cd77
5376
5395
  // eslint-disable-next-line no-void
5377
5396
  emitRefreshPage: () => {
5378
5397
  }
5379
- }), d = r("tabChange", (m, g) => {
5380
- g !== k(t) && (i.value = (m == null ? void 0 : m.value) || "", t.value = g, l());
5398
+ }), d = s("tabChange", (m, g) => {
5399
+ g !== A(t) && (i.value = (m == null ? void 0 : m.value) || "", t.value = g, l());
5381
5400
  });
5382
5401
  return ge(e, {
5383
5402
  tabChange: d
@@ -5406,25 +5425,25 @@ function es(e, n, t, o, a, i) {
5406
5425
  flexDirection: e.tabFlexDirection
5407
5426
  })
5408
5427
  }, [
5409
- (E(!0), R(Le, null, Ie(e.myData, (r, s) => (E(), R("div", {
5428
+ (E(!0), R(Le, null, Ie(e.myData, (s, r) => (E(), R("div", {
5410
5429
  class: "tab",
5411
5430
  style: G({
5412
5431
  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),
5432
+ color: e.isActive(r) ? e.activeTabColor : e.tabColor,
5433
+ backgroundImage: e.isActive(r) ? e.useImagePath(e.activeTabBackgroundImage, !0) : e.useImagePath(e.tabBackgroundImage, !0),
5415
5434
  marginRight: e.tabFlexDirection === "row" ? e.tabBarGutter : null,
5416
5435
  marginBottom: e.tabFlexDirection === "column" ? e.tabBarGutter : null,
5417
5436
  fontWeight: e.tabFontWeight
5418
5437
  }),
5419
- key: s,
5420
- onClick: Fo((l) => e.tabChange(r, s), ["prevent", "stop"])
5438
+ key: r,
5439
+ onClick: Fo((l) => e.tabChange(s, r), ["prevent", "stop"])
5421
5440
  }, [
5422
5441
  X("div", {
5423
5442
  class: "tab-inner",
5424
5443
  style: G({
5425
- borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(s) ? e.activeTabColor : "transparent"}` : ""
5444
+ borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(r) ? e.activeTabColor : "transparent"}` : ""
5426
5445
  })
5427
- }, he(r.title), 5)
5446
+ }, he(s.title), 5)
5428
5447
  ], 12, Xr))), 128))
5429
5448
  ], 4)
5430
5449
  ], 4);
@@ -5455,13 +5474,13 @@ const ts = /* @__PURE__ */ K(Kr, [["render", es], ["__scopeId", "data-v-3db5a989
5455
5474
  onClick: () => {
5456
5475
  if (!e.linkPage && !e.href)
5457
5476
  return;
5458
- const i = e.linkPage || "", r = In(k(o), i), s = e.href;
5459
- let l = s || r;
5477
+ const i = e.linkPage || "", s = In(A(o), i), r = e.href;
5478
+ let l = r || s;
5460
5479
  l = be(l);
5461
5480
  const d = e.target;
5462
5481
  d == null || d === "" || (d !== "event" ? window.open(l, "_" + d) : window.parent.postMessage({
5463
5482
  type: "openPage",
5464
- url: s
5483
+ url: r
5465
5484
  }, "*"));
5466
5485
  }
5467
5486
  };
@@ -5473,7 +5492,7 @@ function ls(e, n, t, o, a, i) {
5473
5492
  key: 0,
5474
5493
  style: G(e.style),
5475
5494
  src: e.myImgUrl,
5476
- onClick: n[0] || (n[0] = (...r) => e.onClick && e.onClick(...r))
5495
+ onClick: n[0] || (n[0] = (...s) => e.onClick && e.onClick(...s))
5477
5496
  }, null, 12, as)) : (E(), R("div", {
5478
5497
  key: 1,
5479
5498
  class: "image-placeholder",
@@ -5500,7 +5519,7 @@ const is = /* @__PURE__ */ K(os, [["render", ls], ["__scopeId", "data-v-9706b851
5500
5519
  }), o = q(() => {
5501
5520
  let a = be(e.link);
5502
5521
  if (e.linkType === "erd" && a != null) {
5503
- let i = k(t);
5522
+ let i = A(t);
5504
5523
  i[i.length - 1] === "/" ? i += "erdReport" : i += "/erdReport", a = `${Al || i}?_t=0&uid=${a}`;
5505
5524
  }
5506
5525
  return a;
@@ -5625,11 +5644,11 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5625
5644
  default:
5626
5645
  return 55;
5627
5646
  }
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;
5647
+ }), a = q(() => e.scrollX), i = q(() => parseFloat(e.height) - A(o)), s = I([]), r = I([]), l = I([]), d = I([]), c = I(0), m = I(1), g = q(() => e.paginationPageSize), v = Ro([]), f = (M = []) => {
5648
+ if (Array.isArray(M) && M.length > 0) {
5649
+ const D = M.length, V = e.columnsFixedNum;
5631
5650
  for (let J = 0; J < D; J++) {
5632
- const P = L[J];
5651
+ const P = M[J];
5633
5652
  J < V ? P.fixed = "left" : P.fixed = !1;
5634
5653
  const {
5635
5654
  cellAlign: te = "center",
@@ -5640,7 +5659,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5640
5659
  headerCellAlign: Ue,
5641
5660
  headerCellColor: ot
5642
5661
  } = P;
5643
- me && (b.push(fe), P.filterOptionsInputValue = "", P.filterCheckboxGroupValue = [], P.customFilterDropdown = !0, P.onFilter = (qe, ht) => ht[fe].toString().toLowerCase().includes(qe.toLowerCase())), P.customHeaderCell = () => ({
5662
+ me && (v.push(fe), P.filterOptionsInputValue = "", P.filterCheckboxGroupValue = [], P.customFilterDropdown = !0, P.onFilter = (qe, ht) => ht[fe].toString().toLowerCase().includes(qe.toLowerCase())), P.customHeaderCell = () => ({
5644
5663
  style: {
5645
5664
  display: "table-cell",
5646
5665
  verticalAlign: "middle",
@@ -5658,28 +5677,28 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5658
5677
  borderBottomColor: e.borderColor
5659
5678
  },
5660
5679
  class: {
5661
- highlight: k(W) === ht && e.clickHighlight
5680
+ highlight: A(W) === ht && e.clickHighlight
5662
5681
  },
5663
5682
  onClick: S("click", () => {
5664
- const Nt = e.id, Lo = U(Nt);
5683
+ const zt = e.id, Lo = U(zt);
5665
5684
  qe = {
5666
5685
  dataIndex: fe,
5667
5686
  title: ye,
5668
5687
  ...qe
5669
- }, H(Nt, { ...Lo, RECORD: qe });
5688
+ }, H(zt, { ...Lo, RECORD: qe });
5670
5689
  })
5671
5690
  }), Array.isArray(P.children) && f(P.children);
5672
5691
  }
5673
5692
  }
5674
- }, v = (L = []) => (e.isUseSeq && L.unshift({
5693
+ }, b = (M = []) => (e.isUseSeq && M.unshift({
5675
5694
  title: "序号",
5676
5695
  dataIndex: "SEQ",
5677
5696
  align: "center"
5678
- }), e.isUseAction && L.push({
5697
+ }), e.isUseAction && M.push({
5679
5698
  title: "操作",
5680
5699
  dataIndex: "ACTION",
5681
5700
  width: e.actionColumnWidth
5682
- }), f(L), L);
5701
+ }), f(M), M);
5683
5702
  ne(() => [
5684
5703
  e.columns,
5685
5704
  e.isUseSeq,
@@ -5689,20 +5708,20 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5689
5708
  e.cellBackgroundColor,
5690
5709
  e.borderColor
5691
5710
  ], () => {
5692
- r.value = v(bt(e.columns));
5711
+ s.value = b(bt(e.columns));
5693
5712
  }, {
5694
5713
  immediate: !0,
5695
5714
  deep: !0
5696
- }), ne(() => [e.data, e.dataType], ([L, D]) => {
5697
- D === "static" && (s.value = L);
5715
+ }), ne(() => [e.data, e.dataType], ([M, D]) => {
5716
+ D === "static" && (r.value = M);
5698
5717
  }, {
5699
5718
  immediate: !0
5700
5719
  });
5701
- const y = _({}), h = (L) => {
5702
- if (Array.isArray(L)) {
5703
- const D = L.length, V = b, J = V.length, P = {};
5720
+ const y = I({}), h = (M) => {
5721
+ if (Array.isArray(M)) {
5722
+ const D = M.length, V = v, J = V.length, P = {};
5704
5723
  for (let le = 0; le < D; le++) {
5705
- const fe = L[le];
5724
+ const fe = M[le];
5706
5725
  for (let ye = 0; ye < J; ye++) {
5707
5726
  const me = V[ye];
5708
5727
  if (P[me])
@@ -5722,16 +5741,16 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5722
5741
  y.value = te;
5723
5742
  }
5724
5743
  };
5725
- ne(() => [e.isReverse, r.value, s.value], () => {
5726
- const L = k(r), D = k(s);
5744
+ ne(() => [e.isReverse, s.value, r.value], () => {
5745
+ const M = A(s), D = A(r);
5727
5746
  if (h(D), e.isReverse) {
5728
- const { columns: V, dataSource: J } = A(bt(L), bt(D));
5747
+ const { columns: V, dataSource: J } = k(bt(M), bt(D));
5729
5748
  l.value = V, d.value = J;
5730
5749
  } else
5731
- l.value = L, d.value = D;
5750
+ l.value = M, d.value = D;
5732
5751
  });
5733
- const A = (L, D) => {
5734
- const V = L[0], J = [{
5752
+ const k = (M, D) => {
5753
+ const V = M[0], J = [{
5735
5754
  title: V.title,
5736
5755
  dataIndex: "col0",
5737
5756
  key: "col0",
@@ -5747,8 +5766,8 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5747
5766
  });
5748
5767
  }
5749
5768
  const P = [];
5750
- for (let te = 1; te < L.length; te++) {
5751
- const le = L[te], fe = { col0: le.title };
5769
+ for (let te = 1; te < M.length; te++) {
5770
+ const le = M[te], fe = { col0: le.title };
5752
5771
  for (let ye = 0; ye < D.length; ye++) {
5753
5772
  const me = D[ye];
5754
5773
  fe[`col${ye + 1}`] = me[le.dataIndex];
@@ -5759,50 +5778,50 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5759
5778
  columns: J,
5760
5779
  dataSource: P
5761
5780
  };
5762
- }, C = _(""), B = Ae(e), I = _(!1), M = async (L = !0) => {
5781
+ }, x = I(""), B = Ae(e), w = I(!1), L = async (M = !0) => {
5763
5782
  var D;
5764
5783
  try {
5765
- L && (I.value = !0);
5784
+ M && (w.value = !0);
5766
5785
  let V = {};
5767
- k(C) && (V.orderCondition = k(C)), e.paginationShow && (V = {
5768
- pageNum: k(m),
5769
- pageSize: k(g),
5786
+ A(x) && (V.orderCondition = A(x)), e.paginationShow && (V = {
5787
+ pageNum: A(m),
5788
+ pageSize: A(g),
5770
5789
  layer: "1",
5771
5790
  ...V
5772
5791
  });
5773
5792
  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);
5793
+ c.value = te, Array.isArray(P) && (r.value = P);
5775
5794
  } catch (V) {
5776
5795
  console.error(V);
5777
5796
  } finally {
5778
- I.value = !1;
5797
+ w.value = !1;
5779
5798
  }
5780
- }, w = ({ current: L }, D, V) => {
5781
- if (m.value = L, V && Object.keys(V).length > 0) {
5799
+ }, C = ({ current: M }, D, V) => {
5800
+ if (m.value = M, V && Object.keys(V).length > 0) {
5782
5801
  const { field: J, order: P } = V, le = {
5783
5802
  ascend: "asc",
5784
5803
  descend: "desc"
5785
5804
  }[P];
5786
- J != null && le != null && (C.value = J + " " + le, m.value = 1);
5805
+ J != null && le != null && (x.value = J + " " + le, m.value = 1);
5787
5806
  }
5788
5807
  se(!1);
5789
5808
  }, u = q(() => {
5790
- const L = e.simple, D = [e.paginationPosition];
5809
+ const M = e.simple, D = [e.paginationPosition];
5791
5810
  return e.paginationShow && {
5792
- simple: L,
5811
+ simple: M,
5793
5812
  position: D,
5794
- total: k(c),
5795
- current: k(m),
5796
- pageSize: k(g),
5813
+ total: A(c),
5814
+ current: A(m),
5815
+ pageSize: A(g),
5797
5816
  showSizeChanger: !1
5798
5817
  };
5799
- }), p = (L) => +L == 1 ? "是" : +L == 0 ? "否" : L, x = (L, D) => D == null || D === "" ? L : {
5818
+ }), p = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M, T = (M, D) => D == null || D === "" ? M : {
5800
5819
  money: Rt,
5801
5820
  percentage: dt,
5802
5821
  contrast: dt,
5803
5822
  boolean: p
5804
- }[D](L) || "", F = (L, D) => {
5805
- const V = parseFloat(L + "");
5823
+ }[D](M) || "", F = (M, D) => {
5824
+ const V = parseFloat(M + "");
5806
5825
  if (D !== "contrast")
5807
5826
  return "";
5808
5827
  switch (!0) {
@@ -5811,59 +5830,59 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5811
5830
  case V < 0:
5812
5831
  return "goDown";
5813
5832
  }
5814
- }, S = ue(e), { pageMode: T } = $(ce, {
5833
+ }, S = ue(e), { pageMode: _ } = $(ce, {
5815
5834
  pageMode: "normal"
5816
5835
  }), { getGlobalModel: U, setGlobalModel: H } = $(de, {
5817
5836
  // @ts-ignore
5818
5837
  // eslint-disable-next-line no-void
5819
- getGlobalModel: (L) => {
5838
+ getGlobalModel: (M) => {
5820
5839
  },
5821
5840
  // @ts-ignore
5822
5841
  // eslint-disable-next-line no-void
5823
- setGlobalModel: (L, D) => {
5842
+ setGlobalModel: (M, D) => {
5824
5843
  }
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;
5844
+ }), O = (M = [], D = []) => {
5845
+ const V = M.map((J) => ({ title: J, dataIndex: J, key: J }));
5846
+ s.value = b(V), r.value = D;
5847
+ }, N = Mn(e), z = async () => {
5848
+ var M, D, V, J;
5830
5849
  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);
5850
+ w.value = !0;
5851
+ const P = await N();
5852
+ 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
5853
  } catch (P) {
5835
5854
  console.error(P);
5836
5855
  } finally {
5837
- I.value = !1;
5856
+ w.value = !1;
5838
5857
  }
5839
- }, W = _(-1), ee = (L, D) => ({
5858
+ }, W = I(-1), ee = (M, D) => ({
5840
5859
  onClick: S("rowClick", () => {
5841
5860
  const V = e.id, J = U(V);
5842
- H(V, { ...J, RECORD: L }), W.value = D;
5861
+ H(V, { ...J, RECORD: M }), W.value = D;
5843
5862
  })
5844
- }), se = (L = !0) => {
5845
- if (k(T) !== "design")
5863
+ }), se = (M = !0) => {
5864
+ if (A(_) !== "design")
5846
5865
  switch (e.dataType) {
5847
5866
  case "request":
5848
- M(L);
5867
+ L(M);
5849
5868
  break;
5850
5869
  case "indicator":
5851
- N();
5870
+ z();
5852
5871
  break;
5853
5872
  }
5854
5873
  };
5855
5874
  ge(e, {
5856
5875
  resetRecord: () => {
5857
- const L = e.id, D = U(L);
5858
- H(L, { ...D, RECORD: "" });
5876
+ const M = e.id, D = U(M);
5877
+ H(M, { ...D, RECORD: "" });
5859
5878
  },
5860
5879
  refreshData: se
5861
5880
  });
5862
5881
  const To = q(() => {
5863
- const L = k(l), D = [];
5882
+ const M = A(l), D = [];
5864
5883
  let V = 0;
5865
- for (let P = 0; P < L.length; P++) {
5866
- const te = L[P], { isCalcTotal: le } = te;
5884
+ for (let P = 0; P < M.length; P++) {
5885
+ const te = M[P], { isCalcTotal: le } = te;
5867
5886
  e.isUseSeq && P === 0 ? D.push({
5868
5887
  ...te,
5869
5888
  total: "小计"
@@ -5877,9 +5896,9 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5877
5896
  }
5878
5897
  if (V === 0)
5879
5898
  return [];
5880
- let J = k(d);
5899
+ let J = A(d);
5881
5900
  if (e.paginationShow) {
5882
- const P = (k(m) - 1) * k(g), te = P + k(g);
5901
+ const P = (A(m) - 1) * A(g), te = P + A(g);
5883
5902
  J = J.slice(P, te);
5884
5903
  }
5885
5904
  for (let P = 0; P < D.length; P++) {
@@ -5898,7 +5917,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5898
5917
  }), { setRequest: _o } = $(Ce, {
5899
5918
  // @ts-ignore
5900
5919
  // eslint-disable-next-line no-void
5901
- setRequest: ({ id: L, sortNum: D, requestFn: V }) => {
5920
+ setRequest: ({ id: M, sortNum: D, requestFn: V }) => {
5902
5921
  }
5903
5922
  });
5904
5923
  return _o({
@@ -5913,42 +5932,42 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-b0be60e8
5913
5932
  style: t,
5914
5933
  customRow: ee,
5915
5934
  pagination: u,
5916
- formatFn: x,
5935
+ formatFn: T,
5917
5936
  contrastClass: F,
5918
- tableChange: w,
5937
+ tableChange: C,
5919
5938
  summaryList: To,
5920
- loading: I,
5921
- onTouchHrefEvent: (L, D = "") => {
5922
- L === "event" && window.parent.postMessage({
5939
+ loading: w,
5940
+ onTouchHrefEvent: (M, D = "") => {
5941
+ M === "event" && window.parent.postMessage({
5923
5942
  type: "openPage",
5924
5943
  url: D
5925
5944
  }, "*");
5926
5945
  },
5927
- handleHref: (L = "", D) => be(L, D),
5928
- handleHrefTarget: (L) => {
5929
- if (L !== "event")
5946
+ handleHref: (M = "", D) => be(M, D),
5947
+ handleHrefTarget: (M) => {
5948
+ if (M !== "event")
5930
5949
  return {
5931
5950
  self: "_self",
5932
5951
  blank: "_blank"
5933
- }[L];
5952
+ }[M];
5934
5953
  },
5935
5954
  useRowIndex: W,
5936
5955
  tableColumns: l,
5937
5956
  tableDataSource: d,
5938
- useFilterOptions: (L) => {
5939
- const D = L.dataIndex;
5957
+ useFilterOptions: (M) => {
5958
+ const D = M.dataIndex;
5940
5959
  if (typeof D == "string") {
5941
- let V = k(y)[D];
5942
- const J = k(L.filterOptionsInputValue).trim();
5960
+ let V = A(y)[D];
5961
+ const J = A(M.filterOptionsInputValue).trim();
5943
5962
  return Array.isArray(V) ? (V = V.filter((P) => typeof P.label == "string" ? P.label.toLowerCase().includes(J.toLowerCase()) : !0), V) : [];
5944
5963
  }
5945
5964
  return [];
5946
5965
  },
5947
- useSetSelectedKeys: (L, D) => {
5948
- L(D.filterCheckboxGroupValue);
5966
+ useSetSelectedKeys: (M, D) => {
5967
+ M(D.filterCheckboxGroupValue);
5949
5968
  },
5950
- onResetFilter: (L, D) => {
5951
- L({ confirm: !0 }), D.filterOptionsInputValue = "", D.filterCheckboxGroupValue = [];
5969
+ onResetFilter: (M, D) => {
5970
+ M({ confirm: !0 }), D.filterOptionsInputValue = "", D.filterCheckboxGroupValue = [];
5952
5971
  },
5953
5972
  onSearchFilterOptions: () => {
5954
5973
  }
@@ -5960,12 +5979,12 @@ const hs = /* @__PURE__ */ dn(" 搜索 "), ys = /* @__PURE__ */ dn(" 重置 "),
5960
5979
  class: "action-list"
5961
5980
  }, ps = ["href", "target", "onClick"];
5962
5981
  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");
5982
+ 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"), v = Z("skeleton");
5964
5983
  return E(), R("div", {
5965
5984
  class: "ecan-table",
5966
5985
  style: G(e.style)
5967
5986
  }, [
5968
- j(b, { loading: e.loading }, {
5987
+ j(v, { loading: e.loading }, {
5969
5988
  default: Y(() => [
5970
5989
  j(g, {
5971
5990
  class: "table",
@@ -5981,26 +6000,26 @@ function Cs(e, n, t, o, a, i) {
5981
6000
  pagination: e.pagination,
5982
6001
  onChange: e.tableChange
5983
6002
  }, {
5984
- customFilterDropdown: Y(({ column: f, selectedKeys: v, setSelectedKeys: y, confirm: h, clearFilters: A }) => [
6003
+ customFilterDropdown: Y(({ column: f, selectedKeys: b, setSelectedKeys: y, confirm: h, clearFilters: k }) => [
5985
6004
  X("div", {
5986
6005
  class: "ecan-table-filter",
5987
6006
  style: G({
5988
6007
  height: e.filterDropdownHeight
5989
6008
  })
5990
6009
  }, [
5991
- j(r, {
6010
+ j(s, {
5992
6011
  value: f.filterOptionsInputValue,
5993
- "onUpdate:value": (C) => f.filterOptionsInputValue = C,
6012
+ "onUpdate:value": (x) => f.filterOptionsInputValue = x,
5994
6013
  placeholder: "请输入关键字",
5995
6014
  class: "filter-input",
5996
6015
  onChange: e.onSearchFilterOptions
5997
6016
  }, null, 8, ["value", "onUpdate:value", "onChange"]),
5998
- j(s, {
6017
+ j(r, {
5999
6018
  value: f.filterCheckboxGroupValue,
6000
- "onUpdate:value": (C) => f.filterCheckboxGroupValue = C,
6019
+ "onUpdate:value": (x) => f.filterCheckboxGroupValue = x,
6001
6020
  class: "filter-checkbox",
6002
6021
  options: e.useFilterOptions(f),
6003
- onChange: (C) => e.useSetSelectedKeys(y, f)
6022
+ onChange: (x) => e.useSetSelectedKeys(y, f)
6004
6023
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
6005
6024
  X("div", null, [
6006
6025
  j(l, {
@@ -6017,7 +6036,7 @@ function Cs(e, n, t, o, a, i) {
6017
6036
  j(l, {
6018
6037
  size: "small",
6019
6038
  style: { width: "90px" },
6020
- onClick: (C) => e.onResetFilter(A, f)
6039
+ onClick: (x) => e.onResetFilter(k, f)
6021
6040
  }, {
6022
6041
  default: Y(() => [
6023
6042
  ys
@@ -6027,23 +6046,23 @@ function Cs(e, n, t, o, a, i) {
6027
6046
  ])
6028
6047
  ], 4)
6029
6048
  ]),
6030
- bodyCell: Y(({ column: f, index: v, text: y, record: h }) => [
6031
- f.dataIndex === "SEQ" ? (E(), R("span", bs, he(v + 1), 1)) : pe("", !0),
6049
+ bodyCell: Y(({ column: f, index: b, text: y, record: h }) => [
6050
+ f.dataIndex === "SEQ" ? (E(), R("span", bs, he(b + 1), 1)) : pe("", !0),
6032
6051
  f.dataIndex === "ACTION" ? (E(), R("div", vs, [
6033
- (E(!0), R(Le, null, Ie(e.actionList, (A, C) => (E(), R("div", {
6052
+ (E(!0), R(Le, null, Ie(e.actionList, (k, x) => (E(), R("div", {
6034
6053
  class: "action",
6035
- key: C
6054
+ key: x
6036
6055
  }, [
6037
6056
  X("a", {
6038
- href: e.handleHref(A.href, h),
6039
- target: e.handleHrefTarget(A.target),
6057
+ href: e.handleHref(k.href, h),
6058
+ target: e.handleHrefTarget(k.target),
6040
6059
  style: G({
6041
- color: A.color,
6060
+ color: k.color,
6042
6061
  fontSize: e.fontSize,
6043
6062
  fontWeight: e.fontWeight
6044
6063
  }),
6045
- onClick: (B) => e.onTouchHrefEvent(A.target, e.handleHref(A.href, h))
6046
- }, he(A.title), 13, ps)
6064
+ onClick: (B) => e.onTouchHrefEvent(k.target, e.handleHref(k.href, h))
6065
+ }, he(k.title), 13, ps)
6047
6066
  ]))), 128))
6048
6067
  ])) : (E(), R("div", {
6049
6068
  key: 2,
@@ -6059,9 +6078,9 @@ function Cs(e, n, t, o, a, i) {
6059
6078
  default: Y(() => [
6060
6079
  j(c, null, {
6061
6080
  default: Y(() => [
6062
- (E(!0), R(Le, null, Ie(e.summaryList, (f, v) => (E(), Oe(d, {
6063
- key: v,
6064
- index: v,
6081
+ (E(!0), R(Le, null, Ie(e.summaryList, (f, b) => (E(), Oe(d, {
6082
+ key: b,
6083
+ index: b,
6065
6084
  style: G({
6066
6085
  backgroundColor: e.cellBackgroundColor,
6067
6086
  textAlign: f.cellAlign || "center",
@@ -6147,19 +6166,19 @@ $e([
6147
6166
  const ks = Q({
6148
6167
  name: "EcanMap",
6149
6168
  components: {
6150
- Echarts: Ne
6169
+ Echarts: ze
6151
6170
  },
6152
6171
  props: {
6153
6172
  ...xo
6154
6173
  },
6155
6174
  setup(e) {
6156
- const n = ie(e, ["backgroundImage"]), t = _(), o = q(() => Re(e.geoBackgroundImage)), a = q(() => Re(e.backgroundImage)), i = q(() => e.geoBackgroundImage ? {
6157
- image: k(t),
6175
+ const n = ie(e, ["backgroundImage"]), t = I(), o = q(() => Re(e.geoBackgroundImage)), a = q(() => Re(e.backgroundImage)), i = q(() => e.geoBackgroundImage ? {
6176
+ image: A(t),
6158
6177
  repeat: e.geoBackgroundImageRepeat
6159
- } : e.geoItemStyleAreaColor), r = q(() => {
6178
+ } : e.geoItemStyleAreaColor), s = q(() => {
6160
6179
  const c = e.symbolImage;
6161
6180
  return e.symbolImage ? "image://" + Re(c) : "circle";
6162
- }), s = q(() => {
6181
+ }), r = q(() => {
6163
6182
  const c = e.geoCenter;
6164
6183
  let m;
6165
6184
  return typeof c == "string" && c !== "" && (m = c.split(",")), {
@@ -6174,7 +6193,7 @@ const ks = Q({
6174
6193
  style: {
6175
6194
  width: parseFloat(e.width),
6176
6195
  height: parseFloat(e.height),
6177
- image: k(a)
6196
+ image: A(a)
6178
6197
  },
6179
6198
  top: "center"
6180
6199
  }
@@ -6195,7 +6214,7 @@ const ks = Q({
6195
6214
  },
6196
6215
  itemStyle: {
6197
6216
  // 地图上板块属性
6198
- areaColor: k(i),
6217
+ areaColor: A(i),
6199
6218
  borderColor: e.geoItemStyleBorderColor,
6200
6219
  borderWidth: e.geoItemStyleBorderWidth,
6201
6220
  shadowColor: e.geoItemStyleShadowColor,
@@ -6222,7 +6241,7 @@ const ks = Q({
6222
6241
  itemStyle: {
6223
6242
  color: e.itemStyleColor
6224
6243
  },
6225
- symbol: k(r),
6244
+ symbol: A(s),
6226
6245
  symbolSize: [e.symbolWidth, e.symbolHeight],
6227
6246
  label: {
6228
6247
  show: e.labelShow,
@@ -6241,7 +6260,7 @@ const ks = Q({
6241
6260
  }
6242
6261
  ]
6243
6262
  };
6244
- }), l = _(!1), d = async () => {
6263
+ }), l = I(!1), d = async () => {
6245
6264
  var m;
6246
6265
  const c = e.mapJson;
6247
6266
  if (c != null && c.path) {
@@ -6256,7 +6275,7 @@ const ks = Q({
6256
6275
  immediate: !0,
6257
6276
  deep: !0
6258
6277
  }), {
6259
- option: s,
6278
+ option: r,
6260
6279
  style: n,
6261
6280
  isLoadedData: l,
6262
6281
  geoBackgroundImageRef: t,
@@ -6266,12 +6285,12 @@ const ks = Q({
6266
6285
  });
6267
6286
  const As = ["src"];
6268
6287
  function xs(e, n, t, o, a, i) {
6269
- const r = Z("echarts");
6288
+ const s = Z("echarts");
6270
6289
  return E(), R("div", {
6271
6290
  class: "ecan-map",
6272
6291
  style: G(e.style)
6273
6292
  }, [
6274
- e.isLoadedData ? (E(), Oe(r, {
6293
+ e.isLoadedData ? (E(), Oe(s, {
6275
6294
  key: 0,
6276
6295
  option: e.option,
6277
6296
  "update-options": { notMerge: !0 },
@@ -6281,7 +6300,7 @@ function xs(e, n, t, o, a, i) {
6281
6300
  ref: "geoBackgroundImageRef",
6282
6301
  src: e.myGeoBackgroundImage
6283
6302
  }, null, 8, As), [
6284
- [No, !1]
6303
+ [zo, !1]
6285
6304
  ])
6286
6305
  ], 4);
6287
6306
  }
@@ -6304,7 +6323,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6304
6323
  EcanPageConfig: Ol,
6305
6324
  EcanPie: Xi,
6306
6325
  EcanProportion: vi,
6307
- EcanProviderConfig: zl,
6326
+ EcanProviderConfig: Nl,
6308
6327
  EcanRangePicker: $i,
6309
6328
  EcanScatter: gr,
6310
6329
  EcanScrollText: Yl,
@@ -6345,7 +6364,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6345
6364
  lineProps: to,
6346
6365
  listComponentProps: $n,
6347
6366
  listEvents: ti,
6348
- listProps: zn,
6367
+ listProps: Nn,
6349
6368
  mapComponentProps: xo,
6350
6369
  mapProps: Ao,
6351
6370
  modalComponentProps: ho,
@@ -6379,7 +6398,7 @@ const Ts = /* @__PURE__ */ K(ks, [["render", xs], ["__scopeId", "data-v-1eea2b3c
6379
6398
  textComponentProps: Rn,
6380
6399
  textEvents: $l,
6381
6400
  textProps: Fn,
6382
- timeDisplayComponentProps: Nn,
6401
+ timeDisplayComponentProps: zn,
6383
6402
  timeDisplayProps: Dn
6384
6403
  }, Symbol.toStringTag, { value: "Module" })), Ls = (e) => {
6385
6404
  Object.keys(tn).forEach((n) => {
@@ -6407,7 +6426,7 @@ export {
6407
6426
  Ol as EcanPageConfig,
6408
6427
  Xi as EcanPie,
6409
6428
  vi as EcanProportion,
6410
- zl as EcanProviderConfig,
6429
+ Nl as EcanProviderConfig,
6411
6430
  $i as EcanRangePicker,
6412
6431
  gr as EcanScatter,
6413
6432
  Yl as EcanScrollText,
@@ -6449,7 +6468,7 @@ export {
6449
6468
  to as lineProps,
6450
6469
  $n as listComponentProps,
6451
6470
  ti as listEvents,
6452
- zn as listProps,
6471
+ Nn as listProps,
6453
6472
  xo as mapComponentProps,
6454
6473
  Ao as mapProps,
6455
6474
  ho as modalComponentProps,
@@ -6483,7 +6502,7 @@ export {
6483
6502
  Rn as textComponentProps,
6484
6503
  $l as textEvents,
6485
6504
  Fn as textProps,
6486
- Nn as timeDisplayComponentProps,
6505
+ zn as timeDisplayComponentProps,
6487
6506
  Dn as timeDisplayProps
6488
6507
  };
6489
6508
  //# sourceMappingURL=index.es.js.map