@ecan-bi/datav 1.1.65 → 1.1.66

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.65 */
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 E, createElementBlock as $, createBlock as Fe, renderSlot as gt, withCtx as Y, ref as I, 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 Fn, resolveDynamicComponent as Rn, 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.66 */
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 Ft, cloneDeep as pt } 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";
@@ -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 je } from "echarts/renderers";
20
20
  import { PieChart as na, LineChart as So, BarChart as wo, ScatterChart as xo, MapChart as aa } from "echarts/charts";
21
- import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as Rt, LegendComponent as et, DatasetComponent as ko, VisualMapComponent as la, GraphicComponent as ia } from "echarts/components";
21
+ import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as Ft, LegendComponent as et, DatasetComponent as ko, VisualMapComponent as la, GraphicComponent as ia } from "echarts/components";
22
22
  import * as ra from "echarts";
23
23
  import "ant-design-vue/es/modal/style";
24
24
  import "ant-design-vue/es/table/style";
@@ -114,61 +114,61 @@ const Ca = "x-vue-echarts", Sa = "ecTheme", wa = "ecInitOptions", xa = "ecUpdate
114
114
  ), s = N(
115
115
  xa,
116
116
  null
117
- ), { autoresize: f, manualUpdate: b, loading: S, loadingOptions: C } = On(e), d = q(
117
+ ), { autoresize: f, manualUpdate: y, loading: S, loadingOptions: C } = On(e), d = q(
118
118
  () => l.value || e.option || /* @__PURE__ */ Object.create(null)
119
- ), u = q(() => e.theme || v(i) || {}), g = q(
119
+ ), u = q(() => e.theme || v(i) || {}), m = q(
120
120
  () => e.initOptions || v(r) || {}
121
- ), y = q(
121
+ ), h = q(
122
122
  () => e.updateOptions || v(s) || {}
123
- ), m = q(() => pa(o));
124
- function A(x) {
123
+ ), b = q(() => pa(o));
124
+ function w(x) {
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
- g.value
130
+ m.value
131
131
  );
132
132
  e.group && (c.group = e.group);
