@ecan-bi/chart-config-panel 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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",
@@ -6188,11 +6190,19 @@ const Lt = [
6188
6190
  label: "条件设置",
6189
6191
  component: "visual-size-config",
6190
6192
  layout: "vertical"
6193
+ },
6194
+ tooltipFontSize: {
6195
+ label: "字号",
6196
+ component: "input-number",
6197
+ props: {
6198
+ suffix: "px",
6199
+ min: 1
6200
+ }
6191
6201
  }
6192
6202
  };
6193
- function A(t, e, o, l, a, n, r, m) {
6203
+ function A(t, e, o, n, a, l, r, m) {
6194
6204
  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);
6205
+ e && (d.render = e, d.staticRenderFns = o, d._compiled = !0), n && (d.functional = !0), l && (d._scopeId = "data-v-" + l);
6196
6206
  var c;
6197
6207
  if (r ? (c = function(y) {
6198
6208
  y = y || // cached call
@@ -6394,32 +6404,32 @@ const Dt = {
6394
6404
  };
6395
6405
  var Ot = function() {
6396
6406
  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) + " ")]);
6407
+ 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) {
6408
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6399
6409
  }), 1)] : o("span", [e._v(e._s(e.prefix))])], 2)] : e._e(), o("a-input-number", { style: D({
6400
6410
  flex: 1
6401
6411
  }, 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) + " ")]);
6412
+ return [o("a-select", { attrs: { value: e.prefixValue }, on: { change: e.onPrefixChange } }, e._l(e.prefix, function(n, a) {
6413
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6404
6414
  }), 1)];
6405
6415
  }, 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) + " ")]);
6416
+ return [o("a-select", { attrs: { value: e.suffixValue }, on: { change: e.onSuffixChange } }, e._l(e.suffix, function(n, a) {
6417
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6408
6418
  }), 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) + " ")]);
6419
+ }, 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) {
6420
+ return o("a-select-option", { key: a, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6411
6421
  }), 1)] : o("span", [e._v(e._s(e.suffix))])], 2)] : e._e()], 2);
6412
- }, Rt = [], zt = /* @__PURE__ */ A(
6422
+ }, zt = [], Rt = /* @__PURE__ */ A(
6413
6423
  Dt,
6414
6424
  Ot,
6415
- Rt,
6425
+ zt,
6416
6426
  !1,
6417
6427
  null,
6418
6428
  "d6ca6a85",
6419
6429
  null,
6420
6430
  null
6421
6431
  );
6422
- const ut = zt.exports;
6432
+ const ut = Rt.exports;
6423
6433
  const Pt = {
6424
6434
  name: "RadioGroup",
6425
6435
  components: {
@@ -6460,8 +6470,8 @@ const Pt = {
6460
6470
  };
6461
6471
  var Nt = function() {
6462
6472
  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) + " ")]);
6473
+ 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) {
6474
+ return o("a-radio-button", { key: n.value, attrs: { value: n.value } }, [e._v(" " + e._s(n.label) + " ")]);
6465
6475
  }), 1);
6466
6476
  }, qt = [], Bt = /* @__PURE__ */ A(
6467
6477
  Pt,
@@ -6489,25 +6499,25 @@ const j = [];
6489
6499
  function Oe(t, ...e) {
6490
6500
  if (process.env.NODE_ENV === "production")
6491
6501
  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)
6502
+ const o = j.length ? j[j.length - 1].component : null, n = o && o.appContext.config.warnHandler, a = function() {
6503
+ let l = j[j.length - 1];
6504
+ if (!l)
6495
6505
  return [];
6496
6506
  const r = [];
6497
- for (; n; ) {
6507
+ for (; l; ) {
6498
6508
  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;
6509
+ m && m.vnode === l ? m.recurseCount++ : r.push({ vnode: l, recurseCount: 0 });
6510
+ const d = l.component && l.component.parent;
6511
+ l = d && d.vnode;
6502
6512
  }
6503
6513
  return r;
6504
6514
  }();
6505
- if (l)
6506
- Re(l, o, 11, [t + e.join(""), o && o.proxy, a.map(({ vnode: n }) => `at <${Ke(o, n.type)}>`).join(`
6515
+ if (n)
6516
+ ze(n, o, 11, [t + e.join(""), o && o.proxy, a.map(({ vnode: l }) => `at <${Ke(o, l.type)}>`).join(`
6507
6517
  `), a]);
6508
6518
  else {
6509
- const n = [`[Vue warn]: ${t}`, ...e];
6510
- a.length && n.push(`
6519
+ const l = [`[Vue warn]: ${t}`, ...e];
6520
+ a.length && l.push(`
6511
6521
  `, ...function(r) {
6512
6522
  const m = [];
6513
6523
  return r.forEach((d, c) => {
@@ -6517,24 +6527,24 @@ function Oe(t, ...e) {
6517
6527
  return g.props ? [k, ...Kt(g.props), $] : [k + $];
6518
6528
  }(d));
6519
6529
  }), m;
6520
- }(a)), console.warn(...n);
6530
+ }(a)), console.warn(...l);
6521
6531
  }
6522
6532
  }
6523
6533
  function Kt(t) {
6524
6534
  const e = [], o = Object.keys(t);
6525
- return o.slice(0, 3).forEach((l) => {
6526
- e.push(...ct(l, t[l]));
6535
+ return o.slice(0, 3).forEach((n) => {
6536
+ e.push(...ct(n, t[n]));
6527
6537
  }), o.length > 3 && e.push(" ..."), e;
6528
6538
  }
6529
6539
  function ct(t, e, o) {
6530
6540
  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
6541
  }
6532
6542
  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) {
6543
+ function ze(t, e, o, n) {
6534
6544
  let a;
6535
6545
  try {
6536
- a = l ? t(...l) : t();
6537
- } catch (n) {
6546
+ a = n ? t(...n) : t();
6547
+ } catch (l) {
6538
6548
  (function(r, m, d, c = !0) {
6539
6549
  const g = m ? m.vnode : null;
6540
6550
  if (m) {
@@ -6551,7 +6561,7 @@ function Re(t, e, o, l) {
6551
6561
  }
6552
6562
  const k = m.appContext.config.errorHandler;
6553
6563
  if (k)
6554
- return void Re(k, null, 10, [r, y, _]);
6564
+ return void ze(k, null, 10, [r, y, _]);
6555
6565
  }
6556
6566
  (function(x, y, _, k = !0) {
6557
6567
  if (process.env.NODE_ENV !== "production") {
@@ -6563,7 +6573,7 @@ function Re(t, e, o, l) {
6563
6573
  console.error(x);
6564
6574
  var $;
6565
6575
  })(r, d, g, c);
6566
- })(n, e, o);
6576
+ })(l, e, o);
6567
6577
  }
6568
6578
  return a;
6569
6579
  }
@@ -6575,10 +6585,10 @@ let O = null, q = 0;
6575
6585
  const Yt = Promise.resolve();
6576
6586
  function Xt(t) {
6577
6587
  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;
6588
+ let o = B + 1, n = M.length;
6589
+ for (; o < n; ) {
6590
+ const a = o + n >>> 1, l = M[a], r = pe(l);
6591
+ r < e || r === e && l.pre ? o = a + 1 : n = a;
6582
6592
  }
6583
6593
  return o;
6584
6594
  }(t.id), 0, t), dt());
