@ecan-bi/datav 1.1.68 → 1.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
- /*! @ecan-bi/datav@1.1.68 */
2
- import { watch as ne, inject as P, computed as W, unref as v, watchEffect as uo, defineComponent as Q, shallowRef as pt, toRefs as On, onMounted as Ue, onUnmounted as mt, h as dt, nextTick as gt, createVNode as j, resolveComponent as H, openBlock as D, createElementBlock as F, createBlock as Re, renderSlot as ht, withCtx as Y, ref as M, normalizeStyle as U, createCommentVNode as ve, provide as ze, onBeforeUnmount as Lt, toDisplayString as be, Fragment as Me, renderList as De, createElementVNode as ee, normalizeClass as It, pushScopeId as fo, popScopeId as mo, createSlots as Rn, resolveDynamicComponent as Fn, mergeProps as zn, withModifiers as go, reactive as $n, createTextVNode as Ot, withDirectives as Nn, vShow as Pn } from "vue";
1
+ /*! @ecan-bi/datav@1.1.70 */
2
+ import { watch as ne, inject as N, computed as q, unref as v, watchEffect as uo, defineComponent as Q, shallowRef as vt, toRefs as On, onMounted as Ue, onUnmounted as ft, h as dt, nextTick as mt, createVNode as G, resolveComponent as H, openBlock as D, createElementBlock as $, createBlock as Re, renderSlot as gt, withCtx as Y, ref as M, normalizeStyle as U, createCommentVNode as ve, provide as ze, onBeforeUnmount as Tt, toDisplayString as be, Fragment as Me, renderList as De, createElementVNode as ee, normalizeClass as Lt, pushScopeId as fo, popScopeId as mo, createSlots as Rn, resolveDynamicComponent as Fn, mergeProps as zn, withModifiers as go, reactive as $n, createTextVNode as Ot, withDirectives as Nn, vShow as Pn } from "vue";
3
3
  import { throttle as Bn, init as Un, use as qe, registerMap as Gn } from "echarts/core";
4
4
  import { addListener as qn, removeListener as jn } from "resize-detector";
5
5
  import { Spin as Wn, Skeleton as Vn, message as Be, Progress as Hn, Input as ho, DatePicker as Zn, Select as Jn, RangePicker as Yn, Button as yo, CheckboxGroup as bo, Modal as Ae, Table as Qn, TableSummary as Kn, TableSummaryRow as Xn, TableSummaryCell as ea } from "ant-design-vue";
6
6
  import "ant-design-vue/es/spin/style";
7
7
  import "ant-design-vue/es/skeleton/style";
8
- import { without as ta, pick as vo, debounce as Rt, cloneDeep as Ct } from "lodash-es";
8
+ import { without as ta, pick as vo, debounce as Rt, cloneDeep as pt } from "lodash-es";
9
9
  import po from "axios";
10
10
  import Ce from "dayjs";
11
11
  import oa from "mitt";
@@ -59,8 +59,8 @@ function ua(e, o) {
59
59
  }