133
- let h = t;
134
- h || (h = {}, Object.keys(o).filter((M) => M.indexOf("on") === 0 && M.length > 2).forEach((M) => {
135
- const _ = M.charAt(2).toLowerCase() + M.slice(3);
136
- h[_] = o[M];
137
- })), Object.keys(h).forEach((M) => {
138
- const _ = h[M];
139
- _ && (M.indexOf("zr:") === 0 ? c.getZr().on(M.slice(3).toLowerCase(), _) : c.on(M.toLowerCase(), _));
133
+ let g = t;
134
+ g || (g = {}, Object.keys(o).filter((E) => E.indexOf("on") === 0 && E.length > 2).forEach((E) => {
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];
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() {
142
142
  if (c && !c.isDisposed())
143
143
  try {
144
144
  c.resize();
145
- } catch (M) {
146
- if (M.message === "Cannot read property 'get' of undefined")
145
+ } catch (E) {
146
+ if (E.message === "Cannot read property 'get' of undefined")
147
147
  return;
148
- throw M;
148
+ throw E;
149
149
  }
150
150
  }
151
- function F() {
152
- c.setOption(x || d.value, y.value);
151
+ function R() {
152
+ c.setOption(x || d.value, h.value);
153
153
  }
154
154
  f.value ? mt(() => {
155
- k(), F();
156
- }) : F();
155
+ k(), R();
156
+ }) : R();
157
157
  }
158
- function w(x, c) {
159
- e.manualUpdate && (l.value = x), a.value ? a.value.setOption(x, c || {}) : A(x);
158
+ function A(x, c) {
159
+ e.manualUpdate && (l.value = x), a.value ? a.value.setOption(x, c || {}) : w(x);
160
160
  }
161
- function D() {
161
+ function L() {
162
162
  a.value && (a.value.dispose(), a.value = void 0);
163
163
  }
164
164
  let p = null;
165
165
  ne(
166
- b,
166
+ y,
167
167
  (x) => {
168
168
  typeof p == "function" && (p(), p = null), x || (p = ne(
169
169
  () => e.option,
170
170
  (c) => {
171
- c && (a.value ? a.value.setOption(c, y.value) : A());
171
+ c && (a.value ? a.value.setOption(c, h.value) : w());
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, g],
180
+ [u, m],
181
181
  () => {
182
- D(), A();
182
+ L(), w();
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 T = ua(a, A);
190
+ const _ = ua(a, w);
191
191
  return ha(a, S, C), fa(a, f, n), Ue(() => {
192
- e.option && A();
193
- }), ft(D), {
192
+ e.option && w();
193
+ }), ft(L), {
194
194
  chart: a,
195
195
  root: n,
196
- setOption: w,
197
- nonEventAttrs: m,
198
- ...T
196
+ setOption: A,
197
+ nonEventAttrs: b,
198
+ ..._
199
199
  };
200
200
  },
201
201
  render() {
@@ -266,8 +266,8 @@ function Ia(e, o, t) {
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], b = [r, t, t, i, l, l][s], S = [l, l, r, t, t, i][s];
270
- return { r: f * 255, g: b * 255, b: S * 255 };
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 };
271
271
  }
272
272
  function Ea(e, o, t, n) {
273
273
  var a = [
@@ -435,7 +435,7 @@ var qt = {
435
435
  };
436
436
  function He(e) {
437
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 = Fa(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), {
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
439
  ok: i,
440
440
  format: e.format || r,
441
441
  r: Math.min(255, Math.max(o.r, 0)),
@@ -457,7 +457,7 @@ var Da = "[-\\+]?\\d+%?", Oa = "[-\\+]?\\d*\\.\\d+%?", Oe = "(?:".concat(Oa, ")|
457
457
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
458
458
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
459
459
  };
460
- function Fa(e) {
460
+ function Ra(e) {
461
461
  if (e = e.trim().toLowerCase(), e.length === 0)
462
462
  return !1;
463
463
  var o = !1;
@@ -493,7 +493,7 @@ function Fa(e) {
493
493
  function Ie(e) {
494
494
  return Boolean(ke.CSS_UNIT.exec(String(e)));
495
495
  }
496
- var rt = 2, jt = 0.16, Ra = 0.05, za = 0.05, $a = 0.15, Ao = 5, _o = 4, Na = [{
496
+ var rt = 2, jt = 0.16, Fa = 0.05, za = 0.05, $a = 0.15, Ao = 5, _o = 4, Na = [{
497
497
  index: 7,
498
498
  opacity: 0.15
499
499
  }, {
@@ -552,7 +552,7 @@ function Ht(e, o, t) {
552
552
  if (e.h === 0 && e.s === 0)
553
553
  return e.s;
554
554
  var n;
555
- return t ? n = e.s - jt * o : o === _o ? n = e.s + jt : n = e.s + Ra * o, n > 1 && (n = 1), t && o === Ao && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Number(n.toFixed(2));
555
+ return t ? n = e.s - jt * o : o === _o ? n = e.s + jt : n = e.s + Fa * o, n > 1 && (n = 1), t && o === Ao && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Number(n.toFixed(2));
556
556
  }
557
557
  function Zt(e, o, t) {
558
558
  var n;
@@ -576,8 +576,8 @@ function It(e) {
576
576
  }));
577
577
  t.push(f);
578
578
  }
579
- return o.theme === "dark" ? Na.map(function(b) {
580
- var S = b.index, C = b.opacity, d = st(Pa(He(o.backgroundColor || "#141414"), He(t[S]), C * 100));
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));
581
581
  return d;
582
582
  }) : t;
583
583
  }
@@ -934,14 +934,14 @@ 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, b = a.twoToneColor, S = a.onClick, C = fl(a, il), d = (n = {
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 = {
938
938
  anticon: !0
939
- }, Et(n, "anticon-".concat(i.name), Boolean(i.name)), Et(n, l, l), n), u = r === "" || r || i.name === "loading" ? "anticon-spin" : "", g = f;
940
- g === void 0 && S && (g = -1, C.tabindex = g);
941
- var y = s ? {
939
+ }, Et(n, "anticon-".concat(i.name), Boolean(i.name)), Et(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 ? {
942
942
  msTransform: "rotate(".concat(s, "deg)"),
943
943
  transform: "rotate(".concat(s, "deg)")
944
- } : void 0, m = Lo(b), A = rl(m, 2), w = A[0], D = A[1];
944
+ } : void 0, b = Lo(y), w = rl(b, 2), A = w[0], L = w[1];
945
945
  return G("span", to({
946
946
  role: "img",
947
947
  "aria-label": i.name
@@ -951,9 +951,9 @@ var Ve = function(o, t) {
951
951
  }), [G(zt, {
952
952
  class: u,
953
953
  icon: i,
954
- primaryColor: w,
955
- secondaryColor: D,
956
- style: y
954
+ primaryColor: A,
955
+ secondaryColor: L,
956
+ style: h
957
957
  }, null)]);
958
958
  };
959
959
  Ve.props = {
@@ -1021,8 +1021,8 @@ const K = (e, o) => {
1021
1021
  }, Cl = { class: "spin-wrapper" };
1022
1022
  function Sl(e, o, t, n, a, l) {
1023
1023
  const i = H("a-spin");
1024
- return E(), $("div", Cl, [
1025
- e.spinning ? (E(), Fe(i, {
1024
+ return D(), $("div", Cl, [
1025
+ e.spinning ? (D(), Re(i, {
1026
1026
  key: 0,
1027
1027
  class: "spin",
1028
1028
  spinning: e.spinning,
@@ -1045,7 +1045,7 @@ const tt = /* @__PURE__ */ K(pl, [["render", Sl]]), wl = Q({
1045
1045
  });
1046
1046
  function xl(e, o, t, n, a, l) {
1047
1047
  const i = H("a-skeleton");
1048
- return E(), Fe(i, {
1048
+ return D(), Re(i, {
1049
1049
  active: "",
1050
1050
  loading: e.loading
1051
1051
  }, {
@@ -1140,7 +1140,7 @@ const ae = (e, o) => {
1140
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
- const Fo = (io = window == null ? void 0 : window.config) == null ? void 0 : io.indicatorURL;
1143
+ const Ro = (io = window == null ? void 0 : window.config) == null ? void 0 : io.indicatorURL;
1144
1144
  var ro;
1145
1145
  (ro = window == null ? void 0 : window.config) != null && ro.uploadPath;
1146
1146
  var so;
@@ -1165,7 +1165,7 @@ const Al = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
1165
1165
  emitEvent: (l, i) => {
1166
1166
  }
1167
1167
  }), { touchEventId: a } = N(fe, {
1168
- touchEventId: I("")
1168
+ touchEventId: M("")
1169
1169
  });
1170
1170
  return (l, i = () => {
1171
1171
  }) => function() {
@@ -1184,30 +1184,30 @@ const Al = ((co = window == null ? void 0 : window.config) == null ? void 0 : co
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
1186
  const l = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), r = e.length;
1187
- for (let b = 0; b < r; b++) {
1188
- const S = e[b], C = S[t] || "", d = S[n] || "", u = S[a] || "";
1187
+ for (let y = 0; y < r; y++) {
1188
+ const S = e[y], C = S[t] || "", d = S[n] || "", u = S[a] || "";
1189
1189
  if (l.add(C), i.has(u)) {
1190
- const g = i.get(u);
1191
- g.push({ name: C, value: d, ...S }), i.set(u, g);
1190
+ const m = i.get(u);
1191
+ m.push({ name: C, value: d, ...S }), i.set(u, m);
1192
1192
  } else
1193
1193
  i.set(u, [{ name: C, value: d, ...S }]);
1194
1194
  }
1195
1195
  const s = Array.from(l), f = [];
1196
- for (const [b, S] of i)
1196
+ for (const [y, S] of i)
1197
1197
  f.push({
1198
- name: b,
1198
+ name: y,
1199
1199
  data: S
1200
1200
  });
1201
1201
  return {
1202
1202
  dimensions: s,
1203
1203
  dataset: f
1204
1204
  };
1205
- }, ao = window.config.requestErrorTip, Re = po.create({
1205
+ }, ao = window.config.requestErrorTip, Fe = po.create({
1206
1206
  // timeout: 1000 * 15
1207
1207
  timeout: 1e3 * 180
1208
1208
  });
1209
- Re.interceptors.request.use((e) => e, (e) => Promise.reject(e));
1210
- Re.interceptors.response.use((e) => {
1209
+ Fe.interceptors.request.use((e) => e, (e) => Promise.reject(e));
1210
+ Fe.interceptors.response.use((e) => {
1211
1211
  var o, t, n;
1212
1212
  return ao && +((o = e == null ? void 0 : e.data) == null ? void 0 : o.code) == 500 && Be.error({
1213
1213
  content: ((t = e == null ? void 0 : e.data) == null ? void 0 : t.msg) || ((n = e == null ? void 0 : e.data) == null ? void 0 : n.message) || "服务器异常",
@@ -1269,13 +1269,13 @@ const _l = (e) => e.replace(/\\n/g, `
1269
1269
  return e;
1270
1270
  for (let s = 0; s < r.length; s++) {
1271
1271
  const f = r[s];
1272
- let b = f.slice(1, -1).trim();
1273
- const S = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, C = b.match(S);
1272
+ let y = f.slice(1, -1).trim();
1273
+ const S = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, C = y.match(S);
1274
1274
  for (let d = 0; d < C.length; d++) {
1275
- const u = C[d], g = i[u];
1276
- g != null && (b = b.replace(u, g));
1275
+ const u = C[d], m = i[u];
1276
+ m != null && (y = y.replace(u, m));
1277
1277
  }
1278
- /\(.*\)/g.test(b) && (b = yt(b, t)), e = e.replace(f, b);
1278
+ /\(.*\)/g.test(y) && (y = yt(y, t)), e = e.replace(f, y);
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 = () => {
@@ -1287,59 +1287,59 @@ const _l = (e) => e.replace(/\\n/g, `
1287
1287
  requestParams: l,
1288
1288
  requestInterval: i,
1289
1289
  isOpenRequestTimer: r
1290
- } = e, { contextRequestUrl: s, pageMode: f, touchEventId: b } = N(fe, {
1290
+ } = e, { contextRequestUrl: s, pageMode: f, touchEventId: y } = N(fe, {
1291
1291
  contextRequestUrl: "",
1292
1292
  pageMode: "normal",
1293
1293
  touchEventId: ""
1294
1294
  }), { getGlobalModel: S } = N(ye, {
1295
1295
  // @ts-ignore
1296
1296
  // eslint-disable-next-line no-void
1297
- getGlobalModel: (g) => {
1297
+ getGlobalModel: (m) => {
1298
1298
  }
1299
- }), C = de(t), d = async (g = {}) => {
1299
+ }), C = de(t), d = async (m = {}) => {
1300
1300
  if (!C || !n || !a || v(f) === "design")
1301
1301
  return;
1302
- let y = {};
1302
+ let h = {};
1303
1303
  l.forEach((p) => {
1304
- const { key: T, value: x } = p;
1304
+ const { key: _, value: x } = p;
1305
1305
  if (typeof x == "object" && x != null && x.id) {
1306
1306
  let c = {};
1307
- const { id: h, prop: k, propKey: F, operate: M } = x;
1308
- h === "THIS" ? c = S(v(b)) || {} : c = S(h) || {};
1309
- const _ = v(c[k]);
1307
+ const { id: g, prop: k, propKey: R, operate: E } = x;
1308
+ g === "THIS" ? c = S(v(y)) || {} : c = S(g) || {};
1309
+ const T = v(c[k]);
1310
1310
  let j = null;
1311
- if (["date", "range"].some((R) => Dt(c == null ? void 0 : c.type, R))) {
1312
- const { value: R, type: B, mode: z } = M || {};
1313
- if (R && B && z)
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
1314
  switch (B) {
1315
1315
  case "add":
1316
- j = v(_).add(R, z);
1316
+ j = v(T).add(F, z);
1317
1317
  break;
1318
1318
  case "minus":
1319
- j = v(_).subtract(R, z);
1319
+ j = v(T).subtract(F, z);
1320
1320
  break;
1321
1321
  }
1322
- j == null && (j = v(_)), j = (j == null ? void 0 : j.format((F == null ? void 0 : F.trim()) || c.format)) || "";
1322
+ j == null && (j = v(T)), j = (j == null ? void 0 : j.format((R == null ? void 0 : R.trim()) || c.format)) || "";
1323
1323
  } else
1324
- Object.prototype.toString.call(_) === "[object Object]" ? j = _[F || "value"] : j = _;
1325
- y[T] = j;
1324
+ Object.prototype.toString.call(T) === "[object Object]" ? j = T[R || "value"] : j = T;
1325
+ h[_] = j;
1326
1326
  } else
1327
- typeof x == "string" && (y[T] = de(x));
1328
- }), y = { ...window.config.requestParams, ...g, ...y };
1329
- let m = "";
1330
- const A = Object.keys(y), w = A.length - 1, D = A.length;
1331
- A.forEach((p, T) => {
1332
- T === 0 ? D !== 1 ? m += `?${p}=${y[p]}&` : m += `?${p}=${y[p]}` : T === w ? m += `${p}=${y[p]}` : m += `${p}=${y[p]}&`;
1327
+ typeof x == "string" && (h[_] = de(x));
1328
+ }), h = { ...window.config.requestParams, ...m, ...h };
1329
+ let b = "";
1330
+ const w = Object.keys(h), A = w.length - 1, L = w.length;
1331
+ w.forEach((p, _) => {
1332
+ _ === 0 ? L !== 1 ? b += `?${p}=${h[p]}&` : b += `?${p}=${h[p]}` : _ === A ? b += `${p}=${h[p]}` : b += `${p}=${h[p]}&`;
1333
1333
  });
1334
1334
  try {
1335
- const p = ["get", "head"].includes(n), T = await Re({
1335
+ const p = ["get", "head"].includes(n), _ = await Fe({
1336
1336
  baseURL: v(s) || "",
1337
- url: p ? C + m : C,
1337
+ url: p ? C + b : C,
1338
1338
  method: n,
1339
1339
  headers: a,
1340
- data: p ? {} : y
1340
+ data: p ? {} : h
1341
1341
  });
1342
- return o(T), T;
1342
+ return o(_), _;
1343
1343
  } catch (p) {
1344
1344
  console.error(p);
1345
1345
  }
@@ -1352,30 +1352,30 @@ const _l = (e) => e.replace(/\\n/g, `
1352
1352
  t = (t == null ? void 0 : t.trim()) || t;
1353
1353
  const a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), i = e.length, r = n.length;
1354
1354
  if (i === 1) {
1355
- const b = [];
1355
+ const y = [];
1356
1356
  for (let C = 0; C < r; C++) {
1357
- const d = n[C], { label: u, value: g } = d, y = { ...e[0], value: e[0][g] };
1358
- a.add(u), b.push(y);
1357
+ const d = n[C], { label: u, value: m } = d, h = { ...e[0], value: e[0][m] };
1358
+ a.add(u), y.push(h);
1359
1359
  }
1360
1360
  const S = e[0][t] || "";
1361
- l.set(S, b);
1361
+ l.set(S, y);
1362
1362
  } else
1363
- for (let b = 0; b < i; b++) {
1364
- const S = e[b], C = S[t];
1363
+ for (let y = 0; y < i; y++) {
1364
+ const S = e[y], C = S[t];
1365
1365
  a.add(C);
1366
1366
  for (let d = 0; d < r; d++) {
1367
- const u = n[d], { label: g, value: y } = u, m = { ...S, value: S[y] };
1368
- if (l.has(g)) {
1369
- const A = l.get(g);
1370
- A.push(m), l.set(g, A);
1367
+ const u = n[d], { label: m, value: h } = u, b = { ...S, value: S[h] };
1368
+ if (l.has(m)) {
1369
+ const w = l.get(m);
1370
+ w.push(b), l.set(m, w);
1371
1371
  } else
1372
- l.set(g, [m]);
1372
+ l.set(m, [b]);
1373
1373
  }
1374
1374
  }
1375
1375
  const s = Array.from(a), f = [];
1376
- for (const [b, S] of l)
1376
+ for (const [y, S] of l)
1377
1377
  f.push({
1378
- name: b,
1378
+ name: y,
1379
1379
  data: S
1380
1380
  });
1381
1381
  return {
@@ -1388,7 +1388,7 @@ const _l = (e) => e.replace(/\\n/g, `
1388
1388
  return e;
1389
1389
  let t = "";
1390
1390
  return e != null && e.includes("://") ? t = e : t = ((n = window == null ? void 0 : window.config) == null ? void 0 : n.uploadPath) + e, o && (t = `url(${t})`), t;
1391
- }, Ro = (e, o) => {
1391
+ }, Fo = (e, o) => {
1392
1392
  const t = `${no}/preview?pageId=${o}`, n = `${no}/${o}`;
1393
1393
  return e === "preview" ? t : n;
1394
1394
  }, Ne = (e, o) => {
@@ -1422,12 +1422,12 @@ const _l = (e) => e.replace(/\\n/g, `
1422
1422
  });
1423
1423
  e.dataType === "indicator" && o();
1424
1424
  const t = (i = {}) => {
1425
- const { label: r, name: s, location: f, show: b, indexCode: S } = i;
1425
+ const { label: r, name: s, location: f, show: y, indexCode: S } = i;
1426
1426
  return {
1427
1427
  label: r,
1428
1428
  columnName: s,
1429
1429
  location: f,
1430
- show: b,
1430
+ show: y,
1431
1431
  calcType: "COLUMN",
1432
1432
  hrpIndexCode: S
1433
1433
  };
@@ -1436,28 +1436,28 @@ const _l = (e) => e.replace(/\\n/g, `
1436
1436
  label: r,
1437
1437
  name: s,
1438
1438
  location: f,
1439
- show: b,
1439
+ show: y,
1440
1440
  indexCode: S,
1441
1441
  calcType: C = "COLUMN",
1442
1442
  builtInFormula: d,
1443
1443
  builtInValueSource: u,
1444
- builtInCalcWay: g,
1445
- formula: y,
1446
- conditions: m
1444
+ builtInCalcWay: m,
1445
+ formula: h,
1446
+ conditions: b
1447
1447
  } = i;
1448
1448
  return {
1449
1449
  label: r,
1450
1450
  columnName: s,
1451
1451
  location: f,
1452
- show: b,
1452
+ show: y,
1453
1453
  calcType: C,
1454
1454
  hrpIndexCode: S,
1455
1455
  aggregate: "SUM",
1456
1456
  builtInFormula: d,
1457
1457
  builtInValueSource: u,
1458
- builtInCalcWay: g,
1459
- formula: y,
1460
- conditions: m
1458
+ builtInCalcWay: m,
1459
+ formula: h,
1460
+ conditions: b
1461
1461
  };
1462
1462
  }, { getGlobalModel: a } = N(ye, {
1463
1463
  // @ts-ignore
@@ -1467,35 +1467,35 @@ const _l = (e) => e.replace(/\\n/g, `
1467
1467
  }), l = (i = []) => {
1468
1468
  var f;
1469
1469
  const r = i.length, s = [];
1470
- for (let b = 0; b < r; b++) {
1471
- const S = i[b], {
1470
+ for (let y = 0; y < r; y++) {
1471
+ const S = i[y], {
1472
1472
  id: C,
1473
1473
  conditionLabel: d,
1474
1474
  conditionKey: u,
1475
- conditionValueType: g
1476
- } = S, y = {
1475
+ conditionValueType: m
1476
+ } = S, h = {
1477
1477
  rule: "NONE",
1478
1478
  label: d,
1479
1479
  fieldName: u,
1480
1480
  fieldValue: "",
1481
1481
  // 在关联控件中取
1482
- valueType: g
1483
- }, m = a(C) || {};
1484
- if (Dt(m.type, "date")) {
1485
- const { value: A, format: w } = m || {};
1486
- y.fieldValue = (f = v(A)) == null ? void 0 : f.format(w), y.dateFormat = w;
1482
+ valueType: m
1483
+ }, b = a(C) || {};
1484
+ if (Dt(b.type, "date")) {
1485
+ const { value: w, format: A } = b || {};
1486
+ h.fieldValue = (f = v(w)) == null ? void 0 : f.format(A), h.dateFormat = A;
1487
1487
  }
1488
- s.push(y);
1488
+ s.push(h);
1489
1489
  }
1490
1490
  return s;
1491
1491
  };
1492
1492
  return async () => {
1493
- var M;
1493
+ var E;
1494
1494
  const { graphicConfig: i, type: r } = e;
1495
1495
  let {
1496
1496
  source: s,
1497
1497
  dataViewId: f,
1498
- plugin: b = "1",
1498
+ plugin: y = "1",
1499
1499
  // 插件类型
1500
1500
  layer: S,
1501
1501
  // 后台图表类型,值分0,1
@@ -1503,27 +1503,27 @@ const _l = (e) => e.replace(/\\n/g, `
1503
1503
  // 前端图表类型,实测没用
1504
1504
  classificationList: d = [],
1505
1505
  seriesList: u = [],
1506
- leftAxisList: g = [],
1507
- rightAxisList: y = [],
1508
- queryColumnList: m = [],
1509
- indicators: A = [],
1510
- controlList: w = [],
1511
- dataSourceId: D,
1506
+ leftAxisList: m = [],
1507
+ rightAxisList: h = [],
1508
+ queryColumnList: b = [],
1509
+ indicators: w = [],
1510
+ controlList: A = [],
1511
+ dataSourceId: L,
1512
1512
  // 所属数据源ID
1513
1513
  idxLibMode: p,
1514
1514
  // 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
1515
- preview: T = !1
1515
+ preview: _ = !1
1516
1516
  // 预览开关
1517
1517
  } = i || {};
1518
1518
  S == null && (Dt(r, "table") ? S = "1" : S = "2");
1519
1519
  let x;
1520
1520
  if (Array.isArray(d) && d.length > 0) {
1521
- const _ = d.length;
1522
- for (let j = 0; j < _; j++) {
1523
- const J = d[j] || {}, { label: R = "", name: B = "", show: z = !1, sort: W, customGroup: X, conditions: ie } = J;
1524
- if (z || _ === 1) {
1521
+ const T = d.length;
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;
1524
+ if (z || T === 1) {
1525
1525
  x = {
1526
- label: R,
1526
+ label: F,
1527
1527
  columnName: B,
1528
1528
  show: z,
1529
1529
  sort: W,
@@ -1536,12 +1536,12 @@ const _l = (e) => e.replace(/\\n/g, `
1536
1536
  }
1537
1537
  let c;
1538
1538
  if (Array.isArray(u) && u.length > 0) {
1539
- const _ = u.length;
1540
- for (let j = 0; j < _; j++) {
1541
- const J = u[j] || {}, { label: R = "", name: B = "", show: z = !1, sort: W, customGroup: X, conditions: ie } = J;
1542
- if (z || _ === 1) {
1539
+ const T = u.length;
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;
1542
+ if (z || T === 1) {
1543
1543
  c = {
1544
- label: R,
1544
+ label: F,
1545
1545
  columnName: B,
1546
1546
  show: z,
1547
1547
  sort: W,
@@ -1552,53 +1552,53 @@ const _l = (e) => e.replace(/\\n/g, `
1552
1552
  }
1553
1553
  }
1554
1554
  }
1555
- const h = [];
1556
- m == null || m.forEach((_) => {
1557
- h.push(t(_));
1555
+ const g = [];
1556
+ b == null || b.forEach((T) => {
1557
+ g.push(t(T));
1558
1558
  });
1559
1559
  const k = [];
1560
- if (g == null || g.forEach((_) => {
1561
- _.location = "LEFT", k.push(n(_));
1562
- }), y == null || y.forEach((_) => {
1563
- _.location = "RIGHT", k.push(n(_));
1564
- }), A == null || A.forEach((_) => {
1565
- _.location = "LEFT", k.push(n(_));
1566
- }), S === "1" && h.length === 0)
1560
+ if (m == null || m.forEach((T) => {
1561
+ T.location = "LEFT", k.push(n(T));
1562
+ }), h == null || h.forEach((T) => {
1563
+ T.location = "RIGHT", k.push(n(T));
1564
+ }), w == null || w.forEach((T) => {
1565
+ T.location = "LEFT", k.push(n(T));
1566
+ }), S === "1" && g.length === 0)
1567
1567
  return;
1568
1568
  if (S === "2" && k.length === 0)
1569
1569
  return;
1570
- let F;
1571
- (i == null ? void 0 : i.pageMode) === "design" ? F = i.sqlConditions ?? [] : F = l(w);
1570
+ let R;
1571
+ (i == null ? void 0 : i.pageMode) === "design" ? R = i.sqlConditions ?? [] : R = l(A);
1572
1572
  try {
1573
- return await Re.post(
1574
- `${Fo}/diagram`,
1573
+ return await Fe.post(
1574
+ `${Ro}/diagram`,
1575
1575
  {
1576
1576
  source: s,
1577
1577
  dataViewId: f,
1578
- plugin: b,
1578
+ plugin: y,
1579
1579
  layer: S,
1580
1580
  chartType: C,
1581
1581
  classification: x,
1582
1582
  series: c,
1583
1583
  indicatorList: k,
1584
- queryColumns: h,
1584
+ queryColumns: g,
1585
1585
  pageFlag: !0,
1586
- sqlConditions: F,
1586
+ sqlConditions: R,
1587
1587
  // fixedDimSql: '',
1588
- dataSourceId: D,
1588
+ dataSourceId: L,
1589
1589
  idxLibMode: p,
1590
- preview: T
1590
+ preview: _
1591
1591
  },
1592
1592
  {
1593
1593
  headers: {
1594
1594
  // @ts-ignore
1595
- Authentication: (M = window == null ? void 0 : window.config) == null ? void 0 : M.indicatorToken,
1595
+ Authentication: (E = window == null ? void 0 : window.config) == null ? void 0 : E.indicatorToken,
1596
1596
  operateContext: "ygt"
1597
1597
  }
1598
1598
  }
1599
1599
  );
1600
- } catch (_) {
1601
- console.error(_);
1600
+ } catch (T) {
1601
+ console.error(T);
1602
1602
  }
1603
1603
  };
1604
1604
  }, Ll = () => {
@@ -1626,22 +1626,22 @@ const _l = (e) => e.replace(/\\n/g, `
1626
1626
  backgroundColor: e.backgroundColor,
1627
1627
  backgroundImage: $e(e.backgroundImage, !0),
1628
1628
  backgroundSize: e.backgroundSize
1629
- })), t = I(0), n = I(0), a = I(0), l = I(0), i = I(!1), r = I();
1629
+ })), t = M(0), n = M(0), a = M(0), l = M(0), i = M(!1), r = M();
1630
1630
  let s;
1631
- const f = () => new Promise((g) => {
1631
+ const f = () => new Promise((m) => {
1632
1632
  mt(() => {
1633
- 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), g();
1633
+ 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();
1634
1634
  });
1635
- }), b = () => {
1635
+ }), y = () => {
1636
1636
  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`);
1637
1637
  }, S = () => {
1638
- const g = document.body.clientWidth, y = document.body.clientHeight, m = t.value || a.value, A = n.value || l.value, w = g / m, D = y / A;
1639
- r.value && (r.value.style.transform = `scale(${w}, ${D})`);
1640
- }, C = Ft(async () => {
1638
+ 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;
1639
+ r.value && (r.value.style.transform = `scale(${A}, ${L})`);
1640
+ }, C = Rt(async () => {
1641
1641
  await f(), S();
1642
1642
  }, 100), d = () => {
1643
- const g = window.MutationObserver;
1644
- s = new g(C), s.observe(r.value, {
1643
+ const m = window.MutationObserver;
1644
+ s = new m(C), s.observe(r.value, {
1645
1645
  attributes: !0,
1646
1646
  attributeFilter: ["style"],
1647
1647
  attributeOldValue: !0
@@ -1650,7 +1650,7 @@ const _l = (e) => e.replace(/\\n/g, `
1650
1650
  s && (s.disconnect(), s.takeRecords(), s = null);
1651
1651
  };
1652
1652
  return Ue(async () => {
1653
- i.value = !1, await f(), b(), S(), window.addEventListener("resize", C), d(), i.value = !0;
1653
+ i.value = !1, await f(), y(), S(), window.addEventListener("resize", C), d(), i.value = !0;
1654
1654
  }), ft(() => {
1655
1655
  window.removeEventListener("resize", C), u();
1656
1656
  }), {
@@ -1665,8 +1665,8 @@ const Ml = {
1665
1665
  ref: "container"
1666
1666
  };
1667
1667
  function El(e, o, t, n, a, l) {
1668
- return E(), $("div", Ml, [
1669
- e.ready ? (E(), $("div", {
1668
+ return D(), $("div", Ml, [
1669
+ e.ready ? (D(), $("div", {
1670
1670
  key: 0,
1671
1671
  class: "page-config",
1672
1672
  style: U(e.style)
@@ -1680,7 +1680,7 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1680
1680
  pageMode: "normal",
1681
1681
  theme: "light",
1682
1682
  containerMap: {}
1683
- }, $o = le(zo), Fl = Q({
1683
+ }, $o = le(zo), Rl = Q({
1684
1684
  name: "EcanProviderConfig",
1685
1685
  inheritAttrs: !1,
1686
1686
  props: {
@@ -1688,7 +1688,7 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1688
1688
  },
1689
1689
  setup(e, { expose: o }) {
1690
1690
  Ll();
1691
- const t = I(), n = () => {
1691
+ const t = M(), n = () => {
1692
1692
  t.value.setAttribute("datav-theme", e.theme);
1693
1693
  };
1694
1694
  ne(() => e.theme, () => {
@@ -1696,7 +1696,7 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1696
1696
  }), Ue(() => {
1697
1697
  n();
1698
1698
  });
1699
- const a = q(() => de(e.contextRequestUrl)), l = q(() => e.pageMode), i = q(() => e.theme), r = I("");
1699
+ const a = q(() => de(e.contextRequestUrl)), l = q(() => e.pageMode), i = q(() => e.theme), r = M("");
1700
1700
  ze(fe, {
1701
1701
  // 请求地址
1702
1702
  contextRequestUrl: a,
@@ -1706,91 +1706,91 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1706
1706
  theme: i,
1707
1707
  touchEventId: r
1708
1708
  });
1709
- const s = /* @__PURE__ */ new Map(), f = (R) => s.get(R);
1709
+ const s = /* @__PURE__ */ new Map(), f = (F) => s.get(F);
1710
1710
  ze(ye, {
1711
1711
  getGlobalModel: f,
1712
- setGlobalModel: (R, B) => {
1713
- s.set(R, B);
1712
+ setGlobalModel: (F, B) => {
1713
+ s.set(F, B);
1714
1714
  }
1715
1715
  });
1716
1716
  const S = [], C = () => {
1717
1717
  S.pop();
1718
- }, d = (R) => {
1719
- S.push(R);
1720
- }, u = /* @__PURE__ */ new Map(), g = (R) => u.get(R);
1718
+ }, d = (F) => {
1719
+ S.push(F);
1720
+ }, u = /* @__PURE__ */ new Map(), m = (F) => u.get(F);
1721
1721
  ze(Oo, {
1722
1722
  popUseModalIds: C,
1723
1723
  pushUseModalIds: d,
1724
- getModalModel: g,
1725
- setModalModel: (R, B) => {
1726
- u.set(R, B);
1724
+ getModalModel: m,
1725
+ setModalModel: (F, B) => {
1726
+ u.set(F, B);
1727
1727
  }
1728
1728
  });
1729
- const m = oa(), A = /* @__PURE__ */ new Set(), w = (R, B) => {
1730
- A.add(R), m.on(R, (z) => typeof B[z] == "function" && B[z]()), Tt(() => {
1731
- D(R);
1729
+ const b = oa(), w = /* @__PURE__ */ new Set(), A = (F, B) => {
1730
+ w.add(F), b.on(F, (z) => typeof B[z] == "function" && B[z]()), Tt(() => {
1731
+ L(F);
1732
1732
  });
1733
- }, D = (R) => {
1734
- A.delete(R), m.off(R);
1733
+ }, L = (F) => {
1734
+ w.delete(F), b.off(F);
1735
1735
  };
1736
1736
  ze(Nt, {
1737
- onEvent: w,
1738
- offEvent: D,
1739
- emitEvent: (R, B) => {
1740
- if (R === "PAGE") {
1737
+ onEvent: A,
1738
+ offEvent: L,
1739
+ emitEvent: (F, B) => {
1740
+ if (F === "PAGE") {
1741
1741
  const z = S.length;
1742
1742
  let W = [];
1743
1743
  if (z === 0)
1744
- W = [...A];
1744
+ W = [...w];
1745
1745
  else {
1746
1746
  const X = S[z - 1];
1747
- W = [...g(X)];
1747
+ W = [...m(X)];
1748
1748
  }
1749
1749
  W.forEach((X) => {
1750
- m.emit(X, B);
1750
+ b.emit(X, B);
1751
1751
  });
1752
1752
  } else
1753
- m.emit(R, B);
1753
+ b.emit(F, B);
1754
1754
  }
1755
1755
  });
1756
- const T = I(0);
1756
+ const _ = M(0);
1757
1757
  ze(Do, {
1758
1758
  requestToken: () => {
1759
- T.value = v(T) + 1;
1759
+ _.value = v(_) + 1;
1760
1760
  }
1761
1761
  });
1762
- const c = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), k = ({ requestFn: R = () => {
1762
+ const c = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), k = ({ requestFn: F = () => {
1763
1763
  }, sortNum: B = 0, id: z = "" }) => {
1764
1764
  if (c.has(B)) {
1765
1765
  const W = c.get(B);
1766
- W == null || W.push(R);
1766
+ W == null || W.push(F);
1767
1767
  } else
1768
- c.set(B, [R]);
1769
- h.set(z, R);
1770
- }, F = (R) => new Promise((B, z) => {
1771
- const W = R.map((X) => X());
1768
+ c.set(B, [F]);
1769
+ g.set(z, F);
1770
+ }, R = (F) => new Promise((B, z) => {
1771
+ const W = F.map((X) => X());
1772
1772
  Promise.all(W).then((X) => {
1773
1773
  B(X);
1774
1774
  }).catch((X) => {
1775
1775
  z(X);
1776
1776
  });
1777
- }), M = async () => {
1777
+ }), E = async () => {
1778
1778
  var z;
1779
- const R = await po.get(`${Fo}/user/anonymous?username=admin&businessOfficeId=350421`, {
1779
+ const F = await po.get(`${Ro}/user/anonymous?username=admin&businessOfficeId=350421`, {
1780
1780
  headers: {
1781
1781
  systemCode: "F72FC50A3D97372514A6AC33333D28FD",
1782
1782
  current_context: "ygt",
1783
1783
  Authentication: ""
1784
1784
  }
1785
- }), { token: B } = ((z = R.data) == null ? void 0 : z.data) || {};
1785
+ }), { token: B } = ((z = F.data) == null ? void 0 : z.data) || {};
1786
1786
  window.config.indicatorToken = B;
1787
- }, _ = (R) => new Promise(async (B, z) => {
1788
- if (R) {
1789
- if (typeof R == "string") {
1790
- const W = h.get(R);
1787
+ }, T = (F) => new Promise(async (B, z) => {
1788
+ if (F) {
1789
+ if (typeof F == "string") {
1790
+ const W = g.get(F);
1791
1791
  if (typeof W == "function") {
1792
- const X = Re.interceptors.response.use((ie) => (B(ie), ie), (ie) => (z(ie), Promise.reject(ie)));
1793
- W(), Re.interceptors.response.eject(X);
1792
+ const X = Fe.interceptors.response.use((ie) => (B(ie), ie), (ie) => (z(ie), Promise.reject(ie)));
1793
+ W(), Fe.interceptors.response.eject(X);
1794
1794
  }
1795
1795
  }
1796
1796
  } else {
@@ -1798,10 +1798,10 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1798
1798
  W.sort((ie, at) => at[0] - ie[0]);
1799
1799
  const X = W.length;
1800
1800
  try {
1801
- e.pageMode !== "design" && v(T) > 0 && await M();
1801
+ e.pageMode !== "design" && v(_) > 0 && await E();
1802
1802
  for (let ie = 0; ie < X; ie++) {
1803
1803
  const at = W[ie][1];
1804
- await F(at);
1804
+ await R(at);
1805
1805
  }
1806
1806
  } catch (ie) {
1807
1807
  console.error(ie);
@@ -1812,37 +1812,37 @@ const Dl = /* @__PURE__ */ K(Il, [["render", El], ["__scopeId", "data-v-242d350e
1812
1812
  });
1813
1813
  ze(Se, {
1814
1814
  setRequest: k,
1815
- touchRequest: _
1815
+ touchRequest: T
1816
1816
  }), ze(Je, {
1817
1817
  emitRefreshPage: () => {
1818
- m.emit(Je);
1818
+ b.emit(Je);
1819
1819
  }
1820
1820
  });
1821
- const J = (R) => {
1822
- m.on(Je, () => R()), Ue(() => {
1823
- m.off(Je);
1821
+ const J = (F) => {
1822
+ b.on(Je, () => F()), Ue(() => {
1823
+ b.off(Je);
1824
1824
  });
1825
1825
  };
1826
1826
  return Tt(() => {
1827
- c == null || c.clear(), h == null || h.clear();
1827
+ c == null || c.clear(), g == null || g.clear();
1828
1828
  }), o({
1829
- touchRequest: _,
1829
+ touchRequest: T,
1830
1830
  getGlobalModel: f,
1831
1831
  onRefreshPage: J
1832
1832
  }), {
1833
1833
  providerConfig: t
1834
1834
  };
1835
1835
  }
1836
- }), Rl = {
1836
+ }), Fl = {
1837
1837
  id: "ProviderConfig",
1838
1838
  ref: "providerConfig"
1839
1839
  };
1840
1840
  function zl(e, o, t, n, a, l) {
1841
- return E(), $("div", Rl, [
1841
+ return D(), $("div", Fl, [
1842
1842
  gt(e.$slots, "default")
1843
1843
  ], 512);
1844
1844
  }
1845
- const $l = /* @__PURE__ */ K(Fl, [["render", zl]]), Nl = ae($l), No = {
1845
+ const $l = /* @__PURE__ */ K(Rl, [["render", zl]]), Nl = ae($l), No = {
1846
1846
  ...se,
1847
1847
  name: "文本",
1848
1848
  keyName: "文本",
@@ -1873,42 +1873,42 @@ const $l = /* @__PURE__ */ K(Fl, [["render", zl]]), Nl = ae($l), No = {
1873
1873
  ...Po
1874
1874
  },
1875
1875
  setup(e) {
1876
- const o = re(e), t = I({});
1876
+ const o = re(e), t = M({});
1877
1877
  ne(() => [e.data, e.dataType], ([C, d]) => {
1878
1878
  d === "static" && (t.value = C);
1879
1879
  }, {
1880
1880
  immediate: !0
1881
1881
  });
1882
1882
  const n = q(() => {
1883
- var g;
1883
+ var m;
1884
1884
  const C = v(t);
1885
1885
  let d = e.text;
1886
1886
  d = d == null ? void 0 : d.replace(/\n|\\n/g, "<br/>"), d = d == null ? void 0 : d.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
1887
1887
  const u = d.match(/\{(.+?)\}/g);
1888
1888
  if (u == null || u.length === 0)
1889
1889
  return d;
1890
- for (let y = 0; y < u.length; y++) {
1891
- const m = u[y], A = (g = m == null ? void 0 : m.slice(1, m.length - 1)) == null ? void 0 : g.trim();
1892
- let w = A;
1893
- const D = A.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1894
- for (let T = 0; T < D.length; T++) {
1895
- const x = D[T], c = C[x];
1896
- c && (w = A.replace(x, c));
1890
+ for (let h = 0; h < u.length; h++) {
1891
+ const b = u[h], w = (m = b == null ? void 0 : b.slice(1, b.length - 1)) == null ? void 0 : m.trim();
1892
+ let A = w;
1893
+ const L = w.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
1894
+ for (let _ = 0; _ < L.length; _++) {
1895
+ const x = L[_], c = C[x];
1896
+ c && (A = w.replace(x, c));
1897
1897
  }
1898
- if (/\(.*\)/g.test(w)) {
1899
- const T = yt(w);
1900
- T != null && (w = T);
1898
+ if (/\(.*\)/g.test(A)) {
1899
+ const _ = yt(A);
1900
+ _ != null && (A = _);
1901
1901
  }
1902
- let p = w;
1903
- if (p === A && (p = e.variableDefaultValue), p != null) {
1904
- const T = e.format;
1905
- T === "percentage" ? (p = +p, isNaN(p) ? d = d.replace(m, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : p >= 0 ? (p = (p * 100).toFixed(2), d = d.replace(m, `<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(m, `<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(m, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}%</span>`))) : e.format === "money" ? (p = +p, isNaN(p) || (p = Pt(p), d = d.replace(m, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`))) : T === "thousands" ? (p = +p, isNaN(p) || (p = Tl(p), d = d.replace(m, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`))) : d = d.replace(m, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${p}</span>`);
1902
+ let p = A;
1903
+ if (p === w && (p = e.variableDefaultValue), p != null) {
1904
+ const _ = e.format;
1905
+ _ === "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>`);
1906
1906
  }
1907
1907
  }
1908
1908
  return `<span>${d}</span>`;
1909
1909
  }), { pageMode: a } = N(fe, {
1910
1910
  pageMode: "normal"
1911
- }), l = _e(e), i = I(!1), r = async () => {
1911
+ }), l = _e(e), i = M(!1), r = async () => {
1912
1912
  var C;
1913
1913
  if (v(a) !== "design")
1914
1914
  try {
@@ -1942,11 +1942,11 @@ const $l = /* @__PURE__ */ K(Fl, [["render", zl]]), Nl = ae($l), No = {
1942
1942
  const S = me(e)("click", () => {
1943
1943
  if (!e.linkPage && !e.href)
1944
1944
  return;
1945
- const C = e.linkPage || "", d = Ro(v(a), C), u = e.href;
1946
- let g = u || d;
1947
- g = de(g);
1948
- const y = e.target;
1949
- y && (y !== "event" ? window.open(g, "_" + y) : window.parent.postMessage({
1945
+ const C = e.linkPage || "", d = Fo(v(a), C), u = e.href;
1946
+ let m = u || d;
1947
+ m = de(m);
1948
+ const h = e.target;
1949
+ h && (h !== "event" ? window.open(m, "_" + h) : window.parent.postMessage({
1950
1950
  type: "openPage",
1951
1951
  url: u
1952
1952
  }, "*"));
@@ -1962,13 +1962,13 @@ const $l = /* @__PURE__ */ K(Fl, [["render", zl]]), Nl = ae($l), No = {
1962
1962
  const ql = ["innerHTML"];
1963
1963
  function jl(e, o, t, n, a, l) {
1964
1964
  const i = H("skeleton");
1965
- return e.loading ? (E(), $("div", {
1965
+ return e.loading ? (D(), $("div", {
1966
1966
  key: 0,
1967
1967
  class: "skeleton-wrapper",
1968
1968
  style: U(e.style)
1969
1969
  }, [
1970
1970
  G(i, { loading: e.loading }, null, 8, ["loading"])
1971
- ], 4)) : (E(), $("div", {
1971
+ ], 4)) : (D(), $("div", {
1972
1972
  key: 1,
1973
1973
  class: "ecan-text",
1974
1974
  style: U(e.style),
@@ -1980,13 +1980,13 @@ const Wl = /* @__PURE__ */ K(Gl, [["render", jl], ["__scopeId", "data-v-f9ba6c3f
1980
1980
  name: "EcanScrollText",
1981
1981
  setup() {
1982
1982
  return {
1983
- text: I("基础文本")
1983
+ text: M("基础文本")
1984
1984
  };
1985
1985
  }
1986
1986
  });
1987
1987
  const Zl = { class: "red" };
1988
1988
  function Jl(e, o, t, n, a, l) {
1989
- return E(), $("div", Zl, be(e.text), 1);
1989
+ return D(), $("div", Zl, be(e.text), 1);
1990
1990
  }
1991
1991
  const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e"]]), Ql = ae(Yl), Bo = {
1992
1992
  ...se,
@@ -2009,7 +2009,7 @@ const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e
2009
2009
  ...Uo
2010
2010
  },
2011
2011
  setup(e) {
2012
- const o = re(e), t = I(Ce().format(e.format));
2012
+ const o = re(e), t = M(Ce().format(e.format));
2013
2013
  let n = null;
2014
2014
  const a = () => {
2015
2015
  clearInterval(n), n = null;
@@ -2029,7 +2029,7 @@ const Yl = /* @__PURE__ */ K(Hl, [["render", Jl], ["__scopeId", "data-v-4dd9c03e
2029
2029
  }
2030
2030
  });
2031
2031
  function Xl(e, o, t, n, a, l) {
2032
- return E(), $("div", {
2032
+ return D(), $("div", {
2033
2033
  class: "time-display",
2034
2034
  style: U(e.style)
2035
2035
  }, be(e.time), 5);
@@ -2074,49 +2074,49 @@ const ei = /* @__PURE__ */ K(Kl, [["render", Xl], ["__scopeId", "data-v-47d57d2d
2074
2074
  ...qo
2075
2075
  },
2076
2076
  setup(e) {
2077
- const o = I(e.data), t = re(e, ["backgroundColor"]), n = q(() => e.useRanking ? {
2077
+ const o = M(e.data), t = re(e, ["backgroundColor"]), n = q(() => e.useRanking ? {
2078
2078
  textAlign: "center"
2079
2079
  } : {
2080
2080
  textAlign: "left"
2081
- }), a = (u, g) => g == null || g === "" ? u : {
2081
+ }), a = (u, m) => m == null || m === "" ? u : {
2082
2082
  money: Pt,
2083
2083
  percentage: ut,
2084
2084
  contrast: ut
2085
- }[g](u) || "", l = (u, g) => {
2086
- const y = parseFloat(u + "");
2087
- if (g !== "contrast")
2085
+ }[m](u) || "", l = (u, m) => {
2086
+ const h = parseFloat(u + "");
2087
+ if (m !== "contrast")
2088
2088
  return "";
2089
2089
  switch (!0) {
2090
- case y >= 0:
2090
+ case h >= 0:
2091
2091
  return "goUp";
2092
- case y < 0:
2092
+ case h < 0:
2093
2093
  return "goDown";
2094
2094
  }
2095
2095
  }, i = _e(e), { pageMode: r } = N(fe, {
2096
2096
  pageMode: "normal"
2097
- }), s = I(!1), f = async () => {
2097
+ }), s = M(!1), f = async () => {
2098
2098
  var u;
2099
2099
  if (!(e.dataType !== "request" || v(r) === "design"))
2100
2100
  try {
2101
2101
  s.value = !0;
2102
- const g = await i();
2103
- o.value = ((u = g == null ? void 0 : g.data) == null ? void 0 : u.data.rows) || [];
2104
- } catch (g) {
2105
- console.error(g);
2102
+ const m = await i();
2103
+ o.value = ((u = m == null ? void 0 : m.data) == null ? void 0 : u.data.rows) || [];
2104
+ } catch (m) {
2105
+ console.error(m);
2106
2106
  } finally {
2107
2107
  s.value = !1;
2108
2108
  }
2109
- }, b = () => {
2109
+ }, y = () => {
2110
2110
  f();
2111
2111
  }, C = me(e)("click", () => {
2112
2112
  });
2113
2113
  he(e, {
2114
- refreshData: b
2114
+ refreshData: y
2115
2115
  });
2116
2116
  const { setRequest: d } = N(Se, {
2117
2117
  // @ts-ignore
2118
2118
  // eslint-disable-next-line no-void
2119
- setRequest: ({ id: u, sortNum: g, requestFn: y }) => {
2119
+ setRequest: ({ id: u, sortNum: m, requestFn: h }) => {
2120
2120
  }
2121
2121
  });
2122
2122
  return d({
@@ -2152,14 +2152,14 @@ const ai = (e) => (fo("data-v-211785ca"), e = e(), mo(), e), li = {
2152
2152
  };
2153
2153
  function fi(e, o, t, n, a, l) {
2154
2154
  const i = H("skeleton");
2155
- return E(), $("div", {
2155
+ return D(), $("div", {
2156
2156
  class: "ecan-list",
2157
2157
  style: U(e.style)
2158
2158
  }, [
2159
2159
  G(i, { loading: e.loading }, {
2160
2160
  default: Y(() => [
2161
- e.useTitle ? (E(), $("div", li, [
2162
- (E(!0), $(Me, null, De(e.columnCount, (r) => (E(), $("div", {
2161
+ e.useTitle ? (D(), $("div", li, [
2162
+ (D(!0), $(Me, null, De(e.columnCount, (r) => (D(), $("div", {
2163
2163
  class: "title-inner",
2164
2164
  style: U({
2165
2165
  backgroundColor: e.backgroundColor,
@@ -2169,8 +2169,8 @@ function fi(e, o, t, n, a, l) {
2169
2169
  }),
2170
2170
  key: r
2171
2171
  }, [
2172
- e.useRanking ? (E(), $("div", ii)) : ve("", !0),
2173
- (E(!0), $(Me, null, De(e.columns, (s, f) => (E(), $("div", {
2172
+ e.useRanking ? (D(), $("div", ii)) : ve("", !0),
2173
+ (D(!0), $(Me, null, De(e.columns, (s, f) => (D(), $("div", {
2174
2174
  class: "column",
2175
2175
  key: s.key || f,
2176
2176
  style: U({
@@ -2180,15 +2180,15 @@ function fi(e, o, t, n, a, l) {
2180
2180
  }, be(s.title), 5))), 128))
2181
2181
  ], 4))), 128))
2182
2182
  ])) : ve("", !0),
2183
- e.dataSource.length > 0 ? (E(), $("div", ri, [
2184
- e.useTitle ? (E(), $("div", {
2183
+ e.dataSource.length > 0 ? (D(), $("div", ri, [
2184
+ e.useTitle ? (D(), $("div", {
2185
2185
  key: 0,
2186
2186
  class: "title-placeholder",
2187
2187
  style: U({
2188
2188
  marginBottom: e.itemRowSpan
2189
2189
  })
2190
2190
  }, null, 4)) : ve("", !0),
2191
- (E(!0), $(Me, null, De(e.dataSource.slice(0, e.sliceCount), (r, s) => (E(), $("div", {
2191
+ (D(!0), $(Me, null, De(e.dataSource.slice(0, e.sliceCount), (r, s) => (D(), $("div", {
2192
2192
  class: "item",
2193
2193
  style: U({
2194
2194
  backgroundColor: e.backgroundColor,
@@ -2200,11 +2200,11 @@ function fi(e, o, t, n, a, l) {
2200
2200
  key: r.id || s,
2201
2201
  onClick: o[0] || (o[0] = (...f) => e.click && e.click(...f))
2202
2202
  }, [
2203
- e.useRanking ? (E(), $("div", si, [
2203
+ e.useRanking ? (D(), $("div", si, [
2204
2204
  ci,
2205
2205
  ee("div", di, " Top " + be(s + 1), 1)
2206
2206
  ])) : ve("", !0),
2207
- (E(!0), $(Me, null, De(e.columns, (f) => (E(), $("div", {
2207
+ (D(!0), $(Me, null, De(e.columns, (f) => (D(), $("div", {
2208
2208
  class: Lt(["column", e.contrastClass(r[f.key], f.format)]),
2209
2209
  key: f.key,
2210
2210
  style: U({
@@ -2215,7 +2215,7 @@ function fi(e, o, t, n, a, l) {
2215
2215
  })
2216
2216
  }, be((f.format != null || f.format !== "") && e.formatFn(r[f.key], f.format)), 7))), 128))
2217
2217
  ], 4))), 128))
2218
- ])) : (E(), $("div", ui, " 暂无数据 "))
2218
+ ])) : (D(), $("div", ui, " 暂无数据 "))
2219
2219
  ]),
2220
2220
  _: 1
2221
2221
  }, 8, ["loading"])
@@ -2259,7 +2259,7 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2259
2259
  }), t = re(e), n = q(() => {
2260
2260
  const u = e.width;
2261
2261
  return parseFloat(u);
2262
- }), a = I({});
2262
+ }), a = M({});
2263
2263
  ne(() => e.data, () => {
2264
2264
  (e.dataType === "static" || v(o) === "design") && (a.value = e.data);
2265
2265
  }, {
@@ -2267,52 +2267,52 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2267
2267
  deep: !0
2268
2268
  });
2269
2269
  const l = q(() => {
2270
- const u = v(a), g = +e.variableDefaultValue;
2270
+ const u = v(a), m = +e.variableDefaultValue;
2271
2271
  if (u == null)
2272
- return isNaN(g) ? 0 : g;
2273
- const y = e.text.match(/\{.+\}/g) || [];
2274
- let m;
2275
- const A = new Set(Object.keys(u));
2276
- for (let w = 0; w < y.length; w++) {
2277
- const D = y[w], p = D.slice(1, D.length - 1);
2278
- if (A.has(p)) {
2279
- m = u[p];
2272
+ return isNaN(m) ? 0 : m;
2273
+ const h = e.text.match(/\{.+\}/g) || [];
2274
+ let b;
2275
+ const w = new Set(Object.keys(u));
2276
+ for (let A = 0; A < h.length; A++) {
2277
+ const L = h[A], p = L.slice(1, L.length - 1);
2278
+ if (w.has(p)) {
2279
+ b = u[p];
2280
2280
  break;
2281
2281
  }
2282
2282
  }
2283
- return typeof m == "number" ? m = m * 100 : typeof m == "string" && !isNaN(+m) ? m = +m * 100 : isNaN(g) ? m = 0 : m = g * 100, e.decimalFormat && (m = +m.toFixed(2)), m;
2283
+ 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;
2284
2284
  }), i = q(() => {
2285
- var A;
2285
+ var w;
2286
2286
  let u = e.text;
2287
2287
  if (u === "")
2288
2288
  return v(l);
2289
- const g = e.variableDefaultValue, y = v(a), m = u.match(/\{.+\}/g) || [];
2290
- for (let w = 0; w < m.length; w++) {
2291
- const D = m[w];
2292
- let p = D.slice(1, D.length - 1);
2293
- const T = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, x = D.match(T);
2294
- for (let h = 0; h < (x == null ? void 0 : x.length); h++) {
2295
- const k = (A = x[h]) == null ? void 0 : A.trim();
2296
- y[k] != null && (p = p.replace(k, y[k]));
2289
+ const m = e.variableDefaultValue, h = v(a), b = u.match(/\{.+\}/g) || [];
2290
+ for (let A = 0; A < b.length; A++) {
2291
+ const L = b[A];
2292
+ let p = L.slice(1, L.length - 1);
2293
+ const _ = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, x = L.match(_);
2294
+ for (let g = 0; g < (x == null ? void 0 : x.length); g++) {
2295
+ const k = (w = x[g]) == null ? void 0 : w.trim();
2296
+ h[k] != null && (p = p.replace(k, h[k]));
2297
2297
  }
2298
2298
  let c = p;
2299
2299
  try {
2300
2300
  /\(.*\)/g.test(p) && (c = yt(p));
2301
- } catch (h) {
2302
- console.error(h);
2301
+ } catch (g) {
2302
+ console.error(g);
2303
2303
  }
2304
- typeof +c == "number" && !isNaN(+c) ? (c = +c * 100, e.decimalFormat && (c = c.toFixed(2))) : c = g, u = u.replace(D, c + "");
2304
+ typeof +c == "number" && !isNaN(+c) ? (c = +c * 100, e.decimalFormat && (c = c.toFixed(2))) : c = m, u = u.replace(L, c + "");
2305
2305
  }
2306
2306
  return u;
2307
- }), r = _e(e), s = I(!1), f = async () => {
2307
+ }), r = _e(e), s = M(!1), f = async () => {
2308
2308
  var u;
2309
2309
  if (!(e.dataType !== "request" || v(o) === "design"))
2310
2310
  try {
2311
2311
  s.value = !0;
2312
- const g = await r();
2313
- a.value = ((u = g == null ? void 0 : g.data) == null ? void 0 : u.data) || {};
2314
- } catch (g) {
2315
- console.error(g);
2312
+ const m = await r();
2313
+ a.value = ((u = m == null ? void 0 : m.data) == null ? void 0 : u.data) || {};
2314
+ } catch (m) {
2315
+ console.error(m);
2316
2316
  } finally {
2317
2317
  s.value = !1;
2318
2318
  }
@@ -2326,7 +2326,7 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2326
2326
  }), { setRequest: d } = N(Se, {
2327
2327
  // @ts-ignore
2328
2328
  // eslint-disable-next-line no-void
2329
- setRequest: ({ id: u, sortNum: g, requestFn: y }) => {
2329
+ setRequest: ({ id: u, sortNum: m, requestFn: h }) => {
2330
2330
  }
2331
2331
  });
2332
2332
  return d({
@@ -2345,7 +2345,7 @@ const mi = /* @__PURE__ */ K(ni, [["render", fi], ["__scopeId", "data-v-211785ca
2345
2345
  });
2346
2346
  function bi(e, o, t, n, a, l) {
2347
2347
  const i = H("skeleton"), r = H("a-progress");
2348
- return E(), $("div", {
2348
+ return D(), $("div", {
2349
2349
  class: "ecan-proportion",
2350
2350
  style: U(e.style)
2351
2351
  }, [
@@ -2362,10 +2362,10 @@ function bi(e, o, t, n, a, l) {
2362
2362
  onClick: e.click
2363
2363
  }, {
2364
2364
  format: Y(() => [
2365
- e.loading ? (E(), Fe(i, {
2365
+ e.loading ? (D(), Re(i, {
2366
2366
  key: 0,
2367
2367
  loading: e.loading
2368
- }, null, 8, ["loading"])) : (E(), $("div", {
2368
+ }, null, 8, ["loading"])) : (D(), $("div", {
2369
2369
  key: 1,
2370
2370
  class: "format",
2371
2371
  style: U({
@@ -2402,7 +2402,7 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2402
2402
  ...Ho
2403
2403
  },
2404
2404
  setup(e) {
2405
- const o = re(e), t = I("");
2405
+ const o = re(e), t = M("");
2406
2406
  ne(() => e.value, (f) => {
2407
2407
  t.value = f;
2408
2408
  }, {
@@ -2415,7 +2415,7 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2415
2415
  },
2416
2416
  // @ts-ignore
2417
2417
  // eslint-disable-next-line no-void
2418
- setGlobalModel: (f, b) => {
2418
+ setGlobalModel: (f, y) => {
2419
2419
  }
2420
2420
  });
2421
2421
  a(e.id, {
@@ -2425,7 +2425,7 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2425
2425
  const l = () => {
2426
2426
  const f = n(e.id);
2427
2427
  a(e.id, { ...f, RECORD: t });
2428
- }, i = me(e), r = Ft(i("inputChange", () => {
2428
+ }, i = me(e), r = Rt(i("inputChange", () => {
2429
2429
  l();
2430
2430
  }), 300), s = i("inputBlur", () => {
2431
2431
  });
@@ -2439,7 +2439,7 @@ const vi = /* @__PURE__ */ K(yi, [["render", bi], ["__scopeId", "data-v-33fedc2e
2439
2439
  });
2440
2440
  function wi(e, o, t, n, a, l) {
2441
2441
  const i = H("a-input");
2442
- return E(), $("div", {
2442
+ return D(), $("div", {
2443
2443
  class: "ecan-input",
2444
2444
  style: U(e.style)
2445
2445
  }, [
@@ -2479,20 +2479,20 @@ const xi = /* @__PURE__ */ K(Si, [["render", wi]]), ki = ae(xi), Zo = {
2479
2479
  ADatePicker: Zn
2480
2480
  },
2481
2481
  setup(e) {
2482
- const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = I(null);
2482
+ const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = M(null);
2483
2483
  ne(() => [e.value, e.useCurrentTime, e.operate], ([r, s, f]) => {
2484
- let b = null;
2485
- if (r ? b = Ce(de(r)) : s && (b = Ce()), f && b) {
2484
+ let y = null;
2485
+ if (r ? y = Ce(de(r)) : s && (y = Ce()), f && y) {
2486
2486
  const { type: S, value: C, mode: d } = f;
2487
2487
  switch (S) {
2488
2488
  case "add":
2489
- b = b.add(C, d);
2489
+ y = y.add(C, d);
2490
2490
  break;
2491
2491
  case "minus":
2492
- b = b.subtract(C, d);
2492
+ y = y.subtract(C, d);
2493
2493
  }
2494
2494
  }
2495
- n.value = b;
2495
+ n.value = y;
2496
2496
  }, {
2497
2497
  deep: !0,
2498
2498
  immediate: !0
@@ -2523,7 +2523,7 @@ const xi = /* @__PURE__ */ K(Si, [["render", wi]]), ki = ae(xi), Zo = {
2523
2523
  });
2524
2524
  function Ti(e, o, t, n, a, l) {
2525
2525
  const i = H("a-date-picker");
2526
- return E(), $("div", {
2526
+ return D(), $("div", {
2527
2527
  class: "ecan-date-picker",
2528
2528
  style: U(e.style)
2529
2529
  }, [
@@ -2569,22 +2569,22 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2569
2569
  setup(e) {
2570
2570
  const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = _e(e), { pageMode: a } = N(fe, {
2571
2571
  pageMode: "normal"
2572
- }), l = I(e.data), i = I(e.value || e.data[0]), r = e.dataFieldNames, s = (y, m) => {
2573
- const A = r.label, w = r.value;
2574
- let D;
2575
- const p = m[A], T = m[w];
2576
- return p != null ? D = p : T != null && (D = T), (D == null ? void 0 : D.toLowerCase().indexOf(y == null ? void 0 : y.toLowerCase())) >= 0;
2577
- }, f = I(!1), b = async () => {
2578
- var y, m;
2572
+ }), l = M(e.data), i = M(e.value || e.data[0]), r = e.dataFieldNames, s = (h, b) => {
2573
+ const w = r.label, A = r.value;
2574
+ let L;
2575
+ const p = b[w], _ = b[A];
2576
+ return p != null ? L = p : _ != null && (L = _), (L == null ? void 0 : L.toLowerCase().indexOf(h == null ? void 0 : h.toLowerCase())) >= 0;
2577
+ }, f = M(!1), y = async () => {
2578
+ var h, b;
2579
2579
  if (!(e.dataType !== "request" || v(a) === "design")) {
2580
2580
  f.value = !0;
2581
2581
  try {
2582
- const A = await n();
2583
- l.value = ((m = (y = A == null ? void 0 : A.data) == null ? void 0 : y.data) == null ? void 0 : m.rows) || [];
2584
- const w = v(l)[0];
2585
- e.value === "" && w != null && (i.value = w[r.value]);
2586
- } catch (A) {
2587
- console.error(A);
2582
+ const w = await n();
2583
+ l.value = ((b = (h = w == null ? void 0 : w.data) == null ? void 0 : h.data) == null ? void 0 : b.rows) || [];
2584
+ const A = v(l)[0];
2585
+ e.value === "" && A != null && (i.value = A[r.value]);
2586
+ } catch (w) {
2587
+ console.error(w);
2588
2588
  } finally {
2589
2589
  f.value = !1;
2590
2590
  }
@@ -2592,11 +2592,11 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2592
2592
  }, { getGlobalModel: S, setGlobalModel: C } = N(ye, {
2593
2593
  // @ts-ignore
2594
2594
  // eslint-disable-next-line no-void
2595
- getGlobalModel: (y) => {
2595
+ getGlobalModel: (h) => {
2596
2596
  },
2597
2597
  // @ts-ignore
2598
2598
  // eslint-disable-next-line no-void
2599
- setGlobalModel: (y, m) => {
2599
+ setGlobalModel: (h, b) => {
2600
2600
  }
2601
2601
  });
2602
2602
  C(e.id, {
@@ -2604,22 +2604,22 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2604
2604
  value: i
2605
2605
  });
2606
2606
  const u = me(e)("selectChange", () => {
2607
- const y = e.id, m = S(y);
2608
- C(y, { ...m, RECORD: i });
2607
+ const h = e.id, b = S(h);
2608
+ C(h, { ...b, RECORD: i });
2609
2609
  });
2610
2610
  he(e, {
2611
2611
  selectChange: u,
2612
- refreshData: b
2612
+ refreshData: y
2613
2613
  });
2614
- const { setRequest: g } = N(Se, {
2614
+ const { setRequest: m } = N(Se, {
2615
2615
  // @ts-ignore
2616
2616
  // eslint-disable-next-line no-void
2617
- setRequest: ({ id: y, sortNum: m, requestFn: A }) => {
2617
+ setRequest: ({ id: h, sortNum: b, requestFn: w }) => {
2618
2618
  }
2619
2619
  });
2620
- return g({
2620
+ return m({
2621
2621
  id: e.id,
2622
- requestFn: b,
2622
+ requestFn: y,
2623
2623
  sortNum: e.requestSort
2624
2624
  }), {
2625
2625
  style: o,
@@ -2634,7 +2634,7 @@ const Li = /* @__PURE__ */ K(_i, [["render", Ti]]), Ii = ae(Li), Yo = {
2634
2634
  });
2635
2635
  function Di(e, o, t, n, a, l) {
2636
2636
  const i = H("a-select");
2637
- return E(), $("div", {
2637
+ return D(), $("div", {
2638
2638
  class: "ecan-select",
2639
2639
  style: U(e.style)
2640
2640
  }, [
@@ -2655,7 +2655,7 @@ function Di(e, o, t, n, a, l) {
2655
2655
  }, null, 8, ["value", "options", "mode", "getPopupContainer", "field-names", "maxTagCount", "filter-option", "loading", "autoClearSearchValue", "onChange"])
2656
2656
  ], 4);
2657
2657
  }
2658
- const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54"]]), Fi = ae(Oi), Ko = {
2658
+ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54"]]), Ri = ae(Oi), Ko = {
2659
2659
  ...se,
2660
2660
  name: "日期范围选择器",
2661
2661
  keyName: "日期范围选择器",
@@ -2672,7 +2672,7 @@ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54
2672
2672
  operate: null,
2673
2673
  limitStartTime: "",
2674
2674
  limitEndTime: ""
2675
- }, Xo = le(Ko), Ri = ["dateChange"], zi = Q({
2675
+ }, Xo = le(Ko), Fi = ["dateChange"], zi = Q({
2676
2676
  name: "EcanRangePicker",
2677
2677
  components: {
2678
2678
  ARangePicker: Yn
@@ -2681,20 +2681,20 @@ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54
2681
2681
  ...Xo
2682
2682
  },
2683
2683
  setup(e) {
2684
- const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = I([null, null]);
2685
- ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, u, g, y, m, A]) => {
2686
- let w = null, D = null;
2687
- if (g && (w = Ce().subtract(y, m), D = Ce()), d && (w = Ce(de(d))), u && (D = Ce(de(u))), A) {
2688
- const { type: p, value: T, mode: x } = A;
2684
+ const o = re(e), t = () => document.getElementById("ProviderConfig") || document.body, n = M([null, null]);
2685
+ ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([d, u, m, h, b, w]) => {
2686
+ let A = null, L = null;
2687
+ if (m && (A = Ce().subtract(h, b), L = Ce()), d && (A = Ce(de(d))), u && (L = Ce(de(u))), w) {
2688
+ const { type: p, value: _, mode: x } = w;
2689
2689
  switch (p) {
2690
2690
  case "add":
2691
- w = w && w.add(T, x), D = D && D.add(T, x);
2691
+ A = A && A.add(_, x), L = L && L.add(_, x);
2692
2692
  break;
2693
2693
  case "minus":
2694
- w = w && w.subtract(T, x), D = D && D.subtract(T, x);
2694
+ A = A && A.subtract(_, x), L = L && L.subtract(_, x);
2695
2695
  }
2696
2696
  }
2697
- n.value = [w, D];
2697
+ n.value = [A, L];
2698
2698
  }, {
2699
2699
  immediate: !0
2700
2700
  });
@@ -2702,23 +2702,23 @@ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54
2702
2702
  const i = (d) => {
2703
2703
  Array.isArray(d) ? (a = d[0], l = d[1]) : (a = null, l = null);
2704
2704
  }, r = (d) => {
2705
- let u = !1, { limitStartTime: g, limitEndTime: y } = e;
2706
- const m = {
2705
+ let u = !1, { limitStartTime: m, limitEndTime: h } = e;
2706
+ const b = {
2707
2707
  startTime: `${a || ""}`,
2708
2708
  endTime: `${l || ""}`
2709
2709
  };
2710
- return g = de(g, { codeData: m }), y = de(y, { codeData: m }), g && y ? u = !(Ce(g) < d && d < Ce(y)) : g ? u = Ce(g) > d : y && (u = Ce(y) < d), u;
2710
+ 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;
2711
2711
  }, { setGlobalModel: s } = N(ye, {
2712
2712
  // @ts-ignore
2713
2713
  // eslint-disable-next-line no-void
2714
2714
  setGlobalModel: (d, u) => {
2715
2715
  }
2716
- }), f = q(() => Array.isArray(v(n)) ? v(n)[0] : null), b = q(() => Array.isArray(v(n)) ? v(n)[1] : null);
2716
+ }), f = q(() => Array.isArray(v(n)) ? v(n)[0] : null), y = q(() => Array.isArray(v(n)) ? v(n)[1] : null);
2717
2717
  s(e.id, {
2718
2718
  type: e.type,
2719
2719
  format: e.format,
2720
2720
  startTime: f,
2721
- endTime: b
2721
+ endTime: y
2722
2722
  });
2723
2723
  const C = me(e)("dateChange", () => {
2724
2724
  console.log("dateChange");
@@ -2738,7 +2738,7 @@ const Oi = /* @__PURE__ */ K(Ei, [["render", Di], ["__scopeId", "data-v-3ca1ad54
2738
2738
  });
2739
2739
  function $i(e, o, t, n, a, l) {
2740
2740
  const i = H("a-range-picker");
2741
- return E(), $("div", {
2741
+ return D(), $("div", {
2742
2742
  class: "ecan-range-picker",
2743
2743
  style: U(e.style)
2744
2744
  }, [
@@ -2805,7 +2805,7 @@ const Ni = /* @__PURE__ */ K(zi, [["render", $i], ["__scopeId", "data-v-24f19e2d
2805
2805
  });
2806
2806
  function Gi(e, o, t, n, a, l) {
2807
2807
  const i = H("a-button");
2808
- return E(), $("div", {
2808
+ return D(), $("div", {
2809
2809
  class: "ecan-button",
2810
2810
  style: U(e.style)
2811
2811
  }, [
@@ -2855,12 +2855,12 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2855
2855
  ...nn
2856
2856
  },
2857
2857
  setup(e) {
2858
- const o = re(e), t = I([]), n = I([]), a = (d) => {
2858
+ const o = re(e), t = M([]), n = M([]), a = (d) => {
2859
2859
  const u = e.value;
2860
- let g = [];
2861
- d.forEach((y) => {
2862
- y.checked && g.push(y.value);
2863
- }), typeof u == "string" && u !== "" ? g = g.concat(u.split(",")) : Array.isArray(u) && (g = g.concat(u)), t.value = d, n.value = g;
2860
+ let m = [];
2861
+ d.forEach((h) => {
2862
+ h.checked && m.push(h.value);
2863
+ }), typeof u == "string" && u !== "" ? m = m.concat(u.split(",")) : Array.isArray(u) && (m = m.concat(u)), t.value = d, n.value = m;
2864
2864
  };
2865
2865
  ne(() => [e.data, e.value], ([d]) => {
2866
2866
  a(d);
@@ -2871,10 +2871,10 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2871
2871
  const l = _e(e), { pageMode: i } = N(fe, {
2872
2872
  pageMode: "normal"
2873
2873
  }), r = async () => {
2874
- var g, y;
2874
+ var m, h;
2875
2875
  if (e.dataType !== "request" || v(i) === "design")
2876
2876
  return;
2877
- const d = await l(), u = ((y = (g = d == null ? void 0 : d.data) == null ? void 0 : g.data) == null ? void 0 : y.rows) || [];
2877
+ const d = await l(), u = ((h = (m = d == null ? void 0 : d.data) == null ? void 0 : m.data) == null ? void 0 : h.rows) || [];
2878
2878
  a(u);
2879
2879
  }, { getGlobalModel: s, setGlobalModel: f } = N(ye, {
2880
2880
  // @ts-ignore
@@ -2896,7 +2896,7 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2896
2896
  }), { setRequest: C } = N(Se, {
2897
2897
  // @ts-ignore
2898
2898
  // eslint-disable-next-line no-void
2899
- setRequest: ({ id: d, sortNum: u, requestFn: g }) => {
2899
+ setRequest: ({ id: d, sortNum: u, requestFn: m }) => {
2900
2900
  }
2901
2901
  });
2902
2902
  return C({
@@ -2913,7 +2913,7 @@ const qi = /* @__PURE__ */ K(Ui, [["render", Gi]]), ji = ae(qi), on = {
2913
2913
  });
2914
2914
  function Hi(e, o, t, n, a, l) {
2915
2915
  const i = H("a-checkbox-group");
2916
- return E(), $("div", {
2916
+ return D(), $("div", {
2917
2917
  class: "ecan-checkbox",
2918
2918
  style: U(e.style)
2919
2919
  }, [
@@ -2992,7 +2992,7 @@ const Zi = /* @__PURE__ */ K(Vi, [["render", Hi]]), Ji = ae(Zi), an = {
2992
2992
  toolboxInfoText: "当前无说明信息"
2993
2993
  }, ln = le(an), Yi = ["click", "refreshData", "resetRecord"], nt = async (e) => {
2994
2994
  var s;
2995
- const o = await Re.post(e, {}, {
2995
+ const o = await Fe.post(e, {}, {
2996
2996
  responseType: "blob"
2997
2997
  }), { 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);
2998
2998
  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);
@@ -3002,7 +3002,7 @@ qe([
3002
3002
  na,
3003
3003
  Ke,
3004
3004
  Xe,
3005
- Rt,
3005
+ Ft,
3006
3006
  et
3007
3007
  ]);
3008
3008
  const Qi = Q({
@@ -3016,15 +3016,15 @@ const Qi = Q({
3016
3016
  AModal: Ae
3017
3017
  },
3018
3018
  setup(e, { expose: o }) {
3019
- const t = re(e), n = I([]), a = I(!1), l = () => {
3019
+ const t = re(e), n = M([]), a = M(!1), l = () => {
3020
3020
  a.value = !1;
3021
3021
  }, i = q(() => {
3022
- let { data: T = [] } = v(n)[0] || {};
3022
+ let { data: _ = [] } = v(n)[0] || {};
3023
3023
  if (Array.isArray(e.colors)) {
3024
3024
  const x = e.isUseLabelColors, c = e.colors;
3025
- T = T.map((h, k) => ({
3025
+ _ = _.map((g, k) => ({
3026
3026
  label: x ? { color: c[k] } : {},
3027
- ...h
3027
+ ...g
3028
3028
  }));
3029
3029
  }
3030
3030
  return {
@@ -3081,20 +3081,20 @@ const Qi = Q({
3081
3081
  show: e.tooltipShow,
3082
3082
  trigger: e.tooltipTrigger,
3083
3083
  formatter: (x) => {
3084
- const { marker: c, seriesName: h, name: k, value: F, percent: M, data: _ } = x || {};
3084
+ const { marker: c, seriesName: g, name: k, value: R, percent: E, data: T } = x || {};
3085
3085
  return de(
3086
3086
  e.tooltipFormatter,
3087
3087
  {
3088
3088
  textData: {
3089
3089
  marker: c,
3090
3090
  name: k,
3091
- value: F,
3092
- percent: M,
3093
- a: h,
3091
+ value: R,
3092
+ percent: E,
3093
+ a: g,
3094
3094
  b: k,
3095
- c: F,
3096
- d: M,
3097
- ..._
3095
+ c: R,
3096
+ d: E,
3097
+ ...T
3098
3098
  }
3099
3099
  },
3100
3100
  {
@@ -3120,7 +3120,7 @@ const Qi = Q({
3120
3120
  color: e.colors,
3121
3121
  series: [
3122
3122
  {
3123
- data: T,
3123
+ data: _,
3124
3124
  type: "pie",
3125
3125
  radius: [e.innerRadius, e.outerRadius],
3126
3126
  center: [e.centerLeft, e.centerTop],
@@ -3158,69 +3158,69 @@ const Qi = Q({
3158
3158
  }), { getGlobalModel: r, setGlobalModel: s } = N(ye, {
3159
3159
  // @ts-ignore
3160
3160
  // eslint-disable-next-line no-void
3161
- getGlobalModel: (T) => {
3161
+ getGlobalModel: (_) => {
3162
3162
  },
3163
3163
  // @ts-ignore
3164
3164
  // eslint-disable-next-line no-void
3165
- setGlobalModel: (T, x) => {
3165
+ setGlobalModel: (_, x) => {
3166
3166
  }
3167
3167
  }), { pageMode: f } = N(fe, {
3168
3168
  pageMode: "normal"
3169
- }), b = (T = [], x) => {
3170
- const { dataset: c } = Qe(T, x);
3169
+ }), y = (_ = [], x) => {
3170
+ const { dataset: c } = Qe(_, x);
3171
3171
  n.value = c;
3172
- }, S = (T = [], x) => {
3173
- const c = Qe(T, x);
3172
+ }, S = (_ = [], x) => {
3173
+ const c = Qe(_, x);
3174
3174
  n.value = c.dataset;
3175
3175
  };
3176
- ne(() => e.data, (T) => {
3177
- (e.dataType === "static" || v(f) === "design") && b(T);
3176
+ ne(() => e.data, (_) => {
3177
+ (e.dataType === "static" || v(f) === "design") && y(_);
3178
3178
  }, {
3179
3179
  immediate: !0,
3180
3180
  deep: !0
3181
3181
  });
3182
- const C = I(!1), d = _e(e), u = async () => {
3183
- var T, x;
3182
+ const C = M(!1), d = _e(e), u = async () => {
3183
+ var _, x;
3184
3184
  if (!(e.dataType !== "request" || v(f) === "design"))
3185
3185
  try {
3186
3186
  C.value = !0;
3187
3187
  const c = await d();
3188
- b((x = (T = c == null ? void 0 : c.data) == null ? void 0 : T.data) == null ? void 0 : x.rows, e.valueTypeDataFieldNames);
3188
+ y((x = (_ = c == null ? void 0 : c.data) == null ? void 0 : _.data) == null ? void 0 : x.rows, e.valueTypeDataFieldNames);
3189
3189
  } catch (c) {
3190
3190
  console.error(c);
3191
3191
  } finally {
3192
3192
  C.value = !1;
3193
3193
  }
3194
- }, y = me(e)("click", (T) => {
3194
+ }, h = me(e)("click", (_) => {
3195
3195
  const x = r(e.id);
3196
- s(e.id, { ...x, RECORD: T == null ? void 0 : T.data });
3197
- }), m = ot(e), A = async () => {
3198
- var T;
3196
+ s(e.id, { ...x, RECORD: _ == null ? void 0 : _.data });
3197
+ }), b = ot(e), w = async () => {
3198
+ var _;
3199
3199
  try {
3200
3200
  C.value = !0;
3201
- const x = await m(), { data: c } = x.data || {};
3201
+ const x = await b(), { data: c } = x.data || {};
3202
3202
  if (c) {
3203
- const { columns: h = [], rows: k = [] } = ((T = x == null ? void 0 : x.data) == null ? void 0 : T.data) ?? {};
3204
- let F = [];
3205
- if (h.length > 0) {
3206
- const M = h[0], _ = h[1];
3207
- F = k.map((j) => ({
3208
- name: j[M],
3209
- value: j[_]
3203
+ const { columns: g = [], rows: k = [] } = ((_ = x == null ? void 0 : x.data) == null ? void 0 : _.data) ?? {};
3204
+ let R = [];
3205
+ if (g.length > 0) {
3206
+ const E = g[0], T = g[1];
3207
+ R = k.map((j) => ({
3208
+ name: j[E],
3209
+ value: j[T]
3210
3210
  }));
3211
3211
  }
3212
- S(F);
3212
+ S(R);
3213
3213
  }
3214
3214
  } catch (x) {
3215
3215
  console.error(x);
3216
3216
  } finally {
3217
3217
  C.value = !1;
3218
3218
  }
3219
- }, w = () => {
3219
+ }, A = () => {
3220
3220
  if (v(f) !== "design")
3221
3221
  switch (e.dataType) {
3222
3222
  case "indicator":
3223
- A();
3223
+ w();
3224
3224
  break;
3225
3225
  case "request":
3226
3226
  u();
@@ -3229,26 +3229,26 @@ const Qi = Q({
3229
3229
  };
3230
3230
  he(e, {
3231
3231
  resetRecord: () => {
3232
- const T = e.id, x = r(T);
3233
- s(T, { ...x, RECORD: "" });
3232
+ const _ = e.id, x = r(_);
3233
+ s(_, { ...x, RECORD: "" });
3234
3234
  },
3235
- refreshData: w,
3236
- click: y
3235
+ refreshData: A,
3236
+ click: h
3237
3237
  }), o({
3238
- refreshData: w
3238
+ refreshData: A
3239
3239
  });
3240
3240
  const { setRequest: p } = N(Se, {
3241
- setRequest: (T) => {
3241
+ setRequest: (_) => {
3242
3242
  }
3243
3243
  });
3244
3244
  return typeof p == "function" && p({
3245
3245
  id: e.id,
3246
- requestFn: w,
3246
+ requestFn: A,
3247
3247
  sortNum: e.requestSort
3248
3248
  }), {
3249
3249
  option: i,
3250
3250
  style: t,
3251
- click: y,
3251
+ click: h,
3252
3252
  loading: C,
3253
3253
  visible: a,
3254
3254
  hideModal: l
@@ -3257,7 +3257,7 @@ const Qi = Q({
3257
3257
  });
3258
3258
  function Ki(e, o, t, n, a, l) {
3259
3259
  const i = H("echarts"), r = H("spin"), s = H("a-modal");
3260
- return E(), $("div", {
3260
+ return D(), $("div", {
3261
3261
  style: U(e.style)
3262
3262
  }, [
3263
3263
  G(r, { spinning: e.loading }, {
@@ -3382,7 +3382,7 @@ const or = Q({
3382
3382
  AModal: Ae
3383
3383
  },
3384
3384
  setup(e, { expose: o }) {
3385
- const t = re(e), n = I([]), a = I([]), l = I(!1), i = () => {
3385
+ const t = re(e), n = M([]), a = M([]), l = M(!1), i = () => {
3386
3386
  l.value = !1;
3387
3387
  }, r = q(() => {
3388
3388
  const x = e.xAxisLabelFormatter, c = e.yAxisLabelFormatter;
@@ -3439,21 +3439,21 @@ const or = Q({
3439
3439
  tooltip: {
3440
3440
  trigger: "axis",
3441
3441
  show: e.tooltipShow,
3442
- formatter: (h) => {
3443
- const k = h.length;
3444
- let F = "", M = e.tooltipFormatter;
3445
- M === "" && (M = "{marker} {a} {c}");
3446
- for (let _ = 0; _ < k; _++) {
3447
- const { marker: j, seriesName: J, name: R, value: B, data: z } = h[_] || {};
3448
- _ === 0 && (F += `${R}<br/>`), F += de(
3449
- M,
3442
+ formatter: (g) => {
3443
+ const k = g.length;
3444
+ let R = "", E = e.tooltipFormatter;
3445
+ E === "" && (E = "{marker} {a} {c}");
3446
+ for (let T = 0; T < k; T++) {
3447
+ const { marker: j, seriesName: J, name: F, value: B, data: z } = g[T] || {};
3448
+ T === 0 && (R += `${F}<br/>`), R += de(
3449
+ E,
3450
3450
  {
3451
3451
  textData: {
3452
3452
  marker: j,
3453
- name: R,
3453
+ name: F,
3454
3454
  value: B,
3455
3455
  a: J,
3456
- b: R,
3456
+ b: F,
3457
3457
  c: B,
3458
3458
  ...z
3459
3459
  }
@@ -3462,9 +3462,9 @@ const or = Q({
3462
3462
  useNewline: !0,
3463
3463
  useSpace: !0
3464
3464
  }
3465
- ), F += "<br/>";
3465
+ ), R += "<br/>";
3466
3466
  }
3467
- return F;
3467
+ return R;
3468
3468
  }
3469
3469
  },
3470
3470
  xAxis: {
@@ -3483,8 +3483,8 @@ const or = Q({
3483
3483
  rotate: e.xAxisLabelRotate,
3484
3484
  width: e.xAxisLabelWidth,
3485
3485
  overflow: e.xAxisLabelOverflow,
3486
- formatter(h) {
3487
- return Ne(x, h);
3486
+ formatter(g) {
3487
+ return Ne(x, g);
3488
3488
  }
3489
3489
  },
3490
3490
  axisLine: {
@@ -3507,8 +3507,8 @@ const or = Q({
3507
3507
  },
3508
3508
  axisLabel: {
3509
3509
  color: e.yAxisLabelColor,
3510
- formatter(h) {
3511
- return Ne(c, h);
3510
+ formatter(g) {
3511
+ return Ne(c, g);
3512
3512
  }
3513
3513
  },
3514
3514
  axisLine: {
@@ -3535,23 +3535,23 @@ const or = Q({
3535
3535
  // eslint-disable-next-line no-void
3536
3536
  setGlobalModel: (x, c) => {
3537
3537
  }
3538
- }), { pageMode: b } = N(fe, {
3538
+ }), { pageMode: y } = N(fe, {
3539
3539
  pageMode: "normal"
3540
3540
  }), S = (x = [], c = !1) => {
3541
- let h;
3541
+ let g;
3542
3542
  if (e.dataFieldConfigType === "key") {
3543
- const _ = c ? e.keyTypeDataFieldNames : null;
3544
- h = Ge(x, _);
3543
+ const T = c ? e.keyTypeDataFieldNames : null;
3544
+ g = Ge(x, T);
3545
3545
  } else if (e.dataFieldConfigType === "value") {
3546
- const _ = c ? e.valueTypeDataFieldNames : null;
3547
- h = Qe(x, _);
3546
+ const T = c ? e.valueTypeDataFieldNames : null;
3547
+ g = Qe(x, T);
3548
3548
  }
3549
- a.value = h.dimensions;
3550
- const k = h.dataset, F = [], M = k.length;
3551
- for (let _ = 0; _ < M; _++)
3552
- F.push({
3549
+ a.value = g.dimensions;
3550
+ const k = g.dataset, R = [], E = k.length;
3551
+ for (let T = 0; T < E; T++)
3552
+ R.push({
3553
3553
  type: "line",
3554
- ...k[_],
3554
+ ...k[T],
3555
3555
  symbolSize: e.symbolSize,
3556
3556
  smooth: e.smooth,
3557
3557
  areaStyle: {
@@ -3574,95 +3574,95 @@ const or = Q({
3574
3574
  width: e.lineStyleWidth
3575
3575
  }
3576
3576
  });
3577
- n.value = F;
3578
- }, C = (x = [], c, h = !1) => {
3579
- const F = Ge(x, h ? c : null);
3580
- a.value = F.dimensions;
3581
- const M = F.dataset, _ = [], j = M.length;
3577
+ n.value = R;
3578
+ }, C = (x = [], c, g = !1) => {
3579
+ const R = Ge(x, g ? c : null);
3580
+ a.value = R.dimensions;
3581
+ const E = R.dataset, T = [], j = E.length;
3582
3582
  for (let J = 0; J < j; J++)
3583
- _.push({
3583
+ T.push({
3584
3584
  type: "line",
3585
- ...M[J],
3585
+ ...E[J],
3586
3586
  symbolSize: e.symbolSize,
3587
3587
  smooth: e.smooth,
3588
3588
  lineStyle: {
3589
3589
  width: e.lineStyleWidth
3590
3590
  }
3591
3591
  });
3592
- n.value = _;
3592
+ n.value = T;
3593
3593
  };
3594
3594
  ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([x]) => {
3595
- (e.dataType === "static" || v(b) === "design") && S(x);
3595
+ (e.dataType === "static" || v(y) === "design") && S(x);
3596
3596
  }, {
3597
3597
  immediate: !0,
3598
3598
  deep: !0
3599
3599
  });
3600
- const d = I(!1), u = _e(e), g = async () => {
3600
+ const d = M(!1), u = _e(e), m = async () => {
3601
3601
  var x, c;
3602
- if (!(e.dataType !== "request" || v(b) === "design"))
3602
+ if (!(e.dataType !== "request" || v(y) === "design"))
3603
3603
  try {
3604
3604
  d.value = !0;
3605
- const h = await u();
3606
- S((c = (x = h == null ? void 0 : h.data) == null ? void 0 : x.data) == null ? void 0 : c.rows, !0);
3607
- } catch (h) {
3608
- console.error(h);
3605
+ const g = await u();
3606
+ S((c = (x = g == null ? void 0 : g.data) == null ? void 0 : x.data) == null ? void 0 : c.rows, !0);
3607
+ } catch (g) {
3608
+ console.error(g);
3609
3609
  } finally {
3610
3610
  d.value = !1;
3611
3611
  }
3612
- }, m = me(e)("click", (x) => {
3612
+ }, b = me(e)("click", (x) => {
3613
3613
  const c = s(e.id);
3614
3614
  f(e.id, { ...c, RECORD: x == null ? void 0 : x.data });
3615
- }), A = ot(e), w = async () => {
3615
+ }), w = ot(e), A = async () => {
3616
3616
  var x;
3617
3617
  try {
3618
3618
  d.value = !0;
3619
- const c = await A(), { columns: h = [], rows: k = [] } = ((x = c == null ? void 0 : c.data) == null ? void 0 : x.data) ?? {};
3620
- let F;
3621
- h.length > 0 && (F = {
3622
- name: h[0],
3623
- types: h.slice(1).map((M) => ({
3624
- label: M,
3625
- value: M
3619
+ const c = await w(), { columns: g = [], rows: k = [] } = ((x = c == null ? void 0 : c.data) == null ? void 0 : x.data) ?? {};
3620
+ let R;
3621
+ g.length > 0 && (R = {
3622
+ name: g[0],
3623
+ types: g.slice(1).map((E) => ({
3624
+ label: E,
3625
+ value: E
3626
3626
  }))
3627
- }), C(k, F, !0);
3627
+ }), C(k, R, !0);
3628
3628
  } catch (c) {
3629
3629
  console.error(c);
3630
3630
  } finally {
3631
3631
  d.value = !1;
3632
3632
  }
3633
- }, D = () => {
3634
- if (v(b) !== "design")
3633
+ }, L = () => {
3634
+ if (v(y) !== "design")
3635
3635
  switch (e.dataType) {
3636
3636
  case "indicator":
3637
- w();
3637
+ A();
3638
3638
  break;
3639
3639
  case "request":
3640
- g();
3640
+ m();
3641
3641
  break;
3642
3642
  }
3643
3643
  };
3644
3644
  he(e, {
3645
- refreshData: D,
3645
+ refreshData: L,
3646
3646
  resetRecord: () => {
3647
3647
  const x = e.id, c = s(x);
3648
3648
  f(x, { ...c, RECORD: "" });
3649
3649
  },
3650
- click: m
3650
+ click: b
3651
3651
  });
3652
- const { setRequest: T } = N(Se, {
3652
+ const { setRequest: _ } = N(Se, {
3653
3653
  setRequest: (x) => {
3654
3654
  }
3655
3655
  });
3656
- return typeof T == "function" && T({
3656
+ return typeof _ == "function" && _({
3657
3657
  id: e.id,
3658
- requestFn: D,
3658
+ requestFn: L,
3659
3659
  sortNum: e.requestSort
3660
3660
  }), o({
3661
- refreshData: D
3661
+ refreshData: L
3662
3662
  }), {
3663
3663
  option: r,
3664
3664
  style: t,
3665
- click: m,
3665
+ click: b,
3666
3666
  loading: d,
3667
3667
  visible: l,
3668
3668
  hideModal: i
@@ -3671,7 +3671,7 @@ const or = Q({
3671
3671
  });
3672
3672
  function nr(e, o, t, n, a, l) {
3673
3673
  const i = H("echarts"), r = H("spin"), s = H("a-modal");
3674
- return E(), $("div", {
3674
+ return D(), $("div", {
3675
3675
  style: U(e.style)
3676
3676
  }, [
3677
3677
  G(r, { spinning: e.loading }, {
@@ -3817,26 +3817,26 @@ const rr = Q({
3817
3817
  AModal: Ae
3818
3818
  },
3819
3819
  setup(e, { expose: o }) {
3820
- const t = re(e), n = I([]), a = I(!1), l = () => {
3820
+ const t = re(e), n = M([]), a = M(!1), l = () => {
3821
3821
  a.value = !1;
3822
3822
  }, i = q(() => {
3823
- const c = v(n), h = c.length, k = [];
3824
- for (let F = 0; F < h; F++) {
3825
- const M = {
3826
- ...c[F],
3823
+ const c = v(n), g = c.length, k = [];
3824
+ for (let R = 0; R < g; R++) {
3825
+ const E = {
3826
+ ...c[R],
3827
3827
  type: "bar",
3828
3828
  barWidth: e.barWidth
3829
3829
  };
3830
- e.isStack && (M.stack = "stack"), M.label = {
3830
+ e.isStack && (E.stack = "stack"), E.label = {
3831
3831
  show: e.labelShow,
3832
3832
  fontSize: e.labelFontSize,
3833
3833
  position: e.labelPosition,
3834
3834
  color: e.labelColor
3835
- }, k.push(M);
3835
+ }, k.push(E);
3836
3836
  }
3837
3837
  return k;
3838
- }), r = I([]), s = I(!1), f = q(() => {
3839
- const c = e.yAxisLabelFormatter, h = e.xAxisLabelFormatter;
3838
+ }), r = M([]), s = M(!1), f = q(() => {
3839
+ const c = e.yAxisLabelFormatter, g = e.xAxisLabelFormatter;
3840
3840
  return {
3841
3841
  toolbox: {
3842
3842
  show: e.toolboxShow,
@@ -3891,19 +3891,19 @@ const rr = Q({
3891
3891
  trigger: "axis",
3892
3892
  show: e.tooltipShow,
3893
3893
  formatter: (k) => {
3894
- const F = k.length;
3895
- let M = "", _ = e.tooltipFormatter;
3896
- _ === "" && (_ = "{marker} {a} {c}");
3897
- for (let j = 0; j < F; j++) {
3898
- const { marker: J, seriesName: R, name: B, value: z, data: W } = k[j] || {};
3899
- j === 0 && (M += `${B}<br/>`), M += de(
3900
- _,
3894
+ const R = k.length;
3895
+ let E = "", T = e.tooltipFormatter;
3896
+ T === "" && (T = "{marker} {a} {c}");
3897
+ for (let j = 0; j < R; j++) {
3898
+ const { marker: J, seriesName: F, name: B, value: z, data: W } = k[j] || {};
3899
+ j === 0 && (E += `${B}<br/>`), E += de(
3900
+ T,
3901
3901
  {
3902
3902
  textData: {
3903
3903
  marker: J,
3904
3904
  name: B,
3905
3905
  value: z,
3906
- a: R,
3906
+ a: F,
3907
3907
  b: B,
3908
3908
  c: z,
3909
3909
  ...W
@@ -3913,9 +3913,9 @@ const rr = Q({
3913
3913
  useNewline: !0,
3914
3914
  useSpace: !0
3915
3915
  }
3916
- ), M += "<br/>";
3916
+ ), E += "<br/>";
3917
3917
  }
3918
- return M;
3918
+ return E;
3919
3919
  },
3920
3920
  // valueFormatter: (value) => {
3921
3921
  // return useVariablesInText(props.tooltipValueFormatter as string, { value })
@@ -3951,7 +3951,7 @@ const rr = Q({
3951
3951
  width: e.xAxisLabelWidth,
3952
3952
  overflow: e.xAxisLabelOverflow,
3953
3953
  formatter(k) {
3954
- return Ne(h, k);
3954
+ return Ne(g, k);
3955
3955
  }
3956
3956
  },
3957
3957
  axisLine: {
@@ -3991,62 +3991,62 @@ const rr = Q({
3991
3991
  },
3992
3992
  series: v(i)
3993
3993
  };
3994
- }), { pageMode: b } = N(fe, {
3994
+ }), { pageMode: y } = N(fe, {
3995
3995
  pageMode: "normal"
3996
- }), S = (c = [], h = !1) => {
3996
+ }), S = (c = [], g = !1) => {
3997
3997
  let k = {};
3998
3998
  if (e.dataFieldConfigType === "key") {
3999
- const F = h ? e.keyTypeDataFieldNames : null;
4000
- k = Ge(c, F);
3999
+ const R = g ? e.keyTypeDataFieldNames : null;
4000
+ k = Ge(c, R);
4001
4001
  } else if (e.dataFieldConfigType === "value") {
4002
- const F = h ? e.valueTypeDataFieldNames : null;
4003
- k = Qe(c, F);
4002
+ const R = g ? e.valueTypeDataFieldNames : null;
4003
+ k = Qe(c, R);
4004
4004
  }
4005
4005
  n.value = k.dataset, r.value = k.dimensions;
4006
- }, C = (c = [], h, k = !1) => {
4007
- const M = Ge(c, k ? h : null);
4008
- n.value = M.dataset, r.value = M.dimensions;
4006
+ }, C = (c = [], g, k = !1) => {
4007
+ const E = Ge(c, k ? g : null);
4008
+ n.value = E.dataset, r.value = E.dimensions;
4009
4009
  };
4010
4010
  ne(() => e.data, (c) => {
4011
- (e.dataType === "static" || v(b) === "design") && S(c);
4011
+ (e.dataType === "static" || v(y) === "design") && S(c);
4012
4012
  }, {
4013
4013
  immediate: !0,
4014
4014
  deep: !0
4015
4015
  });
4016
4016
  const d = _e(e), u = async () => {
4017
- var c, h;
4017
+ var c, g;
4018
4018
  try {
4019
4019
  s.value = !0;
4020
4020
  const k = await d();
4021
- S((h = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : h.rows, !0);
4021
+ S((g = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
4022
4022
  } catch (k) {
4023
4023
  console.error(k);
4024
4024
  } finally {
4025
4025
  s.value = !1;
4026
4026
  }
4027
- }, g = ot(e), y = async () => {
4027
+ }, m = ot(e), h = async () => {
4028
4028
  var c;
4029
4029
  try {
4030
4030
  s.value = !0;
4031
- const h = await g(), { columns: k = [], rows: F = [] } = ((c = h == null ? void 0 : h.data) == null ? void 0 : c.data) ?? {};
4032
- let M;
4033
- k.length > 0 && (M = {
4031
+ const g = await m(), { columns: k = [], rows: R = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
4032
+ let E;
4033
+ k.length > 0 && (E = {
4034
4034
  name: k[0],
4035
- types: k.slice(1).map((_) => ({
4036
- label: _,
4037
- value: _
4035
+ types: k.slice(1).map((T) => ({
4036
+ label: T,
4037
+ value: T
4038
4038
  }))
4039
- }), C(F, M, !0);
4040
- } catch (h) {
4041
- console.error(h);
4039
+ }), C(R, E, !0);
4040
+ } catch (g) {
4041
+ console.error(g);
4042
4042
  } finally {
4043
4043
  s.value = !1;
4044
4044
  }
4045
- }, m = () => {
4046
- if (v(b) !== "design")
4045
+ }, b = () => {
4046
+ if (v(y) !== "design")
4047
4047
  switch (e.dataType) {
4048
4048
  case "indicator":
4049
- y();
4049
+ h();
4050
4050
  break;
4051
4051
  case "request":
4052
4052
  u();
@@ -4054,39 +4054,39 @@ const rr = Q({
4054
4054
  }
4055
4055
  };
4056
4056
  o({
4057
- refreshData: m
4057
+ refreshData: b
4058
4058
  });
4059
- const A = me(e), { getGlobalModel: w, setGlobalModel: D } = N(ye, {
4059
+ const w = me(e), { getGlobalModel: A, setGlobalModel: L } = N(ye, {
4060
4060
  // @ts-ignore
4061
4061
  // eslint-disable-next-line no-void
4062
4062
  getGlobalModel: (c) => {
4063
4063
  },
4064
4064
  // @ts-ignore
4065
4065
  // eslint-disable-next-line no-void
4066
- setGlobalModel: (c, h) => {
4066
+ setGlobalModel: (c, g) => {
4067
4067
  }
4068
- }), p = A("click", (c) => {
4069
- const h = w(e.id);
4070
- D(e.id, { ...h, RECORD: c.data });
4071
- }), { setRequest: T } = N(Se, {
4068
+ }), p = w("click", (c) => {
4069
+ const g = A(e.id);
4070
+ L(e.id, { ...g, RECORD: c.data });
4071
+ }), { setRequest: _ } = N(Se, {
4072
4072
  setRequest: (c) => {
4073
4073
  }
4074
4074
  });
4075
- return typeof T == "function" && T({
4075
+ return typeof _ == "function" && _({
4076
4076
  id: e.id,
4077
- requestFn: m,
4077
+ requestFn: b,
4078
4078
  sortNum: e.requestSort
4079
4079
  }), he(e, {
4080
- refreshData: m,
4080
+ refreshData: b,
4081
4081
  click: p,
4082
4082
  resetRecord: () => {
4083
- const c = e.id, h = w(c);
4084
- D(c, { ...h, RECORD: "" });
4083
+ const c = e.id, g = A(c);
4084
+ L(c, { ...g, RECORD: "" });
4085
4085
  }
4086
4086
  }), {
4087
4087
  option: f,
4088
4088
  style: t,
4089
- refreshData: m,
4089
+ refreshData: b,
4090
4090
  click: p,
4091
4091
  loading: s,
4092
4092
  visible: a,
@@ -4096,7 +4096,7 @@ const rr = Q({
4096
4096
  });
4097
4097
  function sr(e, o, t, n, a, l) {
4098
4098
  const i = H("echarts"), r = H("spin"), s = H("a-modal");
4099
- return E(), $("div", {
4099
+ return D(), $("div", {
4100
4100
  class: "ecan-bar",
4101
4101
  style: U(e.style)
4102
4102
  }, [
@@ -4195,13 +4195,13 @@ const cr = /* @__PURE__ */ K(rr, [["render", sr]]), dr = ae(cr), un = {
4195
4195
  toolboxIconStyleBorderColor: "#666",
4196
4196
  toolboxDownloadUrl: "",
4197
4197
  toolboxInfoText: "当前无说明信息"
4198
- }, fn = le(un), ur = ["click", "refreshData"];
4198
+ }, fn = le(un), ur = ["click", "refreshData", "resetRecord"];
4199
4199
  qe([
4200
4200
  je,
4201
4201
  xo,
4202
4202
  Xe,
4203
4203
  Ke,
4204
- Rt,
4204
+ Ft,
4205
4205
  et
4206
4206
  ]);
4207
4207
  const fr = Q({
@@ -4215,10 +4215,10 @@ const fr = Q({
4215
4215
  AModal: Ae
4216
4216
  },
4217
4217
  setup(e) {
4218
- const o = re(e), t = I([]), n = I(!1), a = () => {
4218
+ const o = re(e), t = M([]), n = M(!1), a = () => {
4219
4219
  n.value = !1;
4220
4220
  }, l = q(() => {
4221
- const m = e.xAxisLabelFormatter, A = e.yAxisLabelFormatter;
4221
+ const w = e.xAxisLabelFormatter, A = e.yAxisLabelFormatter;
4222
4222
  return {
4223
4223
  toolbox: {
4224
4224
  show: e.toolboxShow,
@@ -4283,8 +4283,8 @@ const fr = Q({
4283
4283
  rotate: e.xAxisLabelRotate,
4284
4284
  width: e.xAxisLabelWidth,
4285
4285
  overflow: e.xAxisLabelOverflow,
4286
- formatter(w) {
4287
- return Ne(m, w);
4286
+ formatter(L) {
4287
+ return Ne(w, L);
4288
4288
  }
4289
4289
  },
4290
4290
  axisLine: {
@@ -4305,8 +4305,8 @@ const fr = Q({
4305
4305
  },
4306
4306
  axisLabel: {
4307
4307
  color: e.yAxisLabelColor,
4308
- formatter(w) {
4309
- return Ne(A, w);
4308
+ formatter(L) {
4309
+ return Ne(A, L);
4310
4310
  }
4311
4311
  },
4312
4312
  axisLine: {
@@ -4319,17 +4319,17 @@ const fr = Q({
4319
4319
  tooltip: {
4320
4320
  show: e.tooltipShow,
4321
4321
  trigger: e.tooltipTrigger,
4322
- formatter: function(w) {
4323
- var h;
4324
- const { marker: D, seriesName: p } = w, T = ((h = w == null ? void 0 : w.data) == null ? void 0 : h.record) ?? {}, { name: x, value: c } = T;
4322
+ formatter: function(L) {
4323
+ var k;
4324
+ const { marker: p, seriesName: _ } = L, x = ((k = L == null ? void 0 : L.data) == null ? void 0 : k.record) ?? {}, { name: c, value: g } = x;
4325
4325
  return de(e.tooltipFormatter, {
4326
4326
  textData: {
4327
- marker: D,
4328
- seriesName: p,
4329
- a: p,
4330
- b: x,
4331
- c,
4332
- ...T
4327
+ marker: p,
4328
+ seriesName: _,
4329
+ a: _,
4330
+ b: c,
4331
+ c: g,
4332
+ ...x
4333
4333
  }
4334
4334
  });
4335
4335
  },
@@ -4355,52 +4355,56 @@ const fr = Q({
4355
4355
  }), { getGlobalModel: i, setGlobalModel: r } = N(ye, {
4356
4356
  // @ts-ignore
4357
4357
  // eslint-disable-next-line no-void
4358
- getGlobalModel: (m) => {
4358
+ getGlobalModel: (w) => {
4359
4359
  },
4360
4360
  // @ts-ignore
4361
4361
  // eslint-disable-next-line no-void
4362
- setGlobalModel: (m, A) => {
4362
+ setGlobalModel: (w, A) => {
4363
4363
  }
4364
4364
  }), { pageMode: s } = N(fe, {
4365
4365
  pageMode: "normal"
4366
- }), f = (m = [], A) => {
4367
- const { name: w = "name", value: D = "value" } = A || {};
4368
- t.value = m.map((p) => ({ value: [p[w], p[D]], record: p }));
4366
+ }), f = (w = [], A) => {
4367
+ const { name: L = "name", value: p = "value" } = A || {};
4368
+ t.value = w.map((_) => ({ value: [_[L], _[p]], record: _ }));
4369
4369
  };
4370
- ne(() => e.data, (m) => {
4371
- (e.dataType === "static" || v(s) === "design") && f(m);
4370
+ ne(() => e.data, (w) => {
4371
+ (e.dataType === "static" || v(s) === "design") && f(w);
4372
4372
  }, {
4373
4373
  immediate: !0,
4374
4374
  deep: !0
4375
4375
  });
4376
- const b = I(!1), S = _e(e), C = async () => {
4377
- var m, A;
4376
+ const y = M(!1), S = _e(e), C = async () => {
4377
+ var w, A;
4378
4378
  if (!(e.dataType !== "request" || v(s) === "design")) {
4379
- b.value = !0;
4379
+ y.value = !0;
4380
4380
  try {
4381
- const w = await S();
4382
- f((A = (m = w == null ? void 0 : w.data) == null ? void 0 : m.data) == null ? void 0 : A.rows, e.dataFieldNames);
4383
- } catch (w) {
4384
- console.error(w);
4381
+ const L = await S();
4382
+ f((A = (w = L == null ? void 0 : L.data) == null ? void 0 : w.data) == null ? void 0 : A.rows, e.dataFieldNames);
4383
+ } catch (L) {
4384
+ console.error(L);
4385
4385
  } finally {
4386
- b.value = !1;
4386
+ y.value = !1;
4387
4387
  }
4388
4388
  }
4389
- }, u = me(e)("click", (m) => {
4390
- const A = e.id, w = i(A);
4391
- r(A, { ...w, RECORD: m == null ? void 0 : m.data });
4389
+ }, u = me(e)("click", (w) => {
4390
+ const A = e.id, L = i(A);
4391
+ r(A, { ...L, RECORD: w == null ? void 0 : w.data });
4392
4392
  });
4393
4393
  he(e, {
4394
4394
  refreshData: () => {
4395
4395
  C();
4396
4396
  },
4397
- click: u
4397
+ click: u,
4398
+ resetRecord: () => {
4399
+ const w = e.id, A = i(w);
4400
+ r(w, { ...A, RECORD: "" });
4401
+ }
4398
4402
  });
4399
- const { setRequest: y } = N(Se, {
4400
- setRequest: (m) => {
4403
+ const { setRequest: b } = N(Se, {
4404
+ setRequest: (w) => {
4401
4405
  }
4402
4406
  });
4403
- return typeof y == "function" && y({
4407
+ return typeof b == "function" && b({
4404
4408
  id: e.id,
4405
4409
  requestFn: C,
4406
4410
  sortNum: e.requestSort
@@ -4408,7 +4412,7 @@ const fr = Q({
4408
4412
  option: l,
4409
4413
  style: o,
4410
4414
  click: u,
4411
- loading: b,
4415
+ loading: y,
4412
4416
  visible: n,
4413
4417
  hideModal: a
4414
4418
  };
@@ -4416,7 +4420,7 @@ const fr = Q({
4416
4420
  });
4417
4421
  function mr(e, o, t, n, a, l) {
4418
4422
  const i = H("echarts"), r = H("spin"), s = H("a-modal");
4419
- return E(), $("div", {
4423
+ return D(), $("div", {
4420
4424
  style: U(e.style)
4421
4425
  }, [
4422
4426
  G(r, { spinning: e.loading }, {
@@ -4471,7 +4475,7 @@ const gr = /* @__PURE__ */ K(fr, [["render", mr]]), hr = ae(gr), mn = {
4471
4475
  Echarts: Pe
4472
4476
  },
4473
4477
  setup(e) {
4474
- const o = re(e), t = I();
4478
+ const o = re(e), t = M();
4475
4479
  return ne(() => e.optionCode, (n) => {
4476
4480
  try {
4477
4481
  const a = eval;
@@ -4490,7 +4494,7 @@ const gr = /* @__PURE__ */ K(fr, [["render", mr]]), hr = ae(gr), mn = {
4490
4494
  });
4491
4495
  function br(e, o, t, n, a, l) {
4492
4496
  const i = H("echarts");
4493
- return E(), $("div", {
4497
+ return D(), $("div", {
4494
4498
  style: U(e.style)
4495
4499
  }, [
4496
4500
  G(i, {
@@ -4632,7 +4636,7 @@ const Sr = Q({
4632
4636
  AModal: Ae
4633
4637
  },
4634
4638
  setup(e, { expose: o }) {
4635
- const t = re(e), n = I([]), a = I([]), l = I(!1), i = () => {
4639
+ const t = re(e), n = M([]), a = M([]), l = M(!1), i = () => {
4636
4640
  l.value = !1;
4637
4641
  }, r = q(() => ({
4638
4642
  title: {
@@ -4697,18 +4701,18 @@ const Sr = Q({
4697
4701
  trigger: "axis",
4698
4702
  show: e.tooltipShow,
4699
4703
  formatter: (c) => {
4700
- const h = c.length;
4701
- let k = "", F = e.tooltipFormatter;
4702
- F === "" && (F = "{marker} {a} {c}");
4703
- const M = e.seriesTypes;
4704
- for (let _ = 0; _ < h; _++) {
4705
- const j = M[_], { tooltipFormatter: J } = j || {}, { marker: R, seriesName: B, name: z, value: W, data: X } = c[_] || {};
4706
- _ === 0 && (k += `${z}<br/>`), k += de(
4704
+ const g = c.length;
4705
+ let k = "", R = e.tooltipFormatter;
4706
+ R === "" && (R = "{marker} {a} {c}");
4707
+ const E = e.seriesTypes;
4708
+ for (let T = 0; T < g; T++) {
4709
+ const j = E[T], { tooltipFormatter: J } = j || {}, { marker: F, seriesName: B, name: z, value: W, data: X } = c[T] || {};
4710
+ T === 0 && (k += `${z}<br/>`), k += de(
4707
4711
  // 如果系列有提示框组件就使用自定义,没有就用默认的
4708
- J || F,
4712
+ J || R,
4709
4713
  {
4710
4714
  textData: {
4711
- marker: R,
4715
+ marker: F,
4712
4716
  name: z,
4713
4717
  value: W,
4714
4718
  seriesName: B,
@@ -4760,23 +4764,23 @@ const Sr = Q({
4760
4764
  series: v(n)
4761
4765
  })), { pageMode: s } = N(fe, {
4762
4766
  pageMode: "normal"
4763
- }), f = (c = [], h = !1) => {
4767
+ }), f = (c = [], g = !1) => {
4764
4768
  let k;
4765
4769
  if (e.dataFieldConfigType === "key") {
4766
- const J = h ? e.keyTypeDataFieldNames : null;
4770
+ const J = g ? e.keyTypeDataFieldNames : null;
4767
4771
  k = Ge(c, J);
4768
4772
  } else if (e.dataFieldConfigType === "value") {
4769
- const J = h ? e.valueTypeDataFieldNames : null;
4773
+ const J = g ? e.valueTypeDataFieldNames : null;
4770
4774
  k = Qe(c, J);
4771
4775
  }
4772
4776
  a.value = k.dimensions;
4773
- const F = k.dataset, M = [], _ = F.length, j = e.seriesTypes;
4774
- for (let J = 0; J < _; J++) {
4775
- const R = j[J], { type: B, axisIndex: z } = R || {};
4777
+ const R = k.dataset, E = [], T = R.length, j = e.seriesTypes;
4778
+ for (let J = 0; J < T; J++) {
4779
+ const F = j[J], { type: B, axisIndex: z } = F || {};
4776
4780
  let W = {
4777
4781
  type: B,
4778
4782
  yAxisIndex: z,
4779
- ...F[J]
4783
+ ...R[J]
4780
4784
  };
4781
4785
  B === "line" && (W = {
4782
4786
  ...W,
@@ -4791,19 +4795,19 @@ const Sr = Q({
4791
4795
  }), B === "bar" && (W = {
4792
4796
  ...W,
4793
4797
  barWidth: e.barWidth
4794
- }), M.push(W);
4798
+ }), E.push(W);
4795
4799
  }
4796
- n.value = M;
4797
- }, b = (c = [], h, k = !1) => {
4798
- const M = Ge(c, k ? h : null);
4799
- a.value = M.dimensions;
4800
- const _ = M.dataset, j = [], J = _.length, R = e.seriesTypes;
4800
+ n.value = E;
4801
+ }, y = (c = [], g, k = !1) => {
4802
+ const E = Ge(c, k ? g : null);
4803
+ a.value = E.dimensions;
4804
+ const T = E.dataset, j = [], J = T.length, F = e.seriesTypes;
4801
4805
  for (let B = 0; B < J; B++) {
4802
- const z = R[B];
4806
+ const z = F[B];
4803
4807
  j.push({
4804
4808
  type: z == null ? void 0 : z.type,
4805
4809
  yAxisIndex: z == null ? void 0 : z.axisIndex,
4806
- ..._[B]
4810
+ ...T[B]
4807
4811
  });
4808
4812
  }
4809
4813
  n.value = j;
@@ -4816,7 +4820,7 @@ const Sr = Q({
4816
4820
  });
4817
4821
  const S = q(() => {
4818
4822
  const c = e.yAxis;
4819
- return c == null ? void 0 : c.map((h) => ({
4823
+ return c == null ? void 0 : c.map((g) => ({
4820
4824
  type: "value",
4821
4825
  minInterval: e.yAxisMinInterval,
4822
4826
  splitLine: {
@@ -4828,7 +4832,7 @@ const Sr = Q({
4828
4832
  axisLabel: {
4829
4833
  color: e.yAxisLabelColor,
4830
4834
  formatter(k) {
4831
- return Ne(h.axisLabelFormatter, k);
4835
+ return Ne(g.axisLabelFormatter, k);
4832
4836
  }
4833
4837
  },
4834
4838
  axisLine: {
@@ -4837,41 +4841,41 @@ const Sr = Q({
4837
4841
  }
4838
4842
  }
4839
4843
  }));
4840
- }), C = I(!1), d = _e(e), u = async () => {
4841
- var c, h;
4844
+ }), C = M(!1), d = _e(e), u = async () => {
4845
+ var c, g;
4842
4846
  if (!(e.dataType !== "request" || v(s) === "design"))
4843
4847
  try {
4844
4848
  C.value = !0;
4845
4849
  const k = await d();
4846
- f((h = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : h.rows, !0);
4850
+ f((g = (c = k == null ? void 0 : k.data) == null ? void 0 : c.data) == null ? void 0 : g.rows, !0);
4847
4851
  } catch (k) {
4848
4852
  console.error(k);
4849
4853
  } finally {
4850
4854
  C.value = !1;
4851
4855
  }
4852
- }, g = ot(e), y = async () => {
4856
+ }, m = ot(e), h = async () => {
4853
4857
  var c;
4854
4858
  try {
4855
4859
  C.value = !0;
4856
- const h = await g(), { columns: k = [], rows: F = [] } = ((c = h == null ? void 0 : h.data) == null ? void 0 : c.data) ?? {};
4857
- let M;
4858
- k.length > 0 && (M = {
4860
+ const g = await m(), { columns: k = [], rows: R = [] } = ((c = g == null ? void 0 : g.data) == null ? void 0 : c.data) ?? {};
4861
+ let E;
4862
+ k.length > 0 && (E = {
4859
4863
  name: k[0],
4860
- types: k.slice(1).map((_) => ({
4861
- label: _,
4862
- value: _
4864
+ types: k.slice(1).map((T) => ({
4865
+ label: T,
4866
+ value: T
4863
4867
  }))
4864
- }), b(F, M, !0);
4865
- } catch (h) {
4866
- console.error(h);
4868
+ }), y(R, E, !0);
4869
+ } catch (g) {
4870
+ console.error(g);
4867
4871
  } finally {
4868
4872
  C.value = !1;
4869
4873
  }
4870
- }, m = () => {
4874
+ }, b = () => {
4871
4875
  if (v(s) !== "design")
4872
4876
  switch (e.dataType) {
4873
4877
  case "indicator":
4874
- y();
4878
+ h();
4875
4879
  break;
4876
4880
  case "request":
4877
4881
  u();
@@ -4879,34 +4883,34 @@ const Sr = Q({
4879
4883
  }
4880
4884
  };
4881
4885
  o({
4882
- refreshData: m
4886
+ refreshData: b
4883
4887
  });
4884
- const A = me(e), { getGlobalModel: w, setGlobalModel: D } = N(ye, {
4888
+ const w = me(e), { getGlobalModel: A, setGlobalModel: L } = N(ye, {
4885
4889
  // @ts-ignore
4886
4890
  // eslint-disable-next-line no-void
4887
4891
  getGlobalModel: (c) => {
4888
4892
  },
4889
4893
  // @ts-ignore
4890
4894
  // eslint-disable-next-line no-void
4891
- setGlobalModel: (c, h) => {
4895
+ setGlobalModel: (c, g) => {
4892
4896
  }
4893
- }), p = A("click", (c) => {
4894
- const h = w(e.id);
4895
- D(e.id, { ...h, RECORD: c == null ? void 0 : c.data });
4896
- }), { setRequest: T } = N(Se, {
4897
+ }), p = w("click", (c) => {
4898
+ const g = A(e.id);
4899
+ L(e.id, { ...g, RECORD: c == null ? void 0 : c.data });
4900
+ }), { setRequest: _ } = N(Se, {
4897
4901
  setRequest: (c) => {
4898
4902
  }
4899
4903
  });
4900
- return typeof T == "function" && T({
4904
+ return typeof _ == "function" && _({
4901
4905
  id: e.id,
4902
- requestFn: m,
4906
+ requestFn: b,
4903
4907
  sortNum: e.requestSort
4904
4908
  }), he(e, {
4905
4909
  resetRecord: () => {
4906
- const c = e.id, h = w(c);
4907
- D(c, { ...h, RECORD: "" });
4910
+ const c = e.id, g = A(c);
4911
+ L(c, { ...g, RECORD: "" });
4908
4912
  },
4909
- refreshData: m,
4913
+ refreshData: b,
4910
4914
  click: p
4911
4915
  }), {
4912
4916
  style: t,
@@ -4920,7 +4924,7 @@ const Sr = Q({
4920
4924
  });
4921
4925
  function wr(e, o, t, n, a, l) {
4922
4926
  const i = H("echarts"), r = H("spin"), s = H("a-modal");
4923
- return E(), $("div", {
4927
+ return D(), $("div", {
4924
4928
  style: U(e.style)
4925
4929
  }, [
4926
4930
  G(r, { spinning: e.loading }, {
@@ -4996,7 +5000,7 @@ const xr = /* @__PURE__ */ K(Sr, [["render", wr]]), kr = ae(xr), bn = {
4996
5000
  width: "100%",
4997
5001
  height: "100%"
4998
5002
  })), l = me(e)("click", () => {
4999
- }), i = I([]);
5003
+ }), i = M([]);
5000
5004
  ne(() => e.data, (s) => {
5001
5005
  i.value = s;
5002
5006
  }, {
@@ -5022,7 +5026,7 @@ const xr = /* @__PURE__ */ K(Sr, [["render", wr]]), kr = ae(xr), bn = {
5022
5026
  };
5023
5027
  }
5024
5028
  }), Tr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=", Lr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==";
5025
- const Te = (e) => (fo("data-v-1550b11b"), e = e(), mo(), e), Ir = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "top-left border-item" }, null, -1)), Mr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "top-right border-item" }, null, -1)), Er = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "bottom-left border-item" }, null, -1)), Dr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "bottom-right border-item" }, null, -1)), Or = { class: "title-item-wrapper" }, Fr = { class: "title-item" }, Rr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("img", {
5029
+ const Te = (e) => (fo("data-v-1550b11b"), e = e(), mo(), e), Ir = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "top-left border-item" }, null, -1)), Mr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "top-right border-item" }, null, -1)), Er = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "bottom-left border-item" }, null, -1)), Dr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("div", { class: "bottom-right border-item" }, null, -1)), Or = { class: "title-item-wrapper" }, Rr = { class: "title-item" }, Fr = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("img", {
5026
5030
  class: "title-decoration-left",
5027
5031
  src: Tr
5028
5032
  }, null, -1)), zr = { class: "title" }, $r = /* @__PURE__ */ Te(() => /* @__PURE__ */ ee("img", {
@@ -5033,31 +5037,31 @@ const Te = (e) => (fo("data-v-1550b11b"), e = e(), mo(), e), Ir = /* @__PURE__ *
5033
5037
  class: "left-title"
5034
5038
  }, qr = { class: "title" };
5035
5039
  function jr(e, o, t, n, a, l) {
5036
- return E(), $("div", {
5040
+ return D(), $("div", {
5037
5041
  class: "ecan-border",
5038
5042
  style: U(e.style),
5039
5043
  onClick: o[0] || (o[0] = (...i) => e.click && e.click(...i))
5040
5044
  }, [
5041
- e.mode === "no-title" ? (E(), $("div", {
5045
+ e.mode === "no-title" ? (D(), $("div", {
5042
5046
  key: 0,
5043
5047
  class: "no-title",
5044
5048
  style: U(e.borderStyle)
5045
5049
  }, [
5046
- e.useBorderModify ? (E(), $(Me, { key: 0 }, [
5050
+ e.useBorderModify ? (D(), $(Me, { key: 0 }, [
5047
5051
  Ir,
5048
5052
  Mr,
5049
5053
  Er,
5050
5054
  Dr
5051
5055
  ], 64)) : ve("", !0)
5052
5056
  ], 4)) : ve("", !0),
5053
- e.mode === "top-title" ? (E(), $("div", {
5057
+ e.mode === "top-title" ? (D(), $("div", {
5054
5058
  key: 1,
5055
5059
  class: "top-title",
5056
5060
  style: U(e.borderStyle)
5057
5061
  }, [
5058
5062
  ee("div", Or, [
5059
- ee("div", Fr, [
5060
- Rr,
5063
+ ee("div", Rr, [
5064
+ Fr,
5061
5065
  ee("div", zr, be(e.title), 1),
5062
5066
  $r
5063
5067
  ])
@@ -5067,7 +5071,7 @@ function jr(e, o, t, n, a, l) {
5067
5071
  Br,
5068
5072
  Ur
5069
5073
  ], 4)) : ve("", !0),
5070
- e.mode === "left-title" ? (E(), $("div", Gr, [
5074
+ e.mode === "left-title" ? (D(), $("div", Gr, [
5071
5075
  ee("div", qr, [
5072
5076
  ee("span", null, be(e.title), 1)
5073
5077
  ])
@@ -5111,31 +5115,31 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5111
5115
  bottom: "bottom"
5112
5116
  }[z]
5113
5117
  };
5114
- }), n = e.width, a = e.height, l = e.originalWidth, i = e.originalHeight, r = I("80%"), s = I(0), f = I(), b = I(0), S = I({}), C = re(e), d = I({}), u = I(!1), g = I();
5115
- let y;
5116
- const m = () => {
5118
+ }), 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();
5119
+ let h;
5120
+ const b = () => {
5117
5121
  f.value = parseFloat(n) / parseFloat(l);
5118
5122
  const z = parseFloat(a) / parseFloat(i), W = document.body.offsetWidth, X = document.body.offsetHeight;
5119
- s.value = W * v(f), b.value = X * z, r.value = `${v(f) * 100}%`, S.value = {
5123
+ s.value = W * v(f), y.value = X * z, r.value = `${v(f) * 100}%`, S.value = {
5120
5124
  width: `${v(s)}px`,
5121
- height: `${v(b)}px`
5125
+ height: `${v(y)}px`
5122
5126
  }, d.value = {
5123
5127
  ...v(C),
5124
5128
  backgroundImage: $e(e.backgroundImage, !0),
5125
- transform: `scale(${v(s) / parseFloat(n)},${v(b) / parseFloat(a)})`
5129
+ transform: `scale(${v(s) / parseFloat(n)},${v(y) / parseFloat(a)})`
5126
5130
  };
5127
- }, A = Ft(() => {
5128
- m();
5129
- }, 100), w = () => {
5131
+ }, w = Rt(() => {
5132
+ b();
5133
+ }, 100), A = () => {
5130
5134
  const z = window.MutationObserver;
5131
- y = new z(A), y.observe(document.body, {
5135
+ h = new z(w), h.observe(document.body, {
5132
5136
  attributes: !0,
5133
5137
  attributeFilter: ["style"],
5134
5138
  attributeOldValue: !0
5135
5139
  });
5136
- }, D = () => {
5137
- y && (y.disconnect(), y.takeRecords(), y = null);
5138
- }, p = I(!1), { touchRequest: T } = N(Se, {
5140
+ }, L = () => {
5141
+ h && (h.disconnect(), h.takeRecords(), h = null);
5142
+ }, p = M(!1), { touchRequest: _ } = N(Se, {
5139
5143
  // @ts-ignore
5140
5144
  // eslint-disable-next-line no-void
5141
5145
  touchRequest: () => {
@@ -5144,11 +5148,11 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5144
5148
  p.value = !0;
5145
5149
  }, c = () => {
5146
5150
  p.value = !1;
5147
- }, h = () => {
5151
+ }, g = () => {
5148
5152
  c();
5149
5153
  }, k = () => {
5150
5154
  c();
5151
- }, { setModalModel: F, pushUseModalIds: M, popUseModalIds: _ } = N(Oo, {
5155
+ }, { setModalModel: R, pushUseModalIds: E, popUseModalIds: T } = N(Oo, {
5152
5156
  pushUseModalIds: (z) => {
5153
5157
  },
5154
5158
  popUseModalIds: () => {
@@ -5159,31 +5163,31 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5159
5163
  const z = e.id;
5160
5164
  let W = [];
5161
5165
  const X = e.componentList;
5162
- console.log("componentList", X), Array.isArray(X) && (W = X.map((ie) => ie.id), F(z, [...new Set(W)]));
5166
+ console.log("componentList", X), Array.isArray(X) && (W = X.map((ie) => ie.id), R(z, [...new Set(W)]));
5163
5167
  };
5164
5168
  ne(() => p.value, async (z) => {
5165
- z ? (u.value = !1, M(e.id), j(), await mt(() => {
5166
- m(), window.addEventListener("resize", A), w(), u.value = !0;
5167
- }), T()) : (_(), window.removeEventListener("resize", A), D());
5169
+ z ? (u.value = !1, E(e.id), j(), await mt(() => {
5170
+ b(), window.addEventListener("resize", w), A(), u.value = !0;
5171
+ }), _()) : (T(), window.removeEventListener("resize", w), L());
5168
5172
  });
5169
- const J = q(() => v(f) >= 1), R = q(() => e.fullModal), B = q(() => {
5173
+ const J = q(() => v(f) >= 1), F = q(() => e.fullModal), B = q(() => {
5170
5174
  let z = "ecan-modal";
5171
- return v(J) && (z += " ecan-full-width-modal"), v(R) && (z += " ecan-full-modal"), z;
5175
+ return v(J) && (z += " ecan-full-width-modal"), v(F) && (z += " ecan-full-modal"), z;
5172
5176
  });
5173
5177
  return he(e, {
5174
5178
  showModal: x
5175
5179
  }), {
5176
- modalRef: g,
5180
+ modalRef: m,
5177
5181
  containStyle: S,
5178
5182
  contentStyle: d,
5179
5183
  getContainer: o,
5180
5184
  modalStyle: t,
5181
5185
  modalWith: r,
5182
- isFullModal: R,
5186
+ isFullModal: F,
5183
5187
  style: C,
5184
5188
  visible: p,
5185
5189
  showModal: x,
5186
- onOk: h,
5190
+ onOk: g,
5187
5191
  onCancel: k,
5188
5192
  isFullWidth: J,
5189
5193
  wrapClassName: B,
@@ -5193,7 +5197,7 @@ const Wr = /* @__PURE__ */ K(_r, [["render", jr], ["__scopeId", "data-v-1550b11b
5193
5197
  });
5194
5198
  function Jr(e, o, t, n, a, l) {
5195
5199
  const i = H("a-modal");
5196
- return E(), Fe(i, {
5200
+ return D(), Re(i, {
5197
5201
  getContainer: e.getContainer,
5198
5202
  wrapClassName: e.wrapClassName,
5199
5203
  centered: "",
@@ -5205,19 +5209,19 @@ function Jr(e, o, t, n, a, l) {
5205
5209
  onOk: e.onOk,
5206
5210
  onCancel: e.onCancel,
5207
5211
  ref: "modalRef"
5208
- }, Fn({
5212
+ }, Rn({
5209
5213
  default: Y(() => [
5210
5214
  ee("div", {
5211
5215
  class: "contain",
5212
5216
  ref: "containRef",
5213
5217
  style: U(e.containStyle)
5214
5218
  }, [
5215
- e.ready ? (E(), $("div", {
5219
+ e.ready ? (D(), $("div", {
5216
5220
  key: 0,
5217
5221
  class: "content",
5218
5222
  style: U(e.contentStyle)
5219
5223
  }, [
5220
- (E(!0), $(Me, null, De(e.componentList, (r, s) => (E(), Fe(Rn(r.type), zn({
5224
+ (D(!0), $(Me, null, De(e.componentList, (r, s) => (D(), Re(Fn(r.type), zn({
5221
5225
  key: r.id + s
5222
5226
  }, r), null, 16))), 128))
5223
5227
  ], 4)) : ve("", !0)
@@ -5281,7 +5285,7 @@ const Yr = /* @__PURE__ */ K(Zr, [["render", Jr], ["__scopeId", "data-v-d94f0d60
5281
5285
  ...wn
5282
5286
  },
5283
5287
  setup(e) {
5284
- const o = re(e), t = I(0);
5288
+ const o = re(e), t = M(0);
5285
5289
  ne(() => e.activeKey, (d) => {
5286
5290
  t.value = d;
5287
5291
  }, {
@@ -5303,20 +5307,20 @@ const Yr = /* @__PURE__ */ K(Zr, [["render", Jr], ["__scopeId", "data-v-d94f0d60
5303
5307
  }), Tt(() => {
5304
5308
  clearInterval(a);
5305
5309
  });
5306
- const i = I([]), r = I({});
5310
+ const i = M([]), r = M({});
5307
5311
  ne(() => e.data, (d) => {
5308
5312
  i.value = d, r.value = Array.isArray(d) && d.length > 0 ? d[0] : {};
5309
5313
  }, {
5310
5314
  immediate: !0,
5311
5315
  deep: !0
5312
5316
  });
5313
- const s = (d) => t.value === d, f = me(e), { setGlobalModel: b } = N(ye, {
5317
+ const s = (d) => t.value === d, f = me(e), { setGlobalModel: y } = N(ye, {
5314
5318
  // @ts-ignore
5315
5319
  // eslint-disable-next-line no-void
5316
5320
  setGlobalModel: (d, u) => {
5317
5321
  }
5318
5322
  });
5319
- b(e.id, {
5323
+ y(e.id, {
5320
5324
  value: r,
5321
5325
  activeKey: t
5322
5326
  });
@@ -5341,7 +5345,7 @@ const Yr = /* @__PURE__ */ K(Zr, [["render", Jr], ["__scopeId", "data-v-d94f0d60
5341
5345
  });
5342
5346
  const es = ["onClick"];
5343
5347
  function ts(e, o, t, n, a, l) {
5344
- return E(), $("div", {
5348
+ return D(), $("div", {
5345
5349
  class: "ecan-tabs",
5346
5350
  style: U(e.style)
5347
5351
  }, [
@@ -5354,7 +5358,7 @@ function ts(e, o, t, n, a, l) {
5354
5358
  flexDirection: e.tabFlexDirection
5355
5359
  })
5356
5360
  }, [
5357
- (E(!0), $(Me, null, De(e.myData, (i, r) => (E(), $("div", {
5361
+ (D(!0), $(Me, null, De(e.myData, (i, r) => (D(), $("div", {
5358
5362
  class: "tab",
5359
5363
  style: U({
5360
5364
  padding: `5px ${e.tabHorizontalPadding}`,
@@ -5403,7 +5407,7 @@ const os = /* @__PURE__ */ K(Xr, [["render", ts], ["__scopeId", "data-v-a2045b93
5403
5407
  onClick: () => {
5404
5408
  if (!e.linkPage && !e.href)
5405
5409
  return;
5406
- const l = e.linkPage || "", i = Ro(v(n), l), r = e.href;
5410
+ const l = e.linkPage || "", i = Fo(v(n), l), r = e.href;
5407
5411
  let s = r || i;
5408
5412
  s = de(s);
5409
5413
  const f = e.target;
@@ -5417,12 +5421,12 @@ const os = /* @__PURE__ */ K(Xr, [["render", ts], ["__scopeId", "data-v-a2045b93
5417
5421
  });
5418
5422
  const ls = ["src"];
5419
5423
  function is(e, o, t, n, a, l) {
5420
- return e.myImgUrl !== "" ? (E(), $("img", {
5424
+ return e.myImgUrl !== "" ? (D(), $("img", {
5421
5425
  key: 0,
5422
5426
  style: U(e.style),
5423
5427
  src: e.myImgUrl,
5424
5428
  onClick: o[0] || (o[0] = (...i) => e.onClick && e.onClick(...i))
5425
- }, null, 12, ls)) : (E(), $("div", {
5429
+ }, null, 12, ls)) : (D(), $("div", {
5426
5430
  key: 1,
5427
5431
  class: "image-placeholder",
5428
5432
  style: U(e.style)
@@ -5461,11 +5465,11 @@ const rs = /* @__PURE__ */ K(as, [["render", is], ["__scopeId", "data-v-ef7a7bee
5461
5465
  });
5462
5466
  const ds = ["src"];
5463
5467
  function us(e, o, t, n, a, l) {
5464
- return e.myLink ? (E(), $("iframe", {
5468
+ return e.myLink ? (D(), $("iframe", {
5465
5469
  key: 0,
5466
5470
  src: e.myLink,
5467
5471
  style: U(e.style)
5468
- }, null, 12, ds)) : (E(), $("div", {
5472
+ }, null, 12, ds)) : (D(), $("div", {
5469
5473
  key: 1,
5470
5474
  class: "iframe-placeholder",
5471
5475
  style: U(e.style)
@@ -5568,11 +5572,11 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5568
5572
  default:
5569
5573
  return 55;
5570
5574
  }
5571
- }), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - v(n)), i = I([]), r = I([]), s = I([]), f = I([]), b = I(0), S = I(1), C = q(() => e.paginationPageSize), d = $n([]), u = (L = []) => {
5572
- if (Array.isArray(L) && L.length > 0) {
5573
- const O = L.length, V = e.columnsFixedNum;
5575
+ }), a = q(() => e.scrollX), l = q(() => parseFloat(e.height) - v(n)), i = M([]), r = M([]), s = M([]), f = M([]), y = M(0), S = M(1), C = q(() => e.paginationPageSize), d = $n([]), u = (I = []) => {
5576
+ if (Array.isArray(I) && I.length > 0) {
5577
+ const O = I.length, V = e.columnsFixedNum;
5574
5578
  for (let Z = 0; Z < O; Z++) {
5575
- const P = L[Z];
5579
+ const P = I[Z];
5576
5580
  Z < V ? P.fixed = "left" : P.fixed = !1;
5577
5581
  const {
5578
5582
  cellAlign: te = "center",
@@ -5603,7 +5607,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5603
5607
  class: {
5604
5608
  highlight: v(W) === bt && e.clickHighlight
5605
5609
  },
5606
- onClick: M("click", () => {
5610
+ onClick: E("click", () => {
5607
5611
  const Ut = e.id, Dn = j(Ut);
5608
5612
  Le = {
5609
5613
  dataIndex: ue,
@@ -5614,15 +5618,15 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5614
5618
  }), Array.isArray(P.children) && u(P.children);
5615
5619
  }
5616
5620
  }
5617
- }, g = (L = []) => (e.isUseSeq && L.unshift({
5621
+ }, m = (I = []) => (e.isUseSeq && I.unshift({
5618
5622
  title: "序号",
5619
5623
  dataIndex: "SEQ",
5620
5624
  align: "center"
5621
- }), e.isUseAction && L.push({
5625
+ }), e.isUseAction && I.push({
5622
5626
  title: "操作",
5623
5627
  dataIndex: "ACTION",
5624
5628
  width: e.actionColumnWidth
5625
- }), u(L), L);
5629
+ }), u(I), I);
5626
5630
  ne(() => [
5627
5631
  e.columns,
5628
5632
  e.isUseSeq,
@@ -5632,20 +5636,20 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5632
5636
  e.cellBackgroundColor,
5633
5637
  e.borderColor
5634
5638
  ], () => {
5635
- i.value = g(pt(e.columns));
5639
+ i.value = m(pt(e.columns));
5636
5640
  }, {
5637
5641
  immediate: !0,
5638
5642
  deep: !0
5639
- }), ne(() => [e.data, e.dataType], ([L, O]) => {
5640
- O === "static" && (r.value = L);
5643
+ }), ne(() => [e.data, e.dataType], ([I, O]) => {
5644
+ O === "static" && (r.value = I);
5641
5645
  }, {
5642
5646
  immediate: !0
5643
5647
  });
5644
- const y = I({}), m = (L) => {
5645
- if (Array.isArray(L)) {
5646
- const O = L.length, V = d, Z = V.length, P = {};
5648
+ const h = M({}), b = (I) => {
5649
+ if (Array.isArray(I)) {
5650
+ const O = I.length, V = d, Z = V.length, P = {};
5647
5651
  for (let oe = 0; oe < O; oe++) {
5648
- const ue = L[oe];
5652
+ const ue = I[oe];
5649
5653
  for (let ge = 0; ge < Z; ge++) {
5650
5654
  const ce = V[ge];
5651
5655
  if (P[ce])
@@ -5662,21 +5666,21 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5662
5666
  const ue = P[oe], ge = Array.from(ue);
5663
5667
  te[oe] = ge.map((ce) => ({ label: ce, value: ce }));
5664
5668
  }
5665
- y.value = te;
5669
+ h.value = te;
5666
5670
  }
5667
5671
  };
5668
5672
  ne(() => [e.isReverse, i.value, r.value], () => {
5669
- const L = v(i), O = v(r);
5670
- if (m(O), e.isReverse) {
5671
- const { columns: V, dataSource: Z } = A(pt(L), pt(O));
5673
+ const I = v(i), O = v(r);
5674
+ if (b(O), e.isReverse) {
5675
+ const { columns: V, dataSource: Z } = w(pt(I), pt(O));
5672
5676
  s.value = V, f.value = Z;
5673
5677
  } else
5674
- s.value = L, f.value = O;
5678
+ s.value = I, f.value = O;
5675
5679
  }, {
5676
5680
  immediate: !0
5677
5681
  });
5678
- const A = (L, O) => {
5679
- const V = L[0], Z = [{
5682
+ const w = (I, O) => {
5683
+ const V = I[0], Z = [{
5680
5684
  title: V.title,
5681
5685
  dataIndex: "col0",
5682
5686
  key: "col0",
@@ -5692,8 +5696,8 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5692
5696
  });
5693
5697
  }
5694
5698
  const P = [];
5695
- for (let te = 1; te < L.length; te++) {
5696
- const oe = L[te], ue = { col0: oe.title };
5699
+ for (let te = 1; te < I.length; te++) {
5700
+ const oe = I[te], ue = { col0: oe.title };
5697
5701
  for (let ge = 0; ge < O.length; ge++) {
5698
5702
  const ce = O[ge];
5699
5703
  ue[`col${ge + 1}`] = ce[oe.dataIndex];
@@ -5704,48 +5708,48 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5704
5708
  columns: Z,
5705
5709
  dataSource: P
5706
5710
  };
5707
- }, w = I(""), D = _e(e), p = I(!1), T = async (L = !0, O = {}) => {
5711
+ }, A = M(""), L = _e(e), p = M(!1), _ = async (I = !0, O = {}) => {
5708
5712
  var V;
5709
5713
  try {
5710
- L && (p.value = !0), v(w) && (O.orderCondition = v(w)), e.paginationShow && (O = {
5714
+ I && (p.value = !0), v(A) && (O.orderCondition = v(A)), e.paginationShow && (O = {
5711
5715
  pageNum: v(S),
5712
5716
  pageSize: v(C),
5713
5717
  layer: "1",
5714
5718
  ...O
5715
5719
  });
5716
- const Z = await D(O), { rows: P = [], total: te = 0 } = ((V = Z == null ? void 0 : Z.data) == null ? void 0 : V.data) || {};
5717
- b.value = te, Array.isArray(P) && (r.value = P);
5720
+ const Z = await L(O), { rows: P = [], total: te = 0 } = ((V = Z == null ? void 0 : Z.data) == null ? void 0 : V.data) || {};
5721
+ y.value = te, Array.isArray(P) && (r.value = P);
5718
5722
  } catch (Z) {
5719
5723
  console.error(Z);
5720
5724
  } finally {
5721
5725
  p.value = !1;
5722
5726
  }
5723
- }, x = ({ current: L }, O, V) => {
5724
- if (S.value = L, V && Object.keys(V).length > 0) {
5727
+ }, x = ({ current: I }, O, V) => {
5728
+ if (S.value = I, V && Object.keys(V).length > 0) {
5725
5729
  const { field: Z, order: P } = V, oe = {
5726
5730
  ascend: "asc",
5727
5731
  descend: "desc"
5728
5732
  }[P];
5729
- Z != null && oe != null && (w.value = Z + " " + oe, S.value = 1);
5733
+ Z != null && oe != null && (A.value = Z + " " + oe, S.value = 1);
5730
5734
  }
5731
5735
  ie(!1);
5732
5736
  }, c = q(() => {
5733
- const L = e.simple, O = [e.paginationPosition];
5737
+ const I = e.simple, O = [e.paginationPosition];
5734
5738
  return e.paginationShow && {
5735
- simple: L,
5739
+ simple: I,
5736
5740
  position: O,
5737
- total: v(b),
5741
+ total: v(y),
5738
5742
  current: v(S),
5739
5743
  pageSize: v(C),
5740
5744
  showSizeChanger: !1
5741
5745
  };
5742
- }), h = (L) => +L == 1 ? "是" : +L == 0 ? "否" : L, k = (L, O) => O == null || O === "" ? L : {
5746
+ }), g = (I) => +I == 1 ? "是" : +I == 0 ? "否" : I, k = (I, O) => O == null || O === "" ? I : {
5743
5747
  money: Pt,
5744
5748
  percentage: ut,
5745
5749
  contrast: ut,
5746
- boolean: h
5747
- }[O](L) || "", F = (L, O) => {
5748
- const V = parseFloat(L + "");
5750
+ boolean: g
5751
+ }[O](I) || "", R = (I, O) => {
5752
+ const V = parseFloat(I + "");
5749
5753
  if (O !== "contrast")
5750
5754
  return "";
5751
5755
  switch (!0) {
@@ -5754,41 +5758,41 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5754
5758
  case V < 0:
5755
5759
  return "goDown";
5756
5760
  }
5757
- }, M = me(e), { pageMode: _ } = N(fe, {
5761
+ }, E = me(e), { pageMode: T } = N(fe, {
5758
5762
  pageMode: "normal"
5759
5763
  }), { getGlobalModel: j, setGlobalModel: J } = N(ye, {
5760
5764
  // @ts-ignore
5761
5765
  // eslint-disable-next-line no-void
5762
- getGlobalModel: (L) => {
5766
+ getGlobalModel: (I) => {
5763
5767
  },
5764
5768
  // @ts-ignore
5765
5769
  // eslint-disable-next-line no-void
5766
- setGlobalModel: (L, O) => {
5770
+ setGlobalModel: (I, O) => {
5767
5771
  }
5768
- }), R = (L = [], O = []) => {
5769
- const V = L.map((Z) => ({ title: Z, dataIndex: Z, key: Z }));
5770
- i.value = g(V), r.value = O;
5772
+ }), F = (I = [], O = []) => {
5773
+ const V = I.map((Z) => ({ title: Z, dataIndex: Z, key: Z }));
5774
+ i.value = m(V), r.value = O;
5771
5775
  }, B = ot(e), z = async () => {
5772
- var L, O, V, Z;
5776
+ var I, O, V, Z;
5773
5777
  try {
5774
5778
  p.value = !0;
5775
5779
  const P = await B();
5776
- R((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);
5780
+ F((O = (I = P == null ? void 0 : P.data) == null ? void 0 : I.data) == null ? void 0 : O.columns, (Z = (V = P == null ? void 0 : P.data) == null ? void 0 : V.data) == null ? void 0 : Z.rows);
5777
5781
  } catch (P) {
5778
5782
  console.error(P);
5779
5783
  } finally {
5780
5784
  p.value = !1;
5781
5785
  }
5782
- }, W = I(-1), X = (L, O) => ({
5783
- onClick: M("rowClick", () => {
5786
+ }, W = M(-1), X = (I, O) => ({
5787
+ onClick: E("rowClick", () => {
5784
5788
  const V = e.id, Z = j(V);
5785
- J(V, { ...Z, RECORD: L }), W.value = O;
5789
+ J(V, { ...Z, RECORD: I }), W.value = O;
5786
5790
  })
5787
- }), ie = (L = !0) => {
5788
- if (v(_) !== "design")
5791
+ }), ie = (I = !0) => {
5792
+ if (v(T) !== "design")
5789
5793
  switch (e.dataType) {
5790
5794
  case "request":
5791
- T(L);
5795
+ _(I);
5792
5796
  break;
5793
5797
  case "indicator":
5794
5798
  z();
@@ -5797,16 +5801,16 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5797
5801
  };
5798
5802
  he(e, {
5799
5803
  resetRecord: () => {
5800
- const L = e.id, O = j(L);
5801
- J(L, { ...O, RECORD: "" });
5804
+ const I = e.id, O = j(I);
5805
+ J(I, { ...O, RECORD: "" });
5802
5806
  },
5803
5807
  refreshData: ie
5804
5808
  });
5805
5809
  const En = q(() => {
5806
- const L = v(s), O = [];
5810
+ const I = v(s), O = [];
5807
5811
  let V = 0;
5808
- for (let P = 0; P < L.length; P++) {
5809
- const te = L[P], { isCalcTotal: oe } = te;
5812
+ for (let P = 0; P < I.length; P++) {
5813
+ const te = I[P], { isCalcTotal: oe } = te;
5810
5814
  e.isUseSeq && P === 0 ? O.push({
5811
5815
  ...te,
5812
5816
  total: "小计"
@@ -5835,7 +5839,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5835
5839
  }
5836
5840
  return O;
5837
5841
  }), { setRequest: Bt } = N(Se, {
5838
- setRequest: (L) => {
5842
+ setRequest: (I) => {
5839
5843
  }
5840
5844
  });
5841
5845
  return typeof Bt == "function" && Bt({
@@ -5851,49 +5855,49 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5851
5855
  customRow: X,
5852
5856
  pagination: c,
5853
5857
  formatFn: k,
5854
- contrastClass: F,
5858
+ contrastClass: R,
5855
5859
  tableChange: x,
5856
5860
  summaryList: En,
5857
5861
  loading: p,
5858
- onTouchHrefEvent: (L, O = "") => {
5859
- L === "event" && window.parent.postMessage({
5862
+ onTouchHrefEvent: (I, O = "") => {
5863
+ I === "event" && window.parent.postMessage({
5860
5864
  type: "openPage",
5861
5865
  url: O
5862
5866
  }, "*");
5863
5867
  },
5864
- handleHref: (L = "", O) => de(L, O),
5865
- handleHrefTarget: (L) => {
5866
- if (L !== "event")
5868
+ handleHref: (I = "", O) => de(I, O),
5869
+ handleHrefTarget: (I) => {
5870
+ if (I !== "event")
5867
5871
  return {
5868
5872
  self: "_self",
5869
5873
  blank: "_blank"
5870
- }[L];
5874
+ }[I];
5871
5875
  },
5872
5876
  useRowIndex: W,
5873
5877
  tableColumns: s,
5874
5878
  tableDataSource: f,
5875
- useFilterOptions: (L) => {
5876
- const O = L.dataIndex;
5879
+ useFilterOptions: (I) => {
5880
+ const O = I.dataIndex;
5877
5881
  if (typeof O == "string") {
5878
- let V = v(y)[O];
5879
- const Z = v(L.filterOptionsInputValue).trim();
5882
+ let V = v(h)[O];
5883
+ const Z = v(I.filterOptionsInputValue).trim();
5880
5884
  return Array.isArray(V) ? (V = V.filter((P) => typeof P.label == "string" ? P.label.toLowerCase().includes(Z.toLowerCase()) : !0), V) : [];
5881
5885
  }
5882
5886
  return [];
5883
5887
  },
5884
- useSetSelectedKeys: (L, O) => {
5885
- L(O.filterCheckboxGroupValue);
5888
+ useSetSelectedKeys: (I, O) => {
5889
+ I(O.filterCheckboxGroupValue);
5886
5890
  },
5887
- onResetFilter: (L, O) => {
5888
- L({ confirm: !0 }), O.filterOptionsInputValue = "", O.filterCheckboxGroupValue = [];
5891
+ onResetFilter: (I, O) => {
5892
+ I({ confirm: !0 }), O.filterOptionsInputValue = "", O.filterCheckboxGroupValue = [];
5889
5893
  },
5890
5894
  onSearchFilterOptions: () => {
5891
5895
  },
5892
5896
  exportTable: async () => {
5893
5897
  var ce, Ee;
5894
- const L = "EXPORT_KEY";
5898
+ const I = "EXPORT_KEY";
5895
5899
  Be.loading({
5896
- key: L,
5900
+ key: I,
5897
5901
  content: "正在导出...",
5898
5902
  duration: 0
5899
5903
  });
@@ -5902,8 +5906,8 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5902
5906
  O = e.data;
5903
5907
  else if (e.dataType === "request") {
5904
5908
  const we = { layer: "1" };
5905
- v(w) && (we.orderCondition = v(w));
5906
- const Le = await D(we);
5909
+ v(A) && (we.orderCondition = v(A));
5910
+ const Le = await L(we);
5907
5911
  O = ((Ee = (ce = Le == null ? void 0 : Le.data) == null ? void 0 : ce.data) == null ? void 0 : Ee.rows) || {};
5908
5912
  }
5909
5913
  const V = v(s), Z = [], P = [];
@@ -5911,7 +5915,7 @@ const fs = /* @__PURE__ */ K(cs, [["render", us], ["__scopeId", "data-v-19bc100c
5911
5915
  Z.push(we.dataIndex), P.push(we.title);
5912
5916
  });
5913
5917
  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" });
5914
- lt.book_append_sheet(oe, ge, "sheet"), sa(oe, "表格数据.xlsx"), Be.success({ key: L, content: "导出成功" });
5918
+ lt.book_append_sheet(oe, ge, "sheet"), sa(oe, "表格数据.xlsx"), Be.success({ key: I, content: "导出成功" });
5915
5919
  }
5916
5920
  };
5917
5921
  }
@@ -5924,14 +5928,14 @@ const ys = {
5924
5928
  class: "action-list"
5925
5929
  }, ws = ["href", "target", "onClick"];
5926
5930
  function xs(e, o, t, n, a, l) {
5927
- const i = H("a-button"), r = H("a-input"), s = H("a-checkbox-group"), f = H("a-table-summary-cell"), b = H("a-table-summary-row"), S = H("a-table-summary"), C = H("a-table"), d = H("skeleton");
5928
- return E(), $("div", {
5931
+ 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");
5932
+ return D(), $("div", {
5929
5933
  class: "ecan-table",
5930
5934
  style: U(e.style)
5931
5935
  }, [
5932
5936
  G(d, { loading: e.loading }, {
5933
5937
  default: Y(() => [
5934
- e.isUseExport ? (E(), $("div", ys, [
5938
+ e.isUseExport ? (D(), $("div", ys, [
5935
5939
  G(i, {
5936
5940
  class: "export-button",
5937
5941
  onClick: e.exportTable
@@ -5956,7 +5960,7 @@ function xs(e, o, t, n, a, l) {
5956
5960
  pagination: e.pagination,
5957
5961
  onChange: e.tableChange
5958
5962
  }, {
5959
- customFilterDropdown: Y(({ column: u, selectedKeys: g, setSelectedKeys: y, confirm: m, clearFilters: A }) => [
5963
+ customFilterDropdown: Y(({ column: u, selectedKeys: m, setSelectedKeys: h, confirm: b, clearFilters: w }) => [
5960
5964
  ee("div", {
5961
5965
  class: "ecan-table-filter",
5962
5966
  style: U({
@@ -5965,24 +5969,24 @@ function xs(e, o, t, n, a, l) {
5965
5969
  }, [
5966
5970
  G(r, {
5967
5971
  value: u.filterOptionsInputValue,
5968
- "onUpdate:value": (w) => u.filterOptionsInputValue = w,
5972
+ "onUpdate:value": (A) => u.filterOptionsInputValue = A,
5969
5973
  placeholder: "请输入关键字",
5970
5974
  class: "filter-input",
5971
5975
  onChange: e.onSearchFilterOptions
5972
5976
  }, null, 8, ["value", "onUpdate:value", "onChange"]),
5973
5977
  G(s, {
5974
5978
  value: u.filterCheckboxGroupValue,
5975
- "onUpdate:value": (w) => u.filterCheckboxGroupValue = w,
5979
+ "onUpdate:value": (A) => u.filterCheckboxGroupValue = A,
5976
5980
  class: "filter-checkbox",
5977
5981
  options: e.useFilterOptions(u),
5978
- onChange: (w) => e.useSetSelectedKeys(y, u)
5982
+ onChange: (A) => e.useSetSelectedKeys(h, u)
5979
5983
  }, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
5980
5984
  ee("div", null, [
5981
5985
  G(i, {
5982
5986
  type: "primary",
5983
5987
  size: "small",
5984
5988
  style: { width: "90px", "margin-right": "8px" },
5985
- onClick: () => m()
5989
+ onClick: () => b()
5986
5990
  }, {
5987
5991
  default: Y(() => [
5988
5992
  vs
@@ -5992,7 +5996,7 @@ function xs(e, o, t, n, a, l) {
5992
5996
  G(i, {
5993
5997
  size: "small",
5994
5998
  style: { width: "90px" },
5995
- onClick: go((w) => e.onResetFilter(A, u), ["stop"])
5999
+ onClick: go((A) => e.onResetFilter(w, u), ["stop"])
5996
6000
  }, {
5997
6001
  default: Y(() => [
5998
6002
  ps
@@ -6002,41 +6006,41 @@ function xs(e, o, t, n, a, l) {
6002
6006
  ])
6003
6007
  ], 4)
6004
6008
  ]),
6005
- bodyCell: Y(({ column: u, index: g, text: y, record: m }) => [
6006
- u.dataIndex === "SEQ" ? (E(), $("span", Cs, be(g + 1), 1)) : ve("", !0),
6007
- u.dataIndex === "ACTION" ? (E(), $("div", Ss, [
6008
- (E(!0), $(Me, null, De(e.actionList, (A, w) => (E(), $("div", {
6009
+ bodyCell: Y(({ column: u, index: m, text: h, record: b }) => [
6010
+ u.dataIndex === "SEQ" ? (D(), $("span", Cs, be(m + 1), 1)) : ve("", !0),
6011
+ u.dataIndex === "ACTION" ? (D(), $("div", Ss, [
6012
+ (D(!0), $(Me, null, De(e.actionList, (w, A) => (D(), $("div", {
6009
6013
  class: "action",
6010
- key: w
6014
+ key: A
6011
6015
  }, [
6012
6016
  ee("a", {
6013
- href: e.handleHref(A.href, m),
6014
- target: e.handleHrefTarget(A.target),
6017
+ href: e.handleHref(w.href, b),
6018
+ target: e.handleHrefTarget(w.target),
6015
6019
  style: U({
6016
- color: A.color,
6020
+ color: w.color,
6017
6021
  fontSize: e.fontSize,
6018
6022
  fontWeight: e.fontWeight
6019
6023
  }),
6020
- onClick: (D) => e.onTouchHrefEvent(A.target, e.handleHref(A.href, m))
6021
- }, be(A.title), 13, ws)
6024
+ onClick: (L) => e.onTouchHrefEvent(w.target, e.handleHref(w.href, b))
6025
+ }, be(w.title), 13, ws)
6022
6026
  ]))), 128))
6023
- ])) : (E(), $("div", {
6027
+ ])) : (D(), $("div", {
6024
6028
  key: 2,
6025
- class: Lt([e.contrastClass(y, u.format)]),
6029
+ class: Lt([e.contrastClass(h, u.format)]),
6026
6030
  style: U({
6027
6031
  fontSize: e.fontSize,
6028
6032
  fontWeight: e.fontWeight
6029
6033
  })
6030
- }, be(u.format != null ? e.formatFn(y, u.format) : y), 7))
6034
+ }, be(u.format != null ? e.formatFn(h, u.format) : h), 7))
6031
6035
  ]),
6032
6036
  summary: Y(() => [
6033
- e.summaryList.length > 0 ? (E(), Fe(S, { key: 0 }, {
6037
+ e.summaryList.length > 0 ? (D(), Re(S, { key: 0 }, {
6034
6038
  default: Y(() => [
6035
- G(b, null, {
6039
+ G(y, null, {
6036
6040
  default: Y(() => [
6037
- (E(!0), $(Me, null, De(e.summaryList, (u, g) => (E(), Fe(f, {
6038
- key: g,
6039
- index: g,
6041
+ (D(!0), $(Me, null, De(e.summaryList, (u, m) => (D(), Re(f, {
6042
+ key: m,
6043
+ index: m,
6040
6044
  style: U({
6041
6045
  backgroundColor: e.cellBackgroundColor,
6042
6046
  textAlign: u.cellAlign || "center",
@@ -6116,7 +6120,7 @@ qe([
6116
6120
  aa,
6117
6121
  xo,
6118
6122
  la,
6119
- Rt,
6123
+ Ft,
6120
6124
  ia
6121
6125
  ]);
6122
6126
  const _s = Q({
@@ -6128,16 +6132,16 @@ const _s = Q({
6128
6132
  ...Mn
6129
6133
  },
6130
6134
  setup(e) {
6131
- const o = re(e, ["backgroundImage"]), t = I(), n = q(() => $e(e.geoBackgroundImage)), a = q(() => $e(e.backgroundImage)), l = q(() => e.geoBackgroundImage ? {
6135
+ const o = re(e, ["backgroundImage"]), t = M(), n = q(() => $e(e.geoBackgroundImage)), a = q(() => $e(e.backgroundImage)), l = q(() => e.geoBackgroundImage ? {
6132
6136
  image: v(t),
6133
6137
  repeat: e.geoBackgroundImageRepeat
6134
6138
  } : e.geoItemStyleAreaColor), i = q(() => {
6135
- const b = e.symbolImage;
6136
- return e.symbolImage ? "image://" + $e(b) : "circle";
6139
+ const y = e.symbolImage;
6140
+ return e.symbolImage ? "image://" + $e(y) : "circle";
6137
6141
  }), r = q(() => {
6138
- const b = e.geoCenter;
6142
+ const y = e.geoCenter;
6139
6143
  let S;
6140
- return typeof b == "string" && b !== "" && (S = b.split(",")), {
6144
+ return typeof y == "string" && y !== "" && (S = y.split(",")), {
6141
6145
  // backgroundColor: unref(background),
6142
6146
  tooltip: {
6143
6147
  show: !0
@@ -6216,11 +6220,11 @@ const _s = Q({
6216
6220
  }
6217
6221
  ]
6218
6222
  };
6219
- }), s = I(!1), f = async () => {
6223
+ }), s = M(!1), f = async () => {
6220
6224
  var S;
6221
- const b = e.mapJson;
6222
- if (b != null && b.path) {
6223
- const C = await Re(((S = window == null ? void 0 : window.config) == null ? void 0 : S.uploadPath) + b.path);
6225
+ const y = e.mapJson;
6226
+ if (y != null && y.path) {
6227
+ const C = await Fe(((S = window == null ? void 0 : window.config) == null ? void 0 : S.uploadPath) + y.path);
6224
6228
  Gn("map", (C == null ? void 0 : C.data) || {});
6225
6229
  }
6226
6230
  s.value = !0;
@@ -6242,11 +6246,11 @@ const _s = Q({
6242
6246
  const Ts = ["src"];
6243
6247
  function Ls(e, o, t, n, a, l) {
6244
6248
  const i = H("echarts");
6245
- return E(), $("div", {
6249
+ return D(), $("div", {
6246
6250
  class: "ecan-map",
6247
6251
  style: U(e.style)
6248
6252
  }, [
6249
- e.isLoadedData ? (E(), Fe(i, {
6253
+ e.isLoadedData ? (D(), Re(i, {
6250
6254
  key: 0,
6251
6255
  option: e.option,
6252
6256
  "update-options": { notMerge: !0 },
@@ -6283,7 +6287,7 @@ const Is = /* @__PURE__ */ K(_s, [["render", Ls], ["__scopeId", "data-v-1fb5cdee
6283
6287
  EcanRangePicker: Pi,
6284
6288
  EcanScatter: hr,
6285
6289
  EcanScrollText: Ql,
6286
- EcanSelect: Fi,
6290
+ EcanSelect: Ri,
6287
6291
  EcanTable: As,
6288
6292
  EcanTabs: ns,
6289
6293
  EcanText: Vl,
@@ -6337,7 +6341,7 @@ const Is = /* @__PURE__ */ K(_s, [["render", Ls], ["__scopeId", "data-v-1fb5cdee
6337
6341
  providerConfig: zo,
6338
6342
  providerConfigComponentProps: $o,
6339
6343
  rangePickerComponentProps: Xo,
6340
- rangePickerEvents: Ri,
6344
+ rangePickerEvents: Fi,
6341
6345
  rangePickerProps: Ko,
6342
6346
  scatterComponentProps: fn,
6343
6347
  scatterEvents: ur,
@@ -6386,7 +6390,7 @@ export {
6386
6390
  Pi as EcanRangePicker,
6387
6391
  hr as EcanScatter,
6388
6392
  Ql as EcanScrollText,
6389
- Fi as EcanSelect,
6393
+ Ri as EcanSelect,
6390
6394
  As as EcanTable,
6391
6395
  ns as EcanTabs,
6392
6396
  Vl as EcanText,
@@ -6441,7 +6445,7 @@ export {
6441
6445
  zo as providerConfig,
6442
6446
  $o as providerConfigComponentProps,
6443
6447
  Xo as rangePickerComponentProps,
6444
- Ri as rangePickerEvents,
6448
+ Fi as rangePickerEvents,
6445
6449
  Ko as rangePickerProps,
6446
6450
  fn as scatterComponentProps,
6447
6451
  ur as scatterEvents,