@@ -6605,16 +6615,16 @@ function mt(t) {
6605
6615
  if (o && o.active !== !1) {
6606
6616
  if (process.env.NODE_ENV !== "production" && e(o))
6607
6617
  continue;
6608
- Re(o, null, 14);
6618
+ ze(o, null, 14);
6609
6619
  }
6610
6620
  }
6611
6621
  } finally {
6612
6622
  B = 0, M.length = 0, function(o) {
6613
6623
  if (X.length) {
6614
- const l = [...new Set(X)];
6624
+ const n = [...new Set(X)];
6615
6625
  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++)
6626
+ return void O.push(...n);
6627
+ 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
6628
  process.env.NODE_ENV !== "production" && Ge(o, O[q]) || O[q]();
6619
6629
  O = null, q = 0;
6620
6630
  }
@@ -6625,7 +6635,7 @@ function Ge(t, e) {
6625
6635
  if (t.has(e)) {
6626
6636
  const o = t.get(e);
6627
6637
  if (o > 100) {
6628
- const l = e.ownerInstance, a = l && ht(l.type);
6638
+ const n = e.ownerInstance, a = n && ht(n.type);
6629
6639
  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
6640
  }
6631
6641
  t.set(e, o + 1);
@@ -6637,22 +6647,22 @@ process.env.NODE_ENV !== "production" && (Te().__VUE_HMR_RUNTIME__ = { createRec
6637
6647
  return fe.has(t) ? !1 : (fe.set(t, { initialDef: ie(e), instances: /* @__PURE__ */ new Set() }), !0);
6638
6648
  }), rerender: Se(function(t, e) {
6639
6649
  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();
6650
+ o && (o.initialDef.render = e, [...o.instances].forEach((n) => {
6651
+ e && (n.render = e, ie(n.type).render = e), n.renderCache = [], n.update();
6642
6652
  }));
6643
6653
  }), reload: Se(function(t, e) {
6644
6654
  const o = fe.get(t);
6645
6655
  if (!o)
6646
6656
  return;
6647
6657
  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.");
6658
+ const n = [...o.instances];
6659
+ for (const l of n) {
6660
+ const r = ie(l.type);
6661
+ 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
6662
  }
6653
6663
  a = () => {
6654
- for (const n of l)
6655
- ae.delete(ie(n.type));
6664
+ for (const l of n)
6665
+ ae.delete(ie(l.type));
6656
6666
  }, Gt(a) ? X.push(...a) : O && O.includes(a, a.allowRecurse ? q + 1 : q) || X.push(a), dt();
6657
6667
  var a;
6658
6668
  }) });
@@ -6670,8 +6680,8 @@ function Se(t) {
6670
6680
  return (e, o) => {
6671
6681
  try {
6672
6682
  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.");
6683
+ } catch (n) {
6684
+ console.error(n), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.");
6675
6685
  }
6676
6686
  };
6677
6687
  }
@@ -6684,20 +6694,20 @@ function ht(t, e = !0) {
6684
6694
  return De(t) ? t.displayName || t.name : t.name || e && t.__name;
6685
6695
  }
6686
6696
  function Ke(t, e, o = !1) {
6687
- let l = ht(e);
6688
- if (!l && e.__file) {
6697
+ let n = ht(e);
6698
+ if (!n && e.__file) {
6689
6699
  const a = e.__file.match(/([^/\\]+)\.\w+$/);
6690
- a && (l = a[1]);
6700
+ a && (n = a[1]);
6691
6701
  }
6692
- if (!l && t && t.parent) {
6693
- const a = (n) => {
6694
- for (const r in n)
6695
- if (n[r] === e)
6702
+ if (!n && t && t.parent) {
6703
+ const a = (l) => {
6704
+ for (const r in l)
6705
+ if (l[r] === e)
6696
6706
  return r;
6697
6707
  };
6698
- l = a(t.components || t.parent.type.components) || a(t.appContext.components);
6708
+ n = a(t.components || t.parent.type.components) || a(t.appContext.components);
6699
6709
  }
6700
- return l ? Qt(l) : o ? "App" : "Anonymous";
6710
+ return n ? Qt(n) : o ? "App" : "Anonymous";
6701
6711
  }
6702
6712
  function eo(t) {
6703
6713
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -6705,7 +6715,7 @@ function eo(t) {
6705
6715
  var Ye, Xe = { exports: {} };
6706
6716
  function to() {
6707
6717
  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) {
6718
+ 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
6719
  var s = ["th", "st", "nd", "rd"], i = h % 100;
6710
6720
  return "[" + h + (s[(i - 20) % 10] || s[i] || s[0]) + "]";
6711
6721
  } }, ce = function(h, s, i) {
@@ -6722,7 +6732,7 @@ function to() {
6722
6732
  }, a: function(h) {
6723
6733
  return h < 0 ? Math.ceil(h) || 0 : Math.floor(h);
6724
6734
  }, 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$/, "");
6735
+ 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
6736
  }, u: function(h) {
6727
6737
  return h === void 0;
6728
6738
  } }, U = "en", P = {};
@@ -6816,7 +6826,7 @@ function to() {
6816
6826
  return w(K + "Hours", 0);
6817
6827
  case r:
6818
6828
  return w(K + "Minutes", 1);
6819
- case n:
6829
+ case l:
6820
6830
  return w(K + "Seconds", 2);
6821
6831
  case a:
6822
6832
  return w(K + "Milliseconds", 3);
@@ -6826,7 +6836,7 @@ function to() {
6826
6836
  }, s.endOf = function(i) {
6827
6837
  return this.startOf(i, !1);
6828
6838
  }, 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;
6839
+ 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
6840
  if (f === c || f === x) {
6831
6841
  var T = this.clone().set(y, 1);
6832
6842
  T.$d[S](w), T.init(), this.$d = T.set(y, Math.min(this.$D, T.daysInMonth())).$d;
@@ -6852,7 +6862,7 @@ function to() {
6852
6862
  return S(1);
6853
6863
  if (b === d)
6854
6864
  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;
6865
+ var w = (p = {}, p[l] = e, p[r] = o, p[a] = t, p)[b] || 1, T = this.$d.getTime() + i * w;
6856
6866
  return v.w(T, this);
6857
6867
  }, s.subtract = function(i, u) {
6858
6868
  return this.add(-1 * i, u);
@@ -6860,17 +6870,17 @@ function to() {
6860
6870
  var u = this, p = this.$locale();
6861
6871
  if (!this.isValid())
6862
6872
  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);
6873
+ 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) {
6874
+ return F && (F[N] || F(u, f)) || ne[N].slice(0, me);
6865
6875
  }, oe = function(F) {
6866
6876
  return v.s(S % 12 || 12, F, "0");
6867
- }, W = K || function(F, N, le) {
6877
+ }, W = K || function(F, N, ne) {
6868
6878
  var me = F < 12 ? "AM" : "PM";
6869
- return le ? me.toLowerCase() : me;
6879
+ return ne ? me.toLowerCase() : me;
6870
6880
  };
6871
6881
  return f.replace($, function(F, N) {
6872
- return N || function(le) {
6873
- switch (le) {
6882
+ return N || function(ne) {
6883
+ switch (ne) {
6874
6884
  case "YY":
6875
6885
  return String(u.$y).slice(-2);
6876
6886
  case "YYYY":
@@ -6948,7 +6958,7 @@ function to() {
6948
6958
  case r:
6949
6959
  f = L / o;
6950
6960
  break;
6951
- case n:
6961
+ case l:
6952
6962
  f = L / e;
6953
6963
  break;
6954
6964
  case a:
@@ -6979,7 +6989,7 @@ function to() {
6979
6989
  return this.$d.toUTCString();
6980
6990
  }, h;
6981
6991
  }(), 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) {
6992
+ return C.prototype = ve, [["$ms", n], ["$s", a], ["$m", l], ["$H", r], ["$W", m], ["$M", c], ["$y", x], ["$D", y]].forEach(function(h) {
6983
6993
  ve[h[1]] = function(s) {
6984
6994
  return this.$g(s, h[0], h[1]);
6985
6995
  };
@@ -6991,17 +7001,17 @@ function to() {
6991
7001
  }()), Xe.exports;
6992
7002
  }
6993
7003
  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;
7004
+ 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
7005
  function xe(t) {
6996
7006
  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];
7007
+ var o = no.call(e, re), n = e[re];
6998
7008
  try {
6999
7009
  e[re] = void 0;
7000
7010
  var a = !0;
7001
7011
  } catch (r) {
7002
7012
  }
7003
- var n = no.call(e);
7004
- return a && (o ? e[re] = l : delete e[re]), n;
7013
+ var l = lo.call(e);
7014
+ return a && (o ? e[re] = n : delete e[re]), l;
7005
7015
  }(t) : function(e) {
7006
7016
  return ao.call(e);
7007
7017
  }(t);
@@ -7019,7 +7029,7 @@ function io(t) {
7019
7029
  var e = xe(t);
7020
7030
  return e == "[object Function]" || e == "[object GeneratorFunction]" || e == "[object AsyncFunction]" || e == "[object Proxy]";
7021
7031
  }
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;
7032
+ 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
7033
  function G(t) {
7024
7034
  if (t != null) {
7025
7035
  try {
@@ -7039,12 +7049,12 @@ function fo(t) {
7039
7049
  var e;
7040
7050
  }
7041
7051
  function H(t, e) {
7042
- var o = function(l, a) {
7043
- return l == null ? void 0 : l[a];
7052
+ var o = function(n, a) {
7053
+ return n == null ? void 0 : n[a];
7044
7054
  }(t, e);
7045
7055
  return fo(o) ? o : void 0;
7046
7056
  }
7047
- var $e = H(z, "WeakMap");
7057
+ var $e = H(R, "WeakMap");
7048
7058
  (function() {
7049
7059
  try {
7050
7060
  var t = H(Object, "defineProperty");
@@ -7059,7 +7069,7 @@ var vt = Object.prototype, bo = vt.hasOwnProperty, xo = vt.propertyIsEnumerable;
7059
7069
  et(function() {
7060
7070
  return arguments;
7061
7071
  }());
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;
7072
+ 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
7073
  ot && ot.isBuffer;
7064
7074
  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
7075
  try {
@@ -7070,17 +7080,17 @@ var St = typeof exports == "object" && exports && !exports.nodeType && exports,
7070
7080
  }();
7071
7081
  Q && Q.isTypedArray;
7072
7082
  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) {
7083
+ 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;
7084
+ (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) {
7085
+ var e = xe(t), o = e == "[object Object]" ? t.constructor : void 0, n = o ? G(o) : "";
7086
+ if (n)
7087
+ switch (n) {
7078
7088
  case yo:
7079
7089
  return rt;
7080
7090
  case vo:
7081
- return lt;
7082
- case go:
7083
7091
  return nt;
7092
+ case go:
7093
+ return lt;
7084
7094
  case So:
7085
7095
  return at;
7086
7096
  case _o:
@@ -7088,7 +7098,7 @@ var Ie = H(z, "Map"), Fe = H(z, "DataView"), Ve = H(z, "Promise"), Me = H(z, "Se
7088
7098
  }
7089
7099
  return e;
7090
7100
  });
7091
- z.Uint8Array;
7101
+ R.Uint8Array;
7092
7102
  var st = J ? J.prototype : void 0;
7093
7103
  st && st.valueOf;
7094
7104
  Q && Q.isMap;
@@ -7098,8 +7108,8 @@ const wo = (t, e) => {
7098
7108
  return t.toLocaleLowerCase().includes(e.toLocaleLowerCase());
7099
7109
  if (typeof t == "string" && Array.isArray(e)) {
7100
7110
  const o = e.length;
7101
- for (let l = 0; l < o; l++) {
7102
- const a = e[l];
7111
+ for (let n = 0; n < o; n++) {
7112
+ const a = e[n];
7103
7113
  if (typeof a == "string" && t.toLocaleLowerCase().includes(a.toLocaleLowerCase()))
7104
7114
  return !0;
7105
7115
  }
@@ -7151,11 +7161,11 @@ const Ao = {
7151
7161
  if (this.graphic) {
7152
7162
  const e = this.componentList.find((o) => o.type === t);
7153
7163
  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"];
7164
+ 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
7165
  for (const I in o)
7156
7166
  !k.includes(I) && Co(e, I) && (_[I] = Z(o[I]));
7157
- let $ = ne(D(D({}, e), _), {
7158
- events: l,
7167
+ let $ = le(D(D({}, e), _), {
7168
+ events: n,
7159
7169
  dataType: a,
7160
7170
  id: r,
7161
7171
  keyName: m,
@@ -7165,7 +7175,7 @@ const Ao = {
7165
7175
  height: x,
7166
7176
  zIndex: y
7167
7177
  });
7168
- n && ($.dataFieldConfigType = n), this.$emit("change", $, { all: !0 });
7178
+ l && ($.dataFieldConfigType = l), this.$emit("change", $, { all: !0 });
7169
7179
  }
7170
7180
  } else
7171
7181
  this.$emit("change", t);
@@ -7175,8 +7185,8 @@ const Ao = {
7175
7185
  };
7176
7186
  var To = function() {
7177
7187
  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) + " ")]);
7188
+ return o("a-select", { attrs: { value: e.value }, on: { change: e.onSelectChange } }, e._l(e.computedOptions, function(n) {
7189
+ return o("a-select-option", { key: n.value, attrs: { value: n.value, disabled: n.disabled } }, [e._v(" " + e._s(n.label) + " ")]);
7180
7190
  }), 1);
7181
7191
  }, Lo = [], ko = /* @__PURE__ */ A(
7182
7192
  Ao,
@@ -7288,28 +7298,28 @@ const Oo = {
7288
7298
  }
7289
7299
  }
7290
7300
  };
7291
- var Ro = function() {
7301
+ var zo = function() {
7292
7302
  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();
7303
+ 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() {
7304
+ return [o("div", { staticClass: "name", on: { click: function(n) {
7305
+ n.stopPropagation();
7296
7306
  } } }, [o("sketch-picker", { attrs: { value: { hex: e.currentColor }, disableAlpha: !0, presetColors: e.presetColors }, on: { input: e.handleColorChange } })], 1)];
7297
7307
  }, proxy: !0 }]) }, [o("div", { staticClass: "popover-trigger", style: { backgroundColor: e.currentColor, height: e.size + "px", width: e.size + "px" } })]);
7298
- }, zo = [], Po = /* @__PURE__ */ A(
7308
+ }, Ro = [], Po = /* @__PURE__ */ A(
7299
7309
  Oo,
7300
- Ro,
7301
7310
  zo,
7311
+ Ro,
7302
7312
  !1,
7303
7313
  null,
7304
7314
  "c77d9ba2",
7305
7315
  null,
7306
7316
  null
7307
7317
  );
7308
- const ze = Po.exports;
7318
+ const Re = Po.exports;
7309
7319
  const No = {
7310
7320
  name: "ColorPick",
7311
7321
  components: {
7312
- PickColors: ze
7322
+ PickColors: Re
7313
7323
  // AInput: Input
7314
7324
  },
7315
7325
  props: {
@@ -7348,10 +7358,10 @@ const No = {
7348
7358
  };
7349
7359
  var qo = function() {
7350
7360
  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;
7361
+ 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) {
7362
+ e.colorValue = n;
7363
+ }, expression: "colorValue" } }), e.disabled ? e._e() : o("pick-colors", { staticClass: "pick-colors", attrs: { size: 25 }, model: { value: e.colorValue, callback: function(n) {
7364
+ e.colorValue = n;
7355
7365
  }, expression: "colorValue" } })], 1);
7356
7366
  }, Bo = [], Eo = /* @__PURE__ */ A(
7357
7367
  No,
@@ -7367,7 +7377,7 @@ const ue = Eo.exports;
7367
7377
  const Wo = {
7368
7378
  name: "ColorPickerGroup",
7369
7379
  components: {
7370
- ColorPick: ze
7380
+ ColorPick: Re
7371
7381
  },
7372
7382
  props: {
7373
7383
  // 当前颜色值
@@ -7412,9 +7422,9 @@ const Wo = {
7412
7422
  };
7413
7423
  var jo = function() {
7414
7424
  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);
7425
+ return o("div", { staticClass: "pick-color-group" }, [e._l(e.value, function(n, a) {
7426
+ return o("ColorPick", { key: a, staticStyle: { margin: "5px" }, attrs: { size: e.size }, on: { change: e.handleColorChange }, model: { value: e.value[a], callback: function(l) {
7427
+ e.$set(e.value, a, l);
7418
7428
  }, expression: "value[index]" } });
7419
7429
  }), 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
7430
  }, Go = [], Ho = /* @__PURE__ */ A(
@@ -7489,21 +7499,21 @@ const Qo = {
7489
7499
  }
7490
7500
  }
7491
7501
  };
7492
- var el = function() {
7502
+ var en = function() {
7493
7503
  var e = this, o = e._self._c;
7494
7504
  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(
7505
+ }, tn = [], on = /* @__PURE__ */ A(
7496
7506
  Qo,
7497
- el,
7498
- tl,
7507
+ en,
7508
+ tn,
7499
7509
  !1,
7500
7510
  null,
7501
7511
  "02978b05",
7502
7512
  null,
7503
7513
  null
7504
7514
  );
7505
- const ll = ol.exports;
7506
- const nl = {
7515
+ const nn = on.exports;
7516
+ const ln = {
7507
7517
  name: "Textarea",
7508
7518
  components: {
7509
7519
  // ATextarea: window.isVue3 ? Textarea : Input.TextArea
@@ -7524,23 +7534,23 @@ const nl = {
7524
7534
  }
7525
7535
  }
7526
7536
  };
7527
- var al = function() {
7537
+ var an = function() {
7528
7538
  var e = this, o = e._self._c;
7529
7539
  return o("a-textarea", { attrs: { value: e.value, disabled: e.disabled, autoSize: {
7530
7540
  minRows: 3
7531
7541
  } }, on: { change: e.onTextareaChange } });
7532
- }, il = [], rl = /* @__PURE__ */ A(
7533
- nl,
7534
- al,
7535
- il,
7542
+ }, rn = [], sn = /* @__PURE__ */ A(
7543
+ ln,
7544
+ an,
7545
+ rn,
7536
7546
  !1,
7537
7547
  null,
7538
7548
  "3c2ddd12",
7539
7549
  null,
7540
7550
  null
7541
7551
  );
7542
- const sl = rl.exports, _t = "";
7543
- const pl = {
7552
+ const pn = sn.exports, _t = "";
7553
+ const un = {
7544
7554
  components: {
7545
7555
  ColorPick: ue
7546
7556
  },
@@ -7595,45 +7605,45 @@ const pl = {
7595
7605
  }
7596
7606
  }
7597
7607
  };
7598
- var ul = function() {
7608
+ var cn = function() {
7599
7609
  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) {
7610
+ 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) {
7611
+ 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
7612
  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() {
7613
+ } } }, [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
7614
  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() {
7615
+ }, proxy: !0 }], null, !0), model: { value: n.startX, callback: function(l) {
7616
+ e.$set(n, "startX", l);
7617
+ }, 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
7618
  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() {
7619
+ }, proxy: !0 }], null, !0), model: { value: n.startY, callback: function(l) {
7620
+ e.$set(n, "startY", l);
7621
+ }, 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
7622
  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() {
7623
+ }, proxy: !0 }], null, !0), model: { value: n.endX, callback: function(l) {
7624
+ e.$set(n, "endX", l);
7625
+ }, 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
7626
  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);
7627
+ }, proxy: !0 }], null, !0), model: { value: n.endY, callback: function(l) {
7628
+ e.$set(n, "endY", l);
7629
+ }, expression: "data.endY" } })], 1), o("div", [e._v("标域颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
7630
+ return e.setColor(n, l);
7631
+ } } }), o("div", { staticStyle: { "margin-top": "12px" } }, [e._v("标域文字:")]), o("a-input", { on: { change: e.onInputChange }, model: { value: n.label, callback: function(l) {
7632
+ e.$set(n, "label", l);
7623
7633
  }, expression: "data.label" } })], 1)])]);