60
60
  function fa(e, o, t) {
61
61
  let n = null;
62
- ne([t, e, o], ([a, l, i], r, s) => {
63
- a && l && i && (n = Bn(() => {
62
+ ne([t, e, o], ([a, l, r], i, s) => {
63
+ a && l && r && (n = Bn(() => {
64
64
  l.resize();
65
65
  }, 100), qn(a, n)), s(() => {
66
66
  n && a && jn(a, n);
@@ -71,7 +71,7 @@ const ma = {
71
71
  autoresize: Boolean
72
72
  }, ga = "ecLoadingOptions";
73
73
  function ha(e, o, t) {
74
- const n = P(ga, {}), a = W(() => ({
74
+ const n = N(ga, {}), a = q(() => ({
75
75
  ...v(n),
76
76
  ...t == null ? void 0 : t.value
77
77
  }));
@@ -108,34 +108,34 @@ const Ca = "x-vue-echarts", Sa = "ecTheme", wa = "ecInitOptions", xa = "ecUpdate
108
108
  inheritAttrs: !1,
109
109
  // @ts-expect-error listeners for Vue 2 compatibility
110
110
  setup(e, { attrs: o, listeners: t }) {
111
- const n = pt(), a = pt(), l = pt(), i = P(Sa, null), r = P(
111
+ const n = vt(), a = vt(), l = vt(), r = N(Sa, null), i = N(
112
112
  wa,
113
113
  null
114
- ), s = P(
114
+ ), s = N(
115
115
  xa,
116
116
  null
117
- ), { autoresize: f, manualUpdate: y, loading: S, loadingOptions: C } = On(e), d = W(
117
+ ), { autoresize: f, manualUpdate: b, loading: x, loadingOptions: w } = On(e), d = q(
118
118
  () => l.value || e.option || /* @__PURE__ */ Object.create(null)
119
- ), u = W(() => e.theme || v(i) || {}), m = W(
120
- () => e.initOptions || v(r) || {}
121
- ), h = W(
119
+ ), u = q(() => e.theme || v(r) || {}), h = q(
120
+ () => e.initOptions || v(i) || {}
121
+ ), g = q(
122
122
  () => e.updateOptions || v(s) || {}
123
- ), b = W(() => pa(o));
124
- function w(x) {
123
+ ), y = q(() => pa(o));
124
+ function p(S) {
125
125
  if (a.value || !n.value)
126
126
  return;
127
127
  const c = a.value = Un(
128
128
  n.value,
129
129
  u.value,
130
- m.value
130
+ h.value
131
131
  );
132
132
  e.group && (c.group = e.group);
133
- let g = t;
134
- g || (g = {}, Object.keys(o).filter((E) => E.indexOf("on") === 0 && E.length > 2).forEach((E) => {
133
+ let m = t;
134
+ m || (m = {}, Object.keys(o).filter((E) => E.indexOf("on") === 0 && E.length > 2).forEach((E) => {
135
135
  const T = E.charAt(2).toLowerCase() + E.slice(3);
136
- g[T] = o[E];
137
- })), Object.keys(g).forEach((E) => {
138
- const T = g[E];
136
+ m[T] = o[E];
137
+ })), Object.keys(m).forEach((E) => {
138
+ const T = m[E];
139
139
  T && (E.indexOf("zr:") === 0 ? c.getZr().on(E.slice(3).toLowerCase(), T) : c.on(E.toLowerCase(), T));
140
140
  });
141
141
  function k() {
@@ -149,26 +149,26 @@ const Ca = "x-vue-echarts", Sa = "ecTheme", wa = "ecInitOptions", xa = "ecUpdate
149
149
  }
150
150
  }
151
151
  function R() {
152
- c.setOption(x || d.value, h.value);
152
+ c.setOption(S || d.value, g.value);
153
153
  }
154
- f.value ? gt(() => {
154
+ f.value ? mt(() => {
155
155
  k(), R();
156
156
  }) : R();
157
157
  }
158
- function A(x, c) {
159
- e.manualUpdate && (l.value = x), a.value ? a.value.setOption(x, c || {}) : w(x);
158
+ function _(S, c) {
159
+ e.manualUpdate && (l.value = S), a.value ? a.value.setOption(S, c || {}) : p(S);
160
160
  }
161
- function L() {
161
+ function I() {
162
162
  a.value && (a.value.dispose(), a.value = void 0);
163
163
  }
164
- let p = null;
164
+ let C = null;
165
165
  ne(
166
- y,
167
- (x) => {
168
- typeof p == "function" && (p(), p = null), x || (p = ne(
166
+ b,
167
+ (S) => {
168
+ typeof C == "function" && (C(), C = null), S || (C = ne(
169
169
  () => e.option,
170
170
  (c) => {
171
- c && (a.value ? a.value.setOption(c, h.value) : w());
171
+ c && (a.value ? a.value.setOption(c, g.value) : p());
172
172
  },
173
173
  { deep: !0 }
174
174
  ));
@@ -177,9 +177,9 @@ const Ca = "x-vue-echarts", Sa = "ecTheme", wa = "ecInitOptions", xa = "ecUpdate
177
177
  immediate: !0
178
178
  }
179
179
  ), ne(
180
- [u, m],
180
+ [u, h],
181
181
  () => {
182
- L(), w();
182
+ I(), p();
183
183
  },
184
184
  {
185
185
  deep: !0
@@ -187,15 +187,15 @@ const Ca = "x-vue-echarts", Sa = "ecTheme", wa = "ecInitOptions", xa = "ecUpdate
187
187
  ), uo(() => {
188
188
  e.group && a.value && (a.value.group = e.group);
189
189
  });
190
- const _ = ua(a, w);
191
- return ha(a, S, C), fa(a, f, n), Ue(() => {
192
- e.option && w();
193
- }), mt(L), {
190
+ const A = ua(a, p);
191
+ return ha(a, x, w), fa(a, f, n), Ue(() => {
192
+ e.option && p();
193
+ }), ft(I), {
194
194
  chart: a,
195
195
  root: n,
196
- setOption: A,
197
- nonEventAttrs: b,
198
- ..._
196
+ setOption: _,
197
+ nonEventAttrs: y,
198
+ ...A
199
199
  };
200
200
  },
201
201
  render() {
@@ -220,7 +220,7 @@ function _a(e) {
220
220
  function it(e) {
221
221
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
222
222
  }
223
- function St(e) {
223
+ function Ct(e) {
224
224
  return e.length === 1 ? "0" + e : String(e);
225
225
  }
226
226
  function Ta(e, o, t) {
@@ -230,7 +230,7 @@ function Ta(e, o, t) {
230
230
  b: xe(t, 255) * 255
231
231
  };
232
232
  }
233
- function wt(e, o, t) {
233
+ function St(e, o, t) {
234
234
  return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (o - e) * (6 * t) : t < 1 / 2 ? o : t < 2 / 3 ? e + (o - e) * (2 / 3 - t) * 6 : e;
235
235
  }
236
236
  function La(e, o, t) {
@@ -238,42 +238,42 @@ function La(e, o, t) {
238
238
  if (e = xe(e, 360), o = xe(o, 100), t = xe(t, 100), o === 0)
239
239
  a = t, l = t, n = t;
240
240
  else {
241
- var i = t < 0.5 ? t * (1 + o) : t + o - t * o, r = 2 * t - i;
242
- n = wt(r, i, e + 1 / 3), a = wt(r, i, e), l = wt(r, i, e - 1 / 3);
241
+ var r = t < 0.5 ? t * (1 + o) : t + o - t * o, i = 2 * t - r;
242
+ n = St(i, r, e + 1 / 3), a = St(i, r, e), l = St(i, r, e - 1 / 3);
243
243
  }
244
244
  return { r: n * 255, g: a * 255, b: l * 255 };
245
245
  }
246
246
  function Ia(e, o, t) {
247
247
  e = xe(e, 255), o = xe(o, 255), t = xe(t, 255);
248
- var n = Math.max(e, o, t), a = Math.min(e, o, t), l = 0, i = n, r = n - a, s = n === 0 ? 0 : r / n;
248
+ var n = Math.max(e, o, t), a = Math.min(e, o, t), l = 0, r = n, i = n - a, s = n === 0 ? 0 : i / n;
249
249
  if (n === a)
250
250
  l = 0;
251
251
  else {
252
252
  switch (n) {
253
253
  case e:
254
- l = (o - t) / r + (o < t ? 6 : 0);
254
+ l = (o - t) / i + (o < t ? 6 : 0);
255
255
  break;
256
256
  case o:
257
- l = (t - e) / r + 2;
257
+ l = (t - e) / i + 2;
258
258
  break;
259
259
  case t:
260
- l = (e - o) / r + 4;
260
+ l = (e - o) / i + 4;
261
261
  break;
262
262
  }
263
263
  l /= 6;
264
264
  }
265
- return { h: l, s, v: i };
265
+ return { h: l, s, v: r };
266
266
  }
267
267
  function Ma(e, o, t) {
268
268
  e = xe(e, 360) * 6, o = xe(o, 100), t = xe(t, 100);
269
- var n = Math.floor(e), a = e - n, l = t * (1 - o), i = t * (1 - a * o), r = t * (1 - (1 - a) * o), s = n % 6, f = [t, i, l, l, r, t][s], y = [r, t, t, i, l, l][s], S = [l, l, r, t, t, i][s];
270
- return { r: f * 255, g: y * 255, b: S * 255 };
269
+ var n = Math.floor(e), a = e - n, l = t * (1 - o), r = t * (1 - a * o), i = t * (1 - (1 - a) * o), s = n % 6, f = [t, r, l, l, i, t][s], b = [i, t, t, r, l, l][s], x = [l, l, i, t, t, r][s];
270
+ return { r: f * 255, g: b * 255, b: x * 255 };
271
271
  }
272
272
  function Ea(e, o, t, n) {
273
273
  var a = [
274
- St(Math.round(e).toString(16)),
275
- St(Math.round(o).toString(16)),
276
- St(Math.round(t).toString(16))
274
+ Ct(Math.round(e).toString(16)),
275
+ Ct(Math.round(o).toString(16)),
276
+ Ct(Math.round(t).toString(16))
277
277
  ];
278
278
  return n && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
279
279
  }
@@ -434,24 +434,24 @@ var qt = {
434
434
  yellowgreen: "#9acd32"
435
435
  };
436
436
  function He(e) {
437
- var o = { r: 0, g: 0, b: 0 }, t = 1, n = null, a = null, l = null, i = !1, r = !1;
438
- return typeof e == "string" && (e = Ra(e)), typeof e == "object" && (Ie(e.r) && Ie(e.g) && Ie(e.b) ? (o = Ta(e.r, e.g, e.b), i = !0, r = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ie(e.h) && Ie(e.s) && Ie(e.v) ? (n = it(e.s), a = it(e.v), o = Ma(e.h, n, a), i = !0, r = "hsv") : Ie(e.h) && Ie(e.s) && Ie(e.l) && (n = it(e.s), l = it(e.l), o = La(e.h, n, l), i = !0, r = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = _a(t), {
439
- ok: i,
440
- format: e.format || r,
437
+ var o = { r: 0, g: 0, b: 0 }, t = 1, n = null, a = null, l = null, r = !1, i = !1;
438
+ return typeof e == "string" && (e = Ra(e)), typeof e == "object" && (Ie(e.r) && Ie(e.g) && Ie(e.b) ? (o = Ta(e.r, e.g, e.b), r = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ie(e.h) && Ie(e.s) && Ie(e.v) ? (n = it(e.s), a = it(e.v), o = Ma(e.h, n, a), r = !0, i = "hsv") : Ie(e.h) && Ie(e.s) && Ie(e.l) && (n = it(e.s), l = it(e.l), o = La(e.h, n, l), r = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = _a(t), {
439
+ ok: r,
440
+ format: e.format || i,
441
441
  r: Math.min(255, Math.max(o.r, 0)),
442
442
  g: Math.min(255, Math.max(o.g, 0)),
443
443
  b: Math.min(255, Math.max(o.b, 0)),
444
444
  a: t
445
445
  };
446
446
  }
447
- var Da = "[-\\+]?\\d+%?", Oa = "[-\\+]?\\d*\\.\\d+%?", Oe = "(?:".concat(Oa, ")|(?:").concat(Da, ")"), xt = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), kt = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), ke = {
447
+ var Da = "[-\\+]?\\d+%?", Oa = "[-\\+]?\\d*\\.\\d+%?", Oe = "(?:".concat(Oa, ")|(?:").concat(Da, ")"), wt = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), xt = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), ke = {
448
448
  CSS_UNIT: new RegExp(Oe),
449
- rgb: new RegExp("rgb" + xt),
450
- rgba: new RegExp("rgba" + kt),
451
- hsl: new RegExp("hsl" + xt),
452
- hsla: new RegExp("hsla" + kt),
453
- hsv: new RegExp("hsv" + xt),
454
- hsva: new RegExp("hsva" + kt),
449
+ rgb: new RegExp("rgb" + wt),
450
+ rgba: new RegExp("rgba" + xt),
451
+ hsl: new RegExp("hsl" + wt),
452
+ hsla: new RegExp("hsla" + xt),
453
+ hsv: new RegExp("hsv" + wt),
454
+ hsva: new RegExp("hsva" + xt),
455
455
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
456
456
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
457
457
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -558,30 +558,30 @@ function Zt(e, o, t) {
558
558
  var n;
559
559
  return t ? n = e.v + za * o : n = e.v - $a * o, n > 1 && (n = 1), Number(n.toFixed(2));
560
560
  }
561
- function Mt(e) {
561
+ function It(e) {
562
562
  for (var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], n = He(e), a = Ao; a > 0; a -= 1) {
563
- var l = Wt(n), i = st(He({
563
+ var l = Wt(n), r = st(He({
564
564
  h: Vt(l, a, !0),
565
565
  s: Ht(l, a, !0),
566
566
  v: Zt(l, a, !0)
567
567
  }));
568
- t.push(i);
568
+ t.push(r);
569
569
  }
570
570
  t.push(st(n));
571
- for (var r = 1; r <= _o; r += 1) {
571
+ for (var i = 1; i <= _o; i += 1) {
572
572
  var s = Wt(n), f = st(He({
573
- h: Vt(s, r),
574
- s: Ht(s, r),
575
- v: Zt(s, r)
573
+ h: Vt(s, i),
574
+ s: Ht(s, i),
575
+ v: Zt(s, i)
576
576
  }));
577
577
  t.push(f);
578
578
  }
579
- return o.theme === "dark" ? Na.map(function(y) {
580
- var S = y.index, C = y.opacity, d = st(Pa(He(o.backgroundColor || "#141414"), He(t[S]), C * 100));
579
+ return o.theme === "dark" ? Na.map(function(b) {
580
+ var x = b.index, w = b.opacity, d = st(Pa(He(o.backgroundColor || "#141414"), He(t[x]), w * 100));
581
581
  return d;
582
582
  }) : t;
583
583
  }
584
- var At = {
584
+ var kt = {
585
585
  red: "#F5222D",
586
586
  volcano: "#FA541C",
587
587
  orange: "#FA8C16",
@@ -595,12 +595,12 @@ var At = {
595
595
  purple: "#722ED1",
596
596
  magenta: "#EB2F96",
597
597
  grey: "#666666"
598
- }, _t = {}, Tt = {};
599
- Object.keys(At).forEach(function(e) {
600
- _t[e] = Mt(At[e]), _t[e].primary = _t[e][5], Tt[e] = Mt(At[e], {
598
+ }, At = {}, _t = {};
599
+ Object.keys(kt).forEach(function(e) {
600
+ At[e] = It(kt[e]), At[e].primary = At[e][5], _t[e] = It(kt[e], {
601
601
  theme: "dark",
602
602
  backgroundColor: "#141414"
603
- }), Tt[e].primary = Tt[e][5];
603
+ }), _t[e].primary = _t[e][5];
604
604
  });
605
605
  var Jt = [], Ze = [], Ba = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
606
606
  function Ua() {
@@ -638,19 +638,19 @@ function Wa(e, o) {
638
638
  function Qt(e) {
639
639
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
640
640
  }
641
- function Et(e, o, t) {
641
+ function Mt(e, o, t) {
642
642
  return t ? dt(e.tag, Yt({
643
643
  key: o
644
644
  }, t, e.attrs), (e.children || []).map(function(n, a) {
645
- return Et(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
645
+ return Mt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
646
646
  })) : dt(e.tag, Yt({
647
647
  key: o
648
648
  }, e.attrs), (e.children || []).map(function(n, a) {
649
- return Et(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
649
+ return Mt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
650
650
  }));
651
651
  }
652
652
  function To(e) {
653
- return Mt(e)[0];
653
+ return It(e)[0];
654
654
  }
655
655
  function Lo(e) {
656
656
  return e ? Array.isArray(e) ? e : [e] : [];
@@ -711,7 +711,7 @@ var Va = `
711
711
  }
712
712
  `, Kt = !1, Ha = function() {
713
713
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Va;
714
- gt(function() {
714
+ mt(function() {
715
715
  Kt || (typeof window < "u" && window.document && window.document.documentElement && Ga(o, {
716
716
  prepend: !0
717
717
  }), Kt = !0);
@@ -763,16 +763,16 @@ function Xa() {
763
763
  return ct({}, Ye);
764
764
  }
765
765
  var We = function(o, t) {
766
- var n = ct({}, o, t.attrs), a = n.icon, l = n.primaryColor, i = n.secondaryColor, r = Ja(n, Za), s = Ye;
766
+ var n = ct({}, o, t.attrs), a = n.icon, l = n.primaryColor, r = n.secondaryColor, i = Ja(n, Za), s = Ye;
767
767
  if (l && (s = {
768
768
  primaryColor: l,
769
- secondaryColor: i || To(l)
769
+ secondaryColor: r || To(l)
770
770
  }), Ha(), Wa(Qt(a), "icon should be icon definiton, but got ".concat(a)), !Qt(a))
771
771
  return null;
772
772
  var f = a;
773
773
  return f && typeof f.icon == "function" && (f = ct({}, f, {
774
774
  icon: f.icon(s.primaryColor, s.secondaryColor)
775
- })), Et(f.icon, "svg-".concat(f.name), ct({}, r, {
775
+ })), Mt(f.icon, "svg-".concat(f.name), ct({}, i, {
776
776
  "data-icon": f.name,
777
777
  width: "1em",
778
778
  height: "1em",
@@ -818,18 +818,18 @@ function Xt(e, o) {
818
818
  function nl(e, o) {
819
819
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
820
820
  if (t != null) {
821
- var n = [], a = !0, l = !1, i, r;
821
+ var n = [], a = !0, l = !1, r, i;
822
822
  try {
823
- for (t = t.call(e); !(a = (i = t.next()).done) && (n.push(i.value), !(o && n.length === o)); a = !0)
823
+ for (t = t.call(e); !(a = (r = t.next()).done) && (n.push(r.value), !(o && n.length === o)); a = !0)
824
824
  ;
825
825
  } catch (s) {
826
- l = !0, r = s;
826
+ l = !0, i = s;
827
827
  } finally {
828
828
  try {
829
829
  !a && t.return != null && t.return();
830
830
  } finally {
831
831
  if (l)
832
- throw r;
832
+ throw i;
833
833
  }
834
834
  }
835
835
  return n;
@@ -878,18 +878,18 @@ function eo(e, o) {
878
878
  function dl(e, o) {
879
879
  var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
880
880
  if (t != null) {
881
- var n = [], a = !0, l = !1, i, r;
881
+ var n = [], a = !0, l = !1, r, i;
882
882
  try {
883
- for (t = t.call(e); !(a = (i = t.next()).done) && (n.push(i.value), !(o && n.length === o)); a = !0)
883
+ for (t = t.call(e); !(a = (r = t.next()).done) && (n.push(r.value), !(o && n.length === o)); a = !0)
884
884
  ;
885
885
  } catch (s) {
886
- l = !0, r = s;
886
+ l = !0, i = s;
887
887
  } finally {
888
888
  try {
889
889
  !a && t.return != null && t.return();
890
890
  } finally {
891
891
  if (l)
892
- throw r;
892
+ throw i;
893
893
  }
894
894
  }
895
895
  return n;
@@ -905,12 +905,12 @@ function to(e) {
905
905
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
906
906
  return Object.getOwnPropertyDescriptor(t, a).enumerable;
907
907
  }))), n.forEach(function(a) {
908
- Dt(e, a, t[a]);
908
+ Et(e, a, t[a]);
909
909
  });
910
910
  }
911
911
  return e;
912
912
  }
913
- function Dt(e, o, t) {
913
+ function Et(e, o, t) {
914
914
  return o in e ? Object.defineProperty(e, o, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[o] = t, e;
915
915
  }
916
916
  function fl(e, o) {
@@ -934,26 +934,26 @@ function ml(e, o) {
934
934
  }
935
935
  Io("#1890ff");
936
936
  var Ve = function(o, t) {
937
- var n, a = to({}, o, t.attrs), l = a.class, i = a.icon, r = a.spin, s = a.rotate, f = a.tabindex, y = a.twoToneColor, S = a.onClick, C = fl(a, il), d = (n = {
937
+ var n, a = to({}, o, t.attrs), l = a.class, r = a.icon, i = a.spin, s = a.rotate, f = a.tabindex, b = a.twoToneColor, x = a.onClick, w = fl(a, il), d = (n = {
938
938
  anticon: !0
939
- }, Dt(n, "anticon-".concat(i.name), Boolean(i.name)), Dt(n, l, l), n), u = r === "" || r || i.name === "loading" ? "anticon-spin" : "", m = f;
940
- m === void 0 && S && (m = -1, C.tabindex = m);
941
- var h = s ? {
939
+ }, Et(n, "anticon-".concat(r.name), Boolean(r.name)), Et(n, l, l), n), u = i === "" || i || r.name === "loading" ? "anticon-spin" : "", h = f;
940
+ h === void 0 && x && (h = -1, w.tabindex = h);
941
+ var g = s ? {
942
942
  msTransform: "rotate(".concat(s, "deg)"),
943
943
  transform: "rotate(".concat(s, "deg)")
944
- } : void 0, b = Lo(y), w = rl(b, 2), A = w[0], L = w[1];
945
- return j("span", to({
944
+ } : void 0, y = Lo(b), p = rl(y, 2), _ = p[0], I = p[1];
945
+ return G("span", to({
946
946
  role: "img",
947
- "aria-label": i.name
948
- }, C, {
949
- onClick: S,
947
+ "aria-label": r.name
948
+ }, w, {
949
+ onClick: x,
950
950
  class: d
951
- }), [j(zt, {
951
+ }), [G(zt, {
952
952
  class: u,
953
- icon: i,
954
- primaryColor: A,
955
- secondaryColor: L,
956
- style: h
953
+ icon: r,
954
+ primaryColor: _,
955
+ secondaryColor: I,
956
+ style: g
957
957
  }, null)]);
958
958
  };
959
959
  Ve.props = {
@@ -985,7 +985,7 @@ function bl(e, o, t) {
985
985
  }
986
986
  var $t = function(o, t) {
987
987
  var n = oo({}, o, t.attrs);
988
- return j(gl, oo({}, n, {
988
+ return G(gl, oo({}, n, {
989
989
  icon: yl
990
990
  }), null);
991
991
  };
@@ -1020,15 +1020,15 @@ const K = (e, o) => {
1020
1020
  return t;
1021
1021
  }, Cl = { class: "spin-wrapper" };
1022
1022
  function Sl(e, o, t, n, a, l) {
1023
- const i = H("a-spin");
1024
- return D(), F("div", Cl, [
1025
- e.spinning ? (D(), Re(i, {
1023
+ const r = H("a-spin");
1024
+ return D(), $("div", Cl, [
1025
+ e.spinning ? (D(), Re(r, {
1026
1026
  key: 0,
1027
1027
  class: "spin",
1028
1028
  spinning: e.spinning,
1029
1029
  indicator: e.indicator,
1030
1030
  tip: "加载中..."
1031
- }, null, 8, ["spinning", "indicator"])) : ht(e.$slots, "default", { key: 1 })
1031
+ }, null, 8, ["spinning", "indicator"])) : gt(e.$slots, "default", { key: 1 })
1032
1032
  ]);
1033
1033
  }
1034
1034
  const tt = /* @__PURE__ */ K(pl, [["render", Sl]]), wl = Q({
@@ -1044,18 +1044,18 @@ const tt = /* @__PURE__ */ K(pl, [["render", Sl]]), wl = Q({
1044
1044
  }
1045
1045
  });
1046
1046
  function xl(e, o, t, n, a, l) {
1047
- const i = H("a-skeleton");
1048
- return D(), Re(i, {
1047
+ const r = H("a-skeleton");
1048
+ return D(), Re(r, {
1049
1049
  active: "",
1050
1050
  loading: e.loading
1051
1051
  }, {
1052
1052
  default: Y(() => [
1053
- ht(e.$slots, "default")
1053
+ gt(e.$slots, "default")
1054
1054
  ]),
1055
1055
  _: 3
1056
1056
  }, 8, ["loading"]);
1057
1057
  }
1058
- const yt = /* @__PURE__ */ K(wl, [["render", xl]]);
1058
+ const ht = /* @__PURE__ */ K(wl, [["render", xl]]);
1059
1059
  process.env.NODE_ENV !== "production" && Object.freeze({});
1060
1060
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1061
1061
  const ae = (e, o) => {
@@ -1137,7 +1137,7 @@ const ae = (e, o) => {
1137
1137
  "zIndex"
1138
1138
  ], re = (e, o = []) => {
1139
1139
  const t = ta(kl, ...o);
1140
- return W(() => vo(e, t));
1140
+ return q(() => vo(e, t));
1141
1141
  }, Nt = "EVENT_BUS", fe = "GLOBAL_CONFIG", ye = "GLOBAL_MODEL", Se = "REQUEST_MODEL", Do = "GLOBAL_TOKEN", Je = "REFRESH_PAGE", Oo = "MODAL_MODEL";
1142
1142
  var io;
1143
1143
  const Ro = (io = window == null ? void 0 : window.config) == null ? void 0 : io.indicatorURL;
@@ -1148,7 +1148,7 @@ const no = ((so = window == null ? void 0 : window.config) == null ? void 0 : so
1148
1148
  var co;
1149
1149
  const Al = ((co = window == null ? void 0 : window.config) == null ? void 0 : co.erdURL) || "", he = (e, o) => {
1150
1150
  ne(() => e.id, (t) => {
1151
- const n = P(Nt, {
1151
+ const n = N(Nt, {
1152
1152
  // @ts-ignore
1153
1153
  // eslint-disable-next-line no-void
1154
1154
  onEvent: (a, l) => {
@@ -1159,22 +1159,22 @@ const Al = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
1159
1159
  immediate: !0
1160
1160
  });
1161
1161
  }, me = (e) => {
1162
- const o = e.events, t = e.id, n = P(Nt, {
1162
+ const o = e.events, t = e.id, n = N(Nt, {
1163
1163
  // @ts-ignore
1164
1164
  // eslint-disable-next-line no-void
1165
- emitEvent: (l, i) => {
1165
+ emitEvent: (l, r) => {
1166
1166
  }
1167
- }), { touchEventId: a } = P(fe, {
1167
+ }), { touchEventId: a } = N(fe, {
1168
1168
  touchEventId: M("")
1169
1169
  });
1170
- return (l, i = () => {
1170
+ return (l, r = () => {
1171
1171
  }) => function() {
1172
- i.call(this, ...arguments);
1173
- const { emitEvent: r } = n;
1172
+ r.call(this, ...arguments);
1173
+ const { emitEvent: i } = n;
1174
1174
  o.forEach((s) => {
1175
1175
  if (l === s.on)
1176
1176
  try {
1177
- a.value = t, r(s.target, s.emit);
1177
+ a.value = t, i(s.target, s.emit);
1178
1178
  } catch (f) {
1179
1179
  console.error(f);
1180
1180
  }
@@ -1183,20 +1183,20 @@ const Al = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
1183
1183
  }, Qe = (e, o) => {
1184
1184
  let { name: t = "name", value: n = "value", type: a = "type" } = o || {};
1185
1185
  t = t == null ? void 0 : t.trim(), n = n == null ? void 0 : n.trim(), a = a == null ? void 0 : a.trim();
1186
- const l = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), r = e.length;
1187
- for (let y = 0; y < r; y++) {
1188
- const S = e[y], C = S[t] || "", d = S[n] || "", u = S[a] || "";
1189
- if (l.add(C), i.has(u)) {
1190
- const m = i.get(u);
1191
- m.push({ name: C, value: d, ...S }), i.set(u, m);
1186
+ const l = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = e.length;
1187
+ for (let b = 0; b < i; b++) {
1188
+ const x = e[b], w = x[t] || "", d = x[n] || "", u = x[a] || "";
1189
+ if (l.add(w), r.has(u)) {
1190
+ const h = r.get(u);
1191
+ h.push({ name: w, value: d, ...x }), r.set(u, h);
1192
1192
  } else
1193
- i.set(u, [{ name: C, value: d, ...S }]);
1193
+ r.set(u, [{ name: w, value: d, ...x }]);
1194
1194
  }
1195
1195
  const s = Array.from(l), f = [];
1196
- for (const [y, S] of i)
1196
+ for (const [b, x] of r)
1197
1197
  f.push({
1198
- name: y,
1199
- data: S
1198
+ name: b,
1199
+ data: x
1200
1200
  });
1201
1201
  return {
1202
1202
  dimensions: s,
@@ -1245,37 +1245,37 @@ const _l = (e) => e.replace(/\\n/g, `
1245
1245
  return e;
1246
1246
  const n = parseFloat(t);
1247
1247
  return isNaN(n) ? e : `${(n * 100).toFixed(o)}%`;
1248
- }, ft = (e, o) => typeof e == "string" && typeof o == "string" ? e.toLocaleLowerCase().includes(o.toLocaleLowerCase()) : !1, bt = (e, o) => {
1248
+ }, Dt = (e, o) => typeof e == "string" && typeof o == "string" ? e.toLocaleLowerCase().includes(o.toLocaleLowerCase()) : !1, yt = (e, o) => {
1249
1249
  const t = {
1250
1250
  dayjs: Ce,
1251
1251
  ...o
1252
1252
  };
1253
1253
  let n = "";
1254
1254
  const a = [];
1255
- for (const r in t)
1256
- n += `${r},`, a.push(t[r]);
1255
+ for (const i in t)
1256
+ n += `${i},`, a.push(t[i]);
1257
1257
  n = n.replace(/,$/, "");
1258
1258
  const l = `function (${n}){return ${e}}`;
1259
- let i;
1259
+ let r;
1260
1260
  try {
1261
- i = Function(`"use strict";return (${l})`)()(...a);
1261
+ r = Function(`"use strict";return (${l})`)()(...a);
1262
1262
  } catch {
1263
1263
  return e;
1264
1264
  }
1265
- return i;
1265
+ return r;
1266
1266
  }, de = (e = "", { textData: o, codeData: t } = {}, { useNewline: n = !1, useSpace: a = !1 } = {}) => {
1267
- const i = { ...window.config || {}, ...o }, r = e.match(/\{(.+?)\}/g);
1268
- if (r == null || r.length === 0)
1267
+ const r = { ...window.config || {}, ...o }, i = e.match(/\{(.+?)\}/g);
1268
+ if (i == null || i.length === 0)
1269
1269
  return e;
1270
- for (let s = 0; s < r.length; s++) {
1271
- const f = r[s];
1272
- let y = f.slice(1, -1).trim();
1273
- const S = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, C = y.match(S);
1274
- for (let d = 0; d < C.length; d++) {
1275
- const u = C[d], m = i[u];
1276
- m != null && (y = y.replace(u, m));
1270
+ for (let s = 0; s < i.length; s++) {
1271
+ const f = i[s];
1272
+ let b = f.slice(1, -1).trim();
1273
+ const x = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, w = b.match(x);
1274
+ for (let d = 0; d < w.length; d++) {
1275
+ const u = w[d], h = r[u];
1276
+ h != null && (b = b.replace(u, h));
1277
1277
  }
1278
- /\(.*\)/g.test(y) && (y = bt(y, t)), e = e.replace(f, y);
1278
+ /\(.*\)/g.test(b) && (b = yt(b, t)), e = e.replace(f, b);
1279
1279
  }
1280
1280
  return n && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), a && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, "&nbsp;&nbsp;")), e;
1281
1281
  }, _e = (e, o = () => {
@@ -1285,99 +1285,98 @@ const _l = (e) => e.replace(/\\n/g, `
1285
1285
  requestMethod: n,
1286
1286
  requestHeaders: a,
1287
1287
  requestParams: l,
1288
- requestInterval: i,
1289
- isOpenRequestTimer: r
1290
- } = e, { contextRequestUrl: s, pageMode: f, touchEventId: y } = P(fe, {
1288
+ requestInterval: r,
1289
+ isOpenRequestTimer: i
1290
+ } = e, { contextRequestUrl: s, pageMode: f, touchEventId: b } = N(fe, {
1291
1291
  contextRequestUrl: "",
1292
1292
  pageMode: "normal",
1293
1293
  touchEventId: ""
1294
- }), { getGlobalModel: S } = P(ye, {
1294
+ }), { getGlobalModel: x } = N(ye, {
1295
1295
  // @ts-ignore
1296
1296
  // eslint-disable-next-line no-void
1297
- getGlobalModel: (m) => {
1297
+ getGlobalModel: (h) => {
1298
1298
  }
1299
- }), C = de(t), d = async (m = {}) => {
1300
- if (!C || !n || !a || v(f) === "design")
1299
+ }), w = de(t), d = async (h = {}) => {
1300
+ if (!w || !n || !a || v(f) === "design")
1301
1301
  return;
1302
- let h = {};
1303
- l.forEach((p) => {
1304
- const { key: _, value: x } = p;
1305
- if (typeof x == "object" && x != null && x.id) {
1302
+ let g = {};
1303
+ l.forEach((C) => {
1304
+ const { key: A, value: S } = C;
1305
+ if (typeof S == "object" && S != null && S.id) {
1306
1306
  let c = {};
1307
- const { id: g, prop: k, propKey: R, operate: E } = x;
1308
- g === "THIS" ? c = S(v(y)) || {} : c = S(g) || {};
1307
+ const { id: m, prop: k, propKey: R, operate: E } = S;
1308
+ m === "THIS" ? c = x(v(b)) || {} : c = x(m) || {};
1309
1309
  const T = v(c[k]);
1310
- let G = null;
1311
- const J = ["date", "range"].some((N) => ft(c == null ? void 0 : c.type, N)), $ = ["select"].some((N) => ft(c == null ? void 0 : c.type, N));
1312
- if (J) {
1313
- const { value: N, type: z, mode: q } = E || {};
1314
- if (N && z && q)
1315
- switch (z) {
1310
+ let j = null;
1311
+ if (["date", "range"].some((F) => Dt(c == null ? void 0 : c.type, F))) {
1312
+ const { value: F, type: B, mode: z } = E || {};
1313
+ if (F && B && z)
1314
+ switch (B) {
1316
1315
  case "add":
1317
- G = v(T).add(N, q);
1316
+ j = v(T).add(F, z);
1318
1317
  break;
1319
1318
  case "minus":
1320
- G = v(T).subtract(N, q);
1319
+ j = v(T).subtract(F, z);
1321
1320
  break;
1322
1321
  }
1323
- G == null && (G = v(T)), G = (G == null ? void 0 : G.format((R == null ? void 0 : R.trim()) || c.format)) || "";
1322
+ j == null && (j = v(T)), j = (j == null ? void 0 : j.format((R == null ? void 0 : R.trim()) || c.format)) || "";
1324
1323
  } else
1325
- $ ? Array.isArray(v(T)) && (G = v(T).join(",")) : Object.prototype.toString.call(T) === "[object Object]" ? G = T[R || "value"] : G = T;
1326
- h[_] = G;
1324
+ Object.prototype.toString.call(T) === "[object Object]" ? j = T[R || "value"] : j = T;
1325
+ g[A] = j;
1327
1326
  } else
1328
- Array.isArray(x) || typeof x == "string" && (h[_] = de(x));
1329
- }), h = { ...window.config.requestParams, ...m, ...h };
1330
- let b = "";
1331
- const w = Object.keys(h), A = w.length - 1, L = w.length;
1332
- w.forEach((p, _) => {
1333
- _ === 0 ? L !== 1 ? b += `?${p}=${h[p]}&` : b += `?${p}=${h[p]}` : _ === A ? b += `${p}=${h[p]}` : b += `${p}=${h[p]}&`;
1327
+ typeof S == "string" && (g[A] = de(S));
1328
+ }), g = { ...window.config.requestParams, ...h, ...g };
1329
+ let y = "";
1330
+ const p = Object.keys(g), _ = p.length - 1, I = p.length;
1331
+ p.forEach((C, A) => {
1332
+ A === 0 ? I !== 1 ? y += `?${C}=${g[C]}&` : y += `?${C}=${g[C]}` : A === _ ? y += `${C}=${g[C]}` : y += `${C}=${g[C]}&`;
1334
1333
  });
1335
1334
  try {
1336
- const p = ["get", "head"].includes(n), _ = await Fe({
1335
+ const C = ["get", "head"].includes(n), A = await Fe({
1337
1336
  baseURL: v(s) || "",
1338
- url: p ? C + b : C,
1337
+ url: C ? w + y : w,
1339
1338
  method: n,
1340
1339
  headers: a,
1341
- data: p ? {} : h
1340
+ data: C ? {} : g
1342
1341
  });
1343
- return o(_), _;
1344
- } catch (p) {
1345
- console.error(p);
1342
+ return o(A), A;
1343
+ } catch (C) {
1344
+ console.error(C);
1346
1345
  }
1347
- }, u = r && setInterval(d, i * 1e3);
1348
- return mt(() => {
1346
+ }, u = i && setInterval(d, r * 1e3);
1347
+ return ft(() => {
1349
1348
  clearInterval(u);
1350
1349
  }), d;
1351
1350
  }, Ge = (e = [], o) => {
1352
1351
  let { name: t = "name", types: n = [] } = o || {};
1353
1352
  t = (t == null ? void 0 : t.trim()) || t;
1354
- const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), i = e.length, r = n.length;
1355
- if (i === 1) {
1356
- const y = [];
1357
- for (let C = 0; C < r; C++) {
1358
- const d = n[C], { label: u, value: m } = d, h = { ...e[0], value: e[0][m] };
1359
- a.add(u), y.push(h);
1353
+ const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), r = e.length, i = n.length;
1354
+ if (r === 1) {
1355
+ const b = [];
1356
+ for (let w = 0; w < i; w++) {
1357
+ const d = n[w], { label: u, value: h } = d, g = { ...e[0], value: e[0][h] };
1358
+ a.add(u), b.push(g);
1360
1359
  }
1361
- const S = e[0][t] || "";
1362
- l.set(S, y);
1360
+ const x = e[0][t] || "";
1361
+ l.set(x, b);
1363
1362
  } else
1364
- for (let y = 0; y < i; y++) {
1365
- const S = e[y], C = S[t];
1366
- a.add(C);
1367
- for (let d = 0; d < r; d++) {
1368
- const u = n[d], { label: m, value: h } = u, b = { ...S, value: S[h] };
1369
- if (l.has(m)) {
1370
- const w = l.get(m);
1371
- w.push(b), l.set(m, w);
1363
+ for (let b = 0; b < r; b++) {
1364
+ const x = e[b], w = x[t];
1365
+ a.add(w);
1366
+ for (let d = 0; d < i; d++) {
1367
+ const u = n[d], { label: h, value: g } = u, y = { ...x, value: x[g] };
1368
+ if (l.has(h)) {
1369
+ const p = l.get(h);
1370
+ p.push(y), l.set(h, p);
1372
1371
  } else
1373
- l.set(m, [b]);
1372
+ l.set(h, [y]);
1374
1373
  }
1375
1374
  }
1376
1375
  const s = Array.from(a), f = [];
1377
- for (const [y, S] of l)
1376
+ for (const [b, x] of l)
1378
1377
  f.push({
1379
- name: y,
1380
- data: S
1378
+ name: b,
1379
+ data: x
1381
1380
  });
1382
1381
  return {
1383
1382
  dimensions: s,
@@ -1401,133 +1400,133 @@ const _l = (e) => e.replace(/\\n/g, `
1401
1400
  return o;
1402
1401
  const n = t.length;
1403
1402
  for (let l = 0; l < n; l++) {
1404
- const i = t[l];
1405
- if (i == null || i === "")
1403
+ const r = t[l];
1404
+ if (r == null || r === "")
1406
1405
  break;
1407
- let r = (a = i.slice(1, -1)) == null ? void 0 : a.trim();
1408
- r = r == null ? void 0 : r.replace(/value/g, o);
1406
+ let i = (a = r.slice(1, -1)) == null ? void 0 : a.trim();
1407
+ i = i == null ? void 0 : i.replace(/value/g, o);
1409
1408
  try {
1410
- let s = r;
1411
- /\(.*\)/g.test(r) && (s = bt(r)), e = e.replace(i, s);
1409
+ let s = i;
1410
+ (/\(.*\)/g.test(i) || /[+/\\*]/g.test(i)) && (s = yt(i)), e = e.replace(r, s);
1412
1411
  } catch {
1413
- e = e.replace(i, r);
1412
+ e = e.replace(r, i);
1414
1413
  }
1415
1414
  }
1416
1415
  return e;
1417
1416
  }, ot = (e = {}) => {
1418
- const { requestToken: o } = P(Do, {
1417
+ const { requestToken: o } = N(Do, {
1419
1418
  // @ts-ignore
1420
1419
  // eslint-disable-next-line no-void
1421
1420
  requestToken: () => {
1422
1421
  }
1423
1422
  });
1424
1423
  e.dataType === "indicator" && o();
1425
- const t = (i = {}) => {
1426
- const { label: r, name: s, location: f, show: y, indexCode: S } = i;
1424
+ const t = (r = {}) => {
1425
+ const { label: i, name: s, location: f, show: b, indexCode: x } = r;
1427
1426
  return {
1428
- label: r,
1427
+ label: i,
1429
1428
  columnName: s,
1430
1429
  location: f,
1431
- show: y,
1430
+ show: b,
1432
1431
  calcType: "COLUMN",
1433
- hrpIndexCode: S
1432
+ hrpIndexCode: x
1434
1433
  };
1435
- }, n = (i = {}) => {
1434
+ }, n = (r = {}) => {
1436
1435
  const {
1437
- label: r,
1436
+ label: i,
1438
1437
  name: s,
1439
1438
  location: f,
1440
- show: y,
1441
- indexCode: S,
1442
- calcType: C = "COLUMN",
1439
+ show: b,
1440
+ indexCode: x,
1441
+ calcType: w = "COLUMN",
1443
1442
  builtInFormula: d,
1444
1443
  builtInValueSource: u,
1445
- builtInCalcWay: m,
1446
- formula: h,
1447
- conditions: b
1448
- } = i;
1444
+ builtInCalcWay: h,
1445
+ formula: g,
1446
+ conditions: y
1447
+ } = r;
1449
1448
  return {
1450
- label: r,
1449
+ label: i,
1451
1450
  columnName: s,
1452
1451
  location: f,
1453
- show: y,
1454
- calcType: C,
1455
- hrpIndexCode: S,
1452
+ show: b,
1453
+ calcType: w,
1454
+ hrpIndexCode: x,
1456
1455
  aggregate: "SUM",
1457
1456
  builtInFormula: d,
1458
1457
  builtInValueSource: u,
1459
- builtInCalcWay: m,
1460
- formula: h,
1461
- conditions: b
1458
+ builtInCalcWay: h,
1459
+ formula: g,
1460
+ conditions: y
1462
1461
  };
1463
- }, { getGlobalModel: a } = P(ye, {
1462
+ }, { getGlobalModel: a } = N(ye, {
1464
1463
  // @ts-ignore
1465
1464
  // eslint-disable-next-line no-void
1466
- getGlobalModel: (i) => {
1465
+ getGlobalModel: (r) => {
1467
1466
  }
1468
- }), l = (i = []) => {
1467
+ }), l = (r = []) => {
1469
1468
  var f;
1470
- const r = i.length, s = [];
1471
- for (let y = 0; y < r; y++) {
1472
- const S = i[y], {
1473
- id: C,
1469
+ const i = r.length, s = [];
1470
+ for (let b = 0; b < i; b++) {
1471
+ const x = r[b], {
1472
+ id: w,
1474
1473
  conditionLabel: d,
1475
1474
  conditionKey: u,
1476
- conditionValueType: m
1477
- } = S, h = {
1475
+ conditionValueType: h
1476
+ } = x, g = {
1478
1477
  rule: "NONE",
1479
1478
  label: d,
1480
1479
  fieldName: u,
1481
1480
  fieldValue: "",
1482
1481
  // 在关联控件中取
1483
- valueType: m
1484
- }, b = a(C) || {};
1485
- if (ft(b.type, "date")) {
1486
- const { value: w, format: A } = b || {};
1487
- h.fieldValue = (f = v(w)) == null ? void 0 : f.format(A), h.dateFormat = A;
1482
+ valueType: h
1483
+ }, y = a(w) || {};
1484
+ if (Dt(y.type, "date")) {
1485
+ const { value: p, format: _ } = y || {};
1486
+ g.fieldValue = (f = v(p)) == null ? void 0 : f.format(_), g.dateFormat = _;
1488
1487
  }
1489
- s.push(h);
1488
+ s.push(g);
1490
1489
  }
1491
1490
  return s;
1492
1491
  };
1493
1492
  return async () => {
1494
1493
  var E;
1495
- const { graphicConfig: i, type: r } = e;
1494
+ const { graphicConfig: r, type: i } = e;
1496
1495
  let {
1497
1496
  source: s,
1498
1497
  dataViewId: f,
1499
- plugin: y = "1",
1498
+ plugin: b = "1",
1500
1499
  // 插件类型
1501
- layer: S,
1500
+ layer: x,
1502
1501
  // 后台图表类型,值分0,1
1503
- chartType: C,
1502
+ chartType: w,
1504
1503
  // 前端图表类型,实测没用
1505
1504
  classificationList: d = [],
1506
1505
  seriesList: u = [],
1507
- leftAxisList: m = [],
1508
- rightAxisList: h = [],
1509
- queryColumnList: b = [],
1510
- indicators: w = [],
1511
- controlList: A = [],
1512
- dataSourceId: L,
1506
+ leftAxisList: h = [],
1507
+ rightAxisList: g = [],
1508
+ queryColumnList: y = [],
1509
+ indicators: p = [],
1510
+ controlList: _ = [],
1511
+ dataSourceId: I,
1513
1512
  // 所属数据源ID
1514
- idxLibMode: p,
1513
+ idxLibMode: C,
1515
1514
  // 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
1516
- preview: _ = !1
1515
+ preview: A = !1
1517
1516
  // 预览开关
1518
- } = i || {};
1519
- S == null && (ft(r, "table") ? S = "1" : S = "2");
1520
- let x;
1517
+ } = r || {};
1518
+ x == null && (Dt(i, "table") ? x = "1" : x = "2");
1519
+ let S;
1521
1520
  if (Array.isArray(d) && d.length > 0) {
1522
1521
  const T = d.length;
1523
- for (let G = 0; G < T; G++) {
1524
- const J = d[G] || {}, { label: $ = "", name: N = "", show: z = !1, sort: q, customGroup: X, conditions: ie } = J;
1522
+ for (let j = 0; j < T; j++) {
1523
+ const J = d[j] || {}, { label: F = "", name: B = "", show: z = !1, sort: W, customGroup: X, conditions: ie } = J;
1525
1524
  if (z || T === 1) {
1526
- x = {
1527
- label: $,
1528
- columnName: N,
1525
+ S = {
1526
+ label: F,
1527
+ columnName: B,
1529
1528
  show: z,
1530
- sort: q,
1529
+ sort: W,
1531
1530
  customGroup: X,
1532
1531
  conditions: ie
1533
1532
  };
@@ -1538,14 +1537,14 @@ const _l = (e) => e.replace(/\\n/g, `
1538
1537
  let c;
1539
1538
  if (Array.isArray(u) && u.length > 0) {
1540
1539
  const T = u.length;
1541
- for (let G = 0; G < T; G++) {
1542
- const J = u[G] || {}, { label: $ = "", name: N = "", show: z = !1, sort: q, customGroup: X, conditions: ie } = J;
1540
+ for (let j = 0; j < T; j++) {
1541
+ const J = u[j] || {}, { label: F = "", name: B = "", show: z = !1, sort: W, customGroup: X, conditions: ie } = J;
1543
1542
  if (z || T === 1) {
1544
1543
  c = {
1545
- label: $,
1546
- columnName: N,
1544
+ label: F,
1545
+ columnName: B,
1547
1546
  show: z,
1548
- sort: q,
1547
+ sort: W,
1549
1548
  customGroup: X,
1550
1549
  conditions: ie
1551
1550
  };
@@ -1553,42 +1552,42 @@ const _l = (e) => e.replace(/\\n/g, `
1553
1552
  }
1554
1553
  }
1555
1554
  }
1556
- const g = [];
1557
- b == null || b.forEach((T) => {
1558
- g.push(t(T));
1555
+ const m = [];
1556
+ y == null || y.forEach((T) => {
1557
+ m.push(t(T));
1559
1558
  });
1560
1559
  const k = [];
1561
- if (m == null || m.forEach((T) => {
1560
+ if (h == null || h.forEach((T) => {
1562
1561
  T.location = "LEFT", k.push(n(T));
1563
- }), h == null || h.forEach((T) => {
1562
+ }), g == null || g.forEach((T) => {
1564
1563
  T.location = "RIGHT", k.push(n(T));
1565
- }), w == null || w.forEach((T) => {
1564
+ }), p == null || p.forEach((T) => {
1566
1565
  T.location = "LEFT", k.push(n(T));
1567
- }), S === "1" && g.length === 0)
1566
+ }), x === "1" && m.length === 0)
1568
1567
  return;
1569
- if (S === "2" && k.length === 0)
1568
+ if (x === "2" && k.length === 0)
1570
1569
  return;
1571
1570
  let R;
1572
- (i == null ? void 0 : i.pageMode) === "design" ? R = i.sqlConditions ?? [] : R = l(A);
1571
+ (r == null ? void 0 : r.pageMode) === "design" ? R = r.sqlConditions ?? [] : R = l(_);
1573
1572
  try {
1574
1573
  return await Fe.post(
1575
1574
  `${Ro}/diagram`,
1576
1575
  {
1577
1576
  source: s,
1578
1577
  dataViewId: f,
1579
- plugin: y,
1580
- layer: S,
1581
- chartType: C,
1582
- classification: x,
1578
+ plugin: b,
1579
+ layer: x,
1580
+ chartType: w,
1581
+ classification: S,
1583
1582
  series: c,
1584
1583
  indicatorList: k,
1585
- queryColumns: g,
1584
+ queryColumns: m,
1586
1585
  pageFlag: !0,
1587
1586
  sqlConditions: R,
1588
1587
  // fixedDimSql: '',
1589
- dataSourceId: L,
1590
- idxLibMode: p,
1591
- preview: _
1588
+ dataSourceId: I,
1589
+ idxLibMode: C,
1590
+ preview: A
1592
1591
  },
1593
1592
  {
1594
1593
  headers: {
@@ -1610,8 +1609,8 @@ const _l = (e) => e.replace(/\\n/g, `
1610
1609
  continue;
1611
1610
  const l = a.split("=");
1612
1611
  if (Array.isArray(l)) {
1613
- const i = l[0], r = l[1];
1614
- window.config[i] = r;
1612
+ const r = l[0], i = l[1];
1613
+ window.config[r] = i;
1615
1614
  }
1616
1615
  }
1617
1616
  }, Il = Q({
@@ -1621,28 +1620,28 @@ const _l = (e) => e.replace(/\\n/g, `
1621
1620
  ...Eo
1622
1621
  },
1623
1622
  setup(e) {
1624
- const o = W(() => ({
1623
+ const o = q(() => ({
1625
1624
  width: e.width,
1626
1625
  height: e.height,
1627
1626
  backgroundColor: e.backgroundColor,
1628
1627
  backgroundImage: $e(e.backgroundImage, !0),
1629
1628
  backgroundSize: e.backgroundSize
1630
- })), t = M(0), n = M(0), a = M(0), l = M(0), i = M(!1), r = M();
1629
+ })), t = M(0), n = M(0), a = M(0), l = M(0), r = M(!1), i = M();
1631
1630
  let s;
1632
- const f = () => new Promise((m) => {
1633
- gt(() => {
1634
- e.width && e.height ? (t.value = parseFloat(e.width), n.value = parseFloat(e.height)) : (t.value = r.value.clientWidth, n.value = r.value.clientHeight), (!a.value || !l.value) && (a.value = window.screen.width, l.value = window.screen.height), m();
1631
+ const f = () => new Promise((h) => {
1632
+ mt(() => {
1633
+ e.width && e.height ? (t.value = parseFloat(e.width), n.value = parseFloat(e.height)) : (t.value = i.value.clientWidth, n.value = i.value.clientHeight), (!a.value || !l.value) && (a.value = window.screen.width, l.value = window.screen.height), h();
1635
1634
  });
1636
- }), y = () => {
1637
- t.value && n.value ? (r.value.style.width = `${t.value}px`, r.value.style.height = `${n.value}px`) : (r.value.style.width = `${a.value}px`, r.value.style.height = `${l.value}px`);
1638
- }, S = () => {
1639
- const m = document.body.clientWidth, h = document.body.clientHeight, b = t.value || a.value, w = n.value || l.value, A = m / b, L = h / w;
1640
- r.value && (r.value.style.transform = `scale(${A}, ${L})`);
1641
- }, C = Rt(async () => {
1642
- await f(), S();
1635
+ }), b = () => {
1636
+ t.value && n.value ? (i.value.style.width = `${t.value}px`, i.value.style.height = `${n.value}px`) : (i.value.style.width = `${a.value}px`, i.value.style.height = `${l.value}px`);
1637
+ }, x = () => {
1638
+ const h = document.body.clientWidth, g = document.body.clientHeight, y = t.value || a.value, p = n.value || l.value, _ = h / y, I = g / p;
1639
+ i.value && (i.value.style.transform = `scale(${_}, ${I})`);
1640
+ }, w = Rt(async () => {
1641
+ await f(), x();
1643
1642
  }, 100), d = () => {
1644
- const m = window.MutationObserver;
1645
- s = new m(C), s.observe(r.value, {
1643
+ const h = window.MutationObserver;
1644
+ s = new h(w), s.observe(i.value, {
1646
1645
  attributes: !0,
1647
1646
  attributeFilter: ["style"],
1648
1647
  attributeOldValue: !0
@@ -1651,13 +1650,13 @@ const _l = (e) => e.replace(/\\n/g, `
1651
1650
  s && (s.disconnect(), s.takeRecords(), s = null);
1652
1651
  };
1653
1652
  return Ue(async () => {
1654
- i.value = !1, await f(), y(), S(), window.addEventListener("resize", C), d(), i.value = !0;
1655
- }), mt(() => {
1656
- window.removeEventListener("resize", C), u();
1653
+ r.value = !1, await f(), b(), x(), window.addEventListener("resize", w), d(), r.value = !0;
1654
+ }), ft(() => {
1655
+ window.removeEventListener("resize", w), u();
1657
1656
  }), {
1658
1657
  style: o,
1659
- container: r,
1660
- ready: i
1658
+ container: i,
1659
+ ready: r
1661
1660
  };
1662
1661
  }
1663
1662
  });
@@ -1666,13 +1665,13 @@ const Ml = {
1666
1665
  ref: "container"
1667
1666
  };
1668
1667
  function El(e, o, t, n, a, l) {
1669
- return D(), F("div", Ml, [
1670
- e.ready ? (D(), F("div", {
1668
+ return D(), $("div", Ml, [
1669
+ e.ready ? (D(), $("div", {
1671
1670
  key: 0,
1672
1671
  class: "page-config",
1673
1672
  style: U(e.style)
1674
1673
  }, [
1675
- ht(e.$slots, "default", {}, void 0, !0)
1674
+ gt(e.$slots, "default", {}, void 0, !0)
1676
1675
  ], 4)) : ve("", !0)
1677
1676
  ], 512);
1678
1677
  }
@@ -1697,117 +1696,117 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1697
1696
  }), Ue(() => {
1698
1697
  n();
1699
1698
  });
1700
- const a = W(() => de(e.contextRequestUrl)), l = W(() => e.pageMode), i = W(() => e.theme), r = M("");
1699
+ const a = q(() => de(e.contextRequestUrl)), l = q(() => e.pageMode), r = q(() => e.theme), i = M("");
1701
1700
  ze(fe, {
1702
1701
  // 请求地址
1703
1702
  contextRequestUrl: a,
1704
1703
  // 模式(设计、预览、正常):目前主要配置初始化是否发起请求
1705
1704
  pageMode: l,
1706
1705
  // 主题
1707
- theme: i,
1708
- touchEventId: r
1706
+ theme: r,
1707
+ touchEventId: i
1709
1708
  });
1710
- const s = /* @__PURE__ */ new Map(), f = ($) => s.get($);
1709
+ const s = /* @__PURE__ */ new Map(), f = (F) => s.get(F);
1711
1710
  ze(ye, {
1712
1711
  getGlobalModel: f,
1713
- setGlobalModel: ($, N) => {
1714
- s.set($, N);
1712
+ setGlobalModel: (F, B) => {
1713
+ s.set(F, B);
1715
1714
  }
1716
1715
  });
1717
- const S = [], C = () => {
1718
- S.pop();
1719
- }, d = ($) => {
1720
- S.push($);
1721
- }, u = /* @__PURE__ */ new Map(), m = ($) => u.get($);
1716
+ const x = [], w = () => {
1717
+ x.pop();
1718
+ }, d = (F) => {
1719
+ x.push(F);
1720
+ }, u = /* @__PURE__ */ new Map(), h = (F) => u.get(F);
1722
1721
  ze(Oo, {
1723
- popUseModalIds: C,
1722
+ popUseModalIds: w,
1724
1723
  pushUseModalIds: d,
1725
- getModalModel: m,
1726
- setModalModel: ($, N) => {
1727
- u.set($, N);
1724
+ getModalModel: h,
1725
+ setModalModel: (F, B) => {
1726
+ u.set(F, B);
1728
1727
  }
1729
1728
  });
1730
- const b = oa(), w = /* @__PURE__ */ new Set(), A = ($, N) => {
1731
- w.add($), b.on($, (z) => typeof N[z] == "function" && N[z]()), Lt(() => {
1732
- L($);
1729
+ const y = oa(), p = /* @__PURE__ */ new Set(), _ = (F, B) => {
1730
+ p.add(F), y.on(F, (z) => typeof B[z] == "function" && B[z]()), Tt(() => {
1731
+ I(F);
1733
1732
  });
1734
- }, L = ($) => {
1735
- w.delete($), b.off($);
1733
+ }, I = (F) => {
1734
+ p.delete(F), y.off(F);
1736
1735
  };
1737
1736
  ze(Nt, {
1738
- onEvent: A,
1739
- offEvent: L,
1740
- emitEvent: ($, N) => {
1741
- if ($ === "PAGE") {
1742
- const z = S.length;
1743
- let q = [];
1737
+ onEvent: _,
1738
+ offEvent: I,
1739
+ emitEvent: (F, B) => {
1740
+ if (F === "PAGE") {
1741
+ const z = x.length;
1742
+ let W = [];
1744
1743
  if (z === 0)
1745
- q = [...w];
1744
+ W = [...p];
1746
1745
  else {
1747
- const X = S[z - 1];
1748
- q = [...m(X)];
1746
+ const X = x[z - 1];
1747
+ W = [...h(X)];
1749
1748
  }
1750
- q.forEach((X) => {
1751
- b.emit(X, N);
1749
+ W.forEach((X) => {
1750
+ y.emit(X, B);
1752
1751
  });
1753
1752
  } else
1754
- b.emit($, N);
1753
+ y.emit(F, B);
1755
1754
  }
1756
1755
  });
1757
- const _ = M(0);
1756
+ const A = M(0);
1758
1757
  ze(Do, {
1759
1758
  requestToken: () => {
1760
- _.value = v(_) + 1;
1759
+ A.value = v(A) + 1;
1761
1760
  }
1762
1761
  });
1763
- const c = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), k = ({ requestFn: $ = () => {
1764
- }, sortNum: N = 0, id: z = "" }) => {
1765
- if (c.has(N)) {
1766
- const q = c.get(N);
1767
- q == null || q.push($);
1762
+ const c = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), k = ({ requestFn: F = () => {
1763
+ }, sortNum: B = 0, id: z = "" }) => {
1764
+ if (c.has(B)) {
1765
+ const W = c.get(B);
1766
+ W == null || W.push(F);
1768
1767
  } else
1769
- c.set(N, [$]);
1770
- g.set(z, $);
1771
- }, R = ($) => new Promise((N, z) => {
1772
- const q = $.map((X) => X());
1773
- Promise.all(q).then((X) => {
1774
- N(X);
1768
+ c.set(B, [F]);
1769
+ m.set(z, F);
1770
+ }, R = (F) => new Promise((B, z) => {
1771
+ const W = F.map((X) => X());
1772
+ Promise.all(W).then((X) => {
1773
+ B(X);
1775
1774
  }).catch((X) => {
1776
1775
  z(X);
1777
1776
  });
1778
1777
  }), E = async () => {
1779
1778
  var z;
1780
- const $ = await po.get(`${Ro}/user/anonymous?username=admin&businessOfficeId=350421`, {
1779
+ const F = await po.get(`${Ro}/user/anonymous?username=admin&businessOfficeId=350421`, {
1781
1780
  headers: {
1782
1781
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1783
1782
  current_context: "ygt",
1784
1783
  Authentication: ""
1785
1784
  }
1786
- }), { token: N } = ((z = $.data) == null ? void 0 : z.data) || {};
1787
- window.config.indicatorToken = N;
1788
- }, T = ($) => new Promise(async (N, z) => {
1789
- if ($) {
1790
- if (typeof $ == "string") {
1791
- const q = g.get($);
1792
- if (typeof q == "function") {
1793
- const X = Fe.interceptors.response.use((ie) => (N(ie), ie), (ie) => (z(ie), Promise.reject(ie)));
1794
- q(), Fe.interceptors.response.eject(X);
1785
+ }), { token: B } = ((z = F.data) == null ? void 0 : z.data) || {};
1786
+ window.config.indicatorToken = B;
1787
+ }, T = (F) => new Promise(async (B, z) => {
1788
+ if (F) {
1789
+ if (typeof F == "string") {
1790
+ const W = m.get(F);
1791
+ if (typeof W == "function") {
1792
+ const X = Fe.interceptors.response.use((ie) => (B(ie), ie), (ie) => (z(ie), Promise.reject(ie)));
1793
+ W(), Fe.interceptors.response.eject(X);
1795
1794
  }
1796
1795
  }
1797
1796
  } else {
1798
- const q = Array.from(c);
1799
- q.sort((ie, at) => at[0] - ie[0]);
1800
- const X = q.length;
1797
+ const W = Array.from(c);
1798
+ W.sort((ie, at) => at[0] - ie[0]);
1799
+ const X = W.length;
1801
1800
  try {
1802
- e.pageMode !== "design" && v(_) > 0 && await E();
1801
+ e.pageMode !== "design" && v(A) > 0 && await E();
1803
1802
  for (let ie = 0; ie < X; ie++) {
1804
- const at = q[ie][1];
1803
+ const at = W[ie][1];
1805
1804
  await R(at);
1806
1805
  }
1807
1806
  } catch (ie) {
1808
1807
  console.error(ie);
1809
1808
  } finally {
1810
- c.clear(), N(null);
1809
+ c.clear(), B(null);
1811
1810
  }
1812
1811
  }
1813
1812
  });
@@ -1816,16 +1815,16 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1816
1815
  touchRequest: T
1817
1816
  }), ze(Je, {
1818
1817
  emitRefreshPage: () => {
1819
- b.emit(Je);
1818
+ y.emit(Je);
1820
1819
  }
1821
1820
  });
1822
- const J = ($) => {
1823
- b.on(Je, () => $()), Ue(() => {
1824
- b.off(Je);
1821
+ const J = (F) => {
1822
+ y.on(Je, () => F()), Ue(() => {
1823
+ y.off(Je);
1825
1824
  });
1826
1825
  };
1827
- return Lt(() => {
1828
- c == null || c.clear(), g == null || g.clear();
1826
+ return Tt(() => {
1827
+ c == null || c.clear(), m == null || m.clear();
1829
1828
  }), o({
1830
1829
  touchRequest: T,
1831
1830
  getGlobalModel: f,
@@ -1839,8 +1838,8 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1839
1838
  ref: "providerConfig"
1840
1839
  };
1841
1840
  function zl(e, o, t, n, a, l) {
1842
- return D(), F("div", Fl, [
1843
- ht(e.$slots, "default")
1841
+ return D(), $("div", Fl, [
1842
+ gt(e.$slots, "default")
1844
1843
  ], 512);
1845
1844
  }
1846
1845
  const $l = /* @__PURE__ */ K(Rl, [["render", zl]]), Nl = ae($l), No = {
@@ -1869,68 +1868,68 @@ const $l = /* @__PURE__ */ K(Rl, [["render", zl]]), Nl = ae($l), No = {
1869
1868
  linkPage: ""
1870
1869
  }, Po = le(No), Pl = ["refreshData", "click"], Bl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=", Ul = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTA3LTIyVDA5OjM1OjE5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHN0RXZ0OndoZW49IjIwMjItMDctMjJUMDk6MzU6MTkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VDI+BAAABUUlEQVRIia3WPyhGURgG8B8pi0xisStKMioZLQaLiaQMBoxiVBImCwaLf6MssloUk8Gmb7GgJFKSUvIZ7qe+bvd89+A+03uf989z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==", Gl = Q({
1871
1870
  name: "EcanText",
1872
- components: { Skeleton: yt },
1871
+ components: { Skeleton: ht },
1873
1872
  props: {
1874
1873
  ...Po
1875
1874
  },
1876
1875
  setup(e) {
1877
1876
  const o = re(e), t = M({});
1878
- ne(() => [e.data, e.dataType], ([C, d]) => {
1879
- d === "static" && (t.value = C);
1877
+ ne(() => [e.data, e.dataType], ([w, d]) => {
1878
+ d === "static" && (t.value = w);
1880
1879
  }, {
1881
1880
  immediate: !0
1882
1881
  });
1883
- const n = W(() => {
1884
- var m;
1885
- const C = v(t);
1882
+ const n = q(() => {
1883
+ var h;
1884
+ const w = v(t);
1886
1885
  let d = e.text;
1887
1886
  d = d == null ? void 0 : d.replace(/\n|\\n/g, "<br/>"), d = d == null ? void 0 : d.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
1888
1887
  const u = d.match(/\{(.+?)\}/g);
1889
1888
  if (u == null || u.length === 0)
1890
1889
  return d;
1891
- for (let h = 0; h < u.length; h++) {
1892
- const b = u[h], w = (m = b == null ? void 0 : b.slice(1, b.length - 1)) == null ? void 0 : m.trim();
1893
- let A = w;
1894
- const L = w.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1895
- for (let _ = 0; _ < L.length; _++) {
1896
- const x = L[_], c = C[x];
1897
- c && (A = w.replace(x, c));
1890
+ for (let g = 0; g < u.length; g++) {
1891
+ const y = u[g], p = (h = y == null ? void 0 : y.slice(1, y.length - 1)) == null ? void 0 : h.trim();
1892
+ let _ = p;
1893
+ const I = p.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1894
+ for (let A = 0; A < I.length; A++) {
1895
+ const S = I[A], c = w[S];
1896
+ c && (_ = p.replace(S, c));
1898
1897
  }
1899
- if (/\(.*\)/g.test(A)) {
1900
- const _ = bt(A);
1901
- _ != null && (A = _);
1898
+ if (/\(.*\)/g.test(_)) {
1899
+ const A = yt(_);
1900
+ A != null && (_ = A);
1902
1901
  }
1903
- let p = A;
1904
- if (p === w && (p = e.variableDefaultValue), p != null) {
1905
- const _ = e.format;
1906
- _ === "percentage" ? (p = +p, isNaN(p) ? d = d.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : p >= 0 ? (p = (p * 100).toFixed(2), d = d.replace(b, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Bl}"/>${p}%</span>`)) : (p = (p * 100).toFixed(2), d = d.replace(b, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Ul}"/>${Math.abs(+p)}%</span>`))) : e.format === "percent" ? (p = +p, isNaN(p) || (p = (p * 100).toFixed(2), d = d.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}%</span>`))) : e.format === "money" ? (p = +p, isNaN(p) || (p = Pt(p), d = d.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`))) : _ === "thousands" ? (p = +p, isNaN(p) || (p = Tl(p), d = d.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`))) : d = d.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`);
1902
+ let C = _;
1903
+ if (C === p && (C = e.variableDefaultValue), C != null) {
1904
+ const A = e.format;
1905
+ A === "percentage" ? (C = +C, isNaN(C) ? d = d.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : C >= 0 ? (C = (C * 100).toFixed(2), d = d.replace(y, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Bl}"/>${C}%</span>`)) : (C = (C * 100).toFixed(2), d = d.replace(y, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Ul}"/>${Math.abs(+C)}%</span>`))) : e.format === "percent" ? (C = +C, isNaN(C) || (C = (C * 100).toFixed(2), d = d.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}%</span>`))) : e.format === "money" ? (C = +C, isNaN(C) || (C = Pt(C), d = d.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`))) : A === "thousands" ? (C = +C, isNaN(C) || (C = Tl(C), d = d.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`))) : d = d.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${C}</span>`);
1907
1906
  }
1908
1907
  }
1909
1908
  return `<span>${d}</span>`;
1910
- }), { pageMode: a } = P(fe, {
1909
+ }), { pageMode: a } = N(fe, {
1911
1910
  pageMode: "normal"
1912
- }), l = _e(e), i = M(!1), r = async () => {
1913
- var C;
1911
+ }), l = _e(e), r = M(!1), i = async () => {
1912
+ var w;
1914
1913
  if (v(a) !== "design")
1915
1914
  try {
1916
- i.value = !0;
1915
+ r.value = !0;
1917
1916
  const d = await l();
1918
- t.value = ((C = d == null ? void 0 : d.data) == null ? void 0 : C.data) || {};
1917
+ t.value = ((w = d == null ? void 0 : d.data) == null ? void 0 : w.data) || {};
1919
1918
  } catch (d) {
1920
1919
  console.error(d);
1921
1920
  } finally {
1922
- i.value = !1;
1921
+ r.value = !1;
1923
1922
  }
1924
1923
  }, s = () => {
1925
- e.dataType !== "static" && r();
1924
+ e.dataType !== "static" && i();
1926
1925
  };
1927
1926
  he(e, {
1928
1927
  refreshData: s
1929
1928
  });
1930
- const { setRequest: f } = P(Se, {
1929
+ const { setRequest: f } = N(Se, {
1931
1930
  // @ts-ignore
1932
1931
  // eslint-disable-next-line no-void
1933
- setRequest: ({ id: C, sortNum: d, requestFn: u }) => {
1932
+ setRequest: ({ id: w, sortNum: d, requestFn: u }) => {
1934
1933
  }
1935
1934
  });
1936
1935
  f({
@@ -1940,14 +1939,14 @@ const $l = /* @__PURE__ */ K(Rl, [["render", zl]]), Nl = ae($l), No = {
1940
1939
  }), he(e, {
1941
1940
  refreshData: s
1942
1941
  });
1943
- const S = me(e)("click", () => {
1942
+ const x = me(e)("click", () => {
1944
1943
  if (!e.linkPage && !e.href)
1945
1944
  return;
1946
- const C = e.linkPage || "", d = Fo(v(a), C), u = e.href;
1947
- let m = u || d;
1948
- m = de(m);
1949
- const h = e.target;
1950
- h && (h !== "event" ? window.open(m, "_" + h) : window.parent.postMessage({
1945
+ const w = e.linkPage || "", d = Fo(v(a), w), u = e.href;
1946
+ let h = u || d;
1947
+ h = de(h);
1948
+ const g = e.target;
1949
+ g && (g !== "event" ? window.open(h, "_" + g) : window.parent.postMessage({
1951
1950
  type: "openPage",
1952
1951
  url: u
1953
1952
  }, "*"));
@@ -1955,26 +1954,26 @@ const $l = /* @__PURE__ */ K(Rl, [["render", zl]]), Nl = ae($l), No = {
1955
1954
  return {
1956
1955
  style: o,
1957
1956
  myText: n,
1958
- loading: i,
1959
- click: S
1957
+ loading: r,
1958
+ click: x
1960
1959
  };
1961
1960
  }
1962
1961
  });
1963
1962
  const ql = ["innerHTML"];
1964
1963
  function jl(e, o, t, n, a, l) {
1965
- const i = H("skeleton");
1966
- return e.loading ? (D(), F("div", {
1964
+ const r = H("skeleton");
1965
+ return e.loading ? (D(), $("div", {
1967
1966
  key: 0,
1968
1967
  class: "skeleton-wrapper",
1969
1968
  style: U(e.style)
1970
1969
  }, [
1971
- j(i, { loading: e.loading }, null, 8, ["loading"])
1972
- ], 4)) : (D(), F("div", {
1970
+ G(r, { loading: e.loading }, null, 8, ["loading"])
1971
+ ], 4)) : (D(), $("div", {
1973
1972
  key: 1,
1974
1973
  class: "ecan-text",
1975
1974
  style: U(e.style),
1976
1975
  innerHTML: e.myText,
1977
- onClick: o[0] || (o[0] = (...r) => e.click && e.click(...r))
1976
+ onClick: o[0] || (o[0] = (...i) => e.click && e.click(...i))
1978
1977
  }, null, 12, ql));
1979
1978
  }
1980
1979
  const Wl = /* @__PURE__ */ K(Gl, [["render", jl], ["__scopeId", "data-v-f9ba6c3f"]]), Vl = ae(Wl), Hl = Q({
@@ -1987,7 +1986,7 @@ const Wl = /* @__PURE__ */ K(Gl, [["render", jl], ["__scopeId", "data-v-f9ba6c3f
1987
1986
  });
1988
1987
  const Zl = { class: "red" };
1989
1988
  function Jl(e, o, t, n, a, l) {
1990
- return D(), F("div", Zl, be(e.text), 1);
1989
+ return D(), $("div", Zl, be(e.text), 1);
1991
1990
  }
1992
1991
  const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e"]]), Ql = ae(Yl), Bo = {
1993
1992
  ...se,
@@ -2021,7 +2020,7 @@ const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e
2021
2020
  };
2022
2021
  return Ue(() => {
2023
2022
  l();
2024
- }), mt(() => {
2023
+ }), ft(() => {
2025
2024
  a();
2026
2025
  }), {
2027
2026
  style: o,
@@ -2030,7 +2029,7 @@ const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e
2030
2029
  }
2031
2030
  });
2032
2031
  function Xl(e, o, t, n, a, l) {
2033
- return D(), F("div", {
2032
+ return D(), $("div", {
2034
2033
  class: "time-display",
2035
2034
  style: U(e.style)
2036
2035
  }, be(e.time), 5);
@@ -2070,54 +2069,54 @@ const ei = /* @__PURE__ */ K(Kl, [["render", Xl], ["__scopeId", "data-v-47d57d2d
2070
2069
  ]
2071
2070
  }, qo = le(Go), oi = ["refreshData", "click"], ni = Q({
2072
2071
  name: "EcanList",
2073
- components: { Skeleton: yt },
2072
+ components: { Skeleton: ht },
2074
2073
  props: {
2075
2074
  ...qo
2076
2075
  },
2077
2076
  setup(e) {
2078
- const o = M(e.data), t = re(e, ["backgroundColor"]), n = W(() => e.useRanking ? {
2077
+ const o = M(e.data), t = re(e, ["backgroundColor"]), n = q(() => e.useRanking ? {
2079
2078
  textAlign: "center"
2080
2079
  } : {
2081
2080
  textAlign: "left"
2082
- }), a = (u, m) => m == null || m === "" ? u : {
2081
+ }), a = (u, h) => h == null || h === "" ? u : {
2083
2082
  money: Pt,
2084
2083
  percentage: ut,
2085
2084
  contrast: ut
2086
- }[m](u) || "", l = (u, m) => {
2087
- const h = parseFloat(u + "");
2088
- if (m !== "contrast")
2085
+ }[h](u) || "", l = (u, h) => {
2086
+ const g = parseFloat(u + "");
2087
+ if (h !== "contrast")
2089
2088
  return "";
2090
2089
  switch (!0) {
2091
- case h >= 0:
2090
+ case g >= 0:
2092
2091
  return "goUp";
2093
- case h < 0:
2092
+ case g < 0:
2094
2093
  return "goDown";
2095
2094
  }
2096
- }, i = _e(e), { pageMode: r } = P(fe, {
2095
+ }, r = _e(e), { pageMode: i } = N(fe, {
2097
2096
  pageMode: "normal"
2098
2097
  }), s = M(!1), f = async () => {
2099
2098
  var u;
2100
- if (!(e.dataType !== "request" || v(r) === "design"))
2099
+ if (!(e.dataType !== "request" || v(i) === "design"))
2101
2100
  try {
2102
2101
  s.value = !0;
2103
- const m = await i();
2104
- o.value = ((u = m == null ? void 0 : m.data) == null ? void 0 : u.data.rows) || [];
2105
- } catch (m) {
2106
- console.error(m);
2102
+ const h = await r();
2103
+ o.value = ((u = h == null ? void 0 : h.data) == null ? void 0 : u.data.rows) || [];
2104
+ } catch (h) {
2105
+ console.error(h);
2107
2106
  } finally {
2108
2107
  s.value = !1;
2109
2108
  }
2110
- }, y = () => {
2109
+ }, b = () => {
2111
2110
  f();
2112
- }, C = me(e)("click", () => {
2111
+ }, w = me(e)("click", () => {
2113
2112
  });
2114
2113
  he(e, {
2115
- refreshData: y
2114
+ refreshData: b
2116
2115
  });
2117
- const { setRequest: d } = P(Se, {
2116
+ const { setRequest: d } = N(Se, {
2118
2117
  // @ts-ignore
2119
2118
  // eslint-disable-next-line no-void
2120
- setRequest: ({ id: u, sortNum: m, requestFn: h }) => {
2119
+ setRequest: ({ id: u, sortNum: h, requestFn: g }) => {
2121
2120
  }
2122
2121
  });
2123
2122
  return d({
@@ -2131,7 +2130,7 @@ const ei = /* @__PURE__ */ K(Kl, [["render", Xl], ["__scopeId", "data-v-47d57d2d
2131
2130
  contrastClass: l,
2132
2131
  dataSource: o,
2133
2132
  loading: s,
2134
- click: C
2133
+ click: w
2135
2134
  };
2136
2135
  }
2137
2136
  });
@@ -2152,26 +2151,26 @@ const ai = (e) => (fo("data-v-211785ca"), e = e(), mo(), e), li = {
2152
2151
  class: "empty"
2153
2152
  };
2154
2153
  function fi(e, o, t, n, a, l) {
2155
- const i = H("skeleton");
2156
- return D(), F("div", {
2154
+ const r = H("skeleton");
2155
+ return D(), $("div", {
2157
2156
  class: "ecan-list",
2158
2157
  style: U(e.style)
2159
2158
  }, [
2160
- j(i, { loading: e.loading }, {
2159
+ G(r, { loading: e.loading }, {
2161
2160
  default: Y(() => [
2162
- e.useTitle ? (D(), F("div", li, [
2163
- (D(!0), F(Me, null, De(e.columnCount, (r) => (D(), F("div", {
2161
+ e.useTitle ? (D(), $("div", li, [
2162
+ (D(!0), $(Me, null, De(e.columnCount, (i) => (D(), $("div", {
2164
2163
  class: "title-inner",
2165
2164
  style: U({
2166
2165
  backgroundColor: e.backgroundColor,
2167
2166
  height: e.itemHeight,
2168
2167
  width: `calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount - 1}/ ${e.columnCount})`,
2169
- marginRight: r % e.columnCount !== 0 ? e.itemColSpan : ""
2168
+ marginRight: i % e.columnCount !== 0 ? e.itemColSpan : ""
2170
2169
  }),
2171
- key: r
2170
+ key: i
2172
2171
  }, [
2173
- e.useRanking ? (D(), F("div", ii)) : ve("", !0),
2174
- (D(!0), F(Me, null, De(e.columns, (s, f) => (D(), F("div", {
2172
+ e.useRanking ? (D(), $("div", ii)) : ve("", !0),
2173
+ (D(!0), $(Me, null, De(e.columns, (s, f) => (D(), $("div", {
2175
2174
  class: "column",
2176
2175
  key: s.key || f,
2177
2176
  style: U({
@@ -2181,15 +2180,15 @@ function fi(e, o, t, n, a, l) {
2181
2180
  }, be(s.title), 5))), 128))
2182
2181
  ], 4))), 128))
2183
2182
  ])) : ve("", !0),
2184
- e.dataSource.length > 0 ? (D(), F("div", ri, [
2185
- e.useTitle ? (D(), F("div", {
2183
+ e.dataSource.length > 0 ? (D(), $("div", ri, [
2184
+ e.useTitle ? (D(), $("div", {
2186
2185
  key: 0,
2187
2186
  class: "title-placeholder",
2188
2187
  style: U({
2189
2188
  marginBottom: e.itemRowSpan
2190
2189
  })
2191
2190
  }, null, 4)) : ve("", !0),
2192
- (D(!0), F(Me, null, De(e.dataSource.slice(0, e.sliceCount), (r, s) => (D(), F("div", {
2191
+ (D(!0), $(Me, null, De(e.dataSource.slice(0, e.sliceCount), (i, s) => (D(), $("div", {
2193
2192
  class: "item",
2194
2193
  style: U({
2195
2194
  backgroundColor: e.backgroundColor,
@@ -2198,25 +2197,25 @@ function fi(e, o, t, n, a, l) {
2198
2197
  marginRight: (s + 1) % e.columnCount !== 0 ? e.itemColSpan : "",
2199
2198
  marginBottom: e.itemRowSpan
2200
2199
  }),
2201
- key: r.id || s,
2200
+ key: i.id || s,
2202
2201
  onClick: o[0] || (o[0] = (...f) => e.click && e.click(...f))
2203
2202
  }, [
2204
- e.useRanking ? (D(), F("div", si, [
2203
+ e.useRanking ? (D(), $("div", si, [
2205
2204
  ci,
2206
2205
  ee("div", di, " Top " + be(s + 1), 1)
2207
2206
  ])) : ve("", !0),
2208
- (D(!0), F(Me, null, De(e.columns, (f) => (D(), F("div", {
2209
- class: It(["column", e.contrastClass(r[f.key], f.format)]),
2207
+ (D(!0), $(Me, null, De(e.columns, (f) => (D(), $("div", {
2208
+ class: Lt(["column", e.contrastClass(i[f.key], f.format)]),
2210
2209
  key: f.key,
2211
2210
  style: U({
2212
2211
  fontSize: f.fontSize,
2213
- color: e.contrastClass(r[f.key], f.format) === "" ? f.color : "",
2212
+ color: e.contrastClass(i[f.key], f.format) === "" ? f.color : "",
2214
2213
  fontWeight: f.fontWeight,
2215
2214
  ...e.columnStyle
2216
2215
  })
2217
- }, be((f.format != null || f.format !== "") && e.formatFn(r[f.key], f.format)), 7))), 128))
2216
+ }, be((f.format != null || f.format !== "") && e.formatFn(i[f.key], f.format)), 7))), 128))
2218
2217
  ], 4))), 128))
2219
- ])) : (D(), F("div", ui, " 暂无数据 "))
2218
+ ])) : (D(), $("div", ui, " 暂无数据 "))
2220
2219
  ]),
2221
2220
  _: 1
2222
2221
  }, 8, ["loading"])
@@ -2249,15 +2248,15 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2249
2248
  name: "EcanProportion",
2250
2249
  components: {
2251
2250
  AProgress: Hn,
2252
- Skeleton: yt
2251
+ Skeleton: ht
2253
2252
  },
2254
2253
  props: {
2255
2254
  ...Wo
2256
2255
  },
2257
2256
  setup(e) {
2258
- const { pageMode: o } = P(fe, {
2257
+ const { pageMode: o } = N(fe, {
2259
2258
  pageMode: "normal"
2260
- }), t = re(e), n = W(() => {
2259
+ }), t = re(e), n = q(() => {
2261
2260
  const u = e.width;
2262
2261
  return parseFloat(u);
2263
2262
  }), a = M({});
@@ -2267,53 +2266,53 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2267
2266
  immediate: !0,
2268
2267
  deep: !0
2269
2268
  });
2270
- const l = W(() => {
2271
- const u = v(a), m = +e.variableDefaultValue;
2269
+ const l = q(() => {
2270
+ const u = v(a), h = +e.variableDefaultValue;
2272
2271
  if (u == null)
2273
- return isNaN(m) ? 0 : m;
2274
- const h = e.text.match(/\{.+\}/g) || [];
2275
- let b;
2276
- const w = new Set(Object.keys(u));
2277
- for (let A = 0; A < h.length; A++) {
2278
- const L = h[A], p = L.slice(1, L.length - 1);
2279
- if (w.has(p)) {
2280
- b = u[p];
2272
+ return isNaN(h) ? 0 : h;
2273
+ const g = e.text.match(/\{.+\}/g) || [];
2274
+ let y;
2275
+ const p = new Set(Object.keys(u));
2276
+ for (let _ = 0; _ < g.length; _++) {
2277
+ const I = g[_], C = I.slice(1, I.length - 1);
2278
+ if (p.has(C)) {
2279
+ y = u[C];
2281
2280
  break;
2282
2281
  }
2283
2282
  }
2284
- return typeof b == "number" ? b = b * 100 : typeof b == "string" && !isNaN(+b) ? b = +b * 100 : isNaN(m) ? b = 0 : b = m * 100, e.decimalFormat && (b = +b.toFixed(2)), b;
2285
- }), i = W(() => {
2286
- var w;
2283
+ return typeof y == "number" ? y = y * 100 : typeof y == "string" && !isNaN(+y) ? y = +y * 100 : isNaN(h) ? y = 0 : y = h * 100, e.decimalFormat && (y = +y.toFixed(2)), y;
2284
+ }), r = q(() => {
2285
+ var p;
2287
2286
  let u = e.text;
2288
2287
  if (u === "")
2289
2288
  return v(l);
2290
- const m = e.variableDefaultValue, h = v(a), b = u.match(/\{.+\}/g) || [];
2291
- for (let A = 0; A < b.length; A++) {
2292
- const L = b[A];
2293
- let p = L.slice(1, L.length - 1);
2294
- const _ = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, x = L.match(_);
2295
- for (let g = 0; g < (x == null ? void 0 : x.length); g++) {
2296
- const k = (w = x[g]) == null ? void 0 : w.trim();
2297
- h[k] != null && (p = p.replace(k, h[k]));
2289
+ const h = e.variableDefaultValue, g = v(a), y = u.match(/\{.+\}/g) || [];
2290
+ for (let _ = 0; _ < y.length; _++) {
2291
+ const I = y[_];
2292
+ let C = I.slice(1, I.length - 1);
2293
+ const A = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, S = I.match(A);
2294
+ for (let m = 0; m < (S == null ? void 0 : S.length); m++) {
2295
+ const k = (p = S[m]) == null ? void 0 : p.trim();
2296
+ g[k] != null && (C = C.replace(k, g[k]));
2298
2297
  }
2299
- let c = p;
2298
+ let c = C;
2300
2299
  try {
2301
- /\(.*\)/g.test(p) && (c = bt(p));
2302
- } catch (g) {
2303
- console.error(g);
2300
+ /\(.*\)/g.test(C) && (c = yt(C));
2301
+ } catch (m) {
2302
+ console.error(m);
2304
2303
  }
2305
- typeof +c == "number" && !isNaN(+c) ? (c = +c * 100, e.decimalFormat && (c = c.toFixed(2))) : c = m, u = u.replace(L, c + "");
2304
+ typeof +c == "number" && !isNaN(+c) ? (c = +c * 100, e.decimalFormat && (c = c.toFixed(2))) : c = h, u = u.replace(I, c + "");
2306
2305
  }
2307
2306
  return u;
2308
- }), r = _e(e), s = M(!1), f = async () => {
2307
+ }), i = _e(e), s = M(!1), f = async () => {
2309
2308
  var u;
2310
2309
  if (!(e.dataType !== "request" || v(o) === "design"))
2311
2310
  try {
2312
2311
  s.value = !0;
2313
- const m = await r();
2314
- a.value = ((u = m == null ? void 0 : m.data) == null ? void 0 : u.data) || {};
2315
- } catch (m) {
2316
- console.error(m);
2312
+ const h = await i();
2313
+ a.value = ((u = h == null ? void 0 : h.data) == null ? void 0 : u.data) || {};
2314
+ } catch (h) {
2315
+ console.error(h);
2317
2316
  } finally {
2318
2317
  s.value = !1;
2319
2318
  }
@@ -2323,11 +2322,11 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2323
2322
  f();
2324
2323
  }
2325
2324
  });
2326
- const C = me(e)("click", () => {
2327
- }), { setRequest: d } = P(Se, {
2325
+ const w = me(e)("click", () => {
2326
+ }), { setRequest: d } = N(Se, {
2328
2327
  // @ts-ignore
2329
2328
  // eslint-disable-next-line no-void
2330
- setRequest: ({ id: u, sortNum: m, requestFn: h }) => {
2329
+ setRequest: ({ id: u, sortNum: h, requestFn: g }) => {
2331
2330
  }
2332
2331
  });
2333
2332
  return d({
@@ -2337,20 +2336,20 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2337
2336
  }), {
2338
2337
  style: t,
2339
2338
  myWidth: n,
2340
- text: i,
2339
+ text: r,
2341
2340
  myValue: l,
2342
2341
  loading: s,
2343
- click: C
2342
+ click: w
2344
2343
  };
2345
2344
  }
2346
2345
  });
2347
2346
  function bi(e, o, t, n, a, l) {
2348
- const i = H("skeleton"), r = H("a-progress");
2349
- return D(), F("div", {
2347
+ const r = H("skeleton"), i = H("a-progress");
2348
+ return D(), $("div", {
2350
2349
  class: "ecan-proportion",
2351
2350
  style: U(e.style)
2352
2351
  }, [
2353
- j(r, {
2352
+ G(i, {
2354
2353
  class: "progress",
2355
2354
  percent: e.myValue,
2356
2355
  width: e.myWidth,
@@ -2363,10 +2362,10 @@ function bi(e, o, t, n, a, l) {
2363
2362
  onClick: e.click
2364
2363
  }, {
2365
2364
  format: Y(() => [
2366
- e.loading ? (D(), Re(i, {
2365
+ e.loading ? (D(), Re(r, {
2367
2366
  key: 0,
2368
2367
  loading: e.loading
2369
- }, null, 8, ["loading"])) : (D(), F("div", {
2368
+ }, null, 8, ["loading"])) : (D(), $("div", {
2370
2369
  key: 1,
2371
2370
  class: "format",
2372
2371
  style: U({
@@ -2409,14 +2408,14 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2409
2408
  }, {
2410
2409
  immediate: !0
2411
2410
  });
2412
- const { getGlobalModel: n, setGlobalModel: a } = P(ye, {
2411
+ const { getGlobalModel: n, setGlobalModel: a } = N(ye, {
2413
2412
  // @ts-ignore
2414
2413
  // eslint-disable-next-line no-void
2415
2414
  getGlobalModel: (f) => {
2416
2415
  },
2417
2416
  // @ts-ignore
2418
2417
  // eslint-disable-next-line no-void
2419
- setGlobalModel: (f, y) => {
2418
+ setGlobalModel: (f, b) => {
2420
2419
  }
2421
2420
  });
2422
2421
  a(e.id, {
@@ -2426,28 +2425,28 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2426
2425
  const l = () => {
2427
2426
  const f = n(e.id);
2428
2427
  a(e.id, { ...f, RECORD: t });
2429
- }, i = me(e), r = Rt(i("inputChange", () => {
2428
+ }, r = me(e), i = Rt(r("inputChange", () => {
2430
2429
  l();
2431
- }), 300), s = i("inputBlur", () => {
2430
+ }), 300), s = r("inputBlur", () => {
2432
2431
  });
2433
2432
  return {
2434
2433
  style: o,
2435
2434
  myValue: t,
2436
2435
  inputBlur: s,
2437
- inputChange: r
2436
+ inputChange: i
2438
2437
  };
2439
2438
  }
2440
2439
  });
2441
2440
  function wi(e, o, t, n, a, l) {
2442
- const i = H("a-input");
2443
- return D(), F("div", {
2441
+ const r = H("a-input");
2442
+ return D(), $("div", {
2444
2443
  class: "ecan-input",
2445
2444
  style: U(e.style)
2446
2445
  }, [
2447
- j(i, {
2446
+ G(r, {
2448
2447
  class: "input",
2449
2448
  value: e.myValue,
2450
- "onUpdate:value": o[0] || (o[0] = (r) => e.myValue = r),
2449
+ "onUpdate:value": o[0] || (o[0] = (i) => e.myValue = i),
2451
2450
  placeholder: e.placeholder,
2452
2451
  onChange: e.inputChange,
2453
2452
  onBlur: e.inputBlur
@@ -2481,27 +2480,27 @@ const xi = /* @__PURE__ */ K(Si, [["render", wi]]), ki = ae(xi), Zo = {
2481
2480
  },
2482
2481
  setup(e) {
2483
2482
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = M(null);
2484
- ne(() => [e.value, e.useCurrentTime, e.operate], ([r, s, f]) => {
2485
- let y = null;
2486
- if (r ? y = Ce(de(r)) : s && (y = Ce()), f && y) {
2487
- const { type: S, value: C, mode: d } = f;
2488
- switch (S) {
2483
+ ne(() => [e.value, e.useCurrentTime, e.operate], ([i, s, f]) => {
2484
+ let b = null;
2485
+ if (i ? b = Ce(de(i)) : s && (b = Ce()), f && b) {
2486
+ const { type: x, value: w, mode: d } = f;
2487
+ switch (x) {
2489
2488
  case "add":
2490
- y = y.add(C, d);
2489
+ b = b.add(w, d);
2491
2490
  break;
2492
2491
  case "minus":
2493
- y = y.subtract(C, d);
2492
+ b = b.subtract(w, d);
2494
2493
  }
2495
2494
  }
2496
- n.value = y;
2495
+ n.value = b;
2497
2496
  }, {
2498
2497
  deep: !0,
2499
2498
  immediate: !0
2500
2499
  });
2501
- const { setGlobalModel: a } = P(ye, {
2500
+ const { setGlobalModel: a } = N(ye, {
2502
2501
  // @ts-ignore
2503
2502
  // eslint-disable-next-line no-void
2504
- setGlobalModel: (r, s) => {
2503
+ setGlobalModel: (i, s) => {
2505
2504
  }
2506
2505
  });
2507
2506
  a(e.id, {
@@ -2509,30 +2508,30 @@ const xi = /* @__PURE__ */ K(Si, [["render", wi]]), ki = ae(xi), Zo = {
2509
2508
  format: e.format,
2510
2509
  value: n
2511
2510
  });
2512
- const i = me(e)("dateChange", () => {
2511
+ const r = me(e)("dateChange", () => {
2513
2512
  });
2514
2513
  return he(e, {
2515
- dateChange: i
2514
+ dateChange: r
2516
2515
  }), {
2517
2516
  style: o,
2518
2517
  getPopupContainer: t,
2519
2518
  myValue: n,
2520
2519
  locale: Co,
2521
- dateChange: i
2520
+ dateChange: r
2522
2521
  };
2523
2522
  }
2524
2523
  });
2525
2524
  function Ti(e, o, t, n, a, l) {
2526
- const i = H("a-date-picker");
2527
- return D(), F("div", {
2525
+ const r = H("a-date-picker");
2526
+ return D(), $("div", {
2528
2527
  class: "ecan-date-picker",
2529
2528
  style: U(e.style)
2530
2529
  }, [
2531
- j(i, {
2530
+ G(r, {
2532
2531
  class: "date-picker",
2533
2532
  dropdownClassName: "ecan-date-picker-dropdown",
2534
2533
  value: e.myValue,
2535
- "onUpdate:value": o[0] || (o[0] = (r) => e.myValue = r),
2534
+ "onUpdate:value": o[0] || (o[0] = (i) => e.myValue = i),
2536
2535
  format: e.format,
2537
2536
  picker: e.picker,
2538
2537
  showTime: e.showTime,
@@ -2568,64 +2567,64 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2568
2567
  ...Qo
2569
2568
  },
2570
2569
  setup(e) {
2571
- const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = _e(e), { pageMode: a } = P(fe, {
2570
+ const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = _e(e), { pageMode: a } = N(fe, {
2572
2571
  pageMode: "normal"
2573
- }), l = M(e.data), i = M(e.value || e.data[0]), r = e.dataFieldNames, s = (h, b) => {
2574
- const w = r.label, A = r.value;
2575
- let L;
2576
- const p = b[w], _ = b[A];
2577
- return p != null ? L = p : _ != null && (L = _), (L == null ? void 0 : L.toLowerCase().indexOf(h == null ? void 0 : h.toLowerCase())) >= 0;
2578
- }, f = M(!1), y = async () => {
2579
- var h, b;
2572
+ }), l = M(e.data), r = M(e.value || e.data[0]), i = e.dataFieldNames, s = (g, y) => {
2573
+ const p = i.label, _ = i.value;
2574
+ let I;
2575
+ const C = y[p], A = y[_];
2576
+ return C != null ? I = C : A != null && (I = A), (I == null ? void 0 : I.toLowerCase().indexOf(g == null ? void 0 : g.toLowerCase())) >= 0;
2577
+ }, f = M(!1), b = async () => {
2578
+ var g, y;
2580
2579
  if (!(e.dataType !== "request" || v(a) === "design")) {
2581
2580
  f.value = !0;
2582
2581
  try {
2583
- const w = await n();
2584
- l.value = ((b = (h = w == null ? void 0 : w.data) == null ? void 0 : h.data) == null ? void 0 : b.rows) || [];
2585
- const A = v(l)[0];
2586
- e.value === "" && A != null && (i.value = A[r.value]);
2587
- } catch (w) {
2588
- console.error(w);
2582
+ const p = await n();
2583
+ l.value = ((y = (g = p == null ? void 0 : p.data) == null ? void 0 : g.data) == null ? void 0 : y.rows) || [];
2584
+ const _ = v(l)[0];
2585
+ e.value === "" && _ != null && (r.value = _[i.value]);
2586
+ } catch (p) {
2587
+ console.error(p);
2589
2588
  } finally {
2590
2589
  f.value = !1;
2591
2590
  }
2592
2591
  }
2593
- }, { getGlobalModel: S, setGlobalModel: C } = P(ye, {
2592
+ }, { getGlobalModel: x, setGlobalModel: w } = N(ye, {
2594
2593
  // @ts-ignore
2595
2594
  // eslint-disable-next-line no-void
2596
- getGlobalModel: (h) => {
2595
+ getGlobalModel: (g) => {
2597
2596
  },
2598
2597
  // @ts-ignore
2599
2598
  // eslint-disable-next-line no-void
2600
- setGlobalModel: (h, b) => {
2599
+ setGlobalModel: (g, y) => {
2601
2600
  }
2602
2601
  });
2603
- C(e.id, {
2602
+ w(e.id, {
2604
2603
  type: e.type,
2605
- value: i
2604
+ value: r
2606
2605
  });
2607
2606
  const u = me(e)("selectChange", () => {
2608
- const h = e.id, b = S(h);
2609
- C(h, { ...b, RECORD: i });
2607
+ const g = e.id, y = x(g);
2608
+ w(g, { ...y, RECORD: r });
2610
2609
  });
2611
2610
  he(e, {
2612
2611
  selectChange: u,
2613
- refreshData: y
2612
+ refreshData: b
2614
2613
  });
2615
- const { setRequest: m } = P(Se, {
2614
+ const { setRequest: h } = N(Se, {
2616
2615
  // @ts-ignore
2617
2616
  // eslint-disable-next-line no-void
2618
- setRequest: ({ id: h, sortNum: b, requestFn: w }) => {
2617
+ setRequest: ({ id: g, sortNum: y, requestFn: p }) => {
2619
2618
  }
2620
2619
  });
2621
- return m({
2620
+ return h({
2622
2621
  id: e.id,
2623
- requestFn: y,
2622
+ requestFn: b,
2624
2623
  sortNum: e.requestSort
2625
2624
  }), {
2626
2625
  style: o,
2627
2626
  getPopupContainer: t,
2628
- myValue: i,
2627
+ myValue: r,
2629
2628
  selectChange: u,
2630
2629
  options: l,
2631
2630
  filterOption: s,
@@ -2634,15 +2633,15 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2634
2633
  }
2635
2634
  });
2636
2635
  function Di(e, o, t, n, a, l) {
2637
- const i = H("a-select");
2638
- return D(), F("div", {
2636
+ const r = H("a-select");
2637
+ return D(), $("div", {
2639
2638
  class: "ecan-select",
2640
2639
  style: U(e.style)
2641
2640
  }, [
2642
- j(i, {
2641
+ G(r, {
2643
2642
  class: "select",
2644
2643
  value: e.myValue,
2645
- "onUpdate:value": o[0] || (o[0] = (r) => e.myValue = r),
2644
+ "onUpdate:value": o[0] || (o[0] = (i) => e.myValue = i),
2646
2645
  options: e.options,
2647
2646
  mode: e.mode,
2648
2647
  getPopupContainer: e.getPopupContainer,
@@ -2683,82 +2682,90 @@ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54
2683
2682
  },
2684
2683
  setup(e) {
2685
2684
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = M([null, null]);
2686
- ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, u, m, h, b, w]) => {
2687
- let A = null, L = null;
2688
- if (m && (A = Ce().subtract(h, b), L = Ce()), d && (A = Ce(de(d))), u && (L = Ce(de(u))), w) {
2689
- const { type: p, value: _, mode: x } = w;
2690
- switch (p) {
2685
+ ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([g, y, p, _, I, C]) => {
2686
+ let A = null, S = null;
2687
+ if (p && (A = Ce().subtract(_, I), S = Ce()), g && (A = Ce(de(g))), y && (S = Ce(de(y))), C) {
2688
+ const { type: c, value: m, mode: k } = C;
2689
+ switch (c) {
2691
2690
  case "add":
2692
- A = A && A.add(_, x), L = L && L.add(_, x);
2691
+ A = A && A.add(m, k), S = S && S.add(m, k);
2693
2692
  break;
2694
2693
  case "minus":
2695
- A = A && A.subtract(_, x), L = L && L.subtract(_, x);
2694
+ A = A && A.subtract(m, k), S = S && S.subtract(m, k);
2696
2695
  }
2697
2696
  }
2698
- n.value = [A, L];
2697
+ n.value = [A, S];
2699
2698
  }, {
2700
2699
  immediate: !0
2701
2700
  });
2702
2701
  let a = v(n)[0], l = v(n)[1];
2703
- const i = (d) => {
2704
- Array.isArray(d) ? (a = d[0], l = d[1]) : (a = null, l = null);
2705
- }, r = (d) => {
2706
- let u = !1, { limitStartTime: m, limitEndTime: h } = e;
2707
- const b = {
2702
+ const r = (g) => {
2703
+ Array.isArray(g) ? (a = g[0], l = g[1]) : (a = null, l = null);
2704
+ }, i = (g) => {
2705
+ let y = !1, { limitStartTime: p, limitEndTime: _ } = e;
2706
+ const I = {
2708
2707
  startTime: `${a || ""}`,
2709
2708
  endTime: `${l || ""}`
2710
2709
  };
2711
- return m = de(m, { codeData: b }), h = de(h, { codeData: b }), m && h ? u = !(Ce(m) < d && d < Ce(h)) : m ? u = Ce(m) > d : h && (u = Ce(h) < d), u;
2712
- }, { setGlobalModel: s } = P(ye, {
2710
+ return p = de(p, { codeData: I }), _ = de(_, { codeData: I }), p && _ ? y = !(Ce(p) < g && g < Ce(_)) : p ? y = Ce(p) > g : _ && (y = Ce(_) < g), y;
2711
+ }, { setGlobalModel: s } = N(ye, {
2713
2712
  // @ts-ignore
2714
2713
  // eslint-disable-next-line no-void
2715
- setGlobalModel: (d, u) => {
2714
+ setGlobalModel: (g, y) => {
2716
2715
  }
2717
- }), f = W(() => Array.isArray(v(n)) ? v(n)[0] : null), y = W(() => Array.isArray(v(n)) ? v(n)[1] : null);
2716
+ }), f = q(() => Array.isArray(v(n)) ? v(n)[0] : null), b = q(() => Array.isArray(v(n)) ? v(n)[1] : null);
2718
2717
  s(e.id, {
2719
2718
  type: e.type,
2720
2719
  format: e.format,
2721
2720
  startTime: f,
2722
- endTime: y
2723
- });
2724
- const C = me(e)("dateChange", () => {
2725
- console.log("dateChange");
2721
+ endTime: b
2726
2722
  });
2723
+ const x = me(e);
2724
+ let w = !1;
2725
+ const d = x("dateChange", () => {
2726
+ }), u = (g) => {
2727
+ g === !1 && w === !0 && (d(), w = !1);
2728
+ }, h = () => {
2729
+ w = !0;
2730
+ };
2727
2731
  return he(e, {
2728
- dateChange: C
2732
+ dateChange: d
2729
2733
  }), {
2730
2734
  style: o,
2731
2735
  getPopupContainer: t,
2732
2736
  locale: Co,
2733
- dateChange: C,
2737
+ dateChange: d,
2734
2738
  myValue: n,
2735
- disabledDate: r,
2736
- calendarChange: i
2739
+ disabledDate: i,
2740
+ calendarChange: r,
2741
+ openChange: u,
2742
+ change: h
2737
2743
  };
2738
2744
  }
2739
2745
  });
2740
2746
  function $i(e, o, t, n, a, l) {
2741
- const i = H("a-range-picker");
2742
- return D(), F("div", {
2747
+ const r = H("a-range-picker");
2748
+ return D(), $("div", {
2743
2749
  class: "ecan-range-picker",
2744
2750
  style: U(e.style)
2745
2751
  }, [
2746
- j(i, {
2752
+ G(r, {
2747
2753
  class: "range-picker",
2748
2754
  dropdownClassName: "ecan-range-picker-dropdown",
2749
2755
  value: e.myValue,
2750
- "onUpdate:value": o[0] || (o[0] = (r) => e.myValue = r),
2756
+ "onUpdate:value": o[0] || (o[0] = (i) => e.myValue = i),
2751
2757
  format: e.format,
2752
2758
  picker: e.picker,
2753
2759
  locale: e.locale,
2754
2760
  getPopupContainer: e.getPopupContainer,
2755
2761
  "disabled-date": e.disabledDate,
2756
- onChange: e.dateChange,
2757
- onCalendarChange: e.calendarChange
2758
- }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "disabled-date", "onChange", "onCalendarChange"])
2762
+ onChange: e.change,
2763
+ onCalendarChange: e.calendarChange,
2764
+ onOpenChange: e.openChange
2765
+ }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "disabled-date", "onChange", "onCalendarChange", "onOpenChange"])
2759
2766
  ], 4);
2760
2767
  }
2761
- const Ni = /* @__PURE__ */ K(zi, [["render", $i], ["__scopeId", "data-v-24f19e2d"]]), Pi = ae(Ni), en = {
2768
+ const Ni = /* @__PURE__ */ K(zi, [["render", $i], ["__scopeId", "data-v-a3f2ce0b"]]), Pi = ae(Ni), en = {
2762
2769
  ...se,
2763
2770
  width: "200px",
2764
2771
  name: "按钮",
@@ -2782,35 +2789,35 @@ const Ni = /* @__PURE__ */ K(zi, [["render", $i], ["__scopeId", "data-v-24f19e2d
2782
2789
  },
2783
2790
  setup(e) {
2784
2791
  const o = re(e), n = me(e)("click", () => {
2785
- const r = v(l);
2786
- r && e.target === "event" && window.parent.postMessage({
2792
+ const i = v(l);
2793
+ i && e.target === "event" && window.parent.postMessage({
2787
2794
  type: "openPage",
2788
- url: r
2795
+ url: i
2789
2796
  }, "*");
2790
- }), a = W(() => de(e.text)), l = W(() => de(e.href) || null), i = W(() => {
2791
- const r = e.target;
2792
- if (!(r === "event" || v(l) == null))
2797
+ }), a = q(() => de(e.text)), l = q(() => de(e.href) || null), r = q(() => {
2798
+ const i = e.target;
2799
+ if (!(i === "event" || v(l) == null))
2793
2800
  return {
2794
2801
  self: "_self",
2795
2802
  blank: "_blank"
2796
- }[r];
2803
+ }[i];
2797
2804
  });
2798
2805
  return {
2799
2806
  style: o,
2800
2807
  click: n,
2801
2808
  myText: a,
2802
2809
  myHref: l,
2803
- myTarget: i
2810
+ myTarget: r
2804
2811
  };
2805
2812
  }
2806
2813
  });
2807
2814
  function Gi(e, o, t, n, a, l) {
2808
- const i = H("a-button");
2809
- return D(), F("div", {
2815
+ const r = H("a-button");
2816
+ return D(), $("div", {
2810
2817
  class: "ecan-button",
2811
2818
  style: U(e.style)
2812
2819
  }, [
2813
- j(i, {
2820
+ G(r, {
2814
2821
  block: "",
2815
2822
  onClick: e.click,
2816
2823
  type: e.mode,
@@ -2858,10 +2865,10 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2858
2865
  setup(e) {
2859
2866
  const o = re(e), t = M([]), n = M([]), a = (d) => {
2860
2867
  const u = e.value;
2861
- let m = [];
2862
- d.forEach((h) => {
2863
- h.checked && m.push(h.value);
2864
- }), typeof u == "string" && u !== "" ? m = m.concat(u.split(",")) : Array.isArray(u) && (m = m.concat(u)), t.value = d, n.value = m;
2868
+ let h = [];
2869
+ d.forEach((g) => {
2870
+ g.checked && h.push(g.value);
2871
+ }), typeof u == "string" && u !== "" ? h = h.concat(u.split(",")) : Array.isArray(u) && (h = h.concat(u)), t.value = d, n.value = h;
2865
2872
  };
2866
2873
  ne(() => [e.data, e.value], ([d]) => {
2867
2874
  a(d);
@@ -2869,15 +2876,15 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2869
2876
  immediate: !0,
2870
2877
  deep: !0
2871
2878
  });
2872
- const l = _e(e), { pageMode: i } = P(fe, {
2879
+ const l = _e(e), { pageMode: r } = N(fe, {
2873
2880
  pageMode: "normal"
2874
- }), r = async () => {
2875
- var m, h;
2876
- if (e.dataType !== "request" || v(i) === "design")
2881
+ }), i = async () => {
2882
+ var h, g;
2883
+ if (e.dataType !== "request" || v(r) === "design")
2877
2884
  return;
2878
- const d = await l(), u = ((h = (m = d == null ? void 0 : d.data) == null ? void 0 : m.data) == null ? void 0 : h.rows) || [];
2885
+ const d = await l(), u = ((g = (h = d == null ? void 0 : d.data) == null ? void 0 : h.data) == null ? void 0 : g.rows) || [];
2879
2886
  a(u);
2880
- }, { getGlobalModel: s, setGlobalModel: f } = P(ye, {
2887
+ }, { getGlobalModel: s, setGlobalModel: f } = N(ye, {
2881
2888
  // @ts-ignore
2882
2889
  // eslint-disable-next-line no-void
2883
2890
  getGlobalModel: (d) => {
@@ -2891,37 +2898,37 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2891
2898
  type: e.type,
2892
2899
  value: n
2893
2900
  });
2894
- const S = me(e)("checkboxChange", () => {
2901
+ const x = me(e)("checkboxChange", () => {
2895
2902
  const d = s(e.id);
2896
2903
  f(e.id, { ...d, RECORD: n });
2897
- }), { setRequest: C } = P(Se, {
2904
+ }), { setRequest: w } = N(Se, {
2898
2905
  // @ts-ignore
2899
2906
  // eslint-disable-next-line no-void
2900
- setRequest: ({ id: d, sortNum: u, requestFn: m }) => {
2907
+ setRequest: ({ id: d, sortNum: u, requestFn: h }) => {
2901
2908
  }
2902
2909
  });
2903
- return C({
2910
+ return w({
2904
2911
  id: e.id,
2905
- requestFn: r,
2912
+ requestFn: i,
2906
2913
  sortNum: e.requestSort
2907
2914
  }), {
2908
2915
  myOption: t,
2909
2916
  style: o,
2910
2917
  myValue: n,
2911
- checkboxChange: S
2918
+ checkboxChange: x
2912
2919
  };
2913
2920
  }
2914
2921
  });
2915
2922
  function Hi(e, o, t, n, a, l) {
2916
- const i = H("a-checkbox-group");
2917
- return D(), F("div", {
2923
+ const r = H("a-checkbox-group");
2924
+ return D(), $("div", {
2918
2925
  class: "ecan-checkbox",
2919
2926
  style: U(e.style)
2920
2927
  }, [
2921
- j(i, {
2928
+ G(r, {
2922
2929
  options: e.myOption,
2923
2930
  value: e.myValue,
2924
- "onUpdate:value": o[0] || (o[0] = (r) => e.myValue = r),
2931
+ "onUpdate:value": o[0] || (o[0] = (i) => e.myValue = i),
2925
2932
  onChange: e.checkboxChange
2926
2933
  }, null, 8, ["options", "value", "onChange"])
2927
2934
  ], 4);
@@ -2995,8 +3002,8 @@ const Zi = /* @__PURE__ */ K(Vi, [["render", Hi]]), Ji = ae(Zi), an = {
2995
3002
  var s;
2996
3003
  const o = await Fe.post(e, {}, {
2997
3004
  responseType: "blob"
2998
- }), { data: t, headers: n } = o, a = n["content-disposition"].replace(/\w+;filename=(.*)/, "$1"), l = new Blob([t]), i = document.createElement("a"), r = window.URL.createObjectURL(l);
2999
- i.href = r, i.download = decodeURI(a), i.style.display = "none", document.body.appendChild(i), i.click(), (s = i.parentNode) == null || s.removeChild(i), window.URL.revokeObjectURL(r);
3005
+ }), { data: t, headers: n } = o, a = n["content-disposition"].replace(/\w+;filename=(.*)/, "$1"), l = new Blob([t]), r = document.createElement("a"), i = window.URL.createObjectURL(l);
3006
+ r.href = i, r.download = decodeURI(a), r.style.display = "none", document.body.appendChild(r), r.click(), (s = r.parentNode) == null || s.removeChild(r), window.URL.revokeObjectURL(i);
3000
3007
  };
3001
3008
  qe([
3002
3009
  je,
@@ -3019,13 +3026,13 @@ const Qi = Q({
3019
3026
  setup(e, { expose: o }) {
3020
3027
  const t = re(e), n = M([]), a = M(!1), l = () => {
3021
3028
  a.value = !1;
3022
- }, i = W(() => {
3023
- let { data: _ = [] } = v(n)[0] || {};
3029
+ }, r = q(() => {
3030
+ let { data: A = [] } = v(n)[0] || {};
3024
3031
  if (Array.isArray(e.colors)) {
3025
- const x = e.isUseLabelColors, c = e.colors;
3026
- _ = _.map((g, k) => ({
3027
- label: x ? { color: c[k] } : {},
3028
- ...g
3032
+ const S = e.isUseLabelColors, c = e.colors;
3033
+ A = A.map((m, k) => ({
3034
+ label: S ? { color: c[k] } : {},
3035
+ ...m
3029
3036
  }));
3030
3037
  }
3031
3038
  return {
@@ -3081,8 +3088,8 @@ const Qi = Q({
3081
3088
  tooltip: {
3082
3089
  show: e.tooltipShow,
3083
3090
  trigger: e.tooltipTrigger,
3084
- formatter: (x) => {
3085
- const { marker: c, seriesName: g, name: k, value: R, percent: E, data: T } = x || {};
3091
+ formatter: (S) => {
3092
+ const { marker: c, seriesName: m, name: k, value: R, percent: E, data: T } = S || {};
3086
3093
  return de(
3087
3094
  e.tooltipFormatter,
3088
3095
  {
@@ -3091,7 +3098,7 @@ const Qi = Q({
3091
3098
  name: k,
3092
3099
  value: R,
3093
3100
  percent: E,
3094
- a: g,
3101
+ a: m,
3095
3102
  b: k,
3096
3103
  c: R,
3097
3104
  d: E,
@@ -3121,7 +3128,7 @@ const Qi = Q({
3121
3128
  color: e.colors,
3122
3129
  series: [
3123
3130
  {
3124
- data: _,
3131
+ data: A,
3125
3132
  type: "pie",
3126
3133
  radius: [e.innerRadius, e.outerRadius],
3127
3134
  center: [e.centerLeft, e.centerTop],
@@ -3156,72 +3163,72 @@ const Qi = Q({
3156
3163
  }
3157
3164
  ]
3158
3165
  };
3159
- }), { getGlobalModel: r, setGlobalModel: s } = P(ye, {
3166
+ }), { getGlobalModel: i, setGlobalModel: s } = N(ye, {
3160
3167
  // @ts-ignore
3161
3168
  // eslint-disable-next-line no-void
3162
- getGlobalModel: (_) => {
3169
+ getGlobalModel: (A) => {
3163
3170
  },
3164
3171
  // @ts-ignore
3165
3172
  // eslint-disable-next-line no-void
3166
- setGlobalModel: (_, x) => {
3173
+ setGlobalModel: (A, S) => {
3167
3174
  }
3168
- }), { pageMode: f } = P(fe, {
3175
+ }), { pageMode: f } = N(fe, {
3169
3176
  pageMode: "normal"
3170
- }), y = (_ = [], x) => {
3171
- const { dataset: c } = Qe(_, x);
3177
+ }), b = (A = [], S) => {
3178
+ const { dataset: c } = Qe(A, S);
3172
3179
  n.value = c;
3173
- }, S = (_ = [], x) => {
3174
- const c = Qe(_, x);
3180
+ }, x = (A = [], S) => {
3181
+ const c = Qe(A, S);
3175
3182
  n.value = c.dataset;
3176
3183
  };
3177
- ne(() => e.data, (_) => {
3178
- (e.dataType === "static" || v(f) === "design") && y(_);
3184
+ ne(() => e.data, (A) => {
3185
+ (e.dataType === "static" || v(f) === "design") && b(A);
3179
3186
  }, {
3180
3187
  immediate: !0,
3181
3188
  deep: !0
3182
3189
  });
3183
- const C = M(!1), d = _e(e), u = async () => {
3184
- var _, x;
3190
+ const w = M(!1), d = _e(e), u = async () => {
3191
+ var A, S;
3185
3192
  if (!(e.dataType !== "request" || v(f) === "design"))
3186
3193
  try {
3187
- C.value = !0;
3194
+ w.value = !0;
3188
3195
  const c = await d();
3189
- y((x = (_ = c == null ? void 0 : c.data) == null ? void 0 : _.data) == null ? void 0 : x.rows, e.valueTypeDataFieldNames);
3196
+ b((S = (A = c == null ? void 0 : c.data) == null ? void 0 : A.data) == null ? void 0 : S.rows, e.valueTypeDataFieldNames);
3190
3197
  } catch (c) {
3191
3198
  console.error(c);
3192
3199
  } finally {
3193
- C.value = !1;
3200
+ w.value = !1;
3194
3201
  }
3195
- }, h = me(e)("click", (_) => {
3196
- const x = r(e.id);
3197
- s(e.id, { ...x, RECORD: _ == null ? void 0 : _.data });
3198
- }), b = ot(e), w = async () => {
3199
- var _;
3202
+ }, g = me(e)("click", (A) => {
3203
+ const S = i(e.id);
3204
+ s(e.id, { ...S, RECORD: A == null ? void 0 : A.data });
3205
+ }), y = ot(e), p = async () => {
3206
+ var A;
3200
3207
  try {
3201
- C.value = !0;
3202
- const x = await b(), { data: c } = x.data || {};
3208
+ w.value = !0;
3209
+ const S = await y(), { data: c } = S.data || {};
3203
3210
  if (c) {
3204
- const { columns: g = [], rows: k = [] } = ((_ = x == null ? void 0 : x.data) == null ? void 0 : _.data) ?? {};
3211
+ const { columns: m = [], rows: k = [] } = ((A = S == null ? void 0 : S.data) == null ? void 0 : A.data) ?? {};
3205
3212
  let R = [];
3206
- if (g.length > 0) {
3207
- const E = g[0], T = g[1];
3208
- R = k.map((G) => ({
3209
- name: G[E],
3210
- value: G[T]
3213
+ if (m.length > 0) {
3214
+ const E = m[0], T = m[1];
3215
+ R = k.map((j) => ({
3216
+ name: j[E],
3217
+ value: j[T]
3211
3218
  }));
3212
3219
  }
3213
- S(R);
3220
+ x(R);
3214
3221
  }
3215
- } catch (x) {
3216
- console.error(x);
3222
+ } catch (S) {
3223
+ console.error(S);
3217
3224
  } finally {
3218
- C.value = !1;
3225
+ w.value = !1;
3219
3226
  }
3220
- }, A = () => {
3227
+ }, _ = () => {
3221
3228
  if (v(f) !== "design")
3222
3229
  switch (e.dataType) {
3223
3230
  case "indicator":
3224
- w();
3231
+ p();
3225
3232
  break;
3226
3233
  case "request":
3227
3234
  u();
@@ -3230,40 +3237,40 @@ const Qi = Q({
3230
3237
  };
3231
3238
  he(e, {
3232
3239
  resetRecord: () => {
3233
- const _ = e.id, x = r(_);
3234
- s(_, { ...x, RECORD: "" });
3240
+ const A = e.id, S = i(A);
3241
+ s(A, { ...S, RECORD: "" });
3235
3242
  },
3236
- refreshData: A,
3237
- click: h
3243
+ refreshData: _,
3244
+ click: g
3238
3245
  }), o({
3239
- refreshData: A
3246
+ refreshData: _
3240
3247
  });
3241
- const { setRequest: p } = P(Se, {
3242
- setRequest: (_) => {
3248
+ const { setRequest: C } = N(Se, {
3249
+ setRequest: (A) => {
3243
3250
  }
3244
3251
  });
3245
- return typeof p == "function" && p({
3252
+ return typeof C == "function" && C({
3246
3253
  id: e.id,
3247
- requestFn: A,
3254
+ requestFn: _,
3248
3255
  sortNum: e.requestSort
3249
3256
  }), {
3250
- option: i,
3257
+ option: r,
3251
3258
  style: t,
3252
- click: h,
3253
- loading: C,
3259
+ click: g,
3260
+ loading: w,
3254
3261
  visible: a,
3255
3262
  hideModal: l
3256
3263
  };
3257
3264
  }
3258
3265
  });
3259
3266
  function Ki(e, o, t, n, a, l) {
3260
- const i = H("echarts"), r = H("spin"), s = H("a-modal");
3261
- return D(), F("div", {
3267
+ const r = H("echarts"), i = H("spin"), s = H("a-modal");
3268
+ return D(), $("div", {
3262
3269
  style: U(e.style)
3263
3270
  }, [
3264
- j(r, { spinning: e.loading }, {
3271
+ G(i, { spinning: e.loading }, {
3265
3272
  default: Y(() => [
3266
- j(i, {
3273
+ G(r, {
3267
3274
  option: e.option,
3268
3275
  autoresize: "",
3269
3276
  onClick: e.click
@@ -3271,7 +3278,7 @@ function Ki(e, o, t, n, a, l) {
3271
3278
  ]),
3272
3279
  _: 1
3273
3280
  }, 8, ["spinning"]),
3274
- j(s, {
3281
+ G(s, {
3275
3282
  "wrap-class-name": "full-modal",
3276
3283
  width: "100%",
3277
3284
  visible: e.visible,
@@ -3279,9 +3286,9 @@ function Ki(e, o, t, n, a, l) {
3279
3286
  onCancel: e.hideModal
3280
3287
  }, {
3281
3288
  default: Y(() => [
3282
- j(r, { spinning: e.loading }, {
3289
+ G(i, { spinning: e.loading }, {
3283
3290
  default: Y(() => [
3284
- j(i, {
3291
+ G(r, {
3285
3292
  option: e.option,
3286
3293
  "update-options": { notMerge: !0 },
3287
3294
  autoresize: ""
@@ -3383,10 +3390,10 @@ const or = Q({
3383
3390
  AModal: Ae
3384
3391
  },
3385
3392
  setup(e, { expose: o }) {
3386
- const t = re(e), n = M([]), a = M([]), l = M(!1), i = () => {
3393
+ const t = re(e), n = M([]), a = M([]), l = M(!1), r = () => {
3387
3394
  l.value = !1;
3388
- }, r = W(() => {
3389
- const x = e.xAxisLabelFormatter, c = e.yAxisLabelFormatter;
3395
+ }, i = q(() => {
3396
+ const S = e.xAxisLabelFormatter, c = e.yAxisLabelFormatter;
3390
3397
  return {
3391
3398
  toolbox: {
3392
3399
  show: e.toolboxShow,
@@ -3440,22 +3447,22 @@ const or = Q({
3440
3447
  tooltip: {
3441
3448
  trigger: "axis",
3442
3449
  show: e.tooltipShow,
3443
- formatter: (g) => {
3444
- const k = g.length;
3450
+ formatter: (m) => {
3451
+ const k = m.length;
3445
3452
  let R = "", E = e.tooltipFormatter;
3446
3453
  E === "" && (E = "{marker} {a} {c}");
3447
3454
  for (let T = 0; T < k; T++) {
3448
- const { marker: G, seriesName: J, name: $, value: N, data: z } = g[T] || {};
3449
- T === 0 && (R += `${$}<br/>`), R += de(
3455
+ const { marker: j, seriesName: J, name: F, value: B, data: z } = m[T] || {};
3456
+ T === 0 && (R += `${F}<br/>`), R += de(
3450
3457
  E,
3451
3458
  {
3452
3459
  textData: {
3453
- marker: G,
3454
- name: $,
3455
- value: N,
3460
+ marker: j,
3461
+ name: F,
3462
+ value: B,
3456
3463
  a: J,
3457
- b: $,
3458
- c: N,
3464
+ b: F,
3465
+ c: B,
3459
3466
  ...z
3460
3467
  }
3461
3468
  },
@@ -3484,8 +3491,8 @@ const or = Q({
3484
3491
  rotate: e.xAxisLabelRotate,
3485
3492
  width: e.xAxisLabelWidth,
3486
3493
  overflow: e.xAxisLabelOverflow,
3487
- formatter(g) {
3488
- return Ne(x, g);
3494
+ formatter(m) {
3495
+ return Ne(S, m);
3489
3496
  }
3490
3497
  },
3491
3498
  axisLine: {
@@ -3508,8 +3515,8 @@ const or = Q({
3508
3515
  },
3509
3516
  axisLabel: {
3510
3517
  color: e.yAxisLabelColor,
3511
- formatter(g) {
3512
- return Ne(c, g);
3518
+ formatter(m) {
3519
+ return Ne(c, m);
3513
3520
  }
3514
3521
  },
3515
3522
  axisLine: {
@@ -3527,28 +3534,28 @@ const or = Q({
3527
3534
  },
3528
3535
  series: v(n)
3529
3536
  };
3530
- }), { getGlobalModel: s, setGlobalModel: f } = P(ye, {
3537
+ }), { getGlobalModel: s, setGlobalModel: f } = N(ye, {
3531
3538
  // @ts-ignore
3532
3539
  // eslint-disable-next-line no-void
3533
- getGlobalModel: (x) => {
3540
+ getGlobalModel: (S) => {
3534
3541
  },
3535
3542
  // @ts-ignore
3536
3543
  // eslint-disable-next-line no-void
3537
- setGlobalModel: (x, c) => {
3544
+ setGlobalModel: (S, c) => {
3538
3545
  }
3539
- }), { pageMode: y } = P(fe, {
3546
+ }), { pageMode: b } = N(fe, {
3540
3547
  pageMode: "normal"
3541
- }), S = (x = [], c = !1) => {
3542
- let g;
3548
+ }), x = (S = [], c = !1) => {
3549
+ let m;
3543
3550
  if (e.dataFieldConfigType === "key") {
3544
3551
  const T = c ? e.keyTypeDataFieldNames : null;
3545
- g = Ge(x, T);
3552
+ m = Ge(S, T);
3546
3553
  } else if (e.dataFieldConfigType === "value") {
3547
3554
  const T = c ? e.valueTypeDataFieldNames : null;
3548
- g = Qe(x, T);
3555
+ m = Qe(S, T);
3549
3556
  }
3550
- a.value = g.dimensions;
3551
- const k = g.dataset, R = [], E = k.length;
3557
+ a.value = m.dimensions;
3558
+ const k = m.dataset, R = [], E = k.length;
3552
3559
  for (let T = 0; T < E; T++)
3553
3560
  R.push({
3554
3561
  type: "line",
@@ -3576,11 +3583,11 @@ const or = Q({
3576
3583
  }
3577
3584
  });
3578
3585
  n.value = R;
3579
- }, C = (x = [], c, g = !1) => {
3580
- const R = Ge(x, g ? c : null);
3586
+ }, w = (S = [], c, m = !1) => {
3587
+ const R = Ge(S, m ? c : null);
3581
3588
  a.value = R.dimensions;
3582
- const E = R.dataset, T = [], G = E.length;
3583
- for (let J = 0; J < G; J++)
3589
+ const E = R.dataset, T = [], j = E.length;
3590
+ for (let J = 0; J < j; J++)
3584
3591
  T.push({
3585
3592
  type: "line",
3586
3593
  ...E[J],
@@ -3592,92 +3599,92 @@ const or = Q({
3592
3599
  });
3593
3600
  n.value = T;
3594
3601
  };
3595
- ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([x]) => {
3596
- (e.dataType === "static" || v(y) === "design") && S(x);
3602
+ ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([S]) => {
3603
+ (e.dataType === "static" || v(b) === "design") && x(S);
3597
3604
  }, {
3598
3605
  immediate: !0,
3599
3606
  deep: !0
3600
3607
  });
3601
- const d = M(!1), u = _e(e), m = async () => {
3602
- var x, c;
3603
- if (!(e.dataType !== "request" || v(y) === "design"))
3608
+ const d = M(!1), u = _e(e), h = async () => {
3609
+ var S, c;
3610
+ if (!(e.dataType !== "request" || v(b) === "design"))
3604
3611
  try {
3605
3612
  d.value = !0;
3606
- const g = await u();
3607
- S((c = (x = g == null ? void 0 : g.data) == null ? void 0 : x.data) == null ? void 0 : c.rows, !0);
3608
- } catch (g) {
3609
- console.error(g);
3613
+ const m = await u();
3614
+ x((c = (S = m == null ? void 0 : m.data) == null ? void 0 : S.data) == null ? void 0 : c.rows, !0);
3615
+ } catch (m) {
3616
+ console.error(m);
3610
3617
  } finally {
3611
3618
  d.value = !1;
3612
3619
  }
3613
- }, b = me(e)("click", (x) => {
3620
+ }, y = me(e)("click", (S) => {
3614
3621
  const c = s(e.id);
3615
- f(e.id, { ...c, RECORD: x == null ? void 0 : x.data });
3616
- }), w = ot(e), A = async () => {
3617
- var x;
3622
+ f(e.id, { ...c, RECORD: S == null ? void 0 : S.data });
3623
+ }), p = ot(e), _ = async () => {
3624
+ var S;
3618
3625
  try {
3619
3626
  d.value = !0;
3620
- const c = await w(), { columns: g = [], rows: k = [] } = ((x = c == null ? void 0 : c.data) == null ? void 0 : x.data) ?? {};
3627
+ const c = await p(), { columns: m = [], rows: k = [] } = ((S = c == null ? void 0 : c.data) == null ? void 0 : S.data) ?? {};
3621
3628
  let R;
3622
- g.length > 0 && (R = {
3623
- name: g[0],
3624
- types: g.slice(1).map((E) => ({
3629
+ m.length > 0 && (R = {
3630
+ name: m[0],
3631
+ types: m.slice(1).map((E) => ({
3625
3632
  label: E,
3626
3633
  value: E
3627
3634
  }))
3628
- }), C(k, R, !0);
3635
+ }), w(k, R, !0);
3629
3636
  } catch (c) {
3630
3637
  console.error(c);
3631
3638
  } finally {
3632
3639
  d.value = !1;
3633
3640
  }
3634
- }, L = () => {
3635
- if (v(y) !== "design")
3641
+ }, I = () => {
3642
+ if (v(b) !== "design")
3636
3643
  switch (e.dataType) {
3637
3644
  case "indicator":
3638
- A();
3645
+ _();
3639
3646
  break;
3640
3647
  case "request":
3641
- m();
3648
+ h();
3642
3649
  break;
3643
3650
  }
3644
3651
  };
3645
3652
  he(e, {
3646
- refreshData: L,
3653
+ refreshData: I,
3647
3654
  resetRecord: () => {
3648
- const x = e.id, c = s(x);
3649
- f(x, { ...c, RECORD: "" });
3655
+ const S = e.id, c = s(S);
3656
+ f(S, { ...c, RECORD: "" });
3650
3657
  },
3651
- click: b
3658
+ click: y
3652
3659
  });
3653
- const { setRequest: _ } = P(Se, {
3654
- setRequest: (x) => {
3660
+ const { setRequest: A } = N(Se, {
3661
+ setRequest: (S) => {
3655
3662
  }
3656
3663
  });
3657
- return typeof _ == "function" && _({
3664
+ return typeof A == "function" && A({
3658
3665
  id: e.id,
3659
- requestFn: L,
3666
+ requestFn: I,
3660
3667
  sortNum: e.requestSort
3661
3668
  }), o({
3662
- refreshData: L
3669
+ refreshData: I
3663
3670
  }), {
3664
- option: r,
3671
+ option: i,
3665
3672
  style: t,
3666
- click: b,
3673
+ click: y,
3667
3674
  loading: d,
3668
3675
  visible: l,
3669
- hideModal: i
3676
+ hideModal: r
3670
3677
  };
3671
3678
  }
3672
3679
  });
3673
3680
  function nr(e, o, t, n, a, l) {
3674
- const i = H("echarts"), r = H("spin"), s = H("a-modal");
3675
- return D(), F("div", {
3681
+ const r = H("echarts"), i = H("spin"), s = H("a-modal");
3682
+ return D(), $("div", {
3676
3683
  style: U(e.style)
3677
3684
  }, [
3678
- j(r, { spinning: e.loading }, {
3685
+ G(i, { spinning: e.loading }, {
3679
3686
  default: Y(() => [
3680
- j(i, {
3687
+ G(r, {
3681
3688
  option: e.option,
3682
3689
  autoresize: "",
3683
3690
  onClick: e.click
@@ -3685,7 +3692,7 @@ function nr(e, o, t, n, a, l) {
3685
3692
  ]),
3686
3693
  _: 1
3687
3694
  }, 8, ["spinning"]),
3688
- j(s, {
3695
+ G(s, {
3689
3696
  "wrap-class-name": "full-modal",
3690
3697
  width: "100%",
3691
3698
  visible: e.visible,
@@ -3693,9 +3700,9 @@ function nr(e, o, t, n, a, l) {
3693
3700
  onCancel: e.hideModal
3694
3701
  }, {
3695
3702
  default: Y(() => [
3696
- j(r, { spinning: e.loading }, {
3703
+ G(i, { spinning: e.loading }, {
3697
3704
  default: Y(() => [
3698
- j(i, {
3705
+ G(r, {
3699
3706
  option: e.option,
3700
3707
  "update-options": { notMerge: !0 },
3701
3708
  autoresize: ""
@@ -3820,9 +3827,9 @@ const rr = Q({
3820
3827
  setup(e, { expose: o }) {
3821
3828
  const t = re(e), n = M([]), a = M(!1), l = () => {
3822
3829
  a.value = !1;
3823
- }, i = W(() => {
3824
- const c = v(n), g = c.length, k = [];
3825
- for (let R = 0; R < g; R++) {
3830
+ }, r = q(() => {
3831
+ const c = v(n), m = c.length, k = [];
3832
+ for (let R = 0; R < m; R++) {
3826
3833
  const E = {
3827
3834
  ...c[R],
3828
3835
  type: "bar",
@@ -3836,8 +3843,8 @@ const rr = Q({
3836
3843
  }, k.push(E);
3837
3844
  }
3838
3845
  return k;
3839
- }), r = M([]), s = M(!1), f = W(() => {
3840
- const c = e.yAxisLabelFormatter, g = e.xAxisLabelFormatter;
3846
+ }), i = M([]), s = M(!1), f = q(() => {
3847
+ const c = e.yAxisLabelFormatter, m = e.xAxisLabelFormatter;
3841
3848
  return {
3842
3849
  toolbox: {
3843
3850
  show: e.toolboxShow,
@@ -3895,19 +3902,19 @@ const rr = Q({
3895
3902
  const R = k.length;
3896
3903
  let E = "", T = e.tooltipFormatter;
3897
3904
  T === "" && (T = "{marker} {a} {c}");
3898
- for (let G = 0; G < R; G++) {
3899
- const { marker: J, seriesName: $, name: N, value: z, data: q } = k[G] || {};
3900
- G === 0 && (E += `${N}<br/>`), E += de(
3905
+ for (let j = 0; j < R; j++) {
3906
+ const { marker: J, seriesName: F, name: B, value: z, data: W } = k[j] || {};
3907
+ j === 0 && (E += `${B}<br/>`), E += de(
3901
3908
  T,
3902
3909
  {
3903
3910
  textData: {
3904
3911
  marker: J,
3905
- name: N,
3912
+ name: B,
3906
3913
  value: z,
3907
- a: $,
3908
- b: N,
3914
+ a: F,
3915
+ b: B,
3909
3916
  c: z,
3910
- ...q
3917
+ ...W
3911
3918
  }
3912
3919
  },
3913
3920
  {
@@ -3936,7 +3943,7 @@ const rr = Q({
3936
3943
  },
3937
3944
  xAxis: {
3938
3945
  type: e.isUseHorizontalAxis ? "value" : "category",
3939
- data: e.isUseHorizontalAxis ? null : v(r),
3946
+ data: e.isUseHorizontalAxis ? null : v(i),
3940
3947
  inverse: e.isUseHorizontalAxis ? e.xAxisInverse : e.axisInverse,
3941
3948
  minInterval: e.xAxisMinInterval,
3942
3949
  splitLine: {
@@ -3952,7 +3959,7 @@ const rr = Q({
3952
3959
  width: e.xAxisLabelWidth,
3953
3960
  overflow: e.xAxisLabelOverflow,
3954
3961
  formatter(k) {
3955
- return Ne(g, k);
3962
+ return Ne(m, k);
3956
3963
  }
3957
3964
  },
3958
3965
  axisLine: {
@@ -3966,7 +3973,7 @@ const rr = Q({
3966
3973
  },
3967
3974
  yAxis: {
3968
3975
  type: e.isUseHorizontalAxis ? "category" : "value",
3969
- data: e.isUseHorizontalAxis ? v(r) : null,
3976
+ data: e.isUseHorizontalAxis ? v(i) : null,
3970
3977
  inverse: e.isUseHorizontalAxis ? e.axisInverse : e.yAxisInverse,
3971
3978
  minInterval: e.yAxisMinInterval,
3972
3979
  splitLine: {
@@ -3990,46 +3997,46 @@ const rr = Q({
3990
3997
  }
3991
3998
  }
3992
3999
  },
3993
- series: v(i)
4000
+ series: v(r)
3994
4001
  };
3995
- }), { pageMode: y } = P(fe, {
4002
+ }), { pageMode: b } = N(fe, {
3996
4003
  pageMode: "normal"
3997
- }), S = (c = [], g = !1) => {
4004
+ }), x = (c = [], m = !1) => {
3998
4005
  let k = {};
3999
4006
  if (e.dataFieldConfigType === "key") {
4000
- const R = g ? e.keyTypeDataFieldNames : null;
4007
+ const R = m ? e.keyTypeDataFieldNames : null;
4001
4008
  k = Ge(c, R);
4002
4009
  } else if (e.dataFieldConfigType === "value") {
4003
- const R = g ? e.valueTypeDataFieldNames : null;
4010
+ const R = m ? e.valueTypeDataFieldNames : null;
4004
4011
  k = Qe(c, R);
4005
4012
  }
4006
- n.value = k.dataset, r.value = k.dimensions;
4007
- }, C = (c = [], g, k = !1) => {
4008
- const E = Ge(c, k ? g : null);
4009
- n.value = E.dataset, r.value = E.dimensions;
4013
+ n.value = k.dataset, i.value = k.dimensions;
4014
+ }, w = (c = [], m, k = !1) => {
4015
+ const E = Ge(c, k ? m : null);
4016
+ n.value = E.dataset, i.value = E.dimensions;
4010
4017
  };
4011
4018
  ne(() => e.data, (c) => {
4012
- (e.dataType === "static" || v(y) === "design") && S(c);
4019
+ (e.dataType === "static" || v(b) === "design") && x(c);
4013
4020
  }, {
4014
4021
  immediate: !0,
4015
4022
  deep: !0
4016
4023
  });
4017
4024
  const d = _e(e), u = async () => {
4018
- var c, g;
4025
+ var c, m;
4019
4026
  try {
4020
4027
  s.value = !0;
4021
4028
  const k = await d();
4022
- S((g = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
4029
+ x((m = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : m.rows, !0);
4023
4030
  } catch (k) {
4024
4031
  console.error(k);
4025
4032
  } finally {
4026
4033
  s.value = !1;
4027
4034
  }
4028
- }, m = ot(e), h = async () => {
4035
+ }, h = ot(e), g = async () => {
4029
4036
  var c;
4030
4037
  try {
4031
4038
  s.value = !0;
4032
- const g = await m(), { columns: k = [], rows: R = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
4039
+ const m = await h(), { columns: k = [], rows: R = [] } = ((c = m == null ? void 0 : m.data) == null ? void 0 : c.data) ?? {};
4033
4040
  let E;
4034
4041
  k.length > 0 && (E = {
4035
4042
  name: k[0],
@@ -4037,17 +4044,17 @@ const rr = Q({
4037
4044
  label: T,
4038
4045
  value: T
4039
4046
  }))
4040
- }), C(R, E, !0);
4041
- } catch (g) {
4042
- console.error(g);
4047
+ }), w(R, E, !0);
4048
+ } catch (m) {
4049
+ console.error(m);
4043
4050
  } finally {
4044
4051
  s.value = !1;
4045
4052
  }
4046
- }, b = () => {
4047
- if (v(y) !== "design")
4053
+ }, y = () => {
4054
+ if (v(b) !== "design")
4048
4055
  switch (e.dataType) {
4049
4056
  case "indicator":
4050
- h();
4057
+ g();
4051
4058
  break;
4052
4059
  case "request":
4053
4060
  u();
@@ -4055,40 +4062,40 @@ const rr = Q({
4055
4062
  }
4056
4063
  };
4057
4064
  o({
4058
- refreshData: b
4065
+ refreshData: y
4059
4066
  });
4060
- const w = me(e), { getGlobalModel: A, setGlobalModel: L } = P(ye, {
4067
+ const p = me(e), { getGlobalModel: _, setGlobalModel: I } = N(ye, {
4061
4068
  // @ts-ignore
4062
4069
  // eslint-disable-next-line no-void
4063
4070
  getGlobalModel: (c) => {
4064
4071
  },
4065
4072
  // @ts-ignore
4066
4073
  // eslint-disable-next-line no-void
4067
- setGlobalModel: (c, g) => {
4074
+ setGlobalModel: (c, m) => {
4068
4075
  }
4069
- }), p = w("click", (c) => {
4070
- const g = A(e.id);
4071
- L(e.id, { ...g, RECORD: c.data });
4072
- }), { setRequest: _ } = P(Se, {
4076
+ }), C = p("click", (c) => {
4077
+ const m = _(e.id);
4078
+ I(e.id, { ...m, RECORD: c.data });
4079
+ }), { setRequest: A } = N(Se, {
4073
4080
  setRequest: (c) => {
4074
4081
  }
4075
4082
  });
4076
- return typeof _ == "function" && _({
4083
+ return typeof A == "function" && A({
4077
4084
  id: e.id,
4078
- requestFn: b,
4085
+ requestFn: y,
4079
4086
  sortNum: e.requestSort
4080
4087
  }), he(e, {
4081
- refreshData: b,
4082
- click: p,
4088
+ refreshData: y,
4089
+ click: C,
4083
4090
  resetRecord: () => {
4084
- const c = e.id, g = A(c);
4085
- L(c, { ...g, RECORD: "" });
4091
+ const c = e.id, m = _(c);
4092
+ I(c, { ...m, RECORD: "" });
4086
4093
  }
4087
4094
  }), {
4088
4095
  option: f,
4089
4096
  style: t,
4090
- refreshData: b,
4091
- click: p,
4097
+ refreshData: y,
4098
+ click: C,
4092
4099
  loading: s,
4093
4100
  visible: a,
4094
4101
  hideModal: l
@@ -4096,14 +4103,14 @@ const rr = Q({
4096
4103
  }
4097
4104
  });
4098
4105
  function sr(e, o, t, n, a, l) {
4099
- const i = H("echarts"), r = H("spin"), s = H("a-modal");
4100
- return D(), F("div", {
4106
+ const r = H("echarts"), i = H("spin"), s = H("a-modal");
4107
+ return D(), $("div", {
4101
4108
  class: "ecan-bar",
4102
4109
  style: U(e.style)
4103
4110
  }, [
4104
- j(r, { spinning: e.loading }, {
4111
+ G(i, { spinning: e.loading }, {
4105
4112
  default: Y(() => [
4106
- j(i, {
4113
+ G(r, {
4107
4114
  option: e.option,
4108
4115
  "update-options": { notMerge: !0 },
4109
4116
  autoresize: "",
@@ -4112,7 +4119,7 @@ function sr(e, o, t, n, a, l) {
4112
4119
  ]),
4113
4120
  _: 1
4114
4121
  }, 8, ["spinning"]),
4115
- j(s, {
4122
+ G(s, {
4116
4123
  "wrap-class-name": "full-modal",
4117
4124
  width: "100%",
4118
4125
  visible: e.visible,
@@ -4120,9 +4127,9 @@ function sr(e, o, t, n, a, l) {
4120
4127
  onCancel: e.hideModal
4121
4128
  }, {
4122
4129
  default: Y(() => [
4123
- j(r, { spinning: e.loading }, {
4130
+ G(i, { spinning: e.loading }, {
4124
4131
  default: Y(() => [
4125
- j(i, {
4132
+ G(r, {
4126
4133
  option: e.option,
4127
4134
  "update-options": { notMerge: !0 },
4128
4135
  autoresize: ""
@@ -4218,8 +4225,8 @@ const fr = Q({
4218
4225
  setup(e) {
4219
4226
  const o = re(e), t = M([]), n = M(!1), a = () => {
4220
4227
  n.value = !1;
4221
- }, l = W(() => {
4222
- const w = e.xAxisLabelFormatter, A = e.yAxisLabelFormatter;
4228
+ }, l = q(() => {
4229
+ const p = e.xAxisLabelFormatter, _ = e.yAxisLabelFormatter;
4223
4230
  return {
4224
4231
  toolbox: {
4225
4232
  show: e.toolboxShow,
@@ -4284,8 +4291,8 @@ const fr = Q({
4284
4291
  rotate: e.xAxisLabelRotate,
4285
4292
  width: e.xAxisLabelWidth,
4286
4293
  overflow: e.xAxisLabelOverflow,
4287
- formatter(L) {
4288
- return Ne(w, L);
4294
+ formatter(I) {
4295
+ return Ne(p, I);
4289
4296
  }
4290
4297
  },
4291
4298
  axisLine: {
@@ -4306,8 +4313,8 @@ const fr = Q({
4306
4313
  },
4307
4314
  axisLabel: {
4308
4315
  color: e.yAxisLabelColor,
4309
- formatter(L) {
4310
- return Ne(A, L);
4316
+ formatter(I) {
4317
+ return Ne(_, I);
4311
4318
  }
4312
4319
  },
4313
4320
  axisLine: {
@@ -4320,17 +4327,17 @@ const fr = Q({
4320
4327
  tooltip: {
4321
4328
  show: e.tooltipShow,
4322
4329
  trigger: e.tooltipTrigger,
4323
- formatter: function(L) {
4330
+ formatter: function(I) {
4324
4331
  var k;
4325
- const { marker: p, seriesName: _ } = L, x = ((k = L == null ? void 0 : L.data) == null ? void 0 : k.record) ?? {}, { name: c, value: g } = x;
4332
+ const { marker: C, seriesName: A } = I, S = ((k = I == null ? void 0 : I.data) == null ? void 0 : k.record) ?? {}, { name: c, value: m } = S;
4326
4333
  return de(e.tooltipFormatter, {
4327
4334
  textData: {
4328
- marker: p,
4329
- seriesName: _,
4330
- a: _,
4335
+ marker: C,
4336
+ seriesName: A,
4337
+ a: A,
4331
4338
  b: c,
4332
- c: g,
4333
- ...x
4339
+ c: m,
4340
+ ...S
4334
4341
  }
4335
4342
  });
4336
4343
  },
@@ -4353,80 +4360,80 @@ const fr = Q({
4353
4360
  }
4354
4361
  ]
4355
4362
  };
4356
- }), { getGlobalModel: i, setGlobalModel: r } = P(ye, {
4363
+ }), { getGlobalModel: r, setGlobalModel: i } = N(ye, {
4357
4364
  // @ts-ignore
4358
4365
  // eslint-disable-next-line no-void
4359
- getGlobalModel: (w) => {
4366
+ getGlobalModel: (p) => {
4360
4367
  },
4361
4368
  // @ts-ignore
4362
4369
  // eslint-disable-next-line no-void
4363
- setGlobalModel: (w, A) => {
4370
+ setGlobalModel: (p, _) => {
4364
4371
  }
4365
- }), { pageMode: s } = P(fe, {
4372
+ }), { pageMode: s } = N(fe, {
4366
4373
  pageMode: "normal"
4367
- }), f = (w = [], A) => {
4368
- const { name: L = "name", value: p = "value" } = A || {};
4369
- t.value = w.map((_) => ({ value: [_[L], _[p]], record: _ }));
4374
+ }), f = (p = [], _) => {
4375
+ const { name: I = "name", value: C = "value" } = _ || {};
4376
+ t.value = p.map((A) => ({ value: [A[I], A[C]], record: A }));
4370
4377
  };
4371
- ne(() => e.data, (w) => {
4372
- (e.dataType === "static" || v(s) === "design") && f(w);
4378
+ ne(() => e.data, (p) => {
4379
+ (e.dataType === "static" || v(s) === "design") && f(p);
4373
4380
  }, {
4374
4381
  immediate: !0,
4375
4382
  deep: !0
4376
4383
  });
4377
- const y = M(!1), S = _e(e), C = async () => {
4378
- var w, A;
4384
+ const b = M(!1), x = _e(e), w = async () => {
4385
+ var p, _;
4379
4386
  if (!(e.dataType !== "request" || v(s) === "design")) {
4380
- y.value = !0;
4387
+ b.value = !0;
4381
4388
  try {
4382
- const L = await S();
4383
- f((A = (w = L == null ? void 0 : L.data) == null ? void 0 : w.data) == null ? void 0 : A.rows, e.dataFieldNames);
4384
- } catch (L) {
4385
- console.error(L);
4389
+ const I = await x();
4390
+ f((_ = (p = I == null ? void 0 : I.data) == null ? void 0 : p.data) == null ? void 0 : _.rows, e.dataFieldNames);
4391
+ } catch (I) {
4392
+ console.error(I);
4386
4393
  } finally {
4387
- y.value = !1;
4394
+ b.value = !1;
4388
4395
  }
4389
4396
  }
4390
- }, u = me(e)("click", (w) => {
4391
- const A = e.id, L = i(A);
4392
- r(A, { ...L, RECORD: w == null ? void 0 : w.data });
4397
+ }, u = me(e)("click", (p) => {
4398
+ const _ = e.id, I = r(_);
4399
+ i(_, { ...I, RECORD: p == null ? void 0 : p.data });
4393
4400
  });
4394
4401
  he(e, {
4395
4402
  refreshData: () => {
4396
- C();
4403
+ w();
4397
4404
  },
4398
4405
  click: u,
4399
4406
  resetRecord: () => {
4400
- const w = e.id, A = i(w);
4401
- r(w, { ...A, RECORD: "" });
4407
+ const p = e.id, _ = r(p);
4408
+ i(p, { ..._, RECORD: "" });
4402
4409
  }
4403
4410
  });
4404
- const { setRequest: b } = P(Se, {
4405
- setRequest: (w) => {
4411
+ const { setRequest: y } = N(Se, {
4412
+ setRequest: (p) => {
4406
4413
  }
4407
4414
  });
4408
- return typeof b == "function" && b({
4415
+ return typeof y == "function" && y({
4409
4416
  id: e.id,
4410
- requestFn: C,
4417
+ requestFn: w,
4411
4418
  sortNum: e.requestSort
4412
4419
  }), {
4413
4420
  option: l,
4414
4421
  style: o,
4415
4422
  click: u,
4416
- loading: y,
4423
+ loading: b,
4417
4424
  visible: n,
4418
4425
  hideModal: a
4419
4426
  };
4420
4427
  }
4421
4428
  });
4422
4429
  function mr(e, o, t, n, a, l) {
4423
- const i = H("echarts"), r = H("spin"), s = H("a-modal");
4424
- return D(), F("div", {
4430
+ const r = H("echarts"), i = H("spin"), s = H("a-modal");
4431
+ return D(), $("div", {
4425
4432
  style: U(e.style)
4426
4433
  }, [
4427
- j(r, { spinning: e.loading }, {
4434
+ G(i, { spinning: e.loading }, {
4428
4435
  default: Y(() => [
4429
- j(i, {
4436
+ G(r, {
4430
4437
  option: e.option,
4431
4438
  autoresize: "",
4432
4439
  onClick: e.click
@@ -4434,7 +4441,7 @@ function mr(e, o, t, n, a, l) {
4434
4441
  ]),
4435
4442
  _: 1
4436
4443
  }, 8, ["spinning"]),
4437
- j(s, {
4444
+ G(s, {
4438
4445
  "wrap-class-name": "full-modal",
4439
4446
  width: "100%",
4440
4447
  visible: e.visible,
@@ -4442,9 +4449,9 @@ function mr(e, o, t, n, a, l) {
4442
4449
  onCancel: e.hideModal
4443
4450
  }, {
4444
4451
  default: Y(() => [
4445
- j(r, { spinning: e.loading }, {
4452
+ G(i, { spinning: e.loading }, {
4446
4453
  default: Y(() => [
4447
- j(i, {
4454
+ G(r, {
4448
4455
  option: e.option,
4449
4456
  "update-options": { notMerge: !0 },
4450
4457
  autoresize: ""
@@ -4494,11 +4501,11 @@ const gr = /* @__PURE__ */ K(fr, [["render", mr]]), hr = ae(gr), mn = {
4494
4501
  }
4495
4502
  });
4496
4503
  function br(e, o, t, n, a, l) {
4497
- const i = H("echarts");
4498
- return D(), F("div", {
4504
+ const r = H("echarts");
4505
+ return D(), $("div", {
4499
4506
  style: U(e.style)
4500
4507
  }, [
4501
- j(i, {
4508
+ G(r, {
4502
4509
  option: e.myOption,
4503
4510
  "update-options": { notMerge: !0 },
4504
4511
  autoresize: ""
@@ -4637,9 +4644,9 @@ const Sr = Q({
4637
4644
  AModal: Ae
4638
4645
  },
4639
4646
  setup(e, { expose: o }) {
4640
- const t = re(e), n = M([]), a = M([]), l = M(!1), i = () => {
4647
+ const t = re(e), n = M([]), a = M([]), l = M(!1), r = () => {
4641
4648
  l.value = !1;
4642
- }, r = W(() => ({
4649
+ }, i = q(() => ({
4643
4650
  title: {
4644
4651
  text: e.titleText,
4645
4652
  subtext: e.titleSubtext,
@@ -4702,24 +4709,24 @@ const Sr = Q({
4702
4709
  trigger: "axis",
4703
4710
  show: e.tooltipShow,
4704
4711
  formatter: (c) => {
4705
- const g = c.length;
4712
+ const m = c.length;
4706
4713
  let k = "", R = e.tooltipFormatter;
4707
4714
  R === "" && (R = "{marker} {a} {c}");
4708
4715
  const E = e.seriesTypes;
4709
- for (let T = 0; T < g; T++) {
4710
- const G = E[T], { tooltipFormatter: J } = G || {}, { marker: $, seriesName: N, name: z, value: q, data: X } = c[T] || {};
4716
+ for (let T = 0; T < m; T++) {
4717
+ const j = E[T], { tooltipFormatter: J } = j || {}, { marker: F, seriesName: B, name: z, value: W, data: X } = c[T] || {};
4711
4718
  T === 0 && (k += `${z}<br/>`), k += de(
4712
4719
  // 如果系列有提示框组件就使用自定义,没有就用默认的
4713
4720
  J || R,
4714
4721
  {
4715
4722
  textData: {
4716
- marker: $,
4723
+ marker: F,
4717
4724
  name: z,
4718
- value: q,
4719
- seriesName: N,
4720
- a: N,
4725
+ value: W,
4726
+ seriesName: B,
4727
+ a: B,
4721
4728
  b: z,
4722
- c: q,
4729
+ c: W,
4723
4730
  ...X
4724
4731
  }
4725
4732
  },
@@ -4761,30 +4768,30 @@ const Sr = Q({
4761
4768
  show: e.xAxisTickShow
4762
4769
  }
4763
4770
  },
4764
- yAxis: v(S),
4771
+ yAxis: v(x),
4765
4772
  series: v(n)
4766
- })), { pageMode: s } = P(fe, {
4773
+ })), { pageMode: s } = N(fe, {
4767
4774
  pageMode: "normal"
4768
- }), f = (c = [], g = !1) => {
4775
+ }), f = (c = [], m = !1) => {
4769
4776
  let k;
4770
4777
  if (e.dataFieldConfigType === "key") {
4771
- const J = g ? e.keyTypeDataFieldNames : null;
4778
+ const J = m ? e.keyTypeDataFieldNames : null;
4772
4779
  k = Ge(c, J);
4773
4780
  } else if (e.dataFieldConfigType === "value") {
4774
- const J = g ? e.valueTypeDataFieldNames : null;
4781
+ const J = m ? e.valueTypeDataFieldNames : null;
4775
4782
  k = Qe(c, J);
4776
4783
  }
4777
4784
  a.value = k.dimensions;
4778
- const R = k.dataset, E = [], T = R.length, G = e.seriesTypes;
4785
+ const R = k.dataset, E = [], T = R.length, j = e.seriesTypes;
4779
4786
  for (let J = 0; J < T; J++) {
4780
- const $ = G[J], { type: N, axisIndex: z } = $ || {};
4781
- let q = {
4782
- type: N,
4787
+ const F = j[J], { type: B, axisIndex: z } = F || {};
4788
+ let W = {
4789
+ type: B,
4783
4790
  yAxisIndex: z,
4784
4791
  ...R[J]
4785
4792
  };
4786
- N === "line" && (q = {
4787
- ...q,
4793
+ B === "line" && (W = {
4794
+ ...W,
4788
4795
  symbolSize: e.symbolSize,
4789
4796
  smooth: e.smooth,
4790
4797
  areaStyle: {
@@ -4793,25 +4800,25 @@ const Sr = Q({
4793
4800
  lineStyle: {
4794
4801
  width: e.lineStyleWidth
4795
4802
  }
4796
- }), N === "bar" && (q = {
4797
- ...q,
4803
+ }), B === "bar" && (W = {
4804
+ ...W,
4798
4805
  barWidth: e.barWidth
4799
- }), E.push(q);
4806
+ }), E.push(W);
4800
4807
  }
4801
4808
  n.value = E;
4802
- }, y = (c = [], g, k = !1) => {
4803
- const E = Ge(c, k ? g : null);
4809
+ }, b = (c = [], m, k = !1) => {
4810
+ const E = Ge(c, k ? m : null);
4804
4811
  a.value = E.dimensions;
4805
- const T = E.dataset, G = [], J = T.length, $ = e.seriesTypes;
4806
- for (let N = 0; N < J; N++) {
4807
- const z = $[N];
4808
- G.push({
4812
+ const T = E.dataset, j = [], J = T.length, F = e.seriesTypes;
4813
+ for (let B = 0; B < J; B++) {
4814
+ const z = F[B];
4815
+ j.push({
4809
4816
  type: z == null ? void 0 : z.type,
4810
4817
  yAxisIndex: z == null ? void 0 : z.axisIndex,
4811
- ...T[N]
4818
+ ...T[B]
4812
4819
  });
4813
4820
  }
4814
- n.value = G;
4821
+ n.value = j;
4815
4822
  };
4816
4823
  ne(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([c]) => {
4817
4824
  (e.dataType === "static" || v(s) === "design") && f(c);
@@ -4819,9 +4826,9 @@ const Sr = Q({
4819
4826
  immediate: !0,
4820
4827
  deep: !0
4821
4828
  });
4822
- const S = W(() => {
4829
+ const x = q(() => {
4823
4830
  const c = e.yAxis;
4824
- return c == null ? void 0 : c.map((g) => ({
4831
+ return c == null ? void 0 : c.map((m) => ({
4825
4832
  type: "value",
4826
4833
  minInterval: e.yAxisMinInterval,
4827
4834
  splitLine: {
@@ -4833,7 +4840,7 @@ const Sr = Q({
4833
4840
  axisLabel: {
4834
4841
  color: e.yAxisLabelColor,
4835
4842
  formatter(k) {
4836
- return Ne(g.axisLabelFormatter, k);
4843
+ return Ne(m.axisLabelFormatter, k);
4837
4844
  }
4838
4845
  },
4839
4846
  axisLine: {
@@ -4842,23 +4849,23 @@ const Sr = Q({
4842
4849
  }
4843
4850
  }
4844
4851
  }));
4845
- }), C = M(!1), d = _e(e), u = async () => {
4846
- var c, g;
4852
+ }), w = M(!1), d = _e(e), u = async () => {
4853
+ var c, m;
4847
4854
  if (!(e.dataType !== "request" || v(s) === "design"))
4848
4855
  try {
4849
- C.value = !0;
4856
+ w.value = !0;
4850
4857
  const k = await d();
4851
- f((g = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
4858
+ f((m = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : m.rows, !0);
4852
4859
  } catch (k) {
4853
4860
  console.error(k);
4854
4861
  } finally {
4855
- C.value = !1;
4862
+ w.value = !1;
4856
4863
  }
4857
- }, m = ot(e), h = async () => {
4864
+ }, h = ot(e), g = async () => {
4858
4865
  var c;
4859
4866
  try {
4860
- C.value = !0;
4861
- const g = await m(), { columns: k = [], rows: R = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
4867
+ w.value = !0;
4868
+ const m = await h(), { columns: k = [], rows: R = [] } = ((c = m == null ? void 0 : m.data) == null ? void 0 : c.data) ?? {};
4862
4869
  let E;
4863
4870
  k.length > 0 && (E = {
4864
4871
  name: k[0],
@@ -4866,17 +4873,17 @@ const Sr = Q({
4866
4873
  label: T,
4867
4874
  value: T
4868
4875
  }))
4869
- }), y(R, E, !0);
4870
- } catch (g) {
4871
- console.error(g);
4876
+ }), b(R, E, !0);
4877
+ } catch (m) {
4878
+ console.error(m);
4872
4879
  } finally {
4873
- C.value = !1;
4880
+ w.value = !1;
4874
4881
  }
4875
- }, b = () => {
4882
+ }, y = () => {
4876
4883
  if (v(s) !== "design")
4877
4884
  switch (e.dataType) {
4878
4885
  case "indicator":
4879
- h();
4886
+ g();
4880
4887
  break;
4881
4888
  case "request":
4882
4889
  u();
@@ -4884,53 +4891,53 @@ const Sr = Q({
4884
4891
  }
4885
4892
  };
4886
4893
  o({
4887
- refreshData: b
4894
+ refreshData: y
4888
4895
  });
4889
- const w = me(e), { getGlobalModel: A, setGlobalModel: L } = P(ye, {
4896
+ const p = me(e), { getGlobalModel: _, setGlobalModel: I } = N(ye, {
4890
4897
  // @ts-ignore
4891
4898
  // eslint-disable-next-line no-void
4892
4899
  getGlobalModel: (c) => {
4893
4900
  },
4894
4901
  // @ts-ignore
4895
4902
  // eslint-disable-next-line no-void
4896
- setGlobalModel: (c, g) => {
4903
+ setGlobalModel: (c, m) => {
4897
4904
  }
4898
- }), p = w("click", (c) => {
4899
- const g = A(e.id);
4900
- L(e.id, { ...g, RECORD: c == null ? void 0 : c.data });
4901
- }), { setRequest: _ } = P(Se, {
4905
+ }), C = p("click", (c) => {
4906
+ const m = _(e.id);
4907
+ I(e.id, { ...m, RECORD: c == null ? void 0 : c.data });
4908
+ }), { setRequest: A } = N(Se, {
4902
4909
  setRequest: (c) => {
4903
4910
  }
4904
4911
  });
4905
- return typeof _ == "function" && _({
4912
+ return typeof A == "function" && A({
4906
4913
  id: e.id,
4907
- requestFn: b,
4914
+ requestFn: y,
4908
4915
  sortNum: e.requestSort
4909
4916
  }), he(e, {
4910
4917
  resetRecord: () => {
4911
- const c = e.id, g = A(c);
4912
- L(c, { ...g, RECORD: "" });
4918
+ const c = e.id, m = _(c);
4919
+ I(c, { ...m, RECORD: "" });
4913
4920
  },
4914
- refreshData: b,
4915
- click: p
4921
+ refreshData: y,
4922
+ click: C
4916
4923
  }), {
4917
4924
  style: t,
4918
- option: r,
4919
- click: p,
4920
- loading: C,
4925
+ option: i,
4926
+ click: C,
4927
+ loading: w,
4921
4928
  visible: l,
4922
- hideModal: i
4929
+ hideModal: r
4923
4930
  };
4924
4931
  }
4925
4932
  });
4926
4933
  function wr(e, o, t, n, a, l) {
4927
- const i = H("echarts"), r = H("spin"), s = H("a-modal");
4928
- return D(), F("div", {
4934
+ const r = H("echarts"), i = H("spin"), s = H("a-modal");
4935
+ return D(), $("div", {
4929
4936
  style: U(e.style)
4930
4937
  }, [
4931
- j(r, { spinning: e.loading }, {
4938
+ G(i, { spinning: e.loading }, {
4932
4939
  default: Y(() => [
4933
- j(i, {
4940
+ G(r, {
4934
4941
  option: e.option,
4935
4942
  "update-options": { notMerge: !0 },
4936
4943
  autoresize: "",
@@ -4939,7 +4946,7 @@ function wr(e, o, t, n, a, l) {
4939
4946
  ]),
4940
4947
  _: 1
4941
4948
  }, 8, ["spinning"]),
4942
- j(s, {
4949
+ G(s, {
4943
4950
  "wrap-class-name": "full-modal",
4944
4951
  width: "100%",
4945
4952
  visible: e.visible,
@@ -4947,9 +4954,9 @@ function wr(e, o, t, n, a, l) {
4947
4954
  onCancel: e.hideModal
4948
4955
  }, {
4949
4956
  default: Y(() => [
4950
- j(r, { spinning: e.loading }, {
4957
+ G(i, { spinning: e.loading }, {
4951
4958
  default: Y(() => [
4952
- j(i, {
4959
+ G(r, {
4953
4960
  option: e.option,
4954
4961
  "update-options": { notMerge: !0 },
4955
4962
  autoresize: "",
@@ -4990,9 +4997,9 @@ const xr = /* @__PURE__ */ K(Sr, [["render", wr]]), kr = ae(xr), bn = {
4990
4997
  ...vn
4991
4998
  },
4992
4999
  setup(e) {
4993
- const o = re(e, ["background"]), { theme: t } = P(fe, {
5000
+ const o = re(e, ["background"]), { theme: t } = N(fe, {
4994
5001
  theme: "light"
4995
- }), n = W(() => ({
5002
+ }), n = q(() => ({
4996
5003
  // borderWidth: props.borderWidth,
4997
5004
  // borderStyle: props.borderStyle,
4998
5005
  // borderRadius: props.borderRadius,
@@ -5001,24 +5008,24 @@ const xr = /* @__PURE__ */ K(Sr, [["render", wr]]), kr = ae(xr), bn = {
5001
5008
  width: "100%",
5002
5009
  height: "100%"
5003
5010
  })), l = me(e)("click", () => {
5004
- }), i = M([]);
5011
+ }), r = M([]);
5005
5012
  ne(() => e.data, (s) => {
5006
- i.value = s;
5013
+ r.value = s;
5007
5014
  }, {
5008
5015
  immediate: !0,
5009
5016
  deep: !0
5010
5017
  }), he(e, {
5011
5018
  click: l
5012
5019
  });
5013
- const { setGlobalModel: r } = P(ye, {
5020
+ const { setGlobalModel: i } = N(ye, {
5014
5021
  // @ts-ignore
5015
5022
  // eslint-disable-next-line no-void
5016
5023
  setGlobalModel: (s, f) => {
5017
5024
  }
5018
5025
  });
5019
- return r(e.id, {
5026
+ return i(e.id, {
5020
5027
  type: e.type,
5021
- value: i
5028
+ value: r
5022
5029
  }), {
5023
5030
  style: o,
5024
5031
  click: l,
@@ -5038,24 +5045,24 @@ const Te = (e) => (fo("data-v-1550b11b"), e = e(), mo(), e), Ir = /* @__PURE__ *
5038
5045
  class: "left-title"
5039
5046
  }, qr = { class: "title" };
5040
5047
  function jr(e, o, t, n, a, l) {
5041
- return D(), F("div", {
5048
+ return D(), $("div", {
5042
5049
  class: "ecan-border",
5043
5050
  style: U(e.style),
5044
- onClick: o[0] || (o[0] = (...i) => e.click && e.click(...i))
5051
+ onClick: o[0] || (o[0] = (...r) => e.click && e.click(...r))
5045
5052
  }, [
5046
- e.mode === "no-title" ? (D(), F("div", {
5053
+ e.mode === "no-title" ? (D(), $("div", {
5047
5054
  key: 0,
5048
5055
  class: "no-title",
5049
5056
  style: U(e.borderStyle)
5050
5057
  }, [
5051
- e.useBorderModify ? (D(), F(Me, { key: 0 }, [
5058
+ e.useBorderModify ? (D(), $(Me, { key: 0 }, [
5052
5059
  Ir,
5053
5060
  Mr,
5054
5061
  Er,
5055
5062
  Dr
5056
5063
  ], 64)) : ve("", !0)
5057
5064
  ], 4)) : ve("", !0),
5058
- e.mode === "top-title" ? (D(), F("div", {
5065
+ e.mode === "top-title" ? (D(), $("div", {
5059
5066
  key: 1,
5060
5067
  class: "top-title",
5061
5068
  style: U(e.borderStyle)
@@ -5072,7 +5079,7 @@ function jr(e, o, t, n, a, l) {
5072
5079
  Br,
5073
5080
  Ur
5074
5081
  ], 4)) : ve("", !0),
5075
- e.mode === "left-title" ? (D(), F("div", Gr, [
5082
+ e.mode === "left-title" ? (D(), $("div", Gr, [
5076
5083
  ee("div", qr, [
5077
5084
  ee("span", null, be(e.title), 1)
5078
5085
  ])
@@ -5106,7 +5113,7 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5106
5113
  ...Cn
5107
5114
  },
5108
5115
  setup(e) {
5109
- const o = () => document.getElementById("ProviderConfig") || document.body, t = W(() => {
5116
+ const o = () => document.getElementById("ProviderConfig") || document.body, t = q(() => {
5110
5117
  const z = e.position;
5111
5118
  return {
5112
5119
  verticalAlign: {
@@ -5116,89 +5123,89 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5116
5123
  bottom: "bottom"
5117
5124
  }[z]
5118
5125
  };
5119
- }), n = e.width, a = e.height, l = e.originalWidth, i = e.originalHeight, r = M("80%"), s = M(0), f = M(), y = M(0), S = M({}), C = re(e), d = M({}), u = M(!1), m = M();
5120
- let h;
5121
- const b = () => {
5126
+ }), n = e.width, a = e.height, l = e.originalWidth, r = e.originalHeight, i = M("80%"), s = M(0), f = M(), b = M(0), x = M({}), w = re(e), d = M({}), u = M(!1), h = M();
5127
+ let g;
5128
+ const y = () => {
5122
5129
  f.value = parseFloat(n) / parseFloat(l);
5123
- const z = parseFloat(a) / parseFloat(i), q = document.body.offsetWidth, X = document.body.offsetHeight;
5124
- s.value = q * v(f), y.value = X * z, r.value = `${v(f) * 100}%`, S.value = {
5130
+ const z = parseFloat(a) / parseFloat(r), W = document.body.offsetWidth, X = document.body.offsetHeight;
5131
+ s.value = W * v(f), b.value = X * z, i.value = `${v(f) * 100}%`, x.value = {
5125
5132
  width: `${v(s)}px`,
5126
- height: `${v(y)}px`
5133
+ height: `${v(b)}px`
5127
5134
  }, d.value = {
5128
- ...v(C),
5135
+ ...v(w),
5129
5136
  backgroundImage: $e(e.backgroundImage, !0),
5130
- transform: `scale(${v(s) / parseFloat(n)},${v(y) / parseFloat(a)})`
5137
+ transform: `scale(${v(s) / parseFloat(n)},${v(b) / parseFloat(a)})`
5131
5138
  };
5132
- }, w = Rt(() => {
5133
- b();
5134
- }, 100), A = () => {
5139
+ }, p = Rt(() => {
5140
+ y();
5141
+ }, 100), _ = () => {
5135
5142
  const z = window.MutationObserver;
5136
- h = new z(w), h.observe(document.body, {
5143
+ g = new z(p), g.observe(document.body, {
5137
5144
  attributes: !0,
5138
5145
  attributeFilter: ["style"],
5139
5146
  attributeOldValue: !0
5140
5147
  });
5141
- }, L = () => {
5142
- h && (h.disconnect(), h.takeRecords(), h = null);
5143
- }, p = M(!1), { touchRequest: _ } = P(Se, {
5148
+ }, I = () => {
5149
+ g && (g.disconnect(), g.takeRecords(), g = null);
5150
+ }, C = M(!1), { touchRequest: A } = N(Se, {
5144
5151
  // @ts-ignore
5145
5152
  // eslint-disable-next-line no-void
5146
5153
  touchRequest: () => {
5147
5154
  }
5148
- }), x = () => {
5149
- p.value = !0;
5155
+ }), S = () => {
5156
+ C.value = !0;
5150
5157
  }, c = () => {
5151
- p.value = !1;
5152
- }, g = () => {
5158
+ C.value = !1;
5159
+ }, m = () => {
5153
5160
  c();
5154
5161
  }, k = () => {
5155
5162
  c();
5156
- }, { setModalModel: R, pushUseModalIds: E, popUseModalIds: T } = P(Oo, {
5163
+ }, { setModalModel: R, pushUseModalIds: E, popUseModalIds: T } = N(Oo, {
5157
5164
  pushUseModalIds: (z) => {
5158
5165
  },
5159
5166
  popUseModalIds: () => {
5160
5167
  },
5161
- setModalModel: (z, q) => {
5168
+ setModalModel: (z, W) => {
5162
5169
  }
5163
- }), G = () => {
5170
+ }), j = () => {
5164
5171
  const z = e.id;
5165
- let q = [];
5172
+ let W = [];
5166
5173
  const X = e.componentList;
5167
- console.log("componentList", X), Array.isArray(X) && (q = X.map((ie) => ie.id), R(z, [...new Set(q)]));
5174
+ console.log("componentList", X), Array.isArray(X) && (W = X.map((ie) => ie.id), R(z, [...new Set(W)]));
5168
5175
  };
5169
- ne(() => p.value, async (z) => {
5170
- z ? (u.value = !1, E(e.id), G(), await gt(() => {
5171
- b(), window.addEventListener("resize", w), A(), u.value = !0;
5172
- }), _()) : (T(), window.removeEventListener("resize", w), L());
5176
+ ne(() => C.value, async (z) => {
5177
+ z ? (u.value = !1, E(e.id), j(), await mt(() => {
5178
+ y(), window.addEventListener("resize", p), _(), u.value = !0;
5179
+ }), A()) : (T(), window.removeEventListener("resize", p), I());
5173
5180
  });
5174
- const J = W(() => v(f) >= 1), $ = W(() => e.fullModal), N = W(() => {
5181
+ const J = q(() => v(f) >= 1), F = q(() => e.fullModal), B = q(() => {
5175
5182
  let z = "ecan-modal";
5176
- return v(J) && (z += " ecan-full-width-modal"), v($) && (z += " ecan-full-modal"), z;
5183
+ return v(J) && (z += " ecan-full-width-modal"), v(F) && (z += " ecan-full-modal"), z;
5177
5184
  });
5178
5185
  return he(e, {
5179
- showModal: x
5186
+ showModal: S
5180
5187
  }), {
5181
- modalRef: m,
5182
- containStyle: S,
5188
+ modalRef: h,
5189
+ containStyle: x,
5183
5190
  contentStyle: d,
5184
5191
  getContainer: o,
5185
5192
  modalStyle: t,
5186
- modalWith: r,
5187
- isFullModal: $,
5188
- style: C,
5189
- visible: p,
5190
- showModal: x,
5191
- onOk: g,
5193
+ modalWith: i,
5194
+ isFullModal: F,
5195
+ style: w,
5196
+ visible: C,
5197
+ showModal: S,
5198
+ onOk: m,
5192
5199
  onCancel: k,
5193
5200
  isFullWidth: J,
5194
- wrapClassName: N,
5201
+ wrapClassName: B,
5195
5202
  ready: u
5196
5203
  };
5197
5204
  }
5198
5205
  });
5199
5206
  function Jr(e, o, t, n, a, l) {
5200
- const i = H("a-modal");
5201
- return D(), Re(i, {
5207
+ const r = H("a-modal");
5208
+ return D(), Re(r, {
5202
5209
  getContainer: e.getContainer,
5203
5210
  wrapClassName: e.wrapClassName,
5204
5211
  centered: "",
@@ -5217,14 +5224,14 @@ function Jr(e, o, t, n, a, l) {
5217
5224
  ref: "containRef",
5218
5225
  style: U(e.containStyle)
5219
5226
  }, [
5220
- e.ready ? (D(), F("div", {
5227
+ e.ready ? (D(), $("div", {
5221
5228
  key: 0,
5222
5229
  class: "content",
5223
5230
  style: U(e.contentStyle)
5224
5231
  }, [
5225
- (D(!0), F(Me, null, De(e.componentList, (r, s) => (D(), Re(Fn(r.type), zn({
5226
- key: r.id + s
5227
- }, r), null, 16))), 128))
5232
+ (D(!0), $(Me, null, De(e.componentList, (i, s) => (D(), Re(Fn(i.type), zn({
5233
+ key: i.id + s
5234
+ }, i), null, 16))), 128))
5228
5235
  ], 4)) : ve("", !0)
5229
5236
  ], 4)
5230
5237
  ]),
@@ -5292,61 +5299,61 @@ const Yr = /* @__PURE__ */ K(Zr, [["render", Jr], ["__scopeId", "data-v-d94f0d60
5292
5299
  }, {
5293
5300
  immediate: !0
5294
5301
  });
5295
- const { pageMode: n } = P(fe, {
5302
+ const { pageMode: n } = N(fe, {
5296
5303
  pageMode: "normal"
5297
5304
  });
5298
5305
  let a = null;
5299
5306
  const l = () => {
5300
- const d = Array.isArray(v(i)) ? v(i).length - 1 : 0;
5307
+ const d = Array.isArray(v(r)) ? v(r).length - 1 : 0;
5301
5308
  e.autoSwitch && d > 0 && (a = setInterval(() => {
5302
5309
  const u = v(t) + 1;
5303
- u <= d ? t.value = u : t.value = 0, r.value = v(i)[v(t)], S();
5310
+ u <= d ? t.value = u : t.value = 0, i.value = v(r)[v(t)], x();
5304
5311
  }, e.autoSwitchInterval * 1e3));
5305
5312
  };
5306
5313
  Ue(() => {
5307
5314
  v(n) !== "design" && l();
5308
- }), Lt(() => {
5315
+ }), Tt(() => {
5309
5316
  clearInterval(a);
5310
5317
  });
5311
- const i = M([]), r = M({});
5318
+ const r = M([]), i = M({});
5312
5319
  ne(() => e.data, (d) => {
5313
- i.value = d, r.value = Array.isArray(d) && d.length > 0 ? d[0] : {};
5320
+ r.value = d, i.value = Array.isArray(d) && d.length > 0 ? d[0] : {};
5314
5321
  }, {
5315
5322
  immediate: !0,
5316
5323
  deep: !0
5317
5324
  });
5318
- const s = (d) => t.value === d, f = me(e), { setGlobalModel: y } = P(ye, {
5325
+ const s = (d) => t.value === d, f = me(e), { setGlobalModel: b } = N(ye, {
5319
5326
  // @ts-ignore
5320
5327
  // eslint-disable-next-line no-void
5321
5328
  setGlobalModel: (d, u) => {
5322
5329
  }
5323
5330
  });
5324
- y(e.id, {
5325
- value: r,
5331
+ b(e.id, {
5332
+ value: i,
5326
5333
  activeKey: t
5327
5334
  });
5328
- const { emitRefreshPage: S } = P(Je, {
5335
+ const { emitRefreshPage: x } = N(Je, {
5329
5336
  // eslint-disable-next-line no-void
5330
5337
  emitRefreshPage: () => {
5331
5338
  }
5332
- }), C = f("tabChange", (d, u) => {
5333
- u !== v(t) && (r.value = d, t.value = u, S());
5339
+ }), w = f("tabChange", (d, u) => {
5340
+ u !== v(t) && (i.value = d, t.value = u, x());
5334
5341
  });
5335
5342
  return he(e, {
5336
- tabChange: C
5343
+ tabChange: w
5337
5344
  }), {
5338
5345
  style: o,
5339
5346
  activeKey: t,
5340
5347
  isActive: s,
5341
- tabChange: C,
5342
- myData: i,
5348
+ tabChange: w,
5349
+ myData: r,
5343
5350
  useImagePath: $e
5344
5351
  };
5345
5352
  }
5346
5353
  });
5347
5354
  const es = ["onClick"];
5348
5355
  function ts(e, o, t, n, a, l) {
5349
- return D(), F("div", {
5356
+ return D(), $("div", {
5350
5357
  class: "ecan-tabs",
5351
5358
  style: U(e.style)
5352
5359
  }, [
@@ -5359,25 +5366,25 @@ function ts(e, o, t, n, a, l) {
5359
5366
  flexDirection: e.tabFlexDirection
5360
5367
  })
5361
5368
  }, [
5362
- (D(!0), F(Me, null, De(e.myData, (i, r) => (D(), F("div", {
5369
+ (D(!0), $(Me, null, De(e.myData, (r, i) => (D(), $("div", {
5363
5370
  class: "tab",
5364
5371
  style: U({
5365
5372
  padding: `5px ${e.tabHorizontalPadding}`,
5366
- color: e.isActive(r) ? e.activeTabColor : e.tabColor,
5367
- backgroundImage: e.isActive(r) ? e.useImagePath(e.activeTabBackgroundImage, !0) : e.useImagePath(e.tabBackgroundImage, !0),
5373
+ color: e.isActive(i) ? e.activeTabColor : e.tabColor,
5374
+ backgroundImage: e.isActive(i) ? e.useImagePath(e.activeTabBackgroundImage, !0) : e.useImagePath(e.tabBackgroundImage, !0),
5368
5375
  marginRight: e.tabFlexDirection === "row" ? e.tabBarGutter : null,
5369
5376
  marginBottom: e.tabFlexDirection === "column" ? e.tabBarGutter : null,
5370
5377
  fontWeight: e.tabFontWeight
5371
5378
  }),
5372
- key: r,
5373
- onClick: go((s) => e.tabChange(i, r), ["prevent", "stop"])
5379
+ key: i,
5380
+ onClick: go((s) => e.tabChange(r, i), ["prevent", "stop"])
5374
5381
  }, [
5375
5382
  ee("div", {
5376
5383
  class: "tab-inner",
5377
5384
  style: U({
5378
- borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(r) ? e.activeTabColor : "transparent"}` : ""
5385
+ borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(i) ? e.activeTabColor : "transparent"}` : ""
5379
5386
  })
5380
- }, be(i.title), 5)
5387
+ }, be(r.title), 5)
5381
5388
  ], 12, es))), 128))
5382
5389
  ], 4)
5383
5390
  ], 4);
@@ -5399,7 +5406,7 @@ const os = /* @__PURE__ */ K(Xr, [["render", ts], ["__scopeId", "data-v-a2045b93
5399
5406
  ...kn
5400
5407
  },
5401
5408
  setup(e) {
5402
- const o = re(e), t = W(() => $e(e.imgUrl)), { pageMode: n } = P(fe, {
5409
+ const o = re(e), t = q(() => $e(e.imgUrl)), { pageMode: n } = N(fe, {
5403
5410
  pageMode: "normal"
5404
5411
  });
5405
5412
  return {
@@ -5408,13 +5415,13 @@ const os = /* @__PURE__ */ K(Xr, [["render", ts], ["__scopeId", "data-v-a2045b93
5408
5415
  onClick: () => {
5409
5416
  if (!e.linkPage && !e.href)
5410
5417
  return;
5411
- const l = e.linkPage || "", i = Fo(v(n), l), r = e.href;
5412
- let s = r || i;
5418
+ const l = e.linkPage || "", r = Fo(v(n), l), i = e.href;
5419
+ let s = i || r;
5413
5420
  s = de(s);
5414
5421
  const f = e.target;
5415
5422
  f && (f !== "event" ? window.open(s, "_" + f) : window.parent.postMessage({
5416
5423
  type: "openPage",
5417
- url: r
5424
+ url: i
5418
5425
  }, "*"));
5419
5426
  }
5420
5427
  };
@@ -5422,12 +5429,12 @@ const os = /* @__PURE__ */ K(Xr, [["render", ts], ["__scopeId", "data-v-a2045b93
5422
5429
  });
5423
5430
  const ls = ["src"];
5424
5431
  function is(e, o, t, n, a, l) {
5425
- return e.myImgUrl !== "" ? (D(), F("img", {
5432
+ return e.myImgUrl !== "" ? (D(), $("img", {
5426
5433
  key: 0,
5427
5434
  style: U(e.style),
5428
5435
  src: e.myImgUrl,
5429
- onClick: o[0] || (o[0] = (...i) => e.onClick && e.onClick(...i))
5430
- }, null, 12, ls)) : (D(), F("div", {
5436
+ onClick: o[0] || (o[0] = (...r) => e.onClick && e.onClick(...r))
5437
+ }, null, 12, ls)) : (D(), $("div", {
5431
5438
  key: 1,
5432
5439
  class: "image-placeholder",
5433
5440
  style: U(e.style)
@@ -5448,9 +5455,9 @@ const rs = /* @__PURE__ */ K(as, [["render", is], ["__scopeId", "data-v-ef7a7bee
5448
5455
  ..._n
5449
5456
  },
5450
5457
  setup(e) {
5451
- const o = re(e), { contextRequestUrl: t } = P(fe, {
5458
+ const o = re(e), { contextRequestUrl: t } = N(fe, {
5452
5459
  contextRequestUrl: ""
5453
- }), n = W(() => {
5460
+ }), n = q(() => {
5454
5461
  let a = de(e.link);
5455
5462
  if (e.linkType === "erd" && a != null) {
5456
5463
  let l = v(t);
@@ -5466,11 +5473,11 @@ const rs = /* @__PURE__ */ K(as, [["render", is], ["__scopeId", "data-v-ef7a7bee
5466
5473
  });
5467
5474
  const ds = ["src"];
5468
5475
  function us(e, o, t, n, a, l) {
5469
- return e.myLink ? (D(), F("iframe", {
5476
+ return e.myLink ? (D(), $("iframe", {
5470
5477
  key: 0,
5471
5478
  src: e.myLink,
5472
5479
  style: U(e.style)
5473
- }, null, 12, ds)) : (D(), F("div", {
5480
+ }, null, 12, ds)) : (D(), $("div", {
5474
5481
  key: 1,
5475
5482
  class: "iframe-placeholder",
5476
5483
  style: U(e.style)
@@ -5541,7 +5548,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5541
5548
  }, Ln = le(Tn), gs = ["click", "refreshData", "resetRecord"], hs = Q({
5542
5549
  name: "EcanTable",
5543
5550
  components: {
5544
- Skeleton: yt,
5551
+ Skeleton: ht,
5545
5552
  AButton: yo,
5546
5553
  AInput: ho,
5547
5554
  ACheckboxGroup: bo,
@@ -5554,7 +5561,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5554
5561
  ...Ln
5555
5562
  },
5556
5563
  setup(e, { expose: o }) {
5557
- const t = re(e), n = W(() => {
5564
+ const t = re(e), n = q(() => {
5558
5565
  if (e.paginationShow)
5559
5566
  switch (e.size) {
5560
5567
  case "small":
@@ -5573,12 +5580,12 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5573
5580
  default:
5574
5581
  return 55;
5575
5582
  }
5576
- }), a = W(() => e.scrollX), l = W(() => parseFloat(e.height) - v(n)), i = M([]), r = M([]), s = M([]), f = M([]), y = M(0), S = M(1), C = W(() => e.paginationPageSize), d = $n([]), u = (I = []) => {
5577
- if (Array.isArray(I) && I.length > 0) {
5578
- const O = I.length, V = e.columnsFixedNum;
5583
+ }), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - v(n)), r = M([]), i = M([]), s = M([]), f = M([]), b = M(0), x = M(1), w = q(() => e.paginationPageSize), d = $n([]), u = (L = []) => {
5584
+ if (Array.isArray(L) && L.length > 0) {
5585
+ const O = L.length, V = e.columnsFixedNum;
5579
5586
  for (let Z = 0; Z < O; Z++) {
5580
- const B = I[Z];
5581
- Z < V ? B.fixed = "left" : B.fixed = !1;
5587
+ const P = L[Z];
5588
+ Z < V ? P.fixed = "left" : P.fixed = !1;
5582
5589
  const {
5583
5590
  cellAlign: te = "center",
5584
5591
  cellColor: oe,
@@ -5587,8 +5594,8 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5587
5594
  tableFilter: ce,
5588
5595
  headerCellAlign: Ee,
5589
5596
  headerCellColor: we
5590
- } = B;
5591
- ce && (d.push(ue), B.filterOptionsInputValue = "", B.filterCheckboxGroupValue = [], B.customFilterDropdown = !0, B.onFilter = (Le, vt) => vt[ue].toString().toLowerCase().includes(Le.toLowerCase())), B.customHeaderCell = () => ({
5597
+ } = P;
5598
+ ce && (d.push(ue), P.filterOptionsInputValue = "", P.filterCheckboxGroupValue = [], P.customFilterDropdown = !0, P.onFilter = (Le, bt) => bt[ue].toString().toLowerCase().includes(Le.toLowerCase())), P.customHeaderCell = () => ({
5592
5599
  style: {
5593
5600
  display: "table-cell",
5594
5601
  verticalAlign: "middle",
@@ -5598,7 +5605,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5598
5605
  color: we,
5599
5606
  borderBottomColor: e.borderColor
5600
5607
  }
5601
- }), B.customCell = (Le, vt) => ({
5608
+ }), P.customCell = (Le, bt) => ({
5602
5609
  style: {
5603
5610
  textAlign: te,
5604
5611
  color: oe,
@@ -5606,28 +5613,28 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5606
5613
  borderBottomColor: e.borderColor
5607
5614
  },
5608
5615
  class: {
5609
- highlight: v(q) === vt && e.clickHighlight
5616
+ highlight: v(W) === bt && e.clickHighlight
5610
5617
  },
5611
5618
  onClick: E("click", () => {
5612
- const Ut = e.id, Dn = G(Ut);
5619
+ const Ut = e.id, Dn = j(Ut);
5613
5620
  Le = {
5614
5621
  dataIndex: ue,
5615
5622
  title: ge,
5616
5623
  ...Le
5617
5624
  }, J(Ut, { ...Dn, RECORD: Le });
5618
5625
  })
5619
- }), Array.isArray(B.children) && u(B.children);
5626
+ }), Array.isArray(P.children) && u(P.children);
5620
5627
  }
5621
5628
  }
5622
- }, m = (I = []) => (e.isUseSeq && I.unshift({
5629
+ }, h = (L = []) => (e.isUseSeq && L.unshift({
5623
5630
  title: "序号",
5624
5631
  dataIndex: "SEQ",
5625
5632
  align: "center"
5626
- }), e.isUseAction && I.push({
5633
+ }), e.isUseAction && L.push({
5627
5634
  title: "操作",
5628
5635
  dataIndex: "ACTION",
5629
5636
  width: e.actionColumnWidth
5630
- }), u(I), I);
5637
+ }), u(L), L);
5631
5638
  ne(() => [
5632
5639
  e.columns,
5633
5640
  e.isUseSeq,
@@ -5637,51 +5644,51 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5637
5644
  e.cellBackgroundColor,
5638
5645
  e.borderColor
5639
5646
  ], () => {
5640
- i.value = m(Ct(e.columns));
5647
+ r.value = h(pt(e.columns));
5641
5648
  }, {
5642
5649
  immediate: !0,
5643
5650
  deep: !0
5644
- }), ne(() => [e.data, e.dataType], ([I, O]) => {
5645
- O === "static" && (r.value = I);
5651
+ }), ne(() => [e.data, e.dataType], ([L, O]) => {
5652
+ O === "static" && (i.value = L);
5646
5653
  }, {
5647
5654
  immediate: !0
5648
5655
  });
5649
- const h = M({}), b = (I) => {
5650
- if (Array.isArray(I)) {
5651
- const O = I.length, V = d, Z = V.length, B = {};
5656
+ const g = M({}), y = (L) => {
5657
+ if (Array.isArray(L)) {
5658
+ const O = L.length, V = d, Z = V.length, P = {};
5652
5659
  for (let oe = 0; oe < O; oe++) {
5653
- const ue = I[oe];
5660
+ const ue = L[oe];
5654
5661
  for (let ge = 0; ge < Z; ge++) {
5655
5662
  const ce = V[ge];
5656
- if (B[ce])
5657
- B[ce].add(ue[ce]);
5663
+ if (P[ce])
5664
+ P[ce].add(ue[ce]);
5658
5665
  else {
5659
5666
  const Ee = /* @__PURE__ */ new Set();
5660
- Ee.add(ue[ce]), B[ce] = Ee;
5667
+ Ee.add(ue[ce]), P[ce] = Ee;
5661
5668
  }
5662
5669
  }
5663
5670
  }
5664
5671
  const te = {};
5665
- for (const oe in B)
5666
- if (Object.prototype.hasOwnProperty.call(B, oe)) {
5667
- const ue = B[oe], ge = Array.from(ue);
5672
+ for (const oe in P)
5673
+ if (Object.prototype.hasOwnProperty.call(P, oe)) {
5674
+ const ue = P[oe], ge = Array.from(ue);
5668
5675
  te[oe] = ge.map((ce) => ({ label: ce, value: ce }));
5669
5676
  }
5670
- h.value = te;
5677
+ g.value = te;
5671
5678
  }
5672
5679
  };
5673
- ne(() => [e.isReverse, i.value, r.value], () => {
5674
- const I = v(i), O = v(r);
5675
- if (b(O), e.isReverse) {
5676
- const { columns: V, dataSource: Z } = w(Ct(I), Ct(O));
5680
+ ne(() => [e.isReverse, r.value, i.value], () => {
5681
+ const L = v(r), O = v(i);
5682
+ if (y(O), e.isReverse) {
5683
+ const { columns: V, dataSource: Z } = p(pt(L), pt(O));
5677
5684
  s.value = V, f.value = Z;
5678
5685
  } else
5679
- s.value = I, f.value = O;
5686
+ s.value = L, f.value = O;
5680
5687
  }, {
5681
5688
  immediate: !0
5682
5689
  });
5683
- const w = (I, O) => {
5684
- const V = I[0], Z = [{
5690
+ const p = (L, O) => {
5691
+ const V = L[0], Z = [{
5685
5692
  title: V.title,
5686
5693
  dataIndex: "col0",
5687
5694
  key: "col0",
@@ -5696,61 +5703,61 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5696
5703
  align: "center"
5697
5704
  });
5698
5705
  }
5699
- const B = [];
5700
- for (let te = 1; te < I.length; te++) {
5701
- const oe = I[te], ue = { col0: oe.title };
5706
+ const P = [];
5707
+ for (let te = 1; te < L.length; te++) {
5708
+ const oe = L[te], ue = { col0: oe.title };
5702
5709
  for (let ge = 0; ge < O.length; ge++) {
5703
5710
  const ce = O[ge];
5704
5711
  ue[`col${ge + 1}`] = ce[oe.dataIndex];
5705
5712
  }
5706
- B.push(ue);
5713
+ P.push(ue);
5707
5714
  }
5708
5715
  return {
5709
5716
  columns: Z,
5710
- dataSource: B
5717
+ dataSource: P
5711
5718
  };
5712
- }, A = M(""), L = _e(e), p = M(!1), _ = async (I = !0, O = {}) => {
5719
+ }, _ = M(""), I = _e(e), C = M(!1), A = async (L = !0, O = {}) => {
5713
5720
  var V;
5714
5721
  try {
5715
- I && (p.value = !0), v(A) && (O.orderCondition = v(A)), e.paginationShow && (O = {
5716
- pageNum: v(S),
5717
- pageSize: v(C),
5722
+ L && (C.value = !0), v(_) && (O.orderCondition = v(_)), e.paginationShow && (O = {
5723
+ pageNum: v(x),
5724
+ pageSize: v(w),
5718
5725
  layer: "1",
5719
5726
  ...O
5720
5727
  });
5721
- const Z = await L(O), { rows: B = [], total: te = 0 } = ((V = Z == null ? void 0 : Z.data) == null ? void 0 : V.data) || {};
5722
- y.value = te, Array.isArray(B) && (r.value = B);
5728
+ const Z = await I(O), { rows: P = [], total: te = 0 } = ((V = Z == null ? void 0 : Z.data) == null ? void 0 : V.data) || {};
5729
+ b.value = te, Array.isArray(P) && (i.value = P);
5723
5730
  } catch (Z) {
5724
5731
  console.error(Z);
5725
5732
  } finally {
5726
- p.value = !1;
5733
+ C.value = !1;
5727
5734
  }
5728
- }, x = ({ current: I }, O, V) => {
5729
- if (S.value = I, V && Object.keys(V).length > 0) {
5730
- const { field: Z, order: B } = V, oe = {
5735
+ }, S = ({ current: L }, O, V) => {
5736
+ if (x.value = L, V && Object.keys(V).length > 0) {
5737
+ const { field: Z, order: P } = V, oe = {
5731
5738
  ascend: "asc",
5732
5739
  descend: "desc"
5733
- }[B];
5734
- Z != null && oe != null && (A.value = Z + " " + oe, S.value = 1);
5740
+ }[P];
5741
+ Z != null && oe != null && (_.value = Z + " " + oe, x.value = 1);
5735
5742
  }
5736
5743
  ie(!1);
5737
- }, c = W(() => {
5738
- const I = e.simple, O = [e.paginationPosition];
5744
+ }, c = q(() => {
5745
+ const L = e.simple, O = [e.paginationPosition];
5739
5746
  return e.paginationShow && {
5740
- simple: I,
5747
+ simple: L,
5741
5748
  position: O,
5742
- total: v(y),
5743
- current: v(S),
5744
- pageSize: v(C),
5749
+ total: v(b),
5750
+ current: v(x),
5751
+ pageSize: v(w),
5745
5752
  showSizeChanger: !1
5746
5753
  };
5747
- }), g = (I) => +I == 1 ? "是" : +I == 0 ? "否" : I, k = (I, O) => O == null || O === "" ? I : {
5754
+ }), m = (L) => +L == 1 ? "是" : +L == 0 ? "否" : L, k = (L, O) => O == null || O === "" ? L : {
5748
5755
  money: Pt,
5749
5756
  percentage: ut,
5750
5757
  contrast: ut,
5751
- boolean: g
5752
- }[O](I) || "", R = (I, O) => {
5753
- const V = parseFloat(I + "");
5758
+ boolean: m
5759
+ }[O](L) || "", R = (L, O) => {
5760
+ const V = parseFloat(L + "");
5754
5761
  if (O !== "contrast")
5755
5762
  return "";
5756
5763
  switch (!0) {
@@ -5759,41 +5766,41 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5759
5766
  case V < 0:
5760
5767
  return "goDown";
5761
5768
  }
5762
- }, E = me(e), { pageMode: T } = P(fe, {
5769
+ }, E = me(e), { pageMode: T } = N(fe, {
5763
5770
  pageMode: "normal"
5764
- }), { getGlobalModel: G, setGlobalModel: J } = P(ye, {
5771
+ }), { getGlobalModel: j, setGlobalModel: J } = N(ye, {
5765
5772
  // @ts-ignore
5766
5773
  // eslint-disable-next-line no-void
5767
- getGlobalModel: (I) => {
5774
+ getGlobalModel: (L) => {
5768
5775
  },
5769
5776
  // @ts-ignore
5770
5777
  // eslint-disable-next-line no-void
5771
- setGlobalModel: (I, O) => {
5778
+ setGlobalModel: (L, O) => {
5772
5779
  }
5773
- }), $ = (I = [], O = []) => {
5774
- const V = I.map((Z) => ({ title: Z, dataIndex: Z, key: Z }));
5775
- i.value = m(V), r.value = O;
5776
- }, N = ot(e), z = async () => {
5777
- var I, O, V, Z;
5780
+ }), F = (L = [], O = []) => {
5781
+ const V = L.map((Z) => ({ title: Z, dataIndex: Z, key: Z }));
5782
+ r.value = h(V), i.value = O;
5783
+ }, B = ot(e), z = async () => {
5784
+ var L, O, V, Z;
5778
5785
  try {
5779
- p.value = !0;
5780
- const B = await N();
5781
- $((O = (I = B == null ? void 0 : B.data) == null ? void 0 : I.data) == null ? void 0 : O.columns, (Z = (V = B == null ? void 0 : B.data) == null ? void 0 : V.data) == null ? void 0 : Z.rows);
5782
- } catch (B) {
5783
- console.error(B);
5786
+ C.value = !0;
5787
+ const P = await B();
5788
+ F((O = (L = P == null ? void 0 : P.data) == null ? void 0 : L.data) == null ? void 0 : O.columns, (Z = (V = P == null ? void 0 : P.data) == null ? void 0 : V.data) == null ? void 0 : Z.rows);
5789
+ } catch (P) {
5790
+ console.error(P);
5784
5791
  } finally {
5785
- p.value = !1;
5792
+ C.value = !1;
5786
5793
  }
5787
- }, q = M(-1), X = (I, O) => ({
5794
+ }, W = M(-1), X = (L, O) => ({
5788
5795
  onClick: E("rowClick", () => {
5789
- const V = e.id, Z = G(V);
5790
- J(V, { ...Z, RECORD: I }), q.value = O;
5796
+ const V = e.id, Z = j(V);
5797
+ J(V, { ...Z, RECORD: L }), W.value = O;
5791
5798
  })
5792
- }), ie = (I = !0) => {
5799
+ }), ie = (L = !0) => {
5793
5800
  if (v(T) !== "design")
5794
5801
  switch (e.dataType) {
5795
5802
  case "request":
5796
- _(I);
5803
+ A(L);
5797
5804
  break;
5798
5805
  case "indicator":
5799
5806
  z();
@@ -5802,22 +5809,22 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5802
5809
  };
5803
5810
  he(e, {
5804
5811
  resetRecord: () => {
5805
- const I = e.id, O = G(I);
5806
- J(I, { ...O, RECORD: "" });
5812
+ const L = e.id, O = j(L);
5813
+ J(L, { ...O, RECORD: "" });
5807
5814
  },
5808
5815
  refreshData: ie
5809
5816
  });
5810
- const En = W(() => {
5811
- const I = v(s), O = [];
5817
+ const En = q(() => {
5818
+ const L = v(s), O = [];
5812
5819
  let V = 0;
5813
- for (let B = 0; B < I.length; B++) {
5814
- const te = I[B], { isCalcTotal: oe } = te;
5815
- e.isUseSeq && B === 0 ? O.push({
5820
+ for (let P = 0; P < L.length; P++) {
5821
+ const te = L[P], { isCalcTotal: oe } = te;
5822
+ e.isUseSeq && P === 0 ? O.push({
5816
5823
  ...te,
5817
5824
  total: "小计"
5818
5825
  }) : oe ? (O.push({
5819
5826
  ...te,
5820
- index: B,
5827
+ index: P,
5821
5828
  total: 0
5822
5829
  }), V++) : O.push({
5823
5830
  ...te
@@ -5826,8 +5833,8 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5826
5833
  if (V === 0)
5827
5834
  return [];
5828
5835
  const Z = v(f);
5829
- for (let B = 0; B < O.length; B++) {
5830
- const te = O[B];
5836
+ for (let P = 0; P < O.length; P++) {
5837
+ const te = O[P];
5831
5838
  let oe = 0;
5832
5839
  const { isCalcTotal: ue, dataIndex: ge } = te;
5833
5840
  if (ue === !0) {
@@ -5839,8 +5846,8 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5839
5846
  }
5840
5847
  }
5841
5848
  return O;
5842
- }), { setRequest: Bt } = P(Se, {
5843
- setRequest: (I) => {
5849
+ }), { setRequest: Bt } = N(Se, {
5850
+ setRequest: (L) => {
5844
5851
  }
5845
5852
  });
5846
5853
  return typeof Bt == "function" && Bt({
@@ -5857,48 +5864,48 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5857
5864
  pagination: c,
5858
5865
  formatFn: k,
5859
5866
  contrastClass: R,
5860
- tableChange: x,
5867
+ tableChange: S,
5861
5868
  summaryList: En,
5862
- loading: p,
5863
- onTouchHrefEvent: (I, O = "") => {
5864
- I === "event" && window.parent.postMessage({
5869
+ loading: C,
5870
+ onTouchHrefEvent: (L, O = "") => {
5871
+ L === "event" && window.parent.postMessage({
5865
5872
  type: "openPage",
5866
5873
  url: O
5867
5874
  }, "*");
5868
5875
  },
5869
- handleHref: (I = "", O) => de(I, O),
5870
- handleHrefTarget: (I) => {
5871
- if (I !== "event")
5876
+ handleHref: (L = "", O) => de(L, O),
5877
+ handleHrefTarget: (L) => {
5878
+ if (L !== "event")
5872
5879
  return {
5873
5880
  self: "_self",
5874
5881
  blank: "_blank"
5875
- }[I];
5882
+ }[L];
5876
5883
  },
5877
- useRowIndex: q,
5884
+ useRowIndex: W,
5878
5885
  tableColumns: s,
5879
5886
  tableDataSource: f,
5880
- useFilterOptions: (I) => {
5881
- const O = I.dataIndex;
5887
+ useFilterOptions: (L) => {
5888
+ const O = L.dataIndex;
5882
5889
  if (typeof O == "string") {
5883
- let V = v(h)[O];
5884
- const Z = v(I.filterOptionsInputValue).trim();
5885
- return Array.isArray(V) ? (V = V.filter((B) => typeof B.label == "string" ? B.label.toLowerCase().includes(Z.toLowerCase()) : !0), V) : [];
5890
+ let V = v(g)[O];
5891
+ const Z = v(L.filterOptionsInputValue).trim();
5892
+ return Array.isArray(V) ? (V = V.filter((P) => typeof P.label == "string" ? P.label.toLowerCase().includes(Z.toLowerCase()) : !0), V) : [];
5886
5893
  }
5887
5894
  return [];
5888
5895
  },
5889
- useSetSelectedKeys: (I, O) => {
5890
- I(O.filterCheckboxGroupValue);
5896
+ useSetSelectedKeys: (L, O) => {
5897
+ L(O.filterCheckboxGroupValue);
5891
5898
  },
5892
- onResetFilter: (I, O) => {
5893
- I({ confirm: !0 }), O.filterOptionsInputValue = "", O.filterCheckboxGroupValue = [];
5899
+ onResetFilter: (L, O) => {
5900
+ L({ confirm: !0 }), O.filterOptionsInputValue = "", O.filterCheckboxGroupValue = [];
5894
5901
  },
5895
5902
  onSearchFilterOptions: () => {
5896
5903
  },
5897
5904
  exportTable: async () => {
5898
5905
  var ce, Ee;
5899
- const I = "EXPORT_KEY";
5906
+ const L = "EXPORT_KEY";
5900
5907
  Be.loading({
5901
- key: I,
5908
+ key: L,
5902
5909
  content: "正在导出...",
5903
5910
  duration: 0
5904
5911
  });
@@ -5907,16 +5914,16 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5907
5914
  O = e.data;
5908
5915
  else if (e.dataType === "request") {
5909
5916
  const we = { layer: "1" };
5910
- v(A) && (we.orderCondition = v(A));
5911
- const Le = await L(we);
5917
+ v(_) && (we.orderCondition = v(_));
5918
+ const Le = await I(we);
5912
5919
  O = ((Ee = (ce = Le == null ? void 0 : Le.data) == null ? void 0 : ce.data) == null ? void 0 : Ee.rows) || {};
5913
5920
  }
5914
- const V = v(s), Z = [], B = [];
5921
+ const V = v(s), Z = [], P = [];
5915
5922
  V == null || V.forEach((we) => {
5916
- Z.push(we.dataIndex), B.push(we.title);
5923
+ Z.push(we.dataIndex), P.push(we.title);
5917
5924
  });
5918
- const te = O.map((we) => vo(we, Z)), oe = lt.book_new(), ue = lt.aoa_to_sheet([B]), ge = lt.sheet_add_json(ue, te, { skipHeader: !0, origin: "A2" });
5919
- lt.book_append_sheet(oe, ge, "sheet"), sa(oe, "表格数据.xlsx"), Be.success({ key: I, content: "导出成功" });
5925
+ const te = O.map((we) => vo(we, Z)), oe = lt.book_new(), ue = lt.aoa_to_sheet([P]), ge = lt.sheet_add_json(ue, te, { skipHeader: !0, origin: "A2" });
5926
+ lt.book_append_sheet(oe, ge, "sheet"), sa(oe, "表格数据.xlsx"), Be.success({ key: L, content: "导出成功" });
5920
5927
  }
5921
5928
  };
5922
5929
  }
@@ -5929,15 +5936,15 @@ const ys = {
5929
5936
  class: "action-list"
5930
5937
  }, ws = ["href", "target", "onClick"];
5931
5938
  function xs(e, o, t, n, a, l) {
5932
- const i = H("a-button"), r = H("a-input"), s = H("a-checkbox-group"), f = H("a-table-summary-cell"), y = H("a-table-summary-row"), S = H("a-table-summary"), C = H("a-table"), d = H("skeleton");
5933
- return D(), F("div", {
5939
+ const r = H("a-button"), i = H("a-input"), s = H("a-checkbox-group"), f = H("a-table-summary-cell"), b = H("a-table-summary-row"), x = H("a-table-summary"), w = H("a-table"), d = H("skeleton");
5940
+ return D(), $("div", {
5934
5941
  class: "ecan-table",
5935
5942
  style: U(e.style)
5936
5943
  }, [
5937
- j(d, { loading: e.loading }, {
5944
+ G(d, { loading: e.loading }, {
5938
5945
  default: Y(() => [
5939
- e.isUseExport ? (D(), F("div", ys, [
5940
- j(i, {
5946
+ e.isUseExport ? (D(), $("div", ys, [
5947
+ G(r, {
5941
5948
  class: "export-button",
5942
5949
  onClick: e.exportTable
5943
5950
  }, {
@@ -5947,7 +5954,7 @@ function xs(e, o, t, n, a, l) {
5947
5954
  _: 1
5948
5955
  }, 8, ["onClick"])
5949
5956
  ])) : ve("", !0),
5950
- j(C, {
5957
+ G(w, {
5951
5958
  class: "table",
5952
5959
  style: {
5953
5960
  height: "100%"
@@ -5961,43 +5968,43 @@ function xs(e, o, t, n, a, l) {
5961
5968
  pagination: e.pagination,
5962
5969
  onChange: e.tableChange
5963
5970
  }, {
5964
- customFilterDropdown: Y(({ column: u, selectedKeys: m, setSelectedKeys: h, confirm: b, clearFilters: w }) => [
5971
+ customFilterDropdown: Y(({ column: u, selectedKeys: h, setSelectedKeys: g, confirm: y, clearFilters: p }) => [
5965
5972
  ee("div", {
5966
5973
  class: "ecan-table-filter",
5967
5974
  style: U({
5968
5975
  height: e.filterDropdownHeight
5969
5976
  })
5970
5977
  }, [
5971
- j(r, {
5978
+ G(i, {
5972
5979
  value: u.filterOptionsInputValue,
5973
- "onUpdate:value": (A) => u.filterOptionsInputValue = A,
5980
+ "onUpdate:value": (_) => u.filterOptionsInputValue = _,
5974
5981
  placeholder: "请输入关键字",
5975
5982
  class: "filter-input",
5976
5983
  onChange: e.onSearchFilterOptions
5977
5984
  }, null, 8, ["value", "onUpdate:value", "onChange"]),
5978
- j(s, {
5985
+ G(s, {
5979
5986
  value: u.filterCheckboxGroupValue,
5980
- "onUpdate:value": (A) => u.filterCheckboxGroupValue = A,
5987
+ "onUpdate:value": (_) => u.filterCheckboxGroupValue = _,
5981
5988
  class: "filter-checkbox",
5982
5989
  options: e.useFilterOptions(u),
5983
- onChange: (A) => e.useSetSelectedKeys(h, u)
5990
+ onChange: (_) => e.useSetSelectedKeys(g, u)
5984
5991
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
5985
5992
  ee("div", null, [
5986
- j(i, {
5993
+ G(r, {
5987
5994
  type: "primary",
5988
5995
  size: "small",
5989
5996
  style: { width: "90px", "margin-right": "8px" },
5990
- onClick: () => b()
5997
+ onClick: () => y()
5991
5998
  }, {
5992
5999
  default: Y(() => [
5993
6000
  vs
5994
6001
  ]),
5995
6002
  _: 2
5996
6003
  }, 1032, ["onClick"]),
5997
- j(i, {
6004
+ G(r, {
5998
6005
  size: "small",
5999
6006
  style: { width: "90px" },
6000
- onClick: go((A) => e.onResetFilter(w, u), ["stop"])
6007
+ onClick: go((_) => e.onResetFilter(p, u), ["stop"])
6001
6008
  }, {
6002
6009
  default: Y(() => [
6003
6010
  ps
@@ -6007,41 +6014,41 @@ function xs(e, o, t, n, a, l) {
6007
6014
  ])
6008
6015
  ], 4)
6009
6016
  ]),
6010
- bodyCell: Y(({ column: u, index: m, text: h, record: b }) => [
6011
- u.dataIndex === "SEQ" ? (D(), F("span", Cs, be(m + 1), 1)) : ve("", !0),
6012
- u.dataIndex === "ACTION" ? (D(), F("div", Ss, [
6013
- (D(!0), F(Me, null, De(e.actionList, (w, A) => (D(), F("div", {
6017
+ bodyCell: Y(({ column: u, index: h, text: g, record: y }) => [
6018
+ u.dataIndex === "SEQ" ? (D(), $("span", Cs, be(h + 1), 1)) : ve("", !0),
6019
+ u.dataIndex === "ACTION" ? (D(), $("div", Ss, [
6020
+ (D(!0), $(Me, null, De(e.actionList, (p, _) => (D(), $("div", {
6014
6021
  class: "action",
6015
- key: A
6022
+ key: _
6016
6023
  }, [
6017
6024
  ee("a", {
6018
- href: e.handleHref(w.href, b),
6019
- target: e.handleHrefTarget(w.target),
6025
+ href: e.handleHref(p.href, y),
6026
+ target: e.handleHrefTarget(p.target),
6020
6027
  style: U({
6021
- color: w.color,
6028
+ color: p.color,
6022
6029
  fontSize: e.fontSize,
6023
6030
  fontWeight: e.fontWeight
6024
6031
  }),
6025
- onClick: (L) => e.onTouchHrefEvent(w.target, e.handleHref(w.href, b))
6026
- }, be(w.title), 13, ws)
6032
+ onClick: (I) => e.onTouchHrefEvent(p.target, e.handleHref(p.href, y))
6033
+ }, be(p.title), 13, ws)
6027
6034
  ]))), 128))
6028
- ])) : (D(), F("div", {
6035
+ ])) : (D(), $("div", {
6029
6036
  key: 2,
6030
- class: It([e.contrastClass(h, u.format)]),
6037
+ class: Lt([e.contrastClass(g, u.format)]),
6031
6038
  style: U({
6032
6039
  fontSize: e.fontSize,
6033
6040
  fontWeight: e.fontWeight
6034
6041
  })
6035
- }, be(u.format != null ? e.formatFn(h, u.format) : h), 7))
6042
+ }, be(u.format != null ? e.formatFn(g, u.format) : g), 7))
6036
6043
  ]),
6037
6044
  summary: Y(() => [
6038
- e.summaryList.length > 0 ? (D(), Re(S, { key: 0 }, {
6045
+ e.summaryList.length > 0 ? (D(), Re(x, { key: 0 }, {
6039
6046
  default: Y(() => [
6040
- j(y, null, {
6047
+ G(b, null, {
6041
6048
  default: Y(() => [
6042
- (D(!0), F(Me, null, De(e.summaryList, (u, m) => (D(), Re(f, {
6043
- key: m,
6044
- index: m,
6049
+ (D(!0), $(Me, null, De(e.summaryList, (u, h) => (D(), Re(f, {
6050
+ key: h,
6051
+ index: h,
6045
6052
  style: U({
6046
6053
  backgroundColor: e.cellBackgroundColor,
6047
6054
  textAlign: u.cellAlign || "center",
@@ -6051,7 +6058,7 @@ function xs(e, o, t, n, a, l) {
6051
6058
  }, {
6052
6059
  default: Y(() => [
6053
6060
  ee("div", {
6054
- class: It([e.contrastClass(u.total, u.format)]),
6061
+ class: Lt([e.contrastClass(u.total, u.format)]),
6055
6062
  style: U({
6056
6063
  fontSize: e.fontSize,
6057
6064
  fontWeight: e.fontWeight
@@ -6133,16 +6140,16 @@ const _s = Q({
6133
6140
  ...Mn
6134
6141
  },
6135
6142
  setup(e) {
6136
- const o = re(e, ["backgroundImage"]), t = M(), n = W(() => $e(e.geoBackgroundImage)), a = W(() => $e(e.backgroundImage)), l = W(() => e.geoBackgroundImage ? {
6143
+ const o = re(e, ["backgroundImage"]), t = M(), n = q(() => $e(e.geoBackgroundImage)), a = q(() => $e(e.backgroundImage)), l = q(() => e.geoBackgroundImage ? {
6137
6144
  image: v(t),
6138
6145
  repeat: e.geoBackgroundImageRepeat
6139
- } : e.geoItemStyleAreaColor), i = W(() => {
6140
- const y = e.symbolImage;
6141
- return e.symbolImage ? "image://" + $e(y) : "circle";
6142
- }), r = W(() => {
6143
- const y = e.geoCenter;
6144
- let S;
6145
- return typeof y == "string" && y !== "" && (S = y.split(",")), {
6146
+ } : e.geoItemStyleAreaColor), r = q(() => {
6147
+ const b = e.symbolImage;
6148
+ return e.symbolImage ? "image://" + $e(b) : "circle";
6149
+ }), i = q(() => {
6150
+ const b = e.geoCenter;
6151
+ let x;
6152
+ return typeof b == "string" && b !== "" && (x = b.split(",")), {
6146
6153
  // backgroundColor: unref(background),
6147
6154
  tooltip: {
6148
6155
  show: !0
@@ -6162,7 +6169,7 @@ const _s = Q({
6162
6169
  geo: {
6163
6170
  zoom: e.geoZoom,
6164
6171
  roam: e.geoRoam,
6165
- center: S,
6172
+ center: x,
6166
6173
  map: "map",
6167
6174
  tooltip: {
6168
6175
  show: !1
@@ -6202,7 +6209,7 @@ const _s = Q({
6202
6209
  itemStyle: {
6203
6210
  color: e.itemStyleColor
6204
6211
  },
6205
- symbol: v(i),
6212
+ symbol: v(r),
6206
6213
  symbolSize: [e.symbolWidth, e.symbolHeight],
6207
6214
  label: {
6208
6215
  show: e.labelShow,
@@ -6222,11 +6229,11 @@ const _s = Q({
6222
6229
  ]
6223
6230
  };
6224
6231
  }), s = M(!1), f = async () => {
6225
- var S;
6226
- const y = e.mapJson;
6227
- if (y != null && y.path) {
6228
- const C = await Fe(((S = window == null ? void 0 : window.config) == null ? void 0 : S.uploadPath) + y.path);
6229
- Gn("map", (C == null ? void 0 : C.data) || {});
6232
+ var x;
6233
+ const b = e.mapJson;
6234
+ if (b != null && b.path) {
6235
+ const w = await Fe(((x = window == null ? void 0 : window.config) == null ? void 0 : x.uploadPath) + b.path);
6236
+ Gn("map", (w == null ? void 0 : w.data) || {});
6230
6237
  }
6231
6238
  s.value = !0;
6232
6239
  };
@@ -6236,7 +6243,7 @@ const _s = Q({
6236
6243
  immediate: !0,
6237
6244
  deep: !0
6238
6245
  }), {
6239
- option: r,
6246
+ option: i,
6240
6247
  style: o,
6241
6248
  isLoadedData: s,
6242
6249
  geoBackgroundImageRef: t,
@@ -6246,12 +6253,12 @@ const _s = Q({
6246
6253
  });
6247
6254
  const Ts = ["src"];
6248
6255
  function Ls(e, o, t, n, a, l) {
6249
- const i = H("echarts");
6250
- return D(), F("div", {
6256
+ const r = H("echarts");
6257
+ return D(), $("div", {
6251
6258
  class: "ecan-map",
6252
6259
  style: U(e.style)
6253
6260
  }, [
6254
- e.isLoadedData ? (D(), Re(i, {
6261
+ e.isLoadedData ? (D(), Re(r, {
6255
6262
  key: 0,
6256
6263
  option: e.option,
6257
6264
  "update-options": { notMerge: !0 },