@ecan-bi/chart-config-panel 1.0.6 → 1.0.8

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.
@@ -9,14 +9,14 @@ var Ne = (t, e, o) => e in t ? wt(t, e, { enumerable: !0, configurable: !0, writ
9
9
  for (var o of he(e))
10
10
  Be.call(e, o) && Ne(t, o, e[o]);
11
11
  return t;
12
- }, ne = (t, e) => Ct(t, At(e));
12
+ }, le = (t, e) => Ct(t, At(e));
13
13
  var Ee = (t, e) => {
14
14
  var o = {};
15
- for (var l in t)
16
- qe.call(t, l) && e.indexOf(l) < 0 && (o[l] = t[l]);
15
+ for (var n in t)
16
+ qe.call(t, n) && e.indexOf(n) < 0 && (o[n] = t[n]);
17
17
  if (t != null && he)
18
- for (var l of he(t))
19
- e.indexOf(l) < 0 && Be.call(t, l) && (o[l] = t[l]);
18
+ for (var n of he(t))
19
+ e.indexOf(n) < 0 && Be.call(t, n) && (o[n] = t[n]);
20
20
  return o;
21
21
  };
22
22
  import { cloneDeep as Z, reduce as pt, pick as ge } from "lodash-es";
@@ -248,6 +248,7 @@ const Lt = [
248
248
  props: [
249
249
  "tooltipTrigger",
250
250
  "tooltipFormatter",
251
+ "tooltipFontSize",
251
252
  "tooltipTextStyleColor",
252
253
  "tooltipBackgroundColor",
253
254
  "tooltipRequestData",
@@ -739,6 +740,7 @@ const Lt = [
739
740
  yAxisMaxValue: null,
740
741
  xAxisLabelShow: !0,
741
742
  tooltipTextStyleColor: "",
743
+ tooltipFontSize: "12px",
742
744
  noDataTip: !1,
743
745
  tipText: "暂无数据",
744
746
  tipTextColor: "#000000",
@@ -896,7 +898,8 @@ const Lt = [
896
898
  noDataTip: !1,
897
899
  tipText: "暂无数据",
898
900
  tipTextColor: "#000000",
899
- tipTextFontSize: "18px"
901
+ tipTextFontSize: "18px",
902
+ tooltipFontSize: "12px"
900
903
  },
901
904
  {
902
905
  id: "",
@@ -1189,7 +1192,8 @@ const Lt = [
1189
1192
  labelColor: "",
1190
1193
  labelWidth: 100,
1191
1194
  labelOverflow: "none",
1192
- labelFormatter: "{c}"
1195
+ labelFormatter: "{c}",
1196
+ tooltipFontSize: "12px"
1193
1197
  },
1194
1198
  {
1195
1199
  id: "",
@@ -6188,11 +6192,19 @@ const Lt = [
6188
6192
  label: "条件设置",
6189
6193
  component: "visual-size-config",
6190
6194
  layout: "vertical"
6195
+ },
6196
+ tooltipFontSize: {
6197
+ label: "字号",
6198
+ component: "input-number",
6199
+ props: {
6200
+ suffix: "px",
6201
+ min: 1
6202
+ }
6191
6203
  }
6192
6204
  };
6193
- function A(t, e, o, l, a, n, r, m) {
6205
+ function A(t, e, o, n, a, l, r, m) {
6194
6206
  var d = typeof t == "function" ? t.options : t;
6195
- e && (d.render = e, d.staticRenderFns = o, d._compiled = !0), l && (d.functional = !0), n && (d._scopeId = "data-v-" + n);
6207
+ e && (d.render = e, d.staticRenderFns = o, d._compiled = !0), n && (d.functional = !0), l && (d._scopeId = "data-v-" + l);
6196
6208
  var c;
6197
6209
  if (r ? (c = function(y) {
6198
6210
  y = y || // cached call
@@ -6394,32 +6406,32 @@ const Dt = {
6394
6406
  };
6395
6407
  var Ot = function() {
6396
6408
  var e = this, o = e._self._c;
6397
- return o("div", { staticStyle: { display: "flex", "align-items": "center" } }, [!e.isVue3 && e.prefix ? [o("div", { staticClass: "prefix-section icon-section" }, [Array.isArray(e.prefix) && e.prefix.length > 0 ? [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(l, a) {
6398
- return o("a-select-option", { key: a, attrs: { value: l.value } }, [e._v(" " + e._s(l.label) + " ")]);
6409
+ return o("div", { staticStyle: { display: "flex", "align-items": "center" } }, [!e.isVue3 && e.prefix ? [o("div", { staticClass: "prefix-section icon-section" }, [Array.isArray(e.prefix) && e.prefix.length > 0 ? [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
6410
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6399
6411
  }), 1)] : o("span", [e._v(e._s(e.prefix))])], 2)] : e._e(), o("a-input-number", { style: D({
6400
6412
  flex: 1
6401
6413
  }, e.isVue3 ? {} : { borderRadius: `${e.prefix ? 0 : "4px"} ${e.suffix ? 0 : "4px"} ${e.suffix ? 0 : "4px"} ${e.prefix ? 0 : "4px"}` }), attrs: { value: e.inputValue, min: e.min, max: e.max, step: e.step, parser: e.parser, "addon-before": Array.isArray(e.prefix) ? void 0 : e.prefix, "addon-after": Array.isArray(e.suffix) ? void 0 : e.suffix }, on: { change: e.onInputChange, blur: e.onInputBlur }, scopedSlots: e._u([Array.isArray(e.prefix) && e.prefix.length > 0 ? { key: "addonBefore", fn: function() {
6402
- return [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(l, a) {
6403
- return o("a-select-option", { key: a, attrs: { value: l.value } }, [e._v(" " + e._s(l.label) + " ")]);
6414
+ return [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
6415
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6404
6416
  }), 1)];
6405
6417
  }, proxy: !0 } : null, Array.isArray(e.suffix) && e.suffix.length > 0 ? { key: "addonAfter", fn: function() {
6406
- return [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(l, a) {
6407
- return o("a-select-option", { key: a, attrs: { value: l.value } }, [e._v(" " + e._s(l.label) + " ")]);
6418
+ return [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
6419
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6408
6420
  }), 1)];
6409
- }, proxy: !0 } : null], null, !0) }), !e.isVue3 && e.suffix ? [o("div", { staticClass: "suffix-section icon-section" }, [Array.isArray(e.suffix) && e.suffix.length > 0 ? [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(l, a) {
6410
- return o("a-select-option", { key: a, attrs: { value: l.value } }, [e._v(" " + e._s(l.label) + " ")]);
6421
+ }, proxy: !0 } : null], null, !0) }), !e.isVue3 && e.suffix ? [o("div", { staticClass: "suffix-section icon-section" }, [Array.isArray(e.suffix) && e.suffix.length > 0 ? [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
6422
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6411
6423
  }), 1)] : o("span", [e._v(e._s(e.suffix))])], 2)] : e._e()], 2);
6412
- }, Rt = [], zt = /* @__PURE__ */ A(
6424
+ }, zt = [], Rt = /* @__PURE__ */ A(
6413
6425
  Dt,
6414
6426
  Ot,
6415
- Rt,
6427
+ zt,
6416
6428
  !1,
6417
6429
  null,
6418
6430
  "d6ca6a85",
6419
6431
  null,
6420
6432
  null
6421
6433
  );
6422
- const ut = zt.exports;
6434
+ const ut = Rt.exports;
6423
6435
  const Pt = {
6424
6436
  name: "RadioGroup",
6425
6437
  components: {
@@ -6460,8 +6472,8 @@ const Pt = {
6460
6472
  };
6461
6473
  var Nt = function() {
6462
6474
  var e = this, o = e._self._c;
6463
- return o("a-radio-group", { staticStyle: { "white-space": "nowrap" }, attrs: { value: e.value, optionType: e.optionType, size: e.size }, on: { change: e.onRadioChange } }, e._l(e.options, function(l) {
6464
- return o("a-radio-button", { key: l.value, attrs: { value: l.value } }, [e._v(" " + e._s(l.label) + " ")]);
6475
+ return o("a-radio-group", { staticStyle: { "white-space": "nowrap" }, attrs: { value: e.value, optionType: e.optionType, size: e.size }, on: { change: e.onRadioChange } }, e._l(e.options, function(n) {
6476
+ return o("a-radio-button", { key: n.value, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6465
6477
  }), 1);
6466
6478
  }, qt = [], Bt = /* @__PURE__ */ A(
6467
6479
  Pt,
@@ -6489,25 +6501,25 @@ const j = [];
6489
6501
  function Oe(t, ...e) {
6490
6502
  if (process.env.NODE_ENV === "production")
6491
6503
  return;
6492
- const o = j.length ? j[j.length - 1].component : null, l = o && o.appContext.config.warnHandler, a = function() {
6493
- let n = j[j.length - 1];
6494
- if (!n)
6504
+ const o = j.length ? j[j.length - 1].component : null, n = o && o.appContext.config.warnHandler, a = function() {
6505
+ let l = j[j.length - 1];
6506
+ if (!l)
6495
6507
  return [];
6496
6508
  const r = [];
6497
- for (; n; ) {
6509
+ for (; l; ) {
6498
6510
  const m = r[0];
6499
- m && m.vnode === n ? m.recurseCount++ : r.push({ vnode: n, recurseCount: 0 });
6500
- const d = n.component && n.component.parent;
6501
- n = d && d.vnode;
6511
+ m && m.vnode === l ? m.recurseCount++ : r.push({ vnode: l, recurseCount: 0 });
6512
+ const d = l.component && l.component.parent;
6513
+ l = d && d.vnode;
6502
6514
  }
6503
6515
  return r;
6504
6516
  }();
6505
- if (l)
6506
- Re(l, o, 11, [t + e.join(""), o && o.proxy, a.map(({ vnode: n }) => `at <${Ke(o, n.type)}>`).join(`
6517
+ if (n)
6518
+ ze(n, o, 11, [t + e.join(""), o && o.proxy, a.map(({ vnode: l }) => `at <${Ke(o, l.type)}>`).join(`
6507
6519
  `), a]);
6508
6520
  else {
6509
- const n = [`[Vue warn]: ${t}`, ...e];
6510
- a.length && n.push(`
6521
+ const l = [`[Vue warn]: ${t}`, ...e];
6522
+ a.length && l.push(`
6511
6523
  `, ...function(r) {
6512
6524
  const m = [];
6513
6525
  return r.forEach((d, c) => {
@@ -6517,24 +6529,24 @@ function Oe(t, ...e) {
6517
6529
  return g.props ? [k, ...Kt(g.props), $] : [k + $];
6518
6530
  }(d));
6519
6531
  }), m;
6520
- }(a)), console.warn(...n);
6532
+ }(a)), console.warn(...l);
6521
6533
  }
6522
6534
  }
6523
6535
  function Kt(t) {
6524
6536
  const e = [], o = Object.keys(t);
6525
- return o.slice(0, 3).forEach((l) => {
6526
- e.push(...ct(l, t[l]));
6537
+ return o.slice(0, 3).forEach((n) => {
6538
+ e.push(...ct(n, t[n]));
6527
6539
  }), o.length > 3 && e.push(" ..."), e;
6528
6540
  }
6529
6541
  function ct(t, e, o) {
6530
6542
  return typeof e == "string" ? (e = JSON.stringify(e), o ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? o ? e : [`${t}=${e}`] : Ut(e) ? (e = ct(t, Le(e.value), !0), o ? e : [`${t}=Ref<`, e, ">"]) : De(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = Le(e), o ? e : [`${t}=`, e]);
6531
6543
  }
6532
6544
  const je = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", bm: "beforeMount hook", m: "mounted hook", bu: "beforeUpdate hook", u: "updated", bum: "beforeUnmount hook", um: "unmounted hook", a: "activated hook", da: "deactivated hook", ec: "errorCaptured hook", rtc: "renderTracked hook", rtg: "renderTriggered hook", 0: "setup function", 1: "render function", 2: "watcher getter", 3: "watcher callback", 4: "watcher cleanup function", 5: "native event handler", 6: "component event handler", 7: "vnode hook", 8: "directive hook", 9: "transition hook", 10: "app errorHandler", 11: "app warnHandler", 12: "ref function", 13: "async component loader", 14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core" };
6533
- function Re(t, e, o, l) {
6545
+ function ze(t, e, o, n) {
6534
6546
  let a;
6535
6547
  try {
6536
- a = l ? t(...l) : t();
6537
- } catch (n) {
6548
+ a = n ? t(...n) : t();
6549
+ } catch (l) {
6538
6550
  (function(r, m, d, c = !0) {
6539
6551
  const g = m ? m.vnode : null;
6540
6552
  if (m) {
@@ -6551,7 +6563,7 @@ function Re(t, e, o, l) {
6551
6563
  }
6552
6564
  const k = m.appContext.config.errorHandler;
6553
6565
  if (k)
6554
- return void Re(k, null, 10, [r, y, _]);
6566
+ return void ze(k, null, 10, [r, y, _]);
6555
6567
  }
6556
6568
  (function(x, y, _, k = !0) {
6557
6569
  if (process.env.NODE_ENV !== "production") {
@@ -6563,7 +6575,7 @@ function Re(t, e, o, l) {
6563
6575
  console.error(x);
6564
6576
  var $;
6565
6577
  })(r, d, g, c);
6566
- })(n, e, o);
6578
+ })(l, e, o);
6567
6579
  }
6568
6580
  return a;
6569
6581
  }
@@ -6575,10 +6587,10 @@ let O = null, q = 0;
6575
6587
  const Yt = Promise.resolve();
6576
6588
  function Xt(t) {
6577
6589
  M.length && M.includes(t, be && t.allowRecurse ? B + 1 : B) || (t.id == null ? M.push(t) : M.splice(function(e) {
6578
- let o = B + 1, l = M.length;
6579
- for (; o < l; ) {
6580
- const a = o + l >>> 1, n = M[a], r = pe(n);
6581
- r < e || r === e && n.pre ? o = a + 1 : l = a;
6590
+ let o = B + 1, n = M.length;
6591
+ for (; o < n; ) {
6592
+ const a = o + n >>> 1, l = M[a], r = pe(l);
6593
+ r < e || r === e && l.pre ? o = a + 1 : n = a;
6582
6594
  }
6583
6595
  return o;
6584
6596
  }(t.id), 0, t), dt());
@@ -6605,16 +6617,16 @@ function mt(t) {
6605
6617
  if (o && o.active !== !1) {
6606
6618
  if (process.env.NODE_ENV !== "production" && e(o))
6607
6619
  continue;
6608
- Re(o, null, 14);
6620
+ ze(o, null, 14);
6609
6621
  }
6610
6622
  }
6611
6623
  } finally {
6612
6624
  B = 0, M.length = 0, function(o) {
6613
6625
  if (X.length) {
6614
- const l = [...new Set(X)];
6626
+ const n = [...new Set(X)];
6615
6627
  if (X.length = 0, O)
6616
- return void O.push(...l);
6617
- for (O = l, process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()), O.sort((a, n) => pe(a) - pe(n)), q = 0; q < O.length; q++)
6628
+ return void O.push(...n);
6629
+ for (O = n, process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()), O.sort((a, l) => pe(a) - pe(l)), q = 0; q < O.length; q++)
6618
6630
  process.env.NODE_ENV !== "production" && Ge(o, O[q]) || O[q]();
6619
6631
  O = null, q = 0;
6620
6632
  }
@@ -6625,7 +6637,7 @@ function Ge(t, e) {
6625
6637
  if (t.has(e)) {
6626
6638
  const o = t.get(e);
6627
6639
  if (o > 100) {
6628
- const l = e.ownerInstance, a = l && ht(l.type);
6640
+ const n = e.ownerInstance, a = n && ht(n.type);
6629
6641
  return Oe(`Maximum recursive updates exceeded${a ? ` in component <${a}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`), !0;
6630
6642
  }
6631
6643
  t.set(e, o + 1);
@@ -6637,22 +6649,22 @@ process.env.NODE_ENV !== "production" && (Te().__VUE_HMR_RUNTIME__ = { createRec
6637
6649
  return fe.has(t) ? !1 : (fe.set(t, { initialDef: ie(e), instances: /* @__PURE__ */ new Set() }), !0);
6638
6650
  }), rerender: Se(function(t, e) {
6639
6651
  const o = fe.get(t);
6640
- o && (o.initialDef.render = e, [...o.instances].forEach((l) => {
6641
- e && (l.render = e, ie(l.type).render = e), l.renderCache = [], l.update();
6652
+ o && (o.initialDef.render = e, [...o.instances].forEach((n) => {
6653
+ e && (n.render = e, ie(n.type).render = e), n.renderCache = [], n.update();
6642
6654
  }));
6643
6655
  }), reload: Se(function(t, e) {
6644
6656
  const o = fe.get(t);
6645
6657
  if (!o)
6646
6658
  return;
6647
6659
  e = ie(e), He(o.initialDef, e);
6648
- const l = [...o.instances];
6649
- for (const n of l) {
6650
- const r = ie(n.type);
6651
- ae.has(r) || (r !== o.initialDef && He(r, e), ae.add(r)), n.appContext.propsCache.delete(n.type), n.appContext.emitsCache.delete(n.type), n.appContext.optionsCache.delete(n.type), n.ceReload ? (ae.add(r), n.ceReload(e.styles), ae.delete(r)) : n.parent ? Xt(n.parent.update) : n.appContext.reload ? n.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required.");
6660
+ const n = [...o.instances];
6661
+ for (const l of n) {
6662
+ const r = ie(l.type);
6663
+ ae.has(r) || (r !== o.initialDef && He(r, e), ae.add(r)), l.appContext.propsCache.delete(l.type), l.appContext.emitsCache.delete(l.type), l.appContext.optionsCache.delete(l.type), l.ceReload ? (ae.add(r), l.ceReload(e.styles), ae.delete(r)) : l.parent ? Xt(l.parent.update) : l.appContext.reload ? l.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required.");
6652
6664
  }
6653
6665
  a = () => {
6654
- for (const n of l)
6655
- ae.delete(ie(n.type));
6666
+ for (const l of n)
6667
+ ae.delete(ie(l.type));
6656
6668
  }, Gt(a) ? X.push(...a) : O && O.includes(a, a.allowRecurse ? q + 1 : q) || X.push(a), dt();
6657
6669
  var a;
6658
6670
  }) });
@@ -6670,8 +6682,8 @@ function Se(t) {
6670
6682
  return (e, o) => {
6671
6683
  try {
6672
6684
  return t(e, o);
6673
- } catch (l) {
6674
- console.error(l), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
6685
+ } catch (n) {
6686
+ console.error(n), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
6675
6687
  }
6676
6688
  };
6677
6689
  }
@@ -6684,20 +6696,20 @@ function ht(t, e = !0) {
6684
6696
  return De(t) ? t.displayName || t.name : t.name || e && t.__name;
6685
6697
  }
6686
6698
  function Ke(t, e, o = !1) {
6687
- let l = ht(e);
6688
- if (!l && e.__file) {
6699
+ let n = ht(e);
6700
+ if (!n && e.__file) {
6689
6701
  const a = e.__file.match(/([^/\\]+)\.\w+$/);
6690
- a && (l = a[1]);
6702
+ a && (n = a[1]);
6691
6703
  }
6692
- if (!l && t && t.parent) {
6693
- const a = (n) => {
6694
- for (const r in n)
6695
- if (n[r] === e)
6704
+ if (!n && t && t.parent) {
6705
+ const a = (l) => {
6706
+ for (const r in l)
6707
+ if (l[r] === e)
6696
6708
  return r;
6697
6709
  };
6698
- l = a(t.components || t.parent.type.components) || a(t.appContext.components);
6710
+ n = a(t.components || t.parent.type.components) || a(t.appContext.components);
6699
6711
  }
6700
- return l ? Qt(l) : o ? "App" : "Anonymous";
6712
+ return n ? Qt(n) : o ? "App" : "Anonymous";
6701
6713
  }
6702
6714
  function eo(t) {
6703
6715
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -6705,7 +6717,7 @@ function eo(t) {
6705
6717
  var Ye, Xe = { exports: {} };
6706
6718
  function to() {
6707
6719
  return Ye || (Ye = 1, Xe.exports = function() {
6708
- var t = 1e3, e = 6e4, o = 36e5, l = "millisecond", a = "second", n = "minute", r = "hour", m = "day", d = "week", c = "month", g = "quarter", x = "year", y = "date", _ = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(h) {
6720
+ var t = 1e3, e = 6e4, o = 36e5, n = "millisecond", a = "second", l = "minute", r = "hour", m = "day", d = "week", c = "month", g = "quarter", x = "year", y = "date", _ = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(h) {
6709
6721
  var s = ["th", "st", "nd", "rd"], i = h % 100;
6710
6722
  return "[" + h + (s[(i - 20) % 10] || s[i] || s[0]) + "]";
6711
6723
  } }, ce = function(h, s, i) {
@@ -6722,7 +6734,7 @@ function to() {
6722
6734
  }, a: function(h) {
6723
6735
  return h < 0 ? Math.ceil(h) || 0 : Math.floor(h);
6724
6736
  }, p: function(h) {
6725
- return { M: c, y: x, w: d, d: m, D: y, h: r, m: n, s: a, ms: l, Q: g }[h] || String(h || "").toLowerCase().replace(/s$/, "");
6737
+ return { M: c, y: x, w: d, d: m, D: y, h: r, m: l, s: a, ms: n, Q: g }[h] || String(h || "").toLowerCase().replace(/s$/, "");
6726
6738
  }, u: function(h) {
6727
6739
  return h === void 0;
6728
6740
  } }, U = "en", P = {};
@@ -6816,7 +6828,7 @@ function to() {
6816
6828
  return w(K + "Hours", 0);
6817
6829
  case r:
6818
6830
  return w(K + "Minutes", 1);
6819
- case n:
6831
+ case l:
6820
6832
  return w(K + "Seconds", 2);
6821
6833
  case a:
6822
6834
  return w(K + "Milliseconds", 3);
@@ -6826,7 +6838,7 @@ function to() {
6826
6838
  }, s.endOf = function(i) {
6827
6839
  return this.startOf(i, !1);
6828
6840
  }, s.$set = function(i, u) {
6829
- var p, f = v.p(i), b = "set" + (this.$u ? "UTC" : ""), S = (p = {}, p[m] = b + "Date", p[y] = b + "Date", p[c] = b + "Month", p[x] = b + "FullYear", p[r] = b + "Hours", p[n] = b + "Minutes", p[a] = b + "Seconds", p[l] = b + "Milliseconds", p)[f], w = f === m ? this.$D + (u - this.$W) : u;
6841
+ var p, f = v.p(i), b = "set" + (this.$u ? "UTC" : ""), S = (p = {}, p[m] = b + "Date", p[y] = b + "Date", p[c] = b + "Month", p[x] = b + "FullYear", p[r] = b + "Hours", p[l] = b + "Minutes", p[a] = b + "Seconds", p[n] = b + "Milliseconds", p)[f], w = f === m ? this.$D + (u - this.$W) : u;
6830
6842
  if (f === c || f === x) {
6831
6843
  var T = this.clone().set(y, 1);
6832
6844
  T.$d[S](w), T.init(), this.$d = T.set(y, Math.min(this.$D, T.daysInMonth())).$d;
@@ -6852,7 +6864,7 @@ function to() {
6852
6864
  return S(1);
6853
6865
  if (b === d)
6854
6866
  return S(7);
6855
- var w = (p = {}, p[n] = e, p[r] = o, p[a] = t, p)[b] || 1, T = this.$d.getTime() + i * w;
6867
+ var w = (p = {}, p[l] = e, p[r] = o, p[a] = t, p)[b] || 1, T = this.$d.getTime() + i * w;
6856
6868
  return v.w(T, this);
6857
6869
  }, s.subtract = function(i, u) {
6858
6870
  return this.add(-1 * i, u);
@@ -6860,17 +6872,17 @@ function to() {
6860
6872
  var u = this, p = this.$locale();
6861
6873
  if (!this.isValid())
6862
6874
  return p.invalidDate || _;
6863
- var f = i || "YYYY-MM-DDTHH:mm:ssZ", b = v.z(this), S = this.$H, w = this.$m, T = this.$M, L = p.weekdays, V = p.months, K = p.meridiem, E = function(F, N, le, me) {
6864
- return F && (F[N] || F(u, f)) || le[N].slice(0, me);
6875
+ var f = i || "YYYY-MM-DDTHH:mm:ssZ", b = v.z(this), S = this.$H, w = this.$m, T = this.$M, L = p.weekdays, V = p.months, K = p.meridiem, E = function(F, N, ne, me) {
6876
+ return F && (F[N] || F(u, f)) || ne[N].slice(0, me);
6865
6877
  }, oe = function(F) {
6866
6878
  return v.s(S % 12 || 12, F, "0");
6867
- }, W = K || function(F, N, le) {
6879
+ }, W = K || function(F, N, ne) {
6868
6880
  var me = F < 12 ? "AM" : "PM";
6869
- return le ? me.toLowerCase() : me;
6881
+ return ne ? me.toLowerCase() : me;
6870
6882
  };
6871
6883
  return f.replace($, function(F, N) {
6872
- return N || function(le) {
6873
- switch (le) {
6884
+ return N || function(ne) {
6885
+ switch (ne) {
6874
6886
  case "YY":
6875
6887
  return String(u.$y).slice(-2);
6876
6888
  case "YYYY":
@@ -6948,7 +6960,7 @@ function to() {
6948
6960
  case r:
6949
6961
  f = L / o;
6950
6962
  break;
6951
- case n:
6963
+ case l:
6952
6964
  f = L / e;
6953
6965
  break;
6954
6966
  case a:
@@ -6979,7 +6991,7 @@ function to() {
6979
6991
  return this.$d.toUTCString();
6980
6992
  }, h;
6981
6993
  }(), ve = te.prototype;
6982
- return C.prototype = ve, [["$ms", l], ["$s", a], ["$m", n], ["$H", r], ["$W", m], ["$M", c], ["$y", x], ["$D", y]].forEach(function(h) {
6994
+ return C.prototype = ve, [["$ms", n], ["$s", a], ["$m", l], ["$H", r], ["$W", m], ["$M", c], ["$y", x], ["$D", y]].forEach(function(h) {
6983
6995
  ve[h[1]] = function(s) {
6984
6996
  return this.$g(s, h[0], h[1]);
6985
6997
  };
@@ -6991,17 +7003,17 @@ function to() {
6991
7003
  }()), Xe.exports;
6992
7004
  }
6993
7005
  eo(to());
6994
- var ft = typeof global == "object" && global && global.Object === Object && global, oo = typeof self == "object" && self && self.Object === Object && self, z = ft || oo || Function("return this")(), J = z.Symbol, bt = Object.prototype, lo = bt.hasOwnProperty, no = bt.toString, re = J ? J.toStringTag : void 0, ao = Object.prototype.toString, Ze = J ? J.toStringTag : void 0;
7006
+ var ft = typeof global == "object" && global && global.Object === Object && global, oo = typeof self == "object" && self && self.Object === Object && self, R = ft || oo || Function("return this")(), J = R.Symbol, bt = Object.prototype, no = bt.hasOwnProperty, lo = bt.toString, re = J ? J.toStringTag : void 0, ao = Object.prototype.toString, Ze = J ? J.toStringTag : void 0;
6995
7007
  function xe(t) {
6996
7008
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Ze && Ze in Object(t) ? function(e) {
6997
- var o = lo.call(e, re), l = e[re];
7009
+ var o = no.call(e, re), n = e[re];
6998
7010
  try {
6999
7011
  e[re] = void 0;
7000
7012
  var a = !0;
7001
7013
  } catch (r) {
7002
7014
  }
7003
- var n = no.call(e);
7004
- return a && (o ? e[re] = l : delete e[re]), n;
7015
+ var l = lo.call(e);
7016
+ return a && (o ? e[re] = n : delete e[re]), l;
7005
7017
  }(t) : function(e) {
7006
7018
  return ao.call(e);
7007
7019
  }(t);
@@ -7019,7 +7031,7 @@ function io(t) {
7019
7031
  var e = xe(t);
7020
7032
  return e == "[object Function]" || e == "[object GeneratorFunction]" || e == "[object AsyncFunction]" || e == "[object Proxy]";
7021
7033
  }
7022
- var Je, we = z["__core-js_shared__"], Qe = (Je = /[^.]+$/.exec(we && we.keys && we.keys.IE_PROTO || "")) ? "Symbol(src)_1." + Je : "", ro = Function.prototype.toString;
7034
+ var Je, we = R["__core-js_shared__"], Qe = (Je = /[^.]+$/.exec(we && we.keys && we.keys.IE_PROTO || "")) ? "Symbol(src)_1." + Je : "", ro = Function.prototype.toString;
7023
7035
  function G(t) {
7024
7036
  if (t != null) {
7025
7037
  try {
@@ -7039,12 +7051,12 @@ function fo(t) {
7039
7051
  var e;
7040
7052
  }
7041
7053
  function H(t, e) {
7042
- var o = function(l, a) {
7043
- return l == null ? void 0 : l[a];
7054
+ var o = function(n, a) {
7055
+ return n == null ? void 0 : n[a];
7044
7056
  }(t, e);
7045
7057
  return fo(o) ? o : void 0;
7046
7058
  }
7047
- var $e = H(z, "WeakMap");
7059
+ var $e = H(R, "WeakMap");
7048
7060
  (function() {
7049
7061
  try {
7050
7062
  var t = H(Object, "defineProperty");
@@ -7059,7 +7071,7 @@ var vt = Object.prototype, bo = vt.hasOwnProperty, xo = vt.propertyIsEnumerable;
7059
7071
  et(function() {
7060
7072
  return arguments;
7061
7073
  }());
7062
- var gt = typeof exports == "object" && exports && !exports.nodeType && exports, tt = gt && typeof module == "object" && module && !module.nodeType && module, ot = tt && tt.exports === gt ? z.Buffer : void 0;
7074
+ var gt = typeof exports == "object" && exports && !exports.nodeType && exports, tt = gt && typeof module == "object" && module && !module.nodeType && module, ot = tt && tt.exports === gt ? R.Buffer : void 0;
7063
7075
  ot && ot.isBuffer;
7064
7076
  var St = typeof exports == "object" && exports && !exports.nodeType && exports, se = St && typeof module == "object" && module && !module.nodeType && module, Ce = se && se.exports === St && ft.process, Q = function() {
7065
7077
  try {
@@ -7070,17 +7082,17 @@ var St = typeof exports == "object" && exports && !exports.nodeType && exports,
7070
7082
  }();
7071
7083
  Q && Q.isTypedArray;
7072
7084
  H(Object, "create");
7073
- var Ie = H(z, "Map"), Fe = H(z, "DataView"), Ve = H(z, "Promise"), Me = H(z, "Set"), lt = "[object Map]", nt = "[object Promise]", at = "[object Set]", it = "[object WeakMap]", rt = "[object DataView]", yo = G(Fe), vo = G(Ie), go = G(Ve), So = G(Me), _o = G($e), Y = xe;
7074
- (Fe && Y(new Fe(new ArrayBuffer(1))) != rt || Ie && Y(new Ie()) != lt || Ve && Y(Ve.resolve()) != nt || Me && Y(new Me()) != at || $e && Y(new $e()) != it) && (Y = function(t) {
7075
- var e = xe(t), o = e == "[object Object]" ? t.constructor : void 0, l = o ? G(o) : "";
7076
- if (l)
7077
- switch (l) {
7085
+ var Ie = H(R, "Map"), Fe = H(R, "DataView"), Ve = H(R, "Promise"), Me = H(R, "Set"), nt = "[object Map]", lt = "[object Promise]", at = "[object Set]", it = "[object WeakMap]", rt = "[object DataView]", yo = G(Fe), vo = G(Ie), go = G(Ve), So = G(Me), _o = G($e), Y = xe;
7086
+ (Fe && Y(new Fe(new ArrayBuffer(1))) != rt || Ie && Y(new Ie()) != nt || Ve && Y(Ve.resolve()) != lt || Me && Y(new Me()) != at || $e && Y(new $e()) != it) && (Y = function(t) {
7087
+ var e = xe(t), o = e == "[object Object]" ? t.constructor : void 0, n = o ? G(o) : "";
7088
+ if (n)
7089
+ switch (n) {
7078
7090
  case yo:
7079
7091
  return rt;
7080
7092
  case vo:
7081
- return lt;
7082
- case go:
7083
7093
  return nt;
7094
+ case go:
7095
+ return lt;
7084
7096
  case So:
7085
7097
  return at;
7086
7098
  case _o:
@@ -7088,7 +7100,7 @@ var Ie = H(z, "Map"), Fe = H(z, "DataView"), Ve = H(z, "Promise"), Me = H(z, "Se
7088
7100
  }
7089
7101
  return e;
7090
7102
  });
7091
- z.Uint8Array;
7103
+ R.Uint8Array;
7092
7104
  var st = J ? J.prototype : void 0;
7093
7105
  st && st.valueOf;
7094
7106
  Q && Q.isMap;
@@ -7098,8 +7110,8 @@ const wo = (t, e) => {
7098
7110
  return t.toLocaleLowerCase().includes(e.toLocaleLowerCase());
7099
7111
  if (typeof t == "string" && Array.isArray(e)) {
7100
7112
  const o = e.length;
7101
- for (let l = 0; l < o; l++) {
7102
- const a = e[l];
7113
+ for (let n = 0; n < o; n++) {
7114
+ const a = e[n];
7103
7115
  if (typeof a == "string" && t.toLocaleLowerCase().includes(a.toLocaleLowerCase()))
7104
7116
  return !0;
7105
7117
  }
@@ -7151,11 +7163,11 @@ const Ao = {
7151
7163
  if (this.graphic) {
7152
7164
  const e = this.componentList.find((o) => o.type === t);
7153
7165
  if (e) {
7154
- const o = Z(this.selectedComponent), { events: l, dataType: a, dataFieldConfigType: n, id: r, keyName: m, top: d, left: c, width: g, height: x, zIndex: y } = o, _ = {}, k = ["type", "graphicType", "data"];
7166
+ const o = Z(this.selectedComponent), { events: n, dataType: a, dataFieldConfigType: l, id: r, keyName: m, top: d, left: c, width: g, height: x, zIndex: y } = o, _ = {}, k = ["type", "graphicType", "data"];
7155
7167
  for (const I in o)
7156
7168
  !k.includes(I) && Co(e, I) && (_[I] = Z(o[I]));
7157
- let $ = ne(D(D({}, e), _), {
7158
- events: l,
7169
+ let $ = le(D(D({}, e), _), {
7170
+ events: n,
7159
7171
  dataType: a,
7160
7172
  id: r,
7161
7173
  keyName: m,
@@ -7165,7 +7177,7 @@ const Ao = {
7165
7177
  height: x,
7166
7178
  zIndex: y
7167
7179
  });
7168
- n && ($.dataFieldConfigType = n), this.$emit("change", $, { all: !0 });
7180
+ l && ($.dataFieldConfigType = l), this.$emit("change", $, { all: !0 });
7169
7181
  }
7170
7182
  } else
7171
7183
  this.$emit("change", t);
@@ -7175,8 +7187,8 @@ const Ao = {
7175
7187
  };
7176
7188
  var To = function() {
7177
7189
  var e = this, o = e._self._c;
7178
- return o("a-select", { attrs: { value: e.value }, on: { change: e.onSelectChange } }, e._l(e.computedOptions, function(l) {
7179
- return o("a-select-option", { key: l.value, attrs: { value: l.value, disabled: l.disabled } }, [e._v(" " + e._s(l.label) + " ")]);
7190
+ return o("a-select", { attrs: { value: e.value }, on: { change: e.onSelectChange } }, e._l(e.computedOptions, function(n) {
7191
+ return o("a-select-option", { key: n.value, attrs: { value: n.value, disabled: n.disabled } }, [e._v(" " + e._s(n.label) + " ")]);
7180
7192
  }), 1);
7181
7193
  }, Lo = [], ko = /* @__PURE__ */ A(
7182
7194
  Ao,
@@ -7288,28 +7300,28 @@ const Oo = {
7288
7300
  }
7289
7301
  }
7290
7302
  };
7291
- var Ro = function() {
7303
+ var zo = function() {
7292
7304
  var e = this, o = e._self._c;
7293
- return o("a-popover", { attrs: { visible: e.popoverVisible, trigger: "click", placement: "bottomLeft", overlayClassName: "color-picker-popover", getPopupContainer: (l) => l.parentNode, destroyTooltipOnHide: !0 }, on: { visibleChange: e.handleVisibleChange }, scopedSlots: e._u([{ key: "content", fn: function() {
7294
- return [o("div", { staticClass: "name", on: { click: function(l) {
7295
- l.stopPropagation();
7305
+ return o("a-popover", { attrs: { visible: e.popoverVisible, trigger: "click", placement: "bottomLeft", overlayClassName: "color-picker-popover", getPopupContainer: (n) => n.parentNode, destroyTooltipOnHide: !0 }, on: { visibleChange: e.handleVisibleChange }, scopedSlots: e._u([{ key: "content", fn: function() {
7306
+ return [o("div", { staticClass: "name", on: { click: function(n) {
7307
+ n.stopPropagation();
7296
7308
  } } }, [o("sketch-picker", { attrs: { value: { hex: e.currentColor }, disableAlpha: !0, presetColors: e.presetColors }, on: { input: e.handleColorChange } })], 1)];
7297
7309
  }, proxy: !0 }]) }, [o("div", { staticClass: "popover-trigger", style: { backgroundColor: e.currentColor, height: e.size + "px", width: e.size + "px" } })]);
7298
- }, zo = [], Po = /* @__PURE__ */ A(
7310
+ }, Ro = [], Po = /* @__PURE__ */ A(
7299
7311
  Oo,
7300
- Ro,
7301
7312
  zo,
7313
+ Ro,
7302
7314
  !1,
7303
7315
  null,
7304
7316
  "c77d9ba2",
7305
7317
  null,
7306
7318
  null
7307
7319
  );
7308
- const ze = Po.exports;
7320
+ const Re = Po.exports;
7309
7321
  const No = {
7310
7322
  name: "ColorPick",
7311
7323
  components: {
7312
- PickColors: ze
7324
+ PickColors: Re
7313
7325
  // AInput: Input
7314
7326
  },
7315
7327
  props: {
@@ -7348,10 +7360,10 @@ const No = {
7348
7360
  };
7349
7361
  var qo = function() {
7350
7362
  var e = this, o = e._self._c;
7351
- return o("div", { staticClass: "color-pick" }, [o("a-input", { staticClass: "input", staticStyle: { flex: "1" }, attrs: { disabled: e.disabled }, model: { value: e.colorValue, callback: function(l) {
7352
- e.colorValue = l;
7353
- }, expression: "colorValue" } }), e.disabled ? e._e() : o("pick-colors", { staticClass: "pick-colors", attrs: { size: 25 }, model: { value: e.colorValue, callback: function(l) {
7354
- e.colorValue = l;
7363
+ return o("div", { staticClass: "color-pick" }, [o("a-input", { staticClass: "input", staticStyle: { flex: "1" }, attrs: { disabled: e.disabled }, model: { value: e.colorValue, callback: function(n) {
7364
+ e.colorValue = n;
7365
+ }, expression: "colorValue" } }), e.disabled ? e._e() : o("pick-colors", { staticClass: "pick-colors", attrs: { size: 25 }, model: { value: e.colorValue, callback: function(n) {
7366
+ e.colorValue = n;
7355
7367
  }, expression: "colorValue" } })], 1);
7356
7368
  }, Bo = [], Eo = /* @__PURE__ */ A(
7357
7369
  No,
@@ -7367,7 +7379,7 @@ const ue = Eo.exports;
7367
7379
  const Wo = {
7368
7380
  name: "ColorPickerGroup",
7369
7381
  components: {
7370
- ColorPick: ze
7382
+ ColorPick: Re
7371
7383
  },
7372
7384
  props: {
7373
7385
  // 当前颜色值
@@ -7412,9 +7424,9 @@ const Wo = {
7412
7424
  };
7413
7425
  var jo = function() {
7414
7426
  var e = this, o = e._self._c;
7415
- return o("div", { staticClass: "pick-color-group" }, [e._l(e.value, function(l, a) {
7416
- return o("ColorPick", { key: a, staticStyle: { margin: "5px" }, attrs: { size: e.size }, on: { change: e.handleColorChange }, model: { value: e.value[a], callback: function(n) {
7417
- e.$set(e.value, a, n);
7427
+ return o("div", { staticClass: "pick-color-group" }, [e._l(e.value, function(n, a) {
7428
+ return o("ColorPick", { key: a, staticStyle: { margin: "5px" }, attrs: { size: e.size }, on: { change: e.handleColorChange }, model: { value: e.value[a], callback: function(l) {
7429
+ e.$set(e.value, a, l);
7418
7430
  }, expression: "value[index]" } });
7419
7431
  }), o("div", { staticClass: "popover-trigger", style: { backgroundColor: "#fff", height: e.size + "px", width: e.size + "px", margin: "5px" }, on: { click: e.addColor } }, [e._v("+")])], 2);
7420
7432
  }, Go = [], Ho = /* @__PURE__ */ A(
@@ -7489,21 +7501,21 @@ const Qo = {
7489
7501
  }
7490
7502
  }
7491
7503
  };
7492
- var el = function() {
7504
+ var en = function() {
7493
7505
  var e = this, o = e._self._c;
7494
7506
  return o("a-row", [o("a-col", { attrs: { span: 16 } }, [o("a-slider", { attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1), o("a-col", { staticStyle: { "padding-left": "10px" }, attrs: { span: 8 } }, [o("a-input-number", { staticStyle: { width: "100%" }, attrs: { value: e.value, min: 0, max: 1, step: 0.1 }, on: { change: e.onChange } })], 1)], 1);
7495
- }, tl = [], ol = /* @__PURE__ */ A(
7507
+ }, tn = [], on = /* @__PURE__ */ A(
7496
7508
  Qo,
7497
- el,
7498
- tl,
7509
+ en,
7510
+ tn,
7499
7511
  !1,
7500
7512
  null,
7501
7513
  "02978b05",
7502
7514
  null,
7503
7515
  null
7504
7516
  );
7505
- const ll = ol.exports;
7506
- const nl = {
7517
+ const nn = on.exports;
7518
+ const ln = {
7507
7519
  name: "Textarea",
7508
7520
  components: {
7509
7521
  // ATextarea: window.isVue3 ? Textarea : Input.TextArea
@@ -7524,23 +7536,23 @@ const nl = {
7524
7536
  }
7525
7537
  }
7526
7538
  };
7527
- var al = function() {
7539
+ var an = function() {
7528
7540
  var e = this, o = e._self._c;
7529
7541
  return o("a-textarea", { attrs: { value: e.value, disabled: e.disabled, autoSize: {
7530
7542
  minRows: 3
7531
7543
  } }, on: { change: e.onTextareaChange } });
7532
- }, il = [], rl = /* @__PURE__ */ A(
7533
- nl,
7534
- al,
7535
- il,
7544
+ }, rn = [], sn = /* @__PURE__ */ A(
7545
+ ln,
7546
+ an,
7547
+ rn,
7536
7548
  !1,
7537
7549
  null,
7538
7550
  "3c2ddd12",
7539
7551
  null,
7540
7552
  null
7541
7553
  );
7542
- const sl = rl.exports, _t = "";
7543
- const pl = {
7554
+ const pn = sn.exports, _t = "";
7555
+ const un = {
7544
7556
  components: {
7545
7557
  ColorPick: ue
7546
7558
  },
@@ -7595,45 +7607,45 @@ const pl = {
7595
7607
  }
7596
7608
  }
7597
7609
  };
7598
- var ul = function() {
7610
+ var cn = function() {
7599
7611
  var e = this, o = e._self._c;
7600
- return o("div", { staticClass: "mark-area-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(l, a) {
7601
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标域" + e._s(Number(a) + 1) + ":")]), l.isGenerate ? e._e() : o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
7612
+ return o("div", { staticClass: "mark-area-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
7613
+ return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标域" + e._s(Number(a) + 1) + ":")]), n.isGenerate ? e._e() : o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
7602
7614
  e.onDelete(Number(a));
7603
- } } }, [e._v("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!l.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7615
+ } } }, [e._v("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7604
7616
  return [e._v(" x1 ")];
7605
- }, proxy: !0 }], null, !0), model: { value: l.startX, callback: function(n) {
7606
- e.$set(l, "startX", n);
7607
- }, expression: "data.startX" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!l.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7617
+ }, proxy: !0 }], null, !0), model: { value: n.startX, callback: function(l) {
7618
+ e.$set(n, "startX", l);
7619
+ }, expression: "data.startX" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "开始坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7608
7620
  return [e._v(" y1 ")];
7609
- }, proxy: !0 }], null, !0), model: { value: l.startY, callback: function(n) {
7610
- e.$set(l, "startY", n);
7611
- }, expression: "data.startY" } })], 1), o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!l.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7621
+ }, proxy: !0 }], null, !0), model: { value: n.startY, callback: function(l) {
7622
+ e.$set(n, "startY", l);
7623
+ }, expression: "data.startY" } })], 1), o("a-input-group", { staticStyle: { display: "flex", "margin-bottom": "12px" }, attrs: { compact: "" } }, [o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7612
7624
  return [e._v(" x2 ")];
7613
- }, proxy: !0 }], null, !0), model: { value: l.endX, callback: function(n) {
7614
- e.$set(l, "endX", n);
7615
- }, expression: "data.endX" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!l.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7625
+ }, proxy: !0 }], null, !0), model: { value: n.endX, callback: function(l) {
7626
+ e.$set(n, "endX", l);
7627
+ }, expression: "data.endX" } }), o("div", { staticStyle: { padding: "0 5px" } }), o("a-input", { attrs: { placeholder: "结束坐标", disabled: !!n.isGenerate }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
7616
7628
  return [e._v(" y2 ")];
7617
- }, proxy: !0 }], null, !0), model: { value: l.endY, callback: function(n) {
7618
- e.$set(l, "endY", n);
7619
- }, expression: "data.endY" } })], 1), o("div", [e._v("标域颜色:")]), o("color-pick", { attrs: { value: l.color }, on: { change: function(n) {
7620
- return e.setColor(l, n);
7621
- } } }), o("div", { staticStyle: { "margin-top": "12px" } }, [e._v("标域文字:")]), o("a-input", { on: { change: e.onInputChange }, model: { value: l.label, callback: function(n) {
7622
- e.$set(l, "label", n);
7629
+ }, proxy: !0 }], null, !0), model: { value: n.endY, callback: function(l) {
7630
+ e.$set(n, "endY", l);
7631
+ }, expression: "data.endY" } })], 1), o("div", [e._v("标域颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
7632
+ return e.setColor(n, l);
7633
+ } } }), o("div", { staticStyle: { "margin-top": "12px" } }, [e._v("标域文字:")]), o("a-input", { on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
7634
+ e.$set(n, "label", l);
7623
7635
  }, expression: "data.label" } })], 1)])]);
7624
7636
  })], 2);
7625
- }, cl = [], dl = /* @__PURE__ */ A(
7626
- pl,
7627
- ul,
7628
- cl,
7637
+ }, dn = [], mn = /* @__PURE__ */ A(
7638
+ un,
7639
+ cn,
7640
+ dn,
7629
7641
  !1,
7630
7642
  null,
7631
7643
  "2201b980",
7632
7644
  null,
7633
7645
  null
7634
7646
  );
7635
- const ml = dl.exports;
7636
- const hl = {
7647
+ const hn = mn.exports;
7648
+ const fn = {
7637
7649
  components: {
7638
7650
  ColorPick: ue
7639
7651
  },
@@ -7700,39 +7712,39 @@ const hl = {
7700
7712
  if (!this.selectedComponent)
7701
7713
  return;
7702
7714
  this.dataList = JSON.parse(JSON.stringify(t || []));
7703
- const { xAxisMarkLineValue: e, yAxisMarkLineValue: o, axisMarkArea: l = [] } = this.selectedComponent;
7715
+ const { xAxisMarkLineValue: e, yAxisMarkLineValue: o, axisMarkArea: n = [] } = this.selectedComponent;
7704
7716
  if ((e == null ? void 0 : e.length) === 1 && (o == null ? void 0 : o.length) === 1 && e[0].value && o[0].value) {
7705
- const a = !!l.find((c) => c.isGenerate), n = ["{xMin}"], r = ["{yMin}"], m = {
7717
+ const a = !!n.find((c) => c.isGenerate), l = ["{xMin}"], r = ["{yMin}"], m = {
7706
7718
  "{max}": "最大值",
7707
7719
  "{min}": "最小值",
7708
7720
  "{average}": "平均值",
7709
7721
  "{median}": "中位数"
7710
7722
  };
7711
7723
  for (const c of e)
7712
- c.value && n.push(m[c.value] || c.value);
7713
- n.push("{xMax}");
7724
+ c.value && l.push(m[c.value] || c.value);
7725
+ l.push("{xMax}");
7714
7726
  for (const c of o)
7715
7727
  c.value && r.push(m[c.value] || c.value);
7716
7728
  r.push("{yMax}");
7717
7729
  let d = 0;
7718
- n.forEach((c, g) => {
7719
- g < n.length - 1 && r.forEach((x, y) => {
7730
+ l.forEach((c, g) => {
7731
+ g < l.length - 1 && r.forEach((x, y) => {
7720
7732
  if (y < r.length - 1) {
7721
7733
  const _ = {
7722
7734
  startX: c,
7723
7735
  startY: x,
7724
- endX: n[g + 1],
7736
+ endX: l[g + 1],
7725
7737
  endY: r[y + 1],
7726
7738
  color: "",
7727
7739
  label: "",
7728
7740
  isGenerate: !0
7729
7741
  };
7730
- a ? (_.color = l[d].color, _.label = l[d].label, l[d++] = _) : l.unshift(_);
7742
+ a ? (_.color = n[d].color, _.label = n[d].label, n[d++] = _) : n.unshift(_);
7731
7743
  }
7732
7744
  });
7733
7745
  });
7734
7746
  } else
7735
- this.selectedComponent.axisMarkArea = l.filter((a) => !a.isGenerate);
7747
+ this.selectedComponent.axisMarkArea = n.filter((a) => !a.isGenerate);
7736
7748
  },
7737
7749
  immediate: !0,
7738
7750
  deep: !0
@@ -7776,60 +7788,60 @@ const hl = {
7776
7788
  }
7777
7789
  }
7778
7790
  };
7779
- var fl = function() {
7791
+ var bn = function() {
7780
7792
  var e = this, o = e._self._c;
7781
- return o("div", { staticClass: "mark-link-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(l, a) {
7782
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标线" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
7793
+ return o("div", { staticClass: "mark-link-config" }, [o("div", { staticClass: "add" }, [e.isVue3 ? o("a-tooltip", { attrs: { title: e.indexTip, overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { staticClass: "icon", staticStyle: { "margin-right": "207px", color: "#989898", "font-size": "18px", cursor: "pointer" } })], 1) : e._e(), e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } }) : o("span", { staticClass: "icon", on: { click: e.onAdd } }, [e._v("+")])], 1), e._l(e.dataList, function(n, a) {
7794
+ return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("标线" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
7783
7795
  e.onDelete(Number(a));
7784
- } } }, [e._v("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("值:")]), !l.type || l.type === "customValue" ? o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
7796
+ } } }, [e._v("删除")])]), o("div", { staticStyle: { "margin-top": "10px" } }, [o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("值:")]), !n.type || n.type === "customValue" ? o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
7785
7797
  return [o("a-dropdown", { attrs: { trigger: ["click"] }, scopedSlots: e._u([{ key: "overlay", fn: function() {
7786
- return [o("a-menu", { on: { click: function(n) {
7787
- return e.onClickMenuItem(n, l);
7788
- } } }, e._l(e.calcList, function(n) {
7789
- return o("a-menu-item", { key: n.value }, [e._v(e._s(n.label))]);
7798
+ return [o("a-menu", { on: { click: function(l) {
7799
+ return e.onClickMenuItem(l, n);
7800
+ } } }, e._l(e.calcList, function(l) {
7801
+ return o("a-menu-item", { key: l.value }, [e._v(e._s(l.label))]);
7790
7802
  }), 1)];
7791
7803
  }, proxy: !0 }], null, !0) }, [e.isVue3 ? o("down-outlined", { staticStyle: { color: "#aaa" } }) : o("span", { staticStyle: { "font-size": "14px" } }, [e._v("⌵")])], 1)];
7792
- }, proxy: !0 }], null, !0), model: { value: l.value, callback: function(n) {
7793
- e.$set(l, "value", n);
7794
- }, expression: "data.value" } }) : o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.calcList }, on: { change: function(n) {
7795
- return e.onSelectChange(n, l);
7796
- } }, model: { value: l.value, callback: function(n) {
7797
- e.$set(l, "value", n);
7798
- }, expression: "data.value" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本:")]), o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: l.label, callback: function(n) {
7799
- e.$set(l, "label", n);
7804
+ }, proxy: !0 }], null, !0), model: { value: n.value, callback: function(l) {
7805
+ e.$set(n, "value", l);
7806
+ }, expression: "data.value" } }) : o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.calcList }, on: { change: function(l) {
7807
+ return e.onSelectChange(l, n);
7808
+ } }, model: { value: n.value, callback: function(l) {
7809
+ e.$set(n, "value", l);
7810
+ }, expression: "data.value" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本:")]), o("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
7811
+ e.$set(n, "label", l);
7800
7812
  }, expression: "data.label" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本水平偏移量:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
7801
7813
  return [e._v(" px ")];
7802
- }, proxy: !0 }], null, !0), model: { value: l.offsetHorizontal, callback: function(n) {
7803
- e.$set(l, "offsetHorizontal", n);
7814
+ }, proxy: !0 }], null, !0), model: { value: n.offsetHorizontal, callback: function(l) {
7815
+ e.$set(n, "offsetHorizontal", l);
7804
7816
  }, expression: "data.offsetHorizontal" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本垂直偏移量:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入", controls: !1 }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonAfter", fn: function() {
7805
7817
  return [e._v(" px ")];
7806
- }, proxy: !0 }], null, !0), model: { value: l.offsetVertical, callback: function(n) {
7807
- e.$set(l, "offsetVertical", n);
7808
- }, expression: "data.offsetVertical" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线类型:")]), o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.lineTypeOptions }, on: { change: function(n) {
7809
- return e.setLineType(l, n);
7810
- } }, model: { value: l.lineType, callback: function(n) {
7811
- e.$set(l, "lineType", n);
7812
- }, expression: "data.lineType" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线颜色:")]), o("color-pick", { attrs: { value: l.lineColor || "" }, on: { change: function(n) {
7813
- return e.setLineColor(l, n);
7814
- } } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本颜色:")]), o("color-pick", { attrs: { value: l.labelColor || "" }, on: { change: function(n) {
7815
- return e.setLabelColor(l, n);
7818
+ }, proxy: !0 }], null, !0), model: { value: n.offsetVertical, callback: function(l) {
7819
+ e.$set(n, "offsetVertical", l);
7820
+ }, expression: "data.offsetVertical" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线类型:")]), o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.lineTypeOptions }, on: { change: function(l) {
7821
+ return e.setLineType(n, l);
7822
+ } }, model: { value: n.lineType, callback: function(l) {
7823
+ e.$set(n, "lineType", l);
7824
+ }, expression: "data.lineType" } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("标线颜色:")]), o("color-pick", { attrs: { value: n.lineColor || "" }, on: { change: function(l) {
7825
+ return e.setLineColor(n, l);
7826
+ } } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本颜色:")]), o("color-pick", { attrs: { value: n.labelColor || "" }, on: { change: function(l) {
7827
+ return e.setLabelColor(n, l);
7816
7828
  } } })], 1)])])]);
7817
7829
  })], 2);
7818
- }, bl = [], xl = /* @__PURE__ */ A(
7819
- hl,
7820
- fl,
7821
- bl,
7830
+ }, xn = [], yn = /* @__PURE__ */ A(
7831
+ fn,
7832
+ bn,
7833
+ xn,
7822
7834
  !1,
7823
7835
  null,
7824
7836
  "fe59467a",
7825
7837
  null,
7826
7838
  null
7827
7839
  );
7828
- const yl = xl.exports;
7829
- const vl = {
7840
+ const vn = yn.exports;
7841
+ const gn = {
7830
7842
  name: "FormGroup",
7831
7843
  components: {
7832
- PickColors: ze,
7844
+ PickColors: Re,
7833
7845
  InputNumber: ut
7834
7846
  // Draggable: () => import('vuedraggable')
7835
7847
  },
@@ -7880,9 +7892,9 @@ const vl = {
7880
7892
  }
7881
7893
  },
7882
7894
  newFormat() {
7883
- const t = this.selectedComponent.requestType || 0, e = this.selectedComponent.dataType || "", o = this.selectedComponent.DataSetFieldOptions || [], l = [...this.format];
7884
- return t === 1 && e === "request" ? l.forEach((a, n) => {
7885
- a.label === "索引" && (l[n] = ne(D({}, l[n]), {
7895
+ const t = this.selectedComponent.requestType || 0, e = this.selectedComponent.dataType || "", o = this.selectedComponent.DataSetFieldOptions || [], n = [...this.format];
7896
+ return t === 1 && e === "request" ? n.forEach((a, l) => {
7897
+ a.label === "索引" && (n[l] = le(D({}, n[l]), {
7886
7898
  type: "select",
7887
7899
  props: {
7888
7900
  options: o.map((r) => ({
@@ -7891,20 +7903,20 @@ const vl = {
7891
7903
  }))
7892
7904
  }
7893
7905
  }));
7894
- }) : l.forEach((a, n) => {
7895
- a.label === "索引" && (l[n] = ne(D({}, l[n]), {
7906
+ }) : n.forEach((a, l) => {
7907
+ a.label === "索引" && (n[l] = le(D({}, n[l]), {
7896
7908
  type: "input"
7897
7909
  }));
7898
- }), l;
7910
+ }), n;
7899
7911
  }
7900
7912
  },
7901
7913
  methods: {
7902
7914
  onValueChange(t, e, o) {
7903
7915
  var a;
7904
- const l = (a = this.value) == null ? void 0 : a.slice();
7905
- if (Array.isArray(l)) {
7906
- const n = t == null ? void 0 : t.target, r = (n == null ? void 0 : n.value) != null ? n == null ? void 0 : n.value : t;
7907
- o ? l[e][o] = r : l[e] = r, this.myValue = l;
7916
+ const n = (a = this.value) == null ? void 0 : a.slice();
7917
+ if (Array.isArray(n)) {
7918
+ const l = t == null ? void 0 : t.target, r = (l == null ? void 0 : l.value) != null ? l == null ? void 0 : l.value : t;
7919
+ o ? n[e][o] = r : n[e] = r, this.myValue = n;
7908
7920
  }
7909
7921
  },
7910
7922
  onAdd() {
@@ -7914,14 +7926,14 @@ const vl = {
7914
7926
  return;
7915
7927
  const e = t.length;
7916
7928
  if (this.max === -1 || this.max > e) {
7917
- const l = t[0];
7918
- if (Object.prototype.toString.call(l) === "[object Object]") {
7919
- const a = Object.keys(l), n = {};
7929
+ const n = t[0];
7930
+ if (Object.prototype.toString.call(n) === "[object Object]") {
7931
+ const a = Object.keys(n), l = {};
7920
7932
  a.forEach((r) => {
7921
- n[r] = "";
7922
- }), t.push(n);
7933
+ l[r] = "";
7934
+ }), t.push(l);
7923
7935
  } else
7924
- typeof l == "string" && t.push(l);
7936
+ typeof n == "string" && t.push(n);
7925
7937
  this.myValue = t;
7926
7938
  } else
7927
7939
  this.$message.warn("已达到最大上限");
@@ -7940,56 +7952,56 @@ const vl = {
7940
7952
  isShow(t, e) {
7941
7953
  let o = !0;
7942
7954
  if (t.show) {
7943
- const { match: l, value: a } = t.show;
7944
- typeof a == "string" && e[l] === a || Array.isArray(a) && a.includes(e[l]) ? o = !0 : o = !1;
7955
+ const { match: n, value: a } = t.show;
7956
+ typeof a == "string" && e[n] === a || Array.isArray(a) && a.includes(e[n]) ? o = !0 : o = !1;
7945
7957
  }
7946
7958
  return o;
7947
7959
  }
7948
7960
  }
7949
7961
  };
7950
- var gl = function() {
7962
+ var Sn = function() {
7951
7963
  var e = this, o = e._self._c;
7952
- return o("div", { staticClass: "form-group" }, [e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon add", on: { click: e.onAdd } }) : o("span", { staticClass: "icon add", on: { click: e.onAdd } }, [e._v("+")]), e.isVue3 ? o("draggable", { staticClass: "form", attrs: { "item-key": "id" }, scopedSlots: e._u([{ key: "item", fn: function({ element: l, index: a }) {
7953
- return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(n, r) {
7964
+ return o("div", { staticClass: "form-group" }, [e.isVue3 ? o("appstore-add-outlined", { staticClass: "icon add", on: { click: e.onAdd } }) : o("span", { staticClass: "icon add", on: { click: e.onAdd } }, [e._v("+")]), e.isVue3 ? o("draggable", { staticClass: "form", attrs: { "item-key": "id" }, scopedSlots: e._u([{ key: "item", fn: function({ element: n, index: a }) {
7965
+ return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
7954
7966
  var m;
7955
- return o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(n, l), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(n.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(n.useLabelIndex ? n.label[a] + (a + 1) : n.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(n.useLabelIndex ? n.label + (a + 1) : n.label) + " ")]), o(e.useComponentType(n.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
7956
- width: !["color", "switch"].includes(n.type) && e.format.length > 1 ? "110px" : ""
7967
+ return o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(l.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), o(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
7968
+ width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
7957
7969
  }, attrs: { theme: e.theme, "use-blur-event": !1 }, on: { change: function(d) {
7958
- return e.onValueChange(d, a, n.value);
7959
- } } }, "component", e._d({}, [e.formatTypeValue(n.typeValue), typeof l == "string" ? l : (m = l[n.value]) != null ? m : n.defaultValue])), "component", n.props, !1))], 2);
7970
+ return e.onValueChange(d, a, l.value);
7971
+ } } }, "component", e._d({}, [e.formatTypeValue(l.typeValue), typeof n == "string" ? n : (m = n[l.value]) != null ? m : l.defaultValue])), "component", l.props, !1))], 2);
7960
7972
  }), 0)];
7961
- } }], null, !1, 220332434), model: { value: e.myValue, callback: function(l) {
7962
- e.myValue = l;
7963
- }, expression: "myValue" } }) : o("draggable", { staticClass: "form", attrs: { list: e.myValue, "item-key": "id" }, model: { value: e.myValue, callback: function(l) {
7964
- e.myValue = l;
7965
- }, expression: "myValue" } }, [e._l(e.myValue, function(l, a) {
7966
- return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(n, r) {
7973
+ } }], null, !1, 220332434), model: { value: e.myValue, callback: function(n) {
7974
+ e.myValue = n;
7975
+ }, expression: "myValue" } }) : o("draggable", { staticClass: "form", attrs: { list: e.myValue, "item-key": "id" }, model: { value: e.myValue, callback: function(n) {
7976
+ e.myValue = n;
7977
+ }, expression: "myValue" } }, [e._l(e.myValue, function(n, a) {
7978
+ return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
7967
7979
  var m;
7968
- return o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(n, l), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(n.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(n.useLabelIndex ? n.label[a] + (a + 1) : n.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(n.useLabelIndex ? n.label + (a + 1) : n.label) + " ")]), o(e.useComponentType(n.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
7969
- width: !["color", "switch"].includes(n.type) && e.format.length > 1 ? "110px" : ""
7980
+ return o("div", { directives: [{ name: "show", rawName: "v-show", value: e.isShow(l, n), expression: "isShow(f, e)" }], key: r, staticClass: "form-item" }, [Array.isArray(l.label) ? [o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label[a] + (a + 1) : l.label[a]) + " ")])] : o("span", { staticClass: "label" }, [e._v(" " + e._s(l.useLabelIndex ? l.label + (a + 1) : l.label) + " ")]), o(e.useComponentType(l.type), e._b(e._b({ tag: "component", staticClass: "value", style: {
7981
+ width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
7970
7982
  }, attrs: { "use-blur-event": !1 }, on: { change: function(d) {
7971
- return e.onValueChange(d, a, n.value);
7972
- } } }, "component", e._d({}, [e.formatTypeValue(n.typeValue), typeof l == "string" ? l : (m = l[n.value]) != null ? m : n.defaultValue])), "component", n.props, !1))], 2);
7983
+ return e.onValueChange(d, a, l.value);
7984
+ } } }, "component", e._d({}, [e.formatTypeValue(l.typeValue), typeof n == "string" ? n : (m = n[l.value]) != null ? m : l.defaultValue])), "component", l.props, !1))], 2);
7973
7985
  }), 0)];
7974
- })], 2), o("div", { staticClass: "icon-group" }, e._l(e.myValue, function(l, a) {
7975
- return o("div", { key: a, staticClass: "icon-item" }, [e.isVue3 ? o("minus-circle-outlined", { staticClass: "icon delete", on: { click: function(n) {
7986
+ })], 2), o("div", { staticClass: "icon-group" }, e._l(e.myValue, function(n, a) {
7987
+ return o("div", { key: a, staticClass: "icon-item" }, [e.isVue3 ? o("minus-circle-outlined", { staticClass: "icon delete", on: { click: function(l) {
7976
7988
  return e.onDelete(a);
7977
- } } }) : o("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(n) {
7989
+ } } }) : o("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(l) {
7978
7990
  return e.onDelete(a);
7979
7991
  } } }, [e._v("-")])], 1);
7980
7992
  }), 0)], 1);
7981
- }, Sl = [], _l = /* @__PURE__ */ A(
7982
- vl,
7983
- gl,
7984
- Sl,
7993
+ }, _n = [], wn = /* @__PURE__ */ A(
7994
+ gn,
7995
+ Sn,
7996
+ _n,
7985
7997
  !1,
7986
7998
  null,
7987
7999
  "a826f5d7",
7988
8000
  null,
7989
8001
  null
7990
8002
  );
7991
- const wl = _l.exports;
7992
- const Cl = {
8003
+ const Cn = wn.exports;
8004
+ const An = {
7993
8005
  name: "GraphicFieldSelect",
7994
8006
  props: {
7995
8007
  value: {
@@ -8018,23 +8030,23 @@ const Cl = {
8018
8030
  }
8019
8031
  }
8020
8032
  };
8021
- var Al = function() {
8033
+ var Tn = function() {
8022
8034
  var e = this, o = e._self._c;
8023
- return o("a-select", { attrs: { options: e.options }, model: { value: e.myValue, callback: function(l) {
8024
- e.myValue = l;
8035
+ return o("a-select", { attrs: { options: e.options }, model: { value: e.myValue, callback: function(n) {
8036
+ e.myValue = n;
8025
8037
  }, expression: "myValue" } });
8026
- }, Tl = [], Ll = /* @__PURE__ */ A(
8027
- Cl,
8028
- Al,
8029
- Tl,
8038
+ }, Ln = [], kn = /* @__PURE__ */ A(
8039
+ An,
8040
+ Tn,
8041
+ Ln,
8030
8042
  !1,
8031
8043
  null,
8032
8044
  "cbd51c5b",
8033
8045
  null,
8034
8046
  null
8035
8047
  );
8036
- const kl = Ll.exports;
8037
- const $l = [
8048
+ const $n = kn.exports;
8049
+ const In = [
8038
8050
  {
8039
8051
  label: "大于",
8040
8052
  value: ">"
@@ -8055,7 +8067,7 @@ const $l = [
8055
8067
  label: "等于",
8056
8068
  value: "=="
8057
8069
  }
8058
- ], Il = {
8070
+ ], Fn = {
8059
8071
  name: "VisualColorConfig",
8060
8072
  components: {
8061
8073
  AppstoreAddOutlined: _t,
@@ -8075,7 +8087,7 @@ const $l = [
8075
8087
  data() {
8076
8088
  return {
8077
8089
  dataList: [],
8078
- ruleOptions: $l
8090
+ ruleOptions: In
8079
8091
  };
8080
8092
  },
8081
8093
  watch: {
@@ -8111,41 +8123,41 @@ const $l = [
8111
8123
  this.dataList = Z(this.value || []);
8112
8124
  }
8113
8125
  };
8114
- var Fl = function() {
8126
+ var Vn = function() {
8115
8127
  var e = this, o = e._self._c;
8116
- return o("div", { staticClass: "visual-color-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(l, a) {
8117
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
8128
+ return o("div", { staticClass: "visual-color-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
8129
+ return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
8118
8130
  e.onDelete(Number(a));
8119
8131
  } } }, [e._v("删除")])]), o("div", { staticStyle: { margin: "10px 0" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8120
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: l.rule1, callback: function(n) {
8121
- e.$set(l, "rule1", n);
8132
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
8133
+ e.$set(n, "rule1", l);
8122
8134
  }, expression: "data.rule1" } })];
8123
- }, proxy: !0 }], null, !0), model: { value: l.value1, callback: function(n) {
8124
- e.$set(l, "value1", n);
8135
+ }, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
8136
+ e.$set(n, "value1", l);
8125
8137
  }, expression: "data.value1" } })], 1), o("div", { staticStyle: { margin: "15px 0 10px" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8126
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: l.rule2, callback: function(n) {
8127
- e.$set(l, "rule2", n);
8138
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
8139
+ e.$set(n, "rule2", l);
8128
8140
  }, expression: "data.rule2" } })];
8129
- }, proxy: !0 }], null, !0), model: { value: l.value2, callback: function(n) {
8130
- e.$set(l, "value2", n);
8131
- }, expression: "data.value2" } })], 1), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("名称:")]), o("a-input", { attrs: { placeholder: "请输入名称" }, on: { change: e.onInputChange }, model: { value: l.name, callback: function(n) {
8132
- e.$set(l, "name", n);
8133
- }, expression: "data.name" } }), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("颜色:")]), o("color-pick", { attrs: { value: l.color }, on: { change: function(n) {
8134
- return e.setColor(l, n);
8141
+ }, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
8142
+ e.$set(n, "value2", l);
8143
+ }, expression: "data.value2" } })], 1), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("名称:")]), o("a-input", { attrs: { placeholder: "请输入名称" }, on: { change: e.onInputChange }, model: { value: n.name, callback: function(l) {
8144
+ e.$set(n, "name", l);
8145
+ }, expression: "data.name" } }), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
8146
+ return e.setColor(n, l);
8135
8147
  } } })], 1)]);
8136
8148
  })], 2);
8137
- }, Vl = [], Ml = /* @__PURE__ */ A(
8138
- Il,
8139
- Fl,
8140
- Vl,
8149
+ }, Mn = [], Dn = /* @__PURE__ */ A(
8150
+ Fn,
8151
+ Vn,
8152
+ Mn,
8141
8153
  !1,
8142
8154
  null,
8143
8155
  "d1d2fffe",
8144
8156
  null,
8145
8157
  null
8146
8158
  );
8147
- const Dl = Ml.exports;
8148
- const Ol = [
8159
+ const On = Dn.exports;
8160
+ const zn = [
8149
8161
  {
8150
8162
  label: "大于",
8151
8163
  value: ">"
@@ -8166,7 +8178,7 @@ const Ol = [
8166
8178
  label: "等于",
8167
8179
  value: "=="
8168
8180
  }
8169
- ], Rl = {
8181
+ ], Rn = {
8170
8182
  name: "VisualSizeConfig",
8171
8183
  components: {
8172
8184
  AppstoreAddOutlined: _t,
@@ -8186,7 +8198,7 @@ const Ol = [
8186
8198
  data() {
8187
8199
  return {
8188
8200
  dataList: [],
8189
- ruleOptions: Ol
8201
+ ruleOptions: zn
8190
8202
  };
8191
8203
  },
8192
8204
  watch: {
@@ -8219,39 +8231,39 @@ const Ol = [
8219
8231
  this.dataList = Z(this.value || []);
8220
8232
  }
8221
8233
  };
8222
- var zl = function() {
8234
+ var Pn = function() {
8223
8235
  var e = this, o = e._self._c;
8224
- return o("div", { staticClass: "visual-size-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(l, a) {
8225
- return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(n) {
8236
+ return o("div", { staticClass: "visual-size-config" }, [o("div", { staticClass: "add" }, [o("appstore-add-outlined", { staticClass: "icon", on: { click: e.onAdd } })], 1), e._l(e.dataList, function(n, a) {
8237
+ return o("div", { key: a, staticClass: "config-item" }, [o("div", { staticClass: "item" }, [o("div", { staticStyle: { display: "flex", "justify-content": "space-between" } }, [o("span", [e._v("条件" + e._s(Number(a) + 1) + ":")]), o("span", { staticStyle: { color: "red", cursor: "pointer" }, on: { click: function(l) {
8226
8238
  e.onDelete(Number(a));
8227
8239
  } } }, [e._v("删除")])]), o("div", { staticStyle: { margin: "10px 0" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8228
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: l.rule1, callback: function(n) {
8229
- e.$set(l, "rule1", n);
8240
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
8241
+ e.$set(n, "rule1", l);
8230
8242
  }, expression: "data.rule1" } })];
8231
- }, proxy: !0 }], null, !0), model: { value: l.value1, callback: function(n) {
8232
- e.$set(l, "value1", n);
8243
+ }, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
8244
+ e.$set(n, "value1", l);
8233
8245
  }, expression: "data.value1" } })], 1), o("div", { staticStyle: { margin: "15px 0 10px" } }, [o("a-input", { attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, scopedSlots: e._u([{ key: "addonBefore", fn: function() {
8234
- return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: l.rule2, callback: function(n) {
8235
- e.$set(l, "rule2", n);
8246
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
8247
+ e.$set(n, "rule2", l);
8236
8248
  }, expression: "data.rule2" } })];
8237
- }, proxy: !0 }], null, !0), model: { value: l.value2, callback: function(n) {
8238
- e.$set(l, "value2", n);
8239
- }, expression: "data.value2" } })], 1), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("尺寸:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: l.size, callback: function(n) {
8240
- e.$set(l, "size", n);
8249
+ }, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
8250
+ e.$set(n, "value2", l);
8251
+ }, expression: "data.value2" } })], 1), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("尺寸:")]), o("a-input-number", { staticStyle: { width: "100%" }, attrs: { placeholder: "请输入" }, on: { change: e.onInputChange }, model: { value: n.size, callback: function(l) {
8252
+ e.$set(n, "size", l);
8241
8253
  }, expression: "data.size" } })], 1)]);
8242
8254
  })], 2);
8243
- }, Pl = [], Nl = /* @__PURE__ */ A(
8244
- Rl,
8245
- zl,
8246
- Pl,
8255
+ }, Nn = [], qn = /* @__PURE__ */ A(
8256
+ Rn,
8257
+ Pn,
8258
+ Nn,
8247
8259
  !1,
8248
8260
  null,
8249
8261
  "ed0b93ce",
8250
8262
  null,
8251
8263
  null
8252
8264
  );
8253
- const ql = Nl.exports, R = (t, e) => wo(t, e);
8254
- const Bl = {
8265
+ const Bn = qn.exports, z = (t, e) => wo(t, e);
8266
+ const En = {
8255
8267
  name: "PropsToForm",
8256
8268
  components: {
8257
8269
  EcanInput: Mt,
@@ -8261,14 +8273,14 @@ const Bl = {
8261
8273
  EcanSwitch: Do,
8262
8274
  EcanColorPick: ue,
8263
8275
  EcanColorGroupPick: Jo,
8264
- EcanSlider: ll,
8265
- EcanTextarea: sl,
8266
- EcanMarkAreaConfig: ml,
8267
- EcanMarkLinkConfig: yl,
8268
- EcanFormGroup: wl,
8269
- EcanGraphicFieldSelect: kl,
8270
- EcanVisualColorConfig: Dl,
8271
- EcanVisualSizeConfig: ql
8276
+ EcanSlider: nn,
8277
+ EcanTextarea: pn,
8278
+ EcanMarkAreaConfig: hn,
8279
+ EcanMarkLinkConfig: vn,
8280
+ EcanFormGroup: Cn,
8281
+ EcanGraphicFieldSelect: $n,
8282
+ EcanVisualColorConfig: On,
8283
+ EcanVisualSizeConfig: Bn
8272
8284
  },
8273
8285
  props: {
8274
8286
  props: {
@@ -8303,39 +8315,39 @@ const Bl = {
8303
8315
  return {};
8304
8316
  const e = {};
8305
8317
  for (const o in t) {
8306
- const l = Ae[o], a = l == null ? void 0 : l.show;
8318
+ const n = Ae[o], a = n == null ? void 0 : n.show;
8307
8319
  a ? this.getShowResult(a, t).isMatch && (e[o] = t[o]) : e[o] = t[o];
8308
8320
  }
8309
- return pt(e, (o, l, a) => {
8310
- const n = Ae[a];
8311
- if (Array.isArray(n)) {
8312
- const r = n.find((m) => {
8321
+ return pt(e, (o, n, a) => {
8322
+ const l = Ae[a];
8323
+ if (Array.isArray(l)) {
8324
+ const r = l.find((m) => {
8313
8325
  const { onlyType: d, excludeType: c, dataVNoHas: g } = m;
8314
8326
  let x = !1;
8315
- return d == null && c == null ? x = !0 : d ? x = R(this.selectedComponentType, d) : c && (x = !R(this.selectedComponentType, c)), x && m.show && (x = this.getShowResult(m.show, t).isMatch), g && isVue3 && (x = !1), x;
8327
+ return d == null && c == null ? x = !0 : d ? x = z(this.selectedComponentType, d) : c && (x = !z(this.selectedComponentType, c)), x && m.show && (x = this.getShowResult(m.show, t).isMatch), g && isVue3 && (x = !1), x;
8316
8328
  });
8317
- r && this.setFormProps({ result: o, value: l, key: a, mapAttributeProp: r });
8329
+ r && this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: r });
8318
8330
  } else
8319
- this.setFormProps({ result: o, value: l, key: a, mapAttributeProp: n });
8331
+ this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: l });
8320
8332
  return o;
8321
8333
  }, {});
8322
8334
  }
8323
8335
  },
8324
8336
  methods: {
8325
- setFormProps({ result: t, mapAttributeProp: e, key: o, value: l }) {
8337
+ setFormProps({ result: t, mapAttributeProp: e, key: o, value: n }) {
8326
8338
  if (t == null || typeof t != "object")
8327
8339
  return;
8328
8340
  const {
8329
8341
  valueProp: a = "value",
8330
- changeValueEventName: n = "change",
8342
+ changeValueEventName: l = "change",
8331
8343
  events: r,
8332
8344
  updateMode: m
8333
8345
  } = e;
8334
- t[o] = ne(D({}, e), {
8346
+ t[o] = le(D({}, e), {
8335
8347
  valueProp: a,
8336
- value: l,
8348
+ value: n,
8337
8349
  events: D({
8338
- [n]: (d, c = { useContainer: !1 }, g = !0) => {
8350
+ [l]: (d, c = { useContainer: !1 }, g = !0) => {
8339
8351
  [void 0, "component"].includes(m) && g && !d.target && this.$emit("change", { [o]: d }, c);
8340
8352
  }
8341
8353
  }, r)
@@ -8343,53 +8355,53 @@ const Bl = {
8343
8355
  },
8344
8356
  // 判断关联的属性值是否满足
8345
8357
  getShowResult(t = [], e) {
8346
- return t.reduce((o, l) => {
8358
+ return t.reduce((o, n) => {
8347
8359
  let a = {
8348
8360
  isMatch: !0,
8349
8361
  rule: null
8350
8362
  };
8351
8363
  o && (a = o);
8352
- let n = !1;
8353
- if (l.valueRule === "not" ? n = e[l.match] !== l.value : n = e[l.match] === l.value, o) {
8364
+ let l = !1;
8365
+ if (n.valueRule === "not" ? l = e[n.match] !== n.value : l = e[n.match] === n.value, o) {
8354
8366
  if (a.rule)
8355
8367
  switch (a.rule) {
8356
8368
  case "and":
8357
- a.isMatch = a.isMatch && n;
8369
+ a.isMatch = a.isMatch && l;
8358
8370
  break;
8359
8371
  case "or":
8360
- a.isMatch = a.isMatch || n;
8372
+ a.isMatch = a.isMatch || l;
8361
8373
  break;
8362
8374
  }
8363
8375
  } else
8364
- a.isMatch = n;
8365
- return a.rule = l.rule || "and", a;
8376
+ a.isMatch = l;
8377
+ return a.rule = n.rule || "and", a;
8366
8378
  }, null);
8367
8379
  }
8368
8380
  }
8369
8381
  };
8370
- var El = function() {
8382
+ var Wn = function() {
8371
8383
  var e = this, o = e._self._c;
8372
- return o("div", { staticClass: "props-to-form" }, e._l(e.formProps, function(l, a) {
8373
- var n;
8374
- return o("div", { key: a, class: ["prop-item", { layout: l.layout === "vertical" }] }, [l.label ? o("span", { class: ["label", l.layout === "vertical" ? "label-vertical" : ""], style: { width: e.isVue3 ? "28%" : "38%" } }, [e._v(" " + e._s(l.label) + " ")]) : e._e(), o("div", { staticClass: "component-wrapper" }, [Array.isArray(l) ? e._l(l, function(r, m) {
8384
+ return o("div", { staticClass: "props-to-form" }, e._l(e.formProps, function(n, a) {
8385
+ var l;
8386
+ return o("div", { key: a, class: ["prop-item", { layout: n.layout === "vertical" }] }, [n.label ? o("span", { class: ["label", n.layout === "vertical" ? "label-vertical" : ""], style: { width: e.isVue3 ? "28%" : "38%" } }, [e._v(" " + e._s(n.label) + " ")]) : e._e(), o("div", { staticClass: "component-wrapper" }, [Array.isArray(n) ? e._l(n, function(r, m) {
8375
8387
  return o("div", { key: m, staticClass: "component" }, [o("Ecan" + r.component[0].toUpperCase() + r.component.slice(1), e._g(e._b({ tag: "component", style: r.style, attrs: { disabled: e.disabled } }, "component", r.props, !1), r.events))], 1);
8376
- }) : e._e(), Array.isArray(l) ? e._e() : [l.component ? o("Ecan" + l.component[0].toUpperCase() + l.component.slice(1), e._g(e._b(e._b({ tag: "component", staticClass: "component", style: l.style, attrs: { disabled: e.disabled } }, "component", e._d({}, [l.valueProp, l.value])), "component", l.props, !1), l.events)) : e._e(), (n = l == null ? void 0 : l.props) != null && n.tooltip ? o("a-tooltip", { attrs: { title: l.props.tooltip, placement: "topRight", overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { style: e.questionStyle })], 1) : e._e()]], 2)]);
8388
+ }) : e._e(), Array.isArray(n) ? e._e() : [n.component ? o("Ecan" + n.component[0].toUpperCase() + n.component.slice(1), e._g(e._b(e._b({ tag: "component", staticClass: "component", style: n.style, attrs: { disabled: e.disabled } }, "component", e._d({}, [n.valueProp, n.value])), "component", n.props, !1), n.events)) : e._e(), (l = n == null ? void 0 : n.props) != null && l.tooltip ? o("a-tooltip", { attrs: { title: n.props.tooltip, placement: "topRight", overlayClassName: "question-tooltip", color: "#fff" } }, [o("question-circle-outlined", { style: e.questionStyle })], 1) : e._e()]], 2)]);
8377
8389
  }), 0);
8378
- }, Wl = [], jl = /* @__PURE__ */ A(
8379
- Bl,
8380
- El,
8381
- Wl,
8390
+ }, jn = [], Gn = /* @__PURE__ */ A(
8391
+ En,
8392
+ Wn,
8393
+ jn,
8382
8394
  !1,
8383
8395
  null,
8384
8396
  "dcfa4721",
8385
8397
  null,
8386
8398
  null
8387
8399
  );
8388
- const Gl = jl.exports;
8389
- const Hl = {
8400
+ const Hn = Gn.exports;
8401
+ const Un = {
8390
8402
  name: "AttributeConfig",
8391
8403
  components: {
8392
- PropsToForm: Gl
8404
+ PropsToForm: Hn
8393
8405
  },
8394
8406
  props: ["searchValue", "selectedComponent", "selectedComponentType", "renderUsedComponentList"],
8395
8407
  provide() {
@@ -8410,34 +8422,34 @@ const Hl = {
8410
8422
  searchProps() {
8411
8423
  return pt(
8412
8424
  Ae,
8413
- (t, e, o) => (Array.isArray(e) ? e.forEach((l) => {
8414
- R(l.label, this.searchValue) && t.push(o);
8415
- }) : !Array.isArray(e) && R(e.label, this.searchValue) && t.push(o), t),
8425
+ (t, e, o) => (Array.isArray(e) ? e.forEach((n) => {
8426
+ z(n.label, this.searchValue) && t.push(o);
8427
+ }) : !Array.isArray(e) && z(e.label, this.searchValue) && t.push(o), t),
8416
8428
  []
8417
8429
  );
8418
8430
  },
8419
8431
  finalProps() {
8420
- var o, l;
8432
+ var o, n;
8421
8433
  const t = (o = this.selectedComponent) == null ? void 0 : o.type;
8422
8434
  let e = {};
8423
8435
  if (t != null) {
8424
- const a = ((l = this.componentList) == null ? void 0 : l.find((r) => R(r.type, t))) || {}, n = ge(this.selectedComponent || {}, Object.keys(a || {}));
8425
- e = D(D({}, a), n);
8436
+ const a = ((n = this.componentList) == null ? void 0 : n.find((r) => z(r.type, t))) || {}, l = ge(this.selectedComponent || {}, Object.keys(a || {}));
8437
+ e = D(D({}, a), l);
8426
8438
  }
8427
8439
  return ge(e, this.searchProps);
8428
8440
  },
8429
8441
  detailPropsGroups() {
8430
8442
  return Lt.map((t) => {
8431
- const { props: e, title: o, enableProps: l, onlyType: a, excludeType: n, showSwitch: r, dataVNoHas: m } = t, d = [];
8443
+ const { props: e, title: o, enableProps: n, onlyType: a, excludeType: l, showSwitch: r, dataVNoHas: m } = t, d = [];
8432
8444
  return e.forEach((c) => {
8433
8445
  var g, x;
8434
- m && isVue3 || (typeof c == "string" ? d.push(c) : R((g = this.selectedComponent) == null ? void 0 : g.type, c.onlyType) ? d.push(c.value) : R((x = this.selectedComponent) == null ? void 0 : x.type, c.excludeType) || d.push(c.value));
8446
+ m && isVue3 || (typeof c == "string" ? d.push(c) : z((g = this.selectedComponent) == null ? void 0 : g.type, c.onlyType) ? d.push(c.value) : z((x = this.selectedComponent) == null ? void 0 : x.type, c.excludeType) || d.push(c.value));
8435
8447
  }), {
8436
8448
  title: o,
8437
- enableProps: typeof l == "string" && this.selectedComponent ? this.selectedComponent[l] : void 0,
8438
- enablePropsName: l,
8449
+ enableProps: typeof n == "string" && this.selectedComponent ? this.selectedComponent[n] : void 0,
8450
+ enablePropsName: n,
8439
8451
  onlyType: a,
8440
- excludeType: n,
8452
+ excludeType: l,
8441
8453
  showSwitch: r,
8442
8454
  props: ge(this.finalProps, d)
8443
8455
  };
@@ -8452,9 +8464,9 @@ const Hl = {
8452
8464
  if (t && Object.keys(t).length === 1) {
8453
8465
  const e = this.componentList.find((i) => i.type === "ecanBar"), {
8454
8466
  id: o,
8455
- name: l,
8467
+ name: n,
8456
8468
  keyName: a,
8457
- width: n,
8469
+ width: l,
8458
8470
  height: r,
8459
8471
  position: m,
8460
8472
  top: d,
@@ -8521,45 +8533,45 @@ const Hl = {
8521
8533
  e == null || e.stopPropagation();
8522
8534
  },
8523
8535
  isRenderForm(t, e) {
8524
- const { onlyType: o, excludeType: l } = t;
8525
- return o == null && l == null ? !0 : o ? R(e, o) : l ? !R(e, l) : !1;
8536
+ const { onlyType: o, excludeType: n } = t;
8537
+ return o == null && n == null ? !0 : o ? z(e, o) : n ? !z(e, n) : !1;
8526
8538
  },
8527
8539
  lowerCaseIncludes(t, e) {
8528
- return R(t, e);
8540
+ return z(t, e);
8529
8541
  },
8530
8542
  change(...t) {
8531
8543
  this.$emit("change", ...t);
8532
8544
  }
8533
8545
  }
8534
8546
  };
8535
- var Ul = function() {
8547
+ var Kn = function() {
8536
8548
  var e = this, o = e._self._c;
8537
- return o("div", [o("a-collapse", { model: { value: e.activeKey, callback: function(l) {
8538
- e.activeKey = l;
8539
- }, expression: "activeKey" } }, [e._l(e.detailPropsGroups, function(l, a) {
8540
- return [e.isRenderForm(l, e.selectedComponentType) ? [l.title ? o("a-collapse-panel", { key: String(a), attrs: { header: l.title }, scopedSlots: e._u([{ key: "extra", fn: function() {
8541
- return [typeof l.enableProps == "boolean" || l.showSwitch ? o("a-switch", { attrs: { checked: l.enableProps }, on: { change: (n) => e.onSwitchChange(n, l.enablePropsName), click: e.onSwitchClick } }) : e._e()];
8542
- }, proxy: !0 }], null, !0) }, [o("props-to-form", { attrs: { selectedComponentType: e.selectedComponentType, props: l.props, disabled: typeof l.enableProps == "boolean" ? !l.enableProps : !!l.showSwitch }, on: { change: e.change } })], 1) : o("div", { staticClass: "props-to-form-wrapper" }, [o("props-to-form", { attrs: { props: l.props }, on: { change: e.change } })], 1)] : e._e()];
8549
+ return o("div", [o("a-collapse", { model: { value: e.activeKey, callback: function(n) {
8550
+ e.activeKey = n;
8551
+ }, expression: "activeKey" } }, [e._l(e.detailPropsGroups, function(n, a) {
8552
+ return [e.isRenderForm(n, e.selectedComponentType) ? [n.title ? o("a-collapse-panel", { key: String(a), attrs: { header: n.title }, scopedSlots: e._u([{ key: "extra", fn: function() {
8553
+ return [typeof n.enableProps == "boolean" || n.showSwitch ? o("a-switch", { attrs: { checked: n.enableProps }, on: { change: (l) => e.onSwitchChange(l, n.enablePropsName), click: e.onSwitchClick } }) : e._e()];
8554
+ }, proxy: !0 }], null, !0) }, [o("props-to-form", { attrs: { selectedComponentType: e.selectedComponentType, props: n.props, disabled: typeof n.enableProps == "boolean" ? !n.enableProps : !!n.showSwitch }, on: { change: e.change } })], 1) : o("div", { staticClass: "props-to-form-wrapper" }, [o("props-to-form", { attrs: { props: n.props }, on: { change: e.change } })], 1)] : e._e()];
8543
8555
  })], 2)], 1);
8544
- }, Kl = [], Yl = /* @__PURE__ */ A(
8545
- Hl,
8546
- Ul,
8547
- Kl,
8556
+ }, Yn = [], Xn = /* @__PURE__ */ A(
8557
+ Un,
8558
+ Kn,
8559
+ Yn,
8548
8560
  !1,
8549
8561
  null,
8550
8562
  "631236ea",
8551
8563
  null,
8552
8564
  null
8553
8565
  );
8554
- const Xl = Yl.exports;
8566
+ const Zn = Xn.exports;
8555
8567
  window.VUE_VERSION = "2";
8556
8568
  window.isVue3 = !1;
8557
- const en = {
8569
+ const tl = {
8558
8570
  install(t, e) {
8559
- t.component("ChartPanel", Xl);
8571
+ t.component("ChartPanel", Zn);
8560
8572
  }
8561
8573
  };
8562
8574
  export {
8563
- Xl as ChartPanel,
8564
- en as default
8575
+ Zn as ChartPanel,
8576
+ tl as default
8565
8577
  };