7624
7634
  })], 2);
7625
- }, cl = [], dl = /* @__PURE__ */ A(
7626
- pl,
7627
- ul,
7628
- cl,
7635
+ }, dn = [], mn = /* @__PURE__ */ A(
7636
+ un,
7637
+ cn,
7638
+ dn,
7629
7639
  !1,
7630
7640
  null,
7631
7641
  "2201b980",
7632
7642
  null,
7633
7643
  null
7634
7644
  );
7635
- const ml = dl.exports;
7636
- const hl = {
7645
+ const hn = mn.exports;
7646
+ const fn = {
7637
7647
  components: {
7638
7648
  ColorPick: ue
7639
7649
  },
@@ -7700,39 +7710,39 @@ const hl = {
7700
7710
  if (!this.selectedComponent)
7701
7711
  return;
7702
7712
  this.dataList = JSON.parse(JSON.stringify(t || []));
7703
- const { xAxisMarkLineValue: e, yAxisMarkLineValue: o, axisMarkArea: l = [] } = this.selectedComponent;
7713
+ const { xAxisMarkLineValue: e, yAxisMarkLineValue: o, axisMarkArea: n = [] } = this.selectedComponent;
7704
7714
  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 = {
7715
+ const a = !!n.find((c) => c.isGenerate), l = ["{xMin}"], r = ["{yMin}"], m = {
7706
7716
  "{max}": "最大值",
7707
7717
  "{min}": "最小值",
7708
7718
  "{average}": "平均值",
7709
7719
  "{median}": "中位数"
7710
7720
  };
7711
7721
  for (const c of e)
7712
- c.value && n.push(m[c.value] || c.value);
7713
- n.push("{xMax}");
7722
+ c.value && l.push(m[c.value] || c.value);
7723
+ l.push("{xMax}");
7714
7724
  for (const c of o)
7715
7725
  c.value && r.push(m[c.value] || c.value);
7716
7726
  r.push("{yMax}");
7717
7727
  let d = 0;
7718
- n.forEach((c, g) => {
7719
- g < n.length - 1 && r.forEach((x, y) => {
7728
+ l.forEach((c, g) => {
7729
+ g < l.length - 1 && r.forEach((x, y) => {
7720
7730
  if (y < r.length - 1) {
7721
7731
  const _ = {
7722
7732
  startX: c,
7723
7733
  startY: x,
7724
- endX: n[g + 1],
7734
+ endX: l[g + 1],
7725
7735
  endY: r[y + 1],
7726
7736
  color: "",
7727
7737
  label: "",
7728
7738
  isGenerate: !0
7729
7739
  };
7730
- a ? (_.color = l[d].color, _.label = l[d].label, l[d++] = _) : l.unshift(_);
7740
+ a ? (_.color = n[d].color, _.label = n[d].label, n[d++] = _) : n.unshift(_);
7731
7741
  }
7732
7742
  });
7733
7743
  });
7734
7744
  } else
7735
- this.selectedComponent.axisMarkArea = l.filter((a) => !a.isGenerate);
7745
+ this.selectedComponent.axisMarkArea = n.filter((a) => !a.isGenerate);
7736
7746
  },
7737
7747
  immediate: !0,
7738
7748
  deep: !0
@@ -7776,60 +7786,60 @@ const hl = {
7776
7786
  }
7777
7787
  }
7778
7788
  };
7779
- var fl = function() {
7789
+ var bn = function() {
7780
7790
  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) {
7791
+ 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) {
7792
+ 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
7793
  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() {
7794
+ } } }, [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
7795
  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))]);
7796
+ return [o("a-menu", { on: { click: function(l) {
7797
+ return e.onClickMenuItem(l, n);
7798
+ } } }, e._l(e.calcList, function(l) {
7799
+ return o("a-menu-item", { key: l.value }, [e._v(e._s(l.label))]);
7790
7800
  }), 1)];
7791
7801
  }, 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);
