@ecan-bi/indicator-library 1.0.37 → 1.0.39

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,7 +1,7 @@
1
- /*! @ecan-bi/indicator-library@1.0.37 */
1
+ /*! @ecan-bi/indicator-library@1.0.39 */
2
2
  import { defineComponent as pe, inject as te, unref as s, computed as H, ref as W, reactive as qn, onMounted as Me, resolveComponent as D, openBlock as g, createElementBlock as B, createVNode as w, withCtx as O, createElementVNode as Y, createTextVNode as ee, toDisplayString as ie, h as Oo, nextTick as hn, Fragment as re, renderList as me, normalizeClass as Kn, createBlock as J, createCommentVNode as se, watch as Ce, resolveDirective as Xn, withModifiers as Ie, withDirectives as Gt, normalizeStyle as Le, vShow as Oa, pushScopeId as zt, popScopeId as Ht, provide as xe, mergeProps as Vt, createSlots as Lr, withKeys as Tr, onBeforeUnmount as Ia, onUnmounted as Ea, Teleport as kr, Transition as Or, toRaw as Ir, resolveDynamicComponent as gn, toHandlers as Io } from "vue";
3
3
  import { debounce as $a, cloneDeep as Te, reduce as Er, pick as yn, without as $r } from "lodash-es";
4
- import { Spin as Qn, TreeSelect as Dr, InputSearch as Da, Pagination as Fr, Modal as Wt, Button as Yt, Select as at, SelectOption as yt, Input as rt, Checkbox as Jn, Collapse as Fa, CollapsePanel as Pa, Tag as Pr, CheckableTag as Nr, message as Xe, DatePicker as Mr, Dropdown as Na, Menu as Ma, MenuItem as Va, SubMenu as Ra, Popover as ja, Tabs as Zn, TabPane as eo, RadioGroup as Ba, Radio as Vr, InputNumber as wn, Row as Rr, Col as jr, Textarea as to, Tree as Br, Form as Ur, FormItem as Ua, Card as Gr, MenuDivider as zr, RadioButton as Hr, Switch as Ga, Table as Wr } from "ant-design-vue";
4
+ import { Spin as Qn, TreeSelect as Dr, InputSearch as Da, Pagination as Fr, Modal as Wt, Button as Yt, Select as at, SelectOption as yt, Input as rt, Checkbox as Jn, Collapse as Fa, CollapsePanel as Pa, Tag as Pr, CheckableTag as Nr, message as Qe, DatePicker as Mr, Dropdown as Na, Menu as Ma, MenuItem as Va, SubMenu as Ra, Popover as ja, Tabs as Zn, TabPane as eo, RadioGroup as Ba, Radio as Vr, InputNumber as wn, Row as Rr, Col as jr, Textarea as to, Tree as Br, Form as Ur, FormItem as Ua, Card as Gr, MenuDivider as zr, RadioButton as Hr, Switch as Ga, Table as Wr } from "ant-design-vue";
5
5
  import qt from "vuedraggable";
6
6
  import "ant-design-vue/es/popover/style";
7
7
  import "ant-design-vue/es/dropdown/style";
@@ -18,9 +18,9 @@ const za = (e, t) => {
18
18
  for (const [n, o] of Object.entries(t))
19
19
  e[n] = o;
20
20
  return e;
21
- }, We = "$request";
21
+ }, Ye = "$request";
22
22
  var ka;
