@ecan-bi/datav 1.4.5 → 1.4.7

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,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.4.5 */
1
+ /*! @ecan-bi/datav@1.4.7 */
2
2
  import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, reactive, vModelText, getCurrentInstance, onDeactivated, isRef, onActivated, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -1737,7 +1737,7 @@ function handleJumpLink(e, r) {
1737
1737
  }
1738
1738
  f += y.join("&");
1739
1739
  }
1740
- u === "template" ? o(d) : (u === "blank" && (f += `${f.includes("?") ? "&" : "?"}drillFlag=1`), window.open(f, "_" + u));
1740
+ u === "template" ? (window.controller.abort(), window.controller = new AbortController(), o(d)) : (u === "blank" && (f += `${f.includes("?") ? "&" : "?"}drillFlag=1`), window.open(f, "_" + u));
1741
1741
  }
1742
1742
  }
1743
1743
  function getPageUrlParams(e) {
@@ -3204,18 +3204,18 @@ function requireSha512() {
3204
3204
  ]);
3205
3205
  },
3206
3206
  _doProcessBlock: function(m, g) {
3207
- for (var w = this._hash.words, C = w[0], p = w[1], v = w[2], b = w[3], E = w[4], _ = w[5], k = w[6], P = w[7], D = C.high, M = C.low, F = p.high, O = p.low, L = v.high, q = v.low, $ = b.high, I = b.low, B = E.high, A = E.low, S = _.high, R = _.low, T = k.high, V = k.low, U = P.high, N = P.low, j = D, W = M, G = F, K = O, H = L, J = q, Z = $, X = I, Q = B, Y = A, te = S, re = R, ie = T, oe = V, le = U, he = N, de = 0; de < 80; de++) {
3208
- var ye, be, we = d[de];
3207
+ for (var w = this._hash.words, C = w[0], p = w[1], v = w[2], b = w[3], E = w[4], _ = w[5], k = w[6], P = w[7], D = C.high, M = C.low, F = p.high, O = p.low, L = v.high, q = v.low, $ = b.high, I = b.low, B = E.high, A = E.low, S = _.high, R = _.low, T = k.high, V = k.low, U = P.high, N = P.low, G = D, W = M, H = F, K = O, j = L, J = q, Z = $, X = I, ee = B, Y = A, te = S, ne = R, ie = T, oe = V, le = U, he = N, de = 0; de < 80; de++) {
3208
+ var ye, be, Ee = d[de];
3209
3209
  if (de < 16)
3210
- be = we.high = m[g + de * 2] | 0, ye = we.low = m[g + de * 2 + 1] | 0;
3210
+ be = Ee.high = m[g + de * 2] | 0, ye = Ee.low = m[g + de * 2 + 1] | 0;
3211
3211
  else {
3212
- var Te = d[de - 15], Ee = Te.high, _e = Te.low, pe = (Ee >>> 1 | _e << 31) ^ (Ee >>> 8 | _e << 24) ^ Ee >>> 7, me = (_e >>> 1 | Ee << 31) ^ (_e >>> 8 | Ee << 24) ^ (_e >>> 7 | Ee << 25), ve = d[de - 2], Se = ve.high, Ae = ve.low, Oe = (Se >>> 19 | Ae << 13) ^ (Se << 3 | Ae >>> 29) ^ Se >>> 6, Le = (Ae >>> 19 | Se << 13) ^ (Ae << 3 | Se >>> 29) ^ (Ae >>> 6 | Se << 26), Ve = d[de - 7], qe = Ve.high, Ie = Ve.low, Ge = d[de - 16], Fe = Ge.high, Pe = Ge.low;
3213
- ye = me + Ie, be = pe + qe + (ye >>> 0 < me >>> 0 ? 1 : 0), ye = ye + Le, be = be + Oe + (ye >>> 0 < Le >>> 0 ? 1 : 0), ye = ye + Pe, be = be + Fe + (ye >>> 0 < Pe >>> 0 ? 1 : 0), we.high = be, we.low = ye;
3212
+ var Te = d[de - 15], Se = Te.high, ke = Te.low, Ge = (Se >>> 1 | ke << 31) ^ (Se >>> 8 | ke << 24) ^ Se >>> 7, Ve = (ke >>> 1 | Se << 31) ^ (ke >>> 8 | Se << 24) ^ (ke >>> 7 | Se << 25), pe = d[de - 2], me = pe.high, ve = pe.low, Ae = (me >>> 19 | ve << 13) ^ (me << 3 | ve >>> 29) ^ me >>> 6, _e = (ve >>> 19 | me << 13) ^ (ve << 3 | me >>> 29) ^ (ve >>> 6 | me << 26), Be = d[de - 7], Ne = Be.high, He = Be.low, ze = d[de - 16], Ie = ze.high, je = ze.low;
3213
+ ye = Ve + He, be = Ge + Ne + (ye >>> 0 < Ve >>> 0 ? 1 : 0), ye = ye + _e, be = be + Ae + (ye >>> 0 < _e >>> 0 ? 1 : 0), ye = ye + je, be = be + Ie + (ye >>> 0 < je >>> 0 ? 1 : 0), Ee.high = be, Ee.low = ye;
3214
3214
  }
3215
- var Re = Q & te ^ ~Q & ie, Me = Y & re ^ ~Y & oe, Be = j & G ^ j & H ^ G & H, Ne = W & K ^ W & J ^ K & J, ze = (j >>> 28 | W << 4) ^ (j << 30 | W >>> 2) ^ (j << 25 | W >>> 7), He = (W >>> 28 | j << 4) ^ (W << 30 | j >>> 2) ^ (W << 25 | j >>> 7), Ze = (Q >>> 14 | Y << 18) ^ (Q >>> 18 | Y << 14) ^ (Q << 23 | Y >>> 9), ee = (Y >>> 14 | Q << 18) ^ (Y >>> 18 | Q << 14) ^ (Y << 23 | Q >>> 9), ne = x[de], ae = ne.high, ue = ne.low, ce = he + ee, fe = le + Ze + (ce >>> 0 < he >>> 0 ? 1 : 0), ce = ce + Me, fe = fe + Re + (ce >>> 0 < Me >>> 0 ? 1 : 0), ce = ce + ue, fe = fe + ae + (ce >>> 0 < ue >>> 0 ? 1 : 0), ce = ce + ye, fe = fe + be + (ce >>> 0 < ye >>> 0 ? 1 : 0), se = He + Ne, ge = ze + Be + (se >>> 0 < He >>> 0 ? 1 : 0);
3216
- le = ie, he = oe, ie = te, oe = re, te = Q, re = Y, Y = X + ce | 0, Q = Z + fe + (Y >>> 0 < X >>> 0 ? 1 : 0) | 0, Z = H, X = J, H = G, J = K, G = j, K = W, W = ce + se | 0, j = fe + ge + (W >>> 0 < ce >>> 0 ? 1 : 0) | 0;
3215
+ var Fe = ee & te ^ ~ee & ie, Pe = Y & ne ^ ~Y & oe, De = G & H ^ G & j ^ H & j, Re = W & K ^ W & J ^ K & J, Oe = (G >>> 28 | W << 4) ^ (G << 30 | W >>> 2) ^ (G << 25 | W >>> 7), Le = (W >>> 28 | G << 4) ^ (W << 30 | G >>> 2) ^ (W << 25 | G >>> 7), $e = (ee >>> 14 | Y << 18) ^ (ee >>> 18 | Y << 14) ^ (ee << 23 | Y >>> 9), Q = (Y >>> 14 | ee << 18) ^ (Y >>> 18 | ee << 14) ^ (Y << 23 | ee >>> 9), re = x[de], ae = re.high, ue = re.low, ce = he + Q, fe = le + $e + (ce >>> 0 < he >>> 0 ? 1 : 0), ce = ce + Pe, fe = fe + Fe + (ce >>> 0 < Pe >>> 0 ? 1 : 0), ce = ce + ue, fe = fe + ae + (ce >>> 0 < ue >>> 0 ? 1 : 0), ce = ce + ye, fe = fe + be + (ce >>> 0 < ye >>> 0 ? 1 : 0), se = Le + Re, ge = Oe + De + (se >>> 0 < Le >>> 0 ? 1 : 0);
3216
+ le = ie, he = oe, ie = te, oe = ne, te = ee, ne = Y, Y = X + ce | 0, ee = Z + fe + (Y >>> 0 < X >>> 0 ? 1 : 0) | 0, Z = j, X = J, j = H, J = K, H = G, K = W, W = ce + se | 0, G = fe + ge + (W >>> 0 < ce >>> 0 ? 1 : 0) | 0;
3217
3217
  }
3218
- M = C.low = M + W, C.high = D + j + (M >>> 0 < W >>> 0 ? 1 : 0), O = p.low = O + K, p.high = F + G + (O >>> 0 < K >>> 0 ? 1 : 0), q = v.low = q + J, v.high = L + H + (q >>> 0 < J >>> 0 ? 1 : 0), I = b.low = I + X, b.high = $ + Z + (I >>> 0 < X >>> 0 ? 1 : 0), A = E.low = A + Y, E.high = B + Q + (A >>> 0 < Y >>> 0 ? 1 : 0), R = _.low = R + re, _.high = S + te + (R >>> 0 < re >>> 0 ? 1 : 0), V = k.low = V + oe, k.high = T + ie + (V >>> 0 < oe >>> 0 ? 1 : 0), N = P.low = N + he, P.high = U + le + (N >>> 0 < he >>> 0 ? 1 : 0);
3218
+ M = C.low = M + W, C.high = D + G + (M >>> 0 < W >>> 0 ? 1 : 0), O = p.low = O + K, p.high = F + H + (O >>> 0 < K >>> 0 ? 1 : 0), q = v.low = q + J, v.high = L + j + (q >>> 0 < J >>> 0 ? 1 : 0), I = b.low = I + X, b.high = $ + Z + (I >>> 0 < X >>> 0 ? 1 : 0), A = E.low = A + Y, E.high = B + ee + (A >>> 0 < Y >>> 0 ? 1 : 0), R = _.low = R + ne, _.high = S + te + (R >>> 0 < ne >>> 0 ? 1 : 0), V = k.low = V + oe, k.high = T + ie + (V >>> 0 < oe >>> 0 ? 1 : 0), N = P.low = N + he, P.high = U + le + (N >>> 0 < he >>> 0 ? 1 : 0);
3219
3219
  },
3220
3220
  _doFinalize: function() {
3221
3221
  var m = this._data, g = m.words, w = this._nDataBytes * 8, C = m.sigBytes * 8;
@@ -3345,8 +3345,8 @@ function requireSha3() {
3345
3345
  U.high = N.high, U.low = N.low;
3346
3346
  for (var D = 0; D < 5; D++)
3347
3347
  for (var O = 0; O < 5; O++) {
3348
- var A = D + 5 * O, k = p[A], j = m[A], W = m[(D + 1) % 5 + 5 * O], G = m[(D + 2) % 5 + 5 * O];
3349
- k.high = j.high ^ ~W.high & G.high, k.low = j.low ^ ~W.low & G.low;
3348
+ var A = D + 5 * O, k = p[A], G = m[A], W = m[(D + 1) % 5 + 5 * O], H = m[(D + 2) % 5 + 5 * O];
3349
+ k.high = G.high ^ ~W.high & H.high, k.low = G.low ^ ~W.low & H.low;
3350
3350
  }
3351
3351
  var k = p[0], K = y[P];
3352
3352
  k.high ^= K.high, k.low ^= K.low;
@@ -3724,11 +3724,11 @@ function requireRipemd160() {
3724
3724
  var D = k + P, M = _[D];
3725
3725
  _[D] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360;
3726
3726
  }
3727
- var F = this._hash.words, O = y.words, L = m.words, q = f.words, $ = u.words, I = x.words, B = d.words, A, S, R, T, V, U, N, j, W, G;
3728
- U = A = F[0], N = S = F[1], j = R = F[2], W = T = F[3], G = V = F[4];
3727
+ var F = this._hash.words, O = y.words, L = m.words, q = f.words, $ = u.words, I = x.words, B = d.words, A, S, R, T, V, U, N, G, W, H;
3728
+ U = A = F[0], N = S = F[1], G = R = F[2], W = T = F[3], H = V = F[4];
3729
3729
  for (var K, P = 0; P < 80; P += 1)
3730
- K = A + _[k + q[P]] | 0, P < 16 ? K += w(S, R, T) + O[0] : P < 32 ? K += C(S, R, T) + O[1] : P < 48 ? K += p(S, R, T) + O[2] : P < 64 ? K += v(S, R, T) + O[3] : K += b(S, R, T) + O[4], K = K | 0, K = E(K, I[P]), K = K + V | 0, A = V, V = T, T = E(R, 10), R = S, S = K, K = U + _[k + $[P]] | 0, P < 16 ? K += b(N, j, W) + L[0] : P < 32 ? K += v(N, j, W) + L[1] : P < 48 ? K += p(N, j, W) + L[2] : P < 64 ? K += C(N, j, W) + L[3] : K += w(N, j, W) + L[4], K = K | 0, K = E(K, B[P]), K = K + G | 0, U = G, G = W, W = E(j, 10), j = N, N = K;
3731
- K = F[1] + R + W | 0, F[1] = F[2] + T + G | 0, F[2] = F[3] + V + U | 0, F[3] = F[4] + A + N | 0, F[4] = F[0] + S + j | 0, F[0] = K;
3730
+ K = A + _[k + q[P]] | 0, P < 16 ? K += w(S, R, T) + O[0] : P < 32 ? K += C(S, R, T) + O[1] : P < 48 ? K += p(S, R, T) + O[2] : P < 64 ? K += v(S, R, T) + O[3] : K += b(S, R, T) + O[4], K = K | 0, K = E(K, I[P]), K = K + V | 0, A = V, V = T, T = E(R, 10), R = S, S = K, K = U + _[k + $[P]] | 0, P < 16 ? K += b(N, G, W) + L[0] : P < 32 ? K += v(N, G, W) + L[1] : P < 48 ? K += p(N, G, W) + L[2] : P < 64 ? K += C(N, G, W) + L[3] : K += w(N, G, W) + L[4], K = K | 0, K = E(K, B[P]), K = K + H | 0, U = H, H = W, W = E(G, 10), G = N, N = K;
3731
+ K = F[1] + R + W | 0, F[1] = F[2] + T + H | 0, F[2] = F[3] + V + U | 0, F[3] = F[4] + A + N | 0, F[4] = F[0] + S + G | 0, F[0] = K;
3732
3732
  },
3733
3733
  _doFinalize: function() {
3734
3734
  var _ = this._data, k = _.words, P = this._nDataBytes * 8, D = _.sigBytes * 8;
@@ -7929,38 +7929,38 @@ const runCode = (e, r) => {
7929
7929
  }
7930
7930
  if (typeof T == "object" && T != null && T.id) {
7931
7931
  let V = {};
7932
- const { id: U, prop: N, propKey: j, operate: W } = T;
7933
- let G = !1;
7932
+ const { id: U, prop: N, propKey: G, operate: W } = T;
7933
+ let H = !1;
7934
7934
  try {
7935
- JSON.parse(U), G = !0;
7935
+ JSON.parse(U), H = !0;
7936
7936
  } catch {
7937
- G = !1;
7937
+ H = !1;
7938
7938
  }
7939
7939
  U === "THIS" ? V = _(unref(b)) || {} : V = _(U) || {};
7940
7940
  const K = unref(V[N]);
7941
- let H = null;
7941
+ let j = null;
7942
7942
  if (["date", "range"].some((Z) => lowerCaseIncludes(V == null ? void 0 : V.type, Z))) {
7943
- const { value: Z, type: X, mode: Q } = W || {};
7944
- if (Z && X && Q)
7943
+ const { value: Z, type: X, mode: ee } = W || {};
7944
+ if (Z && X && ee)
7945
7945
  switch (X) {
7946
7946
  case "add":
7947
- H = unref(K).add(Z, Q);
7947
+ j = unref(K).add(Z, ee);
7948
7948
  break;
7949
7949
  case "minus":
7950
- H = unref(K).subtract(Z, Q);
7950
+ j = unref(K).subtract(Z, ee);
7951
7951
  break;
7952
7952
  }
7953
- H == null && (H = unref(K)), H = (H == null ? void 0 : H.format((j == null ? void 0 : j.trim()) || V.format)) || "";
7953
+ j == null && (j = unref(K)), j = (j == null ? void 0 : j.format((G == null ? void 0 : G.trim()) || V.format)) || "";
7954
7954
  } else if (Object.prototype.toString.call(K) === "[object Object]")
7955
- j ? H = K[j] : H = N ? K[N] : K;
7955
+ G ? j = K[G] : j = N ? K[N] : K;
7956
7956
  else if (lowerCaseIncludes(V == null ? void 0 : V.type, "select") && unref(K) && N && Array.isArray(unref(K)))
7957
- H = unref(K).map((Z) => Object.prototype.hasOwnProperty.call(Z, N) ? Z[N] : Z);
7958
- else if (G) {
7957
+ j = unref(K).map((Z) => Object.prototype.hasOwnProperty.call(Z, N) ? Z[N] : Z);
7958
+ else if (H) {
7959
7959
  const Z = JSON.parse(U);
7960
- console.log(Z, "urlvalue"), H = Z.value;
7960
+ console.log(Z, "urlvalue"), j = Z.value;
7961
7961
  } else
7962
- H = K;
7963
- F[R] = H;
7962
+ j = K;
7963
+ F[R] = j;
7964
7964
  } else
7965
7965
  typeof T == "object" && T.id === null && g === 1 ? (console.log(T.propKey, "value.propKey"), F[R] = T.propKey) : typeof T == "string" && (F[R] = useVariablesInText(T));
7966
7966
  }
@@ -8022,8 +8022,8 @@ const runCode = (e, r) => {
8022
8022
  if (typeof T[U] == "string") {
8023
8023
  const N = T[U].match(/\${(.+?)\}/g);
8024
8024
  if (N != null && N.length) {
8025
- const j = N[0].slice(2, -1);
8026
- j && V[j] ? T[U] = V[j] : T[U] = "";
8025
+ const G = N[0].slice(2, -1);
8026
+ G && V[G] ? T[U] = V[G] : T[U] = "";
8027
8027
  }
8028
8028
  }
8029
8029
  }
@@ -8034,7 +8034,7 @@ const runCode = (e, r) => {
8034
8034
  try {
8035
8035
  const S = ["get", "head"].includes(a), R = {};
8036
8036
  let T = S ? k + L : k;
8037
- F.dataSqlId && !T.includes("dataSqlId") && (T += `${T.includes("?") ? "&" : "?"}dataSqlId=${F.dataSqlId}`), Object.prototype.hasOwnProperty.call(F, "signal") && (R.signal = F.signal);
8037
+ F.dataSqlId && !T.includes("dataSqlId") && (T += `${T.includes("?") ? "&" : "?"}dataSqlId=${F.dataSqlId}`), Object.prototype.hasOwnProperty.call(F, "signal") ? R.signal = F.signal : window.controller && (R.signal = window.controller.signal);
8038
8038
  const V = await request({
8039
8039
  baseURL: unref(v) || u || "",
8040
8040
  url: T,
@@ -8152,13 +8152,13 @@ const runCode = (e, r) => {
8152
8152
  return [];
8153
8153
  const { interval: B, intervalUnit: A, startTime: S, endTime: R, operate: T, useCurrentTime: V } = I || {};
8154
8154
  if (V && (q = dayjs().subtract(B, A), $ = dayjs()), S && (q = dayjs(S)), R && ($ = dayjs(R)), T) {
8155
- const { type: U, value: N, mode: j } = T;
8155
+ const { type: U, value: N, mode: G } = T;
8156
8156
  switch (U) {
8157
8157
  case "add":
8158
- q = q && q.add(N, j), $ = $ && $.add(N, j);
8158
+ q = q && q.add(N, G), $ = $ && $.add(N, G);
8159
8159
  break;
8160
8160
  case "minus":
8161
- q = q && q.subtract(N, j), $ = $ && $.subtract(N, j);
8161
+ q = q && q.subtract(N, G), $ = $ && $.subtract(N, G);
8162
8162
  }
8163
8163
  }
8164
8164
  } else {
@@ -8224,8 +8224,8 @@ const runCode = (e, r) => {
8224
8224
  }), D;
8225
8225
  }, x = (k = {}, P) => {
8226
8226
  if (k != null && k.sortCpnts && P) {
8227
- const G = v(k);
8228
- G && (P.sort = G);
8227
+ const H = v(k);
8228
+ H && (P.sort = H);
8229
8229
  }
8230
8230
  const {
8231
8231
  label: D,
@@ -8245,16 +8245,16 @@ const runCode = (e, r) => {
8245
8245
  dimByCount: U,
8246
8246
  dataTo: N
8247
8247
  } = k;
8248
- let j;
8249
- if (R && (j = u(R)), $ === "COMPONENT") {
8250
- const G = {};
8251
- return C(G, B), {
8248
+ let G;
8249
+ if (R && (G = u(R)), $ === "COMPONENT") {
8250
+ const H = {};
8251
+ return C(H, B), {
8252
8252
  label: D.trim(),
8253
8253
  columnName: M,
8254
8254
  show: O,
8255
8255
  calcType: $,
8256
8256
  componentAlias: A,
8257
- componentValue: G.fieldValue || null
8257
+ componentValue: H.fieldValue || null
8258
8258
  };
8259
8259
  }
8260
8260
  const W = {
@@ -8269,16 +8269,16 @@ const runCode = (e, r) => {
8269
8269
  builtInFormula: I,
8270
8270
  builtInValueSource: B,
8271
8271
  formula: S,
8272
- conditions: j
8272
+ conditions: G
8273
8273
  };
8274
8274
  if (I === "DATE_OFFSET") {
8275
- const G = A.split("-");
8276
- if ((G == null ? void 0 : G.length) === 3) {
8277
- let K = G[0];
8278
- return G[2] === "before" && G[0] !== "0" && (K = `-${G[0]}`), {
8275
+ const H = A.split("-");
8276
+ if ((H == null ? void 0 : H.length) === 3) {
8277
+ let K = H[0];
8278
+ return H[2] === "before" && H[0] !== "0" && (K = `-${H[0]}`), {
8279
8279
  ...W,
8280
8280
  calcWays: [K],
8281
- dateCalcTypes: [G[1]]
8281
+ dateCalcTypes: [H[1]]
8282
8282
  };
8283
8283
  }
8284
8284
  } else
@@ -8314,8 +8314,8 @@ const runCode = (e, r) => {
8314
8314
  const V = getConditions((T == null ? void 0 : T.conditions) || []);
8315
8315
  if (V != null && V.length) {
8316
8316
  const U = V.filter((N) => (N == null ? void 0 : N.dataType) === "component").map((N) => {
8317
- const j = {};
8318
- return N != null && N.dateFormat && (j.format = N.dateFormat), N.fieldValue === "PARENT" && (j.id = "PARENT", j.keyName = N.modelKey, j.modelKey = N.modelKey, j.prop = N.prop), {
8317
+ const G = {};
8318
+ return N != null && N.dateFormat && (G.format = N.dateFormat), N.fieldValue === "PARENT" && (G.id = "PARENT", G.keyName = N.modelKey, G.modelKey = N.modelKey, G.prop = N.prop), {
8319
8319
  conditionKey: N.fieldName,
8320
8320
  conditionLabel: N.fieldName,
8321
8321
  conditionName: N.fieldName,
@@ -8327,12 +8327,12 @@ const runCode = (e, r) => {
8327
8327
  indexCode: N.indexCode,
8328
8328
  typeGuid: N.typeGuid,
8329
8329
  indexCodeNum: N.indexCodeNum,
8330
- ...j
8330
+ ...G
8331
8331
  };
8332
8332
  });
8333
8333
  if (U != null && U.length)
8334
8334
  for (const N of U)
8335
- A.find((j) => j.keyName === N.keyName) || A.push(N);
8335
+ A.find((G) => G.keyName === N.keyName) || A.push(N);
8336
8336
  }
8337
8337
  }
8338
8338
  const S = A.length, R = P;
@@ -8343,13 +8343,13 @@ const runCode = (e, r) => {
8343
8343
  const {
8344
8344
  id: U,
8345
8345
  keyName: N,
8346
- prop: j,
8346
+ prop: G,
8347
8347
  format: W,
8348
- modelKey: G,
8348
+ modelKey: H,
8349
8349
  dataType: K = "component",
8350
- customValue: H
8350
+ customValue: j
8351
8351
  } = V, J = y(V);
8352
- C(J, U, { prop: j, dateFormat: W, modelKey: G, keyName: N }), K === "" && (J.fieldValue = H || ""), R.push(J);
8352
+ C(J, U, { prop: G, dateFormat: W, modelKey: H, keyName: N }), K === "" && (J.fieldValue = j || ""), R.push(J);
8353
8353
  }
8354
8354
  for (let T = R.length - 1; T >= 0; T--) {
8355
8355
  const V = R[T];
@@ -8449,51 +8449,51 @@ const runCode = (e, r) => {
8449
8449
  function C(k, P, D) {
8450
8450
  const { prop: M = "", dateFormat: F = "", modelKey: O = "", keyName: L = "", operateValue: q, operateMode: $, operateType: I } = D || {}, B = O || L;
8451
8451
  if (P === "PARENT" && B && M) {
8452
- const j = window.config.record;
8453
- let W = M, G = F;
8452
+ const G = window.config.record;
8453
+ let W = M, H = F;
8454
8454
  const K = M.match(/\{(.+?)\}/g);
8455
8455
  if (K != null && K.length) {
8456
- const H = K[0].slice(1, -1).trim();
8457
- W = M.replace(K[0], ""), G = H, k.dateFormat = G;
8456
+ const j = K[0].slice(1, -1).trim();
8457
+ W = M.replace(K[0], ""), H = j, k.dateFormat = H;
8458
8458
  }
8459
- if (j && j[B]) {
8460
- const H = unref(j[B][W]);
8461
- dayjs.isDayjs(H) ? k.fieldValue = H.format(G || "YYYY-MM-DD") : k.fieldValue = H;
8459
+ if (G && G[B]) {
8460
+ const j = unref(G[B][W]);
8461
+ dayjs.isDayjs(j) ? k.fieldValue = j.format(H || "YYYY-MM-DD") : k.fieldValue = j;
8462
8462
  }
8463
8463
  return;
8464
8464
  }
8465
8465
  const A = o(P) || {}, { value: S, format: R = "YYYY-MM-DD", type: T = "", useCurrentTime: V, RECORD: U } = A || {}, N = F || R;
8466
8466
  if (lowerCaseIncludes(A.type, "date")) {
8467
- let j;
8468
- if (V ? S ? j = unref(S) : j = dayjs() : j = unref(S), q && $ && I)
8467
+ let G;
8468
+ if (V ? S ? G = unref(S) : G = dayjs() : G = unref(S), q && $ && I)
8469
8469
  switch (I) {
8470
8470
  case "add":
8471
- j = j.add(q, $);
8471
+ G = G.add(q, $);
8472
8472
  break;
8473
8473
  case "minus":
8474
- j = j.subtract(q, $);
8474
+ G = G.subtract(q, $);
8475
8475
  break;
8476
8476
  }
8477
- k.fieldValue = j == null ? void 0 : j.format(N), k.dateFormat = N;
8477
+ k.fieldValue = G == null ? void 0 : G.format(N), k.dateFormat = N;
8478
8478
  } else if (T === "ecanRangePicker") {
8479
- let j = M;
8479
+ let G = M;
8480
8480
  if (!M) {
8481
- const G = L && L.split("-");
8482
- G != null && G.length && (j = G[G.length - 1]);
8481
+ const H = L && L.split("-");
8482
+ H != null && H.length && (G = H[H.length - 1]);
8483
8483
  }
8484
- if (!j)
8484
+ if (!G)
8485
8485
  return;
8486
8486
  let W = null;
8487
- if (unref(A[j]) && (W = dayjs(unref(A[j]))), q && $ && I) {
8487
+ if (unref(A[G]) && (W = dayjs(unref(A[G]))), q && $ && I) {
8488
8488
  if (q === "rangeValue") {
8489
8489
  if (A.startTime && A.endTime) {
8490
- const G = unref(A.endTime).diff(unref(A.startTime), $) + 1;
8490
+ const H = unref(A.endTime).diff(unref(A.startTime), $) + 1;
8491
8491
  switch (I) {
8492
8492
  case "add":
8493
- W = W && W.add(G, $);
8493
+ W = W && W.add(H, $);
8494
8494
  break;
8495
8495
  case "minus":
8496
- W = W && W.subtract(G, $);
8496
+ W = W && W.subtract(H, $);
8497
8497
  }
8498
8498
  }
8499
8499
  } else if (!isNaN(+q))
@@ -8505,9 +8505,9 @@ const runCode = (e, r) => {
8505
8505
  W = W && W.subtract(q, $);
8506
8506
  }
8507
8507
  }
8508
- if (W && (k.fieldValue = W == null ? void 0 : W.format(N)), j === "rangeValue" && A.startTime && A.endTime) {
8509
- const G = getFormatStep(N);
8510
- G && (k.fieldValue = unref(A.endTime).diff(unref(A.startTime), G) + 1);
8508
+ if (W && (k.fieldValue = W == null ? void 0 : W.format(N)), G === "rangeValue" && A.startTime && A.endTime) {
8509
+ const H = getFormatStep(N);
8510
+ H && (k.fieldValue = unref(A.endTime).diff(unref(A.startTime), H) + 1);
8511
8511
  }
8512
8512
  k.dateFormat = N;
8513
8513
  } else
@@ -8557,7 +8557,7 @@ const runCode = (e, r) => {
8557
8557
  type: "NORMAL"
8558
8558
  }), D;
8559
8559
  }, b = async (k = {}) => {
8560
- var ye, be, we, Te, Ee, _e;
8560
+ var ye, be, Ee, Te, Se, ke, Ge, Ve;
8561
8561
  a(e.id, !1);
8562
8562
  const { graphicConfig: P, type: D, isGroupTable: M = !1 } = e, F = lowerCaseIncludes(D, "pivottable");
8563
8563
  let {
@@ -8578,12 +8578,12 @@ const runCode = (e, r) => {
8578
8578
  rightAxisList: V = [],
8579
8579
  queryColumnList: U = [],
8580
8580
  indicators: N = [],
8581
- controlList: j = [],
8581
+ controlList: G = [],
8582
8582
  formFields: W = {},
8583
- variableList: G = [],
8583
+ variableList: H = [],
8584
8584
  variableConditions: K = [],
8585
8585
  // dataSourceId, // 所属数据源ID
8586
- idxLibMode: H,
8586
+ idxLibMode: j,
8587
8587
  // 指标库模式, source= INDICATOR_LIB时候必填, NORMAL_YEAR_TABLE = 普通年表, WITH_DATE_DIM_TABLE = 带有时间维度表
8588
8588
  preview: J = !1,
8589
8589
  // 预览开关
@@ -8600,7 +8600,7 @@ const runCode = (e, r) => {
8600
8600
  ...pe,
8601
8601
  ...me
8602
8602
  };
8603
- }), K != null && K.length && (X = X.concat(K))) : (X = d(P), G != null && G.length && (X = X.concat(w(G)))), X != null && X.length) {
8603
+ }), K != null && K.length && (X = X.concat(K))) : (X = d(P), H != null && H.length && (X = X.concat(w(H)))), X != null && X.length) {
8604
8604
  const pe = X.filter((ve) => ve.globalCondition), me = X.filter((ve) => !ve.globalCondition);
8605
8605
  (pe == null ? void 0 : pe.length) > 1 && (X = [
8606
8606
  {
@@ -8611,61 +8611,61 @@ const runCode = (e, r) => {
8611
8611
  ]);
8612
8612
  }
8613
8613
  X != null && X.length && (X = u(X, "1")), $ == null && (lowerCaseIncludes(D, ["table"]) || lowerCaseIncludes(D, ["list", "circulate"]) && (B == null ? void 0 : B.length) > 1 ? $ = "1" : lowerCaseIncludes(D, ["select", "checkbox", "radio"]) ? $ = "3" : $ = "2");
8614
- let Q;
8614
+ let ee;
8615
8615
  const Y = [];
8616
8616
  let te = "";
8617
8617
  if (Array.isArray(B) && B.length > 0 && (!["ecanList", "ecanCirculate"].includes(D) || (B == null ? void 0 : B.length) === 1)) {
8618
8618
  const pe = B.length;
8619
8619
  for (let me = 0; me < pe; me++) {
8620
8620
  const ve = B[me] || {}, {
8621
- label: Se = "",
8622
- name: Ae = "",
8623
- show: Oe = !1,
8624
- sort: Le,
8625
- customGroup: Ve,
8626
- conditions: qe,
8621
+ label: Ae = "",
8622
+ name: _e = "",
8623
+ show: Be = !1,
8624
+ sort: Ne,
8625
+ customGroup: He,
8626
+ conditions: ze,
8627
8627
  dateFormat: Ie,
8628
- typeGuid: Ge = "",
8628
+ typeGuid: je = "",
8629
8629
  truncations: Fe = []
8630
8630
  } = ve;
8631
- if (Oe || pe === 1) {
8632
- te = Ge, Q = {
8633
- label: Se.trim(),
8634
- columnName: Ae,
8635
- show: Oe,
8636
- sort: v(ve) || p(Le) || Le,
8637
- customGroup: Ve,
8638
- conditions: u(qe),
8639
- typeGuid: Ge
8640
- }, Ie && (Q.dateFormat = Ie), Ae === "the_date" && !Q.dateFormat && (Q.dateFormat = "YYYY-MM");
8631
+ if (Be || pe === 1) {
8632
+ te = je, ee = {
8633
+ label: Ae.trim(),
8634
+ columnName: _e,
8635
+ show: Be,
8636
+ sort: v(ve) || p(Ne) || Ne,
8637
+ customGroup: He,
8638
+ conditions: u(ze),
8639
+ typeGuid: je
8640
+ }, Ie && (ee.dateFormat = Ie), _e === "the_date" && !ee.dateFormat && (ee.dateFormat = "YYYY-MM");
8641
8641
  const Pe = {};
8642
8642
  if (Array.isArray(Fe) && Fe.length > 0) {
8643
- const Re = Fe.length;
8644
- for (let Me = 0; Me < Re; Me++) {
8645
- const Be = Fe[Me] || {}, { rule: Ne = "", num: ze = 0, name: He = "" } = Be;
8646
- Ne && ze && (Pe.num = ze, Pe.rule = Ne, He && (Pe.otherGroupName = He));
8643
+ const De = Fe.length;
8644
+ for (let Re = 0; Re < De; Re++) {
8645
+ const Oe = Fe[Re] || {}, { rule: Le = "", num: $e = 0, name: Q = "" } = Oe;
8646
+ Le && $e && (Pe.num = $e, Pe.rule = Le, Q && (Pe.otherGroupName = Q));
8647
8647
  }
8648
8648
  }
8649
- if ((ye = Object.keys(Pe)) != null && ye.length && (Q.truncation = Pe), lowerCaseIncludes(D, "scatter"))
8650
- Y.push(Q);
8649
+ if ((ye = Object.keys(Pe)) != null && ye.length && (ee.truncation = Pe), lowerCaseIncludes(D, "scatter"))
8650
+ Y.push(ee);
8651
8651
  else
8652
8652
  break;
8653
8653
  }
8654
8654
  }
8655
8655
  }
8656
- let re;
8656
+ let ne;
8657
8657
  if (Array.isArray(R) && R.length > 0) {
8658
8658
  const pe = R.length;
8659
8659
  for (let me = 0; me < pe; me++) {
8660
- const ve = R[me] || {}, { label: Se = "", name: Ae = "", show: Oe = !1, sort: Le, customGroup: Ve, conditions: qe, typeGuid: Ie } = ve;
8661
- if (Oe || pe === 1) {
8662
- re = {
8663
- label: Se.trim(),
8664
- columnName: Ae,
8665
- show: Oe,
8666
- sort: p(Le),
8667
- customGroup: Ve,
8668
- conditions: u(qe),
8660
+ const ve = R[me] || {}, { label: Ae = "", name: _e = "", show: Be = !1, sort: Ne, customGroup: He, conditions: ze, typeGuid: Ie } = ve;
8661
+ if (Be || pe === 1) {
8662
+ ne = {
8663
+ label: Ae.trim(),
8664
+ columnName: _e,
8665
+ show: Be,
8666
+ sort: p(Ne),
8667
+ customGroup: He,
8668
+ conditions: u(ze),
8669
8669
  typeGuid: Ie
8670
8670
  };
8671
8671
  break;
@@ -8674,44 +8674,44 @@ const runCode = (e, r) => {
8674
8674
  }
8675
8675
  const ie = [];
8676
8676
  if (T == null || T.forEach((pe) => {
8677
- pe.location = "LEFT", ie.push(x(pe, Q));
8677
+ pe.location = "LEFT", ie.push(x(pe, ee));
8678
8678
  }), V == null || V.forEach((pe) => {
8679
- pe.location = "RIGHT", ie.push(x(pe, Q));
8679
+ pe.location = "RIGHT", ie.push(x(pe, ee));
8680
8680
  }), N == null || N.forEach((pe) => {
8681
- pe.location = "LEFT", ie.push(x(pe, Q));
8681
+ pe.location = "LEFT", ie.push(x(pe, ee));
8682
8682
  }), k != null && k.pivotTableCal) {
8683
8683
  const { calc: pe = [], filter: me = [] } = k.pivotTableCal;
8684
8684
  if (ie.push(...pe), me != null && me.length)
8685
8685
  for (const ve of me) {
8686
- const Se = ie.find((Ae) => Ae.columnName === ve.fieldName);
8687
- Se && (Se.conditions || (Se.conditions = []), Se.conditions.push(ve));
8686
+ const Ae = ie.find((_e) => _e.columnName === ve.fieldName);
8687
+ Ae && (Ae.conditions || (Ae.conditions = []), Ae.conditions.push(ve));
8688
8688
  }
8689
8689
  }
8690
8690
  const oe = [];
8691
8691
  ["ecanList", "ecanCirculate"].includes(D) && (B == null ? void 0 : B.length) > 1 && (U = B), U == null || U.forEach((pe) => {
8692
- const { label: me, name: ve, location: Se, show: Ae, indexCode: Oe, sort: Le, typeGuid: Ve, indexCodeNum: qe, dateFormat: Ie, conditions: Ge } = pe;
8693
- let Fe = p(Le);
8692
+ const { label: me, name: ve, location: Ae, show: _e, indexCode: Be, sort: Ne, typeGuid: He, indexCodeNum: ze, dateFormat: Ie, conditions: je } = pe;
8693
+ let Fe = p(Ne);
8694
8694
  if (k.sort) {
8695
- const { field: Re, order: Me } = k.sort;
8696
- let Be = ie.find((Ne) => Ne.label === Re);
8697
- !Be && me === Re && (Be = pe), Be && (Fe = {
8698
- columnName: Be.columnName,
8695
+ const { field: De, order: Re } = k.sort;
8696
+ let Oe = ie.find((Le) => Le.label === De);
8697
+ !Oe && me === De && (Oe = pe), Oe && (Fe = {
8698
+ columnName: Oe.columnName,
8699
8699
  label: k.sort.field,
8700
- order: Me.toUpperCase(),
8700
+ order: Re.toUpperCase(),
8701
8701
  type: "NORMAL"
8702
8702
  });
8703
8703
  }
8704
8704
  const Pe = {
8705
8705
  label: me,
8706
8706
  columnName: ve,
8707
- location: Se,
8708
- show: Ae,
8707
+ location: Ae,
8708
+ show: _e,
8709
8709
  sort: Fe,
8710
8710
  calcType: "COLUMN",
8711
- hrpIndexCode: Oe,
8712
- hrpIndexCodeNum: qe,
8713
- conditions: u(Ge),
8714
- typeGuid: Ve
8711
+ hrpIndexCode: Be,
8712
+ hrpIndexCodeNum: ze,
8713
+ conditions: u(je),
8714
+ typeGuid: He
8715
8715
  };
8716
8716
  Ie && (Pe.dateFormat = Ie), ve === "the_date" && !Pe.dateFormat && (Pe.dateFormat = "YYYY-MM"), oe.push(Pe);
8717
8717
  });
@@ -8720,37 +8720,37 @@ const runCode = (e, r) => {
8720
8720
  if (Array.isArray(A) && A.length > 0 ? he = A : Array.isArray(S) && S.length > 0 && (he = S), he != null && he.length) {
8721
8721
  const pe = he.length;
8722
8722
  for (let me = 0; me < pe; me++) {
8723
- const ve = he[me] || {}, { label: Se = "", name: Ae = "", show: Oe = !1, sort: Le, customGroup: Ve, conditions: qe, truncations: Ie, typeGuid: Ge = "", dateFormat: Fe } = ve;
8724
- let Pe = p(Le);
8723
+ const ve = he[me] || {}, { label: Ae = "", name: _e = "", show: Be = !1, sort: Ne, customGroup: He, conditions: ze, truncations: Ie, typeGuid: je = "", dateFormat: Fe } = ve;
8724
+ let Pe = p(Ne);
8725
8725
  if (k.sort) {
8726
- const { field: Be, order: Ne } = k.sort;
8727
- let ze = ie.find((He) => He.label === Be);
8728
- !ze && ve.label === Be && (ze = ve), ze && (Pe = {
8729
- columnName: ze.columnName,
8726
+ const { field: Oe, order: Le } = k.sort;
8727
+ let $e = ie.find((Q) => Q.label === Oe);
8728
+ !$e && ve.label === Oe && ($e = ve), $e && (Pe = {
8729
+ columnName: $e.columnName,
8730
8730
  label: k.sort.field,
8731
- order: Ne.toUpperCase(),
8731
+ order: Le.toUpperCase(),
8732
8732
  type: "NORMAL"
8733
8733
  });
8734
8734
  }
8735
- const Re = {
8736
- label: Se.trim(),
8737
- columnName: Ae,
8738
- show: Oe,
8735
+ const De = {
8736
+ label: Ae.trim(),
8737
+ columnName: _e,
8738
+ show: Be,
8739
8739
  sort: Pe,
8740
- customGroup: Ve,
8741
- conditions: u(qe),
8742
- typeGuid: Ge
8740
+ customGroup: He,
8741
+ conditions: u(ze),
8742
+ typeGuid: je
8743
8743
  };
8744
- Fe && (Re.dateFormat = Fe), Ae === "the_date" && !Re.dateFormat && (Re.dateFormat = "YYYY-MM");
8745
- const Me = {};
8744
+ Fe && (De.dateFormat = Fe), _e === "the_date" && !De.dateFormat && (De.dateFormat = "YYYY-MM");
8745
+ const Re = {};
8746
8746
  if (Array.isArray(Ie) && Ie.length > 0) {
8747
- const Be = Ie.length;
8748
- for (let Ne = 0; Ne < Be; Ne++) {
8749
- const ze = Ie[Ne] || {}, { rule: He = "", num: Ze = 0, name: ee = "" } = ze;
8750
- He && Ze && (Me.num = Ze, Me.rule = He, ee && (Me.otherGroupName = ee));
8747
+ const Oe = Ie.length;
8748
+ for (let Le = 0; Le < Oe; Le++) {
8749
+ const $e = Ie[Le] || {}, { rule: Q = "", num: re = 0, name: ae = "" } = $e;
8750
+ Q && re && (Re.num = re, Re.rule = Q, ae && (Re.otherGroupName = ae));
8751
8751
  }
8752
8752
  }
8753
- (be = Object.keys(Me)) != null && be.length && (Re.truncation = Me), le.push(Re);
8753
+ (be = Object.keys(Re)) != null && be.length && (De.truncation = Re), le.push(De);
8754
8754
  }
8755
8755
  }
8756
8756
  if (lowerCaseIncludes(D, ["text", "proportion", "counter"]) && (I = "zb"), M) {
@@ -8768,7 +8768,7 @@ const runCode = (e, r) => {
8768
8768
  return;
8769
8769
  }
8770
8770
  S != null && S.length && ($ = "1", I = "grouptable");
8771
- let de = s || ((we = window == null ? void 0 : window.config) == null ? void 0 : we.pageId);
8771
+ let de = s || ((Ee = window == null ? void 0 : window.config) == null ? void 0 : Ee.pageId);
8772
8772
  if (!de) {
8773
8773
  const { pathname: pe } = window == null ? void 0 : window.location;
8774
8774
  if (pe) {
@@ -8777,7 +8777,7 @@ const runCode = (e, r) => {
8777
8777
  }
8778
8778
  }
8779
8779
  if (D !== "ecanScatter" && ((Te = Object.keys(W)) != null && Te.length)) {
8780
- const pe = getConditions(j).find((ve) => ve.conditionKey === "parentCode"), me = {};
8780
+ const pe = getConditions(G).find((ve) => ve.conditionKey === "parentCode"), me = {};
8781
8781
  if (pe) {
8782
8782
  const ve = o(pe.id) || {};
8783
8783
  if (ve != null && ve.itemCodes)
@@ -8787,9 +8787,15 @@ const runCode = (e, r) => {
8787
8787
  }
8788
8788
  D === "ecanDataSelect" && (me.indicatorList = ie.filter((ve) => ve.show)), O === "EDV_DATA_SET" && (me.edvDataSetId = Z);
8789
8789
  try {
8790
- const ve = await request.post(
8791
- `${INDICATOR_URL}/diagram/formData`,
8792
- {
8790
+ const ve = await request({
8791
+ url: `${INDICATOR_URL}/diagram/formData`,
8792
+ method: "post",
8793
+ headers: {
8794
+ // @ts-ignore
8795
+ Authentication: (Se = window == null ? void 0 : window.config) == null ? void 0 : Se.indicatorToken,
8796
+ operateContext: CONTEXT
8797
+ },
8798
+ data: {
8793
8799
  source: O,
8794
8800
  dataViewId: L,
8795
8801
  plugin: "4",
@@ -8805,18 +8811,12 @@ const runCode = (e, r) => {
8805
8811
  keyName: e.keyName,
8806
8812
  ...me
8807
8813
  },
8808
- {
8809
- headers: {
8810
- // @ts-ignore
8811
- Authentication: (Ee = window == null ? void 0 : window.config) == null ? void 0 : Ee.indicatorToken,
8812
- operateContext: CONTEXT
8813
- }
8814
- }
8815
- );
8814
+ // @ts-ignore
8815
+ signal: ((ke = window.controller) == null ? void 0 : ke.signal) || ""
8816
+ });
8816
8817
  return k != null && k.isTimer && r(ve), ve;
8817
8818
  } catch (ve) {
8818
8819
  console.error(ve);
8819
- } finally {
8820
8820
  }
8821
8821
  } else
8822
8822
  try {
@@ -8824,49 +8824,49 @@ const runCode = (e, r) => {
8824
8824
  lowerCaseIncludes(D, "scatter") ? pe = {
8825
8825
  classifications: Y
8826
8826
  } : pe = {
8827
- classification: Q
8827
+ classification: ee
8828
8828
  };
8829
- const me = await request.post(
8830
- `${INDICATOR_URL}/diagram`,
8831
- {
8829
+ const me = await request({
8830
+ url: `${INDICATOR_URL}/diagram`,
8831
+ method: "post",
8832
+ headers: {
8833
+ // @ts-ignore
8834
+ Authentication: (Ge = window == null ? void 0 : window.config) == null ? void 0 : Ge.indicatorToken,
8835
+ operateContext: CONTEXT
8836
+ },
8837
+ data: {
8832
8838
  source: O,
8833
8839
  dataViewId: L,
8834
8840
  plugin: F ? "5" : q,
8835
8841
  layer: $,
8836
8842
  chartType: F ? "pivot-table" : I,
8837
8843
  ...pe,
8838
- series: re,
8844
+ series: ne,
8839
8845
  indicatorList: ie,
8840
8846
  queryColumns: M ? [] : oe,
8841
8847
  pageFlag: !0,
8842
8848
  pageId: de,
8843
8849
  edvDataSetId: Z || "",
8844
8850
  sqlConditions: X.map((ve) => {
8845
- const { fieldValue: Se } = ve, Ae = {};
8846
- return Se && Array.isArray(Se) && (Ae.fieldValue = JSON.stringify(Se)), {
8851
+ const { fieldValue: Ae } = ve, _e = {};
8852
+ return Ae && Array.isArray(Ae) && (_e.fieldValue = JSON.stringify(Ae)), {
8847
8853
  ...ve,
8848
- ...Ae
8854
+ ..._e
8849
8855
  };
8850
8856
  }),
8851
8857
  // fixedDimSql: '',
8852
8858
  // dataSourceId,
8853
- idxLibMode: H,
8859
+ idxLibMode: j,
8854
8860
  preview: J,
8855
8861
  rowHeaders: le,
8856
8862
  keyName: e.keyName
8857
8863
  },
8858
- {
8859
- headers: {
8860
- // @ts-ignore
8861
- Authentication: (_e = window == null ? void 0 : window.config) == null ? void 0 : _e.indicatorToken,
8862
- operateContext: CONTEXT
8863
- }
8864
- }
8865
- );
8864
+ // @ts-ignore
8865
+ signal: ((Ve = window.controller) == null ? void 0 : Ve.signal) || ""
8866
+ });
8866
8867
  return k != null && k.isTimer && r(me), me;
8867
8868
  } catch (pe) {
8868
8869
  console.error(pe);
8869
- } finally {
8870
8870
  }
8871
8871
  }, E = unref(n) !== "design" && ((_ = e == null ? void 0 : e.graphicConfig) == null ? void 0 : _.pageMode) !== "design" && e.isOpenRequestTimer && e.requestInterval && setInterval(() => {
8872
8872
  b({ isTimer: !0 });
@@ -9023,9 +9023,9 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9023
9023
  o();
9024
9024
  });
9025
9025
  const f = computed(() => useVariablesInText(e.contextRequestUrl)), u = computed(() => e.pageMode), x = computed(() => e.theme), d = computed(() => e.width), y = computed(() => e.height), m = computed(() => e.pageFontFamily), g = computed(() => {
9026
- const Y = [], te = unref(l).filter((re) => re.type === "ecanModal");
9027
- for (const re of te)
9028
- re != null && re.requestList && Y.push(...re.requestList);
9026
+ const Y = [], te = unref(l).filter((ne) => ne.type === "ecanModal");
9027
+ for (const ne of te)
9028
+ ne != null && ne.requestList && Y.push(...ne.requestList);
9029
9029
  return [
9030
9030
  ...Y,
9031
9031
  ...e.requestList
@@ -9057,32 +9057,32 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9057
9057
  setTemplateData: (Y) => {
9058
9058
  var te;
9059
9059
  if (Y != null && Y.pageId) {
9060
- const { componentId: re, ...ie } = Y;
9060
+ const { componentId: ne, ...ie } = Y;
9061
9061
  (te = window.config) != null && te.urlParams || (window.config.urlParams = {}), window.config.urlParams[Y.pageId] = ie, n("templateChange", Y);
9062
9062
  }
9063
9063
  }
9064
9064
  });
9065
9065
  const p = ref(), v = /* @__PURE__ */ new Map(), b = (Y) => v.get(Y), E = (Y, te) => {
9066
- var re;
9066
+ var ne;
9067
9067
  if (p.value = te, v.set(Y, te), !e.pageId) {
9068
9068
  const ie = unref(s).find((oe) => oe.id === Y);
9069
- ie && ((re = window.config) != null && re.record || (window.config.record = {}), window.config.record[ie.keyName] = te);
9069
+ ie && ((ne = window.config) != null && ne.record || (window.config.record = {}), window.config.record[ie.keyName] = te);
9070
9070
  }
9071
9071
  }, _ = () => {
9072
9072
  p.value = null;
9073
9073
  }, k = (Y) => {
9074
9074
  let te = Y;
9075
9075
  if (te) {
9076
- const re = Y.match(/\{(.+?)\}/g);
9077
- if (re != null && re.length) {
9078
- let ie = re[0].slice(1, -1).trim();
9076
+ const ne = Y.match(/\{(.+?)\}/g);
9077
+ if (ne != null && ne.length) {
9078
+ let ie = ne[0].slice(1, -1).trim();
9079
9079
  const oe = ie.match(/\[(.+?)\]/g);
9080
9080
  let le = "";
9081
9081
  oe != null && oe.length && (ie = ie.replace(oe[0], ""), le = oe[0].slice(1, -1).trim());
9082
9082
  const he = unref(c).find((de) => de.keyName === ie);
9083
9083
  if (he) {
9084
- const de = b(he.id), { type: ye, value: be, RECORD: we, recordData: Te } = de || {};
9085
- lowerCaseIncludes(ye, MODEL_KEY_LIST) ? te = we[le] : lowerCaseIncludes(ye, "select") ? te = Te[le] : lowerCaseIncludes(ye, ["rangePicker", "date"]) ? dayjs.isDayjs(unref(de[le])) ? te = unref(de[le]).format(de.format) : te = unref(de[le]) : te = be;
9084
+ const de = b(he.id), { type: ye, value: be, RECORD: Ee, recordData: Te } = de || {};
9085
+ lowerCaseIncludes(ye, MODEL_KEY_LIST) ? te = Ee[le] : lowerCaseIncludes(ye, "select") ? te = Te[le] : lowerCaseIncludes(ye, ["rangePicker", "date"]) ? dayjs.isDayjs(unref(de[le])) ? te = unref(de[le]).format(de.format) : te = unref(de[le]) : te = be;
9086
9086
  } else
9087
9087
  te = (window.config.requestParams || {})[ie] || "";
9088
9088
  }
@@ -9090,15 +9090,15 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9090
9090
  return te;
9091
9091
  }, P = /* @__PURE__ */ new Map(), D = {}, M = async (Y, te) => {
9092
9092
  var he;
9093
- const { requestName: re } = Y, ie = await useRequestData({
9093
+ const { requestName: ne } = Y, ie = await useRequestData({
9094
9094
  ...Y,
9095
9095
  projectRequestUrl: unref(f),
9096
9096
  getModel: b
9097
- })(), oe = ((he = ie == null ? void 0 : ie.data) == null ? void 0 : he.data) || {}, le = P.get(re);
9098
- if (le != null && le.length && (!te || D[re])) {
9097
+ })(), oe = ((he = ie == null ? void 0 : ie.data) == null ? void 0 : he.data) || {}, le = P.get(ne);
9098
+ if (le != null && le.length && (!te || D[ne])) {
9099
9099
  for (const de of le)
9100
9100
  de(oe);
9101
- te || P.delete(re);
9101
+ te || P.delete(ne);
9102
9102
  }
9103
9103
  };
9104
9104
  provide(GLOBAL_MODEL, {
@@ -9108,8 +9108,8 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9108
9108
  getRecordValueByKeyName: k,
9109
9109
  hanldePageRequestData: (Y, te) => {
9110
9110
  D[Y] && (clearInterval(D[Y]), delete D[Y], P.delete(Y));
9111
- const re = unref(c).filter((oe) => !oe.openCustomRequestData && oe.customRequestName === Y), ie = P.get(Y) || [];
9112
- if ((re == null ? void 0 : re.length) > ie.length && (ie.push(te), P.set(Y, ie), (re == null ? void 0 : re.length) === ie.length)) {
9111
+ const ne = unref(c).filter((oe) => !oe.openCustomRequestData && oe.customRequestName === Y), ie = P.get(Y) || [];
9112
+ if ((ne == null ? void 0 : ne.length) > ie.length && (ie.push(te), P.set(Y, ie), (ne == null ? void 0 : ne.length) === ie.length)) {
9113
9113
  const oe = unref(g).find((le) => le.requestName === Y);
9114
9114
  oe && (oe != null && oe.isOpenRequestTimer && (oe != null && oe.requestInterval) ? (M(oe, !0), D[Y] = setInterval(() => {
9115
9115
  M(oe, !0);
@@ -9139,15 +9139,15 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9139
9139
  }
9140
9140
  });
9141
9141
  const R = mitt(), T = /* @__PURE__ */ new Set(), V = (Y, te) => {
9142
- T.add(Y), R.on(Y, (re) => {
9143
- const { eventName: ie, params: oe } = re;
9142
+ T.add(Y), R.on(Y, (ne) => {
9143
+ const { eventName: ie, params: oe } = ne;
9144
9144
  return typeof te[ie] == "function" && te[ie](oe);
9145
9145
  }), onBeforeUnmount(() => {
9146
9146
  U(Y);
9147
9147
  });
9148
9148
  }, U = (Y) => {
9149
9149
  T.delete(Y), R.off(Y);
9150
- }, N = (Y, te, re = {}) => {
9150
+ }, N = (Y, te, ne = {}) => {
9151
9151
  if (Y === "PAGE") {
9152
9152
  const ie = q.length;
9153
9153
  let oe = [];
@@ -9158,52 +9158,52 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9158
9158
  oe = [...A(le)];
9159
9159
  }
9160
9160
  oe.forEach((le) => {
9161
- R.emit(le, { eventName: te, params: re });
9161
+ R.emit(le, { eventName: te, params: ne });
9162
9162
  });
9163
9163
  } else
9164
- R.emit(Y, { eventName: te, params: re });
9164
+ R.emit(Y, { eventName: te, params: ne });
9165
9165
  };
9166
9166
  provide(EVENT_BUS, {
9167
9167
  onEvent: V,
9168
9168
  offEvent: U,
9169
9169
  emitEvent: N
9170
9170
  });
9171
- const j = ref(0);
9171
+ const G = ref(0);
9172
9172
  provide(GLOBAL_TOKEN, {
9173
9173
  requestToken: () => {
9174
- j.value = unref(j) + 1;
9174
+ G.value = unref(G) + 1;
9175
9175
  }
9176
9176
  });
9177
- const G = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), H = ({ requestFn: Y = () => {
9178
- }, sortNum: te = 0, id: re = "" }) => {
9179
- if (G.has(te)) {
9180
- const ie = G.get(te);
9177
+ const H = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), j = ({ requestFn: Y = () => {
9178
+ }, sortNum: te = 0, id: ne = "" }) => {
9179
+ if (H.has(te)) {
9180
+ const ie = H.get(te);
9181
9181
  ie == null || ie.push(Y);
9182
9182
  } else
9183
- G.set(te, [Y]);
9184
- K.set(re, Y);
9185
- }, J = (Y) => new Promise((te, re) => {
9183
+ H.set(te, [Y]);
9184
+ K.set(ne, Y);
9185
+ }, J = (Y) => new Promise((te, ne) => {
9186
9186
  const ie = Y.map((oe) => oe());
9187
9187
  Promise.all(ie).then((oe) => {
9188
9188
  te(oe);
9189
9189
  }).catch((oe) => {
9190
- re(oe);
9190
+ ne(oe);
9191
9191
  });
9192
- }), Z = (Y) => new Promise(async (te, re) => {
9192
+ }), Z = (Y) => new Promise(async (te, ne) => {
9193
9193
  if (Y) {
9194
9194
  if (typeof Y == "string") {
9195
9195
  const ie = K.get(Y);
9196
9196
  if (typeof ie == "function") {
9197
- const oe = request.interceptors.response.use((le) => (te(le), le), (le) => (re(le), Promise.reject(le)));
9197
+ const oe = request.interceptors.response.use((le) => (te(le), le), (le) => (ne(le), Promise.reject(le)));
9198
9198
  ie(), request.interceptors.response.eject(oe);
9199
9199
  }
9200
9200
  }
9201
9201
  } else {
9202
- const ie = Array.from(G);
9202
+ const ie = Array.from(H);
9203
9203
  ie.sort((le, he) => he[0] - le[0]);
9204
9204
  const oe = ie.length;
9205
9205
  try {
9206
- e.pageMode !== "design" && unref(j) > 0;
9206
+ e.pageMode !== "design" && unref(G) > 0;
9207
9207
  for (let le = 0; le < oe; le++) {
9208
9208
  const he = ie[le][1];
9209
9209
  await J(he);
@@ -9211,19 +9211,19 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9211
9211
  } catch (le) {
9212
9212
  console.error(le);
9213
9213
  } finally {
9214
- G.clear(), te(null);
9214
+ H.clear(), te(null);
9215
9215
  }
9216
9216
  }
9217
9217
  });
9218
9218
  provide(REQUEST_MODEL, {
9219
- setRequest: H,
9219
+ setRequest: j,
9220
9220
  touchRequest: Z
9221
9221
  }), provide(REFRESH_PAGE, {
9222
9222
  emitRefreshPage: () => {
9223
9223
  R.emit(REFRESH_PAGE);
9224
9224
  }
9225
9225
  });
9226
- const Q = (Y) => {
9226
+ const ee = (Y) => {
9227
9227
  R.on(REFRESH_PAGE, () => Y()), onMounted(() => {
9228
9228
  R.off(REFRESH_PAGE);
9229
9229
  });
@@ -9231,18 +9231,18 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9231
9231
  return watchEffect(() => {
9232
9232
  var Y;
9233
9233
  if ((Y = unref(s)) != null && Y.length && unref(u) !== "design") {
9234
- const { jumpType: te, jumpTime: re, jumpPage: ie, jumpLink: oe } = e;
9235
- if (re != null && re.value) {
9234
+ const { jumpType: te, jumpTime: ne, jumpPage: ie, jumpLink: oe } = e;
9235
+ if (ne != null && ne.value) {
9236
9236
  let le = 0;
9237
- switch (re == null ? void 0 : re.suffix) {
9237
+ switch (ne == null ? void 0 : ne.suffix) {
9238
9238
  case "hours":
9239
- le = re.value * 60 * 60 * 1e3;
9239
+ le = ne.value * 60 * 60 * 1e3;
9240
9240
  break;
9241
9241
  case "minute":
9242
- le = re.value * 60 * 1e3;
9242
+ le = ne.value * 60 * 1e3;
9243
9243
  break;
9244
9244
  case "seconds":
9245
- le = re.value * 1e3;
9245
+ le = ne.value * 1e3;
9246
9246
  break;
9247
9247
  }
9248
9248
  setTimeout(() => {
@@ -9252,11 +9252,11 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_r
9252
9252
  }
9253
9253
  }
9254
9254
  }), onBeforeUnmount(() => {
9255
- G == null || G.clear(), K == null || K.clear();
9255
+ H == null || H.clear(), K == null || K.clear();
9256
9256
  }), r({
9257
9257
  touchRequest: Z,
9258
9258
  getGlobalModel: b,
9259
- onRefreshPage: Q,
9259
+ onRefreshPage: ee,
9260
9260
  emitEvent: N,
9261
9261
  getRecordValueByKeyName: k,
9262
9262
  props: e
@@ -9345,12 +9345,12 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9345
9345
  return;
9346
9346
  }
9347
9347
  const N = +S[U];
9348
- let j = 0;
9348
+ let G = 0;
9349
9349
  if (isNaN(N))
9350
9350
  a.value = S;
9351
9351
  else {
9352
- String(N).includes(".") && (j = ((T = String(N).split(".")[1]) == null ? void 0 : T.length) || 0);
9353
- const W = Math.abs(N) * Math.pow(10, j), G = String(W).length;
9352
+ String(N).includes(".") && (G = ((T = String(N).split(".")[1]) == null ? void 0 : T.length) || 0);
9353
+ const W = Math.abs(N) * Math.pow(10, G), H = String(W).length;
9354
9354
  let K = [];
9355
9355
  for (let J = 0; J < 5; J++) {
9356
9356
  const Z = Math.ceil(Math.random() * (W + 1) - 1);
@@ -9358,18 +9358,18 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9358
9358
  }
9359
9359
  K.sort((J, Z) => J - Z), K = K.map((J) => {
9360
9360
  const Z = String(J).split("").reverse(), X = [];
9361
- for (let Q = 0; Q < G; Q++)
9362
- Z && Z[Q] ? X.push(Z[Q]) : X.push("0");
9363
- return j && X.splice(j, 0, "."), (N < 0 ? "-" : "") + X.reverse().join("");
9361
+ for (let ee = 0; ee < H; ee++)
9362
+ Z && Z[ee] ? X.push(Z[ee]) : X.push("0");
9363
+ return G && X.splice(G, 0, "."), (N < 0 ? "-" : "") + X.reverse().join("");
9364
9364
  }), K.push(N);
9365
- let H = 0;
9365
+ let j = 0;
9366
9366
  for (const J of K)
9367
9367
  setTimeout(() => {
9368
9368
  a.value = {
9369
9369
  ...unref(a),
9370
9370
  [U]: J
9371
9371
  };
9372
- }, H * 1e3), H += 0.1;
9372
+ }, j * 1e3), j += 0.1;
9373
9373
  }
9374
9374
  } else
9375
9375
  a.value = S;
@@ -9440,53 +9440,53 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9440
9440
  let V = e.text;
9441
9441
  V = V == null ? void 0 : V.replace(/\n|\\n/g, "<br/>"), V = V == null ? void 0 : V.replace(/\s(?!\{) | (?!\})\s/g, "&nbsp;");
9442
9442
  const U = V.match(/\{(.+?)\}/g) || [];
9443
- let N = "", j = "";
9444
- if (e.exceedConfig === "wrap" ? j = "show-wrap" : e.exceedConfig === "ellipsis" && (j = "show-ellipsis"), U == null || U.length === 0) {
9443
+ let N = "", G = "";
9444
+ if (e.exceedConfig === "wrap" ? G = "show-wrap" : e.exceedConfig === "ellipsis" && (G = "show-ellipsis"), U == null || U.length === 0) {
9445
9445
  if (V && e.format === "percentage" && !isNaN(+V)) {
9446
- const G = parseFloat(V), K = G * 100, H = v(K.toFixed(2));
9447
- G >= 0 ? V = `<span class="${j}" style="color: ${H || R || "#ED6643"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9446
+ const H = parseFloat(V), K = H * 100, j = v(K.toFixed(2));
9447
+ H >= 0 ? V = `<span class="${G}" style="color: ${j || R || "#ED6643"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9448
9448
  <div class="percentage-img-box">
9449
- <img style="width: ${unref(o)};filter: ${`drop-shadow(${H || R || "#ED6643"} ${unref(o)} 0px)`};" src="${goUp}"/>
9449
+ <img style="width: ${unref(o)};filter: ${`drop-shadow(${j || R || "#ED6643"} ${unref(o)} 0px)`};" src="${goUp}"/>
9450
9450
  </div>
9451
- <span style="color: ${H || e.color};${unref(m)}">${Math.abs(+K).toFixed(2)}%</span>
9452
- </span>` : V = `<span class="${j}" style="color: ${H || T || "#6ACB97"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9451
+ <span style="color: ${j || e.color};${unref(m)}">${Math.abs(+K).toFixed(2)}%</span>
9452
+ </span>` : V = `<span class="${G}" style="color: ${j || T || "#6ACB97"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9453
9453
  <div class="percentage-img-box">
9454
- <img style="width: ${unref(o)};filter: ${`drop-shadow(${H || T || "#6ACB97"} ${unref(o)} 0px)`};" src="${goDown}"/>
9454
+ <img style="width: ${unref(o)};filter: ${`drop-shadow(${j || T || "#6ACB97"} ${unref(o)} 0px)`};" src="${goDown}"/>
9455
9455
  </div>
9456
- <span style="color: ${H || e.color};${unref(m)}">${e.minusSignShow ? "-" : ""}${Math.abs(+K).toFixed(2)}%</span>
9456
+ <span style="color: ${j || e.color};${unref(m)}">${e.minusSignShow ? "-" : ""}${Math.abs(+K).toFixed(2)}%</span>
9457
9457
  </span>`;
9458
9458
  }
9459
9459
  N = V;
9460
9460
  }
9461
- for (let G = 0; G < U.length; G++) {
9462
- const K = U[G], H = (W = K == null ? void 0 : K.slice(1, K.length - 1)) == null ? void 0 : W.trim();
9463
- let J = H;
9464
- const Z = H.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
9465
- for (let Q = 0; Q < Z.length; Q++) {
9466
- const Y = Z[Q], te = S[Y];
9461
+ for (let H = 0; H < U.length; H++) {
9462
+ const K = U[H], j = (W = K == null ? void 0 : K.slice(1, K.length - 1)) == null ? void 0 : W.trim();
9463
+ let J = j;
9464
+ const Z = j.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
9465
+ for (let ee = 0; ee < Z.length; ee++) {
9466
+ const Y = Z[ee], te = S[Y];
9467
9467
  if (te)
9468
- J = H.replace(Y, u(String(te)) || te);
9468
+ J = j.replace(Y, u(String(te)) || te);
9469
9469
  else {
9470
- const re = getPageUrlParams(E);
9471
- re[Y] && (J = decodeURIComponent(re[Y]));
9470
+ const ne = getPageUrlParams(E);
9471
+ ne[Y] && (J = decodeURIComponent(ne[Y]));
9472
9472
  }
9473
9473
  }
9474
9474
  if (/\(.*\)/g.test(J)) {
9475
- const Q = runCode(J);
9476
- Q != null && (J = Q);
9475
+ const ee = runCode(J);
9476
+ ee != null && (J = ee);
9477
9477
  }
9478
9478
  let X = J;
9479
- if (X === H && (X = e.variableDefaultValue), X != null) {
9480
- const Q = e.format;
9481
- if (Q === "percentage")
9479
+ if (X === j && (X = e.variableDefaultValue), X != null) {
9480
+ const ee = e.format;
9481
+ if (ee === "percentage")
9482
9482
  if (X = +X, isNaN(X))
9483
- V = V.replace(K, `<span class="${j}" style="color:${v("0.00") || e.variableColor};font-size:${unref(o)};${unref(m)}">0%</span>`);
9483
+ V = V.replace(K, `<span class="${G}" style="color:${v("0.00") || e.variableColor};font-size:${unref(o)};${unref(m)}">0%</span>`);
9484
9484
  else if (X >= 0) {
9485
9485
  X = X * 100;
9486
9486
  const Y = v(X.toFixed(2));
9487
9487
  V = V.replace(
9488
9488
  K,
9489
- `<span class="${j}" style="color: ${Y || R || "#ED6643"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9489
+ `<span class="${G}" style="color: ${Y || R || "#ED6643"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9490
9490
  <div class="percentage-img-box">
9491
9491
  <img style="width: ${unref(o)};filter: ${`drop-shadow(${Y || R || "#ED6643"} ${unref(o)} 0px)`};" src="${goUp}"/>
9492
9492
  </div>
@@ -9498,7 +9498,7 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9498
9498
  const Y = v(X.toFixed(2));
9499
9499
  V = V.replace(
9500
9500
  K,
9501
- `<span class="${j}" style="color: ${Y || T || "#6ACB97"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9501
+ `<span class="${G}" style="color: ${Y || T || "#6ACB97"};font-size:${unref(o)};display: inline-block;${unref(m)}">
9502
9502
  <div class="percentage-img-box">
9503
9503
  <img style="width: ${unref(o)};filter: ${`drop-shadow(${Y || T || "#6ACB97"} ${unref(o)} 0px)`};" src="${goDown}"/>
9504
9504
  </div>
@@ -9507,15 +9507,15 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9507
9507
  );
9508
9508
  }
9509
9509
  else
9510
- e.format === "percent" ? (X = +X, isNaN(X) || (X = (X * 100).toFixed(2), V = V.replace(K, `<span class="${j}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}%</span>`))) : e.format === "money" ? (X = +X, isNaN(X) || (X = formatMoney(X), V = V.replace(K, `<span class="${j}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`))) : Q === "thousands" ? (X = +X, isNaN(X) || (X = formatThousands(X), V = V.replace(K, `<span class="${j}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`))) : V = V.replace(K, `<span class="${j}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`);
9510
+ e.format === "percent" ? (X = +X, isNaN(X) || (X = (X * 100).toFixed(2), V = V.replace(K, `<span class="${G}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}%</span>`))) : e.format === "money" ? (X = +X, isNaN(X) || (X = formatMoney(X), V = V.replace(K, `<span class="${G}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`))) : ee === "thousands" ? (X = +X, isNaN(X) || (X = formatThousands(X), V = V.replace(K, `<span class="${G}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`))) : V = V.replace(K, `<span class="${G}" style="color:${v(X) || e.variableColor};font-size:${unref(o)};${unref(m)}">${X}</span>`);
9511
9511
  }
9512
9512
  }
9513
- if (N || (N = `<span class="${j}" style="color: ${v(V)};${unref(m)}">${V}</span>`), e.unitShow && e.unitText) {
9514
- const { unitTop: G, unitLeft: K } = e;
9515
- let H = "position:relative;";
9516
- G && (H += `top:${G};`), K && (H += `margin-left:${K};`), N += `<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${H};${unref(m)}'>${e.unitText}</span>`;
9513
+ if (N || (N = `<span class="${G}" style="color: ${v(V)};${unref(m)}">${V}</span>`), e.unitShow && e.unitText) {
9514
+ const { unitTop: H, unitLeft: K } = e;
9515
+ let j = "position:relative;";
9516
+ H && (j += `top:${H};`), K && (j += `margin-left:${K};`), N += `<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${j};${unref(m)}'>${e.unitText}</span>`;
9517
9517
  }
9518
- return e.exceedConfig && (N = `<span class="${j}" style="display: inline-block;color: ${v(N)};">${N}</span>`), N.includes("span") || (N = `<span class="${j}" style="color: ${v(N)};">${N}</span>`), N;
9518
+ return e.exceedConfig && (N = `<span class="${G}" style="display: inline-block;color: ${v(N)};">${N}</span>`), N.includes("span") || (N = `<span class="${G}" style="color: ${v(N)};">${N}</span>`), N;
9519
9519
  });
9520
9520
  function v(S) {
9521
9521
  let R = "", T = !1;
@@ -9568,18 +9568,18 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _s
9568
9568
  const { data: R } = (S == null ? void 0 : S.data) || {};
9569
9569
  if (R) {
9570
9570
  n.value = !1;
9571
- const { columns: U = [], rows: N = [] } = ((T = S == null ? void 0 : S.data) == null ? void 0 : T.data) ?? {}, { graphicConfig: j } = e;
9571
+ const { columns: U = [], rows: N = [] } = ((T = S == null ? void 0 : S.data) == null ? void 0 : T.data) ?? {}, { graphicConfig: G } = e;
9572
9572
  let W = {};
9573
9573
  if (U.length > 0)
9574
- if ((V = j == null ? void 0 : j.dimensionList) != null && V.length) {
9575
- const G = U[0];
9576
- G && (N != null && N.length) && (W = {
9577
- value: N[0][G]
9574
+ if ((V = G == null ? void 0 : G.dimensionList) != null && V.length) {
9575
+ const H = U[0];
9576
+ H && (N != null && N.length) && (W = {
9577
+ value: N[0][H]
9578
9578
  });
9579
9579
  } else {
9580
- const G = U.find((K) => !!K);
9581
- G && (W = {
9582
- value: isNaN(N[G]) ? 0 : N[G] || 0
9580
+ const H = U.find((K) => !!K);
9581
+ H && (W = {
9582
+ value: isNaN(N[H]) ? 0 : N[H] || 0
9583
9583
  });
9584
9584
  }
9585
9585
  D(W == null ? void 0 : W.value), l(W);
@@ -10975,64 +10975,64 @@ const __default__$2 = defineComponent({
10975
10975
  const r = inject("isMobile", !1), { pageMode: n } = inject(GLOBAL_CONFIG, {
10976
10976
  pageMode: "normal"
10977
10977
  }), i = usePickComponentStyle(e), a = () => document.getElementById("ProviderConfig") || document.body, o = ref([null, null]), s = ref(!1), l = ref([]), c = ref([]), f = ref(), u = ref(), x = ref(), d = ref(), y = ref(0), m = ref({}), g = ref(""), w = computed(() => {
10978
- let H = ["year", "month", "day"];
10978
+ let j = ["year", "month", "day"];
10979
10979
  switch (e.picker) {
10980
10980
  case "year":
10981
- H = ["year"];
10981
+ j = ["year"];
10982
10982
  break;
10983
10983
  case "month":
10984
- H = ["year", "month"];
10984
+ j = ["year", "month"];
10985
10985
  break;
10986
10986
  }
10987
- return H;
10987
+ return j;
10988
10988
  });
10989
- watch(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([H, J, Z, X, Q, Y]) => {
10989
+ watch(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([j, J, Z, X, ee, Y]) => {
10990
10990
  if (unref(o).every((te) => !te) || unref(n) === "design") {
10991
- let te = null, re = null;
10992
- if (Z && (te = dayjs().subtract(X, Q), re = dayjs()), H && (te = dayjs(useVariablesInText(H))), J && (re = dayjs(useVariablesInText(J))), Y) {
10991
+ let te = null, ne = null;
10992
+ if (Z && (te = dayjs().subtract(X, ee), ne = dayjs()), j && (te = dayjs(useVariablesInText(j))), J && (ne = dayjs(useVariablesInText(J))), Y) {
10993
10993
  const { type: ie, value: oe, mode: le } = Y;
10994
10994
  switch (ie) {
10995
10995
  case "add":
10996
- te = te && te.add(oe, le), re = re && re.add(oe, le);
10996
+ te = te && te.add(oe, le), ne = ne && ne.add(oe, le);
10997
10997
  break;
10998
10998
  case "minus":
10999
- te = te && te.subtract(oe, le), re = re && re.subtract(oe, le);
10999
+ te = te && te.subtract(oe, le), ne = ne && ne.subtract(oe, le);
11000
11000
  }
11001
11001
  }
11002
- o.value = [te, re], unref(r) && G();
11002
+ o.value = [te, ne], unref(r) && H();
11003
11003
  }
11004
11004
  }, {
11005
11005
  immediate: !0
11006
11006
  });
11007
11007
  let C = unref(o)[0], p = unref(o)[1], v = "";
11008
- const b = (H, J, Z) => {
11009
- Array.isArray(H) ? (C = H[0], p = H[1], v = Z.range) : (C = null, p = null);
11010
- }, E = (H) => {
11008
+ const b = (j, J, Z) => {
11009
+ Array.isArray(j) ? (C = j[0], p = j[1], v = Z.range) : (C = null, p = null);
11010
+ }, E = (j) => {
11011
11011
  let J = !1, { limitStartTime: Z, limitEndTime: X } = e;
11012
- const Q = {
11012
+ const ee = {
11013
11013
  startTime: `${C || ""}`,
11014
11014
  endTime: `${p || ""}`
11015
11015
  };
11016
- if (Z = useVariablesInText(Z, { codeData: Q }), X = useVariablesInText(X, { codeData: Q }), Z && X ? J = !(dayjs(Z) < H && H < dayjs(X)) : Z ? J = dayjs(Z) > H : X && (J = dayjs(X) < H), !e.isAllowSpanYear && v) {
11016
+ if (Z = useVariablesInText(Z, { codeData: ee }), X = useVariablesInText(X, { codeData: ee }), Z && X ? J = !(dayjs(Z) < j && j < dayjs(X)) : Z ? J = dayjs(Z) > j : X && (J = dayjs(X) < j), !e.isAllowSpanYear && v) {
11017
11017
  let Y = null;
11018
11018
  if (v === "start" ? Y = C : v === "end" && (Y = p), Y) {
11019
- const te = Y.startOf("year"), re = Y.endOf("year");
11020
- J = !(te <= H && H < re);
11019
+ const te = Y.startOf("year"), ne = Y.endOf("year");
11020
+ J = !(te <= j && j < ne);
11021
11021
  }
11022
11022
  }
11023
11023
  if (!J) {
11024
11024
  const { value: Y = 0, mode: te = "year" } = e.limitInterval || {};
11025
- Y && (v === "start" ? J = C.add(Y, te) < H : v === "end" && (J = p.subtract(Y, te) > H));
11025
+ Y && (v === "start" ? J = C.add(Y, te) < j : v === "end" && (J = p.subtract(Y, te) > j));
11026
11026
  }
11027
11027
  return J;
11028
11028
  }, { getGlobalModel: _, setGlobalModel: k } = inject(GLOBAL_MODEL, {
11029
11029
  // @ts-ignore
11030
11030
  // eslint-disable-next-line no-void
11031
- getGlobalModel: (H) => {
11031
+ getGlobalModel: (j) => {
11032
11032
  },
11033
11033
  // @ts-ignore
11034
11034
  // eslint-disable-next-line no-void
11035
- setGlobalModel: (H, J) => {
11035
+ setGlobalModel: (j, J) => {
11036
11036
  }
11037
11037
  }), P = computed(() => Array.isArray(unref(o)) ? unref(o)[0] : null), D = computed(() => Array.isArray(unref(o)) ? unref(o)[1] : null), { pageId: M } = inject("templateOperate", {
11038
11038
  pageId: ""
@@ -11051,17 +11051,17 @@ const __default__$2 = defineComponent({
11051
11051
  let O = !1;
11052
11052
  const L = F("dateChange", () => {
11053
11053
  var Z;
11054
- const H = getNewValueFromUrlParams(M, e.keyName, "startTime"), J = getNewValueFromUrlParams(M, e.keyName, "endTime");
11055
- (Z = o.value) != null && Z.length || (o.value = [null, null]), H && (o.value[0] = dayjs(H)), J && (o.value[1] = dayjs(J));
11056
- }), q = (H) => {
11054
+ const j = getNewValueFromUrlParams(M, e.keyName, "startTime"), J = getNewValueFromUrlParams(M, e.keyName, "endTime");
11055
+ (Z = o.value) != null && Z.length || (o.value = [null, null]), j && (o.value[0] = dayjs(j)), J && (o.value[1] = dayjs(J));
11056
+ }), q = (j) => {
11057
11057
  const J = unref(o), Z = J && J[0] && J[1];
11058
- H === !1 && O === !0 && Z && (L(), O = !1), H || (v = "");
11058
+ j === !1 && O === !0 && Z && (L(), O = !1), j || (v = "");
11059
11059
  }, $ = () => {
11060
11060
  O = !0;
11061
11061
  }, I = () => {
11062
- const { associated: H } = e;
11063
- if (H) {
11064
- const J = _(H) || {};
11062
+ const { associated: j } = e;
11063
+ if (j) {
11064
+ const J = _(j) || {};
11065
11065
  if (J) {
11066
11066
  const { value: Z } = J;
11067
11067
  if (Z)
@@ -11080,19 +11080,19 @@ const __default__$2 = defineComponent({
11080
11080
  }
11081
11081
  L();
11082
11082
  }, B = () => {
11083
- j(unref(o)), s.value = !0;
11083
+ G(unref(o)), s.value = !0;
11084
11084
  }, A = () => {
11085
- j(), g.value = "", o.value = [null, null];
11085
+ G(), g.value = "", o.value = [null, null];
11086
11086
  }, S = () => {
11087
- o.value = [dayjs(unref(l).join("-")), dayjs(unref(c).join("-"))], j(unref(o)), W(), U(), s.value = !1, L();
11087
+ o.value = [dayjs(unref(l).join("-")), dayjs(unref(c).join("-"))], G(unref(o)), W(), U(), s.value = !1, L();
11088
11088
  }, R = () => {
11089
11089
  N(), s.value = !1;
11090
11090
  }, T = () => {
11091
- var H, J;
11092
- (H = unref(l)) != null && H.length && e.format && (x.value = new Date(unref(l).join("-")), (J = unref(c)) != null && J.length && dayjs(unref(c).join("-")).isBefore(dayjs(unref(l).join("-"))) && (c.value = cloneDeep(unref(l))));
11091
+ var j, J;
11092
+ (j = unref(l)) != null && j.length && e.format && (x.value = new Date(unref(l).join("-")), (J = unref(c)) != null && J.length && dayjs(unref(c).join("-")).isBefore(dayjs(unref(l).join("-"))) && (c.value = cloneDeep(unref(l))));
11093
11093
  }, V = () => {
11094
- var H, J;
11095
- (H = unref(c)) != null && H.length && e.format && (u.value = new Date(unref(c).join("-")), (J = unref(l)) != null && J.length && dayjs(unref(l).join("-")).isAfter(dayjs(unref(c).join("-"))) && (l.value = cloneDeep(unref(c))));
11094
+ var j, J;
11095
+ (j = unref(c)) != null && j.length && e.format && (u.value = new Date(unref(c).join("-")), (J = unref(l)) != null && J.length && dayjs(unref(l).join("-")).isAfter(dayjs(unref(c).join("-"))) && (l.value = cloneDeep(unref(c))));
11096
11096
  };
11097
11097
  function U() {
11098
11098
  m.value = {
@@ -11105,22 +11105,22 @@ const __default__$2 = defineComponent({
11105
11105
  function N() {
11106
11106
  f.value = unref(m).startMinDate, u.value = unref(m).startMaxDate, x.value = unref(m).endMinDate, d.value = unref(m).endMaxDate;
11107
11107
  }
11108
- function j(H = []) {
11109
- l.value = K(H[0] || dayjs()), c.value = K(H[1] || dayjs());
11108
+ function G(j = []) {
11109
+ l.value = K(j[0] || dayjs()), c.value = K(j[1] || dayjs());
11110
11110
  }
11111
11111
  function W() {
11112
11112
  var Z, X;
11113
- const H = (Z = unref(l)) != null && Z.length ? dayjs(unref(l).join("-")) : "", J = (X = unref(c)) != null && X.length ? dayjs(unref(c).join("-")) : "";
11114
- g.value = H && J && `${H.format(e.format)} 至 ${J.format(e.format)}`;
11113
+ const j = (Z = unref(l)) != null && Z.length ? dayjs(unref(l).join("-")) : "", J = (X = unref(c)) != null && X.length ? dayjs(unref(c).join("-")) : "";
11114
+ g.value = j && J && `${j.format(e.format)} 至 ${J.format(e.format)}`;
11115
11115
  }
11116
- function G() {
11117
- const { limitStartTime: H, limitEndTime: J, limitInterval: Z, isAllowSpanYear: X } = e;
11118
- j(unref(o)), H && (f.value = new Date(H), x.value = new Date(H), unref(o)[0].isBefore(dayjs(H)) && (unref(o)[0] = dayjs(H), l.value = K(unref(o)[0]))), J && (u.value = new Date(J), d.value = new Date(J), unref(o)[1].isAfter(dayjs(J)) && (unref(o)[1] = dayjs(J), c.value = K(unref(o)[1]))), unref(o).every((Q) => Q) && (Z != null && Z.value) && unref(o)[1].diff(unref(o)[0], Z.mode) > Z.value && (unref(o)[0] = unref(o)[1].subtract(Z.value, Z.mode), l.value = K(unref(o)[0])), unref(o).every((Q) => Q) && !X && unref(o)[0].year() !== unref(o)[1].year() && (unref(o)[0] = dayjs(`${unref(o)[1].year()}-01-01`), l.value = K(unref(o)[0])), U(), W();
11116
+ function H() {
11117
+ const { limitStartTime: j, limitEndTime: J, limitInterval: Z, isAllowSpanYear: X } = e;
11118
+ G(unref(o)), j && (f.value = new Date(j), x.value = new Date(j), unref(o)[0].isBefore(dayjs(j)) && (unref(o)[0] = dayjs(j), l.value = K(unref(o)[0]))), J && (u.value = new Date(J), d.value = new Date(J), unref(o)[1].isAfter(dayjs(J)) && (unref(o)[1] = dayjs(J), c.value = K(unref(o)[1]))), unref(o).every((ee) => ee) && (Z != null && Z.value) && unref(o)[1].diff(unref(o)[0], Z.mode) > Z.value && (unref(o)[0] = unref(o)[1].subtract(Z.value, Z.mode), l.value = K(unref(o)[0])), unref(o).every((ee) => ee) && !X && unref(o)[0].year() !== unref(o)[1].year() && (unref(o)[0] = dayjs(`${unref(o)[1].year()}-01-01`), l.value = K(unref(o)[0])), U(), W();
11119
11119
  }
11120
- function K(H) {
11120
+ function K(j) {
11121
11121
  const J = [];
11122
11122
  for (const Z of unref(w))
11123
- Z === "day" ? J.push(H.date()) : J.push(H[Z]() + (Z === "month" ? 1 : 0));
11123
+ Z === "day" ? J.push(j.date()) : J.push(j[Z]() + (Z === "month" ? 1 : 0));
11124
11124
  return J;
11125
11125
  }
11126
11126
  return useOnEvent(e, {
@@ -11491,103 +11491,103 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11491
11491
  ...selectComponentProps
11492
11492
  },
11493
11493
  setup(e, { expose: r }) {
11494
- var W, G, K;
11494
+ var W, H, K;
11495
11495
  const n = inject("isMobile", !1), i = ref(!1), a = {
11496
11496
  text: ((W = e.dataFieldNames) == null ? void 0 : W.label) || "label",
11497
- value: ((G = e.dataFieldNames) == null ? void 0 : G.value) || "value"
11497
+ value: ((H = e.dataFieldNames) == null ? void 0 : H.value) || "value"
11498
11498
  }, o = ref([]), s = usePickComponentStyle(e), l = () => document.getElementById("ProviderConfig") || document.body, c = ref(e.data || []), f = ref(), u = computed({
11499
11499
  get: () => {
11500
11500
  var J;
11501
- const { mode: H } = e;
11502
- return (J = unref(c)) != null && J.length ? f.value : H === "multiple" || H === "tags" || H === "combobox" ? [] : "";
11501
+ const { mode: j } = e;
11502
+ return (J = unref(c)) != null && J.length ? f.value : j === "multiple" || j === "tags" || j === "combobox" ? [] : "";
11503
11503
  },
11504
- set: (H) => {
11505
- f.value = H;
11504
+ set: (j) => {
11505
+ f.value = j;
11506
11506
  }
11507
11507
  }), x = computed(() => {
11508
- const { value: H, label: J } = e.dataFieldNames, Z = [];
11508
+ const { value: j, label: J } = e.dataFieldNames, Z = [];
11509
11509
  if (Array.isArray(unref(u)))
11510
11510
  for (const X of unref(u)) {
11511
- const Q = unref(c).find((Y) => Y[H] === X);
11512
- Q && Z.push(Q[J]);
11511
+ const ee = unref(c).find((Y) => Y[j] === X);
11512
+ ee && Z.push(ee[J]);
11513
11513
  }
11514
11514
  else {
11515
- const X = unref(c).find((Q) => Q[H] === unref(u));
11515
+ const X = unref(c).find((ee) => ee[j] === unref(u));
11516
11516
  X && Z.push(X[J]);
11517
11517
  }
11518
11518
  return Z.join(",");
11519
11519
  }), { getGlobalModel: d, setGlobalModel: y, getRecordValueByKeyName: m } = inject(GLOBAL_MODEL, {
11520
11520
  // @ts-ignore
11521
11521
  // eslint-disable-next-line no-void
11522
- getGlobalModel: (H) => {
11522
+ getGlobalModel: (j) => {
11523
11523
  },
11524
11524
  // @ts-ignore
11525
11525
  // eslint-disable-next-line no-void
11526
- setGlobalModel: (H, J) => {
11526
+ setGlobalModel: (j, J) => {
11527
11527
  },
11528
11528
  // @ts-ignore
11529
11529
  // eslint-disable-next-line no-void
11530
- getRecordValueByKeyName: (H) => {
11530
+ getRecordValueByKeyName: (j) => {
11531
11531
  }
11532
11532
  }), g = e.dataFieldNames;
11533
11533
  watch(() => [e.value, e.mode, e.selectFirstOption, e.valueType, c.value], () => {
11534
- const { mode: H, selectFirstOption: J, value: Z } = e, X = m(Z), Q = g.value;
11535
- if (H === "multiple" || H === "tags" || H === "combobox") {
11534
+ const { mode: j, selectFirstOption: J, value: Z } = e, X = m(Z), ee = g.value;
11535
+ if (j === "multiple" || j === "tags" || j === "combobox") {
11536
11536
  if (X)
11537
11537
  f.value = X.split(",");
11538
11538
  else if (J) {
11539
11539
  const Y = unref(c)[0];
11540
- f.value = Y ? [Y[Q]] : [];
11540
+ f.value = Y ? [Y[ee]] : [];
11541
11541
  }
11542
11542
  } else if (X)
11543
11543
  f.value = X;
11544
11544
  else if (J) {
11545
11545
  const Y = unref(c)[0];
11546
- f.value = Y ? Y[Q] : "";
11546
+ f.value = Y ? Y[ee] : "";
11547
11547
  }
11548
11548
  }, {
11549
11549
  immediate: !0
11550
11550
  });
11551
- const w = (H, J) => {
11551
+ const w = (j, J) => {
11552
11552
  const Z = g.label, X = g.value;
11553
- let Q;
11553
+ let ee;
11554
11554
  const Y = J[Z], te = J[X];
11555
- return Y != null ? Q = Y : te != null && (Q = te), (Q == null ? void 0 : Q.toLowerCase().indexOf(H == null ? void 0 : H.toLowerCase())) >= 0;
11556
- }, C = (H) => {
11555
+ return Y != null ? ee = Y : te != null && (ee = te), (ee == null ? void 0 : ee.toLowerCase().indexOf(j == null ? void 0 : j.toLowerCase())) >= 0;
11556
+ }, C = (j) => {
11557
11557
  const { label: J, value: Z, options: X } = e.dataFieldNames;
11558
- if (X && Array.isArray(H))
11559
- if (H.some((Q) => X in Q)) {
11560
- const Q = {}, Y = [];
11561
- H.forEach((te) => {
11562
- Q[te[X]] || (Q[te[X]] = []), Q[te[X]].push({
11558
+ if (X && Array.isArray(j))
11559
+ if (j.some((ee) => X in ee)) {
11560
+ const ee = {}, Y = [];
11561
+ j.forEach((te) => {
11562
+ ee[te[X]] || (ee[te[X]] = []), ee[te[X]].push({
11563
11563
  [J]: te[J],
11564
11564
  [Z]: te[Z]
11565
11565
  });
11566
11566
  });
11567
- for (const te in Q)
11567
+ for (const te in ee)
11568
11568
  Y.push({
11569
11569
  [J]: te,
11570
- [X]: Q[te]
11570
+ [X]: ee[te]
11571
11571
  });
11572
11572
  return Y;
11573
11573
  } else
11574
- return H;
11574
+ return j;
11575
11575
  else {
11576
- if (!X && Array.isArray(H))
11577
- return H = H.map((Q) => ({
11578
- label: Q[J],
11579
- value: Q[Z]
11580
- })), H;
11581
- if (!X && !Array.isArray(H))
11582
- return H;
11583
- }
11584
- }, p = ref(!1), v = (H) => {
11576
+ if (!X && Array.isArray(j))
11577
+ return j = j.map((ee) => ({
11578
+ label: ee[J],
11579
+ value: ee[Z]
11580
+ })), j;
11581
+ if (!X && !Array.isArray(j))
11582
+ return j;
11583
+ }
11584
+ }, p = ref(!1), v = (j) => {
11585
11585
  var J, Z;
11586
- if (c.value = C(((Z = (J = H == null ? void 0 : H.data) == null ? void 0 : J.data) == null ? void 0 : Z.rows) || []), e.selectFirstOption) {
11586
+ if (c.value = C(((Z = (J = j == null ? void 0 : j.data) == null ? void 0 : J.data) == null ? void 0 : Z.rows) || []), e.selectFirstOption) {
11587
11587
  let X = unref(c)[0];
11588
11588
  if (g.options) {
11589
- const Q = X[g.options];
11590
- Q && Q.length && (X = Q[0]);
11589
+ const ee = X[g.options];
11590
+ ee && ee.length && (X = ee[0]);
11591
11591
  }
11592
11592
  f.value = X[g.value];
11593
11593
  }
@@ -11595,10 +11595,10 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11595
11595
  if (e.dataType === "request") {
11596
11596
  p.value = !0;
11597
11597
  try {
11598
- const H = await b();
11599
- v(H);
11600
- } catch (H) {
11601
- console.error(H);
11598
+ const j = await b();
11599
+ v(j);
11600
+ } catch (j) {
11601
+ console.error(j);
11602
11602
  } finally {
11603
11603
  p.value = !1;
11604
11604
  }
@@ -11606,33 +11606,33 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11606
11606
  }, { setLoadedData: _, loadedData: k } = inject(LOADED_DATA, {
11607
11607
  // @ts-ignore
11608
11608
  // eslint-disable-next-line no-void
11609
- setLoadedData: (H, J) => {
11609
+ setLoadedData: (j, J) => {
11610
11610
  },
11611
11611
  loadedData: {}
11612
11612
  }), P = computed(() => {
11613
- let H = f.value;
11613
+ let j = f.value;
11614
11614
  if (e.valueType === "label" && unref(f) && unref(c)) {
11615
11615
  const J = g.label, Z = g.value;
11616
11616
  if (e.mode === "multiple")
11617
- H = unref(c).filter((X) => unref(f).includes(X[Z])).map((X) => X[J]);
11617
+ j = unref(c).filter((X) => unref(f).includes(X[Z])).map((X) => X[J]);
11618
11618
  else {
11619
- const X = unref(c).find((Q) => unref(f) === Q[Z]);
11620
- X && (H = X[J]);
11619
+ const X = unref(c).find((ee) => unref(f) === ee[Z]);
11620
+ X && (j = X[J]);
11621
11621
  }
11622
11622
  }
11623
- return H;
11623
+ return j;
11624
11624
  }), D = ref([]), M = computed(() => {
11625
- const H = {};
11625
+ const j = {};
11626
11626
  if (e.mode !== "multiple") {
11627
11627
  const J = unref(D).find((Z) => Z.value === unref(f));
11628
- J && (H.itemCodes = J.item_codes);
11628
+ J && (j.itemCodes = J.item_codes);
11629
11629
  }
11630
- return H;
11630
+ return j;
11631
11631
  }), F = computed(() => {
11632
- const { value: H, label: J } = g, Z = unref(c).find((X) => X[H] === unref(u));
11632
+ const { value: j, label: J } = g, Z = unref(c).find((X) => X[j] === unref(u));
11633
11633
  return Z ? {
11634
11634
  label: Z[J],
11635
- value: Z[H]
11635
+ value: Z[j]
11636
11636
  } : {};
11637
11637
  }), { pageId: O } = inject("templateOperate", {
11638
11638
  pageId: ""
@@ -11645,8 +11645,8 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11645
11645
  recordData: unref(F)
11646
11646
  });
11647
11647
  const L = useEmitEvent(e), q = L("selectChange", () => {
11648
- const H = e.id, J = d(H);
11649
- y(H, {
11648
+ const j = e.id, J = d(j);
11649
+ y(j, {
11650
11650
  ...J,
11651
11651
  ...unref(M),
11652
11652
  RECORD: P,
@@ -11656,28 +11656,28 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11656
11656
  Z && (u.value = Z);
11657
11657
  }), $ = L("clearValue", () => {
11658
11658
  ["multiple", "tags", "combobox"].includes(e.mode) ? f.value = [] : f.value = null;
11659
- const H = e.id;
11660
- y(H, {
11659
+ const j = e.id;
11660
+ y(j, {
11661
11661
  RECORD: "",
11662
11662
  recordData: unref(F)
11663
11663
  });
11664
- }), I = (H = []) => {
11664
+ }), I = (j = []) => {
11665
11665
  var Z, X;
11666
- const J = C(H);
11666
+ const J = C(j);
11667
11667
  if ((X = (Z = e == null ? void 0 : e.graphicConfig) == null ? void 0 : Z.formFields) != null && X.hasAllOption) {
11668
- const Q = g.label, Y = g.value;
11668
+ const ee = g.label, Y = g.value;
11669
11669
  J.unshift({
11670
- [Q]: "全部",
11670
+ [ee]: "全部",
11671
11671
  [Y]: ""
11672
11672
  });
11673
11673
  }
11674
11674
  if (c.value = J, e.selectFirstOption) {
11675
- let Q = unref(c)[0];
11675
+ let ee = unref(c)[0];
11676
11676
  if (g.options) {
11677
- const Y = Q[g.options];
11678
- Y && Y.length && (Q = Y[0]);
11677
+ const Y = ee[g.options];
11678
+ Y && Y.length && (ee = Y[0]);
11679
11679
  }
11680
- f.value = Q[g.value];
11680
+ f.value = ee[g.value];
11681
11681
  }
11682
11682
  y(e.id, {
11683
11683
  type: e.type,
@@ -11685,35 +11685,35 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11685
11685
  ...unref(M),
11686
11686
  recordData: unref(F)
11687
11687
  });
11688
- }, B = (H) => {
11689
- var Q;
11690
- const { data: J } = (H == null ? void 0 : H.data) || {}, Z = g.label, X = g.value;
11688
+ }, B = (j) => {
11689
+ var ee;
11690
+ const { data: J } = (j == null ? void 0 : j.data) || {}, Z = g.label, X = g.value;
11691
11691
  if (J) {
11692
- const { rows: Y = [] } = ((Q = H == null ? void 0 : H.data) == null ? void 0 : Q.data) || {};
11692
+ const { rows: Y = [] } = ((ee = j == null ? void 0 : j.data) == null ? void 0 : ee.data) || {};
11693
11693
  D.value = Y;
11694
11694
  const te = Y.map((oe) => ({
11695
11695
  [Z]: oe.label,
11696
11696
  [X]: oe.value
11697
- })), { id: re } = e, ie = d(re);
11698
- y(re, { ...ie, ...unref(M) }), _(re, !0), I(te);
11697
+ })), { id: ne } = e, ie = d(ne);
11698
+ y(ne, { ...ie, ...unref(M) }), _(ne, !0), I(te);
11699
11699
  } else
11700
11700
  I([]);
11701
11701
  }, A = useIndicatorData(e, B), S = async () => {
11702
11702
  try {
11703
11703
  p.value = !0;
11704
- const H = await A();
11705
- B(H);
11706
- } catch (H) {
11707
- console.error(H);
11704
+ const j = await A();
11705
+ B(j);
11706
+ } catch (j) {
11707
+ console.error(j);
11708
11708
  } finally {
11709
11709
  p.value = !1;
11710
11710
  }
11711
11711
  }, R = computed(() => {
11712
- var H, J;
11713
- return (J = getConditions(((H = e == null ? void 0 : e.graphicConfig) == null ? void 0 : H.controlList) || [])) == null ? void 0 : J.find((Z) => Z.conditionKey === "parentCode");
11712
+ var j, J;
11713
+ return (J = getConditions(((j = e == null ? void 0 : e.graphicConfig) == null ? void 0 : j.controlList) || [])) == null ? void 0 : J.find((Z) => Z.conditionKey === "parentCode");
11714
11714
  }), T = ref(!1);
11715
- watch(k, (H) => {
11716
- !unref(T) && unref(R) && H[unref(R).id] && (T.value = !0, V());
11715
+ watch(k, (j) => {
11716
+ !unref(T) && unref(R) && j[unref(R).id] && (T.value = !0, V());
11717
11717
  }, {
11718
11718
  deep: !0
11719
11719
  });
@@ -11722,8 +11722,8 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11722
11722
  case "indicator": {
11723
11723
  if (unref(R)) {
11724
11724
  if (unref(k)[unref(R).id]) {
11725
- const { mode: H } = e;
11726
- H === "multiple" || H === "tags" || H === "combobox" ? u.value = [] : u.value = "", S();
11725
+ const { mode: j } = e;
11726
+ j === "multiple" || j === "tags" || j === "combobox" ? u.value = [] : u.value = "", S();
11727
11727
  }
11728
11728
  } else
11729
11729
  S();
@@ -11742,7 +11742,7 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11742
11742
  const { setRequest: U } = inject(REQUEST_MODEL, {
11743
11743
  // @ts-ignore
11744
11744
  // eslint-disable-next-line no-void
11745
- setRequest: ({ id: H, sortNum: J, requestFn: Z }) => {
11745
+ setRequest: ({ id: j, sortNum: J, requestFn: Z }) => {
11746
11746
  }
11747
11747
  });
11748
11748
  return typeof U == "function" && U({
@@ -11768,8 +11768,8 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_ren
11768
11768
  },
11769
11769
  mobileValue: x,
11770
11770
  openPicker: () => {
11771
- var H;
11772
- !Array.isArray(unref(u)) && ((H = unref(c)) != null && H.length) && e.dataFieldNames.value && (o.value = unref(u) ? [unref(u)] : [unref(c)[0][e.dataFieldNames.value]]), i.value = !0;
11771
+ var j;
11772
+ !Array.isArray(unref(u)) && ((j = unref(c)) != null && j.length) && e.dataFieldNames.value && (o.value = unref(u) ? [unref(u)] : [unref(c)[0][e.dataFieldNames.value]]), i.value = !0;
11773
11773
  },
11774
11774
  mobileSelectValue: o
11775
11775
  };
@@ -12591,8 +12591,8 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12591
12591
  let D;
12592
12592
  const M = () => {
12593
12593
  p.value = parseFloat(d) / parseFloat(m);
12594
- const Y = parseFloat(y) / parseFloat(g), te = document.body.offsetWidth, re = document.body.offsetHeight;
12595
- if (C.value = te * unref(p), v.value = re * Y, w.value = `${unref(p) * 100}%`, b.value = {
12594
+ const Y = parseFloat(y) / parseFloat(g), te = document.body.offsetWidth, ne = document.body.offsetHeight;
12595
+ if (C.value = te * unref(p), v.value = ne * Y, w.value = `${unref(p) * 100}%`, b.value = {
12596
12596
  width: `${unref(C)}px`,
12597
12597
  height: `${unref(v)}px`,
12598
12598
  border: `${e.borderWidth} solid ${e.borderColor}`,
@@ -12632,8 +12632,8 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12632
12632
  touchRequest: () => {
12633
12633
  }
12634
12634
  }), I = ref(""), B = () => {
12635
- var re;
12636
- const { title: Y } = e, te = (re = unref(c)) == null ? void 0 : re.RECORD;
12635
+ var ne;
12636
+ const { title: Y } = e, te = (ne = unref(c)) == null ? void 0 : ne.RECORD;
12637
12637
  return te ? useVariablesInText(
12638
12638
  Y,
12639
12639
  {
@@ -12658,17 +12658,17 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12658
12658
  T();
12659
12659
  }, U = () => {
12660
12660
  T(), l();
12661
- }, { setModalModel: N, pushUseModalIds: j, popUseModalIds: W } = inject(MODAL_MODEL, {
12661
+ }, { setModalModel: N, pushUseModalIds: G, popUseModalIds: W } = inject(MODAL_MODEL, {
12662
12662
  pushUseModalIds: (Y) => {
12663
12663
  },
12664
12664
  popUseModalIds: () => {
12665
12665
  },
12666
12666
  setModalModel: (Y, te) => {
12667
12667
  }
12668
- }), G = computed(() => {
12668
+ }), H = computed(() => {
12669
12669
  let Y = e.componentList;
12670
- const te = cloneDeep(e.componentList), re = o(), ie = s(), oe = {
12671
- containerMap: re,
12670
+ const te = cloneDeep(e.componentList), ne = o(), ie = s(), oe = {
12671
+ containerMap: ne,
12672
12672
  combinationMap: ie
12673
12673
  };
12674
12674
  i && (Y = compatibleMobileList({
@@ -12683,7 +12683,7 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12683
12683
  const le = [];
12684
12684
  for (const he of Y)
12685
12685
  if (he.type === "ecanCirculate") {
12686
- const de = moveToComponentList(re, unref(te), he.id);
12686
+ const de = moveToComponentList(ne, unref(te), he.id);
12687
12687
  he.componentList = de, le.push(...de.map((ye) => ye.id));
12688
12688
  }
12689
12689
  if (le != null && le.length)
@@ -12695,14 +12695,14 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12695
12695
  }), K = () => {
12696
12696
  const Y = e.id;
12697
12697
  let te = [];
12698
- const re = e.componentList;
12699
- Array.isArray(re) && (te = re.map((ie) => ie.id), N(Y, [...new Set(te)]));
12700
- }, H = ref(!1), J = {};
12698
+ const ne = e.componentList;
12699
+ Array.isArray(ne) && (te = ne.map((ie) => ie.id), N(Y, [...new Set(te)]));
12700
+ }, j = ref(!1), J = {};
12701
12701
  for (const Y of e.requestList)
12702
12702
  J[Y.requestName] = useRequestData(Y);
12703
12703
  watch(() => q.value, async (Y) => {
12704
12704
  if (Y)
12705
- k.value = !1, j(e.id), K(), await nextTick(() => {
12705
+ k.value = !1, G(e.id), K(), await nextTick(() => {
12706
12706
  M(), window.addEventListener("resize", F), O(), k.value = !0;
12707
12707
  }), $();
12708
12708
  else {
@@ -12734,7 +12734,7 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12734
12734
  isFullWidth: Z,
12735
12735
  wrapClassName: X,
12736
12736
  ready: k,
12737
- usedComponentList: G,
12737
+ usedComponentList: H,
12738
12738
  isMobile: i,
12739
12739
  readyIds: n,
12740
12740
  hasOwn,
@@ -12742,7 +12742,7 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_rende
12742
12742
  n.value.push(Y);
12743
12743
  },
12744
12744
  formatTitle: I,
12745
- requestLoaded: H
12745
+ requestLoaded: j
12746
12746
  };
12747
12747
  }
12748
12748
  }), Modal_vue_vue_type_style_index_0_scoped_e56696cd_lang = "", Modal_vue_vue_type_style_index_1_lang = "";
@@ -13420,22 +13420,22 @@ const _sfc_main$d = defineComponent({
13420
13420
  let T = "", V = e.tooltipFormatter;
13421
13421
  d = (U = S[0]) == null ? void 0 : U.data, V === "" && (V = "{marker} {a} {c}");
13422
13422
  for (let N = 0; N < R; N++) {
13423
- const { marker: j, seriesName: W, name: G, value: K, data: H } = S[N] || {};
13423
+ const { marker: G, seriesName: W, name: H, value: K, data: j } = S[N] || {};
13424
13424
  if (N === 0) {
13425
- let J = G;
13426
- typeof G == "string" && G[0] === "0" && !isNaN(+G) && (J = (+G).toString()), T += `${useValueFormatter(B, J)}<br/>`;
13425
+ let J = H;
13426
+ typeof H == "string" && H[0] === "0" && !isNaN(+H) && (J = (+H).toString()), T += `${useValueFormatter(B, J)}<br/>`;
13427
13427
  }
13428
13428
  T += useVariablesInText(
13429
13429
  V,
13430
13430
  {
13431
13431
  textData: {
13432
- marker: j,
13433
- name: G,
13432
+ marker: G,
13433
+ name: H,
13434
13434
  value: K,
13435
13435
  a: W,
13436
- b: G,
13436
+ b: H,
13437
13437
  c: K || 0,
13438
- ...H
13438
+ ...j
13439
13439
  }
13440
13440
  },
13441
13441
  {
@@ -13629,11 +13629,11 @@ const _sfc_main$d = defineComponent({
13629
13629
  const T = useTransformChartDataByAttrKey(B, S ? A : null, !0);
13630
13630
  c.value = T.dimensions, y.value = T.dataset;
13631
13631
  const V = T.dataset, U = [], N = V.length;
13632
- for (let j = 0; j < N; j++) {
13632
+ for (let G = 0; G < N; G++) {
13633
13633
  const W = {};
13634
13634
  e.shadowColor && (W.shadowColor = e.shadowColor, W.shadowBlur = e.shadowBlur, W.shadowOffsetY = e.shadowOffsetY, W.shadowOffsetX = e.shadowOffsetX), U.push({
13635
13635
  type: "line",
13636
- ...V[j],
13636
+ ...V[G],
13637
13637
  symbolSize: e.symbolSize,
13638
13638
  smooth: e.smooth,
13639
13639
  areaStyle: {
@@ -13645,13 +13645,13 @@ const _sfc_main$d = defineComponent({
13645
13645
  y2: 1,
13646
13646
  colorStops: [{
13647
13647
  offset: 0,
13648
- color: e.colors[j]
13648
+ color: e.colors[G]
13649
13649
  }, {
13650
13650
  offset: 1,
13651
13651
  color: e.areaGradientColor || "transparent"
13652
13652
  }],
13653
13653
  global: !1
13654
- } : e.colors[j],
13654
+ } : e.colors[G],
13655
13655
  opacity: e.areaStyleOpacity
13656
13656
  },
13657
13657
  lineStyle: {
@@ -13979,10 +13979,10 @@ const _sfc_main$c = defineComponent({
13979
13979
  }), a = inject("usedComponentList", []), o = ref(), s = ref(!1), l = ref(!1), c = ref(null), f = ref([]), u = usePickComponentStyle(e), x = ref([]), d = ref(), y = ref({});
13980
13980
  let m;
13981
13981
  const g = computed(() => s.value ? ZOOM_FONT_SIZE : 12), w = computed(() => {
13982
- const { gradientShow: W, gradientColors: G, gradientOffset: K, barBorderRadius: H } = e, J = unref(x), Z = J.length, X = [];
13983
- for (let Q = 0; Q < Z; Q++) {
13982
+ const { gradientShow: W, gradientColors: H, gradientOffset: K, barBorderRadius: j } = e, J = unref(x), Z = J.length, X = [];
13983
+ for (let ee = 0; ee < Z; ee++) {
13984
13984
  const Y = {
13985
- ...J[Q],
13985
+ ...J[ee],
13986
13986
  type: "bar",
13987
13987
  barWidth: e.barWidth.value + e.barWidth.suffix,
13988
13988
  showBackground: e.showBarBackground
@@ -13995,10 +13995,10 @@ const _sfc_main$c = defineComponent({
13995
13995
  width: e.labelWidth,
13996
13996
  overflow: e.labelOverflow,
13997
13997
  formatter: (te) => {
13998
- let re = "", ie = e.labelFormatter;
13998
+ let ne = "", ie = e.labelFormatter;
13999
13999
  ie === "" && (ie = "{c}");
14000
14000
  const { seriesName: oe, name: le, value: he, data: de } = te || {};
14001
- return re += useVariablesInText(
14001
+ return ne += useVariablesInText(
14002
14002
  ie,
14003
14003
  {
14004
14004
  textData: {
@@ -14014,7 +14014,7 @@ const _sfc_main$c = defineComponent({
14014
14014
  useNewline: !0,
14015
14015
  useSpace: !0
14016
14016
  }
14017
- ), re;
14017
+ ), ne;
14018
14018
  }
14019
14019
  }, Y.itemStyle = {}, W && (Y.itemStyle = {
14020
14020
  color: {
@@ -14024,24 +14024,24 @@ const _sfc_main$c = defineComponent({
14024
14024
  y2: e.isUseHorizontalAxis ? 0 : 1,
14025
14025
  colorStops: [{
14026
14026
  offset: 0,
14027
- color: e.colors[Q]
14027
+ color: e.colors[ee]
14028
14028
  }, {
14029
14029
  offset: K,
14030
- color: G[Q]
14030
+ color: H[ee]
14031
14031
  }, {
14032
14032
  offset: 1,
14033
- color: G[Q]
14033
+ color: H[ee]
14034
14034
  }]
14035
14035
  }
14036
- }), H) {
14037
- const te = H.split(",");
14036
+ }), j) {
14037
+ const te = j.split(",");
14038
14038
  if (te != null && te.length) {
14039
- const re = [];
14039
+ const ne = [];
14040
14040
  for (const ie of te) {
14041
14041
  const oe = parseFloat(ie);
14042
- isNaN(oe) || re.push(oe);
14042
+ isNaN(oe) || ne.push(oe);
14043
14043
  }
14044
- Y.itemStyle.borderRadius = re;
14044
+ Y.itemStyle.borderRadius = ne;
14045
14045
  }
14046
14046
  }
14047
14047
  e.isShowMarkLine && (Y.markLine = {
@@ -14050,7 +14050,7 @@ const _sfc_main$c = defineComponent({
14050
14050
  }
14051
14051
  return X;
14052
14052
  }), C = ref([]), p = ref(!1), v = computed(() => {
14053
- const W = e.yAxisLabelFormatter, G = e.xAxisLabelFormatter;
14053
+ const W = e.yAxisLabelFormatter, H = e.xAxisLabelFormatter;
14054
14054
  return {
14055
14055
  textStyle: {
14056
14056
  fontFamily: unref(i)
@@ -14068,8 +14068,8 @@ const _sfc_main$c = defineComponent({
14068
14068
  icon: "path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",
14069
14069
  onclick() {
14070
14070
  l.value = !0;
14071
- const K = o.value.chart.getOption(), { xAxis: H } = K || {};
14072
- H && H.length && (f.value = H[0].data);
14071
+ const K = o.value.chart.getOption(), { xAxis: j } = K || {};
14072
+ j && j.length && (f.value = j[0].data);
14073
14073
  }
14074
14074
  },
14075
14075
  myDownload: {
@@ -14125,24 +14125,24 @@ const _sfc_main$c = defineComponent({
14125
14125
  show: e.tooltipShow,
14126
14126
  formatter: (K) => {
14127
14127
  var X;
14128
- const H = K.length;
14128
+ const j = K.length;
14129
14129
  let J = "", Z = e.tooltipFormatter;
14130
14130
  m = (X = K[0]) == null ? void 0 : X.data, Z === "" && (Z = "{marker} {a} {c}");
14131
- for (let Q = 0; Q < H; Q++) {
14132
- const { marker: Y, seriesName: te, name: re, value: ie, data: oe } = K[Q] || {};
14133
- if (Q === 0) {
14134
- let le = re;
14135
- typeof re == "string" && re[0] === "0" && !isNaN(+re) && (le = (+re).toString()), J += `${useValueFormatter(G, le)}<br/>`;
14131
+ for (let ee = 0; ee < j; ee++) {
14132
+ const { marker: Y, seriesName: te, name: ne, value: ie, data: oe } = K[ee] || {};
14133
+ if (ee === 0) {
14134
+ let le = ne;
14135
+ typeof ne == "string" && ne[0] === "0" && !isNaN(+ne) && (le = (+ne).toString()), J += `${useValueFormatter(H, le)}<br/>`;
14136
14136
  }
14137
14137
  J += useVariablesInText(
14138
14138
  Z,
14139
14139
  {
14140
14140
  textData: {
14141
14141
  marker: Y,
14142
- name: re,
14142
+ name: ne,
14143
14143
  value: ie,
14144
14144
  a: te,
14145
- b: re,
14145
+ b: ne,
14146
14146
  c: ie || 0,
14147
14147
  ...oe
14148
14148
  }
@@ -14185,10 +14185,10 @@ const _sfc_main$c = defineComponent({
14185
14185
  itemHeight: e.legendItemHeight,
14186
14186
  itemWidth: e.legendItemWidth,
14187
14187
  itemGap: e.legendItemGap,
14188
- data: unref(x).map((K, H) => ({
14188
+ data: unref(x).map((K, j) => ({
14189
14189
  name: K.name,
14190
14190
  itemStyle: {
14191
- color: e.colors[H]
14191
+ color: e.colors[j]
14192
14192
  },
14193
14193
  icon: e.legendType
14194
14194
  })),
@@ -14221,7 +14221,7 @@ const _sfc_main$c = defineComponent({
14221
14221
  overflow: e.xAxisLabelOverflow,
14222
14222
  fontSize: e.xAxisLabelFontSize,
14223
14223
  formatter(K) {
14224
- return typeof K == "string" && K[0] === "0" && !isNaN(+K) && (K = (+K).toString()), useValueFormatter(G, K);
14224
+ return typeof K == "string" && K[0] === "0" && !isNaN(+K) && (K = (+K).toString()), useValueFormatter(H, K);
14225
14225
  }
14226
14226
  },
14227
14227
  axisLine: {
@@ -14285,30 +14285,30 @@ const _sfc_main$c = defineComponent({
14285
14285
  };
14286
14286
  }), b = () => {
14287
14287
  s.value = !1;
14288
- }, E = (W = [], G = !1) => {
14288
+ }, E = (W = [], H = !1) => {
14289
14289
  let K = {};
14290
14290
  if (e.dataFieldConfigType === "key") {
14291
- const H = G ? e.keyTypeDataFieldNames : null;
14292
- K = useTransformChartDataByAttrKey(W, H);
14291
+ const j = H ? e.keyTypeDataFieldNames : null;
14292
+ K = useTransformChartDataByAttrKey(W, j);
14293
14293
  } else if (e.dataFieldConfigType === "value") {
14294
- const H = G ? e.valueTypeDataFieldNames : null;
14295
- K = useTransformChartDataByAttrValue(W, H);
14294
+ const j = H ? e.valueTypeDataFieldNames : null;
14295
+ K = useTransformChartDataByAttrValue(W, j);
14296
14296
  }
14297
14297
  x.value = K.dataset, C.value = K.dimensions;
14298
- }, _ = (W = [], G, K = !1) => {
14299
- const J = useTransformChartDataByAttrKey(W, K ? G : null, !0);
14298
+ }, _ = (W = [], H, K = !1) => {
14299
+ const J = useTransformChartDataByAttrKey(W, K ? H : null, !0);
14300
14300
  e.defaultRangeValue && setDefaultRangeVal({
14301
14301
  props: e,
14302
14302
  componentList: unref(a),
14303
14303
  getGlobalModel: R
14304
14304
  }, J), x.value = J.dataset, C.value = J.dimensions;
14305
14305
  }, k = computed(() => unref(C).map((W) => {
14306
- let G = {};
14307
- return W && typeof W == "object" ? G = {
14306
+ let H = {};
14307
+ return W && typeof W == "object" ? H = {
14308
14308
  ...W
14309
- } : G = {
14309
+ } : H = {
14310
14310
  value: W
14311
- }, G;
14311
+ }, H;
14312
14312
  }));
14313
14313
  watch(() => [
14314
14314
  e.data,
@@ -14325,11 +14325,11 @@ const _sfc_main$c = defineComponent({
14325
14325
  deep: !0
14326
14326
  });
14327
14327
  const P = useRequestData(e), D = async () => {
14328
- var W, G;
14328
+ var W, H;
14329
14329
  try {
14330
14330
  p.value = !0;
14331
14331
  const K = await P();
14332
- E((G = (W = K == null ? void 0 : K.data) == null ? void 0 : W.data) == null ? void 0 : G.rows, !0);
14332
+ E((H = (W = K == null ? void 0 : K.data) == null ? void 0 : W.data) == null ? void 0 : H.rows, !0);
14333
14333
  } catch (K) {
14334
14334
  console.error(K);
14335
14335
  } finally {
@@ -14337,15 +14337,15 @@ const _sfc_main$c = defineComponent({
14337
14337
  }
14338
14338
  }, M = (W) => {
14339
14339
  var J;
14340
- const { columns: G = [], rows: K = [] } = ((J = W == null ? void 0 : W.data) == null ? void 0 : J.data) ?? {};
14341
- let H;
14342
- G.length > 0 && (H = {
14343
- name: G[0],
14344
- types: G.slice(1).map((Z) => ({
14340
+ const { columns: H = [], rows: K = [] } = ((J = W == null ? void 0 : W.data) == null ? void 0 : J.data) ?? {};
14341
+ let j;
14342
+ H.length > 0 && (j = {
14343
+ name: H[0],
14344
+ types: H.slice(1).map((Z) => ({
14345
14345
  label: Z,
14346
14346
  value: Z
14347
14347
  }))
14348
- }), _(K, H, !0);
14348
+ }), _(K, j, !0);
14349
14349
  }, F = useIndicatorData(e, (W) => {
14350
14350
  e.isViewRedrawing && o.value.clear(), M(W);
14351
14351
  }), O = async () => {
@@ -14363,8 +14363,8 @@ const _sfc_main$c = defineComponent({
14363
14363
  }), q = ref(!1);
14364
14364
  watch(L, (W) => {
14365
14365
  if (e.dataType === "indicator") {
14366
- const G = getFixedValueDatas(e.graphicConfig);
14367
- G != null && G.length && (!unref(q) && canRequestIndicator(e.graphicConfig, W) ? (q.value = !0, $()) : canRequestIndicator(e.graphicConfig, W) || (q.value = !1));
14366
+ const H = getFixedValueDatas(e.graphicConfig);
14367
+ H != null && H.length && (!unref(q) && canRequestIndicator(e.graphicConfig, W) ? (q.value = !0, $()) : canRequestIndicator(e.graphicConfig, W) || (q.value = !1));
14368
14368
  }
14369
14369
  }, {
14370
14370
  deep: !0
@@ -14378,21 +14378,21 @@ const _sfc_main$c = defineComponent({
14378
14378
  D();
14379
14379
  break;
14380
14380
  }
14381
- }, I = (W, G) => !!unref(f)[G.value].value.includes(W), B = async () => {
14381
+ }, I = (W, H) => !!unref(f)[H.value].value.includes(W), B = async () => {
14382
14382
  l.value = !1;
14383
14383
  const W = o.value.chart.getOption();
14384
- for (let G = 0; G < 7; G++)
14385
- await A(W, G);
14386
- }, A = (W, G) => new Promise((K) => {
14384
+ for (let H = 0; H < 7; H++)
14385
+ await A(W, H);
14386
+ }, A = (W, H) => new Promise((K) => {
14387
14387
  setTimeout(() => {
14388
- const { series: H, color: J, xAxis: Z } = W, X = o.value.chart, { splitArea: Q = {} } = Z[0] || {};
14389
- H.forEach((Y, te) => {
14390
- const re = Y.data;
14388
+ const { series: j, color: J, xAxis: Z } = W, X = o.value.chart, { splitArea: ee = {} } = Z[0] || {};
14389
+ j.forEach((Y, te) => {
14390
+ const ne = Y.data;
14391
14391
  let ie = "";
14392
- G % 2 ? ie = J[te] + "a8" : ie = J[te], re[c.value].itemStyle = {
14392
+ H % 2 ? ie = J[te] + "a8" : ie = J[te], ne[c.value].itemStyle = {
14393
14393
  color: ie
14394
14394
  };
14395
- }), G % 2 ? (Q.show = !0, Q.areaStyle.color = unref(f).map((Y, te) => te === c.value ? "#ff003b26" : "")) : Q.show = !1, X.setOption({ series: H, xAxis: Z }), K();
14395
+ }), H % 2 ? (ee.show = !0, ee.areaStyle.color = unref(f).map((Y, te) => te === c.value ? "#ff003b26" : "")) : ee.show = !1, X.setOption({ series: j, xAxis: Z }), K();
14396
14396
  }, 200);
14397
14397
  });
14398
14398
  r({
@@ -14405,7 +14405,7 @@ const _sfc_main$c = defineComponent({
14405
14405
  },
14406
14406
  // @ts-ignore
14407
14407
  // eslint-disable-next-line no-void
14408
- setGlobalModel: (W, G) => {
14408
+ setGlobalModel: (W, H) => {
14409
14409
  }
14410
14410
  });
14411
14411
  T(e.id, {
@@ -14413,8 +14413,8 @@ const _sfc_main$c = defineComponent({
14413
14413
  RECORD: ""
14414
14414
  });
14415
14415
  const V = S("click", (W) => {
14416
- const G = R(e.id);
14417
- T(e.id, { ...G, type: e.type, RECORD: e.tooltipShow ? m : W.data });
14416
+ const H = R(e.id);
14417
+ T(e.id, { ...H, type: e.type, RECORD: e.tooltipShow ? m : W.data });
14418
14418
  }), { setRequest: U } = inject(REQUEST_MODEL, {
14419
14419
  setRequest: (W) => {
14420
14420
  }
@@ -14425,12 +14425,12 @@ const _sfc_main$c = defineComponent({
14425
14425
  sortNum: e.requestSort
14426
14426
  });
14427
14427
  const N = () => {
14428
- const W = e.id, G = R(W);
14429
- T(W, { ...G, RECORD: "" });
14430
- }, j = (W) => {
14428
+ const W = e.id, H = R(W);
14429
+ T(W, { ...H, RECORD: "" });
14430
+ }, G = (W) => {
14431
14431
  o.value.chart.containPixel("grid", [W.offsetX, W.offsetY]) && V();
14432
14432
  };
14433
- return e.tooltipShow ? y.value["zr:click"] = j : y.value.click = V, useOnEvent(e, {
14433
+ return e.tooltipShow ? y.value["zr:click"] = G : y.value.click = V, useOnEvent(e, {
14434
14434
  refreshData: $,
14435
14435
  click: V,
14436
14436
  resetRecord: N
@@ -14619,7 +14619,8 @@ const Bar = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$e
14619
14619
  xAxisMin: null,
14620
14620
  yAxisMax: null,
14621
14621
  yAxisMin: null,
14622
- xAxisLabelShow: !0
14622
+ xAxisLabelShow: !0,
14623
+ crossShow: !0
14623
14624
  }, scatterComponentProps = transformToComponentProps(scatterProps), scatterEvents = ["click", "refreshData", "resetRecord"];
14624
14625
  use([
14625
14626
  CanvasRenderer,
@@ -14648,32 +14649,38 @@ const _sfc_main$b = defineComponent({
14648
14649
  }), a = ref(), o = ref(!1), s = usePickComponentStyle(e), l = ref([]), c = ref(), f = computed(() => o.value ? ZOOM_FONT_SIZE : 12), u = ref(), x = ref(), d = ref(), y = ref(), m = computed(() => {
14649
14650
  const { xAxisMarkLineValue: S = [], yAxisMarkLineValue: R = [] } = e, T = S.map((N) => ({ ...N, x: !0 })), V = R.map((N) => ({ ...N, y: !0 })), U = T.concat(V);
14650
14651
  if (U != null && U.length) {
14651
- const N = [], j = {
14652
- label: {
14653
- show: !1
14654
- }
14655
- };
14656
- for (const W of U) {
14657
- let G = W.value;
14658
- const K = G.match(/\{(.+?)\}/g);
14659
- let H = "";
14660
- if (W.x ? H = "xAxis" : W.y && (H = "yAxis"), K != null && K.length) {
14661
- for (const J of K)
14662
- G = G.replace(J, J.slice(1, -1));
14663
- if (G) {
14664
- const J = runCode(G, {
14665
- max: W.x ? unref(u) : W.y ? unref(d) : 0,
14666
- min: W.x ? unref(x) : W.y ? unref(y) : 0
14652
+ const N = [];
14653
+ for (const G of U) {
14654
+ const W = {
14655
+ label: {
14656
+ show: !0,
14657
+ formatter: "",
14658
+ rich: {
14659
+ ft: {}
14660
+ }
14661
+ }
14662
+ }, H = {};
14663
+ let K = G.value;
14664
+ const j = K.match(/\{(.+?)\}/g);
14665
+ let J = "";
14666
+ if (W.label.formatter = G.label ? `{ft|${G.label}}` : "", (G.offsetHorizontal || G.offsetVertical) && (G.x ? W.label.rich.ft.padding = [0, G.offsetHorizontal || 0, G.offsetVertical || 0, 0] : G.y && (W.label.rich.ft.padding = [G.offsetVertical || 0, 0, 0, G.offsetHorizontal || 0])), G.labelColor && (W.label.rich.ft.color = G.labelColor), G.lineColor && (H.color = G.lineColor), G.x ? J = "xAxis" : G.y && (J = "yAxis"), j != null && j.length) {
14667
+ for (const Z of j)
14668
+ K = K.replace(Z, Z.slice(1, -1));
14669
+ if (K) {
14670
+ const Z = runCode(K, {
14671
+ max: G.x ? unref(u) : G.y ? unref(d) : 0,
14672
+ min: G.x ? unref(x) : G.y ? unref(y) : 0
14667
14673
  });
14668
- isNaN(+J) || N.push({
14669
- [H]: +J,
14670
- ...j
14674
+ isNaN(+Z) || N.push({
14675
+ [J]: +Z,
14676
+ ...W
14671
14677
  });
14672
14678
  }
14673
14679
  } else
14674
- isNaN(+W.value) || N.push({
14675
- [H]: W.value,
14676
- ...j
14680
+ isNaN(+G.value) || N.push({
14681
+ [J]: G.value,
14682
+ lineStyle: H,
14683
+ ...W
14677
14684
  });
14678
14685
  }
14679
14686
  return {
@@ -14721,9 +14728,9 @@ const _sfc_main$b = defineComponent({
14721
14728
  for (const U in T)
14722
14729
  if (U !== "color") {
14723
14730
  let N = T[U];
14724
- const j = N.match(/\{(.+?)\}/g);
14725
- if (j != null && j.length) {
14726
- for (const W of j)
14731
+ const G = N.match(/\{(.+?)\}/g);
14732
+ if (G != null && G.length) {
14733
+ for (const W of G)
14727
14734
  N = N.replace(W, W.slice(1, -1));
14728
14735
  if (N) {
14729
14736
  const W = runCode(N, {
@@ -14811,7 +14818,7 @@ const _sfc_main$b = defineComponent({
14811
14818
  },
14812
14819
  color: e.colors,
14813
14820
  xAxis: {
14814
- z: 10,
14821
+ z: 5,
14815
14822
  // type: 'value'
14816
14823
  splitLine: {
14817
14824
  show: e.xAxisSplitLineShow,
@@ -14858,7 +14865,7 @@ const _sfc_main$b = defineComponent({
14858
14865
  min: e.xAxisMin
14859
14866
  },
14860
14867
  yAxis: {
14861
- z: 10,
14868
+ z: 5,
14862
14869
  splitLine: {
14863
14870
  show: e.yAxisSplitLineShow,
14864
14871
  lineStyle: {
@@ -14906,7 +14913,7 @@ const _sfc_main$b = defineComponent({
14906
14913
  trigger: e.tooltipTrigger,
14907
14914
  formatter(T) {
14908
14915
  var K;
14909
- const { marker: V, seriesName: U, componentType: N } = T, j = ((K = T == null ? void 0 : T.data) == null ? void 0 : K.record) ?? {}, W = j[unref(E).name], G = j[unref(E).value];
14916
+ const { marker: V, seriesName: U, componentType: N } = T, G = ((K = T == null ? void 0 : T.data) == null ? void 0 : K.record) ?? {}, W = G[unref(E).name], H = G[unref(E).value];
14910
14917
  return ["markLine", "markArea"].includes(N) ? "" : useVariablesInText(
14911
14918
  e.tooltipFormatter,
14912
14919
  {
@@ -14915,8 +14922,8 @@ const _sfc_main$b = defineComponent({
14915
14922
  seriesName: U,
14916
14923
  a: U,
14917
14924
  b: W,
14918
- c: G,
14919
- ...j
14925
+ c: H,
14926
+ ...G
14920
14927
  }
14921
14928
  },
14922
14929
  {
@@ -14926,7 +14933,7 @@ const _sfc_main$b = defineComponent({
14926
14933
  );
14927
14934
  },
14928
14935
  axisPointer: {
14929
- type: "cross"
14936
+ type: e.crossShow || e.crossShow === void 0 ? "cross" : ""
14930
14937
  },
14931
14938
  textStyle: {
14932
14939
  fontSize: f.value
@@ -14967,7 +14974,8 @@ const _sfc_main$b = defineComponent({
14967
14974
  setGlobalModel: (S, R) => {
14968
14975
  }
14969
14976
  }), b = () => {
14970
- const S = unref(a).chart.getModel().getComponent("yAxis").axis.scale._extent, R = unref(a).chart.getModel().getComponent("xAxis").axis.scale._extent;
14977
+ var T, V;
14978
+ const S = (T = unref(a)) == null ? void 0 : T.chart.getModel().getComponent("yAxis").axis.scale._extent, R = (V = unref(a)) == null ? void 0 : V.chart.getModel().getComponent("xAxis").axis.scale._extent;
14971
14979
  R && S && (x.value = R[0], u.value = R[1], y.value = S[0], d.value = S[1]);
14972
14980
  }, E = computed(() => {
14973
14981
  let S = e.dataFieldNames;
@@ -15349,11 +15357,11 @@ const _sfc_main$9 = defineComponent({
15349
15357
  }), a = inject("usedComponentList", []), { getGlobalModel: o, setGlobalModel: s } = inject(GLOBAL_MODEL, {
15350
15358
  // @ts-ignore
15351
15359
  // eslint-disable-next-line no-void
15352
- getGlobalModel: (G) => {
15360
+ getGlobalModel: (H) => {
15353
15361
  },
15354
15362
  // @ts-ignore
15355
15363
  // eslint-disable-next-line no-void
15356
- setGlobalModel: (G, K) => {
15364
+ setGlobalModel: (H, K) => {
15357
15365
  }
15358
15366
  }), l = ref(), c = ref(!1), f = ref(!1), u = ref(null), x = ref([]), d = ref({});
15359
15367
  let y;
@@ -15384,7 +15392,7 @@ const _sfc_main$9 = defineComponent({
15384
15392
  icon: "path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",
15385
15393
  onclick() {
15386
15394
  f.value = !0;
15387
- const G = l.value.chart.getOption(), { xAxis: K } = G || {};
15395
+ const H = l.value.chart.getOption(), { xAxis: K } = H || {};
15388
15396
  K && K.length && (x.value = K[0].data);
15389
15397
  }
15390
15398
  },
@@ -15401,8 +15409,8 @@ const _sfc_main$9 = defineComponent({
15401
15409
  title: "放大",
15402
15410
  icon: "path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",
15403
15411
  onclick() {
15404
- var G;
15405
- c.value = !0, (G = C.value) == null || G.showModal();
15412
+ var H;
15413
+ c.value = !0, (H = C.value) == null || H.showModal();
15406
15414
  }
15407
15415
  },
15408
15416
  myInfo: {
@@ -15447,38 +15455,38 @@ const _sfc_main$9 = defineComponent({
15447
15455
  itemHeight: e.legendItemHeight,
15448
15456
  itemWidth: e.legendItemWidth,
15449
15457
  itemGap: e.legendItemGap,
15450
- data: unref(p).map((G, K) => ({
15451
- name: G.name,
15458
+ data: unref(p).map((H, K) => ({
15459
+ name: H.name,
15452
15460
  itemStyle: {
15453
15461
  color: e.colors[K]
15454
15462
  },
15455
15463
  icon: e.legendType
15456
15464
  })),
15457
- formatter: (G) => getLegendFormat(e.legendFormatter, {
15458
- name: G
15465
+ formatter: (H) => getLegendFormat(e.legendFormatter, {
15466
+ name: H
15459
15467
  })
15460
15468
  },
15461
15469
  tooltip: {
15462
15470
  trigger: "axis",
15463
15471
  show: e.tooltipShow,
15464
- formatter: (G) => {
15472
+ formatter: (H) => {
15465
15473
  var X;
15466
- const K = G.length;
15467
- let H = "", J = e.tooltipFormatter;
15468
- y = (X = G[0]) == null ? void 0 : X.data, J === "" && (J = "{marker} {a} {c}");
15474
+ const K = H.length;
15475
+ let j = "", J = e.tooltipFormatter;
15476
+ y = (X = H[0]) == null ? void 0 : X.data, J === "" && (J = "{marker} {a} {c}");
15469
15477
  const Z = e.seriesTypes;
15470
- for (let Q = 0; Q < K; Q++) {
15471
- const Y = Z[Q], { tooltipFormatter: te } = Y || {}, { marker: re, seriesName: ie, name: oe, value: le, data: he } = G[Q] || {};
15472
- if (Q === 0) {
15478
+ for (let ee = 0; ee < K; ee++) {
15479
+ const Y = Z[ee], { tooltipFormatter: te } = Y || {}, { marker: ne, seriesName: ie, name: oe, value: le, data: he } = H[ee] || {};
15480
+ if (ee === 0) {
15473
15481
  let de = oe;
15474
- typeof oe == "string" && oe[0] === "0" && !isNaN(+oe) && (de = (+oe).toString()), H += `${useValueFormatter(e.xAxisLabelFormatter, de)}<br/>`;
15482
+ typeof oe == "string" && oe[0] === "0" && !isNaN(+oe) && (de = (+oe).toString()), j += `${useValueFormatter(e.xAxisLabelFormatter, de)}<br/>`;
15475
15483
  }
15476
- H += useVariablesInText(
15484
+ j += useVariablesInText(
15477
15485
  // 如果系列有提示框组件就使用自定义,没有就用默认的
15478
15486
  te || J,
15479
15487
  {
15480
15488
  textData: {
15481
- marker: re,
15489
+ marker: ne,
15482
15490
  name: oe,
15483
15491
  value: le,
15484
15492
  seriesName: ie,
@@ -15492,9 +15500,9 @@ const _sfc_main$9 = defineComponent({
15492
15500
  useNewline: !0,
15493
15501
  useSpace: !0
15494
15502
  }
15495
- ), H += "<br/>";
15503
+ ), j += "<br/>";
15496
15504
  }
15497
- return H;
15505
+ return j;
15498
15506
  },
15499
15507
  textStyle: {
15500
15508
  color: e.tooltipTextStyleColor,
@@ -15505,12 +15513,12 @@ const _sfc_main$9 = defineComponent({
15505
15513
  xAxis: {
15506
15514
  minInterval: e.xAxisMinInterval,
15507
15515
  type: "category",
15508
- data: unref(w).map((G) => {
15516
+ data: unref(w).map((H) => {
15509
15517
  let K = {};
15510
- return G && typeof G == "object" ? K = {
15511
- ...G
15518
+ return H && typeof H == "object" ? K = {
15519
+ ...H
15512
15520
  } : K = {
15513
- value: G
15521
+ value: H
15514
15522
  }, K;
15515
15523
  }),
15516
15524
  splitLine: {
@@ -15531,8 +15539,8 @@ const _sfc_main$9 = defineComponent({
15531
15539
  width: e.xAxisLabelWidth,
15532
15540
  overflow: e.xAxisLabelOverflow,
15533
15541
  fontSize: e.xAxisLabelFontSize,
15534
- formatter(G) {
15535
- return typeof G == "string" && G[0] === "0" && !isNaN(+G) && (G = (+G).toString()), useValueFormatter(e.xAxisLabelFormatter, G);
15542
+ formatter(H) {
15543
+ return typeof H == "string" && H[0] === "0" && !isNaN(+H) && (H = (+H).toString()), useValueFormatter(e.xAxisLabelFormatter, H);
15536
15544
  }
15537
15545
  },
15538
15546
  axisLine: {
@@ -15556,20 +15564,20 @@ const _sfc_main$9 = defineComponent({
15556
15564
  series: unref(g)
15557
15565
  })), E = () => {
15558
15566
  c.value = !1;
15559
- }, _ = (G = [], K = !1) => {
15560
- let H;
15567
+ }, _ = (H = [], K = !1) => {
15568
+ let j;
15561
15569
  if (e.dataFieldConfigType === "key") {
15562
15570
  const Z = K ? e.keyTypeDataFieldNames : null;
15563
- H = useTransformChartDataByAttrKey(G, Z);
15571
+ j = useTransformChartDataByAttrKey(H, Z);
15564
15572
  } else if (e.dataFieldConfigType === "value") {
15565
15573
  const Z = K ? e.valueTypeDataFieldNames : null;
15566
- H = useTransformChartDataByAttrValue(G, Z);
15574
+ j = useTransformChartDataByAttrValue(H, Z);
15567
15575
  }
15568
- w.value = H.dimensions;
15569
- const J = H.dataset;
15570
- p.value = H.dataset, g.value = P(J);
15571
- }, k = (G = [], K, H = !1) => {
15572
- const Z = useTransformChartDataByAttrKey(G, H ? K : null, !0);
15576
+ w.value = j.dimensions;
15577
+ const J = j.dataset;
15578
+ p.value = j.dataset, g.value = P(J);
15579
+ }, k = (H = [], K, j = !1) => {
15580
+ const Z = useTransformChartDataByAttrKey(H, j ? K : null, !0);
15573
15581
  e.defaultRangeValue && setDefaultRangeVal({
15574
15582
  props: e,
15575
15583
  componentList: unref(a),
@@ -15578,18 +15586,18 @@ const _sfc_main$9 = defineComponent({
15578
15586
  const X = Z.dataset;
15579
15587
  p.value = Z.dataset, g.value = P(X);
15580
15588
  };
15581
- function P(G) {
15582
- const K = [], H = G.length, J = e.seriesTypes;
15583
- for (let Z = 0; Z < H; Z++) {
15584
- const X = J[Z], { type: Q, axisIndex: Y } = X || {};
15589
+ function P(H) {
15590
+ const K = [], j = H.length, J = e.seriesTypes;
15591
+ for (let Z = 0; Z < j; Z++) {
15592
+ const X = J[Z], { type: ee, axisIndex: Y } = X || {};
15585
15593
  let te = {
15586
- type: Q,
15594
+ type: ee,
15587
15595
  yAxisIndex: Y,
15588
- ...G[Z]
15596
+ ...H[Z]
15589
15597
  };
15590
- if (Q === "line") {
15591
- const re = {};
15592
- e.shadowColor && (re.shadowColor = e.shadowColor, re.shadowBlur = e.shadowBlur, re.shadowOffsetY = e.shadowOffsetY, re.shadowOffsetX = e.shadowOffsetX), te = {
15598
+ if (ee === "line") {
15599
+ const ne = {};
15600
+ e.shadowColor && (ne.shadowColor = e.shadowColor, ne.shadowBlur = e.shadowBlur, ne.shadowOffsetY = e.shadowOffsetY, ne.shadowOffsetX = e.shadowOffsetX), te = {
15593
15601
  ...te,
15594
15602
  symbolSize: e.symbolSize,
15595
15603
  smooth: e.smooth,
@@ -15616,12 +15624,12 @@ const _sfc_main$9 = defineComponent({
15616
15624
  },
15617
15625
  lineStyle: {
15618
15626
  width: e.lineStyleWidth,
15619
- ...re
15627
+ ...ne
15620
15628
  }
15621
15629
  };
15622
15630
  }
15623
- if (Q === "bar") {
15624
- const { gradientShow: re, gradientColors: ie, gradientOffset: oe } = e, le = {
15631
+ if (ee === "bar") {
15632
+ const { gradientShow: ne, gradientColors: ie, gradientOffset: oe } = e, le = {
15625
15633
  color: e.colors[Z]
15626
15634
  };
15627
15635
  if (e.barBorderRadius) {
@@ -15635,7 +15643,7 @@ const _sfc_main$9 = defineComponent({
15635
15643
  le.borderRadius = de;
15636
15644
  }
15637
15645
  }
15638
- re && (le.color = {
15646
+ ne && (le.color = {
15639
15647
  x: 0,
15640
15648
  y: 0,
15641
15649
  x2: 0,
@@ -15689,22 +15697,22 @@ const _sfc_main$9 = defineComponent({
15689
15697
  e.legendHeight,
15690
15698
  e.legendTextWidth,
15691
15699
  e.legendScroll
15692
- ], ([G]) => {
15693
- (e.dataType === "static" || unref(n) === "design") && _(G);
15700
+ ], ([H]) => {
15701
+ (e.dataType === "static" || unref(n) === "design") && _(H);
15694
15702
  }, {
15695
15703
  immediate: !0,
15696
15704
  deep: !0
15697
15705
  });
15698
15706
  const D = computed(() => {
15699
- const G = e.yAxis;
15700
- return G == null ? void 0 : G.map((K, H) => ({
15707
+ const H = e.yAxis;
15708
+ return H == null ? void 0 : H.map((K, j) => ({
15701
15709
  type: "value",
15702
15710
  minInterval: e.yAxisMinInterval,
15703
15711
  splitLine: {
15704
- show: H === 0 ? e.yAxisLeftSplitLineShow : e.yAxisRightSplitLineShow,
15712
+ show: j === 0 ? e.yAxisLeftSplitLineShow : e.yAxisRightSplitLineShow,
15705
15713
  lineStyle: {
15706
15714
  color: e.yAxisSplitLineStyleColor,
15707
- type: H === 0 ? e.yAxisLeftSplitLineType : e.yAxisRightSplitLineType
15715
+ type: j === 0 ? e.yAxisLeftSplitLineType : e.yAxisRightSplitLineType
15708
15716
  }
15709
15717
  },
15710
15718
  splitArea: {
@@ -15724,29 +15732,29 @@ const _sfc_main$9 = defineComponent({
15724
15732
  color: e.yAxisLineStyleColor
15725
15733
  }
15726
15734
  },
15727
- name: H === 0 ? e.yAxisLeftName : e.yAxisRightName,
15735
+ name: j === 0 ? e.yAxisLeftName : e.yAxisRightName,
15728
15736
  nameTextStyle: {
15729
15737
  fontSize: e.yAxisLabelFontSize,
15730
15738
  color: e.yAxisLabelColor,
15731
- align: H === 0 ? "right" : "left"
15739
+ align: j === 0 ? "right" : "left"
15732
15740
  },
15733
15741
  max: e.yAxisMaxValue || null
15734
15742
  }));
15735
15743
  }), M = ref(!1), F = useRequestData(e), O = async () => {
15736
- var G, K;
15744
+ var H, K;
15737
15745
  if (e.dataType === "request")
15738
15746
  try {
15739
15747
  M.value = !0;
15740
- const H = await F();
15741
- _((K = (G = H == null ? void 0 : H.data) == null ? void 0 : G.data) == null ? void 0 : K.rows, !0);
15742
- } catch (H) {
15743
- console.error(H);
15748
+ const j = await F();
15749
+ _((K = (H = j == null ? void 0 : j.data) == null ? void 0 : H.data) == null ? void 0 : K.rows, !0);
15750
+ } catch (j) {
15751
+ console.error(j);
15744
15752
  } finally {
15745
15753
  M.value = !1;
15746
15754
  }
15747
- }, L = (G) => {
15755
+ }, L = (H) => {
15748
15756
  var Z;
15749
- const { columns: K = [], rows: H = [] } = ((Z = G == null ? void 0 : G.data) == null ? void 0 : Z.data) ?? {};
15757
+ const { columns: K = [], rows: j = [] } = ((Z = H == null ? void 0 : H.data) == null ? void 0 : Z.data) ?? {};
15750
15758
  let J;
15751
15759
  K.length > 0 && (J = {
15752
15760
  name: K[0],
@@ -15754,26 +15762,26 @@ const _sfc_main$9 = defineComponent({
15754
15762
  label: X,
15755
15763
  value: X
15756
15764
  }))
15757
- }), k(H, J, !0);
15758
- }, q = useIndicatorData(e, (G) => {
15759
- e.isViewRedrawing && l.value.clear(), L(G);
15765
+ }), k(j, J, !0);
15766
+ }, q = useIndicatorData(e, (H) => {
15767
+ e.isViewRedrawing && l.value.clear(), L(H);
15760
15768
  }), $ = async () => {
15761
15769
  try {
15762
15770
  M.value = !0;
15763
- const G = await q();
15764
- L(G);
15765
- } catch (G) {
15766
- console.error(G);
15771
+ const H = await q();
15772
+ L(H);
15773
+ } catch (H) {
15774
+ console.error(H);
15767
15775
  } finally {
15768
15776
  M.value = !1;
15769
15777
  }
15770
15778
  }, { loadedData: I } = inject(LOADED_DATA, {
15771
15779
  loadedData: {}
15772
15780
  }), B = ref(!1);
15773
- watch(I, (G) => {
15781
+ watch(I, (H) => {
15774
15782
  if (e.dataType === "indicator") {
15775
15783
  const K = getFixedValueDatas(e.graphicConfig);
15776
- K != null && K.length && (!unref(B) && canRequestIndicator(e.graphicConfig, G) ? (B.value = !0, A()) : canRequestIndicator(e.graphicConfig, G) || (B.value = !1));
15784
+ K != null && K.length && (!unref(B) && canRequestIndicator(e.graphicConfig, H) ? (B.value = !0, A()) : canRequestIndicator(e.graphicConfig, H) || (B.value = !1));
15777
15785
  }
15778
15786
  }, {
15779
15787
  deep: !0
@@ -15787,21 +15795,21 @@ const _sfc_main$9 = defineComponent({
15787
15795
  O();
15788
15796
  break;
15789
15797
  }
15790
- }, S = (G, K) => !!unref(x)[K.value].value.includes(G), R = async () => {
15798
+ }, S = (H, K) => !!unref(x)[K.value].value.includes(H), R = async () => {
15791
15799
  f.value = !1;
15792
- const G = l.value.chart.getOption();
15800
+ const H = l.value.chart.getOption();
15793
15801
  for (let K = 0; K < 7; K++)
15794
- await T(G, K);
15795
- }, T = (G, K) => new Promise((H) => {
15802
+ await T(H, K);
15803
+ }, T = (H, K) => new Promise((j) => {
15796
15804
  setTimeout(() => {
15797
- const { series: J, color: Z, xAxis: X } = G, Q = l.value.chart, { splitArea: Y = {} } = X[0] || {};
15798
- J.forEach((te, re) => {
15805
+ const { series: J, color: Z, xAxis: X } = H, ee = l.value.chart, { splitArea: Y = {} } = X[0] || {};
15806
+ J.forEach((te, ne) => {
15799
15807
  const ie = te.data;
15800
15808
  let oe = "";
15801
- K % 2 ? oe = Z[re] + "a8" : oe = Z[re], ie[u.value].itemStyle = {
15809
+ K % 2 ? oe = Z[ne] + "a8" : oe = Z[ne], ie[u.value].itemStyle = {
15802
15810
  color: oe
15803
15811
  };
15804
- }), K % 2 ? (Y.show = !0, Y.areaStyle.color = unref(x).map((te, re) => re === u.value ? "#ff003b26" : "")) : Y.show = !1, Q.setOption({ series: J, xAxis: X }), H();
15812
+ }), K % 2 ? (Y.show = !0, Y.areaStyle.color = unref(x).map((te, ne) => ne === u.value ? "#ff003b26" : "")) : Y.show = !1, ee.setOption({ series: J, xAxis: X }), j();
15805
15813
  }, 200);
15806
15814
  });
15807
15815
  r({
@@ -15812,25 +15820,25 @@ const _sfc_main$9 = defineComponent({
15812
15820
  type: e.type,
15813
15821
  RECORD: ""
15814
15822
  });
15815
- const U = V("click", (G) => {
15823
+ const U = V("click", (H) => {
15816
15824
  const K = o(e.id);
15817
- s(e.id, { ...K, type: e.type, RECORD: e.tooltipShow ? y : G == null ? void 0 : G.data });
15818
- }), N = (G) => {
15819
- l.value.chart.containPixel("grid", [G.offsetX, G.offsetY]) && U();
15825
+ s(e.id, { ...K, type: e.type, RECORD: e.tooltipShow ? y : H == null ? void 0 : H.data });
15826
+ }), N = (H) => {
15827
+ l.value.chart.containPixel("grid", [H.offsetX, H.offsetY]) && U();
15820
15828
  };
15821
15829
  e.tooltipShow ? d.value["zr:click"] = N : d.value.click = U;
15822
- const { setRequest: j } = inject(REQUEST_MODEL, {
15823
- setRequest: (G) => {
15830
+ const { setRequest: G } = inject(REQUEST_MODEL, {
15831
+ setRequest: (H) => {
15824
15832
  }
15825
15833
  });
15826
- return typeof j == "function" && j({
15834
+ return typeof G == "function" && G({
15827
15835
  id: e.id,
15828
15836
  requestFn: A,
15829
15837
  sortNum: e.requestSort
15830
15838
  }), useOnEvent(e, {
15831
15839
  resetRecord: () => {
15832
- const G = e.id, K = o(G);
15833
- s(G, { ...K, RECORD: "" });
15840
+ const H = e.id, K = o(H);
15841
+ s(H, { ...K, RECORD: "" });
15834
15842
  },
15835
15843
  refreshData: A,
15836
15844
  click: U
@@ -16033,7 +16041,7 @@ const _sfc_main$8 = defineComponent({
16033
16041
  }];
16034
16042
  let V = e.colors[A];
16035
16043
  if (e.gradientShow) {
16036
- const { gradientOffset: N, gradientColors: j } = e;
16044
+ const { gradientOffset: N, gradientColors: G } = e;
16037
16045
  V = {
16038
16046
  x: 0.7,
16039
16047
  y: 0,
@@ -16044,10 +16052,10 @@ const _sfc_main$8 = defineComponent({
16044
16052
  color: e.colors[A]
16045
16053
  }, {
16046
16054
  offset: N,
16047
- color: j[A]
16055
+ color: G[A]
16048
16056
  }, {
16049
16057
  offset: 1,
16050
- color: j[A]
16058
+ color: G[A]
16051
16059
  }]
16052
16060
  };
16053
16061
  }
@@ -16074,12 +16082,12 @@ const _sfc_main$8 = defineComponent({
16074
16082
  width: e.labelWidth,
16075
16083
  overflow: e.labelOverflow,
16076
16084
  formatter: (N) => {
16077
- const { data: j, value: W } = N;
16078
- let G = 0, K = "0%";
16079
- if (j)
16080
- for (const H of j.value)
16081
- G += +H;
16082
- return G && (K = `${(W / G * 100).toFixed(2)}%`), useVariablesInText(
16085
+ const { data: G, value: W } = N;
16086
+ let H = 0, K = "0%";
16087
+ if (G)
16088
+ for (const j of G.value)
16089
+ H += +j;
16090
+ return H && (K = `${(W / H * 100).toFixed(2)}%`), useVariablesInText(
16083
16091
  e.labelFormatter,
16084
16092
  {
16085
16093
  textData: {
@@ -16920,31 +16928,31 @@ const _sfc_main$5 = defineComponent({
16920
16928
  const A = y(I);
16921
16929
  if (P != null && P.length) {
16922
16930
  const { width: T, left: V, height: U } = A;
16923
- let N = 0, j = 0;
16924
- P.forEach((W, G) => {
16925
- W.index = G + 1;
16926
- const K = nanoid(), H = cloneDeep(I);
16927
- for (const J of H) {
16928
- const Z = L.find((Q) => Q.keyName === J.keyName), X = nanoid();
16929
- if (J.left = (parseFloat(J.left) + N) * unref(x) + "px", J.top = (parseFloat(J.top) + j) * unref(x) + "px", J.scale = unref(x), J.id = X, J.keyName = J.name + "_" + X, J.unitId = K, Z != null && Z.fieldName) {
16930
- const Q = J.text.match(/\{(.+?)\}/g);
16931
+ let N = 0, G = 0;
16932
+ P.forEach((W, H) => {
16933
+ W.index = H + 1;
16934
+ const K = nanoid(), j = cloneDeep(I);
16935
+ for (const J of j) {
16936
+ const Z = L.find((ee) => ee.keyName === J.keyName), X = nanoid();
16937
+ if (J.left = (parseFloat(J.left) + N) * unref(x) + "px", J.top = (parseFloat(J.top) + G) * unref(x) + "px", J.scale = unref(x), J.id = X, J.keyName = J.name + "_" + X, J.unitId = K, Z != null && Z.fieldName) {
16938
+ const ee = J.text.match(/\{(.+?)\}/g);
16931
16939
  switch (J.type) {
16932
16940
  case "ecanText": {
16933
16941
  J.data = {
16934
16942
  value: String(W[Z.fieldName])
16935
- }, Q != null && Q.length || (J.text = "{value}");
16943
+ }, ee != null && ee.length || (J.text = "{value}");
16936
16944
  break;
16937
16945
  }
16938
16946
  case "ecanProportion": {
16939
16947
  J.data = {
16940
16948
  percent: String(W[Z.fieldName])
16941
- }, Q != null && Q.length || (J.text = "{percent}");
16949
+ }, ee != null && ee.length || (J.text = "{percent}");
16942
16950
  break;
16943
16951
  }
16944
16952
  }
16945
16953
  }
16946
16954
  }
16947
- $ && W.index % $ === 0 ? (N = 0, j += q + U) : N += q + T, D.push(...H), m.value[K] = W;
16955
+ $ && W.index % $ === 0 ? (N = 0, G += q + U) : N += q + T, D.push(...j), m.value[K] = W;
16948
16956
  }), f.value = {
16949
16957
  width: (($ || P.length) * (T + q) + V) * unref(x) + "px",
16950
16958
  height: ($ ? Math.ceil(P.length / $) * (q + U) : q + U) * unref(x) + "px"
@@ -17630,7 +17638,7 @@ var lottie$1 = { exports: {} };
17630
17638
  A[S].ty === "gr" && I(A[S].it);
17631
17639
  }
17632
17640
  function B(A) {
17633
- var S, R, T = A.length, V, U, N, j;
17641
+ var S, R, T = A.length, V, U, N, G;
17634
17642
  for (R = 0; R < T; R += 1) {
17635
17643
  if (S = A[R], S.hasMask) {
17636
17644
  var W = S.masksProperties;
@@ -17638,7 +17646,7 @@ var lottie$1 = { exports: {} };
17638
17646
  if (W[V].pt.k.i)
17639
17647
  W[V].pt.k.c = W[V].cl;
17640
17648
  else
17641
- for (j = W[V].pt.k.length, N = 0; N < j; N += 1)
17649
+ for (G = W[V].pt.k.length, N = 0; N < G; N += 1)
17642
17650
  W[V].pt.k[N].s && (W[V].pt.k[N].s[0].c = W[V].cl), W[V].pt.k[N].e && (W[V].pt.k[N].e[0].c = W[V].cl);
17643
17651
  }
17644
17652
  S.ty === 4 && I(S.shapes);
@@ -19026,18 +19034,18 @@ var lottie$1 = { exports: {} };
19026
19034
  function d(A, S, R) {
19027
19035
  return !R && R !== 0 && (R = 1), A === 1 && S === 1 && R === 1 ? this : this._t(A, 0, 0, 0, 0, S, 0, 0, 0, 0, R, 0, 0, 0, 0, 1);
19028
19036
  }
19029
- function y(A, S, R, T, V, U, N, j, W, G, K, H, J, Z, X, Q) {
19030
- return this.props[0] = A, this.props[1] = S, this.props[2] = R, this.props[3] = T, this.props[4] = V, this.props[5] = U, this.props[6] = N, this.props[7] = j, this.props[8] = W, this.props[9] = G, this.props[10] = K, this.props[11] = H, this.props[12] = J, this.props[13] = Z, this.props[14] = X, this.props[15] = Q, this;
19037
+ function y(A, S, R, T, V, U, N, G, W, H, K, j, J, Z, X, ee) {
19038
+ return this.props[0] = A, this.props[1] = S, this.props[2] = R, this.props[3] = T, this.props[4] = V, this.props[5] = U, this.props[6] = N, this.props[7] = G, this.props[8] = W, this.props[9] = H, this.props[10] = K, this.props[11] = j, this.props[12] = J, this.props[13] = Z, this.props[14] = X, this.props[15] = ee, this;
19031
19039
  }
19032
19040
  function m(A, S, R) {
19033
19041
  return R = R || 0, A !== 0 || S !== 0 || R !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, A, S, R, 1) : this;
19034
19042
  }
19035
- function g(A, S, R, T, V, U, N, j, W, G, K, H, J, Z, X, Q) {
19043
+ function g(A, S, R, T, V, U, N, G, W, H, K, j, J, Z, X, ee) {
19036
19044
  var Y = this.props;
19037
- if (A === 1 && S === 0 && R === 0 && T === 0 && V === 0 && U === 1 && N === 0 && j === 0 && W === 0 && G === 0 && K === 1 && H === 0)
19038
- return Y[12] = Y[12] * A + Y[15] * J, Y[13] = Y[13] * U + Y[15] * Z, Y[14] = Y[14] * K + Y[15] * X, Y[15] *= Q, this._identityCalculated = !1, this;
19039
- var te = Y[0], re = Y[1], ie = Y[2], oe = Y[3], le = Y[4], he = Y[5], de = Y[6], ye = Y[7], be = Y[8], we = Y[9], Te = Y[10], Ee = Y[11], _e = Y[12], pe = Y[13], me = Y[14], ve = Y[15];
19040
- return Y[0] = te * A + re * V + ie * W + oe * J, Y[1] = te * S + re * U + ie * G + oe * Z, Y[2] = te * R + re * N + ie * K + oe * X, Y[3] = te * T + re * j + ie * H + oe * Q, Y[4] = le * A + he * V + de * W + ye * J, Y[5] = le * S + he * U + de * G + ye * Z, Y[6] = le * R + he * N + de * K + ye * X, Y[7] = le * T + he * j + de * H + ye * Q, Y[8] = be * A + we * V + Te * W + Ee * J, Y[9] = be * S + we * U + Te * G + Ee * Z, Y[10] = be * R + we * N + Te * K + Ee * X, Y[11] = be * T + we * j + Te * H + Ee * Q, Y[12] = _e * A + pe * V + me * W + ve * J, Y[13] = _e * S + pe * U + me * G + ve * Z, Y[14] = _e * R + pe * N + me * K + ve * X, Y[15] = _e * T + pe * j + me * H + ve * Q, this._identityCalculated = !1, this;
19045
+ if (A === 1 && S === 0 && R === 0 && T === 0 && V === 0 && U === 1 && N === 0 && G === 0 && W === 0 && H === 0 && K === 1 && j === 0)
19046
+ return Y[12] = Y[12] * A + Y[15] * J, Y[13] = Y[13] * U + Y[15] * Z, Y[14] = Y[14] * K + Y[15] * X, Y[15] *= ee, this._identityCalculated = !1, this;
19047
+ var te = Y[0], ne = Y[1], ie = Y[2], oe = Y[3], le = Y[4], he = Y[5], de = Y[6], ye = Y[7], be = Y[8], Ee = Y[9], Te = Y[10], Se = Y[11], ke = Y[12], Ge = Y[13], Ve = Y[14], pe = Y[15];
19048
+ return Y[0] = te * A + ne * V + ie * W + oe * J, Y[1] = te * S + ne * U + ie * H + oe * Z, Y[2] = te * R + ne * N + ie * K + oe * X, Y[3] = te * T + ne * G + ie * j + oe * ee, Y[4] = le * A + he * V + de * W + ye * J, Y[5] = le * S + he * U + de * H + ye * Z, Y[6] = le * R + he * N + de * K + ye * X, Y[7] = le * T + he * G + de * j + ye * ee, Y[8] = be * A + Ee * V + Te * W + Se * J, Y[9] = be * S + Ee * U + Te * H + Se * Z, Y[10] = be * R + Ee * N + Te * K + Se * X, Y[11] = be * T + Ee * G + Te * j + Se * ee, Y[12] = ke * A + Ge * V + Ve * W + pe * J, Y[13] = ke * S + Ge * U + Ve * H + pe * Z, Y[14] = ke * R + Ge * N + Ve * K + pe * X, Y[15] = ke * T + Ge * G + Ve * j + pe * ee, this._identityCalculated = !1, this;
19041
19049
  }
19042
19050
  function w(A) {
19043
19051
  var S = A.props;
@@ -19082,8 +19090,8 @@ var lottie$1 = { exports: {} };
19082
19090
  return A * this.props[2] + S * this.props[6] + R * this.props[10] + this.props[14];
19083
19091
  }
19084
19092
  function D() {
19085
- var A = this.props[0] * this.props[5] - this.props[1] * this.props[4], S = this.props[5] / A, R = -this.props[1] / A, T = -this.props[4] / A, V = this.props[0] / A, U = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / A, N = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / A, j = new Matrix();
19086
- return j.props[0] = S, j.props[1] = R, j.props[4] = T, j.props[5] = V, j.props[12] = U, j.props[13] = N, j;
19093
+ var A = this.props[0] * this.props[5] - this.props[1] * this.props[4], S = this.props[5] / A, R = -this.props[1] / A, T = -this.props[4] / A, V = this.props[0] / A, U = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / A, N = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / A, G = new Matrix();
19094
+ return G.props[0] = S, G.props[1] = R, G.props[4] = T, G.props[5] = V, G.props[12] = U, G.props[13] = N, G;
19087
19095
  }
19088
19096
  function M(A) {
19089
19097
  var S = this.getInverseMatrix();
@@ -19100,8 +19108,8 @@ var lottie$1 = { exports: {} };
19100
19108
  if (this.isIdentity())
19101
19109
  T[0] = A[0], T[1] = A[1], T[2] = S[0], T[3] = S[1], T[4] = R[0], T[5] = R[1];
19102
19110
  else {
19103
- var V = this.props[0], U = this.props[1], N = this.props[4], j = this.props[5], W = this.props[12], G = this.props[13];
19104
- T[0] = A[0] * V + A[1] * N + W, T[1] = A[0] * U + A[1] * j + G, T[2] = S[0] * V + S[1] * N + W, T[3] = S[0] * U + S[1] * j + G, T[4] = R[0] * V + R[1] * N + W, T[5] = R[0] * U + R[1] * j + G;
19111
+ var V = this.props[0], U = this.props[1], N = this.props[4], G = this.props[5], W = this.props[12], H = this.props[13];
19112
+ T[0] = A[0] * V + A[1] * N + W, T[1] = A[0] * U + A[1] * G + H, T[2] = S[0] * V + S[1] * N + W, T[3] = S[0] * U + S[1] * G + H, T[4] = R[0] * V + R[1] * N + W, T[5] = R[0] * U + R[1] * G + H;
19105
19113
  }
19106
19114
  return T;
19107
19115
  }
@@ -20024,8 +20032,8 @@ var lottie$1 = { exports: {} };
20024
20032
  A[S].loaded = !0, T -= 1;
20025
20033
  else if (A[S].fOrigin === "p" || A[S].origin === 3) {
20026
20034
  if (U = document.querySelectorAll('style[f-forigin="p"][f-family="' + A[S].fFamily + '"], style[f-origin="3"][f-family="' + A[S].fFamily + '"]'), U.length > 0 && (V = !1), V) {
20027
- var j = createTag("style");
20028
- j.setAttribute("f-forigin", A[S].fOrigin), j.setAttribute("f-origin", A[S].origin), j.setAttribute("f-family", A[S].fFamily), j.type = "text/css", j.innerText = "@font-face {font-family: " + A[S].fFamily + "; font-style: normal; src: url('" + A[S].fPath + "');}", B.appendChild(j);
20035
+ var G = createTag("style");
20036
+ G.setAttribute("f-forigin", A[S].fOrigin), G.setAttribute("f-origin", A[S].origin), G.setAttribute("f-family", A[S].fFamily), G.type = "text/css", G.innerText = "@font-face {font-family: " + A[S].fFamily + "; font-style: normal; src: url('" + A[S].fPath + "');}", B.appendChild(G);
20029
20037
  }
20030
20038
  } else if (A[S].fOrigin === "g" || A[S].origin === 1) {
20031
20039
  for (U = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), N = 0; N < U.length; N += 1)
@@ -20038,8 +20046,8 @@ var lottie$1 = { exports: {} };
20038
20046
  for (U = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), N = 0; N < U.length; N += 1)
20039
20047
  A[S].fPath === U[N].src && (V = !1);
20040
20048
  if (V) {
20041
- var G = createTag("link");
20042
- G.setAttribute("f-forigin", A[S].fOrigin), G.setAttribute("f-origin", A[S].origin), G.setAttribute("rel", "stylesheet"), G.setAttribute("href", A[S].fPath), B.appendChild(G);
20049
+ var H = createTag("link");
20050
+ H.setAttribute("f-forigin", A[S].fOrigin), H.setAttribute("f-origin", A[S].origin), H.setAttribute("rel", "stylesheet"), H.setAttribute("href", A[S].fPath), B.appendChild(H);
20043
20051
  }
20044
20052
  }
20045
20053
  A[S].helper = g(A[S], B), A[S].cache = {}, this.fonts.push(A[S]);
@@ -21545,28 +21553,28 @@ var lottie$1 = { exports: {} };
21545
21553
  x = d.length, c = 0, f = 0;
21546
21554
  var q = e.finalSize * 1.2 * 0.714, $ = !0, I, B, A, S, R;
21547
21555
  S = i.length;
21548
- var T, V = -1, U, N, j, W = m, G = v, K = p, H = -1, J, Z, X, Q, Y, te, re, ie, oe = "", le = this.defaultPropsArray, he;
21556
+ var T, V = -1, U, N, G, W = m, H = v, K = p, j = -1, J, Z, X, ee, Y, te, ne, ie, oe = "", le = this.defaultPropsArray, he;
21549
21557
  if (e.j === 2 || e.j === 1) {
21550
- var de = 0, ye = 0, be = e.j === 2 ? -0.5 : -1, we = 0, Te = !0;
21558
+ var de = 0, ye = 0, be = e.j === 2 ? -0.5 : -1, Ee = 0, Te = !0;
21551
21559
  for (u = 0; u < x; u += 1)
21552
21560
  if (d[u].n) {
21553
- for (de && (de += ye); we < u; )
21554
- d[we].animatorJustifyOffset = de, we += 1;
21561
+ for (de && (de += ye); Ee < u; )
21562
+ d[Ee].animatorJustifyOffset = de, Ee += 1;
21555
21563
  de = 0, Te = !0;
21556
21564
  } else {
21557
21565
  for (A = 0; A < S; A += 1)
21558
21566
  I = i[A].a, I.t.propType && (Te && e.j === 2 && (ye += I.t.v * be), B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? de += I.t.v * T[0] * be : de += I.t.v * T * be);
21559
21567
  Te = !1;
21560
21568
  }
21561
- for (de && (de += ye); we < u; )
21562
- d[we].animatorJustifyOffset = de, we += 1;
21569
+ for (de && (de += ye); Ee < u; )
21570
+ d[Ee].animatorJustifyOffset = de, Ee += 1;
21563
21571
  }
21564
21572
  for (u = 0; u < x; u += 1) {
21565
21573
  if (o.reset(), J = 1, d[u].n)
21566
- c = 0, f += e.yOffset, f += $ ? 1 : 0, m = W, $ = !1, this._hasMaskedPath && (v = G, p = K, E = _[v].points, b = E[p - 1], g = E[p], k = g.partialLength, w = 0), oe = "", ie = "", te = "", he = "", le = this.defaultPropsArray;
21574
+ c = 0, f += e.yOffset, f += $ ? 1 : 0, m = W, $ = !1, this._hasMaskedPath && (v = H, p = K, E = _[v].points, b = E[p - 1], g = E[p], k = g.partialLength, w = 0), oe = "", ie = "", te = "", he = "", le = this.defaultPropsArray;
21567
21575
  else {
21568
21576
  if (this._hasMaskedPath) {
21569
- if (H !== d[u].line) {
21577
+ if (j !== d[u].line) {
21570
21578
  switch (e.j) {
21571
21579
  case 1:
21572
21580
  m += P - e.lineWidths[d[u].line];
@@ -21575,20 +21583,20 @@ var lottie$1 = { exports: {} };
21575
21583
  m += (P - e.lineWidths[d[u].line]) / 2;
21576
21584
  break;
21577
21585
  }
21578
- H = d[u].line;
21586
+ j = d[u].line;
21579
21587
  }
21580
21588
  V !== d[u].ind && (d[V] && (m += d[V].extra), m += d[u].an / 2, V = d[u].ind), m += n[0] * d[u].an * 5e-3;
21581
- var Ee = 0;
21589
+ var Se = 0;
21582
21590
  for (A = 0; A < S; A += 1)
21583
- I = i[A].a, I.p.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? Ee += I.p.v[0] * T[0] : Ee += I.p.v[0] * T), I.a.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? Ee += I.a.v[0] * T[0] : Ee += I.a.v[0] * T);
21591
+ I = i[A].a, I.p.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? Se += I.p.v[0] * T[0] : Se += I.p.v[0] * T), I.a.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? Se += I.a.v[0] * T[0] : Se += I.a.v[0] * T);
21584
21592
  for (C = !0, this._pathData.a.v && (m = d[0].an * 0.5 + (P - this._pathData.f.v - d[0].an * 0.5 - d[d.length - 1].an * 0.5) * V / (x - 1), m += this._pathData.f.v); C; )
21585
- w + k >= m + Ee || !E ? (D = (m + Ee - w) / g.partialLength, N = b.point[0] + (g.point[0] - b.point[0]) * D, j = b.point[1] + (g.point[1] - b.point[1]) * D, o.translate(-n[0] * d[u].an * 5e-3, -(n[1] * q) * 0.01), C = !1) : E && (w += g.partialLength, p += 1, p >= E.length && (p = 0, v += 1, _[v] ? E = _[v].points : F.v.c ? (p = 0, v = 0, E = _[v].points) : (w -= g.partialLength, E = null)), E && (b = g, g = E[p], k = g.partialLength));
21593
+ w + k >= m + Se || !E ? (D = (m + Se - w) / g.partialLength, N = b.point[0] + (g.point[0] - b.point[0]) * D, G = b.point[1] + (g.point[1] - b.point[1]) * D, o.translate(-n[0] * d[u].an * 5e-3, -(n[1] * q) * 0.01), C = !1) : E && (w += g.partialLength, p += 1, p >= E.length && (p = 0, v += 1, _[v] ? E = _[v].points : F.v.c ? (p = 0, v = 0, E = _[v].points) : (w -= g.partialLength, E = null)), E && (b = g, g = E[p], k = g.partialLength));
21586
21594
  U = d[u].an / 2 - d[u].add, o.translate(-U, 0, 0);
21587
21595
  } else
21588
21596
  U = d[u].an / 2 - d[u].add, o.translate(-U, 0, 0), o.translate(-n[0] * d[u].an * 5e-3, -n[1] * q * 0.01, 0);
21589
21597
  for (A = 0; A < S; A += 1)
21590
21598
  I = i[A].a, I.t.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), (c !== 0 || e.j !== 0) && (this._hasMaskedPath ? T.length ? m += I.t.v * T[0] : m += I.t.v * T : T.length ? c += I.t.v * T[0] : c += I.t.v * T));
21591
- for (e.strokeWidthAnim && (X = e.sw || 0), e.strokeColorAnim && (e.sc ? Z = [e.sc[0], e.sc[1], e.sc[2]] : Z = [0, 0, 0]), e.fillColorAnim && e.fc && (Q = [e.fc[0], e.fc[1], e.fc[2]]), A = 0; A < S; A += 1)
21599
+ for (e.strokeWidthAnim && (X = e.sw || 0), e.strokeColorAnim && (e.sc ? Z = [e.sc[0], e.sc[1], e.sc[2]] : Z = [0, 0, 0]), e.fillColorAnim && e.fc && (ee = [e.fc[0], e.fc[1], e.fc[2]]), A = 0; A < S; A += 1)
21592
21600
  I = i[A].a, I.a.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? o.translate(-I.a.v[0] * T[0], -I.a.v[1] * T[1], I.a.v[2] * T[2]) : o.translate(-I.a.v[0] * T, -I.a.v[1] * T, I.a.v[2] * T));
21593
21601
  for (A = 0; A < S; A += 1)
21594
21602
  I = i[A].a, I.s.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), T.length ? o.scale(1 + (I.s.v[0] - 1) * T[0], 1 + (I.s.v[1] - 1) * T[1], 1) : o.scale(1 + (I.s.v[0] - 1) * T, 1 + (I.s.v[1] - 1) * T, 1));
@@ -21599,19 +21607,19 @@ var lottie$1 = { exports: {} };
21599
21607
  if (e.fillColorAnim && e.fc) {
21600
21608
  if (I.fc.propType)
21601
21609
  for (Y = 0; Y < 3; Y += 1)
21602
- T.length ? Q[Y] += (I.fc.v[Y] - Q[Y]) * T[0] : Q[Y] += (I.fc.v[Y] - Q[Y]) * T;
21603
- I.fh.propType && (T.length ? Q = addHueToRGB(Q, I.fh.v * T[0]) : Q = addHueToRGB(Q, I.fh.v * T)), I.fs.propType && (T.length ? Q = addSaturationToRGB(Q, I.fs.v * T[0]) : Q = addSaturationToRGB(Q, I.fs.v * T)), I.fb.propType && (T.length ? Q = addBrightnessToRGB(Q, I.fb.v * T[0]) : Q = addBrightnessToRGB(Q, I.fb.v * T));
21610
+ T.length ? ee[Y] += (I.fc.v[Y] - ee[Y]) * T[0] : ee[Y] += (I.fc.v[Y] - ee[Y]) * T;
21611
+ I.fh.propType && (T.length ? ee = addHueToRGB(ee, I.fh.v * T[0]) : ee = addHueToRGB(ee, I.fh.v * T)), I.fs.propType && (T.length ? ee = addSaturationToRGB(ee, I.fs.v * T[0]) : ee = addSaturationToRGB(ee, I.fs.v * T)), I.fb.propType && (T.length ? ee = addBrightnessToRGB(ee, I.fb.v * T[0]) : ee = addBrightnessToRGB(ee, I.fb.v * T));
21604
21612
  }
21605
21613
  }
21606
21614
  for (A = 0; A < S; A += 1)
21607
21615
  I = i[A].a, I.p.propType && (B = i[A].s, T = B.getMult(d[u].anIndexes[A], a.a[A].s.totalChars), this._hasMaskedPath ? T.length ? o.translate(0, I.p.v[1] * T[0], -I.p.v[2] * T[1]) : o.translate(0, I.p.v[1] * T, -I.p.v[2] * T) : T.length ? o.translate(I.p.v[0] * T[0], I.p.v[1] * T[1], -I.p.v[2] * T[2]) : o.translate(I.p.v[0] * T, I.p.v[1] * T, -I.p.v[2] * T));
21608
- if (e.strokeWidthAnim && (te = X < 0 ? 0 : X), e.strokeColorAnim && (re = "rgb(" + Math.round(Z[0] * 255) + "," + Math.round(Z[1] * 255) + "," + Math.round(Z[2] * 255) + ")"), e.fillColorAnim && e.fc && (ie = "rgb(" + Math.round(Q[0] * 255) + "," + Math.round(Q[1] * 255) + "," + Math.round(Q[2] * 255) + ")"), this._hasMaskedPath) {
21616
+ if (e.strokeWidthAnim && (te = X < 0 ? 0 : X), e.strokeColorAnim && (ne = "rgb(" + Math.round(Z[0] * 255) + "," + Math.round(Z[1] * 255) + "," + Math.round(Z[2] * 255) + ")"), e.fillColorAnim && e.fc && (ie = "rgb(" + Math.round(ee[0] * 255) + "," + Math.round(ee[1] * 255) + "," + Math.round(ee[2] * 255) + ")"), this._hasMaskedPath) {
21609
21617
  if (o.translate(0, -e.ls), o.translate(0, n[1] * q * 0.01 + f, 0), this._pathData.p.v) {
21610
21618
  M = (g.point[1] - b.point[1]) / (g.point[0] - b.point[0]);
21611
- var _e = Math.atan(M) * 180 / Math.PI;
21612
- g.point[0] < b.point[0] && (_e += 180), o.rotate(-_e * Math.PI / 180);
21619
+ var ke = Math.atan(M) * 180 / Math.PI;
21620
+ g.point[0] < b.point[0] && (ke += 180), o.rotate(-ke * Math.PI / 180);
21613
21621
  }
21614
- o.translate(N, j, 0), m -= n[0] * d[u].an * 5e-3, d[u + 1] && V !== d[u + 1].ind && (m += d[u].an / 2, m += e.tr * 1e-3 * e.finalSize);
21622
+ o.translate(N, G, 0), m -= n[0] * d[u].an * 5e-3, d[u + 1] && V !== d[u + 1].ind && (m += d[u].an / 2, m += e.tr * 1e-3 * e.finalSize);
21615
21623
  } else {
21616
21624
  switch (o.translate(c, f, 0), e.ps && o.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
21617
21625
  case 1:
@@ -21625,7 +21633,7 @@ var lottie$1 = { exports: {} };
21625
21633
  }
21626
21634
  s === "html" ? oe = o.toCSS() : s === "svg" ? oe = o.to2dCSS() : le = [o.props[0], o.props[1], o.props[2], o.props[3], o.props[4], o.props[5], o.props[6], o.props[7], o.props[8], o.props[9], o.props[10], o.props[11], o.props[12], o.props[13], o.props[14], o.props[15]], he = J;
21627
21635
  }
21628
- l <= u ? (R = new LetterProps(he, te, re, ie, oe, le), this.renderedLetters.push(R), l += 1, this.lettersChangedFlag = !0) : (R = this.renderedLetters[u], this.lettersChangedFlag = R.update(he, te, re, ie, oe, le) || this.lettersChangedFlag);
21636
+ l <= u ? (R = new LetterProps(he, te, ne, ie, oe, le), this.renderedLetters.push(R), l += 1, this.lettersChangedFlag = !0) : (R = this.renderedLetters[u], this.lettersChangedFlag = R.update(he, te, ne, ie, oe, le) || this.lettersChangedFlag);
21629
21637
  }
21630
21638
  }
21631
21639
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -25083,46 +25091,46 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25083
25091
  const { pageMode: n } = inject(GLOBAL_CONFIG, {
25084
25092
  pageMode: "normal"
25085
25093
  }), i = ref(!1), a = computed(() => unref(n) !== "design" && e.isAutoScroll), o = ref({}), s = ref(!1), l = computed(() => {
25086
- const ee = cloneDeep(e.columns);
25087
- return e.isUseSeq && ee.unshift({
25094
+ const Q = cloneDeep(e.columns);
25095
+ return e.isUseSeq && Q.unshift({
25088
25096
  title: e.seqName,
25089
25097
  dataIndex: "SEQ",
25090
25098
  align: "center",
25091
25099
  width: e.seqWidth
25092
- }), e.isUseAction && ee.push({
25100
+ }), e.isUseAction && Q.push({
25093
25101
  title: "操作",
25094
25102
  dataIndex: "ACTION",
25095
25103
  width: e.actionColumnWidth
25096
- }), ee;
25104
+ }), Q;
25097
25105
  }), c = ref(), f = ref(!1), u = usePickComponentStyle(e), x = ref([]), d = computed(() => e.scrollX), y = ref(parseFloat(e.height)), m = () => {
25098
- let ee = 0;
25106
+ let Q = 0;
25099
25107
  switch (e.size) {
25100
25108
  case "small":
25101
- ee = 50;
25109
+ Q = 50;
25102
25110
  break;
25103
25111
  case "middle":
25104
- ee = 53;
25112
+ Q = 53;
25105
25113
  break;
25106
25114
  default:
25107
- ee = 65;
25115
+ Q = 65;
25108
25116
  break;
25109
25117
  }
25110
- return ee;
25118
+ return Q;
25111
25119
  }, g = ref(0), w = ref(""), C = ref(0);
25112
25120
  watchEffect(() => {
25113
- var ee;
25114
- (ee = x.value) != null && ee.length && e.height && setTimeout(() => {
25115
- let ne = parseFloat(e.height), ae = document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`), ue = document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`);
25121
+ var Q;
25122
+ (Q = x.value) != null && Q.length && e.height && setTimeout(() => {
25123
+ let re = parseFloat(e.height), ae = document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`), ue = document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`);
25116
25124
  const ce = document.querySelector(`#ecanTable-${e.id} .ant-table-summary`);
25117
25125
  let fe = 0;
25118
- if (ue && (ne -= (ue == null ? void 0 : ue.clientHeight) || 0), ce && e.isSummaryFixed && (fe = (ce == null ? void 0 : ce.clientHeight) || 0, ne -= fe), e.paginationShow && !e.isAutoScroll) {
25126
+ if (ue && (re -= (ue == null ? void 0 : ue.clientHeight) || 0), ce && e.isSummaryFixed && (fe = (ce == null ? void 0 : ce.clientHeight) || 0, re -= fe), e.paginationShow && !e.isAutoScroll) {
25119
25127
  let se = 0;
25120
- se = m(), se && (ne -= se);
25128
+ se = m(), se && (re -= se);
25121
25129
  }
25122
- (ae == null ? void 0 : ae.clientHeight) > ne ? y.value = ne : y.value = 0, nextTick(() => {
25130
+ (ae == null ? void 0 : ae.clientHeight) > re ? y.value = re : y.value = 0, nextTick(() => {
25123
25131
  if (fe) {
25124
25132
  const se = document.querySelector(`#ecanTable-${e.id} .ant-table-summary`), ge = (se == null ? void 0 : se.clientHeight) || 0;
25125
- fe !== ge && unref(y) && (y.value = ne + fe - ge);
25133
+ fe !== ge && unref(y) && (y.value = re + fe - ge);
25126
25134
  }
25127
25135
  e.isAutoScroll && i.value && setTimeout(() => {
25128
25136
  var Ce;
@@ -25134,22 +25142,22 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25134
25142
  };
25135
25143
  const xe = document.querySelector(`#ecanTable-${e.id} .ant-table-body > table`);
25136
25144
  if (w.value = (Ce = document.querySelector(`#ecanTable-${e.id} .ant-table`)) == null ? void 0 : Ce.className, xe) {
25137
- const ke = xe.cloneNode(!0);
25145
+ const we = xe.cloneNode(!0);
25138
25146
  xe.style.visibility = "hidden", setTimeout(() => {
25139
25147
  ge == null || ge.setAttribute("id", "hiddenTableBody");
25140
25148
  }, 0);
25141
- const De = document.querySelectorAll(`#ecanTable-${e.id} .scroll-wrap`);
25142
- if (De != null && De.length) {
25143
- for (const je of De)
25144
- je.append(ke.cloneNode(!0));
25145
- const $e = document.querySelectorAll(`#ecanTable-${e.id} .scroll-wrap .ant-table-cell`);
25146
- if ($e != null && $e.length)
25147
- for (const je of $e)
25148
- p(je);
25149
- const Ue = document.querySelector(`#ecanTable-${e.id} .vue3-marquee`);
25150
- Ue && Ue.addEventListener("scroll", (je) => {
25151
- var We;
25152
- document.querySelector(`#ecanTable-${e.id} .ant-table-header`).scrollLeft = ((We = je == null ? void 0 : je.target) == null ? void 0 : We.scrollLeft) || 0;
25149
+ const Me = document.querySelectorAll(`#ecanTable-${e.id} .scroll-wrap`);
25150
+ if (Me != null && Me.length) {
25151
+ for (const Ue of Me)
25152
+ Ue.append(we.cloneNode(!0));
25153
+ const qe = document.querySelectorAll(`#ecanTable-${e.id} .scroll-wrap .ant-table-cell`);
25154
+ if (qe != null && qe.length)
25155
+ for (const Ue of qe)
25156
+ p(Ue);
25157
+ const We = document.querySelector(`#ecanTable-${e.id} .vue3-marquee`);
25158
+ We && We.addEventListener("scroll", (Ue) => {
25159
+ var Ke;
25160
+ document.querySelector(`#ecanTable-${e.id} .ant-table-header`).scrollLeft = ((Ke = Ue == null ? void 0 : Ue.target) == null ? void 0 : Ke.scrollLeft) || 0;
25153
25161
  });
25154
25162
  }
25155
25163
  }
@@ -25157,127 +25165,127 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25157
25165
  });
25158
25166
  }, 0);
25159
25167
  });
25160
- function p(ee) {
25161
- ee.addEventListener("click", (ne) => {
25162
- const ue = v(ne.target).getAttribute("dix");
25168
+ function p(Q) {
25169
+ Q.addEventListener("click", (re) => {
25170
+ const ue = v(re.target).getAttribute("dix");
25163
25171
  if (ue) {
25164
25172
  const ce = document.querySelector(`#ecanTable-${e.id} #hiddenTableBody td[dix="${ue}"]`);
25165
25173
  ce && ce.click();
25166
25174
  }
25167
25175
  });
25168
25176
  }
25169
- function v(ee) {
25170
- return ee.className.includes("ant-table-cell") ? ee : v(ee.parentElement);
25177
+ function v(Q) {
25178
+ return Q.className.includes("ant-table-cell") ? Q : v(Q.parentElement);
25171
25179
  }
25172
- const b = ref([]), E = ref([]), _ = ref([]), k = ref([]), P = ref(0), D = ref(1), M = ref(e.paginationPageSize || 10), F = reactive([]), O = (ee, ne) => {
25180
+ const b = ref([]), E = ref([]), _ = ref([]), k = ref([]), P = ref(0), D = ref(1), M = ref(e.paginationPageSize || 10), F = reactive([]), O = (Q, re) => {
25173
25181
  let ae = "";
25174
- return ee.forEach((ue, ce) => {
25182
+ return Q.forEach((ue, ce) => {
25175
25183
  const { value: fe, rule: se } = ue;
25176
- ue.conditions ? ae += `(${O(ue.conditions, ue.join)})` : fe && se && (ae += `value ${se} '${fe}'`), ae += `${ce === ee.length - 1 ? "" : ne ? " " + ne + " " : ""}`;
25184
+ ue.conditions ? ae += `(${O(ue.conditions, ue.join)})` : fe && se && (ae += `value ${se} '${fe}'`), ae += `${ce === Q.length - 1 ? "" : re ? " " + re + " " : ""}`;
25177
25185
  }), ae;
25178
- }, L = (ee = []) => {
25179
- var ne, ae;
25180
- if (Array.isArray(ee) && ee.length > 0) {
25181
- let ue = ee.length;
25186
+ }, L = (Q = []) => {
25187
+ var re, ae;
25188
+ if (Array.isArray(Q) && Q.length > 0) {
25189
+ let ue = Q.length;
25182
25190
  const ce = e.columnsFixedNum;
25183
- if (e.dataType === "indicator" && ((ne = unref(l)) != null && ne.length) && !unref(l).find((fe) => {
25191
+ if (e.dataType === "indicator" && ((re = unref(l)) != null && re.length) && !unref(l).find((fe) => {
25184
25192
  var se;
25185
25193
  return (se = fe.children) == null ? void 0 : se.length;
25186
25194
  })) {
25187
25195
  const { graphicConfig: { indicators: fe = [] } } = e;
25188
- ee.forEach((se, ge) => {
25196
+ Q.forEach((se, ge) => {
25189
25197
  if (unref(l)[ge])
25190
- for (const ke in unref(l)[ge])
25191
- ["dataIndex", "title"].includes(ke) || (se[ke] = unref(l)[ge][ke]);
25192
- const xe = fe.find((ke) => ke.label === se.title), { showLabel: Ce = "" } = xe || {};
25198
+ for (const we in unref(l)[ge])
25199
+ ["dataIndex", "title"].includes(we) || (se[we] = unref(l)[ge][we]);
25200
+ const xe = fe.find((we) => we.label === se.title), { showLabel: Ce = "" } = xe || {};
25193
25201
  Ce && (se.title = Ce);
25194
25202
  });
25195
25203
  }
25196
25204
  for (let fe = ue - 1; fe >= 0; fe--)
25197
- (ae = ee[fe]) != null && ae.isHidden && ee.splice(fe, 1);
25198
- ue = ee.length;
25205
+ (ae = Q[fe]) != null && ae.isHidden && Q.splice(fe, 1);
25206
+ ue = Q.length;
25199
25207
  for (let fe = 0; fe < ue; fe++) {
25200
- const se = ee[fe];
25208
+ const se = Q[fe];
25201
25209
  if (fe < ce ? se.fixed = "left" : se.fixed = !1, e.isSortByFront && se.sorter) {
25202
- const Ke = se.dataIndex;
25203
- se.sorter = (Ye, Je) => Ye[Ke] - Je[Ke];
25210
+ const Ye = se.dataIndex;
25211
+ se.sorter = (Je, Ze) => Je[Ye] - Ze[Ye];
25204
25212
  }
25205
25213
  const {
25206
25214
  cellAlign: ge = "center",
25207
25215
  cellColor: xe,
25208
25216
  dataIndex: Ce,
25209
- title: ke,
25210
- tableFilter: De,
25211
- headerCellAlign: $e,
25212
- headerCellColor: Ue,
25213
- overflow: je,
25214
- conditions: We
25217
+ title: we,
25218
+ tableFilter: Me,
25219
+ headerCellAlign: qe,
25220
+ headerCellColor: We,
25221
+ overflow: Ue,
25222
+ conditions: Ke
25215
25223
  } = se;
25216
- De && (F.push(Ce), se.filterOptionsInputValue = "", se.filterCheckboxGroupValue = [], se.customFilterDropdown = !0, se.onFilter = (Ke, Ye) => Ye[Ce].toString().toLowerCase().includes(Ke.toLowerCase())), We && (se.conditionCode = O(We)), se.customHeaderCell = () => ({
25224
+ Me && (F.push(Ce), se.filterOptionsInputValue = "", se.filterCheckboxGroupValue = [], se.customFilterDropdown = !0, se.onFilter = (Ye, Je) => Je[Ce].toString().toLowerCase().includes(Ye.toLowerCase())), Ke && (se.conditionCode = O(Ke)), se.customHeaderCell = () => ({
25217
25225
  style: {
25218
25226
  display: "table-cell",
25219
25227
  verticalAlign: "middle",
25220
25228
  fontSize: e.headerFontSize,
25221
25229
  fontWeight: e.headerFontWeight,
25222
- textAlign: $e || "center",
25223
- color: Ue || e.headerFontColor,
25230
+ textAlign: qe || "center",
25231
+ color: We || e.headerFontColor,
25224
25232
  borderBottomColor: e.borderColor,
25225
25233
  backgroundColor: e.headerBackgroundColor
25226
25234
  }
25227
- }), se.customCell = (Ke, Ye, Je) => ({
25235
+ }), se.customCell = (Ye, Je, Ze) => ({
25228
25236
  style: {
25229
25237
  textAlign: ge,
25230
- color: q(Je) ? e.linkTextColor : xe || e.cellFontColor,
25238
+ color: q(Ze) ? e.linkTextColor : xe || e.cellFontColor,
25231
25239
  backgroundColor: e.cellBackgroundColor,
25232
25240
  borderBottomColor: e.borderColor
25233
25241
  },
25234
25242
  class: {
25235
- highlight: unref(he) === Ye && e.clickHighlight,
25236
- linkText: q(Je)
25243
+ highlight: unref(he) === Je && e.clickHighlight,
25244
+ linkText: q(Ze)
25237
25245
  },
25238
- dix: Je.dataIndex + "_" + Ye,
25246
+ dix: Ze.dataIndex + "_" + Je,
25239
25247
  onClick: X("click", () => {
25240
- const Xe = e.id, it = Q(Xe);
25241
- Ke = {
25248
+ const Xe = e.id, it = ee(Xe);
25249
+ Ye = {
25242
25250
  dataIndex: Ce,
25243
- title: ke,
25244
- ...Ke
25245
- }, Y(Xe, { ...it, type: e.type, RECORD: Ke }), he.value = Ye, setTimeout(() => {
25251
+ title: we,
25252
+ ...Ye
25253
+ }, Y(Xe, { ...it, type: e.type, RECORD: Ye }), he.value = Je, setTimeout(() => {
25246
25254
  if (!e.linkPage && !e.href)
25247
25255
  return;
25248
25256
  let Qe = !1;
25249
- (q(Je) || e.clickTarget !== "cell") && (Qe = !0), Qe && handleJumpLink(e, {
25257
+ (q(Ze) || e.clickTarget !== "cell") && (Qe = !0), Qe && handleJumpLink(e, {
25250
25258
  pageMode: unref(n),
25251
25259
  getRecordValueByKeyName: te
25252
25260
  });
25253
25261
  }, 0);
25254
25262
  })
25255
- }), je === "ellipsis" ? se.ellipsis = !0 : se.ellipsis = !1, Array.isArray(se.children) && L(se.children);
25263
+ }), Ue === "ellipsis" ? se.ellipsis = !0 : se.ellipsis = !1, Array.isArray(se.children) && L(se.children);
25256
25264
  }
25257
25265
  }
25258
25266
  };
25259
- function q(ee) {
25260
- let ne = !1;
25261
- return e.clickTarget === "cell" && e.clickTargetColumns.includes(ee.dataIndex) && (ne = !0), ne;
25267
+ function q(Q) {
25268
+ let re = !1;
25269
+ return e.clickTarget === "cell" && e.clickTargetColumns.includes(Q.dataIndex) && (re = !0), re;
25262
25270
  }
25263
- const $ = (ee = []) => {
25271
+ const $ = (Q = []) => {
25264
25272
  var ae;
25265
- let ne = cloneDeep(ee);
25266
- return (ae = unref(k)) != null && ae.length && (ne = cloneDeep(unref(k))), e.isUseSeq && ne.unshift({
25273
+ let re = cloneDeep(Q);
25274
+ return (ae = unref(k)) != null && ae.length && (re = cloneDeep(unref(k))), e.isUseSeq && re.unshift({
25267
25275
  title: e.seqName,
25268
25276
  dataIndex: "SEQ",
25269
25277
  align: "center",
25270
25278
  width: e.seqWidth
25271
- }), e.isUseAction && ne.push({
25279
+ }), e.isUseAction && re.push({
25272
25280
  title: "操作",
25273
25281
  dataIndex: "ACTION",
25274
25282
  width: e.actionColumnWidth
25275
- }), L(ne), ne;
25283
+ }), L(re), re;
25276
25284
  };
25277
25285
  watch(M, () => {
25278
25286
  D.value = 1, be(!1);
25279
- }), watch(c, (ee) => {
25280
- f.value = !!ee;
25287
+ }), watch(c, (Q) => {
25288
+ f.value = !!Q;
25281
25289
  }), watch(() => [
25282
25290
  e.columns,
25283
25291
  e.isUseSeq,
@@ -25296,23 +25304,23 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25296
25304
  }, {
25297
25305
  immediate: !0,
25298
25306
  deep: !0
25299
- }), watch(() => [e.data, e.dataType], ([ee, ne]) => {
25300
- ne === "static" && (E.value = ee);
25307
+ }), watch(() => [e.data, e.dataType], ([Q, re]) => {
25308
+ re === "static" && (E.value = Q);
25301
25309
  }, {
25302
25310
  immediate: !0
25303
25311
  });
25304
- const I = ref({}), B = (ee) => {
25305
- if (Array.isArray(ee)) {
25306
- const ne = ee.length, ae = F, ue = ae.length, ce = {};
25307
- for (let se = 0; se < ne; se++) {
25308
- const ge = ee[se];
25312
+ const I = ref({}), B = (Q) => {
25313
+ if (Array.isArray(Q)) {
25314
+ const re = Q.length, ae = F, ue = ae.length, ce = {};
25315
+ for (let se = 0; se < re; se++) {
25316
+ const ge = Q[se];
25309
25317
  for (let xe = 0; xe < ue; xe++) {
25310
25318
  const Ce = ae[xe];
25311
25319
  if (ce[Ce])
25312
25320
  ce[Ce].add(ge[Ce]);
25313
25321
  else {
25314
- const ke = /* @__PURE__ */ new Set();
25315
- ke.add(ge[Ce]), ce[Ce] = ke;
25322
+ const we = /* @__PURE__ */ new Set();
25323
+ we.add(ge[Ce]), ce[Ce] = we;
25316
25324
  }
25317
25325
  }
25318
25326
  }
@@ -25326,24 +25334,24 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25326
25334
  }
25327
25335
  };
25328
25336
  watch(() => [e.isReverse, b.value, E.value], () => {
25329
- const ee = unref(b), ne = unref(E);
25330
- if (B(ne), e.isReverse) {
25331
- const { columns: ae, dataSource: ue } = A(cloneDeep(ee), cloneDeep(ne));
25337
+ const Q = unref(b), re = unref(E);
25338
+ if (B(re), e.isReverse) {
25339
+ const { columns: ae, dataSource: ue } = A(cloneDeep(Q), cloneDeep(re));
25332
25340
  _.value = ae, x.value = ue.map((ce) => ({ key: nanoid(6), ...ce }));
25333
25341
  } else
25334
- _.value = ee, x.value = ne.map((ae) => ({ key: nanoid(6), ...ae }));
25342
+ _.value = Q, x.value = re.map((ae) => ({ key: nanoid(6), ...ae }));
25335
25343
  }, {
25336
25344
  immediate: !0
25337
25345
  });
25338
- const A = (ee, ne) => {
25339
- const ae = ee[0], ue = [{
25346
+ const A = (Q, re) => {
25347
+ const ae = Q[0], ue = [{
25340
25348
  title: ae.title,
25341
25349
  dataIndex: "col0",
25342
25350
  key: "col0",
25343
25351
  align: "center"
25344
25352
  }];
25345
- for (let fe = 0; fe < ne.length; fe++) {
25346
- const se = ne[fe], ge = "col" + (fe + 1);
25353
+ for (let fe = 0; fe < re.length; fe++) {
25354
+ const se = re[fe], ge = "col" + (fe + 1);
25347
25355
  ue.push({
25348
25356
  title: se[ae.dataIndex],
25349
25357
  dataIndex: ge,
@@ -25352,10 +25360,10 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25352
25360
  });
25353
25361
  }
25354
25362
  const ce = [];
25355
- for (let fe = 1; fe < ee.length; fe++) {
25356
- const se = ee[fe], ge = { col0: se.title };
25357
- for (let xe = 0; xe < ne.length; xe++) {
25358
- const Ce = ne[xe];
25363
+ for (let fe = 1; fe < Q.length; fe++) {
25364
+ const se = Q[fe], ge = { col0: se.title };
25365
+ for (let xe = 0; xe < re.length; xe++) {
25366
+ const Ce = re[xe];
25359
25367
  ge[`col${xe + 1}`] = Ce[se.dataIndex];
25360
25368
  }
25361
25369
  ce.push(ge);
@@ -25364,13 +25372,13 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25364
25372
  columns: ue,
25365
25373
  dataSource: ce
25366
25374
  };
25367
- }, S = ref(""), R = (ee) => {
25375
+ }, S = ref(""), R = (Q) => {
25368
25376
  var ue;
25369
- const { rows: ne = [], total: ae = 0 } = ((ue = ee == null ? void 0 : ee.data) == null ? void 0 : ue.data) || {};
25370
- if (P.value = ae, Array.isArray(ne) && (E.value = ne), window.config.routerBaseURL.includes("1523545080925487106")) {
25377
+ const { rows: re = [], total: ae = 0 } = ((ue = Q == null ? void 0 : Q.data) == null ? void 0 : ue.data) || {};
25378
+ if (P.value = ae, Array.isArray(re) && (E.value = re), window.config.routerBaseURL.includes("1523545080925487106")) {
25371
25379
  const { requestParams: ce = [] } = e, fe = ce.find((se) => se.key === "dataSqlId");
25372
25380
  if ((fe == null ? void 0 : fe.value) === "xt_jxzebg") {
25373
- const se = ne.filter((ge) => !ge.绩效总额).map((ge) => ge.ORG_NAME);
25381
+ const se = re.filter((ge) => !ge.绩效总额).map((ge) => ge.ORG_NAME);
25374
25382
  se != null && se.length && nextTick(() => {
25375
25383
  notification.warning({
25376
25384
  message: "提示",
@@ -25381,23 +25389,23 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25381
25389
  }
25382
25390
  }
25383
25391
  i.value = !0;
25384
- }, T = useRequestData(e), V = async (ee = !0, ne = {}) => {
25392
+ }, T = useRequestData(e), V = async (Q = !0, re = {}) => {
25385
25393
  try {
25386
- ee && (s.value = !0), unref(S) && (ne.orderCondition = unref(S)), e.paginationShow && (ne = {
25394
+ Q && (s.value = !0), unref(S) && (re.orderCondition = unref(S)), e.paginationShow && (re = {
25387
25395
  pageNum: unref(D),
25388
25396
  pageSize: unref(M) || "10",
25389
25397
  layer: "1",
25390
- ...ne
25398
+ ...re
25391
25399
  });
25392
- const ae = await T(ne);
25400
+ const ae = await T(re);
25393
25401
  R(ae);
25394
25402
  } catch (ae) {
25395
25403
  console.error(ae);
25396
25404
  } finally {
25397
25405
  s.value = !1;
25398
25406
  }
25399
- }, U = ({ current: ee }, ne, ae) => {
25400
- if (D.value = ee, ae && Object.keys(ae).length > 0) {
25407
+ }, U = ({ current: Q }, re, ae) => {
25408
+ if (D.value = Q, ae && Object.keys(ae).length > 0) {
25401
25409
  const { field: ue, order: ce } = ae, se = {
25402
25410
  ascend: "asc",
25403
25411
  descend: "desc"
@@ -25406,10 +25414,10 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25406
25414
  }
25407
25415
  e.isSortByFront || be(!1);
25408
25416
  }, N = computed(() => {
25409
- const ee = e.simple, ne = [e.paginationPosition], ae = {};
25417
+ const Q = e.simple, re = [e.paginationPosition], ae = {};
25410
25418
  return e.isShowTotal && (ae.showTotal = (ue) => `共 ${ue} 条数据`), e.paginationShow && {
25411
- simple: ee,
25412
- position: ne,
25419
+ simple: Q,
25420
+ position: re,
25413
25421
  total: unref(P),
25414
25422
  current: unref(D),
25415
25423
  pageSize: unref(M) || "10",
@@ -25417,130 +25425,130 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25417
25425
  size: "large",
25418
25426
  ...ae
25419
25427
  };
25420
- }), j = (ee) => +ee == 1 ? "是" : +ee == 0 ? "否" : ee, W = (ee, ne) => {
25421
- const { format: ae, retentiondigit: ue, customFormatter: ce, defaultVal: fe } = ne;
25428
+ }), G = (Q) => +Q == 1 ? "是" : +Q == 0 ? "否" : Q, W = (Q, re) => {
25429
+ const { format: ae, retentiondigit: ue, customFormatter: ce, defaultVal: fe } = re;
25422
25430
  let se = "";
25423
25431
  if (ae == null || ae === "")
25424
- se = ee;
25432
+ se = Q;
25425
25433
  else {
25426
25434
  const ge = {
25427
25435
  money: formatMoney,
25428
25436
  percentage: formatPercentage,
25429
25437
  contrast: formatPercentage,
25430
- boolean: j,
25438
+ boolean: G,
25431
25439
  decimals: formatDecimals,
25432
25440
  custom: formatCustom
25433
25441
  };
25434
- ge[ae] || (se = ""), ae === "decimals" ? se = ge[ae](ee, ue) || "" : ae === "custom" ? se = ge[ae](ee, ce) || "" : se = ge[ae](ee) || "";
25442
+ ge[ae] || (se = ""), ae === "decimals" ? se = ge[ae](Q, ue) || "" : ae === "custom" ? se = ge[ae](Q, ce) || "" : se = ge[ae](Q) || "";
25435
25443
  }
25436
25444
  return se || (se = fe), se;
25437
- }, G = (ee) => ee === "contrast" ? "upDown" : "", K = (ee) => {
25438
- const { text: ne, format: ae, declineColor: ue = "#39cf93", increaseColor: ce = "#ff512e" } = ee;
25445
+ }, H = (Q) => Q === "contrast" ? "upDown" : "", K = (Q) => {
25446
+ const { text: re, format: ae, declineColor: ue = "#39cf93", increaseColor: ce = "#ff512e" } = Q;
25439
25447
  if (ae === "contrast") {
25440
25448
  const fe = {
25441
25449
  fontSize: e.fontSize
25442
- }, se = parseFloat(ne + "");
25450
+ }, se = parseFloat(re + "");
25443
25451
  return se >= 0 ? fe.color = ce : se < 0 && (fe.color = ue), fe;
25444
25452
  } else
25445
25453
  return {};
25446
- }, H = computed(() => {
25447
- const { fontSize: ee } = e;
25454
+ }, j = computed(() => {
25455
+ const { fontSize: Q } = e;
25448
25456
  return {
25449
- width: ee,
25450
- height: ee,
25451
- textIndent: `-${parseFloat(ee) * 2}px`,
25457
+ width: Q,
25458
+ height: Q,
25459
+ textIndent: `-${parseFloat(Q) * 2}px`,
25452
25460
  overflow: "hidden"
25453
25461
  };
25454
- }), J = (ee) => {
25455
- const { text: ne, declineColor: ae = "#39cf93", increaseColor: ue = "#ff512e" } = ee, { fontSize: ce } = e, fe = parseFloat(ne + ""), se = {
25462
+ }), J = (Q) => {
25463
+ const { text: re, declineColor: ae = "#39cf93", increaseColor: ue = "#ff512e" } = Q, { fontSize: ce } = e, fe = parseFloat(re + ""), se = {
25456
25464
  width: ce,
25457
25465
  verticalAlign: "unset"
25458
25466
  };
25459
25467
  return fe >= 0 ? se.filter = `drop-shadow(${ue || "#ff512e"} ${ce} -1px)` : fe < 0 && (se.filter = `drop-shadow(${ae || "#39cf93"} ${ce} -1px)`), se;
25460
- }, Z = (ee) => {
25461
- const ne = parseFloat(ee + "");
25462
- if (ne >= 0)
25468
+ }, Z = (Q) => {
25469
+ const re = parseFloat(Q + "");
25470
+ if (re >= 0)
25463
25471
  return goUp;
25464
- if (ne < 0)
25472
+ if (re < 0)
25465
25473
  return goDown;
25466
- }, X = useEmitEvent(e), { getGlobalModel: Q, setGlobalModel: Y, getRecordValueByKeyName: te } = inject(GLOBAL_MODEL, {
25474
+ }, X = useEmitEvent(e), { getGlobalModel: ee, setGlobalModel: Y, getRecordValueByKeyName: te } = inject(GLOBAL_MODEL, {
25467
25475
  // @ts-ignore
25468
25476
  // eslint-disable-next-line no-void
25469
- getGlobalModel: (ee) => {
25477
+ getGlobalModel: (Q) => {
25470
25478
  },
25471
25479
  // @ts-ignore
25472
25480
  // eslint-disable-next-line no-void
25473
- setGlobalModel: (ee, ne) => {
25481
+ setGlobalModel: (Q, re) => {
25474
25482
  },
25475
25483
  // @ts-ignore
25476
25484
  // eslint-disable-next-line no-void
25477
- getRecordValueByKeyName: (ee) => {
25485
+ getRecordValueByKeyName: (Q) => {
25478
25486
  }
25479
25487
  });
25480
25488
  Y(e.id, {
25481
25489
  type: e.type,
25482
25490
  RECORD: ""
25483
25491
  });
25484
- const re = (ee = [], ne = []) => {
25485
- let ae = ee.map((ue) => ({ title: ue, dataIndex: ue, key: ue }));
25492
+ const ne = (Q = [], re = []) => {
25493
+ let ae = Q.map((ue) => ({ title: ue, dataIndex: ue, key: ue }));
25486
25494
  unref(l).find((ue) => {
25487
25495
  var ce;
25488
25496
  return (ce = ue.children) == null ? void 0 : ce.length;
25489
- }) && (ae = cloneDeep(unref(l))), k.value = cloneDeep(ae), b.value = $(ae), E.value = ne, i.value = !0;
25490
- }, ie = (ee) => {
25491
- var ne, ae, ue, ce;
25492
- re((ae = (ne = ee == null ? void 0 : ee.data) == null ? void 0 : ne.data) == null ? void 0 : ae.columns, (ce = (ue = ee == null ? void 0 : ee.data) == null ? void 0 : ue.data) == null ? void 0 : ce.rows);
25493
- }, oe = useIndicatorData(e, ie), le = async (ee = !0) => {
25497
+ }) && (ae = cloneDeep(unref(l))), k.value = cloneDeep(ae), b.value = $(ae), E.value = re, i.value = !0;
25498
+ }, ie = (Q) => {
25499
+ var re, ae, ue, ce;
25500
+ ne((ae = (re = Q == null ? void 0 : Q.data) == null ? void 0 : re.data) == null ? void 0 : ae.columns, (ce = (ue = Q == null ? void 0 : Q.data) == null ? void 0 : ue.data) == null ? void 0 : ce.rows);
25501
+ }, oe = useIndicatorData(e, ie), le = async (Q = !0) => {
25494
25502
  try {
25495
- ee && (s.value = !0);
25496
- const ne = unref(S).split(" "), ae = {};
25503
+ Q && (s.value = !0);
25504
+ const re = unref(S).split(" "), ae = {};
25497
25505
  e.isSortByFront || (ae.sort = {
25498
- order: ne[1],
25499
- field: ne[0]
25506
+ order: re[1],
25507
+ field: re[0]
25500
25508
  });
25501
25509
  const ue = await oe(ae);
25502
25510
  ie(ue);
25503
- } catch (ne) {
25504
- console.error(ne);
25511
+ } catch (re) {
25512
+ console.error(re);
25505
25513
  } finally {
25506
25514
  s.value = !1;
25507
25515
  }
25508
25516
  }, he = ref(-1), { loadedData: de } = inject(LOADED_DATA, {
25509
25517
  loadedData: {}
25510
25518
  }), ye = ref(!1);
25511
- watch(de, (ee) => {
25519
+ watch(de, (Q) => {
25512
25520
  if (e.dataType === "indicator") {
25513
- const ne = getFixedValueDatas(e.graphicConfig);
25514
- ne != null && ne.length && (!unref(ye) && canRequestIndicator(e.graphicConfig, ee) ? (ye.value = !0, be()) : canRequestIndicator(e.graphicConfig, ee) || (ye.value = !1));
25521
+ const re = getFixedValueDatas(e.graphicConfig);
25522
+ re != null && re.length && (!unref(ye) && canRequestIndicator(e.graphicConfig, Q) ? (ye.value = !0, be()) : canRequestIndicator(e.graphicConfig, Q) || (ye.value = !1));
25515
25523
  }
25516
25524
  }, {
25517
25525
  deep: !0
25518
25526
  });
25519
- const be = (ee = !0) => {
25527
+ const be = (Q = !0) => {
25520
25528
  switch (e.dataType) {
25521
25529
  case "request":
25522
- V(ee);
25530
+ V(Q);
25523
25531
  break;
25524
25532
  case "indicator":
25525
- canRequestIndicator(e.graphicConfig, unref(de)) && le(ee);
25533
+ canRequestIndicator(e.graphicConfig, unref(de)) && le(Q);
25526
25534
  break;
25527
25535
  }
25528
- }, we = () => {
25529
- const ee = e.id, ne = Q(ee);
25530
- Y(ee, { ...ne, type: e.type, RECORD: "" });
25536
+ }, Ee = () => {
25537
+ const Q = e.id, re = ee(Q);
25538
+ Y(Q, { ...re, type: e.type, RECORD: "" });
25531
25539
  }, Te = computed(() => {
25532
- const ee = unref(_);
25533
- let ne = 0;
25540
+ const Q = unref(_);
25541
+ let re = 0;
25534
25542
  const { subTotalColumn: ae, subTotalName: ue } = e;
25535
- ae && (ne = ee.findIndex((xe) => xe.dataIndex === ae), ne < 0 && (ne = 0));
25543
+ ae && (re = Q.findIndex((xe) => xe.dataIndex === ae), re < 0 && (re = 0));
25536
25544
  const ce = [];
25537
25545
  let fe = 0;
25538
- for (let xe = 0; xe < ee.length; xe++) {
25539
- const Ce = ee[xe], { isCalcTotal: ke } = Ce;
25540
- xe === ne ? ce.push({
25546
+ for (let xe = 0; xe < Q.length; xe++) {
25547
+ const Ce = Q[xe], { isCalcTotal: we } = Ce;
25548
+ xe === re ? ce.push({
25541
25549
  ...Ce,
25542
25550
  total: ue
25543
- }) : ke ? (ce.push({
25551
+ }) : we ? (ce.push({
25544
25552
  ...Ce,
25545
25553
  index: xe,
25546
25554
  total: 0
@@ -25550,121 +25558,121 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25550
25558
  }
25551
25559
  if (fe === 0)
25552
25560
  return [];
25553
- const se = unref(x), ge = Ee(ce);
25561
+ const se = unref(x), ge = Se(ce);
25554
25562
  for (let xe = 0; xe < ge.length; xe++) {
25555
25563
  const Ce = ge[xe];
25556
- let ke = 0;
25557
- const { isCalcTotal: De, dataIndex: $e } = Ce;
25558
- if (De === !0) {
25559
- for (let Ue = 0; Ue < se.length; Ue++) {
25560
- const We = +se[Ue][$e];
25561
- isNaN(We) || (ke = new Big(ke).add(We).toNumber());
25564
+ let we = 0;
25565
+ const { isCalcTotal: Me, dataIndex: qe } = Ce;
25566
+ if (Me === !0) {
25567
+ for (let We = 0; We < se.length; We++) {
25568
+ const Ke = +se[We][qe];
25569
+ isNaN(Ke) || (we = new Big(we).add(Ke).toNumber());
25562
25570
  }
25563
- Ce.total = ke;
25571
+ Ce.total = we;
25564
25572
  }
25565
25573
  }
25566
25574
  return ge;
25567
25575
  });
25568
- function Ee(ee) {
25576
+ function Se(Q) {
25569
25577
  var ae;
25570
- const ne = [];
25571
- for (const ue of ee)
25572
- (ae = ue.children) != null && ae.length ? ne.push(...Ee(ue.children)) : ne.push(ue);
25573
- return ne;
25578
+ const re = [];
25579
+ for (const ue of Q)
25580
+ (ae = ue.children) != null && ae.length ? re.push(...Se(ue.children)) : re.push(ue);
25581
+ return re;
25574
25582
  }
25575
- const { setRequest: _e } = inject(REQUEST_MODEL, {
25576
- setRequest: (ee) => {
25583
+ const { setRequest: ke } = inject(REQUEST_MODEL, {
25584
+ setRequest: (Q) => {
25577
25585
  }
25578
25586
  });
25579
- typeof _e == "function" && _e({
25587
+ typeof ke == "function" && ke({
25580
25588
  id: e.id,
25581
25589
  requestFn: be,
25582
25590
  sortNum: e.requestSort
25583
25591
  }), r({
25584
25592
  refreshData: be
25585
25593
  });
25586
- const pe = (ee = "", ne) => useVariablesInText(ee, ne), me = (ee) => {
25587
- if (ee !== "event")
25594
+ const Ge = (Q = "", re) => useVariablesInText(Q, re), Ve = (Q) => {
25595
+ if (Q !== "event")
25588
25596
  return {
25589
25597
  self: "_self",
25590
25598
  blank: "_blank"
25591
- }[ee];
25592
- }, ve = (ee, ne = "") => {
25593
- ee === "event" && window.parent.postMessage({
25599
+ }[Q];
25600
+ }, pe = (Q, re = "") => {
25601
+ Q === "event" && window.parent.postMessage({
25594
25602
  type: "openPage",
25595
- url: ne
25603
+ url: re
25596
25604
  }, "*");
25597
- }, Se = (ee, ne) => {
25598
- ee(ne.filterCheckboxGroupValue);
25599
- }, Ae = (ee, ne) => {
25600
- ee({ confirm: !0 }), ne.filterOptionsInputValue = "", ne.filterCheckboxGroupValue = [];
25601
- }, Oe = () => {
25602
- }, Le = (ee) => {
25603
- const ne = ee.dataIndex;
25604
- if (typeof ne == "string") {
25605
- let ae = unref(I)[ne];
25606
- const ue = unref(ee.filterOptionsInputValue).trim();
25605
+ }, me = (Q, re) => {
25606
+ Q(re.filterCheckboxGroupValue);
25607
+ }, ve = (Q, re) => {
25608
+ Q({ confirm: !0 }), re.filterOptionsInputValue = "", re.filterCheckboxGroupValue = [];
25609
+ }, Ae = () => {
25610
+ }, _e = (Q) => {
25611
+ const re = Q.dataIndex;
25612
+ if (typeof re == "string") {
25613
+ let ae = unref(I)[re];
25614
+ const ue = unref(Q.filterOptionsInputValue).trim();
25607
25615
  return Array.isArray(ae) ? (ae = ae.filter((ce) => typeof ce.label == "string" ? ce.label.toLowerCase().includes(ue.toLowerCase()) : !0), ae) : [];
25608
25616
  }
25609
25617
  return [];
25610
- }, Ve = async () => {
25611
- var Ce, ke;
25612
- const ee = "EXPORT_KEY";
25618
+ }, Be = async () => {
25619
+ var Ce, we;
25620
+ const Q = "EXPORT_KEY";
25613
25621
  message.loading({
25614
- key: ee,
25622
+ key: Q,
25615
25623
  content: "正在导出...",
25616
25624
  duration: 0
25617
25625
  });
25618
- let ne = [];
25626
+ let re = [];
25619
25627
  if (e.dataType === "static")
25620
- ne = e.data;
25628
+ re = e.data;
25621
25629
  else if (e.dataType === "request") {
25622
- const De = { layer: "1" };
25623
- unref(S) && (De.orderCondition = unref(S));
25624
- const $e = await T(De);
25625
- ne = ((ke = (Ce = $e == null ? void 0 : $e.data) == null ? void 0 : Ce.data) == null ? void 0 : ke.rows) || {};
25630
+ const Me = { layer: "1" };
25631
+ unref(S) && (Me.orderCondition = unref(S));
25632
+ const qe = await T(Me);
25633
+ re = ((we = (Ce = qe == null ? void 0 : qe.data) == null ? void 0 : Ce.data) == null ? void 0 : we.rows) || {};
25626
25634
  }
25627
25635
  const ae = unref(_), ue = [], ce = [];
25628
- ae == null || ae.forEach((De) => {
25629
- ue.push(De.dataIndex), ce.push(De.title);
25636
+ ae == null || ae.forEach((Me) => {
25637
+ ue.push(Me.dataIndex), ce.push(Me.title);
25630
25638
  });
25631
- const fe = ne.map((De) => pick$1(De, ue)), se = utils.book_new(), ge = utils.aoa_to_sheet([ce]), xe = utils.sheet_add_json(ge, fe, { skipHeader: !0, origin: "A2" });
25632
- utils.book_append_sheet(se, xe, "sheet"), writeFile(se, "表格数据.xlsx"), message.success({ key: ee, content: "导出成功" });
25633
- }, qe = (ee, ne = 2) => {
25634
- const ae = +ee * 100;
25635
- return isNaN(ae) || ae <= 0 ? 0 : ae >= 100 ? 100 : ae.toFixed(ne);
25639
+ const fe = re.map((Me) => pick$1(Me, ue)), se = utils.book_new(), ge = utils.aoa_to_sheet([ce]), xe = utils.sheet_add_json(ge, fe, { skipHeader: !0, origin: "A2" });
25640
+ utils.book_append_sheet(se, xe, "sheet"), writeFile(se, "表格数据.xlsx"), message.success({ key: Q, content: "导出成功" });
25641
+ }, Ne = (Q, re = 2) => {
25642
+ const ae = +Q * 100;
25643
+ return isNaN(ae) || ae <= 0 ? 0 : ae >= 100 ? 100 : ae.toFixed(re);
25636
25644
  };
25637
25645
  useOnEvent(e, {
25638
- resetRecord: we,
25646
+ resetRecord: Ee,
25639
25647
  refreshData: be,
25640
- exportTableData: Ve
25648
+ exportTableData: Be
25641
25649
  });
25642
- const Ie = (ee, ne) => {
25650
+ const He = (Q, re) => {
25643
25651
  let ae = null;
25644
- return e.stripedShow && (ae = ne % 2 === 1 ? "table-striped" : null), ae;
25645
- }, Ge = computed(() => {
25646
- let ee = 0;
25647
- const { height: ne, isPageBottom: ae } = e;
25648
- return ae && ne && (ee = parseFloat(ne) - m()), ee ? ee + "px" : "100%";
25649
- }), Fe = computed(() => {
25650
- let ee = "#071655";
25651
- return e.headerBackgroundColor && (ee = "transparent"), ee;
25652
- }), Pe = computed(() => {
25653
- let ee = "#071655";
25654
- return (e.cellBackgroundColor || e.stripedShow && e.stripedColor) && (ee = "transparent"), ee;
25655
- }), Re = computed(() => parseFloat(e.fontSize) + 16), Me = computed(() => {
25656
- let ee = "";
25652
+ return e.stripedShow && (ae = re % 2 === 1 ? "table-striped" : null), ae;
25653
+ }, ze = computed(() => {
25654
+ let Q = 0;
25655
+ const { height: re, isPageBottom: ae } = e;
25656
+ return ae && re && (Q = parseFloat(re) - m()), Q ? Q + "px" : "100%";
25657
+ }), Ie = computed(() => {
25658
+ let Q = "#071655";
25659
+ return e.headerBackgroundColor && (Q = "transparent"), Q;
25660
+ }), je = computed(() => {
25661
+ let Q = "#071655";
25662
+ return (e.cellBackgroundColor || e.stripedShow && e.stripedColor) && (Q = "transparent"), Q;
25663
+ }), Fe = computed(() => parseFloat(e.fontSize) + 16), Pe = computed(() => {
25664
+ let Q = "";
25657
25665
  const {
25658
- paginationColor: ne,
25666
+ paginationColor: re,
25659
25667
  paginationBgColor: ae,
25660
25668
  activePaginationColor: ue,
25661
25669
  activePaginationBgColor: ce,
25662
25670
  hoverBackgroundColor: fe
25663
25671
  } = e;
25664
- return ne && (ee += "p-color "), ae && (ee += "p-bg-color "), ue && (ee += "active-p-color "), ce && (ee += "active-p-bg-color "), fe && (ee += "hover-bg-color "), ee;
25665
- }), Be = (ee, ne) => {
25666
- const { conditionCode: ae } = ee;
25667
- return runCode(ae, { value: ne });
25672
+ return re && (Q += "p-color "), ae && (Q += "p-bg-color "), ue && (Q += "active-p-color "), ce && (Q += "active-p-bg-color "), fe && (Q += "hover-bg-color "), Q;
25673
+ }), De = (Q, re) => {
25674
+ const { conditionCode: ae } = Q;
25675
+ return runCode(ae, { value: re });
25668
25676
  };
25669
25677
  return {
25670
25678
  x: d,
@@ -25672,62 +25680,62 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["render", _sfc_rende
25672
25680
  style: u,
25673
25681
  pagination: N,
25674
25682
  formatFn: W,
25675
- contrastClass: G,
25683
+ contrastClass: H,
25676
25684
  tableChange: U,
25677
25685
  summaryList: Te,
25678
25686
  loading: s,
25679
- onTouchHrefEvent: ve,
25680
- handleHref: pe,
25681
- handleHrefTarget: me,
25687
+ onTouchHrefEvent: pe,
25688
+ handleHref: Ge,
25689
+ handleHrefTarget: Ve,
25682
25690
  useRowIndex: he,
25683
25691
  tableColumns: _,
25684
25692
  tableDataSource: x,
25685
- useFilterOptions: Le,
25686
- useSetSelectedKeys: Se,
25687
- onResetFilter: Ae,
25688
- onSearchFilterOptions: Oe,
25689
- exportTableData: Ve,
25690
- handleProgressText: qe,
25693
+ useFilterOptions: _e,
25694
+ useSetSelectedKeys: me,
25695
+ onResetFilter: ve,
25696
+ onSearchFilterOptions: Ae,
25697
+ exportTableData: Be,
25698
+ handleProgressText: Ne,
25691
25699
  pageSizeVisible: f,
25692
25700
  pageSize: M,
25693
25701
  tableRef: c,
25694
- rowClassName: Ie,
25695
- tableHeight: Ge,
25696
- tableHeaderBgColor: Fe,
25697
- tableBodyBgColor: Pe,
25702
+ rowClassName: He,
25703
+ tableHeight: ze,
25704
+ tableHeaderBgColor: Ie,
25705
+ tableBodyBgColor: je,
25698
25706
  getChgStyle: K,
25699
- chgBoxStyle: H,
25707
+ chgBoxStyle: j,
25700
25708
  getChgBoxImgStyle: J,
25701
25709
  getChgBoxImgSrc: Z,
25702
25710
  seqIcon1,
25703
25711
  seqIcon2,
25704
25712
  seqIcon3,
25705
- iconSize: Re,
25706
- containerClass: Me,
25707
- getCellStyle: (ee, ne) => {
25708
- const { overflow: ae, conditionCode: ue, attribute: ce } = ee, fe = {};
25709
- return ae === "ellipsis" && (fe.overflow = "hidden", fe.textOverflow = "ellipsis"), ue && (ce != null && ce.color) && Be(ee, ne) && (fe.color = ce.color), ce != null && ce.icon && (ee == null ? void 0 : ee.cellAlign) === "right" && (fe.display = "flex", fe.alignItems = "center", fe.justifyContent = "flex-end"), fe;
25713
+ iconSize: Fe,
25714
+ containerClass: Pe,
25715
+ getCellStyle: (Q, re) => {
25716
+ const { overflow: ae, conditionCode: ue, attribute: ce } = Q, fe = {};
25717
+ return ae === "ellipsis" && (fe.overflow = "hidden", fe.textOverflow = "ellipsis"), ue && (ce != null && ce.color) && De(Q, re) && (fe.color = ce.color), ce != null && ce.icon && (Q == null ? void 0 : Q.cellAlign) === "right" && (fe.display = "flex", fe.alignItems = "center", fe.justifyContent = "flex-end"), fe;
25710
25718
  },
25711
- isMatchCondition: Be,
25712
- getAttrImgSrc: (ee) => {
25713
- const { attribute: ne } = ee;
25719
+ isMatchCondition: De,
25720
+ getAttrImgSrc: (Q) => {
25721
+ const { attribute: re } = Q;
25714
25722
  let ae = "";
25715
- return ne != null && ne.icon && (ae = useImagePath(ne.icon)), ae;
25723
+ return re != null && re.icon && (ae = useImagePath(re.icon)), ae;
25716
25724
  },
25717
- getAttrImgStyle: (ee) => {
25718
- let ne = {};
25719
- return (ee == null ? void 0 : ee.cellAlign) === "right" ? ne = {
25725
+ getAttrImgStyle: (Q) => {
25726
+ let re = {};
25727
+ return (Q == null ? void 0 : Q.cellAlign) === "right" ? re = {
25720
25728
  marginRight: "5px"
25721
- } : ne = {
25729
+ } : re = {
25722
25730
  position: "absolute",
25723
25731
  marginLeft: "5px"
25724
25732
  }, {
25725
25733
  width: "auto",
25726
25734
  height: parseFloat(e.fontSize) + 6 + "px",
25727
- ...ne
25735
+ ...re
25728
25736
  };
25729
25737
  },
25730
- getCellText: (ee, ne) => ee || ee === 0 ? ee : ne == null ? void 0 : ne.defaultVal,
25738
+ getCellText: (Q, re) => Q || Q === 0 ? Q : re == null ? void 0 : re.defaultVal,
25731
25739
  autoScrollHeight: g,
25732
25740
  autoScrollClass: w,
25733
25741
  autoScrollTop: C,
@@ -26159,49 +26167,49 @@ const _sfc_main$2 = defineComponent({
26159
26167
  const N = e.symbolImage;
26160
26168
  return e.symbolImage ? "image://" + useImagePath(N) : "circle";
26161
26169
  }), d = (N) => {
26162
- let j = e.tooltipFormatter;
26163
- const W = j.match(/\{(.+?)\}/g);
26170
+ let G = e.tooltipFormatter;
26171
+ const W = G.match(/\{(.+?)\}/g);
26164
26172
  if (W == null || W.length === 0)
26165
- return j;
26166
- for (let G = 0; G < W.length; G++) {
26167
- const K = W[G];
26168
- let H = K.slice(1, -1).trim();
26169
- const J = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, Z = H.match(J);
26173
+ return G;
26174
+ for (let H = 0; H < W.length; H++) {
26175
+ const K = W[H];
26176
+ let j = K.slice(1, -1).trim();
26177
+ const J = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, Z = j.match(J);
26170
26178
  for (let X = 0; X < Z.length; X++) {
26171
- const Q = Z[X], Y = N[Q];
26172
- Y != null && (H = H.replace(Q, Y));
26179
+ const ee = Z[X], Y = N[ee];
26180
+ Y != null && (j = j.replace(ee, Y));
26173
26181
  }
26174
- j = j.replace(K, H);
26182
+ G = G.replace(K, j);
26175
26183
  }
26176
- return j.split(`
26184
+ return G.split(`
26177
26185
  `);
26178
26186
  }, y = ref(!1), m = ref("");
26179
26187
  let g = new AbortController();
26180
- const w = (N, j) => {
26188
+ const w = (N, G) => {
26181
26189
  const W = g.signal;
26182
26190
  y.value = !0, i.value = N, r({
26183
26191
  name: N,
26184
26192
  signal: W
26185
- }).then((G) => {
26186
- var K, H;
26187
- if (G) {
26188
- const J = ((H = (K = G == null ? void 0 : G.data) == null ? void 0 : K.data) == null ? void 0 : H.rows) || [];
26193
+ }).then((H) => {
26194
+ var K, j;
26195
+ if (H) {
26196
+ const J = ((j = (K = H == null ? void 0 : H.data) == null ? void 0 : K.data) == null ? void 0 : j.rows) || [];
26189
26197
  let Z = "";
26190
26198
  for (const X of J) {
26191
- const Q = d(X) || [];
26192
- if (Q != null && Q.length)
26193
- for (const Y of Q)
26199
+ const ee = d(X) || [];
26200
+ if (ee != null && ee.length)
26201
+ for (const Y of ee)
26194
26202
  Z += `<div style="word-break: break-all;white-space: normal;">${Y}</div>`;
26195
26203
  }
26196
- Z = `<div style="max-width:200px;">${Z}</div>`, a.value = Z, j(unref(m), Z);
26204
+ Z = `<div style="max-width:200px;">${Z}</div>`, a.value = Z, G(unref(m), Z);
26197
26205
  } else
26198
- W.aborted ? a.value = "Loading" : a.value = N, j(unref(m), a.value);
26206
+ W.aborted ? a.value = "Loading" : a.value = N, G(unref(m), a.value);
26199
26207
  y.value = !1;
26200
26208
  });
26201
26209
  }, C = ref(), p = computed(() => e.dataType === "request" ? C.value : e.data), v = computed(() => {
26202
- const N = [], { mapAreaStyleConfig: j } = e;
26203
- if (j != null && j.length)
26204
- for (const W of j)
26210
+ const N = [], { mapAreaStyleConfig: G } = e;
26211
+ if (G != null && G.length)
26212
+ for (const W of G)
26205
26213
  N.push({
26206
26214
  ...W,
26207
26215
  key: nanoid(6)
@@ -26209,27 +26217,27 @@ const _sfc_main$2 = defineComponent({
26209
26217
  return N;
26210
26218
  }), b = computed(() => {
26211
26219
  const N = [];
26212
- for (const j of unref(v)) {
26220
+ for (const G of unref(v)) {
26213
26221
  let W = "";
26214
- j.value1 && (W += `value ${j.rule1} ${j.value1}`), j.value2 && (W += `${j.value1 ? "&&" : ""} value ${j.rule2} ${j.value2}`), W && N.push({
26222
+ G.value1 && (W += `value ${G.rule1} ${G.value1}`), G.value2 && (W += `${G.value1 ? "&&" : ""} value ${G.rule2} ${G.value2}`), W && N.push({
26215
26223
  rule: W,
26216
- color: j.color,
26217
- key: j.key
26224
+ color: G.color,
26225
+ key: G.key
26218
26226
  });
26219
26227
  }
26220
26228
  return N.reverse();
26221
26229
  }), E = computed(() => {
26222
26230
  var W;
26223
- const N = [], { areaStyleKeyName: j } = e;
26231
+ const N = [], { areaStyleKeyName: G } = e;
26224
26232
  if ((W = unref(p)) != null && W.length)
26225
- for (const G of unref(p)) {
26226
- const K = G[j];
26233
+ for (const H of unref(p)) {
26234
+ const K = H[G];
26227
26235
  if (K || K === 0) {
26228
- const H = unref(b).find((J) => runCode(J.rule, { value: K }));
26229
- H && N.push({
26230
- name: G.name,
26236
+ const j = unref(b).find((J) => runCode(J.rule, { value: K }));
26237
+ j && N.push({
26238
+ name: H.name,
26231
26239
  itemStyle: {
26232
- areaColor: unref(f).includes(H.key) ? e.geoItemStyleAreaColor : H.color
26240
+ areaColor: unref(f).includes(j.key) ? e.geoItemStyleAreaColor : j.color
26233
26241
  }
26234
26242
  });
26235
26243
  }
@@ -26237,8 +26245,8 @@ const _sfc_main$2 = defineComponent({
26237
26245
  return N;
26238
26246
  }), _ = computed(() => {
26239
26247
  const N = e.geoCenter;
26240
- let j;
26241
- return typeof N == "string" && N !== "" && (j = N.split(",")), {
26248
+ let G;
26249
+ return typeof N == "string" && N !== "" && (G = N.split(",")), {
26242
26250
  // backgroundColor: unref(background),
26243
26251
  tooltip: {
26244
26252
  show: !0
@@ -26258,7 +26266,7 @@ const _sfc_main$2 = defineComponent({
26258
26266
  geo: {
26259
26267
  zoom: e.geoZoom,
26260
26268
  roam: e.geoRoam,
26261
- center: j,
26269
+ center: G,
26262
26270
  map: `map-${e.id}`,
26263
26271
  tooltip: {
26264
26272
  show: e.tooltipShow,
@@ -26268,33 +26276,33 @@ const _sfc_main$2 = defineComponent({
26268
26276
  textStyle: {
26269
26277
  color: e.tooltipTextStyleColor
26270
26278
  },
26271
- formatter: (W, G, K) => {
26272
- m.value = G;
26273
- const { name: H = "" } = W, { requestUrl: J } = e.tooltipRequestData;
26279
+ formatter: (W, H, K) => {
26280
+ m.value = H;
26281
+ const { name: j = "" } = W, { requestUrl: J } = e.tooltipRequestData;
26274
26282
  if (!J) {
26275
26283
  let Z = "", X = e.tooltipFormatter;
26276
26284
  X === "" && (X = "{name}:{value}");
26277
- const Q = unref(p).find((Y) => Y.name === H);
26278
- return Q ? (Z += useVariablesInText(
26285
+ const ee = unref(p).find((Y) => Y.name === j);
26286
+ return ee ? (Z += useVariablesInText(
26279
26287
  X,
26280
26288
  {
26281
26289
  textData: {
26282
- name: H,
26283
- ...Q
26290
+ name: j,
26291
+ ...ee
26284
26292
  }
26285
26293
  },
26286
26294
  {
26287
26295
  useNewline: !0,
26288
26296
  useSpace: !0
26289
26297
  }
26290
- ), Z) : H;
26298
+ ), Z) : j;
26291
26299
  }
26292
26300
  if (unref(y))
26293
- unref(i) !== H && (g.abort(), g = new AbortController());
26301
+ unref(i) !== j && (g.abort(), g = new AbortController());
26294
26302
  else {
26295
- if (unref(i) === H)
26303
+ if (unref(i) === j)
26296
26304
  return unref(a);
26297
- w(H, K);
26305
+ w(j, K);
26298
26306
  }
26299
26307
  return "Loading";
26300
26308
  }
@@ -26356,12 +26364,12 @@ const _sfc_main$2 = defineComponent({
26356
26364
  }), k = ref(!1), P = async () => {
26357
26365
  var W;
26358
26366
  k.value = !1;
26359
- const N = e.mapJson, j = `map-${e.id}`;
26367
+ const N = e.mapJson, G = `map-${e.id}`;
26360
26368
  if (N != null && N.path) {
26361
- const G = await request(((W = window == null ? void 0 : window.config) == null ? void 0 : W.uploadPath) + N.path);
26362
- registerMap(j, (G == null ? void 0 : G.data) || {});
26369
+ const H = await request(((W = window == null ? void 0 : window.config) == null ? void 0 : W.uploadPath) + N.path);
26370
+ registerMap(G, (H == null ? void 0 : H.data) || {});
26363
26371
  } else
26364
- registerMap(j, {});
26372
+ registerMap(G, {});
26365
26373
  k.value = !0;
26366
26374
  };
26367
26375
  watch(() => e.mapJson, () => {
@@ -26371,14 +26379,14 @@ const _sfc_main$2 = defineComponent({
26371
26379
  deep: !0
26372
26380
  });
26373
26381
  const D = async (N) => {
26374
- var G, K, H, J;
26375
- const j = (K = (G = N == null ? void 0 : N.data) == null ? void 0 : G.data) == null ? void 0 : K.rows, W = `map-${e.id}`;
26376
- if (j != null && j.path) {
26377
- const Z = await request(j.path);
26382
+ var H, K, j, J;
26383
+ const G = (K = (H = N == null ? void 0 : N.data) == null ? void 0 : H.data) == null ? void 0 : K.rows, W = `map-${e.id}`;
26384
+ if (G != null && G.path) {
26385
+ const Z = await request(G.path);
26378
26386
  registerMap(W, (Z == null ? void 0 : Z.data) || {});
26379
- } else if (Array.isArray(j))
26380
- if (C.value = j, (H = j[0]) != null && H.mapUrl) {
26381
- const Z = await request((J = j[0]) == null ? void 0 : J.mapUrl);
26387
+ } else if (Array.isArray(G))
26388
+ if (C.value = G, (j = G[0]) != null && j.mapUrl) {
26389
+ const Z = await request((J = G[0]) == null ? void 0 : J.mapUrl);
26382
26390
  registerMap(W, (Z == null ? void 0 : Z.data) || {});
26383
26391
  } else
26384
26392
  registerMap(W, {});
@@ -26413,7 +26421,7 @@ const _sfc_main$2 = defineComponent({
26413
26421
  },
26414
26422
  // @ts-ignore
26415
26423
  // eslint-disable-next-line no-void
26416
- setGlobalModel: (N, j) => {
26424
+ setGlobalModel: (N, G) => {
26417
26425
  }
26418
26426
  }), I = useEmitEvent(e)("click", () => {
26419
26427
  const N = L(e.id);
@@ -26436,40 +26444,40 @@ const _sfc_main$2 = defineComponent({
26436
26444
  }, S = (N = {}) => {
26437
26445
  N.componentType === "geo" && N.region ? n.value = N.region : n.value = null;
26438
26446
  }, R = computed(() => {
26439
- const N = {}, { legendTop: j, legendLeft: W, legendBoxShadow: G } = e;
26440
- return G && (N.boxShadow = G), j === "bottom" ? N.bottom = 0 : j === "top" && (N.top = 0), W === "left" ? N.left = 0 : W === "right" && (N.right = 0), N;
26447
+ const N = {}, { legendTop: G, legendLeft: W, legendBoxShadow: H } = e;
26448
+ return H && (N.boxShadow = H), G === "bottom" ? N.bottom = 0 : G === "top" && (N.top = 0), W === "left" ? N.left = 0 : W === "right" && (N.right = 0), N;
26441
26449
  }), T = computed(() => {
26442
26450
  const N = {};
26443
26451
  return e.legendOrient === "vertical" && (N.flexDirection = "column"), N;
26444
26452
  }), V = computed(() => {
26445
26453
  var N;
26446
26454
  if ((N = unref(v)) != null && N.length) {
26447
- const j = [];
26455
+ const G = [];
26448
26456
  for (const W of unref(v)) {
26449
- const { value1: G, value2: K, rule1: H, rule2: J, color: Z } = W;
26450
- G && K ? +G < +K ? H.includes(">") && J.includes("<") && j.push({
26451
- text: `${G} - ${K}`,
26457
+ const { value1: H, value2: K, rule1: j, rule2: J, color: Z } = W;
26458
+ H && K ? +H < +K ? j.includes(">") && J.includes("<") && G.push({
26459
+ text: `${H} - ${K}`,
26452
26460
  color: Z,
26453
26461
  key: W.key
26454
- }) : +G > +K ? H.includes("<") && J.includes(">") && j.push({
26455
- text: `${K} - ${G}`,
26462
+ }) : +H > +K ? j.includes("<") && J.includes(">") && G.push({
26463
+ text: `${K} - ${H}`,
26456
26464
  color: Z,
26457
26465
  key: W.key
26458
- }) : +G == +K && j.push({
26459
- text: `${G} - ${K}`,
26466
+ }) : +H == +K && G.push({
26467
+ text: `${H} - ${K}`,
26460
26468
  color: Z,
26461
26469
  key: W.key
26462
- }) : G ? j.push({
26463
- text: `${H} ${G}`,
26470
+ }) : H ? G.push({
26471
+ text: `${j} ${H}`,
26464
26472
  color: Z,
26465
26473
  key: W.key
26466
- }) : K && j.push({
26474
+ }) : K && G.push({
26467
26475
  text: `${J} ${K}`,
26468
26476
  color: Z,
26469
26477
  key: W.key
26470
26478
  });
26471
26479
  }
26472
- return j;
26480
+ return G;
26473
26481
  } else
26474
26482
  return [];
26475
26483
  });
@@ -26486,8 +26494,8 @@ const _sfc_main$2 = defineComponent({
26486
26494
  customClick: A,
26487
26495
  onMouseOver: S,
26488
26496
  handleToggleVisible: (N) => {
26489
- const j = unref(f).findIndex((W) => W === N);
26490
- j >= 0 ? f.value.splice(j, 1) : f.value.push(N);
26497
+ const G = unref(f).findIndex((W) => W === N);
26498
+ G >= 0 ? f.value.splice(G, 1) : f.value.push(N);
26491
26499
  }
26492
26500
  };
26493
26501
  }
@@ -28581,18 +28589,18 @@ var stdin_default$7 = defineComponent({
28581
28589
  return;
28582
28590
  const {
28583
28591
  active: N
28584
- } = o, j = v(T), W = b(j, V);
28592
+ } = o, G = v(T), W = b(G, V);
28585
28593
  if (e.loop) {
28586
28594
  if (c[0] && W !== y.value) {
28587
- const G = W < y.value;
28588
- c[0].setOffset(G ? g.value : 0);
28595
+ const H = W < y.value;
28596
+ c[0].setOffset(H ? g.value : 0);
28589
28597
  }
28590
28598
  if (c[u.value - 1] && W !== 0) {
28591
- const G = W > 0;
28592
- c[u.value - 1].setOffset(G ? -g.value : 0);
28599
+ const H = W > 0;
28600
+ c[u.value - 1].setOffset(H ? -g.value : 0);
28593
28601
  }
28594
28602
  }
28595
- o.active = j, o.offset = W, U && j !== N && r("change", w.value);
28603
+ o.active = G, o.offset = W, U && G !== N && r("change", w.value);
28596
28604
  }, _ = () => {
28597
28605
  o.swiping = !0, o.active <= -1 ? E({
28598
28606
  pace: u.value
@@ -28625,14 +28633,14 @@ var stdin_default$7 = defineComponent({
28625
28633
  const V = () => {
28626
28634
  var U, N;
28627
28635
  if (!isHidden(i)) {
28628
- const j = {
28636
+ const G = {
28629
28637
  width: i.value.offsetWidth,
28630
28638
  height: i.value.offsetHeight
28631
28639
  };
28632
- o.rect = j, o.width = +((U = e.width) != null ? U : j.width), o.height = +((N = e.height) != null ? N : j.height);
28640
+ o.rect = G, o.width = +((U = e.width) != null ? U : G.width), o.height = +((N = e.height) != null ? N : G.height);
28633
28641
  }
28634
- u.value && (T = Math.min(u.value - 1, T), T === -1 && (T = u.value - 1)), o.active = T, o.swiping = !0, o.offset = b(T), c.forEach((j) => {
28635
- j.setOffset(0);
28642
+ u.value && (T = Math.min(u.value - 1, T), T === -1 && (T = u.value - 1)), o.active = T, o.swiping = !0, o.offset = b(T), c.forEach((G) => {
28643
+ G.setOffset(0);
28636
28644
  }), F();
28637
28645
  };
28638
28646
  isHidden(i) ? nextTick().then(V) : V();
@@ -28653,9 +28661,9 @@ var stdin_default$7 = defineComponent({
28653
28661
  const T = Date.now() - q, V = d.value / T;
28654
28662
  if ((Math.abs(V) > 0.25 || Math.abs(d.value) > x.value / 2) && C.value) {
28655
28663
  const N = e.vertical ? l.offsetY.value : l.offsetX.value;
28656
- let j = 0;
28657
- e.loop ? j = N > 0 ? d.value > 0 ? -1 : 1 : 0 : j = -Math[d.value > 0 ? "ceil" : "floor"](d.value / x.value), E({
28658
- pace: j,
28664
+ let G = 0;
28665
+ e.loop ? G = N > 0 ? d.value > 0 ? -1 : 1 : 0 : G = -Math[d.value > 0 ? "ceil" : "floor"](d.value / x.value), E({
28666
+ pace: G,
28659
28667
  emitChange: !0
28660
28668
  });
28661
28669
  } else
@@ -28823,100 +28831,100 @@ var stdin_default$5 = defineComponent({
28823
28831
  }), v = computed(() => w.length > +e.swipeThreshold || !e.ellipsis || e.shrink), b = computed(() => ({
28824
28832
  borderColor: e.color,
28825
28833
  background: e.background
28826
- })), E = (j, W) => {
28827
- var G;
28828
- return (G = j.name) != null ? G : W;
28834
+ })), E = (G, W) => {
28835
+ var H;
28836
+ return (H = G.name) != null ? H : W;
28829
28837
  }, _ = computed(() => {
28830
- const j = w[p.currentIndex];
28831
- if (j)
28832
- return E(j, p.currentIndex);
28833
- }), k = computed(() => unitToPx(e.offsetTop)), P = computed(() => e.sticky ? k.value + i : 0), D = (j) => {
28834
- const W = f.value, G = m.value;
28835
- if (!v.value || !W || !G || !G[p.currentIndex])
28838
+ const G = w[p.currentIndex];
28839
+ if (G)
28840
+ return E(G, p.currentIndex);
28841
+ }), k = computed(() => unitToPx(e.offsetTop)), P = computed(() => e.sticky ? k.value + i : 0), D = (G) => {
28842
+ const W = f.value, H = m.value;
28843
+ if (!v.value || !W || !H || !H[p.currentIndex])
28836
28844
  return;
28837
- const K = G[p.currentIndex].$el, H = K.offsetLeft - (W.offsetWidth - K.offsetWidth) / 2;
28838
- s && s(), s = scrollLeftTo(W, H, j ? 0 : +e.duration);
28845
+ const K = H[p.currentIndex].$el, j = K.offsetLeft - (W.offsetWidth - K.offsetWidth) / 2;
28846
+ s && s(), s = scrollLeftTo(W, j, G ? 0 : +e.duration);
28839
28847
  }, M = () => {
28840
- const j = p.inited;
28848
+ const G = p.inited;
28841
28849
  nextTick(() => {
28842
28850
  const W = m.value;
28843
28851
  if (!W || !W[p.currentIndex] || e.type !== "line" || isHidden(c.value))
28844
28852
  return;
28845
- const G = W[p.currentIndex].$el, {
28853
+ const H = W[p.currentIndex].$el, {
28846
28854
  lineWidth: K,
28847
- lineHeight: H
28848
- } = e, J = G.offsetLeft + G.offsetWidth / 2, Z = {
28855
+ lineHeight: j
28856
+ } = e, J = H.offsetLeft + H.offsetWidth / 2, Z = {
28849
28857
  width: addUnit(K),
28850
28858
  backgroundColor: e.color,
28851
28859
  transform: `translateX(${J}px) translateX(-50%)`
28852
28860
  };
28853
- if (j && (Z.transitionDuration = `${e.duration}s`), isDef(H)) {
28854
- const X = addUnit(H);
28861
+ if (G && (Z.transitionDuration = `${e.duration}s`), isDef(j)) {
28862
+ const X = addUnit(j);
28855
28863
  Z.height = X, Z.borderRadius = X;
28856
28864
  }
28857
28865
  p.lineStyle = Z;
28858
28866
  });
28859
- }, F = (j) => {
28860
- const W = j < p.currentIndex ? -1 : 1;
28861
- for (; j >= 0 && j < w.length; ) {
28862
- if (!w[j].disabled)
28863
- return j;
28864
- j += W;
28865
- }
28866
- }, O = (j, W) => {
28867
- const G = F(j);
28868
- if (!isDef(G))
28867
+ }, F = (G) => {
28868
+ const W = G < p.currentIndex ? -1 : 1;
28869
+ for (; G >= 0 && G < w.length; ) {
28870
+ if (!w[G].disabled)
28871
+ return G;
28872
+ G += W;
28873
+ }
28874
+ }, O = (G, W) => {
28875
+ const H = F(G);
28876
+ if (!isDef(H))
28869
28877
  return;
28870
- const K = w[G], H = E(K, G), J = p.currentIndex !== null;
28871
- p.currentIndex !== G && (p.currentIndex = G, W || D(), M()), H !== e.active && (r("update:active", H), J && r("change", H, K.title)), o && !e.scrollspy && setRootScrollTop(Math.ceil(getElementTop(c.value) - k.value));
28872
- }, L = (j, W) => {
28873
- const G = w.find((H, J) => E(H, J) === j), K = G ? w.indexOf(G) : 0;
28878
+ const K = w[H], j = E(K, H), J = p.currentIndex !== null;
28879
+ p.currentIndex !== H && (p.currentIndex = H, W || D(), M()), j !== e.active && (r("update:active", j), J && r("change", j, K.title)), o && !e.scrollspy && setRootScrollTop(Math.ceil(getElementTop(c.value) - k.value));
28880
+ }, L = (G, W) => {
28881
+ const H = w.find((j, J) => E(j, J) === G), K = H ? w.indexOf(H) : 0;
28874
28882
  O(K, W);
28875
- }, q = (j = !1) => {
28883
+ }, q = (G = !1) => {
28876
28884
  if (e.scrollspy) {
28877
28885
  const W = w[p.currentIndex].$el;
28878
28886
  if (W && y.value) {
28879
- const G = getElementTop(W, y.value) - P.value;
28880
- a = !0, l && l(), l = scrollTopTo(y.value, G, j ? 0 : +e.duration, () => {
28887
+ const H = getElementTop(W, y.value) - P.value;
28888
+ a = !0, l && l(), l = scrollTopTo(y.value, H, G ? 0 : +e.duration, () => {
28881
28889
  a = !1;
28882
28890
  });
28883
28891
  }
28884
28892
  }
28885
- }, $ = (j, W, G) => {
28893
+ }, $ = (G, W, H) => {
28886
28894
  const {
28887
28895
  title: K,
28888
- disabled: H
28896
+ disabled: j
28889
28897
  } = w[W], J = E(w[W], W);
28890
- H || (callInterceptor(e.beforeChange, {
28898
+ j || (callInterceptor(e.beforeChange, {
28891
28899
  args: [J],
28892
28900
  done: () => {
28893
28901
  O(W), q();
28894
28902
  }
28895
- }), route(j)), r("clickTab", {
28903
+ }), route(G)), r("clickTab", {
28896
28904
  name: J,
28897
28905
  title: K,
28898
- event: G,
28899
- disabled: H
28906
+ event: H,
28907
+ disabled: j
28900
28908
  });
28901
- }, I = (j) => {
28902
- o = j.isFixed, r("scroll", j);
28903
- }, B = (j) => {
28909
+ }, I = (G) => {
28910
+ o = G.isFixed, r("scroll", G);
28911
+ }, B = (G) => {
28904
28912
  nextTick(() => {
28905
- L(j), q(!0);
28913
+ L(G), q(!0);
28906
28914
  });
28907
28915
  }, A = () => {
28908
- for (let j = 0; j < w.length; j++) {
28916
+ for (let G = 0; G < w.length; G++) {
28909
28917
  const {
28910
28918
  top: W
28911
- } = useRect(w[j].$el);
28919
+ } = useRect(w[G].$el);
28912
28920
  if (W > P.value)
28913
- return j === 0 ? 0 : j - 1;
28921
+ return G === 0 ? 0 : G - 1;
28914
28922
  }
28915
28923
  return w.length - 1;
28916
28924
  }, S = () => {
28917
28925
  if (e.scrollspy && !a) {
28918
- const j = A();
28919
- O(j);
28926
+ const G = A();
28927
+ O(G);
28920
28928
  }
28921
28929
  }, R = () => {
28922
28930
  if (e.type === "line" && w.length)
@@ -28925,15 +28933,15 @@ var stdin_default$5 = defineComponent({
28925
28933
  style: p.lineStyle
28926
28934
  }, null);
28927
28935
  }, T = () => {
28928
- var j, W, G;
28936
+ var G, W, H;
28929
28937
  const {
28930
28938
  type: K,
28931
- border: H,
28939
+ border: j,
28932
28940
  sticky: J
28933
28941
  } = e, Z = [createVNode("div", {
28934
28942
  ref: J ? void 0 : u,
28935
28943
  class: [bem$4("wrap"), {
28936
- [BORDER_TOP_BOTTOM]: K === "line" && H
28944
+ [BORDER_TOP_BOTTOM]: K === "line" && j
28937
28945
  }]
28938
28946
  }, [createVNode("div", {
28939
28947
  ref: f,
@@ -28944,18 +28952,18 @@ var stdin_default$5 = defineComponent({
28944
28952
  }]),
28945
28953
  style: b.value,
28946
28954
  "aria-orientation": "horizontal"
28947
- }, [(j = n["nav-left"]) == null ? void 0 : j.call(n), w.map((X) => X.renderTitle($)), R(), (W = n["nav-right"]) == null ? void 0 : W.call(n)])]), (G = n["nav-bottom"]) == null ? void 0 : G.call(n)];
28955
+ }, [(G = n["nav-left"]) == null ? void 0 : G.call(n), w.map((X) => X.renderTitle($)), R(), (W = n["nav-right"]) == null ? void 0 : W.call(n)])]), (H = n["nav-bottom"]) == null ? void 0 : H.call(n)];
28948
28956
  return J ? createVNode("div", {
28949
28957
  ref: u
28950
28958
  }, [Z]) : Z;
28951
28959
  }, V = () => {
28952
28960
  M(), nextTick(() => {
28953
- var j, W;
28954
- D(!0), (W = (j = x.value) == null ? void 0 : j.swipeRef.value) == null || W.resize();
28961
+ var G, W;
28962
+ D(!0), (W = (G = x.value) == null ? void 0 : G.swipeRef.value) == null || W.resize();
28955
28963
  });
28956
28964
  };
28957
- watch(() => [e.color, e.duration, e.lineWidth, e.lineHeight], M), watch(windowWidth, V), watch(() => e.active, (j) => {
28958
- j !== _.value && L(j);
28965
+ watch(() => [e.color, e.duration, e.lineWidth, e.lineHeight], M), watch(windowWidth, V), watch(() => e.active, (G) => {
28966
+ G !== _.value && L(G);
28959
28967
  }), watch(() => w.length, () => {
28960
28968
  p.inited && (L(e.active), M(), nextTick(() => {
28961
28969
  D(!0);
@@ -28965,7 +28973,7 @@ var stdin_default$5 = defineComponent({
28965
28973
  L(e.active, !0), nextTick(() => {
28966
28974
  p.inited = !0, u.value && (i = useRect(u.value).height), D(!0);
28967
28975
  });
28968
- }, N = (j, W) => r("rendered", j, W);
28976
+ }, N = (G, W) => r("rendered", G, W);
28969
28977
  return useExpose({
28970
28978
  resize: V,
28971
28979
  scrollTo: B
@@ -29002,8 +29010,8 @@ var stdin_default$5 = defineComponent({
29002
29010
  onChange: O
29003
29011
  }, {
29004
29012
  default: () => {
29005
- var j;
29006
- return [(j = n.default) == null ? void 0 : j.call(n)];
29013
+ var G;
29014
+ return [(G = n.default) == null ? void 0 : G.call(n)];
29007
29015
  }
29008
29016
  })]);
29009
29017
  }