@ecan-bi/datav 1.2.59 → 1.2.61

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.2.59 */
1
+ /*! @ecan-bi/datav@1.2.61 */
2
2
  import { watch as fe, inject as ee, computed as X, unref as z, watchEffect as Ro, defineComponent as ye, shallowRef as On, toRefs as hi, onMounted as Ht, onUnmounted as Tn, h as An, nextTick as kt, createVNode as te, resolveComponent as re, openBlock as $, createElementBlock as K, createBlock as Je, renderSlot as sn, withCtx as se, ref as G, normalizeStyle as ae, createCommentVNode as He, provide as gt, onBeforeUnmount as ko, useCssVars as pr, toDisplayString as Le, Fragment as Qe, renderList as rt, createElementVNode as ge, normalizeClass as Tt, pushScopeId as _n, popScopeId as En, createTextVNode as pt, resolveDynamicComponent as vi, mergeProps as Io, toHandlers as wr, withModifiers as Sr, reactive as gi, Teleport as xi, withDirectives as Ar, vModelText as mi, vShow as yi } from "vue";
3
3
  import { throttle as bi, init as pi, use as Dt, registerMap as cn } from "echarts/core";
4
4
  import { addListener as wi, removeListener as Si } from "resize-detector";
@@ -1213,7 +1213,14 @@ const hl = ((br = window == null ? void 0 : window.config) == null ? void 0 : br
1213
1213
  const r = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map(), i = e.length;
1214
1214
  for (let u = 0; u < i; u++) {
1215
1215
  const x = e[u], d = x[t] || "", f = x[o] || "", v = x[a] || "";
1216
- if (r.add(d), s.has(v)) {
1216
+ if (r.has(d)) {
1217
+ let h = "";
1218
+ for (let w = 0; w < u; w++)
1219
+ h += " ";
1220
+ r.add(`${h}${d}${h}`);
1221
+ } else
1222
+ r.add(d);
1223
+ if (s.has(v)) {
1217
1224
  const h = s.get(v);
1218
1225
  h.push({ name: d, value: f, ...x }), s.set(v, h);
1219
1226
  } else
@@ -7337,7 +7344,13 @@ const wc = (e) => e.replace(/\\n/g, `
7337
7344
  const a = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), s = e.length, i = o.length;
7338
7345
  for (let u = 0; u < s; u++) {
7339
7346
  const x = e[u], d = x[t];
7340
- a.add(d);
7347
+ if (a.has(d)) {
7348
+ let f = "";
7349
+ for (let v = 0; v < u; v++)
7350
+ f += " ";
7351
+ a.add(`${f}${d}${f}`);
7352
+ } else
7353
+ a.add(d);
7341
7354
  for (let f = 0; f < i; f++) {
7342
7355
  const v = o[f], { label: h, value: w } = v, k = { ...x, value: x[w] };
7343
7356
  if (r.has(h)) {
@@ -8136,9 +8149,9 @@ const Ic = /* @__PURE__ */ be(Bc, [["render", Rc], ["__scopeId", "data-v-a722e72
8136
8149
  }
8137
8150
  }), fr = () => {
8138
8151
  pr((e) => ({
8139
- "7ebd2cd9": e.vFontSize,
8140
- "01087946": e.textIndent,
8141
- b1dc74c4: e.percentageSide
8152
+ "07409925": e.vFontSize,
8153
+ ee1ad30c: e.textIndent,
8154
+ "74fbae5c": e.percentageSide
8142
8155
  }));
8143
8156
  }, dr = jo.setup;
8144
8157
  jo.setup = dr ? (e, n) => (fr(), dr(e, n)) : fr;
@@ -8159,7 +8172,7 @@ function Fc(e, n, t, o, a, r) {
8159
8172
  onClick: n[0] || (n[0] = (...i) => e.click && e.click(...i))
8160
8173
  }, null, 12, Mc));
8161
8174
  }
8162
- const zc = /* @__PURE__ */ be(jo, [["render", Fc], ["__scopeId", "data-v-ae3155c8"]]), Pc = pe(zc), Nc = ye({
8175
+ const zc = /* @__PURE__ */ be(jo, [["render", Fc], ["__scopeId", "data-v-f2351e9b"]]), Pc = pe(zc), Nc = ye({
8163
8176
  name: "EcanScrollText",
8164
8177
  setup() {
8165
8178
  return {
@@ -13181,7 +13194,9 @@ const pd = /* @__PURE__ */ be(md, [["render", bd], ["__scopeId", "data-v-a2045b9
13181
13194
  }
13182
13195
  }), i = Ee(e)("click", () => {
13183
13196
  const c = a(e.id);
13184
- if (r(e.id, { ...c, RECORD: e.data || {} }), !e.linkPage && !e.href)
13197
+ if (r(e.id, { ...c, RECORD: e.data || {} }), setTimeout(() => {
13198
+ r(e.id, { ...c, RECORD: {} });
13199
+ }, 0), !e.linkPage && !e.href)
13185
13200
  return;
13186
13201
  const l = e.linkPage || "", u = e0(z(o), l), x = e.href;
13187
13202
  let d = x || u;
@@ -13214,7 +13229,7 @@ function kd(e, n, t, o, a, r) {
13214
13229
  style: ae(e.style)
13215
13230
  }, " 请上传图片 ", 4));
13216
13231
  }
13217
- const Td = /* @__PURE__ */ be(Ad, [["render", kd], ["__scopeId", "data-v-7d61a4e0"]]), _d = pe(Td), K0 = {
13232
+ const Td = /* @__PURE__ */ be(Ad, [["render", kd], ["__scopeId", "data-v-3665dde7"]]), _d = pe(Td), K0 = {
13218
13233
  ...ke,
13219
13234
  name: "网页",
13220
13235
  keyName: "网页",