7802
+ }, proxy: !0 }], null, !0), model: { value: n.value, callback: function(l) {
7803
+ e.$set(n, "value", l);
7804
+ }, expression: "data.value" } }) : o("a-select", { staticStyle: { width: "100%" }, attrs: { options: e.calcList }, on: { change: function(l) {
7805
+ return e.onSelectChange(l, n);
7806
+ } }, model: { value: n.value, callback: function(l) {
7807
+ e.$set(n, "value", l);
7808
+ }, 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) {
7809
+ e.$set(n, "label", l);
7800
7810
  }, 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
7811
  return [e._v(" px ")];
7802
- }, proxy: !0 }], null, !0), model: { value: l.offsetHorizontal, callback: function(n) {
7803
- e.$set(l, "offsetHorizontal", n);
7812
+ }, proxy: !0 }], null, !0), model: { value: n.offsetHorizontal, callback: function(l) {
7813
+ e.$set(n, "offsetHorizontal", l);
7804
7814
  }, 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
7815
  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);
7816
+ }, proxy: !0 }], null, !0), model: { value: n.offsetVertical, callback: function(l) {
7817
+ e.$set(n, "offsetVertical", l);
7818
+ }, 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) {
7819
+ return e.setLineType(n, l);
7820
+ } }, model: { value: n.lineType, callback: function(l) {
7821
+ e.$set(n, "lineType", l);
7822
+ }, 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) {
7823
+ return e.setLineColor(n, l);
7824
+ } } })], 1), o("div", { staticClass: "item-row" }, [o("div", { staticClass: "title" }, [e._v("文本颜色:")]), o("color-pick", { attrs: { value: n.labelColor || "" }, on: { change: function(l) {
7825
+ return e.setLabelColor(n, l);
7816
7826
  } } })], 1)])])]);
