@ecan-bi/datav 1.1.31 → 1.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! @ecan-bi/datav@1.1.31 */
2
- import { watch as ee, inject as z, computed as B, unref as A, watchEffect as lo, defineComponent as Z, shallowRef as ht, toRefs as Tn, onMounted as Ze, onUnmounted as ut, h as st, nextTick as Je, createVNode as G, resolveComponent as q, openBlock as E, createElementBlock as R, createBlock as Ie, renderSlot as ft, withCtx as V, ref as L, normalizeStyle as P, createCommentVNode as be, provide as De, onBeforeUnmount as Nt, toDisplayString as me, Fragment as xe, renderList as Te, createElementVNode as K, normalizeClass as At, pushScopeId as io, popScopeId as ro, createSlots as _n, resolveDynamicComponent as Ln, mergeProps as In, withModifiers as Mn, reactive as En, createTextVNode as so, withDirectives as Fn, vShow as On } from "vue";
1
+ /*! @ecan-bi/datav@1.1.33 */
2
+ import { watch as ee, inject as z, computed as B, unref as A, watchEffect as lo, defineComponent as Z, shallowRef as ht, toRefs as Tn, onMounted as Ze, onUnmounted as dt, h as rt, nextTick as ut, createVNode as G, resolveComponent as q, openBlock as E, createElementBlock as R, createBlock as Ie, renderSlot as ft, withCtx as V, ref as L, normalizeStyle as P, createCommentVNode as be, provide as De, onBeforeUnmount as Nt, toDisplayString as me, Fragment as xe, renderList as Te, createElementVNode as K, normalizeClass as At, pushScopeId as io, popScopeId as ro, createSlots as _n, resolveDynamicComponent as Ln, mergeProps as In, withModifiers as Mn, reactive as En, createTextVNode as so, withDirectives as Fn, vShow as On } from "vue";
3
3
  import { throttle as Rn, init as Dn, use as Ne, registerMap as zn } from "echarts/core";
4
4
  import { addListener as Nn, removeListener as $n } from "resize-detector";
5
5
  import { Spin as Pn, Skeleton as Bn, message as We, Progress as Gn, Input as co, DatePicker as Un, Select as qn, RangePicker as jn, Button as Wn, CheckboxGroup as uo, Modal as Se, Table as Vn, TableSummary as Hn, TableSummaryRow as Zn, TableSummaryCell as Jn } from "ant-design-vue";
@@ -18,7 +18,7 @@ import "ant-design-vue/es/button/style";
18
18
  import "ant-design-vue/es/checkbox/style";
19
19
  import { CanvasRenderer as $e } from "echarts/renderers";
20
20
  import { PieChart as ea, LineChart as mo, BarChart as go, ScatterChart as ho, MapChart as ta } from "echarts/charts";
21
- import { TitleComponent as Qe, ToolboxComponent as Ke, TooltipComponent as Mt, LegendComponent as Xe, DatasetComponent as yo, VisualMapComponent as oa, GraphicComponent as na } from "echarts/components";
21
+ import { TitleComponent as Ye, ToolboxComponent as Qe, TooltipComponent as Mt, LegendComponent as Ke, DatasetComponent as yo, VisualMapComponent as oa, GraphicComponent as na } from "echarts/components";
22
22
  import * as aa from "echarts";
23
23
  import "ant-design-vue/es/modal/style";
24
24
  import "ant-design-vue/es/table/style";
@@ -150,7 +150,7 @@ const ya = "x-vue-echarts", ba = "ecTheme", va = "ecInitOptions", pa = "ecUpdate
150
150
  function _() {
151
151
  u.setOption(k || y.value, b.value);
152
152
  }
153
- d.value ? Je(() => {
153
+ d.value ? ut(() => {
154
154
  v(), _();
155
155
  }) : _();
156
156
  }
@@ -189,7 +189,7 @@ const ya = "x-vue-echarts", ba = "ecTheme", va = "ecInitOptions", pa = "ecUpdate
189
189
  const F = ra(a, x);
190
190
  return ua(a, f, g), sa(a, d, n), Ze(() => {
191
191
  e.option && x();
192
- }), ut($), {
192
+ }), dt($), {
193
193
  chart: a,
194
194
  root: n,
195
195
  setOption: w,
@@ -199,7 +199,7 @@ const ya = "x-vue-echarts", ba = "ecTheme", va = "ecInitOptions", pa = "ecUpdate
199
199
  },
