@ecan-bi/indicator-library 1.1.28 → 1.1.30

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.
@@ -1,7 +1,7 @@
1
- /*! @ecan-bi/indicator-library@1.1.28 */
1
+ /*! @ecan-bi/indicator-library@1.1.30 */
2
2
  import { createVNode as p, defineComponent as fe, inject as ee, unref as a, computed as X, ref as z, watch as Ae, resolveComponent as S, openBlock as m, createBlock as U, withCtx as f, createElementVNode as j, createTextVNode as P, createElementBlock as N, Fragment as ae, renderList as we, normalizeStyle as $e, toDisplayString as ue, createCommentVNode as Q, resolveDirective as co, withModifiers as Ne, withDirectives as zt, onMounted as qe, vShow as Un, pushScopeId as ut, popScopeId as ct, provide as Jt, createSlots as Fa, normalizeClass as to, reactive as fl, mergeProps as Ut, withKeys as ml, nextTick as zo, onBeforeUnmount as vl, onUnmounted as Ia, Teleport as bl, Transition as hl, toRaw as yl, resolveDynamicComponent as mn, toHandlers as Ho, defineAsyncComponent as gl } from "vue";
3
3
  import { Modal as bt, Button as Dt, Select as Me, SelectOption as ht, Input as Je, Checkbox as po, Collapse as fo, CollapsePanel as mo, Tag as Cl, CheckableTag as _l, message as We, DatePicker as wl, Dropdown as Hn, Menu as Wn, MenuItem as Yn, Popover as yn, Tabs as Kn, TabPane as qn, RadioGroup as vo, Radio as kl, InputNumber as Ft, Row as Al, Col as Sl, Textarea as bo, InputSearch as Tl, Tree as Ol, RadioButton as $a, Form as El, FormItem as xa, Tooltip as Ll, Card as Dl, SubMenu as Fl, MenuDivider as Il, Switch as Na, Slider as $l, Table as Xn } from "ant-design-vue";
4
- import { R as _t, f as it, I as wt, G as Pe, U as Ze, a as st, _ as be, h as Ma, C as Qn, S as rt, i as ho, e as Pa, j as un, k as Ba, l as jn, y as Ee, n as cn, o as Ht, p as Va, q as Ra, r as Ua, T as xl, s as ja, t as Nl, M as Ml, u as Ga, v as Pl, E as Bl, w as Vl, x as Rl, z as Ul, A as jl, P as Gl, B as zl } from "./index-8013cefe.mjs";
4
+ import { R as _t, f as it, I as wt, G as Pe, U as Ze, a as st, _ as be, h as Ma, C as Qn, S as rt, i as ho, e as Pa, j as un, k as Ba, l as jn, y as Oe, n as cn, o as Ht, p as Va, q as Ra, r as Ua, T as xl, s as ja, t as Nl, M as Ml, u as Ga, v as Pl, E as Bl, w as Vl, x as Rl, z as Ul, A as jl, P as Gl, B as zl } from "./index-fff1a2c4.mjs";
5
5
  import Jn from "vuedraggable";
6
6
  import { cloneDeep as ve, reduce as Wo, debounce as Hl, pick as Gn, without as Wl } from "lodash-es";
7
7
  import { A as Xe } from "./AntdIcon-7ebd41b4.mjs";
@@ -1414,7 +1414,7 @@ const hr = fe({
1414
1414
  var On;
1415
1415
  return Ve.key === ((On = e.data) == null ? void 0 : On.activeKey);
1416
1416
  });
1417
- Bt && Oe(Bt, e.data);
1417
+ Bt && Ee(Bt, e.data);
1418
1418
  }
1419
1419
  } else
1420
1420
  H.value = ((ln = (an = e.data) == null ? void 0 : an.fieldValue) == null ? void 0 : ln.split(",")) || [];