7817
7827
  })], 2);
7818
- }, bl = [], xl = /* @__PURE__ */ A(
7819
- hl,
7820
- fl,
7821
- bl,
7828
+ }, xn = [], yn = /* @__PURE__ */ A(
7829
+ fn,
7830
+ bn,
7831
+ xn,
7822
7832
  !1,
7823
7833
  null,
7824
7834
  "fe59467a",
7825
7835
  null,
7826
7836
  null
7827
7837
  );
7828
- const yl = xl.exports;
7829
- const vl = {
7838
+ const vn = yn.exports;
7839
+ const gn = {
7830
7840
  name: "FormGroup",
7831
7841
  components: {
7832
- PickColors: ze,
7842
+ PickColors: Re,
7833
7843
  InputNumber: ut
7834
7844
  // Draggable: () => import('vuedraggable')
7835
7845
  },
@@ -7880,9 +7890,9 @@ const vl = {
7880
7890
  }
7881
7891
  },
7882
7892
  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]), {
7893
+ const t = this.selectedComponent.requestType || 0, e = this.selectedComponent.dataType || "", o = this.selectedComponent.DataSetFieldOptions || [], n = [...this.format];
7894
+ return t === 1 && e === "request" ? n.forEach((a, l) => {
7895
+ a.label === "索引" && (n[l] = le(D({}, n[l]), {
7886
7896
  type: "select",
7887
7897
  props: {
7888
7898
  options: o.map((r) => ({
@@ -7891,20 +7901,20 @@ const vl = {
7891
7901
  }))
7892
7902
  }
7893
7903
  }));
7894
- }) : l.forEach((a, n) => {
7895
- a.label === "索引" && (l[n] = ne(D({}, l[n]), {
7904
+ }) : n.forEach((a, l) => {
7905
+ a.label === "索引" && (n[l] = le(D({}, n[l]), {
7896
7906
  type: "input"
7897
7907
  }));
7898
- }), l;
7908
+ }), n;
7899
7909
  }
7900
7910
  },
7901
7911
  methods: {
7902
7912
  onValueChange(t, e, o) {
7903
7913
  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;
7914
+ const n = (a = this.value) == null ? void 0 : a.slice();
7915
+ if (Array.isArray(n)) {
7916
+ const l = t == null ? void 0 : t.target, r = (l == null ? void 0 : l.value) != null ? l == null ? void 0 : l.value : t;
7917
+ o ? n[e][o] = r : n[e] = r, this.myValue = n;
7908
7918
  }
7909
7919
  },
7910
7920
  onAdd() {
@@ -7914,14 +7924,14 @@ const vl = {
7914
7924
  return;
7915
7925
  const e = t.length;
7916
7926
  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 = {};
7927
+ const n = t[0];
7928
+ if (Object.prototype.toString.call(n) === "[object Object]") {
7929
+ const a = Object.keys(n), l = {};
7920
7930
  a.forEach((r) => {
7921
- n[r] = "";
7922
- }), t.push(n);
7931
+ l[r] = "";
7932
+ }), t.push(l);
7923
7933
  } else
7924
- typeof l == "string" && t.push(l);
7934
+ typeof n == "string" && t.push(n);
7925
7935
  this.myValue = t;
7926
7936
  } else
7927
7937
  this.$message.warn("已达到最大上限");
@@ -7940,56 +7950,56 @@ const vl = {
7940
7950
  isShow(t, e) {
7941
7951
  let o = !0;
7942
7952
  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;
7953
+ const { match: n, value: a } = t.show;
7954
+ typeof a == "string" && e[n] === a || Array.isArray(a) && a.includes(e[n]) ? o = !0 : o = !1;
7945
7955
  }
7946
7956
  return o;
7947
7957
  }
7948
7958
  }