200
200
  render() {
201
201
  const e = { ...this.nonEventAttrs };
202
- return e.ref = "root", e.class = e.class ? ["echarts"].concat(e.class) : "echarts", st(ya, e);
202
+ return e.ref = "root", e.class = e.class ? ["echarts"].concat(e.class) : "echarts", rt(ya, e);
203
203
  }
204
204
  });
205
205
  function pe(e, o) {
@@ -216,7 +216,7 @@ function Sa(e) {
216
216
  function wa(e) {
217
217
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
218
218
  }
219
- function at(e) {
219
+ function nt(e) {
220
220
  return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
221
221
  }
222
222
  function bt(e) {
@@ -434,7 +434,7 @@ var Pt = {
434
434
  };
435
435
  function qe(e) {
436
436
  var o = { r: 0, g: 0, b: 0 }, t = 1, n = null, a = null, i = null, r = !1, s = !1;
437
- return typeof e == "string" && (e = Ma(e)), typeof e == "object" && (Ae(e.r) && Ae(e.g) && Ae(e.b) ? (o = ka(e.r, e.g, e.b), r = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ae(e.h) && Ae(e.s) && Ae(e.v) ? (n = at(e.s), a = at(e.v), o = Ta(e.h, n, a), r = !0, s = "hsv") : Ae(e.h) && Ae(e.s) && Ae(e.l) && (n = at(e.s), i = at(e.l), o = Aa(e.h, n, i), r = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = wa(t), {
437
+ return typeof e == "string" && (e = Ma(e)), typeof e == "object" && (Ae(e.r) && Ae(e.g) && Ae(e.b) ? (o = ka(e.r, e.g, e.b), r = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ae(e.h) && Ae(e.s) && Ae(e.v) ? (n = nt(e.s), a = nt(e.v), o = Ta(e.h, n, a), r = !0, s = "hsv") : Ae(e.h) && Ae(e.s) && Ae(e.l) && (n = nt(e.s), i = nt(e.l), o = Aa(e.h, n, i), r = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = wa(t), {
438
438
  ok: r,
439
439
  format: e.format || s,
440
440
  r: Math.min(255, Math.max(o.r, 0)),
@@ -492,7 +492,7 @@ function Ma(e) {
492
492
  function Ae(e) {
493
493
  return Boolean(Ce.CSS_UNIT.exec(String(e)));
494
494
  }
495
- var lt = 2, Bt = 0.16, Ea = 0.05, Fa = 0.05, Oa = 0.15, bo = 5, vo = 4, Ra = [{
495
+ var at = 2, Bt = 0.16, Ea = 0.05, Fa = 0.05, Oa = 0.15, bo = 5, vo = 4, Ra = [{
496
496
  index: 7,
497
497
  opacity: 0.15
498
498
  }, {
@@ -531,7 +531,7 @@ function Gt(e) {
531
531
  v: a.v
532
532
  };
533
533
  }
534
- function it(e) {
534
+ function lt(e) {
535
535
  var o = e.r, t = e.g, n = e.b;
536
536
  return "#".concat(_a(o, t, n, !1));
537
537
  }
@@ -545,7 +545,7 @@ function Da(e, o, t) {
545
545
  }
546
546
  function Ut(e, o, t) {
547
547
  var n;
548
- return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? n = t ? Math.round(e.h) - lt * o : Math.round(e.h) + lt * o : n = t ? Math.round(e.h) + lt * o : Math.round(e.h) - lt * o, n < 0 ? n += 360 : n >= 360 && (n -= 360), n;
548
+ return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? n = t ? Math.round(e.h) - at * o : Math.round(e.h) + at * o : n = t ? Math.round(e.h) + at * o : Math.round(e.h) - at * o, n < 0 ? n += 360 : n >= 360 && (n -= 360), n;
549
549
  }
550
550
  function qt(e, o, t) {
551
551
  if (e.h === 0 && e.s === 0)
@@ -559,16 +559,16 @@ function jt(e, o, t) {
559
559
  }
560
560
  function xt(e) {
561
561
  for (var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], n = qe(e), a = bo; a > 0; a -= 1) {
562
- var i = Gt(n), r = it(qe({
562
+ var i = Gt(n), r = lt(qe({
563
563
  h: Ut(i, a, !0),
564
564
  s: qt(i, a, !0),
565
565
  v: jt(i, a, !0)
566
566
  }));
567
567
  t.push(r);
568
568
  }
569
- t.push(it(n));
569
+ t.push(lt(n));
570
570
  for (var s = 1; s <= vo; s += 1) {
571
- var l = Gt(n), d = it(qe({
571
+ var l = Gt(n), d = lt(qe({
572
572
  h: Ut(l, s),
573
573
  s: qt(l, s),
574
574
  v: jt(l, s)
@@ -576,7 +576,7 @@ function xt(e) {
576
576
  t.push(d);
577
577
  }
578
578
  return o.theme === "dark" ? Ra.map(function(c) {
579
- var f = c.index, g = c.opacity, y = it(Da(qe(o.backgroundColor || "#141414"), qe(t[f]), g * 100));
579
+ var f = c.index, g = c.opacity, y = lt(Da(qe(o.backgroundColor || "#141414"), qe(t[f]), g * 100));
580
580
  return y;
581
581
  }) : t;
582
582
  }
@@ -638,11 +638,11 @@ function Ht(e) {
638
638
  return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
639
639
  }
640
640
  function Tt(e, o, t) {
641
- return t ? st(e.tag, Vt({
641
+ return t ? rt(e.tag, Vt({
642
642
  key: o
643
643
  }, t, e.attrs), (e.children || []).map(function(n, a) {
644
644
  return Tt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
645
- })) : st(e.tag, Vt({
645
+ })) : rt(e.tag, Vt({
646
646
  key: o
647
647
  }, e.attrs), (e.children || []).map(function(n, a) {
648
648
  return Tt(n, "".concat(o, "-").concat(e.tag, "-").concat(a));
@@ -710,7 +710,7 @@ var Ua = `
710
710
  }
711
711
  `, Zt = !1, qa = function() {
712
712
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ua;
713
- Je(function() {
713
+ ut(function() {
714
714
  Zt || (typeof window < "u" && window.document && window.document.documentElement && $a(o, {
715
715
  prepend: !0
716
716
  }), Zt = !0);
@@ -735,7 +735,7 @@ function Va(e, o) {
735
735
  a = n[i], !(o.indexOf(a) >= 0) && (t[a] = e[a]);
736
736
  return t;
737
737
  }
738
- function rt(e) {
738
+ function it(e) {
739
739
  for (var o = 1; o < arguments.length; o++) {
740
740
  var t = arguments[o] != null ? Object(arguments[o]) : {}, n = Object.keys(t);
741
741
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
@@ -759,19 +759,19 @@ function Za(e) {
759
759
  He.primaryColor = o, He.secondaryColor = t || po(o), He.calculated = !!t;
760
760
  }
761
761
  function Ja() {
762
- return rt({}, He);
762
+ return it({}, He);
763
763
  }
764
764
  var Pe = function(o, t) {
765
- var n = rt({}, o, t.attrs), a = n.icon, i = n.primaryColor, r = n.secondaryColor, s = Wa(n, ja), l = He;
765
+ var n = it({}, o, t.attrs), a = n.icon, i = n.primaryColor, r = n.secondaryColor, s = Wa(n, ja), l = He;
766
766
  if (i && (l = {
767
767
  primaryColor: i,
768
768
  secondaryColor: r || po(i)
769
769
  }), qa(), Ga(Ht(a), "icon should be icon definiton, but got ".concat(a)), !Ht(a))
770
770
  return null;
771
771
  var d = a;
772
- return d && typeof d.icon == "function" && (d = rt({}, d, {
772
+ return d && typeof d.icon == "function" && (d = it({}, d, {
773
773
  icon: d.icon(l.primaryColor, l.secondaryColor)
774
- })), Tt(d.icon, "svg-".concat(d.name), rt({}, s, {
774
+ })), Tt(d.icon, "svg-".concat(d.name), it({}, s, {
775
775
  "data-icon": d.name,
776
776
  width: "1em",
777
777
  height: "1em",
@@ -1002,7 +1002,7 @@ const gl = Ft, hl = Z({
1002
1002
  },
1003
1003
  setup() {
1004
1004
  return {
1005
- indicator: st(gl, {
1005
+ indicator: rt(gl, {
1006
1006
  style: {
1007
1007
  fontSize: "24px",
1008
1008
  color: "#1890ff"
@@ -1030,7 +1030,7 @@ function bl(e, o, t, n, a, i) {
1030
1030
  }, null, 8, ["spinning", "indicator"])) : ft(e.$slots, "default", { key: 1 })
1031
1031
  ]);
1032
1032
  }
1033
- const et = /* @__PURE__ */ Y(hl, [["render", bl]]), vl = Z({
1033
+ const Xe = /* @__PURE__ */ Y(hl, [["render", bl]]), vl = Z({
1034
1034
  name: "Skeleton",
1035
1035
  props: {
1036
1036
  loading: {
@@ -1131,7 +1131,7 @@ const te = (e, o) => {
1131
1131
  return B(() => Kn(e, t));
1132
1132
  }, Ot = "EVENT_BUS", re = "GLOBAL_CONFIG", se = "GLOBAL_MODEL", ve = "REQUEST_MODEL", Ao = "GLOBAL_TOKEN", Ve = "REFRESH_PAGE";
1133
1133
  var to;
1134
- const ct = (to = window == null ? void 0 : window.config) == null ? void 0 : to.indicatorURL;
1134
+ const st = (to = window == null ? void 0 : window.config) == null ? void 0 : to.indicatorURL;
1135
1135
  var oo;
1136
1136
  (oo = window == null ? void 0 : window.config) != null && oo.uploadPath;
1137
1137
  var no;
@@ -1176,7 +1176,7 @@ const Sl = ((ao = window == null ? void 0 : window.config) == null ? void 0 : ao
1176
1176
  });
1177
1177
  }
1178
1178
  };
1179
- }, Ye = (e, o) => {
1179
+ }, Je = (e, o) => {
1180
1180
  let { name: t = "name", value: n = "value", type: a = "type" } = o || {};
1181
1181
  t = t == null ? void 0 : t.trim(), n = n == null ? void 0 : n.trim(), a = a == null ? void 0 : a.trim();
1182
1182
  const i = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), s = e.length;
@@ -1201,8 +1201,8 @@ const Sl = ((ao = window == null ? void 0 : window.config) == null ? void 0 : ao
1201
1201
  }, wl = (e) => e.replace(/\\n/g, `
1202
1202
  `), Rt = (e, o = 2) => {
1203
1203
  const t = parseFloat(e + "");
1204
- return isNaN(t) || t < 0 ? e : t.toFixed(o).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
1205
- }, dt = (e, o = 2) => {
1204
+ return isNaN(t) ? e : t.toFixed(o).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
1205
+ }, ct = (e, o = 2) => {
1206
1206
  const t = e + "";
1207
1207
  if (t.includes("%"))
1208
1208
  return e;
@@ -1294,7 +1294,7 @@ const Sl = ((ao = window == null ? void 0 : window.config) == null ? void 0 : ao
1294
1294
  console.error(I);
1295
1295
  }
1296
1296
  }, m = s && setInterval(y, r * 1e3);
1297
- return ut(() => {
1297
+ return dt(() => {
1298
1298
  clearInterval(m);
1299
1299
  }), y;
1300
1300
  }, ze = (e = [], o) => {
@@ -1539,13 +1539,13 @@ const Dt = (e) => {
1539
1539
  ecanScatter: "scatter"
1540
1540
  };
1541
1541
  try {
1542
- const k = await Fe.get(`${ct}/user/anonymous?username=admin`, {
1542
+ const k = await Fe.get(`${st}/user/anonymous?username=admin`, {
1543
1543
  headers: {
1544
1544
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1545
1545
  current_context: "ygt"
1546
1546
  }
1547
1547
  });
1548
- return Fe.post(`${ct}/diagram`, {
1548
+ return Fe.post(`${st}/diagram`, {
1549
1549
  dataViewId: d.dataViewId,
1550
1550
  plugin: "1",
1551
1551
  layer: "2",
@@ -1581,8 +1581,8 @@ const Dt = (e) => {
1581
1581
  try {
1582
1582
  let s = r;
1583
1583
  /[+\-*/%]+/g.test(r) && (s = (0, eval)(r)), e = e.replace(i, s);
1584
- } catch (s) {
1585
- e = e.replace(i, r), console.warn(s);
1584
+ } catch {
1585
+ e = e.replace(i, r);
1586
1586
  }
1587
1587
  }
1588
1588
  return e;
@@ -1736,7 +1736,7 @@ const Dt = (e) => {
1736
1736
  (r == null ? void 0 : r.pageMode) === "design" ? v = r.sqlConditions ?? [] : v = i(x);
1737
1737
  try {
1738
1738
  return await Fe.post(
1739
- `${ct}/diagram`,
1739
+ `${st}/diagram`,
1740
1740
  {
1741
1741
  source: s,
1742
1742
  dataViewId: l,
@@ -1794,7 +1794,7 @@ const Dt = (e) => {
1794
1794
  })), t = L(0), n = L(0), a = L(0), i = L(0), r = L(!1), s = L();
1795
1795
  let l;
1796
1796
  const d = () => new Promise((S) => {
1797
- Je(() => {
1797
+ ut(() => {
1798
1798
  e.width && e.height ? (t.value = parseFloat(e.width), n.value = parseFloat(e.height)) : (t.value = s.value.clientWidth, n.value = s.value.clientHeight), (!a.value || !i.value) && (a.value = window.screen.width, i.value = window.screen.height), S();
1799
1799
  });
1800
1800
  }), c = () => {
@@ -1816,7 +1816,7 @@ const Dt = (e) => {
1816
1816
  };
1817
1817
  return Ze(async () => {
1818
1818
  r.value = !1, await d(), c(), f(), window.addEventListener("resize", g), y(), r.value = !0;
1819
- }), ut(() => {
1819
+ }), dt(() => {
1820
1820
  window.removeEventListener("resize", g), m();
1821
1821
  }), {
1822
1822
  style: o,
@@ -1915,7 +1915,7 @@ const _l = /* @__PURE__ */ Y(Al, [["render", Tl], ["__scopeId", "data-v-242d350e
1915
1915
  });
1916
1916
  }), F = async () => {
1917
1917
  var _;
1918
- const v = await It.get(`${ct}/user/anonymous?username=admin`, {
1918
+ const v = await It.get(`${st}/user/anonymous?username=admin`, {
1919
1919
  headers: {
1920
1920
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1921
1921
  current_context: "ygt"
@@ -2146,7 +2146,7 @@ const Wl = /* @__PURE__ */ Y(Ul, [["render", jl], ["__scopeId", "data-v-4dd9c03e
2146
2146
  };
2147
2147
  return Ze(() => {
2148
2148
  i();
2149
- }), ut(() => {
2149
+ }), dt(() => {
2150
2150
  a();
2151
2151
  }), {
2152
2152
  style: o,
@@ -2206,8 +2206,8 @@ const Jl = /* @__PURE__ */ Y(Hl, [["render", Zl], ["__scopeId", "data-v-07d3cde3
2206
2206
  textAlign: "left"
2207
2207
  }), a = (m, S) => S == null || S === "" ? m : {
2208
2208
  money: Rt,
2209
- percentage: dt,
2210
- contrast: dt
2209
+ percentage: ct,
2210
+ contrast: ct
2211
2211
  }[S](m) || "", i = (m, S) => {
2212
2212
  const b = parseFloat(m + "");
2213
2213
  if (S !== "contrast")
@@ -3069,7 +3069,7 @@ const qi = /* @__PURE__ */ Y(Gi, [["render", Ui]]), ji = te(qi), Yo = {
3069
3069
  toolboxIconStyleBorderColor: "#666",
3070
3070
  toolboxDownloadUrl: "",
3071
3071
  toolboxInfoText: "当前无说明信息"
3072
- }, Qo = oe(Yo), Wi = ["click", "refreshData", "resetRecord"], tt = async (e) => {
3072
+ }, Qo = oe(Yo), Wi = ["click", "refreshData", "resetRecord"], et = async (e) => {
3073
3073
  var l;
3074
3074
  const o = await Fe.post(e, {}, {
3075
3075
  responseType: "blob"
@@ -3079,10 +3079,10 @@ const qi = /* @__PURE__ */ Y(Gi, [["render", Ui]]), ji = te(qi), Yo = {
3079
3079
  Ne([
3080
3080
  $e,
3081
3081
  ea,
3082
+ Ye,
3082
3083
  Qe,
3083
- Ke,
3084
3084
  Mt,
3085
- Xe
3085
+ Ke
3086
3086
  ]);
3087
3087
  const Vi = Z({
3088
3088
  name: "EcanPie",
@@ -3090,7 +3090,7 @@ const Vi = Z({
3090
3090
  ...Qo
3091
3091
  },
3092
3092
  components: {
3093
- Spin: et,
3093
+ Spin: Xe,
3094
3094
  Echarts: Re,
3095
3095
  AModal: Se
3096
3096
  },
@@ -3119,7 +3119,7 @@ const Vi = Z({
3119
3119
  title: "数据下载",
3120
3120
  icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
3121
3121
  onclick() {
3122
- tt(e.toolboxDownloadUrl);
3122
+ et(e.toolboxDownloadUrl);
3123
3123
  }
3124
3124
  },
3125
3125
  myDataZoom: {
@@ -3243,10 +3243,10 @@ const Vi = Z({
3243
3243
  }), { pageMode: l } = z(re, {
3244
3244
  pageMode: "normal"
3245
3245
  }), d = (F = [], k) => {
3246
- const { dataset: u } = Ye(F, k);
3246
+ const { dataset: u } = Je(F, k);
3247
3247
  t.value = u;
3248
3248
  }, c = (F = [], k) => {
3249
- const u = Ye(F, k);
3249
+ const u = Je(F, k);
3250
3250
  t.value = u.dataset;
3251
3251
  };
3252
3252
  ee(() => e.data, (F) => {
@@ -3426,9 +3426,9 @@ const Zi = /* @__PURE__ */ Y(Vi, [["render", Hi]]), Ji = te(Zi), Ko = {
3426
3426
  Ne([
3427
3427
  $e,
3428
3428
  mo,
3429
- Ke,
3430
3429
  Qe,
3431
- Xe
3430
+ Ye,
3431
+ Ke
3432
3432
  ]);
3433
3433
  const Qi = Z({
3434
3434
  name: "EcanLine",
@@ -3436,7 +3436,7 @@ const Qi = Z({
3436
3436
  ...Xo
3437
3437
  },
3438
3438
  components: {
3439
- Spin: et,
3439
+ Spin: Xe,
3440
3440
  Echarts: Re,
3441
3441
  AModal: Se
3442
3442
  },
@@ -3458,7 +3458,7 @@ const Qi = Z({
3458
3458
  title: "数据下载",
3459
3459
  icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
3460
3460
  onclick() {
3461
- tt(e.toolboxDownloadUrl);
3461
+ et(e.toolboxDownloadUrl);
3462
3462
  }
3463
3463
  },
3464
3464
  myDataZoom: {
@@ -3595,7 +3595,7 @@ const Qi = Z({
3595
3595
  p = ze(k, T);
3596
3596
  } else if (e.dataFieldConfigType === "value") {
3597
3597
  const T = u ? e.valueTypeDataFieldNames : null;
3598
- p = Ye(k, T);
3598
+ p = Je(k, T);
3599
3599
  }
3600
3600
  n.value = p.dimensions;
3601
3601
  const v = p.dataset, _ = [], C = v.length;
@@ -3845,10 +3845,10 @@ const Xi = /* @__PURE__ */ Y(Qi, [["render", Ki]]), er = te(Xi), en = {
3845
3845
  Ne([
3846
3846
  $e,
3847
3847
  go,
3848
- Qe,
3849
- Xe,
3848
+ Ye,
3849
+ Ke,
3850
3850
  yo,
3851
- Ke
3851
+ Qe
3852
3852
  ]);
3853
3853
  const or = Z({
3854
3854
  name: "EcanBar",
@@ -3856,7 +3856,7 @@ const or = Z({
3856
3856
  ...tn
3857
3857
  },
3858
3858
  components: {
3859
- Spin: et,
3859
+ Spin: Xe,
3860
3860
  Echarts: Re,
3861
3861
  AModal: Se
3862
3862
  },
@@ -3894,7 +3894,7 @@ const or = Z({
3894
3894
  title: "数据下载",
3895
3895
  icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
3896
3896
  onclick() {
3897
- tt(e.toolboxDownloadUrl);
3897
+ et(e.toolboxDownloadUrl);
3898
3898
  }
3899
3899
  },
3900
3900
  myDataZoom: {
@@ -4040,7 +4040,7 @@ const or = Z({
4040
4040
  v = ze(u, _);
4041
4041
  } else if (e.dataFieldConfigType === "value") {
4042
4042
  const _ = p ? e.valueTypeDataFieldNames : null;
4043
- v = Ye(u, _);
4043
+ v = Je(u, _);
4044
4044
  }
4045
4045
  n.value = v.dataset, s.value = v.dimensions;
4046
4046
  }, g = (u = [], p, v = !1) => {
@@ -4234,10 +4234,10 @@ const ar = /* @__PURE__ */ Y(or, [["render", nr]]), lr = te(ar), on = {
4234
4234
  Ne([
4235
4235
  $e,
4236
4236
  ho,
4237
- Ke,
4238
4237
  Qe,
4238
+ Ye,
4239
4239
  Mt,
4240
- Xe
4240
+ Ke
4241
4241
  ]);
4242
4242
  const rr = Z({
4243
4243
  name: "EcanScatter",
@@ -4245,7 +4245,7 @@ const rr = Z({
4245
4245
  ...nn
4246
4246
  },
4247
4247
  components: {
4248
- Spin: et,
4248
+ Spin: Xe,
4249
4249
  Echarts: Re,
4250
4250
  AModal: Se
4251
4251
  },
@@ -4267,7 +4267,7 @@ const rr = Z({
4267
4267
  title: "数据下载",
4268
4268
  icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
4269
4269
  onclick() {
4270
- tt(e.toolboxDownloadUrl);
4270
+ et(e.toolboxDownloadUrl);
4271
4271
  }
4272
4272
  },
4273
4273
  myDataZoom: {
@@ -4638,10 +4638,10 @@ Ne([
4638
4638
  $e,
4639
4639
  go,
4640
4640
  mo,
4641
- Qe,
4642
- Xe,
4641
+ Ye,
4642
+ Ke,
4643
4643
  yo,
4644
- Ke
4644
+ Qe
4645
4645
  ]);
4646
4646
  const yr = Z({
4647
4647
  name: "EcanComboGraph",
@@ -4649,7 +4649,7 @@ const yr = Z({
4649
4649
  ...sn
4650
4650
  },
4651
4651
  components: {
4652
- Spin: et,
4652
+ Spin: Xe,
4653
4653
  Echarts: Re,
4654
4654
  AModal: Se
4655
4655
  },
@@ -4674,7 +4674,7 @@ const yr = Z({
4674
4674
  title: "数据下载",
4675
4675
  icon: "path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",
4676
4676
  onclick() {
4677
- tt(e.toolboxDownloadUrl);
4677
+ et(e.toolboxDownloadUrl);
4678
4678
  }
4679
4679
  },
4680
4680
  myDataZoom: {
@@ -4782,7 +4782,7 @@ const yr = Z({
4782
4782
  v = ze(u, j);
4783
4783
  } else if (e.dataFieldConfigType === "value") {
4784
4784
  const j = p ? e.valueTypeDataFieldNames : null;
4785
- v = Ye(u, j);
4785
+ v = Je(u, j);
4786
4786
  }
4787
4787
  n.value = v.dimensions;
4788
4788
  const _ = v.dataset, C = [], T = _.length, O = e.seriesTypes;
@@ -5145,9 +5145,7 @@ const Br = /* @__PURE__ */ Y(Sr, [["render", Pr], ["__scopeId", "data-v-f3fc1305
5145
5145
  touchRequest: () => {
5146
5146
  }
5147
5147
  }), k = () => {
5148
- I.value = !0, Je(() => {
5149
- F();
5150
- });
5148
+ I.value = !0;
5151
5149
  }, u = () => {
5152
5150
  I.value = !1;
5153
5151
  }, p = () => {
@@ -5155,10 +5153,10 @@ const Br = /* @__PURE__ */ Y(Sr, [["render", Pr], ["__scopeId", "data-v-f3fc1305
5155
5153
  }, v = () => {
5156
5154
  u();
5157
5155
  };
5158
- ee(() => I.value, (O) => {
5159
- O ? (m.value = !1, Je(() => {
5156
+ ee(() => I.value, async (O) => {
5157
+ O ? (m.value = !1, await ut(() => {
5160
5158
  h(), window.addEventListener("resize", x), w(), m.value = !0;
5161
- })) : (window.removeEventListener("resize", x), $());
5159
+ }), F()) : (window.removeEventListener("resize", x), $());
5162
5160
  });
5163
5161
  const _ = B(() => A(d) >= 1), C = B(() => e.fullModal), T = B(() => {
5164
5162
  let O = "ecan-modal";
@@ -5234,7 +5232,7 @@ function jr(e, o, t, n, a, i) {
5234
5232
  } : void 0
5235
5233
  ]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
5236
5234
  }
5237
- const Wr = /* @__PURE__ */ Y(qr, [["render", jr], ["__scopeId", "data-v-d4c1c742"]]), Vr = te(Wr), mn = {
5235
+ const Wr = /* @__PURE__ */ Y(qr, [["render", jr], ["__scopeId", "data-v-4752a3f4"]]), Vr = te(Wr), mn = {
5238
5236
  ...le,
5239
5237
  tabHorizontalPadding: "0px",
5240
5238
  type: "ecanTabs",
@@ -5563,7 +5561,7 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5563
5561
  title: ge,
5564
5562
  tableFilter: ue,
5565
5563
  headerCellAlign: Ge,
5566
- headerCellColor: nt
5564
+ headerCellColor: ot
5567
5565
  } = N;
5568
5566
  ue && (y.push(de), N.filterOptionsInputValue = "", N.filterCheckboxGroupValue = [], N.customFilterDropdown = !0, N.onFilter = (Ue, gt) => gt[de].toString().toLowerCase().includes(Ue.toLowerCase())), N.customHeaderCell = () => ({
5569
5567
  style: {
@@ -5572,7 +5570,7 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5572
5570
  fontSize: e.headerFontSize,
5573
5571
  fontWeight: e.headerFontWeight,
5574
5572
  textAlign: Ge || "center",
5575
- color: nt,
5573
+ color: ot,
5576
5574
  borderBottomColor: e.borderColor
5577
5575
  }
5578
5576
  }), N.customCell = (Ue, gt) => ({
@@ -5654,9 +5652,6 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5654
5652
  l.value = U, d.value = W;
5655
5653
  } else
5656
5654
  l.value = M, d.value = D;
5657
- }, {
5658
- immediate: !0,
5659
- flush: "post"
5660
5655
  });
5661
5656
  const x = (M, D) => {
5662
5657
  const U = M[0], W = [{
@@ -5713,7 +5708,7 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5713
5708
  }[N];
5714
5709
  W != null && ne != null && (w.value = W + " " + ne, f.value = 1);
5715
5710
  }
5716
- ot(!1);
5711
+ tt(!1);
5717
5712
  }, u = B(() => {
5718
5713
  const M = e.simple, D = [e.paginationPosition];
5719
5714
  return e.paginationShow && {
@@ -5726,8 +5721,8 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5726
5721
  };
5727
5722
  }), p = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M, v = (M, D) => D == null || D === "" ? M : {
5728
5723
  money: Rt,
5729
- percentage: dt,
5730
- contrast: dt,
5724
+ percentage: ct,
5725
+ contrast: ct,
5731
5726
  boolean: p
5732
5727
  }[D](M) || "", _ = (M, D) => {
5733
5728
  const U = parseFloat(M + "");
@@ -5769,7 +5764,7 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5769
5764
  const U = e.id, W = O(U);
5770
5765
  j(U, { ...W, RECORD: M }), ie.value = D;
5771
5766
  })
5772
- }), ot = (M = !0) => {
5767
+ }), tt = (M = !0) => {
5773
5768
  if (A(T) !== "design")
5774
5769
  switch (e.dataType) {
5775
5770
  case "request":
@@ -5785,7 +5780,7 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5785
5780
  const M = e.id, D = O(M);
5786
5781
  j(M, { ...D, RECORD: "" });
5787
5782
  },
5788
- refreshData: ot
5783
+ refreshData: tt
5789
5784
  });
5790
5785
  const kn = B(() => {
5791
5786
  const M = A(l), D = [];
@@ -5816,8 +5811,8 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5816
5811
  const { isCalcTotal: de, dataIndex: ge } = X;
5817
5812
  if (de === !0) {
5818
5813
  for (let ue = 0; ue < W.length; ue++) {
5819
- const nt = +W[ue][ge];
5820
- isNaN(nt) || (ne = new la(ne).add(nt).toNumber());
5814
+ const ot = +W[ue][ge];
5815
+ isNaN(ot) || (ne = new la(ne).add(ot).toNumber());
5821
5816
  }
5822
5817
  X.total = ne;
5823
5818
  }
@@ -5831,10 +5826,10 @@ const rs = /* @__PURE__ */ Y(as, [["render", is], ["__scopeId", "data-v-b0be60e8
5831
5826
  });
5832
5827
  return An({
5833
5828
  id: e.id,
5834
- requestFn: ot,
5829
+ requestFn: tt,
5835
5830
  sortNum: e.requestSort
5836
5831
  }), o({
5837
- refreshData: ot
5832
+ refreshData: tt
5838
5833
  }), {
5839
5834
  x: a,
5840
5835
  y: i,
@@ -6022,7 +6017,7 @@ function ys(e, o, t, n, a, i) {
6022
6017
  }, 8, ["loading"])
6023
6018
  ], 4);
6024
6019
  }
6025
- const bs = /* @__PURE__ */ Y(ds, [["render", ys], ["__scopeId", "data-v-4292daa2"]]), vs = te(bs), Sn = {
6020
+ const bs = /* @__PURE__ */ Y(ds, [["render", ys], ["__scopeId", "data-v-c77bd76b"]]), vs = te(bs), Sn = {
6026
6021
  ...le,
6027
6022
  mapJson: null,
6028
6023
  data: [],