@@ -1473,7 +1473,7 @@ const hr = fe({
1473
1473
  }, Fe = () => {
1474
1474
  a(k).activeKey = 5, a(k).dateCalcTypes = [a(v).unit], a(k).calcWays[0] = `${a(v).expression}-${a(v).around}`, M.value = !1;
1475
1475
  };
1476
- function Oe(te, ie) {
1476
+ function Ee(te, ie) {
1477
1477
  const { radioValue: de = "", calcWays: he = [] } = ie;
1478
1478
  te.radioValue = de, he != null && he.length && (de === "1" ? te.beforeNum = Math.abs(he[0]) : de === "2" && (te.afterNum = he[0]));
1479
1479
  }
@@ -3181,7 +3181,7 @@ const js = /* @__PURE__ */ be(ws, [["render", Us], ["__scopeId", "data-v-ea364ea
3181
3181
  const O = ((oe = a(o)[e.type]) == null ? void 0 : oe.slice()) || [], { label: F, builtInFormula: I } = a(v) || {}, K = {};
3182
3182
  if (I === "DATE_OFFSET" && (K.builtInCalcWay = `${a(T).value}-${a(T).unit}-${a(T).around}`), e.mode === "add") {
3183
3183
  const D = Le();
3184
- Ee(a(s).type, ["indexPanel"]) && O.forEach((w) => {
3184
+ Oe(a(s).type, ["indexPanel"]) && O.forEach((w) => {
3185
3185
  w.show = !1;
3186
3186
  }), O.push({
3187
3187
  ...a(v),
@@ -3787,7 +3787,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
3787
3787
  return ne;
3788
3788
  }, T = X(() => {
3789
3789
  var R;
3790
- return Ee((R = a(Ve)) == null ? void 0 : R.type, ["dataSelect"]) && e.type === "indicators";
3790
+ return Oe((R = a(Ve)) == null ? void 0 : R.type, ["dataSelect"]) && e.type === "indicators";
3791
3791
  }), L = (R = "{}") => {
3792
3792
  var q, ne;
3793
3793
  try {
@@ -3795,7 +3795,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
3795
3795
  if (!b(re))
3796
3796
  return;
3797
3797
  const _e = ((q = a(o)[e.type]) == null ? void 0 : q.slice()) || [];
3798
- (e.type === "seriesList" || e.type === "specialIndicatorList" || e.type === "classificationList" && !Ee(a(Ve).type, ["list", "circulate", "scatter"]) || a(T) || Ee(a(Ve).type, ["indexPanel"])) && _e.forEach((ke) => {
3798
+ (e.type === "seriesList" || e.type === "specialIndicatorList" || e.type === "classificationList" && !Oe(a(Ve).type, ["list", "circulate", "scatter"]) || a(T) || Oe(a(Ve).type, ["indexPanel"])) && _e.forEach((ke) => {
3799
3799
  ke.show = !1;
3800
3800
  }), v(_e, re), re.randomKey = Le(), _e.push(re);
3801
3801
  const { type: Se } = e, Ce = {};
@@ -3862,7 +3862,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
3862
3862
  const g = (R, q) => {
3863
3863
  var _e, Se;
3864
3864
  const ne = (_e = R.target) == null ? void 0 : _e.checked, re = ((Se = a(o)[e.type]) == null ? void 0 : Se.slice()) || [];
3865
- (e.type === "seriesList" || e.type === "classificationList" && !Ee(a(Ve).type, ["list", "circulate"]) || a(T) || Ee(a(Ve).type, ["indexPanel"])) && re.forEach((Ce) => {
3865
+ (e.type === "seriesList" || e.type === "classificationList" && !Oe(a(Ve).type, ["list", "circulate"]) || a(T) || Oe(a(Ve).type, ["indexPanel"])) && re.forEach((Ce) => {
3866
3866
  Ce.show = !1;
3867
3867
  }), re[q].show = ne, l({
3868
3868
  [e.type]: re
@@ -4070,6 +4070,10 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4070
4070
  {
4071
4071
  name: "计数",
4072
4072
  value: "COUNT"
4073
+ },
4074
+ {
4075
+ name: "聚合",
4076
+ value: "GROUP"
4073
4077
  }
4074
4078
  ], Be = [
4075
4079
  {
@@ -4094,7 +4098,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4094
4098
  ne[q].gaugeIndType = R, l({
4095
4099
  [e.type]: ne
4096
4100
  });
4097
- }, Oe = (R, q) => {
4101
+ }, Ee = (R, q) => {
4098
4102
  var re;
4099
4103
  const ne = ((re = a(o)[e.type]) == null ? void 0 : re.slice()) || [];
4100
4104
  for (const _e of ne)
@@ -4140,7 +4144,8 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4140
4144
  AVG: "平均数",
4141
4145
  MIN: "最小值",
4142
4146
  MAX: "最大值",
4143
- COUNT: "计数"
4147
+ COUNT: "计数",
4148
+ GROUP: "聚合"
4144
4149
  }[R]})`, Nt = (R) => {
4145
4150
  const q = {
4146
4151
  ASC: "升序",
@@ -4167,7 +4172,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4167
4172
  }, he = ee(_t), ye = a(ee(wt)), Te = z([]), Ue = X(() => a(o)[e.type] || {});
4168
4173
  Ae(o, () => {
4169
4174
  var R;
4170
- Ee(a(Ve).type, ["scatter", "valueline"]) && ((R = a(o)) != null && R.indicators) && (Te.value = a(o).indicators.map((q) => ({
4175
+ Oe(a(Ve).type, ["scatter", "valueline"]) && ((R = a(o)) != null && R.indicators) && (Te.value = a(o).indicators.map((q) => ({
4171
4176
  label: q.label,
4172
4177
  value: q.label
4173
4178
  })));
@@ -4176,7 +4181,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4176
4181
  });
4177
4182
  const tt = z(""), gt = async () => {
4178
4183
  const { source: R } = a(o);
4179
- if (R !== "EDV_DATA_SET" || !Ee(a(Ve).type, "select"))
4184
+ if (R !== "EDV_DATA_SET" || !Oe(a(Ve).type, "select"))
4180
4185
  return;
4181
4186
  const { classificationList: q = [] } = a(o), ne = q.find((Ce) => Ce.show);
4182
4187
  if (ne != null && ne.parentId) {
@@ -4202,7 +4207,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4202
4207
  }
4203
4208
  }, qt = async () => {
4204
4209
  const { source: R } = a(o);
4205
- if (!Ee(a(Ve).type, ["scatter", "valueline"]))
4210
+ if (!Oe(a(Ve).type, ["scatter", "valueline"]))
4206
4211
  try {
4207
4212
  if (R === "EDV_DATA_SET")
4208
4213
  await gt();
@@ -4250,7 +4255,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4250
4255
  document.body.appendChild(q), q.setAttribute("value", R), q.select(), document.execCommand("copy"), document.body.removeChild(q), We.success("复制成功");
4251
4256
  }, Ve = ee(rt), On = X(() => e.type === "indicators" && a(Ve).type === "ecanTable"), ul = X(() => !!["indicators", "classificationList", "leftAxisList", "rightAxisList"].includes(e.type)), cl = X(() => {
4252
4257
  var R, q;
4253
- return Ee((R = a(Ve)) == null ? void 0 : R.type, ["table"]) && ((q = a(o)) == null ? void 0 : q.isIndexSet);
4258
+ return Oe((R = a(Ve)) == null ? void 0 : R.type, ["table"]) && ((q = a(o)) == null ? void 0 : q.isIndexSet);
4254
4259
  }), dl = X(() => !Lt.includes(e.type) && !a(T)), pl = (R) => R ? i[R] : "--";
4255
4260
  return qe(() => {
4256
4261
  e.type === "formFields" && (a(Ve).type === "ecanDataSelect" ? Te.value = [
@@ -4296,7 +4301,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4296
4301
  onAggregateChange: ze,
4297
4302
  onShowHideChange: Ge,
4298
4303
  onIndTypeChange: Fe,
4299
- onBudgetTypeChange: Oe,
4304
+ onBudgetTypeChange: Ee,
4300
4305
  onDistinctChange: At,
4301
4306
  onDateFormatChange: Yt,
4302
4307
  onIndSortChange: wn,
@@ -4331,7 +4336,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4331
4336
  dataSelectIndicators: T,
4332
4337
  showDimByCountModal: Tn,
4333
4338
  selectedComponent: Ve,
4334
- lowerCaseIncludes: Ee,
4339
+ lowerCaseIncludes: Oe,
4335
4340
  isShowCalcBtn: dl,
4336
4341
  isIndexSet: cl,
4337
4342
  compositeIndicator: y,
@@ -4340,7 +4345,7 @@ const Ys = /* @__PURE__ */ be(Gs, [["render", Ws], ["__scopeId", "data-v-7a7bcf2
4340
4345
  };
4341
4346
  }
4342
4347
  });
4343
- const It = (e) => (ut("data-v-6a13635a"), e = e(), ct(), e), qs = { class: "title" }, Xs = { class: "title-text" }, Qs = { class: "field-wrap" }, Js = { class: "field-item" }, Zs = /* @__PURE__ */ It(() => /* @__PURE__ */ j("div", { class: "item-label" }, "名称:", -1)), eu = { class: "field-item" }, tu = /* @__PURE__ */ It(() => /* @__PURE__ */ j("div", { class: "item-label" }, "值:", -1)), nu = {
4348
+ const It = (e) => (ut("data-v-380e7c8a"), e = e(), ct(), e), qs = { class: "title" }, Xs = { class: "title-text" }, Qs = { class: "field-wrap" }, Js = { class: "field-item" }, Zs = /* @__PURE__ */ It(() => /* @__PURE__ */ j("div", { class: "item-label" }, "名称:", -1)), eu = { class: "field-item" }, tu = /* @__PURE__ */ It(() => /* @__PURE__ */ j("div", { class: "item-label" }, "值:", -1)), nu = {
4344
4349
  key: 0,
4345
4350
  class: "field-item"
4346
4351
  }, ou = /* @__PURE__ */ It(() => /* @__PURE__ */ j("div", { class: "item-label" }, "父节点:", -1)), au = {
@@ -4855,7 +4860,7 @@ function _u(e, t, n, o, l, s) {
4855
4860
  _: 1
4856
4861
  }, 8, ["head-style"]));
4857
4862
  }
4858
- const wu = /* @__PURE__ */ be(Ks, [["render", _u], ["__scopeId", "data-v-6a13635a"]]), ku = {
4863
+ const wu = /* @__PURE__ */ be(Ks, [["render", _u], ["__scopeId", "data-v-380e7c8a"]]), ku = {
4859
4864
  classificationList: {
4860
4865
  title: "分类"
4861
4866
  },
@@ -10161,7 +10166,7 @@ function Bc(e) {
10161
10166
  var Z, O = _ === "y" ? Ye : Ke, F = _ === "y" ? at : lt, I = _ === "y" ? "height" : "width", K = B[_], oe = K + v[O], D = K - v[F], w = T ? -M[I] / 2 : 0, h = C === Zt ? V[I] : M[I], E = C === Zt ? -M[I] : -V[I], x = t.elements.arrow, H = T && x ? Po(x) : {
10162
10167
  width: 0,
10163
10168
  height: 0
10164
- }, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ja(), se = W[O], ce = W[F], pe = dn(0, V[I], H[I]), me = $ ? V[I] / 2 - w - pe - se - G.mainAxis : h - pe - se - G.mainAxis, ge = $ ? -V[I] / 2 + w + pe + ce + G.mainAxis : E + pe + ce + G.mainAxis, Be = t.elements.arrow && _n(t.elements.arrow), Ge = Be ? _ === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Fe = (Z = le == null ? void 0 : le[_]) != null ? Z : 0, Oe = K + me - Fe - Ge, ze = K + ge - Fe, At = dn(T ? zn(oe, Oe) : oe, K, T ? jt(D, ze) : D);
10169
+ }, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ja(), se = W[O], ce = W[F], pe = dn(0, V[I], H[I]), me = $ ? V[I] / 2 - w - pe - se - G.mainAxis : h - pe - se - G.mainAxis, ge = $ ? -V[I] / 2 + w + pe + ce + G.mainAxis : E + pe + ce + G.mainAxis, Be = t.elements.arrow && _n(t.elements.arrow), Ge = Be ? _ === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Fe = (Z = le == null ? void 0 : le[_]) != null ? Z : 0, Ee = K + me - Fe - Ge, ze = K + ge - Fe, At = dn(T ? zn(oe, Ee) : oe, K, T ? jt(D, ze) : D);
10165
10170
  B[_] = At, Y[_] = At - K;
10166
10171
  }
10167
10172
  if (u) {
@@ -11833,7 +11838,7 @@ const Id = /* @__PURE__ */ be(Dd, [["render", Fd]]), $d = fe({
11833
11838
  if (Array.isArray(v)) {
11834
11839
  const g = v.find((C) => {
11835
11840
  const { onlyType: $, excludeType: _ } = C;
11836
- return $ == null && _ == null ? !0 : $ ? Ee(a(s), $) : _ ? !Ee(a(s), _) : !1;
11841
+ return $ == null && _ == null ? !0 : $ ? Oe(a(s), $) : _ ? !Oe(a(s), _) : !1;
11837
11842
  });
11838
11843
  g && u({ result: T, value: L, key: A, mapAttributeProp: g });
11839
11844
  } else
@@ -11877,7 +11882,7 @@ const Id = /* @__PURE__ */ be(Dd, [["render", Fd]]), $d = fe({
11877
11882
  }
11878
11883
  return {
11879
11884
  formProps: i,
11880
- lowerCaseIncludes: Ee
11885
+ lowerCaseIncludes: Oe
11881
11886
  };
11882
11887
  }
11883
11888
  });
@@ -13276,7 +13281,7 @@ const Dp = /* @__PURE__ */ be(Ep, [["render", Lp], ["__scopeId", "data-v-7276111
13276
13281
  };
13277
13282
  }).filter(({ props: B }) => Object.keys(B).length > 0)), T = (B, V) => {
13278
13283
  const { onlyType: M, excludeType: J } = B;
13279
- return M == null && J == null ? !0 : M ? Ee(V, M) : J ? !Ee(V, J) : !1;
13284
+ return M == null && J == null ? !0 : M ? Oe(V, M) : J ? !Oe(V, J) : !1;
13280
13285
  }, L = (B, V) => (V == null || V.stopPropagation(), B), A = (B, V) => {
13281
13286
  V != null && s({
13282
13287
  [V]: B
@@ -13567,7 +13572,7 @@ const xp = /* @__PURE__ */ be(Fp, [["render", $p], ["__scopeId", "data-v-9a2fa8f
13567
13572
  if (Object.prototype.hasOwnProperty.call(se, ce)) {
13568
13573
  const pe = a(o)[ce];
13569
13574
  if (Array.isArray(pe)) {
13570
- const me = pe.find((ge) => Ee(W, ge.onlyType));
13575
+ const me = pe.find((ge) => Oe(W, ge.onlyType));
13571
13576
  me && h.push({
13572
13577
  label: me.label,
13573
13578
  value: ce
@@ -13760,7 +13765,7 @@ const xp = /* @__PURE__ */ be(Fp, [["render", $p], ["__scopeId", "data-v-9a2fa8f
13760
13765
  const { id: E = "", dataType: x = "component" } = e.control;
13761
13766
  if (E && x === "component") {
13762
13767
  const H = a(i).find((se) => se.id === E), W = ["table", "bar", "combograph", "line", "pie", "radar", "scatter", "list", "circulate"];
13763
- Ee(H == null ? void 0 : H.type, W) && (h = !0);
13768
+ Oe(H == null ? void 0 : H.type, W) && (h = !0);
13764
13769
  }
13765
13770
  return E === "PARENT" && (h = !0), h;
13766
13771
  }), I = X(() => {
@@ -13768,7 +13773,7 @@ const xp = /* @__PURE__ */ be(Fp, [["render", $p], ["__scopeId", "data-v-9a2fa8f
13768
13773
  const { id: E = "", dataType: x = "component" } = e.control;
13769
13774
  if (E && x === "component") {
13770
13775
  const H = a(i).find((W) => W.id === E);
13771
- Ee((H == null ? void 0 : H.type) || "", "range") && (h = !0);
13776
+ Oe((H == null ? void 0 : H.type) || "", "range") && (h = !0);
13772
13777
  }
13773
13778
  return E === "PARENT" && (h = !0), h;
13774
13779
  }), K = X(() => {
@@ -13776,7 +13781,7 @@ const xp = /* @__PURE__ */ be(Fp, [["render", $p], ["__scopeId", "data-v-9a2fa8f
13776
13781
  const { id: E = "", dataType: x = "component" } = e.control;
13777
13782
  if (E && x === "component") {
13778
13783
  const H = a(i).find((W) => W.id === E);
13779
- Ee((H == null ? void 0 : H.type) || "", ["date", "range"]) && (h = !0);
13784
+ Oe((H == null ? void 0 : H.type) || "", ["date", "range"]) && (h = !0);
13780
13785
  }
13781
13786
  return h;
13782
13787
  });
@@ -14355,10 +14360,10 @@ const of = /* @__PURE__ */ be(Yp, [["render", nf], ["__scopeId", "data-v-9d5f3b1
14355
14360
  return ((k = a(i)) == null ? void 0 : k.variableType) === "DATE" && (_ = !0), _;
14356
14361
  }), y = X(() => {
14357
14362
  let _ = !1;
14358
- return a(c) && (_ = Ee(a(c).type, "range")), _;
14363
+ return a(c) && (_ = Oe(a(c).type, "range")), _;
14359
14364
  }), b = X(() => {
14360
14365
  let _ = !1;
14361
- return a(c) && (Ee(a(c).type, "range") ? ["startTime", "endTime"].includes(a(i).dateTypeValue) && (_ = !0) : Ee(a(c).type, "date") && (_ = !0)), _;
14366
+ return a(c) && (Oe(a(c).type, "range") ? ["startTime", "endTime"].includes(a(i).dateTypeValue) && (_ = !0) : Oe(a(c).type, "date") && (_ = !0)), _;
14362
14367
  }), T = (_, k) => {
14363
14368
  _ && (a(i).keyName = k.keyName);
14364
14369
  }, L = () => {
@@ -15011,9 +15016,9 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15011
15016
  w,
15012
15017
  Wl(Object.keys(w), "position", "top", "left", "width", "height")
15013
15018
  );
15014
- Ee(w.type, A) ? (h.height = w.height, h.width = w.width) : h.height = "290px";
15019
+ Oe(w.type, A) ? (h.height = w.height, h.width = w.width) : h.height = "290px";
15015
15020
  const E = ve(a(d));
15016
- return E.pageMode = "design", E.componentList = y, E.preview = !0, E.pageConfig = b, Ee(w.type, "pivottable") && (a(o) && (h.height = a(o).$el.clientHeight - 20 + "px", h.width = a(o).$el.clientWidth + "px"), h.fullMode = !0, E.preview = !1, delete E.pageMode), {
15021
+ return E.pageMode = "design", E.componentList = y, E.preview = !0, E.pageConfig = b, Oe(w.type, "pivottable") && (a(o) && (h.height = a(o).$el.clientHeight - 20 + "px", h.width = a(o).$el.clientWidth + "px"), h.fullMode = !0, E.preview = !1, delete E.pageMode), {
15017
15022
  ...h,
15018
15023
  graphicConfig: {
15019
15024
  ...E,
@@ -15050,7 +15055,7 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15050
15055
  }
15051
15056
  const $ = X(() => {
15052
15057
  let w = !0;
15053
- return Ee(a(v).type, A) && (w = !1), w;
15058
+ return Oe(a(v).type, A) && (w = !1), w;
15054
15059
  }), _ = X(() => {
15055
15060
  var w;
15056
15061
  return (w = a(v)) == null ? void 0 : w.type;
@@ -15088,9 +15093,9 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15088
15093
  }
15089
15094
  }
15090
15095
  ).then((Be) => {
15091
- var Oe;
15096
+ var Ee;
15092
15097
  const { success: Ge, data: Fe = [] } = Be.data;
15093
- Ge && ((Oe = Fe == null ? void 0 : Fe.dataViewColumns) != null && Oe.length) ? me(Fe.dataViewColumns) : ge(Fe);
15098
+ Ge && ((Ee = Fe == null ? void 0 : Fe.dataViewColumns) != null && Ee.length) ? me(Fe.dataViewColumns) : ge(Fe);
15094
15099
  }).catch((Be) => {
15095
15100
  ge(Be);
15096
15101
  });
@@ -15127,8 +15132,8 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15127
15132
  ...ce
15128
15133
  ]);
15129
15134
  if (pe != null && pe.length)
15130
- for (const Oe of pe)
15131
- Oe.id = Oe.name;
15135
+ for (const Ee of pe)
15136
+ Ee.id = Ee.name;
15132
15137
  const me = [
15133
15138
  {
15134
15139
  label: "日期(内置)",
@@ -15182,22 +15187,22 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15182
15187
  typeGuid: "the_day",
15183
15188
  indexCode: null
15184
15189
  },
15185
- ...w.map((Oe) => ({
15186
- ...Oe,
15187
- id: Oe.name,
15188
- label: Oe.title || Oe.label
15190
+ ...w.map((Ee) => ({
15191
+ ...Ee,
15192
+ id: Ee.name,
15193
+ label: Ee.title || Ee.label
15189
15194
  })),
15190
15195
  ...pe
15191
15196
  ];
15192
- if (((Fe = a(i)) == null ? void 0 : Fe.type) === "ecanSelect") {
15193
- const { selectFieldOptions: Oe = [] } = a(d);
15197
+ if (Oe((Fe = a(i)) == null ? void 0 : Fe.type, "select")) {
15198
+ const { selectFieldOptions: Ee = [] } = a(d);
15194
15199
  if (me.unshift({
15195
15200
  label: "上级编码",
15196
15201
  name: "上级编码",
15197
15202
  id: "parentCode",
15198
15203
  genericType: "TEXT"
15199
- }), Oe != null && Oe.length)
15200
- for (const ze of Oe)
15204
+ }), Ee != null && Ee.length)
15205
+ for (const ze of Ee)
15201
15206
  me.unshift({
15202
15207
  label: ze.label,
15203
15208
  name: ze.value,
@@ -15206,12 +15211,12 @@ const xf = /* @__PURE__ */ be(Ff, [["render", $f]]), Nf = fe({
15206
15211
  });
15207
15212
  }
15208
15213
  const ge = /* @__PURE__ */ new Map(), Be = me.length;
15209
- for (let Oe = 0; Oe < Be; Oe++) {
15210
- const ze = me[Oe], { id: At } = ze || {};
15214
+ for (let Ee = 0; Ee < Be; Ee++) {
15215
+ const ze = me[Ee], { id: At } = ze || {};
15211
15216
  ge.set(At, ze);
15212
15217
  }
15213
15218
  const Ge = [...ge];
15214
- V.value = Ge.map(([Oe, ze]) => ze);
15219
+ V.value = Ge.map(([Ee, ze]) => ze);
15215
15220
  }
15216
15221
  const Z = () => {
15217
15222
  var h;
@@ -15426,8 +15431,8 @@ function Bf(e, t, n, o, l, s) {
15426
15431
  ], 64)) : Q("", !0)
15427
15432
  ], 2);
15428
15433
  }
15429
- const Jf = /* @__PURE__ */ be(Nf, [["render", Bf], ["__scopeId", "data-v-ddba6897"]]);
15434
+ const Jf = /* @__PURE__ */ be(Nf, [["render", Bf], ["__scopeId", "data-v-f1675208"]]);
15430
15435
  export {
15431
15436
  Jf as default
15432
15437
  };
15433
- //# sourceMappingURL=index-a21ffb7e.mjs.map
15438
+ //# sourceMappingURL=index-555a3720.mjs.map