7949
7959
  };
7950
- var gl = function() {
7960
+ var Sn = function() {
7951
7961
  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) {
7962
+ 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 }) {
7963
+ return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
7954
7964
  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" : ""
7965
+ 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: {
7966
+ width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
7957
7967
  }, 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);
7968
+ return e.onValueChange(d, a, l.value);
7969
+ } } }, "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
7970
  }), 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) {
7971
+ } }], null, !1, 220332434), model: { value: e.myValue, callback: function(n) {
7972
+ e.myValue = n;
7973
+ }, expression: "myValue" } }) : o("draggable", { staticClass: "form", attrs: { list: e.myValue, "item-key": "id" }, model: { value: e.myValue, callback: function(n) {
7974
+ e.myValue = n;
7975
+ }, expression: "myValue" } }, [e._l(e.myValue, function(n, a) {
7976
+ return [o("div", { staticClass: "form-row" }, e._l(e.newFormat, function(l, r) {
7967
7977
  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" : ""
7978
+ 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: {
7979
+ width: !["color", "switch"].includes(l.type) && e.format.length > 1 ? "110px" : ""
7970
7980
  }, 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);
7981
+ return e.onValueChange(d, a, l.value);
7982
+ } } }, "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
7983
  }), 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) {
7984
+ })], 2), o("div", { staticClass: "icon-group" }, e._l(e.myValue, function(n, a) {
7985
+ return o("div", { key: a, staticClass: "icon-item" }, [e.isVue3 ? o("minus-circle-outlined", { staticClass: "icon delete", on: { click: function(l) {
7976
7986
  return e.onDelete(a);
7977
- } } }) : o("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(n) {
7987
+ } } }) : o("span", { staticClass: "icon delete", staticStyle: { "padding-bottom": "12px" }, on: { click: function(l) {
7978
7988
  return e.onDelete(a);
7979
7989
  } } }, [e._v("-")])], 1);
7980
7990
  }), 0)], 1);
7981
- }, Sl = [], _l = /* @__PURE__ */ A(
7982
- vl,
7983
- gl,
7984
- Sl,
7991
+ }, _n = [], wn = /* @__PURE__ */ A(
7992
+ gn,
7993
+ Sn,
7994
+ _n,
7985
7995
  !1,
7986
7996
  null,
7987
7997
  "a826f5d7",
7988
7998
  null,
7989
7999
  null
7990
8000
  );
7991
- const wl = _l.exports;
7992
- const Cl = {
8001
+ const Cn = wn.exports;
8002
+ const An = {
7993
8003
  name: "GraphicFieldSelect",
7994
8004
  props: {
7995
8005
  value: {
@@ -8018,23 +8028,23 @@ const Cl = {
8018
8028
  }
8019
8029
  }
8020
8030
  };
8021
- var Al = function() {
8031
+ var Tn = function() {
8022
8032
  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;
8033
+ return o("a-select", { attrs: { options: e.options }, model: { value: e.myValue, callback: function(n) {
8034
+ e.myValue = n;
8025
8035
  }, expression: "myValue" } });
8026
- }, Tl = [], Ll = /* @__PURE__ */ A(
8027
- Cl,
8028
- Al,
8029
- Tl,
8036
+ }, Ln = [], kn = /* @__PURE__ */ A(
8037
+ An,
8038
+ Tn,
8039
+ Ln,
8030
8040
  !1,
8031
8041
  null,
8032
8042
  "cbd51c5b",
8033
8043
  null,
8034
8044
  null
8035
8045
  );
8036
- const kl = Ll.exports;
8037
- const $l = [
8046
+ const $n = kn.exports;
8047
+ const In = [
8038
8048
  {
8039
8049
  label: "大于",
8040
8050
  value: ">"
@@ -8055,7 +8065,7 @@ const $l = [
8055
8065
  label: "等于",
8056
8066
  value: "=="
8057
8067
  }
8058
- ], Il = {
8068
+ ], Fn = {
8059
8069
  name: "VisualColorConfig",
8060
8070
  components: {
8061
8071
  AppstoreAddOutlined: _t,
@@ -8075,7 +8085,7 @@ const $l = [
8075
8085
  data() {
8076
8086
  return {
8077
8087
  dataList: [],
8078
- ruleOptions: $l
8088
+ ruleOptions: In
8079
8089
  };
8080
8090
  },
8081
8091
  watch: {
@@ -8104,48 +8114,48 @@ const $l = [
8104
8114
  this.$emit("change", this.dataList);
8105
8115
  },
8106
8116
  setColor(t, e) {
8107
- t.color = e, this.$emit("change", this.dataList);
8117
+ typeof e == "object" && (e != null && e.target) || (t.color = e, this.$emit("change", this.dataList));
8108
8118
  }
8109
8119
  },
8110
8120
  mounted() {
8111
8121
  this.dataList = Z(this.value || []);
8112
8122
  }
8113
8123
  };
8114
- var Fl = function() {
8124
+ var Vn = function() {
8115
8125
  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) {
8126
+ 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) {
8127
+ 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
8128
  e.onDelete(Number(a));
8119
8129
  } } }, [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);
8130
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
8131
+ e.$set(n, "rule1", l);
8122
8132
  }, expression: "data.rule1" } })];
8123
- }, proxy: !0 }], null, !0), model: { value: l.value1, callback: function(n) {
8124
- e.$set(l, "value1", n);
8133
+ }, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
8134
+ e.$set(n, "value1", l);
8125
8135
  }, 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);
8136
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
8137
+ e.$set(n, "rule2", l);
8128
8138
  }, 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);