23
- const Re = ((ka = window == null ? void 0 : window.config) == null ? void 0 : ka.indicatorURL) || "", Ye = "INDICATOR_TOKEN", Ha = "DATA_LIST", ut = "SELECTED_COMPONENT", Ee = "GRAPHIC_CONFIG", et = "UPDATE_GRAPHIC_CONFIG", Wa = "SHOW_STYLE_CONFIG", Ya = "REFRESH_DATA", _n = "CHARTS_OPTIONS", qa = "TABLE_OPTIONS", Kr = 18, no = "UPDATE_CHARTS_OPTIONS", oo = "UPDATE_TABLE_OPTIONS", ao = "SOURCE_TYPE", Ka = "CHANGE_CONDITION", Xa = "DATA_VIEW_COLUMNS", bt = "RENDER_USED_COMPONENTS", ro = "UPDATE_USED_COMPONENT", Qa = "MAP_ATTRIBUTE_PROPS", Xr = {
23
+ const Re = ((ka = window == null ? void 0 : window.config) == null ? void 0 : ka.indicatorURL) || "", qe = "INDICATOR_TOKEN", Ha = "DATA_LIST", ut = "SELECTED_COMPONENT", Ee = "GRAPHIC_CONFIG", et = "UPDATE_GRAPHIC_CONFIG", Wa = "SHOW_STYLE_CONFIG", Ya = "REFRESH_DATA", _n = "CHARTS_OPTIONS", qa = "TABLE_OPTIONS", Kr = 18, no = "UPDATE_CHARTS_OPTIONS", oo = "UPDATE_TABLE_OPTIONS", ao = "SOURCE_TYPE", Ka = "CHANGE_CONDITION", Xa = "DATA_VIEW_COLUMNS", bt = "RENDER_USED_COMPONENTS", ro = "UPDATE_USED_COMPONENT", Qa = "MAP_ATTRIBUTE_PROPS", Xr = {
24
24
  name: "柱状图",
25
25
  type: "bar",
26
26
  width: "400px",
@@ -299,7 +299,7 @@ const Re = ((ka = window == null ? void 0 : window.config) == null ? void 0 : ka
299
299
  },
300
300
  setup() {
301
301
  var I;
302
- const e = te(We), t = s(te(Ye)), n = te(Ee), o = te(et), a = H(() => {
302
+ const e = te(Ye), t = s(te(qe)), n = te(Ee), o = te(et), a = H(() => {
303
303
  var E;
304
304
  return ((E = s(n)) == null ? void 0 : E.dataViewId) || null;
305
305
  }), r = W(!1), l = W([]), c = (I = window == null ? void 0 : window.config) == null ? void 0 : I.pageId, i = qn({
@@ -1588,7 +1588,7 @@ const zi = Co, Hi = pe({
1588
1588
  },
1589
1589
  setup() {
1590
1590
  var E;
1591
- const e = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId, t = te(We), n = s(te(Ye)), o = te(ut), a = H(
1591
+ const e = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId, t = te(Ye), n = s(te(qe)), o = te(ut), a = H(
1592
1592
  () => {
1593
1593
  var v;
1594
1594
  return (v = s(o)) == null ? void 0 : v.graphicConfig;
@@ -1808,7 +1808,7 @@ const os = /* @__PURE__ */ he(ts, [["render", ns]]), rr = {
1808
1808
  },
1809
1809
  setup(e, { expose: t }) {
1810
1810
  var I;
1811
- const n = (I = window == null ? void 0 : window.config) == null ? void 0 : I.pageId, o = te(We), a = s(te(Ye)), r = te(Ee), l = te(et), c = H(() => s(r).source), i = H(() => s(r).dataViewId), u = W([]), d = async () => {
1811
+ const n = (I = window == null ? void 0 : window.config) == null ? void 0 : I.pageId, o = te(Ye), a = s(te(qe)), r = te(Ee), l = te(et), c = H(() => s(r).source), i = H(() => s(r).dataViewId), u = W([]), d = async () => {
1812
1812
  try {
1813
1813
  const E = await o.post(`${Re}/diagram/groupvalue`, {
1814
1814
  source: s(c),
@@ -1959,7 +1959,7 @@ const ss = /* @__PURE__ */ he(as, [["render", is], ["__scopeId", "data-v-8e16d20
1959
1959
  },
1960
1960
  setup(e, { expose: t }) {
1961
1961
  var X;
1962
- const n = te(We), o = (X = window == null ? void 0 : window.config) == null ? void 0 : X.pageId, a = s(te(Ye));
1962
+ const n = te(Ye), o = (X = window == null ? void 0 : window.config) == null ? void 0 : X.pageId, a = s(te(qe));
1963
1963
  let r = !1;
1964
1964
  const l = H(() => `自定义分组-${e.item.label}`), c = W(null), i = W([]), u = W([]), d = H(() => {
1965
1965
  const b = s(u).map(
@@ -1984,10 +1984,10 @@ const ss = /* @__PURE__ */ he(as, [["render", is], ["__scopeId", "data-v-8e16d20
1984
1984
  }), m = () => {
1985
1985
  const b = s(c);
1986
1986
  if (!b) {
1987
- Xe.error("创建分组名不能空");
1987
+ Qe.error("创建分组名不能空");
1988
1988
  return;
1989
1989
  }
1990
- s(d).has(b) ? Xe.error("分组名已存在,请重新命名") : (s(u).push({
1990
+ s(d).has(b) ? Qe.error("分组名已存在,请重新命名") : (s(u).push({
1991
1991
  title: b,
1992
1992
  data: []
1993
1993
  }), r = !0);
@@ -1995,16 +1995,16 @@ const ss = /* @__PURE__ */ he(as, [["render", is], ["__scopeId", "data-v-8e16d20
1995
1995
  s(u).splice(b, 1), r = !0;
1996
1996
  }, y = W(null), _ = () => {
1997
1997
  if (s(p) === 0) {
1998
- Xe.error("当前移入分组已选个数为0");
1998
+ Qe.error("当前移入分组已选个数为0");
1999
1999
  return;
2000
2000
  }
2001
2001
  const b = s(y);
2002
2002
  if (b == null) {
2003
- Xe.error("请选择移入分组");
2003
+ Qe.error("请选择移入分组");
2004
2004
  return;
2005
2005
  }
2006
2006
  if (!s(u)[b]) {
2007
- Xe.error("移入分组不存在,请重新选择");
2007
+ Qe.error("移入分组不存在,请重新选择");
2008
2008
  return;
2009
2009
  }
2010
2010
  const S = [], $ = s(u).length;
@@ -2025,7 +2025,7 @@ const ss = /* @__PURE__ */ he(as, [["render", is], ["__scopeId", "data-v-8e16d20
2025
2025
  s(f)[b] = !1;
2026
2026
  }, I = (b, S) => {
2027
2027
  const $ = b.target.value;
2028
- s(d).has($) && Xe.error("组名不能相同,请修改"), s(u)[S].title = $, r = !0;
2028
+ s(d).has($) && Qe.error("组名不能相同,请修改"), s(u)[S].title = $, r = !0;
2029
2029
  }, E = te(Ee), v = te(et), x = H(() => s(E).source), P = H(() => s(E).dataViewId), k = W(!1), R = () => {
2030
2030
  var ue, ce;
2031
2031
  const b = s(u);
@@ -2034,7 +2034,7 @@ const ss = /* @__PURE__ */ he(as, [["render", is], ["__scopeId", "data-v-8e16d20
2034
2034
  const $ = b == null ? void 0 : b.length, z = {};
2035
2035
  for (let ve = 1; ve < $; ve++) {
2036
2036
  const _e = b[ve] || {}, { title: ke, data: Ae } = _e;
2037
- z[ke] = (Ae == null ? void 0 : Ae.map((qe) => qe.label)) || [];
2037
+ z[ke] = (Ae == null ? void 0 : Ae.map((Ke) => Ke.label)) || [];
2038
2038
  }
2039
2039
  const G = ((ce = s(E)[e.type]) == null ? void 0 : ce.slice()) || [], oe = G[e.index];
2040
2040
  oe.customGroup = {
@@ -2363,8 +2363,8 @@ const xs = pe({
2363
2363
  }
2364
2364
  },
2365
2365
  setup(e) {
2366
- var ke, Ae, qe, dt, it, ft, Ct, pt, mt;
2367
- const t = (ke = window == null ? void 0 : window.config) == null ? void 0 : ke.pageId, n = te(Ee), o = te(We), a = s(te(Ye)), r = te(Xa), l = te(bt), c = H(() => {
2366
+ var ke, Ae, Ke, dt, it, ft, Ct, pt, mt;
2367
+ const t = (ke = window == null ? void 0 : window.config) == null ? void 0 : ke.pageId, n = te(Ee), o = te(Ye), a = s(te(qe)), r = te(Xa), l = te(bt), c = H(() => {
2368
2368
  var Z;
2369
2369
  const K = [];
2370
2370
  return (Z = s(l)) == null || Z.forEach((ae) => {
@@ -2424,7 +2424,7 @@ const xs = pe({
2424
2424
  { label: "组件值", value: "component" }
2425
2425
  ], h = W({
2426
2426
  fieldName: (Ae = e.data) == null ? void 0 : Ae.fieldName,
2427
- fieldType: (qe = e.data) == null ? void 0 : qe.fieldType,
2427
+ fieldType: (Ke = e.data) == null ? void 0 : Ke.fieldType,
2428
2428
  rule: (dt = e.data) == null ? void 0 : dt.rule,
2429
2429
  id: (it = e.data) == null ? void 0 : it.id,
2430
2430
  fieldValue: A(),
@@ -3101,7 +3101,7 @@ function nu(e, t, n, o, a, r) {
3101
3101
  ]))), 128))
3102
3102
  ]);
3103
3103
  }
3104
- const ou = /* @__PURE__ */ he(qs, [["render", nu], ["__scopeId", "data-v-f543c690"]]), Qe = (e, t) => {
3104
+ const ou = /* @__PURE__ */ he(qs, [["render", nu], ["__scopeId", "data-v-f543c690"]]), We = (e, t) => {
3105
3105
  if (typeof e == "string" && typeof t == "string")
3106
3106
  return e.toLocaleLowerCase().includes(t.toLocaleLowerCase());
3107
3107
  if (typeof e == "string" && Array.isArray(t)) {
@@ -3190,7 +3190,7 @@ const ou = /* @__PURE__ */ he(qs, [["render", nu], ["__scopeId", "data-v-f543c69
3190
3190
  alias: N,
3191
3191
  globalCondition: !R
3192
3192
  }, { value: L, format: M = "YYYY-MM-DD", operate: j, type: U = "", useCurrentTime: X } = V || {}, b = F || M;
3193
- if (Qe(U, "date")) {
3193
+ if (We(U, "date")) {
3194
3194
  let S;
3195
3195
  if (X ? S = Se() : S = Se(L), j && L) {
3196
3196
  const { mode: $, type: z, value: G } = j;
@@ -3458,7 +3458,7 @@ const ru = pe({
3458
3458
  m && h(), m = !1, E();
3459
3459
  }, x = () => {
3460
3460
  E();
3461
- }, P = te(We), k = s(te(Ye)), R = (V = window == null ? void 0 : window.config) == null ? void 0 : V.pageId, F = W([]);
3461
+ }, P = te(Ye), k = s(te(qe)), R = (V = window == null ? void 0 : window.config) == null ? void 0 : V.pageId, F = W([]);
3462
3462
  xe(Xa, F);
3463
3463
  const N = async (T) => {
3464
3464
  var L;
@@ -3727,7 +3727,7 @@ const vu = /* @__PURE__ */ he(cu, [["render", mu], ["__scopeId", "data-v-009989e
3727
3727
  },
3728
3728
  emits: ["update:value", "change"],
3729
3729
  setup(e, { emit: t }) {
3730
- const n = te(We), o = s(te(Ye)), a = te(Ee), r = H(() => s(a).leftAxisList || []), l = H(
3730
+ const n = te(Ye), o = s(te(qe)), a = te(Ee), r = H(() => s(a).leftAxisList || []), l = H(
3731
3731
  () => s(a).rightAxisList || []
3732
3732
  ), c = H(() => s(a).indicators || []), i = H(
3733
3733
  () => s(a).queryColumnList || []
@@ -4689,10 +4689,10 @@ const Nu = /* @__PURE__ */ he(Du, [["render", Pu], ["__scopeId", "data-v-934b2c0
4689
4689
  V.value = q, T.value = Q, s(ue).showModal();
4690
4690
  }, _e = (q = {}, Q) => {
4691
4691
  V.value = q, T.value = Q, s(ce).showModal(q);
4692
- }, ke = W(), Ae = W("add"), qe = (q, Q, ne) => {
4692
+ }, ke = W(), Ae = W("add"), Ke = (q, Q, ne) => {
4693
4693
  var le;
4694
4694
  Ae.value = q, q === "edit" && (V.value = Q, T.value = ne), (le = s(ke)) == null || le.showModal();
4695
- }, dt = te(We), it = s(te(Ye)), ft = W([]), Ct = H(() => s(n)[e.type] || {}), pt = async () => {
4695
+ }, dt = te(Ye), it = s(te(qe)), ft = W([]), Ct = H(() => s(n)[e.type] || {}), pt = async () => {
4696
4696
  try {
4697
4697
  const q = await dt.post(`${Re}/diagram/dimFields`, {}, {
4698
4698
  headers: {
@@ -4730,7 +4730,7 @@ const Nu = /* @__PURE__ */ he(Du, [["render", Pu], ["__scopeId", "data-v-934b2c0
4730
4730
  }
4731
4731
  }, ae = (q) => {
4732
4732
  const Q = document.createElement("input");
4733
- document.body.appendChild(Q), Q.setAttribute("value", q), Q.select(), document.execCommand("copy"), document.body.removeChild(Q), Xe.success("复制成功");
4733
+ document.body.appendChild(Q), Q.setAttribute("value", q), Q.select(), document.execCommand("copy"), document.body.removeChild(Q), Qe.success("复制成功");
4734
4734
  }, de = te(ut), fe = H(() => e.type === "indicators" && s(de).type === "ecanTable");
4735
4735
  return Me(() => {
4736
4736
  e.type === "formFields" && pt();
@@ -4762,7 +4762,7 @@ const Nu = /* @__PURE__ */ he(Du, [["render", Pu], ["__scopeId", "data-v-934b2c0
4762
4762
  onAggregateChange: $,
4763
4763
  onDateFormatChange: z,
4764
4764
  handleAggregateTitle: G,
4765
- onShowCalculationModal: qe,
4765
+ onShowCalculationModal: Ke,
4766
4766
  handleFilterTitle: oe,
4767
4767
  filterModalRef: ue,
4768
4768
  configNameRef: ce,
@@ -5170,7 +5170,8 @@ const lc = /* @__PURE__ */ he(Mu, [["render", rc], ["__scopeId", "data-v-e2cc931
5170
5170
  proportion: ["indicators"],
5171
5171
  select: ["classificationList", "formFields"],
5172
5172
  checkbox: ["classificationList", "formFields"],
5173
- radio: ["classificationList", "formFields"]
5173
+ radio: ["classificationList", "formFields"],
5174
+ list: ["classificationList", "indicators"]
5174
5175
  }, f = "ecan";
5175
5176
  let p = s(t);
5176
5177
  if (p.startsWith(f)) {
@@ -5207,7 +5208,7 @@ function cc(e, t, n, o, a, r) {
5207
5208
  }, c), null, 16, ["type"]))), 128))
5208
5209
  ]);
5209
5210
  }
5210
- const dc = /* @__PURE__ */ he(sc, [["render", cc], ["__scopeId", "data-v-603b1b70"]]), fc = [
5211
+ const dc = /* @__PURE__ */ he(sc, [["render", cc], ["__scopeId", "data-v-9b00f715"]]), fc = [
5211
5212
  {
5212
5213
  title: "基本属性",
5213
5214
  props: [
@@ -7083,7 +7084,7 @@ function wd(e) {
7083
7084
  var T, L = E === "y" ? $e : De, M = E === "y" ? Ue : Ge, j = E === "y" ? "height" : "width", U = x[E], X = U + _[L], b = U - _[M], S = m ? -k[j] / 2 : 0, $ = A === At ? P[j] : k[j], z = A === At ? -k[j] : -P[j], G = t.elements.arrow, oe = m && G ? So(G) : {
7084
7085
  width: 0,
7085
7086
  height: 0
7086
- }, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : pr(), ce = ue[L], ve = ue[M], _e = Pt(0, P[j], oe[j]), ke = I ? P[j] / 2 - S - _e - ce - F.mainAxis : $ - _e - ce - F.mainAxis, Ae = I ? -P[j] / 2 + S + _e + ve + F.mainAxis : z + _e + ve + F.mainAxis, qe = t.elements.arrow && Qt(t.elements.arrow), dt = qe ? E === "y" ? qe.clientTop || 0 : qe.clientLeft || 0 : 0, it = (T = N == null ? void 0 : N[E]) != null ? T : 0, ft = U + ke - it - dt, Ct = U + Ae - it, pt = Pt(m ? Cn(X, ft) : X, U, m ? ht(b, Ct) : b);
7087
+ }, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : pr(), ce = ue[L], ve = ue[M], _e = Pt(0, P[j], oe[j]), ke = I ? P[j] / 2 - S - _e - ce - F.mainAxis : $ - _e - ce - F.mainAxis, Ae = I ? -P[j] / 2 + S + _e + ve + F.mainAxis : z + _e + ve + F.mainAxis, Ke = t.elements.arrow && Qt(t.elements.arrow), dt = Ke ? E === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, it = (T = N == null ? void 0 : N[E]) != null ? T : 0, ft = U + ke - it - dt, Ct = U + Ae - it, pt = Pt(m ? Cn(X, ft) : X, U, m ? ht(b, Ct) : b);
7087
7088
  x[E] = pt, V[E] = pt - U;
7088
7089
  }
7089
7090
  if (c) {
@@ -8012,7 +8013,7 @@ function xa(e, t) {
8012
8013
  }
8013
8014
  return n;
8014
8015
  }
8015
- function Ke(e) {
8016
+ function Xe(e) {
8016
8017
  for (var t = 1; t < arguments.length; t++) {
8017
8018
  var n = arguments[t] != null ? arguments[t] : {};
8018
8019
  t % 2 ? xa(Object(n), !0).forEach(function(o) {
@@ -8037,7 +8038,7 @@ var mn = pe({ name: "Picker", components: { Colors: pn, Saturation: sn, Hue: un,
8037
8038
  return {};
8038
8039
  } } }, emits: ["change", "update:value"], setup: function(e, t) {
8039
8040
  var n = t.emit, o = H(function() {
8040
- return Ke(Ke({}, e.style), {}, { width: e.showAlpha ? "230px" : "205px" });
8041
+ return Xe(Xe({}, e.style), {}, { width: e.showAlpha ? "230px" : "205px" });
8041
8042
  }), a = H(function() {
8042
8043
  return e.showAlpha ? 165 : 140;
8043
8044
  }), r = W(), l = W(), c = W(), i = function() {
@@ -8054,7 +8055,7 @@ var mn = pe({ name: "Picker", components: { Colors: pn, Saturation: sn, Hue: un,
8054
8055
  e.value !== s(c) && (r.value = i());
8055
8056
  }, { immediate: !0 }), Ce(r, function(A, I) {
8056
8057
  var E = "";
8057
- A != null ? (E = wr(Ke({}, A), e.format, e.showAlpha), l.value = Ke({}, A)) : l.value = null, c.value = E;
8058
+ A != null ? (E = wr(Xe({}, A), e.format, e.showAlpha), l.value = Xe({}, A)) : l.value = null, c.value = E;
8058
8059
  var v = i();
8059
8060
  JSON.stringify(A) !== JSON.stringify(v) && JSON.stringify(A) !== JSON.stringify(I) && n("change", E);
8060
8061
  }, { immediate: !0 });
@@ -8108,11 +8109,11 @@ var mn = pe({ name: "Picker", components: { Colors: pn, Saturation: sn, Hue: un,
8108
8109
  }
8109
8110
  };
8110
8111
  return { h: u, s: d, v: f, a: p, rgbStr: C, onSelectSaturation: function(A, I) {
8111
- _.value = -1, s(r) == null ? r.value = { h: s(u), s: A, v: I, a: s(p) } : r.value = Ke(Ke({}, s(r)), {}, { s: A, v: I });
8112
+ _.value = -1, s(r) == null ? r.value = { h: s(u), s: A, v: I, a: s(p) } : r.value = Xe(Xe({}, s(r)), {}, { s: A, v: I });
8112
8113
  }, onSelectHue: function(A) {
8113
- _.value = -1, s(r) == null && (r.value = { h: A, s: s(d), v: s(f), a: s(p) }), r.value = Ke(Ke({}, s(r)), {}, { h: A });
8114
+ _.value = -1, s(r) == null && (r.value = { h: A, s: s(d), v: s(f), a: s(p) }), r.value = Xe(Xe({}, s(r)), {}, { h: A });
8114
8115
  }, onSelectAlpha: function(A) {
8115
- _.value = -1, s(r) == null ? r.value = { h: s(u), s: s(d), v: s(f), a: A } : r.value = Ke(Ke({}, s(r)), {}, { a: A });
8116
+ _.value = -1, s(r) == null ? r.value = { h: s(u), s: s(d), v: s(f), a: A } : r.value = Xe(Xe({}, s(r)), {}, { a: A });
8116
8117
  }, label: y, colorValue: c, pickerStyle: o, inputWidth: a, onInputChange: function(A) {
8117
8118
  _.value = -1, c.value = A;
8118
8119
  }, handleChange: function() {
@@ -8429,7 +8430,7 @@ const Qd = /* @__PURE__ */ he(qd, [["render", Xd], ["__scopeId", "data-v-e2113f4
8429
8430
  onColorsChange: n,
8430
8431
  max: o,
8431
8432
  onOverflowMax: () => {
8432
- Xe.warn(`已经超出最大添加个数:${o.value}`);
8433
+ Qe.warn(`已经超出最大添加个数:${o.value}`);
8433
8434
  }
8434
8435
  };
8435
8436
  }
@@ -8503,7 +8504,7 @@ const tf = /* @__PURE__ */ he(Jd, [["render", ef], ["__scopeId", "data-v-b2be832
8503
8504
  typeof p == "string" && u.push(p);
8504
8505
  n.value = u;
8505
8506
  } else
8506
- Xe.warn("已达到最大上限");
8507
+ Qe.warn("已达到最大上限");
8507
8508
  },
8508
8509
  useComponentType: (u) => ({
8509
8510
  input: "aInput",
@@ -8525,7 +8526,7 @@ const tf = /* @__PURE__ */ he(Jd, [["render", ef], ["__scopeId", "data-v-b2be832
8525
8526
  const d = (f = e.value) == null ? void 0 : f.slice();
8526
8527
  if (Array.isArray(d)) {
8527
8528
  if (d.length === 1) {
8528
- Xe.warn("已经是最后一条数据,无法删除");
8529
+ Qe.warn("已经是最后一条数据,无法删除");
8529
8530
  return;
8530
8531
  }
8531
8532
  d.splice(u, 1), n.value = d;
@@ -8693,7 +8694,7 @@ const pf = /* @__PURE__ */ he(df, [["render", ff]]), mf = pe({
8693
8694
  if (Array.isArray(p)) {
8694
8695
  const m = p.find((C) => {
8695
8696
  const { onlyType: y, excludeType: _ } = C;
8696
- return y == null && _ == null ? !0 : y ? Qe(s(a), y) : _ ? !Qe(s(a), _) : !1;
8697
+ return y == null && _ == null ? !0 : y ? We(s(a), y) : _ ? !We(s(a), _) : !1;
8697
8698
  });
8698
8699
  m && l({ result: u, value: d, key: f, mapAttributeProp: m });
8699
8700
  } else
@@ -8703,7 +8704,7 @@ const pf = /* @__PURE__ */ he(df, [["render", ff]]), mf = pe({
8703
8704
  {}
8704
8705
  );
8705
8706
  }),
8706
- lowerCaseIncludes: Qe
8707
+ lowerCaseIncludes: We
8707
8708
  };
8708
8709
  }
8709
8710
  });
@@ -9272,7 +9273,7 @@ const If = /* @__PURE__ */ he(Tf, [["render", Of], ["__scopeId", "data-v-afebddc
9272
9273
  };
9273
9274
  }).filter(({ props: v }) => Object.keys(v).length > 0)), p = (v, x) => {
9274
9275
  const { onlyType: P, excludeType: k } = v;
9275
- return P == null && k == null ? !0 : P ? Qe(x, P) : k ? !Qe(x, k) : !1;
9276
+ return P == null && k == null ? !0 : P ? We(x, P) : k ? !We(x, k) : !1;
9276
9277
  }, m = (v, x) => (x == null || x.stopPropagation(), v), C = (v, x) => {
9277
9278
  x != null && r({
9278
9279
  [x]: v
@@ -9536,7 +9537,7 @@ const Ff = /* @__PURE__ */ he(Ef, [["render", Df], ["__scopeId", "data-v-14fce41
9536
9537
  if (Object.prototype.hasOwnProperty.call(X, b)) {
9537
9538
  const S = s(a)[b];
9538
9539
  if (Array.isArray(S)) {
9539
- const $ = S.find((z) => Qe(U, z.onlyType));
9540
+ const $ = S.find((z) => We(U, z.onlyType));
9540
9541
  $ && T.push({
9541
9542
  label: $.label,
9542
9543
  value: b
@@ -9723,8 +9724,8 @@ const Ff = /* @__PURE__ */ he(Ef, [["render", Df], ["__scopeId", "data-v-14fce41
9723
9724
  let T = !1;
9724
9725
  const { id: L = "" } = e.control;
9725
9726
  if (L) {
9726
- const M = s(r).find((j) => j.id === L);
9727
- (M == null ? void 0 : M.type) === "ecanTable" && (T = !0);
9727
+ const M = s(r).find((U) => U.id === L), j = ["table", "bar", "combograph", "line", "pie", "radar", "scatter", "list"];
9728
+ We(M == null ? void 0 : M.type, j) && (T = !0);
9728
9729
  }
9729
9730
  return T;
9730
9731
  }), k = H(() => {
@@ -9843,7 +9844,7 @@ function Mf(e, t, n, o, a, r) {
9843
9844
  }, null, 8, ["onClick"])
9844
9845
  ]);
9845
9846
  }
9846
- const Vf = /* @__PURE__ */ he(Pf, [["render", Mf], ["__scopeId", "data-v-b1ebccb6"]]), Rf = pe({
9847
+ const Vf = /* @__PURE__ */ he(Pf, [["render", Mf], ["__scopeId", "data-v-00350e9a"]]), Rf = pe({
9847
9848
  name: "ControlGroup",
9848
9849
  props: {
9849
9850
  intersection: {
@@ -10012,7 +10013,7 @@ const zf = /* @__PURE__ */ he(Rf, [["render", Gf], ["__scopeId", "data-v-c5c0325
10012
10013
  preview: x = !1
10013
10014
  // 预览开关
10014
10015
  } = l || {};
10015
- p == null && (Qe(c, "table") ? p = "1" : p = "2");
10016
+ p == null && (We(c, "table") ? p = "1" : p = "2");
10016
10017
  let P;
10017
10018
  if (Array.isArray(C) && C.length > 0) {
10018
10019
  const N = C.length;
@@ -10705,9 +10706,9 @@ const zf = /* @__PURE__ */ he(Rf, [["render", Gf], ["__scopeId", "data-v-c5c0325
10705
10706
  }
10706
10707
  },
10707
10708
  setup(e, { expose: t }) {
10708
- const n = H(() => e.chartsOptions ? s(e.chartsOptions) : i), o = H(() => e.graphicConfig ? s(e.graphicConfig) : c), a = te(We);
10709
+ const n = H(() => e.chartsOptions ? s(e.chartsOptions) : i), o = H(() => e.graphicConfig ? s(e.graphicConfig) : c), a = te(Ye);
10709
10710
  let r = null;
10710
- const l = te(Ye) || "", c = te(Ee) || {}, i = te(_n) || {}, u = W(null), d = W(null), f = W(), p = W(!1), m = W(!1), C = H(() => m.value ? Kr : 12), y = W({}), _ = W(), h = H(() => {
10711
+ const l = te(qe) || "", c = te(Ee) || {}, i = te(_n) || {}, u = W(null), d = W(null), f = W(), p = W(!1), m = W(!1), C = H(() => m.value ? Kr : 12), y = W({}), _ = W(), h = H(() => {
10711
10712
  const R = s(n.value);
10712
10713
  if ((R == null ? void 0 : R.type) === "customGraph")
10713
10714
  return _.value;
@@ -10902,7 +10903,7 @@ const xr = /* @__PURE__ */ he(Zf, [["render", np], ["__scopeId", "data-v-8049fed
10902
10903
  "height"
10903
10904
  )
10904
10905
  );
10905
- Qe(v.type, c) ? (x.height = v.height, x.width = v.width) : x.height = "290px";
10906
+ We(v.type, c) ? (x.height = v.height, x.width = v.width) : x.height = "290px";
10906
10907
  const P = Te(s(r));
10907
10908
  return P.pageMode = "design", P.preview = !0, {
10908
10909
  ...x,
@@ -10917,7 +10918,7 @@ const xr = /* @__PURE__ */ he(Zf, [["render", np], ["__scopeId", "data-v-8049fed
10917
10918
  }
10918
10919
  const d = H(() => {
10919
10920
  let v = !0;
10920
- return Qe(s(i).type, c) && (v = !1), v;
10921
+ return We(s(i).type, c) && (v = !1), v;
10921
10922
  }), f = H(() => {
10922
10923
  var v;
10923
10924
  return (v = s(i)) == null ? void 0 : v.type;
@@ -10927,7 +10928,7 @@ const xr = /* @__PURE__ */ he(Zf, [["render", np], ["__scopeId", "data-v-8049fed
10927
10928
  }), m = (v) => {
10928
10929
  const x = v === "1";
10929
10930
  x && f.value === "table" && I(), window.changeShowTable && window.changeShowTable(x), v === "3" && A();
10930
- }, C = W(), y = te(We), _ = s(te(Ye)), h = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId;
10931
+ }, C = W(), y = te(Ye), _ = s(te(qe)), h = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId;
10931
10932
  function A() {
10932
10933
  const {
10933
10934
  leftAxisList: v = [],
@@ -11157,14 +11158,14 @@ const ip = /* @__PURE__ */ he(op, [["render", lp], ["__scopeId", "data-v-daafaca
11157
11158
  tableOptions: s(f),
11158
11159
  tableColumns: s(c)
11159
11160
  });
11160
- window.getIndicatorData = I, e.request && xe(We, e.request), xe(Ha, {
11161
+ window.getIndicatorData = I, e.request && xe(Ye, e.request), xe(Ha, {
11161
11162
  setDataList: m,
11162
11163
  getDataList: h
11163
11164
  });
11164
11165
  const E = (v) => {
11165
11166
  n("updateUsedComponent", v);
11166
11167
  };
11167
- return xe(ut, l), xe(Ee, u), xe(_n, d), xe(qa, f), xe(ao, a), xe(Wa, i), xe(Ye, r), xe(et, C), xe(no, y), xe(oo, _), xe(bt, e.renderUsedComponentList), xe(ro, E), xe(Qa, e.mapAttributeProps), t({
11168
+ return xe(ut, l), xe(Ee, u), xe(_n, d), xe(qa, f), xe(ao, a), xe(Wa, i), xe(qe, r), xe(et, C), xe(no, y), xe(oo, _), xe(bt, e.renderUsedComponentList), xe(ro, E), xe(Qa, e.mapAttributeProps), t({
11168
11169
  graphicConfig: u,
11169
11170
  chartsOptions: d,
11170
11171
  updateIndicatorData: A