8139
+ }, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
8140
+ e.$set(n, "value2", l);
8141
+ }, 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) {
8142
+ e.$set(n, "name", l);
8143
+ }, expression: "data.name" } }), o("div", { staticStyle: { margin: "10px 0" } }, [e._v("颜色:")]), o("color-pick", { attrs: { value: n.color }, on: { change: function(l) {
8144
+ return e.setColor(n, l);
8135
8145
  } } })], 1)]);
8136
8146
  })], 2);
8137
- }, Vl = [], Ml = /* @__PURE__ */ A(
8138
- Il,
8139
- Fl,
8140
- Vl,
8147
+ }, Mn = [], Dn = /* @__PURE__ */ A(
8148
+ Fn,
8149
+ Vn,
8150
+ Mn,
8141
8151
  !1,
8142
8152
  null,
8143
- "db6af9ce",
8153
+ "d1d2fffe",
8144
8154
  null,
8145
8155
  null
8146
8156
  );
8147
- const Dl = Ml.exports;
8148
- const Ol = [
8157
+ const On = Dn.exports;
8158
+ const zn = [
8149
8159
  {
8150
8160
  label: "大于",
8151
8161
  value: ">"
@@ -8166,7 +8176,7 @@ const Ol = [
8166
8176
  label: "等于",
8167
8177
  value: "=="
8168
8178
  }
8169
- ], Rl = {
8179
+ ], Rn = {
8170
8180
  name: "VisualSizeConfig",
8171
8181
  components: {
8172
8182
  AppstoreAddOutlined: _t,
@@ -8186,7 +8196,7 @@ const Ol = [
8186
8196
  data() {
8187
8197
  return {
8188
8198
  dataList: [],
8189
- ruleOptions: Ol
8199
+ ruleOptions: zn
8190
8200
  };
8191
8201
  },
8192
8202
  watch: {
@@ -8219,39 +8229,39 @@ const Ol = [
8219
8229
  this.dataList = Z(this.value || []);
8220
8230
  }
8221
8231
  };
8222
- var zl = function() {
8232
+ var Pn = function() {
8223
8233
  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) {
8234
+ 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) {
8235
+ 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
8236
  e.onDelete(Number(a));
8227
8237
  } } }, [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);
8238
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule1, callback: function(l) {
8239
+ e.$set(n, "rule1", l);
8230
8240
  }, expression: "data.rule1" } })];
8231
- }, proxy: !0 }], null, !0), model: { value: l.value1, callback: function(n) {
8232
- e.$set(l, "value1", n);
8241
+ }, proxy: !0 }], null, !0), model: { value: n.value1, callback: function(l) {
8242
+ e.$set(n, "value1", l);
8233
8243
  }, 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);
8244
+ return [o("a-select", { staticStyle: { width: "100px" }, attrs: { options: e.ruleOptions }, on: { change: e.onInputChange }, model: { value: n.rule2, callback: function(l) {
8245
+ e.$set(n, "rule2", l);
8236
8246
  }, 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);
8247
+ }, proxy: !0 }], null, !0), model: { value: n.value2, callback: function(l) {
8248
+ e.$set(n, "value2", l);
8249
+ }, 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) {
8250
+ e.$set(n, "size", l);
8241
8251
  }, expression: "data.size" } })], 1)]);
8242
8252
  })], 2);
8243
- }, Pl = [], Nl = /* @__PURE__ */ A(
8244
- Rl,
8245
- zl,
8246
- Pl,
8253
+ }, Nn = [], qn = /* @__PURE__ */ A(
8254
+ Rn,
8255
+ Pn,
8256
+ Nn,
8247
8257
  !1,
8248
8258
  null,
8249
8259
  "ed0b93ce",
8250
8260
  null,
8251
8261
  null
8252
8262
  );
8253
- const ql = Nl.exports, R = (t, e) => wo(t, e);
8254
- const Bl = {
8263
+ const Bn = qn.exports, z = (t, e) => wo(t, e);
8264
+ const En = {
8255
8265
  name: "PropsToForm",
8256
8266
  components: {
8257
8267
  EcanInput: Mt,
@@ -8261,14 +8271,14 @@ const Bl = {
8261
8271
  EcanSwitch: Do,
8262
8272
  EcanColorPick: ue,
8263
8273
  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
8274
+ EcanSlider: nn,
8275
+ EcanTextarea: pn,
8276
+ EcanMarkAreaConfig: hn,
8277
+ EcanMarkLinkConfig: vn,
8278
+ EcanFormGroup: Cn,
8279
+ EcanGraphicFieldSelect: $n,
8280
+ EcanVisualColorConfig: On,
8281
+ EcanVisualSizeConfig: Bn
8272
8282
  },
8273
8283
  props: {
8274
8284
  props: {
@@ -8303,39 +8313,39 @@ const Bl = {
8303
8313
  return {};
8304
8314
  const e = {};
8305
8315
  for (const o in t) {
8306
- const l = Ae[o], a = l == null ? void 0 : l.show;
8316
+ const n = Ae[o], a = n == null ? void 0 : n.show;
8307
8317
  a ? this.getShowResult(a, t).isMatch && (e[o] = t[o]) : e[o] = t[o];
8308
8318
  }
8309
- return pt(e, (o, l, a) => {
8310
- const n = Ae[a];
8311
- if (Array.isArray(n)) {
8312
- const r = n.find((m) => {
8319
+ return pt(e, (o, n, a) => {
8320
+ const l = Ae[a];
8321
+ if (Array.isArray(l)) {
8322
+ const r = l.find((m) => {
8313
8323
  const { onlyType: d, excludeType: c, dataVNoHas: g } = m;
8314
8324
  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;
8325
+ 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
8326
  });
8317
- r && this.setFormProps({ result: o, value: l, key: a, mapAttributeProp: r });
8327
+ r && this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: r });
8318
8328
  } else
8319
- this.setFormProps({ result: o, value: l, key: a, mapAttributeProp: n });
8329
+ this.setFormProps({ result: o, value: n, key: a, mapAttributeProp: l });
8320
8330
  return o;
8321
8331
  }, {});
8322
8332
  }
8323
8333
  },
8324
8334
  methods: {
8325
- setFormProps({ result: t, mapAttributeProp: e, key: o, value: l }) {
8335
+ setFormProps({ result: t, mapAttributeProp: e, key: o, value: n }) {
8326
8336
  if (t == null || typeof t != "object")
8327
8337
  return;
8328
8338
  const {
8329
8339
  valueProp: a = "value",
8330
- changeValueEventName: n = "change",
8340
+ changeValueEventName: l = "change",
8331
8341
  events: r,
8332
8342
  updateMode: m
8333
8343
  } = e;
8334
- t[o] = ne(D({}, e), {
8344
+ t[o] = le(D({}, e), {
8335
8345
  valueProp: a,
8336
- value: l,
8346
+ value: n,
8337
8347
  events: D({
8338
- [n]: (d, c = { useContainer: !1 }, g = !0) => {
8348
+ [l]: (d, c = { useContainer: !1 }, g = !0) => {
8339
8349
  [void 0, "component"].includes(m) && g && !d.target && this.$emit("change", { [o]: d }, c);
8340
8350
  }
8341
8351
  }, r)
@@ -8343,53 +8353,53 @@ const Bl = {
8343
8353
  },
8344
8354
  // 判断关联的属性值是否满足
8345
8355
  getShowResult(t = [], e) {
8346
- return t.reduce((o, l) => {
8356
+ return t.reduce((o, n) => {
8347
8357
  let a = {
8348
8358
  isMatch: !0,
8349
8359
  rule: null
8350
8360
  };
8351
8361
  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) {
8362
+ let l = !1;
8363
+ if (n.valueRule === "not" ? l = e[n.match] !== n.value : l = e[n.match] === n.value, o) {
8354
8364
  if (a.rule)
8355
8365
  switch (a.rule) {
8356
8366
  case "and":
8357
- a.isMatch = a.isMatch && n;
8367
+ a.isMatch = a.isMatch && l;
8358
8368
  break;
8359
8369
  case "or":
8360
- a.isMatch = a.isMatch || n;
8370
+ a.isMatch = a.isMatch || l;
8361
8371
  break;
8362
8372
  }
8363
8373
  } else
8364
- a.isMatch = n;
8365
- return a.rule = l.rule || "and", a;
8374
+ a.isMatch = l;
8375
+ return a.rule = n.rule || "and", a;
8366
8376
  }, null);
8367
8377
  }
8368
8378
  }
8369
8379
  };
8370
- var El = function() {
8380
+ var Wn = function() {
8371
8381
  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) {
8382
+ return o("div", { staticClass: "props-to-form" }, e._l(e.formProps, function(n, a) {
8383
+ var l;
8384
+ 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
8385
  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)]);
8386
+ }) : 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
8387
  }), 0);
8378
- }, Wl = [], jl = /* @__PURE__ */ A(
8379
- Bl,
8380
- El,
8381
- Wl,
8388
+ }, jn = [], Gn = /* @__PURE__ */ A(
8389
+ En,
8390
+ Wn,
8391
+ jn,
8382
8392
  !1,
8383
8393
  null,
8384
8394
  "dcfa4721",
8385
8395
  null,
8386
8396
  null
8387
8397
  );
8388
- const Gl = jl.exports;
8389
- const Hl = {
8398
+ const Hn = Gn.exports;
8399
+ const Un = {
8390
8400
  name: "AttributeConfig",
8391
8401
  components: {
8392
- PropsToForm: Gl
8402
+ PropsToForm: Hn
8393
8403
  },
8394
8404
  props: ["searchValue", "selectedComponent", "selectedComponentType", "renderUsedComponentList"],
8395
8405
  provide() {
@@ -8410,34 +8420,34 @@ const Hl = {
8410
8420
  searchProps() {
8411
8421
  return pt(
8412
8422
  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),
8423
+ (t, e, o) => (Array.isArray(e) ? e.forEach((n) => {
8424
+ z(n.label, this.searchValue) && t.push(o);
8425
+ }) : !Array.isArray(e) && z(e.label, this.searchValue) && t.push(o), t),
8416
8426
  []
8417
8427
  );
8418
8428
  },
8419
8429
  finalProps() {
8420
- var o, l;
8430
+ var o, n;
8421
8431
  const t = (o = this.selectedComponent) == null ? void 0 : o.type;
8422
8432
  let e = {};
8423
8433
  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);
8434
+ const a = ((n = this.componentList) == null ? void 0 : n.find((r) => z(r.type, t))) || {}, l = ge(this.selectedComponent || {}, Object.keys(a || {}));
8435
+ e = D(D({}, a), l);
8426
8436
  }
8427
8437
  return ge(e, this.searchProps);
8428
8438
  },
8429
8439
  detailPropsGroups() {
8430
8440
  return Lt.map((t) => {
8431
- const { props: e, title: o, enableProps: l, onlyType: a, excludeType: n, showSwitch: r, dataVNoHas: m } = t, d = [];
8441
+ const { props: e, title: o, enableProps: n, onlyType: a, excludeType: l, showSwitch: r, dataVNoHas: m } = t, d = [];
8432
8442
  return e.forEach((c) => {
8433
8443
  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));
8444
+ 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
8445
  }), {
8436
8446
  title: o,
8437
- enableProps: typeof l == "string" && this.selectedComponent ? this.selectedComponent[l] : void 0,
8438
- enablePropsName: l,
8447
+ enableProps: typeof n == "string" && this.selectedComponent ? this.selectedComponent[n] : void 0,
8448
+ enablePropsName: n,
8439
8449
  onlyType: a,
8440
- excludeType: n,
8450
+ excludeType: l,
8441
8451
  showSwitch: r,
8442
8452
  props: ge(this.finalProps, d)
8443
8453
  };
@@ -8452,9 +8462,9 @@ const Hl = {
8452
8462
  if (t && Object.keys(t).length === 1) {
8453
8463
  const e = this.componentList.find((i) => i.type === "ecanBar"), {
8454
8464
  id: o,
8455
- name: l,
8465
+ name: n,
8456
8466
  keyName: a,
8457
- width: n,
8467
+ width: l,
8458
8468
  height: r,
8459
8469
  position: m,
8460
8470
  top: d,
@@ -8521,45 +8531,45 @@ const Hl = {
8521
8531
  e == null || e.stopPropagation();
8522
8532
  },
8523
8533
  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;
8534
+ const { onlyType: o, excludeType: n } = t;
8535
+ return o == null && n == null ? !0 : o ? z(e, o) : n ? !z(e, n) : !1;
8526
8536
  },
8527
8537
  lowerCaseIncludes(t, e) {
8528
- return R(t, e);
8538
+ return z(t, e);
8529
8539
  },
8530
8540
  change(...t) {
8531
8541
  this.$emit("change", ...t);
8532
8542
  }
8533
8543
  }
8534
8544
  };
8535
- var Ul = function() {
8545
+ var Kn = function() {
8536
8546
  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()];
8547
+ return o("div", [o("a-collapse", { model: { value: e.activeKey, callback: function(n) {
8548
+ e.activeKey = n;
8549
+ }, expression: "activeKey" } }, [e._l(e.detailPropsGroups, function(n, a) {
8550
+ 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() {
8551
+ 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()];
8552
+ }, 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
8553
  })], 2)], 1);
8544
- }, Kl = [], Yl = /* @__PURE__ */ A(
8545
- Hl,
8546
- Ul,
8547
- Kl,
8554
+ }, Yn = [], Xn = /* @__PURE__ */ A(
8555
+ Un,
8556
+ Kn,
8557
+ Yn,
8548
8558
  !1,
8549
8559
  null,
8550
8560
  "631236ea",
8551
8561
  null,
8552
8562
  null
8553
8563
  );
8554
- const Xl = Yl.exports;
8564
+ const Zn = Xn.exports;
8555
8565
  window.VUE_VERSION = "2";
8556
8566
  window.isVue3 = !1;
8557
- const en = {
8567
+ const tl = {
8558
8568
  install(t, e) {
8559
- t.component("ChartPanel", Xl);
8569
+ t.component("ChartPanel", Zn);
8560
8570
  }
8561
8571
  };
8562
8572
  export {
8563
- Xl as ChartPanel,
8564
- en as default
8573
+ Zn as ChartPanel,
8574
+ tl as default
8565
8575
  };